From aa2e566c3a2b14ca3a1052bb119567b5e6ed212d Mon Sep 17 00:00:00 2001 From: Piotr Date: Fri, 28 Feb 2025 09:19:47 +0100 Subject: [PATCH] v0.15.0 --- README.md | 6 +- build_across | 2 +- ...ssMode-Sb1HsyF1.js => cssMode-sOsldDC-.js} | 2 +- ...r2-rigGjrd5.js => freemarker2-Psmk5woI.js} | 2 +- ...ars-36yn1XDC.js => handlebars-ZQMHe7Gk.js} | 2 +- .../{html-3P5GNVWI.js => html-on_8OiBm.js} | 2 +- ...lMode-_UTXnAs0.js => htmlMode-dFoHfZ69.js} | 2 +- ...{index-tv-8Ql_Z.css => index-BxR560fA.css} | 2 +- .../{index-hNNUgwiq.js => index-ybqrNB1L.js} | 90 +++++++++--------- ...ipt-o92ot6FM.js => javascript-jXNpK4W4.js} | 2 +- ...nMode-6_NI7eQV.js => jsonMode-Gng5avSd.js} | 2 +- ...{liquid-3gVmrJ-p.js => liquid-dt6GtWuA.js} | 2 +- ...{python-bf1kIhlu.js => python-Aa-4P7rg.js} | 2 +- .../{razor-1-mmjE1t.js => razor-umCs_5VB.js} | 2 +- ...{tsMode-g7DmTDTu.js => tsMode-zwZvWeF7.js} | 2 +- ...ipt-eMqxaKI2.js => typescript-NIp_JCqg.js} | 2 +- .../{xml-mSlUVMM6.js => xml-rS1dC3BW.js} | 2 +- .../{yaml-4a9TfO3Q.js => yaml-19AOUYsC.js} | 2 +- .../fonts/roboto-mono-v23-latin-300.woff2 | Bin 0 -> 13188 bytes .../fonts/roboto-mono-v23-latin-700.woff2 | Bin 0 -> 12740 bytes .../fonts/roboto-mono-v23-latin-regular.woff2 | Bin 0 -> 12764 bytes http/assets/index.html | 7 +- release | 2 +- 23 files changed, 68 insertions(+), 69 deletions(-) rename http/assets/assets/{cssMode-Sb1HsyF1.js => cssMode-sOsldDC-.js} (99%) rename http/assets/assets/{freemarker2-rigGjrd5.js => freemarker2-Psmk5woI.js} (99%) rename http/assets/assets/{handlebars-36yn1XDC.js => handlebars-ZQMHe7Gk.js} (99%) rename http/assets/assets/{html-3P5GNVWI.js => html-on_8OiBm.js} (98%) rename http/assets/assets/{htmlMode-_UTXnAs0.js => htmlMode-dFoHfZ69.js} (99%) rename http/assets/assets/{index-tv-8Ql_Z.css => index-BxR560fA.css} (92%) rename http/assets/assets/{index-hNNUgwiq.js => index-ybqrNB1L.js} (98%) rename http/assets/assets/{javascript-o92ot6FM.js => javascript-jXNpK4W4.js} (89%) rename http/assets/assets/{jsonMode-6_NI7eQV.js => jsonMode-Gng5avSd.js} (99%) rename http/assets/assets/{liquid-3gVmrJ-p.js => liquid-dt6GtWuA.js} (98%) rename http/assets/assets/{python-bf1kIhlu.js => python-Aa-4P7rg.js} (98%) rename http/assets/assets/{razor-1-mmjE1t.js => razor-umCs_5VB.js} (99%) rename http/assets/assets/{tsMode-g7DmTDTu.js => tsMode-zwZvWeF7.js} (99%) rename http/assets/assets/{typescript-eMqxaKI2.js => typescript-NIp_JCqg.js} (98%) rename http/assets/assets/{xml-mSlUVMM6.js => xml-rS1dC3BW.js} (97%) rename http/assets/assets/{yaml-4a9TfO3Q.js => yaml-19AOUYsC.js} (98%) create mode 100644 http/assets/fonts/roboto-mono-v23-latin-300.woff2 create mode 100644 http/assets/fonts/roboto-mono-v23-latin-700.woff2 create mode 100644 http/assets/fonts/roboto-mono-v23-latin-regular.woff2 diff --git a/README.md b/README.md index 037a2e2..e71747c 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@

-### Latest version: 0.14.1 (20 February 2024) - [Read announcement](https://logdy.dev/blog/post/logdy-new-version-announcement-v014) +### Latest version: 0.15.0 (28 February 2024) - [Read announcement](https://logdy.dev/blog/post/logdy-new-version-announcement-v014) Logdy is a lightweight, single-binary log viewer that works just like `grep`, `awk`, `sed`, or `jq`. Simply add it to your PATH—no installation, deployment, or compilation required. It runs entirely locally, ensuring security and privacy. [Read more](https://logdy.dev/docs/what-is-logdy). @@ -91,7 +91,7 @@ brew install logdy Navigate to [releases](https://github.com/logdyhq/logdy-core/releases) Github page and download the latest release for your architecture. ```bash -wget https://github.com/logdyhq/logdy-core/releases/download/v0.14.1/logdy_linux_amd64; +wget https://github.com/logdyhq/logdy-core/releases/download/v0.15.0/logdy_linux_amd64; mv logdy_linux_amd64 logdy; chmod +x logdy; ``` @@ -155,6 +155,8 @@ Flags: --version version for logdy ``` +**It is possible to also provide some of the options as ENV variables, read more in the docs** + ## Development For development, we recommend running `demo` mode ```bash diff --git a/build_across b/build_across index 5d7d830..2d48c7d 100755 --- a/build_across +++ b/build_across @@ -1 +1 @@ -gox -ldflags "-X 'main.Version=0.14.1'" -output="bin/logdy_{{.OS}}_{{.Arch}}" -osarch="linux/amd64 linux/arm64 windows/386 windows/amd64 darwin/amd64 darwin/arm64" +gox -ldflags "-X 'main.Version=0.15.0'" -output="bin/logdy_{{.OS}}_{{.Arch}}" -osarch="linux/amd64 linux/arm64 windows/386 windows/amd64 darwin/amd64 darwin/arm64" diff --git a/http/assets/assets/cssMode-Sb1HsyF1.js b/http/assets/assets/cssMode-sOsldDC-.js similarity index 99% rename from http/assets/assets/cssMode-Sb1HsyF1.js rename to http/assets/assets/cssMode-sOsldDC-.js index ed0deff..2088363 100644 --- a/http/assets/assets/cssMode-Sb1HsyF1.js +++ b/http/assets/assets/cssMode-sOsldDC-.js @@ -1,4 +1,4 @@ -var Le=Object.defineProperty;var je=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var k=(e,n,i)=>(je(e,typeof n!="symbol"?n+"":n,i),i);import{m as Ne}from"./index-hNNUgwiq.js";/*!----------------------------------------------------------------------------- +var Le=Object.defineProperty;var je=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var k=(e,n,i)=>(je(e,typeof n!="symbol"?n+"":n,i),i);import{m as Ne}from"./index-ybqrNB1L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) * Released under the MIT license diff --git a/http/assets/assets/freemarker2-rigGjrd5.js b/http/assets/assets/freemarker2-Psmk5woI.js similarity index 99% rename from http/assets/assets/freemarker2-rigGjrd5.js rename to http/assets/assets/freemarker2-Psmk5woI.js index 5351783..7f7950c 100644 --- a/http/assets/assets/freemarker2-rigGjrd5.js +++ b/http/assets/assets/freemarker2-Psmk5woI.js @@ -1,4 +1,4 @@ -import{m as F}from"./index-hNNUgwiq.js";/*!----------------------------------------------------------------------------- +import{m as F}from"./index-ybqrNB1L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) * Released under the MIT license diff --git a/http/assets/assets/handlebars-36yn1XDC.js b/http/assets/assets/handlebars-ZQMHe7Gk.js similarity index 99% rename from http/assets/assets/handlebars-36yn1XDC.js rename to http/assets/assets/handlebars-ZQMHe7Gk.js index f89c95b..1f3e6a2 100644 --- a/http/assets/assets/handlebars-36yn1XDC.js +++ b/http/assets/assets/handlebars-ZQMHe7Gk.js @@ -1,4 +1,4 @@ -import{m as i}from"./index-hNNUgwiq.js";/*!----------------------------------------------------------------------------- +import{m as i}from"./index-ybqrNB1L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) * Released under the MIT license diff --git a/http/assets/assets/html-3P5GNVWI.js b/http/assets/assets/html-on_8OiBm.js similarity index 98% rename from http/assets/assets/html-3P5GNVWI.js rename to http/assets/assets/html-on_8OiBm.js index f1092c2..7711853 100644 --- a/http/assets/assets/html-3P5GNVWI.js +++ b/http/assets/assets/html-on_8OiBm.js @@ -1,4 +1,4 @@ -import{m as d}from"./index-hNNUgwiq.js";/*!----------------------------------------------------------------------------- +import{m as d}from"./index-ybqrNB1L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) * Released under the MIT license diff --git a/http/assets/assets/htmlMode-_UTXnAs0.js b/http/assets/assets/htmlMode-dFoHfZ69.js similarity index 99% rename from http/assets/assets/htmlMode-_UTXnAs0.js rename to http/assets/assets/htmlMode-dFoHfZ69.js index 9e9a2c8..a7a18b0 100644 --- a/http/assets/assets/htmlMode-_UTXnAs0.js +++ b/http/assets/assets/htmlMode-dFoHfZ69.js @@ -1,4 +1,4 @@ -var $e=Object.defineProperty;var qe=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var k=(e,n,i)=>(qe(e,typeof n!="symbol"?n+"":n,i),i);import{m as Qe}from"./index-hNNUgwiq.js";/*!----------------------------------------------------------------------------- +var $e=Object.defineProperty;var qe=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var k=(e,n,i)=>(qe(e,typeof n!="symbol"?n+"":n,i),i);import{m as Qe}from"./index-ybqrNB1L.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) * Released under the MIT license diff --git a/http/assets/assets/index-tv-8Ql_Z.css b/http/assets/assets/index-BxR560fA.css similarity index 92% rename from http/assets/assets/index-tv-8Ql_Z.css rename to http/assets/assets/index-BxR560fA.css index a998b92..b13e96c 100644 --- a/http/assets/assets/index-tv-8Ql_Z.css +++ b/http/assets/assets/index-BxR560fA.css @@ -1 +1 @@ -body{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--danger: #6c2727;color:var(--font);background-color:var(--bg)}body.dark{color-scheme:light dark;--font: #efefef;--bg: #242424;--hl-bg: #373737;--hl-bg2: #3f3f3f;--hl-bg3: #595959;--bg-btn: #1a1a1a;--info: rgb(76, 94, 154)}body.light{color:#213547;--font: #303030;--bg: #f8f8f8;--hl-bg: #e0e0e0;--hl-bg2: #9d9d9d;--hl-bg3: #8c8c8c;--bg-btn: #c5c5c5;--danger: #ff8282;--info: rgb(145, 155, 186)}@media (prefers-color-scheme: light){body.light{color-scheme:light;--font: #303030;--bg: #f8f8f8;--hl-bg: #e0e0e0;--hl-bg2: #9d9d9d;--hl-bg3: #8c8c8c;--bg-btn: #c5c5c5;--info: rgb(145, 155, 186)}body.dark{color-scheme:dark;--font: #efefef;--bg: #242424;--hl-bg: #373737;--hl-bg2: #3f3f3f;--hl-bg3: #595959;--bg-btn: #1a1a1a;--info: rgb(76, 94, 154)}a:hover{color:#747bff}button{background-color:#f9f9f9}}button[disabled]{opacity:.7}a,.link-style{font-weight:500;color:#646cff;text-decoration:inherit}a:hover,.link-style:hover{color:#535bf2}body{margin:0;padding:0;min-width:320px;min-height:100vh}#app.noselect *{-webkit-user-select:none;-ms-user-select:none;user-select:none}h1{font-size:3.2em;line-height:1.1}button,.btn{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;color:var(--color);background-color:var(--bg-btn);cursor:pointer;transition:border-color .25s}.btn-danger{background:var(--danger)!important}button:hover,.btn:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}.vjs-tree-brackets{cursor:pointer}.vjs-tree-brackets:hover{color:#1890ff}.vjs-check-controller{position:absolute;left:0}.vjs-check-controller.is-checked .vjs-check-controller-inner{background-color:#1890ff;border-color:#0076e4}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-checkbox:after{transform:rotate(45deg) scaleY(1)}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-radio:after{transform:translate(-50%,-50%) scale(1)}.vjs-check-controller .vjs-check-controller-inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:2px;vertical-align:middle;box-sizing:border-box;width:16px;height:16px;background-color:#fff;z-index:1;cursor:pointer;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-check-controller .vjs-check-controller-inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-check-controller .vjs-check-controller-inner.is-radio{border-radius:100%}.vjs-check-controller .vjs-check-controller-inner.is-radio:after{border-radius:100%;height:4px;background-color:#fff;left:50%;top:50%}.vjs-check-controller .vjs-check-controller-original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-carets{position:absolute;right:0;cursor:pointer}.vjs-carets svg{transition:transform .3s}.vjs-carets:hover{color:#1890ff}.vjs-carets-close{transform:rotate(-90deg)}.vjs-tree-node{display:flex;position:relative;line-height:20px}.vjs-tree-node.has-carets{padding-left:15px}.vjs-tree-node.has-carets.has-selector,.vjs-tree-node.has-selector{padding-left:30px}.vjs-tree-node.is-highlight,.vjs-tree-node:hover{background-color:#e6f7ff}.vjs-tree-node .vjs-indent{display:flex;position:relative}.vjs-tree-node .vjs-indent-unit{width:1em}.vjs-tree-node .vjs-indent-unit.has-line{border-left:1px dashed #bfcbd9}.vjs-tree-node.dark.is-highlight,.vjs-tree-node.dark:hover{background-color:#2e4558}.vjs-node-index{position:absolute;right:100%;margin-right:4px;-webkit-user-select:none;user-select:none}.vjs-colon{white-space:pre}.vjs-comment{color:#bfcbd9}.vjs-value{word-break:break-word}.vjs-value-null,.vjs-value-undefined{color:#d55fde}.vjs-value-boolean,.vjs-value-number{color:#1d8ce0}.vjs-value-string{color:#13ce66}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px;text-align:left}.vjs-tree.is-virtual{overflow:auto}.vjs-tree.is-virtual .vjs-tree-node{white-space:nowrap}.drawer[data-v-eaec25f1]{right:0;top:0;height:100%;background:var(--hl-bg);z-index:999;opacity:.99;padding:0 10px 10px 0}.drawer .resize-handle[data-v-eaec25f1]{background:#fff;width:3px;opacity:.2;cursor:ew-resize;height:100%;float:left;margin-right:10px}.drawer h4[data-v-eaec25f1],.drawer h3[data-v-eaec25f1]{margin:2px;cursor:pointer}.drawer h4 .clipboard[data-v-eaec25f1],.drawer h3 .clipboard[data-v-eaec25f1]{visibility:hidden}.drawer h4:hover .clipboard[data-v-eaec25f1],.drawer h3:hover .clipboard[data-v-eaec25f1]{visibility:visible!important}.drawer .inner-drawer[data-v-eaec25f1]{padding-top:20px;height:100%;overflow-y:scroll;padding-bottom:20px}.drawer .inner-drawer .header[data-v-eaec25f1]{display:flex;align-items:center;float:right}.drawer pre[data-v-eaec25f1]{margin:6px 0;background:var(--bg);padding:10px;white-space:pre-wrap}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace}.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-aria-container{position:absolute;left:-999em}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%;color:var(--vscode-editor-foreground);background-color:var(--vscode-editor-background)}.monaco-editor-background{background-color:var(--vscode-editor-background)}.monaco-editor .rangeHighlight{background-color:var(--vscode-editor-rangeHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-rangeHighlightBorder)}.monaco-editor.hc-black .rangeHighlight,.monaco-editor.hc-light .rangeHighlight{border-style:dotted}.monaco-editor .symbolHighlight{background-color:var(--vscode-editor-symbolHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-symbolHighlightBorder)}.monaco-editor.hc-black .symbolHighlight,.monaco-editor.hc-light .symbolHighlight{border-style:dotted}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .squiggly-error{border-bottom:4px double var(--vscode-editorError-border)}.monaco-editor .squiggly-error:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorError-background)}.monaco-editor .squiggly-warning{border-bottom:4px double var(--vscode-editorWarning-border)}.monaco-editor .squiggly-warning:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorWarning-background)}.monaco-editor .squiggly-info{border-bottom:4px double var(--vscode-editorInfo-border)}.monaco-editor .squiggly-info:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorInfo-background)}.monaco-editor .squiggly-hint{border-bottom:2px dotted var(--vscode-editorHint-border)}.monaco-editor.showUnused .squiggly-unnecessary{border-bottom:2px dashed var(--vscode-editorUnnecessaryCode-border)}.monaco-editor.showDeprecated .squiggly-inline-deprecated{text-decoration:line-through;text-decoration-color:var(--vscode-editor-foreground, inherit)}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent;z-index:-10}.monaco-editor .inputarea.ime-input{z-index:10;caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground)}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}.monaco-editor .margin{background-color:var(--vscode-editorGutter-background)}.monaco-mouse-cursor-text{cursor:text}.monaco-editor .view-overlays .current-line,.monaco-editor .margin-view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box}.monaco-editor .lines-content .core-guide-indent{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-background) inset}.monaco-editor .lines-content .core-guide-indent-active{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-activeBackground, --vscode-editorIndentGuide-background) inset}.mtkcontrol{color:#fff!important;background:#960000!important}.mtkoverflow{background-color:var(--vscode-button-background, --vscode-editor-background);color:var(--vscode-button-foreground, --vscode-editor-foreground);border-width:1px;border-style:solid;border-color:var(--vscode-contrastBorder);border-radius:2px;padding:4px;cursor:pointer}.mtkoverflow:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{user-select:none;-webkit-user-select:none}.monaco-editor.mac .lines-content:hover,.monaco-editor.mac .view-line:hover,.monaco-editor.mac .view-lines:hover{user-select:text;-webkit-user-select:text;-ms-user-select:text}.monaco-editor.enable-user-select{user-select:initial;-webkit-user-select:initial}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkw{color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .mtkz{display:inline-block;color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover:hover .minimap-slider,.monaco-editor .minimap.slider-mouseover .minimap-slider.active{opacity:1}.monaco-editor .minimap-slider .minimap-slider-horizontal{background:var(--vscode-minimapSlider-background)}.monaco-editor .minimap-slider:hover .minimap-slider-horizontal{background:var(--vscode-minimapSlider-hoverBackground)}.monaco-editor .minimap-slider.active .minimap-slider-horizontal{background:var(--vscode-minimapSlider-activeBackground)}.monaco-editor .minimap-shadow-visible{box-shadow:var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.minimap.autohide{opacity:0;transition:opacity .5s}.minimap.autohide:hover{opacity:1}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0;box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-editor .blockDecorations-container{position:absolute;top:0;pointer-events:none}.monaco-editor .blockDecorations-block{position:absolute;box-sizing:border-box}.monaco-editor .mwh{position:absolute;color:var(--vscode-editorWhitespace-foreground)!important}:root{--vscode-sash-size: 4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--vscode-sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--vscode-sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--vscode-sash-size) * 2);width:calc(var(--vscode-sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size) * -.5);top:calc(var(--vscode-sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--vscode-sash-size) * -.5);bottom:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--vscode-sash-size) * -.5);left:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--vscode-sash-size) * -.5);right:calc(var(--vscode-sash-size) * -1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;background:transparent}.monaco-workbench:not(.reduce-motion) .monaco-sash:before{transition:background-color .1s ease-out}.monaco-sash.hover:before,.monaco-sash.active:before{background:var(--vscode-sash-hoverBorder)}.monaco-sash.vertical:before{width:var(--vscode-sash-hover-size);left:calc(50% - (var(--vscode-sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--vscode-sash-hover-size);top:calc(50% - (var(--vscode-sash-hover-size) / 2))}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:#0ff}.monaco-sash.debug.disabled{background:#0ff3}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:#00000008}.monaco-diff-editor.vs-dark .diffOverview{background:#ffffff03}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:#0000}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:#ababab66}.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active{background:none}.monaco-editor .insert-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-diff-editor .delete-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-editor.hc-black .insert-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .delete-sign,.monaco-editor.hc-light .insert-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .delete-sign{opacity:1}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .inline-added-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-editor .char-insert,.monaco-diff-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-editor .line-insert,.monaco-diff-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground)}.monaco-editor .line-insert,.monaco-editor .char-insert{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-insertedTextBorder)}.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .line-insert,.monaco-editor.hc-black .char-insert,.monaco-editor.hc-light .char-insert{border-style:dashed}.monaco-editor .line-delete,.monaco-editor .char-delete{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-removedTextBorder)}.monaco-editor.hc-black .line-delete,.monaco-editor.hc-light .line-delete,.monaco-editor.hc-black .char-delete,.monaco-editor.hc-light .char-delete{border-style:dashed}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .gutter-insert,.monaco-diff-editor .gutter-insert{background-color:var(--vscode-diffEditorGutter-insertedLineBackground, --vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground)}.monaco-editor .char-delete,.monaco-diff-editor .char-delete{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-editor .line-delete,.monaco-diff-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground)}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .gutter-delete,.monaco-diff-editor .gutter-delete{background-color:var(--vscode-diffEditorGutter-removedLineBackground, --vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground)}.monaco-diff-editor.side-by-side .editor.modified{box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow);border-left:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.monaco-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block;color:var(--vscode-editorLineNumber-foreground)}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute;box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{user-select:none;-webkit-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-single,.monaco-list.selection-multiple{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-select-box-dropdown-padding{--dropdown-padding-top: 1px;--dropdown-padding-bottom: 1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top: 3px;--dropdown-padding-bottom: 4px}.monaco-select-box-dropdown-container{display:none;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *{margin:0}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{line-height:15px;font-family:var(--monaco-monospace-font)}.monaco-select-box-dropdown-container.visible{display:flex;flex-direction:column;text-align:left;width:1px;overflow:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{flex:0 0 auto;align-self:flex-start;padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom);padding-left:1px;padding-right:1px;width:100%;overflow:hidden;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom)}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row{cursor:pointer}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left;opacity:.7}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{text-overflow:ellipsis;overflow:hidden;padding-right:10px;white-space:nowrap;float:right}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{flex:1 1 auto;align-self:flex-start;opacity:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{overflow:hidden;max-height:0px}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{padding-left:4px;padding-right:8px;white-space:nowrap}.monaco-select-box{width:100%;cursor:pointer;border-radius:2px}.monaco-select-box-dropdown-container{font-size:13px;font-weight:400;text-transform:none}.monaco-action-bar .action-item.select-container{cursor:default}.monaco-action-bar .action-item .monaco-select-box{cursor:pointer;min-width:100px;min-height:18px;padding:2px 23px 2px 8px}.mac .monaco-action-bar .action-item .monaco-select-box{font-size:11px;border-radius:5px}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .icon,.monaco-action-bar .action-item .codicon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{display:flex;font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.6}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator{display:flex;align-items:center;cursor:default}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator>div{width:1px}.context-view{position:absolute}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;color:inherit}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:solid 1px rgba(204,204,204,.4);border-bottom-color:#bbb6;box-shadow:inset 0 -1px #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px rgb(111,195,223);box-shadow:none;color:#fff}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px #0F4A85;box-shadow:none;color:#292929}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:solid 1px rgba(51,51,51,.6);border-bottom-color:#4449;box-shadow:inset 0 -1px #4449;color:#ccc}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:initial}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:initial;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap;overflow:hidden}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:700;overflow:hidden;text-overflow:ellipsis}.monaco-table-th,.monaco-table-td{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--vscode-sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-custom-toggle{margin-left:2px;float:left;cursor:pointer;overflow:hidden;width:20px;height:20px;border-radius:3px;border:1px solid transparent;padding:1px;box-sizing:border-box;user-select:none;-webkit-user-select:none}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-light .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{background:none}.monaco-custom-toggle.monaco-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;border-radius:2px;font-size:inherit}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls,.hc-light .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls,.hc-light .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:#fdff00cc}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:#fdff00cc}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:#ffffff70}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:#ffffff70}99%{background:transparent}}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-row.disabled{cursor:default}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie,.monaco-tl-contents{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translate(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.monaco-tree-type-filter{position:absolute;top:0;display:flex;padding:3px;max-width:200px;z-index:100;margin:0 6px;border:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter{transition:top .3s}.monaco-tree-type-filter.disabled{top:-40px!important}.monaco-tree-type-filter-grab{display:flex!important;align-items:center;justify-content:center;cursor:grab;margin-right:2px}.monaco-tree-type-filter-grab.grabbing{cursor:grabbing}.monaco-tree-type-filter-input{flex:1}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;border-radius:2px;text-align:center;cursor:pointer;justify-content:center;align-items:center;border:1px solid var(--vscode-button-border, transparent);line-height:18px}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled:focus,.monaco-button.disabled{opacity:.4!important;cursor:default}.monaco-text-button .codicon{margin:0 .2em;color:inherit!important}.monaco-text-button.monaco-text-button-with-short-label{flex-direction:row;flex-wrap:wrap;padding:0 4px;overflow:hidden;height:28px}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;width:0;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{display:flex;justify-content:center;align-items:center;font-weight:400;font-style:inherit;padding:4px 0}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus,.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{padding:4px 0;cursor:default}.monaco-button-dropdown .monaco-button-dropdown-separator>div{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border:1px solid var(--vscode-button-border, transparent);border-left-width:0!important;border-radius:0 2px 2px 0}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{display:flex;flex-direction:column;align-items:center;margin:4px 5px}.monaco-description-button .monaco-button-description{font-style:italic;font-size:11px;padding:4px 20px}.monaco-description-button .monaco-button-label,.monaco-description-button .monaco-button-description{display:flex;justify-content:center;align-items:center}.monaco-description-button .monaco-button-label>.codicon,.monaco-description-button .monaco-button-description>.codicon{margin:0 .2em;color:inherit!important}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;transform:translateZ(0);animation-timing-function:linear}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes progress{0%{transform:translate(0) scaleX(1)}50%{transform:translate(2500%) scaleX(3)}to{transform:translate(4900%) scaleX(1)}}.quick-input-widget{position:absolute;width:600px;z-index:2550;left:50%;margin-left:-300px;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{display:flex;align-items:center;border-top-left-radius:5px;border-top-right-radius:5px}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:center;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:8px 6px 6px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:25px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-message a{color:inherit}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{overflow:hidden;max-height:440px;padding-bottom:5px}.quick-input-list .monaco-scrollable-element{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label>span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px}.quick-input-list .quick-input-list-entry-action-bar{margin-right:4px}.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:left center;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label-container.disabled{color:var(--vscode-disabledForeground)}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box;background-color:var(--vscode-editorBracketMatch-background);border:1px solid var(--vscode-editorBracketMatch-border)}@font-face{font-family:codicon;font-display:block;src:url(./codicon-9NdTC9YB.ttf) format("truetype")}.codicon[class*=codicon-]{font: 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(360deg)}}.codicon-sync.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-gear.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.monaco-editor .codicon.codicon-symbol-array,.monaco-workbench .codicon.codicon-symbol-array{color:var(--vscode-symbolIcon-arrayForeground)}.monaco-editor .codicon.codicon-symbol-boolean,.monaco-workbench .codicon.codicon-symbol-boolean{color:var(--vscode-symbolIcon-booleanForeground)}.monaco-editor .codicon.codicon-symbol-class,.monaco-workbench .codicon.codicon-symbol-class{color:var(--vscode-symbolIcon-classForeground)}.monaco-editor .codicon.codicon-symbol-method,.monaco-workbench .codicon.codicon-symbol-method{color:var(--vscode-symbolIcon-methodForeground)}.monaco-editor .codicon.codicon-symbol-color,.monaco-workbench .codicon.codicon-symbol-color{color:var(--vscode-symbolIcon-colorForeground)}.monaco-editor .codicon.codicon-symbol-constant,.monaco-workbench .codicon.codicon-symbol-constant{color:var(--vscode-symbolIcon-constantForeground)}.monaco-editor .codicon.codicon-symbol-constructor,.monaco-workbench .codicon.codicon-symbol-constructor{color:var(--vscode-symbolIcon-constructorForeground)}.monaco-editor .codicon.codicon-symbol-value,.monaco-workbench .codicon.codicon-symbol-value,.monaco-editor .codicon.codicon-symbol-enum,.monaco-workbench .codicon.codicon-symbol-enum{color:var(--vscode-symbolIcon-enumeratorForeground)}.monaco-editor .codicon.codicon-symbol-enum-member,.monaco-workbench .codicon.codicon-symbol-enum-member{color:var(--vscode-symbolIcon-enumeratorMemberForeground)}.monaco-editor .codicon.codicon-symbol-event,.monaco-workbench .codicon.codicon-symbol-event{color:var(--vscode-symbolIcon-eventForeground)}.monaco-editor .codicon.codicon-symbol-field,.monaco-workbench .codicon.codicon-symbol-field{color:var(--vscode-symbolIcon-fieldForeground)}.monaco-editor .codicon.codicon-symbol-file,.monaco-workbench .codicon.codicon-symbol-file{color:var(--vscode-symbolIcon-fileForeground)}.monaco-editor .codicon.codicon-symbol-folder,.monaco-workbench .codicon.codicon-symbol-folder{color:var(--vscode-symbolIcon-folderForeground)}.monaco-editor .codicon.codicon-symbol-function,.monaco-workbench .codicon.codicon-symbol-function{color:var(--vscode-symbolIcon-functionForeground)}.monaco-editor .codicon.codicon-symbol-interface,.monaco-workbench .codicon.codicon-symbol-interface{color:var(--vscode-symbolIcon-interfaceForeground)}.monaco-editor .codicon.codicon-symbol-key,.monaco-workbench .codicon.codicon-symbol-key{color:var(--vscode-symbolIcon-keyForeground)}.monaco-editor .codicon.codicon-symbol-keyword,.monaco-workbench .codicon.codicon-symbol-keyword{color:var(--vscode-symbolIcon-keywordForeground)}.monaco-editor .codicon.codicon-symbol-module,.monaco-workbench .codicon.codicon-symbol-module{color:var(--vscode-symbolIcon-moduleForeground)}.monaco-editor .codicon.codicon-symbol-namespace,.monaco-workbench .codicon.codicon-symbol-namespace{color:var(--vscode-symbolIcon-namespaceForeground)}.monaco-editor .codicon.codicon-symbol-null,.monaco-workbench .codicon.codicon-symbol-null{color:var(--vscode-symbolIcon-nullForeground)}.monaco-editor .codicon.codicon-symbol-number,.monaco-workbench .codicon.codicon-symbol-number{color:var(--vscode-symbolIcon-numberForeground)}.monaco-editor .codicon.codicon-symbol-object,.monaco-workbench .codicon.codicon-symbol-object{color:var(--vscode-symbolIcon-objectForeground)}.monaco-editor .codicon.codicon-symbol-operator,.monaco-workbench .codicon.codicon-symbol-operator{color:var(--vscode-symbolIcon-operatorForeground)}.monaco-editor .codicon.codicon-symbol-package,.monaco-workbench .codicon.codicon-symbol-package{color:var(--vscode-symbolIcon-packageForeground)}.monaco-editor .codicon.codicon-symbol-property,.monaco-workbench .codicon.codicon-symbol-property{color:var(--vscode-symbolIcon-propertyForeground)}.monaco-editor .codicon.codicon-symbol-reference,.monaco-workbench .codicon.codicon-symbol-reference{color:var(--vscode-symbolIcon-referenceForeground)}.monaco-editor .codicon.codicon-symbol-snippet,.monaco-workbench .codicon.codicon-symbol-snippet{color:var(--vscode-symbolIcon-snippetForeground)}.monaco-editor .codicon.codicon-symbol-string,.monaco-workbench .codicon.codicon-symbol-string{color:var(--vscode-symbolIcon-stringForeground)}.monaco-editor .codicon.codicon-symbol-struct,.monaco-workbench .codicon.codicon-symbol-struct{color:var(--vscode-symbolIcon-structForeground)}.monaco-editor .codicon.codicon-symbol-text,.monaco-workbench .codicon.codicon-symbol-text{color:var(--vscode-symbolIcon-textForeground)}.monaco-editor .codicon.codicon-symbol-type-parameter,.monaco-workbench .codicon.codicon-symbol-type-parameter{color:var(--vscode-symbolIcon-typeParameterForeground)}.monaco-editor .codicon.codicon-symbol-unit,.monaco-workbench .codicon.codicon-symbol-unit{color:var(--vscode-symbolIcon-unitForeground)}.monaco-editor .codicon.codicon-symbol-variable,.monaco-workbench .codicon.codicon-symbol-variable{color:var(--vscode-symbolIcon-variableForeground)}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px;color:var(--vscode-inputValidation-infoForeground);background-color:var(--vscode-inputValidation-infoBackground);border:1px solid var(--vscode-inputValidation-infoBorder)}.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .monaco-editor-overlaymessage .message{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;border-color:transparent;border-style:solid;z-index:1000;border-width:8px;position:absolute}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,.monaco-editor .monaco-editor-overlaymessage.below .anchor.below{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.action-widget{font-size:13px;border-radius:0;min-width:160px;max-width:500px;z-index:40;display:block;width:100%;border:1px solid var(--vscode-editorWidget-border)!important;background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground)}.context-view-block{position:fixed;cursor:initial;left:0;top:0;width:100%;height:100%;z-index:-1}.context-view-pointerBlock{position:fixed;cursor:initial;left:0;top:0;width:100%;height:100%;z-index:2}.action-widget .monaco-list{user-select:none;-webkit-user-select:none;border:none!important;border-width:0!important}.action-widget .monaco-list:focus:before{outline:0!important}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{padding:0 10px;white-space:nowrap;cursor:pointer;touch-action:none;width:100%}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){background-color:var(--vscode-quickInputList-focusBackground)!important;color:var(--vscode-quickInputList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder, transparent);outline-offset:-1px}.action-widget .monaco-list-row.group-header{color:var(--vscode-pickerGroup-foreground)!important;font-weight:600}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled:before,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before{cursor:default!important;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background-color:transparent!important;outline:0 solid!important}.action-widget .monaco-list-row.action{display:flex;gap:6px;align-items:center}.action-widget .monaco-list-row.action.option-disabled{color:var(--vscode-disabledForeground)}.action-widget .monaco-list-row.action.option-disabled .codicon{opacity:.4}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon{color:inherit}.action-widget .monaco-list-row.action .title{flex:1;overflow:hidden;text-overflow:ellipsis}.action-widget .action-widget-action-bar{background-color:var(--vscode-editorHoverWidget-statusBarBackground);border-top:1px solid var(--vscode-editorHoverWidget-border)}.action-widget .action-widget-action-bar:before{display:block;content:"";width:100%}.action-widget .action-widget-action-bar .actions-container{padding:0 8px}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);font-size:12px;line-height:22px;padding:0;pointer-events:all}.action-widget-action-bar .action-item{margin-right:16px;pointer-events:none}.action-widget-action-bar .action-label:hover{background-color:transparent!important}.monaco-editor .lightBulbWidget{display:flex;align-items:center;justify-content:center}.monaco-editor .lightBulbWidget:hover{cursor:pointer}.monaco-editor .lightBulbWidget.codicon-light-bulb{color:var(--vscode-editorLightBulb-foreground)}.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix{color:var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground))}.monaco-editor .lightBulbWidget:before{position:relative;z-index:2}.monaco-editor .lightBulbWidget:after{position:absolute;top:0;left:0;content:"";display:block;width:100%;height:100%;opacity:.3;background-color:var(--vscode-editor-background);z-index:1}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize);padding-right:calc(var(--vscode-editorCodeLens-fontSize)*.5);font-feature-settings:var(--vscode-editorCodeLens-fontFeatureSettings);font-family:var(--vscode-editorCodeLens-fontFamily),var(--vscode-editorCodeLens-fontFamilyDefault)}.monaco-editor .codelens-decoration>span,.monaco-editor .codelens-decoration>a{user-select:none;-webkit-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize)}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{border:solid .1em #000;box-sizing:border-box;margin:.1em .2em 0;width:.8em;height:.8em;line-height:.8em;display:inline-block;cursor:pointer}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:solid .1em #eee}.colorpicker-header{display:flex;height:24px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;display:flex;align-items:center;justify-content:center;line-height:24px;cursor:pointer;color:#fff;flex:1}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px;position:absolute;left:8px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid rgb(255,255,255);border-radius:100%;box-shadow:0 0 2px #000c;position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(to bottom,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid rgba(255,255,255,.71);box-shadow:0 0 1px #000000d9}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex;justify-content:space-between;flex-wrap:nowrap}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:baseline;font-size:13px;margin-left:20px;min-width:0;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .dirname,.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px;align-self:center}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px;background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground)}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%;color:var(--vscode-peekViewResult-fileForeground)}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder, transparent);box-sizing:border-box}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;user-select:text;-webkit-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover a:hover:not(.disabled){cursor:pointer}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px;word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover p,.monaco-hover .code,.monaco-hover ul,.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{margin:8px 0}.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{line-height:1.1}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0px;border-right:0px;margin:4px -8px -4px;height:1px}.monaco-hover p:first-child,.monaco-hover .code:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover p:last-child,.monaco-hover .code:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ul,.monaco-hover ol{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .info{font-style:italic;padding:0 8px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link:hover,.monaco-hover .hover-contents a.code-link{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground)}.monaco-hover .hover-contents a.code-link>span:hover{color:var(--vscode-textLink-activeForeground)}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.monaco-editor .rendered-markdown kbd{background-color:var(--vscode-keybindingLabel-background);color:var(--vscode-keybindingLabel-foreground);border-style:solid;border-width:1px;border-radius:3px;border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);vertical-align:middle;padding:1px 3px}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;user-select:text;-webkit-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground)}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{color:var(--vscode-textLink-activeForeground)}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor .zone-widget .codicon.codicon-error,.markers-panel .marker-icon.error,.markers-panel .marker-icon .codicon.codicon-error,.text-search-provider-messages .providerMessage .codicon.codicon-error,.extensions-viewlet>.extensions .codicon.codicon-error,.extension-editor .codicon.codicon-error,.preferences-editor .codicon.codicon-error{color:var(--vscode-problemsErrorIcon-foreground)}.monaco-editor .zone-widget .codicon.codicon-warning,.markers-panel .marker-icon.warning,.markers-panel .marker-icon .codicon.codicon-warning,.text-search-provider-messages .providerMessage .codicon.codicon-warning,.extensions-viewlet>.extensions .codicon.codicon-warning,.extension-editor .codicon.codicon-warning,.preferences-editor .codicon.codicon-warning{color:var(--vscode-problemsWarningIcon-foreground)}.monaco-editor .zone-widget .codicon.codicon-info,.markers-panel .marker-icon.info,.markers-panel .marker-icon .codicon.codicon-info,.text-search-provider-messages .providerMessage .codicon.codicon-info,.extensions-viewlet>.extensions .codicon.codicon-info,.extension-editor .codicon.codicon-info,.preferences-editor .codicon.codicon-info{color:var(--vscode-problemsInfoIcon-foreground)}.monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover{color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .monaco-hover a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .monaco-hover code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .inlineSuggestionsHints.withBorder{z-index:39;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .inlineSuggestionsHints a,.monaco-editor .inlineSuggestionsHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineSuggestionsHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineSuggestionsHints .custom-actions .action-item:nth-child(2) a{display:flex;min-width:19px;justify-content:center}.monaco-editor .inlineSuggestionStatusBarItemLabel{margin-right:2px}.monaco-toolbar{height:100%}.monaco-toolbar .toolbar-toggle-more{display:inline-block;padding:0}.monaco-editor.vs .dnd-target,.monaco-editor.hc-light .dnd-target{border-right:2px dotted black;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #AEAFAD;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines,.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.hc-light.mac.mouse-default .view-lines{cursor:default}.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines,.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.hc-light.mac.mouse-copy .view-lines{cursor:copy}.monaco-editor .findOptionsWidget{background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground);box-shadow:0 0 8px 2px var(--vscode-widget-shadow);border:2px solid var(--vscode-contrastBorder)}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px));border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0ms linear}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:3px 0 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:center center;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-collapsed{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed{transition:initial}.monaco-editor .margin-view-overlays:hover .codicon,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons{opacity:1}.monaco-editor .inline-folded:after{color:gray;margin:.1em .2em 0;content:"⋯";display:inline;line-height:1em;cursor:pointer}.monaco-editor .folded-background{background-color:var(--vscode-editor-foldBackground)}.monaco-editor .cldr.codicon.codicon-folding-expanded,.monaco-editor .cldr.codicon.codicon-folding-collapsed,.monaco-editor .cldr.codicon.codicon-folding-manual-expanded,.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed{color:var(--vscode-editorGutter-foldingControlForeground)!important}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetTabstopHighlightBackground, transparent);outline-color:var(--vscode-editor-snippetTabstopHighlightBorder, transparent)}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground, transparent);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder, transparent)}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-widget,.monaco-editor .suggest-details{flex:0 1 auto;width:100%;border-style:solid;border-width:1px;border-color:var(--vscode-editorSuggestWidget-border);background-color:var(--vscode-editorSuggestWidget-background)}.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-black .suggest-details,.monaco-editor.hc-light .suggest-widget,.monaco-editor.hc-light .suggest-details{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid var(--vscode-editorSuggestWidget-border);overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{user-select:none;-webkit-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:initial;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default;color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details a{color:var(--vscode-textLink-foreground)}.monaco-editor .suggest-details a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .suggest-details code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:initial;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ul,.monaco-editor .suggest-details ol{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text{font-style:italic}.monaco-editor .inline-completion-text-to-replace{text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-decoration,.monaco-editor .ghost-text-decoration-preview,.monaco-editor .suggest-preview-text .ghost-text{color:var(--vscode-editorGhostText-foreground)!important;background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border)}.monaco-editor.vs .valueSetReplacement{outline:solid 2px var(--vscode-editorBracketMatch-border)}.monaco-editor .linked-editing-decoration{background-color:var(--vscode-editor-linkedEditingBackground);border-left-color:var(--vscode-editor-linkedEditingBackground)}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .focused .selectionHighlight{background-color:var(--vscode-editor-selectionHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-selectionHighlightBorder)}.monaco-editor.hc-black .focused .selectionHighlight,.monaco-editor.hc-light .focused .selectionHighlight{border-style:dotted}.monaco-editor .wordHighlight{background-color:var(--vscode-editor-wordHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightBorder)}.monaco-editor.hc-black .wordHighlight,.monaco-editor.hc-light .wordHighlight{border-style:dotted}.monaco-editor .wordHighlightStrong{background-color:var(--vscode-editor-wordHighlightStrongBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightStrongBorder)}.monaco-editor.hc-black .wordHighlightStrong,.monaco-editor.hc-light .wordHighlightStrong{border-style:dotted}.monaco-editor .wordHighlightText{background-color:var(--vscode-editor-wordHighlightTextBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightTextBorder)}.monaco-editor.hc-black .wordHighlightText,.monaco-editor.hc-light .wordHighlightText{border-style:dotted}.monaco-editor .parameter-hints-widget{z-index:39;display:flex;flex-direction:column;line-height:1.5em;cursor:default;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.hc-black .monaco-editor .parameter-hints-widget,.hc-light .monaco-editor .parameter-hints-widget{border-width:2px}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.multiple .body:before{content:"";display:block;height:100%;position:absolute;opacity:.5;border-left:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .monaco-scrollable-element,.monaco-editor .parameter-hints-widget .body{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px;position:relative}.monaco-editor .parameter-hints-widget .signature.has-docs:after{content:"";display:block;position:absolute;left:0;width:100%;padding-top:4px;opacity:.5;border-bottom:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs a{color:var(--vscode-textLink-foreground)}.monaco-editor .parameter-hints-widget .docs a:hover{color:var(--vscode-textLink-activeForeground);cursor:pointer}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:initial}.monaco-editor .parameter-hints-widget .docs code{font-family:var(--monaco-monospace-font);border-radius:3px;padding:0 .4em;background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source,.monaco-editor .parameter-hints-widget .docs .code{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{color:var(--vscode-editorHoverWidget-highlightForeground);font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit;border-radius:4px}.monaco-editor .rename-box.preview{padding:4px 4px 0}.monaco-editor .rename-box .rename-input{padding:3px;border-radius:2px}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .sticky-line{color:var(--vscode-editorLineNumber-foreground);overflow:hidden;white-space:nowrap;display:inline-block}.monaco-editor .sticky-line-number{text-align:right;float:left}.monaco-editor .sticky-line-root{background-color:inherit;overflow:hidden;white-space:nowrap;width:100%}.monaco-editor.hc-black .sticky-widget,.monaco-editor.hc-light .sticky-widget{border-bottom:1px solid var(--vscode-contrastBorder)}.monaco-editor .sticky-line-root:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget{width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 3px 2px -2px;z-index:4;background-color:var(--vscode-editorStickyScroll-background)}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}.monaco-editor .unicode-highlight{border:1px solid var(--vscode-editorUnicodeHighlight-border);background-color:var(--vscode-editorUnicodeHighlight-background);box-sizing:border-box}.editor-banner{box-sizing:border-box;cursor:default;width:100%;font-size:12px;display:flex;overflow:visible;height:26px;background:var(--vscode-banner-background)}.editor-banner .icon-container{display:flex;flex-shrink:0;align-items:center;padding:0 6px 0 10px}.editor-banner .icon-container.custom-icon{background-repeat:no-repeat;background-position:center center;background-size:16px;width:16px;padding:0;margin:0 6px 0 10px}.editor-banner .message-container{display:flex;align-items:center;line-height:26px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-banner .message-container p{margin-block-start:0;margin-block-end:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;line-height:26px;margin:0 4px}.editor-banner .message-actions-container a.monaco-button{width:inherit;margin:2px 8px;padding:0 12px}.editor-banner .message-actions-container a{padding:3px;margin-left:12px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner{background-color:var(--vscode-banner-background)}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-link{color:var(--vscode-textLink-foreground)}.monaco-link:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll;color:var(--vscode-editorWidget-foreground);background-color:var(--vscode-editorWidget-background);box-shadow:0 2px 8px var(--vscode-widget-shadow);border:2px solid var(--vscode-contrastBorder)}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #F6F6F6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{z-index:50;user-select:text;-webkit-user-select:text;padding:10px;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor.hc-black .tokens-inspect-widget,.monaco-editor.hc-light .tokens-inspect-widget{border-width:2px}.monaco-editor .tokens-inspect-widget .tokens-inspect-separator{height:1px;border:0;background-color:var(--vscode-editorHoverWidget-border)}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}hr[data-v-57741a55]{opacity:.1}.drawer[data-v-57741a55]{position:fixed;right:0;top:0;width:900px;height:calc(100vh - 22px);background:var(--hl-bg);z-index:999;opacity:.97;padding:10px}.drawer h4[data-v-57741a55]{margin:2px}.drawer .settings .buttons[data-v-57741a55]{margin-top:10px}.drawer .settings .buttons button[data-v-57741a55]{margin-right:5px}.drawer .settings .block[data-v-57741a55]{border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:8px;margin-bottom:8px}.drawer .column-edit button[data-v-57741a55]{margin-right:5px}.drawer .input[data-v-57741a55]{font-family:Roboto mono,sans-serif;font-size:12px;padding:5px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.drawer .col-row[data-v-57741a55]{display:flex}.drawer .col-row .name[data-v-57741a55]{width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.drawer .inner-drawer[data-v-57741a55]{margin-top:10px;height:calc(100% - 15px);overflow-y:scroll}.drawer .inner-drawer .header[data-v-57741a55]{width:100%;text-align:right}.drawer pre[data-v-57741a55]{margin:6px 0;background:var(--hl-bg2);padding:10px;white-space:pre-wrap}.btn-sm[data-v-57741a55]{padding:4px 6px;margin-right:4px;border-radius:4px;font-size:12px}.btn-sm.active[data-v-57741a55]{color:#ffffff4d}.btn-sm.grey[data-v-57741a55]{color:#ffffff80}.overlay[data-v-1a4b7156]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000;opacity:.5;z-index:9999}.modal[data-v-1a4b7156]{position:fixed;display:flex;flex-direction:column;top:40px;left:50%;transform:translate(-50%);border:3px solid rgba(255,255,255,.1);border-radius:4px;width:900px;max-height:calc(100% - 100px);overflow-y:scroll;background:var(--hl-bg);z-index:10000;padding:20px}.modal .close[data-v-1a4b7156]{text-align:right}.input{font-family:Roboto mono,sans-serif;font-size:12px;padding:5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.err{padding:10px;margin:10px 0;background:#b53c3c}.demo .top-bar{padding-top:50px!important}.demo .layout{height:calc(100vh - 109px)!important}.demo-bar{position:fixed;display:flex;align-items:center;justify-content:center;top:0;width:100%;font-weight:600;height:40px;background:#402c6b;border-bottom:1px solid #583c93}.demo-bar span{margin-right:20px}.demo-bar button{padding:4px 8px;font-size:12px;border-radius:7px;margin-right:4px}.container{height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center}.container button{margin-left:5px}button[data-v-6d3cf0a2]{margin-right:5px}.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{top:-100%;width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#fafafa;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #f0f0f0,0 3px 6px -5px #bbb}.noUi-connects{border-radius:3px}.noUi-connect{background:#3fb8af}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#fff;cursor:default;box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ebebeb,0 3px 6px -3px #bbb}.noUi-active{box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ddd,0 3px 6px -3px #bbb}.noUi-handle:before,.noUi-handle:after{content:"";display:block;position:absolute;height:14px;width:1px;background:#e8e7e6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:before,.noUi-vertical .noUi-handle:after{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#b8b8b8}[disabled].noUi-target,[disabled].noUi-handle,[disabled] .noUi-handle{cursor:not-allowed}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#ccc}.noUi-marker-sub,.noUi-marker-large{background:#aaa}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%,50%);transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0,-50%);transform:translateY(-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0,50%);transform:translateY(50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%,0);transform:translate(-50%);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0,-50%);transform:translateY(-50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{-webkit-transform:translate(50%,0);transform:translate(50%);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{-webkit-transform:translate(0,-18px);transform:translateY(-18px);top:auto;right:28px}.v-popper__inner{max-width:360px!important}#slider-square{width:90%;margin:0 auto}pre{margin:6px 0;background:#1e1e1e;padding:10px;white-space:pre-wrap;word-wrap:break-word}.overlay[data-v-b7c93728]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999}.modal[data-v-b7c93728]{position:absolute;display:flex;flex-direction:column;transform:translate(-50%);border:3px solid rgba(255,255,255,.1);border-radius:4px;width:250px;max-height:calc(100% - 100px);overflow-y:scroll;background:var(--hl-bg);z-index:10000;padding:20px}.modal .date-picker[data-v-b7c93728]{display:flex;flex-direction:column}.modal .date-picker .date-from[data-v-b7c93728]{margin-bottom:10px}.modal .date-picker span.picker[data-v-b7c93728]{cursor:pointer;padding:3px}.modal .date-picker span.picker[data-v-b7c93728]:hover{background:#ffffff1a}.nofacets{text-align:center;box-sizing:border-box;overflow:hidden;padding:30px 40px 0;font-size:22px;border-top:1px solid var(--hl-bg)}.nofacets span{font-size:14px}.facet{border-top:1px solid var(--hl-bg);font-size:13px;line-height:16px;cursor:pointer;margin-top:10px}.facet .facet-toggle-vis{font-size:9px}.facet .facet-items{max-height:150px;overflow-y:scroll;border-bottom:1px solid rgba(255,255,255,.08)}.facet .facet-items:hover{max-height:200px}.facet .facet-items .facet-item{display:flex;flex-direction:row;justify-content:space-between;border-radius:2px;padding:4px}.facet .facet-items .facet-item.facet-selected{background:var(--hl-bg2);font-weight:600}.facet .facet-label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%}.facet .facet-item:hover{background-color:var(--hl-bg)}.facet .facet-header{display:flex;flex-direction:row;justify-content:space-between}.facet .facet-header .facet-title{font-weight:700}.facet .facet-val{text-align:right;width:30px}.top-bar{height:50px;display:flex;align-items:center;flex-direction:row;padding:8px}.top-bardiv{flex:1 1 auto}.top-bar .left{display:flex;align-items:center;margin-left:20px;margin-right:20px}.top-bar .left .logo img{height:40px}.top-bar .left .docs{margin-left:10px;font-size:12px;border:1px solid var(--hl-bg);padding:4px 8px;border-radius:6px;display:flex;flex-direction:row;align-items:center}.top-bar .left .docs svg{margin-left:5px}.top-bar .right{flex-grow:1;display:flex;align-items:center}.top-bar .right .searchbar{font-family:Roboto mono,sans-serif;font-size:12px;padding:5px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.top-bar .right .search-error{font-family:Roboto mono,sans-serif;font-size:12px;padding:5px;background:var(--hl-bg);margin-left:10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.top-bar .right .clear{margin-left:0;padding:5px 7px;border-top-left-radius:0;background:#ffffff1a!important;border-bottom-left-radius:0}.top-bar .end{display:flex;align-items:center;margin:0 0 0 10px}.top-bar .end .ctrls{margin-right:5px}.top-bar .end .ctrls .ctrl-btn{padding:3px 8px;border-radius:0}.top-bar .end .ctrls .ctrl-btn:first-child{border-top-left-radius:8px;border-bottom-left-radius:8px}.top-bar .end .ctrls .ctrl-btn:last-child{border-top-right-radius:8px;border-bottom-right-radius:8px}.layout{display:flex;height:calc(100vh - 66px);overflow:hidden}.layout .mid-col{background:#fff;width:4px;height:100%;opacity:.2;cursor:ew-resize}.layout .mid-col.freeze{width:2px!important;cursor:auto;opacity:.1}.layout .left-col{overflow:auto;overflow-x:hidden;margin-left:4px;min-width:180px;border-right:1px solid var(--hl-bg);padding-right:5px}.layout .left-col.empty{min-width:unset!important;width:20px!important}.layout .left-col .counter{text-align:center;padding-bottom:10px}.layout .left-col .counter .sort-label{font-size:12px}.layout .right-col{padding-left:5px;overflow:scroll;width:100%;height:100%}.layout .right-col .trace-block{background:var(--info)}.layout .right-col .clickable{text-decoration:underline;font-weight:700;cursor:pointer}.layout .right-col .clickable:hover{text-decoration:none}.layout .right-col .stick{position:fixed;right:15px;bottom:10px;font-size:11px}.layout .right-col .stick.sticked{border:1px solid #646cff}.layout .right-col .table{font-family:Roboto mono,sans-serif;font-size:12px;border:none;border-collapse:separate;border-spacing:0}.layout .right-col .table .header-border{height:100%;display:inline;width:3px;cursor:ew-resize;background:#00000040;float:right}.layout .right-col .table td,.layout .right-col .table th{padding:1px 2px}.layout .right-col .table .column-name span{pointer-events:none;-webkit-user-select:none;user-select:none}.layout .right-col .table .column-name:hover .hide-icon{visibility:visible!important}.layout .right-col .table th{position:sticky;top:0;background-color:var(--hl-bg);padding:2px 0;z-index:99}.layout .right-col .table td div{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;word-wrap:break-word;word-break:break-all}.layout .right-col .table tr{cursor:pointer}.layout .right-col .table tr .mark{display:block;width:10px;font-size:7px;line-height:1px;opacity:.1}.layout .right-col .table tr .mark:hover{opacity:.7}.layout .right-col .table tr .mark.active{opacity:1}.layout .right-col .table tr.row.opened{background-color:var(--hl-bg);opacity:.8}.layout .right-col .table tr.row:hover{background-color:var(--hl-bg)!important;opacity:1}.layout .right-col .table tr.row.open{font-weight:800;background-color:var(--hl-bg3)!important}.btn-sm{padding:4px 6px;margin-right:4px;border-radius:4px;font-size:12px}.kdb,kbd{margin:0;border:1px solid white;opacity:.7;font-size:12px;padding:1px;border-radius:2px}.v-popper--theme-tooltip .v-popper__inner{background:#171717!important;padding:5px 8px!important;font-size:13px}.v-popper--theme-tooltip .v-popper__arrow-container{visibility:hidden}.alert{margin-top:10px;margin-bottom:10px;padding:10px;border:1px solid var(--hl-bg4);background:var(--hl-bg3);border-radius:7px}.alert.alert-info{border:1px solid rgb(95,118,194);background:var(--info)}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:#000c;color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd} +body{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--danger: #6c2727;color:var(--font);background-color:var(--bg)}body.dark{color-scheme:light dark;--font: #efefef;--bg: #242424;--hl-bg: #373737;--hl-bg2: #3f3f3f;--hl-bg3: #595959;--bg-btn: #1a1a1a;--info: rgb(76, 94, 154)}body.light{color:#213547;--font: #303030;--bg: #f8f8f8;--hl-bg: #e0e0e0;--hl-bg2: #9d9d9d;--hl-bg3: #8c8c8c;--bg-btn: #c5c5c5;--danger: #ff8282;--info: rgb(145, 155, 186)}@media (prefers-color-scheme: light){body.light{color-scheme:light;--font: #303030;--bg: #f8f8f8;--hl-bg: #e0e0e0;--hl-bg2: #9d9d9d;--hl-bg3: #8c8c8c;--bg-btn: #c5c5c5;--info: rgb(145, 155, 186)}body.dark{color-scheme:dark;--font: #efefef;--bg: #242424;--hl-bg: #373737;--hl-bg2: #3f3f3f;--hl-bg3: #595959;--bg-btn: #1a1a1a;--info: rgb(76, 94, 154)}a:hover{color:#747bff}button{background-color:#f9f9f9}}button[disabled]{opacity:.7}a,.link-style{font-weight:500;color:#646cff;text-decoration:inherit}a:hover,.link-style:hover{color:#535bf2}body{margin:0;padding:0;min-width:320px;min-height:100vh}#app.noselect *{-webkit-user-select:none;-ms-user-select:none;user-select:none}h1{font-size:3.2em;line-height:1.1}button,.btn{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;color:var(--color);background-color:var(--bg-btn);cursor:pointer;transition:border-color .25s}.btn-danger{background:var(--danger)!important}button:hover,.btn:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}.vjs-tree-brackets{cursor:pointer}.vjs-tree-brackets:hover{color:#1890ff}.vjs-check-controller{position:absolute;left:0}.vjs-check-controller.is-checked .vjs-check-controller-inner{background-color:#1890ff;border-color:#0076e4}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-checkbox:after{transform:rotate(45deg) scaleY(1)}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-radio:after{transform:translate(-50%,-50%) scale(1)}.vjs-check-controller .vjs-check-controller-inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:2px;vertical-align:middle;box-sizing:border-box;width:16px;height:16px;background-color:#fff;z-index:1;cursor:pointer;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-check-controller .vjs-check-controller-inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-check-controller .vjs-check-controller-inner.is-radio{border-radius:100%}.vjs-check-controller .vjs-check-controller-inner.is-radio:after{border-radius:100%;height:4px;background-color:#fff;left:50%;top:50%}.vjs-check-controller .vjs-check-controller-original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-carets{position:absolute;right:0;cursor:pointer}.vjs-carets svg{transition:transform .3s}.vjs-carets:hover{color:#1890ff}.vjs-carets-close{transform:rotate(-90deg)}.vjs-tree-node{display:flex;position:relative;line-height:20px}.vjs-tree-node.has-carets{padding-left:15px}.vjs-tree-node.has-carets.has-selector,.vjs-tree-node.has-selector{padding-left:30px}.vjs-tree-node.is-highlight,.vjs-tree-node:hover{background-color:#e6f7ff}.vjs-tree-node .vjs-indent{display:flex;position:relative}.vjs-tree-node .vjs-indent-unit{width:1em}.vjs-tree-node .vjs-indent-unit.has-line{border-left:1px dashed #bfcbd9}.vjs-tree-node.dark.is-highlight,.vjs-tree-node.dark:hover{background-color:#2e4558}.vjs-node-index{position:absolute;right:100%;margin-right:4px;-webkit-user-select:none;user-select:none}.vjs-colon{white-space:pre}.vjs-comment{color:#bfcbd9}.vjs-value{word-break:break-word}.vjs-value-null,.vjs-value-undefined{color:#d55fde}.vjs-value-boolean,.vjs-value-number{color:#1d8ce0}.vjs-value-string{color:#13ce66}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px;text-align:left}.vjs-tree.is-virtual{overflow:auto}.vjs-tree.is-virtual .vjs-tree-node{white-space:nowrap}.drawer[data-v-eaec25f1]{right:0;top:0;height:100%;background:var(--hl-bg);z-index:999;opacity:.99;padding:0 10px 10px 0}.drawer .resize-handle[data-v-eaec25f1]{background:#fff;width:3px;opacity:.2;cursor:ew-resize;height:100%;float:left;margin-right:10px}.drawer h4[data-v-eaec25f1],.drawer h3[data-v-eaec25f1]{margin:2px;cursor:pointer}.drawer h4 .clipboard[data-v-eaec25f1],.drawer h3 .clipboard[data-v-eaec25f1]{visibility:hidden}.drawer h4:hover .clipboard[data-v-eaec25f1],.drawer h3:hover .clipboard[data-v-eaec25f1]{visibility:visible!important}.drawer .inner-drawer[data-v-eaec25f1]{padding-top:20px;height:100%;overflow-y:scroll;padding-bottom:20px}.drawer .inner-drawer .header[data-v-eaec25f1]{display:flex;align-items:center;float:right}.drawer pre[data-v-eaec25f1]{margin:6px 0;background:var(--bg);padding:10px;white-space:pre-wrap}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace}.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-aria-container{position:absolute;left:-999em}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%;color:var(--vscode-editor-foreground);background-color:var(--vscode-editor-background)}.monaco-editor-background{background-color:var(--vscode-editor-background)}.monaco-editor .rangeHighlight{background-color:var(--vscode-editor-rangeHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-rangeHighlightBorder)}.monaco-editor.hc-black .rangeHighlight,.monaco-editor.hc-light .rangeHighlight{border-style:dotted}.monaco-editor .symbolHighlight{background-color:var(--vscode-editor-symbolHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-symbolHighlightBorder)}.monaco-editor.hc-black .symbolHighlight,.monaco-editor.hc-light .symbolHighlight{border-style:dotted}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .squiggly-error{border-bottom:4px double var(--vscode-editorError-border)}.monaco-editor .squiggly-error:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorError-background)}.monaco-editor .squiggly-warning{border-bottom:4px double var(--vscode-editorWarning-border)}.monaco-editor .squiggly-warning:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorWarning-background)}.monaco-editor .squiggly-info{border-bottom:4px double var(--vscode-editorInfo-border)}.monaco-editor .squiggly-info:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorInfo-background)}.monaco-editor .squiggly-hint{border-bottom:2px dotted var(--vscode-editorHint-border)}.monaco-editor.showUnused .squiggly-unnecessary{border-bottom:2px dashed var(--vscode-editorUnnecessaryCode-border)}.monaco-editor.showDeprecated .squiggly-inline-deprecated{text-decoration:line-through;text-decoration-color:var(--vscode-editor-foreground, inherit)}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent;z-index:-10}.monaco-editor .inputarea.ime-input{z-index:10;caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground)}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}.monaco-editor .margin{background-color:var(--vscode-editorGutter-background)}.monaco-mouse-cursor-text{cursor:text}.monaco-editor .view-overlays .current-line,.monaco-editor .margin-view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box}.monaco-editor .lines-content .core-guide-indent{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-background) inset}.monaco-editor .lines-content .core-guide-indent-active{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-activeBackground, --vscode-editorIndentGuide-background) inset}.mtkcontrol{color:#fff!important;background:#960000!important}.mtkoverflow{background-color:var(--vscode-button-background, --vscode-editor-background);color:var(--vscode-button-foreground, --vscode-editor-foreground);border-width:1px;border-style:solid;border-color:var(--vscode-contrastBorder);border-radius:2px;padding:4px;cursor:pointer}.mtkoverflow:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{user-select:none;-webkit-user-select:none}.monaco-editor.mac .lines-content:hover,.monaco-editor.mac .view-line:hover,.monaco-editor.mac .view-lines:hover{user-select:text;-webkit-user-select:text;-ms-user-select:text}.monaco-editor.enable-user-select{user-select:initial;-webkit-user-select:initial}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkw{color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .mtkz{display:inline-block;color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover:hover .minimap-slider,.monaco-editor .minimap.slider-mouseover .minimap-slider.active{opacity:1}.monaco-editor .minimap-slider .minimap-slider-horizontal{background:var(--vscode-minimapSlider-background)}.monaco-editor .minimap-slider:hover .minimap-slider-horizontal{background:var(--vscode-minimapSlider-hoverBackground)}.monaco-editor .minimap-slider.active .minimap-slider-horizontal{background:var(--vscode-minimapSlider-activeBackground)}.monaco-editor .minimap-shadow-visible{box-shadow:var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.minimap.autohide{opacity:0;transition:opacity .5s}.minimap.autohide:hover{opacity:1}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0;box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-editor .blockDecorations-container{position:absolute;top:0;pointer-events:none}.monaco-editor .blockDecorations-block{position:absolute;box-sizing:border-box}.monaco-editor .mwh{position:absolute;color:var(--vscode-editorWhitespace-foreground)!important}:root{--vscode-sash-size: 4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--vscode-sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--vscode-sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--vscode-sash-size) * 2);width:calc(var(--vscode-sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size) * -.5);top:calc(var(--vscode-sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--vscode-sash-size) * -.5);bottom:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--vscode-sash-size) * -.5);left:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--vscode-sash-size) * -.5);right:calc(var(--vscode-sash-size) * -1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;background:transparent}.monaco-workbench:not(.reduce-motion) .monaco-sash:before{transition:background-color .1s ease-out}.monaco-sash.hover:before,.monaco-sash.active:before{background:var(--vscode-sash-hoverBorder)}.monaco-sash.vertical:before{width:var(--vscode-sash-hover-size);left:calc(50% - (var(--vscode-sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--vscode-sash-hover-size);top:calc(50% - (var(--vscode-sash-hover-size) / 2))}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:#0ff}.monaco-sash.debug.disabled{background:#0ff3}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:#00000008}.monaco-diff-editor.vs-dark .diffOverview{background:#ffffff03}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:#0000}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:#ababab66}.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active{background:none}.monaco-editor .insert-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-diff-editor .delete-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-editor.hc-black .insert-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .delete-sign,.monaco-editor.hc-light .insert-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .delete-sign{opacity:1}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .inline-added-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-editor .char-insert,.monaco-diff-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-editor .line-insert,.monaco-diff-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground)}.monaco-editor .line-insert,.monaco-editor .char-insert{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-insertedTextBorder)}.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .line-insert,.monaco-editor.hc-black .char-insert,.monaco-editor.hc-light .char-insert{border-style:dashed}.monaco-editor .line-delete,.monaco-editor .char-delete{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-removedTextBorder)}.monaco-editor.hc-black .line-delete,.monaco-editor.hc-light .line-delete,.monaco-editor.hc-black .char-delete,.monaco-editor.hc-light .char-delete{border-style:dashed}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .gutter-insert,.monaco-diff-editor .gutter-insert{background-color:var(--vscode-diffEditorGutter-insertedLineBackground, --vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground)}.monaco-editor .char-delete,.monaco-diff-editor .char-delete{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-editor .line-delete,.monaco-diff-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground)}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .gutter-delete,.monaco-diff-editor .gutter-delete{background-color:var(--vscode-diffEditorGutter-removedLineBackground, --vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground)}.monaco-diff-editor.side-by-side .editor.modified{box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow);border-left:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.monaco-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block;color:var(--vscode-editorLineNumber-foreground)}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute;box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{user-select:none;-webkit-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-single,.monaco-list.selection-multiple{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-select-box-dropdown-padding{--dropdown-padding-top: 1px;--dropdown-padding-bottom: 1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top: 3px;--dropdown-padding-bottom: 4px}.monaco-select-box-dropdown-container{display:none;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *{margin:0}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{line-height:15px;font-family:var(--monaco-monospace-font)}.monaco-select-box-dropdown-container.visible{display:flex;flex-direction:column;text-align:left;width:1px;overflow:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{flex:0 0 auto;align-self:flex-start;padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom);padding-left:1px;padding-right:1px;width:100%;overflow:hidden;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom)}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row{cursor:pointer}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left;opacity:.7}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{text-overflow:ellipsis;overflow:hidden;padding-right:10px;white-space:nowrap;float:right}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{flex:1 1 auto;align-self:flex-start;opacity:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{overflow:hidden;max-height:0px}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{padding-left:4px;padding-right:8px;white-space:nowrap}.monaco-select-box{width:100%;cursor:pointer;border-radius:2px}.monaco-select-box-dropdown-container{font-size:13px;font-weight:400;text-transform:none}.monaco-action-bar .action-item.select-container{cursor:default}.monaco-action-bar .action-item .monaco-select-box{cursor:pointer;min-width:100px;min-height:18px;padding:2px 23px 2px 8px}.mac .monaco-action-bar .action-item .monaco-select-box{font-size:11px;border-radius:5px}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .icon,.monaco-action-bar .action-item .codicon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{display:flex;font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.6}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator{display:flex;align-items:center;cursor:default}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator>div{width:1px}.context-view{position:absolute}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;color:inherit}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:solid 1px rgba(204,204,204,.4);border-bottom-color:#bbb6;box-shadow:inset 0 -1px #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px rgb(111,195,223);box-shadow:none;color:#fff}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px #0F4A85;box-shadow:none;color:#292929}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:solid 1px rgba(51,51,51,.6);border-bottom-color:#4449;box-shadow:inset 0 -1px #4449;color:#ccc}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:initial}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:initial;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap;overflow:hidden}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:700;overflow:hidden;text-overflow:ellipsis}.monaco-table-th,.monaco-table-td{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--vscode-sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-custom-toggle{margin-left:2px;float:left;cursor:pointer;overflow:hidden;width:20px;height:20px;border-radius:3px;border:1px solid transparent;padding:1px;box-sizing:border-box;user-select:none;-webkit-user-select:none}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-light .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{background:none}.monaco-custom-toggle.monaco-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;border-radius:2px;font-size:inherit}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls,.hc-light .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls,.hc-light .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:#fdff00cc}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:#fdff00cc}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:#ffffff70}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:#ffffff70}99%{background:transparent}}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-row.disabled{cursor:default}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie,.monaco-tl-contents{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translate(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.monaco-tree-type-filter{position:absolute;top:0;display:flex;padding:3px;max-width:200px;z-index:100;margin:0 6px;border:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter{transition:top .3s}.monaco-tree-type-filter.disabled{top:-40px!important}.monaco-tree-type-filter-grab{display:flex!important;align-items:center;justify-content:center;cursor:grab;margin-right:2px}.monaco-tree-type-filter-grab.grabbing{cursor:grabbing}.monaco-tree-type-filter-input{flex:1}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;border-radius:2px;text-align:center;cursor:pointer;justify-content:center;align-items:center;border:1px solid var(--vscode-button-border, transparent);line-height:18px}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled:focus,.monaco-button.disabled{opacity:.4!important;cursor:default}.monaco-text-button .codicon{margin:0 .2em;color:inherit!important}.monaco-text-button.monaco-text-button-with-short-label{flex-direction:row;flex-wrap:wrap;padding:0 4px;overflow:hidden;height:28px}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;width:0;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{display:flex;justify-content:center;align-items:center;font-weight:400;font-style:inherit;padding:4px 0}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus,.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{padding:4px 0;cursor:default}.monaco-button-dropdown .monaco-button-dropdown-separator>div{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border:1px solid var(--vscode-button-border, transparent);border-left-width:0!important;border-radius:0 2px 2px 0}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{display:flex;flex-direction:column;align-items:center;margin:4px 5px}.monaco-description-button .monaco-button-description{font-style:italic;font-size:11px;padding:4px 20px}.monaco-description-button .monaco-button-label,.monaco-description-button .monaco-button-description{display:flex;justify-content:center;align-items:center}.monaco-description-button .monaco-button-label>.codicon,.monaco-description-button .monaco-button-description>.codicon{margin:0 .2em;color:inherit!important}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;transform:translateZ(0);animation-timing-function:linear}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes progress{0%{transform:translate(0) scaleX(1)}50%{transform:translate(2500%) scaleX(3)}to{transform:translate(4900%) scaleX(1)}}.quick-input-widget{position:absolute;width:600px;z-index:2550;left:50%;margin-left:-300px;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{display:flex;align-items:center;border-top-left-radius:5px;border-top-right-radius:5px}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:center;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:8px 6px 6px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:25px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-message a{color:inherit}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{overflow:hidden;max-height:440px;padding-bottom:5px}.quick-input-list .monaco-scrollable-element{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label>span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px}.quick-input-list .quick-input-list-entry-action-bar{margin-right:4px}.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:left center;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label-container.disabled{color:var(--vscode-disabledForeground)}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box;background-color:var(--vscode-editorBracketMatch-background);border:1px solid var(--vscode-editorBracketMatch-border)}@font-face{font-family:codicon;font-display:block;src:url(./codicon-9NdTC9YB.ttf) format("truetype")}.codicon[class*=codicon-]{font: 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(360deg)}}.codicon-sync.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-gear.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.monaco-editor .codicon.codicon-symbol-array,.monaco-workbench .codicon.codicon-symbol-array{color:var(--vscode-symbolIcon-arrayForeground)}.monaco-editor .codicon.codicon-symbol-boolean,.monaco-workbench .codicon.codicon-symbol-boolean{color:var(--vscode-symbolIcon-booleanForeground)}.monaco-editor .codicon.codicon-symbol-class,.monaco-workbench .codicon.codicon-symbol-class{color:var(--vscode-symbolIcon-classForeground)}.monaco-editor .codicon.codicon-symbol-method,.monaco-workbench .codicon.codicon-symbol-method{color:var(--vscode-symbolIcon-methodForeground)}.monaco-editor .codicon.codicon-symbol-color,.monaco-workbench .codicon.codicon-symbol-color{color:var(--vscode-symbolIcon-colorForeground)}.monaco-editor .codicon.codicon-symbol-constant,.monaco-workbench .codicon.codicon-symbol-constant{color:var(--vscode-symbolIcon-constantForeground)}.monaco-editor .codicon.codicon-symbol-constructor,.monaco-workbench .codicon.codicon-symbol-constructor{color:var(--vscode-symbolIcon-constructorForeground)}.monaco-editor .codicon.codicon-symbol-value,.monaco-workbench .codicon.codicon-symbol-value,.monaco-editor .codicon.codicon-symbol-enum,.monaco-workbench .codicon.codicon-symbol-enum{color:var(--vscode-symbolIcon-enumeratorForeground)}.monaco-editor .codicon.codicon-symbol-enum-member,.monaco-workbench .codicon.codicon-symbol-enum-member{color:var(--vscode-symbolIcon-enumeratorMemberForeground)}.monaco-editor .codicon.codicon-symbol-event,.monaco-workbench .codicon.codicon-symbol-event{color:var(--vscode-symbolIcon-eventForeground)}.monaco-editor .codicon.codicon-symbol-field,.monaco-workbench .codicon.codicon-symbol-field{color:var(--vscode-symbolIcon-fieldForeground)}.monaco-editor .codicon.codicon-symbol-file,.monaco-workbench .codicon.codicon-symbol-file{color:var(--vscode-symbolIcon-fileForeground)}.monaco-editor .codicon.codicon-symbol-folder,.monaco-workbench .codicon.codicon-symbol-folder{color:var(--vscode-symbolIcon-folderForeground)}.monaco-editor .codicon.codicon-symbol-function,.monaco-workbench .codicon.codicon-symbol-function{color:var(--vscode-symbolIcon-functionForeground)}.monaco-editor .codicon.codicon-symbol-interface,.monaco-workbench .codicon.codicon-symbol-interface{color:var(--vscode-symbolIcon-interfaceForeground)}.monaco-editor .codicon.codicon-symbol-key,.monaco-workbench .codicon.codicon-symbol-key{color:var(--vscode-symbolIcon-keyForeground)}.monaco-editor .codicon.codicon-symbol-keyword,.monaco-workbench .codicon.codicon-symbol-keyword{color:var(--vscode-symbolIcon-keywordForeground)}.monaco-editor .codicon.codicon-symbol-module,.monaco-workbench .codicon.codicon-symbol-module{color:var(--vscode-symbolIcon-moduleForeground)}.monaco-editor .codicon.codicon-symbol-namespace,.monaco-workbench .codicon.codicon-symbol-namespace{color:var(--vscode-symbolIcon-namespaceForeground)}.monaco-editor .codicon.codicon-symbol-null,.monaco-workbench .codicon.codicon-symbol-null{color:var(--vscode-symbolIcon-nullForeground)}.monaco-editor .codicon.codicon-symbol-number,.monaco-workbench .codicon.codicon-symbol-number{color:var(--vscode-symbolIcon-numberForeground)}.monaco-editor .codicon.codicon-symbol-object,.monaco-workbench .codicon.codicon-symbol-object{color:var(--vscode-symbolIcon-objectForeground)}.monaco-editor .codicon.codicon-symbol-operator,.monaco-workbench .codicon.codicon-symbol-operator{color:var(--vscode-symbolIcon-operatorForeground)}.monaco-editor .codicon.codicon-symbol-package,.monaco-workbench .codicon.codicon-symbol-package{color:var(--vscode-symbolIcon-packageForeground)}.monaco-editor .codicon.codicon-symbol-property,.monaco-workbench .codicon.codicon-symbol-property{color:var(--vscode-symbolIcon-propertyForeground)}.monaco-editor .codicon.codicon-symbol-reference,.monaco-workbench .codicon.codicon-symbol-reference{color:var(--vscode-symbolIcon-referenceForeground)}.monaco-editor .codicon.codicon-symbol-snippet,.monaco-workbench .codicon.codicon-symbol-snippet{color:var(--vscode-symbolIcon-snippetForeground)}.monaco-editor .codicon.codicon-symbol-string,.monaco-workbench .codicon.codicon-symbol-string{color:var(--vscode-symbolIcon-stringForeground)}.monaco-editor .codicon.codicon-symbol-struct,.monaco-workbench .codicon.codicon-symbol-struct{color:var(--vscode-symbolIcon-structForeground)}.monaco-editor .codicon.codicon-symbol-text,.monaco-workbench .codicon.codicon-symbol-text{color:var(--vscode-symbolIcon-textForeground)}.monaco-editor .codicon.codicon-symbol-type-parameter,.monaco-workbench .codicon.codicon-symbol-type-parameter{color:var(--vscode-symbolIcon-typeParameterForeground)}.monaco-editor .codicon.codicon-symbol-unit,.monaco-workbench .codicon.codicon-symbol-unit{color:var(--vscode-symbolIcon-unitForeground)}.monaco-editor .codicon.codicon-symbol-variable,.monaco-workbench .codicon.codicon-symbol-variable{color:var(--vscode-symbolIcon-variableForeground)}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px;color:var(--vscode-inputValidation-infoForeground);background-color:var(--vscode-inputValidation-infoBackground);border:1px solid var(--vscode-inputValidation-infoBorder)}.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .monaco-editor-overlaymessage .message{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;border-color:transparent;border-style:solid;z-index:1000;border-width:8px;position:absolute}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,.monaco-editor .monaco-editor-overlaymessage.below .anchor.below{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.action-widget{font-size:13px;border-radius:0;min-width:160px;max-width:500px;z-index:40;display:block;width:100%;border:1px solid var(--vscode-editorWidget-border)!important;background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground)}.context-view-block{position:fixed;cursor:initial;left:0;top:0;width:100%;height:100%;z-index:-1}.context-view-pointerBlock{position:fixed;cursor:initial;left:0;top:0;width:100%;height:100%;z-index:2}.action-widget .monaco-list{user-select:none;-webkit-user-select:none;border:none!important;border-width:0!important}.action-widget .monaco-list:focus:before{outline:0!important}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{padding:0 10px;white-space:nowrap;cursor:pointer;touch-action:none;width:100%}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){background-color:var(--vscode-quickInputList-focusBackground)!important;color:var(--vscode-quickInputList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder, transparent);outline-offset:-1px}.action-widget .monaco-list-row.group-header{color:var(--vscode-pickerGroup-foreground)!important;font-weight:600}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled:before,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before{cursor:default!important;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background-color:transparent!important;outline:0 solid!important}.action-widget .monaco-list-row.action{display:flex;gap:6px;align-items:center}.action-widget .monaco-list-row.action.option-disabled{color:var(--vscode-disabledForeground)}.action-widget .monaco-list-row.action.option-disabled .codicon{opacity:.4}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon{color:inherit}.action-widget .monaco-list-row.action .title{flex:1;overflow:hidden;text-overflow:ellipsis}.action-widget .action-widget-action-bar{background-color:var(--vscode-editorHoverWidget-statusBarBackground);border-top:1px solid var(--vscode-editorHoverWidget-border)}.action-widget .action-widget-action-bar:before{display:block;content:"";width:100%}.action-widget .action-widget-action-bar .actions-container{padding:0 8px}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);font-size:12px;line-height:22px;padding:0;pointer-events:all}.action-widget-action-bar .action-item{margin-right:16px;pointer-events:none}.action-widget-action-bar .action-label:hover{background-color:transparent!important}.monaco-editor .lightBulbWidget{display:flex;align-items:center;justify-content:center}.monaco-editor .lightBulbWidget:hover{cursor:pointer}.monaco-editor .lightBulbWidget.codicon-light-bulb{color:var(--vscode-editorLightBulb-foreground)}.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix{color:var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground))}.monaco-editor .lightBulbWidget:before{position:relative;z-index:2}.monaco-editor .lightBulbWidget:after{position:absolute;top:0;left:0;content:"";display:block;width:100%;height:100%;opacity:.3;background-color:var(--vscode-editor-background);z-index:1}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize);padding-right:calc(var(--vscode-editorCodeLens-fontSize)*.5);font-feature-settings:var(--vscode-editorCodeLens-fontFeatureSettings);font-family:var(--vscode-editorCodeLens-fontFamily),var(--vscode-editorCodeLens-fontFamilyDefault)}.monaco-editor .codelens-decoration>span,.monaco-editor .codelens-decoration>a{user-select:none;-webkit-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize)}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{border:solid .1em #000;box-sizing:border-box;margin:.1em .2em 0;width:.8em;height:.8em;line-height:.8em;display:inline-block;cursor:pointer}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:solid .1em #eee}.colorpicker-header{display:flex;height:24px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;display:flex;align-items:center;justify-content:center;line-height:24px;cursor:pointer;color:#fff;flex:1}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px;position:absolute;left:8px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid rgb(255,255,255);border-radius:100%;box-shadow:0 0 2px #000c;position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(to bottom,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid rgba(255,255,255,.71);box-shadow:0 0 1px #000000d9}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex;justify-content:space-between;flex-wrap:nowrap}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:baseline;font-size:13px;margin-left:20px;min-width:0;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .dirname,.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px;align-self:center}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px;background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground)}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%;color:var(--vscode-peekViewResult-fileForeground)}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder, transparent);box-sizing:border-box}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;user-select:text;-webkit-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover a:hover:not(.disabled){cursor:pointer}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px;word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover p,.monaco-hover .code,.monaco-hover ul,.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{margin:8px 0}.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{line-height:1.1}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0px;border-right:0px;margin:4px -8px -4px;height:1px}.monaco-hover p:first-child,.monaco-hover .code:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover p:last-child,.monaco-hover .code:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ul,.monaco-hover ol{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .info{font-style:italic;padding:0 8px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link:hover,.monaco-hover .hover-contents a.code-link{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground)}.monaco-hover .hover-contents a.code-link>span:hover{color:var(--vscode-textLink-activeForeground)}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.monaco-editor .rendered-markdown kbd{background-color:var(--vscode-keybindingLabel-background);color:var(--vscode-keybindingLabel-foreground);border-style:solid;border-width:1px;border-radius:3px;border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);vertical-align:middle;padding:1px 3px}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;user-select:text;-webkit-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground)}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{color:var(--vscode-textLink-activeForeground)}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor .zone-widget .codicon.codicon-error,.markers-panel .marker-icon.error,.markers-panel .marker-icon .codicon.codicon-error,.text-search-provider-messages .providerMessage .codicon.codicon-error,.extensions-viewlet>.extensions .codicon.codicon-error,.extension-editor .codicon.codicon-error,.preferences-editor .codicon.codicon-error{color:var(--vscode-problemsErrorIcon-foreground)}.monaco-editor .zone-widget .codicon.codicon-warning,.markers-panel .marker-icon.warning,.markers-panel .marker-icon .codicon.codicon-warning,.text-search-provider-messages .providerMessage .codicon.codicon-warning,.extensions-viewlet>.extensions .codicon.codicon-warning,.extension-editor .codicon.codicon-warning,.preferences-editor .codicon.codicon-warning{color:var(--vscode-problemsWarningIcon-foreground)}.monaco-editor .zone-widget .codicon.codicon-info,.markers-panel .marker-icon.info,.markers-panel .marker-icon .codicon.codicon-info,.text-search-provider-messages .providerMessage .codicon.codicon-info,.extensions-viewlet>.extensions .codicon.codicon-info,.extension-editor .codicon.codicon-info,.preferences-editor .codicon.codicon-info{color:var(--vscode-problemsInfoIcon-foreground)}.monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover{color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .monaco-hover a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .monaco-hover code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .inlineSuggestionsHints.withBorder{z-index:39;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .inlineSuggestionsHints a,.monaco-editor .inlineSuggestionsHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineSuggestionsHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineSuggestionsHints .custom-actions .action-item:nth-child(2) a{display:flex;min-width:19px;justify-content:center}.monaco-editor .inlineSuggestionStatusBarItemLabel{margin-right:2px}.monaco-toolbar{height:100%}.monaco-toolbar .toolbar-toggle-more{display:inline-block;padding:0}.monaco-editor.vs .dnd-target,.monaco-editor.hc-light .dnd-target{border-right:2px dotted black;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #AEAFAD;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines,.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.hc-light.mac.mouse-default .view-lines{cursor:default}.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines,.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.hc-light.mac.mouse-copy .view-lines{cursor:copy}.monaco-editor .findOptionsWidget{background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground);box-shadow:0 0 8px 2px var(--vscode-widget-shadow);border:2px solid var(--vscode-contrastBorder)}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px));border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0ms linear}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:3px 0 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:center center;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-collapsed{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed{transition:initial}.monaco-editor .margin-view-overlays:hover .codicon,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons{opacity:1}.monaco-editor .inline-folded:after{color:gray;margin:.1em .2em 0;content:"⋯";display:inline;line-height:1em;cursor:pointer}.monaco-editor .folded-background{background-color:var(--vscode-editor-foldBackground)}.monaco-editor .cldr.codicon.codicon-folding-expanded,.monaco-editor .cldr.codicon.codicon-folding-collapsed,.monaco-editor .cldr.codicon.codicon-folding-manual-expanded,.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed{color:var(--vscode-editorGutter-foldingControlForeground)!important}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetTabstopHighlightBackground, transparent);outline-color:var(--vscode-editor-snippetTabstopHighlightBorder, transparent)}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground, transparent);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder, transparent)}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-widget,.monaco-editor .suggest-details{flex:0 1 auto;width:100%;border-style:solid;border-width:1px;border-color:var(--vscode-editorSuggestWidget-border);background-color:var(--vscode-editorSuggestWidget-background)}.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-black .suggest-details,.monaco-editor.hc-light .suggest-widget,.monaco-editor.hc-light .suggest-details{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid var(--vscode-editorSuggestWidget-border);overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{user-select:none;-webkit-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:initial;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default;color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details a{color:var(--vscode-textLink-foreground)}.monaco-editor .suggest-details a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .suggest-details code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:initial;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ul,.monaco-editor .suggest-details ol{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text{font-style:italic}.monaco-editor .inline-completion-text-to-replace{text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-decoration,.monaco-editor .ghost-text-decoration-preview,.monaco-editor .suggest-preview-text .ghost-text{color:var(--vscode-editorGhostText-foreground)!important;background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border)}.monaco-editor.vs .valueSetReplacement{outline:solid 2px var(--vscode-editorBracketMatch-border)}.monaco-editor .linked-editing-decoration{background-color:var(--vscode-editor-linkedEditingBackground);border-left-color:var(--vscode-editor-linkedEditingBackground)}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .focused .selectionHighlight{background-color:var(--vscode-editor-selectionHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-selectionHighlightBorder)}.monaco-editor.hc-black .focused .selectionHighlight,.monaco-editor.hc-light .focused .selectionHighlight{border-style:dotted}.monaco-editor .wordHighlight{background-color:var(--vscode-editor-wordHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightBorder)}.monaco-editor.hc-black .wordHighlight,.monaco-editor.hc-light .wordHighlight{border-style:dotted}.monaco-editor .wordHighlightStrong{background-color:var(--vscode-editor-wordHighlightStrongBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightStrongBorder)}.monaco-editor.hc-black .wordHighlightStrong,.monaco-editor.hc-light .wordHighlightStrong{border-style:dotted}.monaco-editor .wordHighlightText{background-color:var(--vscode-editor-wordHighlightTextBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightTextBorder)}.monaco-editor.hc-black .wordHighlightText,.monaco-editor.hc-light .wordHighlightText{border-style:dotted}.monaco-editor .parameter-hints-widget{z-index:39;display:flex;flex-direction:column;line-height:1.5em;cursor:default;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.hc-black .monaco-editor .parameter-hints-widget,.hc-light .monaco-editor .parameter-hints-widget{border-width:2px}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.multiple .body:before{content:"";display:block;height:100%;position:absolute;opacity:.5;border-left:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .monaco-scrollable-element,.monaco-editor .parameter-hints-widget .body{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px;position:relative}.monaco-editor .parameter-hints-widget .signature.has-docs:after{content:"";display:block;position:absolute;left:0;width:100%;padding-top:4px;opacity:.5;border-bottom:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs a{color:var(--vscode-textLink-foreground)}.monaco-editor .parameter-hints-widget .docs a:hover{color:var(--vscode-textLink-activeForeground);cursor:pointer}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:initial}.monaco-editor .parameter-hints-widget .docs code{font-family:var(--monaco-monospace-font);border-radius:3px;padding:0 .4em;background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source,.monaco-editor .parameter-hints-widget .docs .code{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{color:var(--vscode-editorHoverWidget-highlightForeground);font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit;border-radius:4px}.monaco-editor .rename-box.preview{padding:4px 4px 0}.monaco-editor .rename-box .rename-input{padding:3px;border-radius:2px}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .sticky-line{color:var(--vscode-editorLineNumber-foreground);overflow:hidden;white-space:nowrap;display:inline-block}.monaco-editor .sticky-line-number{text-align:right;float:left}.monaco-editor .sticky-line-root{background-color:inherit;overflow:hidden;white-space:nowrap;width:100%}.monaco-editor.hc-black .sticky-widget,.monaco-editor.hc-light .sticky-widget{border-bottom:1px solid var(--vscode-contrastBorder)}.monaco-editor .sticky-line-root:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget{width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 3px 2px -2px;z-index:4;background-color:var(--vscode-editorStickyScroll-background)}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}.monaco-editor .unicode-highlight{border:1px solid var(--vscode-editorUnicodeHighlight-border);background-color:var(--vscode-editorUnicodeHighlight-background);box-sizing:border-box}.editor-banner{box-sizing:border-box;cursor:default;width:100%;font-size:12px;display:flex;overflow:visible;height:26px;background:var(--vscode-banner-background)}.editor-banner .icon-container{display:flex;flex-shrink:0;align-items:center;padding:0 6px 0 10px}.editor-banner .icon-container.custom-icon{background-repeat:no-repeat;background-position:center center;background-size:16px;width:16px;padding:0;margin:0 6px 0 10px}.editor-banner .message-container{display:flex;align-items:center;line-height:26px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-banner .message-container p{margin-block-start:0;margin-block-end:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;line-height:26px;margin:0 4px}.editor-banner .message-actions-container a.monaco-button{width:inherit;margin:2px 8px;padding:0 12px}.editor-banner .message-actions-container a{padding:3px;margin-left:12px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner{background-color:var(--vscode-banner-background)}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-link{color:var(--vscode-textLink-foreground)}.monaco-link:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll;color:var(--vscode-editorWidget-foreground);background-color:var(--vscode-editorWidget-background);box-shadow:0 2px 8px var(--vscode-widget-shadow);border:2px solid var(--vscode-contrastBorder)}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #F6F6F6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{z-index:50;user-select:text;-webkit-user-select:text;padding:10px;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor.hc-black .tokens-inspect-widget,.monaco-editor.hc-light .tokens-inspect-widget{border-width:2px}.monaco-editor .tokens-inspect-widget .tokens-inspect-separator{height:1px;border:0;background-color:var(--vscode-editorHoverWidget-border)}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}hr[data-v-57741a55]{opacity:.1}.drawer[data-v-57741a55]{position:fixed;right:0;top:0;width:900px;height:calc(100vh - 22px);background:var(--hl-bg);z-index:999;opacity:.97;padding:10px}.drawer h4[data-v-57741a55]{margin:2px}.drawer .settings .buttons[data-v-57741a55]{margin-top:10px}.drawer .settings .buttons button[data-v-57741a55]{margin-right:5px}.drawer .settings .block[data-v-57741a55]{border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:8px;margin-bottom:8px}.drawer .column-edit button[data-v-57741a55]{margin-right:5px}.drawer .input[data-v-57741a55]{font-family:Roboto mono,sans-serif;font-size:12px;padding:5px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.drawer .col-row[data-v-57741a55]{display:flex}.drawer .col-row .name[data-v-57741a55]{width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.drawer .inner-drawer[data-v-57741a55]{margin-top:10px;height:calc(100% - 15px);overflow-y:scroll}.drawer .inner-drawer .header[data-v-57741a55]{width:100%;text-align:right}.drawer pre[data-v-57741a55]{margin:6px 0;background:var(--hl-bg2);padding:10px;white-space:pre-wrap}.btn-sm[data-v-57741a55]{padding:4px 6px;margin-right:4px;border-radius:4px;font-size:12px}.btn-sm.active[data-v-57741a55]{color:#ffffff4d}.btn-sm.grey[data-v-57741a55]{color:#ffffff80}.overlay[data-v-1a4b7156]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000;opacity:.5;z-index:9999}.modal[data-v-1a4b7156]{position:fixed;display:flex;flex-direction:column;top:40px;left:50%;transform:translate(-50%);border:3px solid rgba(255,255,255,.1);border-radius:4px;width:900px;max-height:calc(100% - 100px);overflow-y:scroll;background:var(--hl-bg);z-index:10000;padding:20px}.modal .close[data-v-1a4b7156]{text-align:right}.input{font-family:Roboto mono,sans-serif;font-size:12px;padding:5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.err{padding:10px;margin:10px 0;background:#b53c3c}.demo .top-bar{padding-top:50px!important}.demo .layout{height:calc(100vh - 109px)!important}.demo-bar{position:fixed;display:flex;align-items:center;justify-content:center;top:0;width:100%;font-weight:600;height:40px;background:#402c6b;border-bottom:1px solid #583c93}.demo-bar span{margin-right:20px}.demo-bar button{padding:4px 8px;font-size:12px;border-radius:7px;margin-right:4px}.container{height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center}.container button{margin-left:5px}button[data-v-6d3cf0a2]{margin-right:5px}.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{top:-100%;width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#fafafa;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #f0f0f0,0 3px 6px -5px #bbb}.noUi-connects{border-radius:3px}.noUi-connect{background:#3fb8af}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#fff;cursor:default;box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ebebeb,0 3px 6px -3px #bbb}.noUi-active{box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ddd,0 3px 6px -3px #bbb}.noUi-handle:before,.noUi-handle:after{content:"";display:block;position:absolute;height:14px;width:1px;background:#e8e7e6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:before,.noUi-vertical .noUi-handle:after{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#b8b8b8}[disabled].noUi-target,[disabled].noUi-handle,[disabled] .noUi-handle{cursor:not-allowed}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#ccc}.noUi-marker-sub,.noUi-marker-large{background:#aaa}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%,50%);transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0,-50%);transform:translateY(-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0,50%);transform:translateY(50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%,0);transform:translate(-50%);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0,-50%);transform:translateY(-50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{-webkit-transform:translate(50%,0);transform:translate(50%);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{-webkit-transform:translate(0,-18px);transform:translateY(-18px);top:auto;right:28px}.v-popper__inner{max-width:360px!important}#slider-square{width:90%;margin:0 auto}pre{margin:6px 0;background:#1e1e1e;padding:10px;white-space:pre-wrap;word-wrap:break-word}.overlay[data-v-b7c93728]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999}.modal[data-v-b7c93728]{position:absolute;display:flex;flex-direction:column;transform:translate(-50%);border:3px solid rgba(255,255,255,.1);border-radius:4px;width:250px;max-height:calc(100% - 100px);overflow-y:scroll;background:var(--hl-bg);z-index:10000;padding:20px}.modal .date-picker[data-v-b7c93728]{display:flex;flex-direction:column}.modal .date-picker .date-from[data-v-b7c93728]{margin-bottom:10px}.modal .date-picker span.picker[data-v-b7c93728]{cursor:pointer;padding:3px}.modal .date-picker span.picker[data-v-b7c93728]:hover{background:#ffffff1a}.nofacets{text-align:center;box-sizing:border-box;overflow:hidden;padding:30px 40px 0;font-size:22px;border-top:1px solid var(--hl-bg)}.nofacets span{font-size:14px}.facet{border-top:1px solid var(--hl-bg);font-size:13px;line-height:16px;cursor:pointer;margin-top:10px}.facet .facet-toggle-vis{font-size:9px}.facet .facet-items{max-height:150px;overflow-y:scroll;border-bottom:1px solid rgba(255,255,255,.08)}.facet .facet-items:hover{max-height:200px}.facet .facet-items .facet-item{display:flex;flex-direction:row;justify-content:space-between;border-radius:2px;padding:4px}.facet .facet-items .facet-item.facet-selected{background:var(--hl-bg2);font-weight:600}.facet .facet-label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%}.facet .facet-item:hover{background-color:var(--hl-bg)}.facet .facet-header{display:flex;flex-direction:row;justify-content:space-between}.facet .facet-header .facet-title{font-weight:700}.facet .facet-val{text-align:right;width:30px}@font-face{font-display:swap;font-family:Roboto Mono;font-style:normal;font-weight:300;src:url(../fonts/roboto-mono-v23-latin-300.woff2) format("woff2")}@font-face{font-display:swap;font-family:Roboto Mono;font-style:normal;font-weight:400;src:url(../fonts/roboto-mono-v23-latin-regular.woff2) format("woff2")}@font-face{font-display:swap;font-family:Roboto Mono;font-style:normal;font-weight:700;src:url(../fonts/roboto-mono-v23-latin-700.woff2) format("woff2")}.top-bar{height:50px;display:flex;align-items:center;flex-direction:row;padding:8px}.top-bardiv{flex:1 1 auto}.top-bar .left{display:flex;align-items:center;margin-left:20px;margin-right:20px}.top-bar .left .logo img{height:40px}.top-bar .left .docs{margin-left:10px;font-size:12px;border:1px solid var(--hl-bg);padding:4px 8px;border-radius:6px;display:flex;flex-direction:row;align-items:center}.top-bar .left .docs svg{margin-left:5px}.top-bar .right{flex-grow:1;display:flex;align-items:center}.top-bar .right .searchbar{font-family:Roboto mono,monospace;font-size:12px;padding:5px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.top-bar .right .search-error{font-family:Roboto mono,monospace;font-size:12px;padding:5px;background:var(--hl-bg);margin-left:10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.top-bar .right .clear{margin-left:0;padding:5px 7px;border-top-left-radius:0;background:#ffffff1a!important;border-bottom-left-radius:0}.top-bar .end{display:flex;align-items:center;margin:0 0 0 10px}.top-bar .end .ctrls{margin-right:5px}.top-bar .end .ctrls .ctrl-btn{padding:3px 8px;border-radius:0}.top-bar .end .ctrls .ctrl-btn:first-child{border-top-left-radius:8px;border-bottom-left-radius:8px}.top-bar .end .ctrls .ctrl-btn:last-child{border-top-right-radius:8px;border-bottom-right-radius:8px}.layout{display:flex;height:calc(100vh - 66px);overflow:hidden}.layout .mid-col{background:#fff;width:4px;height:100%;opacity:.2;cursor:ew-resize}.layout .mid-col.freeze{width:2px!important;cursor:auto;opacity:.1}.layout .left-col{overflow:auto;overflow-x:hidden;margin-left:4px;min-width:180px;border-right:1px solid var(--hl-bg);padding-right:5px}.layout .left-col.empty{min-width:unset!important;width:20px!important}.layout .left-col .counter{text-align:center;padding-bottom:10px}.layout .left-col .counter .sort-label{font-size:12px}.layout .right-col{padding-left:5px;overflow:scroll;width:100%;height:100%}.layout .right-col .trace-block{background:var(--info)}.layout .right-col .clickable{text-decoration:underline;font-weight:700;cursor:pointer}.layout .right-col .clickable:hover{text-decoration:none}.layout .right-col .stick{position:fixed;right:15px;bottom:10px;font-size:11px}.layout .right-col .stick.sticked{border:1px solid #646cff}.layout .right-col .table{font-family:Roboto mono,sans-serif;font-size:12px;border:none;border-collapse:separate;border-spacing:0}.layout .right-col .table .header-border{height:100%;display:inline;width:3px;cursor:ew-resize;background:#00000040;float:right}.layout .right-col .table td,.layout .right-col .table th{padding:1px 2px}.layout .right-col .table .column-name span{pointer-events:none;-webkit-user-select:none;user-select:none}.layout .right-col .table .column-name:hover .hide-icon{visibility:visible!important}.layout .right-col .table th{position:sticky;top:0;background-color:var(--hl-bg);padding:2px 0;z-index:99}.layout .right-col .table td div{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;word-wrap:break-word;word-break:break-all}.layout .right-col .table tr{cursor:pointer}.layout .right-col .table tr .mark{display:block;width:10px;font-size:7px;line-height:1px;opacity:.1}.layout .right-col .table tr .mark:hover{opacity:.7}.layout .right-col .table tr .mark.active{opacity:1}.layout .right-col .table tr.row.opened{background-color:var(--hl-bg);opacity:.8}.layout .right-col .table tr.row:hover{background-color:var(--hl-bg)!important;opacity:1}.layout .right-col .table tr.row.open{font-weight:800;background-color:var(--hl-bg3)!important}.btn-sm{padding:4px 6px;margin-right:4px;border-radius:4px;font-size:12px}.kdb,kbd{margin:0;border:1px solid white;opacity:.7;font-size:12px;padding:1px;border-radius:2px}.v-popper--theme-tooltip .v-popper__inner{background:#171717!important;padding:5px 8px!important;font-size:13px}.v-popper--theme-tooltip .v-popper__arrow-container{visibility:hidden}.alert{margin-top:10px;margin-bottom:10px;padding:10px;border:1px solid var(--hl-bg4);background:var(--hl-bg3);border-radius:7px}.alert.alert-info{border:1px solid rgb(95,118,194);background:var(--info)}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:#000c;color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd} diff --git a/http/assets/assets/index-hNNUgwiq.js b/http/assets/assets/index-ybqrNB1L.js similarity index 98% rename from http/assets/assets/index-hNNUgwiq.js rename to http/assets/assets/index-ybqrNB1L.js index 15b787b..1b67d57 100644 --- a/http/assets/assets/index-hNNUgwiq.js +++ b/http/assets/assets/index-ybqrNB1L.js @@ -10,7 +10,7 @@ var xci=Object.defineProperty;var vci=(r,e,i)=>e in r?xci(r,e,{enumerable:!0,con * @vue/runtime-core v3.4.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function _L(r,e,i,n){let a;try{a=n?r(...n):r()}catch(o){s6e(o,e,i)}return a}function Ey(r,e,i,n){if(rc(r)){const o=_L(r,e,i,n);return o&&Pxt(o)&&o.catch(c=>{s6e(c,e,i)}),o}const a=[];for(let o=0;o>>1,a=I3[n],o=kue(a);oXF&&I3.splice(e,1)}function mdi(r){H0(r)?YG.push(...r):(!HT||!HT.includes(r,r.allowRecurse?_I+1:_I))&&YG.push(r),o6t()}function Cpt(r,e,i=yue?XF+1:0){for(;ikue(i)-kue(n));if(YG.length=0,HT){HT.push(...e);return}for(HT=e,_I=0;_Ir.id==null?1/0:r.id,pdi=(r,e)=>{const i=kue(r)-kue(e);if(i===0){if(r.pre&&!e.pre)return-1;if(e.pre&&!r.pre)return 1}return i};function l6t(r){jOe=!1,yue=!0,I3.sort(pdi);try{for(XF=0;XFog(L)?L.trim():L)),y&&(a=i.map(MOe))}let h,g=n[h=iIe(e)]||n[h=iIe(FA(e))];!g&&o&&(g=n[h=iIe(HR(e))]),g&&Ey(g,r,6,a);const _=n[h+"Once"];if(_){if(!r.emitted)r.emitted={};else if(r.emitted[h])return;r.emitted[h]=!0,Ey(_,r,6,a)}}function c6t(r,e,i=!1){const n=e.emitsCache,a=n.get(r);if(a!==void 0)return a;const o=r.emits;let c={},h=!1;if(!rc(r)){const g=_=>{const x=c6t(_,e,!0);x&&(h=!0,z_(c,x))};!i&&e.mixins.length&&e.mixins.forEach(g),r.extends&&g(r.extends),r.mixins&&r.mixins.forEach(g)}return!o&&!h?(Lf(r)&&n.set(r,null),null):(H0(o)?o.forEach(g=>c[g]=null):z_(c,o),Lf(r)&&n.set(r,c),c)}function l6e(r,e){return!r||!i6e(e)?!1:(e=e.slice(2).replace(/Once$/,""),a1(r,e[0].toLowerCase()+e.slice(1))||a1(r,HR(e))||a1(r,e))}let Hg=null,c6e=null;function KDe(r){const e=Hg;return Hg=r,c6e=r&&r.type.__scopeId||null,e}function D$(r){c6e=r}function x$(){c6e=null}const Edi=r=>RL;function RL(r,e=Hg,i){if(!e||r._n)return r;const n=(...a)=>{n._d&&Npt(-1);const o=KDe(e);let c;try{c=r(...a)}finally{KDe(o),n._d&&Npt(1)}return c};return n._n=!0,n._c=!0,n._d=!0,n}function uIe(r){const{type:e,vnode:i,proxy:n,withProxy:a,props:o,propsOptions:[c],slots:h,attrs:g,emit:_,render:x,renderCache:y,data:S,setupState:L,ctx:O,inheritAttrs:G}=r;let ie,ue;const re=KDe(r);try{if(i.shapeFlag&4){const ye=a||n,Le=ye;ie=UF(x.call(Le,ye,y,o,L,S,O)),ue=g}else{const ye=e;ie=UF(ye.length>1?ye(o,{attrs:g,slots:h,emit:_}):ye(o,null)),ue=e.props?g:_di(g)}}catch(ye){zne.length=0,s6e(ye,r,1),ie=N0(OL)}let _e=ie;if(ue&&G!==!1){const ye=Object.keys(ue),{shapeFlag:Le}=_e;ye.length&&Le&7&&(c&&ye.some(iGe)&&(ue=Ddi(ue,c)),_e=BJ(_e,ue))}return i.dirs&&(_e=BJ(_e),_e.dirs=_e.dirs?_e.dirs.concat(i.dirs):i.dirs),i.transition&&(_e.transition=i.transition),ie=_e,KDe(re),ie}const _di=r=>{let e;for(const i in r)(i==="class"||i==="style"||i6e(i))&&((e||(e={}))[i]=r[i]);return e},Ddi=(r,e)=>{const i={};for(const n in r)(!iGe(n)||!(n.slice(9)in e))&&(i[n]=r[n]);return i};function xdi(r,e,i){const{props:n,children:a,component:o}=r,{props:c,children:h,patchFlag:g}=e,_=o.emitsOptions;if(e.dirs||e.transition)return!0;if(i&&g>=0){if(g&1024)return!0;if(g&16)return n?bpt(n,c,_):!!c;if(g&8){const x=e.dynamicProps;for(let y=0;yr.__isSuspense;function kdi(r,e){e&&e.pendingBranch?H0(r)?e.effects.push(...r):e.effects.push(r):mdi(r)}const Fdi=Symbol.for("v-scx"),Adi=()=>Mne(Fdi);function Sdi(r,e){return pGe(r,null,e)}const x_e={};function _A(r,e,i){return pGe(r,e,i)}function pGe(r,e,{immediate:i,deep:n,flush:a,once:o,onTrack:c,onTrigger:h}=em){if(e&&o){const lt=e;e=(...Ue)=>{lt(...Ue),Le()}}const g=L_,_=lt=>n===!0?lt:TI(lt,n===!1?1:void 0);let x,y=!1,S=!1;if(kp(r)?(x=()=>r.value,y=HDe(r)):EL(r)?(x=()=>_(r),y=!0):H0(r)?(S=!0,y=r.some(lt=>EL(lt)||HDe(lt)),x=()=>r.map(lt=>{if(kp(lt))return lt.value;if(EL(lt))return _(lt);if(rc(lt))return _L(lt,g,2)})):rc(r)?e?x=()=>_L(r,g,2):x=()=>(L&&L(),Ey(r,g,3,[O])):x=WC,e&&n){const lt=x;x=()=>TI(lt())}let L,O=lt=>{L=_e.onStop=()=>{_L(lt,g,4),L=_e.onStop=void 0}},G;if(p6e)if(O=WC,e?i&&Ey(e,g,3,[x(),S?[]:void 0,O]):x(),a==="sync"){const lt=Adi();G=lt.__watcherHandles||(lt.__watcherHandles=[])}else return WC;let ie=S?new Array(r.length).fill(x_e):x_e;const ue=()=>{if(!(!_e.active||!_e.dirty))if(e){const lt=_e.run();(n||y||(S?lt.some((Ue,Ze)=>IL(Ue,ie[Ze])):IL(lt,ie)))&&(L&&L(),Ey(e,g,3,[lt,ie===x_e?void 0:S&&ie[0]===x_e?[]:ie,O]),ie=lt)}else _e.run()};ue.allowRecurse=!!e;let re;a==="sync"?re=ue:a==="post"?re=()=>Z5(ue,g&&g.suspense):(ue.pre=!0,g&&(ue.id=g.uid),re=()=>mGe(ue));const _e=new rGe(x,WC,re),ye=Kxt(),Le=()=>{_e.stop(),ye&&nGe(ye.effects,_e)};return e?i?ue():ie=_e.run():a==="post"?Z5(_e.run.bind(_e),g&&g.suspense):_e.run(),G&&G.push(Le),Le}function Bdi(r,e,i){const n=this.proxy,a=og(r)?r.includes(".")?f6t(n,r):()=>n[r]:r.bind(n,n);let o;rc(e)?o=e:(o=e.handler,i=e);const c=cae(this),h=pGe(a,o.bind(n),i);return c(),h}function f6t(r,e){const i=e.split(".");return()=>{let n=r;for(let a=0;a0){if(i>=e)return r;i++}if(n=n||new Set,n.has(r))return r;if(n.add(r),kp(r))TI(r.value,e,i,n);else if(H0(r))for(let a=0;a{TI(a,e,i,n)});else if(zxt(r))for(const a in r)TI(r[a],e,i,n);return r}function Nd(r,e){if(Hg===null)return r;const i=g6e(Hg)||Hg.proxy,n=r.dirs||(r.dirs=[]);for(let a=0;a!!r.type.__asyncLoader,m6t=r=>r.type.__isKeepAlive;function wdi(r,e){p6t(r,"a",e)}function Tdi(r,e){p6t(r,"da",e)}function p6t(r,e,i=L_){const n=r.__wdc||(r.__wdc=()=>{let a=i;for(;a;){if(a.isDeactivated)return;a=a.parent}return r()});if(h6e(e,n,i),i){let a=i.parent;for(;a&&a.parent;)m6t(a.parent.vnode)&&Ldi(n,e,i,a),a=a.parent}}function Ldi(r,e,i,n){const a=h6e(e,r,n,!0);gGe(()=>{nGe(n[e],a)},i)}function h6e(r,e,i=L_,n=!1){if(i){const a=i[r]||(i[r]=[]),o=e.__weh||(e.__weh=(...c)=>{if(i.isUnmounted)return;KR();const h=cae(i),g=Ey(e,i,r,c);return h(),WR(),g});return n?a.unshift(o):a.push(o),o}}const c8=r=>(e,i=L_)=>(!p6e||r==="sp")&&h6e(r,(...n)=>e(...n),i),Ndi=c8("bm"),GR=c8("m"),Pdi=c8("bu"),Mdi=c8("u"),zdi=c8("bum"),gGe=c8("um"),Idi=c8("sp"),Rdi=c8("rtg"),Odi=c8("rtc");function jdi(r,e=L_){h6e("ec",r,e)}function _y(r,e,i,n){let a;const o=i&&i[n];if(H0(r)||og(r)){a=new Array(r.length);for(let c=0,h=r.length;ce(c,h,void 0,o&&o[h]));else{const c=Object.keys(r);a=new Array(c.length);for(let h=0,g=c.length;hGDe(e)?!(e.type===OL||e.type===od&&!g6t(e.children)):!0)?r:null}const VOe=r=>r?B6t(r)?g6e(r)||r.proxy:VOe(r.parent):null,Pne=z_(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>VOe(r.parent),$root:r=>VOe(r.root),$emit:r=>r.emit,$options:r=>EGe(r),$forceUpdate:r=>r.f||(r.f=()=>{r.effect.dirty=!0,mGe(r.update)}),$nextTick:r=>r.n||(r.n=fGe.bind(r.proxy)),$watch:r=>Bdi.bind(r)}),rIe=(r,e)=>r!==em&&!r.__isScriptSetup&&a1(r,e),Vdi={get({_:r},e){const{ctx:i,setupState:n,data:a,props:o,accessCache:c,type:h,appContext:g}=r;let _;if(e[0]!=="$"){const L=c[e];if(L!==void 0)switch(L){case 1:return n[e];case 2:return a[e];case 4:return i[e];case 3:return o[e]}else{if(rIe(n,e))return c[e]=1,n[e];if(a!==em&&a1(a,e))return c[e]=2,a[e];if((_=r.propsOptions[0])&&a1(_,e))return c[e]=3,o[e];if(i!==em&&a1(i,e))return c[e]=4,i[e];HOe&&(c[e]=0)}}const x=Pne[e];let y,S;if(x)return e==="$attrs"&&mx(r,"get",e),x(r);if((y=h.__cssModules)&&(y=y[e]))return y;if(i!==em&&a1(i,e))return c[e]=4,i[e];if(S=g.config.globalProperties,a1(S,e))return S[e]},set({_:r},e,i){const{data:n,setupState:a,ctx:o}=r;return rIe(a,e)?(a[e]=i,!0):n!==em&&a1(n,e)?(n[e]=i,!0):a1(r.props,e)||e[0]==="$"&&e.slice(1)in r?!1:(o[e]=i,!0)},has({_:{data:r,setupState:e,accessCache:i,ctx:n,appContext:a,propsOptions:o}},c){let h;return!!i[c]||r!==em&&a1(r,c)||rIe(e,c)||(h=o[0])&&a1(h,c)||a1(n,c)||a1(Pne,c)||a1(a.config.globalProperties,c)},defineProperty(r,e,i){return i.get!=null?r._.accessCache[e]=0:a1(i,"value")&&this.set(r,e,i.value,null),Reflect.defineProperty(r,e,i)}};function kpt(r){return H0(r)?r.reduce((e,i)=>(e[i]=null,e),{}):r}let HOe=!0;function Hdi(r){const e=EGe(r),i=r.proxy,n=r.ctx;HOe=!1,e.beforeCreate&&Fpt(e.beforeCreate,r,"bc");const{data:a,computed:o,methods:c,watch:h,provide:g,inject:_,created:x,beforeMount:y,mounted:S,beforeUpdate:L,updated:O,activated:G,deactivated:ie,beforeDestroy:ue,beforeUnmount:re,destroyed:_e,unmounted:ye,render:Le,renderTracked:lt,renderTriggered:Ue,errorCaptured:Ze,serverPrefetch:rt,expose:kt,inheritAttrs:Zt,components:jt,directives:ui,filters:ti}=e;if(_&&Kdi(_,n,null),c)for(const Vt in c){const zr=c[Vt];rc(zr)&&(n[Vt]=zr.bind(i))}if(a){const Vt=a.call(i,i);Lf(Vt)&&(r.data=lae(Vt))}if(HOe=!0,o)for(const Vt in o){const zr=o[Vt],Lu=rc(zr)?zr.bind(i,i):rc(zr.get)?zr.get.bind(i,i):WC,Va=!rc(zr)&&rc(zr.set)?zr.set.bind(i):WC,ju=j6({get:Lu,set:Va});Object.defineProperty(n,Vt,{enumerable:!0,configurable:!0,get:()=>ju.value,set:Tr=>ju.value=Tr})}if(h)for(const Vt in h)E6t(h[Vt],n,i,Vt);if(g){const Vt=rc(g)?g.call(i):g;Reflect.ownKeys(Vt).forEach(zr=>{qdi(zr,Vt[zr])})}x&&Fpt(x,r,"c");function pu(Vt,zr){H0(zr)?zr.forEach(Lu=>Vt(Lu.bind(i))):zr&&Vt(zr.bind(i))}if(pu(Ndi,y),pu(GR,S),pu(Pdi,L),pu(Mdi,O),pu(wdi,G),pu(Tdi,ie),pu(jdi,Ze),pu(Odi,lt),pu(Rdi,Ue),pu(zdi,re),pu(gGe,ye),pu(Idi,rt),H0(kt))if(kt.length){const Vt=r.exposed||(r.exposed={});kt.forEach(zr=>{Object.defineProperty(Vt,zr,{get:()=>i[zr],set:Lu=>i[zr]=Lu})})}else r.exposed||(r.exposed={});Le&&r.render===WC&&(r.render=Le),Zt!=null&&(r.inheritAttrs=Zt),jt&&(r.components=jt),ui&&(r.directives=ui)}function Kdi(r,e,i=WC){H0(r)&&(r=KOe(r));for(const n in r){const a=r[n];let o;Lf(a)?"default"in a?o=Mne(a.from||n,a.default,!0):o=Mne(a.from||n):o=Mne(a),kp(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):e[n]=o}}function Fpt(r,e,i){Ey(H0(r)?r.map(n=>n.bind(e.proxy)):r.bind(e.proxy),e,i)}function E6t(r,e,i,n){const a=n.includes(".")?f6t(i,n):()=>i[n];if(og(r)){const o=e[r];rc(o)&&_A(a,o)}else if(rc(r))_A(a,r.bind(i));else if(Lf(r))if(H0(r))r.forEach(o=>E6t(o,e,i,n));else{const o=rc(r.handler)?r.handler.bind(i):e[r.handler];rc(o)&&_A(a,o,r)}}function EGe(r){const e=r.type,{mixins:i,extends:n}=e,{mixins:a,optionsCache:o,config:{optionMergeStrategies:c}}=r.appContext,h=o.get(e);let g;return h?g=h:!a.length&&!i&&!n?g=e:(g={},a.length&&a.forEach(_=>WDe(g,_,c,!0)),WDe(g,e,c)),Lf(e)&&o.set(e,g),g}function WDe(r,e,i,n=!1){const{mixins:a,extends:o}=e;o&&WDe(r,o,i,!0),a&&a.forEach(c=>WDe(r,c,i,!0));for(const c in e)if(!(n&&c==="expose")){const h=Wdi[c]||i&&i[c];r[c]=h?h(r[c],e[c]):e[c]}return r}const Wdi={data:Apt,props:Spt,emits:Spt,methods:ane,computed:ane,beforeCreate:TD,created:TD,beforeMount:TD,mounted:TD,beforeUpdate:TD,updated:TD,beforeDestroy:TD,beforeUnmount:TD,destroyed:TD,unmounted:TD,activated:TD,deactivated:TD,errorCaptured:TD,serverPrefetch:TD,components:ane,directives:ane,watch:Jdi,provide:Apt,inject:Gdi};function Apt(r,e){return e?r?function(){return z_(rc(r)?r.call(this,this):r,rc(e)?e.call(this,this):e)}:e:r}function Gdi(r,e){return ane(KOe(r),KOe(e))}function KOe(r){if(H0(r)){const e={};for(let i=0;i1)return i&&rc(e)?e.call(n&&n.proxy):e}}function Zdi(){return!!(L_||Hg||Sue)}function Ydi(r,e,i,n=!1){const a={},o={};jDe(o,m6e,1),r.propsDefaults=Object.create(null),D6t(r,e,a,o);for(const c in r.propsOptions[0])c in a||(a[c]=void 0);i?r.props=n?a:ndi(a):r.type.props?r.props=a:r.props=o,r.attrs=o}function Qdi(r,e,i,n){const{props:a,attrs:o,vnode:{patchFlag:c}}=r,h=s1(a),[g]=r.propsOptions;let _=!1;if((n||c>0)&&!(c&16)){if(c&8){const x=r.vnode.dynamicProps;for(let y=0;y{g=!0;const[S,L]=x6t(y,e,!0);z_(c,S),L&&h.push(...L)};!i&&e.mixins.length&&e.mixins.forEach(x),r.extends&&x(r.extends),r.mixins&&r.mixins.forEach(x)}if(!o&&!g)return Lf(r)&&n.set(r,qG),qG;if(H0(o))for(let x=0;x-1,L[1]=G<0||O-1||a1(L,"default"))&&h.push(y)}}}const _=[c,h];return Lf(r)&&n.set(r,_),_}function Bpt(r){return r[0]!=="$"}function wpt(r){const e=r&&r.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:r===null?"null":""}function Tpt(r,e){return wpt(r)===wpt(e)}function Lpt(r,e){return H0(e)?e.findIndex(i=>Tpt(i,r)):rc(e)&&Tpt(e,r)?0:-1}const v6t=r=>r[0]==="_"||r==="$stable",_Ge=r=>H0(r)?r.map(UF):[UF(r)],Xdi=(r,e,i)=>{if(e._n)return e;const n=RL((...a)=>_Ge(e(...a)),i);return n._c=!1,n},C6t=(r,e,i)=>{const n=r._ctx;for(const a in r){if(v6t(a))continue;const o=r[a];if(rc(o))e[a]=Xdi(a,o,n);else if(o!=null){const c=_Ge(o);e[a]=()=>c}}},b6t=(r,e)=>{const i=_Ge(e);r.slots.default=()=>i},e1i=(r,e)=>{if(r.vnode.shapeFlag&32){const i=e._;i?(r.slots=s1(e),jDe(e,"_",i)):C6t(e,r.slots={})}else r.slots={},e&&b6t(r,e);jDe(r.slots,m6e,1)},t1i=(r,e,i)=>{const{vnode:n,slots:a}=r;let o=!0,c=em;if(n.shapeFlag&32){const h=e._;h?i&&h===1?o=!1:(z_(a,e),!i&&h===1&&delete a._):(o=!e.$stable,C6t(e,a)),c=e}else e&&(b6t(r,e),c={default:1});if(o)for(const h in a)!v6t(h)&&c[h]==null&&delete a[h]};function GOe(r,e,i,n,a=!1){if(H0(r)){r.forEach((S,L)=>GOe(S,e&&(H0(e)?e[L]:e),i,n,a));return}if(Nne(n)&&!a)return;const o=n.shapeFlag&4?g6e(n.component)||n.component.proxy:n.el,c=a?null:o,{i:h,r:g}=r,_=e&&e.r,x=h.refs===em?h.refs={}:h.refs,y=h.setupState;if(_!=null&&_!==g&&(og(_)?(x[_]=null,a1(y,_)&&(y[_]=null)):kp(_)&&(_.value=null)),rc(g))_L(g,h,12,[c,x]);else{const S=og(g),L=kp(g);if(S||L){const O=()=>{if(r.f){const G=S?a1(y,g)?y[g]:x[g]:g.value;a?H0(G)&&nGe(G,o):H0(G)?G.includes(o)||G.push(o):S?(x[g]=[o],a1(y,g)&&(y[g]=x[g])):(g.value=[o],r.k&&(x[r.k]=g.value))}else S?(x[g]=c,a1(y,g)&&(y[g]=c)):L&&(g.value=c,r.k&&(x[r.k]=c))};c?(O.id=-1,Z5(O,i)):O()}}}const Z5=kdi;function i1i(r){return n1i(r)}function n1i(r,e){const i=Ixt();i.__VUE__=!0;const{insert:n,remove:a,patchProp:o,createElement:c,createText:h,createComment:g,setText:_,setElementText:x,parentNode:y,nextSibling:S,setScopeId:L=WC,insertStaticContent:O}=r,G=(ci,Oe,eu,Hi=null,Pr=null,$r=null,wa=void 0,_i=null,ri=!!Oe.dynamicChildren)=>{if(ci===Oe)return;ci&&!Bie(ci,Oe)&&(Hi=eo(ci),Tr(ci,Pr,$r,!0),ci=null),Oe.patchFlag===-2&&(ri=!1,Oe.dynamicChildren=null);const{type:fi,ref:xt,shapeFlag:Tt}=Oe;switch(fi){case f6e:ie(ci,Oe,eu,Hi);break;case OL:ue(ci,Oe,eu,Hi);break;case $3e:ci==null&&re(Oe,eu,Hi,wa);break;case od:jt(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri);break;default:Tt&1?Le(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri):Tt&6?ui(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri):(Tt&64||Tt&128)&&fi.process(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri,r0)}xt!=null&&Pr&&GOe(xt,ci&&ci.ref,$r,Oe||ci,!Oe)},ie=(ci,Oe,eu,Hi)=>{if(ci==null)n(Oe.el=h(Oe.children),eu,Hi);else{const Pr=Oe.el=ci.el;Oe.children!==ci.children&&_(Pr,Oe.children)}},ue=(ci,Oe,eu,Hi)=>{ci==null?n(Oe.el=g(Oe.children||""),eu,Hi):Oe.el=ci.el},re=(ci,Oe,eu,Hi)=>{[ci.el,ci.anchor]=O(ci.children,Oe,eu,Hi,ci.el,ci.anchor)},_e=({el:ci,anchor:Oe},eu,Hi)=>{let Pr;for(;ci&&ci!==Oe;)Pr=S(ci),n(ci,eu,Hi),ci=Pr;n(Oe,eu,Hi)},ye=({el:ci,anchor:Oe})=>{let eu;for(;ci&&ci!==Oe;)eu=S(ci),a(ci),ci=eu;a(Oe)},Le=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri)=>{Oe.type==="svg"?wa="svg":Oe.type==="math"&&(wa="mathml"),ci==null?lt(Oe,eu,Hi,Pr,$r,wa,_i,ri):rt(ci,Oe,Pr,$r,wa,_i,ri)},lt=(ci,Oe,eu,Hi,Pr,$r,wa,_i)=>{let ri,fi;const{props:xt,shapeFlag:Tt,transition:pi,dirs:hi}=ci;if(ri=ci.el=c(ci.type,$r,xt&&xt.is,xt),Tt&8?x(ri,ci.children):Tt&16&&Ze(ci.children,ri,null,Hi,Pr,aIe(ci,$r),wa,_i),hi&&Uz(ci,null,Hi,"created"),Ue(ri,ci,ci.scopeId,wa,Hi),xt){for(const On in xt)On!=="value"&&!G3e(On)&&o(ri,On,null,xt[On],$r,ci.children,Hi,Pr,qi);"value"in xt&&o(ri,"value",null,xt.value,$r),(fi=xt.onVnodeBeforeMount)&&PF(fi,Hi,ci)}hi&&Uz(ci,null,Hi,"beforeMount");const cn=u1i(Pr,pi);cn&&pi.beforeEnter(ri),n(ri,Oe,eu),((fi=xt&&xt.onVnodeMounted)||cn||hi)&&Z5(()=>{fi&&PF(fi,Hi,ci),cn&&pi.enter(ri),hi&&Uz(ci,null,Hi,"mounted")},Pr)},Ue=(ci,Oe,eu,Hi,Pr)=>{if(eu&&L(ci,eu),Hi)for(let $r=0;$r{for(let fi=ri;fi{const _i=Oe.el=ci.el;let{patchFlag:ri,dynamicChildren:fi,dirs:xt}=Oe;ri|=ci.patchFlag&16;const Tt=ci.props||em,pi=Oe.props||em;let hi;if(eu&&qz(eu,!1),(hi=pi.onVnodeBeforeUpdate)&&PF(hi,eu,Oe,ci),xt&&Uz(Oe,ci,eu,"beforeUpdate"),eu&&qz(eu,!0),fi?kt(ci.dynamicChildren,fi,_i,eu,Hi,aIe(Oe,Pr),$r):wa||zr(ci,Oe,_i,null,eu,Hi,aIe(Oe,Pr),$r,!1),ri>0){if(ri&16)Zt(_i,Oe,Tt,pi,eu,Hi,Pr);else if(ri&2&&Tt.class!==pi.class&&o(_i,"class",null,pi.class,Pr),ri&4&&o(_i,"style",Tt.style,pi.style,Pr),ri&8){const cn=Oe.dynamicProps;for(let On=0;On{hi&&PF(hi,eu,Oe,ci),xt&&Uz(Oe,ci,eu,"updated")},Hi)},kt=(ci,Oe,eu,Hi,Pr,$r,wa)=>{for(let _i=0;_i{if(eu!==Hi){if(eu!==em)for(const _i in eu)!G3e(_i)&&!(_i in Hi)&&o(ci,_i,eu[_i],null,wa,Oe.children,Pr,$r,qi);for(const _i in Hi){if(G3e(_i))continue;const ri=Hi[_i],fi=eu[_i];ri!==fi&&_i!=="value"&&o(ci,_i,fi,ri,wa,Oe.children,Pr,$r,qi)}"value"in Hi&&o(ci,"value",eu.value,Hi.value,wa)}},jt=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri)=>{const fi=Oe.el=ci?ci.el:h(""),xt=Oe.anchor=ci?ci.anchor:h("");let{patchFlag:Tt,dynamicChildren:pi,slotScopeIds:hi}=Oe;hi&&(_i=_i?_i.concat(hi):hi),ci==null?(n(fi,eu,Hi),n(xt,eu,Hi),Ze(Oe.children||[],eu,xt,Pr,$r,wa,_i,ri)):Tt>0&&Tt&64&&pi&&ci.dynamicChildren?(kt(ci.dynamicChildren,pi,eu,Pr,$r,wa,_i),(Oe.key!=null||Pr&&Oe===Pr.subTree)&&y6t(ci,Oe,!0)):zr(ci,Oe,eu,xt,Pr,$r,wa,_i,ri)},ui=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri)=>{Oe.slotScopeIds=_i,ci==null?Oe.shapeFlag&512?Pr.ctx.activate(Oe,eu,Hi,wa,ri):ti(Oe,eu,Hi,Pr,$r,wa,ri):Uu(ci,Oe,ri)},ti=(ci,Oe,eu,Hi,Pr,$r,wa)=>{const _i=ci.component=h1i(ci,Hi,Pr);if(m6t(ci)&&(_i.ctx.renderer=r0),f1i(_i),_i.asyncDep){if(Pr&&Pr.registerDep(_i,pu),!ci.el){const ri=_i.subTree=N0(OL);ue(null,ri,Oe,eu)}}else pu(_i,ci,Oe,eu,Pr,$r,wa)},Uu=(ci,Oe,eu)=>{const Hi=Oe.component=ci.component;if(xdi(ci,Oe,eu))if(Hi.asyncDep&&!Hi.asyncResolved){Vt(Hi,Oe,eu);return}else Hi.next=Oe,fdi(Hi.update),Hi.effect.dirty=!0,Hi.update();else Oe.el=ci.el,Hi.vnode=Oe},pu=(ci,Oe,eu,Hi,Pr,$r,wa)=>{const _i=()=>{if(ci.isMounted){let{next:xt,bu:Tt,u:pi,parent:hi,vnode:cn}=ci;{const vo=k6t(ci);if(vo){xt&&(xt.el=cn.el,Vt(ci,xt,wa)),vo.asyncDep.then(()=>{ci.isUnmounted||_i()});return}}let On=xt,Dr;qz(ci,!1),xt?(xt.el=cn.el,Vt(ci,xt,wa)):xt=cn,Tt&&J3e(Tt),(Dr=xt.props&&xt.props.onVnodeBeforeUpdate)&&PF(Dr,hi,xt,cn),qz(ci,!0);const Wr=uIe(ci),xi=ci.subTree;ci.subTree=Wr,G(xi,Wr,y(xi.el),eo(xi),ci,Pr,$r),xt.el=Wr.el,On===null&&vdi(ci,Wr.el),pi&&Z5(pi,Pr),(Dr=xt.props&&xt.props.onVnodeUpdated)&&Z5(()=>PF(Dr,hi,xt,cn),Pr)}else{let xt;const{el:Tt,props:pi}=Oe,{bm:hi,m:cn,parent:On}=ci,Dr=Nne(Oe);if(qz(ci,!1),hi&&J3e(hi),!Dr&&(xt=pi&&pi.onVnodeBeforeMount)&&PF(xt,On,Oe),qz(ci,!0),Tt&&Hl){const Wr=()=>{ci.subTree=uIe(ci),Hl(Tt,ci.subTree,ci,Pr,null)};Dr?Oe.type.__asyncLoader().then(()=>!ci.isUnmounted&&Wr()):Wr()}else{const Wr=ci.subTree=uIe(ci);G(null,Wr,eu,Hi,ci,Pr,$r),Oe.el=Wr.el}if(cn&&Z5(cn,Pr),!Dr&&(xt=pi&&pi.onVnodeMounted)){const Wr=Oe;Z5(()=>PF(xt,On,Wr),Pr)}(Oe.shapeFlag&256||On&&Nne(On.vnode)&&On.vnode.shapeFlag&256)&&ci.a&&Z5(ci.a,Pr),ci.isMounted=!0,Oe=eu=Hi=null}},ri=ci.effect=new rGe(_i,WC,()=>mGe(fi),ci.scope),fi=ci.update=()=>{ri.dirty&&ri.run()};fi.id=ci.uid,qz(ci,!0),fi()},Vt=(ci,Oe,eu)=>{Oe.component=ci;const Hi=ci.vnode.props;ci.vnode=Oe,ci.next=null,Qdi(ci,Oe.props,Hi,eu),t1i(ci,Oe.children,eu),KR(),Cpt(ci),WR()},zr=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri=!1)=>{const fi=ci&&ci.children,xt=ci?ci.shapeFlag:0,Tt=Oe.children,{patchFlag:pi,shapeFlag:hi}=Oe;if(pi>0){if(pi&128){Va(fi,Tt,eu,Hi,Pr,$r,wa,_i,ri);return}else if(pi&256){Lu(fi,Tt,eu,Hi,Pr,$r,wa,_i,ri);return}}hi&8?(xt&16&&qi(fi,Pr,$r),Tt!==fi&&x(eu,Tt)):xt&16?hi&16?Va(fi,Tt,eu,Hi,Pr,$r,wa,_i,ri):qi(fi,Pr,$r,!0):(xt&8&&x(eu,""),hi&16&&Ze(Tt,eu,Hi,Pr,$r,wa,_i,ri))},Lu=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri)=>{ci=ci||qG,Oe=Oe||qG;const fi=ci.length,xt=Oe.length,Tt=Math.min(fi,xt);let pi;for(pi=0;pixt?qi(ci,Pr,$r,!0,!1,Tt):Ze(Oe,eu,Hi,Pr,$r,wa,_i,ri,Tt)},Va=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri)=>{let fi=0;const xt=Oe.length;let Tt=ci.length-1,pi=xt-1;for(;fi<=Tt&&fi<=pi;){const hi=ci[fi],cn=Oe[fi]=ri?KT(Oe[fi]):UF(Oe[fi]);if(Bie(hi,cn))G(hi,cn,eu,null,Pr,$r,wa,_i,ri);else break;fi++}for(;fi<=Tt&&fi<=pi;){const hi=ci[Tt],cn=Oe[pi]=ri?KT(Oe[pi]):UF(Oe[pi]);if(Bie(hi,cn))G(hi,cn,eu,null,Pr,$r,wa,_i,ri);else break;Tt--,pi--}if(fi>Tt){if(fi<=pi){const hi=pi+1,cn=hipi)for(;fi<=Tt;)Tr(ci[fi],Pr,$r,!0),fi++;else{const hi=fi,cn=fi,On=new Map;for(fi=cn;fi<=pi;fi++){const e0=Oe[fi]=ri?KT(Oe[fi]):UF(Oe[fi]);e0.key!=null&&On.set(e0.key,fi)}let Dr,Wr=0;const xi=pi-cn+1;let vo=!1,Pl=0;const yn=new Array(xi);for(fi=0;fi=xi){Tr(e0,Pr,$r,!0);continue}let Fl;if(e0.key!=null)Fl=On.get(e0.key);else for(Dr=cn;Dr<=pi;Dr++)if(yn[Dr-cn]===0&&Bie(e0,Oe[Dr])){Fl=Dr;break}Fl===void 0?Tr(e0,Pr,$r,!0):(yn[Fl-cn]=fi+1,Fl>=Pl?Pl=Fl:vo=!0,G(e0,Oe[Fl],eu,null,Pr,$r,wa,_i,ri),Wr++)}const xa=vo?r1i(yn):qG;for(Dr=xa.length-1,fi=xi-1;fi>=0;fi--){const e0=cn+fi,Fl=Oe[e0],Ph=e0+1{const{el:$r,type:wa,transition:_i,children:ri,shapeFlag:fi}=ci;if(fi&6){ju(ci.component.subTree,Oe,eu,Hi);return}if(fi&128){ci.suspense.move(Oe,eu,Hi);return}if(fi&64){wa.move(ci,Oe,eu,r0);return}if(wa===od){n($r,Oe,eu);for(let Tt=0;Tt_i.enter($r),Pr);else{const{leave:Tt,delayLeave:pi,afterLeave:hi}=_i,cn=()=>n($r,Oe,eu),On=()=>{Tt($r,()=>{cn(),hi&&hi()})};pi?pi($r,cn,On):On()}else n($r,Oe,eu)},Tr=(ci,Oe,eu,Hi=!1,Pr=!1)=>{const{type:$r,props:wa,ref:_i,children:ri,dynamicChildren:fi,shapeFlag:xt,patchFlag:Tt,dirs:pi}=ci;if(_i!=null&&GOe(_i,null,eu,ci,!0),xt&256){Oe.ctx.deactivate(ci);return}const hi=xt&1&&pi,cn=!Nne(ci);let On;if(cn&&(On=wa&&wa.onVnodeBeforeUnmount)&&PF(On,Oe,ci),xt&6)ra(ci.component,eu,Hi);else{if(xt&128){ci.suspense.unmount(eu,Hi);return}hi&&Uz(ci,null,Oe,"beforeUnmount"),xt&64?ci.type.remove(ci,Oe,eu,Pr,r0,Hi):fi&&($r!==od||Tt>0&&Tt&64)?qi(fi,Oe,eu,!1,!0):($r===od&&Tt&384||!Pr&&xt&16)&&qi(ri,Oe,eu),Hi&&pa(ci)}(cn&&(On=wa&&wa.onVnodeUnmounted)||hi)&&Z5(()=>{On&&PF(On,Oe,ci),hi&&Uz(ci,null,Oe,"unmounted")},eu)},pa=ci=>{const{type:Oe,el:eu,anchor:Hi,transition:Pr}=ci;if(Oe===od){z0(eu,Hi);return}if(Oe===$3e){ye(ci);return}const $r=()=>{a(eu),Pr&&!Pr.persisted&&Pr.afterLeave&&Pr.afterLeave()};if(ci.shapeFlag&1&&Pr&&!Pr.persisted){const{leave:wa,delayLeave:_i}=Pr,ri=()=>wa(eu,$r);_i?_i(ci.el,$r,ri):ri()}else $r()},z0=(ci,Oe)=>{let eu;for(;ci!==Oe;)eu=S(ci),a(ci),ci=eu;a(Oe)},ra=(ci,Oe,eu)=>{const{bum:Hi,scope:Pr,update:$r,subTree:wa,um:_i}=ci;Hi&&J3e(Hi),Pr.stop(),$r&&($r.active=!1,Tr(wa,ci,Oe,eu)),_i&&Z5(_i,Oe),Z5(()=>{ci.isUnmounted=!0},Oe),Oe&&Oe.pendingBranch&&!Oe.isUnmounted&&ci.asyncDep&&!ci.asyncResolved&&ci.suspenseId===Oe.pendingId&&(Oe.deps--,Oe.deps===0&&Oe.resolve())},qi=(ci,Oe,eu,Hi=!1,Pr=!1,$r=0)=>{for(let wa=$r;waci.shapeFlag&6?eo(ci.component.subTree):ci.shapeFlag&128?ci.suspense.next():S(ci.anchor||ci.el);let Fa=!1;const W0=(ci,Oe,eu)=>{ci==null?Oe._vnode&&Tr(Oe._vnode,null,null,!0):G(Oe._vnode||null,ci,Oe,null,null,null,eu),Fa||(Fa=!0,Cpt(),s6t(),Fa=!1),Oe._vnode=ci},r0={p:G,um:Tr,m:ju,r:pa,mt:ti,mc:Ze,pc:zr,pbc:kt,n:eo,o:r};let qa,Hl;return e&&([qa,Hl]=e(r0)),{render:W0,hydrate:qa,createApp:Udi(W0,qa)}}function aIe({type:r,props:e},i){return i==="svg"&&r==="foreignObject"||i==="mathml"&&r==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:i}function qz({effect:r,update:e},i){r.allowRecurse=e.allowRecurse=i}function u1i(r,e){return(!r||r&&!r.pendingBranch)&&e&&!e.persisted}function y6t(r,e,i=!1){const n=r.children,a=e.children;if(H0(n)&&H0(a))for(let o=0;o>1,r[i[h]]<_?o=h+1:c=h;_0&&(e[n]=i[o-1]),i[o]=n)}}for(o=i.length,c=i[o-1];o-- >0;)i[o]=c,c=e[c];return i}function k6t(r){const e=r.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:k6t(e)}const a1i=r=>r.__isTeleport,od=Symbol.for("v-fgt"),f6e=Symbol.for("v-txt"),OL=Symbol.for("v-cmt"),$3e=Symbol.for("v-stc"),zne=[];let cy=null;function Mu(r=!1){zne.push(cy=r?null:[])}function o1i(){zne.pop(),cy=zne[zne.length-1]||null}let Bue=1;function Npt(r){Bue+=r}function F6t(r){return r.dynamicChildren=Bue>0?cy||qG:null,o1i(),Bue>0&&cy&&cy.push(r),r}function vr(r,e,i,n,a,o){return F6t(si(r,e,i,n,a,o,!0))}function eg(r,e,i,n,a){return F6t(N0(r,e,i,n,a,!0))}function GDe(r){return r?r.__v_isVNode===!0:!1}function Bie(r,e){return r.type===e.type&&r.key===e.key}const m6e="__vInternal",A6t=({key:r})=>r??null,U3e=({ref:r,ref_key:e,ref_for:i})=>(typeof r=="number"&&(r=""+r),r!=null?og(r)||kp(r)||rc(r)?{i:Hg,r,k:e,f:!!i}:r:null);function si(r,e=null,i=null,n=0,a=null,o=r===od?0:1,c=!1,h=!1){const g={__v_isVNode:!0,__v_skip:!0,type:r,props:e,key:e&&A6t(e),ref:e&&U3e(e),scopeId:c6e,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Hg};return h?(DGe(g,i),o&128&&r.normalize(g)):i&&(g.shapeFlag|=og(i)?8:16),Bue>0&&!c&&cy&&(g.patchFlag>0||o&6)&&g.patchFlag!==32&&cy.push(g),g}const N0=s1i;function s1i(r,e=null,i=null,n=0,a=null,o=!1){if((!r||r===bdi)&&(r=OL),GDe(r)){const h=BJ(r,e,!0);return i&&DGe(h,i),Bue>0&&!o&&cy&&(h.shapeFlag&6?cy[cy.indexOf(r)]=h:cy.push(h)),h.patchFlag|=-2,h}if(_1i(r)&&(r=r.__vccOpts),e){e=S6t(e);let{class:h,style:g}=e;h&&!og(h)&&(e.class=Zh(h)),Lf(g)&&(i6t(g)&&!H0(g)&&(g=z_({},g)),e.style=M3(g))}const c=og(r)?1:ydi(r)?128:a1i(r)?64:Lf(r)?4:rc(r)?2:0;return si(r,e,i,n,a,c,o,!0)}function S6t(r){return r?i6t(r)||m6e in r?z_({},r):r:null}function BJ(r,e,i=!1){const{props:n,ref:a,patchFlag:o,children:c}=r,h=e?xGe(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:h,key:h&&A6t(h),ref:e&&e.ref?i&&a?H0(a)?a.concat(U3e(e)):[a,U3e(e)]:U3e(e):a,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:c,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:e&&r.type!==od?o===-1?16:o|16:o,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&BJ(r.ssContent),ssFallback:r.ssFallback&&BJ(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce}}function P0(r=" ",e=0){return N0(f6e,null,r,e)}function l1i(r,e){const i=N0($3e,null,r);return i.staticCount=e,i}function gl(r="",e=!1){return e?(Mu(),eg(OL,null,r)):N0(OL,null,r)}function UF(r){return r==null||typeof r=="boolean"?N0(OL):H0(r)?N0(od,null,r.slice()):typeof r=="object"?KT(r):N0(f6e,null,String(r))}function KT(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:BJ(r)}function DGe(r,e){let i=0;const{shapeFlag:n}=r;if(e==null)e=null;else if(H0(e))i=16;else if(typeof e=="object")if(n&65){const a=e.default;a&&(a._c&&(a._d=!1),DGe(r,a()),a._c&&(a._d=!0));return}else{i=32;const a=e._;!a&&!(m6e in e)?e._ctx=Hg:a===3&&Hg&&(Hg.slots._===1?e._=1:(e._=2,r.patchFlag|=1024))}else rc(e)?(e={default:e,_ctx:Hg},i=32):(e=String(e),n&64?(i=16,e=[P0(e)]):i=8);r.children=e,r.shapeFlag|=i}function xGe(...r){const e={};for(let i=0;i{let a;return(a=r[i])||(a=r[i]=[]),a.push(n),o=>{a.length>1?a.forEach(c=>c(o)):a[0](o)}};JDe=e("__VUE_INSTANCE_SETTERS__",i=>L_=i),JOe=e("__VUE_SSR_SETTERS__",i=>p6e=i)}const cae=r=>{const e=L_;return JDe(r),r.scope.on(),()=>{r.scope.off(),JDe(e)}},Ppt=()=>{L_&&L_.scope.off(),JDe(null)};function B6t(r){return r.vnode.shapeFlag&4}let p6e=!1;function f1i(r,e=!1){e&&JOe(e);const{props:i,children:n}=r.vnode,a=B6t(r);Ydi(r,i,a,e),e1i(r,n);const o=a?m1i(r,e):void 0;return e&&JOe(!1),o}function m1i(r,e){const i=r.type;r.accessCache=Object.create(null),r.proxy=o6e(new Proxy(r.ctx,Vdi));const{setup:n}=i;if(n){const a=r.setupContext=n.length>1?g1i(r):null,o=cae(r);KR();const c=_L(n,r,0,[r.props,a]);if(WR(),o(),Pxt(c)){if(c.then(Ppt,Ppt),e)return c.then(h=>{Mpt(r,h,e)}).catch(h=>{s6e(h,r,0)});r.asyncDep=c}else Mpt(r,c,e)}else w6t(r,e)}function Mpt(r,e,i){rc(e)?r.type.__ssrInlineRender?r.ssrRender=e:r.render=e:Lf(e)&&(r.setupState=r6t(e)),w6t(r,i)}let zpt;function w6t(r,e,i){const n=r.type;if(!r.render){if(!e&&zpt&&!n.render){const a=n.template||EGe(r).template;if(a){const{isCustomElement:o,compilerOptions:c}=r.appContext.config,{delimiters:h,compilerOptions:g}=n,_=z_(z_({isCustomElement:o,delimiters:h},c),g);n.render=zpt(a,_)}}r.render=n.render||WC}{const a=cae(r);KR();try{Hdi(r)}finally{WR(),a()}}}function p1i(r){return r.attrsProxy||(r.attrsProxy=new Proxy(r.attrs,{get(e,i){return mx(r,"get","$attrs"),e[i]}}))}function g1i(r){const e=i=>{r.exposed=i||{}};return{get attrs(){return p1i(r)},slots:r.slots,emit:r.emit,expose:e}}function g6e(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(r6t(o6e(r.exposed)),{get(e,i){if(i in e)return e[i];if(i in Pne)return Pne[i](r)},has(e,i){return i in e||i in Pne}}))}function E1i(r,e=!0){return rc(r)?r.displayName||r.name:r.name||e&&r.__name}function _1i(r){return rc(r)&&"__vccOpts"in r}const j6=(r,e)=>udi(r,e,p6e);function D1i(r,e,i){const n=arguments.length;return n===2?Lf(e)&&!H0(e)?GDe(e)?N0(r,null,[e]):N0(r,e):N0(r,null,e):(n>3?i=Array.prototype.slice.call(arguments,2):n===3&&GDe(i)&&(i=[i]),N0(r,e,i))}const x1i="3.4.13";/** +**/function _L(r,e,i,n){let a;try{a=n?r(...n):r()}catch(o){s6e(o,e,i)}return a}function Ey(r,e,i,n){if(rc(r)){const o=_L(r,e,i,n);return o&&Pxt(o)&&o.catch(c=>{s6e(c,e,i)}),o}const a=[];for(let o=0;o>>1,a=I3[n],o=kue(a);oXF&&I3.splice(e,1)}function mdi(r){H0(r)?YG.push(...r):(!HT||!HT.includes(r,r.allowRecurse?_I+1:_I))&&YG.push(r),o6t()}function Cpt(r,e,i=yue?XF+1:0){for(;ikue(i)-kue(n));if(YG.length=0,HT){HT.push(...e);return}for(HT=e,_I=0;_Ir.id==null?1/0:r.id,pdi=(r,e)=>{const i=kue(r)-kue(e);if(i===0){if(r.pre&&!e.pre)return-1;if(e.pre&&!r.pre)return 1}return i};function l6t(r){jOe=!1,yue=!0,I3.sort(pdi);try{for(XF=0;XFog(L)?L.trim():L)),y&&(a=i.map(MOe))}let h,g=n[h=iIe(e)]||n[h=iIe(FA(e))];!g&&o&&(g=n[h=iIe(HR(e))]),g&&Ey(g,r,6,a);const _=n[h+"Once"];if(_){if(!r.emitted)r.emitted={};else if(r.emitted[h])return;r.emitted[h]=!0,Ey(_,r,6,a)}}function c6t(r,e,i=!1){const n=e.emitsCache,a=n.get(r);if(a!==void 0)return a;const o=r.emits;let c={},h=!1;if(!rc(r)){const g=_=>{const x=c6t(_,e,!0);x&&(h=!0,z_(c,x))};!i&&e.mixins.length&&e.mixins.forEach(g),r.extends&&g(r.extends),r.mixins&&r.mixins.forEach(g)}return!o&&!h?(Lf(r)&&n.set(r,null),null):(H0(o)?o.forEach(g=>c[g]=null):z_(c,o),Lf(r)&&n.set(r,c),c)}function l6e(r,e){return!r||!i6e(e)?!1:(e=e.slice(2).replace(/Once$/,""),a1(r,e[0].toLowerCase()+e.slice(1))||a1(r,HR(e))||a1(r,e))}let Hg=null,c6e=null;function KDe(r){const e=Hg;return Hg=r,c6e=r&&r.type.__scopeId||null,e}function D$(r){c6e=r}function x$(){c6e=null}const Edi=r=>RL;function RL(r,e=Hg,i){if(!e||r._n)return r;const n=(...a)=>{n._d&&Npt(-1);const o=KDe(e);let c;try{c=r(...a)}finally{KDe(o),n._d&&Npt(1)}return c};return n._n=!0,n._c=!0,n._d=!0,n}function uIe(r){const{type:e,vnode:i,proxy:n,withProxy:a,props:o,propsOptions:[c],slots:h,attrs:g,emit:_,render:x,renderCache:y,data:S,setupState:L,ctx:O,inheritAttrs:G}=r;let ie,ue;const re=KDe(r);try{if(i.shapeFlag&4){const ye=a||n,Le=ye;ie=UF(x.call(Le,ye,y,o,L,S,O)),ue=g}else{const ye=e;ie=UF(ye.length>1?ye(o,{attrs:g,slots:h,emit:_}):ye(o,null)),ue=e.props?g:_di(g)}}catch(ye){zne.length=0,s6e(ye,r,1),ie=N0(OL)}let _e=ie;if(ue&&G!==!1){const ye=Object.keys(ue),{shapeFlag:Le}=_e;ye.length&&Le&7&&(c&&ye.some(iGe)&&(ue=Ddi(ue,c)),_e=BJ(_e,ue))}return i.dirs&&(_e=BJ(_e),_e.dirs=_e.dirs?_e.dirs.concat(i.dirs):i.dirs),i.transition&&(_e.transition=i.transition),ie=_e,KDe(re),ie}const _di=r=>{let e;for(const i in r)(i==="class"||i==="style"||i6e(i))&&((e||(e={}))[i]=r[i]);return e},Ddi=(r,e)=>{const i={};for(const n in r)(!iGe(n)||!(n.slice(9)in e))&&(i[n]=r[n]);return i};function xdi(r,e,i){const{props:n,children:a,component:o}=r,{props:c,children:h,patchFlag:g}=e,_=o.emitsOptions;if(e.dirs||e.transition)return!0;if(i&&g>=0){if(g&1024)return!0;if(g&16)return n?bpt(n,c,_):!!c;if(g&8){const x=e.dynamicProps;for(let y=0;yr.__isSuspense;function kdi(r,e){e&&e.pendingBranch?H0(r)?e.effects.push(...r):e.effects.push(r):mdi(r)}const Fdi=Symbol.for("v-scx"),Adi=()=>Mne(Fdi);function Sdi(r,e){return pGe(r,null,e)}const x_e={};function _A(r,e,i){return pGe(r,e,i)}function pGe(r,e,{immediate:i,deep:n,flush:a,once:o,onTrack:c,onTrigger:h}=em){if(e&&o){const lt=e;e=(...Ue)=>{lt(...Ue),Le()}}const g=L_,_=lt=>n===!0?lt:TI(lt,n===!1?1:void 0);let x,y=!1,S=!1;if(kp(r)?(x=()=>r.value,y=HDe(r)):EL(r)?(x=()=>_(r),y=!0):H0(r)?(S=!0,y=r.some(lt=>EL(lt)||HDe(lt)),x=()=>r.map(lt=>{if(kp(lt))return lt.value;if(EL(lt))return _(lt);if(rc(lt))return _L(lt,g,2)})):rc(r)?e?x=()=>_L(r,g,2):x=()=>(L&&L(),Ey(r,g,3,[O])):x=WC,e&&n){const lt=x;x=()=>TI(lt())}let L,O=lt=>{L=_e.onStop=()=>{_L(lt,g,4),L=_e.onStop=void 0}},G;if(p6e)if(O=WC,e?i&&Ey(e,g,3,[x(),S?[]:void 0,O]):x(),a==="sync"){const lt=Adi();G=lt.__watcherHandles||(lt.__watcherHandles=[])}else return WC;let ie=S?new Array(r.length).fill(x_e):x_e;const ue=()=>{if(!(!_e.active||!_e.dirty))if(e){const lt=_e.run();(n||y||(S?lt.some((Ue,Ze)=>IL(Ue,ie[Ze])):IL(lt,ie)))&&(L&&L(),Ey(e,g,3,[lt,ie===x_e?void 0:S&&ie[0]===x_e?[]:ie,O]),ie=lt)}else _e.run()};ue.allowRecurse=!!e;let re;a==="sync"?re=ue:a==="post"?re=()=>Z5(ue,g&&g.suspense):(ue.pre=!0,g&&(ue.id=g.uid),re=()=>mGe(ue));const _e=new rGe(x,WC,re),ye=Kxt(),Le=()=>{_e.stop(),ye&&nGe(ye.effects,_e)};return e?i?ue():ie=_e.run():a==="post"?Z5(_e.run.bind(_e),g&&g.suspense):_e.run(),G&&G.push(Le),Le}function Bdi(r,e,i){const n=this.proxy,a=og(r)?r.includes(".")?f6t(n,r):()=>n[r]:r.bind(n,n);let o;rc(e)?o=e:(o=e.handler,i=e);const c=cae(this),h=pGe(a,o.bind(n),i);return c(),h}function f6t(r,e){const i=e.split(".");return()=>{let n=r;for(let a=0;a0){if(i>=e)return r;i++}if(n=n||new Set,n.has(r))return r;if(n.add(r),kp(r))TI(r.value,e,i,n);else if(H0(r))for(let a=0;a{TI(a,e,i,n)});else if(zxt(r))for(const a in r)TI(r[a],e,i,n);return r}function Nd(r,e){if(Hg===null)return r;const i=g6e(Hg)||Hg.proxy,n=r.dirs||(r.dirs=[]);for(let a=0;a!!r.type.__asyncLoader,m6t=r=>r.type.__isKeepAlive;function wdi(r,e){p6t(r,"a",e)}function Tdi(r,e){p6t(r,"da",e)}function p6t(r,e,i=L_){const n=r.__wdc||(r.__wdc=()=>{let a=i;for(;a;){if(a.isDeactivated)return;a=a.parent}return r()});if(h6e(e,n,i),i){let a=i.parent;for(;a&&a.parent;)m6t(a.parent.vnode)&&Ldi(n,e,i,a),a=a.parent}}function Ldi(r,e,i,n){const a=h6e(e,r,n,!0);gGe(()=>{nGe(n[e],a)},i)}function h6e(r,e,i=L_,n=!1){if(i){const a=i[r]||(i[r]=[]),o=e.__weh||(e.__weh=(...c)=>{if(i.isUnmounted)return;KR();const h=cae(i),g=Ey(e,i,r,c);return h(),WR(),g});return n?a.unshift(o):a.push(o),o}}const c8=r=>(e,i=L_)=>(!p6e||r==="sp")&&h6e(r,(...n)=>e(...n),i),Ndi=c8("bm"),GR=c8("m"),Pdi=c8("bu"),Mdi=c8("u"),zdi=c8("bum"),gGe=c8("um"),Idi=c8("sp"),Rdi=c8("rtg"),Odi=c8("rtc");function jdi(r,e=L_){h6e("ec",r,e)}function _y(r,e,i,n){let a;const o=i&&i[n];if(H0(r)||og(r)){a=new Array(r.length);for(let c=0,h=r.length;ce(c,h,void 0,o&&o[h]));else{const c=Object.keys(r);a=new Array(c.length);for(let h=0,g=c.length;hGDe(e)?!(e.type===OL||e.type===od&&!g6t(e.children)):!0)?r:null}const VOe=r=>r?B6t(r)?g6e(r)||r.proxy:VOe(r.parent):null,Pne=z_(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>VOe(r.parent),$root:r=>VOe(r.root),$emit:r=>r.emit,$options:r=>EGe(r),$forceUpdate:r=>r.f||(r.f=()=>{r.effect.dirty=!0,mGe(r.update)}),$nextTick:r=>r.n||(r.n=fGe.bind(r.proxy)),$watch:r=>Bdi.bind(r)}),rIe=(r,e)=>r!==em&&!r.__isScriptSetup&&a1(r,e),Vdi={get({_:r},e){const{ctx:i,setupState:n,data:a,props:o,accessCache:c,type:h,appContext:g}=r;let _;if(e[0]!=="$"){const L=c[e];if(L!==void 0)switch(L){case 1:return n[e];case 2:return a[e];case 4:return i[e];case 3:return o[e]}else{if(rIe(n,e))return c[e]=1,n[e];if(a!==em&&a1(a,e))return c[e]=2,a[e];if((_=r.propsOptions[0])&&a1(_,e))return c[e]=3,o[e];if(i!==em&&a1(i,e))return c[e]=4,i[e];HOe&&(c[e]=0)}}const x=Pne[e];let y,S;if(x)return e==="$attrs"&&mx(r,"get",e),x(r);if((y=h.__cssModules)&&(y=y[e]))return y;if(i!==em&&a1(i,e))return c[e]=4,i[e];if(S=g.config.globalProperties,a1(S,e))return S[e]},set({_:r},e,i){const{data:n,setupState:a,ctx:o}=r;return rIe(a,e)?(a[e]=i,!0):n!==em&&a1(n,e)?(n[e]=i,!0):a1(r.props,e)||e[0]==="$"&&e.slice(1)in r?!1:(o[e]=i,!0)},has({_:{data:r,setupState:e,accessCache:i,ctx:n,appContext:a,propsOptions:o}},c){let h;return!!i[c]||r!==em&&a1(r,c)||rIe(e,c)||(h=o[0])&&a1(h,c)||a1(n,c)||a1(Pne,c)||a1(a.config.globalProperties,c)},defineProperty(r,e,i){return i.get!=null?r._.accessCache[e]=0:a1(i,"value")&&this.set(r,e,i.value,null),Reflect.defineProperty(r,e,i)}};function kpt(r){return H0(r)?r.reduce((e,i)=>(e[i]=null,e),{}):r}let HOe=!0;function Hdi(r){const e=EGe(r),i=r.proxy,n=r.ctx;HOe=!1,e.beforeCreate&&Fpt(e.beforeCreate,r,"bc");const{data:a,computed:o,methods:c,watch:h,provide:g,inject:_,created:x,beforeMount:y,mounted:S,beforeUpdate:L,updated:O,activated:G,deactivated:ie,beforeDestroy:ue,beforeUnmount:re,destroyed:_e,unmounted:ye,render:Le,renderTracked:lt,renderTriggered:Ue,errorCaptured:Ze,serverPrefetch:rt,expose:kt,inheritAttrs:Zt,components:jt,directives:ui,filters:ti}=e;if(_&&Kdi(_,n,null),c)for(const Vt in c){const zr=c[Vt];rc(zr)&&(n[Vt]=zr.bind(i))}if(a){const Vt=a.call(i,i);Lf(Vt)&&(r.data=lae(Vt))}if(HOe=!0,o)for(const Vt in o){const zr=o[Vt],Lu=rc(zr)?zr.bind(i,i):rc(zr.get)?zr.get.bind(i,i):WC,Va=!rc(zr)&&rc(zr.set)?zr.set.bind(i):WC,ju=j6({get:Lu,set:Va});Object.defineProperty(n,Vt,{enumerable:!0,configurable:!0,get:()=>ju.value,set:Tr=>ju.value=Tr})}if(h)for(const Vt in h)E6t(h[Vt],n,i,Vt);if(g){const Vt=rc(g)?g.call(i):g;Reflect.ownKeys(Vt).forEach(zr=>{qdi(zr,Vt[zr])})}x&&Fpt(x,r,"c");function pu(Vt,zr){H0(zr)?zr.forEach(Lu=>Vt(Lu.bind(i))):zr&&Vt(zr.bind(i))}if(pu(Ndi,y),pu(GR,S),pu(Pdi,L),pu(Mdi,O),pu(wdi,G),pu(Tdi,ie),pu(jdi,Ze),pu(Odi,lt),pu(Rdi,Ue),pu(zdi,re),pu(gGe,ye),pu(Idi,rt),H0(kt))if(kt.length){const Vt=r.exposed||(r.exposed={});kt.forEach(zr=>{Object.defineProperty(Vt,zr,{get:()=>i[zr],set:Lu=>i[zr]=Lu})})}else r.exposed||(r.exposed={});Le&&r.render===WC&&(r.render=Le),Zt!=null&&(r.inheritAttrs=Zt),jt&&(r.components=jt),ui&&(r.directives=ui)}function Kdi(r,e,i=WC){H0(r)&&(r=KOe(r));for(const n in r){const a=r[n];let o;Lf(a)?"default"in a?o=Mne(a.from||n,a.default,!0):o=Mne(a.from||n):o=Mne(a),kp(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):e[n]=o}}function Fpt(r,e,i){Ey(H0(r)?r.map(n=>n.bind(e.proxy)):r.bind(e.proxy),e,i)}function E6t(r,e,i,n){const a=n.includes(".")?f6t(i,n):()=>i[n];if(og(r)){const o=e[r];rc(o)&&_A(a,o)}else if(rc(r))_A(a,r.bind(i));else if(Lf(r))if(H0(r))r.forEach(o=>E6t(o,e,i,n));else{const o=rc(r.handler)?r.handler.bind(i):e[r.handler];rc(o)&&_A(a,o,r)}}function EGe(r){const e=r.type,{mixins:i,extends:n}=e,{mixins:a,optionsCache:o,config:{optionMergeStrategies:c}}=r.appContext,h=o.get(e);let g;return h?g=h:!a.length&&!i&&!n?g=e:(g={},a.length&&a.forEach(_=>WDe(g,_,c,!0)),WDe(g,e,c)),Lf(e)&&o.set(e,g),g}function WDe(r,e,i,n=!1){const{mixins:a,extends:o}=e;o&&WDe(r,o,i,!0),a&&a.forEach(c=>WDe(r,c,i,!0));for(const c in e)if(!(n&&c==="expose")){const h=Wdi[c]||i&&i[c];r[c]=h?h(r[c],e[c]):e[c]}return r}const Wdi={data:Apt,props:Spt,emits:Spt,methods:ane,computed:ane,beforeCreate:TD,created:TD,beforeMount:TD,mounted:TD,beforeUpdate:TD,updated:TD,beforeDestroy:TD,beforeUnmount:TD,destroyed:TD,unmounted:TD,activated:TD,deactivated:TD,errorCaptured:TD,serverPrefetch:TD,components:ane,directives:ane,watch:Jdi,provide:Apt,inject:Gdi};function Apt(r,e){return e?r?function(){return z_(rc(r)?r.call(this,this):r,rc(e)?e.call(this,this):e)}:e:r}function Gdi(r,e){return ane(KOe(r),KOe(e))}function KOe(r){if(H0(r)){const e={};for(let i=0;i1)return i&&rc(e)?e.call(n&&n.proxy):e}}function Zdi(){return!!(L_||Hg||Sue)}function Ydi(r,e,i,n=!1){const a={},o={};jDe(o,m6e,1),r.propsDefaults=Object.create(null),D6t(r,e,a,o);for(const c in r.propsOptions[0])c in a||(a[c]=void 0);i?r.props=n?a:ndi(a):r.type.props?r.props=a:r.props=o,r.attrs=o}function Qdi(r,e,i,n){const{props:a,attrs:o,vnode:{patchFlag:c}}=r,h=s1(a),[g]=r.propsOptions;let _=!1;if((n||c>0)&&!(c&16)){if(c&8){const x=r.vnode.dynamicProps;for(let y=0;y{g=!0;const[S,L]=x6t(y,e,!0);z_(c,S),L&&h.push(...L)};!i&&e.mixins.length&&e.mixins.forEach(x),r.extends&&x(r.extends),r.mixins&&r.mixins.forEach(x)}if(!o&&!g)return Lf(r)&&n.set(r,qG),qG;if(H0(o))for(let x=0;x-1,L[1]=G<0||O-1||a1(L,"default"))&&h.push(y)}}}const _=[c,h];return Lf(r)&&n.set(r,_),_}function Bpt(r){return r[0]!=="$"}function wpt(r){const e=r&&r.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:r===null?"null":""}function Tpt(r,e){return wpt(r)===wpt(e)}function Lpt(r,e){return H0(e)?e.findIndex(i=>Tpt(i,r)):rc(e)&&Tpt(e,r)?0:-1}const v6t=r=>r[0]==="_"||r==="$stable",_Ge=r=>H0(r)?r.map(UF):[UF(r)],Xdi=(r,e,i)=>{if(e._n)return e;const n=RL((...a)=>_Ge(e(...a)),i);return n._c=!1,n},C6t=(r,e,i)=>{const n=r._ctx;for(const a in r){if(v6t(a))continue;const o=r[a];if(rc(o))e[a]=Xdi(a,o,n);else if(o!=null){const c=_Ge(o);e[a]=()=>c}}},b6t=(r,e)=>{const i=_Ge(e);r.slots.default=()=>i},e1i=(r,e)=>{if(r.vnode.shapeFlag&32){const i=e._;i?(r.slots=s1(e),jDe(e,"_",i)):C6t(e,r.slots={})}else r.slots={},e&&b6t(r,e);jDe(r.slots,m6e,1)},t1i=(r,e,i)=>{const{vnode:n,slots:a}=r;let o=!0,c=em;if(n.shapeFlag&32){const h=e._;h?i&&h===1?o=!1:(z_(a,e),!i&&h===1&&delete a._):(o=!e.$stable,C6t(e,a)),c=e}else e&&(b6t(r,e),c={default:1});if(o)for(const h in a)!v6t(h)&&c[h]==null&&delete a[h]};function GOe(r,e,i,n,a=!1){if(H0(r)){r.forEach((S,L)=>GOe(S,e&&(H0(e)?e[L]:e),i,n,a));return}if(Nne(n)&&!a)return;const o=n.shapeFlag&4?g6e(n.component)||n.component.proxy:n.el,c=a?null:o,{i:h,r:g}=r,_=e&&e.r,x=h.refs===em?h.refs={}:h.refs,y=h.setupState;if(_!=null&&_!==g&&(og(_)?(x[_]=null,a1(y,_)&&(y[_]=null)):kp(_)&&(_.value=null)),rc(g))_L(g,h,12,[c,x]);else{const S=og(g),L=kp(g);if(S||L){const O=()=>{if(r.f){const G=S?a1(y,g)?y[g]:x[g]:g.value;a?H0(G)&&nGe(G,o):H0(G)?G.includes(o)||G.push(o):S?(x[g]=[o],a1(y,g)&&(y[g]=x[g])):(g.value=[o],r.k&&(x[r.k]=g.value))}else S?(x[g]=c,a1(y,g)&&(y[g]=c)):L&&(g.value=c,r.k&&(x[r.k]=c))};c?(O.id=-1,Z5(O,i)):O()}}}const Z5=kdi;function i1i(r){return n1i(r)}function n1i(r,e){const i=Ixt();i.__VUE__=!0;const{insert:n,remove:a,patchProp:o,createElement:c,createText:h,createComment:g,setText:_,setElementText:x,parentNode:y,nextSibling:S,setScopeId:L=WC,insertStaticContent:O}=r,G=(ci,Oe,eu,Hi=null,Pr=null,$r=null,wa=void 0,_i=null,ri=!!Oe.dynamicChildren)=>{if(ci===Oe)return;ci&&!Bie(ci,Oe)&&(Hi=eo(ci),Tr(ci,Pr,$r,!0),ci=null),Oe.patchFlag===-2&&(ri=!1,Oe.dynamicChildren=null);const{type:fi,ref:xt,shapeFlag:Tt}=Oe;switch(fi){case f6e:ie(ci,Oe,eu,Hi);break;case OL:ue(ci,Oe,eu,Hi);break;case $3e:ci==null&&re(Oe,eu,Hi,wa);break;case od:jt(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri);break;default:Tt&1?Le(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri):Tt&6?ui(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri):(Tt&64||Tt&128)&&fi.process(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri,r0)}xt!=null&&Pr&&GOe(xt,ci&&ci.ref,$r,Oe||ci,!Oe)},ie=(ci,Oe,eu,Hi)=>{if(ci==null)n(Oe.el=h(Oe.children),eu,Hi);else{const Pr=Oe.el=ci.el;Oe.children!==ci.children&&_(Pr,Oe.children)}},ue=(ci,Oe,eu,Hi)=>{ci==null?n(Oe.el=g(Oe.children||""),eu,Hi):Oe.el=ci.el},re=(ci,Oe,eu,Hi)=>{[ci.el,ci.anchor]=O(ci.children,Oe,eu,Hi,ci.el,ci.anchor)},_e=({el:ci,anchor:Oe},eu,Hi)=>{let Pr;for(;ci&&ci!==Oe;)Pr=S(ci),n(ci,eu,Hi),ci=Pr;n(Oe,eu,Hi)},ye=({el:ci,anchor:Oe})=>{let eu;for(;ci&&ci!==Oe;)eu=S(ci),a(ci),ci=eu;a(Oe)},Le=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri)=>{Oe.type==="svg"?wa="svg":Oe.type==="math"&&(wa="mathml"),ci==null?lt(Oe,eu,Hi,Pr,$r,wa,_i,ri):rt(ci,Oe,Pr,$r,wa,_i,ri)},lt=(ci,Oe,eu,Hi,Pr,$r,wa,_i)=>{let ri,fi;const{props:xt,shapeFlag:Tt,transition:pi,dirs:hi}=ci;if(ri=ci.el=c(ci.type,$r,xt&&xt.is,xt),Tt&8?x(ri,ci.children):Tt&16&&Ze(ci.children,ri,null,Hi,Pr,aIe(ci,$r),wa,_i),hi&&Uz(ci,null,Hi,"created"),Ue(ri,ci,ci.scopeId,wa,Hi),xt){for(const On in xt)On!=="value"&&!G3e(On)&&o(ri,On,null,xt[On],$r,ci.children,Hi,Pr,qi);"value"in xt&&o(ri,"value",null,xt.value,$r),(fi=xt.onVnodeBeforeMount)&&PF(fi,Hi,ci)}hi&&Uz(ci,null,Hi,"beforeMount");const cn=u1i(Pr,pi);cn&&pi.beforeEnter(ri),n(ri,Oe,eu),((fi=xt&&xt.onVnodeMounted)||cn||hi)&&Z5(()=>{fi&&PF(fi,Hi,ci),cn&&pi.enter(ri),hi&&Uz(ci,null,Hi,"mounted")},Pr)},Ue=(ci,Oe,eu,Hi,Pr)=>{if(eu&&L(ci,eu),Hi)for(let $r=0;$r{for(let fi=ri;fi{const _i=Oe.el=ci.el;let{patchFlag:ri,dynamicChildren:fi,dirs:xt}=Oe;ri|=ci.patchFlag&16;const Tt=ci.props||em,pi=Oe.props||em;let hi;if(eu&&qz(eu,!1),(hi=pi.onVnodeBeforeUpdate)&&PF(hi,eu,Oe,ci),xt&&Uz(Oe,ci,eu,"beforeUpdate"),eu&&qz(eu,!0),fi?kt(ci.dynamicChildren,fi,_i,eu,Hi,aIe(Oe,Pr),$r):wa||zr(ci,Oe,_i,null,eu,Hi,aIe(Oe,Pr),$r,!1),ri>0){if(ri&16)Zt(_i,Oe,Tt,pi,eu,Hi,Pr);else if(ri&2&&Tt.class!==pi.class&&o(_i,"class",null,pi.class,Pr),ri&4&&o(_i,"style",Tt.style,pi.style,Pr),ri&8){const cn=Oe.dynamicProps;for(let On=0;On{hi&&PF(hi,eu,Oe,ci),xt&&Uz(Oe,ci,eu,"updated")},Hi)},kt=(ci,Oe,eu,Hi,Pr,$r,wa)=>{for(let _i=0;_i{if(eu!==Hi){if(eu!==em)for(const _i in eu)!G3e(_i)&&!(_i in Hi)&&o(ci,_i,eu[_i],null,wa,Oe.children,Pr,$r,qi);for(const _i in Hi){if(G3e(_i))continue;const ri=Hi[_i],fi=eu[_i];ri!==fi&&_i!=="value"&&o(ci,_i,fi,ri,wa,Oe.children,Pr,$r,qi)}"value"in Hi&&o(ci,"value",eu.value,Hi.value,wa)}},jt=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri)=>{const fi=Oe.el=ci?ci.el:h(""),xt=Oe.anchor=ci?ci.anchor:h("");let{patchFlag:Tt,dynamicChildren:pi,slotScopeIds:hi}=Oe;hi&&(_i=_i?_i.concat(hi):hi),ci==null?(n(fi,eu,Hi),n(xt,eu,Hi),Ze(Oe.children||[],eu,xt,Pr,$r,wa,_i,ri)):Tt>0&&Tt&64&&pi&&ci.dynamicChildren?(kt(ci.dynamicChildren,pi,eu,Pr,$r,wa,_i),(Oe.key!=null||Pr&&Oe===Pr.subTree)&&y6t(ci,Oe,!0)):zr(ci,Oe,eu,xt,Pr,$r,wa,_i,ri)},ui=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri)=>{Oe.slotScopeIds=_i,ci==null?Oe.shapeFlag&512?Pr.ctx.activate(Oe,eu,Hi,wa,ri):ti(Oe,eu,Hi,Pr,$r,wa,ri):Uu(ci,Oe,ri)},ti=(ci,Oe,eu,Hi,Pr,$r,wa)=>{const _i=ci.component=h1i(ci,Hi,Pr);if(m6t(ci)&&(_i.ctx.renderer=r0),f1i(_i),_i.asyncDep){if(Pr&&Pr.registerDep(_i,pu),!ci.el){const ri=_i.subTree=N0(OL);ue(null,ri,Oe,eu)}}else pu(_i,ci,Oe,eu,Pr,$r,wa)},Uu=(ci,Oe,eu)=>{const Hi=Oe.component=ci.component;if(xdi(ci,Oe,eu))if(Hi.asyncDep&&!Hi.asyncResolved){Vt(Hi,Oe,eu);return}else Hi.next=Oe,fdi(Hi.update),Hi.effect.dirty=!0,Hi.update();else Oe.el=ci.el,Hi.vnode=Oe},pu=(ci,Oe,eu,Hi,Pr,$r,wa)=>{const _i=()=>{if(ci.isMounted){let{next:xt,bu:Tt,u:pi,parent:hi,vnode:cn}=ci;{const vo=k6t(ci);if(vo){xt&&(xt.el=cn.el,Vt(ci,xt,wa)),vo.asyncDep.then(()=>{ci.isUnmounted||_i()});return}}let On=xt,Dr;qz(ci,!1),xt?(xt.el=cn.el,Vt(ci,xt,wa)):xt=cn,Tt&&J3e(Tt),(Dr=xt.props&&xt.props.onVnodeBeforeUpdate)&&PF(Dr,hi,xt,cn),qz(ci,!0);const Wr=uIe(ci),xi=ci.subTree;ci.subTree=Wr,G(xi,Wr,y(xi.el),eo(xi),ci,Pr,$r),xt.el=Wr.el,On===null&&vdi(ci,Wr.el),pi&&Z5(pi,Pr),(Dr=xt.props&&xt.props.onVnodeUpdated)&&Z5(()=>PF(Dr,hi,xt,cn),Pr)}else{let xt;const{el:Tt,props:pi}=Oe,{bm:hi,m:cn,parent:On}=ci,Dr=Nne(Oe);if(qz(ci,!1),hi&&J3e(hi),!Dr&&(xt=pi&&pi.onVnodeBeforeMount)&&PF(xt,On,Oe),qz(ci,!0),Tt&&Hl){const Wr=()=>{ci.subTree=uIe(ci),Hl(Tt,ci.subTree,ci,Pr,null)};Dr?Oe.type.__asyncLoader().then(()=>!ci.isUnmounted&&Wr()):Wr()}else{const Wr=ci.subTree=uIe(ci);G(null,Wr,eu,Hi,ci,Pr,$r),Oe.el=Wr.el}if(cn&&Z5(cn,Pr),!Dr&&(xt=pi&&pi.onVnodeMounted)){const Wr=Oe;Z5(()=>PF(xt,On,Wr),Pr)}(Oe.shapeFlag&256||On&&Nne(On.vnode)&&On.vnode.shapeFlag&256)&&ci.a&&Z5(ci.a,Pr),ci.isMounted=!0,Oe=eu=Hi=null}},ri=ci.effect=new rGe(_i,WC,()=>mGe(fi),ci.scope),fi=ci.update=()=>{ri.dirty&&ri.run()};fi.id=ci.uid,qz(ci,!0),fi()},Vt=(ci,Oe,eu)=>{Oe.component=ci;const Hi=ci.vnode.props;ci.vnode=Oe,ci.next=null,Qdi(ci,Oe.props,Hi,eu),t1i(ci,Oe.children,eu),KR(),Cpt(ci),WR()},zr=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri=!1)=>{const fi=ci&&ci.children,xt=ci?ci.shapeFlag:0,Tt=Oe.children,{patchFlag:pi,shapeFlag:hi}=Oe;if(pi>0){if(pi&128){Va(fi,Tt,eu,Hi,Pr,$r,wa,_i,ri);return}else if(pi&256){Lu(fi,Tt,eu,Hi,Pr,$r,wa,_i,ri);return}}hi&8?(xt&16&&qi(fi,Pr,$r),Tt!==fi&&x(eu,Tt)):xt&16?hi&16?Va(fi,Tt,eu,Hi,Pr,$r,wa,_i,ri):qi(fi,Pr,$r,!0):(xt&8&&x(eu,""),hi&16&&Ze(Tt,eu,Hi,Pr,$r,wa,_i,ri))},Lu=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri)=>{ci=ci||qG,Oe=Oe||qG;const fi=ci.length,xt=Oe.length,Tt=Math.min(fi,xt);let pi;for(pi=0;pixt?qi(ci,Pr,$r,!0,!1,Tt):Ze(Oe,eu,Hi,Pr,$r,wa,_i,ri,Tt)},Va=(ci,Oe,eu,Hi,Pr,$r,wa,_i,ri)=>{let fi=0;const xt=Oe.length;let Tt=ci.length-1,pi=xt-1;for(;fi<=Tt&&fi<=pi;){const hi=ci[fi],cn=Oe[fi]=ri?KT(Oe[fi]):UF(Oe[fi]);if(Bie(hi,cn))G(hi,cn,eu,null,Pr,$r,wa,_i,ri);else break;fi++}for(;fi<=Tt&&fi<=pi;){const hi=ci[Tt],cn=Oe[pi]=ri?KT(Oe[pi]):UF(Oe[pi]);if(Bie(hi,cn))G(hi,cn,eu,null,Pr,$r,wa,_i,ri);else break;Tt--,pi--}if(fi>Tt){if(fi<=pi){const hi=pi+1,cn=hipi)for(;fi<=Tt;)Tr(ci[fi],Pr,$r,!0),fi++;else{const hi=fi,cn=fi,On=new Map;for(fi=cn;fi<=pi;fi++){const e0=Oe[fi]=ri?KT(Oe[fi]):UF(Oe[fi]);e0.key!=null&&On.set(e0.key,fi)}let Dr,Wr=0;const xi=pi-cn+1;let vo=!1,Pl=0;const yn=new Array(xi);for(fi=0;fi=xi){Tr(e0,Pr,$r,!0);continue}let Fl;if(e0.key!=null)Fl=On.get(e0.key);else for(Dr=cn;Dr<=pi;Dr++)if(yn[Dr-cn]===0&&Bie(e0,Oe[Dr])){Fl=Dr;break}Fl===void 0?Tr(e0,Pr,$r,!0):(yn[Fl-cn]=fi+1,Fl>=Pl?Pl=Fl:vo=!0,G(e0,Oe[Fl],eu,null,Pr,$r,wa,_i,ri),Wr++)}const xa=vo?r1i(yn):qG;for(Dr=xa.length-1,fi=xi-1;fi>=0;fi--){const e0=cn+fi,Fl=Oe[e0],Ph=e0+1{const{el:$r,type:wa,transition:_i,children:ri,shapeFlag:fi}=ci;if(fi&6){ju(ci.component.subTree,Oe,eu,Hi);return}if(fi&128){ci.suspense.move(Oe,eu,Hi);return}if(fi&64){wa.move(ci,Oe,eu,r0);return}if(wa===od){n($r,Oe,eu);for(let Tt=0;Tt_i.enter($r),Pr);else{const{leave:Tt,delayLeave:pi,afterLeave:hi}=_i,cn=()=>n($r,Oe,eu),On=()=>{Tt($r,()=>{cn(),hi&&hi()})};pi?pi($r,cn,On):On()}else n($r,Oe,eu)},Tr=(ci,Oe,eu,Hi=!1,Pr=!1)=>{const{type:$r,props:wa,ref:_i,children:ri,dynamicChildren:fi,shapeFlag:xt,patchFlag:Tt,dirs:pi}=ci;if(_i!=null&&GOe(_i,null,eu,ci,!0),xt&256){Oe.ctx.deactivate(ci);return}const hi=xt&1&&pi,cn=!Nne(ci);let On;if(cn&&(On=wa&&wa.onVnodeBeforeUnmount)&&PF(On,Oe,ci),xt&6)Zr(ci.component,eu,Hi);else{if(xt&128){ci.suspense.unmount(eu,Hi);return}hi&&Uz(ci,null,Oe,"beforeUnmount"),xt&64?ci.type.remove(ci,Oe,eu,Pr,r0,Hi):fi&&($r!==od||Tt>0&&Tt&64)?qi(fi,Oe,eu,!1,!0):($r===od&&Tt&384||!Pr&&xt&16)&&qi(ri,Oe,eu),Hi&&pa(ci)}(cn&&(On=wa&&wa.onVnodeUnmounted)||hi)&&Z5(()=>{On&&PF(On,Oe,ci),hi&&Uz(ci,null,Oe,"unmounted")},eu)},pa=ci=>{const{type:Oe,el:eu,anchor:Hi,transition:Pr}=ci;if(Oe===od){z0(eu,Hi);return}if(Oe===$3e){ye(ci);return}const $r=()=>{a(eu),Pr&&!Pr.persisted&&Pr.afterLeave&&Pr.afterLeave()};if(ci.shapeFlag&1&&Pr&&!Pr.persisted){const{leave:wa,delayLeave:_i}=Pr,ri=()=>wa(eu,$r);_i?_i(ci.el,$r,ri):ri()}else $r()},z0=(ci,Oe)=>{let eu;for(;ci!==Oe;)eu=S(ci),a(ci),ci=eu;a(Oe)},Zr=(ci,Oe,eu)=>{const{bum:Hi,scope:Pr,update:$r,subTree:wa,um:_i}=ci;Hi&&J3e(Hi),Pr.stop(),$r&&($r.active=!1,Tr(wa,ci,Oe,eu)),_i&&Z5(_i,Oe),Z5(()=>{ci.isUnmounted=!0},Oe),Oe&&Oe.pendingBranch&&!Oe.isUnmounted&&ci.asyncDep&&!ci.asyncResolved&&ci.suspenseId===Oe.pendingId&&(Oe.deps--,Oe.deps===0&&Oe.resolve())},qi=(ci,Oe,eu,Hi=!1,Pr=!1,$r=0)=>{for(let wa=$r;waci.shapeFlag&6?eo(ci.component.subTree):ci.shapeFlag&128?ci.suspense.next():S(ci.anchor||ci.el);let Fa=!1;const W0=(ci,Oe,eu)=>{ci==null?Oe._vnode&&Tr(Oe._vnode,null,null,!0):G(Oe._vnode||null,ci,Oe,null,null,null,eu),Fa||(Fa=!0,Cpt(),s6t(),Fa=!1),Oe._vnode=ci},r0={p:G,um:Tr,m:ju,r:pa,mt:ti,mc:Ze,pc:zr,pbc:kt,n:eo,o:r};let qa,Hl;return e&&([qa,Hl]=e(r0)),{render:W0,hydrate:qa,createApp:Udi(W0,qa)}}function aIe({type:r,props:e},i){return i==="svg"&&r==="foreignObject"||i==="mathml"&&r==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:i}function qz({effect:r,update:e},i){r.allowRecurse=e.allowRecurse=i}function u1i(r,e){return(!r||r&&!r.pendingBranch)&&e&&!e.persisted}function y6t(r,e,i=!1){const n=r.children,a=e.children;if(H0(n)&&H0(a))for(let o=0;o>1,r[i[h]]<_?o=h+1:c=h;_0&&(e[n]=i[o-1]),i[o]=n)}}for(o=i.length,c=i[o-1];o-- >0;)i[o]=c,c=e[c];return i}function k6t(r){const e=r.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:k6t(e)}const a1i=r=>r.__isTeleport,od=Symbol.for("v-fgt"),f6e=Symbol.for("v-txt"),OL=Symbol.for("v-cmt"),$3e=Symbol.for("v-stc"),zne=[];let cy=null;function Mu(r=!1){zne.push(cy=r?null:[])}function o1i(){zne.pop(),cy=zne[zne.length-1]||null}let Bue=1;function Npt(r){Bue+=r}function F6t(r){return r.dynamicChildren=Bue>0?cy||qG:null,o1i(),Bue>0&&cy&&cy.push(r),r}function vr(r,e,i,n,a,o){return F6t(si(r,e,i,n,a,o,!0))}function eg(r,e,i,n,a){return F6t(N0(r,e,i,n,a,!0))}function GDe(r){return r?r.__v_isVNode===!0:!1}function Bie(r,e){return r.type===e.type&&r.key===e.key}const m6e="__vInternal",A6t=({key:r})=>r??null,U3e=({ref:r,ref_key:e,ref_for:i})=>(typeof r=="number"&&(r=""+r),r!=null?og(r)||kp(r)||rc(r)?{i:Hg,r,k:e,f:!!i}:r:null);function si(r,e=null,i=null,n=0,a=null,o=r===od?0:1,c=!1,h=!1){const g={__v_isVNode:!0,__v_skip:!0,type:r,props:e,key:e&&A6t(e),ref:e&&U3e(e),scopeId:c6e,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Hg};return h?(DGe(g,i),o&128&&r.normalize(g)):i&&(g.shapeFlag|=og(i)?8:16),Bue>0&&!c&&cy&&(g.patchFlag>0||o&6)&&g.patchFlag!==32&&cy.push(g),g}const N0=s1i;function s1i(r,e=null,i=null,n=0,a=null,o=!1){if((!r||r===bdi)&&(r=OL),GDe(r)){const h=BJ(r,e,!0);return i&&DGe(h,i),Bue>0&&!o&&cy&&(h.shapeFlag&6?cy[cy.indexOf(r)]=h:cy.push(h)),h.patchFlag|=-2,h}if(_1i(r)&&(r=r.__vccOpts),e){e=S6t(e);let{class:h,style:g}=e;h&&!og(h)&&(e.class=Zh(h)),Lf(g)&&(i6t(g)&&!H0(g)&&(g=z_({},g)),e.style=M3(g))}const c=og(r)?1:ydi(r)?128:a1i(r)?64:Lf(r)?4:rc(r)?2:0;return si(r,e,i,n,a,c,o,!0)}function S6t(r){return r?i6t(r)||m6e in r?z_({},r):r:null}function BJ(r,e,i=!1){const{props:n,ref:a,patchFlag:o,children:c}=r,h=e?xGe(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:h,key:h&&A6t(h),ref:e&&e.ref?i&&a?H0(a)?a.concat(U3e(e)):[a,U3e(e)]:U3e(e):a,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:c,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:e&&r.type!==od?o===-1?16:o|16:o,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&BJ(r.ssContent),ssFallback:r.ssFallback&&BJ(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce}}function P0(r=" ",e=0){return N0(f6e,null,r,e)}function l1i(r,e){const i=N0($3e,null,r);return i.staticCount=e,i}function gl(r="",e=!1){return e?(Mu(),eg(OL,null,r)):N0(OL,null,r)}function UF(r){return r==null||typeof r=="boolean"?N0(OL):H0(r)?N0(od,null,r.slice()):typeof r=="object"?KT(r):N0(f6e,null,String(r))}function KT(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:BJ(r)}function DGe(r,e){let i=0;const{shapeFlag:n}=r;if(e==null)e=null;else if(H0(e))i=16;else if(typeof e=="object")if(n&65){const a=e.default;a&&(a._c&&(a._d=!1),DGe(r,a()),a._c&&(a._d=!0));return}else{i=32;const a=e._;!a&&!(m6e in e)?e._ctx=Hg:a===3&&Hg&&(Hg.slots._===1?e._=1:(e._=2,r.patchFlag|=1024))}else rc(e)?(e={default:e,_ctx:Hg},i=32):(e=String(e),n&64?(i=16,e=[P0(e)]):i=8);r.children=e,r.shapeFlag|=i}function xGe(...r){const e={};for(let i=0;i{let a;return(a=r[i])||(a=r[i]=[]),a.push(n),o=>{a.length>1?a.forEach(c=>c(o)):a[0](o)}};JDe=e("__VUE_INSTANCE_SETTERS__",i=>L_=i),JOe=e("__VUE_SSR_SETTERS__",i=>p6e=i)}const cae=r=>{const e=L_;return JDe(r),r.scope.on(),()=>{r.scope.off(),JDe(e)}},Ppt=()=>{L_&&L_.scope.off(),JDe(null)};function B6t(r){return r.vnode.shapeFlag&4}let p6e=!1;function f1i(r,e=!1){e&&JOe(e);const{props:i,children:n}=r.vnode,a=B6t(r);Ydi(r,i,a,e),e1i(r,n);const o=a?m1i(r,e):void 0;return e&&JOe(!1),o}function m1i(r,e){const i=r.type;r.accessCache=Object.create(null),r.proxy=o6e(new Proxy(r.ctx,Vdi));const{setup:n}=i;if(n){const a=r.setupContext=n.length>1?g1i(r):null,o=cae(r);KR();const c=_L(n,r,0,[r.props,a]);if(WR(),o(),Pxt(c)){if(c.then(Ppt,Ppt),e)return c.then(h=>{Mpt(r,h,e)}).catch(h=>{s6e(h,r,0)});r.asyncDep=c}else Mpt(r,c,e)}else w6t(r,e)}function Mpt(r,e,i){rc(e)?r.type.__ssrInlineRender?r.ssrRender=e:r.render=e:Lf(e)&&(r.setupState=r6t(e)),w6t(r,i)}let zpt;function w6t(r,e,i){const n=r.type;if(!r.render){if(!e&&zpt&&!n.render){const a=n.template||EGe(r).template;if(a){const{isCustomElement:o,compilerOptions:c}=r.appContext.config,{delimiters:h,compilerOptions:g}=n,_=z_(z_({isCustomElement:o,delimiters:h},c),g);n.render=zpt(a,_)}}r.render=n.render||WC}{const a=cae(r);KR();try{Hdi(r)}finally{WR(),a()}}}function p1i(r){return r.attrsProxy||(r.attrsProxy=new Proxy(r.attrs,{get(e,i){return mx(r,"get","$attrs"),e[i]}}))}function g1i(r){const e=i=>{r.exposed=i||{}};return{get attrs(){return p1i(r)},slots:r.slots,emit:r.emit,expose:e}}function g6e(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(r6t(o6e(r.exposed)),{get(e,i){if(i in e)return e[i];if(i in Pne)return Pne[i](r)},has(e,i){return i in e||i in Pne}}))}function E1i(r,e=!0){return rc(r)?r.displayName||r.name:r.name||e&&r.__name}function _1i(r){return rc(r)&&"__vccOpts"in r}const j6=(r,e)=>udi(r,e,p6e);function D1i(r,e,i){const n=arguments.length;return n===2?Lf(e)&&!H0(e)?GDe(e)?N0(r,null,[e]):N0(r,e):N0(r,null,e):(n>3?i=Array.prototype.slice.call(arguments,2):n===3&&GDe(i)&&(i=[i]),N0(r,e,i))}const x1i="3.4.13";/** * @vue/runtime-dom v3.4.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -31,14 +31,14 @@ var xci=Object.defineProperty;var vci=(r,e,i)=>e in r?xci(r,e,{enumerable:!0,con See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. - ***************************************************************************** */var i=(()=>{var n=Object.defineProperty,a=Object.getOwnPropertyNames,o=(t,u)=>function(){return t&&(u=(0,t[a(t)[0]])(t=0)),u},c=(t,u)=>function(){return u||(0,t[a(t)[0]])((u={exports:{}}).exports,u),u.exports},h=(t,u)=>{for(var s in u)n(t,s,{get:u[s],enumerable:!0})},g,_,x,y=o({"src/compiler/corePublic.ts"(){g="5.3",_="5.3.3",x=(t=>(t[t.LessThan=-1]="LessThan",t[t.EqualTo=0]="EqualTo",t[t.GreaterThan=1]="GreaterThan",t))(x||{})}});function S(t){return t?t.length:0}function L(t,u){if(t)for(let s=0;s=0;s--){const d=u(t[s],s);if(d)return d}}function G(t,u){if(t!==void 0)for(let s=0;s=0;d--){const f=t[d];if(u(f,d))return f}}function Ue(t,u,s){if(t===void 0)return-1;for(let d=s??0;d=0;d--)if(u(t[d],d))return d;return-1}function rt(t,u){for(let s=0;ss(d,u[f]))}function jt(t,u,s){for(let d=s||0;d{const p=u(f,d);if(p!==void 0){const[E,v]=p;E!==void 0&&v!==void 0&&s.set(E,v)}}),s}function W0(t,u,s){if(t.has(u))return t.get(u);const d=s();return t.set(u,d),d}function r0(t,u){return t.has(u)?!1:(t.add(u),!0)}function*qa(t){yield t}function Hl(t,u,s){let d;if(t){d=[];const f=t.length;let p,E,v=0,b=0;for(;v{const[p,E]=u(f,d);s.set(p,E)}),s}function Oe(t,u){if(t)if(u){for(const s of t)if(u(s))return!0}else return t.length>0;return!1}function eu(t,u,s){let d;for(let f=0;ft[E])}function _i(t,u){const s=[];for(const d of t)xa(s,d,u);return s}function ri(t,u,s){return t.length===0?[]:t.length===1?t.slice():s?wa(t,u,s):_i(t,u)}function fi(t,u){if(t.length===0)return _t;let s=t[0];const d=[s];for(let f=1;f0&&(f&=-2),f&2&&d(p,b)>0&&(f&=-3),p=b}return f}function On(t,u,s=Cx){if(!t||!u)return t===u;if(t.length!==u.length)return!1;for(let d=0;d0&&H.assertGreaterThanOrEqual(s(u[p],u[p-1]),0);t:for(const E=f;fE&&H.assertGreaterThanOrEqual(s(t[f],t[f-1]),0),s(u[p],t[f])){case-1:d.push(u[p]);continue e;case 0:continue e;case 1:continue t}}return d}function xi(t,u){return u===void 0?t:t===void 0?[u]:(t.push(u),t)}function vo(t,u){return t===void 0?u:u===void 0?t:Ha(t)?Ha(u)?Hi(t,u):xi(t,u):Ha(u)?xi(u,t):[t,u]}function Pl(t,u){return u<0?t.length+u:u}function yn(t,u,s,d){if(u===void 0||u.length===0)return t;if(t===void 0)return u.slice(s,d);s=s===void 0?0:Pl(u,s),d=d===void 0?u.length:Pl(u,d);for(let f=s;fs(t[d],t[f])||nl(d,f))}function Ph(t,u){return t.length===0?t:t.slice().sort(u)}function*Cd(t){for(let u=t.length-1;u>=0;u--)yield t[u]}function oc(t,u){const s=$r(t);return Fl(t,s,u),s.map(d=>t[d])}function zi(t,u,s,d){for(;s>1),b=s(t[v],v);switch(d(b,u)){case-1:p=v+1;break;case 0:return v;case 1:E=v-1;break}}return~p}function nn(t,u,s,d,f){if(t&&t.length>0){const p=t.length;if(p>0){let E=d===void 0||d<0?0:d;const v=f===void 0||E+f>p-1?p-1:E+f;let b;for(arguments.length<=2?(b=t[E],E++):b=s;E<=v;)b=u(b,t[E],E),E++;return b}}return s}function gu(t,u){return bx.call(t,u)}function uo(t,u){return bx.call(t,u)?t[u]:void 0}function Ns(t){const u=[];for(const s in t)bx.call(t,s)&&u.push(s);return u}function Bm(t){const u=[];do{const s=Object.getOwnPropertyNames(t);for(const d of s)xa(u,d)}while(t=Object.getPrototypeOf(t));return u}function U1(t){const u=[];for(const s in t)bx.call(t,s)&&u.push(t[s]);return u}function am(t,u){const s=new Array(t);for(let d=0;d100&&s>u.length>>1){const v=u.length-s;u.copyWithin(0,s),u.length=v,s=0}return E}return{enqueue:f,dequeue:p,isEmpty:d}}function aoe(t,u){const s=new Map;let d=0;function*f(){for(const E of s.values())Ha(E)?yield*E:yield E}const p={has(E){const v=t(E);if(!s.has(v))return!1;const b=s.get(v);if(!Ha(b))return u(b,E);for(const B of b)if(u(B,E))return!0;return!1},add(E){const v=t(E);if(s.has(v)){const b=s.get(v);if(Ha(b))kt(b,E,u)||(b.push(E),d++);else{const B=b;u(B,E)||(s.set(v,[B,E]),d++)}}else s.set(v,E),d++;return this},delete(E){const v=t(E);if(!s.has(v))return!1;const b=s.get(v);if(Ha(b)){for(let B=0;Bf(),[Symbol.toStringTag]:s[Symbol.toStringTag]};return p}function Ha(t){return Array.isArray(t)}function YA(t){return Ha(t)?t:[t]}function Ja(t){return typeof t=="string"}function UD(t){return typeof t=="number"}function ur(t,u){return t!==void 0&&u(t)?t:void 0}function Po(t,u){return t!==void 0&&u(t)?t:H.fail(`Invalid cast. The supplied value ${t} did not pass the test '${H.getFunctionName(u)}'.`)}function Is(t){}function cg(){return!1}function J3(){return!0}function hv(){}function il(t){return t}function $Ce(t){return t.toLowerCase()}function $g(t){return r2e.test(t)?t.replace(r2e,$Ce):t}function ho(){throw new Error("Not implemented")}function Mh(t){let u;return()=>(t&&(u=t(),t=void 0),u)}function HE(t){const u=new Map;return s=>{const d=`${typeof s}:${s}`;let f=u.get(d);return f===void 0&&!u.has(d)&&(f=t(s),u.set(d,f)),f}}function fqe(t){const u=new WeakMap;return s=>{let d=u.get(s);return d===void 0&&!u.has(s)&&(d=t(s),u.set(s,d)),d}}function UCe(t,u){return(...s)=>{let d=u.get(s);return d===void 0&&!u.has(s)&&(d=t(...s),u.set(s,d)),d}}function mqe(t,u,s,d,f){if(f){const p=[];for(let E=0;Enn(p,(v,b)=>b(v),E)}else return d?p=>d(s(u(t(p)))):s?p=>s(u(t(p))):u?p=>u(t(p)):t?p=>t(p):p=>p}function Cx(t,u){return t===u}function QA(t,u){return t===u||t!==void 0&&u!==void 0&&t.toUpperCase()===u.toUpperCase()}function XA(t,u){return Cx(t,u)}function pqe(t,u){return t===u?0:t===void 0?-1:u===void 0?1:tu(s,d)===-1?s:d)}function Z$(t,u){return t===u?0:t===void 0?-1:u===void 0?1:(t=t.toUpperCase(),u=u.toUpperCase(),tu?1:0)}function qCe(t,u){return t===u?0:t===void 0?-1:u===void 0?1:(t=t.toLowerCase(),u=u.toLowerCase(),tu?1:0)}function dh(t,u){return pqe(t,u)}function CN(t){return t?Z$:dh}function ZCe(){return poe}function YCe(t){poe!==t&&(poe=t,a2e=void 0)}function pO(t,u){return(a2e||(a2e=_qe(poe)))(t,u)}function QCe(t,u,s,d){return t===u?0:t===void 0?-1:u===void 0?1:d(t[s],u[s])}function d2(t,u){return nl(t?1:0,u?1:0)}function bN(t,u,s){const d=Math.max(2,Math.floor(t.length*.34));let f=Math.floor(t.length*.4)+1,p;for(const E of u){const v=s(E);if(v!==void 0&&Math.abs(v.length-t.length)<=d){if(v===t||v.length<3&&v.toLowerCase()!==t.toLowerCase())continue;const b=vwt(t,v,f-.1);if(b===void 0)continue;H.assert(bs?v-s:1),k=Math.floor(u.length>s+v?s+v:u.length);f[0]=v;let T=v;for(let z=1;zs)return;const M=d;d=f,f=M}const E=d[u.length];return E>s?void 0:E}function sc(t,u){const s=t.length-u.length;return s>=0&&t.indexOf(u,s)===s}function D8(t,u){return sc(t,u)?t.slice(0,t.length-u.length):t}function XCe(t,u){return sc(t,u)?t.slice(0,t.length-u.length):void 0}function soe(t){let u=t.length;for(let s=u-1;s>0;s--){let d=t.charCodeAt(s);if(d>=48&&d<=57)do--s,d=t.charCodeAt(s);while(s>0&&d>=48&&d<=57);else if(s>4&&(d===110||d===78)){if(--s,d=t.charCodeAt(s),d!==105&&d!==73||(--s,d=t.charCodeAt(s),d!==109&&d!==77))break;--s,d=t.charCodeAt(s)}else break;if(d!==45&&d!==46)break;u=s}return u===t.length?t:t.slice(0,u)}function gO(t,u){for(let s=0;ss===u)}function Cwt(t,u){for(let s=0;sf&&(f=E.prefix.length,d=p)}return d}function Pa(t,u){return t.lastIndexOf(u,0)===0}function yN(t,u){return Pa(t,u)?t.substr(u.length):t}function doe(t,u,s=il){return Pa(s(t),s(u))?t.substring(u.length):void 0}function Y$({prefix:t,suffix:u},s){return s.length>=t.length+u.length&&Pa(s,t)&&sc(s,u)}function Q$(t,u){return s=>t(s)&&u(s)}function dg(...t){return(...u)=>{let s;for(const d of t)if(s=d(...u),s)return s;return s}}function X$(t){return(...u)=>!t(...u)}function gqe(t){}function Hy(t){return t===void 0?void 0:[t]}function eU(t,u,s,d,f,p){p=p||Is;let E=0,v=0;const b=t.length,B=u.length;let k=!1;for(;E(t[t.None=0]="None",t[t.CaseSensitive=1]="CaseSensitive",t[t.CaseInsensitive=2]="CaseInsensitive",t[t.Both=3]="Both",t))(foe||{}),qD=Array.prototype.at?(t,u)=>t==null?void 0:t.at(u):(t,u)=>{if(t&&(u=Pl(t,u),u(t[t.None=0]="None",t[t.Normal=1]="Normal",t[t.Aggressive=2]="Aggressive",t[t.VeryAggressive=3]="VeryAggressive",t))(moe||{}),_qe=(()=>{return u;function t(s,d,f){if(s===d)return 0;if(s===void 0)return-1;if(d===void 0)return 1;const p=f(s,d);return p<0?-1:p>0?1:0}function u(s){const d=new Intl.Collator(s,{usage:"sort",sensitivity:"variant"}).compare;return(f,p)=>t(f,p,d)}})()}}),goe,H,ywt=o({"src/compiler/debug.ts"(){Bo(),Bo(),goe=(t=>(t[t.Off=0]="Off",t[t.Error=1]="Error",t[t.Warning=2]="Warning",t[t.Info=3]="Info",t[t.Verbose=4]="Verbose",t))(goe||{}),(t=>{let u=0;t.currentLogLevel=2,t.isDebugging=!1;function s(Si){return t.currentLogLevel<=Si}t.shouldLog=s;function d(Si,Dn){t.loggingHost&&s(Si)&&t.loggingHost.log(Si,Dn)}function f(Si){d(3,Si)}t.log=f,(Si=>{function Dn(Da){d(1,Da)}Si.error=Dn;function Cn(Da){d(2,Da)}Si.warn=Cn;function tu(Da){d(3,Da)}Si.log=tu;function oa(Da){d(4,Da)}Si.trace=oa})(f=t.log||(t.log={}));const p={};function E(){return u}t.getAssertionLevel=E;function v(Si){const Dn=u;if(u=Si,Si>Dn)for(const Cn of Ns(p)){const tu=p[Cn];tu!==void 0&&t[Cn]!==tu.assertion&&Si>=tu.level&&(t[Cn]=tu,p[Cn]=void 0)}}t.setAssertionLevel=v;function b(Si){return u>=Si}t.shouldAssert=b;function B(Si,Dn){return b(Si)?!0:(p[Dn]={level:Si,assertion:t[Dn]},t[Dn]=Is,!1)}function k(Si,Dn){debugger;const Cn=new Error(Si?`Debug Failure. ${Si}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Cn,Dn||k),Cn}t.fail=k;function T(Si,Dn,Cn){return k(`${Dn||"Unexpected node."}\r + ***************************************************************************** */var i=(()=>{var n=Object.defineProperty,a=Object.getOwnPropertyNames,o=(t,u)=>function(){return t&&(u=(0,t[a(t)[0]])(t=0)),u},c=(t,u)=>function(){return u||(0,t[a(t)[0]])((u={exports:{}}).exports,u),u.exports},h=(t,u)=>{for(var s in u)n(t,s,{get:u[s],enumerable:!0})},g,_,x,y=o({"src/compiler/corePublic.ts"(){g="5.3",_="5.3.3",x=(t=>(t[t.LessThan=-1]="LessThan",t[t.EqualTo=0]="EqualTo",t[t.GreaterThan=1]="GreaterThan",t))(x||{})}});function S(t){return t?t.length:0}function L(t,u){if(t)for(let s=0;s=0;s--){const d=u(t[s],s);if(d)return d}}function G(t,u){if(t!==void 0)for(let s=0;s=0;d--){const f=t[d];if(u(f,d))return f}}function Ue(t,u,s){if(t===void 0)return-1;for(let d=s??0;d=0;d--)if(u(t[d],d))return d;return-1}function rt(t,u){for(let s=0;ss(d,u[f]))}function jt(t,u,s){for(let d=s||0;d{const p=u(f,d);if(p!==void 0){const[E,v]=p;E!==void 0&&v!==void 0&&s.set(E,v)}}),s}function W0(t,u,s){if(t.has(u))return t.get(u);const d=s();return t.set(u,d),d}function r0(t,u){return t.has(u)?!1:(t.add(u),!0)}function*qa(t){yield t}function Hl(t,u,s){let d;if(t){d=[];const f=t.length;let p,E,v=0,b=0;for(;v{const[p,E]=u(f,d);s.set(p,E)}),s}function Oe(t,u){if(t)if(u){for(const s of t)if(u(s))return!0}else return t.length>0;return!1}function eu(t,u,s){let d;for(let f=0;ft[E])}function _i(t,u){const s=[];for(const d of t)xa(s,d,u);return s}function ri(t,u,s){return t.length===0?[]:t.length===1?t.slice():s?wa(t,u,s):_i(t,u)}function fi(t,u){if(t.length===0)return _t;let s=t[0];const d=[s];for(let f=1;f0&&(f&=-2),f&2&&d(p,b)>0&&(f&=-3),p=b}return f}function On(t,u,s=Cx){if(!t||!u)return t===u;if(t.length!==u.length)return!1;for(let d=0;d0&&H.assertGreaterThanOrEqual(s(u[p],u[p-1]),0);t:for(const E=f;fE&&H.assertGreaterThanOrEqual(s(t[f],t[f-1]),0),s(u[p],t[f])){case-1:d.push(u[p]);continue e;case 0:continue e;case 1:continue t}}return d}function xi(t,u){return u===void 0?t:t===void 0?[u]:(t.push(u),t)}function vo(t,u){return t===void 0?u:u===void 0?t:Ha(t)?Ha(u)?Hi(t,u):xi(t,u):Ha(u)?xi(u,t):[t,u]}function Pl(t,u){return u<0?t.length+u:u}function yn(t,u,s,d){if(u===void 0||u.length===0)return t;if(t===void 0)return u.slice(s,d);s=s===void 0?0:Pl(u,s),d=d===void 0?u.length:Pl(u,d);for(let f=s;fs(t[d],t[f])||nl(d,f))}function Ph(t,u){return t.length===0?t:t.slice().sort(u)}function*Cd(t){for(let u=t.length-1;u>=0;u--)yield t[u]}function oc(t,u){const s=$r(t);return Fl(t,s,u),s.map(d=>t[d])}function zi(t,u,s,d){for(;s>1),b=s(t[v],v);switch(d(b,u)){case-1:p=v+1;break;case 0:return v;case 1:E=v-1;break}}return~p}function nn(t,u,s,d,f){if(t&&t.length>0){const p=t.length;if(p>0){let E=d===void 0||d<0?0:d;const v=f===void 0||E+f>p-1?p-1:E+f;let b;for(arguments.length<=2?(b=t[E],E++):b=s;E<=v;)b=u(b,t[E],E),E++;return b}}return s}function gu(t,u){return bx.call(t,u)}function uo(t,u){return bx.call(t,u)?t[u]:void 0}function Ns(t){const u=[];for(const s in t)bx.call(t,s)&&u.push(s);return u}function Bm(t){const u=[];do{const s=Object.getOwnPropertyNames(t);for(const d of s)xa(u,d)}while(t=Object.getPrototypeOf(t));return u}function U1(t){const u=[];for(const s in t)bx.call(t,s)&&u.push(t[s]);return u}function am(t,u){const s=new Array(t);for(let d=0;d100&&s>u.length>>1){const v=u.length-s;u.copyWithin(0,s),u.length=v,s=0}return E}return{enqueue:f,dequeue:p,isEmpty:d}}function aoe(t,u){const s=new Map;let d=0;function*f(){for(const E of s.values())Ha(E)?yield*E:yield E}const p={has(E){const v=t(E);if(!s.has(v))return!1;const b=s.get(v);if(!Ha(b))return u(b,E);for(const B of b)if(u(B,E))return!0;return!1},add(E){const v=t(E);if(s.has(v)){const b=s.get(v);if(Ha(b))kt(b,E,u)||(b.push(E),d++);else{const B=b;u(B,E)||(s.set(v,[B,E]),d++)}}else s.set(v,E),d++;return this},delete(E){const v=t(E);if(!s.has(v))return!1;const b=s.get(v);if(Ha(b)){for(let B=0;Bf(),[Symbol.toStringTag]:s[Symbol.toStringTag]};return p}function Ha(t){return Array.isArray(t)}function YA(t){return Ha(t)?t:[t]}function Ja(t){return typeof t=="string"}function UD(t){return typeof t=="number"}function ur(t,u){return t!==void 0&&u(t)?t:void 0}function Po(t,u){return t!==void 0&&u(t)?t:H.fail(`Invalid cast. The supplied value ${t} did not pass the test '${H.getFunctionName(u)}'.`)}function Is(t){}function cg(){return!1}function J3(){return!0}function hv(){}function il(t){return t}function $Ce(t){return t.toLowerCase()}function $g(t){return r2e.test(t)?t.replace(r2e,$Ce):t}function ho(){throw new Error("Not implemented")}function Mh(t){let u;return()=>(t&&(u=t(),t=void 0),u)}function HE(t){const u=new Map;return s=>{const d=`${typeof s}:${s}`;let f=u.get(d);return f===void 0&&!u.has(d)&&(f=t(s),u.set(d,f)),f}}function fqe(t){const u=new WeakMap;return s=>{let d=u.get(s);return d===void 0&&!u.has(s)&&(d=t(s),u.set(s,d)),d}}function UCe(t,u){return(...s)=>{let d=u.get(s);return d===void 0&&!u.has(s)&&(d=t(...s),u.set(s,d)),d}}function mqe(t,u,s,d,f){if(f){const p=[];for(let E=0;Enn(p,(v,b)=>b(v),E)}else return d?p=>d(s(u(t(p)))):s?p=>s(u(t(p))):u?p=>u(t(p)):t?p=>t(p):p=>p}function Cx(t,u){return t===u}function QA(t,u){return t===u||t!==void 0&&u!==void 0&&t.toUpperCase()===u.toUpperCase()}function XA(t,u){return Cx(t,u)}function pqe(t,u){return t===u?0:t===void 0?-1:u===void 0?1:tu(s,d)===-1?s:d)}function Z$(t,u){return t===u?0:t===void 0?-1:u===void 0?1:(t=t.toUpperCase(),u=u.toUpperCase(),tu?1:0)}function qCe(t,u){return t===u?0:t===void 0?-1:u===void 0?1:(t=t.toLowerCase(),u=u.toLowerCase(),tu?1:0)}function dh(t,u){return pqe(t,u)}function CN(t){return t?Z$:dh}function ZCe(){return poe}function YCe(t){poe!==t&&(poe=t,a2e=void 0)}function pO(t,u){return(a2e||(a2e=_qe(poe)))(t,u)}function QCe(t,u,s,d){return t===u?0:t===void 0?-1:u===void 0?1:d(t[s],u[s])}function d2(t,u){return nl(t?1:0,u?1:0)}function bN(t,u,s){const d=Math.max(2,Math.floor(t.length*.34));let f=Math.floor(t.length*.4)+1,p;for(const E of u){const v=s(E);if(v!==void 0&&Math.abs(v.length-t.length)<=d){if(v===t||v.length<3&&v.toLowerCase()!==t.toLowerCase())continue;const b=vwt(t,v,f-.1);if(b===void 0)continue;H.assert(bs?v-s:1),k=Math.floor(u.length>s+v?s+v:u.length);f[0]=v;let T=v;for(let z=1;zs)return;const M=d;d=f,f=M}const E=d[u.length];return E>s?void 0:E}function sc(t,u){const s=t.length-u.length;return s>=0&&t.indexOf(u,s)===s}function D8(t,u){return sc(t,u)?t.slice(0,t.length-u.length):t}function XCe(t,u){return sc(t,u)?t.slice(0,t.length-u.length):void 0}function soe(t){let u=t.length;for(let s=u-1;s>0;s--){let d=t.charCodeAt(s);if(d>=48&&d<=57)do--s,d=t.charCodeAt(s);while(s>0&&d>=48&&d<=57);else if(s>4&&(d===110||d===78)){if(--s,d=t.charCodeAt(s),d!==105&&d!==73||(--s,d=t.charCodeAt(s),d!==109&&d!==77))break;--s,d=t.charCodeAt(s)}else break;if(d!==45&&d!==46)break;u=s}return u===t.length?t:t.slice(0,u)}function gO(t,u){for(let s=0;ss===u)}function Cwt(t,u){for(let s=0;sf&&(f=E.prefix.length,d=p)}return d}function Pa(t,u){return t.lastIndexOf(u,0)===0}function yN(t,u){return Pa(t,u)?t.substr(u.length):t}function doe(t,u,s=il){return Pa(s(t),s(u))?t.substring(u.length):void 0}function Y$({prefix:t,suffix:u},s){return s.length>=t.length+u.length&&Pa(s,t)&&sc(s,u)}function Q$(t,u){return s=>t(s)&&u(s)}function dg(...t){return(...u)=>{let s;for(const d of t)if(s=d(...u),s)return s;return s}}function X$(t){return(...u)=>!t(...u)}function gqe(t){}function Hy(t){return t===void 0?void 0:[t]}function eU(t,u,s,d,f,p){p=p||Is;let E=0,v=0;const b=t.length,B=u.length;let k=!1;for(;E(t[t.None=0]="None",t[t.CaseSensitive=1]="CaseSensitive",t[t.CaseInsensitive=2]="CaseInsensitive",t[t.Both=3]="Both",t))(foe||{}),qD=Array.prototype.at?(t,u)=>t==null?void 0:t.at(u):(t,u)=>{if(t&&(u=Pl(t,u),u(t[t.None=0]="None",t[t.Normal=1]="Normal",t[t.Aggressive=2]="Aggressive",t[t.VeryAggressive=3]="VeryAggressive",t))(moe||{}),_qe=(()=>{return u;function t(s,d,f){if(s===d)return 0;if(s===void 0)return-1;if(d===void 0)return 1;const p=f(s,d);return p<0?-1:p>0?1:0}function u(s){const d=new Intl.Collator(s,{usage:"sort",sensitivity:"variant"}).compare;return(f,p)=>t(f,p,d)}})()}}),goe,H,ywt=o({"src/compiler/debug.ts"(){Bo(),Bo(),goe=(t=>(t[t.Off=0]="Off",t[t.Error=1]="Error",t[t.Warning=2]="Warning",t[t.Info=3]="Info",t[t.Verbose=4]="Verbose",t))(goe||{}),(t=>{let u=0;t.currentLogLevel=2,t.isDebugging=!1;function s(Si){return t.currentLogLevel<=Si}t.shouldLog=s;function d(Si,Dn){t.loggingHost&&s(Si)&&t.loggingHost.log(Si,Dn)}function f(Si){d(3,Si)}t.log=f,(Si=>{function Dn(Da){d(1,Da)}Si.error=Dn;function Cn(Da){d(2,Da)}Si.warn=Cn;function tu(Da){d(3,Da)}Si.log=tu;function oa(Da){d(4,Da)}Si.trace=oa})(f=t.log||(t.log={}));const p={};function E(){return u}t.getAssertionLevel=E;function v(Si){const Dn=u;if(u=Si,Si>Dn)for(const Cn of Ns(p)){const tu=p[Cn];tu!==void 0&&t[Cn]!==tu.assertion&&Si>=tu.level&&(t[Cn]=tu,p[Cn]=void 0)}}t.setAssertionLevel=v;function b(Si){return u>=Si}t.shouldAssert=b;function B(Si,Dn){return b(Si)?!0:(p[Dn]={level:Si,assertion:t[Dn]},t[Dn]=Is,!1)}function k(Si,Dn){debugger;const Cn=new Error(Si?`Debug Failure. ${Si}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Cn,Dn||k),Cn}t.fail=k;function T(Si,Dn,Cn){return k(`${Dn||"Unexpected node."}\r Node ${Ke(Si.kind)} was unexpected.`,Cn||T)}t.failBadSyntaxKind=T;function M(Si,Dn,Cn,tu){Si||(Dn=Dn?`False expression: ${Dn}`:"False expression.",Cn&&(Dn+=`\r -Verbose Debug Information: `+(typeof Cn=="string"?Cn:Cn())),k(Dn,tu||M))}t.assert=M;function z(Si,Dn,Cn,tu,oa){if(Si!==Dn){const Da=Cn?tu?`${Cn} ${tu}`:Cn:"";k(`Expected ${Si} === ${Dn}. ${Da}`,oa||z)}}t.assertEqual=z;function j(Si,Dn,Cn,tu){Si>=Dn&&k(`Expected ${Si} < ${Dn}. ${Cn||""}`,tu||j)}t.assertLessThan=j;function J(Si,Dn,Cn){Si>Dn&&k(`Expected ${Si} <= ${Dn}`,Cn||J)}t.assertLessThanOrEqual=J;function K(Si,Dn,Cn){Si= ${Dn}`,Cn||K)}t.assertGreaterThanOrEqual=K;function Y(Si,Dn,Cn){Si==null&&k(Dn,Cn||Y)}t.assertIsDefined=Y;function oe(Si,Dn,Cn){return Y(Si,Dn,Cn||oe),Si}t.checkDefined=oe;function se(Si,Dn,Cn){for(const tu of Si)Y(tu,Dn,Cn||se)}t.assertEachIsDefined=se;function ge(Si,Dn,Cn){return se(Si,Dn,Cn||ge),Si}t.checkEachDefined=ge;function ae(Si,Dn="Illegal value:",Cn){const tu=typeof Si=="object"&&gu(Si,"kind")&&gu(Si,"pos")?"SyntaxKind: "+Ke(Si.kind):JSON.stringify(Si);return k(`${Dn} ${tu}`,Cn||ae)}t.assertNever=ae;function Ce(Si,Dn,Cn,tu){B(1,"assertEachNode")&&M(Dn===void 0||ye(Si,Dn),Cn||"Unexpected node.",()=>`Node array did not pass test '${xe(Dn)}'.`,tu||Ce)}t.assertEachNode=Ce;function ne(Si,Dn,Cn,tu){B(1,"assertNode")&&M(Si!==void 0&&(Dn===void 0||Dn(Si)),Cn||"Unexpected node.",()=>`Node ${Ke(Si==null?void 0:Si.kind)} did not pass test '${xe(Dn)}'.`,tu||ne)}t.assertNode=ne;function ve(Si,Dn,Cn,tu){B(1,"assertNotNode")&&M(Si===void 0||Dn===void 0||!Dn(Si),Cn||"Unexpected node.",()=>`Node ${Ke(Si.kind)} should not have passed test '${xe(Dn)}'.`,tu||ve)}t.assertNotNode=ve;function Se(Si,Dn,Cn,tu){B(1,"assertOptionalNode")&&M(Dn===void 0||Si===void 0||Dn(Si),Cn||"Unexpected node.",()=>`Node ${Ke(Si==null?void 0:Si.kind)} did not pass test '${xe(Dn)}'.`,tu||Se)}t.assertOptionalNode=Se;function Ne(Si,Dn,Cn,tu){B(1,"assertOptionalToken")&&M(Dn===void 0||Si===void 0||Si.kind===Dn,Cn||"Unexpected node.",()=>`Node ${Ke(Si==null?void 0:Si.kind)} was not a '${Ke(Dn)}' token.`,tu||Ne)}t.assertOptionalToken=Ne;function pe(Si,Dn,Cn){B(1,"assertMissingNode")&&M(Si===void 0,Dn||"Unexpected node.",()=>`Node ${Ke(Si.kind)} was unexpected'.`,Cn||pe)}t.assertMissingNode=pe;function fe(Si){}t.type=fe;function xe(Si){if(typeof Si!="function")return"";if(gu(Si,"name"))return Si.name;{const Dn=Function.prototype.toString.call(Si),Cn=/^function\s+([\w$]+)\s*\(/.exec(Dn);return Cn?Cn[1]:""}}t.getFunctionName=xe;function Be(Si){return`{ name: ${Yr(Si.escapedName)}; flags: ${Yt(Si.flags)}; declarations: ${Vt(Si.declarations,Dn=>Ke(Dn.kind))} }`}t.formatSymbol=Be;function Ge(Si=0,Dn,Cn){const tu=De(Dn);if(Si===0)return tu.length>0&&tu[0][0]===0?tu[0][1]:"0";if(Cn){const oa=[];let Da=Si;for(const[ua,Ta]of tu){if(ua>Si)break;ua!==0&&ua&Si&&(oa.push(Ta),Da&=~ua)}if(Da===0)return oa.join("|")}else for(const[oa,Da]of tu)if(oa===Si)return Da;return Si.toString()}t.formatEnum=Ge;const Ae=new Map;function De(Si){const Dn=Ae.get(Si);if(Dn)return Dn;const Cn=[];for(const oa in Si){const Da=Si[oa];typeof Da=="number"&&Cn.push([Da,oa])}const tu=oc(Cn,(oa,Da)=>nl(oa[0],Da[0]));return Ae.set(Si,tu),tu}function Ke(Si){return Ge(Si,uU,!1)}t.formatSyntaxKind=Ke;function Je(Si){return Ge(Si,EU,!1)}t.formatSnippetKind=Je;function ft(Si){return Ge(Si,pU,!1)}t.formatScriptKind=ft;function Ye(Si){return Ge(Si,rU,!0)}t.formatNodeFlags=Ye;function Ve(Si){return Ge(Si,aU,!0)}t.formatModifierFlags=Ve;function We(Si){return Ge(Si,gU,!0)}t.formatTransformFlags=We;function Gt(Si){return Ge(Si,_U,!0)}t.formatEmitFlags=Gt;function Yt(Si){return Ge(Si,dU,!0)}t.formatSymbolFlags=Yt;function Ie(Si){return Ge(Si,hU,!0)}t.formatTypeFlags=Ie;function st(Si){return Ge(Si,mU,!0)}t.formatSignatureFlags=st;function St(Si){return Ge(Si,fU,!0)}t.formatObjectFlags=St;function It(Si){return Ge(Si,xO,!0)}t.formatFlowFlags=It;function ei(Si){return Ge(Si,oU,!0)}t.formatRelationComparisonResult=ei;function ht(Si){return Ge(Si,XY,!0)}t.formatCheckMode=ht;function Ut(Si){return Ge(Si,eQ,!0)}t.formatSignatureCheckMode=Ut;function Ni(Si){return Ge(Si,QY,!0)}t.formatTypeFacts=Ni;let ji=!1,xn;function Jn(Si){"__debugFlowFlags"in Si||Object.defineProperties(Si,{__tsDebuggerDisplay:{value(){const Dn=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",Cn=this.flags&-2048;return`${Dn}${Cn?` (${It(Cn)})`:""}`}},__debugFlowFlags:{get(){return Ge(this.flags,xO,!0)}},__debugToString:{value(){return Ln(this)}}})}function an(Si){ji&&(typeof Object.setPrototypeOf=="function"?(xn||(xn=Object.create(Object.prototype),Jn(xn)),Object.setPrototypeOf(Si,xn)):Jn(Si))}t.attachFlowNodeDebugInfo=an;let Pi;function Ai(Si){"__tsDebuggerDisplay"in Si||Object.defineProperties(Si,{__tsDebuggerDisplay:{value(Dn){return Dn=String(Dn).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${Dn}`}}})}function Zu(Si){ji&&(typeof Object.setPrototypeOf=="function"?(Pi||(Pi=Object.create(Array.prototype),Ai(Pi)),Object.setPrototypeOf(Si,Pi)):Ai(Si))}t.attachNodeArrayDebugInfo=Zu;function aa(){if(ji)return;const Si=new WeakMap,Dn=new WeakMap;Object.defineProperties(Qd.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const tu=this.flags&33554432?"TransientSymbol":"Symbol",oa=this.flags&-33554433;return`${tu} '${lc(this)}'${oa?` (${Yt(oa)})`:""}`}},__debugFlags:{get(){return Yt(this.flags)}}}),Object.defineProperties(Qd.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){const tu=this.flags&67359327?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`:this.flags&98304?"NullableType":this.flags&384?`LiteralType ${JSON.stringify(this.value)}`:this.flags&2048?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:this.flags&8192?"UniqueESSymbolType":this.flags&32?"EnumType":this.flags&1048576?"UnionType":this.flags&2097152?"IntersectionType":this.flags&4194304?"IndexType":this.flags&8388608?"IndexedAccessType":this.flags&16777216?"ConditionalType":this.flags&33554432?"SubstitutionType":this.flags&262144?"TypeParameter":this.flags&524288?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",oa=this.flags&524288?this.objectFlags&-1344:0;return`${tu}${this.symbol?` '${lc(this.symbol)}'`:""}${oa?` (${St(oa)})`:""}`}},__debugFlags:{get(){return Ie(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?St(this.objectFlags):""}},__debugTypeToString:{value(){let tu=Si.get(this);return tu===void 0&&(tu=this.checker.typeToString(this),Si.set(this,tu)),tu}}}),Object.defineProperties(Qd.getSignatureConstructor().prototype,{__debugFlags:{get(){return st(this.flags)}},__debugSignatureToString:{value(){var tu;return(tu=this.checker)==null?void 0:tu.signatureToString(this)}}});const Cn=[Qd.getNodeConstructor(),Qd.getIdentifierConstructor(),Qd.getTokenConstructor(),Qd.getSourceFileConstructor()];for(const tu of Cn)gu(tu.prototype,"__debugKind")||Object.defineProperties(tu.prototype,{__tsDebuggerDisplay:{value(){return`${al(this)?"GeneratedIdentifier":at(this)?`Identifier '${fu(this)}'`:Xr(this)?`PrivateIdentifier '${fu(this)}'`:us(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:Of(this)?`NumericLiteral ${this.text}`:iY(this)?`BigIntLiteral ${this.text}n`:Bl(this)?"TypeParameterDeclaration":io(this)?"ParameterDeclaration":hc(this)?"ConstructorDeclaration":zm(this)?"GetAccessorDeclaration":jf(this)?"SetAccessorDeclaration":CB(this)?"CallSignatureDeclaration":FV(this)?"ConstructSignatureDeclaration":Ek(this)?"IndexSignatureDeclaration":aY(this)?"TypePredicateNode":X4(this)?"TypeReferenceNode":u3(this)?"FunctionTypeNode":WP(this)?"ConstructorTypeNode":bB(this)?"TypeQueryNode":fm(this)?"TypeLiteralNode":oY(this)?"ArrayTypeNode":yB(this)?"TupleTypeNode":Dce(this)?"OptionalTypeNode":xce(this)?"RestTypeNode":Pv(this)?"UnionTypeNode":kB(this)?"IntersectionTypeNode":FB(this)?"ConditionalTypeNode":P7(this)?"InferTypeNode":M7(this)?"ParenthesizedTypeNode":sY(this)?"ThisTypeNode":z7(this)?"TypeOperatorNode":I7(this)?"IndexedAccessTypeNode":JP(this)?"MappedTypeNode":Mv(this)?"LiteralTypeNode":GP(this)?"NamedTupleMember":nD(this)?"ImportTypeNode":Ke(this.kind)}${this.flags?` (${Ye(this.flags)})`:""}`}},__debugKind:{get(){return Ke(this.kind)}},__debugNodeFlags:{get(){return Ye(this.flags)}},__debugModifierFlags:{get(){return Ve(Nye(this))}},__debugTransformFlags:{get(){return We(this.transformFlags)}},__debugIsParseTreeNode:{get(){return zN(this)}},__debugEmitFlags:{get(){return Gt(bs(this))}},__debugGetText:{value(oa){if(sl(this))return"";let Da=Dn.get(this);if(Da===void 0){const ua=Ua(this),Ta=ua&&zn(ua);Da=Ta?x2(Ta,ua,oa):"",Dn.set(this,Da)}return Da}}});ji=!0}t.enableDebugInfo=aa;function yr(Si){const Dn=Si&7;let Cn=Dn===0?"in out":Dn===3?"[bivariant]":Dn===2?"in":Dn===1?"out":Dn===4?"[independent]":"";return Si&8?Cn+=" (unmeasurable)":Si&16&&(Cn+=" (unreliable)"),Cn}t.formatVariance=yr;class Ba{__debugToString(){var Dn;switch(this.kind){case 3:return((Dn=this.debugInfo)==null?void 0:Dn.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return re(this.sources,this.targets||Vt(this.sources,()=>"any"),(Cn,tu)=>`${Cn.__debugTypeToString()} -> ${typeof tu=="string"?tu:tu.__debugTypeToString()}`).join(", ");case 2:return re(this.sources,this.targets,(Cn,tu)=>`${Cn.__debugTypeToString()} -> ${tu().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` +Verbose Debug Information: `+(typeof Cn=="string"?Cn:Cn())),k(Dn,tu||M))}t.assert=M;function z(Si,Dn,Cn,tu,oa){if(Si!==Dn){const Da=Cn?tu?`${Cn} ${tu}`:Cn:"";k(`Expected ${Si} === ${Dn}. ${Da}`,oa||z)}}t.assertEqual=z;function j(Si,Dn,Cn,tu){Si>=Dn&&k(`Expected ${Si} < ${Dn}. ${Cn||""}`,tu||j)}t.assertLessThan=j;function J(Si,Dn,Cn){Si>Dn&&k(`Expected ${Si} <= ${Dn}`,Cn||J)}t.assertLessThanOrEqual=J;function K(Si,Dn,Cn){Si= ${Dn}`,Cn||K)}t.assertGreaterThanOrEqual=K;function Y(Si,Dn,Cn){Si==null&&k(Dn,Cn||Y)}t.assertIsDefined=Y;function oe(Si,Dn,Cn){return Y(Si,Dn,Cn||oe),Si}t.checkDefined=oe;function se(Si,Dn,Cn){for(const tu of Si)Y(tu,Dn,Cn||se)}t.assertEachIsDefined=se;function ge(Si,Dn,Cn){return se(Si,Dn,Cn||ge),Si}t.checkEachDefined=ge;function ae(Si,Dn="Illegal value:",Cn){const tu=typeof Si=="object"&&gu(Si,"kind")&&gu(Si,"pos")?"SyntaxKind: "+Ke(Si.kind):JSON.stringify(Si);return k(`${Dn} ${tu}`,Cn||ae)}t.assertNever=ae;function Ce(Si,Dn,Cn,tu){B(1,"assertEachNode")&&M(Dn===void 0||ye(Si,Dn),Cn||"Unexpected node.",()=>`Node array did not pass test '${xe(Dn)}'.`,tu||Ce)}t.assertEachNode=Ce;function ne(Si,Dn,Cn,tu){B(1,"assertNode")&&M(Si!==void 0&&(Dn===void 0||Dn(Si)),Cn||"Unexpected node.",()=>`Node ${Ke(Si==null?void 0:Si.kind)} did not pass test '${xe(Dn)}'.`,tu||ne)}t.assertNode=ne;function ve(Si,Dn,Cn,tu){B(1,"assertNotNode")&&M(Si===void 0||Dn===void 0||!Dn(Si),Cn||"Unexpected node.",()=>`Node ${Ke(Si.kind)} should not have passed test '${xe(Dn)}'.`,tu||ve)}t.assertNotNode=ve;function Se(Si,Dn,Cn,tu){B(1,"assertOptionalNode")&&M(Dn===void 0||Si===void 0||Dn(Si),Cn||"Unexpected node.",()=>`Node ${Ke(Si==null?void 0:Si.kind)} did not pass test '${xe(Dn)}'.`,tu||Se)}t.assertOptionalNode=Se;function Ne(Si,Dn,Cn,tu){B(1,"assertOptionalToken")&&M(Dn===void 0||Si===void 0||Si.kind===Dn,Cn||"Unexpected node.",()=>`Node ${Ke(Si==null?void 0:Si.kind)} was not a '${Ke(Dn)}' token.`,tu||Ne)}t.assertOptionalToken=Ne;function pe(Si,Dn,Cn){B(1,"assertMissingNode")&&M(Si===void 0,Dn||"Unexpected node.",()=>`Node ${Ke(Si.kind)} was unexpected'.`,Cn||pe)}t.assertMissingNode=pe;function fe(Si){}t.type=fe;function xe(Si){if(typeof Si!="function")return"";if(gu(Si,"name"))return Si.name;{const Dn=Function.prototype.toString.call(Si),Cn=/^function\s+([\w$]+)\s*\(/.exec(Dn);return Cn?Cn[1]:""}}t.getFunctionName=xe;function Be(Si){return`{ name: ${Qr(Si.escapedName)}; flags: ${Yt(Si.flags)}; declarations: ${Vt(Si.declarations,Dn=>Ke(Dn.kind))} }`}t.formatSymbol=Be;function Ge(Si=0,Dn,Cn){const tu=De(Dn);if(Si===0)return tu.length>0&&tu[0][0]===0?tu[0][1]:"0";if(Cn){const oa=[];let Da=Si;for(const[ra,Ta]of tu){if(ra>Si)break;ra!==0&&ra&Si&&(oa.push(Ta),Da&=~ra)}if(Da===0)return oa.join("|")}else for(const[oa,Da]of tu)if(oa===Si)return Da;return Si.toString()}t.formatEnum=Ge;const Ae=new Map;function De(Si){const Dn=Ae.get(Si);if(Dn)return Dn;const Cn=[];for(const oa in Si){const Da=Si[oa];typeof Da=="number"&&Cn.push([Da,oa])}const tu=oc(Cn,(oa,Da)=>nl(oa[0],Da[0]));return Ae.set(Si,tu),tu}function Ke(Si){return Ge(Si,uU,!1)}t.formatSyntaxKind=Ke;function Je(Si){return Ge(Si,EU,!1)}t.formatSnippetKind=Je;function ft(Si){return Ge(Si,pU,!1)}t.formatScriptKind=ft;function Ye(Si){return Ge(Si,rU,!0)}t.formatNodeFlags=Ye;function Ve(Si){return Ge(Si,aU,!0)}t.formatModifierFlags=Ve;function We(Si){return Ge(Si,gU,!0)}t.formatTransformFlags=We;function Gt(Si){return Ge(Si,_U,!0)}t.formatEmitFlags=Gt;function Yt(Si){return Ge(Si,dU,!0)}t.formatSymbolFlags=Yt;function Ie(Si){return Ge(Si,hU,!0)}t.formatTypeFlags=Ie;function st(Si){return Ge(Si,mU,!0)}t.formatSignatureFlags=st;function St(Si){return Ge(Si,fU,!0)}t.formatObjectFlags=St;function It(Si){return Ge(Si,xO,!0)}t.formatFlowFlags=It;function ei(Si){return Ge(Si,oU,!0)}t.formatRelationComparisonResult=ei;function ht(Si){return Ge(Si,XY,!0)}t.formatCheckMode=ht;function Ut(Si){return Ge(Si,eQ,!0)}t.formatSignatureCheckMode=Ut;function Ni(Si){return Ge(Si,QY,!0)}t.formatTypeFacts=Ni;let ji=!1,xn;function Jn(Si){"__debugFlowFlags"in Si||Object.defineProperties(Si,{__tsDebuggerDisplay:{value(){const Dn=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",Cn=this.flags&-2048;return`${Dn}${Cn?` (${It(Cn)})`:""}`}},__debugFlowFlags:{get(){return Ge(this.flags,xO,!0)}},__debugToString:{value(){return Ln(this)}}})}function an(Si){ji&&(typeof Object.setPrototypeOf=="function"?(xn||(xn=Object.create(Object.prototype),Jn(xn)),Object.setPrototypeOf(Si,xn)):Jn(Si))}t.attachFlowNodeDebugInfo=an;let Pi;function Ai(Si){"__tsDebuggerDisplay"in Si||Object.defineProperties(Si,{__tsDebuggerDisplay:{value(Dn){return Dn=String(Dn).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${Dn}`}}})}function Zu(Si){ji&&(typeof Object.setPrototypeOf=="function"?(Pi||(Pi=Object.create(Array.prototype),Ai(Pi)),Object.setPrototypeOf(Si,Pi)):Ai(Si))}t.attachNodeArrayDebugInfo=Zu;function aa(){if(ji)return;const Si=new WeakMap,Dn=new WeakMap;Object.defineProperties(Qd.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const tu=this.flags&33554432?"TransientSymbol":"Symbol",oa=this.flags&-33554433;return`${tu} '${lc(this)}'${oa?` (${Yt(oa)})`:""}`}},__debugFlags:{get(){return Yt(this.flags)}}}),Object.defineProperties(Qd.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){const tu=this.flags&67359327?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`:this.flags&98304?"NullableType":this.flags&384?`LiteralType ${JSON.stringify(this.value)}`:this.flags&2048?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:this.flags&8192?"UniqueESSymbolType":this.flags&32?"EnumType":this.flags&1048576?"UnionType":this.flags&2097152?"IntersectionType":this.flags&4194304?"IndexType":this.flags&8388608?"IndexedAccessType":this.flags&16777216?"ConditionalType":this.flags&33554432?"SubstitutionType":this.flags&262144?"TypeParameter":this.flags&524288?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",oa=this.flags&524288?this.objectFlags&-1344:0;return`${tu}${this.symbol?` '${lc(this.symbol)}'`:""}${oa?` (${St(oa)})`:""}`}},__debugFlags:{get(){return Ie(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?St(this.objectFlags):""}},__debugTypeToString:{value(){let tu=Si.get(this);return tu===void 0&&(tu=this.checker.typeToString(this),Si.set(this,tu)),tu}}}),Object.defineProperties(Qd.getSignatureConstructor().prototype,{__debugFlags:{get(){return st(this.flags)}},__debugSignatureToString:{value(){var tu;return(tu=this.checker)==null?void 0:tu.signatureToString(this)}}});const Cn=[Qd.getNodeConstructor(),Qd.getIdentifierConstructor(),Qd.getTokenConstructor(),Qd.getSourceFileConstructor()];for(const tu of Cn)gu(tu.prototype,"__debugKind")||Object.defineProperties(tu.prototype,{__tsDebuggerDisplay:{value(){return`${al(this)?"GeneratedIdentifier":at(this)?`Identifier '${fu(this)}'`:ea(this)?`PrivateIdentifier '${fu(this)}'`:us(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:Of(this)?`NumericLiteral ${this.text}`:iY(this)?`BigIntLiteral ${this.text}n`:Bl(this)?"TypeParameterDeclaration":io(this)?"ParameterDeclaration":hc(this)?"ConstructorDeclaration":zm(this)?"GetAccessorDeclaration":jf(this)?"SetAccessorDeclaration":CB(this)?"CallSignatureDeclaration":FV(this)?"ConstructSignatureDeclaration":Ek(this)?"IndexSignatureDeclaration":aY(this)?"TypePredicateNode":X4(this)?"TypeReferenceNode":u3(this)?"FunctionTypeNode":WP(this)?"ConstructorTypeNode":bB(this)?"TypeQueryNode":fm(this)?"TypeLiteralNode":oY(this)?"ArrayTypeNode":yB(this)?"TupleTypeNode":Dce(this)?"OptionalTypeNode":xce(this)?"RestTypeNode":Pv(this)?"UnionTypeNode":kB(this)?"IntersectionTypeNode":FB(this)?"ConditionalTypeNode":P7(this)?"InferTypeNode":M7(this)?"ParenthesizedTypeNode":sY(this)?"ThisTypeNode":z7(this)?"TypeOperatorNode":I7(this)?"IndexedAccessTypeNode":JP(this)?"MappedTypeNode":Mv(this)?"LiteralTypeNode":GP(this)?"NamedTupleMember":nD(this)?"ImportTypeNode":Ke(this.kind)}${this.flags?` (${Ye(this.flags)})`:""}`}},__debugKind:{get(){return Ke(this.kind)}},__debugNodeFlags:{get(){return Ye(this.flags)}},__debugModifierFlags:{get(){return Ve(Nye(this))}},__debugTransformFlags:{get(){return We(this.transformFlags)}},__debugIsParseTreeNode:{get(){return zN(this)}},__debugEmitFlags:{get(){return Gt(bs(this))}},__debugGetText:{value(oa){if(sl(this))return"";let Da=Dn.get(this);if(Da===void 0){const ra=Ua(this),Ta=ra&&zn(ra);Da=Ta?x2(Ta,ra,oa):"",Dn.set(this,Da)}return Da}}});ji=!0}t.enableDebugInfo=aa;function yr(Si){const Dn=Si&7;let Cn=Dn===0?"in out":Dn===3?"[bivariant]":Dn===2?"in":Dn===1?"out":Dn===4?"[independent]":"";return Si&8?Cn+=" (unmeasurable)":Si&16&&(Cn+=" (unreliable)"),Cn}t.formatVariance=yr;class Ba{__debugToString(){var Dn;switch(this.kind){case 3:return((Dn=this.debugInfo)==null?void 0:Dn.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return re(this.sources,this.targets||Vt(this.sources,()=>"any"),(Cn,tu)=>`${Cn.__debugTypeToString()} -> ${typeof tu=="string"?tu:tu.__debugTypeToString()}`).join(", ");case 2:return re(this.sources,this.targets,(Cn,tu)=>`${Cn.__debugTypeToString()} -> ${tu().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` `).join(` `)} m2: ${this.mapper2.__debugToString().split(` `).join(` - `)}`;default:return ae(this)}}}t.DebugTypeMapper=Ba;function bt(Si){return t.isDebugging?Object.setPrototypeOf(Si,Ba.prototype):Si}t.attachDebugPrototypeIfDebug=bt;function jn(Si){return console.log(Ln(Si))}t.printControlFlowGraph=jn;function Ln(Si){let Dn=-1;function Cn(de){return de.id||(de.id=Dn,Dn--),de.id}let tu;(de=>{de.lr="─",de.ud="│",de.dr="╭",de.dl="╮",de.ul="╯",de.ur="╰",de.udr="├",de.udl="┤",de.dlr="┬",de.ulr="┴",de.udlr="╫"})(tu||(tu={}));let oa;(de=>{de[de.None=0]="None",de[de.Up=1]="Up",de[de.Down=2]="Down",de[de.Left=4]="Left",de[de.Right=8]="Right",de[de.UpDown=3]="UpDown",de[de.LeftRight=12]="LeftRight",de[de.UpLeft=5]="UpLeft",de[de.UpRight=9]="UpRight",de[de.DownLeft=6]="DownLeft",de[de.DownRight=10]="DownRight",de[de.UpDownLeft=7]="UpDownLeft",de[de.UpDownRight=11]="UpDownRight",de[de.UpLeftRight=13]="UpLeftRight",de[de.DownLeftRight=14]="DownLeftRight",de[de.UpDownLeftRight=15]="UpDownLeftRight",de[de.NoChildren=16]="NoChildren"})(oa||(oa={}));const Da=2032,ua=882,Ta=Object.create(null),Yo=[],bo=ii(Si,new Set);for(const de of Yo)de.text=Qi(de.flowNode,de.circular),ni(de);const Qe=vi(bo),Et=mt(Qe);return Ot(bo,0),on();function Mt(de){return!!(de.flags&128)}function qt(de){return!!(de.flags&12)&&!!de.antecedents}function Xt(de){return!!(de.flags&Da)}function Pe(de){return!!(de.flags&ua)}function et(de){const je=[];for(const X of de.edges)X.source===de&&je.push(X.target);return je}function gt(de){const je=[];for(const X of de.edges)X.target===de&&je.push(X.source);return je}function ii(de,je){const X=Cn(de);let it=Ta[X];if(it&&je.has(de))return it.circular=!0,it={id:-1,flowNode:de,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},Yo.push(it),it;if(je.add(de),!it)if(Ta[X]=it={id:X,flowNode:de,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},Yo.push(it),qt(de))for(const Ct of de.antecedents)me(it,Ct,je);else Xt(de)&&me(it,de.antecedent,je);return je.delete(de),it}function me(de,je,X){const it=ii(je,X),Ct={source:de,target:it};de.edges.push(Ct),it.edges.push(Ct)}function ni(de){if(de.level!==-1)return de.level;let je=0;for(const X of gt(de))je=Math.max(je,ni(X)+1);return de.level=je}function vi(de){let je=0;for(const X of et(de))je=Math.max(je,vi(X));return je+1}function mt(de){const je=te(Array(de),0);for(const X of Yo)je[X.level]=Math.max(je[X.level],X.text.length);return je}function Ot(de,je){if(de.lane===-1){de.lane=je,de.endLane=je;const X=et(de);for(let it=0;it0&&je++;const Ct=X[it];Ot(Ct,je),Ct.endLane>de.endLane&&(je=Ct.endLane)}de.endLane=je}}function Ei(de){if(de&2)return"Start";if(de&4)return"Branch";if(de&8)return"Loop";if(de&16)return"Assignment";if(de&32)return"True";if(de&64)return"False";if(de&128)return"SwitchClause";if(de&256)return"ArrayMutation";if(de&512)return"Call";if(de&1024)return"ReduceLabel";if(de&1)return"Unreachable";throw new Error}function $i(de){const je=zn(de);return x2(je,de,!1)}function Qi(de,je){let X=Ei(de.flags);if(je&&(X=`${X}#${Cn(de)}`),Pe(de))de.node&&(X+=` (${$i(de.node)})`);else if(Mt(de)){const it=[];for(let Ct=de.clauseStart;CtMath.max(Qt,Li.lane),0)+1,X=te(Array(je),""),it=Et.map(()=>Array(je)),Ct=Et.map(()=>te(Array(je),0));for(const Qt of Yo){it[Qt.level][Qt.lane]=Qt;const Li=et(Qt);for(let Sn=0;Sn0&&(Ru|=1),Sn0&&(Ru|=1),Sn0?Ct[Qt-1][Li]:0,Sn=Li>0?Ct[Qt][Li-1]:0;let du=Ct[Qt][Li];du||(Ui&8&&(du|=12),Sn&2&&(du|=3),Ct[Qt][Li]=du)}for(let Qt=0;Qt{de.lr="─",de.ud="│",de.dr="╭",de.dl="╮",de.ul="╯",de.ur="╰",de.udr="├",de.udl="┤",de.dlr="┬",de.ulr="┴",de.udlr="╫"})(tu||(tu={}));let oa;(de=>{de[de.None=0]="None",de[de.Up=1]="Up",de[de.Down=2]="Down",de[de.Left=4]="Left",de[de.Right=8]="Right",de[de.UpDown=3]="UpDown",de[de.LeftRight=12]="LeftRight",de[de.UpLeft=5]="UpLeft",de[de.UpRight=9]="UpRight",de[de.DownLeft=6]="DownLeft",de[de.DownRight=10]="DownRight",de[de.UpDownLeft=7]="UpDownLeft",de[de.UpDownRight=11]="UpDownRight",de[de.UpLeftRight=13]="UpLeftRight",de[de.DownLeftRight=14]="DownLeftRight",de[de.UpDownLeftRight=15]="UpDownLeftRight",de[de.NoChildren=16]="NoChildren"})(oa||(oa={}));const Da=2032,ra=882,Ta=Object.create(null),Yo=[],bo=ii(Si,new Set);for(const de of Yo)de.text=Qi(de.flowNode,de.circular),ni(de);const Qe=vi(bo),Et=mt(Qe);return Ot(bo,0),on();function Mt(de){return!!(de.flags&128)}function qt(de){return!!(de.flags&12)&&!!de.antecedents}function Xt(de){return!!(de.flags&Da)}function Pe(de){return!!(de.flags&ra)}function et(de){const je=[];for(const X of de.edges)X.source===de&&je.push(X.target);return je}function gt(de){const je=[];for(const X of de.edges)X.target===de&&je.push(X.source);return je}function ii(de,je){const X=Cn(de);let it=Ta[X];if(it&&je.has(de))return it.circular=!0,it={id:-1,flowNode:de,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},Yo.push(it),it;if(je.add(de),!it)if(Ta[X]=it={id:X,flowNode:de,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},Yo.push(it),qt(de))for(const Ct of de.antecedents)me(it,Ct,je);else Xt(de)&&me(it,de.antecedent,je);return je.delete(de),it}function me(de,je,X){const it=ii(je,X),Ct={source:de,target:it};de.edges.push(Ct),it.edges.push(Ct)}function ni(de){if(de.level!==-1)return de.level;let je=0;for(const X of gt(de))je=Math.max(je,ni(X)+1);return de.level=je}function vi(de){let je=0;for(const X of et(de))je=Math.max(je,vi(X));return je+1}function mt(de){const je=te(Array(de),0);for(const X of Yo)je[X.level]=Math.max(je[X.level],X.text.length);return je}function Ot(de,je){if(de.lane===-1){de.lane=je,de.endLane=je;const X=et(de);for(let it=0;it0&&je++;const Ct=X[it];Ot(Ct,je),Ct.endLane>de.endLane&&(je=Ct.endLane)}de.endLane=je}}function Ei(de){if(de&2)return"Start";if(de&4)return"Branch";if(de&8)return"Loop";if(de&16)return"Assignment";if(de&32)return"True";if(de&64)return"False";if(de&128)return"SwitchClause";if(de&256)return"ArrayMutation";if(de&512)return"Call";if(de&1024)return"ReduceLabel";if(de&1)return"Unreachable";throw new Error}function $i(de){const je=zn(de);return x2(je,de,!1)}function Qi(de,je){let X=Ei(de.flags);if(je&&(X=`${X}#${Cn(de)}`),Pe(de))de.node&&(X+=` (${$i(de.node)})`);else if(Mt(de)){const it=[];for(let Ct=de.clauseStart;CtMath.max(Qt,Li.lane),0)+1,X=te(Array(je),""),it=Et.map(()=>Array(je)),Ct=Et.map(()=>te(Array(je),0));for(const Qt of Yo){it[Qt.level][Qt.lane]=Qt;const Li=et(Qt);for(let Sn=0;Sn0&&(Ru|=1),Sn0&&(Ru|=1),Sn0?Ct[Qt-1][Li]:0,Sn=Li>0?Ct[Qt][Li-1]:0;let du=Ct[Qt][Li];du||(Ui&8&&(du|=12),Sn&2&&(du|=3),Ct[Qt][Li]=du)}for(let Qt=0;Qt0?de.repeat(je):"";let X="";for(;X.length=",d.version)),j4(f.major)||s.push(j4(f.minor)?KE("<",f.version.increment("major")):j4(f.patch)?KE("<",f.version.increment("minor")):KE("<=",f.version)),!0):!1}function Awt(t,u,s){const d=o2e(u);if(!d)return!1;const{version:f,major:p,minor:E,patch:v}=d;if(j4(p))(t==="<"||t===">")&&s.push(KE("<",Lp.zero));else switch(t){case"~":s.push(KE(">=",f)),s.push(KE("<",f.increment(j4(E)?"major":"minor")));break;case"^":s.push(KE(">=",f)),s.push(KE("<",f.increment(f.major>0||j4(E)?"major":f.minor>0||j4(v)?"minor":"patch")));break;case"<":case">=":s.push(j4(E)||j4(v)?KE(t,f.with({prerelease:"0"})):KE(t,f));break;case"<=":case">":s.push(j4(E)?KE(t==="<="?"<":">=",f.increment("major").with({prerelease:"0"})):j4(v)?KE(t==="<="?"<":">=",f.increment("minor").with({prerelease:"0"})):KE(t,f));break;case"=":case void 0:j4(E)||j4(v)?(s.push(KE(">=",f.with({prerelease:"0"}))),s.push(KE("<",f.increment(j4(E)?"major":"minor").with({prerelease:"0"})))):s.push(KE("=",f));break;default:return!1}return!0}function j4(t){return t==="*"||t==="x"||t==="X"}function KE(t,u){return{operator:t,operand:u}}function Swt(t,u){if(u.length===0)return!0;for(const s of u)if(Bwt(t,s))return!0;return!1}function Bwt(t,u){for(const s of u)if(!wwt(t,s.operator,s.operand))return!1;return!0}function wwt(t,u,s){const d=t.compareTo(s);switch(u){case"<":return d<0;case"<=":return d<=0;case">":return d>0;case">=":return d>=0;case"=":return d===0;default:return H.assertNever(u)}}function Twt(t){return Vt(t,Lwt).join(" || ")||"*"}function Lwt(t){return Vt(t,Nwt).join(" ")}function Nwt(t){return`${t.operator}${t.operand}`}var vqe,Cqe,bqe,yqe,kqe,s2e,Eoe,Lp,EO,Fqe,Aqe,Sqe,Bqe,wqe,Pwt=o({"src/compiler/semver.ts"(){Bo(),vqe=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,Cqe=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,bqe=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,yqe=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,kqe=/^[a-z0-9-]+$/i,s2e=/^(0|[1-9]\d*)$/,Eoe=class fG{constructor(u,s=0,d=0,f="",p=""){typeof u=="string"&&({major:u,minor:s,patch:d,prerelease:f,build:p}=H.checkDefined(Dqe(u),"Invalid version")),H.assert(u>=0,"Invalid argument: major"),H.assert(s>=0,"Invalid argument: minor"),H.assert(d>=0,"Invalid argument: patch");const E=f?Ha(f)?f:f.split("."):_t,v=p?Ha(p)?p:p.split("."):_t;H.assert(ye(E,b=>bqe.test(b)),"Invalid argument: prerelease"),H.assert(ye(v,b=>kqe.test(b)),"Invalid argument: build"),this.major=u,this.minor=s,this.patch=d,this.prerelease=E,this.build=v}static tryParse(u){const s=Dqe(u);if(!s)return;const{major:d,minor:f,patch:p,prerelease:E,build:v}=s;return new fG(d,f,p,E,v)}compareTo(u){return this===u?0:u===void 0?1:nl(this.major,u.major)||nl(this.minor,u.minor)||nl(this.patch,u.patch)||kwt(this.prerelease,u.prerelease)}increment(u){switch(u){case"major":return new fG(this.major+1,0,0);case"minor":return new fG(this.major,this.minor+1,0);case"patch":return new fG(this.major,this.minor,this.patch+1);default:return H.assertNever(u)}}with(u){const{major:s=this.major,minor:d=this.minor,patch:f=this.patch,prerelease:p=this.prerelease,build:E=this.build}=u;return new fG(s,d,f,p,E)}toString(){let u=`${this.major}.${this.minor}.${this.patch}`;return Oe(this.prerelease)&&(u+=`-${this.prerelease.join(".")}`),Oe(this.build)&&(u+=`+${this.build.join(".")}`),u}},Eoe.zero=new Eoe(0,0,0,["0"]),Lp=Eoe,EO=class j6t{constructor(u){this._alternatives=u?H.checkDefined(xqe(u),"Invalid range spec."):_t}static tryParse(u){const s=xqe(u);if(s){const d=new j6t("");return d._alternatives=s,d}}test(u){return typeof u=="string"&&(u=new Lp(u)),Swt(u,this._alternatives)}toString(){return Twt(this._alternatives)}},Fqe=/\|\|/g,Aqe=/\s+/g,Sqe=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,Bqe=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,wqe=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i}});function Tqe(t,u){return typeof t=="object"&&typeof t.timeOrigin=="number"&&typeof t.mark=="function"&&typeof t.measure=="function"&&typeof t.now=="function"&&typeof t.clearMarks=="function"&&typeof t.clearMeasures=="function"&&typeof u=="function"}function Mwt(){if(typeof performance=="object"&&typeof PerformanceObserver=="function"&&Tqe(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}function zwt(){if(hoe())try{const{performance:t,PerformanceObserver:u}=rS;if(Tqe(t,u))return{shouldWriteNativeEvents:!1,performance:t,PerformanceObserver:u}}catch{}}function l2e(){return _oe}var _oe,c2e,G0,Iwt=o({"src/compiler/performanceCore.ts"(){Bo(),_oe=Mwt()||zwt(),c2e=_oe==null?void 0:_oe.performance,G0=c2e?()=>c2e.now():Date.now?Date.now:()=>+new Date}}),nU,hh,Rwt=o({"src/compiler/perfLogger.ts"(){try{const t=e.TS_ETW_MODULE_PATH??"./node_modules/@microsoft/typescript-etw";nU=Ypt(t)}catch{nU=void 0}hh=nU!=null&&nU.logEvent?nU:void 0}});function Lqe(t,u,s,d){return t?Doe(u,s,d):xoe}function Doe(t,u,s){let d=0;return{enter:f,exit:p};function f(){++d===1&&ul(u)}function p(){--d===0?(ul(s),Tm(t,u,s)):d<0&&H.fail("enter/exit count does not match.")}}function ul(t){if(x8){const u=kN.get(t)??0;kN.set(t,u+1),v8.set(t,G0()),Ky==null||Ky.mark(t),typeof onProfilerEvent=="function"&&onProfilerEvent(t)}}function Tm(t,u,s){if(x8){const d=(s!==void 0?v8.get(s):void 0)??G0(),f=(u!==void 0?v8.get(u):void 0)??d2e,p=C8.get(t)||0;C8.set(t,p+(d-f)),Ky==null||Ky.measure(t,u,s)}}function Owt(t){return kN.get(t)||0}function jwt(t){return C8.get(t)||0}function Vwt(t){C8.forEach((u,s)=>t(s,u))}function Hwt(t){v8.forEach((u,s)=>t(s))}function Kwt(t){t!==void 0?C8.delete(t):C8.clear(),Ky==null||Ky.clearMeasures(t)}function Wwt(t){t!==void 0?(kN.delete(t),v8.delete(t)):(kN.clear(),v8.clear()),Ky==null||Ky.clearMarks(t)}function Gwt(){return x8}function Jwt(t=c1){var u;return x8||(x8=!0,_O||(_O=l2e()),_O&&(d2e=_O.performance.timeOrigin,(_O.shouldWriteNativeEvents||(u=t==null?void 0:t.cpuProfilingEnabled)!=null&&u.call(t)||t!=null&&t.debugMode)&&(Ky=_O.performance))),!0}function $wt(){x8&&(v8.clear(),kN.clear(),C8.clear(),Ky=void 0,x8=!1)}var _O,Ky,xoe,x8,d2e,v8,kN,C8,Uwt=o({"src/compiler/performance.ts"(){Bo(),xoe={enter:Is,exit:Is},x8=!1,d2e=G0(),v8=new Map,kN=new Map,C8=new Map}}),h2e={};h(h2e,{clearMarks:()=>Wwt,clearMeasures:()=>Kwt,createTimer:()=>Doe,createTimerIf:()=>Lqe,disable:()=>$wt,enable:()=>Jwt,forEachMark:()=>Hwt,forEachMeasure:()=>Vwt,getCount:()=>Owt,getDuration:()=>jwt,isEnabled:()=>Gwt,mark:()=>ul,measure:()=>Tm,nullTimer:()=>xoe});var Wy=o({"src/compiler/_namespaces/ts.performance.ts"(){Uwt()}}),Gn,DO,f2e,m2e,qwt=o({"src/compiler/tracing.ts"(){Bo(),Wy(),(t=>{let u,s=0,d=0,f;const p=[];let E;const v=[];function b(Ce,ne,ve){if(H.assert(!Gn,"Tracing already started"),u===void 0)try{u=rS}catch(xe){throw new Error(`tracing requires having fs @@ -47,14 +47,14 @@ ${X.join(` `))}t.startTracing=b;function B(){H.assert(Gn,"Tracing is not in progress"),H.assert(!!p.length==(f!=="server")),u.writeSync(d,` ] `),u.closeSync(d),Gn=void 0,p.length?ge(p):v[v.length-1].typesPath=void 0}t.stopTracing=B;function k(Ce){f!=="server"&&p.push(Ce)}t.recordType=k,(Ce=>{Ce.Parse="parse",Ce.Program="program",Ce.Bind="bind",Ce.Check="check",Ce.CheckTypes="checkTypes",Ce.Emit="emit",Ce.Session="session"})(t.Phase||(t.Phase={}));function T(Ce,ne,ve){oe("I",Ce,ne,ve,'"s":"g"')}t.instant=T;const M=[];function z(Ce,ne,ve,Se=!1){Se&&oe("B",Ce,ne,ve),M.push({phase:Ce,name:ne,args:ve,time:1e3*G0(),separateBeginAndEnd:Se})}t.push=z;function j(Ce){H.assert(M.length>0),Y(M.length-1,1e3*G0(),Ce),M.length--}t.pop=j;function J(){const Ce=1e3*G0();for(let ne=M.length-1;ne>=0;ne--)Y(ne,Ce);M.length=0}t.popAll=J;const K=1e3*10;function Y(Ce,ne,ve){const{phase:Se,name:Ne,args:pe,time:fe,separateBeginAndEnd:xe}=M[Ce];xe?(H.assert(!ve,"`results` are not supported for events with `separateBeginAndEnd`"),oe("E",Se,Ne,pe,void 0,ne)):K-fe%K<=ne-fe&&oe("X",Se,Ne,{...pe,results:ve},`"dur":${ne-fe}`,fe)}function oe(Ce,ne,ve,Se,Ne,pe=1e3*G0()){f==="server"&&ne==="checkTypes"||(ul("beginTracing"),u.writeSync(d,`, -{"pid":1,"tid":1,"ph":"${Ce}","cat":"${ne}","ts":${pe},"name":"${ve}"`),Ne&&u.writeSync(d,`,${Ne}`),Se&&u.writeSync(d,`,"args":${JSON.stringify(Se)}`),u.writeSync(d,"}"),ul("endTracing"),Tm("Tracing","beginTracing","endTracing"))}function se(Ce){const ne=zn(Ce);return ne?{path:ne.path,start:ve(s0(ne,Ce.pos)),end:ve(s0(ne,Ce.end))}:void 0;function ve(Se){return{line:Se.line+1,character:Se.character+1}}}function ge(Ce){var ne,ve,Se,Ne,pe,fe,xe,Be,Ge,Ae,De,Ke,Je,ft,Ye,Ve,We,Gt,Yt;ul("beginDumpTypes");const Ie=v[v.length-1].typesPath,st=u.openSync(Ie,"w"),St=new Map;u.writeSync(st,"[");const It=Ce.length;for(let ei=0;eijn.id),referenceLocation:se(bt.node)}}let an={};if(ht.flags&16777216){const bt=ht;an={conditionalCheckType:(fe=bt.checkType)==null?void 0:fe.id,conditionalExtendsType:(xe=bt.extendsType)==null?void 0:xe.id,conditionalTrueType:((Be=bt.resolvedTrueType)==null?void 0:Be.id)??-1,conditionalFalseType:((Ge=bt.resolvedFalseType)==null?void 0:Ge.id)??-1}}let Pi={};if(ht.flags&33554432){const bt=ht;Pi={substitutionBaseType:(Ae=bt.baseType)==null?void 0:Ae.id,constraintType:(De=bt.constraint)==null?void 0:De.id}}let Ai={};if(Ut&1024){const bt=ht;Ai={reverseMappedSourceType:(Ke=bt.source)==null?void 0:Ke.id,reverseMappedMappedType:(Je=bt.mappedType)==null?void 0:Je.id,reverseMappedConstraintType:(ft=bt.constraintType)==null?void 0:ft.id}}let Zu={};if(Ut&256){const bt=ht;Zu={evolvingArrayElementType:bt.elementType.id,evolvingArrayFinalType:(Ye=bt.finalArrayType)==null?void 0:Ye.id}}let aa;const yr=ht.checker.getRecursionIdentity(ht);yr&&(aa=St.get(yr),aa||(aa=St.size,St.set(yr,aa)));const Ba={id:ht.id,intrinsicName:ht.intrinsicName,symbolName:(Ni==null?void 0:Ni.escapedName)&&Yr(Ni.escapedName),recursionId:aa,isTuple:Ut&8?!0:void 0,unionTypes:ht.flags&1048576?(Ve=ht.types)==null?void 0:Ve.map(bt=>bt.id):void 0,intersectionTypes:ht.flags&2097152?ht.types.map(bt=>bt.id):void 0,aliasTypeArguments:(We=ht.aliasTypeArguments)==null?void 0:We.map(bt=>bt.id),keyofType:ht.flags&4194304?(Gt=ht.type)==null?void 0:Gt.id:void 0,...xn,...Jn,...an,...Pi,...Ai,...Zu,destructuringPattern:se(ht.pattern),firstDeclaration:se((Yt=Ni==null?void 0:Ni.declarations)==null?void 0:Yt[0]),flags:H.formatTypeFlags(ht.flags).split("|"),display:ji};u.writeSync(st,JSON.stringify(Ba)),eijn.id),referenceLocation:se(bt.node)}}let an={};if(ht.flags&16777216){const bt=ht;an={conditionalCheckType:(fe=bt.checkType)==null?void 0:fe.id,conditionalExtendsType:(xe=bt.extendsType)==null?void 0:xe.id,conditionalTrueType:((Be=bt.resolvedTrueType)==null?void 0:Be.id)??-1,conditionalFalseType:((Ge=bt.resolvedFalseType)==null?void 0:Ge.id)??-1}}let Pi={};if(ht.flags&33554432){const bt=ht;Pi={substitutionBaseType:(Ae=bt.baseType)==null?void 0:Ae.id,constraintType:(De=bt.constraint)==null?void 0:De.id}}let Ai={};if(Ut&1024){const bt=ht;Ai={reverseMappedSourceType:(Ke=bt.source)==null?void 0:Ke.id,reverseMappedMappedType:(Je=bt.mappedType)==null?void 0:Je.id,reverseMappedConstraintType:(ft=bt.constraintType)==null?void 0:ft.id}}let Zu={};if(Ut&256){const bt=ht;Zu={evolvingArrayElementType:bt.elementType.id,evolvingArrayFinalType:(Ye=bt.finalArrayType)==null?void 0:Ye.id}}let aa;const yr=ht.checker.getRecursionIdentity(ht);yr&&(aa=St.get(yr),aa||(aa=St.size,St.set(yr,aa)));const Ba={id:ht.id,intrinsicName:ht.intrinsicName,symbolName:(Ni==null?void 0:Ni.escapedName)&&Qr(Ni.escapedName),recursionId:aa,isTuple:Ut&8?!0:void 0,unionTypes:ht.flags&1048576?(Ve=ht.types)==null?void 0:Ve.map(bt=>bt.id):void 0,intersectionTypes:ht.flags&2097152?ht.types.map(bt=>bt.id):void 0,aliasTypeArguments:(We=ht.aliasTypeArguments)==null?void 0:We.map(bt=>bt.id),keyofType:ht.flags&4194304?(Gt=ht.type)==null?void 0:Gt.id:void 0,...xn,...Jn,...an,...Pi,...Ai,...Zu,destructuringPattern:se(ht.pattern),firstDeclaration:se((Yt=Ni==null?void 0:Ni.declarations)==null?void 0:Yt[0]),flags:H.formatTypeFlags(ht.flags).split("|"),display:ji};u.writeSync(st,JSON.stringify(Ba)),ei(t[t.Unknown=0]="Unknown",t[t.EndOfFileToken=1]="EndOfFileToken",t[t.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",t[t.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",t[t.NewLineTrivia=4]="NewLineTrivia",t[t.WhitespaceTrivia=5]="WhitespaceTrivia",t[t.ShebangTrivia=6]="ShebangTrivia",t[t.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",t[t.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",t[t.NumericLiteral=9]="NumericLiteral",t[t.BigIntLiteral=10]="BigIntLiteral",t[t.StringLiteral=11]="StringLiteral",t[t.JsxText=12]="JsxText",t[t.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",t[t.RegularExpressionLiteral=14]="RegularExpressionLiteral",t[t.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",t[t.TemplateHead=16]="TemplateHead",t[t.TemplateMiddle=17]="TemplateMiddle",t[t.TemplateTail=18]="TemplateTail",t[t.OpenBraceToken=19]="OpenBraceToken",t[t.CloseBraceToken=20]="CloseBraceToken",t[t.OpenParenToken=21]="OpenParenToken",t[t.CloseParenToken=22]="CloseParenToken",t[t.OpenBracketToken=23]="OpenBracketToken",t[t.CloseBracketToken=24]="CloseBracketToken",t[t.DotToken=25]="DotToken",t[t.DotDotDotToken=26]="DotDotDotToken",t[t.SemicolonToken=27]="SemicolonToken",t[t.CommaToken=28]="CommaToken",t[t.QuestionDotToken=29]="QuestionDotToken",t[t.LessThanToken=30]="LessThanToken",t[t.LessThanSlashToken=31]="LessThanSlashToken",t[t.GreaterThanToken=32]="GreaterThanToken",t[t.LessThanEqualsToken=33]="LessThanEqualsToken",t[t.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",t[t.EqualsEqualsToken=35]="EqualsEqualsToken",t[t.ExclamationEqualsToken=36]="ExclamationEqualsToken",t[t.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",t[t.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",t[t.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",t[t.PlusToken=40]="PlusToken",t[t.MinusToken=41]="MinusToken",t[t.AsteriskToken=42]="AsteriskToken",t[t.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",t[t.SlashToken=44]="SlashToken",t[t.PercentToken=45]="PercentToken",t[t.PlusPlusToken=46]="PlusPlusToken",t[t.MinusMinusToken=47]="MinusMinusToken",t[t.LessThanLessThanToken=48]="LessThanLessThanToken",t[t.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",t[t.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",t[t.AmpersandToken=51]="AmpersandToken",t[t.BarToken=52]="BarToken",t[t.CaretToken=53]="CaretToken",t[t.ExclamationToken=54]="ExclamationToken",t[t.TildeToken=55]="TildeToken",t[t.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",t[t.BarBarToken=57]="BarBarToken",t[t.QuestionToken=58]="QuestionToken",t[t.ColonToken=59]="ColonToken",t[t.AtToken=60]="AtToken",t[t.QuestionQuestionToken=61]="QuestionQuestionToken",t[t.BacktickToken=62]="BacktickToken",t[t.HashToken=63]="HashToken",t[t.EqualsToken=64]="EqualsToken",t[t.PlusEqualsToken=65]="PlusEqualsToken",t[t.MinusEqualsToken=66]="MinusEqualsToken",t[t.AsteriskEqualsToken=67]="AsteriskEqualsToken",t[t.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",t[t.SlashEqualsToken=69]="SlashEqualsToken",t[t.PercentEqualsToken=70]="PercentEqualsToken",t[t.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",t[t.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",t[t.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",t[t.AmpersandEqualsToken=74]="AmpersandEqualsToken",t[t.BarEqualsToken=75]="BarEqualsToken",t[t.BarBarEqualsToken=76]="BarBarEqualsToken",t[t.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",t[t.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",t[t.CaretEqualsToken=79]="CaretEqualsToken",t[t.Identifier=80]="Identifier",t[t.PrivateIdentifier=81]="PrivateIdentifier",t[t.JSDocCommentTextToken=82]="JSDocCommentTextToken",t[t.BreakKeyword=83]="BreakKeyword",t[t.CaseKeyword=84]="CaseKeyword",t[t.CatchKeyword=85]="CatchKeyword",t[t.ClassKeyword=86]="ClassKeyword",t[t.ConstKeyword=87]="ConstKeyword",t[t.ContinueKeyword=88]="ContinueKeyword",t[t.DebuggerKeyword=89]="DebuggerKeyword",t[t.DefaultKeyword=90]="DefaultKeyword",t[t.DeleteKeyword=91]="DeleteKeyword",t[t.DoKeyword=92]="DoKeyword",t[t.ElseKeyword=93]="ElseKeyword",t[t.EnumKeyword=94]="EnumKeyword",t[t.ExportKeyword=95]="ExportKeyword",t[t.ExtendsKeyword=96]="ExtendsKeyword",t[t.FalseKeyword=97]="FalseKeyword",t[t.FinallyKeyword=98]="FinallyKeyword",t[t.ForKeyword=99]="ForKeyword",t[t.FunctionKeyword=100]="FunctionKeyword",t[t.IfKeyword=101]="IfKeyword",t[t.ImportKeyword=102]="ImportKeyword",t[t.InKeyword=103]="InKeyword",t[t.InstanceOfKeyword=104]="InstanceOfKeyword",t[t.NewKeyword=105]="NewKeyword",t[t.NullKeyword=106]="NullKeyword",t[t.ReturnKeyword=107]="ReturnKeyword",t[t.SuperKeyword=108]="SuperKeyword",t[t.SwitchKeyword=109]="SwitchKeyword",t[t.ThisKeyword=110]="ThisKeyword",t[t.ThrowKeyword=111]="ThrowKeyword",t[t.TrueKeyword=112]="TrueKeyword",t[t.TryKeyword=113]="TryKeyword",t[t.TypeOfKeyword=114]="TypeOfKeyword",t[t.VarKeyword=115]="VarKeyword",t[t.VoidKeyword=116]="VoidKeyword",t[t.WhileKeyword=117]="WhileKeyword",t[t.WithKeyword=118]="WithKeyword",t[t.ImplementsKeyword=119]="ImplementsKeyword",t[t.InterfaceKeyword=120]="InterfaceKeyword",t[t.LetKeyword=121]="LetKeyword",t[t.PackageKeyword=122]="PackageKeyword",t[t.PrivateKeyword=123]="PrivateKeyword",t[t.ProtectedKeyword=124]="ProtectedKeyword",t[t.PublicKeyword=125]="PublicKeyword",t[t.StaticKeyword=126]="StaticKeyword",t[t.YieldKeyword=127]="YieldKeyword",t[t.AbstractKeyword=128]="AbstractKeyword",t[t.AccessorKeyword=129]="AccessorKeyword",t[t.AsKeyword=130]="AsKeyword",t[t.AssertsKeyword=131]="AssertsKeyword",t[t.AssertKeyword=132]="AssertKeyword",t[t.AnyKeyword=133]="AnyKeyword",t[t.AsyncKeyword=134]="AsyncKeyword",t[t.AwaitKeyword=135]="AwaitKeyword",t[t.BooleanKeyword=136]="BooleanKeyword",t[t.ConstructorKeyword=137]="ConstructorKeyword",t[t.DeclareKeyword=138]="DeclareKeyword",t[t.GetKeyword=139]="GetKeyword",t[t.InferKeyword=140]="InferKeyword",t[t.IntrinsicKeyword=141]="IntrinsicKeyword",t[t.IsKeyword=142]="IsKeyword",t[t.KeyOfKeyword=143]="KeyOfKeyword",t[t.ModuleKeyword=144]="ModuleKeyword",t[t.NamespaceKeyword=145]="NamespaceKeyword",t[t.NeverKeyword=146]="NeverKeyword",t[t.OutKeyword=147]="OutKeyword",t[t.ReadonlyKeyword=148]="ReadonlyKeyword",t[t.RequireKeyword=149]="RequireKeyword",t[t.NumberKeyword=150]="NumberKeyword",t[t.ObjectKeyword=151]="ObjectKeyword",t[t.SatisfiesKeyword=152]="SatisfiesKeyword",t[t.SetKeyword=153]="SetKeyword",t[t.StringKeyword=154]="StringKeyword",t[t.SymbolKeyword=155]="SymbolKeyword",t[t.TypeKeyword=156]="TypeKeyword",t[t.UndefinedKeyword=157]="UndefinedKeyword",t[t.UniqueKeyword=158]="UniqueKeyword",t[t.UnknownKeyword=159]="UnknownKeyword",t[t.UsingKeyword=160]="UsingKeyword",t[t.FromKeyword=161]="FromKeyword",t[t.GlobalKeyword=162]="GlobalKeyword",t[t.BigIntKeyword=163]="BigIntKeyword",t[t.OverrideKeyword=164]="OverrideKeyword",t[t.OfKeyword=165]="OfKeyword",t[t.QualifiedName=166]="QualifiedName",t[t.ComputedPropertyName=167]="ComputedPropertyName",t[t.TypeParameter=168]="TypeParameter",t[t.Parameter=169]="Parameter",t[t.Decorator=170]="Decorator",t[t.PropertySignature=171]="PropertySignature",t[t.PropertyDeclaration=172]="PropertyDeclaration",t[t.MethodSignature=173]="MethodSignature",t[t.MethodDeclaration=174]="MethodDeclaration",t[t.ClassStaticBlockDeclaration=175]="ClassStaticBlockDeclaration",t[t.Constructor=176]="Constructor",t[t.GetAccessor=177]="GetAccessor",t[t.SetAccessor=178]="SetAccessor",t[t.CallSignature=179]="CallSignature",t[t.ConstructSignature=180]="ConstructSignature",t[t.IndexSignature=181]="IndexSignature",t[t.TypePredicate=182]="TypePredicate",t[t.TypeReference=183]="TypeReference",t[t.FunctionType=184]="FunctionType",t[t.ConstructorType=185]="ConstructorType",t[t.TypeQuery=186]="TypeQuery",t[t.TypeLiteral=187]="TypeLiteral",t[t.ArrayType=188]="ArrayType",t[t.TupleType=189]="TupleType",t[t.OptionalType=190]="OptionalType",t[t.RestType=191]="RestType",t[t.UnionType=192]="UnionType",t[t.IntersectionType=193]="IntersectionType",t[t.ConditionalType=194]="ConditionalType",t[t.InferType=195]="InferType",t[t.ParenthesizedType=196]="ParenthesizedType",t[t.ThisType=197]="ThisType",t[t.TypeOperator=198]="TypeOperator",t[t.IndexedAccessType=199]="IndexedAccessType",t[t.MappedType=200]="MappedType",t[t.LiteralType=201]="LiteralType",t[t.NamedTupleMember=202]="NamedTupleMember",t[t.TemplateLiteralType=203]="TemplateLiteralType",t[t.TemplateLiteralTypeSpan=204]="TemplateLiteralTypeSpan",t[t.ImportType=205]="ImportType",t[t.ObjectBindingPattern=206]="ObjectBindingPattern",t[t.ArrayBindingPattern=207]="ArrayBindingPattern",t[t.BindingElement=208]="BindingElement",t[t.ArrayLiteralExpression=209]="ArrayLiteralExpression",t[t.ObjectLiteralExpression=210]="ObjectLiteralExpression",t[t.PropertyAccessExpression=211]="PropertyAccessExpression",t[t.ElementAccessExpression=212]="ElementAccessExpression",t[t.CallExpression=213]="CallExpression",t[t.NewExpression=214]="NewExpression",t[t.TaggedTemplateExpression=215]="TaggedTemplateExpression",t[t.TypeAssertionExpression=216]="TypeAssertionExpression",t[t.ParenthesizedExpression=217]="ParenthesizedExpression",t[t.FunctionExpression=218]="FunctionExpression",t[t.ArrowFunction=219]="ArrowFunction",t[t.DeleteExpression=220]="DeleteExpression",t[t.TypeOfExpression=221]="TypeOfExpression",t[t.VoidExpression=222]="VoidExpression",t[t.AwaitExpression=223]="AwaitExpression",t[t.PrefixUnaryExpression=224]="PrefixUnaryExpression",t[t.PostfixUnaryExpression=225]="PostfixUnaryExpression",t[t.BinaryExpression=226]="BinaryExpression",t[t.ConditionalExpression=227]="ConditionalExpression",t[t.TemplateExpression=228]="TemplateExpression",t[t.YieldExpression=229]="YieldExpression",t[t.SpreadElement=230]="SpreadElement",t[t.ClassExpression=231]="ClassExpression",t[t.OmittedExpression=232]="OmittedExpression",t[t.ExpressionWithTypeArguments=233]="ExpressionWithTypeArguments",t[t.AsExpression=234]="AsExpression",t[t.NonNullExpression=235]="NonNullExpression",t[t.MetaProperty=236]="MetaProperty",t[t.SyntheticExpression=237]="SyntheticExpression",t[t.SatisfiesExpression=238]="SatisfiesExpression",t[t.TemplateSpan=239]="TemplateSpan",t[t.SemicolonClassElement=240]="SemicolonClassElement",t[t.Block=241]="Block",t[t.EmptyStatement=242]="EmptyStatement",t[t.VariableStatement=243]="VariableStatement",t[t.ExpressionStatement=244]="ExpressionStatement",t[t.IfStatement=245]="IfStatement",t[t.DoStatement=246]="DoStatement",t[t.WhileStatement=247]="WhileStatement",t[t.ForStatement=248]="ForStatement",t[t.ForInStatement=249]="ForInStatement",t[t.ForOfStatement=250]="ForOfStatement",t[t.ContinueStatement=251]="ContinueStatement",t[t.BreakStatement=252]="BreakStatement",t[t.ReturnStatement=253]="ReturnStatement",t[t.WithStatement=254]="WithStatement",t[t.SwitchStatement=255]="SwitchStatement",t[t.LabeledStatement=256]="LabeledStatement",t[t.ThrowStatement=257]="ThrowStatement",t[t.TryStatement=258]="TryStatement",t[t.DebuggerStatement=259]="DebuggerStatement",t[t.VariableDeclaration=260]="VariableDeclaration",t[t.VariableDeclarationList=261]="VariableDeclarationList",t[t.FunctionDeclaration=262]="FunctionDeclaration",t[t.ClassDeclaration=263]="ClassDeclaration",t[t.InterfaceDeclaration=264]="InterfaceDeclaration",t[t.TypeAliasDeclaration=265]="TypeAliasDeclaration",t[t.EnumDeclaration=266]="EnumDeclaration",t[t.ModuleDeclaration=267]="ModuleDeclaration",t[t.ModuleBlock=268]="ModuleBlock",t[t.CaseBlock=269]="CaseBlock",t[t.NamespaceExportDeclaration=270]="NamespaceExportDeclaration",t[t.ImportEqualsDeclaration=271]="ImportEqualsDeclaration",t[t.ImportDeclaration=272]="ImportDeclaration",t[t.ImportClause=273]="ImportClause",t[t.NamespaceImport=274]="NamespaceImport",t[t.NamedImports=275]="NamedImports",t[t.ImportSpecifier=276]="ImportSpecifier",t[t.ExportAssignment=277]="ExportAssignment",t[t.ExportDeclaration=278]="ExportDeclaration",t[t.NamedExports=279]="NamedExports",t[t.NamespaceExport=280]="NamespaceExport",t[t.ExportSpecifier=281]="ExportSpecifier",t[t.MissingDeclaration=282]="MissingDeclaration",t[t.ExternalModuleReference=283]="ExternalModuleReference",t[t.JsxElement=284]="JsxElement",t[t.JsxSelfClosingElement=285]="JsxSelfClosingElement",t[t.JsxOpeningElement=286]="JsxOpeningElement",t[t.JsxClosingElement=287]="JsxClosingElement",t[t.JsxFragment=288]="JsxFragment",t[t.JsxOpeningFragment=289]="JsxOpeningFragment",t[t.JsxClosingFragment=290]="JsxClosingFragment",t[t.JsxAttribute=291]="JsxAttribute",t[t.JsxAttributes=292]="JsxAttributes",t[t.JsxSpreadAttribute=293]="JsxSpreadAttribute",t[t.JsxExpression=294]="JsxExpression",t[t.JsxNamespacedName=295]="JsxNamespacedName",t[t.CaseClause=296]="CaseClause",t[t.DefaultClause=297]="DefaultClause",t[t.HeritageClause=298]="HeritageClause",t[t.CatchClause=299]="CatchClause",t[t.ImportAttributes=300]="ImportAttributes",t[t.ImportAttribute=301]="ImportAttribute",t[t.AssertClause=300]="AssertClause",t[t.AssertEntry=301]="AssertEntry",t[t.ImportTypeAssertionContainer=302]="ImportTypeAssertionContainer",t[t.PropertyAssignment=303]="PropertyAssignment",t[t.ShorthandPropertyAssignment=304]="ShorthandPropertyAssignment",t[t.SpreadAssignment=305]="SpreadAssignment",t[t.EnumMember=306]="EnumMember",t[t.UnparsedPrologue=307]="UnparsedPrologue",t[t.UnparsedPrepend=308]="UnparsedPrepend",t[t.UnparsedText=309]="UnparsedText",t[t.UnparsedInternalText=310]="UnparsedInternalText",t[t.UnparsedSyntheticReference=311]="UnparsedSyntheticReference",t[t.SourceFile=312]="SourceFile",t[t.Bundle=313]="Bundle",t[t.UnparsedSource=314]="UnparsedSource",t[t.InputFiles=315]="InputFiles",t[t.JSDocTypeExpression=316]="JSDocTypeExpression",t[t.JSDocNameReference=317]="JSDocNameReference",t[t.JSDocMemberName=318]="JSDocMemberName",t[t.JSDocAllType=319]="JSDocAllType",t[t.JSDocUnknownType=320]="JSDocUnknownType",t[t.JSDocNullableType=321]="JSDocNullableType",t[t.JSDocNonNullableType=322]="JSDocNonNullableType",t[t.JSDocOptionalType=323]="JSDocOptionalType",t[t.JSDocFunctionType=324]="JSDocFunctionType",t[t.JSDocVariadicType=325]="JSDocVariadicType",t[t.JSDocNamepathType=326]="JSDocNamepathType",t[t.JSDoc=327]="JSDoc",t[t.JSDocComment=327]="JSDocComment",t[t.JSDocText=328]="JSDocText",t[t.JSDocTypeLiteral=329]="JSDocTypeLiteral",t[t.JSDocSignature=330]="JSDocSignature",t[t.JSDocLink=331]="JSDocLink",t[t.JSDocLinkCode=332]="JSDocLinkCode",t[t.JSDocLinkPlain=333]="JSDocLinkPlain",t[t.JSDocTag=334]="JSDocTag",t[t.JSDocAugmentsTag=335]="JSDocAugmentsTag",t[t.JSDocImplementsTag=336]="JSDocImplementsTag",t[t.JSDocAuthorTag=337]="JSDocAuthorTag",t[t.JSDocDeprecatedTag=338]="JSDocDeprecatedTag",t[t.JSDocClassTag=339]="JSDocClassTag",t[t.JSDocPublicTag=340]="JSDocPublicTag",t[t.JSDocPrivateTag=341]="JSDocPrivateTag",t[t.JSDocProtectedTag=342]="JSDocProtectedTag",t[t.JSDocReadonlyTag=343]="JSDocReadonlyTag",t[t.JSDocOverrideTag=344]="JSDocOverrideTag",t[t.JSDocCallbackTag=345]="JSDocCallbackTag",t[t.JSDocOverloadTag=346]="JSDocOverloadTag",t[t.JSDocEnumTag=347]="JSDocEnumTag",t[t.JSDocParameterTag=348]="JSDocParameterTag",t[t.JSDocReturnTag=349]="JSDocReturnTag",t[t.JSDocThisTag=350]="JSDocThisTag",t[t.JSDocTypeTag=351]="JSDocTypeTag",t[t.JSDocTemplateTag=352]="JSDocTemplateTag",t[t.JSDocTypedefTag=353]="JSDocTypedefTag",t[t.JSDocSeeTag=354]="JSDocSeeTag",t[t.JSDocPropertyTag=355]="JSDocPropertyTag",t[t.JSDocThrowsTag=356]="JSDocThrowsTag",t[t.JSDocSatisfiesTag=357]="JSDocSatisfiesTag",t[t.SyntaxList=358]="SyntaxList",t[t.NotEmittedStatement=359]="NotEmittedStatement",t[t.PartiallyEmittedExpression=360]="PartiallyEmittedExpression",t[t.CommaListExpression=361]="CommaListExpression",t[t.SyntheticReferenceExpression=362]="SyntheticReferenceExpression",t[t.Count=363]="Count",t[t.FirstAssignment=64]="FirstAssignment",t[t.LastAssignment=79]="LastAssignment",t[t.FirstCompoundAssignment=65]="FirstCompoundAssignment",t[t.LastCompoundAssignment=79]="LastCompoundAssignment",t[t.FirstReservedWord=83]="FirstReservedWord",t[t.LastReservedWord=118]="LastReservedWord",t[t.FirstKeyword=83]="FirstKeyword",t[t.LastKeyword=165]="LastKeyword",t[t.FirstFutureReservedWord=119]="FirstFutureReservedWord",t[t.LastFutureReservedWord=127]="LastFutureReservedWord",t[t.FirstTypeNode=182]="FirstTypeNode",t[t.LastTypeNode=205]="LastTypeNode",t[t.FirstPunctuation=19]="FirstPunctuation",t[t.LastPunctuation=79]="LastPunctuation",t[t.FirstToken=0]="FirstToken",t[t.LastToken=165]="LastToken",t[t.FirstTriviaToken=2]="FirstTriviaToken",t[t.LastTriviaToken=7]="LastTriviaToken",t[t.FirstLiteralToken=9]="FirstLiteralToken",t[t.LastLiteralToken=15]="LastLiteralToken",t[t.FirstTemplateToken=15]="FirstTemplateToken",t[t.LastTemplateToken=18]="LastTemplateToken",t[t.FirstBinaryOperator=30]="FirstBinaryOperator",t[t.LastBinaryOperator=79]="LastBinaryOperator",t[t.FirstStatement=243]="FirstStatement",t[t.LastStatement=259]="LastStatement",t[t.FirstNode=166]="FirstNode",t[t.FirstJSDocNode=316]="FirstJSDocNode",t[t.LastJSDocNode=357]="LastJSDocNode",t[t.FirstJSDocTagNode=334]="FirstJSDocTagNode",t[t.LastJSDocTagNode=357]="LastJSDocTagNode",t[t.FirstContextualKeyword=128]="FirstContextualKeyword",t[t.LastContextualKeyword=165]="LastContextualKeyword",t))(uU||{}),rU=(t=>(t[t.None=0]="None",t[t.Let=1]="Let",t[t.Const=2]="Const",t[t.Using=4]="Using",t[t.AwaitUsing=6]="AwaitUsing",t[t.NestedNamespace=8]="NestedNamespace",t[t.Synthesized=16]="Synthesized",t[t.Namespace=32]="Namespace",t[t.OptionalChain=64]="OptionalChain",t[t.ExportContext=128]="ExportContext",t[t.ContainsThis=256]="ContainsThis",t[t.HasImplicitReturn=512]="HasImplicitReturn",t[t.HasExplicitReturn=1024]="HasExplicitReturn",t[t.GlobalAugmentation=2048]="GlobalAugmentation",t[t.HasAsyncFunctions=4096]="HasAsyncFunctions",t[t.DisallowInContext=8192]="DisallowInContext",t[t.YieldContext=16384]="YieldContext",t[t.DecoratorContext=32768]="DecoratorContext",t[t.AwaitContext=65536]="AwaitContext",t[t.DisallowConditionalTypesContext=131072]="DisallowConditionalTypesContext",t[t.ThisNodeHasError=262144]="ThisNodeHasError",t[t.JavaScriptFile=524288]="JavaScriptFile",t[t.ThisNodeOrAnySubNodesHasError=1048576]="ThisNodeOrAnySubNodesHasError",t[t.HasAggregatedChildData=2097152]="HasAggregatedChildData",t[t.PossiblyContainsDynamicImport=4194304]="PossiblyContainsDynamicImport",t[t.PossiblyContainsImportMeta=8388608]="PossiblyContainsImportMeta",t[t.JSDoc=16777216]="JSDoc",t[t.Ambient=33554432]="Ambient",t[t.InWithStatement=67108864]="InWithStatement",t[t.JsonFile=134217728]="JsonFile",t[t.TypeCached=268435456]="TypeCached",t[t.Deprecated=536870912]="Deprecated",t[t.BlockScoped=7]="BlockScoped",t[t.Constant=6]="Constant",t[t.ReachabilityCheckFlags=1536]="ReachabilityCheckFlags",t[t.ReachabilityAndEmitFlags=5632]="ReachabilityAndEmitFlags",t[t.ContextFlags=101441536]="ContextFlags",t[t.TypeExcludesFlags=81920]="TypeExcludesFlags",t[t.PermanentlySetIncrementalFlags=12582912]="PermanentlySetIncrementalFlags",t[t.IdentifierHasExtendedUnicodeEscape=256]="IdentifierHasExtendedUnicodeEscape",t[t.IdentifierIsInJSDocNamespace=4096]="IdentifierIsInJSDocNamespace",t))(rU||{}),aU=(t=>(t[t.None=0]="None",t[t.Public=1]="Public",t[t.Private=2]="Private",t[t.Protected=4]="Protected",t[t.Readonly=8]="Readonly",t[t.Override=16]="Override",t[t.Export=32]="Export",t[t.Abstract=64]="Abstract",t[t.Ambient=128]="Ambient",t[t.Static=256]="Static",t[t.Accessor=512]="Accessor",t[t.Async=1024]="Async",t[t.Default=2048]="Default",t[t.Const=4096]="Const",t[t.In=8192]="In",t[t.Out=16384]="Out",t[t.Decorator=32768]="Decorator",t[t.Deprecated=65536]="Deprecated",t[t.JSDocPublic=8388608]="JSDocPublic",t[t.JSDocPrivate=16777216]="JSDocPrivate",t[t.JSDocProtected=33554432]="JSDocProtected",t[t.JSDocReadonly=67108864]="JSDocReadonly",t[t.JSDocOverride=134217728]="JSDocOverride",t[t.SyntacticOrJSDocModifiers=31]="SyntacticOrJSDocModifiers",t[t.SyntacticOnlyModifiers=65504]="SyntacticOnlyModifiers",t[t.SyntacticModifiers=65535]="SyntacticModifiers",t[t.JSDocCacheOnlyModifiers=260046848]="JSDocCacheOnlyModifiers",t[t.JSDocOnlyModifiers=65536]="JSDocOnlyModifiers",t[t.NonCacheOnlyModifiers=131071]="NonCacheOnlyModifiers",t[t.HasComputedJSDocModifiers=268435456]="HasComputedJSDocModifiers",t[t.HasComputedFlags=536870912]="HasComputedFlags",t[t.AccessibilityModifier=7]="AccessibilityModifier",t[t.ParameterPropertyModifier=31]="ParameterPropertyModifier",t[t.NonPublicAccessibilityModifier=6]="NonPublicAccessibilityModifier",t[t.TypeScriptModifier=28895]="TypeScriptModifier",t[t.ExportDefault=2080]="ExportDefault",t[t.All=131071]="All",t[t.Modifier=98303]="Modifier",t))(aU||{}),voe=(t=>(t[t.None=0]="None",t[t.IntrinsicNamedElement=1]="IntrinsicNamedElement",t[t.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",t[t.IntrinsicElement=3]="IntrinsicElement",t))(voe||{}),oU=(t=>(t[t.Succeeded=1]="Succeeded",t[t.Failed=2]="Failed",t[t.Reported=4]="Reported",t[t.ReportsUnmeasurable=8]="ReportsUnmeasurable",t[t.ReportsUnreliable=16]="ReportsUnreliable",t[t.ReportsMask=24]="ReportsMask",t))(oU||{}),sU=(t=>(t[t.None=0]="None",t[t.Auto=1]="Auto",t[t.Loop=2]="Loop",t[t.Unique=3]="Unique",t[t.Node=4]="Node",t[t.KindMask=7]="KindMask",t[t.ReservedInNestedScopes=8]="ReservedInNestedScopes",t[t.Optimistic=16]="Optimistic",t[t.FileLevel=32]="FileLevel",t[t.AllowNameSubstitution=64]="AllowNameSubstitution",t))(sU||{}),Coe=(t=>(t[t.None=0]="None",t[t.PrecedingLineBreak=1]="PrecedingLineBreak",t[t.PrecedingJSDocComment=2]="PrecedingJSDocComment",t[t.Unterminated=4]="Unterminated",t[t.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",t[t.Scientific=16]="Scientific",t[t.Octal=32]="Octal",t[t.HexSpecifier=64]="HexSpecifier",t[t.BinarySpecifier=128]="BinarySpecifier",t[t.OctalSpecifier=256]="OctalSpecifier",t[t.ContainsSeparator=512]="ContainsSeparator",t[t.UnicodeEscape=1024]="UnicodeEscape",t[t.ContainsInvalidEscape=2048]="ContainsInvalidEscape",t[t.HexEscape=4096]="HexEscape",t[t.ContainsLeadingZero=8192]="ContainsLeadingZero",t[t.ContainsInvalidSeparator=16384]="ContainsInvalidSeparator",t[t.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",t[t.WithSpecifier=448]="WithSpecifier",t[t.StringLiteralFlags=7176]="StringLiteralFlags",t[t.NumericLiteralFlags=25584]="NumericLiteralFlags",t[t.TemplateLiteralLikeFlags=7176]="TemplateLiteralLikeFlags",t[t.IsInvalid=26656]="IsInvalid",t))(Coe||{}),xO=(t=>(t[t.Unreachable=1]="Unreachable",t[t.Start=2]="Start",t[t.BranchLabel=4]="BranchLabel",t[t.LoopLabel=8]="LoopLabel",t[t.Assignment=16]="Assignment",t[t.TrueCondition=32]="TrueCondition",t[t.FalseCondition=64]="FalseCondition",t[t.SwitchClause=128]="SwitchClause",t[t.ArrayMutation=256]="ArrayMutation",t[t.Call=512]="Call",t[t.ReduceLabel=1024]="ReduceLabel",t[t.Referenced=2048]="Referenced",t[t.Shared=4096]="Shared",t[t.Label=12]="Label",t[t.Condition=96]="Condition",t))(xO||{}),boe=(t=>(t[t.ExpectError=0]="ExpectError",t[t.Ignore=1]="Ignore",t))(boe||{}),b8=class{},lU=(t=>(t[t.RootFile=0]="RootFile",t[t.SourceFromProjectReference=1]="SourceFromProjectReference",t[t.OutputFromProjectReference=2]="OutputFromProjectReference",t[t.Import=3]="Import",t[t.ReferenceFile=4]="ReferenceFile",t[t.TypeReferenceDirective=5]="TypeReferenceDirective",t[t.LibFile=6]="LibFile",t[t.LibReferenceDirective=7]="LibReferenceDirective",t[t.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",t))(lU||{}),yoe=(t=>(t[t.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",t[t.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",t[t.ResolutionDiagnostics=2]="ResolutionDiagnostics",t))(yoe||{}),koe=(t=>(t[t.Js=0]="Js",t[t.Dts=1]="Dts",t))(koe||{}),cU=(t=>(t[t.Not=0]="Not",t[t.SafeModules=1]="SafeModules",t[t.Completely=2]="Completely",t))(cU||{}),Foe=(t=>(t[t.Success=0]="Success",t[t.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",t[t.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",t[t.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",t[t.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",t))(Foe||{}),Aoe=(t=>(t[t.Ok=0]="Ok",t[t.NeedsOverride=1]="NeedsOverride",t[t.HasInvalidOverride=2]="HasInvalidOverride",t))(Aoe||{}),Soe=(t=>(t[t.None=0]="None",t[t.Literal=1]="Literal",t[t.Subtype=2]="Subtype",t))(Soe||{}),Boe=(t=>(t[t.None=0]="None",t[t.Signature=1]="Signature",t[t.NoConstraints=2]="NoConstraints",t[t.Completions=4]="Completions",t[t.SkipBindingPatterns=8]="SkipBindingPatterns",t))(Boe||{}),woe=(t=>(t[t.None=0]="None",t[t.NoTruncation=1]="NoTruncation",t[t.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",t[t.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",t[t.UseStructuralFallback=8]="UseStructuralFallback",t[t.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",t[t.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",t[t.UseFullyQualifiedType=64]="UseFullyQualifiedType",t[t.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",t[t.SuppressAnyReturnType=256]="SuppressAnyReturnType",t[t.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",t[t.MultilineObjectLiterals=1024]="MultilineObjectLiterals",t[t.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",t[t.UseTypeOfFunction=4096]="UseTypeOfFunction",t[t.OmitParameterModifiers=8192]="OmitParameterModifiers",t[t.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",t[t.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",t[t.NoTypeReduction=536870912]="NoTypeReduction",t[t.OmitThisParameter=33554432]="OmitThisParameter",t[t.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",t[t.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",t[t.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",t[t.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",t[t.AllowEmptyTuple=524288]="AllowEmptyTuple",t[t.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",t[t.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",t[t.WriteComputedProps=1073741824]="WriteComputedProps",t[t.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",t[t.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",t[t.IgnoreErrors=70221824]="IgnoreErrors",t[t.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",t[t.InTypeAlias=8388608]="InTypeAlias",t[t.InInitialEntityName=16777216]="InInitialEntityName",t))(woe||{}),Toe=(t=>(t[t.None=0]="None",t[t.NoTruncation=1]="NoTruncation",t[t.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",t[t.UseStructuralFallback=8]="UseStructuralFallback",t[t.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",t[t.UseFullyQualifiedType=64]="UseFullyQualifiedType",t[t.SuppressAnyReturnType=256]="SuppressAnyReturnType",t[t.MultilineObjectLiterals=1024]="MultilineObjectLiterals",t[t.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",t[t.UseTypeOfFunction=4096]="UseTypeOfFunction",t[t.OmitParameterModifiers=8192]="OmitParameterModifiers",t[t.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",t[t.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",t[t.NoTypeReduction=536870912]="NoTypeReduction",t[t.OmitThisParameter=33554432]="OmitThisParameter",t[t.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",t[t.AddUndefined=131072]="AddUndefined",t[t.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",t[t.InArrayType=524288]="InArrayType",t[t.InElementType=2097152]="InElementType",t[t.InFirstTypeArgument=4194304]="InFirstTypeArgument",t[t.InTypeAlias=8388608]="InTypeAlias",t[t.NodeBuilderFlagsMask=848330091]="NodeBuilderFlagsMask",t))(Toe||{}),Loe=(t=>(t[t.None=0]="None",t[t.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",t[t.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",t[t.AllowAnyNodeKind=4]="AllowAnyNodeKind",t[t.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",t[t.WriteComputedProps=16]="WriteComputedProps",t[t.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",t))(Loe||{}),Noe=(t=>(t[t.Accessible=0]="Accessible",t[t.NotAccessible=1]="NotAccessible",t[t.CannotBeNamed=2]="CannotBeNamed",t))(Noe||{}),Poe=(t=>(t[t.UnionOrIntersection=0]="UnionOrIntersection",t[t.Spread=1]="Spread",t))(Poe||{}),Moe=(t=>(t[t.This=0]="This",t[t.Identifier=1]="Identifier",t[t.AssertsThis=2]="AssertsThis",t[t.AssertsIdentifier=3]="AssertsIdentifier",t))(Moe||{}),zoe=(t=>(t[t.Unknown=0]="Unknown",t[t.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",t[t.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",t[t.NumberLikeType=3]="NumberLikeType",t[t.BigIntLikeType=4]="BigIntLikeType",t[t.StringLikeType=5]="StringLikeType",t[t.BooleanType=6]="BooleanType",t[t.ArrayLikeType=7]="ArrayLikeType",t[t.ESSymbolType=8]="ESSymbolType",t[t.Promise=9]="Promise",t[t.TypeWithCallSignature=10]="TypeWithCallSignature",t[t.ObjectType=11]="ObjectType",t))(zoe||{}),dU=(t=>(t[t.None=0]="None",t[t.FunctionScopedVariable=1]="FunctionScopedVariable",t[t.BlockScopedVariable=2]="BlockScopedVariable",t[t.Property=4]="Property",t[t.EnumMember=8]="EnumMember",t[t.Function=16]="Function",t[t.Class=32]="Class",t[t.Interface=64]="Interface",t[t.ConstEnum=128]="ConstEnum",t[t.RegularEnum=256]="RegularEnum",t[t.ValueModule=512]="ValueModule",t[t.NamespaceModule=1024]="NamespaceModule",t[t.TypeLiteral=2048]="TypeLiteral",t[t.ObjectLiteral=4096]="ObjectLiteral",t[t.Method=8192]="Method",t[t.Constructor=16384]="Constructor",t[t.GetAccessor=32768]="GetAccessor",t[t.SetAccessor=65536]="SetAccessor",t[t.Signature=131072]="Signature",t[t.TypeParameter=262144]="TypeParameter",t[t.TypeAlias=524288]="TypeAlias",t[t.ExportValue=1048576]="ExportValue",t[t.Alias=2097152]="Alias",t[t.Prototype=4194304]="Prototype",t[t.ExportStar=8388608]="ExportStar",t[t.Optional=16777216]="Optional",t[t.Transient=33554432]="Transient",t[t.Assignment=67108864]="Assignment",t[t.ModuleExports=134217728]="ModuleExports",t[t.All=67108863]="All",t[t.Enum=384]="Enum",t[t.Variable=3]="Variable",t[t.Value=111551]="Value",t[t.Type=788968]="Type",t[t.Namespace=1920]="Namespace",t[t.Module=1536]="Module",t[t.Accessor=98304]="Accessor",t[t.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",t[t.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",t[t.ParameterExcludes=111551]="ParameterExcludes",t[t.PropertyExcludes=0]="PropertyExcludes",t[t.EnumMemberExcludes=900095]="EnumMemberExcludes",t[t.FunctionExcludes=110991]="FunctionExcludes",t[t.ClassExcludes=899503]="ClassExcludes",t[t.InterfaceExcludes=788872]="InterfaceExcludes",t[t.RegularEnumExcludes=899327]="RegularEnumExcludes",t[t.ConstEnumExcludes=899967]="ConstEnumExcludes",t[t.ValueModuleExcludes=110735]="ValueModuleExcludes",t[t.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",t[t.MethodExcludes=103359]="MethodExcludes",t[t.GetAccessorExcludes=46015]="GetAccessorExcludes",t[t.SetAccessorExcludes=78783]="SetAccessorExcludes",t[t.AccessorExcludes=13247]="AccessorExcludes",t[t.TypeParameterExcludes=526824]="TypeParameterExcludes",t[t.TypeAliasExcludes=788968]="TypeAliasExcludes",t[t.AliasExcludes=2097152]="AliasExcludes",t[t.ModuleMember=2623475]="ModuleMember",t[t.ExportHasLocal=944]="ExportHasLocal",t[t.BlockScoped=418]="BlockScoped",t[t.PropertyOrAccessor=98308]="PropertyOrAccessor",t[t.ClassMember=106500]="ClassMember",t[t.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",t[t.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",t[t.Classifiable=2885600]="Classifiable",t[t.LateBindingContainer=6256]="LateBindingContainer",t))(dU||{}),Ioe=(t=>(t[t.Numeric=0]="Numeric",t[t.Literal=1]="Literal",t))(Ioe||{}),Roe=(t=>(t[t.None=0]="None",t[t.Instantiated=1]="Instantiated",t[t.SyntheticProperty=2]="SyntheticProperty",t[t.SyntheticMethod=4]="SyntheticMethod",t[t.Readonly=8]="Readonly",t[t.ReadPartial=16]="ReadPartial",t[t.WritePartial=32]="WritePartial",t[t.HasNonUniformType=64]="HasNonUniformType",t[t.HasLiteralType=128]="HasLiteralType",t[t.ContainsPublic=256]="ContainsPublic",t[t.ContainsProtected=512]="ContainsProtected",t[t.ContainsPrivate=1024]="ContainsPrivate",t[t.ContainsStatic=2048]="ContainsStatic",t[t.Late=4096]="Late",t[t.ReverseMapped=8192]="ReverseMapped",t[t.OptionalParameter=16384]="OptionalParameter",t[t.RestParameter=32768]="RestParameter",t[t.DeferredType=65536]="DeferredType",t[t.HasNeverType=131072]="HasNeverType",t[t.Mapped=262144]="Mapped",t[t.StripOptional=524288]="StripOptional",t[t.Unresolved=1048576]="Unresolved",t[t.Synthetic=6]="Synthetic",t[t.Discriminant=192]="Discriminant",t[t.Partial=48]="Partial",t))(Roe||{}),Ooe=(t=>(t.Call="__call",t.Constructor="__constructor",t.New="__new",t.Index="__index",t.ExportStar="__export",t.Global="__global",t.Missing="__missing",t.Type="__type",t.Object="__object",t.JSXAttributes="__jsxAttributes",t.Class="__class",t.Function="__function",t.Computed="__computed",t.Resolving="__resolving__",t.ExportEquals="export=",t.Default="default",t.This="this",t))(Ooe||{}),joe=(t=>(t[t.None=0]="None",t[t.TypeChecked=1]="TypeChecked",t[t.LexicalThis=2]="LexicalThis",t[t.CaptureThis=4]="CaptureThis",t[t.CaptureNewTarget=8]="CaptureNewTarget",t[t.SuperInstance=16]="SuperInstance",t[t.SuperStatic=32]="SuperStatic",t[t.ContextChecked=64]="ContextChecked",t[t.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",t[t.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",t[t.CaptureArguments=512]="CaptureArguments",t[t.EnumValuesComputed=1024]="EnumValuesComputed",t[t.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",t[t.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",t[t.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",t[t.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",t[t.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",t[t.NeedsLoopOutParameter=65536]="NeedsLoopOutParameter",t[t.AssignmentsMarked=131072]="AssignmentsMarked",t[t.ContainsConstructorReference=262144]="ContainsConstructorReference",t[t.ConstructorReference=536870912]="ConstructorReference",t[t.ContainsClassWithPrivateIdentifiers=1048576]="ContainsClassWithPrivateIdentifiers",t[t.ContainsSuperPropertyInStaticInitializer=2097152]="ContainsSuperPropertyInStaticInitializer",t[t.InCheckIdentifier=4194304]="InCheckIdentifier",t))(joe||{}),hU=(t=>(t[t.Any=1]="Any",t[t.Unknown=2]="Unknown",t[t.String=4]="String",t[t.Number=8]="Number",t[t.Boolean=16]="Boolean",t[t.Enum=32]="Enum",t[t.BigInt=64]="BigInt",t[t.StringLiteral=128]="StringLiteral",t[t.NumberLiteral=256]="NumberLiteral",t[t.BooleanLiteral=512]="BooleanLiteral",t[t.EnumLiteral=1024]="EnumLiteral",t[t.BigIntLiteral=2048]="BigIntLiteral",t[t.ESSymbol=4096]="ESSymbol",t[t.UniqueESSymbol=8192]="UniqueESSymbol",t[t.Void=16384]="Void",t[t.Undefined=32768]="Undefined",t[t.Null=65536]="Null",t[t.Never=131072]="Never",t[t.TypeParameter=262144]="TypeParameter",t[t.Object=524288]="Object",t[t.Union=1048576]="Union",t[t.Intersection=2097152]="Intersection",t[t.Index=4194304]="Index",t[t.IndexedAccess=8388608]="IndexedAccess",t[t.Conditional=16777216]="Conditional",t[t.Substitution=33554432]="Substitution",t[t.NonPrimitive=67108864]="NonPrimitive",t[t.TemplateLiteral=134217728]="TemplateLiteral",t[t.StringMapping=268435456]="StringMapping",t[t.AnyOrUnknown=3]="AnyOrUnknown",t[t.Nullable=98304]="Nullable",t[t.Literal=2944]="Literal",t[t.Unit=109472]="Unit",t[t.Freshable=2976]="Freshable",t[t.StringOrNumberLiteral=384]="StringOrNumberLiteral",t[t.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",t[t.DefinitelyFalsy=117632]="DefinitelyFalsy",t[t.PossiblyFalsy=117724]="PossiblyFalsy",t[t.Intrinsic=67359327]="Intrinsic",t[t.StringLike=402653316]="StringLike",t[t.NumberLike=296]="NumberLike",t[t.BigIntLike=2112]="BigIntLike",t[t.BooleanLike=528]="BooleanLike",t[t.EnumLike=1056]="EnumLike",t[t.ESSymbolLike=12288]="ESSymbolLike",t[t.VoidLike=49152]="VoidLike",t[t.Primitive=402784252]="Primitive",t[t.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",t[t.DisjointDomains=469892092]="DisjointDomains",t[t.UnionOrIntersection=3145728]="UnionOrIntersection",t[t.StructuredType=3670016]="StructuredType",t[t.TypeVariable=8650752]="TypeVariable",t[t.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",t[t.InstantiablePrimitive=406847488]="InstantiablePrimitive",t[t.Instantiable=465829888]="Instantiable",t[t.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",t[t.ObjectFlagsType=3899393]="ObjectFlagsType",t[t.Simplifiable=25165824]="Simplifiable",t[t.Singleton=67358815]="Singleton",t[t.Narrowable=536624127]="Narrowable",t[t.IncludesMask=473694207]="IncludesMask",t[t.IncludesMissingType=262144]="IncludesMissingType",t[t.IncludesNonWideningType=4194304]="IncludesNonWideningType",t[t.IncludesWildcard=8388608]="IncludesWildcard",t[t.IncludesEmptyObject=16777216]="IncludesEmptyObject",t[t.IncludesInstantiable=33554432]="IncludesInstantiable",t[t.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",t))(hU||{}),fU=(t=>(t[t.None=0]="None",t[t.Class=1]="Class",t[t.Interface=2]="Interface",t[t.Reference=4]="Reference",t[t.Tuple=8]="Tuple",t[t.Anonymous=16]="Anonymous",t[t.Mapped=32]="Mapped",t[t.Instantiated=64]="Instantiated",t[t.ObjectLiteral=128]="ObjectLiteral",t[t.EvolvingArray=256]="EvolvingArray",t[t.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",t[t.ReverseMapped=1024]="ReverseMapped",t[t.JsxAttributes=2048]="JsxAttributes",t[t.JSLiteral=4096]="JSLiteral",t[t.FreshLiteral=8192]="FreshLiteral",t[t.ArrayLiteral=16384]="ArrayLiteral",t[t.PrimitiveUnion=32768]="PrimitiveUnion",t[t.ContainsWideningType=65536]="ContainsWideningType",t[t.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",t[t.NonInferrableType=262144]="NonInferrableType",t[t.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",t[t.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",t[t.ClassOrInterface=3]="ClassOrInterface",t[t.RequiresWidening=196608]="RequiresWidening",t[t.PropagatingFlags=458752]="PropagatingFlags",t[t.InstantiatedMapped=96]="InstantiatedMapped",t[t.ObjectTypeKindMask=1343]="ObjectTypeKindMask",t[t.ContainsSpread=2097152]="ContainsSpread",t[t.ObjectRestType=4194304]="ObjectRestType",t[t.InstantiationExpressionType=8388608]="InstantiationExpressionType",t[t.IsClassInstanceClone=16777216]="IsClassInstanceClone",t[t.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",t[t.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",t[t.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",t[t.IsGenericObjectType=4194304]="IsGenericObjectType",t[t.IsGenericIndexType=8388608]="IsGenericIndexType",t[t.IsGenericType=12582912]="IsGenericType",t[t.ContainsIntersections=16777216]="ContainsIntersections",t[t.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",t[t.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",t[t.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",t[t.IsNeverIntersection=33554432]="IsNeverIntersection",t))(fU||{}),Voe=(t=>(t[t.Invariant=0]="Invariant",t[t.Covariant=1]="Covariant",t[t.Contravariant=2]="Contravariant",t[t.Bivariant=3]="Bivariant",t[t.Independent=4]="Independent",t[t.VarianceMask=7]="VarianceMask",t[t.Unmeasurable=8]="Unmeasurable",t[t.Unreliable=16]="Unreliable",t[t.AllowsStructuralFallback=24]="AllowsStructuralFallback",t))(Voe||{}),Hoe=(t=>(t[t.Required=1]="Required",t[t.Optional=2]="Optional",t[t.Rest=4]="Rest",t[t.Variadic=8]="Variadic",t[t.Fixed=3]="Fixed",t[t.Variable=12]="Variable",t[t.NonRequired=14]="NonRequired",t[t.NonRest=11]="NonRest",t))(Hoe||{}),Koe=(t=>(t[t.None=0]="None",t[t.IncludeUndefined=1]="IncludeUndefined",t[t.NoIndexSignatures=2]="NoIndexSignatures",t[t.Writing=4]="Writing",t[t.CacheSymbol=8]="CacheSymbol",t[t.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",t[t.ExpressionPosition=32]="ExpressionPosition",t[t.ReportDeprecated=64]="ReportDeprecated",t[t.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",t[t.Contextual=256]="Contextual",t[t.Persistent=1]="Persistent",t))(Koe||{}),Woe=(t=>(t[t.None=0]="None",t[t.StringsOnly=1]="StringsOnly",t[t.NoIndexSignatures=2]="NoIndexSignatures",t[t.NoReducibleCheck=4]="NoReducibleCheck",t))(Woe||{}),Goe=(t=>(t[t.Component=0]="Component",t[t.Function=1]="Function",t[t.Mixed=2]="Mixed",t))(Goe||{}),Joe=(t=>(t[t.Call=0]="Call",t[t.Construct=1]="Construct",t))(Joe||{}),mU=(t=>(t[t.None=0]="None",t[t.HasRestParameter=1]="HasRestParameter",t[t.HasLiteralTypes=2]="HasLiteralTypes",t[t.Abstract=4]="Abstract",t[t.IsInnerCallChain=8]="IsInnerCallChain",t[t.IsOuterCallChain=16]="IsOuterCallChain",t[t.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",t[t.IsNonInferrable=64]="IsNonInferrable",t[t.IsSignatureCandidateForOverloadFailure=128]="IsSignatureCandidateForOverloadFailure",t[t.PropagatingFlags=167]="PropagatingFlags",t[t.CallChainFlags=24]="CallChainFlags",t))(mU||{}),$oe=(t=>(t[t.String=0]="String",t[t.Number=1]="Number",t))($oe||{}),Uoe=(t=>(t[t.Simple=0]="Simple",t[t.Array=1]="Array",t[t.Deferred=2]="Deferred",t[t.Function=3]="Function",t[t.Composite=4]="Composite",t[t.Merged=5]="Merged",t))(Uoe||{}),qoe=(t=>(t[t.None=0]="None",t[t.NakedTypeVariable=1]="NakedTypeVariable",t[t.SpeculativeTuple=2]="SpeculativeTuple",t[t.SubstituteSource=4]="SubstituteSource",t[t.HomomorphicMappedType=8]="HomomorphicMappedType",t[t.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",t[t.MappedTypeConstraint=32]="MappedTypeConstraint",t[t.ContravariantConditional=64]="ContravariantConditional",t[t.ReturnType=128]="ReturnType",t[t.LiteralKeyof=256]="LiteralKeyof",t[t.NoConstraints=512]="NoConstraints",t[t.AlwaysStrict=1024]="AlwaysStrict",t[t.MaxValue=2048]="MaxValue",t[t.PriorityImpliesCombination=416]="PriorityImpliesCombination",t[t.Circularity=-1]="Circularity",t))(qoe||{}),Zoe=(t=>(t[t.None=0]="None",t[t.NoDefault=1]="NoDefault",t[t.AnyDefault=2]="AnyDefault",t[t.SkippedGenericFunction=4]="SkippedGenericFunction",t))(Zoe||{}),Yoe=(t=>(t[t.False=0]="False",t[t.Unknown=1]="Unknown",t[t.Maybe=3]="Maybe",t[t.True=-1]="True",t))(Yoe||{}),Qoe=(t=>(t[t.None=0]="None",t[t.ExportsProperty=1]="ExportsProperty",t[t.ModuleExports=2]="ModuleExports",t[t.PrototypeProperty=3]="PrototypeProperty",t[t.ThisProperty=4]="ThisProperty",t[t.Property=5]="Property",t[t.Prototype=6]="Prototype",t[t.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",t[t.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",t[t.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",t))(Qoe||{}),vO=(t=>(t[t.Warning=0]="Warning",t[t.Error=1]="Error",t[t.Suggestion=2]="Suggestion",t[t.Message=3]="Message",t))(vO||{}),y8=(t=>(t[t.Classic=1]="Classic",t[t.NodeJs=2]="NodeJs",t[t.Node10=2]="Node10",t[t.Node16=3]="Node16",t[t.NodeNext=99]="NodeNext",t[t.Bundler=100]="Bundler",t))(y8||{}),Xoe=(t=>(t[t.Legacy=1]="Legacy",t[t.Auto=2]="Auto",t[t.Force=3]="Force",t))(Xoe||{}),ese=(t=>(t[t.FixedPollingInterval=0]="FixedPollingInterval",t[t.PriorityPollingInterval=1]="PriorityPollingInterval",t[t.DynamicPriorityPolling=2]="DynamicPriorityPolling",t[t.FixedChunkSizePolling=3]="FixedChunkSizePolling",t[t.UseFsEvents=4]="UseFsEvents",t[t.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",t))(ese||{}),tse=(t=>(t[t.UseFsEvents=0]="UseFsEvents",t[t.FixedPollingInterval=1]="FixedPollingInterval",t[t.DynamicPriorityPolling=2]="DynamicPriorityPolling",t[t.FixedChunkSizePolling=3]="FixedChunkSizePolling",t))(tse||{}),ise=(t=>(t[t.FixedInterval=0]="FixedInterval",t[t.PriorityInterval=1]="PriorityInterval",t[t.DynamicPriority=2]="DynamicPriority",t[t.FixedChunkSize=3]="FixedChunkSize",t))(ise||{}),FN=(t=>(t[t.None=0]="None",t[t.CommonJS=1]="CommonJS",t[t.AMD=2]="AMD",t[t.UMD=3]="UMD",t[t.System=4]="System",t[t.ES2015=5]="ES2015",t[t.ES2020=6]="ES2020",t[t.ES2022=7]="ES2022",t[t.ESNext=99]="ESNext",t[t.Node16=100]="Node16",t[t.NodeNext=199]="NodeNext",t))(FN||{}),nse=(t=>(t[t.None=0]="None",t[t.Preserve=1]="Preserve",t[t.React=2]="React",t[t.ReactNative=3]="ReactNative",t[t.ReactJSX=4]="ReactJSX",t[t.ReactJSXDev=5]="ReactJSXDev",t))(nse||{}),use=(t=>(t[t.Remove=0]="Remove",t[t.Preserve=1]="Preserve",t[t.Error=2]="Error",t))(use||{}),rse=(t=>(t[t.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",t[t.LineFeed=1]="LineFeed",t))(rse||{}),pU=(t=>(t[t.Unknown=0]="Unknown",t[t.JS=1]="JS",t[t.JSX=2]="JSX",t[t.TS=3]="TS",t[t.TSX=4]="TSX",t[t.External=5]="External",t[t.JSON=6]="JSON",t[t.Deferred=7]="Deferred",t))(pU||{}),ase=(t=>(t[t.ES3=0]="ES3",t[t.ES5=1]="ES5",t[t.ES2015=2]="ES2015",t[t.ES2016=3]="ES2016",t[t.ES2017=4]="ES2017",t[t.ES2018=5]="ES2018",t[t.ES2019=6]="ES2019",t[t.ES2020=7]="ES2020",t[t.ES2021=8]="ES2021",t[t.ES2022=9]="ES2022",t[t.ESNext=99]="ESNext",t[t.JSON=100]="JSON",t[t.Latest=99]="Latest",t))(ase||{}),ose=(t=>(t[t.Standard=0]="Standard",t[t.JSX=1]="JSX",t))(ose||{}),sse=(t=>(t[t.None=0]="None",t[t.Recursive=1]="Recursive",t))(sse||{}),lse=(t=>(t[t.nullCharacter=0]="nullCharacter",t[t.maxAsciiCharacter=127]="maxAsciiCharacter",t[t.lineFeed=10]="lineFeed",t[t.carriageReturn=13]="carriageReturn",t[t.lineSeparator=8232]="lineSeparator",t[t.paragraphSeparator=8233]="paragraphSeparator",t[t.nextLine=133]="nextLine",t[t.space=32]="space",t[t.nonBreakingSpace=160]="nonBreakingSpace",t[t.enQuad=8192]="enQuad",t[t.emQuad=8193]="emQuad",t[t.enSpace=8194]="enSpace",t[t.emSpace=8195]="emSpace",t[t.threePerEmSpace=8196]="threePerEmSpace",t[t.fourPerEmSpace=8197]="fourPerEmSpace",t[t.sixPerEmSpace=8198]="sixPerEmSpace",t[t.figureSpace=8199]="figureSpace",t[t.punctuationSpace=8200]="punctuationSpace",t[t.thinSpace=8201]="thinSpace",t[t.hairSpace=8202]="hairSpace",t[t.zeroWidthSpace=8203]="zeroWidthSpace",t[t.narrowNoBreakSpace=8239]="narrowNoBreakSpace",t[t.ideographicSpace=12288]="ideographicSpace",t[t.mathematicalSpace=8287]="mathematicalSpace",t[t.ogham=5760]="ogham",t[t.replacementCharacter=65533]="replacementCharacter",t[t._=95]="_",t[t.$=36]="$",t[t._0=48]="_0",t[t._1=49]="_1",t[t._2=50]="_2",t[t._3=51]="_3",t[t._4=52]="_4",t[t._5=53]="_5",t[t._6=54]="_6",t[t._7=55]="_7",t[t._8=56]="_8",t[t._9=57]="_9",t[t.a=97]="a",t[t.b=98]="b",t[t.c=99]="c",t[t.d=100]="d",t[t.e=101]="e",t[t.f=102]="f",t[t.g=103]="g",t[t.h=104]="h",t[t.i=105]="i",t[t.j=106]="j",t[t.k=107]="k",t[t.l=108]="l",t[t.m=109]="m",t[t.n=110]="n",t[t.o=111]="o",t[t.p=112]="p",t[t.q=113]="q",t[t.r=114]="r",t[t.s=115]="s",t[t.t=116]="t",t[t.u=117]="u",t[t.v=118]="v",t[t.w=119]="w",t[t.x=120]="x",t[t.y=121]="y",t[t.z=122]="z",t[t.A=65]="A",t[t.B=66]="B",t[t.C=67]="C",t[t.D=68]="D",t[t.E=69]="E",t[t.F=70]="F",t[t.G=71]="G",t[t.H=72]="H",t[t.I=73]="I",t[t.J=74]="J",t[t.K=75]="K",t[t.L=76]="L",t[t.M=77]="M",t[t.N=78]="N",t[t.O=79]="O",t[t.P=80]="P",t[t.Q=81]="Q",t[t.R=82]="R",t[t.S=83]="S",t[t.T=84]="T",t[t.U=85]="U",t[t.V=86]="V",t[t.W=87]="W",t[t.X=88]="X",t[t.Y=89]="Y",t[t.Z=90]="Z",t[t.ampersand=38]="ampersand",t[t.asterisk=42]="asterisk",t[t.at=64]="at",t[t.backslash=92]="backslash",t[t.backtick=96]="backtick",t[t.bar=124]="bar",t[t.caret=94]="caret",t[t.closeBrace=125]="closeBrace",t[t.closeBracket=93]="closeBracket",t[t.closeParen=41]="closeParen",t[t.colon=58]="colon",t[t.comma=44]="comma",t[t.dot=46]="dot",t[t.doubleQuote=34]="doubleQuote",t[t.equals=61]="equals",t[t.exclamation=33]="exclamation",t[t.greaterThan=62]="greaterThan",t[t.hash=35]="hash",t[t.lessThan=60]="lessThan",t[t.minus=45]="minus",t[t.openBrace=123]="openBrace",t[t.openBracket=91]="openBracket",t[t.openParen=40]="openParen",t[t.percent=37]="percent",t[t.plus=43]="plus",t[t.question=63]="question",t[t.semicolon=59]="semicolon",t[t.singleQuote=39]="singleQuote",t[t.slash=47]="slash",t[t.tilde=126]="tilde",t[t.backspace=8]="backspace",t[t.formFeed=12]="formFeed",t[t.byteOrderMark=65279]="byteOrderMark",t[t.tab=9]="tab",t[t.verticalTab=11]="verticalTab",t))(lse||{}),cse=(t=>(t.Ts=".ts",t.Tsx=".tsx",t.Dts=".d.ts",t.Js=".js",t.Jsx=".jsx",t.Json=".json",t.TsBuildInfo=".tsbuildinfo",t.Mjs=".mjs",t.Mts=".mts",t.Dmts=".d.mts",t.Cjs=".cjs",t.Cts=".cts",t.Dcts=".d.cts",t))(cse||{}),gU=(t=>(t[t.None=0]="None",t[t.ContainsTypeScript=1]="ContainsTypeScript",t[t.ContainsJsx=2]="ContainsJsx",t[t.ContainsESNext=4]="ContainsESNext",t[t.ContainsES2022=8]="ContainsES2022",t[t.ContainsES2021=16]="ContainsES2021",t[t.ContainsES2020=32]="ContainsES2020",t[t.ContainsES2019=64]="ContainsES2019",t[t.ContainsES2018=128]="ContainsES2018",t[t.ContainsES2017=256]="ContainsES2017",t[t.ContainsES2016=512]="ContainsES2016",t[t.ContainsES2015=1024]="ContainsES2015",t[t.ContainsGenerator=2048]="ContainsGenerator",t[t.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",t[t.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",t[t.ContainsLexicalThis=16384]="ContainsLexicalThis",t[t.ContainsRestOrSpread=32768]="ContainsRestOrSpread",t[t.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",t[t.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",t[t.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",t[t.ContainsBindingPattern=524288]="ContainsBindingPattern",t[t.ContainsYield=1048576]="ContainsYield",t[t.ContainsAwait=2097152]="ContainsAwait",t[t.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",t[t.ContainsDynamicImport=8388608]="ContainsDynamicImport",t[t.ContainsClassFields=16777216]="ContainsClassFields",t[t.ContainsDecorators=33554432]="ContainsDecorators",t[t.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",t[t.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",t[t.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",t[t.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",t[t.HasComputedFlags=-2147483648]="HasComputedFlags",t[t.AssertTypeScript=1]="AssertTypeScript",t[t.AssertJsx=2]="AssertJsx",t[t.AssertESNext=4]="AssertESNext",t[t.AssertES2022=8]="AssertES2022",t[t.AssertES2021=16]="AssertES2021",t[t.AssertES2020=32]="AssertES2020",t[t.AssertES2019=64]="AssertES2019",t[t.AssertES2018=128]="AssertES2018",t[t.AssertES2017=256]="AssertES2017",t[t.AssertES2016=512]="AssertES2016",t[t.AssertES2015=1024]="AssertES2015",t[t.AssertGenerator=2048]="AssertGenerator",t[t.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",t[t.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",t[t.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",t[t.NodeExcludes=-2147483648]="NodeExcludes",t[t.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",t[t.FunctionExcludes=-1937940480]="FunctionExcludes",t[t.ConstructorExcludes=-1937948672]="ConstructorExcludes",t[t.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",t[t.PropertyExcludes=-2013249536]="PropertyExcludes",t[t.ClassExcludes=-2147344384]="ClassExcludes",t[t.ModuleExcludes=-1941676032]="ModuleExcludes",t[t.TypeExcludes=-2]="TypeExcludes",t[t.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",t[t.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",t[t.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",t[t.ParameterExcludes=-2147483648]="ParameterExcludes",t[t.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",t[t.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",t[t.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",t[t.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",t))(gU||{}),EU=(t=>(t[t.TabStop=0]="TabStop",t[t.Placeholder=1]="Placeholder",t[t.Choice=2]="Choice",t[t.Variable=3]="Variable",t))(EU||{}),_U=(t=>(t[t.None=0]="None",t[t.SingleLine=1]="SingleLine",t[t.MultiLine=2]="MultiLine",t[t.AdviseOnEmitNode=4]="AdviseOnEmitNode",t[t.NoSubstitution=8]="NoSubstitution",t[t.CapturesThis=16]="CapturesThis",t[t.NoLeadingSourceMap=32]="NoLeadingSourceMap",t[t.NoTrailingSourceMap=64]="NoTrailingSourceMap",t[t.NoSourceMap=96]="NoSourceMap",t[t.NoNestedSourceMaps=128]="NoNestedSourceMaps",t[t.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",t[t.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",t[t.NoTokenSourceMaps=768]="NoTokenSourceMaps",t[t.NoLeadingComments=1024]="NoLeadingComments",t[t.NoTrailingComments=2048]="NoTrailingComments",t[t.NoComments=3072]="NoComments",t[t.NoNestedComments=4096]="NoNestedComments",t[t.HelperName=8192]="HelperName",t[t.ExportName=16384]="ExportName",t[t.LocalName=32768]="LocalName",t[t.InternalName=65536]="InternalName",t[t.Indented=131072]="Indented",t[t.NoIndentation=262144]="NoIndentation",t[t.AsyncFunctionBody=524288]="AsyncFunctionBody",t[t.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",t[t.CustomPrologue=2097152]="CustomPrologue",t[t.NoHoisting=4194304]="NoHoisting",t[t.Iterator=8388608]="Iterator",t[t.NoAsciiEscaping=16777216]="NoAsciiEscaping",t))(_U||{}),dse=(t=>(t[t.None=0]="None",t[t.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",t[t.NeverApplyImportHelper=2]="NeverApplyImportHelper",t[t.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",t[t.Immutable=8]="Immutable",t[t.IndirectCall=16]="IndirectCall",t[t.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",t))(dse||{}),hse=(t=>(t[t.Extends=1]="Extends",t[t.Assign=2]="Assign",t[t.Rest=4]="Rest",t[t.Decorate=8]="Decorate",t[t.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",t[t.Metadata=16]="Metadata",t[t.Param=32]="Param",t[t.Awaiter=64]="Awaiter",t[t.Generator=128]="Generator",t[t.Values=256]="Values",t[t.Read=512]="Read",t[t.SpreadArray=1024]="SpreadArray",t[t.Await=2048]="Await",t[t.AsyncGenerator=4096]="AsyncGenerator",t[t.AsyncDelegator=8192]="AsyncDelegator",t[t.AsyncValues=16384]="AsyncValues",t[t.ExportStar=32768]="ExportStar",t[t.ImportStar=65536]="ImportStar",t[t.ImportDefault=131072]="ImportDefault",t[t.MakeTemplateObject=262144]="MakeTemplateObject",t[t.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",t[t.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",t[t.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",t[t.CreateBinding=4194304]="CreateBinding",t[t.SetFunctionName=8388608]="SetFunctionName",t[t.PropKey=16777216]="PropKey",t[t.AddDisposableResourceAndDisposeResources=33554432]="AddDisposableResourceAndDisposeResources",t[t.FirstEmitHelper=1]="FirstEmitHelper",t[t.LastEmitHelper=33554432]="LastEmitHelper",t[t.ForOfIncludes=256]="ForOfIncludes",t[t.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",t[t.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",t[t.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",t[t.SpreadIncludes=1536]="SpreadIncludes",t))(hse||{}),fse=(t=>(t[t.SourceFile=0]="SourceFile",t[t.Expression=1]="Expression",t[t.IdentifierName=2]="IdentifierName",t[t.MappedTypeParameter=3]="MappedTypeParameter",t[t.Unspecified=4]="Unspecified",t[t.EmbeddedStatement=5]="EmbeddedStatement",t[t.JsxAttributeValue=6]="JsxAttributeValue",t))(fse||{}),mse=(t=>(t[t.Parentheses=1]="Parentheses",t[t.TypeAssertions=2]="TypeAssertions",t[t.NonNullAssertions=4]="NonNullAssertions",t[t.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",t[t.Assertions=6]="Assertions",t[t.All=15]="All",t[t.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion",t))(mse||{}),pse=(t=>(t[t.None=0]="None",t[t.InParameters=1]="InParameters",t[t.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",t))(pse||{}),gse=(t=>(t.Prologue="prologue",t.EmitHelpers="emitHelpers",t.NoDefaultLib="no-default-lib",t.Reference="reference",t.Type="type",t.TypeResolutionModeRequire="type-require",t.TypeResolutionModeImport="type-import",t.Lib="lib",t.Prepend="prepend",t.Text="text",t.Internal="internal",t))(gse||{}),Ese=(t=>(t[t.None=0]="None",t[t.SingleLine=0]="SingleLine",t[t.MultiLine=1]="MultiLine",t[t.PreserveLines=2]="PreserveLines",t[t.LinesMask=3]="LinesMask",t[t.NotDelimited=0]="NotDelimited",t[t.BarDelimited=4]="BarDelimited",t[t.AmpersandDelimited=8]="AmpersandDelimited",t[t.CommaDelimited=16]="CommaDelimited",t[t.AsteriskDelimited=32]="AsteriskDelimited",t[t.DelimitersMask=60]="DelimitersMask",t[t.AllowTrailingComma=64]="AllowTrailingComma",t[t.Indented=128]="Indented",t[t.SpaceBetweenBraces=256]="SpaceBetweenBraces",t[t.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",t[t.Braces=1024]="Braces",t[t.Parenthesis=2048]="Parenthesis",t[t.AngleBrackets=4096]="AngleBrackets",t[t.SquareBrackets=8192]="SquareBrackets",t[t.BracketsMask=15360]="BracketsMask",t[t.OptionalIfUndefined=16384]="OptionalIfUndefined",t[t.OptionalIfEmpty=32768]="OptionalIfEmpty",t[t.Optional=49152]="Optional",t[t.PreferNewLine=65536]="PreferNewLine",t[t.NoTrailingNewLine=131072]="NoTrailingNewLine",t[t.NoInterveningComments=262144]="NoInterveningComments",t[t.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",t[t.SingleElement=1048576]="SingleElement",t[t.SpaceAfterList=2097152]="SpaceAfterList",t[t.Modifiers=2359808]="Modifiers",t[t.HeritageClauses=512]="HeritageClauses",t[t.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",t[t.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",t[t.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",t[t.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",t[t.UnionTypeConstituents=516]="UnionTypeConstituents",t[t.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",t[t.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",t[t.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",t[t.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",t[t.ImportAttributes=526226]="ImportAttributes",t[t.ImportClauseEntries=526226]="ImportClauseEntries",t[t.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",t[t.CommaListElements=528]="CommaListElements",t[t.CallExpressionArguments=2576]="CallExpressionArguments",t[t.NewExpressionArguments=18960]="NewExpressionArguments",t[t.TemplateExpressionSpans=262144]="TemplateExpressionSpans",t[t.SingleLineBlockStatements=768]="SingleLineBlockStatements",t[t.MultiLineBlockStatements=129]="MultiLineBlockStatements",t[t.VariableDeclarationList=528]="VariableDeclarationList",t[t.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",t[t.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",t[t.ClassHeritageClauses=0]="ClassHeritageClauses",t[t.ClassMembers=129]="ClassMembers",t[t.InterfaceMembers=129]="InterfaceMembers",t[t.EnumMembers=145]="EnumMembers",t[t.CaseBlockClauses=129]="CaseBlockClauses",t[t.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",t[t.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",t[t.JsxElementAttributes=262656]="JsxElementAttributes",t[t.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",t[t.HeritageClauseTypes=528]="HeritageClauseTypes",t[t.SourceFileStatements=131073]="SourceFileStatements",t[t.Decorators=2146305]="Decorators",t[t.TypeArguments=53776]="TypeArguments",t[t.TypeParameters=53776]="TypeParameters",t[t.Parameters=2576]="Parameters",t[t.IndexSignatureParameters=8848]="IndexSignatureParameters",t[t.JSDocComment=33]="JSDocComment",t))(Ese||{}),_se=(t=>(t[t.None=0]="None",t[t.TripleSlashXML=1]="TripleSlashXML",t[t.SingleLine=2]="SingleLine",t[t.MultiLine=4]="MultiLine",t[t.All=7]="All",t[t.Default=7]="Default",t))(_se||{}),CO={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0},{name:"resolution-mode",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4},jsxfrag:{args:[{name:"factory"}],kind:4},jsximportsource:{args:[{name:"factory"}],kind:4},jsxruntime:{args:[{name:"factory"}],kind:4}},Dse=(t=>(t[t.ParseAll=0]="ParseAll",t[t.ParseNone=1]="ParseNone",t[t.ParseForTypeErrors=2]="ParseForTypeErrors",t[t.ParseForTypeInfo=3]="ParseForTypeInfo",t))(Dse||{})}});function AN(t){let u=5381;for(let s=0;s{se.isClosed=!0,Vy(u,se)}}}function v(K){const Y=[];return Y.pollingInterval=K,Y.pollIndex=0,Y.pollScheduled=!1,Y}function b(K,Y){Y.pollIndex=k(Y,Y.pollingInterval,Y.pollIndex,vU[Y.pollingInterval]),Y.length?J(Y.pollingInterval):(H.assert(Y.pollIndex===0),Y.pollScheduled=!1)}function B(K,Y){k(s,250,0,s.length),b(K,Y),!Y.pollScheduled&&s.length&&J(250)}function k(K,Y,oe,se){return Mqe(t,K,oe,se,ge);function ge(ae,Ce,ne){ne?(ae.unchangedPolls=0,K!==s&&(K[Ce]=void 0,z(ae))):ae.unchangedPolls!==yO[Y]?ae.unchangedPolls++:K===s?(ae.unchangedPolls=1,K[Ce]=void 0,M(ae,250)):Y!==2e3&&(ae.unchangedPolls++,K[Ce]=void 0,M(ae,Y===250?500:2e3))}}function T(K){switch(K){case 250:return d;case 500:return f;case 2e3:return p}}function M(K,Y){T(Y).push(K),j(Y)}function z(K){s.push(K),j(250)}function j(K){T(K).pollScheduled||J(K)}function J(K){T(K).pollScheduled=t.setTimeout(K===250?B:b,K,K===250?"pollLowPollingIntervalQueue":"pollPollingIntervalQueue",T(K))}}function Qwt(t,u){const s=wm(),d=new Map,f=L1(u);return p;function p(v,b,B,k){const T=f(v);s.add(T,b);const M=lr(T)||".",z=d.get(M)||E(lr(v)||".",M,k);return z.referenceCount++,{close:()=>{z.referenceCount===1?(z.close(),d.delete(M)):z.referenceCount--,s.remove(T,b)}}}function E(v,b,B){const k=t(v,1,(T,M,z)=>{if(!Ja(M))return;const j=$a(M,v),J=j&&s.get(f(j));if(J)for(const K of J)K(j,1,z)},!1,500,B);return k.referenceCount=0,d.set(b,k),k}}function Xwt(t){const u=[];let s=0,d;return f;function f(v,b){const B={fileName:v,callback:b,mtime:e7(t,v)};return u.push(B),E(),{close:()=>{B.isClosed=!0,Vy(u,B)}}}function p(){d=void 0,s=Mqe(t,u,s,vU[250]),E()}function E(){!u.length||d||(d=t.setTimeout(p,2e3,"pollQueue"))}}function zqe(t,u,s,d,f){const E=L1(u)(s),v=t.get(E);return v?v.callbacks.push(d):t.set(E,{watcher:f((b,B,k)=>{var T;return(T=t.get(E))==null?void 0:T.callbacks.slice().forEach(M=>M(b,B,k))}),callbacks:[d]}),{close:()=>{const b=t.get(E);b&&(!gO(b.callbacks,d)||b.callbacks.length||(t.delete(E),jm(b)))}}}function eTt(t,u){const s=t.mtime.getTime(),d=u.getTime();return s!==d?(t.mtime=u,t.callback(t.fileName,xse(s,d),u),!0):!1}function xse(t,u){return t===0?0:u===0?2:1}function bO(t){return D2e(t)}function g2e(t){D2e=t}function tTt({watchDirectory:t,useCaseSensitiveFileNames:u,getCurrentDirectory:s,getAccessibleSortedChildDirectories:d,fileSystemEntryExists:f,realpath:p,setTimeout:E,clearTimeout:v}){const b=new Map,B=wm(),k=new Map;let T;const M=CN(!u),z=L1(u);return(ne,ve,Se,Ne)=>Se?j(ne,Ne,ve):t(ne,ve,Se,Ne);function j(ne,ve,Se){const Ne=z(ne);let pe=b.get(Ne);pe?pe.refCount++:(pe={watcher:t(ne,xe=>{ae(xe,ve)||(ve!=null&&ve.synchronousWatchDirectory?(J(Ne,xe),ge(ne,Ne,ve)):K(ne,Ne,xe,ve))},!1,ve),refCount:1,childWatches:_t},b.set(Ne,pe),ge(ne,Ne,ve));const fe=Se&&{dirName:ne,callback:Se};return fe&&B.add(Ne,fe),{dirName:ne,close:()=>{const xe=H.checkDefined(b.get(Ne));fe&&B.remove(Ne,fe),xe.refCount--,!xe.refCount&&(b.delete(Ne),jm(xe),xe.childWatches.forEach(fg))}}}function J(ne,ve,Se){let Ne,pe;Ja(ve)?Ne=ve:pe=ve,B.forEach((fe,xe)=>{if(!(pe&&pe.get(xe)===!0)&&(xe===ne||Pa(ne,xe)&&ne[xe.length]===rl))if(pe)if(Se){const Be=pe.get(xe);Be?Be.push(...Se):pe.set(xe,Se.slice())}else pe.set(xe,!0);else fe.forEach(({callback:Be})=>Be(Ne))})}function K(ne,ve,Se,Ne){const pe=b.get(ve);if(pe&&f(ne,1)){Y(ne,ve,Se,Ne);return}J(ve,Se),se(pe)}function Y(ne,ve,Se,Ne){const pe=k.get(ve);pe?pe.fileNames.push(Se):k.set(ve,{dirName:ne,options:Ne,fileNames:[Se]}),T&&(v(T),T=void 0),T=E(oe,1e3,"timerToUpdateChildWatches")}function oe(){T=void 0,bO(`sysLog:: onTimerToUpdateChildWatches:: ${k.size}`);const ne=G0(),ve=new Map;for(;!T&&k.size;){const Ne=k.entries().next();H.assert(!Ne.done);const{value:[pe,{dirName:fe,options:xe,fileNames:Be}]}=Ne;k.delete(pe);const Ge=ge(fe,pe,xe);J(pe,ve,Ge?void 0:Be)}bO(`sysLog:: invokingWatchers:: Elapsed:: ${G0()-ne}ms:: ${k.size}`),B.forEach((Ne,pe)=>{const fe=ve.get(pe);fe&&Ne.forEach(({callback:xe,dirName:Be})=>{Ha(fe)?fe.forEach(xe):xe(Be)})});const Se=G0()-ne;bO(`sysLog:: Elapsed:: ${Se}ms:: onTimerToUpdateChildWatches:: ${k.size} ${T}`)}function se(ne){if(!ne)return;const ve=ne.childWatches;ne.childWatches=_t;for(const Se of ve)Se.close(),se(b.get(z(Se.dirName)))}function ge(ne,ve,Se){const Ne=b.get(ve);if(!Ne)return!1;let pe;const fe=eU(f(ne,1)?qi(d(ne),Ge=>{const Ae=$a(Ge,ne);return!ae(Ae,Se)&&M(Ae,$o(p(Ae)))===0?Ae:void 0}):_t,Ne.childWatches,(Ge,Ae)=>M(Ge,Ae.dirName),xe,fg,Be);return Ne.childWatches=pe||_t,fe;function xe(Ge){const Ae=j(Ge,Se);Be(Ae)}function Be(Ge){(pe||(pe=[])).push(Ge)}}function ae(ne,ve){return Oe(kO,Se=>Ce(ne,Se))||Iqe(ne,ve,u,s)}function Ce(ne,ve){return ne.includes(ve)?!0:u?!1:z(ne).includes(ve)}}function iTt(t){return(u,s,d)=>t(s===1?"change":"rename","",d)}function nTt(t,u,s){return(d,f,p)=>{d==="rename"?(p||(p=s(t)||K_),u(t,p!==K_?0:2,p)):u(t,1,p)}}function Iqe(t,u,s,d){return((u==null?void 0:u.excludeDirectories)||(u==null?void 0:u.excludeFiles))&&(TY(t,u==null?void 0:u.excludeFiles,s,d())||TY(t,u==null?void 0:u.excludeDirectories,s,d()))}function Rqe(t,u,s,d,f){return(p,E)=>{if(p==="rename"){const v=E?$o(cr(t,E)):t;(!E||!Iqe(v,s,d,f))&&u(v)}}}function E2e({pollingWatchFileWorker:t,getModifiedTime:u,setTimeout:s,clearTimeout:d,fsWatchWorker:f,fileSystemEntryExists:p,useCaseSensitiveFileNames:E,getCurrentDirectory:v,fsSupportsRecursiveFsWatch:b,getAccessibleSortedChildDirectories:B,realpath:k,tscWatchFile:T,useNonPollingWatchers:M,tscWatchDirectory:z,inodeWatching:j,sysLog:J}){const K=new Map,Y=new Map,oe=new Map;let se,ge,ae,Ce,ne=!1;return{watchFile:ve,watchDirectory:xe};function ve(Je,ft,Ye,Ve){Ve=pe(Ve,M);const We=H.checkDefined(Ve.watchFile);switch(We){case 0:return Ae(Je,ft,250,void 0);case 1:return Ae(Je,ft,Ye,void 0);case 2:return Se()(Je,ft,Ye,void 0);case 3:return Ne()(Je,ft,void 0,void 0);case 4:return De(Je,0,nTt(Je,ft,u),!1,Ye,xH(Ve));case 5:return ae||(ae=Qwt(De,E)),ae(Je,ft,Ye,xH(Ve));default:H.assertNever(We)}}function Se(){return se||(se=Ywt({getModifiedTime:u,setTimeout:s}))}function Ne(){return ge||(ge=Xwt({getModifiedTime:u,setTimeout:s}))}function pe(Je,ft){if(Je&&Je.watchFile!==void 0)return Je;switch(T){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return fe(4,1,Je);case"UseFsEventsWithFallbackDynamicPolling":return fe(4,2,Je);case"UseFsEventsOnParentDirectory":ft=!0;default:return ft?fe(5,1,Je):{watchFile:4}}}function fe(Je,ft,Ye){const Ve=Ye==null?void 0:Ye.fallbackPolling;return{watchFile:Je,fallbackPolling:Ve===void 0?ft:Ve}}function xe(Je,ft,Ye,Ve){return b?De(Je,1,Rqe(Je,ft,Ve,E,v),Ye,500,xH(Ve)):(Ce||(Ce=tTt({useCaseSensitiveFileNames:E,getCurrentDirectory:v,fileSystemEntryExists:p,getAccessibleSortedChildDirectories:B,watchDirectory:Be,realpath:k,setTimeout:s,clearTimeout:d})),Ce(Je,ft,Ye,Ve))}function Be(Je,ft,Ye,Ve){H.assert(!Ye);const We=Ge(Ve),Gt=H.checkDefined(We.watchDirectory);switch(Gt){case 1:return Ae(Je,()=>ft(Je),500,void 0);case 2:return Se()(Je,()=>ft(Je),500,void 0);case 3:return Ne()(Je,()=>ft(Je),void 0,void 0);case 0:return De(Je,1,Rqe(Je,ft,Ve,E,v),Ye,500,xH(We));default:H.assertNever(Gt)}}function Ge(Je){if(Je&&Je.watchDirectory!==void 0)return Je;switch(z){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:const ft=Je==null?void 0:Je.fallbackPolling;return{watchDirectory:0,fallbackPolling:ft!==void 0?ft:void 0}}}function Ae(Je,ft,Ye,Ve){return zqe(K,E,Je,ft,We=>t(Je,We,Ye,Ve))}function De(Je,ft,Ye,Ve,We,Gt){return zqe(Ve?oe:Y,E,Je,Ye,Yt=>Ke(Je,ft,Yt,Ve,We,Gt))}function Ke(Je,ft,Ye,Ve,We,Gt){let Yt,Ie;j&&(Yt=Je.substring(Je.lastIndexOf(rl)),Ie=Yt.slice(rl.length));let st=p(Je,ft)?It():Ut();return{close:()=>{st&&(st.close(),st=void 0)}};function St(Ni){st&&(J(`sysLog:: ${Je}:: Changing watcher to ${Ni===It?"Present":"Missing"}FileSystemEntryWatcher`),st.close(),st=Ni())}function It(){if(ne)return J(`sysLog:: ${Je}:: Defaulting to watchFile`),ht();try{const Ni=f(Je,Ve,j?ei:Ye);return Ni.on("error",()=>{Ye("rename",""),St(Ut)}),Ni}catch(Ni){return ne||(ne=Ni.code==="ENOSPC"),J(`sysLog:: ${Je}:: Changing to watchFile`),ht()}}function ei(Ni,ji){let xn;if(ji&&sc(ji,"~")&&(xn=ji,ji=ji.slice(0,ji.length-1)),Ni==="rename"&&(!ji||ji===Ie||sc(ji,Yt))){const Jn=u(Je)||K_;xn&&Ye(Ni,xn,Jn),Ye(Ni,ji,Jn),j?St(Jn===K_?Ut:It):Jn===K_&&St(Ut)}else xn&&Ye(Ni,xn),Ye(Ni,ji)}function ht(){return ve(Je,iTt(Ye),We,Gt)}function Ut(){return ve(Je,(Ni,ji,xn)=>{ji===0&&(xn||(xn=u(Je)||K_),xn!==K_&&(Ye("rename","",xn),St(It)))},We,Gt)}}}function _2e(t){const u=t.writeFile;t.writeFile=(s,d,f)=>nle(s,d,!!f,(p,E,v)=>u.call(t,p,E,v),p=>t.createDirectory(p),p=>t.directoryExists(p))}function Oqe(t){c1=t}var vse,DU,K_,xU,vU,yO,kO,D2e,Cse,c1,uTt=o({"src/compiler/sys.ts"(){Bo(),vse=(t=>(t[t.Created=0]="Created",t[t.Changed=1]="Changed",t[t.Deleted=2]="Deleted",t))(vse||{}),DU=(t=>(t[t.High=2e3]="High",t[t.Medium=500]="Medium",t[t.Low=250]="Low",t))(DU||{}),K_=new Date(0),xU={Low:32,Medium:64,High:256},vU=p2e(xU),yO=p2e(xU),kO=["/node_modules/.","/.git","/.#"],D2e=Is,Cse=(t=>(t[t.File=0]="File",t[t.Directory=1]="Directory",t))(Cse||{}),c1=(()=>{const t="\uFEFF";function u(){const d=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/,f=rS,p=rS,E=rS;let v;try{v=rS}catch{v=void 0}let b,B="./profile.cpuprofile";const k=rS.Buffer,T=process.platform==="linux"||process.platform==="darwin",M=E.platform(),z=Ne(),j=f.realpathSync.native?process.platform==="win32"?We:f.realpathSync.native:f.realpathSync,J=__filename.endsWith("sys.js")?p.join(p.dirname(__dirname),"__fake__.js"):__filename,K=process.platform==="win32"||process.platform==="darwin",Y=Mh(()=>process.cwd()),{watchFile:oe,watchDirectory:se}=E2e({pollingWatchFileWorker:fe,getModifiedTime:Yt,setTimeout,clearTimeout,fsWatchWorker:xe,useCaseSensitiveFileNames:z,getCurrentDirectory:Y,fileSystemEntryExists:Je,fsSupportsRecursiveFsWatch:K,getAccessibleSortedChildDirectories:It=>De(It).directories,realpath:Gt,tscWatchFile:e.TSC_WATCHFILE,useNonPollingWatchers:!!e.TSC_NONPOLLING_WATCHER,tscWatchDirectory:e.TSC_WATCHDIRECTORY,inodeWatching:T,sysLog:bO}),ge={args:process.argv.slice(2),newLine:E.EOL,useCaseSensitiveFileNames:z,write(It){process.stdout.write(It)},getWidthOfTerminal(){return process.stdout.columns},writeOutputIsTTY(){return process.stdout.isTTY},readFile:Ge,writeFile:Ae,watchFile:oe,watchDirectory:se,resolvePath:It=>p.resolve(It),fileExists:ft,directoryExists:Ye,createDirectory(It){if(!ge.directoryExists(It))try{f.mkdirSync(It)}catch(ei){if(ei.code!=="EEXIST")throw ei}},getExecutingFilePath(){return J},getCurrentDirectory:Y,getDirectories:Ve,getEnvironmentVariable(It){return e[It]||""},readDirectory:Ke,getModifiedTime:Yt,setModifiedTime:Ie,deleteFile:st,createHash:v?St:AN,createSHA256Hash:v?St:void 0,getMemoryUsage(){return Zpt.gc&&Zpt.gc(),process.memoryUsage().heapUsed},getFileSize(It){try{const ei=ae(It);if(ei!=null&&ei.isFile())return ei.size}catch{}return 0},exit(It){ve(()=>process.exit(It))},enableCPUProfiler:Ce,disableCPUProfiler:ve,cpuProfilingEnabled:()=>!!b||kt(process.execArgv,"--cpu-prof")||kt(process.execArgv,"--prof"),realpath:Gt,debugMode:!!e.NODE_INSPECTOR_IPC||!!e.VSCODE_INSPECTOR_OPTIONS||Oe(process.execArgv,It=>/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(It))||!!process.recordreplay,tryEnableSourceMapsForHost(){try{rS.install()}catch{}},setTimeout,clearTimeout,clearScreen:()=>{process.stdout.write("\x1Bc")},setBlocking:()=>{var It;const ei=(It=process.stdout)==null?void 0:It._handle;ei&&ei.setBlocking&&ei.setBlocking(!0)},bufferFrom:Se,base64decode:It=>Se(It,"base64").toString("utf8"),base64encode:It=>Se(It).toString("base64"),require:(It,ei)=>{try{const ht=pAe(ei,It,ge);return{module:Ypt(ht),modulePath:ht,error:void 0}}catch(ht){return{module:void 0,modulePath:void 0,error:ht}}}};return ge;function ae(It){return f.statSync(It,{throwIfNoEntry:!1})}function Ce(It,ei){if(b)return ei(),!1;const ht=rS;if(!ht||!ht.Session)return ei(),!1;const Ut=new ht.Session;return Ut.connect(),Ut.post("Profiler.enable",()=>{Ut.post("Profiler.start",()=>{b=Ut,B=It,ei()})}),!0}function ne(It){let ei=0;const ht=new Map,Ut=q1(p.dirname(J)),Ni=`file://${WE(Ut)===1?"":"/"}${Ut}`;for(const ji of It.nodes)if(ji.callFrame.url){const xn=q1(ji.callFrame.url);GE(Ni,xn,z)?ji.callFrame.url=i7(Ni,xn,Ni,L1(z),!0):d.test(xn)||(ji.callFrame.url=(ht.has(xn)?ht:ht.set(xn,`external${ei}.js`)).get(xn),ei++)}return It}function ve(It){if(b&&b!=="stopping"){const ei=b;return b.post("Profiler.stop",(ht,{profile:Ut})=>{var Ni;if(!ht){try{(Ni=ae(B))!=null&&Ni.isDirectory()&&(B=p.join(B,`${new Date().toISOString().replace(/:/g,"-")}+P${process.pid}.cpuprofile`))}catch{}try{f.mkdirSync(p.dirname(B),{recursive:!0})}catch{}f.writeFileSync(B,JSON.stringify(ne(Ut)))}b=void 0,ei.disconnect(),It()}),b="stopping",!0}else return It(),!1}function Se(It,ei){return k.from&&k.from!==Int8Array.from?k.from(It,ei):new k(It,ei)}function Ne(){return M==="win32"||M==="win64"?!1:!ft(pe(__filename))}function pe(It){return It.replace(/\w/g,ei=>{const ht=ei.toUpperCase();return ei===ht?ei.toLowerCase():ht})}function fe(It,ei,ht){f.watchFile(It,{persistent:!0,interval:ht},Ni);let Ut;return{close:()=>f.unwatchFile(It,Ni)};function Ni(ji,xn){const Jn=+xn.mtime==0||Ut===2;if(+ji.mtime==0){if(Jn)return;Ut=2}else if(Jn)Ut=0;else{if(+ji.mtime==+xn.mtime)return;Ut=1}ei(It,Ut,ji.mtime)}}function xe(It,ei,ht){return f.watch(It,K?{persistent:!0,recursive:!!ei}:{persistent:!0},ht)}function Be(It,ei){let ht;try{ht=f.readFileSync(It)}catch{return}let Ut=ht.length;if(Ut>=2&&ht[0]===254&&ht[1]===255){Ut&=-2;for(let Ni=0;Ni=2&&ht[0]===255&&ht[1]===254?ht.toString("utf16le",2):Ut>=3&&ht[0]===239&&ht[1]===187&&ht[2]===191?ht.toString("utf8",3):ht.toString("utf8")}function Ge(It,ei){var ht,Ut;(ht=hh)==null||ht.logStartReadFile(It);const Ni=Be(It);return(Ut=hh)==null||Ut.logStopReadFile(),Ni}function Ae(It,ei,ht){var Ut;(Ut=hh)==null||Ut.logEvent("WriteFile: "+It),ht&&(ei=t+ei);let Ni;try{Ni=f.openSync(It,"w"),f.writeSync(Ni,ei,void 0,"utf8")}finally{Ni!==void 0&&f.closeSync(Ni)}}function De(It){var ei;(ei=hh)==null||ei.logEvent("ReadDir: "+(It||"."));try{const ht=f.readdirSync(It||".",{withFileTypes:!0}),Ut=[],Ni=[];for(const ji of ht){const xn=typeof ji=="string"?ji:ji.name;if(xn==="."||xn==="..")continue;let Jn;if(typeof ji=="string"||ji.isSymbolicLink()){const an=cr(It,xn);try{if(Jn=ae(an),!Jn)continue}catch{continue}}else Jn=ji;Jn.isFile()?Ut.push(xn):Jn.isDirectory()&&Ni.push(xn)}return Ut.sort(),Ni.sort(),{files:Ut,directories:Ni}}catch{return bZ}}function Ke(It,ei,ht,Ut,Ni){return Ale(It,ei,ht,Ut,z,process.cwd(),Ni,De,Gt)}function Je(It,ei){const ht=Error.stackTraceLimit;Error.stackTraceLimit=0;try{const Ut=ae(It);if(!Ut)return!1;switch(ei){case 0:return Ut.isFile();case 1:return Ut.isDirectory();default:return!1}}catch{return!1}finally{Error.stackTraceLimit=ht}}function ft(It){return Je(It,0)}function Ye(It){return Je(It,1)}function Ve(It){return De(It).directories.slice()}function We(It){return It.length<260?f.realpathSync.native(It):f.realpathSync(It)}function Gt(It){try{return j(It)}catch{return It}}function Yt(It){var ei;const ht=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return(ei=ae(It))==null?void 0:ei.mtime}catch{return}finally{Error.stackTraceLimit=ht}}function Ie(It,ei){try{f.utimesSync(It,ei,ei)}catch{return}}function st(It){try{return f.unlinkSync(It)}catch{return}}function St(It){const ei=v.createHash("sha256");return ei.update(It),ei.digest("hex")}}let s;return hoe()&&(s=u()),s&&_2e(s),s})(),c1&&c1.getEnvironmentVariable&&(Zwt(c1),H.setAssertionLevel(/^development$/i.test(c1.getEnvironmentVariable("NODE_ENV"))?1:0)),c1&&c1.debugMode&&(H.isDebugging=!0)}});function bse(t){return t===47||t===92}function x2e(t){return CU(t)<0}function Pf(t){return CU(t)>0}function yse(t){const u=CU(t);return u>0&&u===t.length}function SN(t){return CU(t)!==0}function om(t){return/^\.\.?($|[\\/])/.test(t)}function kse(t){return!SN(t)&&!om(t)}function t7(t){return Ac(t).includes(".")}function Ml(t,u){return t.length>u.length&&sc(t,u)}function jc(t,u){for(const s of u)if(Ml(t,s))return!0;return!1}function ZD(t){return t.length>0&&bse(t.charCodeAt(t.length-1))}function jqe(t){return t>=97&&t<=122||t>=65&&t<=90}function rTt(t,u){const s=t.charCodeAt(u);if(s===58)return u+1;if(s===37&&t.charCodeAt(u+1)===51){const d=t.charCodeAt(u+2);if(d===97||d===65)return u+3}return-1}function CU(t){if(!t)return 0;const u=t.charCodeAt(0);if(u===47||u===92){if(t.charCodeAt(1)!==u)return 1;const d=t.indexOf(u===47?rl:BO,2);return d<0?t.length:d+1}if(jqe(u)&&t.charCodeAt(1)===58){const d=t.charCodeAt(2);if(d===47||d===92)return 3;if(t.length===2)return 2}const s=t.indexOf(C2e);if(s!==-1){const d=s+C2e.length,f=t.indexOf(rl,d);if(f!==-1){const p=t.slice(0,s),E=t.slice(d,f);if(p==="file"&&(E===""||E==="localhost")&&jqe(t.charCodeAt(f+1))){const v=rTt(t,f+2);if(v!==-1){if(t.charCodeAt(v)===47)return~(v+1);if(v===t.length)return~v}}return~(f+1)}return~t.length}return 0}function WE(t){const u=CU(t);return u<0?~u:u}function lr(t){t=q1(t);const u=WE(t);return u===t.length?t:(t=mv(t),t.slice(0,Math.max(u,t.lastIndexOf(rl))))}function Ac(t,u,s){if(t=q1(t),WE(t)===t.length)return"";t=mv(t);const f=t.slice(Math.max(WE(t),t.lastIndexOf(rl)+1)),p=u!==void 0&&s!==void 0?BN(f,u,s):void 0;return p?f.slice(0,f.length-p.length):f}function Vqe(t,u,s){if(Pa(u,".")||(u="."+u),t.length>=u.length&&t.charCodeAt(t.length-u.length)===46){const d=t.slice(t.length-u.length);if(s(d,u))return d}}function aTt(t,u,s){if(typeof u=="string")return Vqe(t,u,s)||"";for(const d of u){const f=Vqe(t,d,s);if(f)return f}return""}function BN(t,u,s){if(u)return aTt(mv(t),u,s?QA:XA);const d=Ac(t),f=d.lastIndexOf(".");return f>=0?d.substring(f):""}function oTt(t,u){const s=t.substring(0,u),d=t.substring(u).split(rl);return d.length&&!qu(d)&&d.pop(),[s,...d]}function yd(t,u=""){return t=cr(u,t),oTt(t,WE(t))}function yx(t,u){return t.length===0?"":(t[0]&&zd(t[0]))+t.slice(1,u).join(rl)}function q1(t){return t.includes("\\")?t.replace(Wqe,rl):t}function Jy(t){if(!Oe(t))return[];const u=[t[0]];for(let s=1;s1){if(u[u.length-1]!==".."){u.pop();continue}}else if(u[0])continue}u.push(d)}}return u}function cr(t,...u){t&&(t=q1(t));for(let s of u)s&&(s=q1(s),!t||WE(s)!==0?t=s:t=zd(t)+s);return t}function kx(t,...u){return $o(Oe(u)?cr(t,...u):q1(t))}function FO(t,u){return Jy(yd(t,u))}function $a(t,u){return yx(FO(t,u))}function $o(t){if(t=q1(t),!yU.test(t))return t;const u=t.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(u!==t&&(t=u,!yU.test(t)))return t;const s=yx(Jy(yd(t)));return s&&ZD(t)?zd(s):s}function sTt(t){return t.length===0?"":t.slice(1).join(rl)}function Fse(t,u){return sTt(FO(t,u))}function J0(t,u,s){const d=Pf(t)?$o(t):$a(t,u);return s(d)}function mv(t){return ZD(t)?t.substr(0,t.length-1):t}function zd(t){return ZD(t)?t:t+rl}function h2(t){return!SN(t)&&!om(t)?"./"+t:t}function AO(t,u,s,d){const f=s!==void 0&&d!==void 0?BN(t,s,d):BN(t);return f?t.slice(0,t.length-f.length)+(Pa(u,".")?u:"."+u):t}function v2e(t,u,s){if(t===u)return 0;if(t===void 0)return-1;if(u===void 0)return 1;const d=t.substring(0,WE(t)),f=u.substring(0,WE(u)),p=Z$(d,f);if(p!==0)return p;const E=t.substring(d.length),v=u.substring(f.length);if(!yU.test(E)&&!yU.test(v))return s(E,v);const b=Jy(yd(t)),B=Jy(yd(u)),k=Math.min(b.length,B.length);for(let T=1;T0==WE(u)>0,"Paths must either both be absolute or both be relative");const p=Sse(t,u,(typeof s=="boolean"?s:!1)?QA:XA,typeof s=="function"?s:il);return yx(p)}function wN(t,u,s){return Pf(t)?i7(u,t,u,s,!1):t}function SO(t,u,s){return h2(JE(lr(t),u,s))}function i7(t,u,s,d,f){const p=Sse(kx(s,t),kx(s,u),XA,d),E=p[0];if(f&&Pf(E)){const v=E.charAt(0)===rl?"file://":"file:///";p[0]=v+E}return yx(p)}function Ug(t,u){for(;;){const s=u(t);if(s!==void 0)return s;const d=lr(t);if(d===t)return;t=d}}function bU(t){return sc(t,"/node_modules")}var rl,BO,C2e,Wqe,yU,lTt=o({"src/compiler/path.ts"(){Bo(),rl="/",BO="\\",C2e="://",Wqe=/\\/g,yU=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});function P(t,u,s,d,f,p,E){return{code:t,category:u,key:s,message:d,reportsUnnecessary:f,elidedInCompatabilityPyramid:p,reportsDeprecated:E}}var F,cTt=o({"src/compiler/diagnosticInformationMap.generated.ts"(){Nqe(),F={Unterminated_string_literal:P(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:P(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:P(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:P(1006,1,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:P(1007,1,"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007","The parser expected to find a '{1}' to match the '{0}' token here."),Trailing_comma_not_allowed:P(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:P(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:P(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:P(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:P(1013,1,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:P(1014,1,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:P(1015,1,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:P(1016,1,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:P(1017,1,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:P(1018,1,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:P(1019,1,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:P(1020,1,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:P(1021,1,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:P(1022,1,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:P(1024,1,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:P(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:P(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:P(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:P(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:P(1031,1,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:P(1034,1,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:P(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:P(1036,1,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:P(1038,1,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:P(1039,1,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:P(1040,1,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:P(1042,1,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:P(1044,1,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:P(1046,1,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:P(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:P(1048,1,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:P(1049,1,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:P(1051,1,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:P(1052,1,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:P(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:P(1054,1,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:P(1055,1,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:P(1056,1,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:P(1058,1,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:P(1059,1,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:P(1060,1,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:P(1061,1,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:P(1062,1,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:P(1063,1,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:P(1064,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise type. Did you mean to write 'Promise<{0}>'?"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:P(1065,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065","The return type of an async function or method must be the global Promise type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:P(1066,1,"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:P(1068,1,"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:P(1069,1,"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:P(1070,1,"_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:P(1071,1,"_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:P(1079,1,"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:P(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:P(1089,1,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:P(1090,1,"_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:P(1091,1,"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:P(1092,1,"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:P(1093,1,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:P(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:P(1095,1,"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:P(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:P(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:P(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:P(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:P(1100,1,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:P(1101,1,"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:P(1102,1,"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:P(1103,1,"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:P(1104,1,"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:P(1105,1,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:P(1106,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:P(1107,1,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:P(1108,1,"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:P(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:P(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:P(1111,1,"Private_field_0_must_be_declared_in_an_enclosing_class_1111","Private field '{0}' must be declared in an enclosing class."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:P(1113,1,"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:P(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:P(1115,1,"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:P(1116,1,"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:P(1117,1,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:P(1118,1,"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:P(1119,1,"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:P(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:P(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:P(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:P(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:P(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:P(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:P(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:P(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:P(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:P(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:P(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:P(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:P(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:P(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:P(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:P(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:P(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:P(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:P(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:P(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:P(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:P(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:P(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:P(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:P(1147,1,"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:P(1148,1,"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:P(1149,1,"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."),_0_declarations_must_be_initialized:P(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:P(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:P(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:P(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:P(1162,1,"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:P(1163,1,"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:P(1164,1,"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:P(1165,1,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:P(1166,1,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:P(1168,1,"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:P(1169,1,"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:P(1170,1,"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:P(1171,1,"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:P(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:P(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:P(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:P(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:P(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:P(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:P(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:P(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:P(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:P(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:P(1182,1,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:P(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:P(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:P(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:P(1186,1,"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:P(1187,1,"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:P(1188,1,"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:P(1189,1,"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:P(1190,1,"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:P(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:P(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:P(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:P(1194,1,"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:P(1195,1,"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:P(1196,1,"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:P(1197,1,"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:P(1198,1,"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:P(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:P(1200,1,"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:P(1202,1,"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:P(1203,1,"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_0_is_enabled_requires_using_export_type:P(1205,1,"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205","Re-exporting a type when '{0}' is enabled requires using 'export type'."),Decorators_are_not_valid_here:P(1206,1,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:P(1207,1,"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."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:P(1209,1,"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209","Invalid optional chain from new expression. Did you mean to call '{0}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:P(1210,1,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:P(1211,1,"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:P(1212,1,"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:P(1213,1,"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:P(1214,1,"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:P(1215,1,"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:P(1216,1,"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:P(1218,1,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Generators_are_not_allowed_in_an_ambient_context:P(1221,1,"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:P(1222,1,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:P(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:P(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:P(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:P(1226,1,"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:P(1227,1,"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:P(1228,1,"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:P(1229,1,"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:P(1230,1,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:P(1231,1,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:P(1232,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:P(1233,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:P(1234,1,"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_at_the_top_level_of_a_namespace_or_module:P(1235,1,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:P(1236,1,"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:P(1237,1,"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:P(1238,1,"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:P(1239,1,"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:P(1240,1,"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:P(1241,1,"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:P(1242,1,"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:P(1243,1,"_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:P(1244,1,"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:P(1245,1,"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:P(1246,1,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:P(1247,1,"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:P(1248,1,"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:P(1249,1,"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:P(1250,1,"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:P(1251,1,"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:P(1252,1,"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."),Abstract_properties_can_only_appear_within_an_abstract_class:P(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:P(1254,1,"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:P(1255,1,"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:P(1257,1,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:P(1258,1,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:P(1259,1,"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:P(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:P(1261,1,"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:P(1262,1,"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:P(1263,1,"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:P(1264,1,"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:P(1265,1,"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:P(1266,1,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:P(1267,1,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:P(1268,1,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:P(1269,1,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269","Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."),Decorator_function_return_type_0_is_not_assignable_to_type_1:P(1270,1,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:P(1271,1,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:P(1272,1,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:P(1273,1,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:P(1274,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:P(1275,1,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:P(1276,1,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:P(1277,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277","'{0}' modifier can only appear on a type parameter of a function, method or class"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:P(1278,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278","The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:P(1279,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279","The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."),Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement:P(1280,1,"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280","Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:P(1281,1,"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281","Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:P(1282,1,"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282","An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:P(1283,1,"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283","An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:P(1284,1,"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284","An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:P(1285,1,"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285","An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:P(1286,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286","ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:P(1287,1,"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287","A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:P(1288,1,"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288","An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."),with_statements_are_not_allowed_in_an_async_function_block:P(1300,1,"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:P(1308,1,"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."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:P(1309,1,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),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:P(1312,1,"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:P(1313,1,"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:P(1314,1,"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:P(1315,1,"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:P(1316,1,"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:P(1317,1,"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:P(1318,1,"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:P(1319,1,"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:P(1320,1,"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:P(1321,1,"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:P(1322,1,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:P(1323,1,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext:P(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:P(1325,1,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:P(1326,1,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:P(1327,1,"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:P(1328,1,"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:P(1329,1,"_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:P(1330,1,"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:P(1331,1,"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:P(1332,1,"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:P(1333,1,"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:P(1334,1,"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:P(1335,1,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:P(1337,1,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:P(1338,1,"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:P(1339,1,"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:P(1340,1,"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}')'?"),Class_constructor_may_not_be_an_accessor:P(1341,1,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:P(1343,1,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:P(1344,1,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:P(1345,1,"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:P(1346,1,"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:P(1347,1,"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:P(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:P(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:P(1350,3,"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:P(1351,1,"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:P(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:P(1353,1,"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:P(1354,1,"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:P(1355,1,"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:P(1356,1,"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:P(1357,1,"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:P(1358,1,"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:P(1359,1,"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."),Type_0_does_not_satisfy_the_expected_type_1:P(1360,1,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:P(1361,1,"_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:P(1362,1,"_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:P(1363,1,"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:P(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:P(1365,3,"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:P(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:P(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:P(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:P(1369,3,"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:P(1371,1,"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'."),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:P(1375,1,"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:P(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:P(1377,3,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:P(1378,1,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:P(1379,1,"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:P(1380,1,"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:P(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:P(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:P(1385,1,"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:P(1386,1,"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:P(1387,1,"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:P(1388,1,"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:P(1389,1,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:P(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:P(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:P(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:P(1394,3,"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:P(1395,3,"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:P(1396,3,"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:P(1397,3,"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:P(1398,3,"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:P(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:P(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:P(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:P(1402,3,"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:P(1403,3,"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:P(1404,3,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:P(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:P(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:P(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:P(1408,3,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:P(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:P(1410,3,"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:P(1411,3,"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:P(1412,3,"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:P(1413,3,"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:P(1414,3,"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:P(1415,3,"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:P(1416,3,"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:P(1417,3,"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:P(1418,3,"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:P(1419,3,"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:P(1420,3,"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:P(1421,3,"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:P(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:P(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:P(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:P(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:P(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:P(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:P(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:P(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:P(1430,3,"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:P(1431,1,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:P(1432,1,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:P(1433,1,"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433","Neither decorators nor modifiers may be applied to 'this' parameters."),Unexpected_keyword_or_identifier:P(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:P(1435,1,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:P(1436,1,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:P(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:P(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:P(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:P(1440,1,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:P(1441,1,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:P(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:P(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443",`Module declaration names may only use ' or " quoted strings.`),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:P(1444,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:P(1446,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:P(1448,1,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:P(1449,3,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments:P(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional set of attributes as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:P(1451,1,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_should_be_either_require_or_import:P(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:P(1454,1,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:P(1455,1,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:P(1456,1,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:P(1457,3,"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457","Matched by default include pattern '**/*'"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:P(1458,3,"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458",`File is ECMAScript module because '{0}' has field "type" with value "module"`),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:P(1459,3,"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459",`File is CommonJS module because '{0}' has field "type" whose value is not "module"`),File_is_CommonJS_module_because_0_does_not_have_field_type:P(1460,3,"File_is_CommonJS_module_because_0_does_not_have_field_type_1460",`File is CommonJS module because '{0}' does not have field "type"`),File_is_CommonJS_module_because_package_json_was_not_found:P(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),resolution_mode_is_the_only_valid_key_for_type_import_attributes:P(1463,1,"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463","'resolution-mode' is the only valid key for type import attributes."),Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:P(1464,1,"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464","Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:P(1470,1,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:P(1471,1,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:P(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:P(1473,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:P(1474,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:P(1475,3,"Control_what_method_is_used_to_detect_module_format_JS_files_1475","Control what method is used to detect module-format JS files."),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:P(1476,3,"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476",'"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:P(1477,1,"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477","An instantiation expression cannot be followed by a property access."),Identifier_or_string_literal_expected:P(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:P(1479,1,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479",`The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("{0}")' call instead.`),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:P(1480,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:P(1481,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481",`To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field \`"type": "module"\` to '{1}'.`),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:P(1482,3,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:P(1483,3,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:P(1484,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484","'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:P(1485,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),Decorator_used_before_export_here:P(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:P(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:P(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:P(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:P(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:P(1491,1,"_0_modifier_cannot_appear_on_a_using_declaration_1491","'{0}' modifier cannot appear on a 'using' declaration."),_0_declarations_may_not_have_binding_patterns:P(1492,1,"_0_declarations_may_not_have_binding_patterns_1492","'{0}' declarations may not have binding patterns."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:P(1493,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493","The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration:P(1494,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494","The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),_0_modifier_cannot_appear_on_an_await_using_declaration:P(1495,1,"_0_modifier_cannot_appear_on_an_await_using_declaration_1495","'{0}' modifier cannot appear on an 'await using' declaration."),Identifier_string_literal_or_number_literal_expected:P(1496,1,"Identifier_string_literal_or_number_literal_expected_1496","Identifier, string literal, or number literal expected."),The_types_of_0_are_incompatible_between_these_types:P(2200,1,"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:P(2201,1,"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:P(2202,1,"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:P(2203,1,"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:P(2204,1,"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:P(2205,1,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:P(2206,1,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:P(2207,1,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:P(2208,1,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:P(2209,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209","The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:P(2210,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210","The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),Add_extends_constraint:P(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:P(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:P(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:P(2301,1,"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:P(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:P(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:P(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:P(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:P(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:P(2307,1,"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:P(2308,1,"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:P(2309,1,"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:P(2310,1,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:P(2311,1,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:P(2312,1,"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:P(2313,1,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:P(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:P(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:P(2316,1,"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:P(2317,1,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:P(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:P(2319,1,"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:P(2320,1,"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:P(2321,1,"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:P(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:P(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:P(2324,1,"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:P(2325,1,"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:P(2326,1,"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:P(2327,1,"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:P(2328,1,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:P(2329,1,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:P(2330,1,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:P(2331,1,"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:P(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:P(2333,1,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:P(2334,1,"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:P(2335,1,"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:P(2336,1,"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:P(2337,1,"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:P(2338,1,"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:P(2339,1,"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:P(2340,1,"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:P(2341,1,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:P(2343,1,"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:P(2344,1,"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:P(2345,1,"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}'."),Untyped_function_calls_may_not_accept_type_arguments:P(2347,1,"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:P(2348,1,"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:P(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:P(2350,1,"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:P(2351,1,"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:P(2352,1,"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:P(2353,1,"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:P(2354,1,"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_undefined_void_nor_any_must_return_a_value:P(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:P(2356,1,"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:P(2357,1,"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:P(2358,1,"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_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method:P(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359","The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:P(2362,1,"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:P(2363,1,"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:P(2364,1,"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:P(2365,1,"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:P(2366,1,"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_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:P(2367,1,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:P(2368,1,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:P(2369,1,"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:P(2370,1,"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:P(2371,1,"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:P(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:P(2373,1,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:P(2374,1,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:P(2375,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:P(2376,1,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:P(2377,1,"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:P(2378,1,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:P(2379,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),Overload_signatures_must_all_be_exported_or_non_exported:P(2383,1,"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:P(2384,1,"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:P(2385,1,"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:P(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:P(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:P(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:P(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:P(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:P(2391,1,"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:P(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:P(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:P(2394,1,"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:P(2395,1,"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:P(2396,1,"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:P(2397,1,"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:P(2398,1,"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:P(2399,1,"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:P(2400,1,"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."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:P(2401,1,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:P(2402,1,"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:P(2403,1,"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:P(2404,1,"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:P(2405,1,"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:P(2406,1,"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:P(2407,1,"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:P(2408,1,"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:P(2409,1,"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:P(2410,1,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:P(2412,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:P(2411,1,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:P(2413,1,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:P(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:P(2415,1,"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:P(2416,1,"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:P(2417,1,"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:P(2418,1,"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:P(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:P(2420,1,"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:P(2422,1,"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:P(2423,1,"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:P(2425,1,"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:P(2426,1,"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:P(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:P(2428,1,"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:P(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:P(2431,1,"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:P(2432,1,"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:P(2433,1,"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:P(2434,1,"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:P(2435,1,"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:P(2436,1,"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:P(2437,1,"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:P(2438,1,"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:P(2439,1,"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:P(2440,1,"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:P(2441,1,"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:P(2442,1,"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:P(2443,1,"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:P(2444,1,"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:P(2445,1,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:P(2446,1,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:P(2447,1,"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:P(2448,1,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:P(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:P(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:P(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:P(2452,1,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:P(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:P(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:P(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:P(2458,1,"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:P(2459,1,"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:P(2460,1,"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:P(2461,1,"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:P(2462,1,"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:P(2463,1,"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:P(2464,1,"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:P(2465,1,"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:P(2466,1,"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:P(2467,1,"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:P(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:P(2469,1,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:P(2472,1,"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:P(2473,1,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_must_be_constant_expressions:P(2474,1,"const_enum_member_initializers_must_be_constant_expressions_2474","const enum member initializers must be constant expressions."),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:P(2475,1,"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:P(2476,1,"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:P(2477,1,"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:P(2478,1,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:P(2480,1,"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:P(2481,1,"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:P(2483,1,"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:P(2484,1,"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:P(2487,1,"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:P(2488,1,"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:P(2489,1,"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:P(2490,1,"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:P(2491,1,"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:P(2492,1,"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:P(2493,1,"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:P(2494,1,"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:P(2495,1,"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:P(2496,1,"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:P(2497,1,"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:P(2498,1,"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:P(2499,1,"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:P(2500,1,"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:P(2501,1,"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:P(2502,1,"_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:P(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:P(2504,1,"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:P(2505,1,"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:P(2506,1,"_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:P(2507,1,"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:P(2508,1,"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:P(2509,1,"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:P(2510,1,"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:P(2511,1,"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:P(2512,1,"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:P(2513,1,"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."),A_tuple_type_cannot_be_indexed_with_a_negative_value:P(2514,1,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:P(2515,1,"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:P(2516,1,"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:P(2517,1,"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:P(2518,1,"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:P(2519,1,"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:P(2520,1,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:P(2522,1,"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:P(2523,1,"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:P(2524,1,"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:P(2525,1,"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:P(2526,1,"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:P(2527,1,"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:P(2528,1,"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:P(2529,1,"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:P(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:P(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:P(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:P(2533,1,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:P(2534,1,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Type_0_cannot_be_used_to_index_type_1:P(2536,1,"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:P(2537,1,"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:P(2538,1,"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:P(2539,1,"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:P(2540,1,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:P(2542,1,"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:P(2543,1,"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:P(2544,1,"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:P(2545,1,"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:P(2547,1,"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:P(2548,1,"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:P(2549,1,"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:P(2550,1,"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:P(2551,1,"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:P(2552,1,"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:P(2553,1,"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:P(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:P(2555,1,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:P(2556,1,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:P(2558,1,"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:P(2559,1,"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:P(2560,1,"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:P(2561,1,"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:P(2562,1,"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:P(2563,1,"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:P(2564,1,"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:P(2565,1,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:P(2566,1,"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:P(2567,1,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:P(2568,1,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:P(2570,1,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:P(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:P(2574,1,"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:P(2575,1,"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:P(2576,1,"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:P(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:P(2578,1,"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:P(2580,1,"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:P(2581,1,"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:P(2582,1,"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:P(2583,1,"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:P(2584,1,"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:P(2585,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:P(2588,1,"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:P(2589,1,"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:P(2590,1,"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:P(2591,1,"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:P(2592,1,"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:P(2593,1,"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_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:P(2594,1,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with '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:P(2595,1,"_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:P(2596,1,"_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:P(2597,1,"_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:P(2598,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:P(2602,1,"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:P(2603,1,"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:P(2604,1,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:P(2606,1,"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:P(2607,1,"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:P(2608,1,"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:P(2609,1,"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:P(2610,1,"_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:P(2611,1,"_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:P(2612,1,"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:P(2613,1,"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:P(2614,1,"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:P(2615,1,"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:P(2616,1,"_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:P(2617,1,"_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:P(2618,1,"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:P(2619,1,"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:P(2620,1,"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:P(2621,1,"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:P(2623,1,"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:P(2624,1,"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:P(2625,1,"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:P(2626,1,"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:P(2627,1,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:P(2628,1,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:P(2629,1,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:P(2630,1,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:P(2631,1,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:P(2632,1,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:P(2633,1,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:P(2634,1,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:P(2635,1,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:P(2636,1,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:P(2637,1,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:P(2638,1,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),React_components_cannot_include_JSX_namespace_names:P(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:P(2649,1,"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:P(2651,1,"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:P(2652,1,"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:P(2653,1,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:P(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:P(2658,1,"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:P(2659,1,"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:P(2660,1,"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:P(2661,1,"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:P(2662,1,"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:P(2663,1,"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:P(2664,1,"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:P(2665,1,"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:P(2666,1,"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:P(2667,1,"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:P(2668,1,"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:P(2669,1,"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:P(2670,1,"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:P(2671,1,"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:P(2672,1,"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:P(2673,1,"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:P(2674,1,"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:P(2675,1,"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:P(2676,1,"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:P(2677,1,"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:P(2678,1,"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:P(2679,1,"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:P(2680,1,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:P(2681,1,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:P(2683,1,"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:P(2684,1,"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:P(2685,1,"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:P(2686,1,"_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:P(2687,1,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:P(2688,1,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:P(2689,1,"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:P(2690,1,"_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}'?"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:P(2692,1,"_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:P(2693,1,"_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:P(2694,1,"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:P(2695,1,"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:P(2696,1,"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:P(2697,1,"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:P(2698,1,"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:P(2699,1,"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:P(2700,1,"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:P(2701,1,"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:P(2702,1,"_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:P(2703,1,"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:P(2704,1,"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:P(2705,1,"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:P(2706,1,"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:P(2707,1,"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:P(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:P(2709,1,"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:P(2710,1,"_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:P(2711,1,"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:P(2712,1,"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:P(2713,1,"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:P(2714,1,"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:P(2715,1,"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:P(2716,1,"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:P(2717,1,"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:P(2718,1,"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:P(2719,1,"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:P(2720,1,"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:P(2721,1,"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:P(2722,1,"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:P(2723,1,"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:P(2724,1,"_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:P(2725,1,"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:P(2726,1,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:P(2727,1,"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:P(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:P(2729,1,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:P(2730,1,"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:P(2731,1,"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:P(2732,1,"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:P(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:P(2734,1,"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:P(2735,1,"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:P(2736,1,"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:P(2737,1,"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:P(2738,3,"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:P(2739,1,"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:P(2740,1,"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:P(2741,1,"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:P(2742,1,"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:P(2743,1,"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:P(2744,1,"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:P(2745,1,"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:P(2746,1,"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:P(2747,1,"_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_0_is_enabled:P(2748,1,"Cannot_access_ambient_const_enums_when_0_is_enabled_2748","Cannot access ambient const enums when '{0}' is enabled."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:P(2749,1,"_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:P(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:P(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:P(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:P(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:P(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:P(2755,1,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:P(2756,1,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:P(2757,1,"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:P(2758,1,"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:P(2759,1,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:P(2760,1,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:P(2761,1,"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:P(2762,1,"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:P(2763,1,"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:P(2764,1,"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:P(2765,1,"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:P(2766,1,"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:P(2767,1,"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:P(2768,1,"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:P(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:P(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:P(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:P(2772,1,"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:P(2773,1,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:P(2774,1,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:P(2775,1,"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:P(2776,1,"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:P(2777,1,"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:P(2778,1,"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:P(2779,1,"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:P(2780,1,"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:P(2781,1,"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:P(2782,3,"_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:P(2783,1,"_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:P(2784,1,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:P(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:P(2786,1,"_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:P(2787,1,"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:P(2788,1,"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:P(2789,1,"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:P(2790,1,"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:P(2791,1,"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_nodenext_or_to_add_aliases_to_the_paths_option:P(2792,1,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', 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:P(2793,1,"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:P(2794,1,"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:P(2795,1,"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:P(2796,1,"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:P(2797,1,"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:P(2798,1,"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:P(2799,1,"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:P(2800,1,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:P(2801,1,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:P(2802,1,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:P(2803,1,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:P(2804,1,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:P(2806,1,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:P(2807,1,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:P(2808,1,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses:P(2809,1,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:P(2810,1,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:P(2811,1,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:P(2812,1,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:P(2813,1,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:P(2814,1,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:P(2815,1,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:P(2816,1,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:P(2817,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:P(2818,1,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:P(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:P(2820,1,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:P(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:P(2822,1,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:P(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2823","Import attributes are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Cannot_find_namespace_0_Did_you_mean_1:P(2833,1,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:P(2834,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:P(2835,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:P(2836,1,"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836","Import assertions are not allowed on statements that compile to CommonJS 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:P(2837,1,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:P(2838,1,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:P(2839,1,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types:P(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840","An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:P(2842,1,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:P(2843,1,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:P(2844,1,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:P(2845,1,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:P(2846,1,"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846","A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:P(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:P(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined:P(2850,1,"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850","The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined:P(2851,1,"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851","The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:P(2852,1,"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852","'await using' statements are only allowed within async functions and at the top levels of modules."),await_using_statements_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:P(2853,1,"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853","'await using' statements 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_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:P(2854,1,"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854","Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super:P(2855,1,"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855","Class field '{0}' defined by the parent class is not accessible in the child class via super."),Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:P(2856,1,"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856","Import attributes are not allowed on statements that compile to CommonJS 'require' calls."),Import_attributes_cannot_be_used_with_type_only_imports_or_exports:P(2857,1,"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857","Import attributes cannot be used with type-only imports or exports."),Import_attribute_values_must_be_string_literal_expressions:P(2858,1,"Import_attribute_values_must_be_string_literal_expressions_2858","Import attribute values must be string literal expressions."),Excessive_complexity_comparing_types_0_and_1:P(2859,1,"Excessive_complexity_comparing_types_0_and_1_2859","Excessive complexity comparing types '{0}' and '{1}'."),The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method:P(2860,1,"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860","The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression:P(2861,1,"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861","An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),Type_0_is_generic_and_can_only_be_indexed_for_reading:P(2862,1,"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862","Type '{0}' is generic and can only be indexed for reading."),A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values:P(2863,1,"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863","A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."),A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types:P(2864,1,"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864","A class cannot implement a primitive type like '{0}'. It can only implement other named object types."),Import_declaration_0_is_using_private_name_1:P(4e3,1,"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:P(4002,1,"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:P(4004,1,"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:P(4006,1,"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:P(4008,1,"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:P(4010,1,"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:P(4012,1,"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:P(4014,1,"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:P(4016,1,"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:P(4019,1,"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:P(4020,1,"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:P(4021,1,"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:P(4022,1,"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:P(4023,1,"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:P(4024,1,"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:P(4025,1,"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:P(4026,1,"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:P(4027,1,"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:P(4028,1,"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:P(4029,1,"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:P(4030,1,"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:P(4031,1,"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:P(4032,1,"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:P(4033,1,"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:P(4034,1,"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:P(4035,1,"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:P(4036,1,"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:P(4037,1,"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:P(4038,1,"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:P(4039,1,"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:P(4040,1,"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:P(4041,1,"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:P(4042,1,"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:P(4043,1,"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:P(4044,1,"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:P(4045,1,"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:P(4046,1,"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:P(4047,1,"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:P(4048,1,"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:P(4049,1,"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:P(4050,1,"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:P(4051,1,"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:P(4052,1,"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:P(4053,1,"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:P(4054,1,"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:P(4055,1,"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:P(4056,1,"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:P(4057,1,"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:P(4058,1,"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:P(4059,1,"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:P(4060,1,"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:P(4061,1,"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:P(4062,1,"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:P(4063,1,"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:P(4064,1,"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:P(4065,1,"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:P(4066,1,"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:P(4067,1,"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:P(4068,1,"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:P(4069,1,"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:P(4070,1,"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:P(4071,1,"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:P(4072,1,"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:P(4073,1,"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:P(4074,1,"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:P(4075,1,"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:P(4076,1,"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:P(4077,1,"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:P(4078,1,"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:P(4081,1,"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:P(4082,1,"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:P(4083,1,"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:P(4084,1,"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}."),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:P(4085,1,"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085","Extends clause for inferred type '{0}' has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:P(4090,1,"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:P(4091,1,"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:P(4092,1,"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:P(4094,1,"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:P(4095,1,"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:P(4096,1,"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:P(4097,1,"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:P(4098,1,"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:P(4099,1,"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:P(4100,1,"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:P(4101,1,"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:P(4102,1,"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:P(4103,1,"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:P(4104,1,"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:P(4105,1,"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:P(4106,1,"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:P(4107,1,"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:P(4108,1,"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:P(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:P(4110,1,"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:P(4111,1,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:P(4112,1,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:P(4113,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:P(4114,1,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:P(4115,1,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:P(4116,1,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:P(4117,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:P(4118,1,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:P(4119,1,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:P(4120,1,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:P(4121,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:P(4122,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:P(4123,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:P(4124,1,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:P(5001,1,"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:P(5009,1,"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:P(5010,1,"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:P(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:P(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:P(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:P(5024,1,"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:P(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:P(5033,1,"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:P(5042,1,"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:P(5047,1,"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:P(5048,1,"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:P(5051,1,"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:P(5052,1,"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:P(5053,1,"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:P(5054,1,"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:P(5055,1,"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:P(5056,1,"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:P(5057,1,"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:P(5058,1,"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:P(5059,1,"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:P(5061,1,"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:P(5062,1,"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:P(5063,1,"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:P(5064,1,"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:P(5065,1,"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:P(5066,1,"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:P(5067,1,"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:P(5068,1,"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:P(5069,1,"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_when_moduleResolution_is_set_to_classic:P(5070,1,"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070","Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:P(5071,1,"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:P(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:P(5073,1,"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:P(5074,1,"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:P(5075,1,"_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:P(5076,1,"_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:P(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:P(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:P(5079,1,"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:P(5080,1,"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:P(5081,1,"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:P(5082,1,"_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:P(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:P(5085,1,"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:P(5086,1,"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:P(5087,1,"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:P(5088,1,"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:P(5089,1,"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:P(5090,1,"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_0_is_enabled:P(5091,1,"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."),The_root_value_of_a_0_file_must_be_an_object:P(5092,1,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:P(5093,1,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:P(5094,1,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later:P(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:P(5096,1,"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096","Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:P(5097,1,"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097","An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:P(5098,1,"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098","Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:P(5101,1,"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101",`Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '"ignoreDeprecations": "{2}"' to silence this error.`),Option_0_has_been_removed_Please_remove_it_from_your_configuration:P(5102,1,"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102","Option '{0}' has been removed. Please remove it from your configuration."),Invalid_value_for_ignoreDeprecations:P(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:P(5104,1,"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104","Option '{0}' is redundant and cannot be specified with option '{1}'."),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:P(5105,1,"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105","Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."),Use_0_instead:P(5106,3,"Use_0_instead_5106","Use '{0}' instead."),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:P(5107,1,"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107",`Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '"ignoreDeprecations": "{3}"' to silence this error.`),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:P(5108,1,"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108","Option '{0}={1}' has been removed. Please remove it from your configuration."),Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1:P(5109,1,"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109","Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1:P(5110,1,"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110","Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:P(6e3,3,"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:P(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:P(6002,3,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:P(6004,3,"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:P(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:P(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:P(6007,3,"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:P(6008,3,"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:P(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:P(6010,3,"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:P(6011,3,"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:P(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:P(6013,3,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:P(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:P(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:P(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:P(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:P(6019,3,"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:P(6020,3,"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:P(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:P(6024,3,"options_6024","options"),file:P(6025,3,"file_6025","file"),Examples_Colon_0:P(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:P(6027,3,"Options_Colon_6027","Options:"),Version_0:P(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:P(6030,3,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:P(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:P(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:P(6034,3,"KIND_6034","KIND"),FILE:P(6035,3,"FILE_6035","FILE"),VERSION:P(6036,3,"VERSION_6036","VERSION"),LOCATION:P(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:P(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:P(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:P(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:P(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:P(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:P(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:P(6045,1,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:P(6046,1,"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:P(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:P(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:P(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:P(6052,3,"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:P(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:P(6054,1,"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:P(6055,3,"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:P(6056,3,"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:P(6058,3,"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:P(6059,1,"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:P(6060,3,"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:P(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:P(6064,1,"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:P(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:P(6066,3,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:P(6070,3,"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:P(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:P(6072,3,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:P(6073,3,"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:P(6074,3,"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:P(6075,3,"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:P(6076,3,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:P(6077,3,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:P(6078,3,"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:P(6079,3,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:P(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:P(6081,3,"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:P(6082,1,"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:P(6083,3,"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:P(6084,3,"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:P(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:P(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:P(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:P(6088,3,"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:P(6089,3,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:P(6090,3,"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:P(6091,3,"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:P(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:P(6093,3,"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:P(6094,3,"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_types_Colon_1:P(6095,3,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095","Loading module as file / folder, candidate module location '{0}', target file types: {1}."),File_0_does_not_exist:P(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:P(6097,3,"File_0_exists_use_it_as_a_name_resolution_result_6097","File '{0}' exists - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_types_Colon_1:P(6098,3,"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098","Loading module '{0}' from 'node_modules' folder, target file types: {1}."),Found_package_json_at_0:P(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:P(6100,3,"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:P(6101,3,"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:P(6102,3,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:P(6104,3,"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:P(6105,3,"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:P(6106,3,"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:P(6107,3,"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:P(6108,3,"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:P(6109,3,"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:P(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:P(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:P(6112,3,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:P(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:P(6114,1,"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:P(6115,3,"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:P(6116,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:P(6119,3,"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:P(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:P(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:P(6122,3,"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:P(6123,3,"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:P(6124,3,"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:P(6125,3,"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:P(6126,3,"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:P(6127,3,"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:P(6128,3,"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:P(6130,3,"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:P(6131,1,"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:P(6132,3,"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:P(6133,1,"_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:P(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:P(6135,3,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:P(6136,3,"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:P(6137,1,"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:P(6138,1,"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:P(6139,3,"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:P(6140,1,"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:P(6141,3,"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:P(6142,1,"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:P(6144,3,"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:P(6145,3,"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:P(6146,3,"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:P(6147,3,"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:P(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:P(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:P(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:P(6151,3,"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:P(6152,3,"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:P(6153,3,"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:P(6154,3,"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:P(6155,3,"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:P(6156,3,"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:P(6157,3,"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:P(6158,3,"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:P(6159,3,"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:P(6160,3,"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:P(6161,3,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:P(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:P(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:P(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Do_not_truncate_error_messages:P(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:P(6166,3,"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:P(6167,3,"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:P(6168,3,"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:P(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:P(6170,3,"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:P(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:P(6179,3,"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:P(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:P(6182,3,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:P(6183,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:P(6184,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:P(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:P(6187,3,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:P(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:P(6189,1,"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:P(6191,3,"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:P(6192,1,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:P(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:P(6194,3,"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:P(6195,3,"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:P(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:P(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:P(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:P(6199,1,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:P(6200,1,"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:P(6201,3,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:P(6202,1,"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:P(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:P(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:P(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:P(6206,3,"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:P(6207,3,"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:P(6208,3,"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:P(6209,3,"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:P(6210,3,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:P(6211,3,"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:P(6212,3,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:P(6213,3,"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:P(6214,3,"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:P(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:P(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:P(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:P(6218,3,"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:P(6219,3,"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:P(6220,3,"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:P(6221,3,"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:P(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:P(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:P(6224,3,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:P(6225,3,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:P(6226,3,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:P(6227,3,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:P(6229,1,"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:P(6230,1,"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:P(6231,1,"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:P(6232,1,"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:P(6233,1,"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:P(6234,1,"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:P(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:P(6236,1,"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:P(6237,3,"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:P(6238,1,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:P(6239,3,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:P(6240,3,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:P(6241,3,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:P(6242,3,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:P(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:P(6244,3,"Modules_6244","Modules"),File_Management:P(6245,3,"File_Management_6245","File Management"),Emit:P(6246,3,"Emit_6246","Emit"),JavaScript_Support:P(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:P(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:P(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:P(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:P(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:P(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:P(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:P(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:P(6255,3,"Projects_6255","Projects"),Output_Formatting:P(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:P(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:P(6258,1,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_0:P(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:P(6260,3,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:P(6261,3,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),File_name_0_has_a_1_extension_looking_up_2_instead:P(6262,3,"File_name_0_has_a_1_extension_looking_up_2_instead_6262","File name '{0}' has a '{1}' extension - looking up '{2}' instead."),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:P(6263,1,"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263","Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:P(6264,3,"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264","Enable importing files with any extension, provided a declaration file is present."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:P(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:P(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:P(6270,3,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:P(6271,3,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:P(6272,3,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:P(6273,3,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:P(6274,3,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:P(6275,3,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:P(6276,3,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update:P(6277,3,"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277","Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings:P(6278,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278",`There are types at '{0}', but this result could not be resolved when respecting package.json "exports". The '{1}' library may need to update its package.json or typings.`),Enable_project_compilation:P(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:P(6304,1,"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:P(6305,1,"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:P(6306,1,"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:P(6307,1,"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:P(6308,1,"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:P(6309,1,"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:P(6310,1,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:P(6350,3,"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350","Project '{0}' is out of date because output '{1}' is older than input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:P(6351,3,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:P(6352,3,"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:P(6353,3,"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:P(6354,3,"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:P(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:P(6356,3,"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:P(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:P(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:P(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:P(6361,3,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:P(6362,3,"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:P(6363,3,"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:P(6364,3,"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:P(6365,3,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects."),Show_what_would_be_built_or_deleted_if_specified_with_clean:P(6367,3,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:P(6369,1,"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:P(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:P(6371,3,"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:P(6372,3,"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:P(6373,3,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:P(6374,3,"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:P(6375,3,"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:P(6376,3,"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:P(6377,1,"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}'"),Composite_projects_may_not_disable_incremental_compilation:P(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:P(6380,3,"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:P(6381,3,"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:P(6382,3,"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:P(6383,3,"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:P(6384,3,"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:P(6385,2,"_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:P(6386,3,"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:P(6387,2,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:P(6388,3,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:P(6389,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:P(6390,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:P(6391,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:P(6392,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:P(6393,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:P(6394,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:P(6395,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:P(6396,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:P(6397,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:P(6398,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:P(6399,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399","Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:P(6400,3,"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400","Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:P(6401,3,"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401","Project '{0}' is out of date because there was error reading file '{1}'"),Resolving_in_0_mode_with_conditions_1:P(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:P(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:P(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:P(6405,3,"Saw_non_matching_condition_0_6405","Saw non-matching condition '{0}'."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions:P(6406,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406","Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"),Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set:P(6407,3,"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407","Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set."),Use_the_package_json_exports_field_when_resolving_package_imports:P(6408,3,"Use_the_package_json_exports_field_when_resolving_package_imports_6408","Use the package.json 'exports' field when resolving package imports."),Use_the_package_json_imports_field_when_resolving_imports:P(6409,3,"Use_the_package_json_imports_field_when_resolving_imports_6409","Use the package.json 'imports' field when resolving imports."),Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports:P(6410,3,"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410","Conditions to set in addition to the resolver-specific defaults when resolving imports."),true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false:P(6411,3,"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411","`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more:P(6412,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412","Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."),Entering_conditional_exports:P(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:P(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:P(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:P(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:P(6417,3,"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417","Searching all ancestor node_modules directories for preferred extensions: {0}."),Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0:P(6418,3,"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418","Searching all ancestor node_modules directories for fallback extensions: {0}."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:P(6500,3,"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:P(6501,3,"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:P(6502,3,"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:P(6503,3,"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:P(6504,1,"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:P(6505,3,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:P(6506,3,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:P(6600,3,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:P(6601,3,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:P(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:P(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:P(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:P(6605,3,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:P(6606,3,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:P(6607,3,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:P(6608,3,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:P(6609,3,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:P(6611,3,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:P(6612,3,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:P(6613,3,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:P(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:P(6615,3,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:P(6616,3,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:P(6617,3,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:P(6618,3,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:P(6619,3,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:P(6620,3,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects."),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:P(6621,3,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:P(6622,3,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:P(6623,3,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:P(6624,3,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:P(6625,3,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:P(6626,3,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility."),Filters_results_from_the_include_option:P(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:P(6628,3,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:P(6629,3,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_legacy_experimental_decorators:P(6630,3,"Enable_experimental_support_for_legacy_experimental_decorators_6630","Enable experimental support for legacy experimental decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:P(6631,3,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:P(6632,3,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:P(6633,3,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:P(6634,3,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:P(6635,3,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:P(6636,3,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date."),Ensure_that_casing_is_correct_in_imports:P(6637,3,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:P(6638,3,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:P(6639,3,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:P(6641,3,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:P(6642,3,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:P(6643,3,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:P(6644,3,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:P(6645,3,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:P(6646,3,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:P(6647,3,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'."),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:P(6648,3,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:P(6649,3,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'."),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:P(6650,3,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:P(6651,3,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:P(6652,3,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:P(6653,3,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:P(6654,3,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:P(6655,3,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:P(6656,3,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'."),Specify_what_module_code_is_generated:P(6657,3,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:P(6658,3,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:P(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:P(6660,3,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:P(6661,3,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like '__extends' in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:P(6662,3,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:P(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:P(6664,3,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:P(6665,3,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied 'any' type."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:P(6666,3,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:P(6667,3,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:P(6668,3,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when 'this' is given the type 'any'."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:P(6669,3,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:P(6670,3,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:P(6671,3,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type."),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:P(6672,3,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:P(6673,3,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:P(6674,3,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add 'undefined' to a type when accessed using an index."),Enable_error_reporting_when_local_variables_aren_t_read:P(6675,3,"Enable_error_reporting_when_local_variables_aren_t_read_6675","Enable error reporting when local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:P(6676,3,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read."),Deprecated_setting_Use_outFile_instead:P(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:P(6678,3,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:P(6679,3,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:P(6680,3,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:P(6681,3,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:P(6682,3,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing 'const enum' declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:P(6683,3,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:P(6684,3,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode."),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:P(6685,3,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read."),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:P(6686,3,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:P(6687,3,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:P(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:P(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:P(6690,3,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:P(6691,3,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:P(6692,3,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:P(6693,3,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:P(6694,3,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:P(6695,3,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:P(6697,3,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for 'bind', 'call', and 'apply' methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:P(6698,3,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:P(6699,3,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account 'null' and 'undefined'."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:P(6700,3,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:P(6701,3,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have '@internal' in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:P(6702,3,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:P(6703,3,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress 'noImplicitAny' errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:P(6704,3,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:P(6705,3,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:P(6706,3,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the 'moduleResolution' process."),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:P(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:P(6709,3,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:P(6710,3,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like './node_modules/@types'."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:P(6711,3,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:P(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:P(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:P(6714,3,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:P(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:P(6717,3,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:P(6718,3,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types."),Default_catch_clause_variables_as_unknown_instead_of_any:P(6803,3,"Default_catch_clause_variables_as_unknown_instead_of_any_6803","Default catch clause variables as 'unknown' instead of 'any'."),Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting:P(6804,3,"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804","Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."),one_of_Colon:P(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:P(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:P(6902,3,"type_Colon_6902","type:"),default_Colon:P(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:P(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:P(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:P(6906,3,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:P(6907,3,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:P(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:P(6909,3,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:P(69010,3,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:P(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:P(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:P(6913,3,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:P(6914,3,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:P(6915,3,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:P(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:P(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:P(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:P(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:P(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:P(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:P(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:P(6923,3,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:P(6924,3,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:P(6925,3,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:P(6926,3,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:P(6927,3,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:P(6928,3,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:P(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:P(6930,3,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),List_of_file_name_suffixes_to_search_when_resolving_a_module:P(6931,1,"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931","List of file name suffixes to search when resolving a module."),Variable_0_implicitly_has_an_1_type:P(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:P(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:P(7008,1,"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:P(7009,1,"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:P(7010,1,"_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:P(7011,1,"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."),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:P(7012,1,"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012","This overload implicitly returns the type '{0}' because it lacks a return type annotation."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:P(7013,1,"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:P(7014,1,"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:P(7015,1,"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:P(7016,1,"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:P(7017,1,"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:P(7018,1,"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:P(7019,1,"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:P(7020,1,"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:P(7022,1,"_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:P(7023,1,"_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:P(7024,1,"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:P(7025,1,"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:P(7026,1,"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:P(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:P(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:P(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:P(7030,1,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:P(7031,1,"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:P(7032,1,"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:P(7033,1,"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:P(7034,1,"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:P(7035,1,"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:P(7036,1,"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:P(7037,3,"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:P(7038,3,"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:P(7039,1,"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:P(7040,1,"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:P(7041,1,"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:P(7042,1,"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:P(7043,2,"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:P(7044,2,"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:P(7045,2,"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:P(7046,2,"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:P(7047,2,"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:P(7048,2,"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:P(7049,2,"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:P(7050,2,"_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:P(7051,1,"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:P(7052,1,"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:P(7053,1,"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:P(7054,1,"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:P(7055,1,"_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:P(7056,1,"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:P(7057,1,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:P(7058,1,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:P(7059,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:P(7060,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:P(7061,1,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:P(8e3,1,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:P(8001,1,"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:P(8002,1,"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:P(8003,1,"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:P(8004,1,"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:P(8005,1,"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:P(8006,1,"_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:P(8008,1,"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:P(8009,1,"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:P(8010,1,"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:P(8011,1,"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:P(8012,1,"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:P(8013,1,"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:P(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Signature_declarations_can_only_be_used_in_TypeScript_files:P(8017,1,"Signature_declarations_can_only_be_used_in_TypeScript_files_8017","Signature declarations can only be used in TypeScript files."),Report_errors_in_js_files:P(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:P(8020,1,"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:P(8021,1,"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:P(8022,1,"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:P(8023,1,"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:P(8024,1,"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:P(8025,1,"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:P(8026,1,"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:P(8027,1,"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:P(8028,1,"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:P(8029,1,"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:P(8030,1,"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:P(8031,1,"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:P(8032,1,"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:P(8033,1,"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:P(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:P(8035,1,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:P(8036,1,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:P(8037,1,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:P(8038,1,"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038","Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:P(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:P(9005,1,"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:P(9006,1,"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:P(17e3,1,"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:P(17001,1,"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:P(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:P(17004,1,"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:P(17005,1,"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:P(17006,1,"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:P(17007,1,"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:P(17008,1,"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:P(17009,1,"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:P(17010,1,"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:P(17011,1,"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:P(17012,1,"_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:P(17013,1,"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:P(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:P(17015,1,"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:P(17016,1,"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:P(17017,1,"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:P(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:P(17019,1,"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019","'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:P(17020,1,"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020","'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),Unicode_escape_sequence_cannot_appear_here:P(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:P(18e3,1,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:P(18002,1,"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:P(18003,1,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:P(80001,2,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:P(80002,2,"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:P(80003,2,"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:P(80004,2,"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:P(80005,2,"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:P(80006,2,"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:P(80007,2,"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:P(80008,2,"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."),JSDoc_typedef_may_be_converted_to_TypeScript_type:P(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:P(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:P(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:P(90002,3,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:P(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:P(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:P(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:P(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:P(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:P(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:P(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:P(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:P(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:P(90013,3,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:P(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:P(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:P(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:P(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:P(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:P(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:P(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:P(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:P(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:P(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:P(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:P(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:P(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:P(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:P(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:P(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:P(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:P(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:P(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:P(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:P(90037,3,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:P(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:P(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:P(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:P(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:P(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:P(90055,3,"Remove_type_from_import_declaration_from_0_90055",`Remove 'type' from import declaration from "{0}"`),Remove_type_from_import_of_0_from_1:P(90056,3,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:P(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:P(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:P(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:P(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:P(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:P(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:P(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:P(95005,3,"Extract_function_95005","Extract function"),Extract_constant:P(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:P(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:P(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:P(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:P(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:P(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:P(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:P(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:P(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:P(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:P(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:P(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:P(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:P(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:P(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:P(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:P(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:P(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:P(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:P(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:P(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:P(95028,3,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:P(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:P(95030,3,"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:P(95031,3,"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:P(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:P(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:P(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:P(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:P(95036,3,"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:P(95037,3,"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:P(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:P(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:P(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:P(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:P(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:P(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:P(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:P(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:P(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:P(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:P(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:P(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:P(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:P(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:P(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:P(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:P(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:P(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:P(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:P(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:P(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:P(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:P(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:P(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:P(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:P(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:P(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:P(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:P(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:P(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:P(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:P(95069,3,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:P(95070,3,"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:P(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:P(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:P(95073,3,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:P(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:P(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:P(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:P(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:P(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:P(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:P(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:P(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:P(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:P(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:P(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:P(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:P(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:P(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:P(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:P(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:P(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:P(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:P(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:P(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:P(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:P(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:P(95097,3,"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:P(95098,3,"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:P(95099,3,"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:P(95100,3,"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:P(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:P(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:P(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:P(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:P(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:P(95108,3,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:P(95109,3,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:P(95110,3,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:P(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:P(95112,3,"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:P(95113,3,"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:P(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:P(95115,3,"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:P(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:P(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:P(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:P(95119,3,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:P(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:P(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:P(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:P(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:P(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:P(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:P(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:P(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:P(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:P(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:P(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:P(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:P(95132,3,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:P(95133,3,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:P(95134,3,"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:P(95135,3,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:P(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:P(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:P(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:P(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:P(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:P(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:P(95142,3,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:P(95143,3,"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:P(95144,3,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:P(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:P(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:P(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:P(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:P(95149,3,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:P(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:P(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:P(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:P(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:P(95154,3,"Can_only_convert_string_concatenations_and_string_literals_95154","Can only convert string concatenations and string literals"),Selection_is_not_a_valid_statement_or_statements:P(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:P(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:P(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:P(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:P(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:P(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:P(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:P(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:P(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:P(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:P(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:P(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:P(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:P(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:P(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:P(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:P(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:P(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:P(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:P(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:P(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:P(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:P(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:P(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:P(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:P(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:P(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:P(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:P(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:P(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:P(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:P(95186,3,"Variables_with_multiple_declarations_cannot_be_inlined_95186","Variables with multiple declarations cannot be inlined."),Add_missing_comma_for_object_member_completion_0:P(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:P(18004,1,"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:P(18006,1,"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:P(18007,1,"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:P(18009,1,"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:P(18010,1,"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:P(18011,1,"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:P(18012,1,"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:P(18013,1,"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:P(18014,1,"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:P(18015,1,"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:P(18016,1,"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:P(18017,1,"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:P(18018,1,"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:P(18019,1,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:P(18024,1,"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:P(18026,1,"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:P(18027,1,"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:P(18028,1,"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:P(18029,1,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:P(18030,1,"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:P(18031,1,"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:P(18032,1,"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."),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:P(18033,1,"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033","Type '{0}' is not assignable to type '{1}' as required for computed enum member values."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:P(18034,3,"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:P(18035,1,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:P(18036,1,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),await_expression_cannot_be_used_inside_a_class_static_block:P(18037,1,"await_expression_cannot_be_used_inside_a_class_static_block_18037","'await' expression cannot be used inside a class static block."),for_await_loops_cannot_be_used_inside_a_class_static_block:P(18038,1,"for_await_loops_cannot_be_used_inside_a_class_static_block_18038","'for await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:P(18039,1,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:P(18041,1,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:P(18042,1,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:P(18043,1,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:P(18044,3,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:P(18045,1,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:P(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:P(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:P(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:P(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:P(18050,1,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here."),Compiler_option_0_cannot_be_given_an_empty_string:P(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Non_abstract_class_0_does_not_implement_all_abstract_members_of_1:P(18052,1,"Non_abstract_class_0_does_not_implement_all_abstract_members_of_1_18052","Non-abstract class '{0}' does not implement all abstract members of '{1}'"),Its_type_0_is_not_a_valid_JSX_element_type:P(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type."),await_using_statements_cannot_be_used_inside_a_class_static_block:P(18054,1,"await_using_statements_cannot_be_used_inside_a_class_static_block_18054","'await using' statements cannot be used inside a class static block.")}}});function fh(t){return t>=80}function b2e(t){return t===32||fh(t)}function wO(t,u){if(t=2?wO(t,Qqe):u===1?wO(t,Zqe):wO(t,Uqe)}function dTt(t,u){return u>=2?wO(t,Xqe):u===1?wO(t,Yqe):wO(t,qqe)}function hTt(t){const u=[];return t.forEach((s,d)=>{u[s]=d}),u}function Uo(t){return nZe[t]}function f2(t){return A2e.get(t)}function n7(t){const u=[];let s=0,d=0;for(;s127&&Z1(f)&&(u.push(d),d=s);break}}return u.push(d),u}function TO(t,u,s,d){return t.getPositionOfLineAndCharacter?t.getPositionOfLineAndCharacter(u,s,d):FU($3(t),u,s,t.text,d)}function FU(t,u,s,d,f){(u<0||u>=t.length)&&(f?u=u<0?0:u>=t.length?t.length-1:u:H.fail(`Bad line number. Line: ${u}, lineStarts.length: ${t.length} , line map is correct? ${d!==void 0?Zt(t,n7(d)):"unknown"}`));const p=t[u]+s;return f?p>t[u+1]?t[u+1]:typeof d=="string"&&p>d.length?d.length:p:(u=8192&&t<=8203||t===8239||t===8287||t===12288||t===65279}function Z1(t){return t===10||t===13||t===8232||t===8233}function NN(t){return t>=48&&t<=57}function Gqe(t){return NN(t)||t>=65&&t<=70||t>=97&&t<=102}function fTt(t){return t<=1114111}function AU(t){return t>=48&&t<=55}function y2e(t,u){const s=t.charCodeAt(u);switch(s){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return u===0;default:return s>127}}function gs(t,u,s,d,f){if(pg(u))return u;let p=!1;for(;;){const E=t.charCodeAt(u);switch(E){case 13:t.charCodeAt(u+1)===10&&u++;case 10:if(u++,s)return u;p=!!f;continue;case 9:case 11:case 12:case 32:u++;continue;case 47:if(d)break;if(t.charCodeAt(u+1)===47){for(u+=2;u127&&U3(E)){u++;continue}break}return u}}function PN(t,u){if(H.assert(u>=0),u===0||Z1(t.charCodeAt(u-1))){const s=t.charCodeAt(u);if(u+BU=0&&s127&&U3(j)){T&&Z1(j)&&(k=!0),s++;continue}break e}}return T&&(z=f(v,b,B,k,p,z)),z}function NO(t,u,s,d){return Tse(!1,t,u,!1,s,d)}function PO(t,u,s,d){return Tse(!1,t,u,!0,s,d)}function k2e(t,u,s,d,f){return Tse(!0,t,u,!1,s,d,f)}function F2e(t,u,s,d,f){return Tse(!0,t,u,!0,s,d,f)}function Jqe(t,u,s,d,f,p=[]){return p.push({kind:s,pos:t,end:u,hasTrailingNewLine:d}),p}function W_(t,u){return k2e(t,u,Jqe,void 0,void 0)}function gv(t,u){return F2e(t,u,Jqe,void 0,void 0)}function SU(t){const u=Lse.exec(t);if(u)return u[0]}function G_(t,u){return t>=65&&t<=90||t>=97&&t<=122||t===36||t===95||t>127&&kU(t,u)}function Ev(t,u,s){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===36||t===95||(s===1?t===45||t===58:!1)||t>127&&dTt(t,u)}function Lm(t,u,s){let d=Fx(t,0);if(!G_(d,u))return!1;for(let f=_v(d);fk,getStartPos:()=>k,getTokenEnd:()=>b,getTextPos:()=>b,getToken:()=>M,getTokenStart:()=>T,getTokenPos:()=>T,getTokenText:()=>v.substring(T,b),getTokenValue:()=>z,hasUnicodeEscape:()=>(j&1024)!==0,hasExtendedUnicodeEscape:()=>(j&8)!==0,hasPrecedingLineBreak:()=>(j&1)!==0,hasPrecedingJSDocComment:()=>(j&2)!==0,isIdentifier:()=>M===80||M>118,isReservedWord:()=>M>=83&&M<=118,isUnterminated:()=>(j&4)!==0,getCommentDirectives:()=>J,getNumericLiteralFlags:()=>j&25584,getTokenFlags:()=>j,reScanGreaterToken:Ie,reScanAsteriskEqualsToken:st,reScanSlashToken:St,reScanTemplateToken:ht,reScanTemplateHeadOrNoSubstitutionTemplate:Ut,scanJsxIdentifier:Pi,scanJsxAttributeValue:Ai,reScanJsxAttributeValue:Zu,reScanJsxToken:Ni,reScanLessThanToken:ji,reScanHashToken:xn,reScanQuestionToken:Jn,reScanInvalidIdentifier:Gt,scanJsxToken:an,scanJsDocToken:yr,scanJSDocCommentTextToken:aa,scan:Ve,getText:Si,clearCommentDirectives:Dn,setText:Cn,setScriptTarget:oa,setLanguageVariant:Da,setScriptKind:ua,setJSDocParsingMode:Ta,setOnError:tu,resetTokenState:Yo,setTextPos:Yo,setInJSDocType:bo,tryScan:Ln,lookAhead:jn,scanRange:bt};return H.isDebugging&&Object.defineProperty(se,"__debugShowCurrentPositionInText",{get:()=>{const Qe=se.getText();return Qe.slice(0,se.getTokenFullStart())+"║"+Qe.slice(se.getTokenFullStart())}}),se;function ge(Qe,Et=b,Mt,qt){if(f){const Xt=b;b=Et,f(Qe,Mt||0,qt),b=Xt}}function ae(){let Qe=b,Et=!1,Mt=!1,qt="";for(;;){const Xt=v.charCodeAt(b);if(Xt===95){j|=512,Et?(Et=!1,Mt=!0,qt+=v.substring(Qe,b)):(j|=16384,ge(Mt?F.Multiple_consecutive_numeric_separators_are_not_permitted:F.Numeric_separators_are_not_allowed_here,b,1)),b++,Qe=b;continue}if(NN(Xt)){Et=!0,Mt=!1,b++;continue}break}return v.charCodeAt(b-1)===95&&(j|=16384,ge(F.Numeric_separators_are_not_allowed_here,b-1,1)),qt+v.substring(Qe,b)}function Ce(){let Qe=b,Et;if(v.charCodeAt(b)===48)if(b++,v.charCodeAt(b)===95)j|=16896,ge(F.Numeric_separators_are_not_allowed_here,b,1),b--,Et=ae();else if(!ve())j|=8192,Et=""+ +z;else if(!z)Et="0";else{z=""+parseInt(z,8),j|=32;const et=M===41,gt=(et?"-":"")+"0o"+(+z).toString(8);return et&&Qe--,ge(F.Octal_literals_are_not_allowed_Use_the_syntax_0,Qe,b-Qe,gt),9}else Et=ae();let Mt,qt;v.charCodeAt(b)===46&&(b++,Mt=ae());let Xt=b;if(v.charCodeAt(b)===69||v.charCodeAt(b)===101){b++,j|=16,(v.charCodeAt(b)===43||v.charCodeAt(b)===45)&&b++;const et=b,gt=ae();gt?(qt=v.substring(Xt,et)+gt,Xt=b):ge(F.Digit_expected)}let Pe;if(j&512?(Pe=Et,Mt&&(Pe+="."+Mt),qt&&(Pe+=qt)):Pe=v.substring(Qe,Xt),j&8192)return ge(F.Decimals_with_leading_zeros_are_not_allowed,Qe,Xt-Qe),z=""+ +Pe,9;if(Mt!==void 0||j&16)return ne(Qe,Mt===void 0&&!!(j&16)),z=""+ +Pe,9;{z=Pe;const et=Ye();return ne(Qe),et}}function ne(Qe,Et){if(!G_(Fx(v,b),t))return;const Mt=b,{length:qt}=Ke();qt===1&&v[Mt]==="n"?ge(Et?F.A_bigint_literal_cannot_use_exponential_notation:F.A_bigint_literal_must_be_an_integer,Qe,Mt-Qe+1):(ge(F.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,Mt,qt),b=Mt)}function ve(){const Qe=b;let Et=!0;for(;NN(v.charCodeAt(b));)AU(v.charCodeAt(b))||(Et=!1),b++;return z=v.substring(Qe,b),Et}function Se(Qe,Et){const Mt=pe(Qe,!1,Et);return Mt?parseInt(Mt,16):-1}function Ne(Qe,Et){return pe(Qe,!0,Et)}function pe(Qe,Et,Mt){let qt=[],Xt=!1,Pe=!1;for(;qt.length=65&&et<=70)et+=32;else if(!(et>=48&&et<=57||et>=97&&et<=102))break;qt.push(et),b++,Pe=!1}return qt.length=B){Mt+=v.substring(qt,b),j|=4,ge(F.Unterminated_string_literal);break}const Xt=v.charCodeAt(b);if(Xt===Et){Mt+=v.substring(qt,b),b++;break}if(Xt===92&&!Qe){Mt+=v.substring(qt,b),Mt+=Be(!0),qt=b;continue}if((Xt===10||Xt===13)&&!Qe){Mt+=v.substring(qt,b),j|=4,ge(F.Unterminated_string_literal);break}b++}return Mt}function xe(Qe){const Et=v.charCodeAt(b)===96;b++;let Mt=b,qt="",Xt;for(;;){if(b>=B){qt+=v.substring(Mt,b),j|=4,ge(F.Unterminated_template_literal),Xt=Et?15:18;break}const Pe=v.charCodeAt(b);if(Pe===96){qt+=v.substring(Mt,b),b++,Xt=Et?15:18;break}if(Pe===36&&b+1(t[t.Unknown=0]="Unknown",t[t.EndOfFileToken=1]="EndOfFileToken",t[t.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",t[t.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",t[t.NewLineTrivia=4]="NewLineTrivia",t[t.WhitespaceTrivia=5]="WhitespaceTrivia",t[t.ShebangTrivia=6]="ShebangTrivia",t[t.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",t[t.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",t[t.NumericLiteral=9]="NumericLiteral",t[t.BigIntLiteral=10]="BigIntLiteral",t[t.StringLiteral=11]="StringLiteral",t[t.JsxText=12]="JsxText",t[t.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",t[t.RegularExpressionLiteral=14]="RegularExpressionLiteral",t[t.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",t[t.TemplateHead=16]="TemplateHead",t[t.TemplateMiddle=17]="TemplateMiddle",t[t.TemplateTail=18]="TemplateTail",t[t.OpenBraceToken=19]="OpenBraceToken",t[t.CloseBraceToken=20]="CloseBraceToken",t[t.OpenParenToken=21]="OpenParenToken",t[t.CloseParenToken=22]="CloseParenToken",t[t.OpenBracketToken=23]="OpenBracketToken",t[t.CloseBracketToken=24]="CloseBracketToken",t[t.DotToken=25]="DotToken",t[t.DotDotDotToken=26]="DotDotDotToken",t[t.SemicolonToken=27]="SemicolonToken",t[t.CommaToken=28]="CommaToken",t[t.QuestionDotToken=29]="QuestionDotToken",t[t.LessThanToken=30]="LessThanToken",t[t.LessThanSlashToken=31]="LessThanSlashToken",t[t.GreaterThanToken=32]="GreaterThanToken",t[t.LessThanEqualsToken=33]="LessThanEqualsToken",t[t.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",t[t.EqualsEqualsToken=35]="EqualsEqualsToken",t[t.ExclamationEqualsToken=36]="ExclamationEqualsToken",t[t.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",t[t.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",t[t.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",t[t.PlusToken=40]="PlusToken",t[t.MinusToken=41]="MinusToken",t[t.AsteriskToken=42]="AsteriskToken",t[t.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",t[t.SlashToken=44]="SlashToken",t[t.PercentToken=45]="PercentToken",t[t.PlusPlusToken=46]="PlusPlusToken",t[t.MinusMinusToken=47]="MinusMinusToken",t[t.LessThanLessThanToken=48]="LessThanLessThanToken",t[t.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",t[t.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",t[t.AmpersandToken=51]="AmpersandToken",t[t.BarToken=52]="BarToken",t[t.CaretToken=53]="CaretToken",t[t.ExclamationToken=54]="ExclamationToken",t[t.TildeToken=55]="TildeToken",t[t.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",t[t.BarBarToken=57]="BarBarToken",t[t.QuestionToken=58]="QuestionToken",t[t.ColonToken=59]="ColonToken",t[t.AtToken=60]="AtToken",t[t.QuestionQuestionToken=61]="QuestionQuestionToken",t[t.BacktickToken=62]="BacktickToken",t[t.HashToken=63]="HashToken",t[t.EqualsToken=64]="EqualsToken",t[t.PlusEqualsToken=65]="PlusEqualsToken",t[t.MinusEqualsToken=66]="MinusEqualsToken",t[t.AsteriskEqualsToken=67]="AsteriskEqualsToken",t[t.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",t[t.SlashEqualsToken=69]="SlashEqualsToken",t[t.PercentEqualsToken=70]="PercentEqualsToken",t[t.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",t[t.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",t[t.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",t[t.AmpersandEqualsToken=74]="AmpersandEqualsToken",t[t.BarEqualsToken=75]="BarEqualsToken",t[t.BarBarEqualsToken=76]="BarBarEqualsToken",t[t.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",t[t.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",t[t.CaretEqualsToken=79]="CaretEqualsToken",t[t.Identifier=80]="Identifier",t[t.PrivateIdentifier=81]="PrivateIdentifier",t[t.JSDocCommentTextToken=82]="JSDocCommentTextToken",t[t.BreakKeyword=83]="BreakKeyword",t[t.CaseKeyword=84]="CaseKeyword",t[t.CatchKeyword=85]="CatchKeyword",t[t.ClassKeyword=86]="ClassKeyword",t[t.ConstKeyword=87]="ConstKeyword",t[t.ContinueKeyword=88]="ContinueKeyword",t[t.DebuggerKeyword=89]="DebuggerKeyword",t[t.DefaultKeyword=90]="DefaultKeyword",t[t.DeleteKeyword=91]="DeleteKeyword",t[t.DoKeyword=92]="DoKeyword",t[t.ElseKeyword=93]="ElseKeyword",t[t.EnumKeyword=94]="EnumKeyword",t[t.ExportKeyword=95]="ExportKeyword",t[t.ExtendsKeyword=96]="ExtendsKeyword",t[t.FalseKeyword=97]="FalseKeyword",t[t.FinallyKeyword=98]="FinallyKeyword",t[t.ForKeyword=99]="ForKeyword",t[t.FunctionKeyword=100]="FunctionKeyword",t[t.IfKeyword=101]="IfKeyword",t[t.ImportKeyword=102]="ImportKeyword",t[t.InKeyword=103]="InKeyword",t[t.InstanceOfKeyword=104]="InstanceOfKeyword",t[t.NewKeyword=105]="NewKeyword",t[t.NullKeyword=106]="NullKeyword",t[t.ReturnKeyword=107]="ReturnKeyword",t[t.SuperKeyword=108]="SuperKeyword",t[t.SwitchKeyword=109]="SwitchKeyword",t[t.ThisKeyword=110]="ThisKeyword",t[t.ThrowKeyword=111]="ThrowKeyword",t[t.TrueKeyword=112]="TrueKeyword",t[t.TryKeyword=113]="TryKeyword",t[t.TypeOfKeyword=114]="TypeOfKeyword",t[t.VarKeyword=115]="VarKeyword",t[t.VoidKeyword=116]="VoidKeyword",t[t.WhileKeyword=117]="WhileKeyword",t[t.WithKeyword=118]="WithKeyword",t[t.ImplementsKeyword=119]="ImplementsKeyword",t[t.InterfaceKeyword=120]="InterfaceKeyword",t[t.LetKeyword=121]="LetKeyword",t[t.PackageKeyword=122]="PackageKeyword",t[t.PrivateKeyword=123]="PrivateKeyword",t[t.ProtectedKeyword=124]="ProtectedKeyword",t[t.PublicKeyword=125]="PublicKeyword",t[t.StaticKeyword=126]="StaticKeyword",t[t.YieldKeyword=127]="YieldKeyword",t[t.AbstractKeyword=128]="AbstractKeyword",t[t.AccessorKeyword=129]="AccessorKeyword",t[t.AsKeyword=130]="AsKeyword",t[t.AssertsKeyword=131]="AssertsKeyword",t[t.AssertKeyword=132]="AssertKeyword",t[t.AnyKeyword=133]="AnyKeyword",t[t.AsyncKeyword=134]="AsyncKeyword",t[t.AwaitKeyword=135]="AwaitKeyword",t[t.BooleanKeyword=136]="BooleanKeyword",t[t.ConstructorKeyword=137]="ConstructorKeyword",t[t.DeclareKeyword=138]="DeclareKeyword",t[t.GetKeyword=139]="GetKeyword",t[t.InferKeyword=140]="InferKeyword",t[t.IntrinsicKeyword=141]="IntrinsicKeyword",t[t.IsKeyword=142]="IsKeyword",t[t.KeyOfKeyword=143]="KeyOfKeyword",t[t.ModuleKeyword=144]="ModuleKeyword",t[t.NamespaceKeyword=145]="NamespaceKeyword",t[t.NeverKeyword=146]="NeverKeyword",t[t.OutKeyword=147]="OutKeyword",t[t.ReadonlyKeyword=148]="ReadonlyKeyword",t[t.RequireKeyword=149]="RequireKeyword",t[t.NumberKeyword=150]="NumberKeyword",t[t.ObjectKeyword=151]="ObjectKeyword",t[t.SatisfiesKeyword=152]="SatisfiesKeyword",t[t.SetKeyword=153]="SetKeyword",t[t.StringKeyword=154]="StringKeyword",t[t.SymbolKeyword=155]="SymbolKeyword",t[t.TypeKeyword=156]="TypeKeyword",t[t.UndefinedKeyword=157]="UndefinedKeyword",t[t.UniqueKeyword=158]="UniqueKeyword",t[t.UnknownKeyword=159]="UnknownKeyword",t[t.UsingKeyword=160]="UsingKeyword",t[t.FromKeyword=161]="FromKeyword",t[t.GlobalKeyword=162]="GlobalKeyword",t[t.BigIntKeyword=163]="BigIntKeyword",t[t.OverrideKeyword=164]="OverrideKeyword",t[t.OfKeyword=165]="OfKeyword",t[t.QualifiedName=166]="QualifiedName",t[t.ComputedPropertyName=167]="ComputedPropertyName",t[t.TypeParameter=168]="TypeParameter",t[t.Parameter=169]="Parameter",t[t.Decorator=170]="Decorator",t[t.PropertySignature=171]="PropertySignature",t[t.PropertyDeclaration=172]="PropertyDeclaration",t[t.MethodSignature=173]="MethodSignature",t[t.MethodDeclaration=174]="MethodDeclaration",t[t.ClassStaticBlockDeclaration=175]="ClassStaticBlockDeclaration",t[t.Constructor=176]="Constructor",t[t.GetAccessor=177]="GetAccessor",t[t.SetAccessor=178]="SetAccessor",t[t.CallSignature=179]="CallSignature",t[t.ConstructSignature=180]="ConstructSignature",t[t.IndexSignature=181]="IndexSignature",t[t.TypePredicate=182]="TypePredicate",t[t.TypeReference=183]="TypeReference",t[t.FunctionType=184]="FunctionType",t[t.ConstructorType=185]="ConstructorType",t[t.TypeQuery=186]="TypeQuery",t[t.TypeLiteral=187]="TypeLiteral",t[t.ArrayType=188]="ArrayType",t[t.TupleType=189]="TupleType",t[t.OptionalType=190]="OptionalType",t[t.RestType=191]="RestType",t[t.UnionType=192]="UnionType",t[t.IntersectionType=193]="IntersectionType",t[t.ConditionalType=194]="ConditionalType",t[t.InferType=195]="InferType",t[t.ParenthesizedType=196]="ParenthesizedType",t[t.ThisType=197]="ThisType",t[t.TypeOperator=198]="TypeOperator",t[t.IndexedAccessType=199]="IndexedAccessType",t[t.MappedType=200]="MappedType",t[t.LiteralType=201]="LiteralType",t[t.NamedTupleMember=202]="NamedTupleMember",t[t.TemplateLiteralType=203]="TemplateLiteralType",t[t.TemplateLiteralTypeSpan=204]="TemplateLiteralTypeSpan",t[t.ImportType=205]="ImportType",t[t.ObjectBindingPattern=206]="ObjectBindingPattern",t[t.ArrayBindingPattern=207]="ArrayBindingPattern",t[t.BindingElement=208]="BindingElement",t[t.ArrayLiteralExpression=209]="ArrayLiteralExpression",t[t.ObjectLiteralExpression=210]="ObjectLiteralExpression",t[t.PropertyAccessExpression=211]="PropertyAccessExpression",t[t.ElementAccessExpression=212]="ElementAccessExpression",t[t.CallExpression=213]="CallExpression",t[t.NewExpression=214]="NewExpression",t[t.TaggedTemplateExpression=215]="TaggedTemplateExpression",t[t.TypeAssertionExpression=216]="TypeAssertionExpression",t[t.ParenthesizedExpression=217]="ParenthesizedExpression",t[t.FunctionExpression=218]="FunctionExpression",t[t.ArrowFunction=219]="ArrowFunction",t[t.DeleteExpression=220]="DeleteExpression",t[t.TypeOfExpression=221]="TypeOfExpression",t[t.VoidExpression=222]="VoidExpression",t[t.AwaitExpression=223]="AwaitExpression",t[t.PrefixUnaryExpression=224]="PrefixUnaryExpression",t[t.PostfixUnaryExpression=225]="PostfixUnaryExpression",t[t.BinaryExpression=226]="BinaryExpression",t[t.ConditionalExpression=227]="ConditionalExpression",t[t.TemplateExpression=228]="TemplateExpression",t[t.YieldExpression=229]="YieldExpression",t[t.SpreadElement=230]="SpreadElement",t[t.ClassExpression=231]="ClassExpression",t[t.OmittedExpression=232]="OmittedExpression",t[t.ExpressionWithTypeArguments=233]="ExpressionWithTypeArguments",t[t.AsExpression=234]="AsExpression",t[t.NonNullExpression=235]="NonNullExpression",t[t.MetaProperty=236]="MetaProperty",t[t.SyntheticExpression=237]="SyntheticExpression",t[t.SatisfiesExpression=238]="SatisfiesExpression",t[t.TemplateSpan=239]="TemplateSpan",t[t.SemicolonClassElement=240]="SemicolonClassElement",t[t.Block=241]="Block",t[t.EmptyStatement=242]="EmptyStatement",t[t.VariableStatement=243]="VariableStatement",t[t.ExpressionStatement=244]="ExpressionStatement",t[t.IfStatement=245]="IfStatement",t[t.DoStatement=246]="DoStatement",t[t.WhileStatement=247]="WhileStatement",t[t.ForStatement=248]="ForStatement",t[t.ForInStatement=249]="ForInStatement",t[t.ForOfStatement=250]="ForOfStatement",t[t.ContinueStatement=251]="ContinueStatement",t[t.BreakStatement=252]="BreakStatement",t[t.ReturnStatement=253]="ReturnStatement",t[t.WithStatement=254]="WithStatement",t[t.SwitchStatement=255]="SwitchStatement",t[t.LabeledStatement=256]="LabeledStatement",t[t.ThrowStatement=257]="ThrowStatement",t[t.TryStatement=258]="TryStatement",t[t.DebuggerStatement=259]="DebuggerStatement",t[t.VariableDeclaration=260]="VariableDeclaration",t[t.VariableDeclarationList=261]="VariableDeclarationList",t[t.FunctionDeclaration=262]="FunctionDeclaration",t[t.ClassDeclaration=263]="ClassDeclaration",t[t.InterfaceDeclaration=264]="InterfaceDeclaration",t[t.TypeAliasDeclaration=265]="TypeAliasDeclaration",t[t.EnumDeclaration=266]="EnumDeclaration",t[t.ModuleDeclaration=267]="ModuleDeclaration",t[t.ModuleBlock=268]="ModuleBlock",t[t.CaseBlock=269]="CaseBlock",t[t.NamespaceExportDeclaration=270]="NamespaceExportDeclaration",t[t.ImportEqualsDeclaration=271]="ImportEqualsDeclaration",t[t.ImportDeclaration=272]="ImportDeclaration",t[t.ImportClause=273]="ImportClause",t[t.NamespaceImport=274]="NamespaceImport",t[t.NamedImports=275]="NamedImports",t[t.ImportSpecifier=276]="ImportSpecifier",t[t.ExportAssignment=277]="ExportAssignment",t[t.ExportDeclaration=278]="ExportDeclaration",t[t.NamedExports=279]="NamedExports",t[t.NamespaceExport=280]="NamespaceExport",t[t.ExportSpecifier=281]="ExportSpecifier",t[t.MissingDeclaration=282]="MissingDeclaration",t[t.ExternalModuleReference=283]="ExternalModuleReference",t[t.JsxElement=284]="JsxElement",t[t.JsxSelfClosingElement=285]="JsxSelfClosingElement",t[t.JsxOpeningElement=286]="JsxOpeningElement",t[t.JsxClosingElement=287]="JsxClosingElement",t[t.JsxFragment=288]="JsxFragment",t[t.JsxOpeningFragment=289]="JsxOpeningFragment",t[t.JsxClosingFragment=290]="JsxClosingFragment",t[t.JsxAttribute=291]="JsxAttribute",t[t.JsxAttributes=292]="JsxAttributes",t[t.JsxSpreadAttribute=293]="JsxSpreadAttribute",t[t.JsxExpression=294]="JsxExpression",t[t.JsxNamespacedName=295]="JsxNamespacedName",t[t.CaseClause=296]="CaseClause",t[t.DefaultClause=297]="DefaultClause",t[t.HeritageClause=298]="HeritageClause",t[t.CatchClause=299]="CatchClause",t[t.ImportAttributes=300]="ImportAttributes",t[t.ImportAttribute=301]="ImportAttribute",t[t.AssertClause=300]="AssertClause",t[t.AssertEntry=301]="AssertEntry",t[t.ImportTypeAssertionContainer=302]="ImportTypeAssertionContainer",t[t.PropertyAssignment=303]="PropertyAssignment",t[t.ShorthandPropertyAssignment=304]="ShorthandPropertyAssignment",t[t.SpreadAssignment=305]="SpreadAssignment",t[t.EnumMember=306]="EnumMember",t[t.UnparsedPrologue=307]="UnparsedPrologue",t[t.UnparsedPrepend=308]="UnparsedPrepend",t[t.UnparsedText=309]="UnparsedText",t[t.UnparsedInternalText=310]="UnparsedInternalText",t[t.UnparsedSyntheticReference=311]="UnparsedSyntheticReference",t[t.SourceFile=312]="SourceFile",t[t.Bundle=313]="Bundle",t[t.UnparsedSource=314]="UnparsedSource",t[t.InputFiles=315]="InputFiles",t[t.JSDocTypeExpression=316]="JSDocTypeExpression",t[t.JSDocNameReference=317]="JSDocNameReference",t[t.JSDocMemberName=318]="JSDocMemberName",t[t.JSDocAllType=319]="JSDocAllType",t[t.JSDocUnknownType=320]="JSDocUnknownType",t[t.JSDocNullableType=321]="JSDocNullableType",t[t.JSDocNonNullableType=322]="JSDocNonNullableType",t[t.JSDocOptionalType=323]="JSDocOptionalType",t[t.JSDocFunctionType=324]="JSDocFunctionType",t[t.JSDocVariadicType=325]="JSDocVariadicType",t[t.JSDocNamepathType=326]="JSDocNamepathType",t[t.JSDoc=327]="JSDoc",t[t.JSDocComment=327]="JSDocComment",t[t.JSDocText=328]="JSDocText",t[t.JSDocTypeLiteral=329]="JSDocTypeLiteral",t[t.JSDocSignature=330]="JSDocSignature",t[t.JSDocLink=331]="JSDocLink",t[t.JSDocLinkCode=332]="JSDocLinkCode",t[t.JSDocLinkPlain=333]="JSDocLinkPlain",t[t.JSDocTag=334]="JSDocTag",t[t.JSDocAugmentsTag=335]="JSDocAugmentsTag",t[t.JSDocImplementsTag=336]="JSDocImplementsTag",t[t.JSDocAuthorTag=337]="JSDocAuthorTag",t[t.JSDocDeprecatedTag=338]="JSDocDeprecatedTag",t[t.JSDocClassTag=339]="JSDocClassTag",t[t.JSDocPublicTag=340]="JSDocPublicTag",t[t.JSDocPrivateTag=341]="JSDocPrivateTag",t[t.JSDocProtectedTag=342]="JSDocProtectedTag",t[t.JSDocReadonlyTag=343]="JSDocReadonlyTag",t[t.JSDocOverrideTag=344]="JSDocOverrideTag",t[t.JSDocCallbackTag=345]="JSDocCallbackTag",t[t.JSDocOverloadTag=346]="JSDocOverloadTag",t[t.JSDocEnumTag=347]="JSDocEnumTag",t[t.JSDocParameterTag=348]="JSDocParameterTag",t[t.JSDocReturnTag=349]="JSDocReturnTag",t[t.JSDocThisTag=350]="JSDocThisTag",t[t.JSDocTypeTag=351]="JSDocTypeTag",t[t.JSDocTemplateTag=352]="JSDocTemplateTag",t[t.JSDocTypedefTag=353]="JSDocTypedefTag",t[t.JSDocSeeTag=354]="JSDocSeeTag",t[t.JSDocPropertyTag=355]="JSDocPropertyTag",t[t.JSDocThrowsTag=356]="JSDocThrowsTag",t[t.JSDocSatisfiesTag=357]="JSDocSatisfiesTag",t[t.SyntaxList=358]="SyntaxList",t[t.NotEmittedStatement=359]="NotEmittedStatement",t[t.PartiallyEmittedExpression=360]="PartiallyEmittedExpression",t[t.CommaListExpression=361]="CommaListExpression",t[t.SyntheticReferenceExpression=362]="SyntheticReferenceExpression",t[t.Count=363]="Count",t[t.FirstAssignment=64]="FirstAssignment",t[t.LastAssignment=79]="LastAssignment",t[t.FirstCompoundAssignment=65]="FirstCompoundAssignment",t[t.LastCompoundAssignment=79]="LastCompoundAssignment",t[t.FirstReservedWord=83]="FirstReservedWord",t[t.LastReservedWord=118]="LastReservedWord",t[t.FirstKeyword=83]="FirstKeyword",t[t.LastKeyword=165]="LastKeyword",t[t.FirstFutureReservedWord=119]="FirstFutureReservedWord",t[t.LastFutureReservedWord=127]="LastFutureReservedWord",t[t.FirstTypeNode=182]="FirstTypeNode",t[t.LastTypeNode=205]="LastTypeNode",t[t.FirstPunctuation=19]="FirstPunctuation",t[t.LastPunctuation=79]="LastPunctuation",t[t.FirstToken=0]="FirstToken",t[t.LastToken=165]="LastToken",t[t.FirstTriviaToken=2]="FirstTriviaToken",t[t.LastTriviaToken=7]="LastTriviaToken",t[t.FirstLiteralToken=9]="FirstLiteralToken",t[t.LastLiteralToken=15]="LastLiteralToken",t[t.FirstTemplateToken=15]="FirstTemplateToken",t[t.LastTemplateToken=18]="LastTemplateToken",t[t.FirstBinaryOperator=30]="FirstBinaryOperator",t[t.LastBinaryOperator=79]="LastBinaryOperator",t[t.FirstStatement=243]="FirstStatement",t[t.LastStatement=259]="LastStatement",t[t.FirstNode=166]="FirstNode",t[t.FirstJSDocNode=316]="FirstJSDocNode",t[t.LastJSDocNode=357]="LastJSDocNode",t[t.FirstJSDocTagNode=334]="FirstJSDocTagNode",t[t.LastJSDocTagNode=357]="LastJSDocTagNode",t[t.FirstContextualKeyword=128]="FirstContextualKeyword",t[t.LastContextualKeyword=165]="LastContextualKeyword",t))(uU||{}),rU=(t=>(t[t.None=0]="None",t[t.Let=1]="Let",t[t.Const=2]="Const",t[t.Using=4]="Using",t[t.AwaitUsing=6]="AwaitUsing",t[t.NestedNamespace=8]="NestedNamespace",t[t.Synthesized=16]="Synthesized",t[t.Namespace=32]="Namespace",t[t.OptionalChain=64]="OptionalChain",t[t.ExportContext=128]="ExportContext",t[t.ContainsThis=256]="ContainsThis",t[t.HasImplicitReturn=512]="HasImplicitReturn",t[t.HasExplicitReturn=1024]="HasExplicitReturn",t[t.GlobalAugmentation=2048]="GlobalAugmentation",t[t.HasAsyncFunctions=4096]="HasAsyncFunctions",t[t.DisallowInContext=8192]="DisallowInContext",t[t.YieldContext=16384]="YieldContext",t[t.DecoratorContext=32768]="DecoratorContext",t[t.AwaitContext=65536]="AwaitContext",t[t.DisallowConditionalTypesContext=131072]="DisallowConditionalTypesContext",t[t.ThisNodeHasError=262144]="ThisNodeHasError",t[t.JavaScriptFile=524288]="JavaScriptFile",t[t.ThisNodeOrAnySubNodesHasError=1048576]="ThisNodeOrAnySubNodesHasError",t[t.HasAggregatedChildData=2097152]="HasAggregatedChildData",t[t.PossiblyContainsDynamicImport=4194304]="PossiblyContainsDynamicImport",t[t.PossiblyContainsImportMeta=8388608]="PossiblyContainsImportMeta",t[t.JSDoc=16777216]="JSDoc",t[t.Ambient=33554432]="Ambient",t[t.InWithStatement=67108864]="InWithStatement",t[t.JsonFile=134217728]="JsonFile",t[t.TypeCached=268435456]="TypeCached",t[t.Deprecated=536870912]="Deprecated",t[t.BlockScoped=7]="BlockScoped",t[t.Constant=6]="Constant",t[t.ReachabilityCheckFlags=1536]="ReachabilityCheckFlags",t[t.ReachabilityAndEmitFlags=5632]="ReachabilityAndEmitFlags",t[t.ContextFlags=101441536]="ContextFlags",t[t.TypeExcludesFlags=81920]="TypeExcludesFlags",t[t.PermanentlySetIncrementalFlags=12582912]="PermanentlySetIncrementalFlags",t[t.IdentifierHasExtendedUnicodeEscape=256]="IdentifierHasExtendedUnicodeEscape",t[t.IdentifierIsInJSDocNamespace=4096]="IdentifierIsInJSDocNamespace",t))(rU||{}),aU=(t=>(t[t.None=0]="None",t[t.Public=1]="Public",t[t.Private=2]="Private",t[t.Protected=4]="Protected",t[t.Readonly=8]="Readonly",t[t.Override=16]="Override",t[t.Export=32]="Export",t[t.Abstract=64]="Abstract",t[t.Ambient=128]="Ambient",t[t.Static=256]="Static",t[t.Accessor=512]="Accessor",t[t.Async=1024]="Async",t[t.Default=2048]="Default",t[t.Const=4096]="Const",t[t.In=8192]="In",t[t.Out=16384]="Out",t[t.Decorator=32768]="Decorator",t[t.Deprecated=65536]="Deprecated",t[t.JSDocPublic=8388608]="JSDocPublic",t[t.JSDocPrivate=16777216]="JSDocPrivate",t[t.JSDocProtected=33554432]="JSDocProtected",t[t.JSDocReadonly=67108864]="JSDocReadonly",t[t.JSDocOverride=134217728]="JSDocOverride",t[t.SyntacticOrJSDocModifiers=31]="SyntacticOrJSDocModifiers",t[t.SyntacticOnlyModifiers=65504]="SyntacticOnlyModifiers",t[t.SyntacticModifiers=65535]="SyntacticModifiers",t[t.JSDocCacheOnlyModifiers=260046848]="JSDocCacheOnlyModifiers",t[t.JSDocOnlyModifiers=65536]="JSDocOnlyModifiers",t[t.NonCacheOnlyModifiers=131071]="NonCacheOnlyModifiers",t[t.HasComputedJSDocModifiers=268435456]="HasComputedJSDocModifiers",t[t.HasComputedFlags=536870912]="HasComputedFlags",t[t.AccessibilityModifier=7]="AccessibilityModifier",t[t.ParameterPropertyModifier=31]="ParameterPropertyModifier",t[t.NonPublicAccessibilityModifier=6]="NonPublicAccessibilityModifier",t[t.TypeScriptModifier=28895]="TypeScriptModifier",t[t.ExportDefault=2080]="ExportDefault",t[t.All=131071]="All",t[t.Modifier=98303]="Modifier",t))(aU||{}),voe=(t=>(t[t.None=0]="None",t[t.IntrinsicNamedElement=1]="IntrinsicNamedElement",t[t.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",t[t.IntrinsicElement=3]="IntrinsicElement",t))(voe||{}),oU=(t=>(t[t.Succeeded=1]="Succeeded",t[t.Failed=2]="Failed",t[t.Reported=4]="Reported",t[t.ReportsUnmeasurable=8]="ReportsUnmeasurable",t[t.ReportsUnreliable=16]="ReportsUnreliable",t[t.ReportsMask=24]="ReportsMask",t))(oU||{}),sU=(t=>(t[t.None=0]="None",t[t.Auto=1]="Auto",t[t.Loop=2]="Loop",t[t.Unique=3]="Unique",t[t.Node=4]="Node",t[t.KindMask=7]="KindMask",t[t.ReservedInNestedScopes=8]="ReservedInNestedScopes",t[t.Optimistic=16]="Optimistic",t[t.FileLevel=32]="FileLevel",t[t.AllowNameSubstitution=64]="AllowNameSubstitution",t))(sU||{}),Coe=(t=>(t[t.None=0]="None",t[t.PrecedingLineBreak=1]="PrecedingLineBreak",t[t.PrecedingJSDocComment=2]="PrecedingJSDocComment",t[t.Unterminated=4]="Unterminated",t[t.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",t[t.Scientific=16]="Scientific",t[t.Octal=32]="Octal",t[t.HexSpecifier=64]="HexSpecifier",t[t.BinarySpecifier=128]="BinarySpecifier",t[t.OctalSpecifier=256]="OctalSpecifier",t[t.ContainsSeparator=512]="ContainsSeparator",t[t.UnicodeEscape=1024]="UnicodeEscape",t[t.ContainsInvalidEscape=2048]="ContainsInvalidEscape",t[t.HexEscape=4096]="HexEscape",t[t.ContainsLeadingZero=8192]="ContainsLeadingZero",t[t.ContainsInvalidSeparator=16384]="ContainsInvalidSeparator",t[t.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",t[t.WithSpecifier=448]="WithSpecifier",t[t.StringLiteralFlags=7176]="StringLiteralFlags",t[t.NumericLiteralFlags=25584]="NumericLiteralFlags",t[t.TemplateLiteralLikeFlags=7176]="TemplateLiteralLikeFlags",t[t.IsInvalid=26656]="IsInvalid",t))(Coe||{}),xO=(t=>(t[t.Unreachable=1]="Unreachable",t[t.Start=2]="Start",t[t.BranchLabel=4]="BranchLabel",t[t.LoopLabel=8]="LoopLabel",t[t.Assignment=16]="Assignment",t[t.TrueCondition=32]="TrueCondition",t[t.FalseCondition=64]="FalseCondition",t[t.SwitchClause=128]="SwitchClause",t[t.ArrayMutation=256]="ArrayMutation",t[t.Call=512]="Call",t[t.ReduceLabel=1024]="ReduceLabel",t[t.Referenced=2048]="Referenced",t[t.Shared=4096]="Shared",t[t.Label=12]="Label",t[t.Condition=96]="Condition",t))(xO||{}),boe=(t=>(t[t.ExpectError=0]="ExpectError",t[t.Ignore=1]="Ignore",t))(boe||{}),b8=class{},lU=(t=>(t[t.RootFile=0]="RootFile",t[t.SourceFromProjectReference=1]="SourceFromProjectReference",t[t.OutputFromProjectReference=2]="OutputFromProjectReference",t[t.Import=3]="Import",t[t.ReferenceFile=4]="ReferenceFile",t[t.TypeReferenceDirective=5]="TypeReferenceDirective",t[t.LibFile=6]="LibFile",t[t.LibReferenceDirective=7]="LibReferenceDirective",t[t.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",t))(lU||{}),yoe=(t=>(t[t.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",t[t.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",t[t.ResolutionDiagnostics=2]="ResolutionDiagnostics",t))(yoe||{}),koe=(t=>(t[t.Js=0]="Js",t[t.Dts=1]="Dts",t))(koe||{}),cU=(t=>(t[t.Not=0]="Not",t[t.SafeModules=1]="SafeModules",t[t.Completely=2]="Completely",t))(cU||{}),Foe=(t=>(t[t.Success=0]="Success",t[t.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",t[t.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",t[t.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",t[t.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",t))(Foe||{}),Aoe=(t=>(t[t.Ok=0]="Ok",t[t.NeedsOverride=1]="NeedsOverride",t[t.HasInvalidOverride=2]="HasInvalidOverride",t))(Aoe||{}),Soe=(t=>(t[t.None=0]="None",t[t.Literal=1]="Literal",t[t.Subtype=2]="Subtype",t))(Soe||{}),Boe=(t=>(t[t.None=0]="None",t[t.Signature=1]="Signature",t[t.NoConstraints=2]="NoConstraints",t[t.Completions=4]="Completions",t[t.SkipBindingPatterns=8]="SkipBindingPatterns",t))(Boe||{}),woe=(t=>(t[t.None=0]="None",t[t.NoTruncation=1]="NoTruncation",t[t.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",t[t.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",t[t.UseStructuralFallback=8]="UseStructuralFallback",t[t.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",t[t.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",t[t.UseFullyQualifiedType=64]="UseFullyQualifiedType",t[t.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",t[t.SuppressAnyReturnType=256]="SuppressAnyReturnType",t[t.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",t[t.MultilineObjectLiterals=1024]="MultilineObjectLiterals",t[t.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",t[t.UseTypeOfFunction=4096]="UseTypeOfFunction",t[t.OmitParameterModifiers=8192]="OmitParameterModifiers",t[t.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",t[t.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",t[t.NoTypeReduction=536870912]="NoTypeReduction",t[t.OmitThisParameter=33554432]="OmitThisParameter",t[t.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",t[t.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",t[t.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",t[t.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",t[t.AllowEmptyTuple=524288]="AllowEmptyTuple",t[t.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",t[t.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",t[t.WriteComputedProps=1073741824]="WriteComputedProps",t[t.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",t[t.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",t[t.IgnoreErrors=70221824]="IgnoreErrors",t[t.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",t[t.InTypeAlias=8388608]="InTypeAlias",t[t.InInitialEntityName=16777216]="InInitialEntityName",t))(woe||{}),Toe=(t=>(t[t.None=0]="None",t[t.NoTruncation=1]="NoTruncation",t[t.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",t[t.UseStructuralFallback=8]="UseStructuralFallback",t[t.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",t[t.UseFullyQualifiedType=64]="UseFullyQualifiedType",t[t.SuppressAnyReturnType=256]="SuppressAnyReturnType",t[t.MultilineObjectLiterals=1024]="MultilineObjectLiterals",t[t.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",t[t.UseTypeOfFunction=4096]="UseTypeOfFunction",t[t.OmitParameterModifiers=8192]="OmitParameterModifiers",t[t.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",t[t.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",t[t.NoTypeReduction=536870912]="NoTypeReduction",t[t.OmitThisParameter=33554432]="OmitThisParameter",t[t.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",t[t.AddUndefined=131072]="AddUndefined",t[t.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",t[t.InArrayType=524288]="InArrayType",t[t.InElementType=2097152]="InElementType",t[t.InFirstTypeArgument=4194304]="InFirstTypeArgument",t[t.InTypeAlias=8388608]="InTypeAlias",t[t.NodeBuilderFlagsMask=848330091]="NodeBuilderFlagsMask",t))(Toe||{}),Loe=(t=>(t[t.None=0]="None",t[t.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",t[t.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",t[t.AllowAnyNodeKind=4]="AllowAnyNodeKind",t[t.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",t[t.WriteComputedProps=16]="WriteComputedProps",t[t.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",t))(Loe||{}),Noe=(t=>(t[t.Accessible=0]="Accessible",t[t.NotAccessible=1]="NotAccessible",t[t.CannotBeNamed=2]="CannotBeNamed",t))(Noe||{}),Poe=(t=>(t[t.UnionOrIntersection=0]="UnionOrIntersection",t[t.Spread=1]="Spread",t))(Poe||{}),Moe=(t=>(t[t.This=0]="This",t[t.Identifier=1]="Identifier",t[t.AssertsThis=2]="AssertsThis",t[t.AssertsIdentifier=3]="AssertsIdentifier",t))(Moe||{}),zoe=(t=>(t[t.Unknown=0]="Unknown",t[t.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",t[t.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",t[t.NumberLikeType=3]="NumberLikeType",t[t.BigIntLikeType=4]="BigIntLikeType",t[t.StringLikeType=5]="StringLikeType",t[t.BooleanType=6]="BooleanType",t[t.ArrayLikeType=7]="ArrayLikeType",t[t.ESSymbolType=8]="ESSymbolType",t[t.Promise=9]="Promise",t[t.TypeWithCallSignature=10]="TypeWithCallSignature",t[t.ObjectType=11]="ObjectType",t))(zoe||{}),dU=(t=>(t[t.None=0]="None",t[t.FunctionScopedVariable=1]="FunctionScopedVariable",t[t.BlockScopedVariable=2]="BlockScopedVariable",t[t.Property=4]="Property",t[t.EnumMember=8]="EnumMember",t[t.Function=16]="Function",t[t.Class=32]="Class",t[t.Interface=64]="Interface",t[t.ConstEnum=128]="ConstEnum",t[t.RegularEnum=256]="RegularEnum",t[t.ValueModule=512]="ValueModule",t[t.NamespaceModule=1024]="NamespaceModule",t[t.TypeLiteral=2048]="TypeLiteral",t[t.ObjectLiteral=4096]="ObjectLiteral",t[t.Method=8192]="Method",t[t.Constructor=16384]="Constructor",t[t.GetAccessor=32768]="GetAccessor",t[t.SetAccessor=65536]="SetAccessor",t[t.Signature=131072]="Signature",t[t.TypeParameter=262144]="TypeParameter",t[t.TypeAlias=524288]="TypeAlias",t[t.ExportValue=1048576]="ExportValue",t[t.Alias=2097152]="Alias",t[t.Prototype=4194304]="Prototype",t[t.ExportStar=8388608]="ExportStar",t[t.Optional=16777216]="Optional",t[t.Transient=33554432]="Transient",t[t.Assignment=67108864]="Assignment",t[t.ModuleExports=134217728]="ModuleExports",t[t.All=67108863]="All",t[t.Enum=384]="Enum",t[t.Variable=3]="Variable",t[t.Value=111551]="Value",t[t.Type=788968]="Type",t[t.Namespace=1920]="Namespace",t[t.Module=1536]="Module",t[t.Accessor=98304]="Accessor",t[t.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",t[t.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",t[t.ParameterExcludes=111551]="ParameterExcludes",t[t.PropertyExcludes=0]="PropertyExcludes",t[t.EnumMemberExcludes=900095]="EnumMemberExcludes",t[t.FunctionExcludes=110991]="FunctionExcludes",t[t.ClassExcludes=899503]="ClassExcludes",t[t.InterfaceExcludes=788872]="InterfaceExcludes",t[t.RegularEnumExcludes=899327]="RegularEnumExcludes",t[t.ConstEnumExcludes=899967]="ConstEnumExcludes",t[t.ValueModuleExcludes=110735]="ValueModuleExcludes",t[t.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",t[t.MethodExcludes=103359]="MethodExcludes",t[t.GetAccessorExcludes=46015]="GetAccessorExcludes",t[t.SetAccessorExcludes=78783]="SetAccessorExcludes",t[t.AccessorExcludes=13247]="AccessorExcludes",t[t.TypeParameterExcludes=526824]="TypeParameterExcludes",t[t.TypeAliasExcludes=788968]="TypeAliasExcludes",t[t.AliasExcludes=2097152]="AliasExcludes",t[t.ModuleMember=2623475]="ModuleMember",t[t.ExportHasLocal=944]="ExportHasLocal",t[t.BlockScoped=418]="BlockScoped",t[t.PropertyOrAccessor=98308]="PropertyOrAccessor",t[t.ClassMember=106500]="ClassMember",t[t.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",t[t.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",t[t.Classifiable=2885600]="Classifiable",t[t.LateBindingContainer=6256]="LateBindingContainer",t))(dU||{}),Ioe=(t=>(t[t.Numeric=0]="Numeric",t[t.Literal=1]="Literal",t))(Ioe||{}),Roe=(t=>(t[t.None=0]="None",t[t.Instantiated=1]="Instantiated",t[t.SyntheticProperty=2]="SyntheticProperty",t[t.SyntheticMethod=4]="SyntheticMethod",t[t.Readonly=8]="Readonly",t[t.ReadPartial=16]="ReadPartial",t[t.WritePartial=32]="WritePartial",t[t.HasNonUniformType=64]="HasNonUniformType",t[t.HasLiteralType=128]="HasLiteralType",t[t.ContainsPublic=256]="ContainsPublic",t[t.ContainsProtected=512]="ContainsProtected",t[t.ContainsPrivate=1024]="ContainsPrivate",t[t.ContainsStatic=2048]="ContainsStatic",t[t.Late=4096]="Late",t[t.ReverseMapped=8192]="ReverseMapped",t[t.OptionalParameter=16384]="OptionalParameter",t[t.RestParameter=32768]="RestParameter",t[t.DeferredType=65536]="DeferredType",t[t.HasNeverType=131072]="HasNeverType",t[t.Mapped=262144]="Mapped",t[t.StripOptional=524288]="StripOptional",t[t.Unresolved=1048576]="Unresolved",t[t.Synthetic=6]="Synthetic",t[t.Discriminant=192]="Discriminant",t[t.Partial=48]="Partial",t))(Roe||{}),Ooe=(t=>(t.Call="__call",t.Constructor="__constructor",t.New="__new",t.Index="__index",t.ExportStar="__export",t.Global="__global",t.Missing="__missing",t.Type="__type",t.Object="__object",t.JSXAttributes="__jsxAttributes",t.Class="__class",t.Function="__function",t.Computed="__computed",t.Resolving="__resolving__",t.ExportEquals="export=",t.Default="default",t.This="this",t))(Ooe||{}),joe=(t=>(t[t.None=0]="None",t[t.TypeChecked=1]="TypeChecked",t[t.LexicalThis=2]="LexicalThis",t[t.CaptureThis=4]="CaptureThis",t[t.CaptureNewTarget=8]="CaptureNewTarget",t[t.SuperInstance=16]="SuperInstance",t[t.SuperStatic=32]="SuperStatic",t[t.ContextChecked=64]="ContextChecked",t[t.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",t[t.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",t[t.CaptureArguments=512]="CaptureArguments",t[t.EnumValuesComputed=1024]="EnumValuesComputed",t[t.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",t[t.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",t[t.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",t[t.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",t[t.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",t[t.NeedsLoopOutParameter=65536]="NeedsLoopOutParameter",t[t.AssignmentsMarked=131072]="AssignmentsMarked",t[t.ContainsConstructorReference=262144]="ContainsConstructorReference",t[t.ConstructorReference=536870912]="ConstructorReference",t[t.ContainsClassWithPrivateIdentifiers=1048576]="ContainsClassWithPrivateIdentifiers",t[t.ContainsSuperPropertyInStaticInitializer=2097152]="ContainsSuperPropertyInStaticInitializer",t[t.InCheckIdentifier=4194304]="InCheckIdentifier",t))(joe||{}),hU=(t=>(t[t.Any=1]="Any",t[t.Unknown=2]="Unknown",t[t.String=4]="String",t[t.Number=8]="Number",t[t.Boolean=16]="Boolean",t[t.Enum=32]="Enum",t[t.BigInt=64]="BigInt",t[t.StringLiteral=128]="StringLiteral",t[t.NumberLiteral=256]="NumberLiteral",t[t.BooleanLiteral=512]="BooleanLiteral",t[t.EnumLiteral=1024]="EnumLiteral",t[t.BigIntLiteral=2048]="BigIntLiteral",t[t.ESSymbol=4096]="ESSymbol",t[t.UniqueESSymbol=8192]="UniqueESSymbol",t[t.Void=16384]="Void",t[t.Undefined=32768]="Undefined",t[t.Null=65536]="Null",t[t.Never=131072]="Never",t[t.TypeParameter=262144]="TypeParameter",t[t.Object=524288]="Object",t[t.Union=1048576]="Union",t[t.Intersection=2097152]="Intersection",t[t.Index=4194304]="Index",t[t.IndexedAccess=8388608]="IndexedAccess",t[t.Conditional=16777216]="Conditional",t[t.Substitution=33554432]="Substitution",t[t.NonPrimitive=67108864]="NonPrimitive",t[t.TemplateLiteral=134217728]="TemplateLiteral",t[t.StringMapping=268435456]="StringMapping",t[t.AnyOrUnknown=3]="AnyOrUnknown",t[t.Nullable=98304]="Nullable",t[t.Literal=2944]="Literal",t[t.Unit=109472]="Unit",t[t.Freshable=2976]="Freshable",t[t.StringOrNumberLiteral=384]="StringOrNumberLiteral",t[t.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",t[t.DefinitelyFalsy=117632]="DefinitelyFalsy",t[t.PossiblyFalsy=117724]="PossiblyFalsy",t[t.Intrinsic=67359327]="Intrinsic",t[t.StringLike=402653316]="StringLike",t[t.NumberLike=296]="NumberLike",t[t.BigIntLike=2112]="BigIntLike",t[t.BooleanLike=528]="BooleanLike",t[t.EnumLike=1056]="EnumLike",t[t.ESSymbolLike=12288]="ESSymbolLike",t[t.VoidLike=49152]="VoidLike",t[t.Primitive=402784252]="Primitive",t[t.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",t[t.DisjointDomains=469892092]="DisjointDomains",t[t.UnionOrIntersection=3145728]="UnionOrIntersection",t[t.StructuredType=3670016]="StructuredType",t[t.TypeVariable=8650752]="TypeVariable",t[t.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",t[t.InstantiablePrimitive=406847488]="InstantiablePrimitive",t[t.Instantiable=465829888]="Instantiable",t[t.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",t[t.ObjectFlagsType=3899393]="ObjectFlagsType",t[t.Simplifiable=25165824]="Simplifiable",t[t.Singleton=67358815]="Singleton",t[t.Narrowable=536624127]="Narrowable",t[t.IncludesMask=473694207]="IncludesMask",t[t.IncludesMissingType=262144]="IncludesMissingType",t[t.IncludesNonWideningType=4194304]="IncludesNonWideningType",t[t.IncludesWildcard=8388608]="IncludesWildcard",t[t.IncludesEmptyObject=16777216]="IncludesEmptyObject",t[t.IncludesInstantiable=33554432]="IncludesInstantiable",t[t.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",t))(hU||{}),fU=(t=>(t[t.None=0]="None",t[t.Class=1]="Class",t[t.Interface=2]="Interface",t[t.Reference=4]="Reference",t[t.Tuple=8]="Tuple",t[t.Anonymous=16]="Anonymous",t[t.Mapped=32]="Mapped",t[t.Instantiated=64]="Instantiated",t[t.ObjectLiteral=128]="ObjectLiteral",t[t.EvolvingArray=256]="EvolvingArray",t[t.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",t[t.ReverseMapped=1024]="ReverseMapped",t[t.JsxAttributes=2048]="JsxAttributes",t[t.JSLiteral=4096]="JSLiteral",t[t.FreshLiteral=8192]="FreshLiteral",t[t.ArrayLiteral=16384]="ArrayLiteral",t[t.PrimitiveUnion=32768]="PrimitiveUnion",t[t.ContainsWideningType=65536]="ContainsWideningType",t[t.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",t[t.NonInferrableType=262144]="NonInferrableType",t[t.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",t[t.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",t[t.ClassOrInterface=3]="ClassOrInterface",t[t.RequiresWidening=196608]="RequiresWidening",t[t.PropagatingFlags=458752]="PropagatingFlags",t[t.InstantiatedMapped=96]="InstantiatedMapped",t[t.ObjectTypeKindMask=1343]="ObjectTypeKindMask",t[t.ContainsSpread=2097152]="ContainsSpread",t[t.ObjectRestType=4194304]="ObjectRestType",t[t.InstantiationExpressionType=8388608]="InstantiationExpressionType",t[t.IsClassInstanceClone=16777216]="IsClassInstanceClone",t[t.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",t[t.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",t[t.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",t[t.IsGenericObjectType=4194304]="IsGenericObjectType",t[t.IsGenericIndexType=8388608]="IsGenericIndexType",t[t.IsGenericType=12582912]="IsGenericType",t[t.ContainsIntersections=16777216]="ContainsIntersections",t[t.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",t[t.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",t[t.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",t[t.IsNeverIntersection=33554432]="IsNeverIntersection",t))(fU||{}),Voe=(t=>(t[t.Invariant=0]="Invariant",t[t.Covariant=1]="Covariant",t[t.Contravariant=2]="Contravariant",t[t.Bivariant=3]="Bivariant",t[t.Independent=4]="Independent",t[t.VarianceMask=7]="VarianceMask",t[t.Unmeasurable=8]="Unmeasurable",t[t.Unreliable=16]="Unreliable",t[t.AllowsStructuralFallback=24]="AllowsStructuralFallback",t))(Voe||{}),Hoe=(t=>(t[t.Required=1]="Required",t[t.Optional=2]="Optional",t[t.Rest=4]="Rest",t[t.Variadic=8]="Variadic",t[t.Fixed=3]="Fixed",t[t.Variable=12]="Variable",t[t.NonRequired=14]="NonRequired",t[t.NonRest=11]="NonRest",t))(Hoe||{}),Koe=(t=>(t[t.None=0]="None",t[t.IncludeUndefined=1]="IncludeUndefined",t[t.NoIndexSignatures=2]="NoIndexSignatures",t[t.Writing=4]="Writing",t[t.CacheSymbol=8]="CacheSymbol",t[t.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",t[t.ExpressionPosition=32]="ExpressionPosition",t[t.ReportDeprecated=64]="ReportDeprecated",t[t.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",t[t.Contextual=256]="Contextual",t[t.Persistent=1]="Persistent",t))(Koe||{}),Woe=(t=>(t[t.None=0]="None",t[t.StringsOnly=1]="StringsOnly",t[t.NoIndexSignatures=2]="NoIndexSignatures",t[t.NoReducibleCheck=4]="NoReducibleCheck",t))(Woe||{}),Goe=(t=>(t[t.Component=0]="Component",t[t.Function=1]="Function",t[t.Mixed=2]="Mixed",t))(Goe||{}),Joe=(t=>(t[t.Call=0]="Call",t[t.Construct=1]="Construct",t))(Joe||{}),mU=(t=>(t[t.None=0]="None",t[t.HasRestParameter=1]="HasRestParameter",t[t.HasLiteralTypes=2]="HasLiteralTypes",t[t.Abstract=4]="Abstract",t[t.IsInnerCallChain=8]="IsInnerCallChain",t[t.IsOuterCallChain=16]="IsOuterCallChain",t[t.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",t[t.IsNonInferrable=64]="IsNonInferrable",t[t.IsSignatureCandidateForOverloadFailure=128]="IsSignatureCandidateForOverloadFailure",t[t.PropagatingFlags=167]="PropagatingFlags",t[t.CallChainFlags=24]="CallChainFlags",t))(mU||{}),$oe=(t=>(t[t.String=0]="String",t[t.Number=1]="Number",t))($oe||{}),Uoe=(t=>(t[t.Simple=0]="Simple",t[t.Array=1]="Array",t[t.Deferred=2]="Deferred",t[t.Function=3]="Function",t[t.Composite=4]="Composite",t[t.Merged=5]="Merged",t))(Uoe||{}),qoe=(t=>(t[t.None=0]="None",t[t.NakedTypeVariable=1]="NakedTypeVariable",t[t.SpeculativeTuple=2]="SpeculativeTuple",t[t.SubstituteSource=4]="SubstituteSource",t[t.HomomorphicMappedType=8]="HomomorphicMappedType",t[t.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",t[t.MappedTypeConstraint=32]="MappedTypeConstraint",t[t.ContravariantConditional=64]="ContravariantConditional",t[t.ReturnType=128]="ReturnType",t[t.LiteralKeyof=256]="LiteralKeyof",t[t.NoConstraints=512]="NoConstraints",t[t.AlwaysStrict=1024]="AlwaysStrict",t[t.MaxValue=2048]="MaxValue",t[t.PriorityImpliesCombination=416]="PriorityImpliesCombination",t[t.Circularity=-1]="Circularity",t))(qoe||{}),Zoe=(t=>(t[t.None=0]="None",t[t.NoDefault=1]="NoDefault",t[t.AnyDefault=2]="AnyDefault",t[t.SkippedGenericFunction=4]="SkippedGenericFunction",t))(Zoe||{}),Yoe=(t=>(t[t.False=0]="False",t[t.Unknown=1]="Unknown",t[t.Maybe=3]="Maybe",t[t.True=-1]="True",t))(Yoe||{}),Qoe=(t=>(t[t.None=0]="None",t[t.ExportsProperty=1]="ExportsProperty",t[t.ModuleExports=2]="ModuleExports",t[t.PrototypeProperty=3]="PrototypeProperty",t[t.ThisProperty=4]="ThisProperty",t[t.Property=5]="Property",t[t.Prototype=6]="Prototype",t[t.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",t[t.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",t[t.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",t))(Qoe||{}),vO=(t=>(t[t.Warning=0]="Warning",t[t.Error=1]="Error",t[t.Suggestion=2]="Suggestion",t[t.Message=3]="Message",t))(vO||{}),y8=(t=>(t[t.Classic=1]="Classic",t[t.NodeJs=2]="NodeJs",t[t.Node10=2]="Node10",t[t.Node16=3]="Node16",t[t.NodeNext=99]="NodeNext",t[t.Bundler=100]="Bundler",t))(y8||{}),Xoe=(t=>(t[t.Legacy=1]="Legacy",t[t.Auto=2]="Auto",t[t.Force=3]="Force",t))(Xoe||{}),ese=(t=>(t[t.FixedPollingInterval=0]="FixedPollingInterval",t[t.PriorityPollingInterval=1]="PriorityPollingInterval",t[t.DynamicPriorityPolling=2]="DynamicPriorityPolling",t[t.FixedChunkSizePolling=3]="FixedChunkSizePolling",t[t.UseFsEvents=4]="UseFsEvents",t[t.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",t))(ese||{}),tse=(t=>(t[t.UseFsEvents=0]="UseFsEvents",t[t.FixedPollingInterval=1]="FixedPollingInterval",t[t.DynamicPriorityPolling=2]="DynamicPriorityPolling",t[t.FixedChunkSizePolling=3]="FixedChunkSizePolling",t))(tse||{}),ise=(t=>(t[t.FixedInterval=0]="FixedInterval",t[t.PriorityInterval=1]="PriorityInterval",t[t.DynamicPriority=2]="DynamicPriority",t[t.FixedChunkSize=3]="FixedChunkSize",t))(ise||{}),FN=(t=>(t[t.None=0]="None",t[t.CommonJS=1]="CommonJS",t[t.AMD=2]="AMD",t[t.UMD=3]="UMD",t[t.System=4]="System",t[t.ES2015=5]="ES2015",t[t.ES2020=6]="ES2020",t[t.ES2022=7]="ES2022",t[t.ESNext=99]="ESNext",t[t.Node16=100]="Node16",t[t.NodeNext=199]="NodeNext",t))(FN||{}),nse=(t=>(t[t.None=0]="None",t[t.Preserve=1]="Preserve",t[t.React=2]="React",t[t.ReactNative=3]="ReactNative",t[t.ReactJSX=4]="ReactJSX",t[t.ReactJSXDev=5]="ReactJSXDev",t))(nse||{}),use=(t=>(t[t.Remove=0]="Remove",t[t.Preserve=1]="Preserve",t[t.Error=2]="Error",t))(use||{}),rse=(t=>(t[t.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",t[t.LineFeed=1]="LineFeed",t))(rse||{}),pU=(t=>(t[t.Unknown=0]="Unknown",t[t.JS=1]="JS",t[t.JSX=2]="JSX",t[t.TS=3]="TS",t[t.TSX=4]="TSX",t[t.External=5]="External",t[t.JSON=6]="JSON",t[t.Deferred=7]="Deferred",t))(pU||{}),ase=(t=>(t[t.ES3=0]="ES3",t[t.ES5=1]="ES5",t[t.ES2015=2]="ES2015",t[t.ES2016=3]="ES2016",t[t.ES2017=4]="ES2017",t[t.ES2018=5]="ES2018",t[t.ES2019=6]="ES2019",t[t.ES2020=7]="ES2020",t[t.ES2021=8]="ES2021",t[t.ES2022=9]="ES2022",t[t.ESNext=99]="ESNext",t[t.JSON=100]="JSON",t[t.Latest=99]="Latest",t))(ase||{}),ose=(t=>(t[t.Standard=0]="Standard",t[t.JSX=1]="JSX",t))(ose||{}),sse=(t=>(t[t.None=0]="None",t[t.Recursive=1]="Recursive",t))(sse||{}),lse=(t=>(t[t.nullCharacter=0]="nullCharacter",t[t.maxAsciiCharacter=127]="maxAsciiCharacter",t[t.lineFeed=10]="lineFeed",t[t.carriageReturn=13]="carriageReturn",t[t.lineSeparator=8232]="lineSeparator",t[t.paragraphSeparator=8233]="paragraphSeparator",t[t.nextLine=133]="nextLine",t[t.space=32]="space",t[t.nonBreakingSpace=160]="nonBreakingSpace",t[t.enQuad=8192]="enQuad",t[t.emQuad=8193]="emQuad",t[t.enSpace=8194]="enSpace",t[t.emSpace=8195]="emSpace",t[t.threePerEmSpace=8196]="threePerEmSpace",t[t.fourPerEmSpace=8197]="fourPerEmSpace",t[t.sixPerEmSpace=8198]="sixPerEmSpace",t[t.figureSpace=8199]="figureSpace",t[t.punctuationSpace=8200]="punctuationSpace",t[t.thinSpace=8201]="thinSpace",t[t.hairSpace=8202]="hairSpace",t[t.zeroWidthSpace=8203]="zeroWidthSpace",t[t.narrowNoBreakSpace=8239]="narrowNoBreakSpace",t[t.ideographicSpace=12288]="ideographicSpace",t[t.mathematicalSpace=8287]="mathematicalSpace",t[t.ogham=5760]="ogham",t[t.replacementCharacter=65533]="replacementCharacter",t[t._=95]="_",t[t.$=36]="$",t[t._0=48]="_0",t[t._1=49]="_1",t[t._2=50]="_2",t[t._3=51]="_3",t[t._4=52]="_4",t[t._5=53]="_5",t[t._6=54]="_6",t[t._7=55]="_7",t[t._8=56]="_8",t[t._9=57]="_9",t[t.a=97]="a",t[t.b=98]="b",t[t.c=99]="c",t[t.d=100]="d",t[t.e=101]="e",t[t.f=102]="f",t[t.g=103]="g",t[t.h=104]="h",t[t.i=105]="i",t[t.j=106]="j",t[t.k=107]="k",t[t.l=108]="l",t[t.m=109]="m",t[t.n=110]="n",t[t.o=111]="o",t[t.p=112]="p",t[t.q=113]="q",t[t.r=114]="r",t[t.s=115]="s",t[t.t=116]="t",t[t.u=117]="u",t[t.v=118]="v",t[t.w=119]="w",t[t.x=120]="x",t[t.y=121]="y",t[t.z=122]="z",t[t.A=65]="A",t[t.B=66]="B",t[t.C=67]="C",t[t.D=68]="D",t[t.E=69]="E",t[t.F=70]="F",t[t.G=71]="G",t[t.H=72]="H",t[t.I=73]="I",t[t.J=74]="J",t[t.K=75]="K",t[t.L=76]="L",t[t.M=77]="M",t[t.N=78]="N",t[t.O=79]="O",t[t.P=80]="P",t[t.Q=81]="Q",t[t.R=82]="R",t[t.S=83]="S",t[t.T=84]="T",t[t.U=85]="U",t[t.V=86]="V",t[t.W=87]="W",t[t.X=88]="X",t[t.Y=89]="Y",t[t.Z=90]="Z",t[t.ampersand=38]="ampersand",t[t.asterisk=42]="asterisk",t[t.at=64]="at",t[t.backslash=92]="backslash",t[t.backtick=96]="backtick",t[t.bar=124]="bar",t[t.caret=94]="caret",t[t.closeBrace=125]="closeBrace",t[t.closeBracket=93]="closeBracket",t[t.closeParen=41]="closeParen",t[t.colon=58]="colon",t[t.comma=44]="comma",t[t.dot=46]="dot",t[t.doubleQuote=34]="doubleQuote",t[t.equals=61]="equals",t[t.exclamation=33]="exclamation",t[t.greaterThan=62]="greaterThan",t[t.hash=35]="hash",t[t.lessThan=60]="lessThan",t[t.minus=45]="minus",t[t.openBrace=123]="openBrace",t[t.openBracket=91]="openBracket",t[t.openParen=40]="openParen",t[t.percent=37]="percent",t[t.plus=43]="plus",t[t.question=63]="question",t[t.semicolon=59]="semicolon",t[t.singleQuote=39]="singleQuote",t[t.slash=47]="slash",t[t.tilde=126]="tilde",t[t.backspace=8]="backspace",t[t.formFeed=12]="formFeed",t[t.byteOrderMark=65279]="byteOrderMark",t[t.tab=9]="tab",t[t.verticalTab=11]="verticalTab",t))(lse||{}),cse=(t=>(t.Ts=".ts",t.Tsx=".tsx",t.Dts=".d.ts",t.Js=".js",t.Jsx=".jsx",t.Json=".json",t.TsBuildInfo=".tsbuildinfo",t.Mjs=".mjs",t.Mts=".mts",t.Dmts=".d.mts",t.Cjs=".cjs",t.Cts=".cts",t.Dcts=".d.cts",t))(cse||{}),gU=(t=>(t[t.None=0]="None",t[t.ContainsTypeScript=1]="ContainsTypeScript",t[t.ContainsJsx=2]="ContainsJsx",t[t.ContainsESNext=4]="ContainsESNext",t[t.ContainsES2022=8]="ContainsES2022",t[t.ContainsES2021=16]="ContainsES2021",t[t.ContainsES2020=32]="ContainsES2020",t[t.ContainsES2019=64]="ContainsES2019",t[t.ContainsES2018=128]="ContainsES2018",t[t.ContainsES2017=256]="ContainsES2017",t[t.ContainsES2016=512]="ContainsES2016",t[t.ContainsES2015=1024]="ContainsES2015",t[t.ContainsGenerator=2048]="ContainsGenerator",t[t.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",t[t.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",t[t.ContainsLexicalThis=16384]="ContainsLexicalThis",t[t.ContainsRestOrSpread=32768]="ContainsRestOrSpread",t[t.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",t[t.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",t[t.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",t[t.ContainsBindingPattern=524288]="ContainsBindingPattern",t[t.ContainsYield=1048576]="ContainsYield",t[t.ContainsAwait=2097152]="ContainsAwait",t[t.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",t[t.ContainsDynamicImport=8388608]="ContainsDynamicImport",t[t.ContainsClassFields=16777216]="ContainsClassFields",t[t.ContainsDecorators=33554432]="ContainsDecorators",t[t.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",t[t.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",t[t.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",t[t.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",t[t.HasComputedFlags=-2147483648]="HasComputedFlags",t[t.AssertTypeScript=1]="AssertTypeScript",t[t.AssertJsx=2]="AssertJsx",t[t.AssertESNext=4]="AssertESNext",t[t.AssertES2022=8]="AssertES2022",t[t.AssertES2021=16]="AssertES2021",t[t.AssertES2020=32]="AssertES2020",t[t.AssertES2019=64]="AssertES2019",t[t.AssertES2018=128]="AssertES2018",t[t.AssertES2017=256]="AssertES2017",t[t.AssertES2016=512]="AssertES2016",t[t.AssertES2015=1024]="AssertES2015",t[t.AssertGenerator=2048]="AssertGenerator",t[t.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",t[t.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",t[t.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",t[t.NodeExcludes=-2147483648]="NodeExcludes",t[t.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",t[t.FunctionExcludes=-1937940480]="FunctionExcludes",t[t.ConstructorExcludes=-1937948672]="ConstructorExcludes",t[t.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",t[t.PropertyExcludes=-2013249536]="PropertyExcludes",t[t.ClassExcludes=-2147344384]="ClassExcludes",t[t.ModuleExcludes=-1941676032]="ModuleExcludes",t[t.TypeExcludes=-2]="TypeExcludes",t[t.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",t[t.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",t[t.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",t[t.ParameterExcludes=-2147483648]="ParameterExcludes",t[t.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",t[t.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",t[t.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",t[t.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",t))(gU||{}),EU=(t=>(t[t.TabStop=0]="TabStop",t[t.Placeholder=1]="Placeholder",t[t.Choice=2]="Choice",t[t.Variable=3]="Variable",t))(EU||{}),_U=(t=>(t[t.None=0]="None",t[t.SingleLine=1]="SingleLine",t[t.MultiLine=2]="MultiLine",t[t.AdviseOnEmitNode=4]="AdviseOnEmitNode",t[t.NoSubstitution=8]="NoSubstitution",t[t.CapturesThis=16]="CapturesThis",t[t.NoLeadingSourceMap=32]="NoLeadingSourceMap",t[t.NoTrailingSourceMap=64]="NoTrailingSourceMap",t[t.NoSourceMap=96]="NoSourceMap",t[t.NoNestedSourceMaps=128]="NoNestedSourceMaps",t[t.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",t[t.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",t[t.NoTokenSourceMaps=768]="NoTokenSourceMaps",t[t.NoLeadingComments=1024]="NoLeadingComments",t[t.NoTrailingComments=2048]="NoTrailingComments",t[t.NoComments=3072]="NoComments",t[t.NoNestedComments=4096]="NoNestedComments",t[t.HelperName=8192]="HelperName",t[t.ExportName=16384]="ExportName",t[t.LocalName=32768]="LocalName",t[t.InternalName=65536]="InternalName",t[t.Indented=131072]="Indented",t[t.NoIndentation=262144]="NoIndentation",t[t.AsyncFunctionBody=524288]="AsyncFunctionBody",t[t.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",t[t.CustomPrologue=2097152]="CustomPrologue",t[t.NoHoisting=4194304]="NoHoisting",t[t.Iterator=8388608]="Iterator",t[t.NoAsciiEscaping=16777216]="NoAsciiEscaping",t))(_U||{}),dse=(t=>(t[t.None=0]="None",t[t.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",t[t.NeverApplyImportHelper=2]="NeverApplyImportHelper",t[t.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",t[t.Immutable=8]="Immutable",t[t.IndirectCall=16]="IndirectCall",t[t.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",t))(dse||{}),hse=(t=>(t[t.Extends=1]="Extends",t[t.Assign=2]="Assign",t[t.Rest=4]="Rest",t[t.Decorate=8]="Decorate",t[t.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",t[t.Metadata=16]="Metadata",t[t.Param=32]="Param",t[t.Awaiter=64]="Awaiter",t[t.Generator=128]="Generator",t[t.Values=256]="Values",t[t.Read=512]="Read",t[t.SpreadArray=1024]="SpreadArray",t[t.Await=2048]="Await",t[t.AsyncGenerator=4096]="AsyncGenerator",t[t.AsyncDelegator=8192]="AsyncDelegator",t[t.AsyncValues=16384]="AsyncValues",t[t.ExportStar=32768]="ExportStar",t[t.ImportStar=65536]="ImportStar",t[t.ImportDefault=131072]="ImportDefault",t[t.MakeTemplateObject=262144]="MakeTemplateObject",t[t.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",t[t.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",t[t.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",t[t.CreateBinding=4194304]="CreateBinding",t[t.SetFunctionName=8388608]="SetFunctionName",t[t.PropKey=16777216]="PropKey",t[t.AddDisposableResourceAndDisposeResources=33554432]="AddDisposableResourceAndDisposeResources",t[t.FirstEmitHelper=1]="FirstEmitHelper",t[t.LastEmitHelper=33554432]="LastEmitHelper",t[t.ForOfIncludes=256]="ForOfIncludes",t[t.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",t[t.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",t[t.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",t[t.SpreadIncludes=1536]="SpreadIncludes",t))(hse||{}),fse=(t=>(t[t.SourceFile=0]="SourceFile",t[t.Expression=1]="Expression",t[t.IdentifierName=2]="IdentifierName",t[t.MappedTypeParameter=3]="MappedTypeParameter",t[t.Unspecified=4]="Unspecified",t[t.EmbeddedStatement=5]="EmbeddedStatement",t[t.JsxAttributeValue=6]="JsxAttributeValue",t))(fse||{}),mse=(t=>(t[t.Parentheses=1]="Parentheses",t[t.TypeAssertions=2]="TypeAssertions",t[t.NonNullAssertions=4]="NonNullAssertions",t[t.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",t[t.Assertions=6]="Assertions",t[t.All=15]="All",t[t.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion",t))(mse||{}),pse=(t=>(t[t.None=0]="None",t[t.InParameters=1]="InParameters",t[t.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",t))(pse||{}),gse=(t=>(t.Prologue="prologue",t.EmitHelpers="emitHelpers",t.NoDefaultLib="no-default-lib",t.Reference="reference",t.Type="type",t.TypeResolutionModeRequire="type-require",t.TypeResolutionModeImport="type-import",t.Lib="lib",t.Prepend="prepend",t.Text="text",t.Internal="internal",t))(gse||{}),Ese=(t=>(t[t.None=0]="None",t[t.SingleLine=0]="SingleLine",t[t.MultiLine=1]="MultiLine",t[t.PreserveLines=2]="PreserveLines",t[t.LinesMask=3]="LinesMask",t[t.NotDelimited=0]="NotDelimited",t[t.BarDelimited=4]="BarDelimited",t[t.AmpersandDelimited=8]="AmpersandDelimited",t[t.CommaDelimited=16]="CommaDelimited",t[t.AsteriskDelimited=32]="AsteriskDelimited",t[t.DelimitersMask=60]="DelimitersMask",t[t.AllowTrailingComma=64]="AllowTrailingComma",t[t.Indented=128]="Indented",t[t.SpaceBetweenBraces=256]="SpaceBetweenBraces",t[t.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",t[t.Braces=1024]="Braces",t[t.Parenthesis=2048]="Parenthesis",t[t.AngleBrackets=4096]="AngleBrackets",t[t.SquareBrackets=8192]="SquareBrackets",t[t.BracketsMask=15360]="BracketsMask",t[t.OptionalIfUndefined=16384]="OptionalIfUndefined",t[t.OptionalIfEmpty=32768]="OptionalIfEmpty",t[t.Optional=49152]="Optional",t[t.PreferNewLine=65536]="PreferNewLine",t[t.NoTrailingNewLine=131072]="NoTrailingNewLine",t[t.NoInterveningComments=262144]="NoInterveningComments",t[t.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",t[t.SingleElement=1048576]="SingleElement",t[t.SpaceAfterList=2097152]="SpaceAfterList",t[t.Modifiers=2359808]="Modifiers",t[t.HeritageClauses=512]="HeritageClauses",t[t.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",t[t.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",t[t.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",t[t.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",t[t.UnionTypeConstituents=516]="UnionTypeConstituents",t[t.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",t[t.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",t[t.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",t[t.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",t[t.ImportAttributes=526226]="ImportAttributes",t[t.ImportClauseEntries=526226]="ImportClauseEntries",t[t.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",t[t.CommaListElements=528]="CommaListElements",t[t.CallExpressionArguments=2576]="CallExpressionArguments",t[t.NewExpressionArguments=18960]="NewExpressionArguments",t[t.TemplateExpressionSpans=262144]="TemplateExpressionSpans",t[t.SingleLineBlockStatements=768]="SingleLineBlockStatements",t[t.MultiLineBlockStatements=129]="MultiLineBlockStatements",t[t.VariableDeclarationList=528]="VariableDeclarationList",t[t.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",t[t.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",t[t.ClassHeritageClauses=0]="ClassHeritageClauses",t[t.ClassMembers=129]="ClassMembers",t[t.InterfaceMembers=129]="InterfaceMembers",t[t.EnumMembers=145]="EnumMembers",t[t.CaseBlockClauses=129]="CaseBlockClauses",t[t.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",t[t.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",t[t.JsxElementAttributes=262656]="JsxElementAttributes",t[t.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",t[t.HeritageClauseTypes=528]="HeritageClauseTypes",t[t.SourceFileStatements=131073]="SourceFileStatements",t[t.Decorators=2146305]="Decorators",t[t.TypeArguments=53776]="TypeArguments",t[t.TypeParameters=53776]="TypeParameters",t[t.Parameters=2576]="Parameters",t[t.IndexSignatureParameters=8848]="IndexSignatureParameters",t[t.JSDocComment=33]="JSDocComment",t))(Ese||{}),_se=(t=>(t[t.None=0]="None",t[t.TripleSlashXML=1]="TripleSlashXML",t[t.SingleLine=2]="SingleLine",t[t.MultiLine=4]="MultiLine",t[t.All=7]="All",t[t.Default=7]="Default",t))(_se||{}),CO={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0},{name:"resolution-mode",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4},jsxfrag:{args:[{name:"factory"}],kind:4},jsximportsource:{args:[{name:"factory"}],kind:4},jsxruntime:{args:[{name:"factory"}],kind:4}},Dse=(t=>(t[t.ParseAll=0]="ParseAll",t[t.ParseNone=1]="ParseNone",t[t.ParseForTypeErrors=2]="ParseForTypeErrors",t[t.ParseForTypeInfo=3]="ParseForTypeInfo",t))(Dse||{})}});function AN(t){let u=5381;for(let s=0;s{se.isClosed=!0,Vy(u,se)}}}function v(K){const Y=[];return Y.pollingInterval=K,Y.pollIndex=0,Y.pollScheduled=!1,Y}function b(K,Y){Y.pollIndex=k(Y,Y.pollingInterval,Y.pollIndex,vU[Y.pollingInterval]),Y.length?J(Y.pollingInterval):(H.assert(Y.pollIndex===0),Y.pollScheduled=!1)}function B(K,Y){k(s,250,0,s.length),b(K,Y),!Y.pollScheduled&&s.length&&J(250)}function k(K,Y,oe,se){return Mqe(t,K,oe,se,ge);function ge(ae,Ce,ne){ne?(ae.unchangedPolls=0,K!==s&&(K[Ce]=void 0,z(ae))):ae.unchangedPolls!==yO[Y]?ae.unchangedPolls++:K===s?(ae.unchangedPolls=1,K[Ce]=void 0,M(ae,250)):Y!==2e3&&(ae.unchangedPolls++,K[Ce]=void 0,M(ae,Y===250?500:2e3))}}function T(K){switch(K){case 250:return d;case 500:return f;case 2e3:return p}}function M(K,Y){T(Y).push(K),j(Y)}function z(K){s.push(K),j(250)}function j(K){T(K).pollScheduled||J(K)}function J(K){T(K).pollScheduled=t.setTimeout(K===250?B:b,K,K===250?"pollLowPollingIntervalQueue":"pollPollingIntervalQueue",T(K))}}function Qwt(t,u){const s=wm(),d=new Map,f=L1(u);return p;function p(v,b,B,k){const T=f(v);s.add(T,b);const M=lr(T)||".",z=d.get(M)||E(lr(v)||".",M,k);return z.referenceCount++,{close:()=>{z.referenceCount===1?(z.close(),d.delete(M)):z.referenceCount--,s.remove(T,b)}}}function E(v,b,B){const k=t(v,1,(T,M,z)=>{if(!Ja(M))return;const j=$a(M,v),J=j&&s.get(f(j));if(J)for(const K of J)K(j,1,z)},!1,500,B);return k.referenceCount=0,d.set(b,k),k}}function Xwt(t){const u=[];let s=0,d;return f;function f(v,b){const B={fileName:v,callback:b,mtime:e7(t,v)};return u.push(B),E(),{close:()=>{B.isClosed=!0,Vy(u,B)}}}function p(){d=void 0,s=Mqe(t,u,s,vU[250]),E()}function E(){!u.length||d||(d=t.setTimeout(p,2e3,"pollQueue"))}}function zqe(t,u,s,d,f){const E=L1(u)(s),v=t.get(E);return v?v.callbacks.push(d):t.set(E,{watcher:f((b,B,k)=>{var T;return(T=t.get(E))==null?void 0:T.callbacks.slice().forEach(M=>M(b,B,k))}),callbacks:[d]}),{close:()=>{const b=t.get(E);b&&(!gO(b.callbacks,d)||b.callbacks.length||(t.delete(E),jm(b)))}}}function eTt(t,u){const s=t.mtime.getTime(),d=u.getTime();return s!==d?(t.mtime=u,t.callback(t.fileName,xse(s,d),u),!0):!1}function xse(t,u){return t===0?0:u===0?2:1}function bO(t){return D2e(t)}function g2e(t){D2e=t}function tTt({watchDirectory:t,useCaseSensitiveFileNames:u,getCurrentDirectory:s,getAccessibleSortedChildDirectories:d,fileSystemEntryExists:f,realpath:p,setTimeout:E,clearTimeout:v}){const b=new Map,B=wm(),k=new Map;let T;const M=CN(!u),z=L1(u);return(ne,ve,Se,Ne)=>Se?j(ne,Ne,ve):t(ne,ve,Se,Ne);function j(ne,ve,Se){const Ne=z(ne);let pe=b.get(Ne);pe?pe.refCount++:(pe={watcher:t(ne,xe=>{ae(xe,ve)||(ve!=null&&ve.synchronousWatchDirectory?(J(Ne,xe),ge(ne,Ne,ve)):K(ne,Ne,xe,ve))},!1,ve),refCount:1,childWatches:_t},b.set(Ne,pe),ge(ne,Ne,ve));const fe=Se&&{dirName:ne,callback:Se};return fe&&B.add(Ne,fe),{dirName:ne,close:()=>{const xe=H.checkDefined(b.get(Ne));fe&&B.remove(Ne,fe),xe.refCount--,!xe.refCount&&(b.delete(Ne),jm(xe),xe.childWatches.forEach(fg))}}}function J(ne,ve,Se){let Ne,pe;Ja(ve)?Ne=ve:pe=ve,B.forEach((fe,xe)=>{if(!(pe&&pe.get(xe)===!0)&&(xe===ne||Pa(ne,xe)&&ne[xe.length]===rl))if(pe)if(Se){const Be=pe.get(xe);Be?Be.push(...Se):pe.set(xe,Se.slice())}else pe.set(xe,!0);else fe.forEach(({callback:Be})=>Be(Ne))})}function K(ne,ve,Se,Ne){const pe=b.get(ve);if(pe&&f(ne,1)){Y(ne,ve,Se,Ne);return}J(ve,Se),se(pe)}function Y(ne,ve,Se,Ne){const pe=k.get(ve);pe?pe.fileNames.push(Se):k.set(ve,{dirName:ne,options:Ne,fileNames:[Se]}),T&&(v(T),T=void 0),T=E(oe,1e3,"timerToUpdateChildWatches")}function oe(){T=void 0,bO(`sysLog:: onTimerToUpdateChildWatches:: ${k.size}`);const ne=G0(),ve=new Map;for(;!T&&k.size;){const Ne=k.entries().next();H.assert(!Ne.done);const{value:[pe,{dirName:fe,options:xe,fileNames:Be}]}=Ne;k.delete(pe);const Ge=ge(fe,pe,xe);J(pe,ve,Ge?void 0:Be)}bO(`sysLog:: invokingWatchers:: Elapsed:: ${G0()-ne}ms:: ${k.size}`),B.forEach((Ne,pe)=>{const fe=ve.get(pe);fe&&Ne.forEach(({callback:xe,dirName:Be})=>{Ha(fe)?fe.forEach(xe):xe(Be)})});const Se=G0()-ne;bO(`sysLog:: Elapsed:: ${Se}ms:: onTimerToUpdateChildWatches:: ${k.size} ${T}`)}function se(ne){if(!ne)return;const ve=ne.childWatches;ne.childWatches=_t;for(const Se of ve)Se.close(),se(b.get(z(Se.dirName)))}function ge(ne,ve,Se){const Ne=b.get(ve);if(!Ne)return!1;let pe;const fe=eU(f(ne,1)?qi(d(ne),Ge=>{const Ae=$a(Ge,ne);return!ae(Ae,Se)&&M(Ae,$o(p(Ae)))===0?Ae:void 0}):_t,Ne.childWatches,(Ge,Ae)=>M(Ge,Ae.dirName),xe,fg,Be);return Ne.childWatches=pe||_t,fe;function xe(Ge){const Ae=j(Ge,Se);Be(Ae)}function Be(Ge){(pe||(pe=[])).push(Ge)}}function ae(ne,ve){return Oe(kO,Se=>Ce(ne,Se))||Iqe(ne,ve,u,s)}function Ce(ne,ve){return ne.includes(ve)?!0:u?!1:z(ne).includes(ve)}}function iTt(t){return(u,s,d)=>t(s===1?"change":"rename","",d)}function nTt(t,u,s){return(d,f,p)=>{d==="rename"?(p||(p=s(t)||K_),u(t,p!==K_?0:2,p)):u(t,1,p)}}function Iqe(t,u,s,d){return((u==null?void 0:u.excludeDirectories)||(u==null?void 0:u.excludeFiles))&&(TY(t,u==null?void 0:u.excludeFiles,s,d())||TY(t,u==null?void 0:u.excludeDirectories,s,d()))}function Rqe(t,u,s,d,f){return(p,E)=>{if(p==="rename"){const v=E?$o(cr(t,E)):t;(!E||!Iqe(v,s,d,f))&&u(v)}}}function E2e({pollingWatchFileWorker:t,getModifiedTime:u,setTimeout:s,clearTimeout:d,fsWatchWorker:f,fileSystemEntryExists:p,useCaseSensitiveFileNames:E,getCurrentDirectory:v,fsSupportsRecursiveFsWatch:b,getAccessibleSortedChildDirectories:B,realpath:k,tscWatchFile:T,useNonPollingWatchers:M,tscWatchDirectory:z,inodeWatching:j,sysLog:J}){const K=new Map,Y=new Map,oe=new Map;let se,ge,ae,Ce,ne=!1;return{watchFile:ve,watchDirectory:xe};function ve(Je,ft,Ye,Ve){Ve=pe(Ve,M);const We=H.checkDefined(Ve.watchFile);switch(We){case 0:return Ae(Je,ft,250,void 0);case 1:return Ae(Je,ft,Ye,void 0);case 2:return Se()(Je,ft,Ye,void 0);case 3:return Ne()(Je,ft,void 0,void 0);case 4:return De(Je,0,nTt(Je,ft,u),!1,Ye,xH(Ve));case 5:return ae||(ae=Qwt(De,E)),ae(Je,ft,Ye,xH(Ve));default:H.assertNever(We)}}function Se(){return se||(se=Ywt({getModifiedTime:u,setTimeout:s}))}function Ne(){return ge||(ge=Xwt({getModifiedTime:u,setTimeout:s}))}function pe(Je,ft){if(Je&&Je.watchFile!==void 0)return Je;switch(T){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return fe(4,1,Je);case"UseFsEventsWithFallbackDynamicPolling":return fe(4,2,Je);case"UseFsEventsOnParentDirectory":ft=!0;default:return ft?fe(5,1,Je):{watchFile:4}}}function fe(Je,ft,Ye){const Ve=Ye==null?void 0:Ye.fallbackPolling;return{watchFile:Je,fallbackPolling:Ve===void 0?ft:Ve}}function xe(Je,ft,Ye,Ve){return b?De(Je,1,Rqe(Je,ft,Ve,E,v),Ye,500,xH(Ve)):(Ce||(Ce=tTt({useCaseSensitiveFileNames:E,getCurrentDirectory:v,fileSystemEntryExists:p,getAccessibleSortedChildDirectories:B,watchDirectory:Be,realpath:k,setTimeout:s,clearTimeout:d})),Ce(Je,ft,Ye,Ve))}function Be(Je,ft,Ye,Ve){H.assert(!Ye);const We=Ge(Ve),Gt=H.checkDefined(We.watchDirectory);switch(Gt){case 1:return Ae(Je,()=>ft(Je),500,void 0);case 2:return Se()(Je,()=>ft(Je),500,void 0);case 3:return Ne()(Je,()=>ft(Je),void 0,void 0);case 0:return De(Je,1,Rqe(Je,ft,Ve,E,v),Ye,500,xH(We));default:H.assertNever(Gt)}}function Ge(Je){if(Je&&Je.watchDirectory!==void 0)return Je;switch(z){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:const ft=Je==null?void 0:Je.fallbackPolling;return{watchDirectory:0,fallbackPolling:ft!==void 0?ft:void 0}}}function Ae(Je,ft,Ye,Ve){return zqe(K,E,Je,ft,We=>t(Je,We,Ye,Ve))}function De(Je,ft,Ye,Ve,We,Gt){return zqe(Ve?oe:Y,E,Je,Ye,Yt=>Ke(Je,ft,Yt,Ve,We,Gt))}function Ke(Je,ft,Ye,Ve,We,Gt){let Yt,Ie;j&&(Yt=Je.substring(Je.lastIndexOf(rl)),Ie=Yt.slice(rl.length));let st=p(Je,ft)?It():Ut();return{close:()=>{st&&(st.close(),st=void 0)}};function St(Ni){st&&(J(`sysLog:: ${Je}:: Changing watcher to ${Ni===It?"Present":"Missing"}FileSystemEntryWatcher`),st.close(),st=Ni())}function It(){if(ne)return J(`sysLog:: ${Je}:: Defaulting to watchFile`),ht();try{const Ni=f(Je,Ve,j?ei:Ye);return Ni.on("error",()=>{Ye("rename",""),St(Ut)}),Ni}catch(Ni){return ne||(ne=Ni.code==="ENOSPC"),J(`sysLog:: ${Je}:: Changing to watchFile`),ht()}}function ei(Ni,ji){let xn;if(ji&&sc(ji,"~")&&(xn=ji,ji=ji.slice(0,ji.length-1)),Ni==="rename"&&(!ji||ji===Ie||sc(ji,Yt))){const Jn=u(Je)||K_;xn&&Ye(Ni,xn,Jn),Ye(Ni,ji,Jn),j?St(Jn===K_?Ut:It):Jn===K_&&St(Ut)}else xn&&Ye(Ni,xn),Ye(Ni,ji)}function ht(){return ve(Je,iTt(Ye),We,Gt)}function Ut(){return ve(Je,(Ni,ji,xn)=>{ji===0&&(xn||(xn=u(Je)||K_),xn!==K_&&(Ye("rename","",xn),St(It)))},We,Gt)}}}function _2e(t){const u=t.writeFile;t.writeFile=(s,d,f)=>nle(s,d,!!f,(p,E,v)=>u.call(t,p,E,v),p=>t.createDirectory(p),p=>t.directoryExists(p))}function Oqe(t){c1=t}var vse,DU,K_,xU,vU,yO,kO,D2e,Cse,c1,uTt=o({"src/compiler/sys.ts"(){Bo(),vse=(t=>(t[t.Created=0]="Created",t[t.Changed=1]="Changed",t[t.Deleted=2]="Deleted",t))(vse||{}),DU=(t=>(t[t.High=2e3]="High",t[t.Medium=500]="Medium",t[t.Low=250]="Low",t))(DU||{}),K_=new Date(0),xU={Low:32,Medium:64,High:256},vU=p2e(xU),yO=p2e(xU),kO=["/node_modules/.","/.git","/.#"],D2e=Is,Cse=(t=>(t[t.File=0]="File",t[t.Directory=1]="Directory",t))(Cse||{}),c1=(()=>{const t="\uFEFF";function u(){const d=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/,f=rS,p=rS,E=rS;let v;try{v=rS}catch{v=void 0}let b,B="./profile.cpuprofile";const k=rS.Buffer,T=process.platform==="linux"||process.platform==="darwin",M=E.platform(),z=Ne(),j=f.realpathSync.native?process.platform==="win32"?We:f.realpathSync.native:f.realpathSync,J=__filename.endsWith("sys.js")?p.join(p.dirname(__dirname),"__fake__.js"):__filename,K=process.platform==="win32"||process.platform==="darwin",Y=Mh(()=>process.cwd()),{watchFile:oe,watchDirectory:se}=E2e({pollingWatchFileWorker:fe,getModifiedTime:Yt,setTimeout,clearTimeout,fsWatchWorker:xe,useCaseSensitiveFileNames:z,getCurrentDirectory:Y,fileSystemEntryExists:Je,fsSupportsRecursiveFsWatch:K,getAccessibleSortedChildDirectories:It=>De(It).directories,realpath:Gt,tscWatchFile:e.TSC_WATCHFILE,useNonPollingWatchers:!!e.TSC_NONPOLLING_WATCHER,tscWatchDirectory:e.TSC_WATCHDIRECTORY,inodeWatching:T,sysLog:bO}),ge={args:process.argv.slice(2),newLine:E.EOL,useCaseSensitiveFileNames:z,write(It){process.stdout.write(It)},getWidthOfTerminal(){return process.stdout.columns},writeOutputIsTTY(){return process.stdout.isTTY},readFile:Ge,writeFile:Ae,watchFile:oe,watchDirectory:se,resolvePath:It=>p.resolve(It),fileExists:ft,directoryExists:Ye,createDirectory(It){if(!ge.directoryExists(It))try{f.mkdirSync(It)}catch(ei){if(ei.code!=="EEXIST")throw ei}},getExecutingFilePath(){return J},getCurrentDirectory:Y,getDirectories:Ve,getEnvironmentVariable(It){return e[It]||""},readDirectory:Ke,getModifiedTime:Yt,setModifiedTime:Ie,deleteFile:st,createHash:v?St:AN,createSHA256Hash:v?St:void 0,getMemoryUsage(){return Zpt.gc&&Zpt.gc(),process.memoryUsage().heapUsed},getFileSize(It){try{const ei=ae(It);if(ei!=null&&ei.isFile())return ei.size}catch{}return 0},exit(It){ve(()=>process.exit(It))},enableCPUProfiler:Ce,disableCPUProfiler:ve,cpuProfilingEnabled:()=>!!b||kt(process.execArgv,"--cpu-prof")||kt(process.execArgv,"--prof"),realpath:Gt,debugMode:!!e.NODE_INSPECTOR_IPC||!!e.VSCODE_INSPECTOR_OPTIONS||Oe(process.execArgv,It=>/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(It))||!!process.recordreplay,tryEnableSourceMapsForHost(){try{rS.install()}catch{}},setTimeout,clearTimeout,clearScreen:()=>{process.stdout.write("\x1Bc")},setBlocking:()=>{var It;const ei=(It=process.stdout)==null?void 0:It._handle;ei&&ei.setBlocking&&ei.setBlocking(!0)},bufferFrom:Se,base64decode:It=>Se(It,"base64").toString("utf8"),base64encode:It=>Se(It).toString("base64"),require:(It,ei)=>{try{const ht=pAe(ei,It,ge);return{module:Ypt(ht),modulePath:ht,error:void 0}}catch(ht){return{module:void 0,modulePath:void 0,error:ht}}}};return ge;function ae(It){return f.statSync(It,{throwIfNoEntry:!1})}function Ce(It,ei){if(b)return ei(),!1;const ht=rS;if(!ht||!ht.Session)return ei(),!1;const Ut=new ht.Session;return Ut.connect(),Ut.post("Profiler.enable",()=>{Ut.post("Profiler.start",()=>{b=Ut,B=It,ei()})}),!0}function ne(It){let ei=0;const ht=new Map,Ut=q1(p.dirname(J)),Ni=`file://${WE(Ut)===1?"":"/"}${Ut}`;for(const ji of It.nodes)if(ji.callFrame.url){const xn=q1(ji.callFrame.url);GE(Ni,xn,z)?ji.callFrame.url=i7(Ni,xn,Ni,L1(z),!0):d.test(xn)||(ji.callFrame.url=(ht.has(xn)?ht:ht.set(xn,`external${ei}.js`)).get(xn),ei++)}return It}function ve(It){if(b&&b!=="stopping"){const ei=b;return b.post("Profiler.stop",(ht,{profile:Ut})=>{var Ni;if(!ht){try{(Ni=ae(B))!=null&&Ni.isDirectory()&&(B=p.join(B,`${new Date().toISOString().replace(/:/g,"-")}+P${process.pid}.cpuprofile`))}catch{}try{f.mkdirSync(p.dirname(B),{recursive:!0})}catch{}f.writeFileSync(B,JSON.stringify(ne(Ut)))}b=void 0,ei.disconnect(),It()}),b="stopping",!0}else return It(),!1}function Se(It,ei){return k.from&&k.from!==Int8Array.from?k.from(It,ei):new k(It,ei)}function Ne(){return M==="win32"||M==="win64"?!1:!ft(pe(__filename))}function pe(It){return It.replace(/\w/g,ei=>{const ht=ei.toUpperCase();return ei===ht?ei.toLowerCase():ht})}function fe(It,ei,ht){f.watchFile(It,{persistent:!0,interval:ht},Ni);let Ut;return{close:()=>f.unwatchFile(It,Ni)};function Ni(ji,xn){const Jn=+xn.mtime==0||Ut===2;if(+ji.mtime==0){if(Jn)return;Ut=2}else if(Jn)Ut=0;else{if(+ji.mtime==+xn.mtime)return;Ut=1}ei(It,Ut,ji.mtime)}}function xe(It,ei,ht){return f.watch(It,K?{persistent:!0,recursive:!!ei}:{persistent:!0},ht)}function Be(It,ei){let ht;try{ht=f.readFileSync(It)}catch{return}let Ut=ht.length;if(Ut>=2&&ht[0]===254&&ht[1]===255){Ut&=-2;for(let Ni=0;Ni=2&&ht[0]===255&&ht[1]===254?ht.toString("utf16le",2):Ut>=3&&ht[0]===239&&ht[1]===187&&ht[2]===191?ht.toString("utf8",3):ht.toString("utf8")}function Ge(It,ei){var ht,Ut;(ht=hh)==null||ht.logStartReadFile(It);const Ni=Be(It);return(Ut=hh)==null||Ut.logStopReadFile(),Ni}function Ae(It,ei,ht){var Ut;(Ut=hh)==null||Ut.logEvent("WriteFile: "+It),ht&&(ei=t+ei);let Ni;try{Ni=f.openSync(It,"w"),f.writeSync(Ni,ei,void 0,"utf8")}finally{Ni!==void 0&&f.closeSync(Ni)}}function De(It){var ei;(ei=hh)==null||ei.logEvent("ReadDir: "+(It||"."));try{const ht=f.readdirSync(It||".",{withFileTypes:!0}),Ut=[],Ni=[];for(const ji of ht){const xn=typeof ji=="string"?ji:ji.name;if(xn==="."||xn==="..")continue;let Jn;if(typeof ji=="string"||ji.isSymbolicLink()){const an=cr(It,xn);try{if(Jn=ae(an),!Jn)continue}catch{continue}}else Jn=ji;Jn.isFile()?Ut.push(xn):Jn.isDirectory()&&Ni.push(xn)}return Ut.sort(),Ni.sort(),{files:Ut,directories:Ni}}catch{return bZ}}function Ke(It,ei,ht,Ut,Ni){return Ale(It,ei,ht,Ut,z,process.cwd(),Ni,De,Gt)}function Je(It,ei){const ht=Error.stackTraceLimit;Error.stackTraceLimit=0;try{const Ut=ae(It);if(!Ut)return!1;switch(ei){case 0:return Ut.isFile();case 1:return Ut.isDirectory();default:return!1}}catch{return!1}finally{Error.stackTraceLimit=ht}}function ft(It){return Je(It,0)}function Ye(It){return Je(It,1)}function Ve(It){return De(It).directories.slice()}function We(It){return It.length<260?f.realpathSync.native(It):f.realpathSync(It)}function Gt(It){try{return j(It)}catch{return It}}function Yt(It){var ei;const ht=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return(ei=ae(It))==null?void 0:ei.mtime}catch{return}finally{Error.stackTraceLimit=ht}}function Ie(It,ei){try{f.utimesSync(It,ei,ei)}catch{return}}function st(It){try{return f.unlinkSync(It)}catch{return}}function St(It){const ei=v.createHash("sha256");return ei.update(It),ei.digest("hex")}}let s;return hoe()&&(s=u()),s&&_2e(s),s})(),c1&&c1.getEnvironmentVariable&&(Zwt(c1),H.setAssertionLevel(/^development$/i.test(c1.getEnvironmentVariable("NODE_ENV"))?1:0)),c1&&c1.debugMode&&(H.isDebugging=!0)}});function bse(t){return t===47||t===92}function x2e(t){return CU(t)<0}function Pf(t){return CU(t)>0}function yse(t){const u=CU(t);return u>0&&u===t.length}function SN(t){return CU(t)!==0}function om(t){return/^\.\.?($|[\\/])/.test(t)}function kse(t){return!SN(t)&&!om(t)}function t7(t){return Ac(t).includes(".")}function Ml(t,u){return t.length>u.length&&sc(t,u)}function jc(t,u){for(const s of u)if(Ml(t,s))return!0;return!1}function ZD(t){return t.length>0&&bse(t.charCodeAt(t.length-1))}function jqe(t){return t>=97&&t<=122||t>=65&&t<=90}function rTt(t,u){const s=t.charCodeAt(u);if(s===58)return u+1;if(s===37&&t.charCodeAt(u+1)===51){const d=t.charCodeAt(u+2);if(d===97||d===65)return u+3}return-1}function CU(t){if(!t)return 0;const u=t.charCodeAt(0);if(u===47||u===92){if(t.charCodeAt(1)!==u)return 1;const d=t.indexOf(u===47?rl:BO,2);return d<0?t.length:d+1}if(jqe(u)&&t.charCodeAt(1)===58){const d=t.charCodeAt(2);if(d===47||d===92)return 3;if(t.length===2)return 2}const s=t.indexOf(C2e);if(s!==-1){const d=s+C2e.length,f=t.indexOf(rl,d);if(f!==-1){const p=t.slice(0,s),E=t.slice(d,f);if(p==="file"&&(E===""||E==="localhost")&&jqe(t.charCodeAt(f+1))){const v=rTt(t,f+2);if(v!==-1){if(t.charCodeAt(v)===47)return~(v+1);if(v===t.length)return~v}}return~(f+1)}return~t.length}return 0}function WE(t){const u=CU(t);return u<0?~u:u}function lr(t){t=q1(t);const u=WE(t);return u===t.length?t:(t=mv(t),t.slice(0,Math.max(u,t.lastIndexOf(rl))))}function Ac(t,u,s){if(t=q1(t),WE(t)===t.length)return"";t=mv(t);const f=t.slice(Math.max(WE(t),t.lastIndexOf(rl)+1)),p=u!==void 0&&s!==void 0?BN(f,u,s):void 0;return p?f.slice(0,f.length-p.length):f}function Vqe(t,u,s){if(Pa(u,".")||(u="."+u),t.length>=u.length&&t.charCodeAt(t.length-u.length)===46){const d=t.slice(t.length-u.length);if(s(d,u))return d}}function aTt(t,u,s){if(typeof u=="string")return Vqe(t,u,s)||"";for(const d of u){const f=Vqe(t,d,s);if(f)return f}return""}function BN(t,u,s){if(u)return aTt(mv(t),u,s?QA:XA);const d=Ac(t),f=d.lastIndexOf(".");return f>=0?d.substring(f):""}function oTt(t,u){const s=t.substring(0,u),d=t.substring(u).split(rl);return d.length&&!qu(d)&&d.pop(),[s,...d]}function yd(t,u=""){return t=cr(u,t),oTt(t,WE(t))}function yx(t,u){return t.length===0?"":(t[0]&&zd(t[0]))+t.slice(1,u).join(rl)}function q1(t){return t.includes("\\")?t.replace(Wqe,rl):t}function Jy(t){if(!Oe(t))return[];const u=[t[0]];for(let s=1;s1){if(u[u.length-1]!==".."){u.pop();continue}}else if(u[0])continue}u.push(d)}}return u}function cr(t,...u){t&&(t=q1(t));for(let s of u)s&&(s=q1(s),!t||WE(s)!==0?t=s:t=zd(t)+s);return t}function kx(t,...u){return $o(Oe(u)?cr(t,...u):q1(t))}function FO(t,u){return Jy(yd(t,u))}function $a(t,u){return yx(FO(t,u))}function $o(t){if(t=q1(t),!yU.test(t))return t;const u=t.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(u!==t&&(t=u,!yU.test(t)))return t;const s=yx(Jy(yd(t)));return s&&ZD(t)?zd(s):s}function sTt(t){return t.length===0?"":t.slice(1).join(rl)}function Fse(t,u){return sTt(FO(t,u))}function J0(t,u,s){const d=Pf(t)?$o(t):$a(t,u);return s(d)}function mv(t){return ZD(t)?t.substr(0,t.length-1):t}function zd(t){return ZD(t)?t:t+rl}function h2(t){return!SN(t)&&!om(t)?"./"+t:t}function AO(t,u,s,d){const f=s!==void 0&&d!==void 0?BN(t,s,d):BN(t);return f?t.slice(0,t.length-f.length)+(Pa(u,".")?u:"."+u):t}function v2e(t,u,s){if(t===u)return 0;if(t===void 0)return-1;if(u===void 0)return 1;const d=t.substring(0,WE(t)),f=u.substring(0,WE(u)),p=Z$(d,f);if(p!==0)return p;const E=t.substring(d.length),v=u.substring(f.length);if(!yU.test(E)&&!yU.test(v))return s(E,v);const b=Jy(yd(t)),B=Jy(yd(u)),k=Math.min(b.length,B.length);for(let T=1;T0==WE(u)>0,"Paths must either both be absolute or both be relative");const p=Sse(t,u,(typeof s=="boolean"?s:!1)?QA:XA,typeof s=="function"?s:il);return yx(p)}function wN(t,u,s){return Pf(t)?i7(u,t,u,s,!1):t}function SO(t,u,s){return h2(JE(lr(t),u,s))}function i7(t,u,s,d,f){const p=Sse(kx(s,t),kx(s,u),XA,d),E=p[0];if(f&&Pf(E)){const v=E.charAt(0)===rl?"file://":"file:///";p[0]=v+E}return yx(p)}function Ug(t,u){for(;;){const s=u(t);if(s!==void 0)return s;const d=lr(t);if(d===t)return;t=d}}function bU(t){return sc(t,"/node_modules")}var rl,BO,C2e,Wqe,yU,lTt=o({"src/compiler/path.ts"(){Bo(),rl="/",BO="\\",C2e="://",Wqe=/\\/g,yU=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});function P(t,u,s,d,f,p,E){return{code:t,category:u,key:s,message:d,reportsUnnecessary:f,elidedInCompatabilityPyramid:p,reportsDeprecated:E}}var F,cTt=o({"src/compiler/diagnosticInformationMap.generated.ts"(){Nqe(),F={Unterminated_string_literal:P(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:P(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:P(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:P(1006,1,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:P(1007,1,"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007","The parser expected to find a '{1}' to match the '{0}' token here."),Trailing_comma_not_allowed:P(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:P(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:P(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:P(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:P(1013,1,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:P(1014,1,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:P(1015,1,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:P(1016,1,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:P(1017,1,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:P(1018,1,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:P(1019,1,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:P(1020,1,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:P(1021,1,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:P(1022,1,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:P(1024,1,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:P(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:P(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:P(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:P(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:P(1031,1,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:P(1034,1,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:P(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:P(1036,1,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:P(1038,1,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:P(1039,1,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:P(1040,1,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:P(1042,1,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:P(1044,1,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:P(1046,1,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:P(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:P(1048,1,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:P(1049,1,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:P(1051,1,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:P(1052,1,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:P(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:P(1054,1,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:P(1055,1,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:P(1056,1,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:P(1058,1,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:P(1059,1,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:P(1060,1,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:P(1061,1,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:P(1062,1,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:P(1063,1,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:P(1064,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise type. Did you mean to write 'Promise<{0}>'?"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:P(1065,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065","The return type of an async function or method must be the global Promise type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:P(1066,1,"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:P(1068,1,"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:P(1069,1,"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:P(1070,1,"_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:P(1071,1,"_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:P(1079,1,"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:P(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:P(1089,1,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:P(1090,1,"_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:P(1091,1,"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:P(1092,1,"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:P(1093,1,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:P(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:P(1095,1,"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:P(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:P(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:P(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:P(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:P(1100,1,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:P(1101,1,"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:P(1102,1,"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:P(1103,1,"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:P(1104,1,"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:P(1105,1,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:P(1106,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:P(1107,1,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:P(1108,1,"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:P(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:P(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:P(1111,1,"Private_field_0_must_be_declared_in_an_enclosing_class_1111","Private field '{0}' must be declared in an enclosing class."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:P(1113,1,"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:P(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:P(1115,1,"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:P(1116,1,"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:P(1117,1,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:P(1118,1,"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:P(1119,1,"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:P(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:P(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:P(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:P(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:P(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:P(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:P(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:P(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:P(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:P(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:P(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:P(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:P(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:P(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:P(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:P(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:P(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:P(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:P(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:P(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:P(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:P(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:P(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:P(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:P(1147,1,"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:P(1148,1,"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:P(1149,1,"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."),_0_declarations_must_be_initialized:P(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:P(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:P(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:P(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:P(1162,1,"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:P(1163,1,"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:P(1164,1,"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:P(1165,1,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:P(1166,1,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:P(1168,1,"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:P(1169,1,"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:P(1170,1,"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:P(1171,1,"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:P(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:P(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:P(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:P(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:P(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:P(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:P(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:P(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:P(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:P(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:P(1182,1,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:P(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:P(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:P(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:P(1186,1,"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:P(1187,1,"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:P(1188,1,"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:P(1189,1,"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:P(1190,1,"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:P(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:P(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:P(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:P(1194,1,"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:P(1195,1,"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:P(1196,1,"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:P(1197,1,"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:P(1198,1,"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:P(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:P(1200,1,"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:P(1202,1,"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:P(1203,1,"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_0_is_enabled_requires_using_export_type:P(1205,1,"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205","Re-exporting a type when '{0}' is enabled requires using 'export type'."),Decorators_are_not_valid_here:P(1206,1,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:P(1207,1,"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."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:P(1209,1,"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209","Invalid optional chain from new expression. Did you mean to call '{0}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:P(1210,1,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:P(1211,1,"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:P(1212,1,"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:P(1213,1,"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:P(1214,1,"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:P(1215,1,"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:P(1216,1,"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:P(1218,1,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Generators_are_not_allowed_in_an_ambient_context:P(1221,1,"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:P(1222,1,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:P(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:P(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:P(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:P(1226,1,"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:P(1227,1,"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:P(1228,1,"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:P(1229,1,"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:P(1230,1,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:P(1231,1,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:P(1232,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:P(1233,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:P(1234,1,"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_at_the_top_level_of_a_namespace_or_module:P(1235,1,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:P(1236,1,"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:P(1237,1,"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:P(1238,1,"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:P(1239,1,"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:P(1240,1,"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:P(1241,1,"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:P(1242,1,"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:P(1243,1,"_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:P(1244,1,"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:P(1245,1,"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:P(1246,1,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:P(1247,1,"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:P(1248,1,"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:P(1249,1,"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:P(1250,1,"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:P(1251,1,"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:P(1252,1,"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."),Abstract_properties_can_only_appear_within_an_abstract_class:P(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:P(1254,1,"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:P(1255,1,"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:P(1257,1,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:P(1258,1,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:P(1259,1,"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:P(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:P(1261,1,"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:P(1262,1,"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:P(1263,1,"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:P(1264,1,"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:P(1265,1,"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:P(1266,1,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:P(1267,1,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:P(1268,1,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:P(1269,1,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269","Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."),Decorator_function_return_type_0_is_not_assignable_to_type_1:P(1270,1,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:P(1271,1,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:P(1272,1,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:P(1273,1,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:P(1274,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:P(1275,1,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:P(1276,1,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:P(1277,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277","'{0}' modifier can only appear on a type parameter of a function, method or class"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:P(1278,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278","The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:P(1279,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279","The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."),Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement:P(1280,1,"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280","Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:P(1281,1,"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281","Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:P(1282,1,"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282","An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:P(1283,1,"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283","An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:P(1284,1,"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284","An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:P(1285,1,"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285","An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:P(1286,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286","ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:P(1287,1,"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287","A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:P(1288,1,"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288","An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."),with_statements_are_not_allowed_in_an_async_function_block:P(1300,1,"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:P(1308,1,"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."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:P(1309,1,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),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:P(1312,1,"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:P(1313,1,"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:P(1314,1,"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:P(1315,1,"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:P(1316,1,"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:P(1317,1,"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:P(1318,1,"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:P(1319,1,"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:P(1320,1,"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:P(1321,1,"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:P(1322,1,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:P(1323,1,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext:P(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:P(1325,1,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:P(1326,1,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:P(1327,1,"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:P(1328,1,"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:P(1329,1,"_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:P(1330,1,"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:P(1331,1,"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:P(1332,1,"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:P(1333,1,"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:P(1334,1,"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:P(1335,1,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:P(1337,1,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:P(1338,1,"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:P(1339,1,"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:P(1340,1,"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}')'?"),Class_constructor_may_not_be_an_accessor:P(1341,1,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:P(1343,1,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:P(1344,1,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:P(1345,1,"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:P(1346,1,"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:P(1347,1,"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:P(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:P(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:P(1350,3,"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:P(1351,1,"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:P(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:P(1353,1,"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:P(1354,1,"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:P(1355,1,"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:P(1356,1,"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:P(1357,1,"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:P(1358,1,"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:P(1359,1,"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."),Type_0_does_not_satisfy_the_expected_type_1:P(1360,1,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:P(1361,1,"_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:P(1362,1,"_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:P(1363,1,"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:P(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:P(1365,3,"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:P(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:P(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:P(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:P(1369,3,"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:P(1371,1,"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'."),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:P(1375,1,"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:P(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:P(1377,3,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:P(1378,1,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:P(1379,1,"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:P(1380,1,"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:P(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:P(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:P(1385,1,"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:P(1386,1,"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:P(1387,1,"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:P(1388,1,"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:P(1389,1,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:P(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:P(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:P(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:P(1394,3,"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:P(1395,3,"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:P(1396,3,"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:P(1397,3,"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:P(1398,3,"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:P(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:P(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:P(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:P(1402,3,"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:P(1403,3,"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:P(1404,3,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:P(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:P(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:P(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:P(1408,3,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:P(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:P(1410,3,"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:P(1411,3,"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:P(1412,3,"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:P(1413,3,"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:P(1414,3,"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:P(1415,3,"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:P(1416,3,"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:P(1417,3,"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:P(1418,3,"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:P(1419,3,"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:P(1420,3,"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:P(1421,3,"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:P(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:P(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:P(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:P(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:P(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:P(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:P(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:P(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:P(1430,3,"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:P(1431,1,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:P(1432,1,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:P(1433,1,"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433","Neither decorators nor modifiers may be applied to 'this' parameters."),Unexpected_keyword_or_identifier:P(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:P(1435,1,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:P(1436,1,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:P(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:P(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:P(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:P(1440,1,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:P(1441,1,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:P(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:P(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443",`Module declaration names may only use ' or " quoted strings.`),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:P(1444,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:P(1446,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:P(1448,1,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:P(1449,3,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments:P(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional set of attributes as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:P(1451,1,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_should_be_either_require_or_import:P(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:P(1454,1,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:P(1455,1,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:P(1456,1,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:P(1457,3,"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457","Matched by default include pattern '**/*'"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:P(1458,3,"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458",`File is ECMAScript module because '{0}' has field "type" with value "module"`),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:P(1459,3,"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459",`File is CommonJS module because '{0}' has field "type" whose value is not "module"`),File_is_CommonJS_module_because_0_does_not_have_field_type:P(1460,3,"File_is_CommonJS_module_because_0_does_not_have_field_type_1460",`File is CommonJS module because '{0}' does not have field "type"`),File_is_CommonJS_module_because_package_json_was_not_found:P(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),resolution_mode_is_the_only_valid_key_for_type_import_attributes:P(1463,1,"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463","'resolution-mode' is the only valid key for type import attributes."),Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:P(1464,1,"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464","Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:P(1470,1,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:P(1471,1,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:P(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:P(1473,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:P(1474,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:P(1475,3,"Control_what_method_is_used_to_detect_module_format_JS_files_1475","Control what method is used to detect module-format JS files."),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:P(1476,3,"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476",'"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:P(1477,1,"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477","An instantiation expression cannot be followed by a property access."),Identifier_or_string_literal_expected:P(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:P(1479,1,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479",`The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("{0}")' call instead.`),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:P(1480,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:P(1481,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481",`To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field \`"type": "module"\` to '{1}'.`),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:P(1482,3,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:P(1483,3,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:P(1484,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484","'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:P(1485,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),Decorator_used_before_export_here:P(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:P(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:P(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:P(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:P(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:P(1491,1,"_0_modifier_cannot_appear_on_a_using_declaration_1491","'{0}' modifier cannot appear on a 'using' declaration."),_0_declarations_may_not_have_binding_patterns:P(1492,1,"_0_declarations_may_not_have_binding_patterns_1492","'{0}' declarations may not have binding patterns."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:P(1493,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493","The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration:P(1494,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494","The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),_0_modifier_cannot_appear_on_an_await_using_declaration:P(1495,1,"_0_modifier_cannot_appear_on_an_await_using_declaration_1495","'{0}' modifier cannot appear on an 'await using' declaration."),Identifier_string_literal_or_number_literal_expected:P(1496,1,"Identifier_string_literal_or_number_literal_expected_1496","Identifier, string literal, or number literal expected."),The_types_of_0_are_incompatible_between_these_types:P(2200,1,"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:P(2201,1,"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:P(2202,1,"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:P(2203,1,"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:P(2204,1,"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:P(2205,1,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:P(2206,1,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:P(2207,1,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:P(2208,1,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:P(2209,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209","The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:P(2210,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210","The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),Add_extends_constraint:P(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:P(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:P(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:P(2301,1,"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:P(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:P(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:P(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:P(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:P(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:P(2307,1,"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:P(2308,1,"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:P(2309,1,"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:P(2310,1,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:P(2311,1,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:P(2312,1,"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:P(2313,1,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:P(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:P(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:P(2316,1,"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:P(2317,1,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:P(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:P(2319,1,"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:P(2320,1,"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:P(2321,1,"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:P(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:P(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:P(2324,1,"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:P(2325,1,"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:P(2326,1,"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:P(2327,1,"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:P(2328,1,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:P(2329,1,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:P(2330,1,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:P(2331,1,"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:P(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:P(2333,1,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:P(2334,1,"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:P(2335,1,"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:P(2336,1,"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:P(2337,1,"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:P(2338,1,"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:P(2339,1,"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:P(2340,1,"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:P(2341,1,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:P(2343,1,"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:P(2344,1,"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:P(2345,1,"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}'."),Untyped_function_calls_may_not_accept_type_arguments:P(2347,1,"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:P(2348,1,"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:P(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:P(2350,1,"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:P(2351,1,"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:P(2352,1,"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:P(2353,1,"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:P(2354,1,"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_undefined_void_nor_any_must_return_a_value:P(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:P(2356,1,"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:P(2357,1,"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:P(2358,1,"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_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method:P(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359","The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:P(2362,1,"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:P(2363,1,"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:P(2364,1,"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:P(2365,1,"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:P(2366,1,"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_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:P(2367,1,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:P(2368,1,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:P(2369,1,"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:P(2370,1,"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:P(2371,1,"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:P(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:P(2373,1,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:P(2374,1,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:P(2375,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:P(2376,1,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:P(2377,1,"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:P(2378,1,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:P(2379,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),Overload_signatures_must_all_be_exported_or_non_exported:P(2383,1,"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:P(2384,1,"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:P(2385,1,"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:P(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:P(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:P(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:P(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:P(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:P(2391,1,"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:P(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:P(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:P(2394,1,"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:P(2395,1,"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:P(2396,1,"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:P(2397,1,"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:P(2398,1,"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:P(2399,1,"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:P(2400,1,"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."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:P(2401,1,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:P(2402,1,"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:P(2403,1,"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:P(2404,1,"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:P(2405,1,"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:P(2406,1,"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:P(2407,1,"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:P(2408,1,"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:P(2409,1,"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:P(2410,1,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:P(2412,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:P(2411,1,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:P(2413,1,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:P(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:P(2415,1,"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:P(2416,1,"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:P(2417,1,"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:P(2418,1,"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:P(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:P(2420,1,"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:P(2422,1,"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:P(2423,1,"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:P(2425,1,"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:P(2426,1,"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:P(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:P(2428,1,"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:P(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:P(2431,1,"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:P(2432,1,"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:P(2433,1,"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:P(2434,1,"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:P(2435,1,"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:P(2436,1,"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:P(2437,1,"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:P(2438,1,"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:P(2439,1,"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:P(2440,1,"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:P(2441,1,"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:P(2442,1,"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:P(2443,1,"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:P(2444,1,"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:P(2445,1,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:P(2446,1,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:P(2447,1,"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:P(2448,1,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:P(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:P(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:P(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:P(2452,1,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:P(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:P(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:P(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:P(2458,1,"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:P(2459,1,"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:P(2460,1,"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:P(2461,1,"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:P(2462,1,"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:P(2463,1,"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:P(2464,1,"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:P(2465,1,"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:P(2466,1,"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:P(2467,1,"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:P(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:P(2469,1,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:P(2472,1,"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:P(2473,1,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_must_be_constant_expressions:P(2474,1,"const_enum_member_initializers_must_be_constant_expressions_2474","const enum member initializers must be constant expressions."),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:P(2475,1,"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:P(2476,1,"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:P(2477,1,"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:P(2478,1,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:P(2480,1,"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:P(2481,1,"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:P(2483,1,"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:P(2484,1,"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:P(2487,1,"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:P(2488,1,"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:P(2489,1,"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:P(2490,1,"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:P(2491,1,"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:P(2492,1,"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:P(2493,1,"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:P(2494,1,"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:P(2495,1,"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:P(2496,1,"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:P(2497,1,"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:P(2498,1,"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:P(2499,1,"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:P(2500,1,"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:P(2501,1,"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:P(2502,1,"_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:P(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:P(2504,1,"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:P(2505,1,"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:P(2506,1,"_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:P(2507,1,"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:P(2508,1,"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:P(2509,1,"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:P(2510,1,"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:P(2511,1,"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:P(2512,1,"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:P(2513,1,"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."),A_tuple_type_cannot_be_indexed_with_a_negative_value:P(2514,1,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:P(2515,1,"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:P(2516,1,"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:P(2517,1,"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:P(2518,1,"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:P(2519,1,"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:P(2520,1,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:P(2522,1,"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:P(2523,1,"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:P(2524,1,"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:P(2525,1,"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:P(2526,1,"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:P(2527,1,"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:P(2528,1,"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:P(2529,1,"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:P(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:P(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:P(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:P(2533,1,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:P(2534,1,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Type_0_cannot_be_used_to_index_type_1:P(2536,1,"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:P(2537,1,"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:P(2538,1,"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:P(2539,1,"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:P(2540,1,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:P(2542,1,"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:P(2543,1,"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:P(2544,1,"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:P(2545,1,"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:P(2547,1,"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:P(2548,1,"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:P(2549,1,"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:P(2550,1,"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:P(2551,1,"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:P(2552,1,"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:P(2553,1,"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:P(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:P(2555,1,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:P(2556,1,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:P(2558,1,"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:P(2559,1,"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:P(2560,1,"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:P(2561,1,"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:P(2562,1,"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:P(2563,1,"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:P(2564,1,"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:P(2565,1,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:P(2566,1,"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:P(2567,1,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:P(2568,1,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:P(2570,1,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:P(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:P(2574,1,"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:P(2575,1,"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:P(2576,1,"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:P(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:P(2578,1,"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:P(2580,1,"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:P(2581,1,"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:P(2582,1,"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:P(2583,1,"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:P(2584,1,"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:P(2585,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:P(2588,1,"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:P(2589,1,"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:P(2590,1,"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:P(2591,1,"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:P(2592,1,"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:P(2593,1,"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_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:P(2594,1,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with '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:P(2595,1,"_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:P(2596,1,"_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:P(2597,1,"_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:P(2598,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:P(2602,1,"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:P(2603,1,"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:P(2604,1,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:P(2606,1,"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:P(2607,1,"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:P(2608,1,"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:P(2609,1,"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:P(2610,1,"_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:P(2611,1,"_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:P(2612,1,"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:P(2613,1,"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:P(2614,1,"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:P(2615,1,"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:P(2616,1,"_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:P(2617,1,"_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:P(2618,1,"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:P(2619,1,"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:P(2620,1,"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:P(2621,1,"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:P(2623,1,"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:P(2624,1,"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:P(2625,1,"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:P(2626,1,"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:P(2627,1,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:P(2628,1,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:P(2629,1,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:P(2630,1,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:P(2631,1,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:P(2632,1,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:P(2633,1,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:P(2634,1,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:P(2635,1,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:P(2636,1,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:P(2637,1,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:P(2638,1,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),React_components_cannot_include_JSX_namespace_names:P(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:P(2649,1,"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:P(2651,1,"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:P(2652,1,"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:P(2653,1,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:P(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:P(2658,1,"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:P(2659,1,"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:P(2660,1,"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:P(2661,1,"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:P(2662,1,"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:P(2663,1,"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:P(2664,1,"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:P(2665,1,"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:P(2666,1,"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:P(2667,1,"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:P(2668,1,"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:P(2669,1,"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:P(2670,1,"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:P(2671,1,"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:P(2672,1,"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:P(2673,1,"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:P(2674,1,"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:P(2675,1,"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:P(2676,1,"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:P(2677,1,"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:P(2678,1,"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:P(2679,1,"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:P(2680,1,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:P(2681,1,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:P(2683,1,"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:P(2684,1,"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:P(2685,1,"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:P(2686,1,"_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:P(2687,1,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:P(2688,1,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:P(2689,1,"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:P(2690,1,"_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}'?"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:P(2692,1,"_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:P(2693,1,"_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:P(2694,1,"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:P(2695,1,"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:P(2696,1,"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:P(2697,1,"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:P(2698,1,"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:P(2699,1,"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:P(2700,1,"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:P(2701,1,"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:P(2702,1,"_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:P(2703,1,"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:P(2704,1,"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:P(2705,1,"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:P(2706,1,"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:P(2707,1,"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:P(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:P(2709,1,"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:P(2710,1,"_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:P(2711,1,"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:P(2712,1,"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:P(2713,1,"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:P(2714,1,"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:P(2715,1,"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:P(2716,1,"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:P(2717,1,"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:P(2718,1,"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:P(2719,1,"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:P(2720,1,"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:P(2721,1,"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:P(2722,1,"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:P(2723,1,"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:P(2724,1,"_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:P(2725,1,"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:P(2726,1,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:P(2727,1,"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:P(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:P(2729,1,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:P(2730,1,"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:P(2731,1,"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:P(2732,1,"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:P(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:P(2734,1,"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:P(2735,1,"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:P(2736,1,"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:P(2737,1,"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:P(2738,3,"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:P(2739,1,"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:P(2740,1,"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:P(2741,1,"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:P(2742,1,"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:P(2743,1,"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:P(2744,1,"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:P(2745,1,"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:P(2746,1,"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:P(2747,1,"_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_0_is_enabled:P(2748,1,"Cannot_access_ambient_const_enums_when_0_is_enabled_2748","Cannot access ambient const enums when '{0}' is enabled."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:P(2749,1,"_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:P(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:P(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:P(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:P(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:P(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:P(2755,1,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:P(2756,1,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:P(2757,1,"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:P(2758,1,"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:P(2759,1,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:P(2760,1,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:P(2761,1,"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:P(2762,1,"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:P(2763,1,"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:P(2764,1,"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:P(2765,1,"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:P(2766,1,"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:P(2767,1,"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:P(2768,1,"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:P(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:P(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:P(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:P(2772,1,"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:P(2773,1,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:P(2774,1,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:P(2775,1,"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:P(2776,1,"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:P(2777,1,"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:P(2778,1,"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:P(2779,1,"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:P(2780,1,"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:P(2781,1,"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:P(2782,3,"_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:P(2783,1,"_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:P(2784,1,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:P(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:P(2786,1,"_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:P(2787,1,"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:P(2788,1,"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:P(2789,1,"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:P(2790,1,"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:P(2791,1,"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_nodenext_or_to_add_aliases_to_the_paths_option:P(2792,1,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', 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:P(2793,1,"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:P(2794,1,"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:P(2795,1,"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:P(2796,1,"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:P(2797,1,"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:P(2798,1,"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:P(2799,1,"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:P(2800,1,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:P(2801,1,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:P(2802,1,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:P(2803,1,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:P(2804,1,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:P(2806,1,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:P(2807,1,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:P(2808,1,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses:P(2809,1,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:P(2810,1,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:P(2811,1,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:P(2812,1,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:P(2813,1,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:P(2814,1,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:P(2815,1,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:P(2816,1,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:P(2817,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:P(2818,1,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:P(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:P(2820,1,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:P(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:P(2822,1,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:P(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2823","Import attributes are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Cannot_find_namespace_0_Did_you_mean_1:P(2833,1,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:P(2834,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:P(2835,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:P(2836,1,"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836","Import assertions are not allowed on statements that compile to CommonJS 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:P(2837,1,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:P(2838,1,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:P(2839,1,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types:P(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840","An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:P(2842,1,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:P(2843,1,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:P(2844,1,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:P(2845,1,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:P(2846,1,"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846","A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:P(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:P(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined:P(2850,1,"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850","The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined:P(2851,1,"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851","The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:P(2852,1,"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852","'await using' statements are only allowed within async functions and at the top levels of modules."),await_using_statements_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:P(2853,1,"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853","'await using' statements 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_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:P(2854,1,"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854","Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super:P(2855,1,"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855","Class field '{0}' defined by the parent class is not accessible in the child class via super."),Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:P(2856,1,"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856","Import attributes are not allowed on statements that compile to CommonJS 'require' calls."),Import_attributes_cannot_be_used_with_type_only_imports_or_exports:P(2857,1,"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857","Import attributes cannot be used with type-only imports or exports."),Import_attribute_values_must_be_string_literal_expressions:P(2858,1,"Import_attribute_values_must_be_string_literal_expressions_2858","Import attribute values must be string literal expressions."),Excessive_complexity_comparing_types_0_and_1:P(2859,1,"Excessive_complexity_comparing_types_0_and_1_2859","Excessive complexity comparing types '{0}' and '{1}'."),The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method:P(2860,1,"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860","The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression:P(2861,1,"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861","An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),Type_0_is_generic_and_can_only_be_indexed_for_reading:P(2862,1,"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862","Type '{0}' is generic and can only be indexed for reading."),A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values:P(2863,1,"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863","A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."),A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types:P(2864,1,"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864","A class cannot implement a primitive type like '{0}'. It can only implement other named object types."),Import_declaration_0_is_using_private_name_1:P(4e3,1,"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:P(4002,1,"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:P(4004,1,"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:P(4006,1,"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:P(4008,1,"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:P(4010,1,"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:P(4012,1,"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:P(4014,1,"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:P(4016,1,"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:P(4019,1,"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:P(4020,1,"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:P(4021,1,"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:P(4022,1,"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:P(4023,1,"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:P(4024,1,"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:P(4025,1,"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:P(4026,1,"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:P(4027,1,"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:P(4028,1,"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:P(4029,1,"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:P(4030,1,"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:P(4031,1,"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:P(4032,1,"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:P(4033,1,"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:P(4034,1,"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:P(4035,1,"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:P(4036,1,"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:P(4037,1,"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:P(4038,1,"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:P(4039,1,"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:P(4040,1,"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:P(4041,1,"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:P(4042,1,"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:P(4043,1,"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:P(4044,1,"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:P(4045,1,"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:P(4046,1,"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:P(4047,1,"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:P(4048,1,"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:P(4049,1,"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:P(4050,1,"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:P(4051,1,"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:P(4052,1,"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:P(4053,1,"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:P(4054,1,"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:P(4055,1,"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:P(4056,1,"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:P(4057,1,"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:P(4058,1,"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:P(4059,1,"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:P(4060,1,"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:P(4061,1,"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:P(4062,1,"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:P(4063,1,"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:P(4064,1,"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:P(4065,1,"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:P(4066,1,"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:P(4067,1,"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:P(4068,1,"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:P(4069,1,"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:P(4070,1,"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:P(4071,1,"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:P(4072,1,"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:P(4073,1,"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:P(4074,1,"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:P(4075,1,"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:P(4076,1,"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:P(4077,1,"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:P(4078,1,"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:P(4081,1,"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:P(4082,1,"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:P(4083,1,"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:P(4084,1,"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}."),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:P(4085,1,"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085","Extends clause for inferred type '{0}' has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:P(4090,1,"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:P(4091,1,"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:P(4092,1,"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:P(4094,1,"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:P(4095,1,"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:P(4096,1,"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:P(4097,1,"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:P(4098,1,"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:P(4099,1,"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:P(4100,1,"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:P(4101,1,"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:P(4102,1,"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:P(4103,1,"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:P(4104,1,"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:P(4105,1,"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:P(4106,1,"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:P(4107,1,"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:P(4108,1,"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:P(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:P(4110,1,"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:P(4111,1,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:P(4112,1,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:P(4113,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:P(4114,1,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:P(4115,1,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:P(4116,1,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:P(4117,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:P(4118,1,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:P(4119,1,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:P(4120,1,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:P(4121,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:P(4122,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:P(4123,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:P(4124,1,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:P(5001,1,"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:P(5009,1,"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:P(5010,1,"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:P(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:P(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:P(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:P(5024,1,"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:P(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:P(5033,1,"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:P(5042,1,"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:P(5047,1,"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:P(5048,1,"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:P(5051,1,"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:P(5052,1,"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:P(5053,1,"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:P(5054,1,"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:P(5055,1,"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:P(5056,1,"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:P(5057,1,"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:P(5058,1,"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:P(5059,1,"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:P(5061,1,"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:P(5062,1,"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:P(5063,1,"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:P(5064,1,"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:P(5065,1,"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:P(5066,1,"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:P(5067,1,"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:P(5068,1,"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:P(5069,1,"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_when_moduleResolution_is_set_to_classic:P(5070,1,"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070","Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:P(5071,1,"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:P(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:P(5073,1,"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:P(5074,1,"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:P(5075,1,"_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:P(5076,1,"_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:P(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:P(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:P(5079,1,"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:P(5080,1,"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:P(5081,1,"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:P(5082,1,"_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:P(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:P(5085,1,"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:P(5086,1,"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:P(5087,1,"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:P(5088,1,"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:P(5089,1,"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:P(5090,1,"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_0_is_enabled:P(5091,1,"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."),The_root_value_of_a_0_file_must_be_an_object:P(5092,1,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:P(5093,1,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:P(5094,1,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later:P(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:P(5096,1,"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096","Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:P(5097,1,"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097","An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:P(5098,1,"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098","Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:P(5101,1,"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101",`Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '"ignoreDeprecations": "{2}"' to silence this error.`),Option_0_has_been_removed_Please_remove_it_from_your_configuration:P(5102,1,"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102","Option '{0}' has been removed. Please remove it from your configuration."),Invalid_value_for_ignoreDeprecations:P(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:P(5104,1,"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104","Option '{0}' is redundant and cannot be specified with option '{1}'."),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:P(5105,1,"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105","Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."),Use_0_instead:P(5106,3,"Use_0_instead_5106","Use '{0}' instead."),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:P(5107,1,"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107",`Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '"ignoreDeprecations": "{3}"' to silence this error.`),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:P(5108,1,"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108","Option '{0}={1}' has been removed. Please remove it from your configuration."),Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1:P(5109,1,"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109","Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1:P(5110,1,"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110","Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:P(6e3,3,"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:P(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:P(6002,3,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:P(6004,3,"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:P(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:P(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:P(6007,3,"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:P(6008,3,"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:P(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:P(6010,3,"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:P(6011,3,"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:P(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:P(6013,3,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:P(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:P(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:P(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:P(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:P(6019,3,"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:P(6020,3,"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:P(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:P(6024,3,"options_6024","options"),file:P(6025,3,"file_6025","file"),Examples_Colon_0:P(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:P(6027,3,"Options_Colon_6027","Options:"),Version_0:P(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:P(6030,3,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:P(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:P(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:P(6034,3,"KIND_6034","KIND"),FILE:P(6035,3,"FILE_6035","FILE"),VERSION:P(6036,3,"VERSION_6036","VERSION"),LOCATION:P(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:P(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:P(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:P(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:P(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:P(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:P(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:P(6045,1,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:P(6046,1,"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:P(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:P(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:P(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:P(6052,3,"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:P(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:P(6054,1,"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:P(6055,3,"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:P(6056,3,"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:P(6058,3,"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:P(6059,1,"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:P(6060,3,"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:P(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:P(6064,1,"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:P(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:P(6066,3,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:P(6070,3,"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:P(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:P(6072,3,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:P(6073,3,"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:P(6074,3,"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:P(6075,3,"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:P(6076,3,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:P(6077,3,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:P(6078,3,"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:P(6079,3,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:P(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:P(6081,3,"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:P(6082,1,"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:P(6083,3,"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:P(6084,3,"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:P(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:P(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:P(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:P(6088,3,"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:P(6089,3,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:P(6090,3,"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:P(6091,3,"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:P(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:P(6093,3,"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:P(6094,3,"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_types_Colon_1:P(6095,3,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095","Loading module as file / folder, candidate module location '{0}', target file types: {1}."),File_0_does_not_exist:P(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:P(6097,3,"File_0_exists_use_it_as_a_name_resolution_result_6097","File '{0}' exists - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_types_Colon_1:P(6098,3,"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098","Loading module '{0}' from 'node_modules' folder, target file types: {1}."),Found_package_json_at_0:P(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:P(6100,3,"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:P(6101,3,"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:P(6102,3,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:P(6104,3,"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:P(6105,3,"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:P(6106,3,"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:P(6107,3,"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:P(6108,3,"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:P(6109,3,"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:P(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:P(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:P(6112,3,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:P(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:P(6114,1,"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:P(6115,3,"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:P(6116,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:P(6119,3,"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:P(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:P(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:P(6122,3,"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:P(6123,3,"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:P(6124,3,"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:P(6125,3,"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:P(6126,3,"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:P(6127,3,"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:P(6128,3,"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:P(6130,3,"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:P(6131,1,"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:P(6132,3,"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:P(6133,1,"_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:P(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:P(6135,3,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:P(6136,3,"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:P(6137,1,"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:P(6138,1,"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:P(6139,3,"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:P(6140,1,"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:P(6141,3,"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:P(6142,1,"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:P(6144,3,"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:P(6145,3,"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:P(6146,3,"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:P(6147,3,"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:P(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:P(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:P(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:P(6151,3,"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:P(6152,3,"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:P(6153,3,"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:P(6154,3,"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:P(6155,3,"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:P(6156,3,"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:P(6157,3,"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:P(6158,3,"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:P(6159,3,"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:P(6160,3,"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:P(6161,3,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:P(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:P(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:P(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Do_not_truncate_error_messages:P(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:P(6166,3,"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:P(6167,3,"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:P(6168,3,"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:P(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:P(6170,3,"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:P(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:P(6179,3,"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:P(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:P(6182,3,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:P(6183,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:P(6184,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:P(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:P(6187,3,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:P(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:P(6189,1,"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:P(6191,3,"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:P(6192,1,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:P(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:P(6194,3,"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:P(6195,3,"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:P(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:P(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:P(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:P(6199,1,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:P(6200,1,"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:P(6201,3,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:P(6202,1,"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:P(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:P(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:P(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:P(6206,3,"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:P(6207,3,"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:P(6208,3,"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:P(6209,3,"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:P(6210,3,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:P(6211,3,"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:P(6212,3,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:P(6213,3,"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:P(6214,3,"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:P(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:P(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:P(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:P(6218,3,"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:P(6219,3,"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:P(6220,3,"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:P(6221,3,"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:P(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:P(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:P(6224,3,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:P(6225,3,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:P(6226,3,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:P(6227,3,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:P(6229,1,"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:P(6230,1,"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:P(6231,1,"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:P(6232,1,"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:P(6233,1,"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:P(6234,1,"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:P(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:P(6236,1,"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:P(6237,3,"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:P(6238,1,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:P(6239,3,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:P(6240,3,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:P(6241,3,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:P(6242,3,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:P(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:P(6244,3,"Modules_6244","Modules"),File_Management:P(6245,3,"File_Management_6245","File Management"),Emit:P(6246,3,"Emit_6246","Emit"),JavaScript_Support:P(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:P(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:P(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:P(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:P(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:P(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:P(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:P(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:P(6255,3,"Projects_6255","Projects"),Output_Formatting:P(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:P(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:P(6258,1,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_0:P(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:P(6260,3,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:P(6261,3,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),File_name_0_has_a_1_extension_looking_up_2_instead:P(6262,3,"File_name_0_has_a_1_extension_looking_up_2_instead_6262","File name '{0}' has a '{1}' extension - looking up '{2}' instead."),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:P(6263,1,"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263","Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:P(6264,3,"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264","Enable importing files with any extension, provided a declaration file is present."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:P(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:P(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:P(6270,3,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:P(6271,3,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:P(6272,3,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:P(6273,3,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:P(6274,3,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:P(6275,3,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:P(6276,3,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update:P(6277,3,"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277","Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings:P(6278,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278",`There are types at '{0}', but this result could not be resolved when respecting package.json "exports". The '{1}' library may need to update its package.json or typings.`),Enable_project_compilation:P(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:P(6304,1,"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:P(6305,1,"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:P(6306,1,"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:P(6307,1,"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:P(6308,1,"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:P(6309,1,"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:P(6310,1,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:P(6350,3,"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350","Project '{0}' is out of date because output '{1}' is older than input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:P(6351,3,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:P(6352,3,"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:P(6353,3,"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:P(6354,3,"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:P(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:P(6356,3,"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:P(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:P(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:P(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:P(6361,3,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:P(6362,3,"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:P(6363,3,"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:P(6364,3,"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:P(6365,3,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects."),Show_what_would_be_built_or_deleted_if_specified_with_clean:P(6367,3,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:P(6369,1,"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:P(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:P(6371,3,"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:P(6372,3,"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:P(6373,3,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:P(6374,3,"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:P(6375,3,"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:P(6376,3,"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:P(6377,1,"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}'"),Composite_projects_may_not_disable_incremental_compilation:P(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:P(6380,3,"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:P(6381,3,"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:P(6382,3,"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:P(6383,3,"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:P(6384,3,"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:P(6385,2,"_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:P(6386,3,"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:P(6387,2,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:P(6388,3,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:P(6389,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:P(6390,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:P(6391,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:P(6392,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:P(6393,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:P(6394,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:P(6395,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:P(6396,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:P(6397,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:P(6398,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:P(6399,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399","Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:P(6400,3,"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400","Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:P(6401,3,"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401","Project '{0}' is out of date because there was error reading file '{1}'"),Resolving_in_0_mode_with_conditions_1:P(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:P(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:P(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:P(6405,3,"Saw_non_matching_condition_0_6405","Saw non-matching condition '{0}'."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions:P(6406,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406","Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"),Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set:P(6407,3,"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407","Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set."),Use_the_package_json_exports_field_when_resolving_package_imports:P(6408,3,"Use_the_package_json_exports_field_when_resolving_package_imports_6408","Use the package.json 'exports' field when resolving package imports."),Use_the_package_json_imports_field_when_resolving_imports:P(6409,3,"Use_the_package_json_imports_field_when_resolving_imports_6409","Use the package.json 'imports' field when resolving imports."),Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports:P(6410,3,"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410","Conditions to set in addition to the resolver-specific defaults when resolving imports."),true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false:P(6411,3,"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411","`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more:P(6412,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412","Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."),Entering_conditional_exports:P(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:P(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:P(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:P(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:P(6417,3,"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417","Searching all ancestor node_modules directories for preferred extensions: {0}."),Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0:P(6418,3,"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418","Searching all ancestor node_modules directories for fallback extensions: {0}."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:P(6500,3,"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:P(6501,3,"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:P(6502,3,"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:P(6503,3,"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:P(6504,1,"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:P(6505,3,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:P(6506,3,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:P(6600,3,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:P(6601,3,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:P(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:P(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:P(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:P(6605,3,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:P(6606,3,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:P(6607,3,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:P(6608,3,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:P(6609,3,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:P(6611,3,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:P(6612,3,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:P(6613,3,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:P(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:P(6615,3,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:P(6616,3,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:P(6617,3,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:P(6618,3,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:P(6619,3,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:P(6620,3,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects."),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:P(6621,3,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:P(6622,3,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:P(6623,3,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:P(6624,3,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:P(6625,3,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:P(6626,3,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility."),Filters_results_from_the_include_option:P(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:P(6628,3,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:P(6629,3,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_legacy_experimental_decorators:P(6630,3,"Enable_experimental_support_for_legacy_experimental_decorators_6630","Enable experimental support for legacy experimental decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:P(6631,3,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:P(6632,3,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:P(6633,3,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:P(6634,3,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:P(6635,3,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:P(6636,3,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date."),Ensure_that_casing_is_correct_in_imports:P(6637,3,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:P(6638,3,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:P(6639,3,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:P(6641,3,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:P(6642,3,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:P(6643,3,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:P(6644,3,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:P(6645,3,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:P(6646,3,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:P(6647,3,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'."),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:P(6648,3,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:P(6649,3,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'."),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:P(6650,3,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:P(6651,3,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:P(6652,3,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:P(6653,3,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:P(6654,3,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:P(6655,3,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:P(6656,3,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'."),Specify_what_module_code_is_generated:P(6657,3,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:P(6658,3,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:P(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:P(6660,3,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:P(6661,3,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like '__extends' in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:P(6662,3,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:P(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:P(6664,3,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:P(6665,3,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied 'any' type."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:P(6666,3,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:P(6667,3,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:P(6668,3,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when 'this' is given the type 'any'."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:P(6669,3,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:P(6670,3,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:P(6671,3,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type."),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:P(6672,3,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:P(6673,3,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:P(6674,3,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add 'undefined' to a type when accessed using an index."),Enable_error_reporting_when_local_variables_aren_t_read:P(6675,3,"Enable_error_reporting_when_local_variables_aren_t_read_6675","Enable error reporting when local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:P(6676,3,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read."),Deprecated_setting_Use_outFile_instead:P(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:P(6678,3,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:P(6679,3,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:P(6680,3,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:P(6681,3,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:P(6682,3,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing 'const enum' declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:P(6683,3,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:P(6684,3,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode."),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:P(6685,3,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read."),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:P(6686,3,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:P(6687,3,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:P(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:P(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:P(6690,3,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:P(6691,3,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:P(6692,3,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:P(6693,3,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:P(6694,3,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:P(6695,3,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:P(6697,3,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for 'bind', 'call', and 'apply' methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:P(6698,3,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:P(6699,3,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account 'null' and 'undefined'."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:P(6700,3,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:P(6701,3,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have '@internal' in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:P(6702,3,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:P(6703,3,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress 'noImplicitAny' errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:P(6704,3,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:P(6705,3,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:P(6706,3,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the 'moduleResolution' process."),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:P(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:P(6709,3,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:P(6710,3,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like './node_modules/@types'."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:P(6711,3,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:P(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:P(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:P(6714,3,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:P(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:P(6717,3,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:P(6718,3,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types."),Default_catch_clause_variables_as_unknown_instead_of_any:P(6803,3,"Default_catch_clause_variables_as_unknown_instead_of_any_6803","Default catch clause variables as 'unknown' instead of 'any'."),Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting:P(6804,3,"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804","Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."),one_of_Colon:P(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:P(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:P(6902,3,"type_Colon_6902","type:"),default_Colon:P(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:P(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:P(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:P(6906,3,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:P(6907,3,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:P(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:P(6909,3,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:P(69010,3,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:P(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:P(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:P(6913,3,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:P(6914,3,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:P(6915,3,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:P(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:P(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:P(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:P(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:P(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:P(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:P(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:P(6923,3,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:P(6924,3,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:P(6925,3,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:P(6926,3,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:P(6927,3,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:P(6928,3,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:P(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:P(6930,3,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),List_of_file_name_suffixes_to_search_when_resolving_a_module:P(6931,1,"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931","List of file name suffixes to search when resolving a module."),Variable_0_implicitly_has_an_1_type:P(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:P(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:P(7008,1,"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:P(7009,1,"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:P(7010,1,"_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:P(7011,1,"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."),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:P(7012,1,"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012","This overload implicitly returns the type '{0}' because it lacks a return type annotation."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:P(7013,1,"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:P(7014,1,"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:P(7015,1,"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:P(7016,1,"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:P(7017,1,"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:P(7018,1,"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:P(7019,1,"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:P(7020,1,"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:P(7022,1,"_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:P(7023,1,"_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:P(7024,1,"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:P(7025,1,"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:P(7026,1,"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:P(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:P(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:P(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:P(7030,1,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:P(7031,1,"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:P(7032,1,"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:P(7033,1,"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:P(7034,1,"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:P(7035,1,"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:P(7036,1,"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:P(7037,3,"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:P(7038,3,"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:P(7039,1,"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:P(7040,1,"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:P(7041,1,"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:P(7042,1,"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:P(7043,2,"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:P(7044,2,"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:P(7045,2,"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:P(7046,2,"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:P(7047,2,"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:P(7048,2,"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:P(7049,2,"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:P(7050,2,"_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:P(7051,1,"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:P(7052,1,"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:P(7053,1,"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:P(7054,1,"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:P(7055,1,"_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:P(7056,1,"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:P(7057,1,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:P(7058,1,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:P(7059,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:P(7060,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:P(7061,1,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:P(8e3,1,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:P(8001,1,"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:P(8002,1,"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:P(8003,1,"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:P(8004,1,"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:P(8005,1,"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:P(8006,1,"_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:P(8008,1,"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:P(8009,1,"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:P(8010,1,"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:P(8011,1,"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:P(8012,1,"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:P(8013,1,"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:P(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Signature_declarations_can_only_be_used_in_TypeScript_files:P(8017,1,"Signature_declarations_can_only_be_used_in_TypeScript_files_8017","Signature declarations can only be used in TypeScript files."),Report_errors_in_js_files:P(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:P(8020,1,"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:P(8021,1,"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:P(8022,1,"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:P(8023,1,"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:P(8024,1,"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:P(8025,1,"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:P(8026,1,"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:P(8027,1,"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:P(8028,1,"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:P(8029,1,"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:P(8030,1,"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:P(8031,1,"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:P(8032,1,"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:P(8033,1,"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:P(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:P(8035,1,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:P(8036,1,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:P(8037,1,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:P(8038,1,"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038","Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:P(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:P(9005,1,"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:P(9006,1,"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:P(17e3,1,"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:P(17001,1,"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:P(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:P(17004,1,"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:P(17005,1,"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:P(17006,1,"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:P(17007,1,"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:P(17008,1,"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:P(17009,1,"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:P(17010,1,"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:P(17011,1,"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:P(17012,1,"_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:P(17013,1,"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:P(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:P(17015,1,"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:P(17016,1,"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:P(17017,1,"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:P(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:P(17019,1,"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019","'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:P(17020,1,"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020","'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),Unicode_escape_sequence_cannot_appear_here:P(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:P(18e3,1,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:P(18002,1,"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:P(18003,1,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:P(80001,2,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:P(80002,2,"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:P(80003,2,"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:P(80004,2,"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:P(80005,2,"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:P(80006,2,"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:P(80007,2,"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:P(80008,2,"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."),JSDoc_typedef_may_be_converted_to_TypeScript_type:P(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:P(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:P(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:P(90002,3,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:P(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:P(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:P(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:P(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:P(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:P(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:P(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:P(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:P(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:P(90013,3,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:P(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:P(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:P(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:P(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:P(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:P(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:P(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:P(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:P(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:P(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:P(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:P(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:P(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:P(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:P(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:P(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:P(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:P(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:P(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:P(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:P(90037,3,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:P(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:P(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:P(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:P(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:P(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:P(90055,3,"Remove_type_from_import_declaration_from_0_90055",`Remove 'type' from import declaration from "{0}"`),Remove_type_from_import_of_0_from_1:P(90056,3,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:P(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:P(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:P(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:P(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:P(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:P(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:P(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:P(95005,3,"Extract_function_95005","Extract function"),Extract_constant:P(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:P(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:P(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:P(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:P(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:P(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:P(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:P(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:P(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:P(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:P(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:P(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:P(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:P(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:P(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:P(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:P(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:P(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:P(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:P(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:P(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:P(95028,3,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:P(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:P(95030,3,"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:P(95031,3,"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:P(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:P(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:P(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:P(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:P(95036,3,"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:P(95037,3,"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:P(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:P(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:P(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:P(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:P(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:P(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:P(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:P(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:P(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:P(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:P(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:P(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:P(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:P(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:P(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:P(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:P(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:P(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:P(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:P(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:P(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:P(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:P(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:P(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:P(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:P(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:P(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:P(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:P(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:P(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:P(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:P(95069,3,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:P(95070,3,"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:P(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:P(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:P(95073,3,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:P(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:P(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:P(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:P(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:P(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:P(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:P(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:P(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:P(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:P(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:P(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:P(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:P(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:P(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:P(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:P(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:P(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:P(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:P(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:P(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:P(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:P(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:P(95097,3,"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:P(95098,3,"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:P(95099,3,"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:P(95100,3,"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:P(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:P(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:P(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:P(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:P(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:P(95108,3,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:P(95109,3,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:P(95110,3,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:P(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:P(95112,3,"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:P(95113,3,"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:P(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:P(95115,3,"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:P(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:P(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:P(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:P(95119,3,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:P(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:P(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:P(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:P(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:P(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:P(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:P(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:P(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:P(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:P(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:P(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:P(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:P(95132,3,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:P(95133,3,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:P(95134,3,"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:P(95135,3,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:P(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:P(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:P(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:P(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:P(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:P(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:P(95142,3,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:P(95143,3,"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:P(95144,3,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:P(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:P(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:P(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:P(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:P(95149,3,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:P(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:P(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:P(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:P(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:P(95154,3,"Can_only_convert_string_concatenations_and_string_literals_95154","Can only convert string concatenations and string literals"),Selection_is_not_a_valid_statement_or_statements:P(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:P(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:P(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:P(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:P(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:P(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:P(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:P(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:P(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:P(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:P(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:P(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:P(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:P(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:P(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:P(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:P(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:P(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:P(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:P(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:P(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:P(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:P(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:P(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:P(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:P(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:P(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:P(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:P(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:P(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:P(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:P(95186,3,"Variables_with_multiple_declarations_cannot_be_inlined_95186","Variables with multiple declarations cannot be inlined."),Add_missing_comma_for_object_member_completion_0:P(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:P(18004,1,"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:P(18006,1,"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:P(18007,1,"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:P(18009,1,"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:P(18010,1,"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:P(18011,1,"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:P(18012,1,"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:P(18013,1,"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:P(18014,1,"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:P(18015,1,"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:P(18016,1,"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:P(18017,1,"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:P(18018,1,"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:P(18019,1,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:P(18024,1,"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:P(18026,1,"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:P(18027,1,"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:P(18028,1,"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:P(18029,1,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:P(18030,1,"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:P(18031,1,"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:P(18032,1,"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."),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:P(18033,1,"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033","Type '{0}' is not assignable to type '{1}' as required for computed enum member values."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:P(18034,3,"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:P(18035,1,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:P(18036,1,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),await_expression_cannot_be_used_inside_a_class_static_block:P(18037,1,"await_expression_cannot_be_used_inside_a_class_static_block_18037","'await' expression cannot be used inside a class static block."),for_await_loops_cannot_be_used_inside_a_class_static_block:P(18038,1,"for_await_loops_cannot_be_used_inside_a_class_static_block_18038","'for await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:P(18039,1,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:P(18041,1,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:P(18042,1,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:P(18043,1,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:P(18044,3,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:P(18045,1,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:P(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:P(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:P(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:P(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:P(18050,1,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here."),Compiler_option_0_cannot_be_given_an_empty_string:P(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Non_abstract_class_0_does_not_implement_all_abstract_members_of_1:P(18052,1,"Non_abstract_class_0_does_not_implement_all_abstract_members_of_1_18052","Non-abstract class '{0}' does not implement all abstract members of '{1}'"),Its_type_0_is_not_a_valid_JSX_element_type:P(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type."),await_using_statements_cannot_be_used_inside_a_class_static_block:P(18054,1,"await_using_statements_cannot_be_used_inside_a_class_static_block_18054","'await using' statements cannot be used inside a class static block.")}}});function fh(t){return t>=80}function b2e(t){return t===32||fh(t)}function wO(t,u){if(t=2?wO(t,Qqe):u===1?wO(t,Zqe):wO(t,Uqe)}function dTt(t,u){return u>=2?wO(t,Xqe):u===1?wO(t,Yqe):wO(t,qqe)}function hTt(t){const u=[];return t.forEach((s,d)=>{u[s]=d}),u}function Uo(t){return nZe[t]}function f2(t){return A2e.get(t)}function n7(t){const u=[];let s=0,d=0;for(;s127&&Z1(f)&&(u.push(d),d=s);break}}return u.push(d),u}function TO(t,u,s,d){return t.getPositionOfLineAndCharacter?t.getPositionOfLineAndCharacter(u,s,d):FU($3(t),u,s,t.text,d)}function FU(t,u,s,d,f){(u<0||u>=t.length)&&(f?u=u<0?0:u>=t.length?t.length-1:u:H.fail(`Bad line number. Line: ${u}, lineStarts.length: ${t.length} , line map is correct? ${d!==void 0?Zt(t,n7(d)):"unknown"}`));const p=t[u]+s;return f?p>t[u+1]?t[u+1]:typeof d=="string"&&p>d.length?d.length:p:(u=8192&&t<=8203||t===8239||t===8287||t===12288||t===65279}function Z1(t){return t===10||t===13||t===8232||t===8233}function NN(t){return t>=48&&t<=57}function Gqe(t){return NN(t)||t>=65&&t<=70||t>=97&&t<=102}function fTt(t){return t<=1114111}function AU(t){return t>=48&&t<=55}function y2e(t,u){const s=t.charCodeAt(u);switch(s){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return u===0;default:return s>127}}function gs(t,u,s,d,f){if(pg(u))return u;let p=!1;for(;;){const E=t.charCodeAt(u);switch(E){case 13:t.charCodeAt(u+1)===10&&u++;case 10:if(u++,s)return u;p=!!f;continue;case 9:case 11:case 12:case 32:u++;continue;case 47:if(d)break;if(t.charCodeAt(u+1)===47){for(u+=2;u127&&U3(E)){u++;continue}break}return u}}function PN(t,u){if(H.assert(u>=0),u===0||Z1(t.charCodeAt(u-1))){const s=t.charCodeAt(u);if(u+BU=0&&s127&&U3(j)){T&&Z1(j)&&(k=!0),s++;continue}break e}}return T&&(z=f(v,b,B,k,p,z)),z}function NO(t,u,s,d){return Tse(!1,t,u,!1,s,d)}function PO(t,u,s,d){return Tse(!1,t,u,!0,s,d)}function k2e(t,u,s,d,f){return Tse(!0,t,u,!1,s,d,f)}function F2e(t,u,s,d,f){return Tse(!0,t,u,!0,s,d,f)}function Jqe(t,u,s,d,f,p=[]){return p.push({kind:s,pos:t,end:u,hasTrailingNewLine:d}),p}function W_(t,u){return k2e(t,u,Jqe,void 0,void 0)}function gv(t,u){return F2e(t,u,Jqe,void 0,void 0)}function SU(t){const u=Lse.exec(t);if(u)return u[0]}function G_(t,u){return t>=65&&t<=90||t>=97&&t<=122||t===36||t===95||t>127&&kU(t,u)}function Ev(t,u,s){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===36||t===95||(s===1?t===45||t===58:!1)||t>127&&dTt(t,u)}function Lm(t,u,s){let d=Fx(t,0);if(!G_(d,u))return!1;for(let f=_v(d);fk,getStartPos:()=>k,getTokenEnd:()=>b,getTextPos:()=>b,getToken:()=>M,getTokenStart:()=>T,getTokenPos:()=>T,getTokenText:()=>v.substring(T,b),getTokenValue:()=>z,hasUnicodeEscape:()=>(j&1024)!==0,hasExtendedUnicodeEscape:()=>(j&8)!==0,hasPrecedingLineBreak:()=>(j&1)!==0,hasPrecedingJSDocComment:()=>(j&2)!==0,isIdentifier:()=>M===80||M>118,isReservedWord:()=>M>=83&&M<=118,isUnterminated:()=>(j&4)!==0,getCommentDirectives:()=>J,getNumericLiteralFlags:()=>j&25584,getTokenFlags:()=>j,reScanGreaterToken:Ie,reScanAsteriskEqualsToken:st,reScanSlashToken:St,reScanTemplateToken:ht,reScanTemplateHeadOrNoSubstitutionTemplate:Ut,scanJsxIdentifier:Pi,scanJsxAttributeValue:Ai,reScanJsxAttributeValue:Zu,reScanJsxToken:Ni,reScanLessThanToken:ji,reScanHashToken:xn,reScanQuestionToken:Jn,reScanInvalidIdentifier:Gt,scanJsxToken:an,scanJsDocToken:yr,scanJSDocCommentTextToken:aa,scan:Ve,getText:Si,clearCommentDirectives:Dn,setText:Cn,setScriptTarget:oa,setLanguageVariant:Da,setScriptKind:ra,setJSDocParsingMode:Ta,setOnError:tu,resetTokenState:Yo,setTextPos:Yo,setInJSDocType:bo,tryScan:Ln,lookAhead:jn,scanRange:bt};return H.isDebugging&&Object.defineProperty(se,"__debugShowCurrentPositionInText",{get:()=>{const Qe=se.getText();return Qe.slice(0,se.getTokenFullStart())+"║"+Qe.slice(se.getTokenFullStart())}}),se;function ge(Qe,Et=b,Mt,qt){if(f){const Xt=b;b=Et,f(Qe,Mt||0,qt),b=Xt}}function ae(){let Qe=b,Et=!1,Mt=!1,qt="";for(;;){const Xt=v.charCodeAt(b);if(Xt===95){j|=512,Et?(Et=!1,Mt=!0,qt+=v.substring(Qe,b)):(j|=16384,ge(Mt?F.Multiple_consecutive_numeric_separators_are_not_permitted:F.Numeric_separators_are_not_allowed_here,b,1)),b++,Qe=b;continue}if(NN(Xt)){Et=!0,Mt=!1,b++;continue}break}return v.charCodeAt(b-1)===95&&(j|=16384,ge(F.Numeric_separators_are_not_allowed_here,b-1,1)),qt+v.substring(Qe,b)}function Ce(){let Qe=b,Et;if(v.charCodeAt(b)===48)if(b++,v.charCodeAt(b)===95)j|=16896,ge(F.Numeric_separators_are_not_allowed_here,b,1),b--,Et=ae();else if(!ve())j|=8192,Et=""+ +z;else if(!z)Et="0";else{z=""+parseInt(z,8),j|=32;const et=M===41,gt=(et?"-":"")+"0o"+(+z).toString(8);return et&&Qe--,ge(F.Octal_literals_are_not_allowed_Use_the_syntax_0,Qe,b-Qe,gt),9}else Et=ae();let Mt,qt;v.charCodeAt(b)===46&&(b++,Mt=ae());let Xt=b;if(v.charCodeAt(b)===69||v.charCodeAt(b)===101){b++,j|=16,(v.charCodeAt(b)===43||v.charCodeAt(b)===45)&&b++;const et=b,gt=ae();gt?(qt=v.substring(Xt,et)+gt,Xt=b):ge(F.Digit_expected)}let Pe;if(j&512?(Pe=Et,Mt&&(Pe+="."+Mt),qt&&(Pe+=qt)):Pe=v.substring(Qe,Xt),j&8192)return ge(F.Decimals_with_leading_zeros_are_not_allowed,Qe,Xt-Qe),z=""+ +Pe,9;if(Mt!==void 0||j&16)return ne(Qe,Mt===void 0&&!!(j&16)),z=""+ +Pe,9;{z=Pe;const et=Ye();return ne(Qe),et}}function ne(Qe,Et){if(!G_(Fx(v,b),t))return;const Mt=b,{length:qt}=Ke();qt===1&&v[Mt]==="n"?ge(Et?F.A_bigint_literal_cannot_use_exponential_notation:F.A_bigint_literal_must_be_an_integer,Qe,Mt-Qe+1):(ge(F.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,Mt,qt),b=Mt)}function ve(){const Qe=b;let Et=!0;for(;NN(v.charCodeAt(b));)AU(v.charCodeAt(b))||(Et=!1),b++;return z=v.substring(Qe,b),Et}function Se(Qe,Et){const Mt=pe(Qe,!1,Et);return Mt?parseInt(Mt,16):-1}function Ne(Qe,Et){return pe(Qe,!0,Et)}function pe(Qe,Et,Mt){let qt=[],Xt=!1,Pe=!1;for(;qt.length=65&&et<=70)et+=32;else if(!(et>=48&&et<=57||et>=97&&et<=102))break;qt.push(et),b++,Pe=!1}return qt.length=B){Mt+=v.substring(qt,b),j|=4,ge(F.Unterminated_string_literal);break}const Xt=v.charCodeAt(b);if(Xt===Et){Mt+=v.substring(qt,b),b++;break}if(Xt===92&&!Qe){Mt+=v.substring(qt,b),Mt+=Be(!0),qt=b;continue}if((Xt===10||Xt===13)&&!Qe){Mt+=v.substring(qt,b),j|=4,ge(F.Unterminated_string_literal);break}b++}return Mt}function xe(Qe){const Et=v.charCodeAt(b)===96;b++;let Mt=b,qt="",Xt;for(;;){if(b>=B){qt+=v.substring(Mt,b),j|=4,ge(F.Unterminated_template_literal),Xt=Et?15:18;break}const Pe=v.charCodeAt(b);if(Pe===96){qt+=v.substring(Mt,b),b++,Xt=Et?15:18;break}if(Pe===36&&b+1=B)return ge(F.Unexpected_end_of_text),"";const Mt=v.charCodeAt(b);switch(b++,Mt){case 48:if(b>=B||!NN(v.charCodeAt(b)))return"\0";case 49:case 50:case 51:b=B?(j|=2048,Qe&&ge(F.Unexpected_end_of_text),v.substring(Et,b)):v.charCodeAt(b)!==125?(j|=2048,Qe&&ge(F.Unterminated_Unicode_escape_sequence),v.substring(Et,b)):(b++,j|=8,F8(Xt)):(j|=2048,Qe&&ge(F.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),v.substring(Et,b))}for(;b1114111&&(ge(F.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),Mt=!0),b>=B?(ge(F.Unexpected_end_of_text),Mt=!0):v.charCodeAt(b)===125?b++:(ge(F.Unterminated_Unicode_escape_sequence),Mt=!0),Mt?"":F8(Et)}function Ae(){if(b+5=0&&Ev(Mt,t)){b+=3,j|=8,Qe+=Ge(),Et=b;continue}if(Mt=Ae(),!(Mt>=0&&Ev(Mt,t)))break;j|=1024,Qe+=v.substring(Et,b),Qe+=F8(Mt),b+=6,Et=b}else break}return Qe+=v.substring(Et,b),Qe}function Je(){const Qe=z.length;if(Qe>=2&&Qe<=12){const Et=z.charCodeAt(0);if(Et>=97&&Et<=122){const Mt=$qe.get(z);if(Mt!==void 0)return M=Mt}}return M=80}function ft(Qe){let Et="",Mt=!1,qt=!1;for(;;){const Xt=v.charCodeAt(b);if(Xt===95){j|=512,Mt?(Mt=!1,qt=!0):ge(qt?F.Multiple_consecutive_numeric_separators_are_not_permitted:F.Numeric_separators_are_not_allowed_here,b,1),b++;continue}if(Mt=!0,!NN(Xt)||Xt-48>=Qe)break;Et+=v[b],b++,qt=!1}return v.charCodeAt(b-1)===95&&ge(F.Numeric_separators_are_not_allowed_here,b-1,1),Et}function Ye(){return v.charCodeAt(b)===110?(z+="n",j&384&&(z=SP(z)+"n"),b++,10):(z=""+(j&128?parseInt(z.slice(2),2):j&256?parseInt(z.slice(2),8):+z),9)}function Ve(){k=b,j=0;let Qe=!1;for(;;){if(T=b,b>=B)return M=1;const Et=Fx(v,b);if(b===0){if(Et===65533)return ge(F.File_appears_to_be_binary),b=B,M=8;if(Et===35&&Bse(v,b)){if(b=wse(v,b),u)continue;return M=6}}switch(Et){case 10:case 13:if(j|=1,u){b++;continue}else return Et===13&&b+1=0&&G_(Mt,t))return b+=3,j|=8,z=Ge()+Ke(),M=Je();const qt=Ae();return qt>=0&&G_(qt,t)?(b+=6,j|=1024,z=String.fromCharCode(qt)+Ke(),M=Je()):(ge(F.Invalid_character),b++,M=0);case 35:if(b!==0&&v[b+1]==="!")return ge(F.can_only_be_used_at_the_start_of_a_file),b++,M=0;const Xt=Fx(v,b+1);if(Xt===92){b++;const gt=De();if(gt>=0&&G_(gt,t))return b+=3,j|=8,z="#"+Ge()+Ke(),M=81;const ii=Ae();if(ii>=0&&G_(ii,t))return b+=6,j|=1024,z="#"+String.fromCharCode(ii)+Ke(),M=81;b--}return G_(Xt,t)?(b++,Yt(Xt,t)):(z="#",ge(F.Invalid_character,b++,_v(Et))),M=81;default:const Pe=Yt(Et,t);if(Pe)return M=Pe;if(qg(Et)){b+=_v(Et);continue}else if(Z1(Et)){j|=1,b+=_v(Et);continue}const et=_v(Et);return ge(F.Invalid_character,b,et),b+=et,M=0}}}function We(){switch(oe){case 0:return!0;case 1:return!1}return Y!==3&&Y!==4?!0:oe===3?!1:iZe.test(v.slice(k,b))}function Gt(){H.assert(M===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),b=T=k,j=0;const Qe=Fx(v,b),Et=Yt(Qe,99);return Et?M=Et:(b+=_v(Qe),M)}function Yt(Qe,Et){let Mt=Qe;if(G_(Mt,Et)){for(b+=_v(Mt);b=B)return M=1;let Et=v.charCodeAt(b);if(Et===60)return v.charCodeAt(b+1)===47?(b+=2,M=31):(b++,M=30);if(Et===123)return b++,M=19;let Mt=0;for(;b0)break;U3(Et)||(Mt=b)}b++}return z=v.substring(k,b),Mt===-1?13:12}function Pi(){if(fh(M)){for(;b=B)return M=1;for(let Et=v.charCodeAt(b);b=0&&qg(v.charCodeAt(b-1))&&!(b+1=B)return M=1;const Qe=Fx(v,b);switch(b+=_v(Qe),Qe){case 9:case 11:case 12:case 32:for(;b=0&&G_(Et,t))return b+=3,j|=8,z=Ge()+Ke(),M=Je();const Mt=Ae();return Mt>=0&&G_(Mt,t)?(b+=6,j|=1024,z=String.fromCharCode(Mt)+Ke(),M=Je()):(b++,M=0)}if(G_(Qe,t)){let Et=Qe;for(;b=0),b=Qe,k=Qe,T=Qe,M=0,z=void 0,j=0}function bo(Qe){K+=Qe?1:-1}}function Fx(t,u){return t.codePointAt(u)}function _v(t){return t>=65536?2:1}function mTt(t){if(H.assert(0<=t&&t<=1114111),t<=65535)return String.fromCharCode(t);const u=Math.floor((t-65536)/1024)+55296,s=(t-65536)%1024+56320;return String.fromCharCode(u,s)}function F8(t){return uZe(t)}var MO,$qe,A2e,Uqe,qqe,Zqe,Yqe,Qqe,Xqe,eZe,tZe,iZe,nZe,BU,Lse,uZe,pTt=o({"src/compiler/scanner.ts"(){Bo(),MO={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},$qe=new Map(Object.entries(MO)),A2e=new Map(Object.entries({...MO,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,">":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),Uqe=[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],qqe=[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],Zqe=[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],Yqe=[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],Qqe=[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],Xqe=[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],eZe=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,tZe=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,iZe=/@(?:see|link)/i,nZe=hTt(A2e),BU=7,Lse=/^#!.*/,uZe=String.fromCodePoint?t=>String.fromCodePoint(t):mTt}});function Id(t){return om(t)||Pf(t)}function A8(t){return pi(t,bP)}function zO(t){switch(Os(t)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function Ec(t){return t.start+t.length}function S2e(t){return t.length===0}function Nse(t,u){return u>=t.start&&u=t.pos&&u<=t.end}function B2e(t,u){return u.start>=t.start&&Ec(u)<=Ec(t)}function rZe(t,u){return w2e(t,u)!==void 0}function w2e(t,u){const s=L2e(t,u);return s&&s.length===0?void 0:s}function aZe(t,u){return RO(t.start,t.length,u.start,u.length)}function wU(t,u,s){return RO(t.start,t.length,u,s)}function RO(t,u,s,d){const f=t+u,p=s+d;return s<=f&&p>=t}function T2e(t,u){return u<=Ec(t)&&u>=t.start}function L2e(t,u){const s=Math.max(t.start,u.start),d=Math.min(Ec(t),Ec(u));return s<=d?Vc(s,d):void 0}function d1(t,u){if(t<0)throw new Error("start < 0");if(u<0)throw new Error("length < 0");return{start:t,length:u}}function Vc(t,u){return d1(t,u-t)}function MN(t){return d1(t.span.start,t.newLength)}function N2e(t){return S2e(t.span)&&t.newLength===0}function OO(t,u){if(u<0)throw new Error("newLength < 0");return{span:t,newLength:u}}function P2e(t){if(t.length===0)return tj;if(t.length===1)return t[0];const u=t[0];let s=u.span.start,d=Ec(u.span),f=s+u.newLength;for(let p=1;p=2&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95?"_"+t:t}function Yr(t){const u=t;return u.length>=3&&u.charCodeAt(0)===95&&u.charCodeAt(1)===95&&u.charCodeAt(2)===95?u.substr(1):u}function fu(t){return Yr(t.escapedText)}function Dv(t){const u=f2(t.escapedText);return u?ur(u,uf):void 0}function lc(t){return t.valueDeclaration&&ph(t.valueDeclaration)?fu(t.valueDeclaration.name):Yr(t.escapedName)}function lZe(t){const u=t.parent.parent;if(u){if(Q1(u))return Mse(u);switch(u.kind){case 243:if(u.declarationList&&u.declarationList.declarations[0])return Mse(u.declarationList.declarations[0]);break;case 244:let s=u.expression;switch(s.kind===226&&s.operatorToken.kind===64&&(s=s.left),s.kind){case 211:return s.name;case 212:const d=s.argumentExpression;if(at(d))return d}break;case 217:return Mse(u.expression);case 256:{if(Q1(u.statement)||Wt(u.statement))return Mse(u.statement);break}}}}function Mse(t){const u=Za(t);return u&&at(u)?u:void 0}function jO(t,u){return!!(mh(t)&&at(t.name)&&fu(t.name)===fu(u)||Jl(t)&&Oe(t.declarationList.declarations,s=>jO(s,u)))}function R2e(t){return t.name||lZe(t)}function mh(t){return!!t.name}function TU(t){switch(t.kind){case 80:return t;case 355:case 348:{const{name:s}=t;if(s.kind===166)return s.right;break}case 213:case 226:{const s=t;switch(Xl(s)){case 1:case 4:case 5:case 3:return kq(s.left);case 7:case 8:case 9:return s.arguments[1];default:return}}case 353:return R2e(t);case 347:return lZe(t);case 277:{const{expression:s}=t;return at(s)?s:void 0}case 212:const u=t;if(yq(u))return u.argumentExpression}return t.name}function Za(t){if(t!==void 0)return TU(t)||(A0(t)||q0(t)||Xd(t)?zse(t):void 0)}function zse(t){if(t.parent){if(Jc(t.parent)||js(t.parent))return t.parent.name;if(Xn(t.parent)&&t===t.parent.right){if(at(t.parent.left))return t.parent.left;if(I0(t.parent.left))return kq(t.parent.left)}else if(na(t.parent)&&at(t.parent.name))return t.parent.name}else return}function Ax(t){if(o4(t))return ti(t.modifiers,g1)}function p2(t){if(Yu(t,98303))return ti(t.modifiers,Qo)}function cZe(t,u){if(t.name)if(at(t.name)){const s=t.name.escapedText;return HO(t.parent,u).filter(d=>Eg(d)&&at(d.name)&&d.name.escapedText===s)}else{const s=t.parent.parameters.indexOf(t);H.assert(s>-1,"Parameters should always be in their parents' parameter list");const d=HO(t.parent,u).filter(Eg);if(s_g(d)&&d.typeParameters.some(f=>f.name.escapedText===s))}function j2e(t){return dZe(t,!1)}function V2e(t){return dZe(t,!0)}function H2e(t){return!!V4(t,Eg)}function K2e(t){return V4(t,LB)}function W2e(t){return Vse(t,Nce)}function Ise(t){return V4(t,DFe)}function hZe(t){return V4(t,Sce)}function G2e(t){return V4(t,Sce,!0)}function fZe(t){return V4(t,Bce)}function J2e(t){return V4(t,Bce,!0)}function mZe(t){return V4(t,wce)}function $2e(t){return V4(t,wce,!0)}function pZe(t){return V4(t,Tce)}function U2e(t){return V4(t,Tce,!0)}function q2e(t){return V4(t,gY,!0)}function Rse(t){return V4(t,Lce)}function Z2e(t){return V4(t,Lce,!0)}function Ose(t){return V4(t,LV)}function LU(t){return V4(t,xFe)}function Y2e(t){return V4(t,EY)}function gZe(t){return V4(t,_g)}function jse(t){return V4(t,_Y)}function xv(t){const u=V4(t,XP);if(u&&u.typeExpression&&u.typeExpression.type)return u}function vv(t){let u=V4(t,XP);return!u&&io(t)&&(u=Le(B8(t),s=>!!s.typeExpression)),u&&u.typeExpression&&u.typeExpression.type}function VO(t){const u=Y2e(t);if(u&&u.typeExpression)return u.typeExpression.type;const s=xv(t);if(s&&s.typeExpression){const d=s.typeExpression.type;if(fm(d)){const f=Le(d.members,CB);return f&&f.type}if(u3(d)||TB(d))return d.type}}function HO(t,u){var s;if(!wj(t))return _t;let d=(s=t.jsDoc)==null?void 0:s.jsDocCache;if(d===void 0||u){const f=I0e(t,u);H.assert(f.length<2||f[0]!==f[1]),d=ju(f,p=>Vp(p)?p.tags:p),u||(t.jsDoc??(t.jsDoc=[]),t.jsDoc.jsDocCache=d)}return d}function Cv(t){return HO(t,!1)}function EZe(t){return HO(t,!0)}function V4(t,u,s){return Le(HO(t,s),u)}function Vse(t,u){return Cv(t).filter(u)}function _Ze(t,u){return Cv(t).filter(s=>s.kind===u)}function KO(t){return typeof t=="string"?t:t==null?void 0:t.map(u=>u.kind===328?u.text:ETt(u)).join("")}function ETt(t){const u=t.kind===331?"link":t.kind===332?"linkcode":"linkplain",s=t.name?zf(t.name):"",d=t.name&&t.text.startsWith("://")?"":" ";return`{@${u} ${s}${d}${t.text}}`}function Sx(t){if(Ov(t)){if(NB(t.parent)){const u=iP(t.parent);if(u&&S(u.tags))return ju(u.tags,s=>_g(s)?s.typeParameters:void 0)}return _t}if(G4(t))return H.assert(t.parent.kind===327),ju(t.parent.tags,u=>_g(u)?u.typeParameters:void 0);if(t.typeParameters||TFe(t)&&t.typeParameters)return t.typeParameters;if(Qn(t)){const u=Oq(t);if(u.length)return u;const s=vv(t);if(s&&u3(s)&&s.typeParameters)return s.typeParameters}return _t}function w8(t){return t.constraint?t.constraint:_g(t.parent)&&t===t.parent.typeParameters[0]?t.parent.constraint:void 0}function J_(t){return t.kind===80||t.kind===81}function NU(t){return t.kind===178||t.kind===177}function PU(t){return Iu(t)&&!!(t.flags&64)}function Hse(t){return U0(t)&&!!(t.flags&64)}function $y(t){return Mo(t)&&!!(t.flags&64)}function Y1(t){const u=t.kind;return!!(t.flags&64)&&(u===211||u===212||u===213||u===235)}function IN(t){return Y1(t)&&!O7(t)&&!!t.questionDotToken}function MU(t){return IN(t.parent)&&t.parent.expression===t}function RN(t){return!Y1(t.parent)||IN(t.parent)||t!==t.parent.expression}function Kse(t){return t.kind===226&&t.operatorToken.kind===61}function q3(t){return X4(t)&&at(t.typeName)&&t.typeName.escapedText==="const"&&!t.typeArguments}function Np(t){return Dc(t,8)}function zU(t){return O7(t)&&!!(t.flags&64)}function ON(t){return t.kind===252||t.kind===251}function Wse(t){return t.kind===280||t.kind===279}function Q2e(t){switch(t.kind){case 309:case 310:return!0;default:return!1}}function Gse(t){return Q2e(t)||t.kind===307||t.kind===311}function WO(t){return t.kind===355||t.kind===348}function DZe(t){return GO(t.kind)}function GO(t){return t>=166}function Jse(t){return t>=0&&t<=165}function u7(t){return Jse(t.kind)}function g2(t){return gu(t,"pos")&&gu(t,"end")}function jN(t){return 9<=t&&t<=15}function E2(t){return jN(t.kind)}function $se(t){switch(t.kind){case 210:case 209:case 14:case 218:case 231:return!0}return!1}function Bx(t){return 15<=t&&t<=18}function X2e(t){return Bx(t.kind)}function IU(t){const u=t.kind;return u===17||u===18}function r7(t){return bf(t)||eh(t)}function RU(t){switch(t.kind){case 276:return t.isTypeOnly||t.parent.parent.isTypeOnly;case 274:return t.parent.isTypeOnly;case 273:case 271:return t.isTypeOnly}return!1}function ebe(t){switch(t.kind){case 281:return t.isTypeOnly||t.parent.parent.isTypeOnly;case 278:return t.isTypeOnly&&!!t.moduleSpecifier&&!t.exportClause;case 280:return t.parent.isTypeOnly}return!1}function _2(t){return RU(t)||ebe(t)}function Use(t){return t.kind===11||Bx(t.kind)}function tbe(t){return us(t)||at(t)}function al(t){var u;return at(t)&&((u=t.emitNode)==null?void 0:u.autoGenerate)!==void 0}function Uy(t){var u;return Xr(t)&&((u=t.emitNode)==null?void 0:u.autoGenerate)!==void 0}function JO(t){const u=t.emitNode.autoGenerate.flags;return!!(u&32)&&!!(u&16)&&!!(u&8)}function ph(t){return(ko(t)||N8(t))&&Xr(t.name)}function T8(t){return Iu(t)&&Xr(t.name)}function XD(t){switch(t){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 164:return!0}return!1}function VN(t){return!!(_7(t)&31)}function qse(t){return VN(t)||t===126||t===164||t===129}function Qo(t){return XD(t.kind)}function sm(t){const u=t.kind;return u===166||u===80}function Sc(t){const u=t.kind;return u===80||u===81||u===11||u===9||u===167}function qy(t){const u=t.kind;return u===80||u===206||u===207}function Co(t){return!!t&&a7(t.kind)}function L8(t){return!!t&&(a7(t.kind)||zl(t))}function $0(t){return t&&xZe(t.kind)}function HN(t){return t.kind===112||t.kind===97}function xZe(t){switch(t){case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function a7(t){switch(t){case 173:case 179:case 330:case 180:case 181:case 184:case 324:case 185:return!0;default:return xZe(t)}}function Zse(t){return la(t)||rE(t)||po(t)&&Co(t.parent)}function Zd(t){const u=t.kind;return u===176||u===172||u===174||u===177||u===178||u===181||u===175||u===240}function mr(t){return t&&(t.kind===263||t.kind===231)}function wx(t){return t&&(t.kind===177||t.kind===178)}function ef(t){return ko(t)&&eE(t)}function ibe(t){return Qn(t)&&EZ(t)?(!A2(t)||!Ox(t.expression))&&!ak(t,!0):t.parent&&mr(t.parent)&&ko(t)&&!eE(t)}function N8(t){switch(t.kind){case 174:case 177:case 178:return!0;default:return!1}}function nbe(t){switch(t.kind){case 174:case 177:case 178:case 172:return!0;default:return!1}}function ol(t){return Qo(t)||g1(t)}function Zy(t){const u=t.kind;return u===180||u===179||u===171||u===173||u===181||u===177||u===178}function OU(t){return Zy(t)||Zd(t)}function Z3(t){const u=t.kind;return u===303||u===304||u===305||u===174||u===177||u===178}function Qr(t){return _le(t.kind)}function ube(t){switch(t.kind){case 184:case 185:return!0}return!1}function So(t){if(t){const u=t.kind;return u===207||u===206}return!1}function KN(t){const u=t.kind;return u===209||u===210}function jU(t){const u=t.kind;return u===208||u===232}function $O(t){switch(t.kind){case 260:case 169:case 208:return!0}return!1}function rbe(t){return na(t)||io(t)||qO(t)||ZO(t)}function UO(t){return Yse(t)||Qse(t)}function Yse(t){switch(t.kind){case 206:case 210:return!0}return!1}function qO(t){switch(t.kind){case 208:case 303:case 304:case 305:return!0}return!1}function Qse(t){switch(t.kind){case 207:case 209:return!0}return!1}function ZO(t){switch(t.kind){case 208:case 232:case 230:case 209:case 210:case 80:case 211:case 212:return!0}return ld(t,!0)}function abe(t){const u=t.kind;return u===211||u===166||u===205}function obe(t){const u=t.kind;return u===211||u===166}function Xse(t){return D2(t)||R2(t)}function D2(t){switch(t.kind){case 286:case 285:case 213:case 214:case 215:case 170:return!0;default:return!1}}function $E(t){return t.kind===213||t.kind===214}function P8(t){const u=t.kind;return u===228||u===15}function Df(t){return vZe(Np(t).kind)}function vZe(t){switch(t){case 211:case 212:case 214:case 213:case 284:case 285:case 288:case 215:case 209:case 217:case 210:case 231:case 218:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 228:case 97:case 106:case 110:case 112:case 108:case 235:case 233:case 236:case 102:case 282:return!0;default:return!1}}function e0e(t){return CZe(Np(t).kind)}function CZe(t){switch(t){case 224:case 225:case 220:case 221:case 222:case 223:case 216:return!0;default:return vZe(t)}}function sbe(t){switch(t.kind){case 225:return!0;case 224:return t.operator===46||t.operator===47;default:return!1}}function lbe(t){switch(t.kind){case 106:case 112:case 97:case 224:return!0;default:return E2(t)}}function Wt(t){return _Tt(Np(t).kind)}function _Tt(t){switch(t){case 227:case 229:case 219:case 226:case 230:case 234:case 232:case 361:case 360:case 238:return!0;default:return CZe(t)}}function Yy(t){const u=t.kind;return u===216||u===234}function bZe(t){return yce(t)||dY(t)}function Tx(t,u){switch(t.kind){case 248:case 249:case 250:case 246:case 247:return!0;case 256:return u&&Tx(t.statement,u)}return!1}function cbe(t){return tc(t)||Gc(t)}function dbe(t){return Oe(t,cbe)}function VU(t){return!aj(t)&&!tc(t)&&!Yu(t,32)&&!N1(t)}function YO(t){return aj(t)||tc(t)||Yu(t,32)}function M8(t){return t.kind===249||t.kind===250}function HU(t){return po(t)||Wt(t)}function t0e(t){return po(t)}function a4(t){return Ad(t)||Wt(t)}function hbe(t){const u=t.kind;return u===268||u===267||u===80}function yZe(t){const u=t.kind;return u===268||u===267}function kZe(t){const u=t.kind;return u===80||u===267}function i0e(t){const u=t.kind;return u===275||u===274}function QO(t){return t.kind===267||t.kind===266}function Zg(t){switch(t.kind){case 219:case 226:case 208:case 213:case 179:case 263:case 231:case 175:case 176:case 185:case 180:case 212:case 266:case 306:case 277:case 278:case 281:case 262:case 218:case 184:case 177:case 80:case 273:case 271:case 276:case 181:case 264:case 345:case 347:case 324:case 348:case 355:case 330:case 353:case 329:case 291:case 292:case 293:case 200:case 174:case 173:case 267:case 202:case 280:case 270:case 274:case 214:case 15:case 9:case 210:case 169:case 211:case 303:case 172:case 171:case 178:case 304:case 312:case 305:case 11:case 265:case 187:case 168:case 260:return!0;default:return!1}}function UE(t){switch(t.kind){case 219:case 241:case 179:case 269:case 299:case 175:case 194:case 176:case 185:case 180:case 248:case 249:case 250:case 262:case 218:case 184:case 177:case 181:case 345:case 347:case 324:case 330:case 353:case 200:case 174:case 173:case 267:case 178:case 312:case 265:return!0;default:return!1}}function DTt(t){return t===219||t===208||t===263||t===231||t===175||t===176||t===266||t===306||t===281||t===262||t===218||t===177||t===273||t===271||t===276||t===264||t===291||t===174||t===173||t===267||t===270||t===274||t===280||t===169||t===303||t===172||t===171||t===178||t===304||t===265||t===168||t===260||t===353||t===345||t===355}function fbe(t){return t===262||t===282||t===263||t===264||t===265||t===266||t===267||t===272||t===271||t===278||t===277||t===270}function mbe(t){return t===252||t===251||t===259||t===246||t===244||t===242||t===249||t===250||t===248||t===245||t===256||t===253||t===255||t===257||t===258||t===243||t===247||t===254||t===359}function Q1(t){return t.kind===168?t.parent&&t.parent.kind!==352||Qn(t):DTt(t.kind)}function pbe(t){return fbe(t.kind)}function XO(t){return mbe(t.kind)}function ia(t){const u=t.kind;return mbe(u)||fbe(u)||xTt(t)}function xTt(t){return t.kind!==241||t.parent!==void 0&&(t.parent.kind===258||t.parent.kind===299)?!1:!k2(t)}function gbe(t){const u=t.kind;return mbe(u)||fbe(u)||u===241}function Ebe(t){const u=t.kind;return u===283||u===166||u===80}function WN(t){const u=t.kind;return u===110||u===80||u===211||u===295}function ej(t){const u=t.kind;return u===284||u===294||u===285||u===12||u===288}function KU(t){const u=t.kind;return u===291||u===293}function _be(t){const u=t.kind;return u===11||u===294}function zh(t){const u=t.kind;return u===286||u===285}function WU(t){const u=t.kind;return u===296||u===297}function z8(t){return t.kind>=316&&t.kind<=357}function GU(t){return t.kind===327||t.kind===326||t.kind===328||o7(t)||I8(t)||K7(t)||Ov(t)}function I8(t){return t.kind>=334&&t.kind<=357}function e5(t){return t.kind===178}function Lx(t){return t.kind===177}function lm(t){if(!wj(t))return!1;const{jsDoc:u}=t;return!!u&&u.length>0}function JU(t){return!!t.type}function Nx(t){return!!t.initializer}function Qy(t){switch(t.kind){case 260:case 169:case 208:case 172:case 303:case 306:return!0;default:return!1}}function n0e(t){return t.kind===291||t.kind===293||Z3(t)}function $U(t){return t.kind===183||t.kind===233}function Dbe(t){let u=xbe;for(const s of t){if(!s.length)continue;let d=0;for(;ds.kind===u)}function Vo(t){const u=new Map;if(t)for(const s of t)u.set(s.escapedName,s);return u}function qE(t){return(t.flags&33554432)!==0}function CTt(){var t="";const u=s=>t+=s;return{getText:()=>t,write:u,rawWrite:u,writeKeyword:u,writeOperator:u,writePunctuation:u,writeSpace:u,writeStringLiteral:u,writeLiteral:u,writeParameter:u,writeProperty:u,writeSymbol:(s,d)=>u(s),writeTrailingSemicolon:u,writeComment:u,getTextPos:()=>t.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!t.length&&U3(t.charCodeAt(t.length-1)),writeLine:()=>t+=" ",increaseIndent:Is,decreaseIndent:Is,clear:()=>t=""}}function UU(t,u){return t.configFilePath!==u.configFilePath||Cbe(t,u)}function Cbe(t,u){return R8(t,u,NY)}function bbe(t,u){return R8(t,u,pde)}function R8(t,u,s){return t!==u&&s.some(d=>!dZ(tZ(t,d),tZ(u,d)))}function ybe(t,u){for(;;){const s=u(t);if(s==="quit")return;if(s!==void 0)return s;if(la(t))return;t=t.parent}}function h1(t,u){const s=t.entries();for(const[d,f]of s){const p=u(f,d);if(p)return p}}function U_(t,u){const s=t.keys();for(const d of s){const f=u(d);if(f)return f}}function qU(t,u){t.forEach((s,d)=>{u.set(d,s)})}function GN(t){const u=cV.getText();try{return t(cV),cV.getText()}finally{cV.clear(),cV.writeKeyword(u)}}function ij(t){return t.end-t.pos}function a0e(t,u){return t.path===u.path&&!t.prepend==!u.prepend&&!t.circular==!u.circular}function kbe(t,u){return t===u||t.resolvedModule===u.resolvedModule||!!t.resolvedModule&&!!u.resolvedModule&&t.resolvedModule.isExternalLibraryImport===u.resolvedModule.isExternalLibraryImport&&t.resolvedModule.extension===u.resolvedModule.extension&&t.resolvedModule.resolvedFileName===u.resolvedModule.resolvedFileName&&t.resolvedModule.originalPath===u.resolvedModule.originalPath&&bTt(t.resolvedModule.packageId,u.resolvedModule.packageId)&&t.node10Result===u.node10Result}function o0e(t,u,s,d,f){var p;const E=(p=u.getResolvedModule(t,s,d))==null?void 0:p.node10Result,v=E?ro(void 0,F.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings,E,E.includes(o_+"@types/")?`@types/${JB(f)}`:f):u.typesPackageExists(f)?ro(void 0,F.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,f,JB(f)):u.packageBundlesTypes(f)?ro(void 0,F.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,f,s):ro(void 0,F.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,s,JB(f));return v&&(v.repopulateInfo=()=>({moduleReference:s,mode:d,packageName:f===s?void 0:f})),v}function bTt(t,u){return t===u||!!t&&!!u&&t.name===u.name&&t.subModuleName===u.subModuleName&&t.version===u.version}function ZU({name:t,subModuleName:u}){return u?`${t}/${u}`:t}function Px(t){return`${ZU(t)}@${t.version}`}function Fbe(t,u){return t===u||t.resolvedTypeReferenceDirective===u.resolvedTypeReferenceDirective||!!t.resolvedTypeReferenceDirective&&!!u.resolvedTypeReferenceDirective&&t.resolvedTypeReferenceDirective.resolvedFileName===u.resolvedTypeReferenceDirective.resolvedFileName&&!!t.resolvedTypeReferenceDirective.primary==!!u.resolvedTypeReferenceDirective.primary&&t.resolvedTypeReferenceDirective.originalPath===u.resolvedTypeReferenceDirective.originalPath}function s0e(t,u,s,d,f,p){H.assert(t.length===s.length);for(let E=0;E=0),$3(u)[t]}function FZe(t){const u=zn(t),s=s0(u,t.pos);return`${u.fileName}(${s.line+1},${s.character+1})`}function uj(t,u){H.assert(t>=0);const s=$3(u),d=t,f=u.text;if(d+1===s.length)return f.length-1;{const p=s[d];let E=s[d+1]-1;for(H.assert(Z1(f.charCodeAt(E)));p<=E&&Z1(f.charCodeAt(E));)E--;return E}}function QU(t,u,s){return!(s&&s(u))&&!t.identifiers.has(u)}function Ql(t){return t===void 0?!0:t.pos===t.end&&t.pos>=0&&t.kind!==1}function H4(t){return!Ql(t)}function Sbe(t,u){return Bl(t)?u===t.expression:zl(t)?u===t.modifiers:Mm(t)?u===t.initializer:ko(t)?u===t.questionToken&&ef(t):Jc(t)?u===t.modifiers||u===t.questionToken||u===t.exclamationToken||rj(t.modifiers,u,ol):pm(t)?u===t.equalsToken||u===t.modifiers||u===t.questionToken||u===t.exclamationToken||rj(t.modifiers,u,ol):dc(t)?u===t.exclamationToken:hc(t)?u===t.typeParameters||u===t.type||rj(t.typeParameters,u,Bl):zm(t)?u===t.typeParameters||rj(t.typeParameters,u,Bl):jf(t)?u===t.typeParameters||u===t.type||rj(t.typeParameters,u,Bl):wV(t)?u===t.modifiers||rj(t.modifiers,u,ol):!1}function rj(t,u,s){return!t||Ha(u)||!s(u)?!1:kt(t,u)}function AZe(t,u,s){if(u===void 0||u.length===0)return t;let d=0;for(;d[`${s0(t,E.range.end).line}`,E])),d=new Map;return{getUnusedExpectations:f,markUsed:p};function f(){return ga(s.entries()).filter(([E,v])=>v.type===0&&!d.get(E)).map(([E,v])=>v)}function p(E){return s.has(`${E}`)?(d.set(`${E}`,!0),!0):!1}}function ek(t,u,s){return Ql(t)?t.pos:z8(t)||t.kind===12?gs((u||zn(t)).text,t.pos,!1,!0):s&&lm(t)?ek(t.jsDoc[0],u):t.kind===358&&t._children.length>0?ek(t._children[0],u,s):gs((u||zn(t)).text,t.pos,!1,!1,Ej(t))}function d0e(t,u){const s=!Ql(t)&&Hp(t)?lt(t.modifiers,g1):void 0;return s?gs((u||zn(t)).text,s.end):ek(t,u)}function x2(t,u,s=!1){return JN(t.text,u,s)}function kTt(t){return!!Tn(t,kk)}function eq(t){return!!(Gc(t)&&t.exportClause&&u_(t.exportClause)&&t.exportClause.name.escapedText==="default")}function JN(t,u,s=!1){if(Ql(u))return"";let d=t.substring(s?u.pos:gs(t,u.pos),u.end);return kTt(u)&&(d=d.split(/\r\n|\n|\r/).map(f=>f.replace(/^\s*\*/,"").trimStart()).join(` -`)),d}function Hc(t,u=!1){return x2(zn(t),t,u)}function FTt(t){return t.pos}function j8(t,u){return Kl(t,u,FTt,nl)}function bs(t){const u=t.emitNode;return u&&u.flags||0}function Pp(t){const u=t.emitNode;return u&&u.internalFlags||0}function wbe(t,u,s){if(u&&ATt(t,s))return x2(u,t);switch(t.kind){case 11:{const d=s&2?X0e:s&1||bs(t)&16777216?Av:jj;return t.singleQuote?"'"+d(t.text,39)+"'":'"'+d(t.text,34)+'"'}case 15:case 16:case 17:case 18:{const d=s&1||bs(t)&16777216?Av:jj,f=t.rawText??RTt(d(t.text,96));switch(t.kind){case 15:return"`"+f+"`";case 16:return"`"+f+"${";case 17:return"}"+f+"${";case 18:return"}"+f+"`"}break}case 9:case 10:return t.text;case 14:return s&4&&t.isUnterminated?t.text+(t.text.charCodeAt(t.text.length-1)===92?" /":"/"):t.text}return H.fail(`Literal kind '${t.kind}' not accounted for.`)}function ATt(t,u){if(sl(t)||!t.parent||u&4&&t.isUnterminated)return!1;if(Of(t)){if(t.numericLiteralFlags&26656)return!1;if(t.numericLiteralFlags&512)return!!(u&8)}return!iY(t)}function Tbe(t){return Ja(t)?'"'+jj(t)+'"':""+t}function Lbe(t){return Ac(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function h0e(t){return(QD(t)&7)!==0||f0e(t)}function f0e(t){const u=XE(t);return u.kind===260&&u.parent.kind===299}function N1(t){return _c(t)&&(t.name.kind===11||Yg(t))}function tq(t){return _c(t)&&t.name.kind===11}function m0e(t){return _c(t)&&us(t.name)}function Nbe(t){return _c(t)||at(t)}function $N(t){return STt(t.valueDeclaration)}function STt(t){return!!t&&t.kind===267&&!t.body}function Pbe(t){return t.kind===312||t.kind===267||L8(t)}function Yg(t){return!!(t.flags&2048)}function v2(t){return N1(t)&&p0e(t)}function p0e(t){switch(t.parent.kind){case 312:return wc(t.parent);case 268:return N1(t.parent.parent)&&la(t.parent.parent.parent)&&!wc(t.parent.parent.parent)}return!1}function g0e(t){var u;return(u=t.declarations)==null?void 0:u.find(s=>!v2(s)&&!(_c(s)&&Yg(s)))}function BTt(t){return t===1||t===100||t===199}function s7(t,u){return wc(t)||BTt(m1(u))&&!!t.commonJsModuleIndicator}function E0e(t,u){switch(t.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return t.isDeclarationFile?!1:Z4(u,"alwaysStrict")||AFe(t.statements)?!0:wc(t)||mg(u)?m1(u)>=5?!0:!u.noImplicitUseStrict:!1}function _0e(t){return!!(t.flags&33554432)||Yu(t,128)}function D0e(t,u){switch(t.kind){case 312:case 269:case 299:case 267:case 248:case 249:case 250:case 176:case 174:case 177:case 178:case 262:case 218:case 219:case 172:case 175:return!0;case 241:return!L8(u)}return!1}function x0e(t){switch(H.type(t),t.kind){case 345:case 353:case 330:return!0;default:return v0e(t)}}function v0e(t){switch(H.type(t),t.kind){case 179:case 180:case 173:case 181:case 184:case 185:case 324:case 263:case 231:case 264:case 265:case 352:case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function tk(t){switch(t.kind){case 272:case 271:return!0;default:return!1}}function Mbe(t){return tk(t)||F2(t)}function iq(t){switch(t.kind){case 272:case 271:case 243:case 263:case 262:case 267:case 265:case 264:case 266:return!0;default:return!1}}function zbe(t){return aj(t)||_c(t)||nD(t)||dm(t)}function aj(t){return tk(t)||Gc(t)}function C0e(t){return Tn(t.parent,u=>!!(Lde(u)&1))}function YE(t){return Tn(t.parent,u=>D0e(u,u.parent))}function Ibe(t,u){let s=YE(t);for(;s;)u(s),s=YE(s)}function b0(t){return!t||ij(t)===0?"(Missing)":Hc(t)}function Rbe(t){return t.declaration?b0(t.declaration.parameters[0].name):void 0}function oj(t){return t.kind===167&&!Pm(t.expression)}function UN(t){var u;switch(t.kind){case 80:case 81:return(u=t.emitNode)!=null&&u.autoGenerate?void 0:t.escapedText;case 11:case 9:case 15:return Al(t.text);case 167:return Pm(t.expression)?Al(t.expression.text):void 0;case 295:return k7(t);default:return H.assertNever(t)}}function V8(t){return H.checkDefined(UN(t))}function zf(t){switch(t.kind){case 110:return"this";case 81:case 80:return ij(t)===0?fu(t):Hc(t);case 166:return zf(t.left)+"."+zf(t.right);case 211:return at(t.name)||Xr(t.name)?zf(t.expression)+"."+zf(t.name):H.assertNever(t.name);case 318:return zf(t.left)+zf(t.right);case 295:return zf(t.namespace)+":"+zf(t.name);default:return H.assertNever(t)}}function Su(t,u,...s){const d=zn(t);return K4(d,t,u,...s)}function H8(t,u,s,...d){const f=gs(t.text,u.pos);return Rd(t,f,u.end-f,s,...d)}function K4(t,u,s,...d){const f=C2(t,u);return Rd(t,f.start,f.length,s,...d)}function Y3(t,u,s,d){const f=C2(t,u);return nq(t,f.start,f.length,s,d)}function sj(t,u,s,d){const f=gs(t.text,u.pos);return nq(t,f,u.end-f,s,d)}function Obe(t,u,s){H.assertGreaterThanOrEqual(u,0),H.assertGreaterThanOrEqual(s,0),H.assertLessThanOrEqual(u,t.length),H.assertLessThanOrEqual(u+s,t.length)}function nq(t,u,s,d,f){return Obe(t.text,u,s),{file:t,start:u,length:s,code:d.code,category:d.category,messageText:d.next?d:d.messageText,relatedInformation:f}}function b0e(t,u,s){return{file:t,start:0,length:0,code:u.code,category:u.category,messageText:u.next?u:u.messageText,relatedInformation:s}}function jbe(t){return typeof t.messageText=="string"?{code:t.code,category:t.category,messageText:t.messageText,next:t.next}:t.messageText}function Vbe(t,u,s){return{file:t,start:u.pos,length:u.end-u.pos,code:s.code,category:s.category,messageText:s.message}}function QE(t,u){const s=YD(t.languageVersion,!0,t.languageVariant,t.text,void 0,u);s.scan();const d=s.getTokenStart();return Vc(d,s.getTokenEnd())}function Hbe(t,u){const s=YD(t.languageVersion,!0,t.languageVariant,t.text,void 0,u);return s.scan(),s.getToken()}function wTt(t,u){const s=gs(t.text,u.pos);if(u.body&&u.body.kind===241){const{line:d}=s0(t,u.body.pos),{line:f}=s0(t,u.body.end);if(d0?u.statements[0].pos:u.end;return Vc(p,E)}case 253:case 229:{const p=gs(t.text,u.pos);return QE(t,p)}case 238:{const p=gs(t.text,u.expression.end);return QE(t,p)}case 357:{const p=gs(t.text,u.tagName.pos);return QE(t,p)}}if(s===void 0)return QE(t,u.pos);H.assert(!Vp(s));const d=Ql(s),f=d||w7(u)?s.pos:gs(t.text,s.pos);return d?(H.assert(f===s.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),H.assert(f===s.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(H.assert(f>=s.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),H.assert(f<=s.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),Vc(f,s.end)}function cm(t){return(t.externalModuleIndicator||t.commonJsModuleIndicator)!==void 0}function W4(t){return t.scriptKind===6}function b2(t){return!!(m2(t)&4096)}function uq(t){return!!(m2(t)&8&&!Mf(t,t.parent))}function lj(t){return(QD(t)&7)===6}function cj(t){return(QD(t)&7)===4}function K8(t){return(QD(t)&7)===2}function rq(t){return(QD(t)&7)===1}function ik(t){return t.kind===213&&t.expression.kind===108}function dm(t){return t.kind===213&&t.expression.kind===102}function W8(t){return $P(t)&&t.keywordToken===102&&t.name.escapedText==="meta"}function zx(t){return nD(t)&&Mv(t.argument)&&us(t.argument.literal)}function Mp(t){return t.kind===244&&t.expression.kind===11}function dj(t){return!!(bs(t)&2097152)}function aq(t){return dj(t)&&ed(t)}function TTt(t){return at(t.name)&&!t.initializer}function oq(t){return dj(t)&&Jl(t)&&ye(t.declarationList.declarations,TTt)}function y0e(t,u){return t.kind!==12?W_(u.text,t.pos):void 0}function k0e(t,u){const s=t.kind===169||t.kind===168||t.kind===218||t.kind===219||t.kind===217||t.kind===260||t.kind===281?Hi(gv(u,t.pos),W_(u,t.pos)):W_(u,t.pos);return ti(s,d=>u.charCodeAt(d.pos+1)===42&&u.charCodeAt(d.pos+2)===42&&u.charCodeAt(d.pos+3)!==47)}function q_(t){if(182<=t.kind&&t.kind<=205)return!0;switch(t.kind){case 133:case 159:case 150:case 163:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return t.parent.kind!==222;case 233:return mm(t.parent)&&!Jj(t);case 168:return t.parent.kind===200||t.parent.kind===195;case 80:(t.parent.kind===166&&t.parent.right===t||t.parent.kind===211&&t.parent.name===t)&&(t=t.parent),H.assert(t.kind===80||t.kind===166||t.kind===211,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 166:case 211:case 110:{const{parent:u}=t;if(u.kind===186)return!1;if(u.kind===205)return!u.isTypeOf;if(182<=u.kind&&u.kind<=205)return!0;switch(u.kind){case 233:return mm(u.parent)&&!Jj(u);case 168:return t===u.constraint;case 352:return t===u.constraint;case 172:case 171:case 169:case 260:return t===u.type;case 262:case 218:case 219:case 176:case 174:case 173:case 177:case 178:return t===u.type;case 179:case 180:case 181:return t===u.type;case 216:return t===u.type;case 213:case 214:case 215:return kt(u.typeArguments,t)}}}return!1}function TZe(t,u){for(;t;){if(t.kind===u)return!0;t=t.parent}return!1}function y2(t,u){return s(t);function s(d){switch(d.kind){case 253:return u(d);case 269:case 241:case 245:case 246:case 247:case 248:case 249:case 250:case 254:case 255:case 296:case 297:case 256:case 258:case 299:return ao(d,s)}}}function Kbe(t,u){return s(t);function s(d){switch(d.kind){case 229:u(d);const f=d.expression;f&&s(f);return;case 266:case 264:case 267:case 265:return;default:if(Co(d)){if(d.name&&d.name.kind===167){s(d.name.expression);return}}else q_(d)||ao(d,s)}}}function F0e(t){return t&&t.kind===188?t.elementType:t&&t.kind===183?Aa(t.typeArguments):void 0}function Wbe(t){switch(t.kind){case 264:case 263:case 231:case 187:return t.members;case 210:return t.properties}}function G8(t){if(t)switch(t.kind){case 208:case 306:case 169:case 303:case 172:case 171:case 304:case 260:return!0}return!1}function Gbe(t){return G8(t)||wx(t)}function qN(t){return t.parent.kind===261&&t.parent.parent.kind===243}function Jbe(t){return Qn(t)?ys(t.parent)&&Xn(t.parent.parent)&&Xl(t.parent.parent)===2||sq(t.parent):!1}function sq(t){return Qn(t)?Xn(t)&&Xl(t)===1:!1}function $be(t){return(na(t)?K8(t)&&at(t.name)&&qN(t):ko(t)?fP(t)&&Kc(t):Mm(t)&&fP(t))||sq(t)}function Ube(t){switch(t.kind){case 174:case 173:case 176:case 177:case 178:case 262:case 218:return!0}return!1}function A0e(t,u){for(;;){if(u&&u(t),t.statement.kind!==256)return t.statement;t=t.statement}}function k2(t){return t&&t.kind===241&&Co(t.parent)}function zp(t){return t&&t.kind===174&&t.parent.kind===210}function lq(t){return(t.kind===174||t.kind===177||t.kind===178)&&(t.parent.kind===210||t.parent.kind===231)}function qbe(t){return t&&t.kind===1}function LZe(t){return t&&t.kind===0}function J8(t,u,s,d){return L(t==null?void 0:t.properties,f=>{if(!Jc(f))return;const p=UN(f.name);return u===p||d&&d===p?s(f):void 0})}function Zbe(t,u,s){return J8(t,u,d=>Dh(d.initializer)?Le(d.initializer.elements,f=>us(f)&&f.text===s):void 0)}function ZN(t){if(t&&t.statements.length){const u=t.statements[0].expression;return ur(u,ys)}}function cq(t,u,s){return hj(t,u,d=>Dh(d.initializer)?Le(d.initializer.elements,f=>us(f)&&f.text===s):void 0)}function hj(t,u,s){return J8(ZN(t),u,s)}function Nm(t){return Tn(t.parent,Co)}function Ybe(t){return Tn(t.parent,$0)}function Yd(t){return Tn(t.parent,mr)}function Qbe(t){return Tn(t.parent,u=>mr(u)||Co(u)?"quit":zl(u))}function dq(t){return Tn(t.parent,L8)}function hq(t){const u=Tn(t.parent,s=>mr(s)?"quit":g1(s));return u&&mr(u.parent)?Yd(u.parent):Yd(u??t)}function tf(t,u,s){for(H.assert(t.kind!==312);;){if(t=t.parent,!t)return H.fail();switch(t.kind){case 167:if(s&&mr(t.parent.parent))return t;t=t.parent.parent;break;case 170:t.parent.kind===169&&Zd(t.parent.parent)?t=t.parent.parent:Zd(t.parent)&&(t=t.parent);break;case 219:if(!u)continue;case 262:case 218:case 267:case 175:case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 179:case 180:case 181:case 266:case 312:return t}}}function Xbe(t){switch(t.kind){case 219:case 262:case 218:case 172:return!0;case 241:switch(t.parent.kind){case 176:case 174:case 177:case 178:return!0;default:return!1}default:return!1}}function fq(t){at(t)&&(Wc(t.parent)||ed(t.parent))&&t.parent.name===t&&(t=t.parent);const u=tf(t,!0,!1);return la(u)}function eye(t){const u=tf(t,!1,!1);if(u)switch(u.kind){case 176:case 262:case 218:return u}}function fj(t,u){for(;;){if(t=t.parent,!t)return;switch(t.kind){case 167:t=t.parent;break;case 262:case 218:case 219:if(!u)continue;case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 175:return t;case 170:t.parent.kind===169&&Zd(t.parent.parent)?t=t.parent.parent:Zd(t.parent)&&(t=t.parent);break}}}function nk(t){if(t.kind===218||t.kind===219){let u=t,s=t.parent;for(;s.kind===217;)u=s,s=s.parent;if(s.kind===213&&s.expression===u)return s}}function NZe(t){return t.kind===108||nf(t)}function nf(t){const u=t.kind;return(u===211||u===212)&&t.expression.kind===108}function mj(t){const u=t.kind;return(u===211||u===212)&&t.expression.kind===110}function mq(t){var u;return!!t&&na(t)&&((u=t.initializer)==null?void 0:u.kind)===110}function tye(t){return!!t&&(pm(t)||Jc(t))&&Xn(t.parent.parent)&&t.parent.parent.operatorToken.kind===64&&t.parent.parent.right.kind===110}function pj(t){switch(t.kind){case 183:return t.typeName;case 233:return ec(t.expression)?t.expression:void 0;case 80:case 166:return t}}function pq(t){switch(t.kind){case 215:return t.tag;case 286:case 285:return t.tagName;case 226:return t.right;default:return t.expression}}function gq(t,u,s,d){if(t&&mh(u)&&Xr(u.name))return!1;switch(u.kind){case 263:return!0;case 231:return!t;case 172:return s!==void 0&&(t?Wc(s):mr(s)&&!P2(u)&&!rle(u));case 177:case 178:case 174:return u.body!==void 0&&s!==void 0&&(t?Wc(s):mr(s));case 169:return t?s!==void 0&&s.body!==void 0&&(s.kind===176||s.kind===174||s.kind===178)&&T2(s)!==u&&d!==void 0&&d.kind===263:!1}return!1}function YN(t,u,s,d){return o4(u)&&gq(t,u,s,d)}function gj(t,u,s,d){return YN(t,u,s,d)||QN(t,u,s)}function QN(t,u,s){switch(u.kind){case 263:return Oe(u.members,d=>gj(t,d,u,s));case 231:return!t&&Oe(u.members,d=>gj(t,d,u,s));case 174:case 178:case 176:return Oe(u.parameters,d=>YN(t,d,u,s));default:return!1}}function t5(t,u){if(YN(t,u))return!0;const s=X_(u);return!!s&&QN(t,s,u)}function S0e(t,u,s){let d;if(wx(u)){const{firstAccessor:f,secondAccessor:p,setAccessor:E}=dk(s.members,u),v=o4(f)?f:p&&o4(p)?p:void 0;if(!v||u!==v)return!1;d=E==null?void 0:E.parameters}else dc(u)&&(d=u.parameters);if(YN(t,u,s))return!0;if(d){for(const f of d)if(!L2(f)&&YN(t,f,u,s))return!0}return!1}function B0e(t){if(t.textSourceNode){switch(t.textSourceNode.kind){case 11:return B0e(t.textSourceNode);case 15:return t.text===""}return!1}return t.text===""}function $8(t){const{parent:u}=t;return u.kind===286||u.kind===285||u.kind===287?u.tagName===t:!1}function Z_(t){switch(t.kind){case 108:case 106:case 112:case 97:case 14:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 234:case 216:case 238:case 235:case 217:case 218:case 231:case 219:case 222:case 220:case 221:case 224:case 225:case 226:case 227:case 230:case 228:case 232:case 284:case 285:case 288:case 229:case 223:case 236:return!0;case 233:return!mm(t.parent)&&!LB(t.parent);case 166:for(;t.parent.kind===166;)t=t.parent;return t.parent.kind===186||o7(t.parent)||QP(t.parent)||Rv(t.parent)||$8(t);case 318:for(;Rv(t.parent);)t=t.parent;return t.parent.kind===186||o7(t.parent)||QP(t.parent)||Rv(t.parent)||$8(t);case 81:return Xn(t.parent)&&t.parent.left===t&&t.parent.operatorToken.kind===103;case 80:if(t.parent.kind===186||o7(t.parent)||QP(t.parent)||Rv(t.parent)||$8(t))return!0;case 9:case 10:case 11:case 15:case 110:return Eq(t);default:return!1}}function Eq(t){const{parent:u}=t;switch(u.kind){case 260:case 169:case 172:case 171:case 306:case 303:case 208:return u.initializer===t;case 244:case 245:case 246:case 247:case 253:case 254:case 255:case 296:case 257:return u.expression===t;case 248:const s=u;return s.initializer===t&&s.initializer.kind!==261||s.condition===t||s.incrementor===t;case 249:case 250:const d=u;return d.initializer===t&&d.initializer.kind!==261||d.expression===t;case 216:case 234:return t===u.expression;case 239:return t===u.expression;case 167:return t===u.expression;case 170:case 294:case 293:case 305:return!0;case 233:return u.expression===t&&!q_(u);case 304:return u.objectAssignmentInitializer===t;case 238:return t===u.expression;default:return Z_(u)}}function _q(t){for(;t.kind===166||t.kind===80;)t=t.parent;return t.kind===186}function iye(t){return u_(t)&&!!t.parent.moduleSpecifier}function bv(t){return t.kind===271&&t.moduleReference.kind===283}function XN(t){return H.assert(bv(t)),t.moduleReference.expression}function w0e(t){return F2(t)&&CP(t.initializer).arguments[0]}function U8(t){return t.kind===271&&t.moduleReference.kind!==283}function gh(t){return Qn(t)}function PZe(t){return!Qn(t)}function Qn(t){return!!t&&!!(t.flags&524288)}function Dq(t){return!!t&&!!(t.flags&134217728)}function T0e(t){return!W4(t)}function Ej(t){return!!t&&!!(t.flags&16777216)}function xq(t){return X4(t)&&at(t.typeName)&&t.typeName.escapedText==="Object"&&t.typeArguments&&t.typeArguments.length===2&&(t.typeArguments[0].kind===154||t.typeArguments[0].kind===150)}function xf(t,u){if(t.kind!==213)return!1;const{expression:s,arguments:d}=t;if(s.kind!==80||s.escapedText!=="require"||d.length!==1)return!1;const f=d[0];return!u||t0(f)}function vq(t){return MZe(t,!1)}function F2(t){return MZe(t,!0)}function nye(t){return js(t)&&F2(t.parent.parent)}function MZe(t,u){return na(t)&&!!t.initializer&&xf(u?CP(t.initializer):t.initializer,!0)}function L0e(t){return Jl(t)&&t.declarationList.declarations.length>0&&ye(t.declarationList.declarations,u=>vq(u))}function _j(t){return t===39||t===34}function Cq(t,u){return x2(u,t).charCodeAt(0)===34}function eP(t){return Xn(t)||I0(t)||at(t)||Mo(t)}function Dj(t){return Qn(t)&&t.initializer&&Xn(t.initializer)&&(t.initializer.operatorToken.kind===57||t.initializer.operatorToken.kind===61)&&t.name&&ec(t.name)&&q8(t.name,t.initializer.left)?t.initializer.right:t.initializer}function xj(t){const u=Dj(t);return u&&yv(u,Ox(t.name))}function LTt(t,u){return L(t.properties,s=>Jc(s)&&at(s.name)&&s.name.escapedText==="value"&&s.initializer&&yv(s.initializer,u))}function l7(t){if(t&&t.parent&&Xn(t.parent)&&t.parent.operatorToken.kind===64){const u=Ox(t.parent.left);return yv(t.parent.right,u)||NTt(t.parent.left,t.parent.right,u)}if(t&&Mo(t)&&rk(t)){const u=LTt(t.arguments[2],t.arguments[1].text==="prototype");if(u)return u}}function yv(t,u){if(Mo(t)){const s=l0(t.expression);return s.kind===218||s.kind===219?t:void 0}if(t.kind===218||t.kind===231||t.kind===219||ys(t)&&(t.properties.length===0||u))return t}function NTt(t,u,s){const d=Xn(u)&&(u.operatorToken.kind===57||u.operatorToken.kind===61)&&yv(u.right,s);if(d&&q8(t,u.left))return d}function uye(t){const u=na(t.parent)?t.parent.name:Xn(t.parent)&&t.parent.operatorToken.kind===64?t.parent.left:void 0;return u&&yv(t.right,Ox(u))&&ec(u)&&q8(u,t.left)}function N0e(t){if(Xn(t.parent)){const u=(t.parent.operatorToken.kind===57||t.parent.operatorToken.kind===61)&&Xn(t.parent.parent)?t.parent.parent:t.parent;if(u.operatorToken.kind===64&&at(u.left))return u.left}else if(na(t.parent))return t.parent.name}function q8(t,u){return Xg(t)&&Xg(u)?J4(t)===J4(u):J_(t)&&bq(u)&&(u.expression.kind===110||at(u.expression)&&(u.expression.escapedText==="window"||u.expression.escapedText==="self"||u.expression.escapedText==="global"))?q8(t,bj(u)):bq(t)&&bq(u)?Q3(t)===Q3(u)&&q8(t.expression,u.expression):!1}function vj(t){for(;ld(t,!0);)t=t.right;return t}function uk(t){return at(t)&&t.escapedText==="exports"}function P0e(t){return at(t)&&t.escapedText==="module"}function Y_(t){return(Iu(t)||Cj(t))&&P0e(t.expression)&&Q3(t)==="exports"}function Xl(t){const u=PTt(t);return u===5||Qn(t)?u:0}function rk(t){return S(t.arguments)===3&&Iu(t.expression)&&at(t.expression.expression)&&fu(t.expression.expression)==="Object"&&fu(t.expression.name)==="defineProperty"&&Pm(t.arguments[1])&&ak(t.arguments[0],!0)}function bq(t){return Iu(t)||Cj(t)}function Cj(t){return U0(t)&&Pm(t.argumentExpression)}function A2(t,u){return Iu(t)&&(!u&&t.expression.kind===110||at(t.name)&&ak(t.expression,!0))||yq(t,u)}function yq(t,u){return Cj(t)&&(!u&&t.expression.kind===110||ec(t.expression)||A2(t.expression,!0))}function ak(t,u){return ec(t)||A2(t,u)}function bj(t){return Iu(t)?t.name:t.argumentExpression}function PTt(t){if(Mo(t)){if(!rk(t))return 0;const u=t.arguments[0];return uk(u)||Y_(u)?8:A2(u)&&Q3(u)==="prototype"?9:7}return t.operatorToken.kind!==64||!I0(t.left)||MTt(vj(t))?0:ak(t.left.expression,!0)&&Q3(t.left)==="prototype"&&ys(M0e(t))?6:yj(t.left)}function MTt(t){return R7(t)&&Of(t.expression)&&t.expression.text==="0"}function kq(t){if(Iu(t))return t.name;const u=l0(t.argumentExpression);return Of(u)||t0(u)?u:t}function Q3(t){const u=kq(t);if(u){if(at(u))return u.escapedText;if(t0(u)||Of(u))return Al(u.text)}}function yj(t){if(t.expression.kind===110)return 4;if(Y_(t))return 2;if(ak(t.expression,!0)){if(Ox(t.expression))return 3;let u=t;for(;!at(u.expression);)u=u.expression;const s=u.expression;if((s.escapedText==="exports"||s.escapedText==="module"&&Q3(u)==="exports")&&A2(t))return 1;if(ak(t,!0)||U0(t)&&Lq(t))return 5}return 0}function M0e(t){for(;Xn(t.right);)t=t.right;return t.right}function kj(t){return Xn(t)&&Xl(t)===3}function rye(t){return Qn(t)&&t.parent&&t.parent.kind===244&&(!U0(t)||Cj(t))&&!!xv(t.parent)}function Fj(t,u){const{valueDeclaration:s}=t;(!s||!(u.flags&33554432&&!Qn(u)&&!(s.flags&33554432))&&eP(s)&&!eP(u)||s.kind!==u.kind&&Nbe(s))&&(t.valueDeclaration=u)}function aye(t){if(!t||!t.valueDeclaration)return!1;const u=t.valueDeclaration;return u.kind===262||na(u)&&u.initializer&&Co(u.initializer)}function Z8(t){var u,s;switch(t.kind){case 260:case 208:return(u=Tn(t.initializer,d=>xf(d,!0)))==null?void 0:u.arguments[0];case 272:case 278:return ur(t.moduleSpecifier,t0);case 271:return ur((s=ur(t.moduleReference,r_))==null?void 0:s.expression,t0);case 273:case 280:return ur(t.parent.moduleSpecifier,t0);case 274:case 281:return ur(t.parent.parent.moduleSpecifier,t0);case 276:return ur(t.parent.parent.parent.moduleSpecifier,t0);case 205:return zx(t)?t.argument.literal:void 0;default:H.assertNever(t)}}function tP(t){return Aj(t)||H.failBadSyntaxKind(t.parent)}function Aj(t){switch(t.parent.kind){case 272:case 278:return t.parent;case 283:return t.parent.parent;case 213:return dm(t.parent)||xf(t.parent,!1)?t.parent:void 0;case 201:return H.assert(us(t)),ur(t.parent.parent,nD);default:return}}function Y8(t){switch(t.kind){case 272:case 278:return t.moduleSpecifier;case 271:return t.moduleReference.kind===283?t.moduleReference.expression:void 0;case 205:return zx(t)?t.argument.literal:void 0;case 213:return t.arguments[0];case 267:return t.name.kind===11?t.name:void 0;default:return H.assertNever(t)}}function Q8(t){switch(t.kind){case 272:return t.importClause&&ur(t.importClause.namedBindings,Jx);case 271:return t;case 278:return t.exportClause&&ur(t.exportClause,u_);default:return H.assertNever(t)}}function c7(t){return t.kind===272&&!!t.importClause&&!!t.importClause.name}function Fq(t,u){if(t.name){const s=u(t);if(s)return s}if(t.namedBindings){const s=Jx(t.namedBindings)?u(t.namedBindings):L(t.namedBindings.elements,u);if(s)return s}}function d7(t){if(t)switch(t.kind){case 169:case 174:case 173:case 304:case 303:case 172:case 171:return t.questionToken!==void 0}return!1}function X8(t){const u=TB(t)?Ki(t.parameters):void 0,s=ur(u&&u.name,at);return!!s&&s.escapedText==="new"}function G4(t){return t.kind===353||t.kind===345||t.kind===347}function Sj(t){return G4(t)||jp(t)}function zTt(t){return Od(t)&&Xn(t.expression)&&t.expression.operatorToken.kind===64?vj(t.expression):void 0}function zZe(t){return Od(t)&&Xn(t.expression)&&Xl(t.expression)!==0&&Xn(t.expression.right)&&(t.expression.right.operatorToken.kind===57||t.expression.right.operatorToken.kind===61)?t.expression.right.right:void 0}function z0e(t){switch(t.kind){case 243:const u=eB(t);return u&&u.initializer;case 172:return t.initializer;case 303:return t.initializer}}function eB(t){return Jl(t)?Ki(t.declarationList.declarations):void 0}function IZe(t){return _c(t)&&t.body&&t.body.kind===267?t.body:void 0}function Bj(t){if(t.kind>=243&&t.kind<=259)return!0;switch(t.kind){case 80:case 110:case 108:case 166:case 236:case 212:case 211:case 208:case 218:case 219:case 174:case 177:case 178:return!0;default:return!1}}function wj(t){switch(t.kind){case 219:case 226:case 241:case 252:case 179:case 296:case 263:case 231:case 175:case 176:case 185:case 180:case 251:case 259:case 246:case 212:case 242:case 1:case 266:case 306:case 277:case 278:case 281:case 244:case 249:case 250:case 248:case 262:case 218:case 184:case 177:case 80:case 245:case 272:case 271:case 181:case 264:case 324:case 330:case 256:case 174:case 173:case 267:case 202:case 270:case 210:case 169:case 217:case 211:case 303:case 172:case 171:case 253:case 240:case 178:case 304:case 305:case 255:case 257:case 258:case 265:case 168:case 260:case 243:case 247:case 254:return!0;default:return!1}}function I0e(t,u){let s;G8(t)&&Nx(t)&&lm(t.initializer)&&(s=yn(s,RZe(t,Cr(t.initializer.jsDoc))));let d=t;for(;d&&d.parent;){if(lm(d)&&(s=yn(s,RZe(t,Cr(d.jsDoc)))),d.kind===169){s=yn(s,(u?O2e:B8)(d));break}if(d.kind===168){s=yn(s,(u?V2e:j2e)(d));break}d=R0e(d)}return s||_t}function RZe(t,u){if(Vp(u)){const s=ti(u.tags,d=>OZe(t,d));return u.tags===s?[u]:s}return OZe(t,u)?[u]:void 0}function OZe(t,u){return!(XP(u)||_Y(u))||!u.parent||!Vp(u.parent)||!Cf(u.parent.parent)||u.parent.parent===t}function R0e(t){const u=t.parent;if(u.kind===303||u.kind===277||u.kind===172||u.kind===244&&t.kind===211||u.kind===253||IZe(u)||ld(t))return u;if(u.parent&&(eB(u.parent)===t||ld(u)))return u.parent;if(u.parent&&u.parent.parent&&(eB(u.parent.parent)||z0e(u.parent.parent)===t||zZe(u.parent.parent)))return u.parent.parent}function Tj(t){if(t.symbol)return t.symbol;if(!at(t.name))return;const u=t.name.escapedText,s=kv(t);if(!s)return;const d=Le(s.parameters,f=>f.name.kind===80&&f.name.escapedText===u);return d&&d.symbol}function Aq(t){if(Vp(t.parent)&&t.parent.tags){const u=Le(t.parent.tags,G4);if(u)return u}return kv(t)}function kv(t){const u=ok(t);if(u)return Mm(u)&&u.type&&Co(u.type)?u.type:Co(u)?u:void 0}function ok(t){const u=h7(t);if(u)return zZe(u)||zTt(u)||z0e(u)||eB(u)||IZe(u)||u}function h7(t){const u=iP(t);if(!u)return;const s=u.parent;if(s&&s.jsDoc&&u===qu(s.jsDoc))return s}function iP(t){return Tn(t.parent,Vp)}function oye(t){const u=t.name.escapedText,{typeParameters:s}=t.parent.parent.parent;return s&&Le(s,d=>d.name.escapedText===u)}function jZe(t){return!!t.typeArguments}function sye(t){let u=t.parent;for(;;){switch(u.kind){case 226:const s=u,d=s.operatorToken.kind;return u5(d)&&s.left===t?s:void 0;case 224:case 225:const f=u,p=f.operator;return p===46||p===47?f:void 0;case 249:case 250:const E=u;return E.initializer===t?E:void 0;case 217:case 209:case 230:case 235:t=u;break;case 305:t=u.parent;break;case 304:if(u.name!==t)return;t=u.parent;break;case 303:if(u.name===t)return;t=u.parent;break;default:return}u=t.parent}}function f7(t){const u=sye(t);if(!u)return 0;switch(u.kind){case 226:const s=u.operatorToken.kind;return s===64||mP(s)?1:2;case 224:case 225:return 2;case 249:case 250:return 1}}function Q_(t){return!!sye(t)}function ITt(t){const u=l0(t.right);return u.kind===226&&Kce(u.operatorToken.kind)}function O0e(t){const u=sye(t);return!!u&&ld(u,!0)&&ITt(u)}function lye(t){switch(t.kind){case 241:case 243:case 254:case 245:case 255:case 269:case 296:case 297:case 256:case 248:case 249:case 250:case 246:case 247:case 258:case 299:return!0}return!1}function cye(t){return A0(t)||q0(t)||N8(t)||ed(t)||hc(t)}function VZe(t,u){for(;t&&t.kind===u;)t=t.parent;return t}function Lj(t){return VZe(t,196)}function i5(t){return VZe(t,217)}function dye(t){let u;for(;t&&t.kind===196;)u=t,t=t.parent;return[u,t]}function j0e(t){for(;M7(t);)t=t.type;return t}function l0(t,u){return Dc(t,u?17:1)}function V0e(t){return t.kind!==211&&t.kind!==212?!1:(t=i5(t.parent),t&&t.kind===220)}function S2(t,u){for(;t;){if(t===u)return!0;t=t.parent}return!1}function X3(t){return!la(t)&&!So(t)&&Q1(t.parent)&&t.parent.name===t}function nP(t){const u=t.parent;switch(t.kind){case 11:case 15:case 9:if(Ps(u))return u.parent;case 80:if(Q1(u))return u.name===t?u:void 0;if(vf(u)){const s=u.parent;return Eg(s)&&s.name===u?s:void 0}else{const s=u.parent;return Xn(s)&&Xl(s)!==0&&(s.left.symbol||s.symbol)&&Za(s)===t?s:void 0}case 81:return Q1(u)&&u.name===t?u:void 0;default:return}}function Nj(t){return Pm(t)&&t.parent.kind===167&&Q1(t.parent.parent)}function hye(t){const u=t.parent;switch(u.kind){case 172:case 171:case 174:case 173:case 177:case 178:case 306:case 303:case 211:return u.name===t;case 166:return u.right===t;case 208:case 276:return u.propertyName===t;case 281:case 291:case 285:case 286:case 287:return!0}return!1}function HZe(t){return t.kind===271||t.kind===270||t.kind===273&&t.name||t.kind===274||t.kind===280||t.kind===276||t.kind===281||t.kind===277&&tB(t)?!0:Qn(t)&&(Xn(t)&&Xl(t)===2&&tB(t)||Iu(t)&&Xn(t.parent)&&t.parent.left===t&&t.parent.operatorToken.kind===64&&Pj(t.parent.right))}function H0e(t){switch(t.parent.kind){case 273:case 276:case 274:case 281:case 277:case 271:case 280:return t.parent;case 166:do t=t.parent;while(t.parent.kind===166);return H0e(t)}}function Pj(t){return ec(t)||Xd(t)}function tB(t){const u=K0e(t);return Pj(u)}function K0e(t){return tc(t)?t.expression:t.right}function fye(t){return t.kind===304?t.name:t.kind===303?t.initializer:t.parent.right}function Qg(t){const u=B2(t);if(u&&Qn(t)){const s=K2e(t);if(s)return s.class}return u}function B2(t){const u=Mj(t.heritageClauses,96);return u&&u.types.length>0?u.types[0]:void 0}function iB(t){if(Qn(t))return W2e(t).map(u=>u.class);{const u=Mj(t.heritageClauses,119);return u==null?void 0:u.types}}function uP(t){return xh(t)?rP(t)||_t:mr(t)&&Hi(Hy(Qg(t)),iB(t))||_t}function rP(t){const u=Mj(t.heritageClauses,96);return u?u.types:void 0}function Mj(t,u){if(t){for(const s of t)if(s.token===u)return s}}function Fv(t,u){for(;t;){if(t.kind===u)return t;t=t.parent}}function uf(t){return 83<=t&&t<=165}function W0e(t){return 19<=t&&t<=79}function Sq(t){return uf(t)||W0e(t)}function Bq(t){return 128<=t&&t<=165}function G0e(t){return uf(t)&&!Bq(t)}function KZe(t){return 119<=t&&t<=127}function m7(t){const u=f2(t);return u!==void 0&&G0e(u)}function WZe(t){const u=f2(t);return u!==void 0&&uf(u)}function wq(t){const u=Dv(t);return!!u&&!Bq(u)}function nB(t){return 2<=t&&t<=7}function kd(t){if(!t)return 4;let u=0;switch(t.kind){case 262:case 218:case 174:t.asteriskToken&&(u|=1);case 219:Yu(t,1024)&&(u|=2);break}return t.body||(u|=4),u}function aP(t){switch(t.kind){case 262:case 218:case 219:case 174:return t.body!==void 0&&t.asteriskToken===void 0&&Yu(t,1024)}return!1}function Pm(t){return t0(t)||Of(t)}function Tq(t){return zv(t)&&(t.operator===40||t.operator===41)&&Of(t.operand)}function Ix(t){const u=Za(t);return!!u&&Lq(u)}function Lq(t){if(!(t.kind===167||t.kind===212))return!1;const u=U0(t)?l0(t.argumentExpression):t.expression;return!Pm(u)&&!Tq(u)}function sk(t){switch(t.kind){case 80:case 81:return t.escapedText;case 11:case 15:case 9:return Al(t.text);case 167:const u=t.expression;return Pm(u)?Al(u.text):Tq(u)?u.operator===41?Uo(u.operator)+u.operand.text:u.operand.text:void 0;case 295:return k7(t);default:return H.assertNever(t)}}function Xg(t){switch(t.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function J4(t){return J_(t)?fu(t):gg(t)?zP(t):t.text}function oP(t){return J_(t)?t.escapedText:gg(t)?k7(t):Al(t.text)}function GZe(t){return`__@${Zo(t)}@${t.escapedName}`}function zj(t,u){return`__#${Zo(t)}@${u}`}function Ij(t){return Pa(t.escapedName,"__@")}function mye(t){return Pa(t.escapedName,"__#")}function JZe(t){return t.kind===80&&t.escapedText==="Symbol"}function pye(t){return at(t)?fu(t)==="__proto__":us(t)&&t.text==="__proto__"}function sP(t,u){switch(t=Dc(t),t.kind){case 231:if(t1e(t))return!1;break;case 218:if(t.name)return!1;break;case 219:break;default:return!1}return typeof u=="function"?u(t):!0}function J0e(t){switch(t.kind){case 303:return!pye(t.name);case 304:return!!t.objectAssignmentInitializer;case 260:return at(t.name)&&!!t.initializer;case 169:return at(t.name)&&!!t.initializer&&!t.dotDotDotToken;case 208:return at(t.name)&&!!t.initializer&&!t.dotDotDotToken;case 172:return!!t.initializer;case 226:switch(t.operatorToken.kind){case 64:case 77:case 76:case 78:return at(t.left)}break;case 277:return!0}return!1}function If(t,u){if(!J0e(t))return!1;switch(t.kind){case 303:return sP(t.initializer,u);case 304:return sP(t.objectAssignmentInitializer,u);case 260:case 169:case 208:case 172:return sP(t.initializer,u);case 226:return sP(t.right,u);case 277:return sP(t.expression,u)}}function $0e(t){return t.escapedText==="push"||t.escapedText==="unshift"}function w2(t){return XE(t).kind===169}function XE(t){for(;t.kind===208;)t=t.parent.parent;return t}function U0e(t){const u=t.kind;return u===176||u===218||u===262||u===219||u===174||u===177||u===178||u===267||u===312}function sl(t){return pg(t.pos)||pg(t.end)}function $Ze(t){return Ua(t,la)||t}function q0e(t){const u=Y0e(t),s=t.kind===214&&t.arguments!==void 0;return Z0e(t.kind,u,s)}function Z0e(t,u,s){switch(t){case 214:return s?0:1;case 224:case 221:case 222:case 220:case 223:case 227:case 229:return 1;case 226:switch(u){case 43:case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 1}}return 0}function lP(t){const u=Y0e(t),s=t.kind===214&&t.arguments!==void 0;return Rj(t.kind,u,s)}function Y0e(t){return t.kind===226?t.operatorToken.kind:t.kind===224||t.kind===225?t.operator:t.kind}function Rj(t,u,s){switch(t){case 361:return 0;case 230:return 1;case 229:return 2;case 227:return 4;case 226:switch(u){case 28:return 0;case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 3;default:return Oj(u)}case 216:case 235:case 224:case 221:case 222:case 220:case 223:return 16;case 225:return 17;case 213:return 18;case 214:return s?19:18;case 215:case 211:case 212:case 236:return 19;case 234:case 238:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 209:case 210:case 218:case 219:case 231:case 14:case 15:case 228:case 217:case 232:case 284:case 285:case 288:return 20;default:return-1}}function Oj(t){switch(t){case 61:return 4;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function uB(t){return ti(t,u=>{switch(u.kind){case 294:return!!u.expression;case 12:return!u.containsOnlyTriviaWhiteSpaces;default:return!0}})}function rB(){let t=[];const u=[],s=new Map;let d=!1;return{add:p,lookup:f,getGlobalDiagnostics:E,getDiagnostics:v};function f(b){let B;if(b.file?B=s.get(b.file.fileName):B=t,!B)return;const k=Kl(B,b,il,Zq);if(k>=0)return B[k]}function p(b){let B;b.file?(B=s.get(b.file.fileName),B||(B=[],s.set(b.file.fileName,B),Tt(u,b.file.fileName,dh))):(d&&(d=!1,t=t.slice()),B=t),Tt(B,b,Zq)}function E(){return d=!0,t}function v(b){if(b)return s.get(b)||[];const B=Tr(u,k=>s.get(k));return t.length&&B.unshift(...t),B}}function RTt(t){return t.replace(vYe,"\\${")}function gye(t){return!!((t.templateFlags||0)&2048)}function Q0e(t){return t&&!!(T7(t)?gye(t):gye(t.head)||Oe(t.templateSpans,u=>gye(u.literal)))}function UZe(t){return"\\u"+("0000"+t.toString(16).toUpperCase()).slice(-4)}function OTt(t,u,s){if(t.charCodeAt(0)===0){const d=s.charCodeAt(u+t.length);return d>=48&&d<=57?"\\x00":"\\0"}return kYe.get(t)||UZe(t.charCodeAt(0))}function Av(t,u){const s=u===96?yYe:u===39?bYe:CYe;return t.replace(s,OTt)}function jj(t,u){return t=Av(t,u),Fke.test(t)?t.replace(Fke,s=>UZe(s.charCodeAt(0))):t}function jTt(t){return"&#x"+t.toString(16).toUpperCase()+";"}function VTt(t){return t.charCodeAt(0)===0?"�":SYe.get(t)||jTt(t.charCodeAt(0))}function X0e(t,u){const s=u===39?AYe:FYe;return t.replace(s,VTt)}function $4(t){const u=t.length;return u>=2&&t.charCodeAt(0)===t.charCodeAt(u-1)&&HTt(t.charCodeAt(0))?t.substring(1,u-1):t}function HTt(t){return t===39||t===34||t===96}function aB(t){const u=t.charCodeAt(0);return u>=97&&u<=122||t.includes("-")}function Nq(t){const u=IP[1];for(let s=IP.length;s<=t;s++)IP.push(IP[s-1]+u);return IP[t]}function oB(){return IP[1].length}function Vj(t){var u,s,d,f,p,E=!1;function v(K){const Y=n7(K);Y.length>1?(f=f+Y.length-1,p=u.length-K.length+Cr(Y),d=p-u.length===0):d=!1}function b(K){K&&K.length&&(d&&(K=Nq(s)+K,d=!1),u+=K,v(K))}function B(K){K&&(E=!1),b(K)}function k(K){K&&(E=!0),b(K)}function T(){u="",s=0,d=!0,f=0,p=0,E=!1}function M(K){K!==void 0&&(u+=K,v(K),E=!1)}function z(K){K&&K.length&&B(K)}function j(K){(!d||K)&&(u+=t,f++,p=u.length,d=!0,E=!1)}function J(){return d?u.length:u.length+t.length}return T(),{write:B,rawWrite:M,writeLiteral:z,writeLine:j,increaseIndent:()=>{s++},decreaseIndent:()=>{s--},getIndent:()=>s,getTextPos:()=>u.length,getLine:()=>f,getColumn:()=>d?s*oB():u.length-p,getText:()=>u,isAtStartOfLine:()=>d,hasTrailingComment:()=>E,hasTrailingWhitespace:()=>!!u.length&&U3(u.charCodeAt(u.length-1)),clear:T,writeKeyword:B,writeOperator:B,writeParameter:B,writeProperty:B,writePunctuation:B,writeSpace:B,writeStringLiteral:B,writeSymbol:(K,Y)=>B(K),writeTrailingSemicolon:B,writeComment:k,getTextPosWithWriteLine:J}}function ele(t){let u=!1;function s(){u&&(t.writeTrailingSemicolon(";"),u=!1)}return{...t,writeTrailingSemicolon(){u=!0},writeLiteral(d){s(),t.writeLiteral(d)},writeStringLiteral(d){s(),t.writeStringLiteral(d)},writeSymbol(d,f){s(),t.writeSymbol(d,f)},writePunctuation(d){s(),t.writePunctuation(d)},writeKeyword(d){s(),t.writeKeyword(d)},writeOperator(d){s(),t.writeOperator(d)},writeParameter(d){s(),t.writeParameter(d)},writeSpace(d){s(),t.writeSpace(d)},writeProperty(d){s(),t.writeProperty(d)},writeComment(d){s(),t.writeComment(d)},writeLine(){s(),t.writeLine()},increaseIndent(){s(),t.increaseIndent()},decreaseIndent(){s(),t.decreaseIndent()}}}function Hj(t){return t.useCaseSensitiveFileNames?t.useCaseSensitiveFileNames():!1}function n5(t){return L1(Hj(t))}function Pq(t,u,s){return u.moduleName||tle(t,u.fileName,s&&s.fileName)}function qZe(t,u){return t.getCanonicalFileName($a(u,t.getCurrentDirectory()))}function Eye(t,u,s){const d=u.getExternalModuleFileFromDeclaration(s);if(!d||d.isDeclarationFile)return;const f=Y8(s);if(!(f&&t0(f)&&!om(f.text)&&!qZe(t,d.path).includes(qZe(t,zd(t.getCommonSourceDirectory())))))return Pq(t,d)}function tle(t,u,s){const d=b=>t.getCanonicalFileName(b),f=J0(s?lr(s):t.getCommonSourceDirectory(),t.getCurrentDirectory(),d),p=$a(u,t.getCurrentDirectory()),E=i7(f,p,f,d,!1),v=_h(E);return s?h2(v):v}function _ye(t,u,s){const d=u.getCompilerOptions();let f;return d.outDir?f=_h(Iq(t,u,d.outDir)):f=_h(t),f+s}function Dye(t,u){return Mq(t,u.getCompilerOptions(),u.getCurrentDirectory(),u.getCommonSourceDirectory(),s=>u.getCanonicalFileName(s))}function Mq(t,u,s,d,f){const p=u.declarationDir||u.outDir,E=p?Rq(t,p,s,d,f):t,v=Kj(E);return _h(E)+v}function Kj(t){return jc(t,[".mjs",".mts"])?".d.mts":jc(t,[".cjs",".cts"])?".d.cts":jc(t,[".json"])?".d.json.ts":".d.ts"}function xye(t){return jc(t,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:jc(t,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:jc(t,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function y0(t){return t.outFile||t.out}function zq(t,u){var s;if(t.paths)return t.baseUrl??H.checkDefined(t.pathsBasePath||((s=u.getCurrentDirectory)==null?void 0:s.call(u)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function ile(t,u,s){const d=t.getCompilerOptions();if(y0(d)){const f=m1(d),p=d.emitDeclarationOnly||f===2||f===4;return ti(t.getSourceFiles(),E=>(p||!wc(E))&&p7(E,t,s))}else{const f=u===void 0?t.getSourceFiles():[u];return ti(f,p=>p7(p,t,s))}}function p7(t,u,s){const d=u.getCompilerOptions();if(d.noEmitForJsFiles&&gh(t)||t.isDeclarationFile||u.isSourceFileFromExternalLibrary(t))return!1;if(s)return!0;if(u.isSourceOfProjectReferenceRedirect(t.fileName))return!1;if(!W4(t))return!0;if(u.getResolvedProjectReferenceToRedirect(t.fileName))return!1;if(y0(d))return!0;if(!d.outDir)return!1;if(d.rootDir||d.composite&&d.configFilePath){const f=$a(yM(d,()=>[],u.getCurrentDirectory(),u.getCanonicalFileName),u.getCurrentDirectory()),p=Rq(t.fileName,d.outDir,u.getCurrentDirectory(),f,u.getCanonicalFileName);if(pv(t.fileName,p,u.getCurrentDirectory(),!u.useCaseSensitiveFileNames())===0)return!1}return!0}function Iq(t,u,s){return Rq(t,s,u.getCurrentDirectory(),u.getCommonSourceDirectory(),d=>u.getCanonicalFileName(d))}function Rq(t,u,s,d,f){let p=$a(t,s);return p=f(p).indexOf(f(d))===0?p.substring(d.length):p,cr(u,p)}function cP(t,u,s,d,f,p,E){t.writeFile(s,d,f,v=>{u.add(cc(F.Could_not_write_file_0_Colon_1,s,v))},p,E)}function ZZe(t,u,s){if(t.length>WE(t)&&!s(t)){const d=lr(t);ZZe(d,u,s),u(t)}}function nle(t,u,s,d,f,p){try{d(t,u,s)}catch{ZZe(lr($o(t)),f,p),d(t,u,s)}}function dP(t,u){const s=$3(t);return TN(s,u)}function lk(t,u){return TN(t,u)}function X_(t){return Le(t.members,u=>hc(u)&&H4(u.body))}function hP(t){if(t&&t.parameters.length>0){const u=t.parameters.length===2&&L2(t.parameters[0]);return t.parameters[u?1:0]}}function vye(t){const u=hP(t);return u&&u.type}function T2(t){if(t.parameters.length&&!Ov(t)){const u=t.parameters[0];if(L2(u))return u}}function L2(t){return N2(t.name)}function N2(t){return!!t&&t.kind===80&&ule(t)}function ck(t){return!!Tn(t,u=>u.kind===186?!0:u.kind===80||u.kind===166?!1:"quit")}function g7(t){if(!N2(t))return!1;for(;vf(t.parent)&&t.parent.left===t;)t=t.parent;return t.parent.kind===186}function ule(t){return t.escapedText==="this"}function dk(t,u){let s,d,f,p;return Ix(u)?(s=u,u.kind===177?f=u:u.kind===178?p=u:H.fail("Accessor has wrong kind")):L(t,E=>{if(wx(E)&&No(E)===No(u)){const v=sk(E.name),b=sk(u.name);v===b&&(s?d||(d=E):s=E,E.kind===177&&!f&&(f=E),E.kind===178&&!p&&(p=E))}}),{firstAccessor:s,secondAccessor:d,getAccessor:f,setAccessor:p}}function f1(t){if(!Qn(t)&&ed(t))return;const u=t.type;return u||!Qn(t)?u:WO(t)?t.typeExpression&&t.typeExpression.type:vv(t)}function Cye(t){return t.type}function U4(t){return Ov(t)?t.type&&t.type.typeExpression&&t.type.typeExpression.type:t.type||(Qn(t)?VO(t):void 0)}function Oq(t){return ju(Cv(t),u=>KTt(u)?u.typeParameters:void 0)}function KTt(t){return _g(t)&&!(t.parent.kind===327&&(t.parent.tags.some(G4)||t.parent.tags.some(NB)))}function bye(t){const u=hP(t);return u&&f1(u)}function yye(t,u,s,d){kye(t,u,s.pos,d)}function kye(t,u,s,d){d&&d.length&&s!==d[0].pos&&lk(t,s)!==lk(t,d[0].pos)&&u.writeLine()}function Fye(t,u,s,d){s!==d&&lk(t,s)!==lk(t,d)&&u.writeLine()}function Aye(t,u,s,d,f,p,E,v){if(d&&d.length>0){f&&s.writeSpace(" ");let b=!1;for(const B of d)b&&(s.writeSpace(" "),b=!1),v(t,u,s,B.pos,B.end,E),B.hasTrailingNewLine?s.writeLine():b=!0;b&&p&&s.writeSpace(" ")}}function Sye(t,u,s,d,f,p,E){let v,b;if(E?f.pos===0&&(v=ti(W_(t,f.pos),B)):v=W_(t,f.pos),v){const k=[];let T;for(const M of v){if(T){const z=lk(u,T.end);if(lk(u,M.pos)>=z+2)break}k.push(M),T=M}if(k.length){const M=lk(u,Cr(k).end);lk(u,gs(t,f.pos))>=M+2&&(yye(u,s,f,v),Aye(t,u,s,k,!1,!0,p,d),b={nodePos:f.pos,detachedCommentEndPos:Cr(k).end})}}return b;function B(k){return XU(t,k.pos)}}function sB(t,u,s,d,f,p){if(t.charCodeAt(d+1)===42){const E=k8(u,d),v=u.length;let b;for(let B=d,k=E.line;B0){let j=z%oB();const J=Nq((z-j)/oB());for(s.rawWrite(J);j;)s.rawWrite(" "),j--}else s.rawWrite("")}WTt(t,f,s,p,B,T),B=T}}else s.writeComment(t.substring(d,f))}function WTt(t,u,s,d,f,p){const E=Math.min(u,p-1),v=t.substring(f,E).trim();v?(s.writeComment(v),E!==u&&s.writeLine()):s.rawWrite(d)}function YZe(t,u,s){let d=0;for(;u=0&&t.kind<=165?0:(t.modifierFlagsCache&536870912||(t.modifierFlagsCache=ale(t)|536870912),s||u&&Qn(t)?(!(t.modifierFlagsCache&268435456)&&t.parent&&(t.modifierFlagsCache|=QZe(t)|268435456),XZe(t.modifierFlagsCache)):GTt(t.modifierFlagsCache))}function Eh(t){return Tye(t,!0)}function Lye(t){return Tye(t,!0,!0)}function Rx(t){return Tye(t,!1)}function QZe(t){let u=0;return t.parent&&!io(t)&&(Qn(t)&&(G2e(t)&&(u|=8388608),J2e(t)&&(u|=16777216),$2e(t)&&(u|=33554432),U2e(t)&&(u|=67108864),q2e(t)&&(u|=134217728)),Z2e(t)&&(u|=65536)),u}function GTt(t){return t&65535}function XZe(t){return t&131071|(t&260046848)>>>23}function JTt(t){return XZe(QZe(t))}function Nye(t){return ale(t)|JTt(t)}function ale(t){let u=Hp(t)?tE(t.modifiers):0;return(t.flags&8||t.kind===80&&t.flags&4096)&&(u|=32),u}function tE(t){let u=0;if(t)for(const s of t)u|=_7(s.kind);return u}function _7(t){switch(t){case 126:return 256;case 125:return 1;case 124:return 4;case 123:return 2;case 128:return 64;case 129:return 512;case 95:return 32;case 138:return 128;case 87:return 4096;case 90:return 2048;case 134:return 1024;case 148:return 8;case 164:return 16;case 103:return 8192;case 147:return 16384;case 170:return 32768}return 0}function eYe(t){return t===57||t===56}function Pye(t){return eYe(t)||t===54}function mP(t){return t===76||t===77||t===78}function ole(t){return Xn(t)&&mP(t.operatorToken.kind)}function Wj(t){return eYe(t)||t===61}function Gj(t){return Xn(t)&&Wj(t.operatorToken.kind)}function u5(t){return t>=64&&t<=79}function sle(t){const u=lle(t);return u&&!u.isImplements?u.class:void 0}function lle(t){if(c5(t)){if(mm(t.parent)&&mr(t.parent.parent))return{class:t.parent.parent,isImplements:t.parent.token===119};if(LB(t.parent)){const u=ok(t.parent);if(u&&mr(u))return{class:u,isImplements:!1}}}}function ld(t,u){return Xn(t)&&(u?t.operatorToken.kind===64:u5(t.operatorToken.kind))&&Df(t.left)}function tYe(t){return ld(t.parent)&&t.parent.left===t}function r5(t){if(ld(t,!0)){const u=t.left.kind;return u===210||u===209}return!1}function Jj(t){return sle(t)!==void 0}function ec(t){return t.kind===80||$j(t)}function hm(t){switch(t.kind){case 80:return t;case 166:do t=t.left;while(t.kind!==80);return t;case 211:do t=t.expression;while(t.kind!==80);return t}}function pP(t){return t.kind===80||t.kind===110||t.kind===108||t.kind===236||t.kind===211&&pP(t.expression)||t.kind===217&&pP(t.expression)}function $j(t){return Iu(t)&&at(t.name)&&ec(t.expression)}function Uj(t){if(Iu(t)){const u=Uj(t.expression);if(u!==void 0)return u+"."+zf(t.name)}else if(U0(t)){const u=Uj(t.expression);if(u!==void 0&&Sc(t.argumentExpression))return u+"."+sk(t.argumentExpression)}else{if(at(t))return Yr(t.escapedText);if(gg(t))return zP(t)}}function Ox(t){return A2(t)&&Q3(t)==="prototype"}function gP(t){return t.parent.kind===166&&t.parent.right===t||t.parent.kind===211&&t.parent.name===t||t.parent.kind===236&&t.parent.name===t}function cle(t){return!!t.parent&&(Iu(t.parent)&&t.parent.name===t||U0(t.parent)&&t.parent.argumentExpression===t)}function Mye(t){return vf(t.parent)&&t.parent.right===t||Iu(t.parent)&&t.parent.name===t||Rv(t.parent)&&t.parent.right===t}function Hq(t){return Xn(t)&&t.operatorToken.kind===104}function zye(t){return Hq(t.parent)&&t===t.parent.right}function dle(t){return t.kind===210&&t.properties.length===0}function Iye(t){return t.kind===209&&t.elements.length===0}function lB(t){if(!(!$Tt(t)||!t.declarations)){for(const u of t.declarations)if(u.localSymbol)return u.localSymbol}}function $Tt(t){return t&&S(t.declarations)>0&&Yu(t.declarations[0],2048)}function Kq(t){return Le(NYe,u=>Ml(t,u))}function UTt(t){const u=[],s=t.length;for(let d=0;d>6|192),u.push(f&63|128)):f<65536?(u.push(f>>12|224),u.push(f>>6&63|128),u.push(f&63|128)):f<131072?(u.push(f>>18|240),u.push(f>>12&63|128),u.push(f>>6&63|128),u.push(f&63|128)):H.assert(!1,"Unexpected code point")}return u}function Rye(t){let u="";const s=UTt(t);let d=0;const f=s.length;let p,E,v,b;for(;d>2,E=(s[d]&3)<<4|s[d+1]>>4,v=(s[d+1]&15)<<2|s[d+2]>>6,b=s[d+2]&63,d+1>=f?v=b=64:d+2>=f&&(b=64),u+=pk.charAt(p)+pk.charAt(E)+pk.charAt(v)+pk.charAt(b),d+=3;return u}function qTt(t){let u="",s=0;const d=t.length;for(;s>4&3,k=(E&15)<<4|v>>2&15,T=(v&3)<<6|b&63;k===0&&v!==0?d.push(B):T===0&&b!==0?d.push(B,k):d.push(B,k,T),f+=4}return qTt(d)}function hle(t,u){const s=Ja(u)?u:u.readFile(t);if(!s)return;const d=tde(t,s);return d.error?void 0:d.config}function EP(t,u){return hle(t,u)||{}}function hg(t,u){return!u.directoryExists||u.directoryExists(t)}function a5(t){switch(t.newLine){case 0:return BYe;case 1:case void 0:return wYe}}function s4(t,u=t){return H.assert(u>=t||u===-1),{pos:t,end:u}}function Wq(t,u){return s4(t.pos,u)}function Sv(t,u){return s4(u,t.end)}function o5(t){const u=Hp(t)?lt(t.modifiers,g1):void 0;return u&&!pg(u.end)?Sv(t,u.end):t}function iE(t){if(ko(t)||dc(t))return Sv(t,t.name.pos);const u=Hp(t)?qu(t.modifiers):void 0;return u&&!pg(u.end)?Sv(t,u.end):o5(t)}function iYe(t){return t.pos===t.end}function fle(t,u){return s4(t,t+Uo(u).length)}function hk(t,u){return Hye(t,t,u)}function Gq(t,u,s){return q4(_P(t,s,!1),_P(u,s,!1),s)}function Vye(t,u,s){return q4(t.end,u.end,s)}function Hye(t,u,s){return q4(_P(t,s,!1),u.end,s)}function qj(t,u,s){return q4(t.end,_P(u,s,!1),s)}function mle(t,u,s,d){const f=_P(u,s,d);return LN(s,t.end,f)}function nYe(t,u,s){return LN(s,t.end,u.end)}function Kye(t,u){return!q4(t.pos,t.end,u)}function q4(t,u,s){return LN(s,t,u)===0}function _P(t,u,s){return pg(t.pos)?-1:gs(u.text,t.pos,!1,s)}function Wye(t,u,s,d){const f=gs(s.text,t,!1,d),p=ZTt(f,u,s);return LN(s,p??u,f)}function Gye(t,u,s,d){const f=gs(s.text,t,!1,d);return LN(s,t,Math.min(u,f))}function ZTt(t,u=0,s){for(;t-- >u;)if(!U3(s.text.charCodeAt(t)))return t}function ple(t){const u=Ua(t);if(u)switch(u.parent.kind){case 266:case 267:return u===u.parent.name}return!1}function DP(t){return ti(t.declarations,Zj)}function Zj(t){return na(t)&&t.initializer!==void 0}function uYe(t){return t.watch&&gu(t,"watch")}function fg(t){t.close()}function Gl(t){return t.flags&33554432?t.links.checkFlags:0}function l4(t,u=!1){if(t.valueDeclaration){const s=u&&t.declarations&&Le(t.declarations,jf)||t.flags&32768&&Le(t.declarations,zm)||t.valueDeclaration,d=m2(s);return t.parent&&t.parent.flags&32?d:d&-8}if(Gl(t)&6){const s=t.links.checkFlags,d=s&1024?2:s&256?1:4,f=s&2048?256:0;return d|f}return t.flags&4194304?257:0}function X1(t,u){return t.flags&2097152?u.getAliasedSymbol(t):t}function xP(t){return t.exportSymbol?t.exportSymbol.flags|t.flags:t.flags}function Jq(t){return vP(t)===1}function D7(t){return vP(t)!==0}function vP(t){const{parent:u}=t;switch(u==null?void 0:u.kind){case 217:return vP(u);case 225:case 224:const{operator:s}=u;return s===46||s===47?2:0;case 226:const{left:d,operatorToken:f}=u;return d===t&&u5(f.kind)?f.kind===64?1:2:0;case 211:return u.name!==t?0:vP(u);case 303:{const p=vP(u.parent);return t===u.name?YTt(p):p}case 304:return t===u.objectAssignmentInitializer?0:vP(u.parent);case 209:return vP(u);default:return 0}}function YTt(t){switch(t){case 0:return 1;case 1:return 0;case 2:return 2;default:return H.assertNever(t)}}function gle(t,u){if(!t||!u||Object.keys(t).length!==Object.keys(u).length)return!1;for(const s in t)if(typeof t[s]=="object"){if(!gle(t[s],u[s]))return!1}else if(typeof t[s]!="function"&&t[s]!==u[s])return!1;return!0}function rf(t,u){t.forEach(u),t.clear()}function eD(t,u,s){const{onDeleteValue:d,onExistingValue:f}=s;t.forEach((p,E)=>{const v=u.get(E);v===void 0?(t.delete(E),d(p,E)):f&&f(p,v,E)})}function cB(t,u,s){eD(t,u,s);const{createNewValue:d}=s;u.forEach((f,p)=>{t.has(p)||t.set(p,d(p,f))})}function Jye(t){if(t.flags&32){const u=tD(t);return!!u&&Yu(u,64)}return!1}function tD(t){var u;return(u=t.declarations)==null?void 0:u.find(mr)}function Gu(t){return t.flags&3899393?t.objectFlags:0}function rYe(t,u){return!!Ug(t,s=>u(s)?!0:void 0)}function $q(t){return!!t&&!!t.declarations&&!!t.declarations[0]&&wV(t.declarations[0])}function $ye({moduleSpecifier:t}){return us(t)?t.text:Hc(t)}function Ele(t){let u;return ao(t,s=>{H4(s)&&(u=s)},s=>{for(let d=s.length-1;d>=0;d--)if(H4(s[d])){u=s[d];break}}),u}function Ip(t,u,s=!0){return t.has(u)?!1:(t.set(u,s),!0)}function x7(t){return mr(t)||xh(t)||fm(t)}function _le(t){return t>=182&&t<=205||t===133||t===159||t===150||t===163||t===151||t===136||t===154||t===155||t===116||t===157||t===146||t===141||t===233||t===319||t===320||t===321||t===322||t===323||t===324||t===325}function I0(t){return t.kind===211||t.kind===212}function Uye(t){return t.kind===211?t.name:(H.assert(t.kind===212),t.argumentExpression)}function qye(t){switch(t.kind){case"text":case"internal":return!0;default:return!1}}function Uq(t){return t.kind===275||t.kind===279}function CP(t){for(;I0(t);)t=t.expression;return t}function Zye(t,u){if(I0(t.parent)&&cle(t))return s(t.parent);function s(d){if(d.kind===211){const f=u(d.name);if(f!==void 0)return f}else if(d.kind===212)if(at(d.argumentExpression)||t0(d.argumentExpression)){const f=u(d.argumentExpression);if(f!==void 0)return f}else return;if(I0(d.expression))return s(d.expression);if(at(d.expression))return u(d.expression)}}function dB(t,u){for(;;){switch(t.kind){case 225:t=t.operand;continue;case 226:t=t.left;continue;case 227:t=t.condition;continue;case 215:t=t.tag;continue;case 213:if(u)return t;case 234:case 212:case 211:case 235:case 360:case 238:t=t.expression;continue}return t}}function QTt(t,u){this.flags=t,this.escapedName=u,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.isAssigned=void 0,this.links=void 0}function XTt(t,u){this.flags=u,(H.isDebugging||Gn)&&(this.checker=t)}function eLt(t,u){this.flags=u,H.isDebugging&&(this.checker=t)}function Yye(t,u,s){this.pos=u,this.end=s,this.kind=t,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function tLt(t,u,s){this.pos=u,this.end=s,this.kind=t,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function iLt(t,u,s){this.pos=u,this.end=s,this.kind=t,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function nLt(t,u,s){this.fileName=t,this.text=u,this.skipTrivia=s||(d=>d)}function Qye(t){Ake.push(t),t(Qd)}function Xye(t){Object.assign(Qd,t),L(Ake,u=>u(Qd))}function e3(t,u){return t.replace(/{(\d+)}/g,(s,d)=>""+H.checkDefined(u[+d]))}function eke(t){vZ=t}function tke(t){!vZ&&t&&(vZ=t())}function to(t){return vZ&&vZ[t.key]||t.message}function hB(t,u,s,d,f,...p){s+d>u.length&&(d=u.length-s),Obe(u,s,d);let E=to(f);return Oe(p)&&(E=e3(E,p)),{file:void 0,start:s,length:d,messageText:E,category:f.category,code:f.code,reportsUnnecessary:f.reportsUnnecessary,fileName:t}}function uLt(t){return t.file===void 0&&t.start!==void 0&&t.length!==void 0&&typeof t.fileName=="string"}function aYe(t,u){const s=u.fileName||"",d=u.text.length;H.assertEqual(t.fileName,s),H.assertLessThanOrEqual(t.start,d),H.assertLessThanOrEqual(t.start+t.length,d);const f={file:u,start:t.start,length:t.length,messageText:t.messageText,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary};if(t.relatedInformation){f.relatedInformation=[];for(const p of t.relatedInformation)uLt(p)&&p.fileName===s?(H.assertLessThanOrEqual(p.start,d),H.assertLessThanOrEqual(p.start+p.length,d),f.relatedInformation.push(aYe(p,u))):f.relatedInformation.push(p)}return f}function v7(t,u){const s=[];for(const d of t)s.push(aYe(d,u));return s}function Rd(t,u,s,d,...f){Obe(t.text,u,s);let p=to(d);return Oe(f)&&(p=e3(p,f)),{file:t,start:u,length:s,messageText:p,category:d.category,code:d.code,reportsUnnecessary:d.reportsUnnecessary,reportsDeprecated:d.reportsDeprecated}}function Dle(t,...u){let s=to(t);return Oe(u)&&(s=e3(s,u)),s}function cc(t,...u){let s=to(t);return Oe(u)&&(s=e3(s,u)),{file:void 0,start:void 0,length:void 0,messageText:s,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary,reportsDeprecated:t.reportsDeprecated}}function qq(t,u){return{file:void 0,start:void 0,length:void 0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:u}}function ro(t,u,...s){let d=to(u);return Oe(s)&&(d=e3(d,s)),{messageText:d,category:u.category,code:u.code,next:t===void 0||Array.isArray(t)?t:[t]}}function ike(t,u){let s=t;for(;s.next;)s=s.next[0];s.next=[u]}function oYe(t){return t.file?t.file.path:void 0}function bP(t,u){return Zq(t,u)||rLt(t,u)||0}function Zq(t,u){return dh(oYe(t),oYe(u))||nl(t.start,u.start)||nl(t.length,u.length)||nl(t.code,u.code)||sYe(t.messageText,u.messageText)||0}function rLt(t,u){return!t.relatedInformation&&!u.relatedInformation?0:t.relatedInformation&&u.relatedInformation?nl(t.relatedInformation.length,u.relatedInformation.length)||L(t.relatedInformation,(s,d)=>{const f=u.relatedInformation[d];return bP(s,f)})||0:t.relatedInformation?-1:1}function sYe(t,u){if(typeof t=="string"&&typeof u=="string")return dh(t,u);if(typeof t=="string")return-1;if(typeof u=="string")return 1;let s=dh(t.messageText,u.messageText);if(s)return s;if(!t.next&&!u.next)return 0;if(!t.next)return-1;if(!u.next)return 1;const d=Math.min(t.next.length,u.next.length);for(let f=0;fu.next.length?1:0}function Yj(t){return t===4||t===2||t===1||t===6?1:0}function lYe(t){if(t.transformFlags&2)return zh(t)||K2(t)?t:ao(t,lYe)}function aLt(t){return t.isDeclarationFile?void 0:lYe(t)}function oLt(t){return(t.impliedNodeFormat===99||jc(t.fileName,[".cjs",".cts",".mjs",".mts"]))&&!t.isDeclarationFile?!0:void 0}function Qj(t){switch(nke(t)){case 3:return f=>{f.externalModuleIndicator=HV(f)||!f.isDeclarationFile||void 0};case 1:return f=>{f.externalModuleIndicator=HV(f)};case 2:const u=[HV];(t.jsx===4||t.jsx===5)&&u.push(aLt),u.push(oLt);const s=dg(...u);return f=>void(f.externalModuleIndicator=s(f))}}function Os(t){return t.target??(t.module===100&&9||t.module===199&&99||1)}function m1(t){return typeof t.module=="number"?t.module:Os(t)>=2?5:1}function Yq(t){return t>=5&&t<=99}function p1(t){let u=t.moduleResolution;if(u===void 0)switch(m1(t)){case 1:u=2;break;case 100:u=3;break;case 199:u=99;break;default:u=1;break}return u}function nke(t){return t.moduleDetection||(m1(t)===100||m1(t)===199?3:2)}function Qq(t){switch(m1(t)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function mg(t){return!!(t.isolatedModules||t.verbatimModuleSyntax)}function xle(t){return t.verbatimModuleSyntax||t.isolatedModules&&t.preserveValueImports}function uke(t){return t.allowUnreachableCode===!1}function rke(t){return t.allowUnusedLabels===!1}function Xq(t){return!!(c4(t)&&t.declarationMap)}function e_(t){if(t.esModuleInterop!==void 0)return t.esModuleInterop;switch(m1(t)){case 100:case 199:return!0}}function C7(t){return t.allowSyntheticDefaultImports!==void 0?t.allowSyntheticDefaultImports:e_(t)||m1(t)===4||p1(t)===100}function b7(t){return t>=3&&t<=99||t===100}function eZ(t){return!!t.noDtsResolution||p1(t)!==100}function vle(t){const u=p1(t);if(!b7(u))return!1;if(t.resolvePackageJsonExports!==void 0)return t.resolvePackageJsonExports;switch(u){case 3:case 99:case 100:return!0}return!1}function cYe(t){const u=p1(t);if(!b7(u))return!1;if(t.resolvePackageJsonExports!==void 0)return t.resolvePackageJsonExports;switch(u){case 3:case 99:case 100:return!0}return!1}function M2(t){return t.resolveJsonModule!==void 0?t.resolveJsonModule:p1(t)===100}function c4(t){return!!(t.declaration||t.composite)}function fk(t){return!!(t.preserveConstEnums||mg(t))}function Xj(t){return!!(t.incremental||t.composite)}function Z4(t,u){return t[u]===void 0?!!t.strict:!!t[u]}function Bv(t){return t.allowJs===void 0?!!t.checkJs:t.allowJs}function eV(t){return t.useDefineForClassFields===void 0?Os(t)>=9:t.useDefineForClassFields}function ake(t){return t.useDefineForClassFields!==!1&&Os(t)>=9}function oke(t,u){return R8(u,t,hde)}function ske(t,u){return R8(u,t,fde)}function lke(t,u){return R8(u,t,mde)}function tZ(t,u){return u.strictFlag?Z4(t,u.name):u.allowJsFlag?Bv(t):t[u.name]}function iZ(t){const u=t.jsx;return u===2||u===4||u===5}function nZ(t,u){const s=u==null?void 0:u.pragmas.get("jsximportsource"),d=Ha(s)?s[s.length-1]:s;return t.jsx===4||t.jsx===5||t.jsxImportSource||d?(d==null?void 0:d.arguments.factory)||t.jsxImportSource||"react":void 0}function uZ(t,u){return t?`${t}/${u.jsx===5?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function Cle(t){let u=!1;for(let s=0;sf,getSymlinkedDirectories:()=>s,getSymlinkedDirectoriesByRealpath:()=>d,setSymlinkedFile:(v,b)=>(f||(f=new Map)).set(v,b),setSymlinkedDirectory:(v,b)=>{let B=J0(v,t,u);TP(B)||(B=zd(B),b!==!1&&!(s!=null&&s.has(B))&&(d||(d=wm())).add(b.realPath,v),(s||(s=new Map)).set(B,b))},setSymlinksFromResolutions(v,b,B){H.assert(!p),p=!0,v(k=>E(this,k.resolvedModule)),b(k=>E(this,k.resolvedTypeReferenceDirective)),B.forEach(k=>E(this,k.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>p};function E(v,b){if(!b||!b.originalPath||!b.resolvedFileName)return;const{resolvedFileName:B,originalPath:k}=b;v.setSymlinkedFile(J0(k,t,u),B);const[T,M]=sLt(B,k,t,u)||_t;T&&M&&v.setSymlinkedDirectory(M,{real:zd(T),realPath:zd(J0(T,t,u))})}}function sLt(t,u,s,d){const f=yd($a(t,s)),p=yd($a(u,s));let E=!1;for(;f.length>=2&&p.length>=2&&!dYe(f[f.length-2],d)&&!dYe(p[p.length-2],d)&&d(f[f.length-1])===d(p[p.length-1]);)f.pop(),p.pop(),E=!0;return E?[yx(f),yx(p)]:void 0}function dYe(t,u){return t!==void 0&&(u(t)==="node_modules"||Pa(t,"@"))}function lLt(t){return bse(t.charCodeAt(0))?t.slice(1):void 0}function yle(t,u,s){const d=doe(t,u,s);return d===void 0?void 0:lLt(d)}function hYe(t){return t.replace($le,cLt)}function cLt(t){return"\\"+t}function yP(t,u,s){const d=rZ(t,u,s);return!d||!d.length?void 0:`^(${d.map(E=>`(${E})`).join("|")})${s==="exclude"?"($|/)":"$"}`}function rZ(t,u,s){if(!(t===void 0||t.length===0))return ju(t,d=>d&&fYe(d,u,s,Tke[s]))}function kle(t){return!/[.*?]/.test(t)}function Fle(t,u,s){const d=t&&fYe(t,u,s,Tke[s]);return d&&`^(${d})${s==="exclude"?"($|/)":"$"}`}function fYe(t,u,s,{singleAsteriskRegexFragment:d,doubleAsteriskRegexFragment:f,replaceWildcardCharacter:p}){let E="",v=!1;const b=FO(t,u),B=Cr(b);if(s!=="exclude"&&B==="**")return;b[0]=mv(b[0]),kle(B)&&b.push("**","*");let k=0;for(let T of b){if(T==="**")E+=f;else if(s==="directories"&&(E+="(",k++),v&&(E+=rl),s!=="exclude"){let M="";T.charCodeAt(0)===42?(M+="([^./]"+d+")?",T=T.substr(1)):T.charCodeAt(0)===63&&(M+="[^./]",T=T.substr(1)),M+=T.replace($le,p),M!==T&&(E+=qle),E+=M}else E+=T.replace($le,p);v=!0}for(;k>0;)E+=")?",k--;return E}function cke(t,u){return t==="*"?u:t==="?"?"[^/]":"\\"+t}function aZ(t,u,s,d,f){t=$o(t),f=$o(f);const p=cr(f,t);return{includeFilePatterns:Vt(rZ(s,p,"files"),E=>`^${E}$`),includeFilePattern:yP(s,p,"files"),includeDirectoryPattern:yP(s,p,"directories"),excludePattern:yP(u,p,"exclude"),basePaths:dLt(t,s,d)}}function jx(t,u){return new RegExp(t,u?"":"i")}function Ale(t,u,s,d,f,p,E,v,b){t=$o(t),p=$o(p);const B=aZ(t,s,d,f,p),k=B.includeFilePatterns&&B.includeFilePatterns.map(Y=>jx(Y,f)),T=B.includeDirectoryPattern&&jx(B.includeDirectoryPattern,f),M=B.excludePattern&&jx(B.excludePattern,f),z=k?k.map(()=>[]):[[]],j=new Map,J=L1(f);for(const Y of B.basePaths)K(Y,cr(p,Y),E);return Va(z);function K(Y,oe,se){const ge=J(b(oe));if(j.has(ge))return;j.set(ge,!0);const{files:ae,directories:Ce}=v(Y);for(const ne of Ph(ae,dh)){const ve=cr(Y,ne),Se=cr(oe,ne);if(!(u&&!jc(ve,u))&&!(M&&M.test(Se)))if(!k)z[0].push(ve);else{const Ne=Ue(k,pe=>pe.test(Se));Ne!==-1&&z[Ne].push(ve)}}if(!(se!==void 0&&(se--,se===0)))for(const ne of Ph(Ce,dh)){const ve=cr(Y,ne),Se=cr(oe,ne);(!T||T.test(Se))&&(!M||!M.test(Se))&&K(ve,Se,se)}}}function dLt(t,u,s){const d=[t];if(u){const f=[];for(const p of u){const E=Pf(p)?p:$o(cr(t,p));f.push(hLt(E))}f.sort(CN(!s));for(const p of f)ye(d,E=>!GE(E,p,t,!s))&&d.push(p)}return d}function hLt(t){const u=jt(t,TYe);return u<0?t7(t)?mv(lr(t)):t:t.substring(0,t.lastIndexOf(rl,u))}function oZ(t,u){return u||sZ(t)||3}function sZ(t){switch(t.substr(t.lastIndexOf(".")).toLowerCase()){case".js":case".cjs":case".mjs":return 1;case".jsx":return 2;case".ts":case".cts":case".mts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}function kP(t,u){const s=t&&Bv(t);if(!u||u.length===0)return s?CZ:EB;const d=s?CZ:EB,f=Va(d);return[...d,...qi(u,E=>E.scriptKind===7||s&&fLt(E.scriptKind)&&!f.includes(E.extension)?[E.extension]:void 0)]}function tV(t,u){return!t||!M2(t)?u:u===CZ?PYe:u===EB?LYe:[...u,[".json"]]}function fLt(t){return t===1||t===2}function z2(t){return Oe(_B,u=>Ml(t,u))}function mk(t){return Oe(Zle,u=>Ml(t,u))}function dke({imports:t},u=dg(z2,mk)){return G(t,({text:s})=>om(s)&&!jc(s,fV)?u(s):void 0)||!1}function Sle(t,u,s,d){if(t==="js"||u===99)return $B(s)&&f()!==2?3:2;if(t==="minimal")return 0;if(t==="index")return 1;if(!$B(s))return dke(d)?2:0;return f();function f(){let p=!1;const E=d.imports.length?d.imports.map(v=>v.text):gh(d)?mLt(d).map(v=>v.arguments[0].text):_t;for(const v of E)if(om(v)){if(jc(v,fV))continue;if(mk(v))return 3;z2(v)&&(p=!0)}return p?2:0}}function mLt(t){let u=0,s;for(const d of t.statements){if(u>3)break;L0e(d)?s=Hi(s,d.declarationList.declarations.map(f=>f.initializer)):Od(d)&&xf(d.expression,!0)?s=xi(s,d.expression):u++}return s||_t}function hke(t,u,s){if(!t)return!1;const d=kP(u,s);for(const f of Va(tV(u,d)))if(Ml(t,f))return!0;return!1}function mYe(t){const u=t.match(/\//g);return u?u.length:0}function iV(t,u){return nl(mYe(t),mYe(u))}function _h(t){for(const u of Xle){const s=fke(t,u);if(s!==void 0)return s}return t}function fke(t,u){return Ml(t,u)?nV(t,u):void 0}function nV(t,u){return t.substring(0,t.length-u.length)}function wv(t,u){return AO(t,u,Xle,!1)}function fB(t){const u=t.indexOf("*");return u===-1?t:t.indexOf("*",u+1)!==-1?void 0:{prefix:t.substr(0,u),suffix:t.substr(u+1)}}function lZ(t){return qi(Ns(t),u=>fB(u))}function pg(t){return!(t>=0)}function cZ(t){return t===".ts"||t===".tsx"||t===".d.ts"||t===".cts"||t===".mts"||t===".d.mts"||t===".d.cts"||Pa(t,".d.")&&sc(t,".ts")}function FP(t){return cZ(t)||t===".json"}function y7(t){const u=t3(t);return u!==void 0?u:H.fail(`File ${t} has unknown extension.`)}function pYe(t){return t3(t)!==void 0}function t3(t){return Le(Xle,u=>Ml(t,u))}function uV(t,u){return t.checkJsDirective?t.checkJsDirective.enabled:u.checkJs}function Ble(t,u){const s=[];for(const d of t){if(d===u)return u;Ja(d)||s.push(d)}return coe(s,d=>d,u)}function wle(t,u){const s=t.indexOf(u);return H.assert(s!==-1),t.slice(s)}function Es(t,...u){return u.length&&(t.relatedInformation||(t.relatedInformation=[]),H.assert(t.relatedInformation!==_t,"Diagnostic had empty array singleton for related info, but is still being constructed!"),t.relatedInformation.push(...u)),t}function mke(t,u){H.assert(t.length!==0);let s=u(t[0]),d=s;for(let f=1;fd&&(d=p)}return{min:s,max:d}}function Tle(t){return{pos:ek(t),end:t.end}}function Lle(t,u){const s=u.pos-1,d=Math.min(t.text.length,gs(t.text,u.end)+1);return{pos:s,end:d}}function AP(t,u,s){return u.skipLibCheck&&t.isDeclarationFile||u.skipDefaultLibCheck&&t.hasNoDefaultLib||s.isSourceOfProjectReferenceRedirect(t.fileName)}function dZ(t,u){return t===u||typeof t=="object"&&t!==null&&typeof u=="object"&&u!==null&&ZA(t,u,dZ)}function SP(t){let u;switch(t.charCodeAt(1)){case 98:case 66:u=1;break;case 111:case 79:u=3;break;case 120:case 88:u=4;break;default:const B=t.length-1;let k=0;for(;t.charCodeAt(k)===48;)k++;return t.slice(k,B)||"0"}const s=2,d=t.length-1,f=(d-s)*u,p=new Uint16Array((f>>>4)+(f&15?1:0));for(let B=d-1,k=0;B>=s;B--,k+=u){const T=k>>>4,M=t.charCodeAt(B),j=(M<=57?M-48:10+M-(M<=70?65:97))<<(k&15);p[T]|=j;const J=j>>>16;J&&(p[T+1]|=J)}let E="",v=p.length-1,b=!0;for(;b;){let B=0;b=!1;for(let k=v;k>=0;k--){const T=B<<16|p[k],M=T/10|0;p[k]=M,B=T-M*10,M&&!b&&(v=k,b=!0)}E=B+E}return E}function I2({negative:t,base10Value:u}){return(t&&u!=="0"?"-":"")+u}function pke(t){if(hZ(t,!1))return Nle(t)}function Nle(t){const u=t.startsWith("-"),s=SP(`${u?t.slice(1):t}n`);return{negative:u,base10Value:s}}function hZ(t,u){if(t==="")return!1;const s=YD(99,!1);let d=!0;s.setOnError(()=>d=!1),s.setText(t+"n");let f=s.scan();const p=f===41;p&&(f=s.scan());const E=s.getTokenFlags();return d&&f===10&&s.getTokenEnd()===t.length+1&&!(E&512)&&(!u||t===I2({negative:p,base10Value:SP(s.getTokenValue())}))}function Tv(t){return!!(t.flags&33554432)||_q(t)||ELt(t)||gLt(t)||!(Z_(t)||pLt(t))}function pLt(t){return at(t)&&pm(t.parent)&&t.parent.name===t}function gLt(t){for(;t.kind===80||t.kind===211;)t=t.parent;if(t.kind!==167)return!1;if(Yu(t.parent,64))return!0;const u=t.parent.parent.kind;return u===264||u===187}function ELt(t){if(t.kind!==80)return!1;const u=Tn(t.parent,s=>{switch(s.kind){case 298:return!0;case 211:case 233:return!1;default:return"quit"}});return(u==null?void 0:u.token)===119||(u==null?void 0:u.parent.kind)===264}function gke(t){return X4(t)&&at(t.typeName)}function Eke(t,u=Cx){if(t.length<2)return!0;const s=t[0];for(let d=1,f=t.length;dt.includes(u))}function xke(t){if(!t.parent)return;switch(t.kind){case 168:const{parent:s}=t;return s.kind===195?void 0:s.typeParameters;case 169:return t.parent.parameters;case 204:return t.parent.templateSpans;case 239:return t.parent.templateSpans;case 170:{const{parent:d}=t;return Ak(d)?d.modifiers:void 0}case 298:return t.parent.heritageClauses}const{parent:u}=t;if(I8(t))return K7(t.parent)?void 0:t.parent.tags;switch(u.kind){case 187:case 264:return Zy(t)?u.members:void 0;case 192:case 193:return u.types;case 189:case 209:case 361:case 275:case 279:return u.elements;case 210:case 292:return u.properties;case 213:case 214:return Qr(t)?u.typeArguments:u.expression===t?void 0:u.arguments;case 284:case 288:return ej(t)?u.children:void 0;case 286:case 285:return Qr(t)?u.typeArguments:void 0;case 241:case 296:case 297:case 268:return u.statements;case 269:return u.clauses;case 263:case 231:return Zd(t)?u.members:void 0;case 266:return J2(t)?u.members:void 0;case 312:return u.statements}}function fZ(t){if(!t.typeParameters){if(Oe(t.parameters,u=>!f1(u)))return!0;if(t.kind!==219){const u=Ki(t.parameters);if(!(u&&L2(u)))return!0}}return!1}function LP(t){return t==="Infinity"||t==="-Infinity"||t==="NaN"}function vke(t){return t.kind===260&&t.parent.kind===299}function Mle(t){const u=t.valueDeclaration&&XE(t.valueDeclaration);return!!u&&(io(u)||vke(u))}function R2(t){return t.kind===218||t.kind===219}function O2(t){return t.replace(/\$/gm,()=>"\\$")}function i3(t){return(+t).toString()===t}function mZ(t,u,s,d,f){const p=f&&t==="new";return!p&&Lm(t,u)?q.createIdentifier(t):!d&&!p&&i3(t)&&+t>=0?q.createNumericLiteral(+t):q.createStringLiteral(t,!!s)}function NP(t){return!!(t.flags&262144&&t.isThisType)}function pZ(t){let u=0,s=0,d=0,f=0,p;(B=>{B[B.BeforeNodeModules=0]="BeforeNodeModules",B[B.NodeModules=1]="NodeModules",B[B.Scope=2]="Scope",B[B.PackageContent=3]="PackageContent"})(p||(p={}));let E=0,v=0,b=0;for(;v>=0;)switch(E=v,v=t.indexOf("/",E+1),b){case 0:t.indexOf(o_,E)===E&&(u=E,s=v,b=1);break;case 1:case 2:b===1&&t.charAt(E+1)==="@"?b=2:(d=v,b=3);break;case 3:t.indexOf(o_,E)===E?b=1:b=3;break}return f=E,b>1?{topLevelNodeModulesIndex:u,topLevelPackageNameIndex:s,packageRootIndex:d,fileNameIndex:f}:void 0}function gYe(t){var u;return t.kind===348?(u=t.typeExpression)==null?void 0:u.type:t.type}function gB(t){switch(t.kind){case 168:case 263:case 264:case 265:case 266:case 353:case 345:case 347:return!0;case 273:return t.isTypeOnly;case 276:case 281:return t.parent.parent.isTypeOnly;default:return!1}}function rV(t){return Iv(t)||Jl(t)||ed(t)||Wc(t)||xh(t)||gB(t)||_c(t)&&!v2(t)&&!Yg(t)}function aV(t){if(!WO(t))return!1;const{isBracketed:u,typeExpression:s}=t;return u||!!s&&s.type.kind===323}function zle(t,u){if(t.length===0)return!1;const s=t.charCodeAt(0);return s===35?t.length>1&&G_(t.charCodeAt(1),u):G_(s,u)}function Cke(t){var u;return((u=sce(t))==null?void 0:u.kind)===0}function oV(t){return Qn(t)&&(t.type&&t.type.kind===323||B8(t).some(({isBracketed:u,typeExpression:s})=>u||!!s&&s.type.kind===323))}function PP(t){switch(t.kind){case 172:case 171:return!!t.questionToken;case 169:return!!t.questionToken||oV(t);case 355:case 348:return aV(t);default:return!1}}function bke(t){const u=t.kind;return(u===211||u===212)&&O7(t.expression)}function Ile(t){return Qn(t)&&Cf(t)&&lm(t)&&!!jse(t)}function Rle(t){return H.checkDefined(gZ(t))}function gZ(t){const u=jse(t);return u&&u.typeExpression&&u.typeExpression.type}function MP(t){return at(t)?t.escapedText:k7(t)}function sV(t){return at(t)?fu(t):zP(t)}function yke(t){const u=t.kind;return u===80||u===295}function k7(t){return`${t.namespace.escapedText}:${fu(t.name)}`}function zP(t){return`${fu(t.namespace)}:${fu(t.name)}`}function Ole(t){return at(t)?fu(t):zP(t)}function Y4(t){return!!(t.flags&8576)}function Q4(t){return t.flags&8192?t.escapedName:t.flags&384?Al(""+t.value):H.fail()}function EZ(t){return!!t&&(Iu(t)||U0(t)||Xn(t))}function kke(t){return t===void 0?!1:!!qB(t.attributes)}var _Z,Hx,lV,DZ,cV,xZ,jle,Vle,EYe,_Ye,Hle,DYe,xYe,Kle,Wle,Gle,Jle,vYe,CYe,bYe,yYe,kYe,Fke,FYe,AYe,SYe,IP,pk,BYe,wYe,Qd,Ake,vZ,$le,TYe,Ule,qle,Ske,Bke,wke,Tke,EB,Zle,LYe,NYe,Yle,_B,CZ,PYe,dV,hV,fV,Qle,Xle,bZ,DLt=o({"src/compiler/utilities.ts"(){Bo(),_Z=[],Hx="tslib",lV=160,DZ=1e6,cV=CTt(),xZ=Mh(()=>new Map(Object.entries({Array:new Map(Object.entries({es2015:["find","findIndex","fill","copyWithin","entries","keys","values"],es2016:["includes"],es2019:["flat","flatMap"],es2022:["at"],es2023:["findLastIndex","findLast"]})),Iterator:new Map(Object.entries({es2015:_t})),AsyncIterator:new Map(Object.entries({es2015:_t})),Atomics:new Map(Object.entries({es2017:_t})),SharedArrayBuffer:new Map(Object.entries({es2017:_t})),AsyncIterable:new Map(Object.entries({es2018:_t})),AsyncIterableIterator:new Map(Object.entries({es2018:_t})),AsyncGenerator:new Map(Object.entries({es2018:_t})),AsyncGeneratorFunction:new Map(Object.entries({es2018:_t})),RegExp:new Map(Object.entries({es2015:["flags","sticky","unicode"],es2018:["dotAll"]})),Reflect:new Map(Object.entries({es2015:["apply","construct","defineProperty","deleteProperty","get","getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"]})),ArrayConstructor:new Map(Object.entries({es2015:["from","of"]})),ObjectConstructor:new Map(Object.entries({es2015:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],es2017:["values","entries","getOwnPropertyDescriptors"],es2019:["fromEntries"],es2022:["hasOwn"]})),NumberConstructor:new Map(Object.entries({es2015:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"]})),Math:new Map(Object.entries({es2015:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"]})),Map:new Map(Object.entries({es2015:["entries","keys","values"]})),Set:new Map(Object.entries({es2015:["entries","keys","values"]})),PromiseConstructor:new Map(Object.entries({es2015:["all","race","reject","resolve"],es2020:["allSettled"],es2021:["any"]})),Symbol:new Map(Object.entries({es2015:["for","keyFor"],es2019:["description"]})),WeakMap:new Map(Object.entries({es2015:["entries","keys","values"]})),WeakSet:new Map(Object.entries({es2015:["entries","keys","values"]})),String:new Map(Object.entries({es2015:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],es2017:["padStart","padEnd"],es2019:["trimStart","trimEnd","trimLeft","trimRight"],es2020:["matchAll"],es2021:["replaceAll"],es2022:["at"]})),StringConstructor:new Map(Object.entries({es2015:["fromCodePoint","raw"]})),DateTimeFormat:new Map(Object.entries({es2017:["formatToParts"]})),Promise:new Map(Object.entries({es2015:_t,es2018:["finally"]})),RegExpMatchArray:new Map(Object.entries({es2018:["groups"]})),RegExpExecArray:new Map(Object.entries({es2018:["groups"]})),Intl:new Map(Object.entries({es2018:["PluralRules"]})),NumberFormat:new Map(Object.entries({es2018:["formatToParts"]})),SymbolConstructor:new Map(Object.entries({es2020:["matchAll"]})),DataView:new Map(Object.entries({es2020:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"]})),BigInt:new Map(Object.entries({es2020:_t})),RelativeTimeFormat:new Map(Object.entries({es2020:["format","formatToParts","resolvedOptions"]})),Int8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8ClampedArray:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float64Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),BigInt64Array:new Map(Object.entries({es2020:_t,es2022:["at"],es2023:["findLastIndex","findLast"]})),BigUint64Array:new Map(Object.entries({es2020:_t,es2022:["at"],es2023:["findLastIndex","findLast"]})),Error:new Map(Object.entries({es2022:["cause"]}))}))),jle=(t=>(t[t.None=0]="None",t[t.NeverAsciiEscape=1]="NeverAsciiEscape",t[t.JsxAttributeEscape=2]="JsxAttributeEscape",t[t.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",t[t.AllowNumericSeparator=8]="AllowNumericSeparator",t))(jle||{}),Vle=/^(\/\/\/\s*/,EYe=/^(\/\/\/\s*/,_Ye=/^(\/\/\/\s*/,Hle=/^(\/\/\/\s*/,DYe=/^\/\/\/\s*/,xYe=/^(\/\/\/\s*/,Kle=(t=>(t[t.None=0]="None",t[t.Definite=1]="Definite",t[t.Compound=2]="Compound",t))(Kle||{}),Wle=(t=>(t[t.Normal=0]="Normal",t[t.Generator=1]="Generator",t[t.Async=2]="Async",t[t.Invalid=4]="Invalid",t[t.AsyncGenerator=3]="AsyncGenerator",t))(Wle||{}),Gle=(t=>(t[t.Left=0]="Left",t[t.Right=1]="Right",t))(Gle||{}),Jle=(t=>(t[t.Comma=0]="Comma",t[t.Spread=1]="Spread",t[t.Yield=2]="Yield",t[t.Assignment=3]="Assignment",t[t.Conditional=4]="Conditional",t[t.Coalesce=4]="Coalesce",t[t.LogicalOR=5]="LogicalOR",t[t.LogicalAND=6]="LogicalAND",t[t.BitwiseOR=7]="BitwiseOR",t[t.BitwiseXOR=8]="BitwiseXOR",t[t.BitwiseAND=9]="BitwiseAND",t[t.Equality=10]="Equality",t[t.Relational=11]="Relational",t[t.Shift=12]="Shift",t[t.Additive=13]="Additive",t[t.Multiplicative=14]="Multiplicative",t[t.Exponentiation=15]="Exponentiation",t[t.Unary=16]="Unary",t[t.Update=17]="Update",t[t.LeftHandSide=18]="LeftHandSide",t[t.Member=19]="Member",t[t.Primary=20]="Primary",t[t.Highest=20]="Highest",t[t.Lowest=0]="Lowest",t[t.Invalid=-1]="Invalid",t))(Jle||{}),vYe=/\$\{/g,CYe=/[\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,bYe=/[\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,yYe=/\r\n|[\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,kYe=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"})),Fke=/[^\u0000-\u007F]/g,FYe=/["\u0000-\u001f\u2028\u2029\u0085]/g,AYe=/['\u0000-\u001f\u2028\u2029\u0085]/g,SYe=new Map(Object.entries({'"':""","'":"'"})),IP=[""," "],pk="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",BYe=`\r +`;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:if(b=B?(j|=2048,Qe&&ge(F.Unexpected_end_of_text),v.substring(Et,b)):v.charCodeAt(b)!==125?(j|=2048,Qe&&ge(F.Unterminated_Unicode_escape_sequence),v.substring(Et,b)):(b++,j|=8,F8(Xt)):(j|=2048,Qe&&ge(F.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),v.substring(Et,b))}for(;b1114111&&(ge(F.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),Mt=!0),b>=B?(ge(F.Unexpected_end_of_text),Mt=!0):v.charCodeAt(b)===125?b++:(ge(F.Unterminated_Unicode_escape_sequence),Mt=!0),Mt?"":F8(Et)}function Ae(){if(b+5=0&&Ev(Mt,t)){b+=3,j|=8,Qe+=Ge(),Et=b;continue}if(Mt=Ae(),!(Mt>=0&&Ev(Mt,t)))break;j|=1024,Qe+=v.substring(Et,b),Qe+=F8(Mt),b+=6,Et=b}else break}return Qe+=v.substring(Et,b),Qe}function Je(){const Qe=z.length;if(Qe>=2&&Qe<=12){const Et=z.charCodeAt(0);if(Et>=97&&Et<=122){const Mt=$qe.get(z);if(Mt!==void 0)return M=Mt}}return M=80}function ft(Qe){let Et="",Mt=!1,qt=!1;for(;;){const Xt=v.charCodeAt(b);if(Xt===95){j|=512,Mt?(Mt=!1,qt=!0):ge(qt?F.Multiple_consecutive_numeric_separators_are_not_permitted:F.Numeric_separators_are_not_allowed_here,b,1),b++;continue}if(Mt=!0,!NN(Xt)||Xt-48>=Qe)break;Et+=v[b],b++,qt=!1}return v.charCodeAt(b-1)===95&&ge(F.Numeric_separators_are_not_allowed_here,b-1,1),Et}function Ye(){return v.charCodeAt(b)===110?(z+="n",j&384&&(z=SP(z)+"n"),b++,10):(z=""+(j&128?parseInt(z.slice(2),2):j&256?parseInt(z.slice(2),8):+z),9)}function Ve(){k=b,j=0;let Qe=!1;for(;;){if(T=b,b>=B)return M=1;const Et=Fx(v,b);if(b===0){if(Et===65533)return ge(F.File_appears_to_be_binary),b=B,M=8;if(Et===35&&Bse(v,b)){if(b=wse(v,b),u)continue;return M=6}}switch(Et){case 10:case 13:if(j|=1,u){b++;continue}else return Et===13&&b+1=0&&G_(Mt,t))return b+=3,j|=8,z=Ge()+Ke(),M=Je();const qt=Ae();return qt>=0&&G_(qt,t)?(b+=6,j|=1024,z=String.fromCharCode(qt)+Ke(),M=Je()):(ge(F.Invalid_character),b++,M=0);case 35:if(b!==0&&v[b+1]==="!")return ge(F.can_only_be_used_at_the_start_of_a_file),b++,M=0;const Xt=Fx(v,b+1);if(Xt===92){b++;const gt=De();if(gt>=0&&G_(gt,t))return b+=3,j|=8,z="#"+Ge()+Ke(),M=81;const ii=Ae();if(ii>=0&&G_(ii,t))return b+=6,j|=1024,z="#"+String.fromCharCode(ii)+Ke(),M=81;b--}return G_(Xt,t)?(b++,Yt(Xt,t)):(z="#",ge(F.Invalid_character,b++,_v(Et))),M=81;default:const Pe=Yt(Et,t);if(Pe)return M=Pe;if(qg(Et)){b+=_v(Et);continue}else if(Z1(Et)){j|=1,b+=_v(Et);continue}const et=_v(Et);return ge(F.Invalid_character,b,et),b+=et,M=0}}}function We(){switch(oe){case 0:return!0;case 1:return!1}return Y!==3&&Y!==4?!0:oe===3?!1:iZe.test(v.slice(k,b))}function Gt(){H.assert(M===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),b=T=k,j=0;const Qe=Fx(v,b),Et=Yt(Qe,99);return Et?M=Et:(b+=_v(Qe),M)}function Yt(Qe,Et){let Mt=Qe;if(G_(Mt,Et)){for(b+=_v(Mt);b=B)return M=1;let Et=v.charCodeAt(b);if(Et===60)return v.charCodeAt(b+1)===47?(b+=2,M=31):(b++,M=30);if(Et===123)return b++,M=19;let Mt=0;for(;b0)break;U3(Et)||(Mt=b)}b++}return z=v.substring(k,b),Mt===-1?13:12}function Pi(){if(fh(M)){for(;b=B)return M=1;for(let Et=v.charCodeAt(b);b=0&&qg(v.charCodeAt(b-1))&&!(b+1=B)return M=1;const Qe=Fx(v,b);switch(b+=_v(Qe),Qe){case 9:case 11:case 12:case 32:for(;b=0&&G_(Et,t))return b+=3,j|=8,z=Ge()+Ke(),M=Je();const Mt=Ae();return Mt>=0&&G_(Mt,t)?(b+=6,j|=1024,z=String.fromCharCode(Mt)+Ke(),M=Je()):(b++,M=0)}if(G_(Qe,t)){let Et=Qe;for(;b=0),b=Qe,k=Qe,T=Qe,M=0,z=void 0,j=0}function bo(Qe){K+=Qe?1:-1}}function Fx(t,u){return t.codePointAt(u)}function _v(t){return t>=65536?2:1}function mTt(t){if(H.assert(0<=t&&t<=1114111),t<=65535)return String.fromCharCode(t);const u=Math.floor((t-65536)/1024)+55296,s=(t-65536)%1024+56320;return String.fromCharCode(u,s)}function F8(t){return uZe(t)}var MO,$qe,A2e,Uqe,qqe,Zqe,Yqe,Qqe,Xqe,eZe,tZe,iZe,nZe,BU,Lse,uZe,pTt=o({"src/compiler/scanner.ts"(){Bo(),MO={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},$qe=new Map(Object.entries(MO)),A2e=new Map(Object.entries({...MO,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,">":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),Uqe=[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],qqe=[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],Zqe=[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],Yqe=[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],Qqe=[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],Xqe=[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],eZe=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,tZe=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,iZe=/@(?:see|link)/i,nZe=hTt(A2e),BU=7,Lse=/^#!.*/,uZe=String.fromCodePoint?t=>String.fromCodePoint(t):mTt}});function Id(t){return om(t)||Pf(t)}function A8(t){return pi(t,bP)}function zO(t){switch(Os(t)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function Ec(t){return t.start+t.length}function S2e(t){return t.length===0}function Nse(t,u){return u>=t.start&&u=t.pos&&u<=t.end}function B2e(t,u){return u.start>=t.start&&Ec(u)<=Ec(t)}function rZe(t,u){return w2e(t,u)!==void 0}function w2e(t,u){const s=L2e(t,u);return s&&s.length===0?void 0:s}function aZe(t,u){return RO(t.start,t.length,u.start,u.length)}function wU(t,u,s){return RO(t.start,t.length,u,s)}function RO(t,u,s,d){const f=t+u,p=s+d;return s<=f&&p>=t}function T2e(t,u){return u<=Ec(t)&&u>=t.start}function L2e(t,u){const s=Math.max(t.start,u.start),d=Math.min(Ec(t),Ec(u));return s<=d?Vc(s,d):void 0}function d1(t,u){if(t<0)throw new Error("start < 0");if(u<0)throw new Error("length < 0");return{start:t,length:u}}function Vc(t,u){return d1(t,u-t)}function MN(t){return d1(t.span.start,t.newLength)}function N2e(t){return S2e(t.span)&&t.newLength===0}function OO(t,u){if(u<0)throw new Error("newLength < 0");return{span:t,newLength:u}}function P2e(t){if(t.length===0)return tj;if(t.length===1)return t[0];const u=t[0];let s=u.span.start,d=Ec(u.span),f=s+u.newLength;for(let p=1;p=2&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95?"_"+t:t}function Qr(t){const u=t;return u.length>=3&&u.charCodeAt(0)===95&&u.charCodeAt(1)===95&&u.charCodeAt(2)===95?u.substr(1):u}function fu(t){return Qr(t.escapedText)}function Dv(t){const u=f2(t.escapedText);return u?ur(u,uf):void 0}function lc(t){return t.valueDeclaration&&ph(t.valueDeclaration)?fu(t.valueDeclaration.name):Qr(t.escapedName)}function lZe(t){const u=t.parent.parent;if(u){if(Q1(u))return Mse(u);switch(u.kind){case 243:if(u.declarationList&&u.declarationList.declarations[0])return Mse(u.declarationList.declarations[0]);break;case 244:let s=u.expression;switch(s.kind===226&&s.operatorToken.kind===64&&(s=s.left),s.kind){case 211:return s.name;case 212:const d=s.argumentExpression;if(at(d))return d}break;case 217:return Mse(u.expression);case 256:{if(Q1(u.statement)||Wt(u.statement))return Mse(u.statement);break}}}}function Mse(t){const u=Za(t);return u&&at(u)?u:void 0}function jO(t,u){return!!(mh(t)&&at(t.name)&&fu(t.name)===fu(u)||Jl(t)&&Oe(t.declarationList.declarations,s=>jO(s,u)))}function R2e(t){return t.name||lZe(t)}function mh(t){return!!t.name}function TU(t){switch(t.kind){case 80:return t;case 355:case 348:{const{name:s}=t;if(s.kind===166)return s.right;break}case 213:case 226:{const s=t;switch(Xl(s)){case 1:case 4:case 5:case 3:return kq(s.left);case 7:case 8:case 9:return s.arguments[1];default:return}}case 353:return R2e(t);case 347:return lZe(t);case 277:{const{expression:s}=t;return at(s)?s:void 0}case 212:const u=t;if(yq(u))return u.argumentExpression}return t.name}function Za(t){if(t!==void 0)return TU(t)||(A0(t)||q0(t)||Xd(t)?zse(t):void 0)}function zse(t){if(t.parent){if(Jc(t.parent)||js(t.parent))return t.parent.name;if(Xn(t.parent)&&t===t.parent.right){if(at(t.parent.left))return t.parent.left;if(I0(t.parent.left))return kq(t.parent.left)}else if(ua(t.parent)&&at(t.parent.name))return t.parent.name}else return}function Ax(t){if(o4(t))return ti(t.modifiers,g1)}function p2(t){if(Yu(t,98303))return ti(t.modifiers,Qo)}function cZe(t,u){if(t.name)if(at(t.name)){const s=t.name.escapedText;return HO(t.parent,u).filter(d=>Eg(d)&&at(d.name)&&d.name.escapedText===s)}else{const s=t.parent.parameters.indexOf(t);H.assert(s>-1,"Parameters should always be in their parents' parameter list");const d=HO(t.parent,u).filter(Eg);if(s_g(d)&&d.typeParameters.some(f=>f.name.escapedText===s))}function j2e(t){return dZe(t,!1)}function V2e(t){return dZe(t,!0)}function H2e(t){return!!V4(t,Eg)}function K2e(t){return V4(t,LB)}function W2e(t){return Vse(t,Nce)}function Ise(t){return V4(t,DFe)}function hZe(t){return V4(t,Sce)}function G2e(t){return V4(t,Sce,!0)}function fZe(t){return V4(t,Bce)}function J2e(t){return V4(t,Bce,!0)}function mZe(t){return V4(t,wce)}function $2e(t){return V4(t,wce,!0)}function pZe(t){return V4(t,Tce)}function U2e(t){return V4(t,Tce,!0)}function q2e(t){return V4(t,gY,!0)}function Rse(t){return V4(t,Lce)}function Z2e(t){return V4(t,Lce,!0)}function Ose(t){return V4(t,LV)}function LU(t){return V4(t,xFe)}function Y2e(t){return V4(t,EY)}function gZe(t){return V4(t,_g)}function jse(t){return V4(t,_Y)}function xv(t){const u=V4(t,XP);if(u&&u.typeExpression&&u.typeExpression.type)return u}function vv(t){let u=V4(t,XP);return!u&&io(t)&&(u=Le(B8(t),s=>!!s.typeExpression)),u&&u.typeExpression&&u.typeExpression.type}function VO(t){const u=Y2e(t);if(u&&u.typeExpression)return u.typeExpression.type;const s=xv(t);if(s&&s.typeExpression){const d=s.typeExpression.type;if(fm(d)){const f=Le(d.members,CB);return f&&f.type}if(u3(d)||TB(d))return d.type}}function HO(t,u){var s;if(!wj(t))return _t;let d=(s=t.jsDoc)==null?void 0:s.jsDocCache;if(d===void 0||u){const f=I0e(t,u);H.assert(f.length<2||f[0]!==f[1]),d=ju(f,p=>Vp(p)?p.tags:p),u||(t.jsDoc??(t.jsDoc=[]),t.jsDoc.jsDocCache=d)}return d}function Cv(t){return HO(t,!1)}function EZe(t){return HO(t,!0)}function V4(t,u,s){return Le(HO(t,s),u)}function Vse(t,u){return Cv(t).filter(u)}function _Ze(t,u){return Cv(t).filter(s=>s.kind===u)}function KO(t){return typeof t=="string"?t:t==null?void 0:t.map(u=>u.kind===328?u.text:ETt(u)).join("")}function ETt(t){const u=t.kind===331?"link":t.kind===332?"linkcode":"linkplain",s=t.name?zf(t.name):"",d=t.name&&t.text.startsWith("://")?"":" ";return`{@${u} ${s}${d}${t.text}}`}function Sx(t){if(Ov(t)){if(NB(t.parent)){const u=iP(t.parent);if(u&&S(u.tags))return ju(u.tags,s=>_g(s)?s.typeParameters:void 0)}return _t}if(G4(t))return H.assert(t.parent.kind===327),ju(t.parent.tags,u=>_g(u)?u.typeParameters:void 0);if(t.typeParameters||TFe(t)&&t.typeParameters)return t.typeParameters;if(Qn(t)){const u=Oq(t);if(u.length)return u;const s=vv(t);if(s&&u3(s)&&s.typeParameters)return s.typeParameters}return _t}function w8(t){return t.constraint?t.constraint:_g(t.parent)&&t===t.parent.typeParameters[0]?t.parent.constraint:void 0}function J_(t){return t.kind===80||t.kind===81}function NU(t){return t.kind===178||t.kind===177}function PU(t){return Iu(t)&&!!(t.flags&64)}function Hse(t){return U0(t)&&!!(t.flags&64)}function $y(t){return Mo(t)&&!!(t.flags&64)}function Y1(t){const u=t.kind;return!!(t.flags&64)&&(u===211||u===212||u===213||u===235)}function IN(t){return Y1(t)&&!O7(t)&&!!t.questionDotToken}function MU(t){return IN(t.parent)&&t.parent.expression===t}function RN(t){return!Y1(t.parent)||IN(t.parent)||t!==t.parent.expression}function Kse(t){return t.kind===226&&t.operatorToken.kind===61}function q3(t){return X4(t)&&at(t.typeName)&&t.typeName.escapedText==="const"&&!t.typeArguments}function Np(t){return Dc(t,8)}function zU(t){return O7(t)&&!!(t.flags&64)}function ON(t){return t.kind===252||t.kind===251}function Wse(t){return t.kind===280||t.kind===279}function Q2e(t){switch(t.kind){case 309:case 310:return!0;default:return!1}}function Gse(t){return Q2e(t)||t.kind===307||t.kind===311}function WO(t){return t.kind===355||t.kind===348}function DZe(t){return GO(t.kind)}function GO(t){return t>=166}function Jse(t){return t>=0&&t<=165}function u7(t){return Jse(t.kind)}function g2(t){return gu(t,"pos")&&gu(t,"end")}function jN(t){return 9<=t&&t<=15}function E2(t){return jN(t.kind)}function $se(t){switch(t.kind){case 210:case 209:case 14:case 218:case 231:return!0}return!1}function Bx(t){return 15<=t&&t<=18}function X2e(t){return Bx(t.kind)}function IU(t){const u=t.kind;return u===17||u===18}function r7(t){return bf(t)||eh(t)}function RU(t){switch(t.kind){case 276:return t.isTypeOnly||t.parent.parent.isTypeOnly;case 274:return t.parent.isTypeOnly;case 273:case 271:return t.isTypeOnly}return!1}function ebe(t){switch(t.kind){case 281:return t.isTypeOnly||t.parent.parent.isTypeOnly;case 278:return t.isTypeOnly&&!!t.moduleSpecifier&&!t.exportClause;case 280:return t.parent.isTypeOnly}return!1}function _2(t){return RU(t)||ebe(t)}function Use(t){return t.kind===11||Bx(t.kind)}function tbe(t){return us(t)||at(t)}function al(t){var u;return at(t)&&((u=t.emitNode)==null?void 0:u.autoGenerate)!==void 0}function Uy(t){var u;return ea(t)&&((u=t.emitNode)==null?void 0:u.autoGenerate)!==void 0}function JO(t){const u=t.emitNode.autoGenerate.flags;return!!(u&32)&&!!(u&16)&&!!(u&8)}function ph(t){return(ko(t)||N8(t))&&ea(t.name)}function T8(t){return Iu(t)&&ea(t.name)}function XD(t){switch(t){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 164:return!0}return!1}function VN(t){return!!(_7(t)&31)}function qse(t){return VN(t)||t===126||t===164||t===129}function Qo(t){return XD(t.kind)}function sm(t){const u=t.kind;return u===166||u===80}function Sc(t){const u=t.kind;return u===80||u===81||u===11||u===9||u===167}function qy(t){const u=t.kind;return u===80||u===206||u===207}function Co(t){return!!t&&a7(t.kind)}function L8(t){return!!t&&(a7(t.kind)||zl(t))}function $0(t){return t&&xZe(t.kind)}function HN(t){return t.kind===112||t.kind===97}function xZe(t){switch(t){case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function a7(t){switch(t){case 173:case 179:case 330:case 180:case 181:case 184:case 324:case 185:return!0;default:return xZe(t)}}function Zse(t){return la(t)||rE(t)||po(t)&&Co(t.parent)}function Zd(t){const u=t.kind;return u===176||u===172||u===174||u===177||u===178||u===181||u===175||u===240}function mr(t){return t&&(t.kind===263||t.kind===231)}function wx(t){return t&&(t.kind===177||t.kind===178)}function ef(t){return ko(t)&&eE(t)}function ibe(t){return Qn(t)&&EZ(t)?(!A2(t)||!Ox(t.expression))&&!ak(t,!0):t.parent&&mr(t.parent)&&ko(t)&&!eE(t)}function N8(t){switch(t.kind){case 174:case 177:case 178:return!0;default:return!1}}function nbe(t){switch(t.kind){case 174:case 177:case 178:case 172:return!0;default:return!1}}function ol(t){return Qo(t)||g1(t)}function Zy(t){const u=t.kind;return u===180||u===179||u===171||u===173||u===181||u===177||u===178}function OU(t){return Zy(t)||Zd(t)}function Z3(t){const u=t.kind;return u===303||u===304||u===305||u===174||u===177||u===178}function Xr(t){return _le(t.kind)}function ube(t){switch(t.kind){case 184:case 185:return!0}return!1}function So(t){if(t){const u=t.kind;return u===207||u===206}return!1}function KN(t){const u=t.kind;return u===209||u===210}function jU(t){const u=t.kind;return u===208||u===232}function $O(t){switch(t.kind){case 260:case 169:case 208:return!0}return!1}function rbe(t){return ua(t)||io(t)||qO(t)||ZO(t)}function UO(t){return Yse(t)||Qse(t)}function Yse(t){switch(t.kind){case 206:case 210:return!0}return!1}function qO(t){switch(t.kind){case 208:case 303:case 304:case 305:return!0}return!1}function Qse(t){switch(t.kind){case 207:case 209:return!0}return!1}function ZO(t){switch(t.kind){case 208:case 232:case 230:case 209:case 210:case 80:case 211:case 212:return!0}return ld(t,!0)}function abe(t){const u=t.kind;return u===211||u===166||u===205}function obe(t){const u=t.kind;return u===211||u===166}function Xse(t){return D2(t)||R2(t)}function D2(t){switch(t.kind){case 286:case 285:case 213:case 214:case 215:case 170:return!0;default:return!1}}function $E(t){return t.kind===213||t.kind===214}function P8(t){const u=t.kind;return u===228||u===15}function Df(t){return vZe(Np(t).kind)}function vZe(t){switch(t){case 211:case 212:case 214:case 213:case 284:case 285:case 288:case 215:case 209:case 217:case 210:case 231:case 218:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 228:case 97:case 106:case 110:case 112:case 108:case 235:case 233:case 236:case 102:case 282:return!0;default:return!1}}function e0e(t){return CZe(Np(t).kind)}function CZe(t){switch(t){case 224:case 225:case 220:case 221:case 222:case 223:case 216:return!0;default:return vZe(t)}}function sbe(t){switch(t.kind){case 225:return!0;case 224:return t.operator===46||t.operator===47;default:return!1}}function lbe(t){switch(t.kind){case 106:case 112:case 97:case 224:return!0;default:return E2(t)}}function Wt(t){return _Tt(Np(t).kind)}function _Tt(t){switch(t){case 227:case 229:case 219:case 226:case 230:case 234:case 232:case 361:case 360:case 238:return!0;default:return CZe(t)}}function Yy(t){const u=t.kind;return u===216||u===234}function bZe(t){return yce(t)||dY(t)}function Tx(t,u){switch(t.kind){case 248:case 249:case 250:case 246:case 247:return!0;case 256:return u&&Tx(t.statement,u)}return!1}function cbe(t){return tc(t)||Gc(t)}function dbe(t){return Oe(t,cbe)}function VU(t){return!aj(t)&&!tc(t)&&!Yu(t,32)&&!N1(t)}function YO(t){return aj(t)||tc(t)||Yu(t,32)}function M8(t){return t.kind===249||t.kind===250}function HU(t){return po(t)||Wt(t)}function t0e(t){return po(t)}function a4(t){return Ad(t)||Wt(t)}function hbe(t){const u=t.kind;return u===268||u===267||u===80}function yZe(t){const u=t.kind;return u===268||u===267}function kZe(t){const u=t.kind;return u===80||u===267}function i0e(t){const u=t.kind;return u===275||u===274}function QO(t){return t.kind===267||t.kind===266}function Zg(t){switch(t.kind){case 219:case 226:case 208:case 213:case 179:case 263:case 231:case 175:case 176:case 185:case 180:case 212:case 266:case 306:case 277:case 278:case 281:case 262:case 218:case 184:case 177:case 80:case 273:case 271:case 276:case 181:case 264:case 345:case 347:case 324:case 348:case 355:case 330:case 353:case 329:case 291:case 292:case 293:case 200:case 174:case 173:case 267:case 202:case 280:case 270:case 274:case 214:case 15:case 9:case 210:case 169:case 211:case 303:case 172:case 171:case 178:case 304:case 312:case 305:case 11:case 265:case 187:case 168:case 260:return!0;default:return!1}}function UE(t){switch(t.kind){case 219:case 241:case 179:case 269:case 299:case 175:case 194:case 176:case 185:case 180:case 248:case 249:case 250:case 262:case 218:case 184:case 177:case 181:case 345:case 347:case 324:case 330:case 353:case 200:case 174:case 173:case 267:case 178:case 312:case 265:return!0;default:return!1}}function DTt(t){return t===219||t===208||t===263||t===231||t===175||t===176||t===266||t===306||t===281||t===262||t===218||t===177||t===273||t===271||t===276||t===264||t===291||t===174||t===173||t===267||t===270||t===274||t===280||t===169||t===303||t===172||t===171||t===178||t===304||t===265||t===168||t===260||t===353||t===345||t===355}function fbe(t){return t===262||t===282||t===263||t===264||t===265||t===266||t===267||t===272||t===271||t===278||t===277||t===270}function mbe(t){return t===252||t===251||t===259||t===246||t===244||t===242||t===249||t===250||t===248||t===245||t===256||t===253||t===255||t===257||t===258||t===243||t===247||t===254||t===359}function Q1(t){return t.kind===168?t.parent&&t.parent.kind!==352||Qn(t):DTt(t.kind)}function pbe(t){return fbe(t.kind)}function XO(t){return mbe(t.kind)}function na(t){const u=t.kind;return mbe(u)||fbe(u)||xTt(t)}function xTt(t){return t.kind!==241||t.parent!==void 0&&(t.parent.kind===258||t.parent.kind===299)?!1:!k2(t)}function gbe(t){const u=t.kind;return mbe(u)||fbe(u)||u===241}function Ebe(t){const u=t.kind;return u===283||u===166||u===80}function WN(t){const u=t.kind;return u===110||u===80||u===211||u===295}function ej(t){const u=t.kind;return u===284||u===294||u===285||u===12||u===288}function KU(t){const u=t.kind;return u===291||u===293}function _be(t){const u=t.kind;return u===11||u===294}function zh(t){const u=t.kind;return u===286||u===285}function WU(t){const u=t.kind;return u===296||u===297}function z8(t){return t.kind>=316&&t.kind<=357}function GU(t){return t.kind===327||t.kind===326||t.kind===328||o7(t)||I8(t)||K7(t)||Ov(t)}function I8(t){return t.kind>=334&&t.kind<=357}function e5(t){return t.kind===178}function Lx(t){return t.kind===177}function lm(t){if(!wj(t))return!1;const{jsDoc:u}=t;return!!u&&u.length>0}function JU(t){return!!t.type}function Nx(t){return!!t.initializer}function Qy(t){switch(t.kind){case 260:case 169:case 208:case 172:case 303:case 306:return!0;default:return!1}}function n0e(t){return t.kind===291||t.kind===293||Z3(t)}function $U(t){return t.kind===183||t.kind===233}function Dbe(t){let u=xbe;for(const s of t){if(!s.length)continue;let d=0;for(;ds.kind===u)}function Vo(t){const u=new Map;if(t)for(const s of t)u.set(s.escapedName,s);return u}function qE(t){return(t.flags&33554432)!==0}function CTt(){var t="";const u=s=>t+=s;return{getText:()=>t,write:u,rawWrite:u,writeKeyword:u,writeOperator:u,writePunctuation:u,writeSpace:u,writeStringLiteral:u,writeLiteral:u,writeParameter:u,writeProperty:u,writeSymbol:(s,d)=>u(s),writeTrailingSemicolon:u,writeComment:u,getTextPos:()=>t.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!t.length&&U3(t.charCodeAt(t.length-1)),writeLine:()=>t+=" ",increaseIndent:Is,decreaseIndent:Is,clear:()=>t=""}}function UU(t,u){return t.configFilePath!==u.configFilePath||Cbe(t,u)}function Cbe(t,u){return R8(t,u,NY)}function bbe(t,u){return R8(t,u,pde)}function R8(t,u,s){return t!==u&&s.some(d=>!dZ(tZ(t,d),tZ(u,d)))}function ybe(t,u){for(;;){const s=u(t);if(s==="quit")return;if(s!==void 0)return s;if(la(t))return;t=t.parent}}function h1(t,u){const s=t.entries();for(const[d,f]of s){const p=u(f,d);if(p)return p}}function U_(t,u){const s=t.keys();for(const d of s){const f=u(d);if(f)return f}}function qU(t,u){t.forEach((s,d)=>{u.set(d,s)})}function GN(t){const u=cV.getText();try{return t(cV),cV.getText()}finally{cV.clear(),cV.writeKeyword(u)}}function ij(t){return t.end-t.pos}function a0e(t,u){return t.path===u.path&&!t.prepend==!u.prepend&&!t.circular==!u.circular}function kbe(t,u){return t===u||t.resolvedModule===u.resolvedModule||!!t.resolvedModule&&!!u.resolvedModule&&t.resolvedModule.isExternalLibraryImport===u.resolvedModule.isExternalLibraryImport&&t.resolvedModule.extension===u.resolvedModule.extension&&t.resolvedModule.resolvedFileName===u.resolvedModule.resolvedFileName&&t.resolvedModule.originalPath===u.resolvedModule.originalPath&&bTt(t.resolvedModule.packageId,u.resolvedModule.packageId)&&t.node10Result===u.node10Result}function o0e(t,u,s,d,f){var p;const E=(p=u.getResolvedModule(t,s,d))==null?void 0:p.node10Result,v=E?ro(void 0,F.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings,E,E.includes(o_+"@types/")?`@types/${JB(f)}`:f):u.typesPackageExists(f)?ro(void 0,F.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,f,JB(f)):u.packageBundlesTypes(f)?ro(void 0,F.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,f,s):ro(void 0,F.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,s,JB(f));return v&&(v.repopulateInfo=()=>({moduleReference:s,mode:d,packageName:f===s?void 0:f})),v}function bTt(t,u){return t===u||!!t&&!!u&&t.name===u.name&&t.subModuleName===u.subModuleName&&t.version===u.version}function ZU({name:t,subModuleName:u}){return u?`${t}/${u}`:t}function Px(t){return`${ZU(t)}@${t.version}`}function Fbe(t,u){return t===u||t.resolvedTypeReferenceDirective===u.resolvedTypeReferenceDirective||!!t.resolvedTypeReferenceDirective&&!!u.resolvedTypeReferenceDirective&&t.resolvedTypeReferenceDirective.resolvedFileName===u.resolvedTypeReferenceDirective.resolvedFileName&&!!t.resolvedTypeReferenceDirective.primary==!!u.resolvedTypeReferenceDirective.primary&&t.resolvedTypeReferenceDirective.originalPath===u.resolvedTypeReferenceDirective.originalPath}function s0e(t,u,s,d,f,p){H.assert(t.length===s.length);for(let E=0;E=0),$3(u)[t]}function FZe(t){const u=zn(t),s=s0(u,t.pos);return`${u.fileName}(${s.line+1},${s.character+1})`}function uj(t,u){H.assert(t>=0);const s=$3(u),d=t,f=u.text;if(d+1===s.length)return f.length-1;{const p=s[d];let E=s[d+1]-1;for(H.assert(Z1(f.charCodeAt(E)));p<=E&&Z1(f.charCodeAt(E));)E--;return E}}function QU(t,u,s){return!(s&&s(u))&&!t.identifiers.has(u)}function Ql(t){return t===void 0?!0:t.pos===t.end&&t.pos>=0&&t.kind!==1}function H4(t){return!Ql(t)}function Sbe(t,u){return Bl(t)?u===t.expression:zl(t)?u===t.modifiers:Mm(t)?u===t.initializer:ko(t)?u===t.questionToken&&ef(t):Jc(t)?u===t.modifiers||u===t.questionToken||u===t.exclamationToken||rj(t.modifiers,u,ol):pm(t)?u===t.equalsToken||u===t.modifiers||u===t.questionToken||u===t.exclamationToken||rj(t.modifiers,u,ol):dc(t)?u===t.exclamationToken:hc(t)?u===t.typeParameters||u===t.type||rj(t.typeParameters,u,Bl):zm(t)?u===t.typeParameters||rj(t.typeParameters,u,Bl):jf(t)?u===t.typeParameters||u===t.type||rj(t.typeParameters,u,Bl):wV(t)?u===t.modifiers||rj(t.modifiers,u,ol):!1}function rj(t,u,s){return!t||Ha(u)||!s(u)?!1:kt(t,u)}function AZe(t,u,s){if(u===void 0||u.length===0)return t;let d=0;for(;d[`${s0(t,E.range.end).line}`,E])),d=new Map;return{getUnusedExpectations:f,markUsed:p};function f(){return ga(s.entries()).filter(([E,v])=>v.type===0&&!d.get(E)).map(([E,v])=>v)}function p(E){return s.has(`${E}`)?(d.set(`${E}`,!0),!0):!1}}function ek(t,u,s){return Ql(t)?t.pos:z8(t)||t.kind===12?gs((u||zn(t)).text,t.pos,!1,!0):s&&lm(t)?ek(t.jsDoc[0],u):t.kind===358&&t._children.length>0?ek(t._children[0],u,s):gs((u||zn(t)).text,t.pos,!1,!1,Ej(t))}function d0e(t,u){const s=!Ql(t)&&Hp(t)?lt(t.modifiers,g1):void 0;return s?gs((u||zn(t)).text,s.end):ek(t,u)}function x2(t,u,s=!1){return JN(t.text,u,s)}function kTt(t){return!!Tn(t,kk)}function eq(t){return!!(Gc(t)&&t.exportClause&&u_(t.exportClause)&&t.exportClause.name.escapedText==="default")}function JN(t,u,s=!1){if(Ql(u))return"";let d=t.substring(s?u.pos:gs(t,u.pos),u.end);return kTt(u)&&(d=d.split(/\r\n|\n|\r/).map(f=>f.replace(/^\s*\*/,"").trimStart()).join(` +`)),d}function Hc(t,u=!1){return x2(zn(t),t,u)}function FTt(t){return t.pos}function j8(t,u){return Kl(t,u,FTt,nl)}function bs(t){const u=t.emitNode;return u&&u.flags||0}function Pp(t){const u=t.emitNode;return u&&u.internalFlags||0}function wbe(t,u,s){if(u&&ATt(t,s))return x2(u,t);switch(t.kind){case 11:{const d=s&2?X0e:s&1||bs(t)&16777216?Av:jj;return t.singleQuote?"'"+d(t.text,39)+"'":'"'+d(t.text,34)+'"'}case 15:case 16:case 17:case 18:{const d=s&1||bs(t)&16777216?Av:jj,f=t.rawText??RTt(d(t.text,96));switch(t.kind){case 15:return"`"+f+"`";case 16:return"`"+f+"${";case 17:return"}"+f+"${";case 18:return"}"+f+"`"}break}case 9:case 10:return t.text;case 14:return s&4&&t.isUnterminated?t.text+(t.text.charCodeAt(t.text.length-1)===92?" /":"/"):t.text}return H.fail(`Literal kind '${t.kind}' not accounted for.`)}function ATt(t,u){if(sl(t)||!t.parent||u&4&&t.isUnterminated)return!1;if(Of(t)){if(t.numericLiteralFlags&26656)return!1;if(t.numericLiteralFlags&512)return!!(u&8)}return!iY(t)}function Tbe(t){return Ja(t)?'"'+jj(t)+'"':""+t}function Lbe(t){return Ac(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function h0e(t){return(QD(t)&7)!==0||f0e(t)}function f0e(t){const u=XE(t);return u.kind===260&&u.parent.kind===299}function N1(t){return _c(t)&&(t.name.kind===11||Yg(t))}function tq(t){return _c(t)&&t.name.kind===11}function m0e(t){return _c(t)&&us(t.name)}function Nbe(t){return _c(t)||at(t)}function $N(t){return STt(t.valueDeclaration)}function STt(t){return!!t&&t.kind===267&&!t.body}function Pbe(t){return t.kind===312||t.kind===267||L8(t)}function Yg(t){return!!(t.flags&2048)}function v2(t){return N1(t)&&p0e(t)}function p0e(t){switch(t.parent.kind){case 312:return wc(t.parent);case 268:return N1(t.parent.parent)&&la(t.parent.parent.parent)&&!wc(t.parent.parent.parent)}return!1}function g0e(t){var u;return(u=t.declarations)==null?void 0:u.find(s=>!v2(s)&&!(_c(s)&&Yg(s)))}function BTt(t){return t===1||t===100||t===199}function s7(t,u){return wc(t)||BTt(m1(u))&&!!t.commonJsModuleIndicator}function E0e(t,u){switch(t.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return t.isDeclarationFile?!1:Z4(u,"alwaysStrict")||AFe(t.statements)?!0:wc(t)||mg(u)?m1(u)>=5?!0:!u.noImplicitUseStrict:!1}function _0e(t){return!!(t.flags&33554432)||Yu(t,128)}function D0e(t,u){switch(t.kind){case 312:case 269:case 299:case 267:case 248:case 249:case 250:case 176:case 174:case 177:case 178:case 262:case 218:case 219:case 172:case 175:return!0;case 241:return!L8(u)}return!1}function x0e(t){switch(H.type(t),t.kind){case 345:case 353:case 330:return!0;default:return v0e(t)}}function v0e(t){switch(H.type(t),t.kind){case 179:case 180:case 173:case 181:case 184:case 185:case 324:case 263:case 231:case 264:case 265:case 352:case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function tk(t){switch(t.kind){case 272:case 271:return!0;default:return!1}}function Mbe(t){return tk(t)||F2(t)}function iq(t){switch(t.kind){case 272:case 271:case 243:case 263:case 262:case 267:case 265:case 264:case 266:return!0;default:return!1}}function zbe(t){return aj(t)||_c(t)||nD(t)||dm(t)}function aj(t){return tk(t)||Gc(t)}function C0e(t){return Tn(t.parent,u=>!!(Lde(u)&1))}function YE(t){return Tn(t.parent,u=>D0e(u,u.parent))}function Ibe(t,u){let s=YE(t);for(;s;)u(s),s=YE(s)}function b0(t){return!t||ij(t)===0?"(Missing)":Hc(t)}function Rbe(t){return t.declaration?b0(t.declaration.parameters[0].name):void 0}function oj(t){return t.kind===167&&!Pm(t.expression)}function UN(t){var u;switch(t.kind){case 80:case 81:return(u=t.emitNode)!=null&&u.autoGenerate?void 0:t.escapedText;case 11:case 9:case 15:return Al(t.text);case 167:return Pm(t.expression)?Al(t.expression.text):void 0;case 295:return k7(t);default:return H.assertNever(t)}}function V8(t){return H.checkDefined(UN(t))}function zf(t){switch(t.kind){case 110:return"this";case 81:case 80:return ij(t)===0?fu(t):Hc(t);case 166:return zf(t.left)+"."+zf(t.right);case 211:return at(t.name)||ea(t.name)?zf(t.expression)+"."+zf(t.name):H.assertNever(t.name);case 318:return zf(t.left)+zf(t.right);case 295:return zf(t.namespace)+":"+zf(t.name);default:return H.assertNever(t)}}function Su(t,u,...s){const d=zn(t);return K4(d,t,u,...s)}function H8(t,u,s,...d){const f=gs(t.text,u.pos);return Rd(t,f,u.end-f,s,...d)}function K4(t,u,s,...d){const f=C2(t,u);return Rd(t,f.start,f.length,s,...d)}function Y3(t,u,s,d){const f=C2(t,u);return nq(t,f.start,f.length,s,d)}function sj(t,u,s,d){const f=gs(t.text,u.pos);return nq(t,f,u.end-f,s,d)}function Obe(t,u,s){H.assertGreaterThanOrEqual(u,0),H.assertGreaterThanOrEqual(s,0),H.assertLessThanOrEqual(u,t.length),H.assertLessThanOrEqual(u+s,t.length)}function nq(t,u,s,d,f){return Obe(t.text,u,s),{file:t,start:u,length:s,code:d.code,category:d.category,messageText:d.next?d:d.messageText,relatedInformation:f}}function b0e(t,u,s){return{file:t,start:0,length:0,code:u.code,category:u.category,messageText:u.next?u:u.messageText,relatedInformation:s}}function jbe(t){return typeof t.messageText=="string"?{code:t.code,category:t.category,messageText:t.messageText,next:t.next}:t.messageText}function Vbe(t,u,s){return{file:t,start:u.pos,length:u.end-u.pos,code:s.code,category:s.category,messageText:s.message}}function QE(t,u){const s=YD(t.languageVersion,!0,t.languageVariant,t.text,void 0,u);s.scan();const d=s.getTokenStart();return Vc(d,s.getTokenEnd())}function Hbe(t,u){const s=YD(t.languageVersion,!0,t.languageVariant,t.text,void 0,u);return s.scan(),s.getToken()}function wTt(t,u){const s=gs(t.text,u.pos);if(u.body&&u.body.kind===241){const{line:d}=s0(t,u.body.pos),{line:f}=s0(t,u.body.end);if(d0?u.statements[0].pos:u.end;return Vc(p,E)}case 253:case 229:{const p=gs(t.text,u.pos);return QE(t,p)}case 238:{const p=gs(t.text,u.expression.end);return QE(t,p)}case 357:{const p=gs(t.text,u.tagName.pos);return QE(t,p)}}if(s===void 0)return QE(t,u.pos);H.assert(!Vp(s));const d=Ql(s),f=d||w7(u)?s.pos:gs(t.text,s.pos);return d?(H.assert(f===s.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),H.assert(f===s.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(H.assert(f>=s.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),H.assert(f<=s.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),Vc(f,s.end)}function cm(t){return(t.externalModuleIndicator||t.commonJsModuleIndicator)!==void 0}function W4(t){return t.scriptKind===6}function b2(t){return!!(m2(t)&4096)}function uq(t){return!!(m2(t)&8&&!Mf(t,t.parent))}function lj(t){return(QD(t)&7)===6}function cj(t){return(QD(t)&7)===4}function K8(t){return(QD(t)&7)===2}function rq(t){return(QD(t)&7)===1}function ik(t){return t.kind===213&&t.expression.kind===108}function dm(t){return t.kind===213&&t.expression.kind===102}function W8(t){return $P(t)&&t.keywordToken===102&&t.name.escapedText==="meta"}function zx(t){return nD(t)&&Mv(t.argument)&&us(t.argument.literal)}function Mp(t){return t.kind===244&&t.expression.kind===11}function dj(t){return!!(bs(t)&2097152)}function aq(t){return dj(t)&&ed(t)}function TTt(t){return at(t.name)&&!t.initializer}function oq(t){return dj(t)&&Jl(t)&&ye(t.declarationList.declarations,TTt)}function y0e(t,u){return t.kind!==12?W_(u.text,t.pos):void 0}function k0e(t,u){const s=t.kind===169||t.kind===168||t.kind===218||t.kind===219||t.kind===217||t.kind===260||t.kind===281?Hi(gv(u,t.pos),W_(u,t.pos)):W_(u,t.pos);return ti(s,d=>u.charCodeAt(d.pos+1)===42&&u.charCodeAt(d.pos+2)===42&&u.charCodeAt(d.pos+3)!==47)}function q_(t){if(182<=t.kind&&t.kind<=205)return!0;switch(t.kind){case 133:case 159:case 150:case 163:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return t.parent.kind!==222;case 233:return mm(t.parent)&&!Jj(t);case 168:return t.parent.kind===200||t.parent.kind===195;case 80:(t.parent.kind===166&&t.parent.right===t||t.parent.kind===211&&t.parent.name===t)&&(t=t.parent),H.assert(t.kind===80||t.kind===166||t.kind===211,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 166:case 211:case 110:{const{parent:u}=t;if(u.kind===186)return!1;if(u.kind===205)return!u.isTypeOf;if(182<=u.kind&&u.kind<=205)return!0;switch(u.kind){case 233:return mm(u.parent)&&!Jj(u);case 168:return t===u.constraint;case 352:return t===u.constraint;case 172:case 171:case 169:case 260:return t===u.type;case 262:case 218:case 219:case 176:case 174:case 173:case 177:case 178:return t===u.type;case 179:case 180:case 181:return t===u.type;case 216:return t===u.type;case 213:case 214:case 215:return kt(u.typeArguments,t)}}}return!1}function TZe(t,u){for(;t;){if(t.kind===u)return!0;t=t.parent}return!1}function y2(t,u){return s(t);function s(d){switch(d.kind){case 253:return u(d);case 269:case 241:case 245:case 246:case 247:case 248:case 249:case 250:case 254:case 255:case 296:case 297:case 256:case 258:case 299:return ao(d,s)}}}function Kbe(t,u){return s(t);function s(d){switch(d.kind){case 229:u(d);const f=d.expression;f&&s(f);return;case 266:case 264:case 267:case 265:return;default:if(Co(d)){if(d.name&&d.name.kind===167){s(d.name.expression);return}}else q_(d)||ao(d,s)}}}function F0e(t){return t&&t.kind===188?t.elementType:t&&t.kind===183?Aa(t.typeArguments):void 0}function Wbe(t){switch(t.kind){case 264:case 263:case 231:case 187:return t.members;case 210:return t.properties}}function G8(t){if(t)switch(t.kind){case 208:case 306:case 169:case 303:case 172:case 171:case 304:case 260:return!0}return!1}function Gbe(t){return G8(t)||wx(t)}function qN(t){return t.parent.kind===261&&t.parent.parent.kind===243}function Jbe(t){return Qn(t)?ys(t.parent)&&Xn(t.parent.parent)&&Xl(t.parent.parent)===2||sq(t.parent):!1}function sq(t){return Qn(t)?Xn(t)&&Xl(t)===1:!1}function $be(t){return(ua(t)?K8(t)&&at(t.name)&&qN(t):ko(t)?fP(t)&&Kc(t):Mm(t)&&fP(t))||sq(t)}function Ube(t){switch(t.kind){case 174:case 173:case 176:case 177:case 178:case 262:case 218:return!0}return!1}function A0e(t,u){for(;;){if(u&&u(t),t.statement.kind!==256)return t.statement;t=t.statement}}function k2(t){return t&&t.kind===241&&Co(t.parent)}function zp(t){return t&&t.kind===174&&t.parent.kind===210}function lq(t){return(t.kind===174||t.kind===177||t.kind===178)&&(t.parent.kind===210||t.parent.kind===231)}function qbe(t){return t&&t.kind===1}function LZe(t){return t&&t.kind===0}function J8(t,u,s,d){return L(t==null?void 0:t.properties,f=>{if(!Jc(f))return;const p=UN(f.name);return u===p||d&&d===p?s(f):void 0})}function Zbe(t,u,s){return J8(t,u,d=>Dh(d.initializer)?Le(d.initializer.elements,f=>us(f)&&f.text===s):void 0)}function ZN(t){if(t&&t.statements.length){const u=t.statements[0].expression;return ur(u,ys)}}function cq(t,u,s){return hj(t,u,d=>Dh(d.initializer)?Le(d.initializer.elements,f=>us(f)&&f.text===s):void 0)}function hj(t,u,s){return J8(ZN(t),u,s)}function Nm(t){return Tn(t.parent,Co)}function Ybe(t){return Tn(t.parent,$0)}function Yd(t){return Tn(t.parent,mr)}function Qbe(t){return Tn(t.parent,u=>mr(u)||Co(u)?"quit":zl(u))}function dq(t){return Tn(t.parent,L8)}function hq(t){const u=Tn(t.parent,s=>mr(s)?"quit":g1(s));return u&&mr(u.parent)?Yd(u.parent):Yd(u??t)}function tf(t,u,s){for(H.assert(t.kind!==312);;){if(t=t.parent,!t)return H.fail();switch(t.kind){case 167:if(s&&mr(t.parent.parent))return t;t=t.parent.parent;break;case 170:t.parent.kind===169&&Zd(t.parent.parent)?t=t.parent.parent:Zd(t.parent)&&(t=t.parent);break;case 219:if(!u)continue;case 262:case 218:case 267:case 175:case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 179:case 180:case 181:case 266:case 312:return t}}}function Xbe(t){switch(t.kind){case 219:case 262:case 218:case 172:return!0;case 241:switch(t.parent.kind){case 176:case 174:case 177:case 178:return!0;default:return!1}default:return!1}}function fq(t){at(t)&&(Wc(t.parent)||ed(t.parent))&&t.parent.name===t&&(t=t.parent);const u=tf(t,!0,!1);return la(u)}function eye(t){const u=tf(t,!1,!1);if(u)switch(u.kind){case 176:case 262:case 218:return u}}function fj(t,u){for(;;){if(t=t.parent,!t)return;switch(t.kind){case 167:t=t.parent;break;case 262:case 218:case 219:if(!u)continue;case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 175:return t;case 170:t.parent.kind===169&&Zd(t.parent.parent)?t=t.parent.parent:Zd(t.parent)&&(t=t.parent);break}}}function nk(t){if(t.kind===218||t.kind===219){let u=t,s=t.parent;for(;s.kind===217;)u=s,s=s.parent;if(s.kind===213&&s.expression===u)return s}}function NZe(t){return t.kind===108||nf(t)}function nf(t){const u=t.kind;return(u===211||u===212)&&t.expression.kind===108}function mj(t){const u=t.kind;return(u===211||u===212)&&t.expression.kind===110}function mq(t){var u;return!!t&&ua(t)&&((u=t.initializer)==null?void 0:u.kind)===110}function tye(t){return!!t&&(pm(t)||Jc(t))&&Xn(t.parent.parent)&&t.parent.parent.operatorToken.kind===64&&t.parent.parent.right.kind===110}function pj(t){switch(t.kind){case 183:return t.typeName;case 233:return ec(t.expression)?t.expression:void 0;case 80:case 166:return t}}function pq(t){switch(t.kind){case 215:return t.tag;case 286:case 285:return t.tagName;case 226:return t.right;default:return t.expression}}function gq(t,u,s,d){if(t&&mh(u)&&ea(u.name))return!1;switch(u.kind){case 263:return!0;case 231:return!t;case 172:return s!==void 0&&(t?Wc(s):mr(s)&&!P2(u)&&!rle(u));case 177:case 178:case 174:return u.body!==void 0&&s!==void 0&&(t?Wc(s):mr(s));case 169:return t?s!==void 0&&s.body!==void 0&&(s.kind===176||s.kind===174||s.kind===178)&&T2(s)!==u&&d!==void 0&&d.kind===263:!1}return!1}function YN(t,u,s,d){return o4(u)&&gq(t,u,s,d)}function gj(t,u,s,d){return YN(t,u,s,d)||QN(t,u,s)}function QN(t,u,s){switch(u.kind){case 263:return Oe(u.members,d=>gj(t,d,u,s));case 231:return!t&&Oe(u.members,d=>gj(t,d,u,s));case 174:case 178:case 176:return Oe(u.parameters,d=>YN(t,d,u,s));default:return!1}}function t5(t,u){if(YN(t,u))return!0;const s=X_(u);return!!s&&QN(t,s,u)}function S0e(t,u,s){let d;if(wx(u)){const{firstAccessor:f,secondAccessor:p,setAccessor:E}=dk(s.members,u),v=o4(f)?f:p&&o4(p)?p:void 0;if(!v||u!==v)return!1;d=E==null?void 0:E.parameters}else dc(u)&&(d=u.parameters);if(YN(t,u,s))return!0;if(d){for(const f of d)if(!L2(f)&&YN(t,f,u,s))return!0}return!1}function B0e(t){if(t.textSourceNode){switch(t.textSourceNode.kind){case 11:return B0e(t.textSourceNode);case 15:return t.text===""}return!1}return t.text===""}function $8(t){const{parent:u}=t;return u.kind===286||u.kind===285||u.kind===287?u.tagName===t:!1}function Z_(t){switch(t.kind){case 108:case 106:case 112:case 97:case 14:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 234:case 216:case 238:case 235:case 217:case 218:case 231:case 219:case 222:case 220:case 221:case 224:case 225:case 226:case 227:case 230:case 228:case 232:case 284:case 285:case 288:case 229:case 223:case 236:return!0;case 233:return!mm(t.parent)&&!LB(t.parent);case 166:for(;t.parent.kind===166;)t=t.parent;return t.parent.kind===186||o7(t.parent)||QP(t.parent)||Rv(t.parent)||$8(t);case 318:for(;Rv(t.parent);)t=t.parent;return t.parent.kind===186||o7(t.parent)||QP(t.parent)||Rv(t.parent)||$8(t);case 81:return Xn(t.parent)&&t.parent.left===t&&t.parent.operatorToken.kind===103;case 80:if(t.parent.kind===186||o7(t.parent)||QP(t.parent)||Rv(t.parent)||$8(t))return!0;case 9:case 10:case 11:case 15:case 110:return Eq(t);default:return!1}}function Eq(t){const{parent:u}=t;switch(u.kind){case 260:case 169:case 172:case 171:case 306:case 303:case 208:return u.initializer===t;case 244:case 245:case 246:case 247:case 253:case 254:case 255:case 296:case 257:return u.expression===t;case 248:const s=u;return s.initializer===t&&s.initializer.kind!==261||s.condition===t||s.incrementor===t;case 249:case 250:const d=u;return d.initializer===t&&d.initializer.kind!==261||d.expression===t;case 216:case 234:return t===u.expression;case 239:return t===u.expression;case 167:return t===u.expression;case 170:case 294:case 293:case 305:return!0;case 233:return u.expression===t&&!q_(u);case 304:return u.objectAssignmentInitializer===t;case 238:return t===u.expression;default:return Z_(u)}}function _q(t){for(;t.kind===166||t.kind===80;)t=t.parent;return t.kind===186}function iye(t){return u_(t)&&!!t.parent.moduleSpecifier}function bv(t){return t.kind===271&&t.moduleReference.kind===283}function XN(t){return H.assert(bv(t)),t.moduleReference.expression}function w0e(t){return F2(t)&&CP(t.initializer).arguments[0]}function U8(t){return t.kind===271&&t.moduleReference.kind!==283}function gh(t){return Qn(t)}function PZe(t){return!Qn(t)}function Qn(t){return!!t&&!!(t.flags&524288)}function Dq(t){return!!t&&!!(t.flags&134217728)}function T0e(t){return!W4(t)}function Ej(t){return!!t&&!!(t.flags&16777216)}function xq(t){return X4(t)&&at(t.typeName)&&t.typeName.escapedText==="Object"&&t.typeArguments&&t.typeArguments.length===2&&(t.typeArguments[0].kind===154||t.typeArguments[0].kind===150)}function xf(t,u){if(t.kind!==213)return!1;const{expression:s,arguments:d}=t;if(s.kind!==80||s.escapedText!=="require"||d.length!==1)return!1;const f=d[0];return!u||t0(f)}function vq(t){return MZe(t,!1)}function F2(t){return MZe(t,!0)}function nye(t){return js(t)&&F2(t.parent.parent)}function MZe(t,u){return ua(t)&&!!t.initializer&&xf(u?CP(t.initializer):t.initializer,!0)}function L0e(t){return Jl(t)&&t.declarationList.declarations.length>0&&ye(t.declarationList.declarations,u=>vq(u))}function _j(t){return t===39||t===34}function Cq(t,u){return x2(u,t).charCodeAt(0)===34}function eP(t){return Xn(t)||I0(t)||at(t)||Mo(t)}function Dj(t){return Qn(t)&&t.initializer&&Xn(t.initializer)&&(t.initializer.operatorToken.kind===57||t.initializer.operatorToken.kind===61)&&t.name&&ec(t.name)&&q8(t.name,t.initializer.left)?t.initializer.right:t.initializer}function xj(t){const u=Dj(t);return u&&yv(u,Ox(t.name))}function LTt(t,u){return L(t.properties,s=>Jc(s)&&at(s.name)&&s.name.escapedText==="value"&&s.initializer&&yv(s.initializer,u))}function l7(t){if(t&&t.parent&&Xn(t.parent)&&t.parent.operatorToken.kind===64){const u=Ox(t.parent.left);return yv(t.parent.right,u)||NTt(t.parent.left,t.parent.right,u)}if(t&&Mo(t)&&rk(t)){const u=LTt(t.arguments[2],t.arguments[1].text==="prototype");if(u)return u}}function yv(t,u){if(Mo(t)){const s=l0(t.expression);return s.kind===218||s.kind===219?t:void 0}if(t.kind===218||t.kind===231||t.kind===219||ys(t)&&(t.properties.length===0||u))return t}function NTt(t,u,s){const d=Xn(u)&&(u.operatorToken.kind===57||u.operatorToken.kind===61)&&yv(u.right,s);if(d&&q8(t,u.left))return d}function uye(t){const u=ua(t.parent)?t.parent.name:Xn(t.parent)&&t.parent.operatorToken.kind===64?t.parent.left:void 0;return u&&yv(t.right,Ox(u))&&ec(u)&&q8(u,t.left)}function N0e(t){if(Xn(t.parent)){const u=(t.parent.operatorToken.kind===57||t.parent.operatorToken.kind===61)&&Xn(t.parent.parent)?t.parent.parent:t.parent;if(u.operatorToken.kind===64&&at(u.left))return u.left}else if(ua(t.parent))return t.parent.name}function q8(t,u){return Xg(t)&&Xg(u)?J4(t)===J4(u):J_(t)&&bq(u)&&(u.expression.kind===110||at(u.expression)&&(u.expression.escapedText==="window"||u.expression.escapedText==="self"||u.expression.escapedText==="global"))?q8(t,bj(u)):bq(t)&&bq(u)?Q3(t)===Q3(u)&&q8(t.expression,u.expression):!1}function vj(t){for(;ld(t,!0);)t=t.right;return t}function uk(t){return at(t)&&t.escapedText==="exports"}function P0e(t){return at(t)&&t.escapedText==="module"}function Y_(t){return(Iu(t)||Cj(t))&&P0e(t.expression)&&Q3(t)==="exports"}function Xl(t){const u=PTt(t);return u===5||Qn(t)?u:0}function rk(t){return S(t.arguments)===3&&Iu(t.expression)&&at(t.expression.expression)&&fu(t.expression.expression)==="Object"&&fu(t.expression.name)==="defineProperty"&&Pm(t.arguments[1])&&ak(t.arguments[0],!0)}function bq(t){return Iu(t)||Cj(t)}function Cj(t){return U0(t)&&Pm(t.argumentExpression)}function A2(t,u){return Iu(t)&&(!u&&t.expression.kind===110||at(t.name)&&ak(t.expression,!0))||yq(t,u)}function yq(t,u){return Cj(t)&&(!u&&t.expression.kind===110||ec(t.expression)||A2(t.expression,!0))}function ak(t,u){return ec(t)||A2(t,u)}function bj(t){return Iu(t)?t.name:t.argumentExpression}function PTt(t){if(Mo(t)){if(!rk(t))return 0;const u=t.arguments[0];return uk(u)||Y_(u)?8:A2(u)&&Q3(u)==="prototype"?9:7}return t.operatorToken.kind!==64||!I0(t.left)||MTt(vj(t))?0:ak(t.left.expression,!0)&&Q3(t.left)==="prototype"&&ys(M0e(t))?6:yj(t.left)}function MTt(t){return R7(t)&&Of(t.expression)&&t.expression.text==="0"}function kq(t){if(Iu(t))return t.name;const u=l0(t.argumentExpression);return Of(u)||t0(u)?u:t}function Q3(t){const u=kq(t);if(u){if(at(u))return u.escapedText;if(t0(u)||Of(u))return Al(u.text)}}function yj(t){if(t.expression.kind===110)return 4;if(Y_(t))return 2;if(ak(t.expression,!0)){if(Ox(t.expression))return 3;let u=t;for(;!at(u.expression);)u=u.expression;const s=u.expression;if((s.escapedText==="exports"||s.escapedText==="module"&&Q3(u)==="exports")&&A2(t))return 1;if(ak(t,!0)||U0(t)&&Lq(t))return 5}return 0}function M0e(t){for(;Xn(t.right);)t=t.right;return t.right}function kj(t){return Xn(t)&&Xl(t)===3}function rye(t){return Qn(t)&&t.parent&&t.parent.kind===244&&(!U0(t)||Cj(t))&&!!xv(t.parent)}function Fj(t,u){const{valueDeclaration:s}=t;(!s||!(u.flags&33554432&&!Qn(u)&&!(s.flags&33554432))&&eP(s)&&!eP(u)||s.kind!==u.kind&&Nbe(s))&&(t.valueDeclaration=u)}function aye(t){if(!t||!t.valueDeclaration)return!1;const u=t.valueDeclaration;return u.kind===262||ua(u)&&u.initializer&&Co(u.initializer)}function Z8(t){var u,s;switch(t.kind){case 260:case 208:return(u=Tn(t.initializer,d=>xf(d,!0)))==null?void 0:u.arguments[0];case 272:case 278:return ur(t.moduleSpecifier,t0);case 271:return ur((s=ur(t.moduleReference,r_))==null?void 0:s.expression,t0);case 273:case 280:return ur(t.parent.moduleSpecifier,t0);case 274:case 281:return ur(t.parent.parent.moduleSpecifier,t0);case 276:return ur(t.parent.parent.parent.moduleSpecifier,t0);case 205:return zx(t)?t.argument.literal:void 0;default:H.assertNever(t)}}function tP(t){return Aj(t)||H.failBadSyntaxKind(t.parent)}function Aj(t){switch(t.parent.kind){case 272:case 278:return t.parent;case 283:return t.parent.parent;case 213:return dm(t.parent)||xf(t.parent,!1)?t.parent:void 0;case 201:return H.assert(us(t)),ur(t.parent.parent,nD);default:return}}function Y8(t){switch(t.kind){case 272:case 278:return t.moduleSpecifier;case 271:return t.moduleReference.kind===283?t.moduleReference.expression:void 0;case 205:return zx(t)?t.argument.literal:void 0;case 213:return t.arguments[0];case 267:return t.name.kind===11?t.name:void 0;default:return H.assertNever(t)}}function Q8(t){switch(t.kind){case 272:return t.importClause&&ur(t.importClause.namedBindings,Jx);case 271:return t;case 278:return t.exportClause&&ur(t.exportClause,u_);default:return H.assertNever(t)}}function c7(t){return t.kind===272&&!!t.importClause&&!!t.importClause.name}function Fq(t,u){if(t.name){const s=u(t);if(s)return s}if(t.namedBindings){const s=Jx(t.namedBindings)?u(t.namedBindings):L(t.namedBindings.elements,u);if(s)return s}}function d7(t){if(t)switch(t.kind){case 169:case 174:case 173:case 304:case 303:case 172:case 171:return t.questionToken!==void 0}return!1}function X8(t){const u=TB(t)?Ki(t.parameters):void 0,s=ur(u&&u.name,at);return!!s&&s.escapedText==="new"}function G4(t){return t.kind===353||t.kind===345||t.kind===347}function Sj(t){return G4(t)||jp(t)}function zTt(t){return Od(t)&&Xn(t.expression)&&t.expression.operatorToken.kind===64?vj(t.expression):void 0}function zZe(t){return Od(t)&&Xn(t.expression)&&Xl(t.expression)!==0&&Xn(t.expression.right)&&(t.expression.right.operatorToken.kind===57||t.expression.right.operatorToken.kind===61)?t.expression.right.right:void 0}function z0e(t){switch(t.kind){case 243:const u=eB(t);return u&&u.initializer;case 172:return t.initializer;case 303:return t.initializer}}function eB(t){return Jl(t)?Ki(t.declarationList.declarations):void 0}function IZe(t){return _c(t)&&t.body&&t.body.kind===267?t.body:void 0}function Bj(t){if(t.kind>=243&&t.kind<=259)return!0;switch(t.kind){case 80:case 110:case 108:case 166:case 236:case 212:case 211:case 208:case 218:case 219:case 174:case 177:case 178:return!0;default:return!1}}function wj(t){switch(t.kind){case 219:case 226:case 241:case 252:case 179:case 296:case 263:case 231:case 175:case 176:case 185:case 180:case 251:case 259:case 246:case 212:case 242:case 1:case 266:case 306:case 277:case 278:case 281:case 244:case 249:case 250:case 248:case 262:case 218:case 184:case 177:case 80:case 245:case 272:case 271:case 181:case 264:case 324:case 330:case 256:case 174:case 173:case 267:case 202:case 270:case 210:case 169:case 217:case 211:case 303:case 172:case 171:case 253:case 240:case 178:case 304:case 305:case 255:case 257:case 258:case 265:case 168:case 260:case 243:case 247:case 254:return!0;default:return!1}}function I0e(t,u){let s;G8(t)&&Nx(t)&&lm(t.initializer)&&(s=yn(s,RZe(t,Cr(t.initializer.jsDoc))));let d=t;for(;d&&d.parent;){if(lm(d)&&(s=yn(s,RZe(t,Cr(d.jsDoc)))),d.kind===169){s=yn(s,(u?O2e:B8)(d));break}if(d.kind===168){s=yn(s,(u?V2e:j2e)(d));break}d=R0e(d)}return s||_t}function RZe(t,u){if(Vp(u)){const s=ti(u.tags,d=>OZe(t,d));return u.tags===s?[u]:s}return OZe(t,u)?[u]:void 0}function OZe(t,u){return!(XP(u)||_Y(u))||!u.parent||!Vp(u.parent)||!Cf(u.parent.parent)||u.parent.parent===t}function R0e(t){const u=t.parent;if(u.kind===303||u.kind===277||u.kind===172||u.kind===244&&t.kind===211||u.kind===253||IZe(u)||ld(t))return u;if(u.parent&&(eB(u.parent)===t||ld(u)))return u.parent;if(u.parent&&u.parent.parent&&(eB(u.parent.parent)||z0e(u.parent.parent)===t||zZe(u.parent.parent)))return u.parent.parent}function Tj(t){if(t.symbol)return t.symbol;if(!at(t.name))return;const u=t.name.escapedText,s=kv(t);if(!s)return;const d=Le(s.parameters,f=>f.name.kind===80&&f.name.escapedText===u);return d&&d.symbol}function Aq(t){if(Vp(t.parent)&&t.parent.tags){const u=Le(t.parent.tags,G4);if(u)return u}return kv(t)}function kv(t){const u=ok(t);if(u)return Mm(u)&&u.type&&Co(u.type)?u.type:Co(u)?u:void 0}function ok(t){const u=h7(t);if(u)return zZe(u)||zTt(u)||z0e(u)||eB(u)||IZe(u)||u}function h7(t){const u=iP(t);if(!u)return;const s=u.parent;if(s&&s.jsDoc&&u===qu(s.jsDoc))return s}function iP(t){return Tn(t.parent,Vp)}function oye(t){const u=t.name.escapedText,{typeParameters:s}=t.parent.parent.parent;return s&&Le(s,d=>d.name.escapedText===u)}function jZe(t){return!!t.typeArguments}function sye(t){let u=t.parent;for(;;){switch(u.kind){case 226:const s=u,d=s.operatorToken.kind;return u5(d)&&s.left===t?s:void 0;case 224:case 225:const f=u,p=f.operator;return p===46||p===47?f:void 0;case 249:case 250:const E=u;return E.initializer===t?E:void 0;case 217:case 209:case 230:case 235:t=u;break;case 305:t=u.parent;break;case 304:if(u.name!==t)return;t=u.parent;break;case 303:if(u.name===t)return;t=u.parent;break;default:return}u=t.parent}}function f7(t){const u=sye(t);if(!u)return 0;switch(u.kind){case 226:const s=u.operatorToken.kind;return s===64||mP(s)?1:2;case 224:case 225:return 2;case 249:case 250:return 1}}function Q_(t){return!!sye(t)}function ITt(t){const u=l0(t.right);return u.kind===226&&Kce(u.operatorToken.kind)}function O0e(t){const u=sye(t);return!!u&&ld(u,!0)&&ITt(u)}function lye(t){switch(t.kind){case 241:case 243:case 254:case 245:case 255:case 269:case 296:case 297:case 256:case 248:case 249:case 250:case 246:case 247:case 258:case 299:return!0}return!1}function cye(t){return A0(t)||q0(t)||N8(t)||ed(t)||hc(t)}function VZe(t,u){for(;t&&t.kind===u;)t=t.parent;return t}function Lj(t){return VZe(t,196)}function i5(t){return VZe(t,217)}function dye(t){let u;for(;t&&t.kind===196;)u=t,t=t.parent;return[u,t]}function j0e(t){for(;M7(t);)t=t.type;return t}function l0(t,u){return Dc(t,u?17:1)}function V0e(t){return t.kind!==211&&t.kind!==212?!1:(t=i5(t.parent),t&&t.kind===220)}function S2(t,u){for(;t;){if(t===u)return!0;t=t.parent}return!1}function X3(t){return!la(t)&&!So(t)&&Q1(t.parent)&&t.parent.name===t}function nP(t){const u=t.parent;switch(t.kind){case 11:case 15:case 9:if(Ps(u))return u.parent;case 80:if(Q1(u))return u.name===t?u:void 0;if(vf(u)){const s=u.parent;return Eg(s)&&s.name===u?s:void 0}else{const s=u.parent;return Xn(s)&&Xl(s)!==0&&(s.left.symbol||s.symbol)&&Za(s)===t?s:void 0}case 81:return Q1(u)&&u.name===t?u:void 0;default:return}}function Nj(t){return Pm(t)&&t.parent.kind===167&&Q1(t.parent.parent)}function hye(t){const u=t.parent;switch(u.kind){case 172:case 171:case 174:case 173:case 177:case 178:case 306:case 303:case 211:return u.name===t;case 166:return u.right===t;case 208:case 276:return u.propertyName===t;case 281:case 291:case 285:case 286:case 287:return!0}return!1}function HZe(t){return t.kind===271||t.kind===270||t.kind===273&&t.name||t.kind===274||t.kind===280||t.kind===276||t.kind===281||t.kind===277&&tB(t)?!0:Qn(t)&&(Xn(t)&&Xl(t)===2&&tB(t)||Iu(t)&&Xn(t.parent)&&t.parent.left===t&&t.parent.operatorToken.kind===64&&Pj(t.parent.right))}function H0e(t){switch(t.parent.kind){case 273:case 276:case 274:case 281:case 277:case 271:case 280:return t.parent;case 166:do t=t.parent;while(t.parent.kind===166);return H0e(t)}}function Pj(t){return ec(t)||Xd(t)}function tB(t){const u=K0e(t);return Pj(u)}function K0e(t){return tc(t)?t.expression:t.right}function fye(t){return t.kind===304?t.name:t.kind===303?t.initializer:t.parent.right}function Qg(t){const u=B2(t);if(u&&Qn(t)){const s=K2e(t);if(s)return s.class}return u}function B2(t){const u=Mj(t.heritageClauses,96);return u&&u.types.length>0?u.types[0]:void 0}function iB(t){if(Qn(t))return W2e(t).map(u=>u.class);{const u=Mj(t.heritageClauses,119);return u==null?void 0:u.types}}function uP(t){return xh(t)?rP(t)||_t:mr(t)&&Hi(Hy(Qg(t)),iB(t))||_t}function rP(t){const u=Mj(t.heritageClauses,96);return u?u.types:void 0}function Mj(t,u){if(t){for(const s of t)if(s.token===u)return s}}function Fv(t,u){for(;t;){if(t.kind===u)return t;t=t.parent}}function uf(t){return 83<=t&&t<=165}function W0e(t){return 19<=t&&t<=79}function Sq(t){return uf(t)||W0e(t)}function Bq(t){return 128<=t&&t<=165}function G0e(t){return uf(t)&&!Bq(t)}function KZe(t){return 119<=t&&t<=127}function m7(t){const u=f2(t);return u!==void 0&&G0e(u)}function WZe(t){const u=f2(t);return u!==void 0&&uf(u)}function wq(t){const u=Dv(t);return!!u&&!Bq(u)}function nB(t){return 2<=t&&t<=7}function kd(t){if(!t)return 4;let u=0;switch(t.kind){case 262:case 218:case 174:t.asteriskToken&&(u|=1);case 219:Yu(t,1024)&&(u|=2);break}return t.body||(u|=4),u}function aP(t){switch(t.kind){case 262:case 218:case 219:case 174:return t.body!==void 0&&t.asteriskToken===void 0&&Yu(t,1024)}return!1}function Pm(t){return t0(t)||Of(t)}function Tq(t){return zv(t)&&(t.operator===40||t.operator===41)&&Of(t.operand)}function Ix(t){const u=Za(t);return!!u&&Lq(u)}function Lq(t){if(!(t.kind===167||t.kind===212))return!1;const u=U0(t)?l0(t.argumentExpression):t.expression;return!Pm(u)&&!Tq(u)}function sk(t){switch(t.kind){case 80:case 81:return t.escapedText;case 11:case 15:case 9:return Al(t.text);case 167:const u=t.expression;return Pm(u)?Al(u.text):Tq(u)?u.operator===41?Uo(u.operator)+u.operand.text:u.operand.text:void 0;case 295:return k7(t);default:return H.assertNever(t)}}function Xg(t){switch(t.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function J4(t){return J_(t)?fu(t):gg(t)?zP(t):t.text}function oP(t){return J_(t)?t.escapedText:gg(t)?k7(t):Al(t.text)}function GZe(t){return`__@${Zo(t)}@${t.escapedName}`}function zj(t,u){return`__#${Zo(t)}@${u}`}function Ij(t){return Pa(t.escapedName,"__@")}function mye(t){return Pa(t.escapedName,"__#")}function JZe(t){return t.kind===80&&t.escapedText==="Symbol"}function pye(t){return at(t)?fu(t)==="__proto__":us(t)&&t.text==="__proto__"}function sP(t,u){switch(t=Dc(t),t.kind){case 231:if(t1e(t))return!1;break;case 218:if(t.name)return!1;break;case 219:break;default:return!1}return typeof u=="function"?u(t):!0}function J0e(t){switch(t.kind){case 303:return!pye(t.name);case 304:return!!t.objectAssignmentInitializer;case 260:return at(t.name)&&!!t.initializer;case 169:return at(t.name)&&!!t.initializer&&!t.dotDotDotToken;case 208:return at(t.name)&&!!t.initializer&&!t.dotDotDotToken;case 172:return!!t.initializer;case 226:switch(t.operatorToken.kind){case 64:case 77:case 76:case 78:return at(t.left)}break;case 277:return!0}return!1}function If(t,u){if(!J0e(t))return!1;switch(t.kind){case 303:return sP(t.initializer,u);case 304:return sP(t.objectAssignmentInitializer,u);case 260:case 169:case 208:case 172:return sP(t.initializer,u);case 226:return sP(t.right,u);case 277:return sP(t.expression,u)}}function $0e(t){return t.escapedText==="push"||t.escapedText==="unshift"}function w2(t){return XE(t).kind===169}function XE(t){for(;t.kind===208;)t=t.parent.parent;return t}function U0e(t){const u=t.kind;return u===176||u===218||u===262||u===219||u===174||u===177||u===178||u===267||u===312}function sl(t){return pg(t.pos)||pg(t.end)}function $Ze(t){return Ua(t,la)||t}function q0e(t){const u=Y0e(t),s=t.kind===214&&t.arguments!==void 0;return Z0e(t.kind,u,s)}function Z0e(t,u,s){switch(t){case 214:return s?0:1;case 224:case 221:case 222:case 220:case 223:case 227:case 229:return 1;case 226:switch(u){case 43:case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 1}}return 0}function lP(t){const u=Y0e(t),s=t.kind===214&&t.arguments!==void 0;return Rj(t.kind,u,s)}function Y0e(t){return t.kind===226?t.operatorToken.kind:t.kind===224||t.kind===225?t.operator:t.kind}function Rj(t,u,s){switch(t){case 361:return 0;case 230:return 1;case 229:return 2;case 227:return 4;case 226:switch(u){case 28:return 0;case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 3;default:return Oj(u)}case 216:case 235:case 224:case 221:case 222:case 220:case 223:return 16;case 225:return 17;case 213:return 18;case 214:return s?19:18;case 215:case 211:case 212:case 236:return 19;case 234:case 238:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 209:case 210:case 218:case 219:case 231:case 14:case 15:case 228:case 217:case 232:case 284:case 285:case 288:return 20;default:return-1}}function Oj(t){switch(t){case 61:return 4;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function uB(t){return ti(t,u=>{switch(u.kind){case 294:return!!u.expression;case 12:return!u.containsOnlyTriviaWhiteSpaces;default:return!0}})}function rB(){let t=[];const u=[],s=new Map;let d=!1;return{add:p,lookup:f,getGlobalDiagnostics:E,getDiagnostics:v};function f(b){let B;if(b.file?B=s.get(b.file.fileName):B=t,!B)return;const k=Kl(B,b,il,Zq);if(k>=0)return B[k]}function p(b){let B;b.file?(B=s.get(b.file.fileName),B||(B=[],s.set(b.file.fileName,B),Tt(u,b.file.fileName,dh))):(d&&(d=!1,t=t.slice()),B=t),Tt(B,b,Zq)}function E(){return d=!0,t}function v(b){if(b)return s.get(b)||[];const B=Tr(u,k=>s.get(k));return t.length&&B.unshift(...t),B}}function RTt(t){return t.replace(vYe,"\\${")}function gye(t){return!!((t.templateFlags||0)&2048)}function Q0e(t){return t&&!!(T7(t)?gye(t):gye(t.head)||Oe(t.templateSpans,u=>gye(u.literal)))}function UZe(t){return"\\u"+("0000"+t.toString(16).toUpperCase()).slice(-4)}function OTt(t,u,s){if(t.charCodeAt(0)===0){const d=s.charCodeAt(u+t.length);return d>=48&&d<=57?"\\x00":"\\0"}return kYe.get(t)||UZe(t.charCodeAt(0))}function Av(t,u){const s=u===96?yYe:u===39?bYe:CYe;return t.replace(s,OTt)}function jj(t,u){return t=Av(t,u),Fke.test(t)?t.replace(Fke,s=>UZe(s.charCodeAt(0))):t}function jTt(t){return"&#x"+t.toString(16).toUpperCase()+";"}function VTt(t){return t.charCodeAt(0)===0?"�":SYe.get(t)||jTt(t.charCodeAt(0))}function X0e(t,u){const s=u===39?AYe:FYe;return t.replace(s,VTt)}function $4(t){const u=t.length;return u>=2&&t.charCodeAt(0)===t.charCodeAt(u-1)&&HTt(t.charCodeAt(0))?t.substring(1,u-1):t}function HTt(t){return t===39||t===34||t===96}function aB(t){const u=t.charCodeAt(0);return u>=97&&u<=122||t.includes("-")}function Nq(t){const u=IP[1];for(let s=IP.length;s<=t;s++)IP.push(IP[s-1]+u);return IP[t]}function oB(){return IP[1].length}function Vj(t){var u,s,d,f,p,E=!1;function v(K){const Y=n7(K);Y.length>1?(f=f+Y.length-1,p=u.length-K.length+Cr(Y),d=p-u.length===0):d=!1}function b(K){K&&K.length&&(d&&(K=Nq(s)+K,d=!1),u+=K,v(K))}function B(K){K&&(E=!1),b(K)}function k(K){K&&(E=!0),b(K)}function T(){u="",s=0,d=!0,f=0,p=0,E=!1}function M(K){K!==void 0&&(u+=K,v(K),E=!1)}function z(K){K&&K.length&&B(K)}function j(K){(!d||K)&&(u+=t,f++,p=u.length,d=!0,E=!1)}function J(){return d?u.length:u.length+t.length}return T(),{write:B,rawWrite:M,writeLiteral:z,writeLine:j,increaseIndent:()=>{s++},decreaseIndent:()=>{s--},getIndent:()=>s,getTextPos:()=>u.length,getLine:()=>f,getColumn:()=>d?s*oB():u.length-p,getText:()=>u,isAtStartOfLine:()=>d,hasTrailingComment:()=>E,hasTrailingWhitespace:()=>!!u.length&&U3(u.charCodeAt(u.length-1)),clear:T,writeKeyword:B,writeOperator:B,writeParameter:B,writeProperty:B,writePunctuation:B,writeSpace:B,writeStringLiteral:B,writeSymbol:(K,Y)=>B(K),writeTrailingSemicolon:B,writeComment:k,getTextPosWithWriteLine:J}}function ele(t){let u=!1;function s(){u&&(t.writeTrailingSemicolon(";"),u=!1)}return{...t,writeTrailingSemicolon(){u=!0},writeLiteral(d){s(),t.writeLiteral(d)},writeStringLiteral(d){s(),t.writeStringLiteral(d)},writeSymbol(d,f){s(),t.writeSymbol(d,f)},writePunctuation(d){s(),t.writePunctuation(d)},writeKeyword(d){s(),t.writeKeyword(d)},writeOperator(d){s(),t.writeOperator(d)},writeParameter(d){s(),t.writeParameter(d)},writeSpace(d){s(),t.writeSpace(d)},writeProperty(d){s(),t.writeProperty(d)},writeComment(d){s(),t.writeComment(d)},writeLine(){s(),t.writeLine()},increaseIndent(){s(),t.increaseIndent()},decreaseIndent(){s(),t.decreaseIndent()}}}function Hj(t){return t.useCaseSensitiveFileNames?t.useCaseSensitiveFileNames():!1}function n5(t){return L1(Hj(t))}function Pq(t,u,s){return u.moduleName||tle(t,u.fileName,s&&s.fileName)}function qZe(t,u){return t.getCanonicalFileName($a(u,t.getCurrentDirectory()))}function Eye(t,u,s){const d=u.getExternalModuleFileFromDeclaration(s);if(!d||d.isDeclarationFile)return;const f=Y8(s);if(!(f&&t0(f)&&!om(f.text)&&!qZe(t,d.path).includes(qZe(t,zd(t.getCommonSourceDirectory())))))return Pq(t,d)}function tle(t,u,s){const d=b=>t.getCanonicalFileName(b),f=J0(s?lr(s):t.getCommonSourceDirectory(),t.getCurrentDirectory(),d),p=$a(u,t.getCurrentDirectory()),E=i7(f,p,f,d,!1),v=_h(E);return s?h2(v):v}function _ye(t,u,s){const d=u.getCompilerOptions();let f;return d.outDir?f=_h(Iq(t,u,d.outDir)):f=_h(t),f+s}function Dye(t,u){return Mq(t,u.getCompilerOptions(),u.getCurrentDirectory(),u.getCommonSourceDirectory(),s=>u.getCanonicalFileName(s))}function Mq(t,u,s,d,f){const p=u.declarationDir||u.outDir,E=p?Rq(t,p,s,d,f):t,v=Kj(E);return _h(E)+v}function Kj(t){return jc(t,[".mjs",".mts"])?".d.mts":jc(t,[".cjs",".cts"])?".d.cts":jc(t,[".json"])?".d.json.ts":".d.ts"}function xye(t){return jc(t,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:jc(t,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:jc(t,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function y0(t){return t.outFile||t.out}function zq(t,u){var s;if(t.paths)return t.baseUrl??H.checkDefined(t.pathsBasePath||((s=u.getCurrentDirectory)==null?void 0:s.call(u)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function ile(t,u,s){const d=t.getCompilerOptions();if(y0(d)){const f=m1(d),p=d.emitDeclarationOnly||f===2||f===4;return ti(t.getSourceFiles(),E=>(p||!wc(E))&&p7(E,t,s))}else{const f=u===void 0?t.getSourceFiles():[u];return ti(f,p=>p7(p,t,s))}}function p7(t,u,s){const d=u.getCompilerOptions();if(d.noEmitForJsFiles&&gh(t)||t.isDeclarationFile||u.isSourceFileFromExternalLibrary(t))return!1;if(s)return!0;if(u.isSourceOfProjectReferenceRedirect(t.fileName))return!1;if(!W4(t))return!0;if(u.getResolvedProjectReferenceToRedirect(t.fileName))return!1;if(y0(d))return!0;if(!d.outDir)return!1;if(d.rootDir||d.composite&&d.configFilePath){const f=$a(yM(d,()=>[],u.getCurrentDirectory(),u.getCanonicalFileName),u.getCurrentDirectory()),p=Rq(t.fileName,d.outDir,u.getCurrentDirectory(),f,u.getCanonicalFileName);if(pv(t.fileName,p,u.getCurrentDirectory(),!u.useCaseSensitiveFileNames())===0)return!1}return!0}function Iq(t,u,s){return Rq(t,s,u.getCurrentDirectory(),u.getCommonSourceDirectory(),d=>u.getCanonicalFileName(d))}function Rq(t,u,s,d,f){let p=$a(t,s);return p=f(p).indexOf(f(d))===0?p.substring(d.length):p,cr(u,p)}function cP(t,u,s,d,f,p,E){t.writeFile(s,d,f,v=>{u.add(cc(F.Could_not_write_file_0_Colon_1,s,v))},p,E)}function ZZe(t,u,s){if(t.length>WE(t)&&!s(t)){const d=lr(t);ZZe(d,u,s),u(t)}}function nle(t,u,s,d,f,p){try{d(t,u,s)}catch{ZZe(lr($o(t)),f,p),d(t,u,s)}}function dP(t,u){const s=$3(t);return TN(s,u)}function lk(t,u){return TN(t,u)}function X_(t){return Le(t.members,u=>hc(u)&&H4(u.body))}function hP(t){if(t&&t.parameters.length>0){const u=t.parameters.length===2&&L2(t.parameters[0]);return t.parameters[u?1:0]}}function vye(t){const u=hP(t);return u&&u.type}function T2(t){if(t.parameters.length&&!Ov(t)){const u=t.parameters[0];if(L2(u))return u}}function L2(t){return N2(t.name)}function N2(t){return!!t&&t.kind===80&&ule(t)}function ck(t){return!!Tn(t,u=>u.kind===186?!0:u.kind===80||u.kind===166?!1:"quit")}function g7(t){if(!N2(t))return!1;for(;vf(t.parent)&&t.parent.left===t;)t=t.parent;return t.parent.kind===186}function ule(t){return t.escapedText==="this"}function dk(t,u){let s,d,f,p;return Ix(u)?(s=u,u.kind===177?f=u:u.kind===178?p=u:H.fail("Accessor has wrong kind")):L(t,E=>{if(wx(E)&&No(E)===No(u)){const v=sk(E.name),b=sk(u.name);v===b&&(s?d||(d=E):s=E,E.kind===177&&!f&&(f=E),E.kind===178&&!p&&(p=E))}}),{firstAccessor:s,secondAccessor:d,getAccessor:f,setAccessor:p}}function f1(t){if(!Qn(t)&&ed(t))return;const u=t.type;return u||!Qn(t)?u:WO(t)?t.typeExpression&&t.typeExpression.type:vv(t)}function Cye(t){return t.type}function U4(t){return Ov(t)?t.type&&t.type.typeExpression&&t.type.typeExpression.type:t.type||(Qn(t)?VO(t):void 0)}function Oq(t){return ju(Cv(t),u=>KTt(u)?u.typeParameters:void 0)}function KTt(t){return _g(t)&&!(t.parent.kind===327&&(t.parent.tags.some(G4)||t.parent.tags.some(NB)))}function bye(t){const u=hP(t);return u&&f1(u)}function yye(t,u,s,d){kye(t,u,s.pos,d)}function kye(t,u,s,d){d&&d.length&&s!==d[0].pos&&lk(t,s)!==lk(t,d[0].pos)&&u.writeLine()}function Fye(t,u,s,d){s!==d&&lk(t,s)!==lk(t,d)&&u.writeLine()}function Aye(t,u,s,d,f,p,E,v){if(d&&d.length>0){f&&s.writeSpace(" ");let b=!1;for(const B of d)b&&(s.writeSpace(" "),b=!1),v(t,u,s,B.pos,B.end,E),B.hasTrailingNewLine?s.writeLine():b=!0;b&&p&&s.writeSpace(" ")}}function Sye(t,u,s,d,f,p,E){let v,b;if(E?f.pos===0&&(v=ti(W_(t,f.pos),B)):v=W_(t,f.pos),v){const k=[];let T;for(const M of v){if(T){const z=lk(u,T.end);if(lk(u,M.pos)>=z+2)break}k.push(M),T=M}if(k.length){const M=lk(u,Cr(k).end);lk(u,gs(t,f.pos))>=M+2&&(yye(u,s,f,v),Aye(t,u,s,k,!1,!0,p,d),b={nodePos:f.pos,detachedCommentEndPos:Cr(k).end})}}return b;function B(k){return XU(t,k.pos)}}function sB(t,u,s,d,f,p){if(t.charCodeAt(d+1)===42){const E=k8(u,d),v=u.length;let b;for(let B=d,k=E.line;B0){let j=z%oB();const J=Nq((z-j)/oB());for(s.rawWrite(J);j;)s.rawWrite(" "),j--}else s.rawWrite("")}WTt(t,f,s,p,B,T),B=T}}else s.writeComment(t.substring(d,f))}function WTt(t,u,s,d,f,p){const E=Math.min(u,p-1),v=t.substring(f,E).trim();v?(s.writeComment(v),E!==u&&s.writeLine()):s.rawWrite(d)}function YZe(t,u,s){let d=0;for(;u=0&&t.kind<=165?0:(t.modifierFlagsCache&536870912||(t.modifierFlagsCache=ale(t)|536870912),s||u&&Qn(t)?(!(t.modifierFlagsCache&268435456)&&t.parent&&(t.modifierFlagsCache|=QZe(t)|268435456),XZe(t.modifierFlagsCache)):GTt(t.modifierFlagsCache))}function Eh(t){return Tye(t,!0)}function Lye(t){return Tye(t,!0,!0)}function Rx(t){return Tye(t,!1)}function QZe(t){let u=0;return t.parent&&!io(t)&&(Qn(t)&&(G2e(t)&&(u|=8388608),J2e(t)&&(u|=16777216),$2e(t)&&(u|=33554432),U2e(t)&&(u|=67108864),q2e(t)&&(u|=134217728)),Z2e(t)&&(u|=65536)),u}function GTt(t){return t&65535}function XZe(t){return t&131071|(t&260046848)>>>23}function JTt(t){return XZe(QZe(t))}function Nye(t){return ale(t)|JTt(t)}function ale(t){let u=Hp(t)?tE(t.modifiers):0;return(t.flags&8||t.kind===80&&t.flags&4096)&&(u|=32),u}function tE(t){let u=0;if(t)for(const s of t)u|=_7(s.kind);return u}function _7(t){switch(t){case 126:return 256;case 125:return 1;case 124:return 4;case 123:return 2;case 128:return 64;case 129:return 512;case 95:return 32;case 138:return 128;case 87:return 4096;case 90:return 2048;case 134:return 1024;case 148:return 8;case 164:return 16;case 103:return 8192;case 147:return 16384;case 170:return 32768}return 0}function eYe(t){return t===57||t===56}function Pye(t){return eYe(t)||t===54}function mP(t){return t===76||t===77||t===78}function ole(t){return Xn(t)&&mP(t.operatorToken.kind)}function Wj(t){return eYe(t)||t===61}function Gj(t){return Xn(t)&&Wj(t.operatorToken.kind)}function u5(t){return t>=64&&t<=79}function sle(t){const u=lle(t);return u&&!u.isImplements?u.class:void 0}function lle(t){if(c5(t)){if(mm(t.parent)&&mr(t.parent.parent))return{class:t.parent.parent,isImplements:t.parent.token===119};if(LB(t.parent)){const u=ok(t.parent);if(u&&mr(u))return{class:u,isImplements:!1}}}}function ld(t,u){return Xn(t)&&(u?t.operatorToken.kind===64:u5(t.operatorToken.kind))&&Df(t.left)}function tYe(t){return ld(t.parent)&&t.parent.left===t}function r5(t){if(ld(t,!0)){const u=t.left.kind;return u===210||u===209}return!1}function Jj(t){return sle(t)!==void 0}function ec(t){return t.kind===80||$j(t)}function hm(t){switch(t.kind){case 80:return t;case 166:do t=t.left;while(t.kind!==80);return t;case 211:do t=t.expression;while(t.kind!==80);return t}}function pP(t){return t.kind===80||t.kind===110||t.kind===108||t.kind===236||t.kind===211&&pP(t.expression)||t.kind===217&&pP(t.expression)}function $j(t){return Iu(t)&&at(t.name)&&ec(t.expression)}function Uj(t){if(Iu(t)){const u=Uj(t.expression);if(u!==void 0)return u+"."+zf(t.name)}else if(U0(t)){const u=Uj(t.expression);if(u!==void 0&&Sc(t.argumentExpression))return u+"."+sk(t.argumentExpression)}else{if(at(t))return Qr(t.escapedText);if(gg(t))return zP(t)}}function Ox(t){return A2(t)&&Q3(t)==="prototype"}function gP(t){return t.parent.kind===166&&t.parent.right===t||t.parent.kind===211&&t.parent.name===t||t.parent.kind===236&&t.parent.name===t}function cle(t){return!!t.parent&&(Iu(t.parent)&&t.parent.name===t||U0(t.parent)&&t.parent.argumentExpression===t)}function Mye(t){return vf(t.parent)&&t.parent.right===t||Iu(t.parent)&&t.parent.name===t||Rv(t.parent)&&t.parent.right===t}function Hq(t){return Xn(t)&&t.operatorToken.kind===104}function zye(t){return Hq(t.parent)&&t===t.parent.right}function dle(t){return t.kind===210&&t.properties.length===0}function Iye(t){return t.kind===209&&t.elements.length===0}function lB(t){if(!(!$Tt(t)||!t.declarations)){for(const u of t.declarations)if(u.localSymbol)return u.localSymbol}}function $Tt(t){return t&&S(t.declarations)>0&&Yu(t.declarations[0],2048)}function Kq(t){return Le(NYe,u=>Ml(t,u))}function UTt(t){const u=[],s=t.length;for(let d=0;d>6|192),u.push(f&63|128)):f<65536?(u.push(f>>12|224),u.push(f>>6&63|128),u.push(f&63|128)):f<131072?(u.push(f>>18|240),u.push(f>>12&63|128),u.push(f>>6&63|128),u.push(f&63|128)):H.assert(!1,"Unexpected code point")}return u}function Rye(t){let u="";const s=UTt(t);let d=0;const f=s.length;let p,E,v,b;for(;d>2,E=(s[d]&3)<<4|s[d+1]>>4,v=(s[d+1]&15)<<2|s[d+2]>>6,b=s[d+2]&63,d+1>=f?v=b=64:d+2>=f&&(b=64),u+=pk.charAt(p)+pk.charAt(E)+pk.charAt(v)+pk.charAt(b),d+=3;return u}function qTt(t){let u="",s=0;const d=t.length;for(;s>4&3,k=(E&15)<<4|v>>2&15,T=(v&3)<<6|b&63;k===0&&v!==0?d.push(B):T===0&&b!==0?d.push(B,k):d.push(B,k,T),f+=4}return qTt(d)}function hle(t,u){const s=Ja(u)?u:u.readFile(t);if(!s)return;const d=tde(t,s);return d.error?void 0:d.config}function EP(t,u){return hle(t,u)||{}}function hg(t,u){return!u.directoryExists||u.directoryExists(t)}function a5(t){switch(t.newLine){case 0:return BYe;case 1:case void 0:return wYe}}function s4(t,u=t){return H.assert(u>=t||u===-1),{pos:t,end:u}}function Wq(t,u){return s4(t.pos,u)}function Sv(t,u){return s4(u,t.end)}function o5(t){const u=Hp(t)?lt(t.modifiers,g1):void 0;return u&&!pg(u.end)?Sv(t,u.end):t}function iE(t){if(ko(t)||dc(t))return Sv(t,t.name.pos);const u=Hp(t)?qu(t.modifiers):void 0;return u&&!pg(u.end)?Sv(t,u.end):o5(t)}function iYe(t){return t.pos===t.end}function fle(t,u){return s4(t,t+Uo(u).length)}function hk(t,u){return Hye(t,t,u)}function Gq(t,u,s){return q4(_P(t,s,!1),_P(u,s,!1),s)}function Vye(t,u,s){return q4(t.end,u.end,s)}function Hye(t,u,s){return q4(_P(t,s,!1),u.end,s)}function qj(t,u,s){return q4(t.end,_P(u,s,!1),s)}function mle(t,u,s,d){const f=_P(u,s,d);return LN(s,t.end,f)}function nYe(t,u,s){return LN(s,t.end,u.end)}function Kye(t,u){return!q4(t.pos,t.end,u)}function q4(t,u,s){return LN(s,t,u)===0}function _P(t,u,s){return pg(t.pos)?-1:gs(u.text,t.pos,!1,s)}function Wye(t,u,s,d){const f=gs(s.text,t,!1,d),p=ZTt(f,u,s);return LN(s,p??u,f)}function Gye(t,u,s,d){const f=gs(s.text,t,!1,d);return LN(s,t,Math.min(u,f))}function ZTt(t,u=0,s){for(;t-- >u;)if(!U3(s.text.charCodeAt(t)))return t}function ple(t){const u=Ua(t);if(u)switch(u.parent.kind){case 266:case 267:return u===u.parent.name}return!1}function DP(t){return ti(t.declarations,Zj)}function Zj(t){return ua(t)&&t.initializer!==void 0}function uYe(t){return t.watch&&gu(t,"watch")}function fg(t){t.close()}function Gl(t){return t.flags&33554432?t.links.checkFlags:0}function l4(t,u=!1){if(t.valueDeclaration){const s=u&&t.declarations&&Le(t.declarations,jf)||t.flags&32768&&Le(t.declarations,zm)||t.valueDeclaration,d=m2(s);return t.parent&&t.parent.flags&32?d:d&-8}if(Gl(t)&6){const s=t.links.checkFlags,d=s&1024?2:s&256?1:4,f=s&2048?256:0;return d|f}return t.flags&4194304?257:0}function X1(t,u){return t.flags&2097152?u.getAliasedSymbol(t):t}function xP(t){return t.exportSymbol?t.exportSymbol.flags|t.flags:t.flags}function Jq(t){return vP(t)===1}function D7(t){return vP(t)!==0}function vP(t){const{parent:u}=t;switch(u==null?void 0:u.kind){case 217:return vP(u);case 225:case 224:const{operator:s}=u;return s===46||s===47?2:0;case 226:const{left:d,operatorToken:f}=u;return d===t&&u5(f.kind)?f.kind===64?1:2:0;case 211:return u.name!==t?0:vP(u);case 303:{const p=vP(u.parent);return t===u.name?YTt(p):p}case 304:return t===u.objectAssignmentInitializer?0:vP(u.parent);case 209:return vP(u);default:return 0}}function YTt(t){switch(t){case 0:return 1;case 1:return 0;case 2:return 2;default:return H.assertNever(t)}}function gle(t,u){if(!t||!u||Object.keys(t).length!==Object.keys(u).length)return!1;for(const s in t)if(typeof t[s]=="object"){if(!gle(t[s],u[s]))return!1}else if(typeof t[s]!="function"&&t[s]!==u[s])return!1;return!0}function rf(t,u){t.forEach(u),t.clear()}function eD(t,u,s){const{onDeleteValue:d,onExistingValue:f}=s;t.forEach((p,E)=>{const v=u.get(E);v===void 0?(t.delete(E),d(p,E)):f&&f(p,v,E)})}function cB(t,u,s){eD(t,u,s);const{createNewValue:d}=s;u.forEach((f,p)=>{t.has(p)||t.set(p,d(p,f))})}function Jye(t){if(t.flags&32){const u=tD(t);return!!u&&Yu(u,64)}return!1}function tD(t){var u;return(u=t.declarations)==null?void 0:u.find(mr)}function Gu(t){return t.flags&3899393?t.objectFlags:0}function rYe(t,u){return!!Ug(t,s=>u(s)?!0:void 0)}function $q(t){return!!t&&!!t.declarations&&!!t.declarations[0]&&wV(t.declarations[0])}function $ye({moduleSpecifier:t}){return us(t)?t.text:Hc(t)}function Ele(t){let u;return ao(t,s=>{H4(s)&&(u=s)},s=>{for(let d=s.length-1;d>=0;d--)if(H4(s[d])){u=s[d];break}}),u}function Ip(t,u,s=!0){return t.has(u)?!1:(t.set(u,s),!0)}function x7(t){return mr(t)||xh(t)||fm(t)}function _le(t){return t>=182&&t<=205||t===133||t===159||t===150||t===163||t===151||t===136||t===154||t===155||t===116||t===157||t===146||t===141||t===233||t===319||t===320||t===321||t===322||t===323||t===324||t===325}function I0(t){return t.kind===211||t.kind===212}function Uye(t){return t.kind===211?t.name:(H.assert(t.kind===212),t.argumentExpression)}function qye(t){switch(t.kind){case"text":case"internal":return!0;default:return!1}}function Uq(t){return t.kind===275||t.kind===279}function CP(t){for(;I0(t);)t=t.expression;return t}function Zye(t,u){if(I0(t.parent)&&cle(t))return s(t.parent);function s(d){if(d.kind===211){const f=u(d.name);if(f!==void 0)return f}else if(d.kind===212)if(at(d.argumentExpression)||t0(d.argumentExpression)){const f=u(d.argumentExpression);if(f!==void 0)return f}else return;if(I0(d.expression))return s(d.expression);if(at(d.expression))return u(d.expression)}}function dB(t,u){for(;;){switch(t.kind){case 225:t=t.operand;continue;case 226:t=t.left;continue;case 227:t=t.condition;continue;case 215:t=t.tag;continue;case 213:if(u)return t;case 234:case 212:case 211:case 235:case 360:case 238:t=t.expression;continue}return t}}function QTt(t,u){this.flags=t,this.escapedName=u,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.isAssigned=void 0,this.links=void 0}function XTt(t,u){this.flags=u,(H.isDebugging||Gn)&&(this.checker=t)}function eLt(t,u){this.flags=u,H.isDebugging&&(this.checker=t)}function Yye(t,u,s){this.pos=u,this.end=s,this.kind=t,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function tLt(t,u,s){this.pos=u,this.end=s,this.kind=t,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function iLt(t,u,s){this.pos=u,this.end=s,this.kind=t,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function nLt(t,u,s){this.fileName=t,this.text=u,this.skipTrivia=s||(d=>d)}function Qye(t){Ake.push(t),t(Qd)}function Xye(t){Object.assign(Qd,t),L(Ake,u=>u(Qd))}function e3(t,u){return t.replace(/{(\d+)}/g,(s,d)=>""+H.checkDefined(u[+d]))}function eke(t){vZ=t}function tke(t){!vZ&&t&&(vZ=t())}function to(t){return vZ&&vZ[t.key]||t.message}function hB(t,u,s,d,f,...p){s+d>u.length&&(d=u.length-s),Obe(u,s,d);let E=to(f);return Oe(p)&&(E=e3(E,p)),{file:void 0,start:s,length:d,messageText:E,category:f.category,code:f.code,reportsUnnecessary:f.reportsUnnecessary,fileName:t}}function uLt(t){return t.file===void 0&&t.start!==void 0&&t.length!==void 0&&typeof t.fileName=="string"}function aYe(t,u){const s=u.fileName||"",d=u.text.length;H.assertEqual(t.fileName,s),H.assertLessThanOrEqual(t.start,d),H.assertLessThanOrEqual(t.start+t.length,d);const f={file:u,start:t.start,length:t.length,messageText:t.messageText,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary};if(t.relatedInformation){f.relatedInformation=[];for(const p of t.relatedInformation)uLt(p)&&p.fileName===s?(H.assertLessThanOrEqual(p.start,d),H.assertLessThanOrEqual(p.start+p.length,d),f.relatedInformation.push(aYe(p,u))):f.relatedInformation.push(p)}return f}function v7(t,u){const s=[];for(const d of t)s.push(aYe(d,u));return s}function Rd(t,u,s,d,...f){Obe(t.text,u,s);let p=to(d);return Oe(f)&&(p=e3(p,f)),{file:t,start:u,length:s,messageText:p,category:d.category,code:d.code,reportsUnnecessary:d.reportsUnnecessary,reportsDeprecated:d.reportsDeprecated}}function Dle(t,...u){let s=to(t);return Oe(u)&&(s=e3(s,u)),s}function cc(t,...u){let s=to(t);return Oe(u)&&(s=e3(s,u)),{file:void 0,start:void 0,length:void 0,messageText:s,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary,reportsDeprecated:t.reportsDeprecated}}function qq(t,u){return{file:void 0,start:void 0,length:void 0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:u}}function ro(t,u,...s){let d=to(u);return Oe(s)&&(d=e3(d,s)),{messageText:d,category:u.category,code:u.code,next:t===void 0||Array.isArray(t)?t:[t]}}function ike(t,u){let s=t;for(;s.next;)s=s.next[0];s.next=[u]}function oYe(t){return t.file?t.file.path:void 0}function bP(t,u){return Zq(t,u)||rLt(t,u)||0}function Zq(t,u){return dh(oYe(t),oYe(u))||nl(t.start,u.start)||nl(t.length,u.length)||nl(t.code,u.code)||sYe(t.messageText,u.messageText)||0}function rLt(t,u){return!t.relatedInformation&&!u.relatedInformation?0:t.relatedInformation&&u.relatedInformation?nl(t.relatedInformation.length,u.relatedInformation.length)||L(t.relatedInformation,(s,d)=>{const f=u.relatedInformation[d];return bP(s,f)})||0:t.relatedInformation?-1:1}function sYe(t,u){if(typeof t=="string"&&typeof u=="string")return dh(t,u);if(typeof t=="string")return-1;if(typeof u=="string")return 1;let s=dh(t.messageText,u.messageText);if(s)return s;if(!t.next&&!u.next)return 0;if(!t.next)return-1;if(!u.next)return 1;const d=Math.min(t.next.length,u.next.length);for(let f=0;fu.next.length?1:0}function Yj(t){return t===4||t===2||t===1||t===6?1:0}function lYe(t){if(t.transformFlags&2)return zh(t)||K2(t)?t:ao(t,lYe)}function aLt(t){return t.isDeclarationFile?void 0:lYe(t)}function oLt(t){return(t.impliedNodeFormat===99||jc(t.fileName,[".cjs",".cts",".mjs",".mts"]))&&!t.isDeclarationFile?!0:void 0}function Qj(t){switch(nke(t)){case 3:return f=>{f.externalModuleIndicator=HV(f)||!f.isDeclarationFile||void 0};case 1:return f=>{f.externalModuleIndicator=HV(f)};case 2:const u=[HV];(t.jsx===4||t.jsx===5)&&u.push(aLt),u.push(oLt);const s=dg(...u);return f=>void(f.externalModuleIndicator=s(f))}}function Os(t){return t.target??(t.module===100&&9||t.module===199&&99||1)}function m1(t){return typeof t.module=="number"?t.module:Os(t)>=2?5:1}function Yq(t){return t>=5&&t<=99}function p1(t){let u=t.moduleResolution;if(u===void 0)switch(m1(t)){case 1:u=2;break;case 100:u=3;break;case 199:u=99;break;default:u=1;break}return u}function nke(t){return t.moduleDetection||(m1(t)===100||m1(t)===199?3:2)}function Qq(t){switch(m1(t)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function mg(t){return!!(t.isolatedModules||t.verbatimModuleSyntax)}function xle(t){return t.verbatimModuleSyntax||t.isolatedModules&&t.preserveValueImports}function uke(t){return t.allowUnreachableCode===!1}function rke(t){return t.allowUnusedLabels===!1}function Xq(t){return!!(c4(t)&&t.declarationMap)}function e_(t){if(t.esModuleInterop!==void 0)return t.esModuleInterop;switch(m1(t)){case 100:case 199:return!0}}function C7(t){return t.allowSyntheticDefaultImports!==void 0?t.allowSyntheticDefaultImports:e_(t)||m1(t)===4||p1(t)===100}function b7(t){return t>=3&&t<=99||t===100}function eZ(t){return!!t.noDtsResolution||p1(t)!==100}function vle(t){const u=p1(t);if(!b7(u))return!1;if(t.resolvePackageJsonExports!==void 0)return t.resolvePackageJsonExports;switch(u){case 3:case 99:case 100:return!0}return!1}function cYe(t){const u=p1(t);if(!b7(u))return!1;if(t.resolvePackageJsonExports!==void 0)return t.resolvePackageJsonExports;switch(u){case 3:case 99:case 100:return!0}return!1}function M2(t){return t.resolveJsonModule!==void 0?t.resolveJsonModule:p1(t)===100}function c4(t){return!!(t.declaration||t.composite)}function fk(t){return!!(t.preserveConstEnums||mg(t))}function Xj(t){return!!(t.incremental||t.composite)}function Z4(t,u){return t[u]===void 0?!!t.strict:!!t[u]}function Bv(t){return t.allowJs===void 0?!!t.checkJs:t.allowJs}function eV(t){return t.useDefineForClassFields===void 0?Os(t)>=9:t.useDefineForClassFields}function ake(t){return t.useDefineForClassFields!==!1&&Os(t)>=9}function oke(t,u){return R8(u,t,hde)}function ske(t,u){return R8(u,t,fde)}function lke(t,u){return R8(u,t,mde)}function tZ(t,u){return u.strictFlag?Z4(t,u.name):u.allowJsFlag?Bv(t):t[u.name]}function iZ(t){const u=t.jsx;return u===2||u===4||u===5}function nZ(t,u){const s=u==null?void 0:u.pragmas.get("jsximportsource"),d=Ha(s)?s[s.length-1]:s;return t.jsx===4||t.jsx===5||t.jsxImportSource||d?(d==null?void 0:d.arguments.factory)||t.jsxImportSource||"react":void 0}function uZ(t,u){return t?`${t}/${u.jsx===5?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function Cle(t){let u=!1;for(let s=0;sf,getSymlinkedDirectories:()=>s,getSymlinkedDirectoriesByRealpath:()=>d,setSymlinkedFile:(v,b)=>(f||(f=new Map)).set(v,b),setSymlinkedDirectory:(v,b)=>{let B=J0(v,t,u);TP(B)||(B=zd(B),b!==!1&&!(s!=null&&s.has(B))&&(d||(d=wm())).add(b.realPath,v),(s||(s=new Map)).set(B,b))},setSymlinksFromResolutions(v,b,B){H.assert(!p),p=!0,v(k=>E(this,k.resolvedModule)),b(k=>E(this,k.resolvedTypeReferenceDirective)),B.forEach(k=>E(this,k.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>p};function E(v,b){if(!b||!b.originalPath||!b.resolvedFileName)return;const{resolvedFileName:B,originalPath:k}=b;v.setSymlinkedFile(J0(k,t,u),B);const[T,M]=sLt(B,k,t,u)||_t;T&&M&&v.setSymlinkedDirectory(M,{real:zd(T),realPath:zd(J0(T,t,u))})}}function sLt(t,u,s,d){const f=yd($a(t,s)),p=yd($a(u,s));let E=!1;for(;f.length>=2&&p.length>=2&&!dYe(f[f.length-2],d)&&!dYe(p[p.length-2],d)&&d(f[f.length-1])===d(p[p.length-1]);)f.pop(),p.pop(),E=!0;return E?[yx(f),yx(p)]:void 0}function dYe(t,u){return t!==void 0&&(u(t)==="node_modules"||Pa(t,"@"))}function lLt(t){return bse(t.charCodeAt(0))?t.slice(1):void 0}function yle(t,u,s){const d=doe(t,u,s);return d===void 0?void 0:lLt(d)}function hYe(t){return t.replace($le,cLt)}function cLt(t){return"\\"+t}function yP(t,u,s){const d=rZ(t,u,s);return!d||!d.length?void 0:`^(${d.map(E=>`(${E})`).join("|")})${s==="exclude"?"($|/)":"$"}`}function rZ(t,u,s){if(!(t===void 0||t.length===0))return ju(t,d=>d&&fYe(d,u,s,Tke[s]))}function kle(t){return!/[.*?]/.test(t)}function Fle(t,u,s){const d=t&&fYe(t,u,s,Tke[s]);return d&&`^(${d})${s==="exclude"?"($|/)":"$"}`}function fYe(t,u,s,{singleAsteriskRegexFragment:d,doubleAsteriskRegexFragment:f,replaceWildcardCharacter:p}){let E="",v=!1;const b=FO(t,u),B=Cr(b);if(s!=="exclude"&&B==="**")return;b[0]=mv(b[0]),kle(B)&&b.push("**","*");let k=0;for(let T of b){if(T==="**")E+=f;else if(s==="directories"&&(E+="(",k++),v&&(E+=rl),s!=="exclude"){let M="";T.charCodeAt(0)===42?(M+="([^./]"+d+")?",T=T.substr(1)):T.charCodeAt(0)===63&&(M+="[^./]",T=T.substr(1)),M+=T.replace($le,p),M!==T&&(E+=qle),E+=M}else E+=T.replace($le,p);v=!0}for(;k>0;)E+=")?",k--;return E}function cke(t,u){return t==="*"?u:t==="?"?"[^/]":"\\"+t}function aZ(t,u,s,d,f){t=$o(t),f=$o(f);const p=cr(f,t);return{includeFilePatterns:Vt(rZ(s,p,"files"),E=>`^${E}$`),includeFilePattern:yP(s,p,"files"),includeDirectoryPattern:yP(s,p,"directories"),excludePattern:yP(u,p,"exclude"),basePaths:dLt(t,s,d)}}function jx(t,u){return new RegExp(t,u?"":"i")}function Ale(t,u,s,d,f,p,E,v,b){t=$o(t),p=$o(p);const B=aZ(t,s,d,f,p),k=B.includeFilePatterns&&B.includeFilePatterns.map(Y=>jx(Y,f)),T=B.includeDirectoryPattern&&jx(B.includeDirectoryPattern,f),M=B.excludePattern&&jx(B.excludePattern,f),z=k?k.map(()=>[]):[[]],j=new Map,J=L1(f);for(const Y of B.basePaths)K(Y,cr(p,Y),E);return Va(z);function K(Y,oe,se){const ge=J(b(oe));if(j.has(ge))return;j.set(ge,!0);const{files:ae,directories:Ce}=v(Y);for(const ne of Ph(ae,dh)){const ve=cr(Y,ne),Se=cr(oe,ne);if(!(u&&!jc(ve,u))&&!(M&&M.test(Se)))if(!k)z[0].push(ve);else{const Ne=Ue(k,pe=>pe.test(Se));Ne!==-1&&z[Ne].push(ve)}}if(!(se!==void 0&&(se--,se===0)))for(const ne of Ph(Ce,dh)){const ve=cr(Y,ne),Se=cr(oe,ne);(!T||T.test(Se))&&(!M||!M.test(Se))&&K(ve,Se,se)}}}function dLt(t,u,s){const d=[t];if(u){const f=[];for(const p of u){const E=Pf(p)?p:$o(cr(t,p));f.push(hLt(E))}f.sort(CN(!s));for(const p of f)ye(d,E=>!GE(E,p,t,!s))&&d.push(p)}return d}function hLt(t){const u=jt(t,TYe);return u<0?t7(t)?mv(lr(t)):t:t.substring(0,t.lastIndexOf(rl,u))}function oZ(t,u){return u||sZ(t)||3}function sZ(t){switch(t.substr(t.lastIndexOf(".")).toLowerCase()){case".js":case".cjs":case".mjs":return 1;case".jsx":return 2;case".ts":case".cts":case".mts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}function kP(t,u){const s=t&&Bv(t);if(!u||u.length===0)return s?CZ:EB;const d=s?CZ:EB,f=Va(d);return[...d,...qi(u,E=>E.scriptKind===7||s&&fLt(E.scriptKind)&&!f.includes(E.extension)?[E.extension]:void 0)]}function tV(t,u){return!t||!M2(t)?u:u===CZ?PYe:u===EB?LYe:[...u,[".json"]]}function fLt(t){return t===1||t===2}function z2(t){return Oe(_B,u=>Ml(t,u))}function mk(t){return Oe(Zle,u=>Ml(t,u))}function dke({imports:t},u=dg(z2,mk)){return G(t,({text:s})=>om(s)&&!jc(s,fV)?u(s):void 0)||!1}function Sle(t,u,s,d){if(t==="js"||u===99)return $B(s)&&f()!==2?3:2;if(t==="minimal")return 0;if(t==="index")return 1;if(!$B(s))return dke(d)?2:0;return f();function f(){let p=!1;const E=d.imports.length?d.imports.map(v=>v.text):gh(d)?mLt(d).map(v=>v.arguments[0].text):_t;for(const v of E)if(om(v)){if(jc(v,fV))continue;if(mk(v))return 3;z2(v)&&(p=!0)}return p?2:0}}function mLt(t){let u=0,s;for(const d of t.statements){if(u>3)break;L0e(d)?s=Hi(s,d.declarationList.declarations.map(f=>f.initializer)):Od(d)&&xf(d.expression,!0)?s=xi(s,d.expression):u++}return s||_t}function hke(t,u,s){if(!t)return!1;const d=kP(u,s);for(const f of Va(tV(u,d)))if(Ml(t,f))return!0;return!1}function mYe(t){const u=t.match(/\//g);return u?u.length:0}function iV(t,u){return nl(mYe(t),mYe(u))}function _h(t){for(const u of Xle){const s=fke(t,u);if(s!==void 0)return s}return t}function fke(t,u){return Ml(t,u)?nV(t,u):void 0}function nV(t,u){return t.substring(0,t.length-u.length)}function wv(t,u){return AO(t,u,Xle,!1)}function fB(t){const u=t.indexOf("*");return u===-1?t:t.indexOf("*",u+1)!==-1?void 0:{prefix:t.substr(0,u),suffix:t.substr(u+1)}}function lZ(t){return qi(Ns(t),u=>fB(u))}function pg(t){return!(t>=0)}function cZ(t){return t===".ts"||t===".tsx"||t===".d.ts"||t===".cts"||t===".mts"||t===".d.mts"||t===".d.cts"||Pa(t,".d.")&&sc(t,".ts")}function FP(t){return cZ(t)||t===".json"}function y7(t){const u=t3(t);return u!==void 0?u:H.fail(`File ${t} has unknown extension.`)}function pYe(t){return t3(t)!==void 0}function t3(t){return Le(Xle,u=>Ml(t,u))}function uV(t,u){return t.checkJsDirective?t.checkJsDirective.enabled:u.checkJs}function Ble(t,u){const s=[];for(const d of t){if(d===u)return u;Ja(d)||s.push(d)}return coe(s,d=>d,u)}function wle(t,u){const s=t.indexOf(u);return H.assert(s!==-1),t.slice(s)}function Es(t,...u){return u.length&&(t.relatedInformation||(t.relatedInformation=[]),H.assert(t.relatedInformation!==_t,"Diagnostic had empty array singleton for related info, but is still being constructed!"),t.relatedInformation.push(...u)),t}function mke(t,u){H.assert(t.length!==0);let s=u(t[0]),d=s;for(let f=1;fd&&(d=p)}return{min:s,max:d}}function Tle(t){return{pos:ek(t),end:t.end}}function Lle(t,u){const s=u.pos-1,d=Math.min(t.text.length,gs(t.text,u.end)+1);return{pos:s,end:d}}function AP(t,u,s){return u.skipLibCheck&&t.isDeclarationFile||u.skipDefaultLibCheck&&t.hasNoDefaultLib||s.isSourceOfProjectReferenceRedirect(t.fileName)}function dZ(t,u){return t===u||typeof t=="object"&&t!==null&&typeof u=="object"&&u!==null&&ZA(t,u,dZ)}function SP(t){let u;switch(t.charCodeAt(1)){case 98:case 66:u=1;break;case 111:case 79:u=3;break;case 120:case 88:u=4;break;default:const B=t.length-1;let k=0;for(;t.charCodeAt(k)===48;)k++;return t.slice(k,B)||"0"}const s=2,d=t.length-1,f=(d-s)*u,p=new Uint16Array((f>>>4)+(f&15?1:0));for(let B=d-1,k=0;B>=s;B--,k+=u){const T=k>>>4,M=t.charCodeAt(B),j=(M<=57?M-48:10+M-(M<=70?65:97))<<(k&15);p[T]|=j;const J=j>>>16;J&&(p[T+1]|=J)}let E="",v=p.length-1,b=!0;for(;b;){let B=0;b=!1;for(let k=v;k>=0;k--){const T=B<<16|p[k],M=T/10|0;p[k]=M,B=T-M*10,M&&!b&&(v=k,b=!0)}E=B+E}return E}function I2({negative:t,base10Value:u}){return(t&&u!=="0"?"-":"")+u}function pke(t){if(hZ(t,!1))return Nle(t)}function Nle(t){const u=t.startsWith("-"),s=SP(`${u?t.slice(1):t}n`);return{negative:u,base10Value:s}}function hZ(t,u){if(t==="")return!1;const s=YD(99,!1);let d=!0;s.setOnError(()=>d=!1),s.setText(t+"n");let f=s.scan();const p=f===41;p&&(f=s.scan());const E=s.getTokenFlags();return d&&f===10&&s.getTokenEnd()===t.length+1&&!(E&512)&&(!u||t===I2({negative:p,base10Value:SP(s.getTokenValue())}))}function Tv(t){return!!(t.flags&33554432)||_q(t)||ELt(t)||gLt(t)||!(Z_(t)||pLt(t))}function pLt(t){return at(t)&&pm(t.parent)&&t.parent.name===t}function gLt(t){for(;t.kind===80||t.kind===211;)t=t.parent;if(t.kind!==167)return!1;if(Yu(t.parent,64))return!0;const u=t.parent.parent.kind;return u===264||u===187}function ELt(t){if(t.kind!==80)return!1;const u=Tn(t.parent,s=>{switch(s.kind){case 298:return!0;case 211:case 233:return!1;default:return"quit"}});return(u==null?void 0:u.token)===119||(u==null?void 0:u.parent.kind)===264}function gke(t){return X4(t)&&at(t.typeName)}function Eke(t,u=Cx){if(t.length<2)return!0;const s=t[0];for(let d=1,f=t.length;dt.includes(u))}function xke(t){if(!t.parent)return;switch(t.kind){case 168:const{parent:s}=t;return s.kind===195?void 0:s.typeParameters;case 169:return t.parent.parameters;case 204:return t.parent.templateSpans;case 239:return t.parent.templateSpans;case 170:{const{parent:d}=t;return Ak(d)?d.modifiers:void 0}case 298:return t.parent.heritageClauses}const{parent:u}=t;if(I8(t))return K7(t.parent)?void 0:t.parent.tags;switch(u.kind){case 187:case 264:return Zy(t)?u.members:void 0;case 192:case 193:return u.types;case 189:case 209:case 361:case 275:case 279:return u.elements;case 210:case 292:return u.properties;case 213:case 214:return Xr(t)?u.typeArguments:u.expression===t?void 0:u.arguments;case 284:case 288:return ej(t)?u.children:void 0;case 286:case 285:return Xr(t)?u.typeArguments:void 0;case 241:case 296:case 297:case 268:return u.statements;case 269:return u.clauses;case 263:case 231:return Zd(t)?u.members:void 0;case 266:return J2(t)?u.members:void 0;case 312:return u.statements}}function fZ(t){if(!t.typeParameters){if(Oe(t.parameters,u=>!f1(u)))return!0;if(t.kind!==219){const u=Ki(t.parameters);if(!(u&&L2(u)))return!0}}return!1}function LP(t){return t==="Infinity"||t==="-Infinity"||t==="NaN"}function vke(t){return t.kind===260&&t.parent.kind===299}function Mle(t){const u=t.valueDeclaration&&XE(t.valueDeclaration);return!!u&&(io(u)||vke(u))}function R2(t){return t.kind===218||t.kind===219}function O2(t){return t.replace(/\$/gm,()=>"\\$")}function i3(t){return(+t).toString()===t}function mZ(t,u,s,d,f){const p=f&&t==="new";return!p&&Lm(t,u)?q.createIdentifier(t):!d&&!p&&i3(t)&&+t>=0?q.createNumericLiteral(+t):q.createStringLiteral(t,!!s)}function NP(t){return!!(t.flags&262144&&t.isThisType)}function pZ(t){let u=0,s=0,d=0,f=0,p;(B=>{B[B.BeforeNodeModules=0]="BeforeNodeModules",B[B.NodeModules=1]="NodeModules",B[B.Scope=2]="Scope",B[B.PackageContent=3]="PackageContent"})(p||(p={}));let E=0,v=0,b=0;for(;v>=0;)switch(E=v,v=t.indexOf("/",E+1),b){case 0:t.indexOf(o_,E)===E&&(u=E,s=v,b=1);break;case 1:case 2:b===1&&t.charAt(E+1)==="@"?b=2:(d=v,b=3);break;case 3:t.indexOf(o_,E)===E?b=1:b=3;break}return f=E,b>1?{topLevelNodeModulesIndex:u,topLevelPackageNameIndex:s,packageRootIndex:d,fileNameIndex:f}:void 0}function gYe(t){var u;return t.kind===348?(u=t.typeExpression)==null?void 0:u.type:t.type}function gB(t){switch(t.kind){case 168:case 263:case 264:case 265:case 266:case 353:case 345:case 347:return!0;case 273:return t.isTypeOnly;case 276:case 281:return t.parent.parent.isTypeOnly;default:return!1}}function rV(t){return Iv(t)||Jl(t)||ed(t)||Wc(t)||xh(t)||gB(t)||_c(t)&&!v2(t)&&!Yg(t)}function aV(t){if(!WO(t))return!1;const{isBracketed:u,typeExpression:s}=t;return u||!!s&&s.type.kind===323}function zle(t,u){if(t.length===0)return!1;const s=t.charCodeAt(0);return s===35?t.length>1&&G_(t.charCodeAt(1),u):G_(s,u)}function Cke(t){var u;return((u=sce(t))==null?void 0:u.kind)===0}function oV(t){return Qn(t)&&(t.type&&t.type.kind===323||B8(t).some(({isBracketed:u,typeExpression:s})=>u||!!s&&s.type.kind===323))}function PP(t){switch(t.kind){case 172:case 171:return!!t.questionToken;case 169:return!!t.questionToken||oV(t);case 355:case 348:return aV(t);default:return!1}}function bke(t){const u=t.kind;return(u===211||u===212)&&O7(t.expression)}function Ile(t){return Qn(t)&&Cf(t)&&lm(t)&&!!jse(t)}function Rle(t){return H.checkDefined(gZ(t))}function gZ(t){const u=jse(t);return u&&u.typeExpression&&u.typeExpression.type}function MP(t){return at(t)?t.escapedText:k7(t)}function sV(t){return at(t)?fu(t):zP(t)}function yke(t){const u=t.kind;return u===80||u===295}function k7(t){return`${t.namespace.escapedText}:${fu(t.name)}`}function zP(t){return`${fu(t.namespace)}:${fu(t.name)}`}function Ole(t){return at(t)?fu(t):zP(t)}function Y4(t){return!!(t.flags&8576)}function Q4(t){return t.flags&8192?t.escapedName:t.flags&384?Al(""+t.value):H.fail()}function EZ(t){return!!t&&(Iu(t)||U0(t)||Xn(t))}function kke(t){return t===void 0?!1:!!qB(t.attributes)}var _Z,Hx,lV,DZ,cV,xZ,jle,Vle,EYe,_Ye,Hle,DYe,xYe,Kle,Wle,Gle,Jle,vYe,CYe,bYe,yYe,kYe,Fke,FYe,AYe,SYe,IP,pk,BYe,wYe,Qd,Ake,vZ,$le,TYe,Ule,qle,Ske,Bke,wke,Tke,EB,Zle,LYe,NYe,Yle,_B,CZ,PYe,dV,hV,fV,Qle,Xle,bZ,DLt=o({"src/compiler/utilities.ts"(){Bo(),_Z=[],Hx="tslib",lV=160,DZ=1e6,cV=CTt(),xZ=Mh(()=>new Map(Object.entries({Array:new Map(Object.entries({es2015:["find","findIndex","fill","copyWithin","entries","keys","values"],es2016:["includes"],es2019:["flat","flatMap"],es2022:["at"],es2023:["findLastIndex","findLast"]})),Iterator:new Map(Object.entries({es2015:_t})),AsyncIterator:new Map(Object.entries({es2015:_t})),Atomics:new Map(Object.entries({es2017:_t})),SharedArrayBuffer:new Map(Object.entries({es2017:_t})),AsyncIterable:new Map(Object.entries({es2018:_t})),AsyncIterableIterator:new Map(Object.entries({es2018:_t})),AsyncGenerator:new Map(Object.entries({es2018:_t})),AsyncGeneratorFunction:new Map(Object.entries({es2018:_t})),RegExp:new Map(Object.entries({es2015:["flags","sticky","unicode"],es2018:["dotAll"]})),Reflect:new Map(Object.entries({es2015:["apply","construct","defineProperty","deleteProperty","get","getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"]})),ArrayConstructor:new Map(Object.entries({es2015:["from","of"]})),ObjectConstructor:new Map(Object.entries({es2015:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],es2017:["values","entries","getOwnPropertyDescriptors"],es2019:["fromEntries"],es2022:["hasOwn"]})),NumberConstructor:new Map(Object.entries({es2015:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"]})),Math:new Map(Object.entries({es2015:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"]})),Map:new Map(Object.entries({es2015:["entries","keys","values"]})),Set:new Map(Object.entries({es2015:["entries","keys","values"]})),PromiseConstructor:new Map(Object.entries({es2015:["all","race","reject","resolve"],es2020:["allSettled"],es2021:["any"]})),Symbol:new Map(Object.entries({es2015:["for","keyFor"],es2019:["description"]})),WeakMap:new Map(Object.entries({es2015:["entries","keys","values"]})),WeakSet:new Map(Object.entries({es2015:["entries","keys","values"]})),String:new Map(Object.entries({es2015:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],es2017:["padStart","padEnd"],es2019:["trimStart","trimEnd","trimLeft","trimRight"],es2020:["matchAll"],es2021:["replaceAll"],es2022:["at"]})),StringConstructor:new Map(Object.entries({es2015:["fromCodePoint","raw"]})),DateTimeFormat:new Map(Object.entries({es2017:["formatToParts"]})),Promise:new Map(Object.entries({es2015:_t,es2018:["finally"]})),RegExpMatchArray:new Map(Object.entries({es2018:["groups"]})),RegExpExecArray:new Map(Object.entries({es2018:["groups"]})),Intl:new Map(Object.entries({es2018:["PluralRules"]})),NumberFormat:new Map(Object.entries({es2018:["formatToParts"]})),SymbolConstructor:new Map(Object.entries({es2020:["matchAll"]})),DataView:new Map(Object.entries({es2020:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"]})),BigInt:new Map(Object.entries({es2020:_t})),RelativeTimeFormat:new Map(Object.entries({es2020:["format","formatToParts","resolvedOptions"]})),Int8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8ClampedArray:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float64Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),BigInt64Array:new Map(Object.entries({es2020:_t,es2022:["at"],es2023:["findLastIndex","findLast"]})),BigUint64Array:new Map(Object.entries({es2020:_t,es2022:["at"],es2023:["findLastIndex","findLast"]})),Error:new Map(Object.entries({es2022:["cause"]}))}))),jle=(t=>(t[t.None=0]="None",t[t.NeverAsciiEscape=1]="NeverAsciiEscape",t[t.JsxAttributeEscape=2]="JsxAttributeEscape",t[t.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",t[t.AllowNumericSeparator=8]="AllowNumericSeparator",t))(jle||{}),Vle=/^(\/\/\/\s*/,EYe=/^(\/\/\/\s*/,_Ye=/^(\/\/\/\s*/,Hle=/^(\/\/\/\s*/,DYe=/^\/\/\/\s*/,xYe=/^(\/\/\/\s*/,Kle=(t=>(t[t.None=0]="None",t[t.Definite=1]="Definite",t[t.Compound=2]="Compound",t))(Kle||{}),Wle=(t=>(t[t.Normal=0]="Normal",t[t.Generator=1]="Generator",t[t.Async=2]="Async",t[t.Invalid=4]="Invalid",t[t.AsyncGenerator=3]="AsyncGenerator",t))(Wle||{}),Gle=(t=>(t[t.Left=0]="Left",t[t.Right=1]="Right",t))(Gle||{}),Jle=(t=>(t[t.Comma=0]="Comma",t[t.Spread=1]="Spread",t[t.Yield=2]="Yield",t[t.Assignment=3]="Assignment",t[t.Conditional=4]="Conditional",t[t.Coalesce=4]="Coalesce",t[t.LogicalOR=5]="LogicalOR",t[t.LogicalAND=6]="LogicalAND",t[t.BitwiseOR=7]="BitwiseOR",t[t.BitwiseXOR=8]="BitwiseXOR",t[t.BitwiseAND=9]="BitwiseAND",t[t.Equality=10]="Equality",t[t.Relational=11]="Relational",t[t.Shift=12]="Shift",t[t.Additive=13]="Additive",t[t.Multiplicative=14]="Multiplicative",t[t.Exponentiation=15]="Exponentiation",t[t.Unary=16]="Unary",t[t.Update=17]="Update",t[t.LeftHandSide=18]="LeftHandSide",t[t.Member=19]="Member",t[t.Primary=20]="Primary",t[t.Highest=20]="Highest",t[t.Lowest=0]="Lowest",t[t.Invalid=-1]="Invalid",t))(Jle||{}),vYe=/\$\{/g,CYe=/[\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,bYe=/[\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,yYe=/\r\n|[\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,kYe=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"})),Fke=/[^\u0000-\u007F]/g,FYe=/["\u0000-\u001f\u2028\u2029\u0085]/g,AYe=/['\u0000-\u001f\u2028\u2029\u0085]/g,SYe=new Map(Object.entries({'"':""","'":"'"})),IP=[""," "],pk="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",BYe=`\r `,wYe=` -`,Qd={getNodeConstructor:()=>Yye,getTokenConstructor:()=>tLt,getIdentifierConstructor:()=>iLt,getPrivateIdentifierConstructor:()=>Yye,getSourceFileConstructor:()=>Yye,getSymbolConstructor:()=>QTt,getTypeConstructor:()=>XTt,getSignatureConstructor:()=>eLt,getSourceMapSourceConstructor:()=>nLt},Ake=[],$le=/[^\w\s/]/g,TYe=[42,63],Ule=["node_modules","bower_components","jspm_packages"],qle=`(?!(${Ule.join("|")})(/|$))`,Ske={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${qle}[^/.][^/]*)*?`,replaceWildcardCharacter:t=>cke(t,Ske.singleAsteriskRegexFragment)},Bke={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${qle}[^/.][^/]*)*?`,replaceWildcardCharacter:t=>cke(t,Bke.singleAsteriskRegexFragment)},wke={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:t=>cke(t,wke.singleAsteriskRegexFragment)},Tke={files:Ske,directories:Bke,exclude:wke},EB=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],Zle=Va(EB),LYe=[...EB,[".json"]],NYe=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],Yle=[[".js",".jsx"],[".mjs"],[".cjs"]],_B=Va(Yle),CZ=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],PYe=[...CZ,[".json"]],dV=[".d.ts",".d.cts",".d.mts"],hV=[".ts",".cts",".mts",".tsx"],fV=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"],Qle=(t=>(t[t.Minimal=0]="Minimal",t[t.Index=1]="Index",t[t.JsExtension=2]="JsExtension",t[t.TsExtension=3]="TsExtension",t))(Qle||{}),Xle=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],bZ={files:_t,directories:_t}}});function Lke(){let t,u,s,d,f;return{createBaseSourceFileNode:p,createBaseIdentifierNode:E,createBasePrivateIdentifierNode:v,createBaseTokenNode:b,createBaseNode:B};function p(k){return new(f||(f=Qd.getSourceFileConstructor()))(k,-1,-1)}function E(k){return new(s||(s=Qd.getIdentifierConstructor()))(k,-1,-1)}function v(k){return new(d||(d=Qd.getPrivateIdentifierConstructor()))(k,-1,-1)}function b(k){return new(u||(u=Qd.getTokenConstructor()))(k,-1,-1)}function B(k){return new(t||(t=Qd.getNodeConstructor()))(k,-1,-1)}}var xLt=o({"src/compiler/factory/baseNodeFactory.ts"(){Bo()}});function Nke(t){let u,s;return{getParenthesizeLeftSideOfBinaryForOperator:d,getParenthesizeRightSideOfBinaryForOperator:f,parenthesizeLeftSideOfBinary:B,parenthesizeRightSideOfBinary:k,parenthesizeExpressionOfComputedPropertyName:T,parenthesizeConditionOfConditionalExpression:M,parenthesizeBranchOfConditionalExpression:z,parenthesizeExpressionOfExportDefault:j,parenthesizeExpressionOfNew:J,parenthesizeLeftSideOfAccess:K,parenthesizeOperandOfPostfixUnary:Y,parenthesizeOperandOfPrefixUnary:oe,parenthesizeExpressionsOfCommaDelimitedList:se,parenthesizeExpressionForDisallowedComma:ge,parenthesizeExpressionOfExpressionStatement:ae,parenthesizeConciseBodyOfArrowFunction:Ce,parenthesizeCheckTypeOfConditionalType:ne,parenthesizeExtendsTypeOfConditionalType:ve,parenthesizeConstituentTypesOfUnionType:Ne,parenthesizeConstituentTypeOfUnionType:Se,parenthesizeConstituentTypesOfIntersectionType:fe,parenthesizeConstituentTypeOfIntersectionType:pe,parenthesizeOperandOfTypeOperator:xe,parenthesizeOperandOfReadonlyTypeOperator:Be,parenthesizeNonArrayTypeOfPostfixType:Ge,parenthesizeElementTypesOfTupleType:Ae,parenthesizeElementTypeOfTupleType:De,parenthesizeTypeOfOptionalType:Je,parenthesizeTypeArguments:Ve,parenthesizeLeadingTypeArgument:ft};function d(We){u||(u=new Map);let Gt=u.get(We);return Gt||(Gt=Yt=>B(We,Yt),u.set(We,Gt)),Gt}function f(We){s||(s=new Map);let Gt=s.get(We);return Gt||(Gt=Yt=>k(We,void 0,Yt),s.set(We,Gt)),Gt}function p(We,Gt,Yt,Ie){const st=Rj(226,We),St=Z0e(226,We),It=Np(Gt);if(!Yt&&Gt.kind===219&&st>3)return!0;const ei=lP(It);switch(nl(ei,st)){case-1:return!(!Yt&&St===1&&Gt.kind===229);case 1:return!1;case 0:if(Yt)return St===1;if(Xn(It)&&It.operatorToken.kind===We){if(E(We))return!1;if(We===40){const Ut=Ie?v(Ie):0;if(jN(Ut)&&Ut===v(It))return!1}}return q0e(It)===0}}function E(We){return We===42||We===52||We===51||We===53||We===28}function v(We){if(We=Np(We),jN(We.kind))return We.kind;if(We.kind===226&&We.operatorToken.kind===40){if(We.cachedLiteralKind!==void 0)return We.cachedLiteralKind;const Gt=v(We.left),Yt=jN(Gt)&&Gt===v(We.right)?Gt:0;return We.cachedLiteralKind=Yt,Yt}return 0}function b(We,Gt,Yt,Ie){return Np(Gt).kind===217?Gt:p(We,Gt,Yt,Ie)?t.createParenthesizedExpression(Gt):Gt}function B(We,Gt){return b(We,Gt,!0)}function k(We,Gt,Yt){return b(We,Yt,!1,Gt)}function T(We){return eM(We)?t.createParenthesizedExpression(We):We}function M(We){const Gt=Rj(227,58),Yt=Np(We),Ie=lP(Yt);return nl(Ie,Gt)!==1?t.createParenthesizedExpression(We):We}function z(We){const Gt=Np(We);return eM(Gt)?t.createParenthesizedExpression(We):We}function j(We){const Gt=Np(We);let Yt=eM(Gt);if(!Yt)switch(dB(Gt,!1).kind){case 231:case 218:Yt=!0}return Yt?t.createParenthesizedExpression(We):We}function J(We){const Gt=dB(We,!0);switch(Gt.kind){case 213:return t.createParenthesizedExpression(We);case 214:return Gt.arguments?We:t.createParenthesizedExpression(We)}return K(We)}function K(We,Gt){const Yt=Np(We);return Df(Yt)&&(Yt.kind!==214||Yt.arguments)&&(Gt||!Y1(Yt))?We:Pt(t.createParenthesizedExpression(We),We)}function Y(We){return Df(We)?We:Pt(t.createParenthesizedExpression(We),We)}function oe(We){return e0e(We)?We:Pt(t.createParenthesizedExpression(We),We)}function se(We){const Gt=Lu(We,ge);return Pt(t.createNodeArray(Gt,We.hasTrailingComma),We)}function ge(We){const Gt=Np(We),Yt=lP(Gt),Ie=Rj(226,28);return Yt>Ie?We:Pt(t.createParenthesizedExpression(We),We)}function ae(We){const Gt=Np(We);if(Mo(Gt)){const Ie=Gt.expression,st=Np(Ie).kind;if(st===218||st===219){const St=t.updateCallExpression(Gt,Pt(t.createParenthesizedExpression(Ie),Ie),Gt.typeArguments,Gt.arguments);return t.restoreOuterExpressions(We,St,8)}}const Yt=dB(Gt,!1).kind;return Yt===210||Yt===218?Pt(t.createParenthesizedExpression(We),We):We}function Ce(We){return!po(We)&&(eM(We)||dB(We,!1).kind===210)?Pt(t.createParenthesizedExpression(We),We):We}function ne(We){switch(We.kind){case 184:case 185:case 194:return t.createParenthesizedType(We)}return We}function ve(We){switch(We.kind){case 194:return t.createParenthesizedType(We)}return We}function Se(We){switch(We.kind){case 192:case 193:return t.createParenthesizedType(We)}return ne(We)}function Ne(We){return t.createNodeArray(Lu(We,Se))}function pe(We){switch(We.kind){case 192:case 193:return t.createParenthesizedType(We)}return Se(We)}function fe(We){return t.createNodeArray(Lu(We,pe))}function xe(We){switch(We.kind){case 193:return t.createParenthesizedType(We)}return pe(We)}function Be(We){switch(We.kind){case 198:return t.createParenthesizedType(We)}return xe(We)}function Ge(We){switch(We.kind){case 195:case 198:case 186:return t.createParenthesizedType(We)}return xe(We)}function Ae(We){return t.createNodeArray(Lu(We,De))}function De(We){return Ke(We)?t.createParenthesizedType(We):We}function Ke(We){return wB(We)?We.postfix:GP(We)||u3(We)||WP(We)||z7(We)?Ke(We.type):FB(We)?Ke(We.falseType):Pv(We)||kB(We)?Ke(Cr(We.types)):P7(We)?!!We.typeParameter.constraint&&Ke(We.typeParameter.constraint):!1}function Je(We){return Ke(We)?t.createParenthesizedType(We):Ge(We)}function ft(We){return ube(We)&&We.typeParameters?t.createParenthesizedType(We):We}function Ye(We,Gt){return Gt===0?ft(We):We}function Ve(We){if(Oe(We))return t.createNodeArray(Lu(We,Ye))}}var ece,vLt=o({"src/compiler/factory/parenthesizerRules.ts"(){Bo(),ece={getParenthesizeLeftSideOfBinaryForOperator:t=>il,getParenthesizeRightSideOfBinaryForOperator:t=>il,parenthesizeLeftSideOfBinary:(t,u)=>u,parenthesizeRightSideOfBinary:(t,u,s)=>s,parenthesizeExpressionOfComputedPropertyName:il,parenthesizeConditionOfConditionalExpression:il,parenthesizeBranchOfConditionalExpression:il,parenthesizeExpressionOfExportDefault:il,parenthesizeExpressionOfNew:t=>Po(t,Df),parenthesizeLeftSideOfAccess:t=>Po(t,Df),parenthesizeOperandOfPostfixUnary:t=>Po(t,Df),parenthesizeOperandOfPrefixUnary:t=>Po(t,e0e),parenthesizeExpressionsOfCommaDelimitedList:t=>Po(t,g2),parenthesizeExpressionForDisallowedComma:il,parenthesizeExpressionOfExpressionStatement:il,parenthesizeConciseBodyOfArrowFunction:il,parenthesizeCheckTypeOfConditionalType:il,parenthesizeExtendsTypeOfConditionalType:il,parenthesizeConstituentTypesOfUnionType:t=>Po(t,g2),parenthesizeConstituentTypeOfUnionType:il,parenthesizeConstituentTypesOfIntersectionType:t=>Po(t,g2),parenthesizeConstituentTypeOfIntersectionType:il,parenthesizeOperandOfTypeOperator:il,parenthesizeOperandOfReadonlyTypeOperator:il,parenthesizeNonArrayTypeOfPostfixType:il,parenthesizeElementTypesOfTupleType:t=>Po(t,g2),parenthesizeElementTypeOfTupleType:il,parenthesizeTypeOfOptionalType:il,parenthesizeTypeArguments:t=>t&&Po(t,g2),parenthesizeLeadingTypeArgument:il}}});function Pke(t){return{convertToFunctionBlock:u,convertToFunctionExpression:s,convertToClassExpression:d,convertToArrayAssignmentElement:f,convertToObjectAssignmentElement:p,convertToAssignmentPattern:E,convertToObjectAssignmentPattern:v,convertToArrayAssignmentPattern:b,convertToAssignmentElementTarget:B};function u(k,T){if(po(k))return k;const M=t.createReturnStatement(k);Pt(M,k);const z=t.createBlock([M],T);return Pt(z,k),z}function s(k){var T;if(!k.body)return H.fail("Cannot convert a FunctionDeclaration without a body");const M=t.createFunctionExpression((T=p2(k))==null?void 0:T.filter(z=>!L7(z)&&!rY(z)),k.asteriskToken,k.name,k.typeParameters,k.parameters,k.type,k.body);return su(M,k),Pt(M,k),RP(k)&&FZ(M,!0),M}function d(k){var T;const M=t.createClassExpression((T=k.modifiers)==null?void 0:T.filter(z=>!L7(z)&&!rY(z)),k.name,k.typeParameters,k.heritageClauses,k.members);return su(M,k),Pt(M,k),RP(k)&&FZ(M,!0),M}function f(k){if(js(k)){if(k.dotDotDotToken)return H.assertNode(k.name,at),su(Pt(t.createSpreadElement(k.name),k),k);const T=B(k.name);return k.initializer?su(Pt(t.createAssignment(T,k.initializer),k),k):T}return Po(k,Wt)}function p(k){if(js(k)){if(k.dotDotDotToken)return H.assertNode(k.name,at),su(Pt(t.createSpreadAssignment(k.name),k),k);if(k.propertyName){const T=B(k.name);return su(Pt(t.createPropertyAssignment(k.propertyName,k.initializer?t.createAssignment(T,k.initializer):T),k),k)}return H.assertNode(k.name,at),su(Pt(t.createShorthandPropertyAssignment(k.name,k.initializer),k),k)}return Po(k,Z3)}function E(k){switch(k.kind){case 207:case 209:return b(k);case 206:case 210:return v(k)}}function v(k){return Rp(k)?su(Pt(t.createObjectLiteralExpression(Vt(k.elements,p)),k),k):Po(k,ys)}function b(k){return _k(k)?su(Pt(t.createArrayLiteralExpression(Vt(k.elements,f)),k),k):Po(k,Dh)}function B(k){return So(k)?E(k):Po(k,Wt)}}var tce,CLt=o({"src/compiler/factory/nodeConverters.ts"(){Bo(),tce={convertToFunctionBlock:ho,convertToFunctionExpression:ho,convertToClassExpression:ho,convertToArrayAssignmentElement:ho,convertToObjectAssignmentElement:ho,convertToAssignmentPattern:ho,convertToObjectAssignmentPattern:ho,convertToArrayAssignmentPattern:ho,convertToAssignmentElementTarget:ho}}});function MYe(t){zke.push(t)}function mV(t,u){const s=t&8?bLt:yLt,d=Mh(()=>t&1?ece:Nke(Y)),f=Mh(()=>t&2?tce:Pke(Y)),p=HE(N=>(W,ee)=>Me(W,N,ee)),E=HE(N=>W=>Bt(N,W)),v=HE(N=>W=>Ci(W,N)),b=HE(N=>()=>sz(N)),B=HE(N=>W=>B0(N,W)),k=HE(N=>(W,ee)=>A9(N,W,ee)),T=HE(N=>(W,ee)=>F9(N,W,ee)),M=HE(N=>(W,ee)=>Eb(N,W,ee)),z=HE(N=>(W,ee)=>_4(N,W,ee)),j=HE(N=>(W,ee,ke)=>fC(N,W,ee,ke)),J=HE(N=>(W,ee,ke)=>T5(N,W,ee,ke)),K=HE(N=>(W,ee,ke,dt)=>n1(N,W,ee,ke,dt)),Y={get parenthesizer(){return d()},get converters(){return f()},baseFactory:u,flags:t,createNodeArray:oe,createNumericLiteral:Ce,createBigIntLiteral:ne,createStringLiteral:Se,createStringLiteralFromNode:Ne,createRegularExpressionLiteral:pe,createLiteralLikeNode:fe,createIdentifier:Ge,createTempVariable:Ae,createLoopVariable:De,createUniqueName:Ke,getGeneratedNameForNode:Je,createPrivateIdentifier:Ye,createUniquePrivateName:We,getGeneratedPrivateNameForNode:Gt,createToken:Ie,createSuper:st,createThis:St,createNull:It,createTrue:ei,createFalse:ht,createModifier:Ut,createModifiersFromModifierFlags:Ni,createQualifiedName:ji,updateQualifiedName:xn,createComputedPropertyName:Jn,updateComputedPropertyName:an,createTypeParameterDeclaration:Pi,updateTypeParameterDeclaration:Ai,createParameterDeclaration:Zu,updateParameterDeclaration:aa,createDecorator:yr,updateDecorator:Ba,createPropertySignature:bt,updatePropertySignature:jn,createPropertyDeclaration:Si,updatePropertyDeclaration:Dn,createMethodSignature:Cn,updateMethodSignature:tu,createMethodDeclaration:oa,updateMethodDeclaration:Da,createConstructorDeclaration:Qe,updateConstructorDeclaration:Et,createGetAccessorDeclaration:qt,updateGetAccessorDeclaration:Xt,createSetAccessorDeclaration:et,updateSetAccessorDeclaration:gt,createCallSignature:me,updateCallSignature:ni,createConstructSignature:vi,updateConstructSignature:mt,createIndexSignature:Ot,updateIndexSignature:Ei,createClassStaticBlockDeclaration:Ta,updateClassStaticBlockDeclaration:Yo,createTemplateLiteralTypeSpan:$i,updateTemplateLiteralTypeSpan:Qi,createKeywordTypeNode:on,createTypePredicateNode:le,updateTypePredicateNode:te,createTypeReferenceNode:we,updateTypeReferenceNode:de,createFunctionTypeNode:je,updateFunctionTypeNode:X,createConstructorTypeNode:Ct,updateConstructorTypeNode:Li,createTypeQueryNode:du,updateTypeQueryNode:Ru,createTypeLiteralNode:pr,updateTypeLiteralNode:Xu,createArrayTypeNode:ca,updateArrayTypeNode:Ku,createTupleTypeNode:ja,updateTupleTypeNode:wn,createNamedTupleMember:Ir,updateNamedTupleMember:as,createOptionalTypeNode:wo,updateOptionalTypeNode:Fn,createRestTypeNode:vc,updateRestTypeNode:Ya,createUnionTypeNode:wl,updateUnionTypeNode:hd,createIntersectionTypeNode:vl,updateIntersectionTypeNode:co,createConditionalTypeNode:Ho,updateConditionalTypeNode:id,createInferTypeNode:Y0,updateInferTypeNode:Ko,createImportTypeNode:Lc,updateImportTypeNode:Il,createParenthesizedType:cl,updateParenthesizedType:Ka,createThisTypeNode:Ri,createTypeOperatorNode:dl,updateTypeOperatorNode:Uc,createIndexedAccessTypeNode:Ch,updateIndexedAccessTypeNode:sf,createMappedTypeNode:Q0,updateMappedTypeNode:Cc,createLiteralTypeNode:$,updateLiteralTypeNode:tt,createTemplateLiteralType:Tc,updateTemplateLiteralType:Jp,createObjectBindingPattern:vt,updateObjectBindingPattern:mi,createArrayBindingPattern:fn,updateArrayBindingPattern:Wu,createBindingElement:uu,updateBindingElement:Tu,createArrayLiteralExpression:Nr,updateArrayLiteralExpression:Vu,createObjectLiteralExpression:Ss,updateObjectLiteralExpression:ic,createPropertyAccessExpression:t&4?(N,W)=>Zn(S0(N,W),262144):S0,updatePropertyAccessExpression:ud,createPropertyAccessChain:t&4?(N,W,ee)=>Zn(m0(N,W,ee),262144):m0,updatePropertyAccessChain:Bd,createElementAccessExpression:uh,updateElementAccessExpression:h4,createElementAccessChain:D1,updateElementAccessChain:He,createCallExpression:Mn,updateCallExpression:ba,createCallChain:Fo,updateCallChain:To,createNewExpression:nc,updateNewExpression:fc,createTaggedTemplateExpression:Cl,updateTaggedTemplateExpression:Tl,createTypeAssertion:bc,updateTypeAssertion:ql,createParenthesizedExpression:Nc,updateParenthesizedExpression:ip,createFunctionExpression:Jm,updateFunctionExpression:jh,createArrowFunction:f4,updateArrowFunction:c3,createDeleteExpression:c_,updateDeleteExpression:C5,createTypeOfExpression:R1,updateTypeOfExpression:d3,createVoidExpression:Wf,updateVoidExpression:m4,createAwaitExpression:Vh,updateAwaitExpression:Ee,createPrefixUnaryExpression:Bt,updatePrefixUnaryExpression:Di,createPostfixUnaryExpression:Ci,updatePostfixUnaryExpression:Q,createBinaryExpression:Me,updateBinaryExpression:ki,createConditionalExpression:In,updateConditionalExpression:tr,createTemplateExpression:ir,updateTemplateExpression:ha,createTemplateHead:$m,createTemplateMiddle:_s,createTemplateTail:np,createNoSubstitutionTemplateLiteral:Um,createTemplateLiteralLikeNode:fd,createYieldExpression:h3,updateYieldExpression:d_,createSpreadElement:ta,updateSpreadElement:Xx,createClassExpression:e6,updateClassExpression:bg,createOmittedExpression:sb,createExpressionWithTypeArguments:b5,updateExpressionWithTypeArguments:Xe,createAsExpression:Dt,updateAsExpression:oi,createNonNullExpression:Ti,updateNonNullExpression:Xi,createSatisfiesExpression:Rn,updateSatisfiesExpression:tn,createNonNullChain:bn,updateNonNullChain:kr,createMetaProperty:Cu,updateMetaProperty:bu,createTemplateSpan:Eu,updateTemplateSpan:sa,createSemicolonClassElement:p0,createBlock:o0,updateBlock:Gf,createVariableStatement:eC,updateVariableStatement:t6,createEmptyStatement:cD,createExpressionStatement:i6,updateExpressionStatement:Gk,createIfStatement:lb,updateIfStatement:Jk,createDoStatement:$k,updateDoStatement:az,createWhileStatement:D9,updateWhileStatement:ww,createForStatement:tC,updateForStatement:x9,createForInStatement:v9,updateForInStatement:Tw,createForOfStatement:Uk,updateForOfStatement:Lw,createContinueStatement:C9,updateContinueStatement:b9,createBreakStatement:qk,updateBreakStatement:cb,createReturnStatement:db,updateReturnStatement:iC,createWithStatement:y5,updateWithStatement:hb,createSwitchStatement:fE,updateSwitchStatement:Vs,createLabeledStatement:Zk,updateLabeledStatement:Nw,createThrowStatement:n6,updateThrowStatement:k5,createTryStatement:h_,updateTryStatement:p4,createDebuggerStatement:Jf,createVariableDeclaration:Hh,updateVariableDeclaration:Em,createVariableDeclarationList:nC,updateVariableDeclarationList:Pw,createFunctionDeclaration:y9,updateFunctionDeclaration:Yk,createClassDeclaration:uC,updateClassDeclaration:Qk,createInterfaceDeclaration:rC,updateInterfaceDeclaration:jd,createTypeAliasDeclaration:F5,updateTypeAliasDeclaration:A5,createEnumDeclaration:f3,updateEnumDeclaration:pt,createModuleDeclaration:i1,updateModuleDeclaration:g4,createModuleBlock:bh,updateModuleBlock:Mw,createCaseBlock:S5,updateCaseBlock:aC,createNamespaceExportDeclaration:m3,updateNamespaceExportDeclaration:oz,createImportEqualsDeclaration:yg,updateImportEqualsDeclaration:Xk,createImportDeclaration:eF,updateImportDeclaration:mb,createImportClause:pb,updateImportClause:up,createAssertClause:kg,updateAssertClause:p3,createAssertEntry:tF,updateAssertEntry:mE,createImportTypeAssertionContainer:iF,updateImportTypeAssertionContainer:zw,createImportAttributes:Ur,updateImportAttributes:ar,createImportAttribute:pE,updateImportAttribute:kf,createNamespaceImport:Iw,updateNamespaceImport:B5,createNamespaceExport:Rw,updateNamespaceExport:gb,createNamedImports:uc,updateNamedImports:yh,createImportSpecifier:dD,updateImportSpecifier:f_,createExportAssignment:g3,updateExportAssignment:$p,createExportDeclaration:oC,updateExportDeclaration:E3,createNamedExports:m_,updateNamedExports:jw,createExportSpecifier:gE,updateExportSpecifier:p_,createMissingDeclaration:w5,createExternalModuleReference:Vw,updateExternalModuleReference:k9,get createJSDocAllType(){return b(319)},get createJSDocUnknownType(){return b(320)},get createJSDocNonNullableType(){return T(322)},get updateJSDocNonNullableType(){return M(322)},get createJSDocNullableType(){return T(321)},get updateJSDocNullableType(){return M(321)},get createJSDocOptionalType(){return B(323)},get updateJSDocOptionalType(){return k(323)},get createJSDocVariadicType(){return B(325)},get updateJSDocVariadicType(){return k(325)},get createJSDocNamepathType(){return B(326)},get updateJSDocNamepathType(){return k(326)},createJSDocFunctionType:rp,updateJSDocFunctionType:sC,createJSDocTypeLiteral:S9,updateJSDocTypeLiteral:lz,createJSDocTypeExpression:nF,updateJSDocTypeExpression:ru,createJSDocSignature:v1,updateJSDocSignature:Ma,createJSDocTemplateTag:Un,updateJSDocTemplateTag:_b,createJSDocTypedefTag:lC,updateJSDocTypedefTag:wd,createJSDocParameterTag:_E,updateJSDocParameterTag:DE,createJSDocPropertyTag:u6,updateJSDocPropertyTag:B9,createJSDocCallbackTag:hD,updateJSDocCallbackTag:cC,createJSDocOverloadTag:dC,updateJSDocOverloadTag:_3,createJSDocAugmentsTag:g_,updateJSDocAugmentsTag:uF,createJSDocImplementsTag:fD,updateJSDocImplementsTag:vb,createJSDocSeeTag:r6,updateJSDocSeeTag:Db,createJSDocNameReference:w9,updateJSDocNameReference:rF,createJSDocMemberName:xb,updateJSDocMemberName:E4,createJSDocLink:hC,updateJSDocLink:yc,createJSDocLinkCode:md,updateJSDocLinkCode:T9,createJSDocLinkPlain:O1,updateJSDocLinkPlain:Ff,get createJSDocTypeTag(){return J(351)},get updateJSDocTypeTag(){return K(351)},get createJSDocReturnTag(){return J(349)},get updateJSDocReturnTag(){return K(349)},get createJSDocThisTag(){return J(350)},get updateJSDocThisTag(){return K(350)},get createJSDocAuthorTag(){return z(337)},get updateJSDocAuthorTag(){return j(337)},get createJSDocClassTag(){return z(339)},get updateJSDocClassTag(){return j(339)},get createJSDocPublicTag(){return z(340)},get updateJSDocPublicTag(){return j(340)},get createJSDocPrivateTag(){return z(341)},get updateJSDocPrivateTag(){return j(341)},get createJSDocProtectedTag(){return z(342)},get updateJSDocProtectedTag(){return j(342)},get createJSDocReadonlyTag(){return z(343)},get updateJSDocReadonlyTag(){return j(343)},get createJSDocOverrideTag(){return z(344)},get updateJSDocOverrideTag(){return j(344)},get createJSDocDeprecatedTag(){return z(338)},get updateJSDocDeprecatedTag(){return j(338)},get createJSDocThrowsTag(){return J(356)},get updateJSDocThrowsTag(){return K(356)},get createJSDocSatisfiesTag(){return J(357)},get updateJSDocSatisfiesTag(){return K(357)},createJSDocEnumTag:a6,updateJSDocEnumTag:Hw,createJSDocUnknownTag:aF,updateJSDocUnknownTag:op,createJSDocText:R0,updateJSDocText:Kw,createJSDocComment:oF,updateJSDocComment:mC,createJsxElement:L9,updateJsxElement:Kh,createJsxSelfClosingElement:D3,updateJsxSelfClosingElement:mD,createJsxOpeningElement:Cb,updateJsxOpeningElement:_m,createJsxClosingElement:N9,updateJsxClosingElement:o6,createJsxFragment:qm,createJsxText:L5,updateJsxText:cz,createJsxOpeningFragment:P9,createJsxJsxClosingFragment:M9,updateJsxFragment:bb,createJsxAttribute:z9,updateJsxAttribute:pC,createJsxAttributes:$f,updateJsxAttributes:x3,createJsxSpreadAttribute:I9,updateJsxSpreadAttribute:R9,createJsxExpression:Ks,updateJsxExpression:_u,createJsxNamespacedName:Dm,updateJsxNamespacedName:cf,createCaseClause:yb,updateCaseClause:Ww,createDefaultClause:gC,updateDefaultClause:kb,createHeritageClause:s6,updateHeritageClause:Zm,createCatchClause:sp,updateCatchClause:l6,createPropertyAssignment:Up,updatePropertyAssignment:lp,createShorthandPropertyAssignment:Fb,updateShorthandPropertyAssignment:Pc,createSpreadAssignment:D4,updateSpreadAssignment:Gw,createEnumMember:j1,updateEnumMember:EC,createSourceFile:Ab,updateSourceFile:c6,createRedirectedSourceFile:sF,createBundle:v3,updateBundle:_C,createUnparsedSource:$w,createUnparsedPrologue:R,createUnparsedPrepend:be,createUnparsedTextLike:Ht,createUnparsedSyntheticReference:Oi,createInputFiles:yu,createSyntheticExpression:Jr,createSyntaxList:br,createNotEmittedStatement:Ea,createPartiallyEmittedExpression:Ao,updatePartiallyEmittedExpression:Af,createCommaListExpression:Fr,updateCommaListExpression:vE,createSyntheticReferenceExpression:gn,updateSyntheticReferenceExpression:h6,cloneNode:cF,get createComma(){return p(28)},get createAssignment(){return p(64)},get createLogicalOr(){return p(57)},get createLogicalAnd(){return p(56)},get createBitwiseOr(){return p(52)},get createBitwiseXor(){return p(53)},get createBitwiseAnd(){return p(51)},get createStrictEquality(){return p(37)},get createStrictInequality(){return p(38)},get createEquality(){return p(35)},get createInequality(){return p(36)},get createLessThan(){return p(30)},get createLessThanEquals(){return p(33)},get createGreaterThan(){return p(32)},get createGreaterThanEquals(){return p(34)},get createLeftShift(){return p(48)},get createRightShift(){return p(49)},get createUnsignedRightShift(){return p(50)},get createAdd(){return p(40)},get createSubtract(){return p(41)},get createMultiply(){return p(42)},get createDivide(){return p(44)},get createModulo(){return p(45)},get createExponent(){return p(43)},get createPrefixPlus(){return E(40)},get createPrefixMinus(){return E(41)},get createPrefixIncrement(){return E(46)},get createPrefixDecrement(){return E(47)},get createBitwiseNot(){return E(55)},get createLogicalNot(){return E(54)},get createPostfixIncrement(){return v(46)},get createPostfixDecrement(){return v(47)},createImmediatelyInvokedFunctionExpression:E_,createImmediatelyInvokedArrowFunction:M5,createVoidZero:C3,createExportDefault:Uw,createExternalModuleExport:j9,createTypeCheck:ZK,createIsNotTypeCheck:hz,createMethodCall:__,createGlobalMethodCall:xC,createFunctionBindCall:pD,createFunctionCallCall:qw,createFunctionApplyCall:D_,createArraySliceCall:mte,createArrayConcatCall:CE,createObjectDefinePropertyCall:dF,createObjectGetOwnPropertyDescriptorCall:YK,createReflectGetCall:he,createReflectSetCall:Re,createPropertyDescriptor:Nt,createCallBinding:gr,createAssignmentTargetWrapper:fa,inlineExpressions:_0,getInternalName:Ws,getLocalName:v4,getExportName:qp,getDeclarationName:f6,getNamespaceMemberName:b3,getExternalModuleOrNamespaceExportName:Vd,restoreOuterExpressions:zu,restoreEnclosingLabel:Hr,createUseStrictPrologue:Zw,copyPrologue:gD,copyStandardPrologue:Yw,copyCustomPrologue:mz,ensureUseStrict:pte,liftToBlock:pz,mergeLexicalEnvironment:ED,replaceModifiers:gz,replaceDecoratorsAndModifiers:C4,replacePropertyName:Qw};return L(zke,N=>N(Y)),Y;function oe(N,W){if(N===void 0||N===_t)N=[];else if(g2(N)){if(W===void 0||N.hasTrailingComma===W)return N.transformFlags===void 0&&zYe(N),H.attachNodeArrayDebugInfo(N),N;const dt=N.slice();return dt.pos=N.pos,dt.end=N.end,dt.hasTrailingComma=W,dt.transformFlags=N.transformFlags,H.attachNodeArrayDebugInfo(dt),dt}const ee=N.length,ke=ee>=1&&ee<=4?N.slice():N;return ke.pos=-1,ke.end=-1,ke.hasTrailingComma=!!W,ke.transformFlags=0,zYe(ke),H.attachNodeArrayDebugInfo(ke),ke}function se(N){return u.createBaseNode(N)}function ge(N){const W=se(N);return W.symbol=void 0,W.localSymbol=void 0,W}function ae(N,W){return N!==W&&(N.typeArguments=W.typeArguments),s(N,W)}function Ce(N,W=0){const ee=ge(9);return ee.text=typeof N=="number"?N+"":N,ee.numericLiteralFlags=W,W&384&&(ee.transformFlags|=1024),ee}function ne(N){const W=Yt(10);return W.text=typeof N=="string"?N:I2(N)+"n",W.transformFlags|=32,W}function ve(N,W){const ee=ge(11);return ee.text=N,ee.singleQuote=W,ee}function Se(N,W,ee){const ke=ve(N,W);return ke.hasExtendedUnicodeEscape=ee,ee&&(ke.transformFlags|=1024),ke}function Ne(N){const W=ve(J4(N),void 0);return W.textSourceNode=N,W}function pe(N){const W=Yt(14);return W.text=N,W}function fe(N,W){switch(N){case 9:return Ce(W,0);case 10:return ne(W);case 11:return Se(W,void 0);case 12:return L5(W,!1);case 13:return L5(W,!0);case 14:return pe(W);case 15:return fd(N,W,void 0,0)}}function xe(N){const W=u.createBaseIdentifierNode(80);return W.escapedText=N,W.jsDoc=void 0,W.flowNode=void 0,W.symbol=void 0,W}function Be(N,W,ee,ke){const dt=xe(Al(N));return xV(dt,{flags:W,id:kZ,prefix:ee,suffix:ke}),kZ++,dt}function Ge(N,W,ee){W===void 0&&N&&(W=f2(N)),W===80&&(W=void 0);const ke=xe(Al(N));return ee&&(ke.flags|=256),ke.escapedText==="await"&&(ke.transformFlags|=67108864),ke.flags&256&&(ke.transformFlags|=1024),ke}function Ae(N,W,ee,ke){let dt=1;W&&(dt|=8);const Bi=Be("",dt,ee,ke);return N&&N(Bi),Bi}function De(N){let W=2;return N&&(W|=8),Be("",W,void 0,void 0)}function Ke(N,W=0,ee,ke){return H.assert(!(W&7),"Argument out of range: flags"),H.assert((W&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),Be(N,3|W,ee,ke)}function Je(N,W=0,ee,ke){H.assert(!(W&7),"Argument out of range: flags");const dt=N?J_(N)?jv(!1,ee,N,ke,fu):`generated@${$s(N)}`:"";(ee||ke)&&(W|=16);const Bi=Be(dt,4|W,ee,ke);return Bi.original=N,Bi}function ft(N){const W=u.createBasePrivateIdentifierNode(81);return W.escapedText=N,W.transformFlags|=16777216,W}function Ye(N){return Pa(N,"#")||H.fail("First character of private identifier must be #: "+N),ft(Al(N))}function Ve(N,W,ee,ke){const dt=ft(Al(N));return xV(dt,{flags:W,id:kZ,prefix:ee,suffix:ke}),kZ++,dt}function We(N,W,ee){N&&!Pa(N,"#")&&H.fail("First character of private identifier must be #: "+N);const ke=8|(N?3:1);return Ve(N??"",ke,W,ee)}function Gt(N,W,ee){const ke=J_(N)?jv(!0,W,N,ee,fu):`#generated@${$s(N)}`,Bi=Ve(ke,4|(W||ee?16:0),W,ee);return Bi.original=N,Bi}function Yt(N){return u.createBaseTokenNode(N)}function Ie(N){H.assert(N>=0&&N<=165,"Invalid token"),H.assert(N<=15||N>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),H.assert(N<=9||N>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),H.assert(N!==80,"Invalid token. Use 'createIdentifier' to create identifiers");const W=Yt(N);let ee=0;switch(N){case 134:ee=384;break;case 160:ee=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:ee=1;break;case 108:ee=134218752,W.flowNode=void 0;break;case 126:ee=1024;break;case 129:ee=16777216;break;case 110:ee=16384,W.flowNode=void 0;break}return ee&&(W.transformFlags|=ee),W}function st(){return Ie(108)}function St(){return Ie(110)}function It(){return Ie(106)}function ei(){return Ie(112)}function ht(){return Ie(97)}function Ut(N){return Ie(N)}function Ni(N){const W=[];return N&32&&W.push(Ut(95)),N&128&&W.push(Ut(138)),N&2048&&W.push(Ut(90)),N&4096&&W.push(Ut(87)),N&1&&W.push(Ut(125)),N&2&&W.push(Ut(123)),N&4&&W.push(Ut(124)),N&64&&W.push(Ut(128)),N&256&&W.push(Ut(126)),N&16&&W.push(Ut(164)),N&8&&W.push(Ut(148)),N&512&&W.push(Ut(129)),N&1024&&W.push(Ut(134)),N&8192&&W.push(Ut(103)),N&16384&&W.push(Ut(147)),W.length?W:void 0}function ji(N,W){const ee=se(166);return ee.left=N,ee.right=Mc(W),ee.transformFlags|=ou(ee.left)|pV(ee.right),ee.flowNode=void 0,ee}function xn(N,W,ee){return N.left!==W||N.right!==ee?s(ji(W,ee),N):N}function Jn(N){const W=se(167);return W.expression=d().parenthesizeExpressionOfComputedPropertyName(N),W.transformFlags|=ou(W.expression)|1024|131072,W}function an(N,W){return N.expression!==W?s(Jn(W),N):N}function Pi(N,W,ee,ke){const dt=ge(168);return dt.modifiers=Ms(N),dt.name=Mc(W),dt.constraint=ee,dt.default=ke,dt.transformFlags=1,dt.expression=void 0,dt.jsDoc=void 0,dt}function Ai(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.constraint!==ke||N.default!==dt?s(Pi(W,ee,ke,dt),N):N}function Zu(N,W,ee,ke,dt,Bi){const au=ge(169);return au.modifiers=Ms(N),au.dotDotDotToken=W,au.name=Mc(ee),au.questionToken=ke,au.type=dt,au.initializer=hF(Bi),N2(au.name)?au.transformFlags=1:au.transformFlags=Fs(au.modifiers)|ou(au.dotDotDotToken)|Kx(au.name)|ou(au.questionToken)|ou(au.initializer)|(au.questionToken??au.type?1:0)|(au.dotDotDotToken??au.initializer?1024:0)|(tE(au.modifiers)&31?8192:0),au.jsDoc=void 0,au}function aa(N,W,ee,ke,dt,Bi,au){return N.modifiers!==W||N.dotDotDotToken!==ee||N.name!==ke||N.questionToken!==dt||N.type!==Bi||N.initializer!==au?s(Zu(W,ee,ke,dt,Bi,au),N):N}function yr(N){const W=se(170);return W.expression=d().parenthesizeLeftSideOfAccess(N,!1),W.transformFlags|=ou(W.expression)|1|8192|33554432,W}function Ba(N,W){return N.expression!==W?s(yr(W),N):N}function bt(N,W,ee,ke){const dt=ge(171);return dt.modifiers=Ms(N),dt.name=Mc(W),dt.type=ke,dt.questionToken=ee,dt.transformFlags=1,dt.initializer=void 0,dt.jsDoc=void 0,dt}function jn(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.questionToken!==ke||N.type!==dt?Ln(bt(W,ee,ke,dt),N):N}function Ln(N,W){return N!==W&&(N.initializer=W.initializer),s(N,W)}function Si(N,W,ee,ke,dt){const Bi=ge(172);Bi.modifiers=Ms(N),Bi.name=Mc(W),Bi.questionToken=ee&&Wx(ee)?ee:void 0,Bi.exclamationToken=ee&&kV(ee)?ee:void 0,Bi.type=ke,Bi.initializer=hF(dt);const au=Bi.flags&33554432||tE(Bi.modifiers)&128;return Bi.transformFlags=Fs(Bi.modifiers)|Kx(Bi.name)|ou(Bi.initializer)|(au||Bi.questionToken||Bi.exclamationToken||Bi.type?1:0)|(Ps(Bi.name)||tE(Bi.modifiers)&256&&Bi.initializer?8192:0)|16777216,Bi.jsDoc=void 0,Bi}function Dn(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.name!==ee||N.questionToken!==(ke!==void 0&&Wx(ke)?ke:void 0)||N.exclamationToken!==(ke!==void 0&&kV(ke)?ke:void 0)||N.type!==dt||N.initializer!==Bi?s(Si(W,ee,ke,dt,Bi),N):N}function Cn(N,W,ee,ke,dt,Bi){const au=ge(173);return au.modifiers=Ms(N),au.name=Mc(W),au.questionToken=ee,au.typeParameters=Ms(ke),au.parameters=Ms(dt),au.type=Bi,au.transformFlags=1,au.jsDoc=void 0,au.locals=void 0,au.nextContainer=void 0,au.typeArguments=void 0,au}function tu(N,W,ee,ke,dt,Bi,au){return N.modifiers!==W||N.name!==ee||N.questionToken!==ke||N.typeParameters!==dt||N.parameters!==Bi||N.type!==au?ae(Cn(W,ee,ke,dt,Bi,au),N):N}function oa(N,W,ee,ke,dt,Bi,au,za){const i0=ge(174);if(i0.modifiers=Ms(N),i0.asteriskToken=W,i0.name=Mc(ee),i0.questionToken=ke,i0.exclamationToken=void 0,i0.typeParameters=Ms(dt),i0.parameters=oe(Bi),i0.type=au,i0.body=za,!i0.body)i0.transformFlags=1;else{const Qm=tE(i0.modifiers)&1024,p6=!!i0.asteriskToken,g6=Qm&&p6;i0.transformFlags=Fs(i0.modifiers)|ou(i0.asteriskToken)|Kx(i0.name)|ou(i0.questionToken)|Fs(i0.typeParameters)|Fs(i0.parameters)|ou(i0.type)|ou(i0.body)&-67108865|(g6?128:Qm?256:p6?2048:0)|(i0.questionToken||i0.typeParameters||i0.type?1:0)|1024}return i0.typeArguments=void 0,i0.jsDoc=void 0,i0.locals=void 0,i0.nextContainer=void 0,i0.flowNode=void 0,i0.endFlowNode=void 0,i0.returnFlowNode=void 0,i0}function Da(N,W,ee,ke,dt,Bi,au,za,i0){return N.modifiers!==W||N.asteriskToken!==ee||N.name!==ke||N.questionToken!==dt||N.typeParameters!==Bi||N.parameters!==au||N.type!==za||N.body!==i0?ua(oa(W,ee,ke,dt,Bi,au,za,i0),N):N}function ua(N,W){return N!==W&&(N.exclamationToken=W.exclamationToken),s(N,W)}function Ta(N){const W=ge(175);return W.body=N,W.transformFlags=ou(N)|16777216,W.modifiers=void 0,W.jsDoc=void 0,W.locals=void 0,W.nextContainer=void 0,W.endFlowNode=void 0,W.returnFlowNode=void 0,W}function Yo(N,W){return N.body!==W?bo(Ta(W),N):N}function bo(N,W){return N!==W&&(N.modifiers=W.modifiers),s(N,W)}function Qe(N,W,ee){const ke=ge(176);return ke.modifiers=Ms(N),ke.parameters=oe(W),ke.body=ee,ke.transformFlags=Fs(ke.modifiers)|Fs(ke.parameters)|ou(ke.body)&-67108865|1024,ke.typeParameters=void 0,ke.type=void 0,ke.typeArguments=void 0,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.endFlowNode=void 0,ke.returnFlowNode=void 0,ke}function Et(N,W,ee,ke){return N.modifiers!==W||N.parameters!==ee||N.body!==ke?Mt(Qe(W,ee,ke),N):N}function Mt(N,W){return N!==W&&(N.typeParameters=W.typeParameters,N.type=W.type),ae(N,W)}function qt(N,W,ee,ke,dt){const Bi=ge(177);return Bi.modifiers=Ms(N),Bi.name=Mc(W),Bi.parameters=oe(ee),Bi.type=ke,Bi.body=dt,Bi.body?Bi.transformFlags=Fs(Bi.modifiers)|Kx(Bi.name)|Fs(Bi.parameters)|ou(Bi.type)|ou(Bi.body)&-67108865|(Bi.type?1:0):Bi.transformFlags=1,Bi.typeArguments=void 0,Bi.typeParameters=void 0,Bi.jsDoc=void 0,Bi.locals=void 0,Bi.nextContainer=void 0,Bi.flowNode=void 0,Bi.endFlowNode=void 0,Bi.returnFlowNode=void 0,Bi}function Xt(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.name!==ee||N.parameters!==ke||N.type!==dt||N.body!==Bi?Pe(qt(W,ee,ke,dt,Bi),N):N}function Pe(N,W){return N!==W&&(N.typeParameters=W.typeParameters),ae(N,W)}function et(N,W,ee,ke){const dt=ge(178);return dt.modifiers=Ms(N),dt.name=Mc(W),dt.parameters=oe(ee),dt.body=ke,dt.body?dt.transformFlags=Fs(dt.modifiers)|Kx(dt.name)|Fs(dt.parameters)|ou(dt.body)&-67108865|(dt.type?1:0):dt.transformFlags=1,dt.typeArguments=void 0,dt.typeParameters=void 0,dt.type=void 0,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.flowNode=void 0,dt.endFlowNode=void 0,dt.returnFlowNode=void 0,dt}function gt(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.parameters!==ke||N.body!==dt?ii(et(W,ee,ke,dt),N):N}function ii(N,W){return N!==W&&(N.typeParameters=W.typeParameters,N.type=W.type),ae(N,W)}function me(N,W,ee){const ke=ge(179);return ke.typeParameters=Ms(N),ke.parameters=Ms(W),ke.type=ee,ke.transformFlags=1,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function ni(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?ae(me(W,ee,ke),N):N}function vi(N,W,ee){const ke=ge(180);return ke.typeParameters=Ms(N),ke.parameters=Ms(W),ke.type=ee,ke.transformFlags=1,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function mt(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?ae(vi(W,ee,ke),N):N}function Ot(N,W,ee){const ke=ge(181);return ke.modifiers=Ms(N),ke.parameters=Ms(W),ke.type=ee,ke.transformFlags=1,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function Ei(N,W,ee,ke){return N.parameters!==ee||N.type!==ke||N.modifiers!==W?ae(Ot(W,ee,ke),N):N}function $i(N,W){const ee=se(204);return ee.type=N,ee.literal=W,ee.transformFlags=1,ee}function Qi(N,W,ee){return N.type!==W||N.literal!==ee?s($i(W,ee),N):N}function on(N){return Ie(N)}function le(N,W,ee){const ke=se(182);return ke.assertsModifier=N,ke.parameterName=Mc(W),ke.type=ee,ke.transformFlags=1,ke}function te(N,W,ee,ke){return N.assertsModifier!==W||N.parameterName!==ee||N.type!==ke?s(le(W,ee,ke),N):N}function we(N,W){const ee=se(183);return ee.typeName=Mc(N),ee.typeArguments=W&&d().parenthesizeTypeArguments(oe(W)),ee.transformFlags=1,ee}function de(N,W,ee){return N.typeName!==W||N.typeArguments!==ee?s(we(W,ee),N):N}function je(N,W,ee){const ke=ge(184);return ke.typeParameters=Ms(N),ke.parameters=Ms(W),ke.type=ee,ke.transformFlags=1,ke.modifiers=void 0,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function X(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?it(je(W,ee,ke),N):N}function it(N,W){return N!==W&&(N.modifiers=W.modifiers),ae(N,W)}function Ct(...N){return N.length===4?ct(...N):N.length===3?Qt(...N):H.fail("Incorrect number of arguments specified.")}function ct(N,W,ee,ke){const dt=ge(185);return dt.modifiers=Ms(N),dt.typeParameters=Ms(W),dt.parameters=Ms(ee),dt.type=ke,dt.transformFlags=1,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.typeArguments=void 0,dt}function Qt(N,W,ee){return ct(void 0,N,W,ee)}function Li(...N){return N.length===5?Ui(...N):N.length===4?Sn(...N):H.fail("Incorrect number of arguments specified.")}function Ui(N,W,ee,ke,dt){return N.modifiers!==W||N.typeParameters!==ee||N.parameters!==ke||N.type!==dt?ae(Ct(W,ee,ke,dt),N):N}function Sn(N,W,ee,ke){return Ui(N,N.modifiers,W,ee,ke)}function du(N,W){const ee=se(186);return ee.exprName=N,ee.typeArguments=W&&d().parenthesizeTypeArguments(W),ee.transformFlags=1,ee}function Ru(N,W,ee){return N.exprName!==W||N.typeArguments!==ee?s(du(W,ee),N):N}function pr(N){const W=ge(187);return W.members=oe(N),W.transformFlags=1,W}function Xu(N,W){return N.members!==W?s(pr(W),N):N}function ca(N){const W=se(188);return W.elementType=d().parenthesizeNonArrayTypeOfPostfixType(N),W.transformFlags=1,W}function Ku(N,W){return N.elementType!==W?s(ca(W),N):N}function ja(N){const W=se(189);return W.elements=oe(d().parenthesizeElementTypesOfTupleType(N)),W.transformFlags=1,W}function wn(N,W){return N.elements!==W?s(ja(W),N):N}function Ir(N,W,ee,ke){const dt=ge(202);return dt.dotDotDotToken=N,dt.name=W,dt.questionToken=ee,dt.type=ke,dt.transformFlags=1,dt.jsDoc=void 0,dt}function as(N,W,ee,ke,dt){return N.dotDotDotToken!==W||N.name!==ee||N.questionToken!==ke||N.type!==dt?s(Ir(W,ee,ke,dt),N):N}function wo(N){const W=se(190);return W.type=d().parenthesizeTypeOfOptionalType(N),W.transformFlags=1,W}function Fn(N,W){return N.type!==W?s(wo(W),N):N}function vc(N){const W=se(191);return W.type=N,W.transformFlags=1,W}function Ya(N,W){return N.type!==W?s(vc(W),N):N}function c0(N,W,ee){const ke=se(N);return ke.types=Y.createNodeArray(ee(W)),ke.transformFlags=1,ke}function Ul(N,W,ee){return N.types!==W?s(c0(N.kind,W,ee),N):N}function wl(N){return c0(192,N,d().parenthesizeConstituentTypesOfUnionType)}function hd(N,W){return Ul(N,W,d().parenthesizeConstituentTypesOfUnionType)}function vl(N){return c0(193,N,d().parenthesizeConstituentTypesOfIntersectionType)}function co(N,W){return Ul(N,W,d().parenthesizeConstituentTypesOfIntersectionType)}function Ho(N,W,ee,ke){const dt=se(194);return dt.checkType=d().parenthesizeCheckTypeOfConditionalType(N),dt.extendsType=d().parenthesizeExtendsTypeOfConditionalType(W),dt.trueType=ee,dt.falseType=ke,dt.transformFlags=1,dt.locals=void 0,dt.nextContainer=void 0,dt}function id(N,W,ee,ke,dt){return N.checkType!==W||N.extendsType!==ee||N.trueType!==ke||N.falseType!==dt?s(Ho(W,ee,ke,dt),N):N}function Y0(N){const W=se(195);return W.typeParameter=N,W.transformFlags=1,W}function Ko(N,W){return N.typeParameter!==W?s(Y0(W),N):N}function Tc(N,W){const ee=se(203);return ee.head=N,ee.templateSpans=oe(W),ee.transformFlags=1,ee}function Jp(N,W,ee){return N.head!==W||N.templateSpans!==ee?s(Tc(W,ee),N):N}function Lc(N,W,ee,ke,dt=!1){const Bi=se(205);return Bi.argument=N,Bi.attributes=W,Bi.assertions&&Bi.assertions.assertClause&&Bi.attributes&&(Bi.assertions.assertClause=Bi.attributes),Bi.qualifier=ee,Bi.typeArguments=ke&&d().parenthesizeTypeArguments(ke),Bi.isTypeOf=dt,Bi.transformFlags=1,Bi}function Il(N,W,ee,ke,dt,Bi=N.isTypeOf){return N.argument!==W||N.attributes!==ee||N.qualifier!==ke||N.typeArguments!==dt||N.isTypeOf!==Bi?s(Lc(W,ee,ke,dt,Bi),N):N}function cl(N){const W=se(196);return W.type=N,W.transformFlags=1,W}function Ka(N,W){return N.type!==W?s(cl(W),N):N}function Ri(){const N=se(197);return N.transformFlags=1,N}function dl(N,W){const ee=se(198);return ee.operator=N,ee.type=N===148?d().parenthesizeOperandOfReadonlyTypeOperator(W):d().parenthesizeOperandOfTypeOperator(W),ee.transformFlags=1,ee}function Uc(N,W){return N.type!==W?s(dl(N.operator,W),N):N}function Ch(N,W){const ee=se(199);return ee.objectType=d().parenthesizeNonArrayTypeOfPostfixType(N),ee.indexType=W,ee.transformFlags=1,ee}function sf(N,W,ee){return N.objectType!==W||N.indexType!==ee?s(Ch(W,ee),N):N}function Q0(N,W,ee,ke,dt,Bi){const au=ge(200);return au.readonlyToken=N,au.typeParameter=W,au.nameType=ee,au.questionToken=ke,au.type=dt,au.members=Bi&&oe(Bi),au.transformFlags=1,au.locals=void 0,au.nextContainer=void 0,au}function Cc(N,W,ee,ke,dt,Bi,au){return N.readonlyToken!==W||N.typeParameter!==ee||N.nameType!==ke||N.questionToken!==dt||N.type!==Bi||N.members!==au?s(Q0(W,ee,ke,dt,Bi,au),N):N}function $(N){const W=se(201);return W.literal=N,W.transformFlags=1,W}function tt(N,W){return N.literal!==W?s($(W),N):N}function vt(N){const W=se(206);return W.elements=oe(N),W.transformFlags|=Fs(W.elements)|1024|524288,W.transformFlags&32768&&(W.transformFlags|=65664),W}function mi(N,W){return N.elements!==W?s(vt(W),N):N}function fn(N){const W=se(207);return W.elements=oe(N),W.transformFlags|=Fs(W.elements)|1024|524288,W}function Wu(N,W){return N.elements!==W?s(fn(W),N):N}function uu(N,W,ee,ke){const dt=ge(208);return dt.dotDotDotToken=N,dt.propertyName=Mc(W),dt.name=Mc(ee),dt.initializer=hF(ke),dt.transformFlags|=ou(dt.dotDotDotToken)|Kx(dt.propertyName)|Kx(dt.name)|ou(dt.initializer)|(dt.dotDotDotToken?32768:0)|1024,dt.flowNode=void 0,dt}function Tu(N,W,ee,ke,dt){return N.propertyName!==ee||N.dotDotDotToken!==W||N.name!==ke||N.initializer!==dt?s(uu(W,ee,ke,dt),N):N}function Nr(N,W){const ee=se(209),ke=N&&qu(N),dt=oe(N,ke&&Fd(ke)?!0:void 0);return ee.elements=d().parenthesizeExpressionsOfCommaDelimitedList(dt),ee.multiLine=W,ee.transformFlags|=Fs(ee.elements),ee}function Vu(N,W){return N.elements!==W?s(Nr(W,N.multiLine),N):N}function Ss(N,W){const ee=ge(210);return ee.properties=oe(N),ee.multiLine=W,ee.transformFlags|=Fs(ee.properties),ee.jsDoc=void 0,ee}function ic(N,W){return N.properties!==W?s(Ss(W,N.multiLine),N):N}function nd(N,W,ee){const ke=ge(211);return ke.expression=N,ke.questionDotToken=W,ke.name=ee,ke.transformFlags=ou(ke.expression)|ou(ke.questionDotToken)|(at(ke.name)?pV(ke.name):ou(ke.name)|536870912),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function S0(N,W){const ee=nd(d().parenthesizeLeftSideOfAccess(N,!1),void 0,Mc(W));return HP(N)&&(ee.transformFlags|=384),ee}function ud(N,W,ee){return PU(N)?Bd(N,W,N.questionDotToken,Po(ee,at)):N.expression!==W||N.name!==ee?s(S0(W,ee),N):N}function m0(N,W,ee){const ke=nd(d().parenthesizeLeftSideOfAccess(N,!0),W,Mc(ee));return ke.flags|=64,ke.transformFlags|=32,ke}function Bd(N,W,ee,ke){return H.assert(!!(N.flags&64),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),N.expression!==W||N.questionDotToken!==ee||N.name!==ke?s(m0(W,ee,ke),N):N}function Oh(N,W,ee){const ke=ge(212);return ke.expression=N,ke.questionDotToken=W,ke.argumentExpression=ee,ke.transformFlags|=ou(ke.expression)|ou(ke.questionDotToken)|ou(ke.argumentExpression),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function uh(N,W){const ee=Oh(d().parenthesizeLeftSideOfAccess(N,!1),void 0,m6(W));return HP(N)&&(ee.transformFlags|=384),ee}function h4(N,W,ee){return Hse(N)?He(N,W,N.questionDotToken,ee):N.expression!==W||N.argumentExpression!==ee?s(uh(W,ee),N):N}function D1(N,W,ee){const ke=Oh(d().parenthesizeLeftSideOfAccess(N,!0),W,m6(ee));return ke.flags|=64,ke.transformFlags|=32,ke}function He(N,W,ee,ke){return H.assert(!!(N.flags&64),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),N.expression!==W||N.questionDotToken!==ee||N.argumentExpression!==ke?s(D1(W,ee,ke),N):N}function di(N,W,ee,ke){const dt=ge(213);return dt.expression=N,dt.questionDotToken=W,dt.typeArguments=ee,dt.arguments=ke,dt.transformFlags|=ou(dt.expression)|ou(dt.questionDotToken)|Fs(dt.typeArguments)|Fs(dt.arguments),dt.typeArguments&&(dt.transformFlags|=1),nf(dt.expression)&&(dt.transformFlags|=16384),dt}function Mn(N,W,ee){const ke=di(d().parenthesizeLeftSideOfAccess(N,!1),void 0,Ms(W),d().parenthesizeExpressionsOfCommaDelimitedList(oe(ee)));return KP(ke.expression)&&(ke.transformFlags|=8388608),ke}function ba(N,W,ee,ke){return $y(N)?To(N,W,N.questionDotToken,ee,ke):N.expression!==W||N.typeArguments!==ee||N.arguments!==ke?s(Mn(W,ee,ke),N):N}function Fo(N,W,ee,ke){const dt=di(d().parenthesizeLeftSideOfAccess(N,!0),W,Ms(ee),d().parenthesizeExpressionsOfCommaDelimitedList(oe(ke)));return dt.flags|=64,dt.transformFlags|=32,dt}function To(N,W,ee,ke,dt){return H.assert(!!(N.flags&64),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),N.expression!==W||N.questionDotToken!==ee||N.typeArguments!==ke||N.arguments!==dt?s(Fo(W,ee,ke,dt),N):N}function nc(N,W,ee){const ke=ge(214);return ke.expression=d().parenthesizeExpressionOfNew(N),ke.typeArguments=Ms(W),ke.arguments=ee?d().parenthesizeExpressionsOfCommaDelimitedList(ee):void 0,ke.transformFlags|=ou(ke.expression)|Fs(ke.typeArguments)|Fs(ke.arguments)|32,ke.typeArguments&&(ke.transformFlags|=1),ke}function fc(N,W,ee,ke){return N.expression!==W||N.typeArguments!==ee||N.arguments!==ke?s(nc(W,ee,ke),N):N}function Cl(N,W,ee){const ke=se(215);return ke.tag=d().parenthesizeLeftSideOfAccess(N,!1),ke.typeArguments=Ms(W),ke.template=ee,ke.transformFlags|=ou(ke.tag)|Fs(ke.typeArguments)|ou(ke.template)|1024,ke.typeArguments&&(ke.transformFlags|=1),Q0e(ke.template)&&(ke.transformFlags|=128),ke}function Tl(N,W,ee,ke){return N.tag!==W||N.typeArguments!==ee||N.template!==ke?s(Cl(W,ee,ke),N):N}function bc(N,W){const ee=se(216);return ee.expression=d().parenthesizeOperandOfPrefixUnary(W),ee.type=N,ee.transformFlags|=ou(ee.expression)|ou(ee.type)|1,ee}function ql(N,W,ee){return N.type!==W||N.expression!==ee?s(bc(W,ee),N):N}function Nc(N){const W=se(217);return W.expression=N,W.transformFlags=ou(W.expression),W.jsDoc=void 0,W}function ip(N,W){return N.expression!==W?s(Nc(W),N):N}function Jm(N,W,ee,ke,dt,Bi,au){const za=ge(218);za.modifiers=Ms(N),za.asteriskToken=W,za.name=Mc(ee),za.typeParameters=Ms(ke),za.parameters=oe(dt),za.type=Bi,za.body=au;const i0=tE(za.modifiers)&1024,Qm=!!za.asteriskToken,p6=i0&&Qm;return za.transformFlags=Fs(za.modifiers)|ou(za.asteriskToken)|Kx(za.name)|Fs(za.typeParameters)|Fs(za.parameters)|ou(za.type)|ou(za.body)&-67108865|(p6?128:i0?256:Qm?2048:0)|(za.typeParameters||za.type?1:0)|4194304,za.typeArguments=void 0,za.jsDoc=void 0,za.locals=void 0,za.nextContainer=void 0,za.flowNode=void 0,za.endFlowNode=void 0,za.returnFlowNode=void 0,za}function jh(N,W,ee,ke,dt,Bi,au,za){return N.name!==ke||N.modifiers!==W||N.asteriskToken!==ee||N.typeParameters!==dt||N.parameters!==Bi||N.type!==au||N.body!==za?ae(Jm(W,ee,ke,dt,Bi,au,za),N):N}function f4(N,W,ee,ke,dt,Bi){const au=ge(219);au.modifiers=Ms(N),au.typeParameters=Ms(W),au.parameters=oe(ee),au.type=ke,au.equalsGreaterThanToken=dt??Ie(39),au.body=d().parenthesizeConciseBodyOfArrowFunction(Bi);const za=tE(au.modifiers)&1024;return au.transformFlags=Fs(au.modifiers)|Fs(au.typeParameters)|Fs(au.parameters)|ou(au.type)|ou(au.equalsGreaterThanToken)|ou(au.body)&-67108865|(au.typeParameters||au.type?1:0)|(za?16640:0)|1024,au.typeArguments=void 0,au.jsDoc=void 0,au.locals=void 0,au.nextContainer=void 0,au.flowNode=void 0,au.endFlowNode=void 0,au.returnFlowNode=void 0,au}function c3(N,W,ee,ke,dt,Bi,au){return N.modifiers!==W||N.typeParameters!==ee||N.parameters!==ke||N.type!==dt||N.equalsGreaterThanToken!==Bi||N.body!==au?ae(f4(W,ee,ke,dt,Bi,au),N):N}function c_(N){const W=se(220);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression),W}function C5(N,W){return N.expression!==W?s(c_(W),N):N}function R1(N){const W=se(221);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression),W}function d3(N,W){return N.expression!==W?s(R1(W),N):N}function Wf(N){const W=se(222);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression),W}function m4(N,W){return N.expression!==W?s(Wf(W),N):N}function Vh(N){const W=se(223);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression)|256|128|2097152,W}function Ee(N,W){return N.expression!==W?s(Vh(W),N):N}function Bt(N,W){const ee=se(224);return ee.operator=N,ee.operand=d().parenthesizeOperandOfPrefixUnary(W),ee.transformFlags|=ou(ee.operand),(N===46||N===47)&&at(ee.operand)&&!al(ee.operand)&&!rD(ee.operand)&&(ee.transformFlags|=268435456),ee}function Di(N,W){return N.operand!==W?s(Bt(N.operator,W),N):N}function Ci(N,W){const ee=se(225);return ee.operator=W,ee.operand=d().parenthesizeOperandOfPostfixUnary(N),ee.transformFlags|=ou(ee.operand),at(ee.operand)&&!al(ee.operand)&&!rD(ee.operand)&&(ee.transformFlags|=268435456),ee}function Q(N,W){return N.operand!==W?s(Ci(W,N.operator),N):N}function Me(N,W,ee){const ke=ge(226),dt=gte(W),Bi=dt.kind;return ke.left=d().parenthesizeLeftSideOfBinary(Bi,N),ke.operatorToken=dt,ke.right=d().parenthesizeRightSideOfBinary(Bi,ke.left,ee),ke.transformFlags|=ou(ke.left)|ou(ke.operatorToken)|ou(ke.right),Bi===61?ke.transformFlags|=32:Bi===64?ys(ke.left)?ke.transformFlags|=5248|wt(ke.left):Dh(ke.left)&&(ke.transformFlags|=5120|wt(ke.left)):Bi===43||Bi===68?ke.transformFlags|=512:mP(Bi)&&(ke.transformFlags|=16),Bi===103&&Xr(ke.left)&&(ke.transformFlags|=536870912),ke.jsDoc=void 0,ke}function wt(N){return VV(N)?65536:0}function ki(N,W,ee,ke){return N.left!==W||N.operatorToken!==ee||N.right!==ke?s(Me(W,ee,ke),N):N}function In(N,W,ee,ke,dt){const Bi=se(227);return Bi.condition=d().parenthesizeConditionOfConditionalExpression(N),Bi.questionToken=W??Ie(58),Bi.whenTrue=d().parenthesizeBranchOfConditionalExpression(ee),Bi.colonToken=ke??Ie(59),Bi.whenFalse=d().parenthesizeBranchOfConditionalExpression(dt),Bi.transformFlags|=ou(Bi.condition)|ou(Bi.questionToken)|ou(Bi.whenTrue)|ou(Bi.colonToken)|ou(Bi.whenFalse),Bi}function tr(N,W,ee,ke,dt,Bi){return N.condition!==W||N.questionToken!==ee||N.whenTrue!==ke||N.colonToken!==dt||N.whenFalse!==Bi?s(In(W,ee,ke,dt,Bi),N):N}function ir(N,W){const ee=se(228);return ee.head=N,ee.templateSpans=oe(W),ee.transformFlags|=ou(ee.head)|Fs(ee.templateSpans)|1024,ee}function ha(N,W,ee){return N.head!==W||N.templateSpans!==ee?s(ir(W,ee),N):N}function os(N,W,ee,ke=0){H.assert(!(ke&-7177),"Unsupported template flags.");let dt;if(ee!==void 0&&ee!==W&&(dt=kLt(N,ee),typeof dt=="object"))return H.fail("Invalid raw text");if(W===void 0){if(dt===void 0)return H.fail("Arguments 'text' and 'rawText' may not both be undefined.");W=dt}else dt!==void 0&&H.assert(W===dt,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return W}function ss(N){let W=1024;return N&&(W|=128),W}function Rl(N,W,ee,ke){const dt=Yt(N);return dt.text=W,dt.rawText=ee,dt.templateFlags=ke&7176,dt.transformFlags=ss(dt.templateFlags),dt}function x1(N,W,ee,ke){const dt=ge(N);return dt.text=W,dt.rawText=ee,dt.templateFlags=ke&7176,dt.transformFlags=ss(dt.templateFlags),dt}function fd(N,W,ee,ke){return N===15?x1(N,W,ee,ke):Rl(N,W,ee,ke)}function $m(N,W,ee){return N=os(16,N,W,ee),fd(16,N,W,ee)}function _s(N,W,ee){return N=os(16,N,W,ee),fd(17,N,W,ee)}function np(N,W,ee){return N=os(16,N,W,ee),fd(18,N,W,ee)}function Um(N,W,ee){return N=os(16,N,W,ee),x1(15,N,W,ee)}function h3(N,W){H.assert(!N||!!W,"A `YieldExpression` with an asteriskToken must have an expression.");const ee=se(229);return ee.expression=W&&d().parenthesizeExpressionForDisallowedComma(W),ee.asteriskToken=N,ee.transformFlags|=ou(ee.expression)|ou(ee.asteriskToken)|1024|128|1048576,ee}function d_(N,W,ee){return N.expression!==ee||N.asteriskToken!==W?s(h3(W,ee),N):N}function ta(N){const W=se(230);return W.expression=d().parenthesizeExpressionForDisallowedComma(N),W.transformFlags|=ou(W.expression)|1024|32768,W}function Xx(N,W){return N.expression!==W?s(ta(W),N):N}function e6(N,W,ee,ke,dt){const Bi=ge(231);return Bi.modifiers=Ms(N),Bi.name=Mc(W),Bi.typeParameters=Ms(ee),Bi.heritageClauses=Ms(ke),Bi.members=oe(dt),Bi.transformFlags|=Fs(Bi.modifiers)|Kx(Bi.name)|Fs(Bi.typeParameters)|Fs(Bi.heritageClauses)|Fs(Bi.members)|(Bi.typeParameters?1:0)|1024,Bi.jsDoc=void 0,Bi}function bg(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.heritageClauses!==dt||N.members!==Bi?s(e6(W,ee,ke,dt,Bi),N):N}function sb(){return se(232)}function b5(N,W){const ee=se(233);return ee.expression=d().parenthesizeLeftSideOfAccess(N,!1),ee.typeArguments=W&&d().parenthesizeTypeArguments(W),ee.transformFlags|=ou(ee.expression)|Fs(ee.typeArguments)|1024,ee}function Xe(N,W,ee){return N.expression!==W||N.typeArguments!==ee?s(b5(W,ee),N):N}function Dt(N,W){const ee=se(234);return ee.expression=N,ee.type=W,ee.transformFlags|=ou(ee.expression)|ou(ee.type)|1,ee}function oi(N,W,ee){return N.expression!==W||N.type!==ee?s(Dt(W,ee),N):N}function Ti(N){const W=se(235);return W.expression=d().parenthesizeLeftSideOfAccess(N,!1),W.transformFlags|=ou(W.expression)|1,W}function Xi(N,W){return zU(N)?kr(N,W):N.expression!==W?s(Ti(W),N):N}function Rn(N,W){const ee=se(238);return ee.expression=N,ee.type=W,ee.transformFlags|=ou(ee.expression)|ou(ee.type)|1,ee}function tn(N,W,ee){return N.expression!==W||N.type!==ee?s(Rn(W,ee),N):N}function bn(N){const W=se(235);return W.flags|=64,W.expression=d().parenthesizeLeftSideOfAccess(N,!0),W.transformFlags|=ou(W.expression)|1,W}function kr(N,W){return H.assert(!!(N.flags&64),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),N.expression!==W?s(bn(W),N):N}function Cu(N,W){const ee=se(236);switch(ee.keywordToken=N,ee.name=W,ee.transformFlags|=ou(ee.name),N){case 105:ee.transformFlags|=1024;break;case 102:ee.transformFlags|=32;break;default:return H.assertNever(N)}return ee.flowNode=void 0,ee}function bu(N,W){return N.name!==W?s(Cu(N.keywordToken,W),N):N}function Eu(N,W){const ee=se(239);return ee.expression=N,ee.literal=W,ee.transformFlags|=ou(ee.expression)|ou(ee.literal)|1024,ee}function sa(N,W,ee){return N.expression!==W||N.literal!==ee?s(Eu(W,ee),N):N}function p0(){const N=se(240);return N.transformFlags|=1024,N}function o0(N,W){const ee=se(241);return ee.statements=oe(N),ee.multiLine=W,ee.transformFlags|=Fs(ee.statements),ee.jsDoc=void 0,ee.locals=void 0,ee.nextContainer=void 0,ee}function Gf(N,W){return N.statements!==W?s(o0(W,N.multiLine),N):N}function eC(N,W){const ee=se(243);return ee.modifiers=Ms(N),ee.declarationList=Ha(W)?nC(W):W,ee.transformFlags|=Fs(ee.modifiers)|ou(ee.declarationList),tE(ee.modifiers)&128&&(ee.transformFlags=1),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function t6(N,W,ee){return N.modifiers!==W||N.declarationList!==ee?s(eC(W,ee),N):N}function cD(){const N=se(242);return N.jsDoc=void 0,N}function i6(N){const W=se(244);return W.expression=d().parenthesizeExpressionOfExpressionStatement(N),W.transformFlags|=ou(W.expression),W.jsDoc=void 0,W.flowNode=void 0,W}function Gk(N,W){return N.expression!==W?s(i6(W),N):N}function lb(N,W,ee){const ke=se(245);return ke.expression=N,ke.thenStatement=x_(W),ke.elseStatement=x_(ee),ke.transformFlags|=ou(ke.expression)|ou(ke.thenStatement)|ou(ke.elseStatement),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function Jk(N,W,ee,ke){return N.expression!==W||N.thenStatement!==ee||N.elseStatement!==ke?s(lb(W,ee,ke),N):N}function $k(N,W){const ee=se(246);return ee.statement=x_(N),ee.expression=W,ee.transformFlags|=ou(ee.statement)|ou(ee.expression),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function az(N,W,ee){return N.statement!==W||N.expression!==ee?s($k(W,ee),N):N}function D9(N,W){const ee=se(247);return ee.expression=N,ee.statement=x_(W),ee.transformFlags|=ou(ee.expression)|ou(ee.statement),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function ww(N,W,ee){return N.expression!==W||N.statement!==ee?s(D9(W,ee),N):N}function tC(N,W,ee,ke){const dt=se(248);return dt.initializer=N,dt.condition=W,dt.incrementor=ee,dt.statement=x_(ke),dt.transformFlags|=ou(dt.initializer)|ou(dt.condition)|ou(dt.incrementor)|ou(dt.statement),dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.flowNode=void 0,dt}function x9(N,W,ee,ke,dt){return N.initializer!==W||N.condition!==ee||N.incrementor!==ke||N.statement!==dt?s(tC(W,ee,ke,dt),N):N}function v9(N,W,ee){const ke=se(249);return ke.initializer=N,ke.expression=W,ke.statement=x_(ee),ke.transformFlags|=ou(ke.initializer)|ou(ke.expression)|ou(ke.statement),ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.flowNode=void 0,ke}function Tw(N,W,ee,ke){return N.initializer!==W||N.expression!==ee||N.statement!==ke?s(v9(W,ee,ke),N):N}function Uk(N,W,ee,ke){const dt=se(250);return dt.awaitModifier=N,dt.initializer=W,dt.expression=d().parenthesizeExpressionForDisallowedComma(ee),dt.statement=x_(ke),dt.transformFlags|=ou(dt.awaitModifier)|ou(dt.initializer)|ou(dt.expression)|ou(dt.statement)|1024,N&&(dt.transformFlags|=128),dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.flowNode=void 0,dt}function Lw(N,W,ee,ke,dt){return N.awaitModifier!==W||N.initializer!==ee||N.expression!==ke||N.statement!==dt?s(Uk(W,ee,ke,dt),N):N}function C9(N){const W=se(251);return W.label=Mc(N),W.transformFlags|=ou(W.label)|4194304,W.jsDoc=void 0,W.flowNode=void 0,W}function b9(N,W){return N.label!==W?s(C9(W),N):N}function qk(N){const W=se(252);return W.label=Mc(N),W.transformFlags|=ou(W.label)|4194304,W.jsDoc=void 0,W.flowNode=void 0,W}function cb(N,W){return N.label!==W?s(qk(W),N):N}function db(N){const W=se(253);return W.expression=N,W.transformFlags|=ou(W.expression)|128|4194304,W.jsDoc=void 0,W.flowNode=void 0,W}function iC(N,W){return N.expression!==W?s(db(W),N):N}function y5(N,W){const ee=se(254);return ee.expression=N,ee.statement=x_(W),ee.transformFlags|=ou(ee.expression)|ou(ee.statement),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function hb(N,W,ee){return N.expression!==W||N.statement!==ee?s(y5(W,ee),N):N}function fE(N,W){const ee=se(255);return ee.expression=d().parenthesizeExpressionForDisallowedComma(N),ee.caseBlock=W,ee.transformFlags|=ou(ee.expression)|ou(ee.caseBlock),ee.jsDoc=void 0,ee.flowNode=void 0,ee.possiblyExhaustive=!1,ee}function Vs(N,W,ee){return N.expression!==W||N.caseBlock!==ee?s(fE(W,ee),N):N}function Zk(N,W){const ee=se(256);return ee.label=Mc(N),ee.statement=x_(W),ee.transformFlags|=ou(ee.label)|ou(ee.statement),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function Nw(N,W,ee){return N.label!==W||N.statement!==ee?s(Zk(W,ee),N):N}function n6(N){const W=se(257);return W.expression=N,W.transformFlags|=ou(W.expression),W.jsDoc=void 0,W.flowNode=void 0,W}function k5(N,W){return N.expression!==W?s(n6(W),N):N}function h_(N,W,ee){const ke=se(258);return ke.tryBlock=N,ke.catchClause=W,ke.finallyBlock=ee,ke.transformFlags|=ou(ke.tryBlock)|ou(ke.catchClause)|ou(ke.finallyBlock),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function p4(N,W,ee,ke){return N.tryBlock!==W||N.catchClause!==ee||N.finallyBlock!==ke?s(h_(W,ee,ke),N):N}function Jf(){const N=se(259);return N.jsDoc=void 0,N.flowNode=void 0,N}function Hh(N,W,ee,ke){const dt=ge(260);return dt.name=Mc(N),dt.exclamationToken=W,dt.type=ee,dt.initializer=hF(ke),dt.transformFlags|=Kx(dt.name)|ou(dt.initializer)|(dt.exclamationToken??dt.type?1:0),dt.jsDoc=void 0,dt}function Em(N,W,ee,ke,dt){return N.name!==W||N.type!==ke||N.exclamationToken!==ee||N.initializer!==dt?s(Hh(W,ee,ke,dt),N):N}function nC(N,W=0){const ee=se(261);return ee.flags|=W&7,ee.declarations=oe(N),ee.transformFlags|=Fs(ee.declarations)|4194304,W&7&&(ee.transformFlags|=263168),W&4&&(ee.transformFlags|=4),ee}function Pw(N,W){return N.declarations!==W?s(nC(W,N.flags),N):N}function y9(N,W,ee,ke,dt,Bi,au){const za=ge(262);if(za.modifiers=Ms(N),za.asteriskToken=W,za.name=Mc(ee),za.typeParameters=Ms(ke),za.parameters=oe(dt),za.type=Bi,za.body=au,!za.body||tE(za.modifiers)&128)za.transformFlags=1;else{const i0=tE(za.modifiers)&1024,Qm=!!za.asteriskToken,p6=i0&&Qm;za.transformFlags=Fs(za.modifiers)|ou(za.asteriskToken)|Kx(za.name)|Fs(za.typeParameters)|Fs(za.parameters)|ou(za.type)|ou(za.body)&-67108865|(p6?128:i0?256:Qm?2048:0)|(za.typeParameters||za.type?1:0)|4194304}return za.typeArguments=void 0,za.jsDoc=void 0,za.locals=void 0,za.nextContainer=void 0,za.endFlowNode=void 0,za.returnFlowNode=void 0,za}function Yk(N,W,ee,ke,dt,Bi,au,za){return N.modifiers!==W||N.asteriskToken!==ee||N.name!==ke||N.typeParameters!==dt||N.parameters!==Bi||N.type!==au||N.body!==za?fb(y9(W,ee,ke,dt,Bi,au,za),N):N}function fb(N,W){return N!==W&&N.modifiers===W.modifiers&&(N.modifiers=W.modifiers),ae(N,W)}function uC(N,W,ee,ke,dt){const Bi=ge(263);return Bi.modifiers=Ms(N),Bi.name=Mc(W),Bi.typeParameters=Ms(ee),Bi.heritageClauses=Ms(ke),Bi.members=oe(dt),tE(Bi.modifiers)&128?Bi.transformFlags=1:(Bi.transformFlags|=Fs(Bi.modifiers)|Kx(Bi.name)|Fs(Bi.typeParameters)|Fs(Bi.heritageClauses)|Fs(Bi.members)|(Bi.typeParameters?1:0)|1024,Bi.transformFlags&8192&&(Bi.transformFlags|=1)),Bi.jsDoc=void 0,Bi}function Qk(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.heritageClauses!==dt||N.members!==Bi?s(uC(W,ee,ke,dt,Bi),N):N}function rC(N,W,ee,ke,dt){const Bi=ge(264);return Bi.modifiers=Ms(N),Bi.name=Mc(W),Bi.typeParameters=Ms(ee),Bi.heritageClauses=Ms(ke),Bi.members=oe(dt),Bi.transformFlags=1,Bi.jsDoc=void 0,Bi}function jd(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.heritageClauses!==dt||N.members!==Bi?s(rC(W,ee,ke,dt,Bi),N):N}function F5(N,W,ee,ke){const dt=ge(265);return dt.modifiers=Ms(N),dt.name=Mc(W),dt.typeParameters=Ms(ee),dt.type=ke,dt.transformFlags=1,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt}function A5(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.type!==dt?s(F5(W,ee,ke,dt),N):N}function f3(N,W,ee){const ke=ge(266);return ke.modifiers=Ms(N),ke.name=Mc(W),ke.members=oe(ee),ke.transformFlags|=Fs(ke.modifiers)|ou(ke.name)|Fs(ke.members)|1,ke.transformFlags&=-67108865,ke.jsDoc=void 0,ke}function pt(N,W,ee,ke){return N.modifiers!==W||N.name!==ee||N.members!==ke?s(f3(W,ee,ke),N):N}function i1(N,W,ee,ke=0){const dt=ge(267);return dt.modifiers=Ms(N),dt.flags|=ke&2088,dt.name=W,dt.body=ee,tE(dt.modifiers)&128?dt.transformFlags=1:dt.transformFlags|=Fs(dt.modifiers)|ou(dt.name)|ou(dt.body)|1,dt.transformFlags&=-67108865,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt}function g4(N,W,ee,ke){return N.modifiers!==W||N.name!==ee||N.body!==ke?s(i1(W,ee,ke,N.flags),N):N}function bh(N){const W=se(268);return W.statements=oe(N),W.transformFlags|=Fs(W.statements),W.jsDoc=void 0,W}function Mw(N,W){return N.statements!==W?s(bh(W),N):N}function S5(N){const W=se(269);return W.clauses=oe(N),W.transformFlags|=Fs(W.clauses),W.locals=void 0,W.nextContainer=void 0,W}function aC(N,W){return N.clauses!==W?s(S5(W),N):N}function m3(N){const W=ge(270);return W.name=Mc(N),W.transformFlags|=pV(W.name)|1,W.modifiers=void 0,W.jsDoc=void 0,W}function oz(N,W){return N.name!==W?Hs(m3(W),N):N}function Hs(N,W){return N!==W&&(N.modifiers=W.modifiers),s(N,W)}function yg(N,W,ee,ke){const dt=ge(271);return dt.modifiers=Ms(N),dt.name=Mc(ee),dt.isTypeOnly=W,dt.moduleReference=ke,dt.transformFlags|=Fs(dt.modifiers)|pV(dt.name)|ou(dt.moduleReference),r_(dt.moduleReference)||(dt.transformFlags|=1),dt.transformFlags&=-67108865,dt.jsDoc=void 0,dt}function Xk(N,W,ee,ke,dt){return N.modifiers!==W||N.isTypeOnly!==ee||N.name!==ke||N.moduleReference!==dt?s(yg(W,ee,ke,dt),N):N}function eF(N,W,ee,ke){const dt=se(272);return dt.modifiers=Ms(N),dt.importClause=W,dt.moduleSpecifier=ee,dt.attributes=dt.assertClause=ke,dt.transformFlags|=ou(dt.importClause)|ou(dt.moduleSpecifier),dt.transformFlags&=-67108865,dt.jsDoc=void 0,dt}function mb(N,W,ee,ke,dt){return N.modifiers!==W||N.importClause!==ee||N.moduleSpecifier!==ke||N.attributes!==dt?s(eF(W,ee,ke,dt),N):N}function pb(N,W,ee){const ke=ge(273);return ke.isTypeOnly=N,ke.name=W,ke.namedBindings=ee,ke.transformFlags|=ou(ke.name)|ou(ke.namedBindings),N&&(ke.transformFlags|=1),ke.transformFlags&=-67108865,ke}function up(N,W,ee,ke){return N.isTypeOnly!==W||N.name!==ee||N.namedBindings!==ke?s(pb(W,ee,ke),N):N}function kg(N,W){const ee=se(300);return ee.elements=oe(N),ee.multiLine=W,ee.token=132,ee.transformFlags|=4,ee}function p3(N,W,ee){return N.elements!==W||N.multiLine!==ee?s(kg(W,ee),N):N}function tF(N,W){const ee=se(301);return ee.name=N,ee.value=W,ee.transformFlags|=4,ee}function mE(N,W,ee){return N.name!==W||N.value!==ee?s(tF(W,ee),N):N}function iF(N,W){const ee=se(302);return ee.assertClause=N,ee.multiLine=W,ee}function zw(N,W,ee){return N.assertClause!==W||N.multiLine!==ee?s(iF(W,ee),N):N}function Ur(N,W,ee){const ke=se(300);return ke.token=ee??118,ke.elements=oe(N),ke.multiLine=W,ke.transformFlags|=4,ke}function ar(N,W,ee){return N.elements!==W||N.multiLine!==ee?s(Ur(W,ee,N.token),N):N}function pE(N,W){const ee=se(301);return ee.name=N,ee.value=W,ee.transformFlags|=4,ee}function kf(N,W,ee){return N.name!==W||N.value!==ee?s(pE(W,ee),N):N}function Iw(N){const W=ge(274);return W.name=N,W.transformFlags|=ou(W.name),W.transformFlags&=-67108865,W}function B5(N,W){return N.name!==W?s(Iw(W),N):N}function Rw(N){const W=ge(280);return W.name=N,W.transformFlags|=ou(W.name)|32,W.transformFlags&=-67108865,W}function gb(N,W){return N.name!==W?s(Rw(W),N):N}function uc(N){const W=se(275);return W.elements=oe(N),W.transformFlags|=Fs(W.elements),W.transformFlags&=-67108865,W}function yh(N,W){return N.elements!==W?s(uc(W),N):N}function dD(N,W,ee){const ke=ge(276);return ke.isTypeOnly=N,ke.propertyName=W,ke.name=ee,ke.transformFlags|=ou(ke.propertyName)|ou(ke.name),ke.transformFlags&=-67108865,ke}function f_(N,W,ee,ke){return N.isTypeOnly!==W||N.propertyName!==ee||N.name!==ke?s(dD(W,ee,ke),N):N}function g3(N,W,ee){const ke=ge(277);return ke.modifiers=Ms(N),ke.isExportEquals=W,ke.expression=W?d().parenthesizeRightSideOfBinary(64,void 0,ee):d().parenthesizeExpressionOfExportDefault(ee),ke.transformFlags|=Fs(ke.modifiers)|ou(ke.expression),ke.transformFlags&=-67108865,ke.jsDoc=void 0,ke}function $p(N,W,ee){return N.modifiers!==W||N.expression!==ee?s(g3(W,N.isExportEquals,ee),N):N}function oC(N,W,ee,ke,dt){const Bi=ge(278);return Bi.modifiers=Ms(N),Bi.isTypeOnly=W,Bi.exportClause=ee,Bi.moduleSpecifier=ke,Bi.attributes=Bi.assertClause=dt,Bi.transformFlags|=Fs(Bi.modifiers)|ou(Bi.exportClause)|ou(Bi.moduleSpecifier),Bi.transformFlags&=-67108865,Bi.jsDoc=void 0,Bi}function E3(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.isTypeOnly!==ee||N.exportClause!==ke||N.moduleSpecifier!==dt||N.attributes!==Bi?Ow(oC(W,ee,ke,dt,Bi),N):N}function Ow(N,W){return N!==W&&N.modifiers===W.modifiers&&(N.modifiers=W.modifiers),s(N,W)}function m_(N){const W=se(279);return W.elements=oe(N),W.transformFlags|=Fs(W.elements),W.transformFlags&=-67108865,W}function jw(N,W){return N.elements!==W?s(m_(W),N):N}function gE(N,W,ee){const ke=se(281);return ke.isTypeOnly=N,ke.propertyName=Mc(W),ke.name=Mc(ee),ke.transformFlags|=ou(ke.propertyName)|ou(ke.name),ke.transformFlags&=-67108865,ke.jsDoc=void 0,ke}function p_(N,W,ee,ke){return N.isTypeOnly!==W||N.propertyName!==ee||N.name!==ke?s(gE(W,ee,ke),N):N}function w5(){const N=ge(282);return N.jsDoc=void 0,N}function Vw(N){const W=se(283);return W.expression=N,W.transformFlags|=ou(W.expression),W.transformFlags&=-67108865,W}function k9(N,W){return N.expression!==W?s(Vw(W),N):N}function sz(N){return se(N)}function F9(N,W,ee=!1){const ke=B0(N,ee?W&&d().parenthesizeNonArrayTypeOfPostfixType(W):W);return ke.postfix=ee,ke}function B0(N,W){const ee=se(N);return ee.type=W,ee}function Eb(N,W,ee){return W.type!==ee?s(F9(N,ee,W.postfix),W):W}function A9(N,W,ee){return W.type!==ee?s(B0(N,ee),W):W}function rp(N,W){const ee=ge(324);return ee.parameters=Ms(N),ee.type=W,ee.transformFlags=Fs(ee.parameters)|(ee.type?1:0),ee.jsDoc=void 0,ee.locals=void 0,ee.nextContainer=void 0,ee.typeArguments=void 0,ee}function sC(N,W,ee){return N.parameters!==W||N.type!==ee?s(rp(W,ee),N):N}function S9(N,W=!1){const ee=ge(329);return ee.jsDocPropertyTags=Ms(N),ee.isArrayType=W,ee}function lz(N,W,ee){return N.jsDocPropertyTags!==W||N.isArrayType!==ee?s(S9(W,ee),N):N}function nF(N){const W=se(316);return W.type=N,W}function ru(N,W){return N.type!==W?s(nF(W),N):N}function v1(N,W,ee){const ke=ge(330);return ke.typeParameters=Ms(N),ke.parameters=oe(W),ke.type=ee,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke}function Ma(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?s(v1(W,ee,ke),N):N}function lf(N){const W=ice(N.kind);return N.tagName.escapedText===Al(W)?N.tagName:Ge(W)}function EE(N,W,ee){const ke=se(N);return ke.tagName=W,ke.comment=ee,ke}function ap(N,W,ee){const ke=ge(N);return ke.tagName=W,ke.comment=ee,ke}function Un(N,W,ee,ke){const dt=EE(352,N??Ge("template"),ke);return dt.constraint=W,dt.typeParameters=oe(ee),dt}function _b(N,W=lf(N),ee,ke,dt){return N.tagName!==W||N.constraint!==ee||N.typeParameters!==ke||N.comment!==dt?s(Un(W,ee,ke,dt),N):N}function lC(N,W,ee,ke){const dt=ap(353,N??Ge("typedef"),ke);return dt.typeExpression=W,dt.fullName=ee,dt.name=Vce(ee),dt.locals=void 0,dt.nextContainer=void 0,dt}function wd(N,W=lf(N),ee,ke,dt){return N.tagName!==W||N.typeExpression!==ee||N.fullName!==ke||N.comment!==dt?s(lC(W,ee,ke,dt),N):N}function _E(N,W,ee,ke,dt,Bi){const au=ap(348,N??Ge("param"),Bi);return au.typeExpression=ke,au.name=W,au.isNameFirst=!!dt,au.isBracketed=ee,au}function DE(N,W=lf(N),ee,ke,dt,Bi,au){return N.tagName!==W||N.name!==ee||N.isBracketed!==ke||N.typeExpression!==dt||N.isNameFirst!==Bi||N.comment!==au?s(_E(W,ee,ke,dt,Bi,au),N):N}function u6(N,W,ee,ke,dt,Bi){const au=ap(355,N??Ge("prop"),Bi);return au.typeExpression=ke,au.name=W,au.isNameFirst=!!dt,au.isBracketed=ee,au}function B9(N,W=lf(N),ee,ke,dt,Bi,au){return N.tagName!==W||N.name!==ee||N.isBracketed!==ke||N.typeExpression!==dt||N.isNameFirst!==Bi||N.comment!==au?s(u6(W,ee,ke,dt,Bi,au),N):N}function hD(N,W,ee,ke){const dt=ap(345,N??Ge("callback"),ke);return dt.typeExpression=W,dt.fullName=ee,dt.name=Vce(ee),dt.locals=void 0,dt.nextContainer=void 0,dt}function cC(N,W=lf(N),ee,ke,dt){return N.tagName!==W||N.typeExpression!==ee||N.fullName!==ke||N.comment!==dt?s(hD(W,ee,ke,dt),N):N}function dC(N,W,ee){const ke=EE(346,N??Ge("overload"),ee);return ke.typeExpression=W,ke}function _3(N,W=lf(N),ee,ke){return N.tagName!==W||N.typeExpression!==ee||N.comment!==ke?s(dC(W,ee,ke),N):N}function g_(N,W,ee){const ke=EE(335,N??Ge("augments"),ee);return ke.class=W,ke}function uF(N,W=lf(N),ee,ke){return N.tagName!==W||N.class!==ee||N.comment!==ke?s(g_(W,ee,ke),N):N}function fD(N,W,ee){const ke=EE(336,N??Ge("implements"),ee);return ke.class=W,ke}function r6(N,W,ee){const ke=EE(354,N??Ge("see"),ee);return ke.name=W,ke}function Db(N,W,ee,ke){return N.tagName!==W||N.name!==ee||N.comment!==ke?s(r6(W,ee,ke),N):N}function w9(N){const W=se(317);return W.name=N,W}function rF(N,W){return N.name!==W?s(w9(W),N):N}function xb(N,W){const ee=se(318);return ee.left=N,ee.right=W,ee.transformFlags|=ou(ee.left)|ou(ee.right),ee}function E4(N,W,ee){return N.left!==W||N.right!==ee?s(xb(W,ee),N):N}function hC(N,W){const ee=se(331);return ee.name=N,ee.text=W,ee}function yc(N,W,ee){return N.name!==W?s(hC(W,ee),N):N}function md(N,W){const ee=se(332);return ee.name=N,ee.text=W,ee}function T9(N,W,ee){return N.name!==W?s(md(W,ee),N):N}function O1(N,W){const ee=se(333);return ee.name=N,ee.text=W,ee}function Ff(N,W,ee){return N.name!==W?s(O1(W,ee),N):N}function vb(N,W=lf(N),ee,ke){return N.tagName!==W||N.class!==ee||N.comment!==ke?s(fD(W,ee,ke),N):N}function _4(N,W,ee){return EE(N,W??Ge(ice(N)),ee)}function fC(N,W,ee=lf(W),ke){return W.tagName!==ee||W.comment!==ke?s(_4(N,ee,ke),W):W}function T5(N,W,ee,ke){const dt=EE(N,W??Ge(ice(N)),ke);return dt.typeExpression=ee,dt}function n1(N,W,ee=lf(W),ke,dt){return W.tagName!==ee||W.typeExpression!==ke||W.comment!==dt?s(T5(N,ee,ke,dt),W):W}function aF(N,W){return EE(334,N,W)}function op(N,W,ee){return N.tagName!==W||N.comment!==ee?s(aF(W,ee),N):N}function a6(N,W,ee){const ke=ap(347,N??Ge(ice(347)),ee);return ke.typeExpression=W,ke.locals=void 0,ke.nextContainer=void 0,ke}function Hw(N,W=lf(N),ee,ke){return N.tagName!==W||N.typeExpression!==ee||N.comment!==ke?s(a6(W,ee,ke),N):N}function R0(N){const W=se(328);return W.text=N,W}function Kw(N,W){return N.text!==W?s(R0(W),N):N}function oF(N,W){const ee=se(327);return ee.comment=N,ee.tags=Ms(W),ee}function mC(N,W,ee){return N.comment!==W||N.tags!==ee?s(oF(W,ee),N):N}function L9(N,W,ee){const ke=se(284);return ke.openingElement=N,ke.children=oe(W),ke.closingElement=ee,ke.transformFlags|=ou(ke.openingElement)|Fs(ke.children)|ou(ke.closingElement)|2,ke}function Kh(N,W,ee,ke){return N.openingElement!==W||N.children!==ee||N.closingElement!==ke?s(L9(W,ee,ke),N):N}function D3(N,W,ee){const ke=se(285);return ke.tagName=N,ke.typeArguments=Ms(W),ke.attributes=ee,ke.transformFlags|=ou(ke.tagName)|Fs(ke.typeArguments)|ou(ke.attributes)|2,ke.typeArguments&&(ke.transformFlags|=1),ke}function mD(N,W,ee,ke){return N.tagName!==W||N.typeArguments!==ee||N.attributes!==ke?s(D3(W,ee,ke),N):N}function Cb(N,W,ee){const ke=se(286);return ke.tagName=N,ke.typeArguments=Ms(W),ke.attributes=ee,ke.transformFlags|=ou(ke.tagName)|Fs(ke.typeArguments)|ou(ke.attributes)|2,W&&(ke.transformFlags|=1),ke}function _m(N,W,ee,ke){return N.tagName!==W||N.typeArguments!==ee||N.attributes!==ke?s(Cb(W,ee,ke),N):N}function N9(N){const W=se(287);return W.tagName=N,W.transformFlags|=ou(W.tagName)|2,W}function o6(N,W){return N.tagName!==W?s(N9(W),N):N}function qm(N,W,ee){const ke=se(288);return ke.openingFragment=N,ke.children=oe(W),ke.closingFragment=ee,ke.transformFlags|=ou(ke.openingFragment)|Fs(ke.children)|ou(ke.closingFragment)|2,ke}function bb(N,W,ee,ke){return N.openingFragment!==W||N.children!==ee||N.closingFragment!==ke?s(qm(W,ee,ke),N):N}function L5(N,W){const ee=se(12);return ee.text=N,ee.containsOnlyTriviaWhiteSpaces=!!W,ee.transformFlags|=2,ee}function cz(N,W,ee){return N.text!==W||N.containsOnlyTriviaWhiteSpaces!==ee?s(L5(W,ee),N):N}function P9(){const N=se(289);return N.transformFlags|=2,N}function M9(){const N=se(290);return N.transformFlags|=2,N}function z9(N,W){const ee=ge(291);return ee.name=N,ee.initializer=W,ee.transformFlags|=ou(ee.name)|ou(ee.initializer)|2,ee}function pC(N,W,ee){return N.name!==W||N.initializer!==ee?s(z9(W,ee),N):N}function $f(N){const W=ge(292);return W.properties=oe(N),W.transformFlags|=Fs(W.properties)|2,W}function x3(N,W){return N.properties!==W?s($f(W),N):N}function I9(N){const W=se(293);return W.expression=N,W.transformFlags|=ou(W.expression)|2,W}function R9(N,W){return N.expression!==W?s(I9(W),N):N}function Ks(N,W){const ee=se(294);return ee.dotDotDotToken=N,ee.expression=W,ee.transformFlags|=ou(ee.dotDotDotToken)|ou(ee.expression)|2,ee}function _u(N,W){return N.expression!==W?s(Ks(N.dotDotDotToken,W),N):N}function Dm(N,W){const ee=se(295);return ee.namespace=N,ee.name=W,ee.transformFlags|=ou(ee.namespace)|ou(ee.name)|2,ee}function cf(N,W,ee){return N.namespace!==W||N.name!==ee?s(Dm(W,ee),N):N}function yb(N,W){const ee=se(296);return ee.expression=d().parenthesizeExpressionForDisallowedComma(N),ee.statements=oe(W),ee.transformFlags|=ou(ee.expression)|Fs(ee.statements),ee.jsDoc=void 0,ee}function Ww(N,W,ee){return N.expression!==W||N.statements!==ee?s(yb(W,ee),N):N}function gC(N){const W=se(297);return W.statements=oe(N),W.transformFlags=Fs(W.statements),W}function kb(N,W){return N.statements!==W?s(gC(W),N):N}function s6(N,W){const ee=se(298);switch(ee.token=N,ee.types=oe(W),ee.transformFlags|=Fs(ee.types),N){case 96:ee.transformFlags|=1024;break;case 119:ee.transformFlags|=1;break;default:return H.assertNever(N)}return ee}function Zm(N,W){return N.types!==W?s(s6(N.token,W),N):N}function sp(N,W){const ee=se(299);return ee.variableDeclaration=V9(N),ee.block=W,ee.transformFlags|=ou(ee.variableDeclaration)|ou(ee.block)|(N?0:64),ee.locals=void 0,ee.nextContainer=void 0,ee}function l6(N,W,ee){return N.variableDeclaration!==W||N.block!==ee?s(sp(W,ee),N):N}function Up(N,W){const ee=ge(303);return ee.name=Mc(N),ee.initializer=d().parenthesizeExpressionForDisallowedComma(W),ee.transformFlags|=Kx(ee.name)|ou(ee.initializer),ee.modifiers=void 0,ee.questionToken=void 0,ee.exclamationToken=void 0,ee.jsDoc=void 0,ee}function lp(N,W,ee){return N.name!==W||N.initializer!==ee?N5(Up(W,ee),N):N}function N5(N,W){return N!==W&&(N.modifiers=W.modifiers,N.questionToken=W.questionToken,N.exclamationToken=W.exclamationToken),s(N,W)}function Fb(N,W){const ee=ge(304);return ee.name=Mc(N),ee.objectAssignmentInitializer=W&&d().parenthesizeExpressionForDisallowedComma(W),ee.transformFlags|=pV(ee.name)|ou(ee.objectAssignmentInitializer)|1024,ee.equalsToken=void 0,ee.modifiers=void 0,ee.questionToken=void 0,ee.exclamationToken=void 0,ee.jsDoc=void 0,ee}function Pc(N,W,ee){return N.name!==W||N.objectAssignmentInitializer!==ee?dz(Fb(W,ee),N):N}function dz(N,W){return N!==W&&(N.modifiers=W.modifiers,N.questionToken=W.questionToken,N.exclamationToken=W.exclamationToken,N.equalsToken=W.equalsToken),s(N,W)}function D4(N){const W=ge(305);return W.expression=d().parenthesizeExpressionForDisallowedComma(N),W.transformFlags|=ou(W.expression)|128|65536,W.jsDoc=void 0,W}function Gw(N,W){return N.expression!==W?s(D4(W),N):N}function j1(N,W){const ee=ge(306);return ee.name=Mc(N),ee.initializer=W&&d().parenthesizeExpressionForDisallowedComma(W),ee.transformFlags|=ou(ee.name)|ou(ee.initializer)|1,ee.jsDoc=void 0,ee}function EC(N,W,ee){return N.name!==W||N.initializer!==ee?s(j1(W,ee),N):N}function Ab(N,W,ee){const ke=u.createBaseSourceFileNode(312);return ke.statements=oe(N),ke.endOfFileToken=W,ke.flags|=ee,ke.text="",ke.fileName="",ke.path="",ke.resolvedPath="",ke.originalFileName="",ke.languageVersion=0,ke.languageVariant=0,ke.scriptKind=0,ke.isDeclarationFile=!1,ke.hasNoDefaultLib=!1,ke.transformFlags|=Fs(ke.statements)|ou(ke.endOfFileToken),ke.locals=void 0,ke.nextContainer=void 0,ke.endFlowNode=void 0,ke.nodeCount=0,ke.identifierCount=0,ke.symbolCount=0,ke.parseDiagnostics=void 0,ke.bindDiagnostics=void 0,ke.bindSuggestionDiagnostics=void 0,ke.lineMap=void 0,ke.externalModuleIndicator=void 0,ke.setExternalModuleIndicator=void 0,ke.pragmas=void 0,ke.checkJsDirective=void 0,ke.referencedFiles=void 0,ke.typeReferenceDirectives=void 0,ke.libReferenceDirectives=void 0,ke.amdDependencies=void 0,ke.commentDirectives=void 0,ke.identifiers=void 0,ke.packageJsonLocations=void 0,ke.packageJsonScope=void 0,ke.imports=void 0,ke.moduleAugmentations=void 0,ke.ambientModuleNames=void 0,ke.classifiableNames=void 0,ke.impliedNodeFormat=void 0,ke}function sF(N){const W=Object.create(N.redirectTarget);return Object.defineProperties(W,{id:{get(){return this.redirectInfo.redirectTarget.id},set(ee){this.redirectInfo.redirectTarget.id=ee}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(ee){this.redirectInfo.redirectTarget.symbol=ee}}}),W.redirectInfo=N,W}function Jw(N){const W=sF(N.redirectInfo);return W.flags|=N.flags&-17,W.fileName=N.fileName,W.path=N.path,W.resolvedPath=N.resolvedPath,W.originalFileName=N.originalFileName,W.packageJsonLocations=N.packageJsonLocations,W.packageJsonScope=N.packageJsonScope,W.emitNode=void 0,W}function x4(N){const W=u.createBaseSourceFileNode(312);W.flags|=N.flags&-17;for(const ee in N)if(!(gu(W,ee)||!gu(N,ee))){if(ee==="emitNode"){W.emitNode=void 0;continue}W[ee]=N[ee]}return W}function Ol(N){const W=N.redirectInfo?Jw(N):x4(N);return su(W,N),W}function xE(N,W,ee,ke,dt,Bi,au){const za=Ol(N);return za.statements=oe(W),za.isDeclarationFile=ee,za.referencedFiles=ke,za.typeReferenceDirectives=dt,za.hasNoDefaultLib=Bi,za.libReferenceDirectives=au,za.transformFlags=Fs(za.statements)|ou(za.endOfFileToken),za}function c6(N,W,ee=N.isDeclarationFile,ke=N.referencedFiles,dt=N.typeReferenceDirectives,Bi=N.hasNoDefaultLib,au=N.libReferenceDirectives){return N.statements!==W||N.isDeclarationFile!==ee||N.referencedFiles!==ke||N.typeReferenceDirectives!==dt||N.hasNoDefaultLib!==Bi||N.libReferenceDirectives!==au?s(xE(N,W,ee,ke,dt,Bi,au),N):N}function v3(N,W=_t){const ee=se(313);return ee.prepends=W,ee.sourceFiles=N,ee.syntheticFileReferences=void 0,ee.syntheticTypeReferences=void 0,ee.syntheticLibReferences=void 0,ee.hasNoDefaultLib=void 0,ee}function _C(N,W,ee=_t){return N.sourceFiles!==W||N.prepends!==ee?s(v3(W,ee),N):N}function $w(N,W,ee){const ke=se(314);return ke.prologues=N,ke.syntheticReferences=W,ke.texts=ee,ke.fileName="",ke.text="",ke.referencedFiles=_t,ke.libReferenceDirectives=_t,ke.getLineAndCharacterOfPosition=dt=>s0(ke,dt),ke}function d6(N,W){const ee=se(N);return ee.data=W,ee}function R(N){return d6(307,N)}function be(N,W){const ee=d6(308,N);return ee.texts=W,ee}function Ht(N,W){return d6(W?310:309,N)}function Oi(N){const W=se(311);return W.data=N.data,W.section=N,W}function yu(){const N=se(315);return N.javascriptText="",N.declarationText="",N}function Jr(N,W=!1,ee){const ke=se(237);return ke.type=N,ke.isSpread=W,ke.tupleNameSource=ee,ke}function br(N){const W=se(358);return W._children=N,W}function Ea(N){const W=se(359);return W.original=N,Pt(W,N),W}function Ao(N,W){const ee=se(360);return ee.expression=N,ee.original=W,ee.transformFlags|=ou(ee.expression)|1,Pt(ee,W),ee}function Af(N,W){return N.expression!==W?s(Ao(W,N.original),N):N}function Uf(N){if(sl(N)&&!zN(N)&&!N.original&&!N.emitNode&&!N.id){if(UP(N))return N.elements;if(Xn(N)&&Zke(N.operatorToken))return[N.left,N.right]}return N}function Fr(N){const W=se(361);return W.elements=oe(z0(N,Uf)),W.transformFlags|=Fs(W.elements),W}function vE(N,W){return N.elements!==W?s(Fr(W),N):N}function gn(N,W){const ee=se(362);return ee.expression=N,ee.thisArg=W,ee.transformFlags|=ou(ee.expression)|ou(ee.thisArg),ee}function h6(N,W,ee){return N.expression!==W||N.thisArg!==ee?s(gn(W,ee),N):N}function P5(N){const W=xe(N.escapedText);return W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N),xV(W,{...N.emitNode.autoGenerate}),W}function lF(N){const W=xe(N.escapedText);W.flags|=N.flags&-17,W.jsDoc=N.jsDoc,W.flowNode=N.flowNode,W.symbol=N.symbol,W.transformFlags=N.transformFlags,su(W,N);const ee=gk(N);return ee&&l5(W,ee),W}function DC(N){const W=ft(N.escapedText);return W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N),xV(W,{...N.emitNode.autoGenerate}),W}function O9(N){const W=ft(N.escapedText);return W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N),W}function cF(N){if(N===void 0)return N;if(la(N))return Ol(N);if(al(N))return P5(N);if(at(N))return lF(N);if(Uy(N))return DC(N);if(Xr(N))return O9(N);const W=GO(N.kind)?u.createBaseNode(N.kind):u.createBaseTokenNode(N.kind);W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N);for(const ee in N)gu(W,ee)||!gu(N,ee)||(W[ee]=N[ee]);return W}function E_(N,W,ee){return Mn(Jm(void 0,void 0,void 0,void 0,W?[W]:[],void 0,o0(N,!0)),void 0,ee?[ee]:[])}function M5(N,W,ee){return Mn(f4(void 0,void 0,W?[W]:[],void 0,void 0,o0(N,!0)),void 0,ee?[ee]:[])}function C3(){return Wf(Ce("0"))}function Uw(N){return g3(void 0,!1,N)}function j9(N){return oC(void 0,!1,m_([gE(!1,void 0,N)]))}function ZK(N,W){return W==="null"?Y.createStrictEquality(N,It()):W==="undefined"?Y.createStrictEquality(N,C3()):Y.createStrictEquality(R1(N),Se(W))}function hz(N,W){return W==="null"?Y.createStrictInequality(N,It()):W==="undefined"?Y.createStrictInequality(N,C3()):Y.createStrictInequality(R1(N),Se(W))}function __(N,W,ee){return $y(N)?Fo(m0(N,void 0,W),void 0,void 0,ee):Mn(S0(N,W),void 0,ee)}function pD(N,W,ee){return __(N,"bind",[W,...ee])}function qw(N,W,ee){return __(N,"call",[W,...ee])}function D_(N,W,ee){return __(N,"apply",[W,ee])}function xC(N,W,ee){return __(Ge(N),W,ee)}function mte(N,W){return __(N,"slice",W===void 0?[]:[m6(W)])}function CE(N,W){return __(N,"concat",W)}function dF(N,W,ee){return xC("Object","defineProperty",[N,m6(W),ee])}function YK(N,W){return xC("Object","getOwnPropertyDescriptor",[N,m6(W)])}function he(N,W,ee){return xC("Reflect","get",ee?[N,W,ee]:[N,W])}function Re(N,W,ee,ke){return xC("Reflect","set",ke?[N,W,ee,ke]:[N,W,ee])}function nt(N,W,ee){return ee?(N.push(Up(W,ee)),!0):!1}function Nt(N,W){const ee=[];nt(ee,"enumerable",m6(N.enumerable)),nt(ee,"configurable",m6(N.configurable));let ke=nt(ee,"writable",m6(N.writable));ke=nt(ee,"value",N.value)||ke;let dt=nt(ee,"get",N.get);return dt=nt(ee,"set",N.set)||dt,H.assert(!(ke&&dt),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),Ss(ee,!W)}function bi(N,W){switch(N.kind){case 217:return ip(N,W);case 216:return ql(N,N.type,W);case 234:return oi(N,W,N.type);case 238:return tn(N,W,N.type);case 235:return Xi(N,W);case 360:return Af(N,W)}}function en(N){return Cf(N)&&sl(N)&&sl(Lv(N))&&sl(nE(N))&&!Oe(DB(N))&&!Oe(DV(N))}function zu(N,W,ee=15){return N&&CY(N,ee)&&!en(N)?bi(N,zu(N.expression,W)):W}function Hr(N,W,ee){if(!W)return N;const ke=Nw(W,W.label,V2(W.statement)?Hr(N,W.statement):N);return ee&&ee(W),ke}function Lr(N,W){const ee=l0(N);switch(ee.kind){case 80:return W;case 110:case 9:case 10:case 11:return!1;case 209:return ee.elements.length!==0;case 210:return ee.properties.length>0;default:return!0}}function gr(N,W,ee,ke=!1){const dt=Dc(N,15);let Bi,au;return nf(dt)?(Bi=St(),au=dt):HP(dt)?(Bi=St(),au=ee!==void 0&&ee<2?Pt(Ge("_super"),dt):dt):bs(dt)&8192?(Bi=C3(),au=d().parenthesizeLeftSideOfAccess(dt,!1)):Iu(dt)?Lr(dt.expression,ke)?(Bi=Ae(W),au=S0(Pt(Y.createAssignment(Bi,dt.expression),dt.expression),dt.name),Pt(au,dt)):(Bi=dt.expression,au=dt):U0(dt)?Lr(dt.expression,ke)?(Bi=Ae(W),au=uh(Pt(Y.createAssignment(Bi,dt.expression),dt.expression),dt.argumentExpression),Pt(au,dt)):(Bi=dt.expression,au=dt):(Bi=C3(),au=d().parenthesizeLeftSideOfAccess(N,!1)),{target:au,thisArg:Bi}}function fa(N,W){return S0(Nc(Ss([et(void 0,"value",[Zu(void 0,void 0,N,void 0,void 0,void 0)],o0([i6(W)]))])),"value")}function _0(N){return N.length>10?Fr(N):nn(N,Y.createComma)}function qs(N,W,ee,ke=0,dt){const Bi=dt?N&&TU(N):Za(N);if(Bi&&at(Bi)&&!al(Bi)){const au=ks(Pt(cF(Bi),Bi),Bi.parent);return ke|=bs(Bi),ee||(ke|=96),W||(ke|=3072),ke&&Zn(au,ke),au}return Je(N)}function Ws(N,W,ee){return qs(N,W,ee,98304)}function v4(N,W,ee,ke){return qs(N,W,ee,32768,ke)}function qp(N,W,ee){return qs(N,W,ee,16384)}function f6(N,W,ee){return qs(N,W,ee)}function b3(N,W,ee,ke){const dt=S0(N,sl(W)?W:cF(W));Pt(dt,W);let Bi=0;return ke||(Bi|=96),ee||(Bi|=3072),Bi&&Zn(dt,Bi),dt}function Vd(N,W,ee,ke){return N&&Yu(W,32)?b3(N,qs(W),ee,ke):qp(W,ee,ke)}function gD(N,W,ee,ke){const dt=Yw(N,W,0,ee);return mz(N,W,dt,ke)}function fz(N){return us(N.expression)&&N.expression.text==="use strict"}function Zw(){return vh(i6(Se("use strict")))}function Yw(N,W,ee=0,ke){H.assert(W.length===0,"Prologue directives should be at the first statement in the target statements array");let dt=!1;const Bi=N.length;for(;eeza&&Qm.splice(dt,0,...W.slice(za,i0)),za>au&&Qm.splice(ke,0,...W.slice(au,za)),au>Bi&&Qm.splice(ee,0,...W.slice(Bi,au)),Bi>0)if(ee===0)Qm.splice(0,0,...W.slice(0,Bi));else{const p6=new Map;for(let g6=0;g6=0;g6--){const vC=W[g6];p6.has(vC.expression.text)||Qm.unshift(vC)}}return g2(N)?Pt(oe(Qm,N.hasTrailingComma),N):N}function gz(N,W){let ee;return typeof W=="number"?ee=Ni(W):ee=W,Bl(N)?Ai(N,ee,N.name,N.constraint,N.default):io(N)?aa(N,ee,N.dotDotDotToken,N.name,N.questionToken,N.type,N.initializer):WP(N)?Ui(N,ee,N.typeParameters,N.parameters,N.type):Mm(N)?jn(N,ee,N.name,N.questionToken,N.type):ko(N)?Dn(N,ee,N.name,N.questionToken??N.exclamationToken,N.type,N.initializer):n3(N)?tu(N,ee,N.name,N.questionToken,N.typeParameters,N.parameters,N.type):dc(N)?Da(N,ee,N.asteriskToken,N.name,N.questionToken,N.typeParameters,N.parameters,N.type,N.body):hc(N)?Et(N,ee,N.parameters,N.body):zm(N)?Xt(N,ee,N.name,N.parameters,N.type,N.body):jf(N)?gt(N,ee,N.name,N.parameters,N.body):Ek(N)?Ei(N,ee,N.parameters,N.type):A0(N)?jh(N,ee,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):q0(N)?c3(N,ee,N.typeParameters,N.parameters,N.type,N.equalsGreaterThanToken,N.body):Xd(N)?bg(N,ee,N.name,N.typeParameters,N.heritageClauses,N.members):Jl(N)?t6(N,ee,N.declarationList):ed(N)?Yk(N,ee,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):Wc(N)?Qk(N,ee,N.name,N.typeParameters,N.heritageClauses,N.members):xh(N)?jd(N,ee,N.name,N.typeParameters,N.heritageClauses,N.members):jp(N)?A5(N,ee,N.name,N.typeParameters,N.type):Iv(N)?pt(N,ee,N.name,N.members):_c(N)?g4(N,ee,N.name,N.body):E1(N)?Xk(N,ee,N.isTypeOnly,N.name,N.moduleReference):Sd(N)?mb(N,ee,N.importClause,N.moduleSpecifier,N.attributes):tc(N)?$p(N,ee,N.expression):Gc(N)?E3(N,ee,N.isTypeOnly,N.exportClause,N.moduleSpecifier,N.attributes):H.assertNever(N)}function C4(N,W){return io(N)?aa(N,W,N.dotDotDotToken,N.name,N.questionToken,N.type,N.initializer):ko(N)?Dn(N,W,N.name,N.questionToken??N.exclamationToken,N.type,N.initializer):dc(N)?Da(N,W,N.asteriskToken,N.name,N.questionToken,N.typeParameters,N.parameters,N.type,N.body):zm(N)?Xt(N,W,N.name,N.parameters,N.type,N.body):jf(N)?gt(N,W,N.name,N.parameters,N.body):Xd(N)?bg(N,W,N.name,N.typeParameters,N.heritageClauses,N.members):Wc(N)?Qk(N,W,N.name,N.typeParameters,N.heritageClauses,N.members):H.assertNever(N)}function Qw(N,W){switch(N.kind){case 177:return Xt(N,N.modifiers,W,N.parameters,N.type,N.body);case 178:return gt(N,N.modifiers,W,N.parameters,N.body);case 174:return Da(N,N.modifiers,N.asteriskToken,W,N.questionToken,N.typeParameters,N.parameters,N.type,N.body);case 173:return tu(N,N.modifiers,W,N.questionToken,N.typeParameters,N.parameters,N.type);case 172:return Dn(N,N.modifiers,W,N.questionToken??N.exclamationToken,N.type,N.initializer);case 171:return jn(N,N.modifiers,W,N.questionToken,N.type);case 303:return lp(N,W,N.initializer)}}function Ms(N){return N?oe(N):void 0}function Mc(N){return typeof N=="string"?Ge(N):N}function m6(N){return typeof N=="string"?Se(N):typeof N=="number"?Ce(N):typeof N=="boolean"?N?ei():ht():N}function hF(N){return N&&d().parenthesizeExpressionForDisallowedComma(N)}function gte(N){return typeof N=="number"?Ie(N):N}function x_(N){return N&&yce(N)?Pt(su(cD(),N),N):N}function V9(N){return typeof N=="string"||N&&!na(N)?Hh(N,void 0,void 0,void 0):N}}function bLt(t,u){return t!==u&&Pt(t,u),t}function yLt(t,u){return t!==u&&(su(t,u),Pt(t,u)),t}function ice(t){switch(t){case 351:return"type";case 349:return"returns";case 350:return"this";case 347:return"enum";case 337:return"author";case 339:return"class";case 340:return"public";case 341:return"private";case 342:return"protected";case 343:return"readonly";case 344:return"override";case 352:return"template";case 353:return"typedef";case 348:return"param";case 355:return"prop";case 345:return"callback";case 346:return"overload";case 335:return"augments";case 336:return"implements";default:return H.fail(`Unsupported kind: ${H.formatSyntaxKind(t)}`)}}function kLt(t,u){switch(s5||(s5=YD(99,!1,0)),t){case 15:s5.setText("`"+u+"`");break;case 16:s5.setText("`"+u+"${");break;case 17:s5.setText("}"+u+"${");break;case 18:s5.setText("}"+u+"`");break}let s=s5.scan();if(s===20&&(s=s5.reScanTemplateToken(!1)),s5.isUnterminated())return s5.setText(void 0),Ike;let d;switch(s){case 15:case 16:case 17:case 18:d=s5.getTokenValue();break}return d===void 0||s5.scan()!==1?(s5.setText(void 0),Ike):(s5.setText(void 0),d)}function Kx(t){return t&&at(t)?pV(t):ou(t)}function pV(t){return ou(t)&-67108865}function FLt(t,u){return u|t.transformFlags&134234112}function ou(t){if(!t)return 0;const u=t.transformFlags&~Mke(t.kind);return mh(t)&&Sc(t.name)?FLt(t.name,u):u}function Fs(t){return t?t.transformFlags:0}function zYe(t){let u=0;for(const s of t)u|=ou(s);t.transformFlags=u}function Mke(t){if(t>=182&&t<=205)return-2;switch(t){case 213:case 214:case 209:return-2147450880;case 267:return-1941676032;case 169:return-2147483648;case 219:return-2072174592;case 218:case 262:return-1937940480;case 261:return-2146893824;case 263:case 231:return-2147344384;case 176:return-1937948672;case 172:return-2013249536;case 174:case 177:case 178:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 168:case 171:case 173:case 179:case 180:case 181:case 264:case 265:return-2;case 210:return-2147278848;case 299:return-2147418112;case 206:case 207:return-2147450880;case 216:case 238:case 234:case 360:case 217:case 108:return-2147483648;case 211:case 212:return-2147483648;default:return-2147483648}}function yZ(t){return t.flags|=16,t}function nce(t,u,s){let d,f,p,E,v,b,B,k,T,M;Ja(t)?(p="",E=t,v=t.length,b=u,B=s):(H.assert(u==="js"||u==="dts"),p=(u==="js"?t.javascriptPath:t.declarationPath)||"",b=u==="js"?t.javascriptMapPath:t.declarationMapPath,k=()=>u==="js"?t.javascriptText:t.declarationText,T=()=>u==="js"?t.javascriptMapText:t.declarationMapText,v=()=>k().length,t.buildInfo&&t.buildInfo.bundle&&(H.assert(s===void 0||typeof s=="boolean"),d=s,f=u==="js"?t.buildInfo.bundle.js:t.buildInfo.bundle.dts,M=t.oldFileOfCurrentEmit));const z=M?SLt(H.checkDefined(f)):ALt(f,d,v);return z.fileName=p,z.sourceMapPath=b,z.oldFileOfCurrentEmit=M,k&&T?(Object.defineProperty(z,"text",{get:k}),Object.defineProperty(z,"sourceMapText",{get:T})):(H.assert(!M),z.text=E??"",z.sourceMapText=B),z}function ALt(t,u,s){let d,f,p,E,v,b,B,k;for(const M of t?t.sections:_t)switch(M.kind){case"prologue":d=xi(d,Pt(q.createUnparsedPrologue(M.data),M));break;case"emitHelpers":f=xi(f,hce().get(M.data));break;case"no-default-lib":k=!0;break;case"reference":p=xi(p,{pos:-1,end:-1,fileName:M.data});break;case"type":E=xi(E,{pos:-1,end:-1,fileName:M.data});break;case"type-import":E=xi(E,{pos:-1,end:-1,fileName:M.data,resolutionMode:99});break;case"type-require":E=xi(E,{pos:-1,end:-1,fileName:M.data,resolutionMode:1});break;case"lib":v=xi(v,{pos:-1,end:-1,fileName:M.data});break;case"prepend":let z;for(const j of M.texts)(!u||j.kind!=="internal")&&(z=xi(z,Pt(q.createUnparsedTextLike(j.data,j.kind==="internal"),j)));b=yn(b,z),B=xi(B,q.createUnparsedPrepend(M.data,z??_t));break;case"internal":if(u){B||(B=[]);break}case"text":B=xi(B,Pt(q.createUnparsedTextLike(M.data,M.kind==="internal"),M));break;default:H.assertNever(M)}if(!B){const M=q.createUnparsedTextLike(void 0,!1);wP(M,0,typeof s=="function"?s():s),B=[M]}const T=a_.createUnparsedSource(d??_t,void 0,B);return pB(d,T),pB(B,T),pB(b,T),T.hasNoDefaultLib=k,T.helpers=f,T.referencedFiles=p||_t,T.typeReferenceDirectives=E,T.libReferenceDirectives=v||_t,T}function SLt(t){let u,s;for(const f of t.sections)switch(f.kind){case"internal":case"text":u=xi(u,Pt(q.createUnparsedTextLike(f.data,f.kind==="internal"),f));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":s=xi(s,Pt(q.createUnparsedSyntheticReference(f),f));break;case"prologue":case"emitHelpers":case"prepend":break;default:H.assertNever(f)}const d=q.createUnparsedSource(_t,s,u??_t);return pB(s,d),pB(u,d),d.helpers=Vt(t.sources&&t.sources.helpers,f=>hce().get(f)),d}function IYe(t,u,s,d,f,p){return Ja(t)?rce(void 0,t,s,d,void 0,u,f,p):uce(t,u,s,d,f,p)}function uce(t,u,s,d,f,p,E,v){const b=a_.createInputFiles();b.javascriptPath=u,b.javascriptMapPath=s,b.declarationPath=d,b.declarationMapPath=f,b.buildInfoPath=p;const B=new Map,k=j=>{if(j===void 0)return;let J=B.get(j);return J===void 0&&(J=t(j),B.set(j,J!==void 0?J:!1)),J!==!1?J:void 0},T=j=>{const J=k(j);return J!==void 0?J:`/* Input file ${j} was missing */\r +`,Qd={getNodeConstructor:()=>Yye,getTokenConstructor:()=>tLt,getIdentifierConstructor:()=>iLt,getPrivateIdentifierConstructor:()=>Yye,getSourceFileConstructor:()=>Yye,getSymbolConstructor:()=>QTt,getTypeConstructor:()=>XTt,getSignatureConstructor:()=>eLt,getSourceMapSourceConstructor:()=>nLt},Ake=[],$le=/[^\w\s/]/g,TYe=[42,63],Ule=["node_modules","bower_components","jspm_packages"],qle=`(?!(${Ule.join("|")})(/|$))`,Ske={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${qle}[^/.][^/]*)*?`,replaceWildcardCharacter:t=>cke(t,Ske.singleAsteriskRegexFragment)},Bke={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${qle}[^/.][^/]*)*?`,replaceWildcardCharacter:t=>cke(t,Bke.singleAsteriskRegexFragment)},wke={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:t=>cke(t,wke.singleAsteriskRegexFragment)},Tke={files:Ske,directories:Bke,exclude:wke},EB=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],Zle=Va(EB),LYe=[...EB,[".json"]],NYe=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],Yle=[[".js",".jsx"],[".mjs"],[".cjs"]],_B=Va(Yle),CZ=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],PYe=[...CZ,[".json"]],dV=[".d.ts",".d.cts",".d.mts"],hV=[".ts",".cts",".mts",".tsx"],fV=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"],Qle=(t=>(t[t.Minimal=0]="Minimal",t[t.Index=1]="Index",t[t.JsExtension=2]="JsExtension",t[t.TsExtension=3]="TsExtension",t))(Qle||{}),Xle=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],bZ={files:_t,directories:_t}}});function Lke(){let t,u,s,d,f;return{createBaseSourceFileNode:p,createBaseIdentifierNode:E,createBasePrivateIdentifierNode:v,createBaseTokenNode:b,createBaseNode:B};function p(k){return new(f||(f=Qd.getSourceFileConstructor()))(k,-1,-1)}function E(k){return new(s||(s=Qd.getIdentifierConstructor()))(k,-1,-1)}function v(k){return new(d||(d=Qd.getPrivateIdentifierConstructor()))(k,-1,-1)}function b(k){return new(u||(u=Qd.getTokenConstructor()))(k,-1,-1)}function B(k){return new(t||(t=Qd.getNodeConstructor()))(k,-1,-1)}}var xLt=o({"src/compiler/factory/baseNodeFactory.ts"(){Bo()}});function Nke(t){let u,s;return{getParenthesizeLeftSideOfBinaryForOperator:d,getParenthesizeRightSideOfBinaryForOperator:f,parenthesizeLeftSideOfBinary:B,parenthesizeRightSideOfBinary:k,parenthesizeExpressionOfComputedPropertyName:T,parenthesizeConditionOfConditionalExpression:M,parenthesizeBranchOfConditionalExpression:z,parenthesizeExpressionOfExportDefault:j,parenthesizeExpressionOfNew:J,parenthesizeLeftSideOfAccess:K,parenthesizeOperandOfPostfixUnary:Y,parenthesizeOperandOfPrefixUnary:oe,parenthesizeExpressionsOfCommaDelimitedList:se,parenthesizeExpressionForDisallowedComma:ge,parenthesizeExpressionOfExpressionStatement:ae,parenthesizeConciseBodyOfArrowFunction:Ce,parenthesizeCheckTypeOfConditionalType:ne,parenthesizeExtendsTypeOfConditionalType:ve,parenthesizeConstituentTypesOfUnionType:Ne,parenthesizeConstituentTypeOfUnionType:Se,parenthesizeConstituentTypesOfIntersectionType:fe,parenthesizeConstituentTypeOfIntersectionType:pe,parenthesizeOperandOfTypeOperator:xe,parenthesizeOperandOfReadonlyTypeOperator:Be,parenthesizeNonArrayTypeOfPostfixType:Ge,parenthesizeElementTypesOfTupleType:Ae,parenthesizeElementTypeOfTupleType:De,parenthesizeTypeOfOptionalType:Je,parenthesizeTypeArguments:Ve,parenthesizeLeadingTypeArgument:ft};function d(We){u||(u=new Map);let Gt=u.get(We);return Gt||(Gt=Yt=>B(We,Yt),u.set(We,Gt)),Gt}function f(We){s||(s=new Map);let Gt=s.get(We);return Gt||(Gt=Yt=>k(We,void 0,Yt),s.set(We,Gt)),Gt}function p(We,Gt,Yt,Ie){const st=Rj(226,We),St=Z0e(226,We),It=Np(Gt);if(!Yt&&Gt.kind===219&&st>3)return!0;const ei=lP(It);switch(nl(ei,st)){case-1:return!(!Yt&&St===1&&Gt.kind===229);case 1:return!1;case 0:if(Yt)return St===1;if(Xn(It)&&It.operatorToken.kind===We){if(E(We))return!1;if(We===40){const Ut=Ie?v(Ie):0;if(jN(Ut)&&Ut===v(It))return!1}}return q0e(It)===0}}function E(We){return We===42||We===52||We===51||We===53||We===28}function v(We){if(We=Np(We),jN(We.kind))return We.kind;if(We.kind===226&&We.operatorToken.kind===40){if(We.cachedLiteralKind!==void 0)return We.cachedLiteralKind;const Gt=v(We.left),Yt=jN(Gt)&&Gt===v(We.right)?Gt:0;return We.cachedLiteralKind=Yt,Yt}return 0}function b(We,Gt,Yt,Ie){return Np(Gt).kind===217?Gt:p(We,Gt,Yt,Ie)?t.createParenthesizedExpression(Gt):Gt}function B(We,Gt){return b(We,Gt,!0)}function k(We,Gt,Yt){return b(We,Yt,!1,Gt)}function T(We){return eM(We)?t.createParenthesizedExpression(We):We}function M(We){const Gt=Rj(227,58),Yt=Np(We),Ie=lP(Yt);return nl(Ie,Gt)!==1?t.createParenthesizedExpression(We):We}function z(We){const Gt=Np(We);return eM(Gt)?t.createParenthesizedExpression(We):We}function j(We){const Gt=Np(We);let Yt=eM(Gt);if(!Yt)switch(dB(Gt,!1).kind){case 231:case 218:Yt=!0}return Yt?t.createParenthesizedExpression(We):We}function J(We){const Gt=dB(We,!0);switch(Gt.kind){case 213:return t.createParenthesizedExpression(We);case 214:return Gt.arguments?We:t.createParenthesizedExpression(We)}return K(We)}function K(We,Gt){const Yt=Np(We);return Df(Yt)&&(Yt.kind!==214||Yt.arguments)&&(Gt||!Y1(Yt))?We:Pt(t.createParenthesizedExpression(We),We)}function Y(We){return Df(We)?We:Pt(t.createParenthesizedExpression(We),We)}function oe(We){return e0e(We)?We:Pt(t.createParenthesizedExpression(We),We)}function se(We){const Gt=Lu(We,ge);return Pt(t.createNodeArray(Gt,We.hasTrailingComma),We)}function ge(We){const Gt=Np(We),Yt=lP(Gt),Ie=Rj(226,28);return Yt>Ie?We:Pt(t.createParenthesizedExpression(We),We)}function ae(We){const Gt=Np(We);if(Mo(Gt)){const Ie=Gt.expression,st=Np(Ie).kind;if(st===218||st===219){const St=t.updateCallExpression(Gt,Pt(t.createParenthesizedExpression(Ie),Ie),Gt.typeArguments,Gt.arguments);return t.restoreOuterExpressions(We,St,8)}}const Yt=dB(Gt,!1).kind;return Yt===210||Yt===218?Pt(t.createParenthesizedExpression(We),We):We}function Ce(We){return!po(We)&&(eM(We)||dB(We,!1).kind===210)?Pt(t.createParenthesizedExpression(We),We):We}function ne(We){switch(We.kind){case 184:case 185:case 194:return t.createParenthesizedType(We)}return We}function ve(We){switch(We.kind){case 194:return t.createParenthesizedType(We)}return We}function Se(We){switch(We.kind){case 192:case 193:return t.createParenthesizedType(We)}return ne(We)}function Ne(We){return t.createNodeArray(Lu(We,Se))}function pe(We){switch(We.kind){case 192:case 193:return t.createParenthesizedType(We)}return Se(We)}function fe(We){return t.createNodeArray(Lu(We,pe))}function xe(We){switch(We.kind){case 193:return t.createParenthesizedType(We)}return pe(We)}function Be(We){switch(We.kind){case 198:return t.createParenthesizedType(We)}return xe(We)}function Ge(We){switch(We.kind){case 195:case 198:case 186:return t.createParenthesizedType(We)}return xe(We)}function Ae(We){return t.createNodeArray(Lu(We,De))}function De(We){return Ke(We)?t.createParenthesizedType(We):We}function Ke(We){return wB(We)?We.postfix:GP(We)||u3(We)||WP(We)||z7(We)?Ke(We.type):FB(We)?Ke(We.falseType):Pv(We)||kB(We)?Ke(Cr(We.types)):P7(We)?!!We.typeParameter.constraint&&Ke(We.typeParameter.constraint):!1}function Je(We){return Ke(We)?t.createParenthesizedType(We):Ge(We)}function ft(We){return ube(We)&&We.typeParameters?t.createParenthesizedType(We):We}function Ye(We,Gt){return Gt===0?ft(We):We}function Ve(We){if(Oe(We))return t.createNodeArray(Lu(We,Ye))}}var ece,vLt=o({"src/compiler/factory/parenthesizerRules.ts"(){Bo(),ece={getParenthesizeLeftSideOfBinaryForOperator:t=>il,getParenthesizeRightSideOfBinaryForOperator:t=>il,parenthesizeLeftSideOfBinary:(t,u)=>u,parenthesizeRightSideOfBinary:(t,u,s)=>s,parenthesizeExpressionOfComputedPropertyName:il,parenthesizeConditionOfConditionalExpression:il,parenthesizeBranchOfConditionalExpression:il,parenthesizeExpressionOfExportDefault:il,parenthesizeExpressionOfNew:t=>Po(t,Df),parenthesizeLeftSideOfAccess:t=>Po(t,Df),parenthesizeOperandOfPostfixUnary:t=>Po(t,Df),parenthesizeOperandOfPrefixUnary:t=>Po(t,e0e),parenthesizeExpressionsOfCommaDelimitedList:t=>Po(t,g2),parenthesizeExpressionForDisallowedComma:il,parenthesizeExpressionOfExpressionStatement:il,parenthesizeConciseBodyOfArrowFunction:il,parenthesizeCheckTypeOfConditionalType:il,parenthesizeExtendsTypeOfConditionalType:il,parenthesizeConstituentTypesOfUnionType:t=>Po(t,g2),parenthesizeConstituentTypeOfUnionType:il,parenthesizeConstituentTypesOfIntersectionType:t=>Po(t,g2),parenthesizeConstituentTypeOfIntersectionType:il,parenthesizeOperandOfTypeOperator:il,parenthesizeOperandOfReadonlyTypeOperator:il,parenthesizeNonArrayTypeOfPostfixType:il,parenthesizeElementTypesOfTupleType:t=>Po(t,g2),parenthesizeElementTypeOfTupleType:il,parenthesizeTypeOfOptionalType:il,parenthesizeTypeArguments:t=>t&&Po(t,g2),parenthesizeLeadingTypeArgument:il}}});function Pke(t){return{convertToFunctionBlock:u,convertToFunctionExpression:s,convertToClassExpression:d,convertToArrayAssignmentElement:f,convertToObjectAssignmentElement:p,convertToAssignmentPattern:E,convertToObjectAssignmentPattern:v,convertToArrayAssignmentPattern:b,convertToAssignmentElementTarget:B};function u(k,T){if(po(k))return k;const M=t.createReturnStatement(k);Pt(M,k);const z=t.createBlock([M],T);return Pt(z,k),z}function s(k){var T;if(!k.body)return H.fail("Cannot convert a FunctionDeclaration without a body");const M=t.createFunctionExpression((T=p2(k))==null?void 0:T.filter(z=>!L7(z)&&!rY(z)),k.asteriskToken,k.name,k.typeParameters,k.parameters,k.type,k.body);return su(M,k),Pt(M,k),RP(k)&&FZ(M,!0),M}function d(k){var T;const M=t.createClassExpression((T=k.modifiers)==null?void 0:T.filter(z=>!L7(z)&&!rY(z)),k.name,k.typeParameters,k.heritageClauses,k.members);return su(M,k),Pt(M,k),RP(k)&&FZ(M,!0),M}function f(k){if(js(k)){if(k.dotDotDotToken)return H.assertNode(k.name,at),su(Pt(t.createSpreadElement(k.name),k),k);const T=B(k.name);return k.initializer?su(Pt(t.createAssignment(T,k.initializer),k),k):T}return Po(k,Wt)}function p(k){if(js(k)){if(k.dotDotDotToken)return H.assertNode(k.name,at),su(Pt(t.createSpreadAssignment(k.name),k),k);if(k.propertyName){const T=B(k.name);return su(Pt(t.createPropertyAssignment(k.propertyName,k.initializer?t.createAssignment(T,k.initializer):T),k),k)}return H.assertNode(k.name,at),su(Pt(t.createShorthandPropertyAssignment(k.name,k.initializer),k),k)}return Po(k,Z3)}function E(k){switch(k.kind){case 207:case 209:return b(k);case 206:case 210:return v(k)}}function v(k){return Rp(k)?su(Pt(t.createObjectLiteralExpression(Vt(k.elements,p)),k),k):Po(k,ys)}function b(k){return _k(k)?su(Pt(t.createArrayLiteralExpression(Vt(k.elements,f)),k),k):Po(k,Dh)}function B(k){return So(k)?E(k):Po(k,Wt)}}var tce,CLt=o({"src/compiler/factory/nodeConverters.ts"(){Bo(),tce={convertToFunctionBlock:ho,convertToFunctionExpression:ho,convertToClassExpression:ho,convertToArrayAssignmentElement:ho,convertToObjectAssignmentElement:ho,convertToAssignmentPattern:ho,convertToObjectAssignmentPattern:ho,convertToArrayAssignmentPattern:ho,convertToAssignmentElementTarget:ho}}});function MYe(t){zke.push(t)}function mV(t,u){const s=t&8?bLt:yLt,d=Mh(()=>t&1?ece:Nke(Y)),f=Mh(()=>t&2?tce:Pke(Y)),p=HE(N=>(W,ee)=>Me(W,N,ee)),E=HE(N=>W=>Bt(N,W)),v=HE(N=>W=>Ci(W,N)),b=HE(N=>()=>sz(N)),B=HE(N=>W=>B0(N,W)),k=HE(N=>(W,ee)=>A9(N,W,ee)),T=HE(N=>(W,ee)=>F9(N,W,ee)),M=HE(N=>(W,ee)=>Eb(N,W,ee)),z=HE(N=>(W,ee)=>_4(N,W,ee)),j=HE(N=>(W,ee,ke)=>fC(N,W,ee,ke)),J=HE(N=>(W,ee,ke)=>T5(N,W,ee,ke)),K=HE(N=>(W,ee,ke,dt)=>n1(N,W,ee,ke,dt)),Y={get parenthesizer(){return d()},get converters(){return f()},baseFactory:u,flags:t,createNodeArray:oe,createNumericLiteral:Ce,createBigIntLiteral:ne,createStringLiteral:Se,createStringLiteralFromNode:Ne,createRegularExpressionLiteral:pe,createLiteralLikeNode:fe,createIdentifier:Ge,createTempVariable:Ae,createLoopVariable:De,createUniqueName:Ke,getGeneratedNameForNode:Je,createPrivateIdentifier:Ye,createUniquePrivateName:We,getGeneratedPrivateNameForNode:Gt,createToken:Ie,createSuper:st,createThis:St,createNull:It,createTrue:ei,createFalse:ht,createModifier:Ut,createModifiersFromModifierFlags:Ni,createQualifiedName:ji,updateQualifiedName:xn,createComputedPropertyName:Jn,updateComputedPropertyName:an,createTypeParameterDeclaration:Pi,updateTypeParameterDeclaration:Ai,createParameterDeclaration:Zu,updateParameterDeclaration:aa,createDecorator:yr,updateDecorator:Ba,createPropertySignature:bt,updatePropertySignature:jn,createPropertyDeclaration:Si,updatePropertyDeclaration:Dn,createMethodSignature:Cn,updateMethodSignature:tu,createMethodDeclaration:oa,updateMethodDeclaration:Da,createConstructorDeclaration:Qe,updateConstructorDeclaration:Et,createGetAccessorDeclaration:qt,updateGetAccessorDeclaration:Xt,createSetAccessorDeclaration:et,updateSetAccessorDeclaration:gt,createCallSignature:me,updateCallSignature:ni,createConstructSignature:vi,updateConstructSignature:mt,createIndexSignature:Ot,updateIndexSignature:Ei,createClassStaticBlockDeclaration:Ta,updateClassStaticBlockDeclaration:Yo,createTemplateLiteralTypeSpan:$i,updateTemplateLiteralTypeSpan:Qi,createKeywordTypeNode:on,createTypePredicateNode:le,updateTypePredicateNode:te,createTypeReferenceNode:we,updateTypeReferenceNode:de,createFunctionTypeNode:je,updateFunctionTypeNode:X,createConstructorTypeNode:Ct,updateConstructorTypeNode:Li,createTypeQueryNode:du,updateTypeQueryNode:Ru,createTypeLiteralNode:pr,updateTypeLiteralNode:Xu,createArrayTypeNode:ca,updateArrayTypeNode:Ku,createTupleTypeNode:ja,updateTupleTypeNode:wn,createNamedTupleMember:Ir,updateNamedTupleMember:as,createOptionalTypeNode:wo,updateOptionalTypeNode:Fn,createRestTypeNode:vc,updateRestTypeNode:Ya,createUnionTypeNode:wl,updateUnionTypeNode:hd,createIntersectionTypeNode:vl,updateIntersectionTypeNode:co,createConditionalTypeNode:Ho,updateConditionalTypeNode:id,createInferTypeNode:Y0,updateInferTypeNode:Ko,createImportTypeNode:Lc,updateImportTypeNode:Il,createParenthesizedType:cl,updateParenthesizedType:Ka,createThisTypeNode:Ri,createTypeOperatorNode:dl,updateTypeOperatorNode:Uc,createIndexedAccessTypeNode:Ch,updateIndexedAccessTypeNode:sf,createMappedTypeNode:Q0,updateMappedTypeNode:Cc,createLiteralTypeNode:$,updateLiteralTypeNode:tt,createTemplateLiteralType:Tc,updateTemplateLiteralType:Jp,createObjectBindingPattern:vt,updateObjectBindingPattern:mi,createArrayBindingPattern:fn,updateArrayBindingPattern:Wu,createBindingElement:uu,updateBindingElement:Tu,createArrayLiteralExpression:Nr,updateArrayLiteralExpression:Vu,createObjectLiteralExpression:Ss,updateObjectLiteralExpression:ic,createPropertyAccessExpression:t&4?(N,W)=>Zn(S0(N,W),262144):S0,updatePropertyAccessExpression:ud,createPropertyAccessChain:t&4?(N,W,ee)=>Zn(m0(N,W,ee),262144):m0,updatePropertyAccessChain:Bd,createElementAccessExpression:uh,updateElementAccessExpression:h4,createElementAccessChain:D1,updateElementAccessChain:He,createCallExpression:Mn,updateCallExpression:ba,createCallChain:Fo,updateCallChain:To,createNewExpression:nc,updateNewExpression:fc,createTaggedTemplateExpression:Cl,updateTaggedTemplateExpression:Tl,createTypeAssertion:bc,updateTypeAssertion:ql,createParenthesizedExpression:Nc,updateParenthesizedExpression:ip,createFunctionExpression:Jm,updateFunctionExpression:jh,createArrowFunction:f4,updateArrowFunction:c3,createDeleteExpression:c_,updateDeleteExpression:C5,createTypeOfExpression:R1,updateTypeOfExpression:d3,createVoidExpression:Wf,updateVoidExpression:m4,createAwaitExpression:Vh,updateAwaitExpression:Ee,createPrefixUnaryExpression:Bt,updatePrefixUnaryExpression:Di,createPostfixUnaryExpression:Ci,updatePostfixUnaryExpression:Q,createBinaryExpression:Me,updateBinaryExpression:ki,createConditionalExpression:In,updateConditionalExpression:tr,createTemplateExpression:ir,updateTemplateExpression:ha,createTemplateHead:$m,createTemplateMiddle:_s,createTemplateTail:np,createNoSubstitutionTemplateLiteral:Um,createTemplateLiteralLikeNode:fd,createYieldExpression:h3,updateYieldExpression:d_,createSpreadElement:ia,updateSpreadElement:Xx,createClassExpression:e6,updateClassExpression:bg,createOmittedExpression:sb,createExpressionWithTypeArguments:b5,updateExpressionWithTypeArguments:Xe,createAsExpression:Dt,updateAsExpression:oi,createNonNullExpression:Ti,updateNonNullExpression:Xi,createSatisfiesExpression:Rn,updateSatisfiesExpression:tn,createNonNullChain:bn,updateNonNullChain:kr,createMetaProperty:Cu,updateMetaProperty:bu,createTemplateSpan:Eu,updateTemplateSpan:sa,createSemicolonClassElement:p0,createBlock:o0,updateBlock:Gf,createVariableStatement:eC,updateVariableStatement:t6,createEmptyStatement:cD,createExpressionStatement:i6,updateExpressionStatement:Gk,createIfStatement:lb,updateIfStatement:Jk,createDoStatement:$k,updateDoStatement:az,createWhileStatement:D9,updateWhileStatement:ww,createForStatement:tC,updateForStatement:x9,createForInStatement:v9,updateForInStatement:Tw,createForOfStatement:Uk,updateForOfStatement:Lw,createContinueStatement:C9,updateContinueStatement:b9,createBreakStatement:qk,updateBreakStatement:cb,createReturnStatement:db,updateReturnStatement:iC,createWithStatement:y5,updateWithStatement:hb,createSwitchStatement:fE,updateSwitchStatement:Vs,createLabeledStatement:Zk,updateLabeledStatement:Nw,createThrowStatement:n6,updateThrowStatement:k5,createTryStatement:h_,updateTryStatement:p4,createDebuggerStatement:Jf,createVariableDeclaration:Hh,updateVariableDeclaration:Em,createVariableDeclarationList:nC,updateVariableDeclarationList:Pw,createFunctionDeclaration:y9,updateFunctionDeclaration:Yk,createClassDeclaration:uC,updateClassDeclaration:Qk,createInterfaceDeclaration:rC,updateInterfaceDeclaration:jd,createTypeAliasDeclaration:F5,updateTypeAliasDeclaration:A5,createEnumDeclaration:f3,updateEnumDeclaration:pt,createModuleDeclaration:i1,updateModuleDeclaration:g4,createModuleBlock:bh,updateModuleBlock:Mw,createCaseBlock:S5,updateCaseBlock:aC,createNamespaceExportDeclaration:m3,updateNamespaceExportDeclaration:oz,createImportEqualsDeclaration:yg,updateImportEqualsDeclaration:Xk,createImportDeclaration:eF,updateImportDeclaration:mb,createImportClause:pb,updateImportClause:up,createAssertClause:kg,updateAssertClause:p3,createAssertEntry:tF,updateAssertEntry:mE,createImportTypeAssertionContainer:iF,updateImportTypeAssertionContainer:zw,createImportAttributes:Ur,updateImportAttributes:ar,createImportAttribute:pE,updateImportAttribute:kf,createNamespaceImport:Iw,updateNamespaceImport:B5,createNamespaceExport:Rw,updateNamespaceExport:gb,createNamedImports:uc,updateNamedImports:yh,createImportSpecifier:dD,updateImportSpecifier:f_,createExportAssignment:g3,updateExportAssignment:$p,createExportDeclaration:oC,updateExportDeclaration:E3,createNamedExports:m_,updateNamedExports:jw,createExportSpecifier:gE,updateExportSpecifier:p_,createMissingDeclaration:w5,createExternalModuleReference:Vw,updateExternalModuleReference:k9,get createJSDocAllType(){return b(319)},get createJSDocUnknownType(){return b(320)},get createJSDocNonNullableType(){return T(322)},get updateJSDocNonNullableType(){return M(322)},get createJSDocNullableType(){return T(321)},get updateJSDocNullableType(){return M(321)},get createJSDocOptionalType(){return B(323)},get updateJSDocOptionalType(){return k(323)},get createJSDocVariadicType(){return B(325)},get updateJSDocVariadicType(){return k(325)},get createJSDocNamepathType(){return B(326)},get updateJSDocNamepathType(){return k(326)},createJSDocFunctionType:rp,updateJSDocFunctionType:sC,createJSDocTypeLiteral:S9,updateJSDocTypeLiteral:lz,createJSDocTypeExpression:nF,updateJSDocTypeExpression:ru,createJSDocSignature:v1,updateJSDocSignature:Ma,createJSDocTemplateTag:Un,updateJSDocTemplateTag:_b,createJSDocTypedefTag:lC,updateJSDocTypedefTag:wd,createJSDocParameterTag:_E,updateJSDocParameterTag:DE,createJSDocPropertyTag:u6,updateJSDocPropertyTag:B9,createJSDocCallbackTag:hD,updateJSDocCallbackTag:cC,createJSDocOverloadTag:dC,updateJSDocOverloadTag:_3,createJSDocAugmentsTag:g_,updateJSDocAugmentsTag:uF,createJSDocImplementsTag:fD,updateJSDocImplementsTag:vb,createJSDocSeeTag:r6,updateJSDocSeeTag:Db,createJSDocNameReference:w9,updateJSDocNameReference:rF,createJSDocMemberName:xb,updateJSDocMemberName:E4,createJSDocLink:hC,updateJSDocLink:yc,createJSDocLinkCode:md,updateJSDocLinkCode:T9,createJSDocLinkPlain:O1,updateJSDocLinkPlain:Ff,get createJSDocTypeTag(){return J(351)},get updateJSDocTypeTag(){return K(351)},get createJSDocReturnTag(){return J(349)},get updateJSDocReturnTag(){return K(349)},get createJSDocThisTag(){return J(350)},get updateJSDocThisTag(){return K(350)},get createJSDocAuthorTag(){return z(337)},get updateJSDocAuthorTag(){return j(337)},get createJSDocClassTag(){return z(339)},get updateJSDocClassTag(){return j(339)},get createJSDocPublicTag(){return z(340)},get updateJSDocPublicTag(){return j(340)},get createJSDocPrivateTag(){return z(341)},get updateJSDocPrivateTag(){return j(341)},get createJSDocProtectedTag(){return z(342)},get updateJSDocProtectedTag(){return j(342)},get createJSDocReadonlyTag(){return z(343)},get updateJSDocReadonlyTag(){return j(343)},get createJSDocOverrideTag(){return z(344)},get updateJSDocOverrideTag(){return j(344)},get createJSDocDeprecatedTag(){return z(338)},get updateJSDocDeprecatedTag(){return j(338)},get createJSDocThrowsTag(){return J(356)},get updateJSDocThrowsTag(){return K(356)},get createJSDocSatisfiesTag(){return J(357)},get updateJSDocSatisfiesTag(){return K(357)},createJSDocEnumTag:a6,updateJSDocEnumTag:Hw,createJSDocUnknownTag:aF,updateJSDocUnknownTag:op,createJSDocText:R0,updateJSDocText:Kw,createJSDocComment:oF,updateJSDocComment:mC,createJsxElement:L9,updateJsxElement:Kh,createJsxSelfClosingElement:D3,updateJsxSelfClosingElement:mD,createJsxOpeningElement:Cb,updateJsxOpeningElement:_m,createJsxClosingElement:N9,updateJsxClosingElement:o6,createJsxFragment:qm,createJsxText:L5,updateJsxText:cz,createJsxOpeningFragment:P9,createJsxJsxClosingFragment:M9,updateJsxFragment:bb,createJsxAttribute:z9,updateJsxAttribute:pC,createJsxAttributes:$f,updateJsxAttributes:x3,createJsxSpreadAttribute:I9,updateJsxSpreadAttribute:R9,createJsxExpression:Ks,updateJsxExpression:_u,createJsxNamespacedName:Dm,updateJsxNamespacedName:cf,createCaseClause:yb,updateCaseClause:Ww,createDefaultClause:gC,updateDefaultClause:kb,createHeritageClause:s6,updateHeritageClause:Zm,createCatchClause:sp,updateCatchClause:l6,createPropertyAssignment:Up,updatePropertyAssignment:lp,createShorthandPropertyAssignment:Fb,updateShorthandPropertyAssignment:Pc,createSpreadAssignment:D4,updateSpreadAssignment:Gw,createEnumMember:j1,updateEnumMember:EC,createSourceFile:Ab,updateSourceFile:c6,createRedirectedSourceFile:sF,createBundle:v3,updateBundle:_C,createUnparsedSource:$w,createUnparsedPrologue:R,createUnparsedPrepend:be,createUnparsedTextLike:Ht,createUnparsedSyntheticReference:Oi,createInputFiles:yu,createSyntheticExpression:Jr,createSyntaxList:br,createNotEmittedStatement:Ea,createPartiallyEmittedExpression:Ao,updatePartiallyEmittedExpression:Af,createCommaListExpression:Fr,updateCommaListExpression:vE,createSyntheticReferenceExpression:gn,updateSyntheticReferenceExpression:h6,cloneNode:cF,get createComma(){return p(28)},get createAssignment(){return p(64)},get createLogicalOr(){return p(57)},get createLogicalAnd(){return p(56)},get createBitwiseOr(){return p(52)},get createBitwiseXor(){return p(53)},get createBitwiseAnd(){return p(51)},get createStrictEquality(){return p(37)},get createStrictInequality(){return p(38)},get createEquality(){return p(35)},get createInequality(){return p(36)},get createLessThan(){return p(30)},get createLessThanEquals(){return p(33)},get createGreaterThan(){return p(32)},get createGreaterThanEquals(){return p(34)},get createLeftShift(){return p(48)},get createRightShift(){return p(49)},get createUnsignedRightShift(){return p(50)},get createAdd(){return p(40)},get createSubtract(){return p(41)},get createMultiply(){return p(42)},get createDivide(){return p(44)},get createModulo(){return p(45)},get createExponent(){return p(43)},get createPrefixPlus(){return E(40)},get createPrefixMinus(){return E(41)},get createPrefixIncrement(){return E(46)},get createPrefixDecrement(){return E(47)},get createBitwiseNot(){return E(55)},get createLogicalNot(){return E(54)},get createPostfixIncrement(){return v(46)},get createPostfixDecrement(){return v(47)},createImmediatelyInvokedFunctionExpression:E_,createImmediatelyInvokedArrowFunction:M5,createVoidZero:C3,createExportDefault:Uw,createExternalModuleExport:j9,createTypeCheck:ZK,createIsNotTypeCheck:hz,createMethodCall:__,createGlobalMethodCall:xC,createFunctionBindCall:pD,createFunctionCallCall:qw,createFunctionApplyCall:D_,createArraySliceCall:mte,createArrayConcatCall:CE,createObjectDefinePropertyCall:dF,createObjectGetOwnPropertyDescriptorCall:YK,createReflectGetCall:he,createReflectSetCall:Re,createPropertyDescriptor:Nt,createCallBinding:gr,createAssignmentTargetWrapper:fa,inlineExpressions:_0,getInternalName:Ws,getLocalName:v4,getExportName:qp,getDeclarationName:f6,getNamespaceMemberName:b3,getExternalModuleOrNamespaceExportName:Vd,restoreOuterExpressions:zu,restoreEnclosingLabel:Hr,createUseStrictPrologue:Zw,copyPrologue:gD,copyStandardPrologue:Yw,copyCustomPrologue:mz,ensureUseStrict:pte,liftToBlock:pz,mergeLexicalEnvironment:ED,replaceModifiers:gz,replaceDecoratorsAndModifiers:C4,replacePropertyName:Qw};return L(zke,N=>N(Y)),Y;function oe(N,W){if(N===void 0||N===_t)N=[];else if(g2(N)){if(W===void 0||N.hasTrailingComma===W)return N.transformFlags===void 0&&zYe(N),H.attachNodeArrayDebugInfo(N),N;const dt=N.slice();return dt.pos=N.pos,dt.end=N.end,dt.hasTrailingComma=W,dt.transformFlags=N.transformFlags,H.attachNodeArrayDebugInfo(dt),dt}const ee=N.length,ke=ee>=1&&ee<=4?N.slice():N;return ke.pos=-1,ke.end=-1,ke.hasTrailingComma=!!W,ke.transformFlags=0,zYe(ke),H.attachNodeArrayDebugInfo(ke),ke}function se(N){return u.createBaseNode(N)}function ge(N){const W=se(N);return W.symbol=void 0,W.localSymbol=void 0,W}function ae(N,W){return N!==W&&(N.typeArguments=W.typeArguments),s(N,W)}function Ce(N,W=0){const ee=ge(9);return ee.text=typeof N=="number"?N+"":N,ee.numericLiteralFlags=W,W&384&&(ee.transformFlags|=1024),ee}function ne(N){const W=Yt(10);return W.text=typeof N=="string"?N:I2(N)+"n",W.transformFlags|=32,W}function ve(N,W){const ee=ge(11);return ee.text=N,ee.singleQuote=W,ee}function Se(N,W,ee){const ke=ve(N,W);return ke.hasExtendedUnicodeEscape=ee,ee&&(ke.transformFlags|=1024),ke}function Ne(N){const W=ve(J4(N),void 0);return W.textSourceNode=N,W}function pe(N){const W=Yt(14);return W.text=N,W}function fe(N,W){switch(N){case 9:return Ce(W,0);case 10:return ne(W);case 11:return Se(W,void 0);case 12:return L5(W,!1);case 13:return L5(W,!0);case 14:return pe(W);case 15:return fd(N,W,void 0,0)}}function xe(N){const W=u.createBaseIdentifierNode(80);return W.escapedText=N,W.jsDoc=void 0,W.flowNode=void 0,W.symbol=void 0,W}function Be(N,W,ee,ke){const dt=xe(Al(N));return xV(dt,{flags:W,id:kZ,prefix:ee,suffix:ke}),kZ++,dt}function Ge(N,W,ee){W===void 0&&N&&(W=f2(N)),W===80&&(W=void 0);const ke=xe(Al(N));return ee&&(ke.flags|=256),ke.escapedText==="await"&&(ke.transformFlags|=67108864),ke.flags&256&&(ke.transformFlags|=1024),ke}function Ae(N,W,ee,ke){let dt=1;W&&(dt|=8);const Bi=Be("",dt,ee,ke);return N&&N(Bi),Bi}function De(N){let W=2;return N&&(W|=8),Be("",W,void 0,void 0)}function Ke(N,W=0,ee,ke){return H.assert(!(W&7),"Argument out of range: flags"),H.assert((W&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),Be(N,3|W,ee,ke)}function Je(N,W=0,ee,ke){H.assert(!(W&7),"Argument out of range: flags");const dt=N?J_(N)?jv(!1,ee,N,ke,fu):`generated@${$s(N)}`:"";(ee||ke)&&(W|=16);const Bi=Be(dt,4|W,ee,ke);return Bi.original=N,Bi}function ft(N){const W=u.createBasePrivateIdentifierNode(81);return W.escapedText=N,W.transformFlags|=16777216,W}function Ye(N){return Pa(N,"#")||H.fail("First character of private identifier must be #: "+N),ft(Al(N))}function Ve(N,W,ee,ke){const dt=ft(Al(N));return xV(dt,{flags:W,id:kZ,prefix:ee,suffix:ke}),kZ++,dt}function We(N,W,ee){N&&!Pa(N,"#")&&H.fail("First character of private identifier must be #: "+N);const ke=8|(N?3:1);return Ve(N??"",ke,W,ee)}function Gt(N,W,ee){const ke=J_(N)?jv(!0,W,N,ee,fu):`#generated@${$s(N)}`,Bi=Ve(ke,4|(W||ee?16:0),W,ee);return Bi.original=N,Bi}function Yt(N){return u.createBaseTokenNode(N)}function Ie(N){H.assert(N>=0&&N<=165,"Invalid token"),H.assert(N<=15||N>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),H.assert(N<=9||N>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),H.assert(N!==80,"Invalid token. Use 'createIdentifier' to create identifiers");const W=Yt(N);let ee=0;switch(N){case 134:ee=384;break;case 160:ee=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:ee=1;break;case 108:ee=134218752,W.flowNode=void 0;break;case 126:ee=1024;break;case 129:ee=16777216;break;case 110:ee=16384,W.flowNode=void 0;break}return ee&&(W.transformFlags|=ee),W}function st(){return Ie(108)}function St(){return Ie(110)}function It(){return Ie(106)}function ei(){return Ie(112)}function ht(){return Ie(97)}function Ut(N){return Ie(N)}function Ni(N){const W=[];return N&32&&W.push(Ut(95)),N&128&&W.push(Ut(138)),N&2048&&W.push(Ut(90)),N&4096&&W.push(Ut(87)),N&1&&W.push(Ut(125)),N&2&&W.push(Ut(123)),N&4&&W.push(Ut(124)),N&64&&W.push(Ut(128)),N&256&&W.push(Ut(126)),N&16&&W.push(Ut(164)),N&8&&W.push(Ut(148)),N&512&&W.push(Ut(129)),N&1024&&W.push(Ut(134)),N&8192&&W.push(Ut(103)),N&16384&&W.push(Ut(147)),W.length?W:void 0}function ji(N,W){const ee=se(166);return ee.left=N,ee.right=Mc(W),ee.transformFlags|=ou(ee.left)|pV(ee.right),ee.flowNode=void 0,ee}function xn(N,W,ee){return N.left!==W||N.right!==ee?s(ji(W,ee),N):N}function Jn(N){const W=se(167);return W.expression=d().parenthesizeExpressionOfComputedPropertyName(N),W.transformFlags|=ou(W.expression)|1024|131072,W}function an(N,W){return N.expression!==W?s(Jn(W),N):N}function Pi(N,W,ee,ke){const dt=ge(168);return dt.modifiers=Ms(N),dt.name=Mc(W),dt.constraint=ee,dt.default=ke,dt.transformFlags=1,dt.expression=void 0,dt.jsDoc=void 0,dt}function Ai(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.constraint!==ke||N.default!==dt?s(Pi(W,ee,ke,dt),N):N}function Zu(N,W,ee,ke,dt,Bi){const au=ge(169);return au.modifiers=Ms(N),au.dotDotDotToken=W,au.name=Mc(ee),au.questionToken=ke,au.type=dt,au.initializer=hF(Bi),N2(au.name)?au.transformFlags=1:au.transformFlags=Fs(au.modifiers)|ou(au.dotDotDotToken)|Kx(au.name)|ou(au.questionToken)|ou(au.initializer)|(au.questionToken??au.type?1:0)|(au.dotDotDotToken??au.initializer?1024:0)|(tE(au.modifiers)&31?8192:0),au.jsDoc=void 0,au}function aa(N,W,ee,ke,dt,Bi,au){return N.modifiers!==W||N.dotDotDotToken!==ee||N.name!==ke||N.questionToken!==dt||N.type!==Bi||N.initializer!==au?s(Zu(W,ee,ke,dt,Bi,au),N):N}function yr(N){const W=se(170);return W.expression=d().parenthesizeLeftSideOfAccess(N,!1),W.transformFlags|=ou(W.expression)|1|8192|33554432,W}function Ba(N,W){return N.expression!==W?s(yr(W),N):N}function bt(N,W,ee,ke){const dt=ge(171);return dt.modifiers=Ms(N),dt.name=Mc(W),dt.type=ke,dt.questionToken=ee,dt.transformFlags=1,dt.initializer=void 0,dt.jsDoc=void 0,dt}function jn(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.questionToken!==ke||N.type!==dt?Ln(bt(W,ee,ke,dt),N):N}function Ln(N,W){return N!==W&&(N.initializer=W.initializer),s(N,W)}function Si(N,W,ee,ke,dt){const Bi=ge(172);Bi.modifiers=Ms(N),Bi.name=Mc(W),Bi.questionToken=ee&&Wx(ee)?ee:void 0,Bi.exclamationToken=ee&&kV(ee)?ee:void 0,Bi.type=ke,Bi.initializer=hF(dt);const au=Bi.flags&33554432||tE(Bi.modifiers)&128;return Bi.transformFlags=Fs(Bi.modifiers)|Kx(Bi.name)|ou(Bi.initializer)|(au||Bi.questionToken||Bi.exclamationToken||Bi.type?1:0)|(Ps(Bi.name)||tE(Bi.modifiers)&256&&Bi.initializer?8192:0)|16777216,Bi.jsDoc=void 0,Bi}function Dn(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.name!==ee||N.questionToken!==(ke!==void 0&&Wx(ke)?ke:void 0)||N.exclamationToken!==(ke!==void 0&&kV(ke)?ke:void 0)||N.type!==dt||N.initializer!==Bi?s(Si(W,ee,ke,dt,Bi),N):N}function Cn(N,W,ee,ke,dt,Bi){const au=ge(173);return au.modifiers=Ms(N),au.name=Mc(W),au.questionToken=ee,au.typeParameters=Ms(ke),au.parameters=Ms(dt),au.type=Bi,au.transformFlags=1,au.jsDoc=void 0,au.locals=void 0,au.nextContainer=void 0,au.typeArguments=void 0,au}function tu(N,W,ee,ke,dt,Bi,au){return N.modifiers!==W||N.name!==ee||N.questionToken!==ke||N.typeParameters!==dt||N.parameters!==Bi||N.type!==au?ae(Cn(W,ee,ke,dt,Bi,au),N):N}function oa(N,W,ee,ke,dt,Bi,au,za){const i0=ge(174);if(i0.modifiers=Ms(N),i0.asteriskToken=W,i0.name=Mc(ee),i0.questionToken=ke,i0.exclamationToken=void 0,i0.typeParameters=Ms(dt),i0.parameters=oe(Bi),i0.type=au,i0.body=za,!i0.body)i0.transformFlags=1;else{const Qm=tE(i0.modifiers)&1024,p6=!!i0.asteriskToken,g6=Qm&&p6;i0.transformFlags=Fs(i0.modifiers)|ou(i0.asteriskToken)|Kx(i0.name)|ou(i0.questionToken)|Fs(i0.typeParameters)|Fs(i0.parameters)|ou(i0.type)|ou(i0.body)&-67108865|(g6?128:Qm?256:p6?2048:0)|(i0.questionToken||i0.typeParameters||i0.type?1:0)|1024}return i0.typeArguments=void 0,i0.jsDoc=void 0,i0.locals=void 0,i0.nextContainer=void 0,i0.flowNode=void 0,i0.endFlowNode=void 0,i0.returnFlowNode=void 0,i0}function Da(N,W,ee,ke,dt,Bi,au,za,i0){return N.modifiers!==W||N.asteriskToken!==ee||N.name!==ke||N.questionToken!==dt||N.typeParameters!==Bi||N.parameters!==au||N.type!==za||N.body!==i0?ra(oa(W,ee,ke,dt,Bi,au,za,i0),N):N}function ra(N,W){return N!==W&&(N.exclamationToken=W.exclamationToken),s(N,W)}function Ta(N){const W=ge(175);return W.body=N,W.transformFlags=ou(N)|16777216,W.modifiers=void 0,W.jsDoc=void 0,W.locals=void 0,W.nextContainer=void 0,W.endFlowNode=void 0,W.returnFlowNode=void 0,W}function Yo(N,W){return N.body!==W?bo(Ta(W),N):N}function bo(N,W){return N!==W&&(N.modifiers=W.modifiers),s(N,W)}function Qe(N,W,ee){const ke=ge(176);return ke.modifiers=Ms(N),ke.parameters=oe(W),ke.body=ee,ke.transformFlags=Fs(ke.modifiers)|Fs(ke.parameters)|ou(ke.body)&-67108865|1024,ke.typeParameters=void 0,ke.type=void 0,ke.typeArguments=void 0,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.endFlowNode=void 0,ke.returnFlowNode=void 0,ke}function Et(N,W,ee,ke){return N.modifiers!==W||N.parameters!==ee||N.body!==ke?Mt(Qe(W,ee,ke),N):N}function Mt(N,W){return N!==W&&(N.typeParameters=W.typeParameters,N.type=W.type),ae(N,W)}function qt(N,W,ee,ke,dt){const Bi=ge(177);return Bi.modifiers=Ms(N),Bi.name=Mc(W),Bi.parameters=oe(ee),Bi.type=ke,Bi.body=dt,Bi.body?Bi.transformFlags=Fs(Bi.modifiers)|Kx(Bi.name)|Fs(Bi.parameters)|ou(Bi.type)|ou(Bi.body)&-67108865|(Bi.type?1:0):Bi.transformFlags=1,Bi.typeArguments=void 0,Bi.typeParameters=void 0,Bi.jsDoc=void 0,Bi.locals=void 0,Bi.nextContainer=void 0,Bi.flowNode=void 0,Bi.endFlowNode=void 0,Bi.returnFlowNode=void 0,Bi}function Xt(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.name!==ee||N.parameters!==ke||N.type!==dt||N.body!==Bi?Pe(qt(W,ee,ke,dt,Bi),N):N}function Pe(N,W){return N!==W&&(N.typeParameters=W.typeParameters),ae(N,W)}function et(N,W,ee,ke){const dt=ge(178);return dt.modifiers=Ms(N),dt.name=Mc(W),dt.parameters=oe(ee),dt.body=ke,dt.body?dt.transformFlags=Fs(dt.modifiers)|Kx(dt.name)|Fs(dt.parameters)|ou(dt.body)&-67108865|(dt.type?1:0):dt.transformFlags=1,dt.typeArguments=void 0,dt.typeParameters=void 0,dt.type=void 0,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.flowNode=void 0,dt.endFlowNode=void 0,dt.returnFlowNode=void 0,dt}function gt(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.parameters!==ke||N.body!==dt?ii(et(W,ee,ke,dt),N):N}function ii(N,W){return N!==W&&(N.typeParameters=W.typeParameters,N.type=W.type),ae(N,W)}function me(N,W,ee){const ke=ge(179);return ke.typeParameters=Ms(N),ke.parameters=Ms(W),ke.type=ee,ke.transformFlags=1,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function ni(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?ae(me(W,ee,ke),N):N}function vi(N,W,ee){const ke=ge(180);return ke.typeParameters=Ms(N),ke.parameters=Ms(W),ke.type=ee,ke.transformFlags=1,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function mt(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?ae(vi(W,ee,ke),N):N}function Ot(N,W,ee){const ke=ge(181);return ke.modifiers=Ms(N),ke.parameters=Ms(W),ke.type=ee,ke.transformFlags=1,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function Ei(N,W,ee,ke){return N.parameters!==ee||N.type!==ke||N.modifiers!==W?ae(Ot(W,ee,ke),N):N}function $i(N,W){const ee=se(204);return ee.type=N,ee.literal=W,ee.transformFlags=1,ee}function Qi(N,W,ee){return N.type!==W||N.literal!==ee?s($i(W,ee),N):N}function on(N){return Ie(N)}function le(N,W,ee){const ke=se(182);return ke.assertsModifier=N,ke.parameterName=Mc(W),ke.type=ee,ke.transformFlags=1,ke}function te(N,W,ee,ke){return N.assertsModifier!==W||N.parameterName!==ee||N.type!==ke?s(le(W,ee,ke),N):N}function we(N,W){const ee=se(183);return ee.typeName=Mc(N),ee.typeArguments=W&&d().parenthesizeTypeArguments(oe(W)),ee.transformFlags=1,ee}function de(N,W,ee){return N.typeName!==W||N.typeArguments!==ee?s(we(W,ee),N):N}function je(N,W,ee){const ke=ge(184);return ke.typeParameters=Ms(N),ke.parameters=Ms(W),ke.type=ee,ke.transformFlags=1,ke.modifiers=void 0,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function X(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?it(je(W,ee,ke),N):N}function it(N,W){return N!==W&&(N.modifiers=W.modifiers),ae(N,W)}function Ct(...N){return N.length===4?ct(...N):N.length===3?Qt(...N):H.fail("Incorrect number of arguments specified.")}function ct(N,W,ee,ke){const dt=ge(185);return dt.modifiers=Ms(N),dt.typeParameters=Ms(W),dt.parameters=Ms(ee),dt.type=ke,dt.transformFlags=1,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.typeArguments=void 0,dt}function Qt(N,W,ee){return ct(void 0,N,W,ee)}function Li(...N){return N.length===5?Ui(...N):N.length===4?Sn(...N):H.fail("Incorrect number of arguments specified.")}function Ui(N,W,ee,ke,dt){return N.modifiers!==W||N.typeParameters!==ee||N.parameters!==ke||N.type!==dt?ae(Ct(W,ee,ke,dt),N):N}function Sn(N,W,ee,ke){return Ui(N,N.modifiers,W,ee,ke)}function du(N,W){const ee=se(186);return ee.exprName=N,ee.typeArguments=W&&d().parenthesizeTypeArguments(W),ee.transformFlags=1,ee}function Ru(N,W,ee){return N.exprName!==W||N.typeArguments!==ee?s(du(W,ee),N):N}function pr(N){const W=ge(187);return W.members=oe(N),W.transformFlags=1,W}function Xu(N,W){return N.members!==W?s(pr(W),N):N}function ca(N){const W=se(188);return W.elementType=d().parenthesizeNonArrayTypeOfPostfixType(N),W.transformFlags=1,W}function Ku(N,W){return N.elementType!==W?s(ca(W),N):N}function ja(N){const W=se(189);return W.elements=oe(d().parenthesizeElementTypesOfTupleType(N)),W.transformFlags=1,W}function wn(N,W){return N.elements!==W?s(ja(W),N):N}function Ir(N,W,ee,ke){const dt=ge(202);return dt.dotDotDotToken=N,dt.name=W,dt.questionToken=ee,dt.type=ke,dt.transformFlags=1,dt.jsDoc=void 0,dt}function as(N,W,ee,ke,dt){return N.dotDotDotToken!==W||N.name!==ee||N.questionToken!==ke||N.type!==dt?s(Ir(W,ee,ke,dt),N):N}function wo(N){const W=se(190);return W.type=d().parenthesizeTypeOfOptionalType(N),W.transformFlags=1,W}function Fn(N,W){return N.type!==W?s(wo(W),N):N}function vc(N){const W=se(191);return W.type=N,W.transformFlags=1,W}function Ya(N,W){return N.type!==W?s(vc(W),N):N}function c0(N,W,ee){const ke=se(N);return ke.types=Y.createNodeArray(ee(W)),ke.transformFlags=1,ke}function Ul(N,W,ee){return N.types!==W?s(c0(N.kind,W,ee),N):N}function wl(N){return c0(192,N,d().parenthesizeConstituentTypesOfUnionType)}function hd(N,W){return Ul(N,W,d().parenthesizeConstituentTypesOfUnionType)}function vl(N){return c0(193,N,d().parenthesizeConstituentTypesOfIntersectionType)}function co(N,W){return Ul(N,W,d().parenthesizeConstituentTypesOfIntersectionType)}function Ho(N,W,ee,ke){const dt=se(194);return dt.checkType=d().parenthesizeCheckTypeOfConditionalType(N),dt.extendsType=d().parenthesizeExtendsTypeOfConditionalType(W),dt.trueType=ee,dt.falseType=ke,dt.transformFlags=1,dt.locals=void 0,dt.nextContainer=void 0,dt}function id(N,W,ee,ke,dt){return N.checkType!==W||N.extendsType!==ee||N.trueType!==ke||N.falseType!==dt?s(Ho(W,ee,ke,dt),N):N}function Y0(N){const W=se(195);return W.typeParameter=N,W.transformFlags=1,W}function Ko(N,W){return N.typeParameter!==W?s(Y0(W),N):N}function Tc(N,W){const ee=se(203);return ee.head=N,ee.templateSpans=oe(W),ee.transformFlags=1,ee}function Jp(N,W,ee){return N.head!==W||N.templateSpans!==ee?s(Tc(W,ee),N):N}function Lc(N,W,ee,ke,dt=!1){const Bi=se(205);return Bi.argument=N,Bi.attributes=W,Bi.assertions&&Bi.assertions.assertClause&&Bi.attributes&&(Bi.assertions.assertClause=Bi.attributes),Bi.qualifier=ee,Bi.typeArguments=ke&&d().parenthesizeTypeArguments(ke),Bi.isTypeOf=dt,Bi.transformFlags=1,Bi}function Il(N,W,ee,ke,dt,Bi=N.isTypeOf){return N.argument!==W||N.attributes!==ee||N.qualifier!==ke||N.typeArguments!==dt||N.isTypeOf!==Bi?s(Lc(W,ee,ke,dt,Bi),N):N}function cl(N){const W=se(196);return W.type=N,W.transformFlags=1,W}function Ka(N,W){return N.type!==W?s(cl(W),N):N}function Ri(){const N=se(197);return N.transformFlags=1,N}function dl(N,W){const ee=se(198);return ee.operator=N,ee.type=N===148?d().parenthesizeOperandOfReadonlyTypeOperator(W):d().parenthesizeOperandOfTypeOperator(W),ee.transformFlags=1,ee}function Uc(N,W){return N.type!==W?s(dl(N.operator,W),N):N}function Ch(N,W){const ee=se(199);return ee.objectType=d().parenthesizeNonArrayTypeOfPostfixType(N),ee.indexType=W,ee.transformFlags=1,ee}function sf(N,W,ee){return N.objectType!==W||N.indexType!==ee?s(Ch(W,ee),N):N}function Q0(N,W,ee,ke,dt,Bi){const au=ge(200);return au.readonlyToken=N,au.typeParameter=W,au.nameType=ee,au.questionToken=ke,au.type=dt,au.members=Bi&&oe(Bi),au.transformFlags=1,au.locals=void 0,au.nextContainer=void 0,au}function Cc(N,W,ee,ke,dt,Bi,au){return N.readonlyToken!==W||N.typeParameter!==ee||N.nameType!==ke||N.questionToken!==dt||N.type!==Bi||N.members!==au?s(Q0(W,ee,ke,dt,Bi,au),N):N}function $(N){const W=se(201);return W.literal=N,W.transformFlags=1,W}function tt(N,W){return N.literal!==W?s($(W),N):N}function vt(N){const W=se(206);return W.elements=oe(N),W.transformFlags|=Fs(W.elements)|1024|524288,W.transformFlags&32768&&(W.transformFlags|=65664),W}function mi(N,W){return N.elements!==W?s(vt(W),N):N}function fn(N){const W=se(207);return W.elements=oe(N),W.transformFlags|=Fs(W.elements)|1024|524288,W}function Wu(N,W){return N.elements!==W?s(fn(W),N):N}function uu(N,W,ee,ke){const dt=ge(208);return dt.dotDotDotToken=N,dt.propertyName=Mc(W),dt.name=Mc(ee),dt.initializer=hF(ke),dt.transformFlags|=ou(dt.dotDotDotToken)|Kx(dt.propertyName)|Kx(dt.name)|ou(dt.initializer)|(dt.dotDotDotToken?32768:0)|1024,dt.flowNode=void 0,dt}function Tu(N,W,ee,ke,dt){return N.propertyName!==ee||N.dotDotDotToken!==W||N.name!==ke||N.initializer!==dt?s(uu(W,ee,ke,dt),N):N}function Nr(N,W){const ee=se(209),ke=N&&qu(N),dt=oe(N,ke&&Fd(ke)?!0:void 0);return ee.elements=d().parenthesizeExpressionsOfCommaDelimitedList(dt),ee.multiLine=W,ee.transformFlags|=Fs(ee.elements),ee}function Vu(N,W){return N.elements!==W?s(Nr(W,N.multiLine),N):N}function Ss(N,W){const ee=ge(210);return ee.properties=oe(N),ee.multiLine=W,ee.transformFlags|=Fs(ee.properties),ee.jsDoc=void 0,ee}function ic(N,W){return N.properties!==W?s(Ss(W,N.multiLine),N):N}function nd(N,W,ee){const ke=ge(211);return ke.expression=N,ke.questionDotToken=W,ke.name=ee,ke.transformFlags=ou(ke.expression)|ou(ke.questionDotToken)|(at(ke.name)?pV(ke.name):ou(ke.name)|536870912),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function S0(N,W){const ee=nd(d().parenthesizeLeftSideOfAccess(N,!1),void 0,Mc(W));return HP(N)&&(ee.transformFlags|=384),ee}function ud(N,W,ee){return PU(N)?Bd(N,W,N.questionDotToken,Po(ee,at)):N.expression!==W||N.name!==ee?s(S0(W,ee),N):N}function m0(N,W,ee){const ke=nd(d().parenthesizeLeftSideOfAccess(N,!0),W,Mc(ee));return ke.flags|=64,ke.transformFlags|=32,ke}function Bd(N,W,ee,ke){return H.assert(!!(N.flags&64),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),N.expression!==W||N.questionDotToken!==ee||N.name!==ke?s(m0(W,ee,ke),N):N}function Oh(N,W,ee){const ke=ge(212);return ke.expression=N,ke.questionDotToken=W,ke.argumentExpression=ee,ke.transformFlags|=ou(ke.expression)|ou(ke.questionDotToken)|ou(ke.argumentExpression),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function uh(N,W){const ee=Oh(d().parenthesizeLeftSideOfAccess(N,!1),void 0,m6(W));return HP(N)&&(ee.transformFlags|=384),ee}function h4(N,W,ee){return Hse(N)?He(N,W,N.questionDotToken,ee):N.expression!==W||N.argumentExpression!==ee?s(uh(W,ee),N):N}function D1(N,W,ee){const ke=Oh(d().parenthesizeLeftSideOfAccess(N,!0),W,m6(ee));return ke.flags|=64,ke.transformFlags|=32,ke}function He(N,W,ee,ke){return H.assert(!!(N.flags&64),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),N.expression!==W||N.questionDotToken!==ee||N.argumentExpression!==ke?s(D1(W,ee,ke),N):N}function di(N,W,ee,ke){const dt=ge(213);return dt.expression=N,dt.questionDotToken=W,dt.typeArguments=ee,dt.arguments=ke,dt.transformFlags|=ou(dt.expression)|ou(dt.questionDotToken)|Fs(dt.typeArguments)|Fs(dt.arguments),dt.typeArguments&&(dt.transformFlags|=1),nf(dt.expression)&&(dt.transformFlags|=16384),dt}function Mn(N,W,ee){const ke=di(d().parenthesizeLeftSideOfAccess(N,!1),void 0,Ms(W),d().parenthesizeExpressionsOfCommaDelimitedList(oe(ee)));return KP(ke.expression)&&(ke.transformFlags|=8388608),ke}function ba(N,W,ee,ke){return $y(N)?To(N,W,N.questionDotToken,ee,ke):N.expression!==W||N.typeArguments!==ee||N.arguments!==ke?s(Mn(W,ee,ke),N):N}function Fo(N,W,ee,ke){const dt=di(d().parenthesizeLeftSideOfAccess(N,!0),W,Ms(ee),d().parenthesizeExpressionsOfCommaDelimitedList(oe(ke)));return dt.flags|=64,dt.transformFlags|=32,dt}function To(N,W,ee,ke,dt){return H.assert(!!(N.flags&64),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),N.expression!==W||N.questionDotToken!==ee||N.typeArguments!==ke||N.arguments!==dt?s(Fo(W,ee,ke,dt),N):N}function nc(N,W,ee){const ke=ge(214);return ke.expression=d().parenthesizeExpressionOfNew(N),ke.typeArguments=Ms(W),ke.arguments=ee?d().parenthesizeExpressionsOfCommaDelimitedList(ee):void 0,ke.transformFlags|=ou(ke.expression)|Fs(ke.typeArguments)|Fs(ke.arguments)|32,ke.typeArguments&&(ke.transformFlags|=1),ke}function fc(N,W,ee,ke){return N.expression!==W||N.typeArguments!==ee||N.arguments!==ke?s(nc(W,ee,ke),N):N}function Cl(N,W,ee){const ke=se(215);return ke.tag=d().parenthesizeLeftSideOfAccess(N,!1),ke.typeArguments=Ms(W),ke.template=ee,ke.transformFlags|=ou(ke.tag)|Fs(ke.typeArguments)|ou(ke.template)|1024,ke.typeArguments&&(ke.transformFlags|=1),Q0e(ke.template)&&(ke.transformFlags|=128),ke}function Tl(N,W,ee,ke){return N.tag!==W||N.typeArguments!==ee||N.template!==ke?s(Cl(W,ee,ke),N):N}function bc(N,W){const ee=se(216);return ee.expression=d().parenthesizeOperandOfPrefixUnary(W),ee.type=N,ee.transformFlags|=ou(ee.expression)|ou(ee.type)|1,ee}function ql(N,W,ee){return N.type!==W||N.expression!==ee?s(bc(W,ee),N):N}function Nc(N){const W=se(217);return W.expression=N,W.transformFlags=ou(W.expression),W.jsDoc=void 0,W}function ip(N,W){return N.expression!==W?s(Nc(W),N):N}function Jm(N,W,ee,ke,dt,Bi,au){const za=ge(218);za.modifiers=Ms(N),za.asteriskToken=W,za.name=Mc(ee),za.typeParameters=Ms(ke),za.parameters=oe(dt),za.type=Bi,za.body=au;const i0=tE(za.modifiers)&1024,Qm=!!za.asteriskToken,p6=i0&&Qm;return za.transformFlags=Fs(za.modifiers)|ou(za.asteriskToken)|Kx(za.name)|Fs(za.typeParameters)|Fs(za.parameters)|ou(za.type)|ou(za.body)&-67108865|(p6?128:i0?256:Qm?2048:0)|(za.typeParameters||za.type?1:0)|4194304,za.typeArguments=void 0,za.jsDoc=void 0,za.locals=void 0,za.nextContainer=void 0,za.flowNode=void 0,za.endFlowNode=void 0,za.returnFlowNode=void 0,za}function jh(N,W,ee,ke,dt,Bi,au,za){return N.name!==ke||N.modifiers!==W||N.asteriskToken!==ee||N.typeParameters!==dt||N.parameters!==Bi||N.type!==au||N.body!==za?ae(Jm(W,ee,ke,dt,Bi,au,za),N):N}function f4(N,W,ee,ke,dt,Bi){const au=ge(219);au.modifiers=Ms(N),au.typeParameters=Ms(W),au.parameters=oe(ee),au.type=ke,au.equalsGreaterThanToken=dt??Ie(39),au.body=d().parenthesizeConciseBodyOfArrowFunction(Bi);const za=tE(au.modifiers)&1024;return au.transformFlags=Fs(au.modifiers)|Fs(au.typeParameters)|Fs(au.parameters)|ou(au.type)|ou(au.equalsGreaterThanToken)|ou(au.body)&-67108865|(au.typeParameters||au.type?1:0)|(za?16640:0)|1024,au.typeArguments=void 0,au.jsDoc=void 0,au.locals=void 0,au.nextContainer=void 0,au.flowNode=void 0,au.endFlowNode=void 0,au.returnFlowNode=void 0,au}function c3(N,W,ee,ke,dt,Bi,au){return N.modifiers!==W||N.typeParameters!==ee||N.parameters!==ke||N.type!==dt||N.equalsGreaterThanToken!==Bi||N.body!==au?ae(f4(W,ee,ke,dt,Bi,au),N):N}function c_(N){const W=se(220);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression),W}function C5(N,W){return N.expression!==W?s(c_(W),N):N}function R1(N){const W=se(221);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression),W}function d3(N,W){return N.expression!==W?s(R1(W),N):N}function Wf(N){const W=se(222);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression),W}function m4(N,W){return N.expression!==W?s(Wf(W),N):N}function Vh(N){const W=se(223);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression)|256|128|2097152,W}function Ee(N,W){return N.expression!==W?s(Vh(W),N):N}function Bt(N,W){const ee=se(224);return ee.operator=N,ee.operand=d().parenthesizeOperandOfPrefixUnary(W),ee.transformFlags|=ou(ee.operand),(N===46||N===47)&&at(ee.operand)&&!al(ee.operand)&&!rD(ee.operand)&&(ee.transformFlags|=268435456),ee}function Di(N,W){return N.operand!==W?s(Bt(N.operator,W),N):N}function Ci(N,W){const ee=se(225);return ee.operator=W,ee.operand=d().parenthesizeOperandOfPostfixUnary(N),ee.transformFlags|=ou(ee.operand),at(ee.operand)&&!al(ee.operand)&&!rD(ee.operand)&&(ee.transformFlags|=268435456),ee}function Q(N,W){return N.operand!==W?s(Ci(W,N.operator),N):N}function Me(N,W,ee){const ke=ge(226),dt=gte(W),Bi=dt.kind;return ke.left=d().parenthesizeLeftSideOfBinary(Bi,N),ke.operatorToken=dt,ke.right=d().parenthesizeRightSideOfBinary(Bi,ke.left,ee),ke.transformFlags|=ou(ke.left)|ou(ke.operatorToken)|ou(ke.right),Bi===61?ke.transformFlags|=32:Bi===64?ys(ke.left)?ke.transformFlags|=5248|wt(ke.left):Dh(ke.left)&&(ke.transformFlags|=5120|wt(ke.left)):Bi===43||Bi===68?ke.transformFlags|=512:mP(Bi)&&(ke.transformFlags|=16),Bi===103&&ea(ke.left)&&(ke.transformFlags|=536870912),ke.jsDoc=void 0,ke}function wt(N){return VV(N)?65536:0}function ki(N,W,ee,ke){return N.left!==W||N.operatorToken!==ee||N.right!==ke?s(Me(W,ee,ke),N):N}function In(N,W,ee,ke,dt){const Bi=se(227);return Bi.condition=d().parenthesizeConditionOfConditionalExpression(N),Bi.questionToken=W??Ie(58),Bi.whenTrue=d().parenthesizeBranchOfConditionalExpression(ee),Bi.colonToken=ke??Ie(59),Bi.whenFalse=d().parenthesizeBranchOfConditionalExpression(dt),Bi.transformFlags|=ou(Bi.condition)|ou(Bi.questionToken)|ou(Bi.whenTrue)|ou(Bi.colonToken)|ou(Bi.whenFalse),Bi}function tr(N,W,ee,ke,dt,Bi){return N.condition!==W||N.questionToken!==ee||N.whenTrue!==ke||N.colonToken!==dt||N.whenFalse!==Bi?s(In(W,ee,ke,dt,Bi),N):N}function ir(N,W){const ee=se(228);return ee.head=N,ee.templateSpans=oe(W),ee.transformFlags|=ou(ee.head)|Fs(ee.templateSpans)|1024,ee}function ha(N,W,ee){return N.head!==W||N.templateSpans!==ee?s(ir(W,ee),N):N}function os(N,W,ee,ke=0){H.assert(!(ke&-7177),"Unsupported template flags.");let dt;if(ee!==void 0&&ee!==W&&(dt=kLt(N,ee),typeof dt=="object"))return H.fail("Invalid raw text");if(W===void 0){if(dt===void 0)return H.fail("Arguments 'text' and 'rawText' may not both be undefined.");W=dt}else dt!==void 0&&H.assert(W===dt,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return W}function ss(N){let W=1024;return N&&(W|=128),W}function Rl(N,W,ee,ke){const dt=Yt(N);return dt.text=W,dt.rawText=ee,dt.templateFlags=ke&7176,dt.transformFlags=ss(dt.templateFlags),dt}function x1(N,W,ee,ke){const dt=ge(N);return dt.text=W,dt.rawText=ee,dt.templateFlags=ke&7176,dt.transformFlags=ss(dt.templateFlags),dt}function fd(N,W,ee,ke){return N===15?x1(N,W,ee,ke):Rl(N,W,ee,ke)}function $m(N,W,ee){return N=os(16,N,W,ee),fd(16,N,W,ee)}function _s(N,W,ee){return N=os(16,N,W,ee),fd(17,N,W,ee)}function np(N,W,ee){return N=os(16,N,W,ee),fd(18,N,W,ee)}function Um(N,W,ee){return N=os(16,N,W,ee),x1(15,N,W,ee)}function h3(N,W){H.assert(!N||!!W,"A `YieldExpression` with an asteriskToken must have an expression.");const ee=se(229);return ee.expression=W&&d().parenthesizeExpressionForDisallowedComma(W),ee.asteriskToken=N,ee.transformFlags|=ou(ee.expression)|ou(ee.asteriskToken)|1024|128|1048576,ee}function d_(N,W,ee){return N.expression!==ee||N.asteriskToken!==W?s(h3(W,ee),N):N}function ia(N){const W=se(230);return W.expression=d().parenthesizeExpressionForDisallowedComma(N),W.transformFlags|=ou(W.expression)|1024|32768,W}function Xx(N,W){return N.expression!==W?s(ia(W),N):N}function e6(N,W,ee,ke,dt){const Bi=ge(231);return Bi.modifiers=Ms(N),Bi.name=Mc(W),Bi.typeParameters=Ms(ee),Bi.heritageClauses=Ms(ke),Bi.members=oe(dt),Bi.transformFlags|=Fs(Bi.modifiers)|Kx(Bi.name)|Fs(Bi.typeParameters)|Fs(Bi.heritageClauses)|Fs(Bi.members)|(Bi.typeParameters?1:0)|1024,Bi.jsDoc=void 0,Bi}function bg(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.heritageClauses!==dt||N.members!==Bi?s(e6(W,ee,ke,dt,Bi),N):N}function sb(){return se(232)}function b5(N,W){const ee=se(233);return ee.expression=d().parenthesizeLeftSideOfAccess(N,!1),ee.typeArguments=W&&d().parenthesizeTypeArguments(W),ee.transformFlags|=ou(ee.expression)|Fs(ee.typeArguments)|1024,ee}function Xe(N,W,ee){return N.expression!==W||N.typeArguments!==ee?s(b5(W,ee),N):N}function Dt(N,W){const ee=se(234);return ee.expression=N,ee.type=W,ee.transformFlags|=ou(ee.expression)|ou(ee.type)|1,ee}function oi(N,W,ee){return N.expression!==W||N.type!==ee?s(Dt(W,ee),N):N}function Ti(N){const W=se(235);return W.expression=d().parenthesizeLeftSideOfAccess(N,!1),W.transformFlags|=ou(W.expression)|1,W}function Xi(N,W){return zU(N)?kr(N,W):N.expression!==W?s(Ti(W),N):N}function Rn(N,W){const ee=se(238);return ee.expression=N,ee.type=W,ee.transformFlags|=ou(ee.expression)|ou(ee.type)|1,ee}function tn(N,W,ee){return N.expression!==W||N.type!==ee?s(Rn(W,ee),N):N}function bn(N){const W=se(235);return W.flags|=64,W.expression=d().parenthesizeLeftSideOfAccess(N,!0),W.transformFlags|=ou(W.expression)|1,W}function kr(N,W){return H.assert(!!(N.flags&64),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),N.expression!==W?s(bn(W),N):N}function Cu(N,W){const ee=se(236);switch(ee.keywordToken=N,ee.name=W,ee.transformFlags|=ou(ee.name),N){case 105:ee.transformFlags|=1024;break;case 102:ee.transformFlags|=32;break;default:return H.assertNever(N)}return ee.flowNode=void 0,ee}function bu(N,W){return N.name!==W?s(Cu(N.keywordToken,W),N):N}function Eu(N,W){const ee=se(239);return ee.expression=N,ee.literal=W,ee.transformFlags|=ou(ee.expression)|ou(ee.literal)|1024,ee}function sa(N,W,ee){return N.expression!==W||N.literal!==ee?s(Eu(W,ee),N):N}function p0(){const N=se(240);return N.transformFlags|=1024,N}function o0(N,W){const ee=se(241);return ee.statements=oe(N),ee.multiLine=W,ee.transformFlags|=Fs(ee.statements),ee.jsDoc=void 0,ee.locals=void 0,ee.nextContainer=void 0,ee}function Gf(N,W){return N.statements!==W?s(o0(W,N.multiLine),N):N}function eC(N,W){const ee=se(243);return ee.modifiers=Ms(N),ee.declarationList=Ha(W)?nC(W):W,ee.transformFlags|=Fs(ee.modifiers)|ou(ee.declarationList),tE(ee.modifiers)&128&&(ee.transformFlags=1),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function t6(N,W,ee){return N.modifiers!==W||N.declarationList!==ee?s(eC(W,ee),N):N}function cD(){const N=se(242);return N.jsDoc=void 0,N}function i6(N){const W=se(244);return W.expression=d().parenthesizeExpressionOfExpressionStatement(N),W.transformFlags|=ou(W.expression),W.jsDoc=void 0,W.flowNode=void 0,W}function Gk(N,W){return N.expression!==W?s(i6(W),N):N}function lb(N,W,ee){const ke=se(245);return ke.expression=N,ke.thenStatement=x_(W),ke.elseStatement=x_(ee),ke.transformFlags|=ou(ke.expression)|ou(ke.thenStatement)|ou(ke.elseStatement),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function Jk(N,W,ee,ke){return N.expression!==W||N.thenStatement!==ee||N.elseStatement!==ke?s(lb(W,ee,ke),N):N}function $k(N,W){const ee=se(246);return ee.statement=x_(N),ee.expression=W,ee.transformFlags|=ou(ee.statement)|ou(ee.expression),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function az(N,W,ee){return N.statement!==W||N.expression!==ee?s($k(W,ee),N):N}function D9(N,W){const ee=se(247);return ee.expression=N,ee.statement=x_(W),ee.transformFlags|=ou(ee.expression)|ou(ee.statement),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function ww(N,W,ee){return N.expression!==W||N.statement!==ee?s(D9(W,ee),N):N}function tC(N,W,ee,ke){const dt=se(248);return dt.initializer=N,dt.condition=W,dt.incrementor=ee,dt.statement=x_(ke),dt.transformFlags|=ou(dt.initializer)|ou(dt.condition)|ou(dt.incrementor)|ou(dt.statement),dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.flowNode=void 0,dt}function x9(N,W,ee,ke,dt){return N.initializer!==W||N.condition!==ee||N.incrementor!==ke||N.statement!==dt?s(tC(W,ee,ke,dt),N):N}function v9(N,W,ee){const ke=se(249);return ke.initializer=N,ke.expression=W,ke.statement=x_(ee),ke.transformFlags|=ou(ke.initializer)|ou(ke.expression)|ou(ke.statement),ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.flowNode=void 0,ke}function Tw(N,W,ee,ke){return N.initializer!==W||N.expression!==ee||N.statement!==ke?s(v9(W,ee,ke),N):N}function Uk(N,W,ee,ke){const dt=se(250);return dt.awaitModifier=N,dt.initializer=W,dt.expression=d().parenthesizeExpressionForDisallowedComma(ee),dt.statement=x_(ke),dt.transformFlags|=ou(dt.awaitModifier)|ou(dt.initializer)|ou(dt.expression)|ou(dt.statement)|1024,N&&(dt.transformFlags|=128),dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.flowNode=void 0,dt}function Lw(N,W,ee,ke,dt){return N.awaitModifier!==W||N.initializer!==ee||N.expression!==ke||N.statement!==dt?s(Uk(W,ee,ke,dt),N):N}function C9(N){const W=se(251);return W.label=Mc(N),W.transformFlags|=ou(W.label)|4194304,W.jsDoc=void 0,W.flowNode=void 0,W}function b9(N,W){return N.label!==W?s(C9(W),N):N}function qk(N){const W=se(252);return W.label=Mc(N),W.transformFlags|=ou(W.label)|4194304,W.jsDoc=void 0,W.flowNode=void 0,W}function cb(N,W){return N.label!==W?s(qk(W),N):N}function db(N){const W=se(253);return W.expression=N,W.transformFlags|=ou(W.expression)|128|4194304,W.jsDoc=void 0,W.flowNode=void 0,W}function iC(N,W){return N.expression!==W?s(db(W),N):N}function y5(N,W){const ee=se(254);return ee.expression=N,ee.statement=x_(W),ee.transformFlags|=ou(ee.expression)|ou(ee.statement),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function hb(N,W,ee){return N.expression!==W||N.statement!==ee?s(y5(W,ee),N):N}function fE(N,W){const ee=se(255);return ee.expression=d().parenthesizeExpressionForDisallowedComma(N),ee.caseBlock=W,ee.transformFlags|=ou(ee.expression)|ou(ee.caseBlock),ee.jsDoc=void 0,ee.flowNode=void 0,ee.possiblyExhaustive=!1,ee}function Vs(N,W,ee){return N.expression!==W||N.caseBlock!==ee?s(fE(W,ee),N):N}function Zk(N,W){const ee=se(256);return ee.label=Mc(N),ee.statement=x_(W),ee.transformFlags|=ou(ee.label)|ou(ee.statement),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function Nw(N,W,ee){return N.label!==W||N.statement!==ee?s(Zk(W,ee),N):N}function n6(N){const W=se(257);return W.expression=N,W.transformFlags|=ou(W.expression),W.jsDoc=void 0,W.flowNode=void 0,W}function k5(N,W){return N.expression!==W?s(n6(W),N):N}function h_(N,W,ee){const ke=se(258);return ke.tryBlock=N,ke.catchClause=W,ke.finallyBlock=ee,ke.transformFlags|=ou(ke.tryBlock)|ou(ke.catchClause)|ou(ke.finallyBlock),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function p4(N,W,ee,ke){return N.tryBlock!==W||N.catchClause!==ee||N.finallyBlock!==ke?s(h_(W,ee,ke),N):N}function Jf(){const N=se(259);return N.jsDoc=void 0,N.flowNode=void 0,N}function Hh(N,W,ee,ke){const dt=ge(260);return dt.name=Mc(N),dt.exclamationToken=W,dt.type=ee,dt.initializer=hF(ke),dt.transformFlags|=Kx(dt.name)|ou(dt.initializer)|(dt.exclamationToken??dt.type?1:0),dt.jsDoc=void 0,dt}function Em(N,W,ee,ke,dt){return N.name!==W||N.type!==ke||N.exclamationToken!==ee||N.initializer!==dt?s(Hh(W,ee,ke,dt),N):N}function nC(N,W=0){const ee=se(261);return ee.flags|=W&7,ee.declarations=oe(N),ee.transformFlags|=Fs(ee.declarations)|4194304,W&7&&(ee.transformFlags|=263168),W&4&&(ee.transformFlags|=4),ee}function Pw(N,W){return N.declarations!==W?s(nC(W,N.flags),N):N}function y9(N,W,ee,ke,dt,Bi,au){const za=ge(262);if(za.modifiers=Ms(N),za.asteriskToken=W,za.name=Mc(ee),za.typeParameters=Ms(ke),za.parameters=oe(dt),za.type=Bi,za.body=au,!za.body||tE(za.modifiers)&128)za.transformFlags=1;else{const i0=tE(za.modifiers)&1024,Qm=!!za.asteriskToken,p6=i0&&Qm;za.transformFlags=Fs(za.modifiers)|ou(za.asteriskToken)|Kx(za.name)|Fs(za.typeParameters)|Fs(za.parameters)|ou(za.type)|ou(za.body)&-67108865|(p6?128:i0?256:Qm?2048:0)|(za.typeParameters||za.type?1:0)|4194304}return za.typeArguments=void 0,za.jsDoc=void 0,za.locals=void 0,za.nextContainer=void 0,za.endFlowNode=void 0,za.returnFlowNode=void 0,za}function Yk(N,W,ee,ke,dt,Bi,au,za){return N.modifiers!==W||N.asteriskToken!==ee||N.name!==ke||N.typeParameters!==dt||N.parameters!==Bi||N.type!==au||N.body!==za?fb(y9(W,ee,ke,dt,Bi,au,za),N):N}function fb(N,W){return N!==W&&N.modifiers===W.modifiers&&(N.modifiers=W.modifiers),ae(N,W)}function uC(N,W,ee,ke,dt){const Bi=ge(263);return Bi.modifiers=Ms(N),Bi.name=Mc(W),Bi.typeParameters=Ms(ee),Bi.heritageClauses=Ms(ke),Bi.members=oe(dt),tE(Bi.modifiers)&128?Bi.transformFlags=1:(Bi.transformFlags|=Fs(Bi.modifiers)|Kx(Bi.name)|Fs(Bi.typeParameters)|Fs(Bi.heritageClauses)|Fs(Bi.members)|(Bi.typeParameters?1:0)|1024,Bi.transformFlags&8192&&(Bi.transformFlags|=1)),Bi.jsDoc=void 0,Bi}function Qk(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.heritageClauses!==dt||N.members!==Bi?s(uC(W,ee,ke,dt,Bi),N):N}function rC(N,W,ee,ke,dt){const Bi=ge(264);return Bi.modifiers=Ms(N),Bi.name=Mc(W),Bi.typeParameters=Ms(ee),Bi.heritageClauses=Ms(ke),Bi.members=oe(dt),Bi.transformFlags=1,Bi.jsDoc=void 0,Bi}function jd(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.heritageClauses!==dt||N.members!==Bi?s(rC(W,ee,ke,dt,Bi),N):N}function F5(N,W,ee,ke){const dt=ge(265);return dt.modifiers=Ms(N),dt.name=Mc(W),dt.typeParameters=Ms(ee),dt.type=ke,dt.transformFlags=1,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt}function A5(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.type!==dt?s(F5(W,ee,ke,dt),N):N}function f3(N,W,ee){const ke=ge(266);return ke.modifiers=Ms(N),ke.name=Mc(W),ke.members=oe(ee),ke.transformFlags|=Fs(ke.modifiers)|ou(ke.name)|Fs(ke.members)|1,ke.transformFlags&=-67108865,ke.jsDoc=void 0,ke}function pt(N,W,ee,ke){return N.modifiers!==W||N.name!==ee||N.members!==ke?s(f3(W,ee,ke),N):N}function i1(N,W,ee,ke=0){const dt=ge(267);return dt.modifiers=Ms(N),dt.flags|=ke&2088,dt.name=W,dt.body=ee,tE(dt.modifiers)&128?dt.transformFlags=1:dt.transformFlags|=Fs(dt.modifiers)|ou(dt.name)|ou(dt.body)|1,dt.transformFlags&=-67108865,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt}function g4(N,W,ee,ke){return N.modifiers!==W||N.name!==ee||N.body!==ke?s(i1(W,ee,ke,N.flags),N):N}function bh(N){const W=se(268);return W.statements=oe(N),W.transformFlags|=Fs(W.statements),W.jsDoc=void 0,W}function Mw(N,W){return N.statements!==W?s(bh(W),N):N}function S5(N){const W=se(269);return W.clauses=oe(N),W.transformFlags|=Fs(W.clauses),W.locals=void 0,W.nextContainer=void 0,W}function aC(N,W){return N.clauses!==W?s(S5(W),N):N}function m3(N){const W=ge(270);return W.name=Mc(N),W.transformFlags|=pV(W.name)|1,W.modifiers=void 0,W.jsDoc=void 0,W}function oz(N,W){return N.name!==W?Hs(m3(W),N):N}function Hs(N,W){return N!==W&&(N.modifiers=W.modifiers),s(N,W)}function yg(N,W,ee,ke){const dt=ge(271);return dt.modifiers=Ms(N),dt.name=Mc(ee),dt.isTypeOnly=W,dt.moduleReference=ke,dt.transformFlags|=Fs(dt.modifiers)|pV(dt.name)|ou(dt.moduleReference),r_(dt.moduleReference)||(dt.transformFlags|=1),dt.transformFlags&=-67108865,dt.jsDoc=void 0,dt}function Xk(N,W,ee,ke,dt){return N.modifiers!==W||N.isTypeOnly!==ee||N.name!==ke||N.moduleReference!==dt?s(yg(W,ee,ke,dt),N):N}function eF(N,W,ee,ke){const dt=se(272);return dt.modifiers=Ms(N),dt.importClause=W,dt.moduleSpecifier=ee,dt.attributes=dt.assertClause=ke,dt.transformFlags|=ou(dt.importClause)|ou(dt.moduleSpecifier),dt.transformFlags&=-67108865,dt.jsDoc=void 0,dt}function mb(N,W,ee,ke,dt){return N.modifiers!==W||N.importClause!==ee||N.moduleSpecifier!==ke||N.attributes!==dt?s(eF(W,ee,ke,dt),N):N}function pb(N,W,ee){const ke=ge(273);return ke.isTypeOnly=N,ke.name=W,ke.namedBindings=ee,ke.transformFlags|=ou(ke.name)|ou(ke.namedBindings),N&&(ke.transformFlags|=1),ke.transformFlags&=-67108865,ke}function up(N,W,ee,ke){return N.isTypeOnly!==W||N.name!==ee||N.namedBindings!==ke?s(pb(W,ee,ke),N):N}function kg(N,W){const ee=se(300);return ee.elements=oe(N),ee.multiLine=W,ee.token=132,ee.transformFlags|=4,ee}function p3(N,W,ee){return N.elements!==W||N.multiLine!==ee?s(kg(W,ee),N):N}function tF(N,W){const ee=se(301);return ee.name=N,ee.value=W,ee.transformFlags|=4,ee}function mE(N,W,ee){return N.name!==W||N.value!==ee?s(tF(W,ee),N):N}function iF(N,W){const ee=se(302);return ee.assertClause=N,ee.multiLine=W,ee}function zw(N,W,ee){return N.assertClause!==W||N.multiLine!==ee?s(iF(W,ee),N):N}function Ur(N,W,ee){const ke=se(300);return ke.token=ee??118,ke.elements=oe(N),ke.multiLine=W,ke.transformFlags|=4,ke}function ar(N,W,ee){return N.elements!==W||N.multiLine!==ee?s(Ur(W,ee,N.token),N):N}function pE(N,W){const ee=se(301);return ee.name=N,ee.value=W,ee.transformFlags|=4,ee}function kf(N,W,ee){return N.name!==W||N.value!==ee?s(pE(W,ee),N):N}function Iw(N){const W=ge(274);return W.name=N,W.transformFlags|=ou(W.name),W.transformFlags&=-67108865,W}function B5(N,W){return N.name!==W?s(Iw(W),N):N}function Rw(N){const W=ge(280);return W.name=N,W.transformFlags|=ou(W.name)|32,W.transformFlags&=-67108865,W}function gb(N,W){return N.name!==W?s(Rw(W),N):N}function uc(N){const W=se(275);return W.elements=oe(N),W.transformFlags|=Fs(W.elements),W.transformFlags&=-67108865,W}function yh(N,W){return N.elements!==W?s(uc(W),N):N}function dD(N,W,ee){const ke=ge(276);return ke.isTypeOnly=N,ke.propertyName=W,ke.name=ee,ke.transformFlags|=ou(ke.propertyName)|ou(ke.name),ke.transformFlags&=-67108865,ke}function f_(N,W,ee,ke){return N.isTypeOnly!==W||N.propertyName!==ee||N.name!==ke?s(dD(W,ee,ke),N):N}function g3(N,W,ee){const ke=ge(277);return ke.modifiers=Ms(N),ke.isExportEquals=W,ke.expression=W?d().parenthesizeRightSideOfBinary(64,void 0,ee):d().parenthesizeExpressionOfExportDefault(ee),ke.transformFlags|=Fs(ke.modifiers)|ou(ke.expression),ke.transformFlags&=-67108865,ke.jsDoc=void 0,ke}function $p(N,W,ee){return N.modifiers!==W||N.expression!==ee?s(g3(W,N.isExportEquals,ee),N):N}function oC(N,W,ee,ke,dt){const Bi=ge(278);return Bi.modifiers=Ms(N),Bi.isTypeOnly=W,Bi.exportClause=ee,Bi.moduleSpecifier=ke,Bi.attributes=Bi.assertClause=dt,Bi.transformFlags|=Fs(Bi.modifiers)|ou(Bi.exportClause)|ou(Bi.moduleSpecifier),Bi.transformFlags&=-67108865,Bi.jsDoc=void 0,Bi}function E3(N,W,ee,ke,dt,Bi){return N.modifiers!==W||N.isTypeOnly!==ee||N.exportClause!==ke||N.moduleSpecifier!==dt||N.attributes!==Bi?Ow(oC(W,ee,ke,dt,Bi),N):N}function Ow(N,W){return N!==W&&N.modifiers===W.modifiers&&(N.modifiers=W.modifiers),s(N,W)}function m_(N){const W=se(279);return W.elements=oe(N),W.transformFlags|=Fs(W.elements),W.transformFlags&=-67108865,W}function jw(N,W){return N.elements!==W?s(m_(W),N):N}function gE(N,W,ee){const ke=se(281);return ke.isTypeOnly=N,ke.propertyName=Mc(W),ke.name=Mc(ee),ke.transformFlags|=ou(ke.propertyName)|ou(ke.name),ke.transformFlags&=-67108865,ke.jsDoc=void 0,ke}function p_(N,W,ee,ke){return N.isTypeOnly!==W||N.propertyName!==ee||N.name!==ke?s(gE(W,ee,ke),N):N}function w5(){const N=ge(282);return N.jsDoc=void 0,N}function Vw(N){const W=se(283);return W.expression=N,W.transformFlags|=ou(W.expression),W.transformFlags&=-67108865,W}function k9(N,W){return N.expression!==W?s(Vw(W),N):N}function sz(N){return se(N)}function F9(N,W,ee=!1){const ke=B0(N,ee?W&&d().parenthesizeNonArrayTypeOfPostfixType(W):W);return ke.postfix=ee,ke}function B0(N,W){const ee=se(N);return ee.type=W,ee}function Eb(N,W,ee){return W.type!==ee?s(F9(N,ee,W.postfix),W):W}function A9(N,W,ee){return W.type!==ee?s(B0(N,ee),W):W}function rp(N,W){const ee=ge(324);return ee.parameters=Ms(N),ee.type=W,ee.transformFlags=Fs(ee.parameters)|(ee.type?1:0),ee.jsDoc=void 0,ee.locals=void 0,ee.nextContainer=void 0,ee.typeArguments=void 0,ee}function sC(N,W,ee){return N.parameters!==W||N.type!==ee?s(rp(W,ee),N):N}function S9(N,W=!1){const ee=ge(329);return ee.jsDocPropertyTags=Ms(N),ee.isArrayType=W,ee}function lz(N,W,ee){return N.jsDocPropertyTags!==W||N.isArrayType!==ee?s(S9(W,ee),N):N}function nF(N){const W=se(316);return W.type=N,W}function ru(N,W){return N.type!==W?s(nF(W),N):N}function v1(N,W,ee){const ke=ge(330);return ke.typeParameters=Ms(N),ke.parameters=oe(W),ke.type=ee,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke}function Ma(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?s(v1(W,ee,ke),N):N}function lf(N){const W=ice(N.kind);return N.tagName.escapedText===Al(W)?N.tagName:Ge(W)}function EE(N,W,ee){const ke=se(N);return ke.tagName=W,ke.comment=ee,ke}function ap(N,W,ee){const ke=ge(N);return ke.tagName=W,ke.comment=ee,ke}function Un(N,W,ee,ke){const dt=EE(352,N??Ge("template"),ke);return dt.constraint=W,dt.typeParameters=oe(ee),dt}function _b(N,W=lf(N),ee,ke,dt){return N.tagName!==W||N.constraint!==ee||N.typeParameters!==ke||N.comment!==dt?s(Un(W,ee,ke,dt),N):N}function lC(N,W,ee,ke){const dt=ap(353,N??Ge("typedef"),ke);return dt.typeExpression=W,dt.fullName=ee,dt.name=Vce(ee),dt.locals=void 0,dt.nextContainer=void 0,dt}function wd(N,W=lf(N),ee,ke,dt){return N.tagName!==W||N.typeExpression!==ee||N.fullName!==ke||N.comment!==dt?s(lC(W,ee,ke,dt),N):N}function _E(N,W,ee,ke,dt,Bi){const au=ap(348,N??Ge("param"),Bi);return au.typeExpression=ke,au.name=W,au.isNameFirst=!!dt,au.isBracketed=ee,au}function DE(N,W=lf(N),ee,ke,dt,Bi,au){return N.tagName!==W||N.name!==ee||N.isBracketed!==ke||N.typeExpression!==dt||N.isNameFirst!==Bi||N.comment!==au?s(_E(W,ee,ke,dt,Bi,au),N):N}function u6(N,W,ee,ke,dt,Bi){const au=ap(355,N??Ge("prop"),Bi);return au.typeExpression=ke,au.name=W,au.isNameFirst=!!dt,au.isBracketed=ee,au}function B9(N,W=lf(N),ee,ke,dt,Bi,au){return N.tagName!==W||N.name!==ee||N.isBracketed!==ke||N.typeExpression!==dt||N.isNameFirst!==Bi||N.comment!==au?s(u6(W,ee,ke,dt,Bi,au),N):N}function hD(N,W,ee,ke){const dt=ap(345,N??Ge("callback"),ke);return dt.typeExpression=W,dt.fullName=ee,dt.name=Vce(ee),dt.locals=void 0,dt.nextContainer=void 0,dt}function cC(N,W=lf(N),ee,ke,dt){return N.tagName!==W||N.typeExpression!==ee||N.fullName!==ke||N.comment!==dt?s(hD(W,ee,ke,dt),N):N}function dC(N,W,ee){const ke=EE(346,N??Ge("overload"),ee);return ke.typeExpression=W,ke}function _3(N,W=lf(N),ee,ke){return N.tagName!==W||N.typeExpression!==ee||N.comment!==ke?s(dC(W,ee,ke),N):N}function g_(N,W,ee){const ke=EE(335,N??Ge("augments"),ee);return ke.class=W,ke}function uF(N,W=lf(N),ee,ke){return N.tagName!==W||N.class!==ee||N.comment!==ke?s(g_(W,ee,ke),N):N}function fD(N,W,ee){const ke=EE(336,N??Ge("implements"),ee);return ke.class=W,ke}function r6(N,W,ee){const ke=EE(354,N??Ge("see"),ee);return ke.name=W,ke}function Db(N,W,ee,ke){return N.tagName!==W||N.name!==ee||N.comment!==ke?s(r6(W,ee,ke),N):N}function w9(N){const W=se(317);return W.name=N,W}function rF(N,W){return N.name!==W?s(w9(W),N):N}function xb(N,W){const ee=se(318);return ee.left=N,ee.right=W,ee.transformFlags|=ou(ee.left)|ou(ee.right),ee}function E4(N,W,ee){return N.left!==W||N.right!==ee?s(xb(W,ee),N):N}function hC(N,W){const ee=se(331);return ee.name=N,ee.text=W,ee}function yc(N,W,ee){return N.name!==W?s(hC(W,ee),N):N}function md(N,W){const ee=se(332);return ee.name=N,ee.text=W,ee}function T9(N,W,ee){return N.name!==W?s(md(W,ee),N):N}function O1(N,W){const ee=se(333);return ee.name=N,ee.text=W,ee}function Ff(N,W,ee){return N.name!==W?s(O1(W,ee),N):N}function vb(N,W=lf(N),ee,ke){return N.tagName!==W||N.class!==ee||N.comment!==ke?s(fD(W,ee,ke),N):N}function _4(N,W,ee){return EE(N,W??Ge(ice(N)),ee)}function fC(N,W,ee=lf(W),ke){return W.tagName!==ee||W.comment!==ke?s(_4(N,ee,ke),W):W}function T5(N,W,ee,ke){const dt=EE(N,W??Ge(ice(N)),ke);return dt.typeExpression=ee,dt}function n1(N,W,ee=lf(W),ke,dt){return W.tagName!==ee||W.typeExpression!==ke||W.comment!==dt?s(T5(N,ee,ke,dt),W):W}function aF(N,W){return EE(334,N,W)}function op(N,W,ee){return N.tagName!==W||N.comment!==ee?s(aF(W,ee),N):N}function a6(N,W,ee){const ke=ap(347,N??Ge(ice(347)),ee);return ke.typeExpression=W,ke.locals=void 0,ke.nextContainer=void 0,ke}function Hw(N,W=lf(N),ee,ke){return N.tagName!==W||N.typeExpression!==ee||N.comment!==ke?s(a6(W,ee,ke),N):N}function R0(N){const W=se(328);return W.text=N,W}function Kw(N,W){return N.text!==W?s(R0(W),N):N}function oF(N,W){const ee=se(327);return ee.comment=N,ee.tags=Ms(W),ee}function mC(N,W,ee){return N.comment!==W||N.tags!==ee?s(oF(W,ee),N):N}function L9(N,W,ee){const ke=se(284);return ke.openingElement=N,ke.children=oe(W),ke.closingElement=ee,ke.transformFlags|=ou(ke.openingElement)|Fs(ke.children)|ou(ke.closingElement)|2,ke}function Kh(N,W,ee,ke){return N.openingElement!==W||N.children!==ee||N.closingElement!==ke?s(L9(W,ee,ke),N):N}function D3(N,W,ee){const ke=se(285);return ke.tagName=N,ke.typeArguments=Ms(W),ke.attributes=ee,ke.transformFlags|=ou(ke.tagName)|Fs(ke.typeArguments)|ou(ke.attributes)|2,ke.typeArguments&&(ke.transformFlags|=1),ke}function mD(N,W,ee,ke){return N.tagName!==W||N.typeArguments!==ee||N.attributes!==ke?s(D3(W,ee,ke),N):N}function Cb(N,W,ee){const ke=se(286);return ke.tagName=N,ke.typeArguments=Ms(W),ke.attributes=ee,ke.transformFlags|=ou(ke.tagName)|Fs(ke.typeArguments)|ou(ke.attributes)|2,W&&(ke.transformFlags|=1),ke}function _m(N,W,ee,ke){return N.tagName!==W||N.typeArguments!==ee||N.attributes!==ke?s(Cb(W,ee,ke),N):N}function N9(N){const W=se(287);return W.tagName=N,W.transformFlags|=ou(W.tagName)|2,W}function o6(N,W){return N.tagName!==W?s(N9(W),N):N}function qm(N,W,ee){const ke=se(288);return ke.openingFragment=N,ke.children=oe(W),ke.closingFragment=ee,ke.transformFlags|=ou(ke.openingFragment)|Fs(ke.children)|ou(ke.closingFragment)|2,ke}function bb(N,W,ee,ke){return N.openingFragment!==W||N.children!==ee||N.closingFragment!==ke?s(qm(W,ee,ke),N):N}function L5(N,W){const ee=se(12);return ee.text=N,ee.containsOnlyTriviaWhiteSpaces=!!W,ee.transformFlags|=2,ee}function cz(N,W,ee){return N.text!==W||N.containsOnlyTriviaWhiteSpaces!==ee?s(L5(W,ee),N):N}function P9(){const N=se(289);return N.transformFlags|=2,N}function M9(){const N=se(290);return N.transformFlags|=2,N}function z9(N,W){const ee=ge(291);return ee.name=N,ee.initializer=W,ee.transformFlags|=ou(ee.name)|ou(ee.initializer)|2,ee}function pC(N,W,ee){return N.name!==W||N.initializer!==ee?s(z9(W,ee),N):N}function $f(N){const W=ge(292);return W.properties=oe(N),W.transformFlags|=Fs(W.properties)|2,W}function x3(N,W){return N.properties!==W?s($f(W),N):N}function I9(N){const W=se(293);return W.expression=N,W.transformFlags|=ou(W.expression)|2,W}function R9(N,W){return N.expression!==W?s(I9(W),N):N}function Ks(N,W){const ee=se(294);return ee.dotDotDotToken=N,ee.expression=W,ee.transformFlags|=ou(ee.dotDotDotToken)|ou(ee.expression)|2,ee}function _u(N,W){return N.expression!==W?s(Ks(N.dotDotDotToken,W),N):N}function Dm(N,W){const ee=se(295);return ee.namespace=N,ee.name=W,ee.transformFlags|=ou(ee.namespace)|ou(ee.name)|2,ee}function cf(N,W,ee){return N.namespace!==W||N.name!==ee?s(Dm(W,ee),N):N}function yb(N,W){const ee=se(296);return ee.expression=d().parenthesizeExpressionForDisallowedComma(N),ee.statements=oe(W),ee.transformFlags|=ou(ee.expression)|Fs(ee.statements),ee.jsDoc=void 0,ee}function Ww(N,W,ee){return N.expression!==W||N.statements!==ee?s(yb(W,ee),N):N}function gC(N){const W=se(297);return W.statements=oe(N),W.transformFlags=Fs(W.statements),W}function kb(N,W){return N.statements!==W?s(gC(W),N):N}function s6(N,W){const ee=se(298);switch(ee.token=N,ee.types=oe(W),ee.transformFlags|=Fs(ee.types),N){case 96:ee.transformFlags|=1024;break;case 119:ee.transformFlags|=1;break;default:return H.assertNever(N)}return ee}function Zm(N,W){return N.types!==W?s(s6(N.token,W),N):N}function sp(N,W){const ee=se(299);return ee.variableDeclaration=V9(N),ee.block=W,ee.transformFlags|=ou(ee.variableDeclaration)|ou(ee.block)|(N?0:64),ee.locals=void 0,ee.nextContainer=void 0,ee}function l6(N,W,ee){return N.variableDeclaration!==W||N.block!==ee?s(sp(W,ee),N):N}function Up(N,W){const ee=ge(303);return ee.name=Mc(N),ee.initializer=d().parenthesizeExpressionForDisallowedComma(W),ee.transformFlags|=Kx(ee.name)|ou(ee.initializer),ee.modifiers=void 0,ee.questionToken=void 0,ee.exclamationToken=void 0,ee.jsDoc=void 0,ee}function lp(N,W,ee){return N.name!==W||N.initializer!==ee?N5(Up(W,ee),N):N}function N5(N,W){return N!==W&&(N.modifiers=W.modifiers,N.questionToken=W.questionToken,N.exclamationToken=W.exclamationToken),s(N,W)}function Fb(N,W){const ee=ge(304);return ee.name=Mc(N),ee.objectAssignmentInitializer=W&&d().parenthesizeExpressionForDisallowedComma(W),ee.transformFlags|=pV(ee.name)|ou(ee.objectAssignmentInitializer)|1024,ee.equalsToken=void 0,ee.modifiers=void 0,ee.questionToken=void 0,ee.exclamationToken=void 0,ee.jsDoc=void 0,ee}function Pc(N,W,ee){return N.name!==W||N.objectAssignmentInitializer!==ee?dz(Fb(W,ee),N):N}function dz(N,W){return N!==W&&(N.modifiers=W.modifiers,N.questionToken=W.questionToken,N.exclamationToken=W.exclamationToken,N.equalsToken=W.equalsToken),s(N,W)}function D4(N){const W=ge(305);return W.expression=d().parenthesizeExpressionForDisallowedComma(N),W.transformFlags|=ou(W.expression)|128|65536,W.jsDoc=void 0,W}function Gw(N,W){return N.expression!==W?s(D4(W),N):N}function j1(N,W){const ee=ge(306);return ee.name=Mc(N),ee.initializer=W&&d().parenthesizeExpressionForDisallowedComma(W),ee.transformFlags|=ou(ee.name)|ou(ee.initializer)|1,ee.jsDoc=void 0,ee}function EC(N,W,ee){return N.name!==W||N.initializer!==ee?s(j1(W,ee),N):N}function Ab(N,W,ee){const ke=u.createBaseSourceFileNode(312);return ke.statements=oe(N),ke.endOfFileToken=W,ke.flags|=ee,ke.text="",ke.fileName="",ke.path="",ke.resolvedPath="",ke.originalFileName="",ke.languageVersion=0,ke.languageVariant=0,ke.scriptKind=0,ke.isDeclarationFile=!1,ke.hasNoDefaultLib=!1,ke.transformFlags|=Fs(ke.statements)|ou(ke.endOfFileToken),ke.locals=void 0,ke.nextContainer=void 0,ke.endFlowNode=void 0,ke.nodeCount=0,ke.identifierCount=0,ke.symbolCount=0,ke.parseDiagnostics=void 0,ke.bindDiagnostics=void 0,ke.bindSuggestionDiagnostics=void 0,ke.lineMap=void 0,ke.externalModuleIndicator=void 0,ke.setExternalModuleIndicator=void 0,ke.pragmas=void 0,ke.checkJsDirective=void 0,ke.referencedFiles=void 0,ke.typeReferenceDirectives=void 0,ke.libReferenceDirectives=void 0,ke.amdDependencies=void 0,ke.commentDirectives=void 0,ke.identifiers=void 0,ke.packageJsonLocations=void 0,ke.packageJsonScope=void 0,ke.imports=void 0,ke.moduleAugmentations=void 0,ke.ambientModuleNames=void 0,ke.classifiableNames=void 0,ke.impliedNodeFormat=void 0,ke}function sF(N){const W=Object.create(N.redirectTarget);return Object.defineProperties(W,{id:{get(){return this.redirectInfo.redirectTarget.id},set(ee){this.redirectInfo.redirectTarget.id=ee}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(ee){this.redirectInfo.redirectTarget.symbol=ee}}}),W.redirectInfo=N,W}function Jw(N){const W=sF(N.redirectInfo);return W.flags|=N.flags&-17,W.fileName=N.fileName,W.path=N.path,W.resolvedPath=N.resolvedPath,W.originalFileName=N.originalFileName,W.packageJsonLocations=N.packageJsonLocations,W.packageJsonScope=N.packageJsonScope,W.emitNode=void 0,W}function x4(N){const W=u.createBaseSourceFileNode(312);W.flags|=N.flags&-17;for(const ee in N)if(!(gu(W,ee)||!gu(N,ee))){if(ee==="emitNode"){W.emitNode=void 0;continue}W[ee]=N[ee]}return W}function Ol(N){const W=N.redirectInfo?Jw(N):x4(N);return su(W,N),W}function xE(N,W,ee,ke,dt,Bi,au){const za=Ol(N);return za.statements=oe(W),za.isDeclarationFile=ee,za.referencedFiles=ke,za.typeReferenceDirectives=dt,za.hasNoDefaultLib=Bi,za.libReferenceDirectives=au,za.transformFlags=Fs(za.statements)|ou(za.endOfFileToken),za}function c6(N,W,ee=N.isDeclarationFile,ke=N.referencedFiles,dt=N.typeReferenceDirectives,Bi=N.hasNoDefaultLib,au=N.libReferenceDirectives){return N.statements!==W||N.isDeclarationFile!==ee||N.referencedFiles!==ke||N.typeReferenceDirectives!==dt||N.hasNoDefaultLib!==Bi||N.libReferenceDirectives!==au?s(xE(N,W,ee,ke,dt,Bi,au),N):N}function v3(N,W=_t){const ee=se(313);return ee.prepends=W,ee.sourceFiles=N,ee.syntheticFileReferences=void 0,ee.syntheticTypeReferences=void 0,ee.syntheticLibReferences=void 0,ee.hasNoDefaultLib=void 0,ee}function _C(N,W,ee=_t){return N.sourceFiles!==W||N.prepends!==ee?s(v3(W,ee),N):N}function $w(N,W,ee){const ke=se(314);return ke.prologues=N,ke.syntheticReferences=W,ke.texts=ee,ke.fileName="",ke.text="",ke.referencedFiles=_t,ke.libReferenceDirectives=_t,ke.getLineAndCharacterOfPosition=dt=>s0(ke,dt),ke}function d6(N,W){const ee=se(N);return ee.data=W,ee}function R(N){return d6(307,N)}function be(N,W){const ee=d6(308,N);return ee.texts=W,ee}function Ht(N,W){return d6(W?310:309,N)}function Oi(N){const W=se(311);return W.data=N.data,W.section=N,W}function yu(){const N=se(315);return N.javascriptText="",N.declarationText="",N}function Jr(N,W=!1,ee){const ke=se(237);return ke.type=N,ke.isSpread=W,ke.tupleNameSource=ee,ke}function br(N){const W=se(358);return W._children=N,W}function Ea(N){const W=se(359);return W.original=N,Pt(W,N),W}function Ao(N,W){const ee=se(360);return ee.expression=N,ee.original=W,ee.transformFlags|=ou(ee.expression)|1,Pt(ee,W),ee}function Af(N,W){return N.expression!==W?s(Ao(W,N.original),N):N}function Uf(N){if(sl(N)&&!zN(N)&&!N.original&&!N.emitNode&&!N.id){if(UP(N))return N.elements;if(Xn(N)&&Zke(N.operatorToken))return[N.left,N.right]}return N}function Fr(N){const W=se(361);return W.elements=oe(z0(N,Uf)),W.transformFlags|=Fs(W.elements),W}function vE(N,W){return N.elements!==W?s(Fr(W),N):N}function gn(N,W){const ee=se(362);return ee.expression=N,ee.thisArg=W,ee.transformFlags|=ou(ee.expression)|ou(ee.thisArg),ee}function h6(N,W,ee){return N.expression!==W||N.thisArg!==ee?s(gn(W,ee),N):N}function P5(N){const W=xe(N.escapedText);return W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N),xV(W,{...N.emitNode.autoGenerate}),W}function lF(N){const W=xe(N.escapedText);W.flags|=N.flags&-17,W.jsDoc=N.jsDoc,W.flowNode=N.flowNode,W.symbol=N.symbol,W.transformFlags=N.transformFlags,su(W,N);const ee=gk(N);return ee&&l5(W,ee),W}function DC(N){const W=ft(N.escapedText);return W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N),xV(W,{...N.emitNode.autoGenerate}),W}function O9(N){const W=ft(N.escapedText);return W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N),W}function cF(N){if(N===void 0)return N;if(la(N))return Ol(N);if(al(N))return P5(N);if(at(N))return lF(N);if(Uy(N))return DC(N);if(ea(N))return O9(N);const W=GO(N.kind)?u.createBaseNode(N.kind):u.createBaseTokenNode(N.kind);W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N);for(const ee in N)gu(W,ee)||!gu(N,ee)||(W[ee]=N[ee]);return W}function E_(N,W,ee){return Mn(Jm(void 0,void 0,void 0,void 0,W?[W]:[],void 0,o0(N,!0)),void 0,ee?[ee]:[])}function M5(N,W,ee){return Mn(f4(void 0,void 0,W?[W]:[],void 0,void 0,o0(N,!0)),void 0,ee?[ee]:[])}function C3(){return Wf(Ce("0"))}function Uw(N){return g3(void 0,!1,N)}function j9(N){return oC(void 0,!1,m_([gE(!1,void 0,N)]))}function ZK(N,W){return W==="null"?Y.createStrictEquality(N,It()):W==="undefined"?Y.createStrictEquality(N,C3()):Y.createStrictEquality(R1(N),Se(W))}function hz(N,W){return W==="null"?Y.createStrictInequality(N,It()):W==="undefined"?Y.createStrictInequality(N,C3()):Y.createStrictInequality(R1(N),Se(W))}function __(N,W,ee){return $y(N)?Fo(m0(N,void 0,W),void 0,void 0,ee):Mn(S0(N,W),void 0,ee)}function pD(N,W,ee){return __(N,"bind",[W,...ee])}function qw(N,W,ee){return __(N,"call",[W,...ee])}function D_(N,W,ee){return __(N,"apply",[W,ee])}function xC(N,W,ee){return __(Ge(N),W,ee)}function mte(N,W){return __(N,"slice",W===void 0?[]:[m6(W)])}function CE(N,W){return __(N,"concat",W)}function dF(N,W,ee){return xC("Object","defineProperty",[N,m6(W),ee])}function YK(N,W){return xC("Object","getOwnPropertyDescriptor",[N,m6(W)])}function he(N,W,ee){return xC("Reflect","get",ee?[N,W,ee]:[N,W])}function Re(N,W,ee,ke){return xC("Reflect","set",ke?[N,W,ee,ke]:[N,W,ee])}function nt(N,W,ee){return ee?(N.push(Up(W,ee)),!0):!1}function Nt(N,W){const ee=[];nt(ee,"enumerable",m6(N.enumerable)),nt(ee,"configurable",m6(N.configurable));let ke=nt(ee,"writable",m6(N.writable));ke=nt(ee,"value",N.value)||ke;let dt=nt(ee,"get",N.get);return dt=nt(ee,"set",N.set)||dt,H.assert(!(ke&&dt),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),Ss(ee,!W)}function bi(N,W){switch(N.kind){case 217:return ip(N,W);case 216:return ql(N,N.type,W);case 234:return oi(N,W,N.type);case 238:return tn(N,W,N.type);case 235:return Xi(N,W);case 360:return Af(N,W)}}function en(N){return Cf(N)&&sl(N)&&sl(Lv(N))&&sl(nE(N))&&!Oe(DB(N))&&!Oe(DV(N))}function zu(N,W,ee=15){return N&&CY(N,ee)&&!en(N)?bi(N,zu(N.expression,W)):W}function Hr(N,W,ee){if(!W)return N;const ke=Nw(W,W.label,V2(W.statement)?Hr(N,W.statement):N);return ee&&ee(W),ke}function Lr(N,W){const ee=l0(N);switch(ee.kind){case 80:return W;case 110:case 9:case 10:case 11:return!1;case 209:return ee.elements.length!==0;case 210:return ee.properties.length>0;default:return!0}}function gr(N,W,ee,ke=!1){const dt=Dc(N,15);let Bi,au;return nf(dt)?(Bi=St(),au=dt):HP(dt)?(Bi=St(),au=ee!==void 0&&ee<2?Pt(Ge("_super"),dt):dt):bs(dt)&8192?(Bi=C3(),au=d().parenthesizeLeftSideOfAccess(dt,!1)):Iu(dt)?Lr(dt.expression,ke)?(Bi=Ae(W),au=S0(Pt(Y.createAssignment(Bi,dt.expression),dt.expression),dt.name),Pt(au,dt)):(Bi=dt.expression,au=dt):U0(dt)?Lr(dt.expression,ke)?(Bi=Ae(W),au=uh(Pt(Y.createAssignment(Bi,dt.expression),dt.expression),dt.argumentExpression),Pt(au,dt)):(Bi=dt.expression,au=dt):(Bi=C3(),au=d().parenthesizeLeftSideOfAccess(N,!1)),{target:au,thisArg:Bi}}function fa(N,W){return S0(Nc(Ss([et(void 0,"value",[Zu(void 0,void 0,N,void 0,void 0,void 0)],o0([i6(W)]))])),"value")}function _0(N){return N.length>10?Fr(N):nn(N,Y.createComma)}function qs(N,W,ee,ke=0,dt){const Bi=dt?N&&TU(N):Za(N);if(Bi&&at(Bi)&&!al(Bi)){const au=ks(Pt(cF(Bi),Bi),Bi.parent);return ke|=bs(Bi),ee||(ke|=96),W||(ke|=3072),ke&&Zn(au,ke),au}return Je(N)}function Ws(N,W,ee){return qs(N,W,ee,98304)}function v4(N,W,ee,ke){return qs(N,W,ee,32768,ke)}function qp(N,W,ee){return qs(N,W,ee,16384)}function f6(N,W,ee){return qs(N,W,ee)}function b3(N,W,ee,ke){const dt=S0(N,sl(W)?W:cF(W));Pt(dt,W);let Bi=0;return ke||(Bi|=96),ee||(Bi|=3072),Bi&&Zn(dt,Bi),dt}function Vd(N,W,ee,ke){return N&&Yu(W,32)?b3(N,qs(W),ee,ke):qp(W,ee,ke)}function gD(N,W,ee,ke){const dt=Yw(N,W,0,ee);return mz(N,W,dt,ke)}function fz(N){return us(N.expression)&&N.expression.text==="use strict"}function Zw(){return vh(i6(Se("use strict")))}function Yw(N,W,ee=0,ke){H.assert(W.length===0,"Prologue directives should be at the first statement in the target statements array");let dt=!1;const Bi=N.length;for(;eeza&&Qm.splice(dt,0,...W.slice(za,i0)),za>au&&Qm.splice(ke,0,...W.slice(au,za)),au>Bi&&Qm.splice(ee,0,...W.slice(Bi,au)),Bi>0)if(ee===0)Qm.splice(0,0,...W.slice(0,Bi));else{const p6=new Map;for(let g6=0;g6=0;g6--){const vC=W[g6];p6.has(vC.expression.text)||Qm.unshift(vC)}}return g2(N)?Pt(oe(Qm,N.hasTrailingComma),N):N}function gz(N,W){let ee;return typeof W=="number"?ee=Ni(W):ee=W,Bl(N)?Ai(N,ee,N.name,N.constraint,N.default):io(N)?aa(N,ee,N.dotDotDotToken,N.name,N.questionToken,N.type,N.initializer):WP(N)?Ui(N,ee,N.typeParameters,N.parameters,N.type):Mm(N)?jn(N,ee,N.name,N.questionToken,N.type):ko(N)?Dn(N,ee,N.name,N.questionToken??N.exclamationToken,N.type,N.initializer):n3(N)?tu(N,ee,N.name,N.questionToken,N.typeParameters,N.parameters,N.type):dc(N)?Da(N,ee,N.asteriskToken,N.name,N.questionToken,N.typeParameters,N.parameters,N.type,N.body):hc(N)?Et(N,ee,N.parameters,N.body):zm(N)?Xt(N,ee,N.name,N.parameters,N.type,N.body):jf(N)?gt(N,ee,N.name,N.parameters,N.body):Ek(N)?Ei(N,ee,N.parameters,N.type):A0(N)?jh(N,ee,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):q0(N)?c3(N,ee,N.typeParameters,N.parameters,N.type,N.equalsGreaterThanToken,N.body):Xd(N)?bg(N,ee,N.name,N.typeParameters,N.heritageClauses,N.members):Jl(N)?t6(N,ee,N.declarationList):ed(N)?Yk(N,ee,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):Wc(N)?Qk(N,ee,N.name,N.typeParameters,N.heritageClauses,N.members):xh(N)?jd(N,ee,N.name,N.typeParameters,N.heritageClauses,N.members):jp(N)?A5(N,ee,N.name,N.typeParameters,N.type):Iv(N)?pt(N,ee,N.name,N.members):_c(N)?g4(N,ee,N.name,N.body):E1(N)?Xk(N,ee,N.isTypeOnly,N.name,N.moduleReference):Sd(N)?mb(N,ee,N.importClause,N.moduleSpecifier,N.attributes):tc(N)?$p(N,ee,N.expression):Gc(N)?E3(N,ee,N.isTypeOnly,N.exportClause,N.moduleSpecifier,N.attributes):H.assertNever(N)}function C4(N,W){return io(N)?aa(N,W,N.dotDotDotToken,N.name,N.questionToken,N.type,N.initializer):ko(N)?Dn(N,W,N.name,N.questionToken??N.exclamationToken,N.type,N.initializer):dc(N)?Da(N,W,N.asteriskToken,N.name,N.questionToken,N.typeParameters,N.parameters,N.type,N.body):zm(N)?Xt(N,W,N.name,N.parameters,N.type,N.body):jf(N)?gt(N,W,N.name,N.parameters,N.body):Xd(N)?bg(N,W,N.name,N.typeParameters,N.heritageClauses,N.members):Wc(N)?Qk(N,W,N.name,N.typeParameters,N.heritageClauses,N.members):H.assertNever(N)}function Qw(N,W){switch(N.kind){case 177:return Xt(N,N.modifiers,W,N.parameters,N.type,N.body);case 178:return gt(N,N.modifiers,W,N.parameters,N.body);case 174:return Da(N,N.modifiers,N.asteriskToken,W,N.questionToken,N.typeParameters,N.parameters,N.type,N.body);case 173:return tu(N,N.modifiers,W,N.questionToken,N.typeParameters,N.parameters,N.type);case 172:return Dn(N,N.modifiers,W,N.questionToken??N.exclamationToken,N.type,N.initializer);case 171:return jn(N,N.modifiers,W,N.questionToken,N.type);case 303:return lp(N,W,N.initializer)}}function Ms(N){return N?oe(N):void 0}function Mc(N){return typeof N=="string"?Ge(N):N}function m6(N){return typeof N=="string"?Se(N):typeof N=="number"?Ce(N):typeof N=="boolean"?N?ei():ht():N}function hF(N){return N&&d().parenthesizeExpressionForDisallowedComma(N)}function gte(N){return typeof N=="number"?Ie(N):N}function x_(N){return N&&yce(N)?Pt(su(cD(),N),N):N}function V9(N){return typeof N=="string"||N&&!ua(N)?Hh(N,void 0,void 0,void 0):N}}function bLt(t,u){return t!==u&&Pt(t,u),t}function yLt(t,u){return t!==u&&(su(t,u),Pt(t,u)),t}function ice(t){switch(t){case 351:return"type";case 349:return"returns";case 350:return"this";case 347:return"enum";case 337:return"author";case 339:return"class";case 340:return"public";case 341:return"private";case 342:return"protected";case 343:return"readonly";case 344:return"override";case 352:return"template";case 353:return"typedef";case 348:return"param";case 355:return"prop";case 345:return"callback";case 346:return"overload";case 335:return"augments";case 336:return"implements";default:return H.fail(`Unsupported kind: ${H.formatSyntaxKind(t)}`)}}function kLt(t,u){switch(s5||(s5=YD(99,!1,0)),t){case 15:s5.setText("`"+u+"`");break;case 16:s5.setText("`"+u+"${");break;case 17:s5.setText("}"+u+"${");break;case 18:s5.setText("}"+u+"`");break}let s=s5.scan();if(s===20&&(s=s5.reScanTemplateToken(!1)),s5.isUnterminated())return s5.setText(void 0),Ike;let d;switch(s){case 15:case 16:case 17:case 18:d=s5.getTokenValue();break}return d===void 0||s5.scan()!==1?(s5.setText(void 0),Ike):(s5.setText(void 0),d)}function Kx(t){return t&&at(t)?pV(t):ou(t)}function pV(t){return ou(t)&-67108865}function FLt(t,u){return u|t.transformFlags&134234112}function ou(t){if(!t)return 0;const u=t.transformFlags&~Mke(t.kind);return mh(t)&&Sc(t.name)?FLt(t.name,u):u}function Fs(t){return t?t.transformFlags:0}function zYe(t){let u=0;for(const s of t)u|=ou(s);t.transformFlags=u}function Mke(t){if(t>=182&&t<=205)return-2;switch(t){case 213:case 214:case 209:return-2147450880;case 267:return-1941676032;case 169:return-2147483648;case 219:return-2072174592;case 218:case 262:return-1937940480;case 261:return-2146893824;case 263:case 231:return-2147344384;case 176:return-1937948672;case 172:return-2013249536;case 174:case 177:case 178:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 168:case 171:case 173:case 179:case 180:case 181:case 264:case 265:return-2;case 210:return-2147278848;case 299:return-2147418112;case 206:case 207:return-2147450880;case 216:case 238:case 234:case 360:case 217:case 108:return-2147483648;case 211:case 212:return-2147483648;default:return-2147483648}}function yZ(t){return t.flags|=16,t}function nce(t,u,s){let d,f,p,E,v,b,B,k,T,M;Ja(t)?(p="",E=t,v=t.length,b=u,B=s):(H.assert(u==="js"||u==="dts"),p=(u==="js"?t.javascriptPath:t.declarationPath)||"",b=u==="js"?t.javascriptMapPath:t.declarationMapPath,k=()=>u==="js"?t.javascriptText:t.declarationText,T=()=>u==="js"?t.javascriptMapText:t.declarationMapText,v=()=>k().length,t.buildInfo&&t.buildInfo.bundle&&(H.assert(s===void 0||typeof s=="boolean"),d=s,f=u==="js"?t.buildInfo.bundle.js:t.buildInfo.bundle.dts,M=t.oldFileOfCurrentEmit));const z=M?SLt(H.checkDefined(f)):ALt(f,d,v);return z.fileName=p,z.sourceMapPath=b,z.oldFileOfCurrentEmit=M,k&&T?(Object.defineProperty(z,"text",{get:k}),Object.defineProperty(z,"sourceMapText",{get:T})):(H.assert(!M),z.text=E??"",z.sourceMapText=B),z}function ALt(t,u,s){let d,f,p,E,v,b,B,k;for(const M of t?t.sections:_t)switch(M.kind){case"prologue":d=xi(d,Pt(q.createUnparsedPrologue(M.data),M));break;case"emitHelpers":f=xi(f,hce().get(M.data));break;case"no-default-lib":k=!0;break;case"reference":p=xi(p,{pos:-1,end:-1,fileName:M.data});break;case"type":E=xi(E,{pos:-1,end:-1,fileName:M.data});break;case"type-import":E=xi(E,{pos:-1,end:-1,fileName:M.data,resolutionMode:99});break;case"type-require":E=xi(E,{pos:-1,end:-1,fileName:M.data,resolutionMode:1});break;case"lib":v=xi(v,{pos:-1,end:-1,fileName:M.data});break;case"prepend":let z;for(const j of M.texts)(!u||j.kind!=="internal")&&(z=xi(z,Pt(q.createUnparsedTextLike(j.data,j.kind==="internal"),j)));b=yn(b,z),B=xi(B,q.createUnparsedPrepend(M.data,z??_t));break;case"internal":if(u){B||(B=[]);break}case"text":B=xi(B,Pt(q.createUnparsedTextLike(M.data,M.kind==="internal"),M));break;default:H.assertNever(M)}if(!B){const M=q.createUnparsedTextLike(void 0,!1);wP(M,0,typeof s=="function"?s():s),B=[M]}const T=a_.createUnparsedSource(d??_t,void 0,B);return pB(d,T),pB(B,T),pB(b,T),T.hasNoDefaultLib=k,T.helpers=f,T.referencedFiles=p||_t,T.typeReferenceDirectives=E,T.libReferenceDirectives=v||_t,T}function SLt(t){let u,s;for(const f of t.sections)switch(f.kind){case"internal":case"text":u=xi(u,Pt(q.createUnparsedTextLike(f.data,f.kind==="internal"),f));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":s=xi(s,Pt(q.createUnparsedSyntheticReference(f),f));break;case"prologue":case"emitHelpers":case"prepend":break;default:H.assertNever(f)}const d=q.createUnparsedSource(_t,s,u??_t);return pB(s,d),pB(u,d),d.helpers=Vt(t.sources&&t.sources.helpers,f=>hce().get(f)),d}function IYe(t,u,s,d,f,p){return Ja(t)?rce(void 0,t,s,d,void 0,u,f,p):uce(t,u,s,d,f,p)}function uce(t,u,s,d,f,p,E,v){const b=a_.createInputFiles();b.javascriptPath=u,b.javascriptMapPath=s,b.declarationPath=d,b.declarationMapPath=f,b.buildInfoPath=p;const B=new Map,k=j=>{if(j===void 0)return;let J=B.get(j);return J===void 0&&(J=t(j),B.set(j,J!==void 0?J:!1)),J!==!1?J:void 0},T=j=>{const J=k(j);return J!==void 0?J:`/* Input file ${j} was missing */\r `};let M;return Object.defineProperties(b,{javascriptText:{get:()=>T(u)},javascriptMapText:{get:()=>k(s)},declarationText:{get:()=>T(H.checkDefined(d))},declarationMapText:{get:()=>k(f)},buildInfo:{get:()=>{if(M===void 0&&p)if(E!=null&&E.getBuildInfo)M=E.getBuildInfo(p,v.configFilePath)??!1;else{const j=k(p);M=j!==void 0?_Q(p,j)??!1:!1}return M||void 0}}}),b}function rce(t,u,s,d,f,p,E,v,b,B,k){const T=a_.createInputFiles();return T.javascriptPath=t,T.javascriptText=u,T.javascriptMapPath=s,T.javascriptMapText=d,T.declarationPath=f,T.declarationText=p,T.declarationMapPath=E,T.declarationMapText=v,T.buildInfoPath=b,T.buildInfo=B,T.oldFileOfCurrentEmit=k,T}function RYe(t,u,s){return new(jYe||(jYe=Qd.getSourceMapSourceConstructor()))(t,u,s)}function su(t,u){if(t.original!==u&&(t.original=u,u)){const s=u.emitNode;s&&(t.emitNode=BLt(s,t.emitNode))}return t}function BLt(t,u){const{flags:s,internalFlags:d,leadingComments:f,trailingComments:p,commentRange:E,sourceMapRange:v,tokenSourceMapRanges:b,constantValue:B,helpers:k,startsOnNewLine:T,snippetElement:M,classThis:z,assignedName:j}=t;if(u||(u={}),s&&(u.flags=s),d&&(u.internalFlags=d&-9),f&&(u.leadingComments=yn(f.slice(),u.leadingComments)),p&&(u.trailingComments=yn(p.slice(),u.trailingComments)),E&&(u.commentRange=E),v&&(u.sourceMapRange=v),b&&(u.tokenSourceMapRanges=wLt(b,u.tokenSourceMapRanges)),B!==void 0&&(u.constantValue=B),k)for(const J of k)u.helpers=e0(u.helpers,J);return T!==void 0&&(u.startsOnNewLine=T),M!==void 0&&(u.snippetElement=M),z&&(u.classThis=z),j&&(u.assignedName=j),u}function wLt(t,u){u||(u=[]);for(const s in t)u[s]=t[s];return u}var kZ,ace,zke,s5,Ike,gV,OYe,q,jYe,TLt=o({"src/compiler/factory/nodeFactory.ts"(){Bo(),kZ=0,ace=(t=>(t[t.None=0]="None",t[t.NoParenthesizerRules=1]="NoParenthesizerRules",t[t.NoNodeConverters=2]="NoNodeConverters",t[t.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",t[t.NoOriginalNode=8]="NoOriginalNode",t))(ace||{}),zke=[],Ike={},gV=Lke(),OYe={createBaseSourceFileNode:t=>yZ(gV.createBaseSourceFileNode(t)),createBaseIdentifierNode:t=>yZ(gV.createBaseIdentifierNode(t)),createBasePrivateIdentifierNode:t=>yZ(gV.createBasePrivateIdentifierNode(t)),createBaseTokenNode:t=>yZ(gV.createBaseTokenNode(t)),createBaseNode:t=>yZ(gV.createBaseNode(t))},q=mV(4,OYe)}});function P1(t){if(t.emitNode)H.assert(!(t.emitNode.internalFlags&8),"Invalid attempt to mutate an immutable node.");else{if(zN(t)){if(t.kind===312)return t.emitNode={annotatedNodes:[t]};const u=zn(Ua(zn(t)))??H.fail("Could not determine parsed source file.");P1(u).annotatedNodes.push(t)}t.emitNode={}}return t.emitNode}function oce(t){var u,s;const d=(s=(u=zn(Ua(t)))==null?void 0:u.emitNode)==null?void 0:s.annotatedNodes;if(d)for(const f of d)f.emitNode=void 0}function EV(t){const u=P1(t);return u.flags|=3072,u.leadingComments=void 0,u.trailingComments=void 0,t}function Zn(t,u){return P1(t).flags=u,t}function i_(t,u){const s=P1(t);return s.flags=s.flags|u,t}function _V(t,u){return P1(t).internalFlags=u,t}function F7(t,u){const s=P1(t);return s.internalFlags=s.internalFlags|u,t}function Lv(t){var u;return((u=t.emitNode)==null?void 0:u.sourceMapRange)??t}function As(t,u){return P1(t).sourceMapRange=u,t}function VYe(t,u){var s,d;return(d=(s=t.emitNode)==null?void 0:s.tokenSourceMapRanges)==null?void 0:d[u]}function Rke(t,u,s){const d=P1(t),f=d.tokenSourceMapRanges??(d.tokenSourceMapRanges=[]);return f[u]=s,t}function RP(t){var u;return(u=t.emitNode)==null?void 0:u.startsOnNewLine}function FZ(t,u){return P1(t).startsOnNewLine=u,t}function nE(t){var u;return((u=t.emitNode)==null?void 0:u.commentRange)??t}function Bc(t,u){return P1(t).commentRange=u,t}function DB(t){var u;return(u=t.emitNode)==null?void 0:u.leadingComments}function Nv(t,u){return P1(t).leadingComments=u,t}function OP(t,u,s,d){return Nv(t,xi(DB(t),{kind:u,pos:-1,end:-1,hasTrailingNewLine:d,text:s}))}function DV(t){var u;return(u=t.emitNode)==null?void 0:u.trailingComments}function A7(t,u){return P1(t).trailingComments=u,t}function AZ(t,u,s,d){return A7(t,xi(DV(t),{kind:u,pos:-1,end:-1,hasTrailingNewLine:d,text:s}))}function Oke(t,u){Nv(t,DB(u)),A7(t,DV(u));const s=P1(u);return s.leadingComments=void 0,s.trailingComments=void 0,t}function jke(t){var u;return(u=t.emitNode)==null?void 0:u.constantValue}function Vke(t,u){const s=P1(t);return s.constantValue=u,t}function S7(t,u){const s=P1(t);return s.helpers=xi(s.helpers,u),t}function iD(t,u){if(Oe(u)){const s=P1(t);for(const d of u)s.helpers=e0(s.helpers,d)}return t}function HYe(t,u){var s;const d=(s=t.emitNode)==null?void 0:s.helpers;return d?gO(d,u):!1}function SZ(t){var u;return(u=t.emitNode)==null?void 0:u.helpers}function Hke(t,u,s){const d=t.emitNode,f=d&&d.helpers;if(!Oe(f))return;const p=P1(u);let E=0;for(let v=0;v0&&(f[v-E]=b)}E>0&&(f.length-=E)}function sce(t){var u;return(u=t.emitNode)==null?void 0:u.snippetElement}function lce(t,u){const s=P1(t);return s.snippetElement=u,t}function cce(t){return P1(t).internalFlags|=4,t}function Kke(t,u){const s=P1(t);return s.typeNode=u,t}function Wke(t){var u;return(u=t.emitNode)==null?void 0:u.typeNode}function l5(t,u){return P1(t).identifierTypeArguments=u,t}function gk(t){var u;return(u=t.emitNode)==null?void 0:u.identifierTypeArguments}function xV(t,u){return P1(t).autoGenerate=u,t}function KYe(t){var u;return(u=t.emitNode)==null?void 0:u.autoGenerate}function Gke(t,u){return P1(t).generatedImportReference=u,t}function Jke(t){var u;return(u=t.emitNode)==null?void 0:u.generatedImportReference}var LLt=o({"src/compiler/factory/emitNode.ts"(){Bo()}});function $ke(t){const u=t.factory,s=Mh(()=>_V(u.createTrue(),8)),d=Mh(()=>_V(u.createFalse(),8));return{getUnscopedHelperName:f,createDecorateHelper:p,createMetadataHelper:E,createParamHelper:v,createESDecorateHelper:J,createRunInitializersHelper:K,createAssignHelper:Y,createAwaitHelper:oe,createAsyncGeneratorHelper:se,createAsyncDelegatorHelper:ge,createAsyncValuesHelper:ae,createRestHelper:Ce,createAwaiterHelper:ne,createExtendsHelper:ve,createTemplateObjectHelper:Se,createSpreadArrayHelper:Ne,createPropKeyHelper:pe,createSetFunctionNameHelper:fe,createValuesHelper:xe,createReadHelper:Be,createGeneratorHelper:Ge,createCreateBindingHelper:Ae,createImportStarHelper:De,createImportStarCallbackHelper:Ke,createImportDefaultHelper:Je,createExportStarHelper:ft,createClassPrivateFieldGetHelper:Ye,createClassPrivateFieldSetHelper:Ve,createClassPrivateFieldInHelper:We,createAddDisposableResourceHelper:Gt,createDisposeResourcesHelper:Yt};function f(Ie){return Zn(u.createIdentifier(Ie),8196)}function p(Ie,st,St,It){t.requestEmitHelper(BZ);const ei=[];return ei.push(u.createArrayLiteralExpression(Ie,!0)),ei.push(st),St&&(ei.push(St),It&&ei.push(It)),u.createCallExpression(f("__decorate"),void 0,ei)}function E(Ie,st){return t.requestEmitHelper(wZ),u.createCallExpression(f("__metadata"),void 0,[u.createStringLiteral(Ie),st])}function v(Ie,st,St){return t.requestEmitHelper(TZ),Pt(u.createCallExpression(f("__param"),void 0,[u.createNumericLiteral(st+""),Ie]),St)}function b(Ie){const st=[u.createPropertyAssignment(u.createIdentifier("kind"),u.createStringLiteral("class")),u.createPropertyAssignment(u.createIdentifier("name"),Ie.name),u.createPropertyAssignment(u.createIdentifier("metadata"),Ie.metadata)];return u.createObjectLiteralExpression(st)}function B(Ie){const st=Ie.computed?u.createElementAccessExpression(u.createIdentifier("obj"),Ie.name):u.createPropertyAccessExpression(u.createIdentifier("obj"),Ie.name);return u.createPropertyAssignment("get",u.createArrowFunction(void 0,void 0,[u.createParameterDeclaration(void 0,void 0,u.createIdentifier("obj"))],void 0,void 0,st))}function k(Ie){const st=Ie.computed?u.createElementAccessExpression(u.createIdentifier("obj"),Ie.name):u.createPropertyAccessExpression(u.createIdentifier("obj"),Ie.name);return u.createPropertyAssignment("set",u.createArrowFunction(void 0,void 0,[u.createParameterDeclaration(void 0,void 0,u.createIdentifier("obj")),u.createParameterDeclaration(void 0,void 0,u.createIdentifier("value"))],void 0,void 0,u.createBlock([u.createExpressionStatement(u.createAssignment(st,u.createIdentifier("value")))])))}function T(Ie){const st=Ie.computed?Ie.name:at(Ie.name)?u.createStringLiteralFromNode(Ie.name):Ie.name;return u.createPropertyAssignment("has",u.createArrowFunction(void 0,void 0,[u.createParameterDeclaration(void 0,void 0,u.createIdentifier("obj"))],void 0,void 0,u.createBinaryExpression(st,103,u.createIdentifier("obj"))))}function M(Ie,st){const St=[];return St.push(T(Ie)),st.get&&St.push(B(Ie)),st.set&&St.push(k(Ie)),u.createObjectLiteralExpression(St)}function z(Ie){const st=[u.createPropertyAssignment(u.createIdentifier("kind"),u.createStringLiteral(Ie.kind)),u.createPropertyAssignment(u.createIdentifier("name"),Ie.name.computed?Ie.name.name:u.createStringLiteralFromNode(Ie.name.name)),u.createPropertyAssignment(u.createIdentifier("static"),Ie.static?u.createTrue():u.createFalse()),u.createPropertyAssignment(u.createIdentifier("private"),Ie.private?u.createTrue():u.createFalse()),u.createPropertyAssignment(u.createIdentifier("access"),M(Ie.name,Ie.access)),u.createPropertyAssignment(u.createIdentifier("metadata"),Ie.metadata)];return u.createObjectLiteralExpression(st)}function j(Ie){return Ie.kind==="class"?b(Ie):z(Ie)}function J(Ie,st,St,It,ei,ht){return t.requestEmitHelper(LZ),u.createCallExpression(f("__esDecorate"),void 0,[Ie??u.createNull(),st??u.createNull(),St,j(It),ei,ht])}function K(Ie,st,St){return t.requestEmitHelper(NZ),u.createCallExpression(f("__runInitializers"),void 0,St?[Ie,st,St]:[Ie,st])}function Y(Ie){return Os(t.getCompilerOptions())>=2?u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("Object"),"assign"),void 0,Ie):(t.requestEmitHelper(PZ),u.createCallExpression(f("__assign"),void 0,Ie))}function oe(Ie){return t.requestEmitHelper(B7),u.createCallExpression(f("__await"),void 0,[Ie])}function se(Ie,st){return t.requestEmitHelper(B7),t.requestEmitHelper(MZ),(Ie.emitNode||(Ie.emitNode={})).flags|=1572864,u.createCallExpression(f("__asyncGenerator"),void 0,[st?u.createThis():u.createVoidZero(),u.createIdentifier("arguments"),Ie])}function ge(Ie){return t.requestEmitHelper(B7),t.requestEmitHelper(zZ),u.createCallExpression(f("__asyncDelegator"),void 0,[Ie])}function ae(Ie){return t.requestEmitHelper(IZ),u.createCallExpression(f("__asyncValues"),void 0,[Ie])}function Ce(Ie,st,St,It){t.requestEmitHelper(RZ);const ei=[];let ht=0;for(let Ut=0;Ut{let d="";for(let f=0;ft.name))}function jP(t,u){return Mo(t)&&at(t.expression)&&(bs(t.expression)&8192)!==0&&t.expression.escapedText===u}var fce,BZ,wZ,TZ,LZ,NZ,PZ,B7,MZ,zZ,IZ,RZ,OZ,jZ,VZ,HZ,KZ,WZ,GZ,JZ,$Z,xB,UZ,vV,qZ,ZZ,YZ,QZ,XZ,eY,tY,WYe,CV,bV,NLt=o({"src/compiler/factory/emitHelpers.ts"(){Bo(),fce=(t=>(t.Field="f",t.Method="m",t.Accessor="a",t))(fce||{}),BZ={name:"typescript:decorate",importName:"__decorate",scoped:!1,priority:2,text:` var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; @@ -341,47 +341,47 @@ ${X.join(` const ${"_superIndex"} = (function (geti, seti) { const cache = Object.create(null); return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } }); - })(name => super[name], (name, value) => super[name] = value);`}}});function Of(t){return t.kind===9}function iY(t){return t.kind===10}function us(t){return t.kind===11}function w7(t){return t.kind===12}function mce(t){return t.kind===14}function T7(t){return t.kind===15}function vB(t){return t.kind===16}function qke(t){return t.kind===17}function pce(t){return t.kind===18}function nY(t){return t.kind===26}function Zke(t){return t.kind===28}function gce(t){return t.kind===40}function Ece(t){return t.kind===41}function yV(t){return t.kind===42}function kV(t){return t.kind===54}function Wx(t){return t.kind===58}function Yke(t){return t.kind===59}function uY(t){return t.kind===29}function Qke(t){return t.kind===39}function at(t){return t.kind===80}function Xr(t){return t.kind===81}function L7(t){return t.kind===95}function rY(t){return t.kind===90}function VP(t){return t.kind===134}function Xke(t){return t.kind===131}function _ce(t){return t.kind===135}function eFe(t){return t.kind===148}function N7(t){return t.kind===126}function tFe(t){return t.kind===128}function iFe(t){return t.kind===164}function nFe(t){return t.kind===129}function HP(t){return t.kind===108}function KP(t){return t.kind===102}function uFe(t){return t.kind===84}function vf(t){return t.kind===166}function Ps(t){return t.kind===167}function Bl(t){return t.kind===168}function io(t){return t.kind===169}function g1(t){return t.kind===170}function Mm(t){return t.kind===171}function ko(t){return t.kind===172}function n3(t){return t.kind===173}function dc(t){return t.kind===174}function zl(t){return t.kind===175}function hc(t){return t.kind===176}function zm(t){return t.kind===177}function jf(t){return t.kind===178}function CB(t){return t.kind===179}function FV(t){return t.kind===180}function Ek(t){return t.kind===181}function aY(t){return t.kind===182}function X4(t){return t.kind===183}function u3(t){return t.kind===184}function WP(t){return t.kind===185}function bB(t){return t.kind===186}function fm(t){return t.kind===187}function oY(t){return t.kind===188}function yB(t){return t.kind===189}function GP(t){return t.kind===202}function Dce(t){return t.kind===190}function xce(t){return t.kind===191}function Pv(t){return t.kind===192}function kB(t){return t.kind===193}function FB(t){return t.kind===194}function P7(t){return t.kind===195}function M7(t){return t.kind===196}function sY(t){return t.kind===197}function z7(t){return t.kind===198}function I7(t){return t.kind===199}function JP(t){return t.kind===200}function Mv(t){return t.kind===201}function nD(t){return t.kind===205}function rFe(t){return t.kind===204}function GYe(t){return t.kind===203}function Rp(t){return t.kind===206}function _k(t){return t.kind===207}function js(t){return t.kind===208}function Dh(t){return t.kind===209}function ys(t){return t.kind===210}function Iu(t){return t.kind===211}function U0(t){return t.kind===212}function Mo(t){return t.kind===213}function j2(t){return t.kind===214}function Dk(t){return t.kind===215}function aFe(t){return t.kind===216}function Cf(t){return t.kind===217}function A0(t){return t.kind===218}function q0(t){return t.kind===219}function oFe(t){return t.kind===220}function AB(t){return t.kind===221}function R7(t){return t.kind===222}function Gx(t){return t.kind===223}function zv(t){return t.kind===224}function vce(t){return t.kind===225}function Xn(t){return t.kind===226}function SB(t){return t.kind===227}function lY(t){return t.kind===228}function cY(t){return t.kind===229}function uE(t){return t.kind===230}function Xd(t){return t.kind===231}function Fd(t){return t.kind===232}function c5(t){return t.kind===233}function AV(t){return t.kind===234}function sFe(t){return t.kind===238}function O7(t){return t.kind===235}function $P(t){return t.kind===236}function JYe(t){return t.kind===237}function dY(t){return t.kind===360}function UP(t){return t.kind===361}function qP(t){return t.kind===239}function lFe(t){return t.kind===240}function po(t){return t.kind===241}function Jl(t){return t.kind===243}function Cce(t){return t.kind===242}function Od(t){return t.kind===244}function xk(t){return t.kind===245}function $Ye(t){return t.kind===246}function UYe(t){return t.kind===247}function vk(t){return t.kind===248}function hY(t){return t.kind===249}function SV(t){return t.kind===250}function qYe(t){return t.kind===251}function ZYe(t){return t.kind===252}function Op(t){return t.kind===253}function cFe(t){return t.kind===254}function BV(t){return t.kind===255}function V2(t){return t.kind===256}function bce(t){return t.kind===257}function Ck(t){return t.kind===258}function YYe(t){return t.kind===259}function na(t){return t.kind===260}function Ad(t){return t.kind===261}function ed(t){return t.kind===262}function Wc(t){return t.kind===263}function xh(t){return t.kind===264}function jp(t){return t.kind===265}function Iv(t){return t.kind===266}function _c(t){return t.kind===267}function rE(t){return t.kind===268}function ZP(t){return t.kind===269}function wV(t){return t.kind===270}function E1(t){return t.kind===271}function Sd(t){return t.kind===272}function n_(t){return t.kind===273}function QYe(t){return t.kind===302}function dFe(t){return t.kind===300}function XYe(t){return t.kind===301}function fY(t){return t.kind===300}function hFe(t){return t.kind===301}function Jx(t){return t.kind===274}function u_(t){return t.kind===280}function uD(t){return t.kind===275}function bf(t){return t.kind===276}function tc(t){return t.kind===277}function Gc(t){return t.kind===278}function ep(t){return t.kind===279}function eh(t){return t.kind===281}function eQe(t){return t.kind===282}function yce(t){return t.kind===359}function j7(t){return t.kind===362}function r_(t){return t.kind===283}function r3(t){return t.kind===284}function bk(t){return t.kind===285}function aE(t){return t.kind===286}function H2(t){return t.kind===287}function K2(t){return t.kind===288}function V7(t){return t.kind===289}function fFe(t){return t.kind===290}function oE(t){return t.kind===291}function W2(t){return t.kind===292}function H7(t){return t.kind===293}function YP(t){return t.kind===294}function gg(t){return t.kind===295}function BB(t){return t.kind===296}function TV(t){return t.kind===297}function mm(t){return t.kind===298}function G2(t){return t.kind===299}function Jc(t){return t.kind===303}function pm(t){return t.kind===304}function d5(t){return t.kind===305}function J2(t){return t.kind===306}function mFe(t){return t.kind===308}function la(t){return t.kind===312}function kce(t){return t.kind===313}function yk(t){return t.kind===314}function kk(t){return t.kind===316}function QP(t){return t.kind===317}function Rv(t){return t.kind===318}function pFe(t){return t.kind===331}function gFe(t){return t.kind===332}function tQe(t){return t.kind===333}function EFe(t){return t.kind===319}function _Fe(t){return t.kind===320}function wB(t){return t.kind===321}function mY(t){return t.kind===322}function Fce(t){return t.kind===323}function TB(t){return t.kind===324}function pY(t){return t.kind===325}function iQe(t){return t.kind===326}function Vp(t){return t.kind===327}function K7(t){return t.kind===329}function Ov(t){return t.kind===330}function LB(t){return t.kind===335}function nQe(t){return t.kind===337}function DFe(t){return t.kind===339}function Ace(t){return t.kind===345}function Sce(t){return t.kind===340}function Bce(t){return t.kind===341}function wce(t){return t.kind===342}function Tce(t){return t.kind===343}function gY(t){return t.kind===344}function NB(t){return t.kind===346}function Lce(t){return t.kind===338}function uQe(t){return t.kind===354}function LV(t){return t.kind===347}function Eg(t){return t.kind===348}function EY(t){return t.kind===349}function xFe(t){return t.kind===350}function XP(t){return t.kind===351}function _g(t){return t.kind===352}function PB(t){return t.kind===353}function rQe(t){return t.kind===334}function vFe(t){return t.kind===355}function Nce(t){return t.kind===336}function _Y(t){return t.kind===357}function aQe(t){return t.kind===356}function MB(t){return t.kind===358}var PLt=o({"src/compiler/factory/nodeTests.ts"(){Bo()}});function NV(t){return t.createExportDeclaration(void 0,!1,t.createNamedExports([]),void 0)}function Fk(t,u,s,d){if(Ps(s))return Pt(t.createElementAccessExpression(u,s.expression),d);{const f=Pt(J_(s)?t.createPropertyAccessExpression(u,s):t.createElementAccessExpression(u,s),s);return i_(f,128),f}}function CFe(t,u){const s=a_.createIdentifier(t||"React");return ks(s,Ua(u)),s}function bFe(t,u,s){if(vf(u)){const d=bFe(t,u.left,s),f=t.createIdentifier(fu(u.right));return f.escapedText=u.right.escapedText,t.createPropertyAccessExpression(d,f)}else return CFe(fu(u),s)}function Pce(t,u,s,d){return u?bFe(t,u,d):t.createPropertyAccessExpression(CFe(s,d),"createElement")}function MLt(t,u,s,d){return u?bFe(t,u,d):t.createPropertyAccessExpression(CFe(s,d),"Fragment")}function yFe(t,u,s,d,f,p){const E=[s];if(d&&E.push(d),f&&f.length>0)if(d||E.push(t.createNull()),f.length>1)for(const v of f)vh(v),E.push(v);else E.push(f[0]);return Pt(t.createCallExpression(u,void 0,E),p)}function kFe(t,u,s,d,f,p,E){const b=[MLt(t,s,d,p),t.createNull()];if(f&&f.length>0)if(f.length>1)for(const B of f)vh(B),b.push(B);else b.push(f[0]);return Pt(t.createCallExpression(Pce(t,u,d,p),void 0,b),E)}function Mce(t,u,s){if(Ad(u)){const d=Pn(u.declarations),f=t.updateVariableDeclaration(d,d.name,void 0,void 0,s);return Pt(t.createVariableStatement(void 0,t.updateVariableDeclarationList(u,[f])),u)}else{const d=Pt(t.createAssignment(u,s),u);return Pt(t.createExpressionStatement(d),u)}}function oQe(t,u,s){return po(u)?t.updateBlock(u,Pt(t.createNodeArray([s,...u.statements]),u.statements)):t.createBlock(t.createNodeArray([u,s]),!0)}function PV(t,u){if(vf(u)){const s=PV(t,u.left),d=ks(Pt(t.cloneNode(u.right),u.right),u.right.parent);return Pt(t.createPropertyAccessExpression(s,d),u)}else return ks(Pt(t.cloneNode(u),u),u.parent)}function zce(t,u){return at(u)?t.createStringLiteralFromNode(u):Ps(u)?ks(Pt(t.cloneNode(u.expression),u.expression),u.expression.parent):ks(Pt(t.cloneNode(u),u),u.parent)}function zLt(t,u,s,d,f){const{firstAccessor:p,getAccessor:E,setAccessor:v}=dk(u,s);if(s===p)return Pt(t.createObjectDefinePropertyCall(d,zce(t,s.name),t.createPropertyDescriptor({enumerable:t.createFalse(),configurable:!0,get:E&&Pt(su(t.createFunctionExpression(p2(E),void 0,void 0,void 0,E.parameters,void 0,E.body),E),E),set:v&&Pt(su(t.createFunctionExpression(p2(v),void 0,void 0,void 0,v.parameters,void 0,v.body),v),v)},!f)),p)}function ILt(t,u,s){return su(Pt(t.createAssignment(Fk(t,s,u.name,u.name),u.initializer),u),u)}function RLt(t,u,s){return su(Pt(t.createAssignment(Fk(t,s,u.name,u.name),t.cloneNode(u.name)),u),u)}function OLt(t,u,s){return su(Pt(t.createAssignment(Fk(t,s,u.name,u.name),su(Pt(t.createFunctionExpression(p2(u),u.asteriskToken,void 0,void 0,u.parameters,void 0,u.body),u),u)),u),u)}function FFe(t,u,s,d){switch(s.name&&Xr(s.name)&&H.failBadSyntaxKind(s.name,"Private identifiers are not allowed in object literals."),s.kind){case 177:case 178:return zLt(t,u.properties,s,d,!!u.multiLine);case 303:return ILt(t,s,d);case 304:return RLt(t,s,d);case 174:return OLt(t,s,d)}}function DY(t,u,s,d,f){const p=u.operator;H.assert(p===46||p===47,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");const E=t.createTempVariable(d);s=t.createAssignment(E,s),Pt(s,u.operand);let v=zv(u)?t.createPrefixUnaryExpression(p,E):t.createPostfixUnaryExpression(E,p);return Pt(v,u),f&&(v=t.createAssignment(f,v),Pt(v,u)),s=t.createComma(s,v),Pt(s,u),vce(u)&&(s=t.createComma(s,E),Pt(s,u)),s}function Ice(t){return(bs(t)&65536)!==0}function rD(t){return(bs(t)&32768)!==0}function xY(t){return(bs(t)&16384)!==0}function sQe(t){return us(t.expression)&&t.expression.text==="use strict"}function Rce(t){for(const u of t)if(Mp(u)){if(sQe(u))return u}else break}function AFe(t){const u=Ki(t);return u!==void 0&&Mp(u)&&sQe(u)}function MV(t){return t.kind===226&&t.operatorToken.kind===28}function eM(t){return MV(t)||UP(t)}function tM(t){return Cf(t)&&Qn(t)&&!!xv(t)}function vY(t){const u=vv(t);return H.assertIsDefined(u),u}function CY(t,u=15){switch(t.kind){case 217:return u&16&&tM(t)?!1:(u&1)!==0;case 216:case 234:case 233:case 238:return(u&2)!==0;case 235:return(u&4)!==0;case 360:return(u&8)!==0}return!1}function Dc(t,u=15){for(;CY(t,u);)t=t.expression;return t}function SFe(t,u=15){let s=t.parent;for(;CY(s,u);)s=s.parent,H.assert(s);return s}function lQe(t){return Dc(t,6)}function vh(t){return FZ(t,!0)}function zV(t){const u=Wl(t,la),s=u&&u.emitNode;return s&&s.externalHelpersModuleName}function BFe(t){const u=Wl(t,la),s=u&&u.emitNode;return!!s&&(!!s.externalHelpersModuleName||!!s.externalHelpers)}function Oce(t,u,s,d,f,p,E){if(d.importHelpers&&s7(s,d)){let v;const b=m1(d);if(b>=5&&b<=99||s.impliedNodeFormat===99){const B=SZ(s);if(B){const k=[];for(const T of B)if(!T.scoped){const M=T.importName;M&&xa(k,M)}if(Oe(k)){k.sort(dh),v=t.createNamedImports(Vt(k,z=>QU(s,z)?t.createImportSpecifier(!1,void 0,t.createIdentifier(z)):t.createImportSpecifier(!1,t.createIdentifier(z),u.getUnscopedHelperName(z))));const T=Wl(s,la),M=P1(T);M.externalHelpers=!0}}}else{const B=wFe(t,s,d,f,p||E);B&&(v=t.createNamespaceImport(B))}if(v){const B=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,v),t.createStringLiteral(Hx),void 0);return F7(B,2),B}}}function wFe(t,u,s,d,f){if(s.importHelpers&&s7(u,s)){const p=zV(u);if(p)return p;const E=m1(s);let v=(d||e_(s)&&f)&&E!==4&&(E<5||u.impliedNodeFormat===1);if(!v){const b=SZ(u);if(b){for(const B of b)if(!B.scoped){v=!0;break}}}if(v){const b=Wl(u,la),B=P1(b);return B.externalHelpersModuleName||(B.externalHelpersModuleName=t.createUniqueName(Hx))}}}function zB(t,u,s){const d=Q8(u);if(d&&!c7(u)&&!eq(u)){const f=d.name;return al(f)?f:t.createIdentifier(x2(s,f)||fu(f))}if(u.kind===272&&u.importClause||u.kind===278&&u.moduleSpecifier)return t.getGeneratedNameForNode(u)}function W7(t,u,s,d,f,p){const E=Y8(u);if(E&&us(E))return VLt(u,d,t,f,p)||jLt(t,E,s)||t.cloneNode(E)}function jLt(t,u,s){const d=s.renamedDependencies&&s.renamedDependencies.get(u.text);return d?t.createStringLiteral(d):void 0}function IV(t,u,s,d){if(u){if(u.moduleName)return t.createStringLiteral(u.moduleName);if(!u.isDeclarationFile&&y0(d))return t.createStringLiteral(tle(s,u.fileName))}}function VLt(t,u,s,d,f){return IV(s,d.getExternalModuleFileFromDeclaration(t),u,f)}function RV(t){if($O(t))return t.initializer;if(Jc(t)){const u=t.initializer;return ld(u,!0)?u.right:void 0}if(pm(t))return t.objectAssignmentInitializer;if(ld(t,!0))return t.right;if(uE(t))return RV(t.expression)}function $x(t){if($O(t))return t.name;if(Z3(t)){switch(t.kind){case 303:return $x(t.initializer);case 304:return t.name;case 305:return $x(t.expression)}return}return ld(t,!0)?$x(t.left):uE(t)?$x(t.expression):t}function bY(t){switch(t.kind){case 169:case 208:return t.dotDotDotToken;case 230:case 305:return t}}function jce(t){const u=yY(t);return H.assert(!!u||d5(t),"Invalid property name for binding element."),u}function yY(t){switch(t.kind){case 208:if(t.propertyName){const s=t.propertyName;return Xr(s)?H.failBadSyntaxKind(s):Ps(s)&&cQe(s.expression)?s.expression:s}break;case 303:if(t.name){const s=t.name;return Xr(s)?H.failBadSyntaxKind(s):Ps(s)&&cQe(s.expression)?s.expression:s}break;case 305:return t.name&&Xr(t.name)?H.failBadSyntaxKind(t.name):t.name}const u=$x(t);if(u&&Sc(u))return u}function cQe(t){const u=t.kind;return u===11||u===9}function IB(t){switch(t.kind){case 206:case 207:case 209:return t.elements;case 210:return t.properties}}function Vce(t){if(t){let u=t;for(;;){if(at(u)||!u.body)return at(u)?u:u.name;u=u.body}}}function dQe(t){const u=t.kind;return u===176||u===178}function TFe(t){const u=t.kind;return u===176||u===177||u===178}function Hce(t){const u=t.kind;return u===303||u===304||u===262||u===176||u===181||u===175||u===282||u===243||u===264||u===265||u===266||u===267||u===271||u===272||u===270||u===278||u===277}function LFe(t){const u=t.kind;return u===175||u===303||u===304||u===282||u===270}function NFe(t){return Wx(t)||kV(t)}function PFe(t){return at(t)||sY(t)}function MFe(t){return eFe(t)||gce(t)||Ece(t)}function zFe(t){return Wx(t)||gce(t)||Ece(t)}function IFe(t){return at(t)||us(t)}function hQe(t){const u=t.kind;return u===106||u===112||u===97||E2(t)||zv(t)}function HLt(t){return t===43}function KLt(t){return t===42||t===44||t===45}function WLt(t){return HLt(t)||KLt(t)}function GLt(t){return t===40||t===41}function JLt(t){return GLt(t)||WLt(t)}function $Lt(t){return t===48||t===49||t===50}function Kce(t){return $Lt(t)||JLt(t)}function ULt(t){return t===30||t===33||t===32||t===34||t===104||t===103}function qLt(t){return ULt(t)||Kce(t)}function ZLt(t){return t===35||t===37||t===36||t===38}function YLt(t){return ZLt(t)||qLt(t)}function QLt(t){return t===51||t===52||t===53}function XLt(t){return QLt(t)||YLt(t)}function eNt(t){return t===56||t===57}function tNt(t){return eNt(t)||XLt(t)}function iNt(t){return t===61||tNt(t)||u5(t)}function nNt(t){return iNt(t)||t===28}function RFe(t){return nNt(t.kind)}function kY(t,u,s,d,f,p){const E=new pQe(t,u,s,d,f,p);return v;function v(b,B){const k={value:void 0},T=[Gce.enter],M=[b],z=[void 0];let j=0;for(;T[j]!==Gce.done;)j=T[j](E,j,T,M,z,k,B);return H.assertEqual(j,0),k.value}}function fQe(t){return t===95||t===90}function OV(t){const u=t.kind;return fQe(u)}function mQe(t){const u=t.kind;return XD(u)&&!fQe(u)}function OFe(t,u){if(u!==void 0)return u.length===0?u:Pt(t.createNodeArray([],u.hasTrailingComma),u)}function jV(t){var u;const s=t.emitNode.autoGenerate;if(s.flags&4){const d=s.id;let f=t,p=f.original;for(;p;){f=p;const E=(u=f.emitNode)==null?void 0:u.autoGenerate;if(J_(f)&&(E===void 0||E.flags&4&&E.id!==d))break;p=f.original}return f}return t}function RB(t,u){return typeof t=="object"?jv(!1,t.prefix,t.node,t.suffix,u):typeof t=="string"?t.length>0&&t.charCodeAt(0)===35?t.slice(1):t:""}function uNt(t,u){return typeof t=="string"?t:rNt(t,H.checkDefined(u))}function rNt(t,u){return Uy(t)?u(t).slice(1):al(t)?u(t):Xr(t)?t.escapedText.slice(1):fu(t)}function jv(t,u,s,d,f){return u=RB(u,f),d=RB(d,f),s=uNt(s,f),`${t?"#":""}${u}${s}${d}`}function Wce(t,u,s,d){return t.updatePropertyDeclaration(u,s,t.getGeneratedPrivateNameForNode(u.name,void 0,"_accessor_storage"),void 0,void 0,d)}function jFe(t,u,s,d,f=t.createThis()){return t.createGetAccessorDeclaration(s,d,[],void 0,t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(f,t.getGeneratedPrivateNameForNode(u.name,void 0,"_accessor_storage")))]))}function VFe(t,u,s,d,f=t.createThis()){return t.createSetAccessorDeclaration(s,d,[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(f,t.getGeneratedPrivateNameForNode(u.name,void 0,"_accessor_storage")),t.createIdentifier("value")))]))}function FY(t){let u=t.expression;for(;;){if(u=Dc(u),UP(u)){u=Cr(u.elements);continue}if(MV(u)){u=u.right;continue}if(ld(u,!0)&&al(u.left))return u;break}}function aNt(t){return Cf(t)&&sl(t)&&!t.emitNode}function AY(t,u){if(aNt(t))AY(t.expression,u);else if(MV(t))AY(t.left,u),AY(t.right,u);else if(UP(t))for(const s of t.elements)AY(s,u);else u.push(t)}function HFe(t){const u=[];return AY(t,u),u}function VV(t){if(t.transformFlags&65536)return!0;if(t.transformFlags&128)for(const u of IB(t)){const s=$x(u);if(s&&KN(s)&&(s.transformFlags&65536||s.transformFlags&128&&VV(s)))return!0}return!1}var Gce,pQe,oNt=o({"src/compiler/factory/utilities.ts"(){Bo(),(t=>{function u(k,T,M,z,j,J,K){const Y=T>0?j[T-1]:void 0;return H.assertEqual(M[T],u),j[T]=k.onEnter(z[T],Y,K),M[T]=v(k,u),T}t.enter=u;function s(k,T,M,z,j,J,K){H.assertEqual(M[T],s),H.assertIsDefined(k.onLeft),M[T]=v(k,s);const Y=k.onLeft(z[T].left,j[T],z[T]);return Y?(B(T,z,Y),b(T,M,z,j,Y)):T}t.left=s;function d(k,T,M,z,j,J,K){return H.assertEqual(M[T],d),H.assertIsDefined(k.onOperator),M[T]=v(k,d),k.onOperator(z[T].operatorToken,j[T],z[T]),T}t.operator=d;function f(k,T,M,z,j,J,K){H.assertEqual(M[T],f),H.assertIsDefined(k.onRight),M[T]=v(k,f);const Y=k.onRight(z[T].right,j[T],z[T]);return Y?(B(T,z,Y),b(T,M,z,j,Y)):T}t.right=f;function p(k,T,M,z,j,J,K){H.assertEqual(M[T],p),M[T]=v(k,p);const Y=k.onExit(z[T],j[T]);if(T>0){if(T--,k.foldState){const oe=M[T]===p?"right":"left";j[T]=k.foldState(j[T],Y,oe)}}else J.value=Y;return T}t.exit=p;function E(k,T,M,z,j,J,K){return H.assertEqual(M[T],E),T}t.done=E;function v(k,T){switch(T){case u:if(k.onLeft)return s;case s:if(k.onOperator)return d;case d:if(k.onRight)return f;case f:return p;case p:return E;case E:return E;default:H.fail("Invalid state")}}t.nextState=v;function b(k,T,M,z,j){return k++,T[k]=u,M[k]=j,z[k]=void 0,k}function B(k,T,M){if(H.shouldAssert(2))for(;k>=0;)H.assert(T[k]!==M,"Circular traversal detected."),k--}})(Gce||(Gce={})),pQe=class{constructor(t,u,s,d,f,p){this.onEnter=t,this.onLeft=u,this.onOperator=s,this.onRight=d,this.onExit=f,this.foldState=p}}}});function Pt(t,u){return u?t_(t,u.pos,u.end):t}function Hp(t){const u=t.kind;return u===168||u===169||u===171||u===172||u===173||u===174||u===176||u===177||u===178||u===181||u===185||u===218||u===219||u===231||u===243||u===262||u===263||u===264||u===265||u===266||u===267||u===271||u===272||u===277||u===278}function Ak(t){const u=t.kind;return u===169||u===172||u===174||u===177||u===178||u===231||u===263}var sNt=o({"src/compiler/factory/utilitiesPublic.ts"(){Bo()}});function wi(t,u){return u&&t(u)}function Gr(t,u,s){if(s){if(u)return u(s);for(const d of s){const f=t(d);if(f)return f}}}function Jce(t,u){return t.charCodeAt(u+1)===42&&t.charCodeAt(u+2)===42&&t.charCodeAt(u+3)!==47}function HV(t){return L(t.statements,lNt)||cNt(t)}function lNt(t){return Hp(t)&&dNt(t,95)||E1(t)&&r_(t.moduleReference)||Sd(t)||tc(t)||Gc(t)?t:void 0}function cNt(t){return t.flags&8388608?gQe(t):void 0}function gQe(t){return hNt(t)?t:ao(t,gQe)}function dNt(t,u){return Oe(t.modifiers,s=>s.kind===u)}function hNt(t){return $P(t)&&t.keywordToken===102&&t.name.escapedText==="meta"}function EQe(t,u,s){return Gr(u,s,t.typeParameters)||Gr(u,s,t.parameters)||wi(u,t.type)}function _Qe(t,u,s){return Gr(u,s,t.types)}function DQe(t,u,s){return wi(u,t.type)}function xQe(t,u,s){return Gr(u,s,t.elements)}function vQe(t,u,s){return wi(u,t.expression)||wi(u,t.questionDotToken)||Gr(u,s,t.typeArguments)||Gr(u,s,t.arguments)}function CQe(t,u,s){return Gr(u,s,t.statements)}function bQe(t,u,s){return wi(u,t.label)}function yQe(t,u,s){return Gr(u,s,t.modifiers)||wi(u,t.name)||Gr(u,s,t.typeParameters)||Gr(u,s,t.heritageClauses)||Gr(u,s,t.members)}function kQe(t,u,s){return Gr(u,s,t.elements)}function FQe(t,u,s){return wi(u,t.propertyName)||wi(u,t.name)}function AQe(t,u,s){return wi(u,t.tagName)||Gr(u,s,t.typeArguments)||wi(u,t.attributes)}function iM(t,u,s){return wi(u,t.type)}function SQe(t,u,s){return wi(u,t.tagName)||(t.isNameFirst?wi(u,t.name)||wi(u,t.typeExpression):wi(u,t.typeExpression)||wi(u,t.name))||(typeof t.comment=="string"?void 0:Gr(u,s,t.comment))}function nM(t,u,s){return wi(u,t.tagName)||wi(u,t.typeExpression)||(typeof t.comment=="string"?void 0:Gr(u,s,t.comment))}function KFe(t,u,s){return wi(u,t.name)}function OB(t,u,s){return wi(u,t.tagName)||(typeof t.comment=="string"?void 0:Gr(u,s,t.comment))}function fNt(t,u,s){return wi(u,t.expression)}function ao(t,u,s){if(t===void 0||t.kind<=165)return;const d=RQe[t.kind];return d===void 0?void 0:d(t,u,s)}function uM(t,u,s){const d=BQe(t),f=[];for(;f.length=0;--v)d.push(p[v]),f.push(E)}else{const v=u(p,E);if(v){if(v==="skip")continue;return v}if(p.kind>=166)for(const b of BQe(p))d.push(b),f.push(p)}}}function BQe(t){const u=[];return ao(t,s,s),u;function s(d){u.unshift(d)}}function wQe(t){t.externalModuleIndicator=HV(t)}function KV(t,u,s,d=!1,f){var p,E,v,b;(p=Gn)==null||p.push(Gn.Phase.Parse,"createSourceFile",{path:t},!0),ul("beforeParse");let B;(E=hh)==null||E.logStartParseSourceFile(t);const{languageVersion:k,setExternalModuleIndicator:T,impliedNodeFormat:M,jsDocParsingMode:z}=typeof s=="object"?s:{languageVersion:s};if(k===100)B=Hv.parseSourceFile(t,u,k,void 0,d,6,Is,z);else{const j=M===void 0?T:J=>(J.impliedNodeFormat=M,(T||wQe)(J));B=Hv.parseSourceFile(t,u,k,void 0,d,f,j,z)}return(v=hh)==null||v.logStopParseSourceFile(),ul("afterParse"),Tm("Parse","beforeParse","afterParse"),(b=Gn)==null||b.pop(),B}function G7(t,u){return Hv.parseIsolatedEntityName(t,u)}function WV(t,u){return Hv.parseJsonText(t,u)}function wc(t){return t.externalModuleIndicator!==void 0}function $ce(t,u,s,d=!1){const f=Yce.updateSourceFile(t,u,s,d);return f.flags|=t.flags&12582912,f}function WFe(t,u,s){const d=Hv.JSDocParser.parseIsolatedJSDocComment(t,u,s);return d&&d.jsDoc&&Hv.fixupParentReferences(d.jsDoc),d}function TQe(t,u,s){return Hv.JSDocParser.parseJSDocTypeExpressionForTests(t,u,s)}function e1(t){return jc(t,dV)||Ml(t,".ts")&&Ac(t).includes(".d.")}function mNt(t,u,s,d){if(t){if(t==="import")return 99;if(t==="require")return 1;d(u,s-u,F.resolution_mode_should_be_either_require_or_import)}}function Uce(t,u){const s=[];for(const d of W_(u,0)||_t){const f=u.substring(d.pos,d.end);gNt(s,d,f)}t.pragmas=new Map;for(const d of s){if(t.pragmas.has(d.name)){const f=t.pragmas.get(d.name);f instanceof Array?f.push(d.args):t.pragmas.set(d.name,[f,d.args]);continue}t.pragmas.set(d.name,d.args)}}function qce(t,u){t.checkJsDirective=void 0,t.referencedFiles=[],t.typeReferenceDirectives=[],t.libReferenceDirectives=[],t.amdDependencies=[],t.hasNoDefaultLib=!1,t.pragmas.forEach((s,d)=>{switch(d){case"reference":{const f=t.referencedFiles,p=t.typeReferenceDirectives,E=t.libReferenceDirectives;L(YA(s),v=>{const{types:b,lib:B,path:k,["resolution-mode"]:T}=v.arguments;if(v.arguments["no-default-lib"])t.hasNoDefaultLib=!0;else if(b){const M=mNt(T,b.pos,b.end,u);p.push({pos:b.pos,end:b.end,fileName:b.value,...M?{resolutionMode:M}:{}})}else B?E.push({pos:B.pos,end:B.end,fileName:B.value}):k?f.push({pos:k.pos,end:k.end,fileName:k.value}):u(v.range.pos,v.range.end-v.range.pos,F.Invalid_reference_directive_syntax)});break}case"amd-dependency":{t.amdDependencies=Vt(YA(s),f=>({name:f.arguments.name,path:f.arguments.path}));break}case"amd-module":{if(s instanceof Array)for(const f of s)t.moduleName&&u(f.range.pos,f.range.end-f.range.pos,F.An_AMD_module_cannot_have_multiple_name_assignments),t.moduleName=f.arguments.name;else t.moduleName=s.arguments.name;break}case"ts-nocheck":case"ts-check":{L(YA(s),f=>{(!t.checkJsDirective||f.range.pos>t.checkJsDirective.pos)&&(t.checkJsDirective={enabled:d==="ts-check",end:f.range.end,pos:f.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:H.fail("Unhandled pragma kind")}})}function pNt(t){if(Qce.has(t))return Qce.get(t);const u=new RegExp(`(\\s${t}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return Qce.set(t,u),u}function gNt(t,u,s){const d=u.kind===2&&OQe.exec(s);if(d){const p=d[1].toLowerCase(),E=CO[p];if(!E||!(E.kind&1))return;if(E.args){const v={};for(const b of E.args){const k=pNt(b.name).exec(s);if(!k&&!b.optional)return;if(k){const T=k[2]||k[3];if(b.captureSpan){const M=u.pos+k.index+k[1].length+1;v[b.name]={value:T,pos:M,end:M+T.length}}else v[b.name]=T}}t.push({name:p,args:{arguments:v,range:u}})}else t.push({name:p,args:{arguments:{},range:u}});return}const f=u.kind===2&&jQe.exec(s);if(f)return LQe(t,u,2,f);if(u.kind===3){const p=/@(\S+)(\s+.*)?$/gim;let E;for(;E=p.exec(s);)LQe(t,u,4,E)}}function LQe(t,u,s,d){if(!d)return;const f=d[1].toLowerCase(),p=CO[f];if(!p||!(p.kind&s))return;const E=d[2],v=ENt(p,E);v!=="fail"&&t.push({name:f,args:{arguments:v,range:u}})}function ENt(t,u){if(!u)return{};if(!t.args)return{};const s=u.trim().split(/\s+/),d={};for(let f=0;fnew(IQe||(IQe=Qd.getSourceFileConstructor()))(t,-1,-1),createBaseIdentifierNode:t=>new(MQe||(MQe=Qd.getIdentifierConstructor()))(t,-1,-1),createBasePrivateIdentifierNode:t=>new(zQe||(zQe=Qd.getPrivateIdentifierConstructor()))(t,-1,-1),createBaseTokenNode:t=>new(PQe||(PQe=Qd.getTokenConstructor()))(t,-1,-1),createBaseNode:t=>new(NQe||(NQe=Qd.getNodeConstructor()))(t,-1,-1)},a_=mV(1,Zce),RQe={166:function(u,s,d){return wi(s,u.left)||wi(s,u.right)},168:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.constraint)||wi(s,u.default)||wi(s,u.expression)},304:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.exclamationToken)||wi(s,u.equalsToken)||wi(s,u.objectAssignmentInitializer)},305:function(u,s,d){return wi(s,u.expression)},169:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.dotDotDotToken)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.type)||wi(s,u.initializer)},172:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.exclamationToken)||wi(s,u.type)||wi(s,u.initializer)},171:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.type)||wi(s,u.initializer)},303:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.exclamationToken)||wi(s,u.initializer)},260:function(u,s,d){return wi(s,u.name)||wi(s,u.exclamationToken)||wi(s,u.type)||wi(s,u.initializer)},208:function(u,s,d){return wi(s,u.dotDotDotToken)||wi(s,u.propertyName)||wi(s,u.name)||wi(s,u.initializer)},181:function(u,s,d){return Gr(s,d,u.modifiers)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)},185:function(u,s,d){return Gr(s,d,u.modifiers)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)},184:function(u,s,d){return Gr(s,d,u.modifiers)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)},179:EQe,180:EQe,174:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.asteriskToken)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.exclamationToken)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},173:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.questionToken)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)},176:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},177:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},178:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},262:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.asteriskToken)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},218:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.asteriskToken)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},219:function(u,s,d){return Gr(s,d,u.modifiers)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.equalsGreaterThanToken)||wi(s,u.body)},175:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.body)},183:function(u,s,d){return wi(s,u.typeName)||Gr(s,d,u.typeArguments)},182:function(u,s,d){return wi(s,u.assertsModifier)||wi(s,u.parameterName)||wi(s,u.type)},186:function(u,s,d){return wi(s,u.exprName)||Gr(s,d,u.typeArguments)},187:function(u,s,d){return Gr(s,d,u.members)},188:function(u,s,d){return wi(s,u.elementType)},189:function(u,s,d){return Gr(s,d,u.elements)},192:_Qe,193:_Qe,194:function(u,s,d){return wi(s,u.checkType)||wi(s,u.extendsType)||wi(s,u.trueType)||wi(s,u.falseType)},195:function(u,s,d){return wi(s,u.typeParameter)},205:function(u,s,d){return wi(s,u.argument)||wi(s,u.attributes)||wi(s,u.qualifier)||Gr(s,d,u.typeArguments)},302:function(u,s,d){return wi(s,u.assertClause)},196:DQe,198:DQe,199:function(u,s,d){return wi(s,u.objectType)||wi(s,u.indexType)},200:function(u,s,d){return wi(s,u.readonlyToken)||wi(s,u.typeParameter)||wi(s,u.nameType)||wi(s,u.questionToken)||wi(s,u.type)||Gr(s,d,u.members)},201:function(u,s,d){return wi(s,u.literal)},202:function(u,s,d){return wi(s,u.dotDotDotToken)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.type)},206:xQe,207:xQe,209:function(u,s,d){return Gr(s,d,u.elements)},210:function(u,s,d){return Gr(s,d,u.properties)},211:function(u,s,d){return wi(s,u.expression)||wi(s,u.questionDotToken)||wi(s,u.name)},212:function(u,s,d){return wi(s,u.expression)||wi(s,u.questionDotToken)||wi(s,u.argumentExpression)},213:vQe,214:vQe,215:function(u,s,d){return wi(s,u.tag)||wi(s,u.questionDotToken)||Gr(s,d,u.typeArguments)||wi(s,u.template)},216:function(u,s,d){return wi(s,u.type)||wi(s,u.expression)},217:function(u,s,d){return wi(s,u.expression)},220:function(u,s,d){return wi(s,u.expression)},221:function(u,s,d){return wi(s,u.expression)},222:function(u,s,d){return wi(s,u.expression)},224:function(u,s,d){return wi(s,u.operand)},229:function(u,s,d){return wi(s,u.asteriskToken)||wi(s,u.expression)},223:function(u,s,d){return wi(s,u.expression)},225:function(u,s,d){return wi(s,u.operand)},226:function(u,s,d){return wi(s,u.left)||wi(s,u.operatorToken)||wi(s,u.right)},234:function(u,s,d){return wi(s,u.expression)||wi(s,u.type)},235:function(u,s,d){return wi(s,u.expression)},238:function(u,s,d){return wi(s,u.expression)||wi(s,u.type)},236:function(u,s,d){return wi(s,u.name)},227:function(u,s,d){return wi(s,u.condition)||wi(s,u.questionToken)||wi(s,u.whenTrue)||wi(s,u.colonToken)||wi(s,u.whenFalse)},230:function(u,s,d){return wi(s,u.expression)},241:CQe,268:CQe,312:function(u,s,d){return Gr(s,d,u.statements)||wi(s,u.endOfFileToken)},243:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.declarationList)},261:function(u,s,d){return Gr(s,d,u.declarations)},244:function(u,s,d){return wi(s,u.expression)},245:function(u,s,d){return wi(s,u.expression)||wi(s,u.thenStatement)||wi(s,u.elseStatement)},246:function(u,s,d){return wi(s,u.statement)||wi(s,u.expression)},247:function(u,s,d){return wi(s,u.expression)||wi(s,u.statement)},248:function(u,s,d){return wi(s,u.initializer)||wi(s,u.condition)||wi(s,u.incrementor)||wi(s,u.statement)},249:function(u,s,d){return wi(s,u.initializer)||wi(s,u.expression)||wi(s,u.statement)},250:function(u,s,d){return wi(s,u.awaitModifier)||wi(s,u.initializer)||wi(s,u.expression)||wi(s,u.statement)},251:bQe,252:bQe,253:function(u,s,d){return wi(s,u.expression)},254:function(u,s,d){return wi(s,u.expression)||wi(s,u.statement)},255:function(u,s,d){return wi(s,u.expression)||wi(s,u.caseBlock)},269:function(u,s,d){return Gr(s,d,u.clauses)},296:function(u,s,d){return wi(s,u.expression)||Gr(s,d,u.statements)},297:function(u,s,d){return Gr(s,d,u.statements)},256:function(u,s,d){return wi(s,u.label)||wi(s,u.statement)},257:function(u,s,d){return wi(s,u.expression)},258:function(u,s,d){return wi(s,u.tryBlock)||wi(s,u.catchClause)||wi(s,u.finallyBlock)},299:function(u,s,d){return wi(s,u.variableDeclaration)||wi(s,u.block)},170:function(u,s,d){return wi(s,u.expression)},263:yQe,231:yQe,264:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.heritageClauses)||Gr(s,d,u.members)},265:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.typeParameters)||wi(s,u.type)},266:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.members)},306:function(u,s,d){return wi(s,u.name)||wi(s,u.initializer)},267:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.body)},271:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.moduleReference)},272:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.importClause)||wi(s,u.moduleSpecifier)||wi(s,u.attributes)},273:function(u,s,d){return wi(s,u.name)||wi(s,u.namedBindings)},300:function(u,s,d){return Gr(s,d,u.elements)},301:function(u,s,d){return wi(s,u.name)||wi(s,u.value)},270:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)},274:function(u,s,d){return wi(s,u.name)},280:function(u,s,d){return wi(s,u.name)},275:kQe,279:kQe,278:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.exportClause)||wi(s,u.moduleSpecifier)||wi(s,u.attributes)},276:FQe,281:FQe,277:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.expression)},228:function(u,s,d){return wi(s,u.head)||Gr(s,d,u.templateSpans)},239:function(u,s,d){return wi(s,u.expression)||wi(s,u.literal)},203:function(u,s,d){return wi(s,u.head)||Gr(s,d,u.templateSpans)},204:function(u,s,d){return wi(s,u.type)||wi(s,u.literal)},167:function(u,s,d){return wi(s,u.expression)},298:function(u,s,d){return Gr(s,d,u.types)},233:function(u,s,d){return wi(s,u.expression)||Gr(s,d,u.typeArguments)},283:function(u,s,d){return wi(s,u.expression)},282:function(u,s,d){return Gr(s,d,u.modifiers)},361:function(u,s,d){return Gr(s,d,u.elements)},284:function(u,s,d){return wi(s,u.openingElement)||Gr(s,d,u.children)||wi(s,u.closingElement)},288:function(u,s,d){return wi(s,u.openingFragment)||Gr(s,d,u.children)||wi(s,u.closingFragment)},285:AQe,286:AQe,292:function(u,s,d){return Gr(s,d,u.properties)},291:function(u,s,d){return wi(s,u.name)||wi(s,u.initializer)},293:function(u,s,d){return wi(s,u.expression)},294:function(u,s,d){return wi(s,u.dotDotDotToken)||wi(s,u.expression)},287:function(u,s,d){return wi(s,u.tagName)},295:function(u,s,d){return wi(s,u.namespace)||wi(s,u.name)},190:iM,191:iM,316:iM,322:iM,321:iM,323:iM,325:iM,324:function(u,s,d){return Gr(s,d,u.parameters)||wi(s,u.type)},327:function(u,s,d){return(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))||Gr(s,d,u.tags)},354:function(u,s,d){return wi(s,u.tagName)||wi(s,u.name)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},317:function(u,s,d){return wi(s,u.name)},318:function(u,s,d){return wi(s,u.left)||wi(s,u.right)},348:SQe,355:SQe,337:function(u,s,d){return wi(s,u.tagName)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},336:function(u,s,d){return wi(s,u.tagName)||wi(s,u.class)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},335:function(u,s,d){return wi(s,u.tagName)||wi(s,u.class)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},352:function(u,s,d){return wi(s,u.tagName)||wi(s,u.constraint)||Gr(s,d,u.typeParameters)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},353:function(u,s,d){return wi(s,u.tagName)||(u.typeExpression&&u.typeExpression.kind===316?wi(s,u.typeExpression)||wi(s,u.fullName)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment)):wi(s,u.fullName)||wi(s,u.typeExpression)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment)))},345:function(u,s,d){return wi(s,u.tagName)||wi(s,u.fullName)||wi(s,u.typeExpression)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},349:nM,351:nM,350:nM,347:nM,357:nM,356:nM,346:nM,330:function(u,s,d){return L(u.typeParameters,s)||L(u.parameters,s)||wi(s,u.type)},331:KFe,332:KFe,333:KFe,329:function(u,s,d){return L(u.jsDocPropertyTags,s)},334:OB,339:OB,340:OB,341:OB,342:OB,343:OB,338:OB,344:OB,360:fNt},(t=>{var u=YD(99,!0),s=40960,d,f,p,E,v;function b(he){return ht++,he}var B={createBaseSourceFileNode:he=>b(new v(he,0,0)),createBaseIdentifierNode:he=>b(new p(he,0,0)),createBasePrivateIdentifierNode:he=>b(new E(he,0,0)),createBaseTokenNode:he=>b(new f(he,0,0)),createBaseNode:he=>b(new d(he,0,0))},k=mV(11,B),{createNodeArray:T,createNumericLiteral:M,createStringLiteral:z,createLiteralLikeNode:j,createIdentifier:J,createPrivateIdentifier:K,createToken:Y,createArrayLiteralExpression:oe,createObjectLiteralExpression:se,createPropertyAccessExpression:ge,createPropertyAccessChain:ae,createElementAccessExpression:Ce,createElementAccessChain:ne,createCallExpression:ve,createCallChain:Se,createNewExpression:Ne,createParenthesizedExpression:pe,createBlock:fe,createVariableStatement:xe,createExpressionStatement:Be,createIfStatement:Ge,createWhileStatement:Ae,createForStatement:De,createForOfStatement:Ke,createVariableDeclaration:Je,createVariableDeclarationList:ft}=k,Ye,Ve,We,Gt,Yt,Ie,st,St,It,ei,ht,Ut,Ni,ji,xn,Jn,an=!0,Pi=!1;function Ai(he,Re,nt,Nt,bi=!1,en,zu,Hr=0){var Lr;if(en=oZ(he,en),en===6){const fa=aa(he,Re,nt,Nt,bi);return $V(fa,(Lr=fa.statements[0])==null?void 0:Lr.expression,fa.parseDiagnostics,!1,void 0),fa.referencedFiles=_t,fa.typeReferenceDirectives=_t,fa.libReferenceDirectives=_t,fa.amdDependencies=_t,fa.hasNoDefaultLib=!1,fa.pragmas=iU,fa}yr(he,Re,nt,Nt,en,Hr);const gr=bt(nt,bi,en,zu||wQe,Hr);return Ba(),gr}t.parseSourceFile=Ai;function Zu(he,Re){yr("",he,Re,void 0,1,0),ct();const nt=Ee(!0),Nt=X()===1&&!st.length;return Ba(),Nt?nt:void 0}t.parseIsolatedEntityName=Zu;function aa(he,Re,nt=2,Nt,bi=!1){yr(he,Re,nt,Nt,6,0),Ve=Jn,ct();const en=de();let zu,Hr;if(X()===1)zu=Ka([],en,en),Hr=Tc();else{let fa;for(;X()!==1;){let Ws;switch(X()){case 23:Ws=hD();break;case 112:case 97:case 106:Ws=Tc();break;case 41:wn(()=>ct()===9&&ct()!==59)?Ws=pE():Ws=dC();break;case 9:case 11:if(wn(()=>ct()!==59)){Ws=ir();break}default:Ws=dC();break}fa&&Ha(fa)?fa.push(Ws):fa?fa=[fa,Ws]:(fa=Ws,X()!==1&&Qi(F.Unexpected_token))}const _0=Ha(fa)?Ri(oe(fa),en):H.checkDefined(fa),qs=Be(_0);Ri(qs,en),zu=Ka([qs],en),Hr=Y0(1,F.Unexpected_token)}const Lr=Cn(he,2,6,!1,zu,Hr,Ve,Is);bi&&Dn(Lr),Lr.nodeCount=ht,Lr.identifierCount=Ni,Lr.identifiers=Ut,Lr.parseDiagnostics=v7(st,Lr),St&&(Lr.jsDocDiagnostics=v7(St,Lr));const gr=Lr;return Ba(),gr}t.parseJsonText=aa;function yr(he,Re,nt,Nt,bi,en){switch(d=Qd.getNodeConstructor(),f=Qd.getTokenConstructor(),p=Qd.getIdentifierConstructor(),E=Qd.getPrivateIdentifierConstructor(),v=Qd.getSourceFileConstructor(),Ye=$o(he),We=Re,Gt=nt,It=Nt,Yt=bi,Ie=Yj(bi),st=[],ji=0,Ut=new Map,Ni=0,ht=0,Ve=0,an=!0,Yt){case 1:case 2:Jn=524288;break;case 6:Jn=134742016;break;default:Jn=0;break}Pi=!1,u.setText(We),u.setOnError(we),u.setScriptTarget(Gt),u.setLanguageVariant(Ie),u.setScriptKind(Yt),u.setJSDocParsingMode(en)}function Ba(){u.clearCommentDirectives(),u.setText(""),u.setOnError(void 0),u.setScriptKind(0),u.setJSDocParsingMode(0),We=void 0,Gt=void 0,It=void 0,Yt=void 0,Ie=void 0,Ve=0,st=void 0,St=void 0,ji=0,Ut=void 0,xn=void 0,an=!0}function bt(he,Re,nt,Nt,bi){const en=e1(Ye);en&&(Jn|=33554432),Ve=Jn,ct();const zu=To(0,qm);H.assert(X()===1);const Hr=je(),Lr=Ln(Tc(),Hr),gr=Cn(Ye,he,nt,en,zu,Lr,Ve,Nt);return Uce(gr,We),qce(gr,fa),gr.commentDirectives=u.getCommentDirectives(),gr.nodeCount=ht,gr.identifierCount=Ni,gr.identifiers=Ut,gr.parseDiagnostics=v7(st,gr),gr.jsDocParsingMode=bi,St&&(gr.jsDocDiagnostics=v7(St,gr)),Re&&Dn(gr),gr;function fa(_0,qs,Ws){st.push(hB(Ye,We,_0,qs,Ws))}}let jn=!1;function Ln(he,Re){if(!Re)return he;H.assert(!he.jsDoc);const nt=qi(k0e(he,We),Nt=>YK.parseJSDocComment(he,Nt.pos,Nt.end-Nt.pos));return nt.length&&(he.jsDoc=nt),jn&&(jn=!1,he.flags|=536870912),he}function Si(he){const Re=It,nt=Yce.createSyntaxCursor(he);It={currentNode:fa};const Nt=[],bi=st;st=[];let en=0,zu=Lr(he.statements,0);for(;zu!==-1;){const _0=he.statements[en],qs=he.statements[zu];yn(Nt,he.statements,en,zu),en=gr(he.statements,zu);const Ws=Ue(bi,qp=>qp.start>=_0.pos),v4=Ws>=0?Ue(bi,qp=>qp.start>=qs.pos,Ws):-1;Ws>=0&&yn(st,bi,Ws,v4>=0?v4:void 0),ja(()=>{const qp=Jn;for(Jn|=65536,u.resetTokenState(qs.pos),ct();X()!==1;){const f6=u.getTokenFullStart(),b3=nc(0,qm);if(Nt.push(b3),f6===u.getTokenFullStart()&&ct(),en>=0){const Vd=he.statements[en];if(b3.end===Vd.pos)break;b3.end>Vd.pos&&(en=gr(he.statements,en+1))}}Jn=qp},2),zu=en>=0?Lr(he.statements,en):-1}if(en>=0){const _0=he.statements[en];yn(Nt,he.statements,en);const qs=Ue(bi,Ws=>Ws.start>=_0.pos);qs>=0&&yn(st,bi,qs)}return It=Re,k.updateSourceFile(he,Pt(T(Nt),he.statements));function Hr(_0){return!(_0.flags&65536)&&!!(_0.transformFlags&67108864)}function Lr(_0,qs){for(let Ws=qs;Ws<_0.length;Ws++)if(Hr(_0[Ws]))return Ws;return-1}function gr(_0,qs){for(let Ws=qs;Ws<_0.length;Ws++)if(!Hr(_0[Ws]))return Ws;return-1}function fa(_0){const qs=nt.currentNode(_0);return an&&qs&&Hr(qs)&&(qs.intersectsChange=!0),qs}}function Dn(he){Vx(he,!0)}t.fixupParentReferences=Dn;function Cn(he,Re,nt,Nt,bi,en,zu,Hr){let Lr=k.createSourceFile(bi,en,zu);return wP(Lr,0,We.length),gr(Lr),!Nt&&wc(Lr)&&Lr.transformFlags&67108864&&(Lr=Si(Lr),gr(Lr)),Lr;function gr(fa){fa.text=We,fa.bindDiagnostics=[],fa.bindSuggestionDiagnostics=void 0,fa.languageVersion=Re,fa.fileName=he,fa.languageVariant=Yj(nt),fa.isDeclarationFile=Nt,fa.scriptKind=nt,Hr(fa),fa.setExternalModuleIndicator=Hr}}function tu(he,Re){he?Jn|=Re:Jn&=~Re}function oa(he){tu(he,8192)}function Da(he){tu(he,16384)}function ua(he){tu(he,32768)}function Ta(he){tu(he,65536)}function Yo(he,Re){const nt=he&Jn;if(nt){tu(!1,nt);const Nt=Re();return tu(!0,nt),Nt}return Re()}function bo(he,Re){const nt=he&~Jn;if(nt){tu(!0,nt);const Nt=Re();return tu(!1,nt),Nt}return Re()}function Qe(he){return Yo(8192,he)}function Et(he){return bo(8192,he)}function Mt(he){return Yo(131072,he)}function qt(he){return bo(131072,he)}function Xt(he){return bo(16384,he)}function Pe(he){return bo(32768,he)}function et(he){return bo(65536,he)}function gt(he){return Yo(65536,he)}function ii(he){return bo(81920,he)}function me(he){return Yo(81920,he)}function ni(he){return(Jn&he)!==0}function vi(){return ni(16384)}function mt(){return ni(8192)}function Ot(){return ni(131072)}function Ei(){return ni(32768)}function $i(){return ni(65536)}function Qi(he,...Re){return le(u.getTokenStart(),u.getTokenEnd(),he,...Re)}function on(he,Re,nt,...Nt){const bi=qu(st);let en;return(!bi||he!==bi.start)&&(en=hB(Ye,We,he,Re,nt,...Nt),st.push(en)),Pi=!0,en}function le(he,Re,nt,...Nt){return on(he,Re-he,nt,...Nt)}function te(he,Re,...nt){le(he.pos,he.end,Re,...nt)}function we(he,Re,nt){on(u.getTokenEnd(),Re,he,nt)}function de(){return u.getTokenFullStart()}function je(){return u.hasPrecedingJSDocComment()}function X(){return ei}function it(){return ei=u.scan()}function Ct(he){return ct(),he()}function ct(){return uf(ei)&&(u.hasUnicodeEscape()||u.hasExtendedUnicodeEscape())&&le(u.getTokenStart(),u.getTokenEnd(),F.Keywords_cannot_contain_escape_characters),it()}function Qt(){return ei=u.scanJsDocToken()}function Li(he){return ei=u.scanJSDocCommentTextToken(he)}function Ui(){return ei=u.reScanGreaterToken()}function Sn(){return ei=u.reScanSlashToken()}function du(he){return ei=u.reScanTemplateToken(he)}function Ru(){return ei=u.reScanLessThanToken()}function pr(){return ei=u.reScanHashToken()}function Xu(){return ei=u.scanJsxIdentifier()}function ca(){return ei=u.scanJsxToken()}function Ku(){return ei=u.scanJsxAttributeValue()}function ja(he,Re){const nt=ei,Nt=st.length,bi=Pi,en=Jn,zu=Re!==0?u.lookAhead(he):u.tryScan(he);return H.assert(en===Jn),(!zu||Re!==0)&&(ei=nt,Re!==2&&(st.length=Nt),Pi=bi),zu}function wn(he){return ja(he,1)}function Ir(he){return ja(he,0)}function as(){return X()===80?!0:X()>118}function wo(){return X()===80?!0:X()===127&&vi()||X()===135&&$i()?!1:X()>118}function Fn(he,Re,nt=!0){return X()===he?(nt&&ct(),!0):(Re?Qi(Re):Qi(F._0_expected,Uo(he)),!1)}const vc=Object.keys(MO).filter(he=>he.length>2);function Ya(he){if(Dk(he)){le(gs(We,he.template.pos),he.template.end,F.Module_declaration_names_may_only_use_or_quoted_strings);return}const Re=at(he)?fu(he):void 0;if(!Re||!Lm(Re,Gt)){Qi(F._0_expected,Uo(27));return}const nt=gs(We,he.pos);switch(Re){case"const":case"let":case"var":le(nt,he.end,F.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":c0(F.Interface_name_cannot_be_0,F.Interface_must_be_given_a_name,19);return;case"is":le(nt,u.getTokenStart(),F.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":c0(F.Namespace_name_cannot_be_0,F.Namespace_must_be_given_a_name,19);return;case"type":c0(F.Type_alias_name_cannot_be_0,F.Type_alias_must_be_given_a_name,64);return}const Nt=bN(Re,vc,bi=>bi)??Ul(Re);if(Nt){le(nt,he.end,F.Unknown_keyword_or_identifier_Did_you_mean_0,Nt);return}X()!==0&&le(nt,he.end,F.Unexpected_keyword_or_identifier)}function c0(he,Re,nt){X()===nt?Qi(Re):Qi(he,u.getTokenValue())}function Ul(he){for(const Re of vc)if(he.length>Re.length+2&&Pa(he,Re))return`${Re} ${he.slice(Re.length)}`}function wl(he,Re,nt){if(X()===60&&!u.hasPrecedingLineBreak()){Qi(F.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(X()===21){Qi(F.Cannot_start_a_function_call_in_a_type_annotation),ct();return}if(Re&&!Lc()){nt?Qi(F._0_expected,Uo(27)):Qi(F.Expected_for_property_initializer);return}if(!Il()){if(nt){Qi(F._0_expected,Uo(27));return}Ya(he)}}function hd(he){return X()===he?(Qt(),!0):(H.assert(Sq(he)),Qi(F._0_expected,Uo(he)),!1)}function vl(he,Re,nt,Nt){if(X()===Re){ct();return}const bi=Qi(F._0_expected,Uo(Re));nt&&bi&&Es(bi,hB(Ye,We,Nt,1,F.The_parser_expected_to_find_a_1_to_match_the_0_token_here,Uo(he),Uo(Re)))}function co(he){return X()===he?(ct(),!0):!1}function Ho(he){if(X()===he)return Tc()}function id(he){if(X()===he)return Jp()}function Y0(he,Re,nt){return Ho(he)||dl(he,!1,Re||F._0_expected,nt||Uo(he))}function Ko(he){const Re=id(he);return Re||(H.assert(Sq(he)),dl(he,!1,F._0_expected,Uo(he)))}function Tc(){const he=de(),Re=X();return ct(),Ri(Y(Re),he)}function Jp(){const he=de(),Re=X();return Qt(),Ri(Y(Re),he)}function Lc(){return X()===27?!0:X()===20||X()===1||u.hasPrecedingLineBreak()}function Il(){return Lc()?(X()===27&&ct(),!0):!1}function cl(){return Il()||Fn(27)}function Ka(he,Re,nt,Nt){const bi=T(he,Nt);return t_(bi,Re,nt??u.getTokenFullStart()),bi}function Ri(he,Re,nt){return t_(he,Re,nt??u.getTokenFullStart()),Jn&&(he.flags|=Jn),Pi&&(Pi=!1,he.flags|=262144),he}function dl(he,Re,nt,...Nt){Re?on(u.getTokenFullStart(),0,nt,...Nt):nt&&Qi(nt,...Nt);const bi=de(),en=he===80?J("",void 0):Bx(he)?k.createTemplateLiteralLikeNode(he,"","",void 0):he===9?M("",void 0):he===11?z("",void 0):he===282?k.createMissingDeclaration():Y(he);return Ri(en,bi)}function Uc(he){let Re=Ut.get(he);return Re===void 0&&Ut.set(he,Re=he),Re}function Ch(he,Re,nt){if(he){Ni++;const Hr=de(),Lr=X(),gr=Uc(u.getTokenValue()),fa=u.hasExtendedUnicodeEscape();return it(),Ri(J(gr,Lr,fa),Hr)}if(X()===81)return Qi(nt||F.Private_identifiers_are_not_allowed_outside_class_bodies),Ch(!0);if(X()===0&&u.tryScan(()=>u.reScanInvalidIdentifier()===80))return Ch(!0);Ni++;const Nt=X()===1,bi=u.isReservedWord(),en=u.getTokenText(),zu=bi?F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:F.Identifier_expected;return dl(80,Nt,Re||zu,en)}function sf(he){return Ch(as(),void 0,he)}function Q0(he,Re){return Ch(wo(),he,Re)}function Cc(he){return Ch(fh(X()),he)}function $(){return(u.hasUnicodeEscape()||u.hasExtendedUnicodeEscape())&&Qi(F.Unicode_escape_sequence_cannot_appear_here),Ch(fh(X()))}function tt(){return fh(X())||X()===11||X()===9}function vt(){return fh(X())||X()===11}function mi(he){if(X()===11||X()===9){const Re=ir();return Re.text=Uc(Re.text),Re}return he&&X()===23?Wu():X()===81?uu():Cc()}function fn(){return mi(!0)}function Wu(){const he=de();Fn(23);const Re=Qe(i1);return Fn(24),Ri(k.createComputedPropertyName(Re),he)}function uu(){const he=de(),Re=K(Uc(u.getTokenValue()));return ct(),Ri(Re,he)}function Tu(he){return X()===he&&Ir(Vu)}function Nr(){return ct(),u.hasPrecedingLineBreak()?!1:S0()}function Vu(){switch(X()){case 87:return ct()===94;case 95:return ct(),X()===90?wn(ud):X()===156?wn(ic):Ss();case 90:return ud();case 126:case 139:case 153:return ct(),S0();default:return Nr()}}function Ss(){return X()===60||X()!==42&&X()!==130&&X()!==19&&S0()}function ic(){return ct(),Ss()}function nd(){return XD(X())&&Ir(Vu)}function S0(){return X()===23||X()===19||X()===42||X()===26||tt()}function ud(){return ct(),X()===86||X()===100||X()===120||X()===60||X()===128&&wn(Hw)||X()===134&&wn(R0)}function m0(he,Re){if(fc(he))return!0;switch(he){case 0:case 1:case 3:return!(X()===27&&Re)&&L9();case 2:return X()===84||X()===90;case 4:return wn(t6);case 5:return wn(N5)||X()===27&&!Re;case 6:return X()===23||tt();case 12:switch(X()){case 23:case 42:case 26:case 25:return!0;default:return tt()}case 18:return tt();case 9:return X()===23||X()===26||tt();case 24:return vt();case 7:return X()===19?wn(Bd):Re?wo()&&!D1():A5()&&!D1();case 8:return Ks();case 10:return X()===28||X()===26||Ks();case 19:return X()===103||X()===87||wo();case 15:switch(X()){case 28:case 25:return!0}case 11:return X()===26||f3();case 16:return Dt(!1);case 17:return Dt(!0);case 20:case 21:return X()===28||fE();case 22:return R();case 23:return X()===161&&wn(M9)?!1:fh(X());case 13:return fh(X())||X()===19;case 14:return!0;case 25:return!0;case 26:return H.fail("ParsingContext.Count used as a context");default:H.assertNever(he,"Non-exhaustive case in 'isListElement'.")}}function Bd(){if(H.assert(X()===19),ct()===20){const he=ct();return he===28||he===19||he===96||he===119}return!0}function Oh(){return ct(),wo()}function uh(){return ct(),fh(X())}function h4(){return ct(),b2e(X())}function D1(){return X()===119||X()===96?wn(He):!1}function He(){return ct(),f3()}function di(){return ct(),fE()}function Mn(he){if(X()===1)return!0;switch(he){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return X()===20;case 3:return X()===20||X()===84||X()===90;case 7:return X()===19||X()===96||X()===119;case 8:return ba();case 19:return X()===32||X()===21||X()===19||X()===96||X()===119;case 11:return X()===22||X()===27;case 15:case 21:case 10:return X()===24;case 17:case 16:case 18:return X()===22||X()===24;case 20:return X()!==28;case 22:return X()===19||X()===20;case 13:return X()===32||X()===44;case 14:return X()===30&&wn(gn);default:return!1}}function ba(){return!!(Lc()||tF(X())||X()===39)}function Fo(){H.assert(ji,"Missing parsing context");for(let he=0;he<26;he++)if(ji&1<=0)}function d3(he){return he===6?F.An_enum_member_name_must_be_followed_by_a_or:void 0}function Wf(){const he=Ka([],de());return he.isMissingList=!0,he}function m4(he){return!!he.isMissingList}function Vh(he,Re,nt,Nt){if(Fn(nt)){const bi=R1(he,Re);return Fn(Nt),bi}return Wf()}function Ee(he,Re){const nt=de();let Nt=he?Cc(Re):Q0(Re);for(;co(25)&&X()!==30;)Nt=Ri(k.createQualifiedName(Nt,Di(he,!1,!0)),nt);return Nt}function Bt(he,Re){return Ri(k.createQualifiedName(he,Re),he.pos)}function Di(he,Re,nt){if(u.hasPrecedingLineBreak()&&fh(X())&&wn(a6))return dl(80,!0,F.Identifier_expected);if(X()===81){const Nt=uu();return Re?Nt:dl(80,!0,F.Identifier_expected)}return he?nt?Cc():$():Q0()}function Ci(he){const Re=de(),nt=[];let Nt;do Nt=tr(he),nt.push(Nt);while(Nt.literal.kind===17);return Ka(nt,Re)}function Q(he){const Re=de();return Ri(k.createTemplateExpression(ha(he),Ci(he)),Re)}function Me(){const he=de();return Ri(k.createTemplateLiteralType(ha(!1),wt()),he)}function wt(){const he=de(),Re=[];let nt;do nt=ki(),Re.push(nt);while(nt.literal.kind===17);return Ka(Re,he)}function ki(){const he=de();return Ri(k.createTemplateLiteralTypeSpan(jd(),In(!1)),he)}function In(he){return X()===20?(du(he),os()):Y0(18,F._0_expected,Uo(20))}function tr(he){const Re=de();return Ri(k.createTemplateSpan(Qe(i1),In(he)),Re)}function ir(){return Rl(X())}function ha(he){!he&&u.getTokenFlags()&26656&&du(!1);const Re=Rl(X());return H.assert(Re.kind===16,"Template head has wrong token kind"),Re}function os(){const he=Rl(X());return H.assert(he.kind===17||he.kind===18,"Template fragment has wrong token kind"),he}function ss(he){const Re=he===15||he===18,nt=u.getTokenText();return nt.substring(1,nt.length-(u.isUnterminated()?0:Re?1:2))}function Rl(he){const Re=de(),nt=Bx(he)?k.createTemplateLiteralLikeNode(he,u.getTokenValue(),ss(he),u.getTokenFlags()&7176):he===9?M(u.getTokenValue(),u.getNumericLiteralFlags()):he===11?z(u.getTokenValue(),void 0,u.hasExtendedUnicodeEscape()):jN(he)?j(he,u.getTokenValue()):H.fail();return u.hasExtendedUnicodeEscape()&&(nt.hasExtendedUnicodeEscape=!0),u.isUnterminated()&&(nt.isUnterminated=!0),ct(),Ri(nt,Re)}function x1(){return Ee(!0,F.Type_expected)}function fd(){if(!u.hasPrecedingLineBreak()&&Ru()===30)return Vh(20,jd,30,32)}function $m(){const he=de();return Ri(k.createTypeReferenceNode(x1(),fd()),he)}function _s(he){switch(he.kind){case 183:return Ql(he.typeName);case 184:case 185:{const{parameters:Re,type:nt}=he;return m4(Re)||_s(nt)}case 196:return _s(he.type);default:return!1}}function np(he){return ct(),Ri(k.createTypePredicateNode(void 0,he,jd()),he.pos)}function Um(){const he=de();return ct(),Ri(k.createThisTypeNode(),he)}function h3(){const he=de();return ct(),Ri(k.createJSDocAllType(),he)}function d_(){const he=de();return ct(),Ri(k.createJSDocNonNullableType(hb(),!1),he)}function ta(){const he=de();return ct(),X()===28||X()===20||X()===22||X()===32||X()===64||X()===52?Ri(k.createJSDocUnknownType(),he):Ri(k.createJSDocNullableType(jd(),!1),he)}function Xx(){const he=de(),Re=je();if(wn(Fr)){ct();const nt=bu(36),Nt=bn(59,!1);return Ln(Ri(k.createJSDocFunctionType(nt,Nt),he),Re)}return Ri(k.createTypeReferenceNode(Cc(),void 0),he)}function e6(){const he=de();let Re;return(X()===110||X()===105)&&(Re=Cc(),Fn(59)),Ri(k.createParameterDeclaration(void 0,void 0,Re,void 0,bg(),void 0),he)}function bg(){u.setInJSDocType(!0);const he=de();if(co(144)){const Nt=k.createJSDocNamepathType(void 0);e:for(;;)switch(X()){case 20:case 1:case 28:case 5:break e;default:Qt()}return u.setInJSDocType(!1),Ri(Nt,he)}const Re=co(26);let nt=uC();return u.setInJSDocType(!1),Re&&(nt=Ri(k.createJSDocVariadicType(nt),he)),X()===64?(ct(),Ri(k.createJSDocOptionalType(nt),he)):nt}function sb(){const he=de();Fn(114);const Re=Ee(!0),nt=u.hasPrecedingLineBreak()?void 0:d6();return Ri(k.createTypeQueryNode(Re,nt),he)}function b5(){const he=de(),Re=j1(!1,!0),nt=Q0();let Nt,bi;co(96)&&(fE()||!f3()?Nt=jd():bi=uc());const en=co(64)?jd():void 0,zu=k.createTypeParameterDeclaration(Re,nt,Nt,en);return zu.expression=bi,Ri(zu,he)}function Xe(){if(X()===30)return Vh(19,b5,30,32)}function Dt(he){return X()===26||Ks()||XD(X())||X()===60||fE(!he)}function oi(he){const Re=_u(F.Private_identifiers_cannot_be_used_as_parameters);return ij(Re)===0&&!Oe(he)&&XD(X())&&ct(),Re}function Ti(){return as()||X()===23||X()===19}function Xi(he){return tn(he)}function Rn(he){return tn(he,!1)}function tn(he,Re=!0){const nt=de(),Nt=je(),bi=he?et(()=>j1(!0)):gt(()=>j1(!0));if(X()===110){const Lr=k.createParameterDeclaration(bi,void 0,Ch(!0),void 0,F5(),void 0),gr=Ki(bi);return gr&&te(gr,F.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Ln(Ri(Lr,nt),Nt)}const en=an;an=!1;const zu=Ho(26);if(!Re&&!Ti())return;const Hr=Ln(Ri(k.createParameterDeclaration(bi,zu,oi(bi),Ho(58),F5(),g4()),nt),Nt);return an=en,Hr}function bn(he,Re){if(kr(he,Re))return Mt(uC)}function kr(he,Re){return he===39?(Fn(he),!0):co(59)?!0:Re&&X()===39?(Qi(F._0_expected,Uo(59)),ct(),!0):!1}function Cu(he,Re){const nt=vi(),Nt=$i();Da(!!(he&1)),Ta(!!(he&2));const bi=he&32?R1(17,e6):R1(16,()=>Re?Xi(Nt):Rn(Nt));return Da(nt),Ta(Nt),bi}function bu(he){if(!Fn(21))return Wf();const Re=Cu(he,!0);return Fn(22),Re}function Eu(){co(28)||cl()}function sa(he){const Re=de(),nt=je();he===180&&Fn(105);const Nt=Xe(),bi=bu(4),en=bn(59,!0);Eu();const zu=he===179?k.createCallSignature(Nt,bi,en):k.createConstructSignature(Nt,bi,en);return Ln(Ri(zu,Re),nt)}function p0(){return X()===23&&wn(o0)}function o0(){if(ct(),X()===26||X()===24)return!0;if(XD(X())){if(ct(),wo())return!0}else if(wo())ct();else return!1;return X()===59||X()===28?!0:X()!==58?!1:(ct(),X()===59||X()===28||X()===24)}function Gf(he,Re,nt){const Nt=Vh(16,()=>Xi(!1),23,24),bi=F5();Eu();const en=k.createIndexSignature(nt,Nt,bi);return Ln(Ri(en,he),Re)}function eC(he,Re,nt){const Nt=fn(),bi=Ho(58);let en;if(X()===21||X()===30){const zu=Xe(),Hr=bu(4),Lr=bn(59,!0);en=k.createMethodSignature(nt,Nt,bi,zu,Hr,Lr)}else{const zu=F5();en=k.createPropertySignature(nt,Nt,bi,zu),X()===64&&(en.initializer=g4())}return Eu(),Ln(Ri(en,he),Re)}function t6(){if(X()===21||X()===30||X()===139||X()===153)return!0;let he=!1;for(;XD(X());)he=!0,ct();return X()===23?!0:(tt()&&(he=!0,ct()),he?X()===21||X()===30||X()===58||X()===59||X()===28||Lc():!1)}function cD(){if(X()===21||X()===30)return sa(179);if(X()===105&&wn(i6))return sa(180);const he=de(),Re=je(),nt=j1(!1);return Tu(139)?lp(he,Re,nt,177,4):Tu(153)?lp(he,Re,nt,178,4):p0()?Gf(he,Re,nt):eC(he,Re,nt)}function i6(){return ct(),X()===21||X()===30}function Gk(){return ct()===25}function lb(){switch(ct()){case 21:case 30:case 25:return!0}return!1}function Jk(){const he=de();return Ri(k.createTypeLiteralNode($k()),he)}function $k(){let he;return Fn(19)?(he=To(4,cD),Fn(20)):he=Wf(),he}function az(){return ct(),X()===40||X()===41?ct()===148:(X()===148&&ct(),X()===23&&Oh()&&ct()===103)}function D9(){const he=de(),Re=Cc();Fn(103);const nt=jd();return Ri(k.createTypeParameterDeclaration(void 0,Re,nt,void 0),he)}function ww(){const he=de();Fn(19);let Re;(X()===148||X()===40||X()===41)&&(Re=Tc(),Re.kind!==148&&Fn(148)),Fn(23);const nt=D9(),Nt=co(130)?jd():void 0;Fn(24);let bi;(X()===58||X()===40||X()===41)&&(bi=Tc(),bi.kind!==58&&Fn(58));const en=F5();cl();const zu=To(4,cD);return Fn(20),Ri(k.createMappedTypeNode(Re,nt,Nt,bi,en,zu),he)}function tC(){const he=de();if(co(26))return Ri(k.createRestTypeNode(jd()),he);const Re=jd();if(wB(Re)&&Re.pos===Re.type.pos){const nt=k.createOptionalTypeNode(Re.type);return Pt(nt,Re),nt.flags=Re.flags,nt}return Re}function x9(){return ct()===59||X()===58&&ct()===59}function v9(){return X()===26?fh(ct())&&x9():fh(X())&&x9()}function Tw(){if(wn(v9)){const he=de(),Re=je(),nt=Ho(26),Nt=Cc(),bi=Ho(58);Fn(59);const en=tC(),zu=k.createNamedTupleMember(nt,Nt,bi,en);return Ln(Ri(zu,he),Re)}return tC()}function Uk(){const he=de();return Ri(k.createTupleTypeNode(Vh(21,Tw,23,24)),he)}function Lw(){const he=de();Fn(21);const Re=jd();return Fn(22),Ri(k.createParenthesizedType(Re),he)}function C9(){let he;if(X()===128){const Re=de();ct();const nt=Ri(Y(128),Re);he=Ka([nt],Re)}return he}function b9(){const he=de(),Re=je(),nt=C9(),Nt=co(105);H.assert(!nt||Nt,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");const bi=Xe(),en=bu(4),zu=bn(39,!1),Hr=Nt?k.createConstructorTypeNode(nt,bi,en,zu):k.createFunctionTypeNode(bi,en,zu);return Ln(Ri(Hr,he),Re)}function qk(){const he=Tc();return X()===25?void 0:he}function cb(he){const Re=de();he&&ct();let nt=X()===112||X()===97||X()===106?Tc():Rl(X());return he&&(nt=Ri(k.createPrefixUnaryExpression(41,nt),Re)),Ri(k.createLiteralTypeNode(nt),Re)}function db(){return ct(),X()===102}function iC(){Ve|=4194304;const he=de(),Re=co(114);Fn(102),Fn(21);const nt=jd();let Nt;if(co(28)){const zu=u.getTokenStart();Fn(19);const Hr=X();if(Hr===118||Hr===132?ct():Qi(F._0_expected,Uo(118)),Fn(59),Nt=DC(Hr,!0),!Fn(20)){const Lr=qu(st);Lr&&Lr.code===F._0_expected.code&&Es(Lr,hB(Ye,We,zu,1,F.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}}Fn(22);const bi=co(25)?x1():void 0,en=fd();return Ri(k.createImportTypeNode(nt,Nt,bi,en,Re),he)}function y5(){return ct(),X()===9||X()===10}function hb(){switch(X()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return Ir(qk)||$m();case 67:u.reScanAsteriskEqualsToken();case 42:return h3();case 61:u.reScanQuestionToken();case 58:return ta();case 100:return Xx();case 54:return d_();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return cb();case 41:return wn(y5)?cb(!0):$m();case 116:return Tc();case 110:{const he=Um();return X()===142&&!u.hasPrecedingLineBreak()?np(he):he}case 114:return wn(db)?iC():sb();case 19:return wn(az)?ww():Jk();case 23:return Uk();case 21:return Lw();case 102:return iC();case 131:return wn(a6)?rC():$m();case 16:return Me();default:return $m()}}function fE(he){switch(X()){case 133:case 159:case 154:case 150:case 163:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!he;case 41:return!he&&wn(y5);case 21:return!he&&wn(Vs);default:return wo()}}function Vs(){return ct(),X()===22||Dt(!1)||fE()}function Zk(){const he=de();let Re=hb();for(;!u.hasPrecedingLineBreak();)switch(X()){case 54:ct(),Re=Ri(k.createJSDocNonNullableType(Re,!0),he);break;case 58:if(wn(di))return Re;ct(),Re=Ri(k.createJSDocNullableType(Re,!0),he);break;case 23:if(Fn(23),fE()){const nt=jd();Fn(24),Re=Ri(k.createIndexedAccessTypeNode(Re,nt),he)}else Fn(24),Re=Ri(k.createArrayTypeNode(Re),he);break;default:return Re}return Re}function Nw(he){const Re=de();return Fn(he),Ri(k.createTypeOperatorNode(he,p4()),Re)}function n6(){if(co(96)){const he=qt(jd);if(Ot()||X()!==58)return he}}function k5(){const he=de(),Re=Q0(),nt=Ir(n6),Nt=k.createTypeParameterDeclaration(void 0,Re,nt);return Ri(Nt,he)}function h_(){const he=de();return Fn(140),Ri(k.createInferTypeNode(k5()),he)}function p4(){const he=X();switch(he){case 143:case 158:case 148:return Nw(he);case 140:return h_()}return Mt(Zk)}function Jf(he){if(y9()){const Re=b9();let nt;return u3(Re)?nt=he?F.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:F.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:nt=he?F.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:F.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,te(Re,nt),Re}}function Hh(he,Re,nt){const Nt=de(),bi=he===52,en=co(he);let zu=en&&Jf(bi)||Re();if(X()===he||en){const Hr=[zu];for(;co(he);)Hr.push(Jf(bi)||Re());zu=Ri(nt(Ka(Hr,Nt)),Nt)}return zu}function Em(){return Hh(51,p4,k.createIntersectionTypeNode)}function nC(){return Hh(52,Em,k.createUnionTypeNode)}function Pw(){return ct(),X()===105}function y9(){return X()===30||X()===21&&wn(fb)?!0:X()===105||X()===128&&wn(Pw)}function Yk(){if(XD(X())&&j1(!1),wo()||X()===110)return ct(),!0;if(X()===23||X()===19){const he=st.length;return _u(),he===st.length}return!1}function fb(){return ct(),!!(X()===22||X()===26||Yk()&&(X()===59||X()===28||X()===58||X()===64||X()===22&&(ct(),X()===39)))}function uC(){const he=de(),Re=wo()&&Ir(Qk),nt=jd();return Re?Ri(k.createTypePredicateNode(void 0,Re,nt),he):nt}function Qk(){const he=Q0();if(X()===142&&!u.hasPrecedingLineBreak())return ct(),he}function rC(){const he=de(),Re=Y0(131),nt=X()===110?Um():Q0(),Nt=co(142)?jd():void 0;return Ri(k.createTypePredicateNode(Re,nt,Nt),he)}function jd(){if(Jn&81920)return Yo(81920,jd);if(y9())return b9();const he=de(),Re=nC();if(!Ot()&&!u.hasPrecedingLineBreak()&&co(96)){const nt=qt(jd);Fn(58);const Nt=Mt(jd);Fn(59);const bi=Mt(jd);return Ri(k.createConditionalTypeNode(Re,nt,Nt,bi),he)}return Re}function F5(){return co(59)?jd():void 0}function A5(){switch(X()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return wn(lb);default:return wo()}}function f3(){if(A5())return!0;switch(X()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return iF()?!0:wo()}}function pt(){return X()!==19&&X()!==100&&X()!==86&&X()!==60&&f3()}function i1(){const he=Ei();he&&ua(!1);const Re=de();let nt=bh(!0),Nt;for(;Nt=Ho(28);)nt=Ur(nt,Nt,bh(!0),Re);return he&&ua(!0),nt}function g4(){return co(64)?bh(!0):void 0}function bh(he){if(Mw())return aC();const Re=oz(he)||eF(he);if(Re)return Re;const nt=de(),Nt=je(),bi=p3(0);return bi.kind===80&&X()===39?m3(nt,bi,he,Nt,void 0):Df(bi)&&u5(Ui())?Ur(bi,Tc(),bh(he),nt):kg(bi,nt,he)}function Mw(){return X()===127?vi()?!0:wn(Kw):!1}function S5(){return ct(),!u.hasPrecedingLineBreak()&&wo()}function aC(){const he=de();return ct(),!u.hasPrecedingLineBreak()&&(X()===42||f3())?Ri(k.createYieldExpression(Ho(42),bh(!0)),he):Ri(k.createYieldExpression(void 0,void 0),he)}function m3(he,Re,nt,Nt,bi){H.assert(X()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");const en=k.createParameterDeclaration(void 0,void 0,Re,void 0,void 0,void 0);Ri(en,Re.pos);const zu=Ka([en],en.pos,en.end),Hr=Y0(39),Lr=up(!!bi,nt),gr=k.createArrowFunction(bi,void 0,zu,void 0,Hr,Lr);return Ln(Ri(gr,he),Nt)}function oz(he){const Re=Hs();if(Re!==0)return Re===1?pb(!0,!0):Ir(()=>Xk(he))}function Hs(){return X()===21||X()===30||X()===134?wn(yg):X()===39?1:0}function yg(){if(X()===134&&(ct(),u.hasPrecedingLineBreak()||X()!==21&&X()!==30))return 0;const he=X(),Re=ct();if(he===21){if(Re===22)switch(ct()){case 39:case 59:case 19:return 1;default:return 0}if(Re===23||Re===19)return 2;if(Re===26)return 1;if(XD(Re)&&Re!==134&&wn(Oh))return ct()===130?0:1;if(!wo()&&Re!==110)return 0;switch(ct()){case 59:return 1;case 58:return ct(),X()===59||X()===28||X()===64||X()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return H.assert(he===30),!wo()&&X()!==87?0:Ie===1?wn(()=>{co(87);const Nt=ct();if(Nt===96)switch(ct()){case 64:case 32:case 44:return!1;default:return!0}else if(Nt===28||Nt===64)return!0;return!1})?1:0:2}function Xk(he){const Re=u.getTokenStart();if(xn!=null&&xn.has(Re))return;const nt=pb(!1,he);return nt||(xn||(xn=new Set)).add(Re),nt}function eF(he){if(X()===134&&wn(mb)===1){const Re=de(),nt=je(),Nt=EC(),bi=p3(0);return m3(Re,bi,he,nt,Nt)}}function mb(){if(X()===134){if(ct(),u.hasPrecedingLineBreak()||X()===39)return 0;const he=p3(0);if(!u.hasPrecedingLineBreak()&&he.kind===80&&X()===39)return 1}return 0}function pb(he,Re){const nt=de(),Nt=je(),bi=EC(),en=Oe(bi,VP)?2:0,zu=Xe();let Hr;if(Fn(21)){if(he)Hr=Cu(en,he);else{const f6=Cu(en,he);if(!f6)return;Hr=f6}if(!Fn(22)&&!he)return}else{if(!he)return;Hr=Wf()}const Lr=X()===59,gr=bn(59,!1);if(gr&&!he&&_s(gr))return;let fa=gr;for(;(fa==null?void 0:fa.kind)===196;)fa=fa.type;const _0=fa&&TB(fa);if(!he&&X()!==39&&(_0||X()!==19))return;const qs=X(),Ws=Y0(39),v4=qs===39||qs===19?up(Oe(bi,VP),Re):Q0();if(!Re&&Lr&&X()!==59)return;const qp=k.createArrowFunction(bi,zu,Hr,gr,Ws,v4);return Ln(Ri(qp,nt),Nt)}function up(he,Re){if(X()===19)return r6(he?2:0);if(X()!==27&&X()!==100&&X()!==86&&L9()&&!pt())return r6(16|(he?2:0));const nt=an;an=!1;const Nt=he?et(()=>bh(Re)):gt(()=>bh(Re));return an=nt,Nt}function kg(he,Re,nt){const Nt=Ho(58);if(!Nt)return he;let bi;return Ri(k.createConditionalExpression(he,Nt,Yo(s,()=>bh(!1)),bi=Y0(59),H4(bi)?bh(nt):dl(80,!1,F._0_expected,Uo(59))),Re)}function p3(he){const Re=de(),nt=uc();return mE(he,nt,Re)}function tF(he){return he===103||he===165}function mE(he,Re,nt){for(;;){Ui();const Nt=Oj(X());if(!(X()===43?Nt>=he:Nt>he)||X()===103&&mt())break;if(X()===130||X()===152){if(u.hasPrecedingLineBreak())break;{const en=X();ct(),Re=en===152?zw(Re,jd()):ar(Re,jd())}}else Re=Ur(Re,Tc(),p3(Nt),nt)}return Re}function iF(){return mt()&&X()===103?!1:Oj(X())>0}function zw(he,Re){return Ri(k.createSatisfiesExpression(he,Re),he.pos)}function Ur(he,Re,nt,Nt){return Ri(k.createBinaryExpression(he,Re,nt),Nt)}function ar(he,Re){return Ri(k.createAsExpression(he,Re),he.pos)}function pE(){const he=de();return Ri(k.createPrefixUnaryExpression(X(),Ct(yh)),he)}function kf(){const he=de();return Ri(k.createDeleteExpression(Ct(yh)),he)}function Iw(){const he=de();return Ri(k.createTypeOfExpression(Ct(yh)),he)}function B5(){const he=de();return Ri(k.createVoidExpression(Ct(yh)),he)}function Rw(){return X()===135?$i()?!0:wn(Kw):!1}function gb(){const he=de();return Ri(k.createAwaitExpression(Ct(yh)),he)}function uc(){if(dD()){const nt=de(),Nt=f_();return X()===43?mE(Oj(X()),Nt,nt):Nt}const he=X(),Re=yh();if(X()===43){const nt=gs(We,Re.pos),{end:Nt}=Re;Re.kind===216?le(nt,Nt,F.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(H.assert(Sq(he)),le(nt,Nt,F.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,Uo(he)))}return Re}function yh(){switch(X()){case 40:case 41:case 55:case 54:return pE();case 91:return kf();case 114:return Iw();case 116:return B5();case 30:return Ie===1?E3(!0,void 0,void 0,!0):sC();case 135:if(Rw())return gb();default:return f_()}}function dD(){switch(X()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(Ie!==1)return!1;default:return!0}}function f_(){if(X()===46||X()===47){const Re=de();return Ri(k.createPrefixUnaryExpression(X(),Ct(g3)),Re)}else if(Ie===1&&X()===30&&wn(h4))return E3(!0);const he=g3();if(H.assert(Df(he)),(X()===46||X()===47)&&!u.hasPrecedingLineBreak()){const Re=X();return ct(),Ri(k.createPostfixUnaryExpression(he,Re),he.pos)}return he}function g3(){const he=de();let Re;return X()===102?wn(i6)?(Ve|=4194304,Re=Tc()):wn(Gk)?(ct(),ct(),Re=Ri(k.createMetaProperty(102,Cc()),he),Ve|=8388608):Re=$p():Re=X()===108?oC():$p(),ap(he,Re)}function $p(){const he=de(),Re=wd();return Ma(he,Re,!0)}function oC(){const he=de();let Re=Tc();if(X()===30){const nt=de(),Nt=Ir(_b);Nt!==void 0&&(le(nt,de(),F.super_may_not_use_type_arguments),lf()||(Re=k.createExpressionWithTypeArguments(Re,Nt)))}return X()===21||X()===25||X()===23?Re:(Y0(25,F.super_must_be_followed_by_an_argument_list_or_member_access),Ri(ge(Re,Di(!0,!0,!0)),he))}function E3(he,Re,nt,Nt=!1){const bi=de(),en=p_(he);let zu;if(en.kind===286){let Hr=jw(en),Lr;const gr=Hr[Hr.length-1];if((gr==null?void 0:gr.kind)===284&&!Vv(gr.openingElement.tagName,gr.closingElement.tagName)&&Vv(en.tagName,gr.closingElement.tagName)){const fa=gr.children.end,_0=Ri(k.createJsxElement(gr.openingElement,gr.children,Ri(k.createJsxClosingElement(Ri(J(""),fa,fa)),fa,fa)),gr.openingElement.pos,fa);Hr=Ka([...Hr.slice(0,Hr.length-1),_0],Hr.pos,fa),Lr=gr.closingElement}else Lr=A9(en,he),Vv(en.tagName,Lr.tagName)||(nt&&aE(nt)&&Vv(Lr.tagName,nt.tagName)?te(en.tagName,F.JSX_element_0_has_no_corresponding_closing_tag,JN(We,en.tagName)):te(Lr.tagName,F.Expected_corresponding_JSX_closing_tag_for_0,JN(We,en.tagName)));zu=Ri(k.createJsxElement(en,Hr,Lr),bi)}else en.kind===289?zu=Ri(k.createJsxFragment(en,jw(en),rp(he)),bi):(H.assert(en.kind===285),zu=en);if(!Nt&&he&&X()===30){const Hr=typeof Re>"u"?zu.pos:Re,Lr=Ir(()=>E3(!0,Hr));if(Lr){const gr=dl(28,!1);return wP(gr,Lr.pos,0),le(gs(We,Hr),Lr.end,F.JSX_expressions_must_have_one_parent_element),Ri(k.createBinaryExpression(zu,gr,Lr),bi)}}return zu}function Ow(){const he=de(),Re=k.createJsxText(u.getTokenValue(),ei===13);return ei=u.scanJsxToken(),Ri(Re,he)}function m_(he,Re){switch(Re){case 1:if(V7(he))te(he,F.JSX_fragment_has_no_corresponding_closing_tag);else{const nt=he.tagName,Nt=Math.min(gs(We,nt.pos),nt.end);le(Nt,nt.end,F.JSX_element_0_has_no_corresponding_closing_tag,JN(We,he.tagName))}return;case 31:case 7:return;case 12:case 13:return Ow();case 19:return k9(!1);case 30:return E3(!1,void 0,he);default:return H.assertNever(Re)}}function jw(he){const Re=[],nt=de(),Nt=ji;for(ji|=16384;;){const bi=m_(he,ei=u.reScanJsxToken());if(!bi||(Re.push(bi),aE(he)&&(bi==null?void 0:bi.kind)===284&&!Vv(bi.openingElement.tagName,bi.closingElement.tagName)&&Vv(he.tagName,bi.closingElement.tagName)))break}return ji=Nt,Ka(Re,nt)}function gE(){const he=de();return Ri(k.createJsxAttributes(To(13,sz)),he)}function p_(he){const Re=de();if(Fn(30),X()===32)return ca(),Ri(k.createJsxOpeningFragment(),Re);const nt=w5(),Nt=Jn&524288?void 0:d6(),bi=gE();let en;return X()===32?(ca(),en=k.createJsxOpeningElement(nt,Nt,bi)):(Fn(44),Fn(32,void 0,!1)&&(he?ct():ca()),en=k.createJsxSelfClosingElement(nt,Nt,bi)),Ri(en,Re)}function w5(){const he=de(),Re=Vw();if(gg(Re))return Re;let nt=Re;for(;co(25);)nt=Ri(ge(nt,Di(!0,!1,!1)),he);return nt}function Vw(){const he=de();Xu();const Re=X()===110,nt=$();return co(59)?(Xu(),Ri(k.createJsxNamespacedName(nt,$()),he)):Re?Ri(k.createToken(110),he):nt}function k9(he){const Re=de();if(!Fn(19))return;let nt,Nt;return X()!==20&&(he||(nt=Ho(26)),Nt=i1()),he?Fn(20):Fn(20,void 0,!1)&&ca(),Ri(k.createJsxExpression(nt,Nt),Re)}function sz(){if(X()===19)return Eb();const he=de();return Ri(k.createJsxAttribute(B0(),F9()),he)}function F9(){if(X()===64){if(Ku()===11)return ir();if(X()===19)return k9(!0);if(X()===30)return E3(!0);Qi(F.or_JSX_element_expected)}}function B0(){const he=de();Xu();const Re=$();return co(59)?(Xu(),Ri(k.createJsxNamespacedName(Re,$()),he)):Re}function Eb(){const he=de();Fn(19),Fn(26);const Re=i1();return Fn(20),Ri(k.createJsxSpreadAttribute(Re),he)}function A9(he,Re){const nt=de();Fn(31);const Nt=w5();return Fn(32,void 0,!1)&&(Re||!Vv(he.tagName,Nt)?ct():ca()),Ri(k.createJsxClosingElement(Nt),nt)}function rp(he){const Re=de();return Fn(31),Fn(32,F.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(he?ct():ca()),Ri(k.createJsxJsxClosingFragment(),Re)}function sC(){H.assert(Ie!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");const he=de();Fn(30);const Re=jd();Fn(32);const nt=yh();return Ri(k.createTypeAssertion(Re,nt),he)}function S9(){return ct(),fh(X())||X()===23||lf()}function lz(){return X()===29&&wn(S9)}function nF(he){if(he.flags&64)return!0;if(O7(he)){let Re=he.expression;for(;O7(Re)&&!(Re.flags&64);)Re=Re.expression;if(Re.flags&64){for(;O7(he);)he.flags|=64,he=he.expression;return!0}}return!1}function ru(he,Re,nt){const Nt=Di(!0,!0,!0),bi=nt||nF(Re),en=bi?ae(Re,nt,Nt):ge(Re,Nt);if(bi&&Xr(en.name)&&te(en.name,F.An_optional_chain_cannot_contain_private_identifiers),c5(Re)&&Re.typeArguments){const zu=Re.typeArguments.pos-1,Hr=gs(We,Re.typeArguments.end)+1;le(zu,Hr,F.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return Ri(en,he)}function v1(he,Re,nt){let Nt;if(X()===24)Nt=dl(80,!0,F.An_element_access_expression_should_take_an_argument);else{const en=Qe(i1);Pm(en)&&(en.text=Uc(en.text)),Nt=en}Fn(24);const bi=nt||nF(Re)?ne(Re,nt,Nt):Ce(Re,Nt);return Ri(bi,he)}function Ma(he,Re,nt){for(;;){let Nt,bi=!1;if(nt&&lz()?(Nt=Y0(29),bi=fh(X())):bi=co(25),bi){Re=ru(he,Re,Nt);continue}if((Nt||!Ei())&&co(23)){Re=v1(he,Re,Nt);continue}if(lf()){Re=!Nt&&Re.kind===233?EE(he,Re.expression,Nt,Re.typeArguments):EE(he,Re,Nt,void 0);continue}if(!Nt){if(X()===54&&!u.hasPrecedingLineBreak()){ct(),Re=Ri(k.createNonNullExpression(Re),he);continue}const en=Ir(_b);if(en){Re=Ri(k.createExpressionWithTypeArguments(Re,en),he);continue}}return Re}}function lf(){return X()===15||X()===16}function EE(he,Re,nt,Nt){const bi=k.createTaggedTemplateExpression(Re,Nt,X()===15?(du(!0),ir()):Q(!0));return(nt||Re.flags&64)&&(bi.flags|=64),bi.questionDotToken=nt,Ri(bi,he)}function ap(he,Re){for(;;){Re=Ma(he,Re,!0);let nt;const Nt=Ho(29);if(Nt&&(nt=Ir(_b),lf())){Re=EE(he,Re,Nt,nt);continue}if(nt||X()===21){!Nt&&Re.kind===233&&(nt=Re.typeArguments,Re=Re.expression);const bi=Un(),en=Nt||nF(Re)?Se(Re,Nt,nt,bi):ve(Re,nt,bi);Re=Ri(en,he);continue}if(Nt){const bi=dl(80,!1,F.Identifier_expected);Re=Ri(ae(Re,Nt,bi),he)}break}return Re}function Un(){Fn(21);const he=R1(11,B9);return Fn(22),he}function _b(){if(Jn&524288||Ru()!==30)return;ct();const he=R1(20,jd);if(Ui()===32)return ct(),he&&lC()?he:void 0}function lC(){switch(X()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return u.hasPrecedingLineBreak()||iF()||!f3()}function wd(){switch(X()){case 15:u.getTokenFlags()&26656&&du(!1);case 9:case 10:case 11:return ir();case 110:case 108:case 106:case 112:case 97:return Tc();case 21:return _E();case 23:return hD();case 19:return dC();case 134:if(!wn(R0))break;return _3();case 60:return sF();case 86:return Jw();case 100:return _3();case 105:return uF();case 44:case 69:if(Sn()===14)return ir();break;case 16:return Q(!1);case 81:return uu()}return Q0(F.Expression_expected)}function _E(){const he=de(),Re=je();Fn(21);const nt=Qe(i1);return Fn(22),Ln(Ri(pe(nt),he),Re)}function DE(){const he=de();Fn(26);const Re=bh(!0);return Ri(k.createSpreadElement(Re),he)}function u6(){return X()===26?DE():X()===28?Ri(k.createOmittedExpression(),de()):bh(!0)}function B9(){return Yo(s,u6)}function hD(){const he=de(),Re=u.getTokenStart(),nt=Fn(23),Nt=u.hasPrecedingLineBreak(),bi=R1(15,u6);return vl(23,24,nt,Re),Ri(oe(bi,Nt),he)}function cC(){const he=de(),Re=je();if(Ho(26)){const fa=bh(!0);return Ln(Ri(k.createSpreadAssignment(fa),he),Re)}const nt=j1(!0);if(Tu(139))return lp(he,Re,nt,177,0);if(Tu(153))return lp(he,Re,nt,178,0);const Nt=Ho(42),bi=wo(),en=fn(),zu=Ho(58),Hr=Ho(54);if(Nt||X()===21||X()===30)return sp(he,Re,nt,Nt,en,zu,Hr);let Lr;if(bi&&X()!==59){const fa=Ho(64),_0=fa?Qe(()=>bh(!0)):void 0;Lr=k.createShorthandPropertyAssignment(en,_0),Lr.equalsToken=fa}else{Fn(59);const fa=Qe(()=>bh(!0));Lr=k.createPropertyAssignment(en,fa)}return Lr.modifiers=nt,Lr.questionToken=zu,Lr.exclamationToken=Hr,Ln(Ri(Lr,he),Re)}function dC(){const he=de(),Re=u.getTokenStart(),nt=Fn(19),Nt=u.hasPrecedingLineBreak(),bi=R1(12,cC,!0);return vl(19,20,nt,Re),Ri(se(bi,Nt),he)}function _3(){const he=Ei();ua(!1);const Re=de(),nt=je(),Nt=j1(!1);Fn(100);const bi=Ho(42),en=bi?1:0,zu=Oe(Nt,VP)?2:0,Hr=en&&zu?ii(g_):en?Xt(g_):zu?et(g_):g_(),Lr=Xe(),gr=bu(en|zu),fa=bn(59,!1),_0=r6(en|zu);ua(he);const qs=k.createFunctionExpression(Nt,bi,Hr,Lr,gr,fa,_0);return Ln(Ri(qs,Re),nt)}function g_(){return as()?sf():void 0}function uF(){const he=de();if(Fn(105),co(25)){const en=Cc();return Ri(k.createMetaProperty(105,en),he)}const Re=de();let nt=Ma(Re,wd(),!1),Nt;nt.kind===233&&(Nt=nt.typeArguments,nt=nt.expression),X()===29&&Qi(F.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,JN(We,nt));const bi=X()===21?Un():void 0;return Ri(Ne(nt,Nt,bi),he)}function fD(he,Re){const nt=de(),Nt=je(),bi=u.getTokenStart(),en=Fn(19,Re);if(en||he){const zu=u.hasPrecedingLineBreak(),Hr=To(1,qm);vl(19,20,en,bi);const Lr=Ln(Ri(fe(Hr,zu),nt),Nt);return X()===64&&(Qi(F.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses),ct()),Lr}else{const zu=Wf();return Ln(Ri(fe(zu,void 0),nt),Nt)}}function r6(he,Re){const nt=vi();Da(!!(he&1));const Nt=$i();Ta(!!(he&2));const bi=an;an=!1;const en=Ei();en&&ua(!1);const zu=fD(!!(he&16),Re);return en&&ua(!0),an=bi,Da(nt),Ta(Nt),zu}function Db(){const he=de(),Re=je();return Fn(27),Ln(Ri(k.createEmptyStatement(),he),Re)}function w9(){const he=de(),Re=je();Fn(101);const nt=u.getTokenStart(),Nt=Fn(21),bi=Qe(i1);vl(21,22,Nt,nt);const en=qm(),zu=co(93)?qm():void 0;return Ln(Ri(Ge(bi,en,zu),he),Re)}function rF(){const he=de(),Re=je();Fn(92);const nt=qm();Fn(117);const Nt=u.getTokenStart(),bi=Fn(21),en=Qe(i1);return vl(21,22,bi,Nt),co(27),Ln(Ri(k.createDoStatement(nt,en),he),Re)}function xb(){const he=de(),Re=je();Fn(117);const nt=u.getTokenStart(),Nt=Fn(21),bi=Qe(i1);vl(21,22,Nt,nt);const en=qm();return Ln(Ri(Ae(bi,en),he),Re)}function E4(){const he=de(),Re=je();Fn(99);const nt=Ho(135);Fn(21);let Nt;X()!==27&&(X()===115||X()===121||X()===87||X()===160&&wn(mD)||X()===135&&wn(N9)?Nt=yb(!0):Nt=Et(i1));let bi;if(nt?Fn(165):co(165)){const en=Qe(()=>bh(!0));Fn(22),bi=Ke(nt,Nt,en,qm())}else if(co(103)){const en=Qe(i1);Fn(22),bi=k.createForInStatement(Nt,en,qm())}else{Fn(27);const en=X()!==27&&X()!==22?Qe(i1):void 0;Fn(27);const zu=X()!==22?Qe(i1):void 0;Fn(22),bi=De(Nt,en,zu,qm())}return Ln(Ri(bi,he),Re)}function hC(he){const Re=de(),nt=je();Fn(he===252?83:88);const Nt=Lc()?void 0:Q0();cl();const bi=he===252?k.createBreakStatement(Nt):k.createContinueStatement(Nt);return Ln(Ri(bi,Re),nt)}function yc(){const he=de(),Re=je();Fn(107);const nt=Lc()?void 0:Qe(i1);return cl(),Ln(Ri(k.createReturnStatement(nt),he),Re)}function md(){const he=de(),Re=je();Fn(118);const nt=u.getTokenStart(),Nt=Fn(21),bi=Qe(i1);vl(21,22,Nt,nt);const en=bo(67108864,qm);return Ln(Ri(k.createWithStatement(bi,en),he),Re)}function T9(){const he=de(),Re=je();Fn(84);const nt=Qe(i1);Fn(59);const Nt=To(3,qm);return Ln(Ri(k.createCaseClause(nt,Nt),he),Re)}function O1(){const he=de();Fn(90),Fn(59);const Re=To(3,qm);return Ri(k.createDefaultClause(Re),he)}function Ff(){return X()===84?T9():O1()}function vb(){const he=de();Fn(19);const Re=To(2,Ff);return Fn(20),Ri(k.createCaseBlock(Re),he)}function _4(){const he=de(),Re=je();Fn(109),Fn(21);const nt=Qe(i1);Fn(22);const Nt=vb();return Ln(Ri(k.createSwitchStatement(nt,Nt),he),Re)}function fC(){const he=de(),Re=je();Fn(111);let nt=u.hasPrecedingLineBreak()?void 0:Qe(i1);return nt===void 0&&(Ni++,nt=Ri(J(""),de())),Il()||Ya(nt),Ln(Ri(k.createThrowStatement(nt),he),Re)}function T5(){const he=de(),Re=je();Fn(113);const nt=fD(!1),Nt=X()===85?n1():void 0;let bi;return(!Nt||X()===98)&&(Fn(98,F.catch_or_finally_expected),bi=fD(!1)),Ln(Ri(k.createTryStatement(nt,Nt,bi),he),Re)}function n1(){const he=de();Fn(85);let Re;co(21)?(Re=cf(),Fn(22)):Re=void 0;const nt=fD(!1);return Ri(k.createCatchClause(Re,nt),he)}function aF(){const he=de(),Re=je();return Fn(89),cl(),Ln(Ri(k.createDebuggerStatement(),he),Re)}function op(){const he=de();let Re=je(),nt;const Nt=X()===21,bi=Qe(i1);return at(bi)&&co(59)?nt=k.createLabeledStatement(bi,qm()):(Il()||Ya(bi),nt=Be(bi),Nt&&(Re=!1)),Ln(Ri(nt,he),Re)}function a6(){return ct(),fh(X())&&!u.hasPrecedingLineBreak()}function Hw(){return ct(),X()===86&&!u.hasPrecedingLineBreak()}function R0(){return ct(),X()===100&&!u.hasPrecedingLineBreak()}function Kw(){return ct(),(fh(X())||X()===9||X()===10||X()===11)&&!u.hasPrecedingLineBreak()}function oF(){for(;;)switch(X()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return _m();case 135:return o6();case 120:case 156:return S5();case 144:case 145:return z9();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:const he=X();if(ct(),u.hasPrecedingLineBreak())return!1;if(he===138&&X()===156)return!0;continue;case 162:return ct(),X()===19||X()===80||X()===95;case 102:return ct(),X()===11||X()===42||X()===19||fh(X());case 95:let Re=ct();if(Re===156&&(Re=wn(ct)),Re===64||Re===42||Re===19||Re===90||Re===130||Re===60)return!0;continue;case 126:ct();continue;default:return!1}}function mC(){return wn(oF)}function L9(){switch(X()){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return mC()||wn(lb);case 87:case 95:return mC();case 134:case 138:case 120:case 144:case 145:case 156:case 162:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return mC()||!wn(a6);default:return f3()}}function Kh(){return ct(),as()||X()===19||X()===23}function D3(){return wn(Kh)}function mD(){return Cb(!0)}function Cb(he){return ct(),he&&X()===165?!1:(as()||X()===19)&&!u.hasPrecedingLineBreak()}function _m(){return wn(Cb)}function N9(he){return ct()===160?Cb(he):!1}function o6(){return wn(N9)}function qm(){switch(X()){case 27:return Db();case 19:return fD(!1);case 115:return gC(de(),je(),void 0);case 121:if(D3())return gC(de(),je(),void 0);break;case 135:if(o6())return gC(de(),je(),void 0);break;case 160:if(_m())return gC(de(),je(),void 0);break;case 100:return kb(de(),je(),void 0);case 86:return x4(de(),je(),void 0);case 101:return w9();case 92:return rF();case 117:return xb();case 99:return E4();case 88:return hC(251);case 83:return hC(252);case 107:return yc();case 118:return md();case 109:return _4();case 111:return fC();case 113:case 85:case 98:return T5();case 89:return aF();case 60:return L5();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 162:if(mC())return L5();break}return op()}function bb(he){return he.kind===138}function L5(){const he=de(),Re=je(),nt=j1(!0);if(Oe(nt,bb)){const bi=cz(he);if(bi)return bi;for(const en of nt)en.flags|=33554432;return bo(33554432,()=>P9(he,Re,nt))}else return P9(he,Re,nt)}function cz(he){return bo(33554432,()=>{const Re=fc(ji,he);if(Re)return Cl(Re)})}function P9(he,Re,nt){switch(X()){case 115:case 121:case 87:case 160:case 135:return gC(he,Re,nt);case 100:return kb(he,Re,nt);case 86:return x4(he,Re,nt);case 120:return Ht(he,Re,nt);case 156:return Oi(he,Re,nt);case 94:return Jr(he,Re,nt);case 162:case 144:case 145:return Af(he,Re,nt);case 102:return P5(he,Re,nt);case 95:switch(ct(),X()){case 90:case 64:return mte(he,Re,nt);case 130:return h6(he,Re,nt);default:return xC(he,Re,nt)}default:if(nt){const Nt=dl(282,!0,F.Declaration_expected);return BP(Nt,he),Nt.modifiers=nt,Nt}return}}function M9(){return ct()===11}function z9(){return ct(),!u.hasPrecedingLineBreak()&&(wo()||X()===11)}function pC(he,Re){if(X()!==19){if(he&4){Eu();return}if(Lc()){cl();return}}return r6(he,Re)}function $f(){const he=de();if(X()===28)return Ri(k.createOmittedExpression(),he);const Re=Ho(26),nt=_u(),Nt=g4();return Ri(k.createBindingElement(Re,void 0,nt,Nt),he)}function x3(){const he=de(),Re=Ho(26),nt=as();let Nt=fn(),bi;nt&&X()!==59?(bi=Nt,Nt=void 0):(Fn(59),bi=_u());const en=g4();return Ri(k.createBindingElement(Re,Nt,bi,en),he)}function I9(){const he=de();Fn(19);const Re=Qe(()=>R1(9,x3));return Fn(20),Ri(k.createObjectBindingPattern(Re),he)}function R9(){const he=de();Fn(23);const Re=Qe(()=>R1(10,$f));return Fn(24),Ri(k.createArrayBindingPattern(Re),he)}function Ks(){return X()===19||X()===23||X()===81||as()}function _u(he){return X()===23?R9():X()===19?I9():sf(he)}function Dm(){return cf(!0)}function cf(he){const Re=de(),nt=je(),Nt=_u(F.Private_identifiers_are_not_allowed_in_variable_declarations);let bi;he&&Nt.kind===80&&X()===54&&!u.hasPrecedingLineBreak()&&(bi=Tc());const en=F5(),zu=tF(X())?void 0:g4(),Hr=Je(Nt,bi,en,zu);return Ln(Ri(Hr,Re),nt)}function yb(he){const Re=de();let nt=0;switch(X()){case 115:break;case 121:nt|=1;break;case 87:nt|=2;break;case 160:nt|=4;break;case 135:H.assert(o6()),nt|=6,ct();break;default:H.fail()}ct();let Nt;if(X()===165&&wn(Ww))Nt=Wf();else{const bi=mt();oa(he),Nt=R1(8,he?cf:Dm),oa(bi)}return Ri(ft(Nt,nt),Re)}function Ww(){return Oh()&&ct()===22}function gC(he,Re,nt){const Nt=yb(!1);cl();const bi=xe(nt,Nt);return Ln(Ri(bi,he),Re)}function kb(he,Re,nt){const Nt=$i(),bi=tE(nt);Fn(100);const en=Ho(42),zu=bi&2048?g_():sf(),Hr=en?1:0,Lr=bi&1024?2:0,gr=Xe();bi&32&&Ta(!0);const fa=bu(Hr|Lr),_0=bn(59,!1),qs=pC(Hr|Lr,F.or_expected);Ta(Nt);const Ws=k.createFunctionDeclaration(nt,en,zu,gr,fa,_0,qs);return Ln(Ri(Ws,he),Re)}function s6(){if(X()===137)return Fn(137);if(X()===11&&wn(ct)===21)return Ir(()=>{const he=ir();return he.text==="constructor"?he:void 0})}function Zm(he,Re,nt){return Ir(()=>{if(s6()){const Nt=Xe(),bi=bu(0),en=bn(59,!1),zu=pC(0,F.or_expected),Hr=k.createConstructorDeclaration(nt,bi,zu);return Hr.typeParameters=Nt,Hr.type=en,Ln(Ri(Hr,he),Re)}})}function sp(he,Re,nt,Nt,bi,en,zu,Hr){const Lr=Nt?1:0,gr=Oe(nt,VP)?2:0,fa=Xe(),_0=bu(Lr|gr),qs=bn(59,!1),Ws=pC(Lr|gr,Hr),v4=k.createMethodDeclaration(nt,Nt,bi,en,fa,_0,qs,Ws);return v4.exclamationToken=zu,Ln(Ri(v4,he),Re)}function l6(he,Re,nt,Nt,bi){const en=!bi&&!u.hasPrecedingLineBreak()?Ho(54):void 0,zu=F5(),Hr=Yo(90112,g4);wl(Nt,zu,Hr);const Lr=k.createPropertyDeclaration(nt,Nt,bi||en,zu,Hr);return Ln(Ri(Lr,he),Re)}function Up(he,Re,nt){const Nt=Ho(42),bi=fn(),en=Ho(58);return Nt||X()===21||X()===30?sp(he,Re,nt,Nt,bi,en,void 0,F.or_expected):l6(he,Re,nt,bi,en)}function lp(he,Re,nt,Nt,bi){const en=fn(),zu=Xe(),Hr=bu(0),Lr=bn(59,!1),gr=pC(bi),fa=Nt===177?k.createGetAccessorDeclaration(nt,en,Hr,Lr,gr):k.createSetAccessorDeclaration(nt,en,Hr,gr);return fa.typeParameters=zu,jf(fa)&&(fa.type=Lr),Ln(Ri(fa,he),Re)}function N5(){let he;if(X()===60)return!0;for(;XD(X());){if(he=X(),qse(he))return!0;ct()}if(X()===42||(tt()&&(he=X(),ct()),X()===23))return!0;if(he!==void 0){if(!uf(he)||he===153||he===139)return!0;switch(X()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return Lc()}}return!1}function Fb(he,Re,nt){Y0(126);const Nt=Pc(),bi=Ln(Ri(k.createClassStaticBlockDeclaration(Nt),he),Re);return bi.modifiers=nt,bi}function Pc(){const he=vi(),Re=$i();Da(!1),Ta(!0);const nt=fD(!1);return Da(he),Ta(Re),nt}function dz(){if($i()&&X()===135){const he=de(),Re=Q0(F.Expression_expected);ct();const nt=Ma(he,Re,!0);return ap(he,nt)}return g3()}function D4(){const he=de();if(!co(60))return;const Re=Pe(dz);return Ri(k.createDecorator(Re),he)}function Gw(he,Re,nt){const Nt=de(),bi=X();if(X()===87&&Re){if(!Ir(Nr))return}else{if(nt&&X()===126&&wn(vE))return;if(he&&X()===126)return;if(!nd())return}return Ri(Y(bi),Nt)}function j1(he,Re,nt){const Nt=de();let bi,en,zu,Hr=!1,Lr=!1,gr=!1;if(he&&X()===60)for(;en=D4();)bi=xi(bi,en);for(;zu=Gw(Hr,Re,nt);)zu.kind===126&&(Hr=!0),bi=xi(bi,zu),Lr=!0;if(Lr&&he&&X()===60)for(;en=D4();)bi=xi(bi,en),gr=!0;if(gr)for(;zu=Gw(Hr,Re,nt);)zu.kind===126&&(Hr=!0),bi=xi(bi,zu);return bi&&Ka(bi,Nt)}function EC(){let he;if(X()===134){const Re=de();ct();const nt=Ri(Y(134),Re);he=Ka([nt],Re)}return he}function Ab(){const he=de(),Re=je();if(X()===27)return ct(),Ln(Ri(k.createSemicolonClassElement(),he),Re);const nt=j1(!0,!0,!0);if(X()===126&&wn(vE))return Fb(he,Re,nt);if(Tu(139))return lp(he,Re,nt,177,0);if(Tu(153))return lp(he,Re,nt,178,0);if(X()===137||X()===11){const Nt=Zm(he,Re,nt);if(Nt)return Nt}if(p0())return Gf(he,Re,nt);if(fh(X())||X()===11||X()===9||X()===42||X()===23)if(Oe(nt,bb)){for(const bi of nt)bi.flags|=33554432;return bo(33554432,()=>Up(he,Re,nt))}else return Up(he,Re,nt);if(nt){const Nt=dl(80,!0,F.Declaration_expected);return l6(he,Re,nt,Nt,void 0)}return H.fail("Should not have attempted to parse class member declaration.")}function sF(){const he=de(),Re=je(),nt=j1(!0);if(X()===86)return Ol(he,Re,nt,231);const Nt=dl(282,!0,F.Expression_expected);return BP(Nt,he),Nt.modifiers=nt,Nt}function Jw(){return Ol(de(),je(),void 0,231)}function x4(he,Re,nt){return Ol(he,Re,nt,263)}function Ol(he,Re,nt,Nt){const bi=$i();Fn(86);const en=xE(),zu=Xe();Oe(nt,L7)&&Ta(!0);const Hr=v3();let Lr;Fn(19)?(Lr=be(),Fn(20)):Lr=Wf(),Ta(bi);const gr=Nt===263?k.createClassDeclaration(nt,en,zu,Hr,Lr):k.createClassExpression(nt,en,zu,Hr,Lr);return Ln(Ri(gr,he),Re)}function xE(){return as()&&!c6()?Ch(as()):void 0}function c6(){return X()===119&&wn(uh)}function v3(){if(R())return To(22,_C)}function _C(){const he=de(),Re=X();H.assert(Re===96||Re===119),ct();const nt=R1(7,$w);return Ri(k.createHeritageClause(Re,nt),he)}function $w(){const he=de(),Re=g3();if(Re.kind===233)return Re;const nt=d6();return Ri(k.createExpressionWithTypeArguments(Re,nt),he)}function d6(){return X()===30?Vh(20,jd,30,32):void 0}function R(){return X()===96||X()===119}function be(){return To(5,Ab)}function Ht(he,Re,nt){Fn(120);const Nt=Q0(),bi=Xe(),en=v3(),zu=$k(),Hr=k.createInterfaceDeclaration(nt,Nt,bi,en,zu);return Ln(Ri(Hr,he),Re)}function Oi(he,Re,nt){Fn(156),u.hasPrecedingLineBreak()&&Qi(F.Line_break_not_permitted_here);const Nt=Q0(),bi=Xe();Fn(64);const en=X()===141&&Ir(qk)||jd();cl();const zu=k.createTypeAliasDeclaration(nt,Nt,bi,en);return Ln(Ri(zu,he),Re)}function yu(){const he=de(),Re=je(),nt=fn(),Nt=Qe(g4);return Ln(Ri(k.createEnumMember(nt,Nt),he),Re)}function Jr(he,Re,nt){Fn(94);const Nt=Q0();let bi;Fn(19)?(bi=me(()=>R1(6,yu)),Fn(20)):bi=Wf();const en=k.createEnumDeclaration(nt,Nt,bi);return Ln(Ri(en,he),Re)}function br(){const he=de();let Re;return Fn(19)?(Re=To(1,qm),Fn(20)):Re=Wf(),Ri(k.createModuleBlock(Re),he)}function Ea(he,Re,nt,Nt){const bi=Nt&32,en=Nt&8?Cc():Q0(),zu=co(25)?Ea(de(),!1,void 0,8|bi):br(),Hr=k.createModuleDeclaration(nt,en,zu,Nt);return Ln(Ri(Hr,he),Re)}function Ao(he,Re,nt){let Nt=0,bi;X()===162?(bi=Q0(),Nt|=2048):(bi=ir(),bi.text=Uc(bi.text));let en;X()===19?en=br():cl();const zu=k.createModuleDeclaration(nt,bi,en,Nt);return Ln(Ri(zu,he),Re)}function Af(he,Re,nt){let Nt=0;if(X()===162)return Ao(he,Re,nt);if(co(145))Nt|=32;else if(Fn(144),X()===11)return Ao(he,Re,nt);return Ea(he,Re,nt,Nt)}function Uf(){return X()===149&&wn(Fr)}function Fr(){return ct()===21}function vE(){return ct()===19}function gn(){return ct()===44}function h6(he,Re,nt){Fn(130),Fn(145);const Nt=Q0();cl();const bi=k.createNamespaceExportDeclaration(Nt);return bi.modifiers=nt,Ln(Ri(bi,he),Re)}function P5(he,Re,nt){Fn(102);const Nt=u.getTokenFullStart();let bi;wo()&&(bi=Q0());let en=!1;if(X()!==161&&(bi==null?void 0:bi.escapedText)==="type"&&(wo()||O9())&&(en=!0,bi=wo()?Q0():void 0),bi&&!cF())return E_(he,Re,nt,bi,en);let zu;(bi||X()===42||X()===19)&&(zu=M5(bi,Nt,en),Fn(161));const Hr=j9(),Lr=X();let gr;(Lr===118||Lr===132)&&!u.hasPrecedingLineBreak()&&(gr=DC(Lr)),cl();const fa=k.createImportDeclaration(nt,zu,Hr,gr);return Ln(Ri(fa,he),Re)}function lF(){const he=de(),Re=fh(X())?Cc():Rl(11);Fn(59);const nt=bh(!0);return Ri(k.createImportAttribute(Re,nt),he)}function DC(he,Re){const nt=de();Re||Fn(he);const Nt=u.getTokenStart();if(Fn(19)){const bi=u.hasPrecedingLineBreak(),en=R1(24,lF,!0);if(!Fn(20)){const zu=qu(st);zu&&zu.code===F._0_expected.code&&Es(zu,hB(Ye,We,Nt,1,F.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return Ri(k.createImportAttributes(en,bi,he),nt)}else{const bi=Ka([],de(),void 0,!1);return Ri(k.createImportAttributes(bi,!1,he),nt)}}function O9(){return X()===42||X()===19}function cF(){return X()===28||X()===161}function E_(he,Re,nt,Nt,bi){Fn(64);const en=C3();cl();const zu=k.createImportEqualsDeclaration(nt,bi,Nt,en);return Ln(Ri(zu,he),Re)}function M5(he,Re,nt){let Nt;return(!he||co(28))&&(Nt=X()===42?ZK():hz(275)),Ri(k.createImportClause(nt,he,Nt),Re)}function C3(){return Uf()?Uw():Ee(!1)}function Uw(){const he=de();Fn(149),Fn(21);const Re=j9();return Fn(22),Ri(k.createExternalModuleReference(Re),he)}function j9(){if(X()===11){const he=ir();return he.text=Uc(he.text),he}else return i1()}function ZK(){const he=de();Fn(42),Fn(130);const Re=Q0();return Ri(k.createNamespaceImport(Re),he)}function hz(he){const Re=de(),nt=he===275?k.createNamedImports(Vh(23,pD,19,20)):k.createNamedExports(Vh(23,__,19,20));return Ri(nt,Re)}function __(){const he=je();return Ln(qw(281),he)}function pD(){return qw(276)}function qw(he){const Re=de();let nt=uf(X())&&!wo(),Nt=u.getTokenStart(),bi=u.getTokenEnd(),en=!1,zu,Hr=!0,Lr=Cc();if(Lr.escapedText==="type")if(X()===130){const _0=Cc();if(X()===130){const qs=Cc();fh(X())?(en=!0,zu=_0,Lr=fa(),Hr=!1):(zu=Lr,Lr=qs,Hr=!1)}else fh(X())?(zu=Lr,Hr=!1,Lr=fa()):(en=!0,Lr=_0)}else fh(X())&&(en=!0,Lr=fa());Hr&&X()===130&&(zu=Lr,Fn(130),Lr=fa()),he===276&&nt&&le(Nt,bi,F.Identifier_expected);const gr=he===276?k.createImportSpecifier(en,zu,Lr):k.createExportSpecifier(en,zu,Lr);return Ri(gr,Re);function fa(){return nt=uf(X())&&!wo(),Nt=u.getTokenStart(),bi=u.getTokenEnd(),Cc()}}function D_(he){return Ri(k.createNamespaceExport(Cc()),he)}function xC(he,Re,nt){const Nt=$i();Ta(!0);let bi,en,zu;const Hr=co(156),Lr=de();co(42)?(co(130)&&(bi=D_(Lr)),Fn(161),en=j9()):(bi=hz(279),(X()===161||X()===11&&!u.hasPrecedingLineBreak())&&(Fn(161),en=j9()));const gr=X();en&&(gr===118||gr===132)&&!u.hasPrecedingLineBreak()&&(zu=DC(gr)),cl(),Ta(Nt);const fa=k.createExportDeclaration(nt,Hr,bi,en,zu);return Ln(Ri(fa,he),Re)}function mte(he,Re,nt){const Nt=$i();Ta(!0);let bi;co(64)?bi=!0:Fn(90);const en=bh(!0);cl(),Ta(Nt);const zu=k.createExportAssignment(nt,bi,en);return Ln(Ri(zu,he),Re)}let CE;(he=>{he[he.SourceElements=0]="SourceElements",he[he.BlockStatements=1]="BlockStatements",he[he.SwitchClauses=2]="SwitchClauses",he[he.SwitchClauseStatements=3]="SwitchClauseStatements",he[he.TypeMembers=4]="TypeMembers",he[he.ClassMembers=5]="ClassMembers",he[he.EnumMembers=6]="EnumMembers",he[he.HeritageClauseElement=7]="HeritageClauseElement",he[he.VariableDeclarations=8]="VariableDeclarations",he[he.ObjectBindingElements=9]="ObjectBindingElements",he[he.ArrayBindingElements=10]="ArrayBindingElements",he[he.ArgumentExpressions=11]="ArgumentExpressions",he[he.ObjectLiteralMembers=12]="ObjectLiteralMembers",he[he.JsxAttributes=13]="JsxAttributes",he[he.JsxChildren=14]="JsxChildren",he[he.ArrayLiteralMembers=15]="ArrayLiteralMembers",he[he.Parameters=16]="Parameters",he[he.JSDocParameters=17]="JSDocParameters",he[he.RestProperties=18]="RestProperties",he[he.TypeParameters=19]="TypeParameters",he[he.TypeArguments=20]="TypeArguments",he[he.TupleElementTypes=21]="TupleElementTypes",he[he.HeritageClauses=22]="HeritageClauses",he[he.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",he[he.ImportAttributes=24]="ImportAttributes",he[he.JSDocComment=25]="JSDocComment",he[he.Count=26]="Count"})(CE||(CE={}));let dF;(he=>{he[he.False=0]="False",he[he.True=1]="True",he[he.Unknown=2]="Unknown"})(dF||(dF={}));let YK;(he=>{function Re(gr,fa,_0){yr("file.js",gr,99,void 0,1,0),u.setText(gr,fa,_0),ei=u.scan();const qs=nt(),Ws=Cn("file.js",99,1,!1,[],Y(1),0,Is),v4=v7(st,Ws);return St&&(Ws.jsDocDiagnostics=v7(St,Ws)),Ba(),qs?{jsDocTypeExpression:qs,diagnostics:v4}:void 0}he.parseJSDocTypeExpressionForTests=Re;function nt(gr){const fa=de(),_0=(gr?co:Fn)(19),qs=bo(16777216,bg);(!gr||_0)&&hd(20);const Ws=k.createJSDocTypeExpression(qs);return Dn(Ws),Ri(Ws,fa)}he.parseJSDocTypeExpression=nt;function Nt(){const gr=de(),fa=co(19),_0=de();let qs=Ee(!1);for(;X()===81;)pr(),Qt(),qs=Ri(k.createJSDocMemberName(qs,Q0()),_0);fa&&hd(20);const Ws=k.createJSDocNameReference(qs);return Dn(Ws),Ri(Ws,gr)}he.parseJSDocNameReference=Nt;function bi(gr,fa,_0){yr("",gr,99,void 0,1,0);const qs=bo(16777216,()=>Lr(fa,_0)),v4=v7(st,{languageVariant:0,text:gr});return Ba(),qs?{jsDoc:qs,diagnostics:v4}:void 0}he.parseIsolatedJSDocComment=bi;function en(gr,fa,_0){const qs=ei,Ws=st.length,v4=Pi,qp=bo(16777216,()=>Lr(fa,_0));return ks(qp,gr),Jn&524288&&(St||(St=[]),St.push(...st)),ei=qs,st.length=Ws,Pi=v4,qp}he.parseJSDocComment=en;let zu;(gr=>{gr[gr.BeginningOfLine=0]="BeginningOfLine",gr[gr.SawAsterisk=1]="SawAsterisk",gr[gr.SavingComments=2]="SavingComments",gr[gr.SavingBackticks=3]="SavingBackticks"})(zu||(zu={}));let Hr;(gr=>{gr[gr.Property=1]="Property",gr[gr.Parameter=2]="Parameter",gr[gr.CallbackParameter=4]="CallbackParameter"})(Hr||(Hr={}));function Lr(gr=0,fa){const _0=We,qs=fa===void 0?_0.length:gr+fa;if(fa=qs-gr,H.assert(gr>=0),H.assert(gr<=qs),H.assert(qs<=_0.length),!Jce(_0,gr))return;let Ws,v4,qp,f6,b3,Vd=[];const gD=[],fz=ji;ji|=1<<25;const Zw=u.scanRange(gr+3,fa-5,Yw);return ji=fz,Zw;function Yw(){let sn=1,Qu,Hu=gr-(_0.lastIndexOf(` + })(name => super[name], (name, value) => super[name] = value);`}}});function Of(t){return t.kind===9}function iY(t){return t.kind===10}function us(t){return t.kind===11}function w7(t){return t.kind===12}function mce(t){return t.kind===14}function T7(t){return t.kind===15}function vB(t){return t.kind===16}function qke(t){return t.kind===17}function pce(t){return t.kind===18}function nY(t){return t.kind===26}function Zke(t){return t.kind===28}function gce(t){return t.kind===40}function Ece(t){return t.kind===41}function yV(t){return t.kind===42}function kV(t){return t.kind===54}function Wx(t){return t.kind===58}function Yke(t){return t.kind===59}function uY(t){return t.kind===29}function Qke(t){return t.kind===39}function at(t){return t.kind===80}function ea(t){return t.kind===81}function L7(t){return t.kind===95}function rY(t){return t.kind===90}function VP(t){return t.kind===134}function Xke(t){return t.kind===131}function _ce(t){return t.kind===135}function eFe(t){return t.kind===148}function N7(t){return t.kind===126}function tFe(t){return t.kind===128}function iFe(t){return t.kind===164}function nFe(t){return t.kind===129}function HP(t){return t.kind===108}function KP(t){return t.kind===102}function uFe(t){return t.kind===84}function vf(t){return t.kind===166}function Ps(t){return t.kind===167}function Bl(t){return t.kind===168}function io(t){return t.kind===169}function g1(t){return t.kind===170}function Mm(t){return t.kind===171}function ko(t){return t.kind===172}function n3(t){return t.kind===173}function dc(t){return t.kind===174}function zl(t){return t.kind===175}function hc(t){return t.kind===176}function zm(t){return t.kind===177}function jf(t){return t.kind===178}function CB(t){return t.kind===179}function FV(t){return t.kind===180}function Ek(t){return t.kind===181}function aY(t){return t.kind===182}function X4(t){return t.kind===183}function u3(t){return t.kind===184}function WP(t){return t.kind===185}function bB(t){return t.kind===186}function fm(t){return t.kind===187}function oY(t){return t.kind===188}function yB(t){return t.kind===189}function GP(t){return t.kind===202}function Dce(t){return t.kind===190}function xce(t){return t.kind===191}function Pv(t){return t.kind===192}function kB(t){return t.kind===193}function FB(t){return t.kind===194}function P7(t){return t.kind===195}function M7(t){return t.kind===196}function sY(t){return t.kind===197}function z7(t){return t.kind===198}function I7(t){return t.kind===199}function JP(t){return t.kind===200}function Mv(t){return t.kind===201}function nD(t){return t.kind===205}function rFe(t){return t.kind===204}function GYe(t){return t.kind===203}function Rp(t){return t.kind===206}function _k(t){return t.kind===207}function js(t){return t.kind===208}function Dh(t){return t.kind===209}function ys(t){return t.kind===210}function Iu(t){return t.kind===211}function U0(t){return t.kind===212}function Mo(t){return t.kind===213}function j2(t){return t.kind===214}function Dk(t){return t.kind===215}function aFe(t){return t.kind===216}function Cf(t){return t.kind===217}function A0(t){return t.kind===218}function q0(t){return t.kind===219}function oFe(t){return t.kind===220}function AB(t){return t.kind===221}function R7(t){return t.kind===222}function Gx(t){return t.kind===223}function zv(t){return t.kind===224}function vce(t){return t.kind===225}function Xn(t){return t.kind===226}function SB(t){return t.kind===227}function lY(t){return t.kind===228}function cY(t){return t.kind===229}function uE(t){return t.kind===230}function Xd(t){return t.kind===231}function Fd(t){return t.kind===232}function c5(t){return t.kind===233}function AV(t){return t.kind===234}function sFe(t){return t.kind===238}function O7(t){return t.kind===235}function $P(t){return t.kind===236}function JYe(t){return t.kind===237}function dY(t){return t.kind===360}function UP(t){return t.kind===361}function qP(t){return t.kind===239}function lFe(t){return t.kind===240}function po(t){return t.kind===241}function Jl(t){return t.kind===243}function Cce(t){return t.kind===242}function Od(t){return t.kind===244}function xk(t){return t.kind===245}function $Ye(t){return t.kind===246}function UYe(t){return t.kind===247}function vk(t){return t.kind===248}function hY(t){return t.kind===249}function SV(t){return t.kind===250}function qYe(t){return t.kind===251}function ZYe(t){return t.kind===252}function Op(t){return t.kind===253}function cFe(t){return t.kind===254}function BV(t){return t.kind===255}function V2(t){return t.kind===256}function bce(t){return t.kind===257}function Ck(t){return t.kind===258}function YYe(t){return t.kind===259}function ua(t){return t.kind===260}function Ad(t){return t.kind===261}function ed(t){return t.kind===262}function Wc(t){return t.kind===263}function xh(t){return t.kind===264}function jp(t){return t.kind===265}function Iv(t){return t.kind===266}function _c(t){return t.kind===267}function rE(t){return t.kind===268}function ZP(t){return t.kind===269}function wV(t){return t.kind===270}function E1(t){return t.kind===271}function Sd(t){return t.kind===272}function n_(t){return t.kind===273}function QYe(t){return t.kind===302}function dFe(t){return t.kind===300}function XYe(t){return t.kind===301}function fY(t){return t.kind===300}function hFe(t){return t.kind===301}function Jx(t){return t.kind===274}function u_(t){return t.kind===280}function uD(t){return t.kind===275}function bf(t){return t.kind===276}function tc(t){return t.kind===277}function Gc(t){return t.kind===278}function ep(t){return t.kind===279}function eh(t){return t.kind===281}function eQe(t){return t.kind===282}function yce(t){return t.kind===359}function j7(t){return t.kind===362}function r_(t){return t.kind===283}function r3(t){return t.kind===284}function bk(t){return t.kind===285}function aE(t){return t.kind===286}function H2(t){return t.kind===287}function K2(t){return t.kind===288}function V7(t){return t.kind===289}function fFe(t){return t.kind===290}function oE(t){return t.kind===291}function W2(t){return t.kind===292}function H7(t){return t.kind===293}function YP(t){return t.kind===294}function gg(t){return t.kind===295}function BB(t){return t.kind===296}function TV(t){return t.kind===297}function mm(t){return t.kind===298}function G2(t){return t.kind===299}function Jc(t){return t.kind===303}function pm(t){return t.kind===304}function d5(t){return t.kind===305}function J2(t){return t.kind===306}function mFe(t){return t.kind===308}function la(t){return t.kind===312}function kce(t){return t.kind===313}function yk(t){return t.kind===314}function kk(t){return t.kind===316}function QP(t){return t.kind===317}function Rv(t){return t.kind===318}function pFe(t){return t.kind===331}function gFe(t){return t.kind===332}function tQe(t){return t.kind===333}function EFe(t){return t.kind===319}function _Fe(t){return t.kind===320}function wB(t){return t.kind===321}function mY(t){return t.kind===322}function Fce(t){return t.kind===323}function TB(t){return t.kind===324}function pY(t){return t.kind===325}function iQe(t){return t.kind===326}function Vp(t){return t.kind===327}function K7(t){return t.kind===329}function Ov(t){return t.kind===330}function LB(t){return t.kind===335}function nQe(t){return t.kind===337}function DFe(t){return t.kind===339}function Ace(t){return t.kind===345}function Sce(t){return t.kind===340}function Bce(t){return t.kind===341}function wce(t){return t.kind===342}function Tce(t){return t.kind===343}function gY(t){return t.kind===344}function NB(t){return t.kind===346}function Lce(t){return t.kind===338}function uQe(t){return t.kind===354}function LV(t){return t.kind===347}function Eg(t){return t.kind===348}function EY(t){return t.kind===349}function xFe(t){return t.kind===350}function XP(t){return t.kind===351}function _g(t){return t.kind===352}function PB(t){return t.kind===353}function rQe(t){return t.kind===334}function vFe(t){return t.kind===355}function Nce(t){return t.kind===336}function _Y(t){return t.kind===357}function aQe(t){return t.kind===356}function MB(t){return t.kind===358}var PLt=o({"src/compiler/factory/nodeTests.ts"(){Bo()}});function NV(t){return t.createExportDeclaration(void 0,!1,t.createNamedExports([]),void 0)}function Fk(t,u,s,d){if(Ps(s))return Pt(t.createElementAccessExpression(u,s.expression),d);{const f=Pt(J_(s)?t.createPropertyAccessExpression(u,s):t.createElementAccessExpression(u,s),s);return i_(f,128),f}}function CFe(t,u){const s=a_.createIdentifier(t||"React");return ks(s,Ua(u)),s}function bFe(t,u,s){if(vf(u)){const d=bFe(t,u.left,s),f=t.createIdentifier(fu(u.right));return f.escapedText=u.right.escapedText,t.createPropertyAccessExpression(d,f)}else return CFe(fu(u),s)}function Pce(t,u,s,d){return u?bFe(t,u,d):t.createPropertyAccessExpression(CFe(s,d),"createElement")}function MLt(t,u,s,d){return u?bFe(t,u,d):t.createPropertyAccessExpression(CFe(s,d),"Fragment")}function yFe(t,u,s,d,f,p){const E=[s];if(d&&E.push(d),f&&f.length>0)if(d||E.push(t.createNull()),f.length>1)for(const v of f)vh(v),E.push(v);else E.push(f[0]);return Pt(t.createCallExpression(u,void 0,E),p)}function kFe(t,u,s,d,f,p,E){const b=[MLt(t,s,d,p),t.createNull()];if(f&&f.length>0)if(f.length>1)for(const B of f)vh(B),b.push(B);else b.push(f[0]);return Pt(t.createCallExpression(Pce(t,u,d,p),void 0,b),E)}function Mce(t,u,s){if(Ad(u)){const d=Pn(u.declarations),f=t.updateVariableDeclaration(d,d.name,void 0,void 0,s);return Pt(t.createVariableStatement(void 0,t.updateVariableDeclarationList(u,[f])),u)}else{const d=Pt(t.createAssignment(u,s),u);return Pt(t.createExpressionStatement(d),u)}}function oQe(t,u,s){return po(u)?t.updateBlock(u,Pt(t.createNodeArray([s,...u.statements]),u.statements)):t.createBlock(t.createNodeArray([u,s]),!0)}function PV(t,u){if(vf(u)){const s=PV(t,u.left),d=ks(Pt(t.cloneNode(u.right),u.right),u.right.parent);return Pt(t.createPropertyAccessExpression(s,d),u)}else return ks(Pt(t.cloneNode(u),u),u.parent)}function zce(t,u){return at(u)?t.createStringLiteralFromNode(u):Ps(u)?ks(Pt(t.cloneNode(u.expression),u.expression),u.expression.parent):ks(Pt(t.cloneNode(u),u),u.parent)}function zLt(t,u,s,d,f){const{firstAccessor:p,getAccessor:E,setAccessor:v}=dk(u,s);if(s===p)return Pt(t.createObjectDefinePropertyCall(d,zce(t,s.name),t.createPropertyDescriptor({enumerable:t.createFalse(),configurable:!0,get:E&&Pt(su(t.createFunctionExpression(p2(E),void 0,void 0,void 0,E.parameters,void 0,E.body),E),E),set:v&&Pt(su(t.createFunctionExpression(p2(v),void 0,void 0,void 0,v.parameters,void 0,v.body),v),v)},!f)),p)}function ILt(t,u,s){return su(Pt(t.createAssignment(Fk(t,s,u.name,u.name),u.initializer),u),u)}function RLt(t,u,s){return su(Pt(t.createAssignment(Fk(t,s,u.name,u.name),t.cloneNode(u.name)),u),u)}function OLt(t,u,s){return su(Pt(t.createAssignment(Fk(t,s,u.name,u.name),su(Pt(t.createFunctionExpression(p2(u),u.asteriskToken,void 0,void 0,u.parameters,void 0,u.body),u),u)),u),u)}function FFe(t,u,s,d){switch(s.name&&ea(s.name)&&H.failBadSyntaxKind(s.name,"Private identifiers are not allowed in object literals."),s.kind){case 177:case 178:return zLt(t,u.properties,s,d,!!u.multiLine);case 303:return ILt(t,s,d);case 304:return RLt(t,s,d);case 174:return OLt(t,s,d)}}function DY(t,u,s,d,f){const p=u.operator;H.assert(p===46||p===47,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");const E=t.createTempVariable(d);s=t.createAssignment(E,s),Pt(s,u.operand);let v=zv(u)?t.createPrefixUnaryExpression(p,E):t.createPostfixUnaryExpression(E,p);return Pt(v,u),f&&(v=t.createAssignment(f,v),Pt(v,u)),s=t.createComma(s,v),Pt(s,u),vce(u)&&(s=t.createComma(s,E),Pt(s,u)),s}function Ice(t){return(bs(t)&65536)!==0}function rD(t){return(bs(t)&32768)!==0}function xY(t){return(bs(t)&16384)!==0}function sQe(t){return us(t.expression)&&t.expression.text==="use strict"}function Rce(t){for(const u of t)if(Mp(u)){if(sQe(u))return u}else break}function AFe(t){const u=Ki(t);return u!==void 0&&Mp(u)&&sQe(u)}function MV(t){return t.kind===226&&t.operatorToken.kind===28}function eM(t){return MV(t)||UP(t)}function tM(t){return Cf(t)&&Qn(t)&&!!xv(t)}function vY(t){const u=vv(t);return H.assertIsDefined(u),u}function CY(t,u=15){switch(t.kind){case 217:return u&16&&tM(t)?!1:(u&1)!==0;case 216:case 234:case 233:case 238:return(u&2)!==0;case 235:return(u&4)!==0;case 360:return(u&8)!==0}return!1}function Dc(t,u=15){for(;CY(t,u);)t=t.expression;return t}function SFe(t,u=15){let s=t.parent;for(;CY(s,u);)s=s.parent,H.assert(s);return s}function lQe(t){return Dc(t,6)}function vh(t){return FZ(t,!0)}function zV(t){const u=Wl(t,la),s=u&&u.emitNode;return s&&s.externalHelpersModuleName}function BFe(t){const u=Wl(t,la),s=u&&u.emitNode;return!!s&&(!!s.externalHelpersModuleName||!!s.externalHelpers)}function Oce(t,u,s,d,f,p,E){if(d.importHelpers&&s7(s,d)){let v;const b=m1(d);if(b>=5&&b<=99||s.impliedNodeFormat===99){const B=SZ(s);if(B){const k=[];for(const T of B)if(!T.scoped){const M=T.importName;M&&xa(k,M)}if(Oe(k)){k.sort(dh),v=t.createNamedImports(Vt(k,z=>QU(s,z)?t.createImportSpecifier(!1,void 0,t.createIdentifier(z)):t.createImportSpecifier(!1,t.createIdentifier(z),u.getUnscopedHelperName(z))));const T=Wl(s,la),M=P1(T);M.externalHelpers=!0}}}else{const B=wFe(t,s,d,f,p||E);B&&(v=t.createNamespaceImport(B))}if(v){const B=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,v),t.createStringLiteral(Hx),void 0);return F7(B,2),B}}}function wFe(t,u,s,d,f){if(s.importHelpers&&s7(u,s)){const p=zV(u);if(p)return p;const E=m1(s);let v=(d||e_(s)&&f)&&E!==4&&(E<5||u.impliedNodeFormat===1);if(!v){const b=SZ(u);if(b){for(const B of b)if(!B.scoped){v=!0;break}}}if(v){const b=Wl(u,la),B=P1(b);return B.externalHelpersModuleName||(B.externalHelpersModuleName=t.createUniqueName(Hx))}}}function zB(t,u,s){const d=Q8(u);if(d&&!c7(u)&&!eq(u)){const f=d.name;return al(f)?f:t.createIdentifier(x2(s,f)||fu(f))}if(u.kind===272&&u.importClause||u.kind===278&&u.moduleSpecifier)return t.getGeneratedNameForNode(u)}function W7(t,u,s,d,f,p){const E=Y8(u);if(E&&us(E))return VLt(u,d,t,f,p)||jLt(t,E,s)||t.cloneNode(E)}function jLt(t,u,s){const d=s.renamedDependencies&&s.renamedDependencies.get(u.text);return d?t.createStringLiteral(d):void 0}function IV(t,u,s,d){if(u){if(u.moduleName)return t.createStringLiteral(u.moduleName);if(!u.isDeclarationFile&&y0(d))return t.createStringLiteral(tle(s,u.fileName))}}function VLt(t,u,s,d,f){return IV(s,d.getExternalModuleFileFromDeclaration(t),u,f)}function RV(t){if($O(t))return t.initializer;if(Jc(t)){const u=t.initializer;return ld(u,!0)?u.right:void 0}if(pm(t))return t.objectAssignmentInitializer;if(ld(t,!0))return t.right;if(uE(t))return RV(t.expression)}function $x(t){if($O(t))return t.name;if(Z3(t)){switch(t.kind){case 303:return $x(t.initializer);case 304:return t.name;case 305:return $x(t.expression)}return}return ld(t,!0)?$x(t.left):uE(t)?$x(t.expression):t}function bY(t){switch(t.kind){case 169:case 208:return t.dotDotDotToken;case 230:case 305:return t}}function jce(t){const u=yY(t);return H.assert(!!u||d5(t),"Invalid property name for binding element."),u}function yY(t){switch(t.kind){case 208:if(t.propertyName){const s=t.propertyName;return ea(s)?H.failBadSyntaxKind(s):Ps(s)&&cQe(s.expression)?s.expression:s}break;case 303:if(t.name){const s=t.name;return ea(s)?H.failBadSyntaxKind(s):Ps(s)&&cQe(s.expression)?s.expression:s}break;case 305:return t.name&&ea(t.name)?H.failBadSyntaxKind(t.name):t.name}const u=$x(t);if(u&&Sc(u))return u}function cQe(t){const u=t.kind;return u===11||u===9}function IB(t){switch(t.kind){case 206:case 207:case 209:return t.elements;case 210:return t.properties}}function Vce(t){if(t){let u=t;for(;;){if(at(u)||!u.body)return at(u)?u:u.name;u=u.body}}}function dQe(t){const u=t.kind;return u===176||u===178}function TFe(t){const u=t.kind;return u===176||u===177||u===178}function Hce(t){const u=t.kind;return u===303||u===304||u===262||u===176||u===181||u===175||u===282||u===243||u===264||u===265||u===266||u===267||u===271||u===272||u===270||u===278||u===277}function LFe(t){const u=t.kind;return u===175||u===303||u===304||u===282||u===270}function NFe(t){return Wx(t)||kV(t)}function PFe(t){return at(t)||sY(t)}function MFe(t){return eFe(t)||gce(t)||Ece(t)}function zFe(t){return Wx(t)||gce(t)||Ece(t)}function IFe(t){return at(t)||us(t)}function hQe(t){const u=t.kind;return u===106||u===112||u===97||E2(t)||zv(t)}function HLt(t){return t===43}function KLt(t){return t===42||t===44||t===45}function WLt(t){return HLt(t)||KLt(t)}function GLt(t){return t===40||t===41}function JLt(t){return GLt(t)||WLt(t)}function $Lt(t){return t===48||t===49||t===50}function Kce(t){return $Lt(t)||JLt(t)}function ULt(t){return t===30||t===33||t===32||t===34||t===104||t===103}function qLt(t){return ULt(t)||Kce(t)}function ZLt(t){return t===35||t===37||t===36||t===38}function YLt(t){return ZLt(t)||qLt(t)}function QLt(t){return t===51||t===52||t===53}function XLt(t){return QLt(t)||YLt(t)}function eNt(t){return t===56||t===57}function tNt(t){return eNt(t)||XLt(t)}function iNt(t){return t===61||tNt(t)||u5(t)}function nNt(t){return iNt(t)||t===28}function RFe(t){return nNt(t.kind)}function kY(t,u,s,d,f,p){const E=new pQe(t,u,s,d,f,p);return v;function v(b,B){const k={value:void 0},T=[Gce.enter],M=[b],z=[void 0];let j=0;for(;T[j]!==Gce.done;)j=T[j](E,j,T,M,z,k,B);return H.assertEqual(j,0),k.value}}function fQe(t){return t===95||t===90}function OV(t){const u=t.kind;return fQe(u)}function mQe(t){const u=t.kind;return XD(u)&&!fQe(u)}function OFe(t,u){if(u!==void 0)return u.length===0?u:Pt(t.createNodeArray([],u.hasTrailingComma),u)}function jV(t){var u;const s=t.emitNode.autoGenerate;if(s.flags&4){const d=s.id;let f=t,p=f.original;for(;p;){f=p;const E=(u=f.emitNode)==null?void 0:u.autoGenerate;if(J_(f)&&(E===void 0||E.flags&4&&E.id!==d))break;p=f.original}return f}return t}function RB(t,u){return typeof t=="object"?jv(!1,t.prefix,t.node,t.suffix,u):typeof t=="string"?t.length>0&&t.charCodeAt(0)===35?t.slice(1):t:""}function uNt(t,u){return typeof t=="string"?t:rNt(t,H.checkDefined(u))}function rNt(t,u){return Uy(t)?u(t).slice(1):al(t)?u(t):ea(t)?t.escapedText.slice(1):fu(t)}function jv(t,u,s,d,f){return u=RB(u,f),d=RB(d,f),s=uNt(s,f),`${t?"#":""}${u}${s}${d}`}function Wce(t,u,s,d){return t.updatePropertyDeclaration(u,s,t.getGeneratedPrivateNameForNode(u.name,void 0,"_accessor_storage"),void 0,void 0,d)}function jFe(t,u,s,d,f=t.createThis()){return t.createGetAccessorDeclaration(s,d,[],void 0,t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(f,t.getGeneratedPrivateNameForNode(u.name,void 0,"_accessor_storage")))]))}function VFe(t,u,s,d,f=t.createThis()){return t.createSetAccessorDeclaration(s,d,[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(f,t.getGeneratedPrivateNameForNode(u.name,void 0,"_accessor_storage")),t.createIdentifier("value")))]))}function FY(t){let u=t.expression;for(;;){if(u=Dc(u),UP(u)){u=Cr(u.elements);continue}if(MV(u)){u=u.right;continue}if(ld(u,!0)&&al(u.left))return u;break}}function aNt(t){return Cf(t)&&sl(t)&&!t.emitNode}function AY(t,u){if(aNt(t))AY(t.expression,u);else if(MV(t))AY(t.left,u),AY(t.right,u);else if(UP(t))for(const s of t.elements)AY(s,u);else u.push(t)}function HFe(t){const u=[];return AY(t,u),u}function VV(t){if(t.transformFlags&65536)return!0;if(t.transformFlags&128)for(const u of IB(t)){const s=$x(u);if(s&&KN(s)&&(s.transformFlags&65536||s.transformFlags&128&&VV(s)))return!0}return!1}var Gce,pQe,oNt=o({"src/compiler/factory/utilities.ts"(){Bo(),(t=>{function u(k,T,M,z,j,J,K){const Y=T>0?j[T-1]:void 0;return H.assertEqual(M[T],u),j[T]=k.onEnter(z[T],Y,K),M[T]=v(k,u),T}t.enter=u;function s(k,T,M,z,j,J,K){H.assertEqual(M[T],s),H.assertIsDefined(k.onLeft),M[T]=v(k,s);const Y=k.onLeft(z[T].left,j[T],z[T]);return Y?(B(T,z,Y),b(T,M,z,j,Y)):T}t.left=s;function d(k,T,M,z,j,J,K){return H.assertEqual(M[T],d),H.assertIsDefined(k.onOperator),M[T]=v(k,d),k.onOperator(z[T].operatorToken,j[T],z[T]),T}t.operator=d;function f(k,T,M,z,j,J,K){H.assertEqual(M[T],f),H.assertIsDefined(k.onRight),M[T]=v(k,f);const Y=k.onRight(z[T].right,j[T],z[T]);return Y?(B(T,z,Y),b(T,M,z,j,Y)):T}t.right=f;function p(k,T,M,z,j,J,K){H.assertEqual(M[T],p),M[T]=v(k,p);const Y=k.onExit(z[T],j[T]);if(T>0){if(T--,k.foldState){const oe=M[T]===p?"right":"left";j[T]=k.foldState(j[T],Y,oe)}}else J.value=Y;return T}t.exit=p;function E(k,T,M,z,j,J,K){return H.assertEqual(M[T],E),T}t.done=E;function v(k,T){switch(T){case u:if(k.onLeft)return s;case s:if(k.onOperator)return d;case d:if(k.onRight)return f;case f:return p;case p:return E;case E:return E;default:H.fail("Invalid state")}}t.nextState=v;function b(k,T,M,z,j){return k++,T[k]=u,M[k]=j,z[k]=void 0,k}function B(k,T,M){if(H.shouldAssert(2))for(;k>=0;)H.assert(T[k]!==M,"Circular traversal detected."),k--}})(Gce||(Gce={})),pQe=class{constructor(t,u,s,d,f,p){this.onEnter=t,this.onLeft=u,this.onOperator=s,this.onRight=d,this.onExit=f,this.foldState=p}}}});function Pt(t,u){return u?t_(t,u.pos,u.end):t}function Hp(t){const u=t.kind;return u===168||u===169||u===171||u===172||u===173||u===174||u===176||u===177||u===178||u===181||u===185||u===218||u===219||u===231||u===243||u===262||u===263||u===264||u===265||u===266||u===267||u===271||u===272||u===277||u===278}function Ak(t){const u=t.kind;return u===169||u===172||u===174||u===177||u===178||u===231||u===263}var sNt=o({"src/compiler/factory/utilitiesPublic.ts"(){Bo()}});function wi(t,u){return u&&t(u)}function Gr(t,u,s){if(s){if(u)return u(s);for(const d of s){const f=t(d);if(f)return f}}}function Jce(t,u){return t.charCodeAt(u+1)===42&&t.charCodeAt(u+2)===42&&t.charCodeAt(u+3)!==47}function HV(t){return L(t.statements,lNt)||cNt(t)}function lNt(t){return Hp(t)&&dNt(t,95)||E1(t)&&r_(t.moduleReference)||Sd(t)||tc(t)||Gc(t)?t:void 0}function cNt(t){return t.flags&8388608?gQe(t):void 0}function gQe(t){return hNt(t)?t:ao(t,gQe)}function dNt(t,u){return Oe(t.modifiers,s=>s.kind===u)}function hNt(t){return $P(t)&&t.keywordToken===102&&t.name.escapedText==="meta"}function EQe(t,u,s){return Gr(u,s,t.typeParameters)||Gr(u,s,t.parameters)||wi(u,t.type)}function _Qe(t,u,s){return Gr(u,s,t.types)}function DQe(t,u,s){return wi(u,t.type)}function xQe(t,u,s){return Gr(u,s,t.elements)}function vQe(t,u,s){return wi(u,t.expression)||wi(u,t.questionDotToken)||Gr(u,s,t.typeArguments)||Gr(u,s,t.arguments)}function CQe(t,u,s){return Gr(u,s,t.statements)}function bQe(t,u,s){return wi(u,t.label)}function yQe(t,u,s){return Gr(u,s,t.modifiers)||wi(u,t.name)||Gr(u,s,t.typeParameters)||Gr(u,s,t.heritageClauses)||Gr(u,s,t.members)}function kQe(t,u,s){return Gr(u,s,t.elements)}function FQe(t,u,s){return wi(u,t.propertyName)||wi(u,t.name)}function AQe(t,u,s){return wi(u,t.tagName)||Gr(u,s,t.typeArguments)||wi(u,t.attributes)}function iM(t,u,s){return wi(u,t.type)}function SQe(t,u,s){return wi(u,t.tagName)||(t.isNameFirst?wi(u,t.name)||wi(u,t.typeExpression):wi(u,t.typeExpression)||wi(u,t.name))||(typeof t.comment=="string"?void 0:Gr(u,s,t.comment))}function nM(t,u,s){return wi(u,t.tagName)||wi(u,t.typeExpression)||(typeof t.comment=="string"?void 0:Gr(u,s,t.comment))}function KFe(t,u,s){return wi(u,t.name)}function OB(t,u,s){return wi(u,t.tagName)||(typeof t.comment=="string"?void 0:Gr(u,s,t.comment))}function fNt(t,u,s){return wi(u,t.expression)}function ao(t,u,s){if(t===void 0||t.kind<=165)return;const d=RQe[t.kind];return d===void 0?void 0:d(t,u,s)}function uM(t,u,s){const d=BQe(t),f=[];for(;f.length=0;--v)d.push(p[v]),f.push(E)}else{const v=u(p,E);if(v){if(v==="skip")continue;return v}if(p.kind>=166)for(const b of BQe(p))d.push(b),f.push(p)}}}function BQe(t){const u=[];return ao(t,s,s),u;function s(d){u.unshift(d)}}function wQe(t){t.externalModuleIndicator=HV(t)}function KV(t,u,s,d=!1,f){var p,E,v,b;(p=Gn)==null||p.push(Gn.Phase.Parse,"createSourceFile",{path:t},!0),ul("beforeParse");let B;(E=hh)==null||E.logStartParseSourceFile(t);const{languageVersion:k,setExternalModuleIndicator:T,impliedNodeFormat:M,jsDocParsingMode:z}=typeof s=="object"?s:{languageVersion:s};if(k===100)B=Hv.parseSourceFile(t,u,k,void 0,d,6,Is,z);else{const j=M===void 0?T:J=>(J.impliedNodeFormat=M,(T||wQe)(J));B=Hv.parseSourceFile(t,u,k,void 0,d,f,j,z)}return(v=hh)==null||v.logStopParseSourceFile(),ul("afterParse"),Tm("Parse","beforeParse","afterParse"),(b=Gn)==null||b.pop(),B}function G7(t,u){return Hv.parseIsolatedEntityName(t,u)}function WV(t,u){return Hv.parseJsonText(t,u)}function wc(t){return t.externalModuleIndicator!==void 0}function $ce(t,u,s,d=!1){const f=Yce.updateSourceFile(t,u,s,d);return f.flags|=t.flags&12582912,f}function WFe(t,u,s){const d=Hv.JSDocParser.parseIsolatedJSDocComment(t,u,s);return d&&d.jsDoc&&Hv.fixupParentReferences(d.jsDoc),d}function TQe(t,u,s){return Hv.JSDocParser.parseJSDocTypeExpressionForTests(t,u,s)}function e1(t){return jc(t,dV)||Ml(t,".ts")&&Ac(t).includes(".d.")}function mNt(t,u,s,d){if(t){if(t==="import")return 99;if(t==="require")return 1;d(u,s-u,F.resolution_mode_should_be_either_require_or_import)}}function Uce(t,u){const s=[];for(const d of W_(u,0)||_t){const f=u.substring(d.pos,d.end);gNt(s,d,f)}t.pragmas=new Map;for(const d of s){if(t.pragmas.has(d.name)){const f=t.pragmas.get(d.name);f instanceof Array?f.push(d.args):t.pragmas.set(d.name,[f,d.args]);continue}t.pragmas.set(d.name,d.args)}}function qce(t,u){t.checkJsDirective=void 0,t.referencedFiles=[],t.typeReferenceDirectives=[],t.libReferenceDirectives=[],t.amdDependencies=[],t.hasNoDefaultLib=!1,t.pragmas.forEach((s,d)=>{switch(d){case"reference":{const f=t.referencedFiles,p=t.typeReferenceDirectives,E=t.libReferenceDirectives;L(YA(s),v=>{const{types:b,lib:B,path:k,["resolution-mode"]:T}=v.arguments;if(v.arguments["no-default-lib"])t.hasNoDefaultLib=!0;else if(b){const M=mNt(T,b.pos,b.end,u);p.push({pos:b.pos,end:b.end,fileName:b.value,...M?{resolutionMode:M}:{}})}else B?E.push({pos:B.pos,end:B.end,fileName:B.value}):k?f.push({pos:k.pos,end:k.end,fileName:k.value}):u(v.range.pos,v.range.end-v.range.pos,F.Invalid_reference_directive_syntax)});break}case"amd-dependency":{t.amdDependencies=Vt(YA(s),f=>({name:f.arguments.name,path:f.arguments.path}));break}case"amd-module":{if(s instanceof Array)for(const f of s)t.moduleName&&u(f.range.pos,f.range.end-f.range.pos,F.An_AMD_module_cannot_have_multiple_name_assignments),t.moduleName=f.arguments.name;else t.moduleName=s.arguments.name;break}case"ts-nocheck":case"ts-check":{L(YA(s),f=>{(!t.checkJsDirective||f.range.pos>t.checkJsDirective.pos)&&(t.checkJsDirective={enabled:d==="ts-check",end:f.range.end,pos:f.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:H.fail("Unhandled pragma kind")}})}function pNt(t){if(Qce.has(t))return Qce.get(t);const u=new RegExp(`(\\s${t}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return Qce.set(t,u),u}function gNt(t,u,s){const d=u.kind===2&&OQe.exec(s);if(d){const p=d[1].toLowerCase(),E=CO[p];if(!E||!(E.kind&1))return;if(E.args){const v={};for(const b of E.args){const k=pNt(b.name).exec(s);if(!k&&!b.optional)return;if(k){const T=k[2]||k[3];if(b.captureSpan){const M=u.pos+k.index+k[1].length+1;v[b.name]={value:T,pos:M,end:M+T.length}}else v[b.name]=T}}t.push({name:p,args:{arguments:v,range:u}})}else t.push({name:p,args:{arguments:{},range:u}});return}const f=u.kind===2&&jQe.exec(s);if(f)return LQe(t,u,2,f);if(u.kind===3){const p=/@(\S+)(\s+.*)?$/gim;let E;for(;E=p.exec(s);)LQe(t,u,4,E)}}function LQe(t,u,s,d){if(!d)return;const f=d[1].toLowerCase(),p=CO[f];if(!p||!(p.kind&s))return;const E=d[2],v=ENt(p,E);v!=="fail"&&t.push({name:f,args:{arguments:v,range:u}})}function ENt(t,u){if(!u)return{};if(!t.args)return{};const s=u.trim().split(/\s+/),d={};for(let f=0;fnew(IQe||(IQe=Qd.getSourceFileConstructor()))(t,-1,-1),createBaseIdentifierNode:t=>new(MQe||(MQe=Qd.getIdentifierConstructor()))(t,-1,-1),createBasePrivateIdentifierNode:t=>new(zQe||(zQe=Qd.getPrivateIdentifierConstructor()))(t,-1,-1),createBaseTokenNode:t=>new(PQe||(PQe=Qd.getTokenConstructor()))(t,-1,-1),createBaseNode:t=>new(NQe||(NQe=Qd.getNodeConstructor()))(t,-1,-1)},a_=mV(1,Zce),RQe={166:function(u,s,d){return wi(s,u.left)||wi(s,u.right)},168:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.constraint)||wi(s,u.default)||wi(s,u.expression)},304:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.exclamationToken)||wi(s,u.equalsToken)||wi(s,u.objectAssignmentInitializer)},305:function(u,s,d){return wi(s,u.expression)},169:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.dotDotDotToken)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.type)||wi(s,u.initializer)},172:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.exclamationToken)||wi(s,u.type)||wi(s,u.initializer)},171:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.type)||wi(s,u.initializer)},303:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.exclamationToken)||wi(s,u.initializer)},260:function(u,s,d){return wi(s,u.name)||wi(s,u.exclamationToken)||wi(s,u.type)||wi(s,u.initializer)},208:function(u,s,d){return wi(s,u.dotDotDotToken)||wi(s,u.propertyName)||wi(s,u.name)||wi(s,u.initializer)},181:function(u,s,d){return Gr(s,d,u.modifiers)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)},185:function(u,s,d){return Gr(s,d,u.modifiers)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)},184:function(u,s,d){return Gr(s,d,u.modifiers)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)},179:EQe,180:EQe,174:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.asteriskToken)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.exclamationToken)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},173:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.questionToken)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)},176:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},177:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},178:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},262:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.asteriskToken)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},218:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.asteriskToken)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.body)},219:function(u,s,d){return Gr(s,d,u.modifiers)||Gr(s,d,u.typeParameters)||Gr(s,d,u.parameters)||wi(s,u.type)||wi(s,u.equalsGreaterThanToken)||wi(s,u.body)},175:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.body)},183:function(u,s,d){return wi(s,u.typeName)||Gr(s,d,u.typeArguments)},182:function(u,s,d){return wi(s,u.assertsModifier)||wi(s,u.parameterName)||wi(s,u.type)},186:function(u,s,d){return wi(s,u.exprName)||Gr(s,d,u.typeArguments)},187:function(u,s,d){return Gr(s,d,u.members)},188:function(u,s,d){return wi(s,u.elementType)},189:function(u,s,d){return Gr(s,d,u.elements)},192:_Qe,193:_Qe,194:function(u,s,d){return wi(s,u.checkType)||wi(s,u.extendsType)||wi(s,u.trueType)||wi(s,u.falseType)},195:function(u,s,d){return wi(s,u.typeParameter)},205:function(u,s,d){return wi(s,u.argument)||wi(s,u.attributes)||wi(s,u.qualifier)||Gr(s,d,u.typeArguments)},302:function(u,s,d){return wi(s,u.assertClause)},196:DQe,198:DQe,199:function(u,s,d){return wi(s,u.objectType)||wi(s,u.indexType)},200:function(u,s,d){return wi(s,u.readonlyToken)||wi(s,u.typeParameter)||wi(s,u.nameType)||wi(s,u.questionToken)||wi(s,u.type)||Gr(s,d,u.members)},201:function(u,s,d){return wi(s,u.literal)},202:function(u,s,d){return wi(s,u.dotDotDotToken)||wi(s,u.name)||wi(s,u.questionToken)||wi(s,u.type)},206:xQe,207:xQe,209:function(u,s,d){return Gr(s,d,u.elements)},210:function(u,s,d){return Gr(s,d,u.properties)},211:function(u,s,d){return wi(s,u.expression)||wi(s,u.questionDotToken)||wi(s,u.name)},212:function(u,s,d){return wi(s,u.expression)||wi(s,u.questionDotToken)||wi(s,u.argumentExpression)},213:vQe,214:vQe,215:function(u,s,d){return wi(s,u.tag)||wi(s,u.questionDotToken)||Gr(s,d,u.typeArguments)||wi(s,u.template)},216:function(u,s,d){return wi(s,u.type)||wi(s,u.expression)},217:function(u,s,d){return wi(s,u.expression)},220:function(u,s,d){return wi(s,u.expression)},221:function(u,s,d){return wi(s,u.expression)},222:function(u,s,d){return wi(s,u.expression)},224:function(u,s,d){return wi(s,u.operand)},229:function(u,s,d){return wi(s,u.asteriskToken)||wi(s,u.expression)},223:function(u,s,d){return wi(s,u.expression)},225:function(u,s,d){return wi(s,u.operand)},226:function(u,s,d){return wi(s,u.left)||wi(s,u.operatorToken)||wi(s,u.right)},234:function(u,s,d){return wi(s,u.expression)||wi(s,u.type)},235:function(u,s,d){return wi(s,u.expression)},238:function(u,s,d){return wi(s,u.expression)||wi(s,u.type)},236:function(u,s,d){return wi(s,u.name)},227:function(u,s,d){return wi(s,u.condition)||wi(s,u.questionToken)||wi(s,u.whenTrue)||wi(s,u.colonToken)||wi(s,u.whenFalse)},230:function(u,s,d){return wi(s,u.expression)},241:CQe,268:CQe,312:function(u,s,d){return Gr(s,d,u.statements)||wi(s,u.endOfFileToken)},243:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.declarationList)},261:function(u,s,d){return Gr(s,d,u.declarations)},244:function(u,s,d){return wi(s,u.expression)},245:function(u,s,d){return wi(s,u.expression)||wi(s,u.thenStatement)||wi(s,u.elseStatement)},246:function(u,s,d){return wi(s,u.statement)||wi(s,u.expression)},247:function(u,s,d){return wi(s,u.expression)||wi(s,u.statement)},248:function(u,s,d){return wi(s,u.initializer)||wi(s,u.condition)||wi(s,u.incrementor)||wi(s,u.statement)},249:function(u,s,d){return wi(s,u.initializer)||wi(s,u.expression)||wi(s,u.statement)},250:function(u,s,d){return wi(s,u.awaitModifier)||wi(s,u.initializer)||wi(s,u.expression)||wi(s,u.statement)},251:bQe,252:bQe,253:function(u,s,d){return wi(s,u.expression)},254:function(u,s,d){return wi(s,u.expression)||wi(s,u.statement)},255:function(u,s,d){return wi(s,u.expression)||wi(s,u.caseBlock)},269:function(u,s,d){return Gr(s,d,u.clauses)},296:function(u,s,d){return wi(s,u.expression)||Gr(s,d,u.statements)},297:function(u,s,d){return Gr(s,d,u.statements)},256:function(u,s,d){return wi(s,u.label)||wi(s,u.statement)},257:function(u,s,d){return wi(s,u.expression)},258:function(u,s,d){return wi(s,u.tryBlock)||wi(s,u.catchClause)||wi(s,u.finallyBlock)},299:function(u,s,d){return wi(s,u.variableDeclaration)||wi(s,u.block)},170:function(u,s,d){return wi(s,u.expression)},263:yQe,231:yQe,264:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.typeParameters)||Gr(s,d,u.heritageClauses)||Gr(s,d,u.members)},265:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.typeParameters)||wi(s,u.type)},266:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||Gr(s,d,u.members)},306:function(u,s,d){return wi(s,u.name)||wi(s,u.initializer)},267:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.body)},271:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)||wi(s,u.moduleReference)},272:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.importClause)||wi(s,u.moduleSpecifier)||wi(s,u.attributes)},273:function(u,s,d){return wi(s,u.name)||wi(s,u.namedBindings)},300:function(u,s,d){return Gr(s,d,u.elements)},301:function(u,s,d){return wi(s,u.name)||wi(s,u.value)},270:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.name)},274:function(u,s,d){return wi(s,u.name)},280:function(u,s,d){return wi(s,u.name)},275:kQe,279:kQe,278:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.exportClause)||wi(s,u.moduleSpecifier)||wi(s,u.attributes)},276:FQe,281:FQe,277:function(u,s,d){return Gr(s,d,u.modifiers)||wi(s,u.expression)},228:function(u,s,d){return wi(s,u.head)||Gr(s,d,u.templateSpans)},239:function(u,s,d){return wi(s,u.expression)||wi(s,u.literal)},203:function(u,s,d){return wi(s,u.head)||Gr(s,d,u.templateSpans)},204:function(u,s,d){return wi(s,u.type)||wi(s,u.literal)},167:function(u,s,d){return wi(s,u.expression)},298:function(u,s,d){return Gr(s,d,u.types)},233:function(u,s,d){return wi(s,u.expression)||Gr(s,d,u.typeArguments)},283:function(u,s,d){return wi(s,u.expression)},282:function(u,s,d){return Gr(s,d,u.modifiers)},361:function(u,s,d){return Gr(s,d,u.elements)},284:function(u,s,d){return wi(s,u.openingElement)||Gr(s,d,u.children)||wi(s,u.closingElement)},288:function(u,s,d){return wi(s,u.openingFragment)||Gr(s,d,u.children)||wi(s,u.closingFragment)},285:AQe,286:AQe,292:function(u,s,d){return Gr(s,d,u.properties)},291:function(u,s,d){return wi(s,u.name)||wi(s,u.initializer)},293:function(u,s,d){return wi(s,u.expression)},294:function(u,s,d){return wi(s,u.dotDotDotToken)||wi(s,u.expression)},287:function(u,s,d){return wi(s,u.tagName)},295:function(u,s,d){return wi(s,u.namespace)||wi(s,u.name)},190:iM,191:iM,316:iM,322:iM,321:iM,323:iM,325:iM,324:function(u,s,d){return Gr(s,d,u.parameters)||wi(s,u.type)},327:function(u,s,d){return(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))||Gr(s,d,u.tags)},354:function(u,s,d){return wi(s,u.tagName)||wi(s,u.name)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},317:function(u,s,d){return wi(s,u.name)},318:function(u,s,d){return wi(s,u.left)||wi(s,u.right)},348:SQe,355:SQe,337:function(u,s,d){return wi(s,u.tagName)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},336:function(u,s,d){return wi(s,u.tagName)||wi(s,u.class)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},335:function(u,s,d){return wi(s,u.tagName)||wi(s,u.class)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},352:function(u,s,d){return wi(s,u.tagName)||wi(s,u.constraint)||Gr(s,d,u.typeParameters)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},353:function(u,s,d){return wi(s,u.tagName)||(u.typeExpression&&u.typeExpression.kind===316?wi(s,u.typeExpression)||wi(s,u.fullName)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment)):wi(s,u.fullName)||wi(s,u.typeExpression)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment)))},345:function(u,s,d){return wi(s,u.tagName)||wi(s,u.fullName)||wi(s,u.typeExpression)||(typeof u.comment=="string"?void 0:Gr(s,d,u.comment))},349:nM,351:nM,350:nM,347:nM,357:nM,356:nM,346:nM,330:function(u,s,d){return L(u.typeParameters,s)||L(u.parameters,s)||wi(s,u.type)},331:KFe,332:KFe,333:KFe,329:function(u,s,d){return L(u.jsDocPropertyTags,s)},334:OB,339:OB,340:OB,341:OB,342:OB,343:OB,338:OB,344:OB,360:fNt},(t=>{var u=YD(99,!0),s=40960,d,f,p,E,v;function b(he){return ht++,he}var B={createBaseSourceFileNode:he=>b(new v(he,0,0)),createBaseIdentifierNode:he=>b(new p(he,0,0)),createBasePrivateIdentifierNode:he=>b(new E(he,0,0)),createBaseTokenNode:he=>b(new f(he,0,0)),createBaseNode:he=>b(new d(he,0,0))},k=mV(11,B),{createNodeArray:T,createNumericLiteral:M,createStringLiteral:z,createLiteralLikeNode:j,createIdentifier:J,createPrivateIdentifier:K,createToken:Y,createArrayLiteralExpression:oe,createObjectLiteralExpression:se,createPropertyAccessExpression:ge,createPropertyAccessChain:ae,createElementAccessExpression:Ce,createElementAccessChain:ne,createCallExpression:ve,createCallChain:Se,createNewExpression:Ne,createParenthesizedExpression:pe,createBlock:fe,createVariableStatement:xe,createExpressionStatement:Be,createIfStatement:Ge,createWhileStatement:Ae,createForStatement:De,createForOfStatement:Ke,createVariableDeclaration:Je,createVariableDeclarationList:ft}=k,Ye,Ve,We,Gt,Yt,Ie,st,St,It,ei,ht,Ut,Ni,ji,xn,Jn,an=!0,Pi=!1;function Ai(he,Re,nt,Nt,bi=!1,en,zu,Hr=0){var Lr;if(en=oZ(he,en),en===6){const fa=aa(he,Re,nt,Nt,bi);return $V(fa,(Lr=fa.statements[0])==null?void 0:Lr.expression,fa.parseDiagnostics,!1,void 0),fa.referencedFiles=_t,fa.typeReferenceDirectives=_t,fa.libReferenceDirectives=_t,fa.amdDependencies=_t,fa.hasNoDefaultLib=!1,fa.pragmas=iU,fa}yr(he,Re,nt,Nt,en,Hr);const gr=bt(nt,bi,en,zu||wQe,Hr);return Ba(),gr}t.parseSourceFile=Ai;function Zu(he,Re){yr("",he,Re,void 0,1,0),ct();const nt=Ee(!0),Nt=X()===1&&!st.length;return Ba(),Nt?nt:void 0}t.parseIsolatedEntityName=Zu;function aa(he,Re,nt=2,Nt,bi=!1){yr(he,Re,nt,Nt,6,0),Ve=Jn,ct();const en=de();let zu,Hr;if(X()===1)zu=Ka([],en,en),Hr=Tc();else{let fa;for(;X()!==1;){let Ws;switch(X()){case 23:Ws=hD();break;case 112:case 97:case 106:Ws=Tc();break;case 41:wn(()=>ct()===9&&ct()!==59)?Ws=pE():Ws=dC();break;case 9:case 11:if(wn(()=>ct()!==59)){Ws=ir();break}default:Ws=dC();break}fa&&Ha(fa)?fa.push(Ws):fa?fa=[fa,Ws]:(fa=Ws,X()!==1&&Qi(F.Unexpected_token))}const _0=Ha(fa)?Ri(oe(fa),en):H.checkDefined(fa),qs=Be(_0);Ri(qs,en),zu=Ka([qs],en),Hr=Y0(1,F.Unexpected_token)}const Lr=Cn(he,2,6,!1,zu,Hr,Ve,Is);bi&&Dn(Lr),Lr.nodeCount=ht,Lr.identifierCount=Ni,Lr.identifiers=Ut,Lr.parseDiagnostics=v7(st,Lr),St&&(Lr.jsDocDiagnostics=v7(St,Lr));const gr=Lr;return Ba(),gr}t.parseJsonText=aa;function yr(he,Re,nt,Nt,bi,en){switch(d=Qd.getNodeConstructor(),f=Qd.getTokenConstructor(),p=Qd.getIdentifierConstructor(),E=Qd.getPrivateIdentifierConstructor(),v=Qd.getSourceFileConstructor(),Ye=$o(he),We=Re,Gt=nt,It=Nt,Yt=bi,Ie=Yj(bi),st=[],ji=0,Ut=new Map,Ni=0,ht=0,Ve=0,an=!0,Yt){case 1:case 2:Jn=524288;break;case 6:Jn=134742016;break;default:Jn=0;break}Pi=!1,u.setText(We),u.setOnError(we),u.setScriptTarget(Gt),u.setLanguageVariant(Ie),u.setScriptKind(Yt),u.setJSDocParsingMode(en)}function Ba(){u.clearCommentDirectives(),u.setText(""),u.setOnError(void 0),u.setScriptKind(0),u.setJSDocParsingMode(0),We=void 0,Gt=void 0,It=void 0,Yt=void 0,Ie=void 0,Ve=0,st=void 0,St=void 0,ji=0,Ut=void 0,xn=void 0,an=!0}function bt(he,Re,nt,Nt,bi){const en=e1(Ye);en&&(Jn|=33554432),Ve=Jn,ct();const zu=To(0,qm);H.assert(X()===1);const Hr=je(),Lr=Ln(Tc(),Hr),gr=Cn(Ye,he,nt,en,zu,Lr,Ve,Nt);return Uce(gr,We),qce(gr,fa),gr.commentDirectives=u.getCommentDirectives(),gr.nodeCount=ht,gr.identifierCount=Ni,gr.identifiers=Ut,gr.parseDiagnostics=v7(st,gr),gr.jsDocParsingMode=bi,St&&(gr.jsDocDiagnostics=v7(St,gr)),Re&&Dn(gr),gr;function fa(_0,qs,Ws){st.push(hB(Ye,We,_0,qs,Ws))}}let jn=!1;function Ln(he,Re){if(!Re)return he;H.assert(!he.jsDoc);const nt=qi(k0e(he,We),Nt=>YK.parseJSDocComment(he,Nt.pos,Nt.end-Nt.pos));return nt.length&&(he.jsDoc=nt),jn&&(jn=!1,he.flags|=536870912),he}function Si(he){const Re=It,nt=Yce.createSyntaxCursor(he);It={currentNode:fa};const Nt=[],bi=st;st=[];let en=0,zu=Lr(he.statements,0);for(;zu!==-1;){const _0=he.statements[en],qs=he.statements[zu];yn(Nt,he.statements,en,zu),en=gr(he.statements,zu);const Ws=Ue(bi,qp=>qp.start>=_0.pos),v4=Ws>=0?Ue(bi,qp=>qp.start>=qs.pos,Ws):-1;Ws>=0&&yn(st,bi,Ws,v4>=0?v4:void 0),ja(()=>{const qp=Jn;for(Jn|=65536,u.resetTokenState(qs.pos),ct();X()!==1;){const f6=u.getTokenFullStart(),b3=nc(0,qm);if(Nt.push(b3),f6===u.getTokenFullStart()&&ct(),en>=0){const Vd=he.statements[en];if(b3.end===Vd.pos)break;b3.end>Vd.pos&&(en=gr(he.statements,en+1))}}Jn=qp},2),zu=en>=0?Lr(he.statements,en):-1}if(en>=0){const _0=he.statements[en];yn(Nt,he.statements,en);const qs=Ue(bi,Ws=>Ws.start>=_0.pos);qs>=0&&yn(st,bi,qs)}return It=Re,k.updateSourceFile(he,Pt(T(Nt),he.statements));function Hr(_0){return!(_0.flags&65536)&&!!(_0.transformFlags&67108864)}function Lr(_0,qs){for(let Ws=qs;Ws<_0.length;Ws++)if(Hr(_0[Ws]))return Ws;return-1}function gr(_0,qs){for(let Ws=qs;Ws<_0.length;Ws++)if(!Hr(_0[Ws]))return Ws;return-1}function fa(_0){const qs=nt.currentNode(_0);return an&&qs&&Hr(qs)&&(qs.intersectsChange=!0),qs}}function Dn(he){Vx(he,!0)}t.fixupParentReferences=Dn;function Cn(he,Re,nt,Nt,bi,en,zu,Hr){let Lr=k.createSourceFile(bi,en,zu);return wP(Lr,0,We.length),gr(Lr),!Nt&&wc(Lr)&&Lr.transformFlags&67108864&&(Lr=Si(Lr),gr(Lr)),Lr;function gr(fa){fa.text=We,fa.bindDiagnostics=[],fa.bindSuggestionDiagnostics=void 0,fa.languageVersion=Re,fa.fileName=he,fa.languageVariant=Yj(nt),fa.isDeclarationFile=Nt,fa.scriptKind=nt,Hr(fa),fa.setExternalModuleIndicator=Hr}}function tu(he,Re){he?Jn|=Re:Jn&=~Re}function oa(he){tu(he,8192)}function Da(he){tu(he,16384)}function ra(he){tu(he,32768)}function Ta(he){tu(he,65536)}function Yo(he,Re){const nt=he&Jn;if(nt){tu(!1,nt);const Nt=Re();return tu(!0,nt),Nt}return Re()}function bo(he,Re){const nt=he&~Jn;if(nt){tu(!0,nt);const Nt=Re();return tu(!1,nt),Nt}return Re()}function Qe(he){return Yo(8192,he)}function Et(he){return bo(8192,he)}function Mt(he){return Yo(131072,he)}function qt(he){return bo(131072,he)}function Xt(he){return bo(16384,he)}function Pe(he){return bo(32768,he)}function et(he){return bo(65536,he)}function gt(he){return Yo(65536,he)}function ii(he){return bo(81920,he)}function me(he){return Yo(81920,he)}function ni(he){return(Jn&he)!==0}function vi(){return ni(16384)}function mt(){return ni(8192)}function Ot(){return ni(131072)}function Ei(){return ni(32768)}function $i(){return ni(65536)}function Qi(he,...Re){return le(u.getTokenStart(),u.getTokenEnd(),he,...Re)}function on(he,Re,nt,...Nt){const bi=qu(st);let en;return(!bi||he!==bi.start)&&(en=hB(Ye,We,he,Re,nt,...Nt),st.push(en)),Pi=!0,en}function le(he,Re,nt,...Nt){return on(he,Re-he,nt,...Nt)}function te(he,Re,...nt){le(he.pos,he.end,Re,...nt)}function we(he,Re,nt){on(u.getTokenEnd(),Re,he,nt)}function de(){return u.getTokenFullStart()}function je(){return u.hasPrecedingJSDocComment()}function X(){return ei}function it(){return ei=u.scan()}function Ct(he){return ct(),he()}function ct(){return uf(ei)&&(u.hasUnicodeEscape()||u.hasExtendedUnicodeEscape())&&le(u.getTokenStart(),u.getTokenEnd(),F.Keywords_cannot_contain_escape_characters),it()}function Qt(){return ei=u.scanJsDocToken()}function Li(he){return ei=u.scanJSDocCommentTextToken(he)}function Ui(){return ei=u.reScanGreaterToken()}function Sn(){return ei=u.reScanSlashToken()}function du(he){return ei=u.reScanTemplateToken(he)}function Ru(){return ei=u.reScanLessThanToken()}function pr(){return ei=u.reScanHashToken()}function Xu(){return ei=u.scanJsxIdentifier()}function ca(){return ei=u.scanJsxToken()}function Ku(){return ei=u.scanJsxAttributeValue()}function ja(he,Re){const nt=ei,Nt=st.length,bi=Pi,en=Jn,zu=Re!==0?u.lookAhead(he):u.tryScan(he);return H.assert(en===Jn),(!zu||Re!==0)&&(ei=nt,Re!==2&&(st.length=Nt),Pi=bi),zu}function wn(he){return ja(he,1)}function Ir(he){return ja(he,0)}function as(){return X()===80?!0:X()>118}function wo(){return X()===80?!0:X()===127&&vi()||X()===135&&$i()?!1:X()>118}function Fn(he,Re,nt=!0){return X()===he?(nt&&ct(),!0):(Re?Qi(Re):Qi(F._0_expected,Uo(he)),!1)}const vc=Object.keys(MO).filter(he=>he.length>2);function Ya(he){if(Dk(he)){le(gs(We,he.template.pos),he.template.end,F.Module_declaration_names_may_only_use_or_quoted_strings);return}const Re=at(he)?fu(he):void 0;if(!Re||!Lm(Re,Gt)){Qi(F._0_expected,Uo(27));return}const nt=gs(We,he.pos);switch(Re){case"const":case"let":case"var":le(nt,he.end,F.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":c0(F.Interface_name_cannot_be_0,F.Interface_must_be_given_a_name,19);return;case"is":le(nt,u.getTokenStart(),F.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":c0(F.Namespace_name_cannot_be_0,F.Namespace_must_be_given_a_name,19);return;case"type":c0(F.Type_alias_name_cannot_be_0,F.Type_alias_must_be_given_a_name,64);return}const Nt=bN(Re,vc,bi=>bi)??Ul(Re);if(Nt){le(nt,he.end,F.Unknown_keyword_or_identifier_Did_you_mean_0,Nt);return}X()!==0&&le(nt,he.end,F.Unexpected_keyword_or_identifier)}function c0(he,Re,nt){X()===nt?Qi(Re):Qi(he,u.getTokenValue())}function Ul(he){for(const Re of vc)if(he.length>Re.length+2&&Pa(he,Re))return`${Re} ${he.slice(Re.length)}`}function wl(he,Re,nt){if(X()===60&&!u.hasPrecedingLineBreak()){Qi(F.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(X()===21){Qi(F.Cannot_start_a_function_call_in_a_type_annotation),ct();return}if(Re&&!Lc()){nt?Qi(F._0_expected,Uo(27)):Qi(F.Expected_for_property_initializer);return}if(!Il()){if(nt){Qi(F._0_expected,Uo(27));return}Ya(he)}}function hd(he){return X()===he?(Qt(),!0):(H.assert(Sq(he)),Qi(F._0_expected,Uo(he)),!1)}function vl(he,Re,nt,Nt){if(X()===Re){ct();return}const bi=Qi(F._0_expected,Uo(Re));nt&&bi&&Es(bi,hB(Ye,We,Nt,1,F.The_parser_expected_to_find_a_1_to_match_the_0_token_here,Uo(he),Uo(Re)))}function co(he){return X()===he?(ct(),!0):!1}function Ho(he){if(X()===he)return Tc()}function id(he){if(X()===he)return Jp()}function Y0(he,Re,nt){return Ho(he)||dl(he,!1,Re||F._0_expected,nt||Uo(he))}function Ko(he){const Re=id(he);return Re||(H.assert(Sq(he)),dl(he,!1,F._0_expected,Uo(he)))}function Tc(){const he=de(),Re=X();return ct(),Ri(Y(Re),he)}function Jp(){const he=de(),Re=X();return Qt(),Ri(Y(Re),he)}function Lc(){return X()===27?!0:X()===20||X()===1||u.hasPrecedingLineBreak()}function Il(){return Lc()?(X()===27&&ct(),!0):!1}function cl(){return Il()||Fn(27)}function Ka(he,Re,nt,Nt){const bi=T(he,Nt);return t_(bi,Re,nt??u.getTokenFullStart()),bi}function Ri(he,Re,nt){return t_(he,Re,nt??u.getTokenFullStart()),Jn&&(he.flags|=Jn),Pi&&(Pi=!1,he.flags|=262144),he}function dl(he,Re,nt,...Nt){Re?on(u.getTokenFullStart(),0,nt,...Nt):nt&&Qi(nt,...Nt);const bi=de(),en=he===80?J("",void 0):Bx(he)?k.createTemplateLiteralLikeNode(he,"","",void 0):he===9?M("",void 0):he===11?z("",void 0):he===282?k.createMissingDeclaration():Y(he);return Ri(en,bi)}function Uc(he){let Re=Ut.get(he);return Re===void 0&&Ut.set(he,Re=he),Re}function Ch(he,Re,nt){if(he){Ni++;const Hr=de(),Lr=X(),gr=Uc(u.getTokenValue()),fa=u.hasExtendedUnicodeEscape();return it(),Ri(J(gr,Lr,fa),Hr)}if(X()===81)return Qi(nt||F.Private_identifiers_are_not_allowed_outside_class_bodies),Ch(!0);if(X()===0&&u.tryScan(()=>u.reScanInvalidIdentifier()===80))return Ch(!0);Ni++;const Nt=X()===1,bi=u.isReservedWord(),en=u.getTokenText(),zu=bi?F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:F.Identifier_expected;return dl(80,Nt,Re||zu,en)}function sf(he){return Ch(as(),void 0,he)}function Q0(he,Re){return Ch(wo(),he,Re)}function Cc(he){return Ch(fh(X()),he)}function $(){return(u.hasUnicodeEscape()||u.hasExtendedUnicodeEscape())&&Qi(F.Unicode_escape_sequence_cannot_appear_here),Ch(fh(X()))}function tt(){return fh(X())||X()===11||X()===9}function vt(){return fh(X())||X()===11}function mi(he){if(X()===11||X()===9){const Re=ir();return Re.text=Uc(Re.text),Re}return he&&X()===23?Wu():X()===81?uu():Cc()}function fn(){return mi(!0)}function Wu(){const he=de();Fn(23);const Re=Qe(i1);return Fn(24),Ri(k.createComputedPropertyName(Re),he)}function uu(){const he=de(),Re=K(Uc(u.getTokenValue()));return ct(),Ri(Re,he)}function Tu(he){return X()===he&&Ir(Vu)}function Nr(){return ct(),u.hasPrecedingLineBreak()?!1:S0()}function Vu(){switch(X()){case 87:return ct()===94;case 95:return ct(),X()===90?wn(ud):X()===156?wn(ic):Ss();case 90:return ud();case 126:case 139:case 153:return ct(),S0();default:return Nr()}}function Ss(){return X()===60||X()!==42&&X()!==130&&X()!==19&&S0()}function ic(){return ct(),Ss()}function nd(){return XD(X())&&Ir(Vu)}function S0(){return X()===23||X()===19||X()===42||X()===26||tt()}function ud(){return ct(),X()===86||X()===100||X()===120||X()===60||X()===128&&wn(Hw)||X()===134&&wn(R0)}function m0(he,Re){if(fc(he))return!0;switch(he){case 0:case 1:case 3:return!(X()===27&&Re)&&L9();case 2:return X()===84||X()===90;case 4:return wn(t6);case 5:return wn(N5)||X()===27&&!Re;case 6:return X()===23||tt();case 12:switch(X()){case 23:case 42:case 26:case 25:return!0;default:return tt()}case 18:return tt();case 9:return X()===23||X()===26||tt();case 24:return vt();case 7:return X()===19?wn(Bd):Re?wo()&&!D1():A5()&&!D1();case 8:return Ks();case 10:return X()===28||X()===26||Ks();case 19:return X()===103||X()===87||wo();case 15:switch(X()){case 28:case 25:return!0}case 11:return X()===26||f3();case 16:return Dt(!1);case 17:return Dt(!0);case 20:case 21:return X()===28||fE();case 22:return R();case 23:return X()===161&&wn(M9)?!1:fh(X());case 13:return fh(X())||X()===19;case 14:return!0;case 25:return!0;case 26:return H.fail("ParsingContext.Count used as a context");default:H.assertNever(he,"Non-exhaustive case in 'isListElement'.")}}function Bd(){if(H.assert(X()===19),ct()===20){const he=ct();return he===28||he===19||he===96||he===119}return!0}function Oh(){return ct(),wo()}function uh(){return ct(),fh(X())}function h4(){return ct(),b2e(X())}function D1(){return X()===119||X()===96?wn(He):!1}function He(){return ct(),f3()}function di(){return ct(),fE()}function Mn(he){if(X()===1)return!0;switch(he){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return X()===20;case 3:return X()===20||X()===84||X()===90;case 7:return X()===19||X()===96||X()===119;case 8:return ba();case 19:return X()===32||X()===21||X()===19||X()===96||X()===119;case 11:return X()===22||X()===27;case 15:case 21:case 10:return X()===24;case 17:case 16:case 18:return X()===22||X()===24;case 20:return X()!==28;case 22:return X()===19||X()===20;case 13:return X()===32||X()===44;case 14:return X()===30&&wn(gn);default:return!1}}function ba(){return!!(Lc()||tF(X())||X()===39)}function Fo(){H.assert(ji,"Missing parsing context");for(let he=0;he<26;he++)if(ji&1<=0)}function d3(he){return he===6?F.An_enum_member_name_must_be_followed_by_a_or:void 0}function Wf(){const he=Ka([],de());return he.isMissingList=!0,he}function m4(he){return!!he.isMissingList}function Vh(he,Re,nt,Nt){if(Fn(nt)){const bi=R1(he,Re);return Fn(Nt),bi}return Wf()}function Ee(he,Re){const nt=de();let Nt=he?Cc(Re):Q0(Re);for(;co(25)&&X()!==30;)Nt=Ri(k.createQualifiedName(Nt,Di(he,!1,!0)),nt);return Nt}function Bt(he,Re){return Ri(k.createQualifiedName(he,Re),he.pos)}function Di(he,Re,nt){if(u.hasPrecedingLineBreak()&&fh(X())&&wn(a6))return dl(80,!0,F.Identifier_expected);if(X()===81){const Nt=uu();return Re?Nt:dl(80,!0,F.Identifier_expected)}return he?nt?Cc():$():Q0()}function Ci(he){const Re=de(),nt=[];let Nt;do Nt=tr(he),nt.push(Nt);while(Nt.literal.kind===17);return Ka(nt,Re)}function Q(he){const Re=de();return Ri(k.createTemplateExpression(ha(he),Ci(he)),Re)}function Me(){const he=de();return Ri(k.createTemplateLiteralType(ha(!1),wt()),he)}function wt(){const he=de(),Re=[];let nt;do nt=ki(),Re.push(nt);while(nt.literal.kind===17);return Ka(Re,he)}function ki(){const he=de();return Ri(k.createTemplateLiteralTypeSpan(jd(),In(!1)),he)}function In(he){return X()===20?(du(he),os()):Y0(18,F._0_expected,Uo(20))}function tr(he){const Re=de();return Ri(k.createTemplateSpan(Qe(i1),In(he)),Re)}function ir(){return Rl(X())}function ha(he){!he&&u.getTokenFlags()&26656&&du(!1);const Re=Rl(X());return H.assert(Re.kind===16,"Template head has wrong token kind"),Re}function os(){const he=Rl(X());return H.assert(he.kind===17||he.kind===18,"Template fragment has wrong token kind"),he}function ss(he){const Re=he===15||he===18,nt=u.getTokenText();return nt.substring(1,nt.length-(u.isUnterminated()?0:Re?1:2))}function Rl(he){const Re=de(),nt=Bx(he)?k.createTemplateLiteralLikeNode(he,u.getTokenValue(),ss(he),u.getTokenFlags()&7176):he===9?M(u.getTokenValue(),u.getNumericLiteralFlags()):he===11?z(u.getTokenValue(),void 0,u.hasExtendedUnicodeEscape()):jN(he)?j(he,u.getTokenValue()):H.fail();return u.hasExtendedUnicodeEscape()&&(nt.hasExtendedUnicodeEscape=!0),u.isUnterminated()&&(nt.isUnterminated=!0),ct(),Ri(nt,Re)}function x1(){return Ee(!0,F.Type_expected)}function fd(){if(!u.hasPrecedingLineBreak()&&Ru()===30)return Vh(20,jd,30,32)}function $m(){const he=de();return Ri(k.createTypeReferenceNode(x1(),fd()),he)}function _s(he){switch(he.kind){case 183:return Ql(he.typeName);case 184:case 185:{const{parameters:Re,type:nt}=he;return m4(Re)||_s(nt)}case 196:return _s(he.type);default:return!1}}function np(he){return ct(),Ri(k.createTypePredicateNode(void 0,he,jd()),he.pos)}function Um(){const he=de();return ct(),Ri(k.createThisTypeNode(),he)}function h3(){const he=de();return ct(),Ri(k.createJSDocAllType(),he)}function d_(){const he=de();return ct(),Ri(k.createJSDocNonNullableType(hb(),!1),he)}function ia(){const he=de();return ct(),X()===28||X()===20||X()===22||X()===32||X()===64||X()===52?Ri(k.createJSDocUnknownType(),he):Ri(k.createJSDocNullableType(jd(),!1),he)}function Xx(){const he=de(),Re=je();if(wn(Fr)){ct();const nt=bu(36),Nt=bn(59,!1);return Ln(Ri(k.createJSDocFunctionType(nt,Nt),he),Re)}return Ri(k.createTypeReferenceNode(Cc(),void 0),he)}function e6(){const he=de();let Re;return(X()===110||X()===105)&&(Re=Cc(),Fn(59)),Ri(k.createParameterDeclaration(void 0,void 0,Re,void 0,bg(),void 0),he)}function bg(){u.setInJSDocType(!0);const he=de();if(co(144)){const Nt=k.createJSDocNamepathType(void 0);e:for(;;)switch(X()){case 20:case 1:case 28:case 5:break e;default:Qt()}return u.setInJSDocType(!1),Ri(Nt,he)}const Re=co(26);let nt=uC();return u.setInJSDocType(!1),Re&&(nt=Ri(k.createJSDocVariadicType(nt),he)),X()===64?(ct(),Ri(k.createJSDocOptionalType(nt),he)):nt}function sb(){const he=de();Fn(114);const Re=Ee(!0),nt=u.hasPrecedingLineBreak()?void 0:d6();return Ri(k.createTypeQueryNode(Re,nt),he)}function b5(){const he=de(),Re=j1(!1,!0),nt=Q0();let Nt,bi;co(96)&&(fE()||!f3()?Nt=jd():bi=uc());const en=co(64)?jd():void 0,zu=k.createTypeParameterDeclaration(Re,nt,Nt,en);return zu.expression=bi,Ri(zu,he)}function Xe(){if(X()===30)return Vh(19,b5,30,32)}function Dt(he){return X()===26||Ks()||XD(X())||X()===60||fE(!he)}function oi(he){const Re=_u(F.Private_identifiers_cannot_be_used_as_parameters);return ij(Re)===0&&!Oe(he)&&XD(X())&&ct(),Re}function Ti(){return as()||X()===23||X()===19}function Xi(he){return tn(he)}function Rn(he){return tn(he,!1)}function tn(he,Re=!0){const nt=de(),Nt=je(),bi=he?et(()=>j1(!0)):gt(()=>j1(!0));if(X()===110){const Lr=k.createParameterDeclaration(bi,void 0,Ch(!0),void 0,F5(),void 0),gr=Ki(bi);return gr&&te(gr,F.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Ln(Ri(Lr,nt),Nt)}const en=an;an=!1;const zu=Ho(26);if(!Re&&!Ti())return;const Hr=Ln(Ri(k.createParameterDeclaration(bi,zu,oi(bi),Ho(58),F5(),g4()),nt),Nt);return an=en,Hr}function bn(he,Re){if(kr(he,Re))return Mt(uC)}function kr(he,Re){return he===39?(Fn(he),!0):co(59)?!0:Re&&X()===39?(Qi(F._0_expected,Uo(59)),ct(),!0):!1}function Cu(he,Re){const nt=vi(),Nt=$i();Da(!!(he&1)),Ta(!!(he&2));const bi=he&32?R1(17,e6):R1(16,()=>Re?Xi(Nt):Rn(Nt));return Da(nt),Ta(Nt),bi}function bu(he){if(!Fn(21))return Wf();const Re=Cu(he,!0);return Fn(22),Re}function Eu(){co(28)||cl()}function sa(he){const Re=de(),nt=je();he===180&&Fn(105);const Nt=Xe(),bi=bu(4),en=bn(59,!0);Eu();const zu=he===179?k.createCallSignature(Nt,bi,en):k.createConstructSignature(Nt,bi,en);return Ln(Ri(zu,Re),nt)}function p0(){return X()===23&&wn(o0)}function o0(){if(ct(),X()===26||X()===24)return!0;if(XD(X())){if(ct(),wo())return!0}else if(wo())ct();else return!1;return X()===59||X()===28?!0:X()!==58?!1:(ct(),X()===59||X()===28||X()===24)}function Gf(he,Re,nt){const Nt=Vh(16,()=>Xi(!1),23,24),bi=F5();Eu();const en=k.createIndexSignature(nt,Nt,bi);return Ln(Ri(en,he),Re)}function eC(he,Re,nt){const Nt=fn(),bi=Ho(58);let en;if(X()===21||X()===30){const zu=Xe(),Hr=bu(4),Lr=bn(59,!0);en=k.createMethodSignature(nt,Nt,bi,zu,Hr,Lr)}else{const zu=F5();en=k.createPropertySignature(nt,Nt,bi,zu),X()===64&&(en.initializer=g4())}return Eu(),Ln(Ri(en,he),Re)}function t6(){if(X()===21||X()===30||X()===139||X()===153)return!0;let he=!1;for(;XD(X());)he=!0,ct();return X()===23?!0:(tt()&&(he=!0,ct()),he?X()===21||X()===30||X()===58||X()===59||X()===28||Lc():!1)}function cD(){if(X()===21||X()===30)return sa(179);if(X()===105&&wn(i6))return sa(180);const he=de(),Re=je(),nt=j1(!1);return Tu(139)?lp(he,Re,nt,177,4):Tu(153)?lp(he,Re,nt,178,4):p0()?Gf(he,Re,nt):eC(he,Re,nt)}function i6(){return ct(),X()===21||X()===30}function Gk(){return ct()===25}function lb(){switch(ct()){case 21:case 30:case 25:return!0}return!1}function Jk(){const he=de();return Ri(k.createTypeLiteralNode($k()),he)}function $k(){let he;return Fn(19)?(he=To(4,cD),Fn(20)):he=Wf(),he}function az(){return ct(),X()===40||X()===41?ct()===148:(X()===148&&ct(),X()===23&&Oh()&&ct()===103)}function D9(){const he=de(),Re=Cc();Fn(103);const nt=jd();return Ri(k.createTypeParameterDeclaration(void 0,Re,nt,void 0),he)}function ww(){const he=de();Fn(19);let Re;(X()===148||X()===40||X()===41)&&(Re=Tc(),Re.kind!==148&&Fn(148)),Fn(23);const nt=D9(),Nt=co(130)?jd():void 0;Fn(24);let bi;(X()===58||X()===40||X()===41)&&(bi=Tc(),bi.kind!==58&&Fn(58));const en=F5();cl();const zu=To(4,cD);return Fn(20),Ri(k.createMappedTypeNode(Re,nt,Nt,bi,en,zu),he)}function tC(){const he=de();if(co(26))return Ri(k.createRestTypeNode(jd()),he);const Re=jd();if(wB(Re)&&Re.pos===Re.type.pos){const nt=k.createOptionalTypeNode(Re.type);return Pt(nt,Re),nt.flags=Re.flags,nt}return Re}function x9(){return ct()===59||X()===58&&ct()===59}function v9(){return X()===26?fh(ct())&&x9():fh(X())&&x9()}function Tw(){if(wn(v9)){const he=de(),Re=je(),nt=Ho(26),Nt=Cc(),bi=Ho(58);Fn(59);const en=tC(),zu=k.createNamedTupleMember(nt,Nt,bi,en);return Ln(Ri(zu,he),Re)}return tC()}function Uk(){const he=de();return Ri(k.createTupleTypeNode(Vh(21,Tw,23,24)),he)}function Lw(){const he=de();Fn(21);const Re=jd();return Fn(22),Ri(k.createParenthesizedType(Re),he)}function C9(){let he;if(X()===128){const Re=de();ct();const nt=Ri(Y(128),Re);he=Ka([nt],Re)}return he}function b9(){const he=de(),Re=je(),nt=C9(),Nt=co(105);H.assert(!nt||Nt,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");const bi=Xe(),en=bu(4),zu=bn(39,!1),Hr=Nt?k.createConstructorTypeNode(nt,bi,en,zu):k.createFunctionTypeNode(bi,en,zu);return Ln(Ri(Hr,he),Re)}function qk(){const he=Tc();return X()===25?void 0:he}function cb(he){const Re=de();he&&ct();let nt=X()===112||X()===97||X()===106?Tc():Rl(X());return he&&(nt=Ri(k.createPrefixUnaryExpression(41,nt),Re)),Ri(k.createLiteralTypeNode(nt),Re)}function db(){return ct(),X()===102}function iC(){Ve|=4194304;const he=de(),Re=co(114);Fn(102),Fn(21);const nt=jd();let Nt;if(co(28)){const zu=u.getTokenStart();Fn(19);const Hr=X();if(Hr===118||Hr===132?ct():Qi(F._0_expected,Uo(118)),Fn(59),Nt=DC(Hr,!0),!Fn(20)){const Lr=qu(st);Lr&&Lr.code===F._0_expected.code&&Es(Lr,hB(Ye,We,zu,1,F.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}}Fn(22);const bi=co(25)?x1():void 0,en=fd();return Ri(k.createImportTypeNode(nt,Nt,bi,en,Re),he)}function y5(){return ct(),X()===9||X()===10}function hb(){switch(X()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return Ir(qk)||$m();case 67:u.reScanAsteriskEqualsToken();case 42:return h3();case 61:u.reScanQuestionToken();case 58:return ia();case 100:return Xx();case 54:return d_();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return cb();case 41:return wn(y5)?cb(!0):$m();case 116:return Tc();case 110:{const he=Um();return X()===142&&!u.hasPrecedingLineBreak()?np(he):he}case 114:return wn(db)?iC():sb();case 19:return wn(az)?ww():Jk();case 23:return Uk();case 21:return Lw();case 102:return iC();case 131:return wn(a6)?rC():$m();case 16:return Me();default:return $m()}}function fE(he){switch(X()){case 133:case 159:case 154:case 150:case 163:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!he;case 41:return!he&&wn(y5);case 21:return!he&&wn(Vs);default:return wo()}}function Vs(){return ct(),X()===22||Dt(!1)||fE()}function Zk(){const he=de();let Re=hb();for(;!u.hasPrecedingLineBreak();)switch(X()){case 54:ct(),Re=Ri(k.createJSDocNonNullableType(Re,!0),he);break;case 58:if(wn(di))return Re;ct(),Re=Ri(k.createJSDocNullableType(Re,!0),he);break;case 23:if(Fn(23),fE()){const nt=jd();Fn(24),Re=Ri(k.createIndexedAccessTypeNode(Re,nt),he)}else Fn(24),Re=Ri(k.createArrayTypeNode(Re),he);break;default:return Re}return Re}function Nw(he){const Re=de();return Fn(he),Ri(k.createTypeOperatorNode(he,p4()),Re)}function n6(){if(co(96)){const he=qt(jd);if(Ot()||X()!==58)return he}}function k5(){const he=de(),Re=Q0(),nt=Ir(n6),Nt=k.createTypeParameterDeclaration(void 0,Re,nt);return Ri(Nt,he)}function h_(){const he=de();return Fn(140),Ri(k.createInferTypeNode(k5()),he)}function p4(){const he=X();switch(he){case 143:case 158:case 148:return Nw(he);case 140:return h_()}return Mt(Zk)}function Jf(he){if(y9()){const Re=b9();let nt;return u3(Re)?nt=he?F.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:F.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:nt=he?F.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:F.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,te(Re,nt),Re}}function Hh(he,Re,nt){const Nt=de(),bi=he===52,en=co(he);let zu=en&&Jf(bi)||Re();if(X()===he||en){const Hr=[zu];for(;co(he);)Hr.push(Jf(bi)||Re());zu=Ri(nt(Ka(Hr,Nt)),Nt)}return zu}function Em(){return Hh(51,p4,k.createIntersectionTypeNode)}function nC(){return Hh(52,Em,k.createUnionTypeNode)}function Pw(){return ct(),X()===105}function y9(){return X()===30||X()===21&&wn(fb)?!0:X()===105||X()===128&&wn(Pw)}function Yk(){if(XD(X())&&j1(!1),wo()||X()===110)return ct(),!0;if(X()===23||X()===19){const he=st.length;return _u(),he===st.length}return!1}function fb(){return ct(),!!(X()===22||X()===26||Yk()&&(X()===59||X()===28||X()===58||X()===64||X()===22&&(ct(),X()===39)))}function uC(){const he=de(),Re=wo()&&Ir(Qk),nt=jd();return Re?Ri(k.createTypePredicateNode(void 0,Re,nt),he):nt}function Qk(){const he=Q0();if(X()===142&&!u.hasPrecedingLineBreak())return ct(),he}function rC(){const he=de(),Re=Y0(131),nt=X()===110?Um():Q0(),Nt=co(142)?jd():void 0;return Ri(k.createTypePredicateNode(Re,nt,Nt),he)}function jd(){if(Jn&81920)return Yo(81920,jd);if(y9())return b9();const he=de(),Re=nC();if(!Ot()&&!u.hasPrecedingLineBreak()&&co(96)){const nt=qt(jd);Fn(58);const Nt=Mt(jd);Fn(59);const bi=Mt(jd);return Ri(k.createConditionalTypeNode(Re,nt,Nt,bi),he)}return Re}function F5(){return co(59)?jd():void 0}function A5(){switch(X()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return wn(lb);default:return wo()}}function f3(){if(A5())return!0;switch(X()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return iF()?!0:wo()}}function pt(){return X()!==19&&X()!==100&&X()!==86&&X()!==60&&f3()}function i1(){const he=Ei();he&&ra(!1);const Re=de();let nt=bh(!0),Nt;for(;Nt=Ho(28);)nt=Ur(nt,Nt,bh(!0),Re);return he&&ra(!0),nt}function g4(){return co(64)?bh(!0):void 0}function bh(he){if(Mw())return aC();const Re=oz(he)||eF(he);if(Re)return Re;const nt=de(),Nt=je(),bi=p3(0);return bi.kind===80&&X()===39?m3(nt,bi,he,Nt,void 0):Df(bi)&&u5(Ui())?Ur(bi,Tc(),bh(he),nt):kg(bi,nt,he)}function Mw(){return X()===127?vi()?!0:wn(Kw):!1}function S5(){return ct(),!u.hasPrecedingLineBreak()&&wo()}function aC(){const he=de();return ct(),!u.hasPrecedingLineBreak()&&(X()===42||f3())?Ri(k.createYieldExpression(Ho(42),bh(!0)),he):Ri(k.createYieldExpression(void 0,void 0),he)}function m3(he,Re,nt,Nt,bi){H.assert(X()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");const en=k.createParameterDeclaration(void 0,void 0,Re,void 0,void 0,void 0);Ri(en,Re.pos);const zu=Ka([en],en.pos,en.end),Hr=Y0(39),Lr=up(!!bi,nt),gr=k.createArrowFunction(bi,void 0,zu,void 0,Hr,Lr);return Ln(Ri(gr,he),Nt)}function oz(he){const Re=Hs();if(Re!==0)return Re===1?pb(!0,!0):Ir(()=>Xk(he))}function Hs(){return X()===21||X()===30||X()===134?wn(yg):X()===39?1:0}function yg(){if(X()===134&&(ct(),u.hasPrecedingLineBreak()||X()!==21&&X()!==30))return 0;const he=X(),Re=ct();if(he===21){if(Re===22)switch(ct()){case 39:case 59:case 19:return 1;default:return 0}if(Re===23||Re===19)return 2;if(Re===26)return 1;if(XD(Re)&&Re!==134&&wn(Oh))return ct()===130?0:1;if(!wo()&&Re!==110)return 0;switch(ct()){case 59:return 1;case 58:return ct(),X()===59||X()===28||X()===64||X()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return H.assert(he===30),!wo()&&X()!==87?0:Ie===1?wn(()=>{co(87);const Nt=ct();if(Nt===96)switch(ct()){case 64:case 32:case 44:return!1;default:return!0}else if(Nt===28||Nt===64)return!0;return!1})?1:0:2}function Xk(he){const Re=u.getTokenStart();if(xn!=null&&xn.has(Re))return;const nt=pb(!1,he);return nt||(xn||(xn=new Set)).add(Re),nt}function eF(he){if(X()===134&&wn(mb)===1){const Re=de(),nt=je(),Nt=EC(),bi=p3(0);return m3(Re,bi,he,nt,Nt)}}function mb(){if(X()===134){if(ct(),u.hasPrecedingLineBreak()||X()===39)return 0;const he=p3(0);if(!u.hasPrecedingLineBreak()&&he.kind===80&&X()===39)return 1}return 0}function pb(he,Re){const nt=de(),Nt=je(),bi=EC(),en=Oe(bi,VP)?2:0,zu=Xe();let Hr;if(Fn(21)){if(he)Hr=Cu(en,he);else{const f6=Cu(en,he);if(!f6)return;Hr=f6}if(!Fn(22)&&!he)return}else{if(!he)return;Hr=Wf()}const Lr=X()===59,gr=bn(59,!1);if(gr&&!he&&_s(gr))return;let fa=gr;for(;(fa==null?void 0:fa.kind)===196;)fa=fa.type;const _0=fa&&TB(fa);if(!he&&X()!==39&&(_0||X()!==19))return;const qs=X(),Ws=Y0(39),v4=qs===39||qs===19?up(Oe(bi,VP),Re):Q0();if(!Re&&Lr&&X()!==59)return;const qp=k.createArrowFunction(bi,zu,Hr,gr,Ws,v4);return Ln(Ri(qp,nt),Nt)}function up(he,Re){if(X()===19)return r6(he?2:0);if(X()!==27&&X()!==100&&X()!==86&&L9()&&!pt())return r6(16|(he?2:0));const nt=an;an=!1;const Nt=he?et(()=>bh(Re)):gt(()=>bh(Re));return an=nt,Nt}function kg(he,Re,nt){const Nt=Ho(58);if(!Nt)return he;let bi;return Ri(k.createConditionalExpression(he,Nt,Yo(s,()=>bh(!1)),bi=Y0(59),H4(bi)?bh(nt):dl(80,!1,F._0_expected,Uo(59))),Re)}function p3(he){const Re=de(),nt=uc();return mE(he,nt,Re)}function tF(he){return he===103||he===165}function mE(he,Re,nt){for(;;){Ui();const Nt=Oj(X());if(!(X()===43?Nt>=he:Nt>he)||X()===103&&mt())break;if(X()===130||X()===152){if(u.hasPrecedingLineBreak())break;{const en=X();ct(),Re=en===152?zw(Re,jd()):ar(Re,jd())}}else Re=Ur(Re,Tc(),p3(Nt),nt)}return Re}function iF(){return mt()&&X()===103?!1:Oj(X())>0}function zw(he,Re){return Ri(k.createSatisfiesExpression(he,Re),he.pos)}function Ur(he,Re,nt,Nt){return Ri(k.createBinaryExpression(he,Re,nt),Nt)}function ar(he,Re){return Ri(k.createAsExpression(he,Re),he.pos)}function pE(){const he=de();return Ri(k.createPrefixUnaryExpression(X(),Ct(yh)),he)}function kf(){const he=de();return Ri(k.createDeleteExpression(Ct(yh)),he)}function Iw(){const he=de();return Ri(k.createTypeOfExpression(Ct(yh)),he)}function B5(){const he=de();return Ri(k.createVoidExpression(Ct(yh)),he)}function Rw(){return X()===135?$i()?!0:wn(Kw):!1}function gb(){const he=de();return Ri(k.createAwaitExpression(Ct(yh)),he)}function uc(){if(dD()){const nt=de(),Nt=f_();return X()===43?mE(Oj(X()),Nt,nt):Nt}const he=X(),Re=yh();if(X()===43){const nt=gs(We,Re.pos),{end:Nt}=Re;Re.kind===216?le(nt,Nt,F.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(H.assert(Sq(he)),le(nt,Nt,F.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,Uo(he)))}return Re}function yh(){switch(X()){case 40:case 41:case 55:case 54:return pE();case 91:return kf();case 114:return Iw();case 116:return B5();case 30:return Ie===1?E3(!0,void 0,void 0,!0):sC();case 135:if(Rw())return gb();default:return f_()}}function dD(){switch(X()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(Ie!==1)return!1;default:return!0}}function f_(){if(X()===46||X()===47){const Re=de();return Ri(k.createPrefixUnaryExpression(X(),Ct(g3)),Re)}else if(Ie===1&&X()===30&&wn(h4))return E3(!0);const he=g3();if(H.assert(Df(he)),(X()===46||X()===47)&&!u.hasPrecedingLineBreak()){const Re=X();return ct(),Ri(k.createPostfixUnaryExpression(he,Re),he.pos)}return he}function g3(){const he=de();let Re;return X()===102?wn(i6)?(Ve|=4194304,Re=Tc()):wn(Gk)?(ct(),ct(),Re=Ri(k.createMetaProperty(102,Cc()),he),Ve|=8388608):Re=$p():Re=X()===108?oC():$p(),ap(he,Re)}function $p(){const he=de(),Re=wd();return Ma(he,Re,!0)}function oC(){const he=de();let Re=Tc();if(X()===30){const nt=de(),Nt=Ir(_b);Nt!==void 0&&(le(nt,de(),F.super_may_not_use_type_arguments),lf()||(Re=k.createExpressionWithTypeArguments(Re,Nt)))}return X()===21||X()===25||X()===23?Re:(Y0(25,F.super_must_be_followed_by_an_argument_list_or_member_access),Ri(ge(Re,Di(!0,!0,!0)),he))}function E3(he,Re,nt,Nt=!1){const bi=de(),en=p_(he);let zu;if(en.kind===286){let Hr=jw(en),Lr;const gr=Hr[Hr.length-1];if((gr==null?void 0:gr.kind)===284&&!Vv(gr.openingElement.tagName,gr.closingElement.tagName)&&Vv(en.tagName,gr.closingElement.tagName)){const fa=gr.children.end,_0=Ri(k.createJsxElement(gr.openingElement,gr.children,Ri(k.createJsxClosingElement(Ri(J(""),fa,fa)),fa,fa)),gr.openingElement.pos,fa);Hr=Ka([...Hr.slice(0,Hr.length-1),_0],Hr.pos,fa),Lr=gr.closingElement}else Lr=A9(en,he),Vv(en.tagName,Lr.tagName)||(nt&&aE(nt)&&Vv(Lr.tagName,nt.tagName)?te(en.tagName,F.JSX_element_0_has_no_corresponding_closing_tag,JN(We,en.tagName)):te(Lr.tagName,F.Expected_corresponding_JSX_closing_tag_for_0,JN(We,en.tagName)));zu=Ri(k.createJsxElement(en,Hr,Lr),bi)}else en.kind===289?zu=Ri(k.createJsxFragment(en,jw(en),rp(he)),bi):(H.assert(en.kind===285),zu=en);if(!Nt&&he&&X()===30){const Hr=typeof Re>"u"?zu.pos:Re,Lr=Ir(()=>E3(!0,Hr));if(Lr){const gr=dl(28,!1);return wP(gr,Lr.pos,0),le(gs(We,Hr),Lr.end,F.JSX_expressions_must_have_one_parent_element),Ri(k.createBinaryExpression(zu,gr,Lr),bi)}}return zu}function Ow(){const he=de(),Re=k.createJsxText(u.getTokenValue(),ei===13);return ei=u.scanJsxToken(),Ri(Re,he)}function m_(he,Re){switch(Re){case 1:if(V7(he))te(he,F.JSX_fragment_has_no_corresponding_closing_tag);else{const nt=he.tagName,Nt=Math.min(gs(We,nt.pos),nt.end);le(Nt,nt.end,F.JSX_element_0_has_no_corresponding_closing_tag,JN(We,he.tagName))}return;case 31:case 7:return;case 12:case 13:return Ow();case 19:return k9(!1);case 30:return E3(!1,void 0,he);default:return H.assertNever(Re)}}function jw(he){const Re=[],nt=de(),Nt=ji;for(ji|=16384;;){const bi=m_(he,ei=u.reScanJsxToken());if(!bi||(Re.push(bi),aE(he)&&(bi==null?void 0:bi.kind)===284&&!Vv(bi.openingElement.tagName,bi.closingElement.tagName)&&Vv(he.tagName,bi.closingElement.tagName)))break}return ji=Nt,Ka(Re,nt)}function gE(){const he=de();return Ri(k.createJsxAttributes(To(13,sz)),he)}function p_(he){const Re=de();if(Fn(30),X()===32)return ca(),Ri(k.createJsxOpeningFragment(),Re);const nt=w5(),Nt=Jn&524288?void 0:d6(),bi=gE();let en;return X()===32?(ca(),en=k.createJsxOpeningElement(nt,Nt,bi)):(Fn(44),Fn(32,void 0,!1)&&(he?ct():ca()),en=k.createJsxSelfClosingElement(nt,Nt,bi)),Ri(en,Re)}function w5(){const he=de(),Re=Vw();if(gg(Re))return Re;let nt=Re;for(;co(25);)nt=Ri(ge(nt,Di(!0,!1,!1)),he);return nt}function Vw(){const he=de();Xu();const Re=X()===110,nt=$();return co(59)?(Xu(),Ri(k.createJsxNamespacedName(nt,$()),he)):Re?Ri(k.createToken(110),he):nt}function k9(he){const Re=de();if(!Fn(19))return;let nt,Nt;return X()!==20&&(he||(nt=Ho(26)),Nt=i1()),he?Fn(20):Fn(20,void 0,!1)&&ca(),Ri(k.createJsxExpression(nt,Nt),Re)}function sz(){if(X()===19)return Eb();const he=de();return Ri(k.createJsxAttribute(B0(),F9()),he)}function F9(){if(X()===64){if(Ku()===11)return ir();if(X()===19)return k9(!0);if(X()===30)return E3(!0);Qi(F.or_JSX_element_expected)}}function B0(){const he=de();Xu();const Re=$();return co(59)?(Xu(),Ri(k.createJsxNamespacedName(Re,$()),he)):Re}function Eb(){const he=de();Fn(19),Fn(26);const Re=i1();return Fn(20),Ri(k.createJsxSpreadAttribute(Re),he)}function A9(he,Re){const nt=de();Fn(31);const Nt=w5();return Fn(32,void 0,!1)&&(Re||!Vv(he.tagName,Nt)?ct():ca()),Ri(k.createJsxClosingElement(Nt),nt)}function rp(he){const Re=de();return Fn(31),Fn(32,F.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(he?ct():ca()),Ri(k.createJsxJsxClosingFragment(),Re)}function sC(){H.assert(Ie!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");const he=de();Fn(30);const Re=jd();Fn(32);const nt=yh();return Ri(k.createTypeAssertion(Re,nt),he)}function S9(){return ct(),fh(X())||X()===23||lf()}function lz(){return X()===29&&wn(S9)}function nF(he){if(he.flags&64)return!0;if(O7(he)){let Re=he.expression;for(;O7(Re)&&!(Re.flags&64);)Re=Re.expression;if(Re.flags&64){for(;O7(he);)he.flags|=64,he=he.expression;return!0}}return!1}function ru(he,Re,nt){const Nt=Di(!0,!0,!0),bi=nt||nF(Re),en=bi?ae(Re,nt,Nt):ge(Re,Nt);if(bi&&ea(en.name)&&te(en.name,F.An_optional_chain_cannot_contain_private_identifiers),c5(Re)&&Re.typeArguments){const zu=Re.typeArguments.pos-1,Hr=gs(We,Re.typeArguments.end)+1;le(zu,Hr,F.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return Ri(en,he)}function v1(he,Re,nt){let Nt;if(X()===24)Nt=dl(80,!0,F.An_element_access_expression_should_take_an_argument);else{const en=Qe(i1);Pm(en)&&(en.text=Uc(en.text)),Nt=en}Fn(24);const bi=nt||nF(Re)?ne(Re,nt,Nt):Ce(Re,Nt);return Ri(bi,he)}function Ma(he,Re,nt){for(;;){let Nt,bi=!1;if(nt&&lz()?(Nt=Y0(29),bi=fh(X())):bi=co(25),bi){Re=ru(he,Re,Nt);continue}if((Nt||!Ei())&&co(23)){Re=v1(he,Re,Nt);continue}if(lf()){Re=!Nt&&Re.kind===233?EE(he,Re.expression,Nt,Re.typeArguments):EE(he,Re,Nt,void 0);continue}if(!Nt){if(X()===54&&!u.hasPrecedingLineBreak()){ct(),Re=Ri(k.createNonNullExpression(Re),he);continue}const en=Ir(_b);if(en){Re=Ri(k.createExpressionWithTypeArguments(Re,en),he);continue}}return Re}}function lf(){return X()===15||X()===16}function EE(he,Re,nt,Nt){const bi=k.createTaggedTemplateExpression(Re,Nt,X()===15?(du(!0),ir()):Q(!0));return(nt||Re.flags&64)&&(bi.flags|=64),bi.questionDotToken=nt,Ri(bi,he)}function ap(he,Re){for(;;){Re=Ma(he,Re,!0);let nt;const Nt=Ho(29);if(Nt&&(nt=Ir(_b),lf())){Re=EE(he,Re,Nt,nt);continue}if(nt||X()===21){!Nt&&Re.kind===233&&(nt=Re.typeArguments,Re=Re.expression);const bi=Un(),en=Nt||nF(Re)?Se(Re,Nt,nt,bi):ve(Re,nt,bi);Re=Ri(en,he);continue}if(Nt){const bi=dl(80,!1,F.Identifier_expected);Re=Ri(ae(Re,Nt,bi),he)}break}return Re}function Un(){Fn(21);const he=R1(11,B9);return Fn(22),he}function _b(){if(Jn&524288||Ru()!==30)return;ct();const he=R1(20,jd);if(Ui()===32)return ct(),he&&lC()?he:void 0}function lC(){switch(X()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return u.hasPrecedingLineBreak()||iF()||!f3()}function wd(){switch(X()){case 15:u.getTokenFlags()&26656&&du(!1);case 9:case 10:case 11:return ir();case 110:case 108:case 106:case 112:case 97:return Tc();case 21:return _E();case 23:return hD();case 19:return dC();case 134:if(!wn(R0))break;return _3();case 60:return sF();case 86:return Jw();case 100:return _3();case 105:return uF();case 44:case 69:if(Sn()===14)return ir();break;case 16:return Q(!1);case 81:return uu()}return Q0(F.Expression_expected)}function _E(){const he=de(),Re=je();Fn(21);const nt=Qe(i1);return Fn(22),Ln(Ri(pe(nt),he),Re)}function DE(){const he=de();Fn(26);const Re=bh(!0);return Ri(k.createSpreadElement(Re),he)}function u6(){return X()===26?DE():X()===28?Ri(k.createOmittedExpression(),de()):bh(!0)}function B9(){return Yo(s,u6)}function hD(){const he=de(),Re=u.getTokenStart(),nt=Fn(23),Nt=u.hasPrecedingLineBreak(),bi=R1(15,u6);return vl(23,24,nt,Re),Ri(oe(bi,Nt),he)}function cC(){const he=de(),Re=je();if(Ho(26)){const fa=bh(!0);return Ln(Ri(k.createSpreadAssignment(fa),he),Re)}const nt=j1(!0);if(Tu(139))return lp(he,Re,nt,177,0);if(Tu(153))return lp(he,Re,nt,178,0);const Nt=Ho(42),bi=wo(),en=fn(),zu=Ho(58),Hr=Ho(54);if(Nt||X()===21||X()===30)return sp(he,Re,nt,Nt,en,zu,Hr);let Lr;if(bi&&X()!==59){const fa=Ho(64),_0=fa?Qe(()=>bh(!0)):void 0;Lr=k.createShorthandPropertyAssignment(en,_0),Lr.equalsToken=fa}else{Fn(59);const fa=Qe(()=>bh(!0));Lr=k.createPropertyAssignment(en,fa)}return Lr.modifiers=nt,Lr.questionToken=zu,Lr.exclamationToken=Hr,Ln(Ri(Lr,he),Re)}function dC(){const he=de(),Re=u.getTokenStart(),nt=Fn(19),Nt=u.hasPrecedingLineBreak(),bi=R1(12,cC,!0);return vl(19,20,nt,Re),Ri(se(bi,Nt),he)}function _3(){const he=Ei();ra(!1);const Re=de(),nt=je(),Nt=j1(!1);Fn(100);const bi=Ho(42),en=bi?1:0,zu=Oe(Nt,VP)?2:0,Hr=en&&zu?ii(g_):en?Xt(g_):zu?et(g_):g_(),Lr=Xe(),gr=bu(en|zu),fa=bn(59,!1),_0=r6(en|zu);ra(he);const qs=k.createFunctionExpression(Nt,bi,Hr,Lr,gr,fa,_0);return Ln(Ri(qs,Re),nt)}function g_(){return as()?sf():void 0}function uF(){const he=de();if(Fn(105),co(25)){const en=Cc();return Ri(k.createMetaProperty(105,en),he)}const Re=de();let nt=Ma(Re,wd(),!1),Nt;nt.kind===233&&(Nt=nt.typeArguments,nt=nt.expression),X()===29&&Qi(F.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,JN(We,nt));const bi=X()===21?Un():void 0;return Ri(Ne(nt,Nt,bi),he)}function fD(he,Re){const nt=de(),Nt=je(),bi=u.getTokenStart(),en=Fn(19,Re);if(en||he){const zu=u.hasPrecedingLineBreak(),Hr=To(1,qm);vl(19,20,en,bi);const Lr=Ln(Ri(fe(Hr,zu),nt),Nt);return X()===64&&(Qi(F.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses),ct()),Lr}else{const zu=Wf();return Ln(Ri(fe(zu,void 0),nt),Nt)}}function r6(he,Re){const nt=vi();Da(!!(he&1));const Nt=$i();Ta(!!(he&2));const bi=an;an=!1;const en=Ei();en&&ra(!1);const zu=fD(!!(he&16),Re);return en&&ra(!0),an=bi,Da(nt),Ta(Nt),zu}function Db(){const he=de(),Re=je();return Fn(27),Ln(Ri(k.createEmptyStatement(),he),Re)}function w9(){const he=de(),Re=je();Fn(101);const nt=u.getTokenStart(),Nt=Fn(21),bi=Qe(i1);vl(21,22,Nt,nt);const en=qm(),zu=co(93)?qm():void 0;return Ln(Ri(Ge(bi,en,zu),he),Re)}function rF(){const he=de(),Re=je();Fn(92);const nt=qm();Fn(117);const Nt=u.getTokenStart(),bi=Fn(21),en=Qe(i1);return vl(21,22,bi,Nt),co(27),Ln(Ri(k.createDoStatement(nt,en),he),Re)}function xb(){const he=de(),Re=je();Fn(117);const nt=u.getTokenStart(),Nt=Fn(21),bi=Qe(i1);vl(21,22,Nt,nt);const en=qm();return Ln(Ri(Ae(bi,en),he),Re)}function E4(){const he=de(),Re=je();Fn(99);const nt=Ho(135);Fn(21);let Nt;X()!==27&&(X()===115||X()===121||X()===87||X()===160&&wn(mD)||X()===135&&wn(N9)?Nt=yb(!0):Nt=Et(i1));let bi;if(nt?Fn(165):co(165)){const en=Qe(()=>bh(!0));Fn(22),bi=Ke(nt,Nt,en,qm())}else if(co(103)){const en=Qe(i1);Fn(22),bi=k.createForInStatement(Nt,en,qm())}else{Fn(27);const en=X()!==27&&X()!==22?Qe(i1):void 0;Fn(27);const zu=X()!==22?Qe(i1):void 0;Fn(22),bi=De(Nt,en,zu,qm())}return Ln(Ri(bi,he),Re)}function hC(he){const Re=de(),nt=je();Fn(he===252?83:88);const Nt=Lc()?void 0:Q0();cl();const bi=he===252?k.createBreakStatement(Nt):k.createContinueStatement(Nt);return Ln(Ri(bi,Re),nt)}function yc(){const he=de(),Re=je();Fn(107);const nt=Lc()?void 0:Qe(i1);return cl(),Ln(Ri(k.createReturnStatement(nt),he),Re)}function md(){const he=de(),Re=je();Fn(118);const nt=u.getTokenStart(),Nt=Fn(21),bi=Qe(i1);vl(21,22,Nt,nt);const en=bo(67108864,qm);return Ln(Ri(k.createWithStatement(bi,en),he),Re)}function T9(){const he=de(),Re=je();Fn(84);const nt=Qe(i1);Fn(59);const Nt=To(3,qm);return Ln(Ri(k.createCaseClause(nt,Nt),he),Re)}function O1(){const he=de();Fn(90),Fn(59);const Re=To(3,qm);return Ri(k.createDefaultClause(Re),he)}function Ff(){return X()===84?T9():O1()}function vb(){const he=de();Fn(19);const Re=To(2,Ff);return Fn(20),Ri(k.createCaseBlock(Re),he)}function _4(){const he=de(),Re=je();Fn(109),Fn(21);const nt=Qe(i1);Fn(22);const Nt=vb();return Ln(Ri(k.createSwitchStatement(nt,Nt),he),Re)}function fC(){const he=de(),Re=je();Fn(111);let nt=u.hasPrecedingLineBreak()?void 0:Qe(i1);return nt===void 0&&(Ni++,nt=Ri(J(""),de())),Il()||Ya(nt),Ln(Ri(k.createThrowStatement(nt),he),Re)}function T5(){const he=de(),Re=je();Fn(113);const nt=fD(!1),Nt=X()===85?n1():void 0;let bi;return(!Nt||X()===98)&&(Fn(98,F.catch_or_finally_expected),bi=fD(!1)),Ln(Ri(k.createTryStatement(nt,Nt,bi),he),Re)}function n1(){const he=de();Fn(85);let Re;co(21)?(Re=cf(),Fn(22)):Re=void 0;const nt=fD(!1);return Ri(k.createCatchClause(Re,nt),he)}function aF(){const he=de(),Re=je();return Fn(89),cl(),Ln(Ri(k.createDebuggerStatement(),he),Re)}function op(){const he=de();let Re=je(),nt;const Nt=X()===21,bi=Qe(i1);return at(bi)&&co(59)?nt=k.createLabeledStatement(bi,qm()):(Il()||Ya(bi),nt=Be(bi),Nt&&(Re=!1)),Ln(Ri(nt,he),Re)}function a6(){return ct(),fh(X())&&!u.hasPrecedingLineBreak()}function Hw(){return ct(),X()===86&&!u.hasPrecedingLineBreak()}function R0(){return ct(),X()===100&&!u.hasPrecedingLineBreak()}function Kw(){return ct(),(fh(X())||X()===9||X()===10||X()===11)&&!u.hasPrecedingLineBreak()}function oF(){for(;;)switch(X()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return _m();case 135:return o6();case 120:case 156:return S5();case 144:case 145:return z9();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:const he=X();if(ct(),u.hasPrecedingLineBreak())return!1;if(he===138&&X()===156)return!0;continue;case 162:return ct(),X()===19||X()===80||X()===95;case 102:return ct(),X()===11||X()===42||X()===19||fh(X());case 95:let Re=ct();if(Re===156&&(Re=wn(ct)),Re===64||Re===42||Re===19||Re===90||Re===130||Re===60)return!0;continue;case 126:ct();continue;default:return!1}}function mC(){return wn(oF)}function L9(){switch(X()){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return mC()||wn(lb);case 87:case 95:return mC();case 134:case 138:case 120:case 144:case 145:case 156:case 162:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return mC()||!wn(a6);default:return f3()}}function Kh(){return ct(),as()||X()===19||X()===23}function D3(){return wn(Kh)}function mD(){return Cb(!0)}function Cb(he){return ct(),he&&X()===165?!1:(as()||X()===19)&&!u.hasPrecedingLineBreak()}function _m(){return wn(Cb)}function N9(he){return ct()===160?Cb(he):!1}function o6(){return wn(N9)}function qm(){switch(X()){case 27:return Db();case 19:return fD(!1);case 115:return gC(de(),je(),void 0);case 121:if(D3())return gC(de(),je(),void 0);break;case 135:if(o6())return gC(de(),je(),void 0);break;case 160:if(_m())return gC(de(),je(),void 0);break;case 100:return kb(de(),je(),void 0);case 86:return x4(de(),je(),void 0);case 101:return w9();case 92:return rF();case 117:return xb();case 99:return E4();case 88:return hC(251);case 83:return hC(252);case 107:return yc();case 118:return md();case 109:return _4();case 111:return fC();case 113:case 85:case 98:return T5();case 89:return aF();case 60:return L5();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 162:if(mC())return L5();break}return op()}function bb(he){return he.kind===138}function L5(){const he=de(),Re=je(),nt=j1(!0);if(Oe(nt,bb)){const bi=cz(he);if(bi)return bi;for(const en of nt)en.flags|=33554432;return bo(33554432,()=>P9(he,Re,nt))}else return P9(he,Re,nt)}function cz(he){return bo(33554432,()=>{const Re=fc(ji,he);if(Re)return Cl(Re)})}function P9(he,Re,nt){switch(X()){case 115:case 121:case 87:case 160:case 135:return gC(he,Re,nt);case 100:return kb(he,Re,nt);case 86:return x4(he,Re,nt);case 120:return Ht(he,Re,nt);case 156:return Oi(he,Re,nt);case 94:return Jr(he,Re,nt);case 162:case 144:case 145:return Af(he,Re,nt);case 102:return P5(he,Re,nt);case 95:switch(ct(),X()){case 90:case 64:return mte(he,Re,nt);case 130:return h6(he,Re,nt);default:return xC(he,Re,nt)}default:if(nt){const Nt=dl(282,!0,F.Declaration_expected);return BP(Nt,he),Nt.modifiers=nt,Nt}return}}function M9(){return ct()===11}function z9(){return ct(),!u.hasPrecedingLineBreak()&&(wo()||X()===11)}function pC(he,Re){if(X()!==19){if(he&4){Eu();return}if(Lc()){cl();return}}return r6(he,Re)}function $f(){const he=de();if(X()===28)return Ri(k.createOmittedExpression(),he);const Re=Ho(26),nt=_u(),Nt=g4();return Ri(k.createBindingElement(Re,void 0,nt,Nt),he)}function x3(){const he=de(),Re=Ho(26),nt=as();let Nt=fn(),bi;nt&&X()!==59?(bi=Nt,Nt=void 0):(Fn(59),bi=_u());const en=g4();return Ri(k.createBindingElement(Re,Nt,bi,en),he)}function I9(){const he=de();Fn(19);const Re=Qe(()=>R1(9,x3));return Fn(20),Ri(k.createObjectBindingPattern(Re),he)}function R9(){const he=de();Fn(23);const Re=Qe(()=>R1(10,$f));return Fn(24),Ri(k.createArrayBindingPattern(Re),he)}function Ks(){return X()===19||X()===23||X()===81||as()}function _u(he){return X()===23?R9():X()===19?I9():sf(he)}function Dm(){return cf(!0)}function cf(he){const Re=de(),nt=je(),Nt=_u(F.Private_identifiers_are_not_allowed_in_variable_declarations);let bi;he&&Nt.kind===80&&X()===54&&!u.hasPrecedingLineBreak()&&(bi=Tc());const en=F5(),zu=tF(X())?void 0:g4(),Hr=Je(Nt,bi,en,zu);return Ln(Ri(Hr,Re),nt)}function yb(he){const Re=de();let nt=0;switch(X()){case 115:break;case 121:nt|=1;break;case 87:nt|=2;break;case 160:nt|=4;break;case 135:H.assert(o6()),nt|=6,ct();break;default:H.fail()}ct();let Nt;if(X()===165&&wn(Ww))Nt=Wf();else{const bi=mt();oa(he),Nt=R1(8,he?cf:Dm),oa(bi)}return Ri(ft(Nt,nt),Re)}function Ww(){return Oh()&&ct()===22}function gC(he,Re,nt){const Nt=yb(!1);cl();const bi=xe(nt,Nt);return Ln(Ri(bi,he),Re)}function kb(he,Re,nt){const Nt=$i(),bi=tE(nt);Fn(100);const en=Ho(42),zu=bi&2048?g_():sf(),Hr=en?1:0,Lr=bi&1024?2:0,gr=Xe();bi&32&&Ta(!0);const fa=bu(Hr|Lr),_0=bn(59,!1),qs=pC(Hr|Lr,F.or_expected);Ta(Nt);const Ws=k.createFunctionDeclaration(nt,en,zu,gr,fa,_0,qs);return Ln(Ri(Ws,he),Re)}function s6(){if(X()===137)return Fn(137);if(X()===11&&wn(ct)===21)return Ir(()=>{const he=ir();return he.text==="constructor"?he:void 0})}function Zm(he,Re,nt){return Ir(()=>{if(s6()){const Nt=Xe(),bi=bu(0),en=bn(59,!1),zu=pC(0,F.or_expected),Hr=k.createConstructorDeclaration(nt,bi,zu);return Hr.typeParameters=Nt,Hr.type=en,Ln(Ri(Hr,he),Re)}})}function sp(he,Re,nt,Nt,bi,en,zu,Hr){const Lr=Nt?1:0,gr=Oe(nt,VP)?2:0,fa=Xe(),_0=bu(Lr|gr),qs=bn(59,!1),Ws=pC(Lr|gr,Hr),v4=k.createMethodDeclaration(nt,Nt,bi,en,fa,_0,qs,Ws);return v4.exclamationToken=zu,Ln(Ri(v4,he),Re)}function l6(he,Re,nt,Nt,bi){const en=!bi&&!u.hasPrecedingLineBreak()?Ho(54):void 0,zu=F5(),Hr=Yo(90112,g4);wl(Nt,zu,Hr);const Lr=k.createPropertyDeclaration(nt,Nt,bi||en,zu,Hr);return Ln(Ri(Lr,he),Re)}function Up(he,Re,nt){const Nt=Ho(42),bi=fn(),en=Ho(58);return Nt||X()===21||X()===30?sp(he,Re,nt,Nt,bi,en,void 0,F.or_expected):l6(he,Re,nt,bi,en)}function lp(he,Re,nt,Nt,bi){const en=fn(),zu=Xe(),Hr=bu(0),Lr=bn(59,!1),gr=pC(bi),fa=Nt===177?k.createGetAccessorDeclaration(nt,en,Hr,Lr,gr):k.createSetAccessorDeclaration(nt,en,Hr,gr);return fa.typeParameters=zu,jf(fa)&&(fa.type=Lr),Ln(Ri(fa,he),Re)}function N5(){let he;if(X()===60)return!0;for(;XD(X());){if(he=X(),qse(he))return!0;ct()}if(X()===42||(tt()&&(he=X(),ct()),X()===23))return!0;if(he!==void 0){if(!uf(he)||he===153||he===139)return!0;switch(X()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return Lc()}}return!1}function Fb(he,Re,nt){Y0(126);const Nt=Pc(),bi=Ln(Ri(k.createClassStaticBlockDeclaration(Nt),he),Re);return bi.modifiers=nt,bi}function Pc(){const he=vi(),Re=$i();Da(!1),Ta(!0);const nt=fD(!1);return Da(he),Ta(Re),nt}function dz(){if($i()&&X()===135){const he=de(),Re=Q0(F.Expression_expected);ct();const nt=Ma(he,Re,!0);return ap(he,nt)}return g3()}function D4(){const he=de();if(!co(60))return;const Re=Pe(dz);return Ri(k.createDecorator(Re),he)}function Gw(he,Re,nt){const Nt=de(),bi=X();if(X()===87&&Re){if(!Ir(Nr))return}else{if(nt&&X()===126&&wn(vE))return;if(he&&X()===126)return;if(!nd())return}return Ri(Y(bi),Nt)}function j1(he,Re,nt){const Nt=de();let bi,en,zu,Hr=!1,Lr=!1,gr=!1;if(he&&X()===60)for(;en=D4();)bi=xi(bi,en);for(;zu=Gw(Hr,Re,nt);)zu.kind===126&&(Hr=!0),bi=xi(bi,zu),Lr=!0;if(Lr&&he&&X()===60)for(;en=D4();)bi=xi(bi,en),gr=!0;if(gr)for(;zu=Gw(Hr,Re,nt);)zu.kind===126&&(Hr=!0),bi=xi(bi,zu);return bi&&Ka(bi,Nt)}function EC(){let he;if(X()===134){const Re=de();ct();const nt=Ri(Y(134),Re);he=Ka([nt],Re)}return he}function Ab(){const he=de(),Re=je();if(X()===27)return ct(),Ln(Ri(k.createSemicolonClassElement(),he),Re);const nt=j1(!0,!0,!0);if(X()===126&&wn(vE))return Fb(he,Re,nt);if(Tu(139))return lp(he,Re,nt,177,0);if(Tu(153))return lp(he,Re,nt,178,0);if(X()===137||X()===11){const Nt=Zm(he,Re,nt);if(Nt)return Nt}if(p0())return Gf(he,Re,nt);if(fh(X())||X()===11||X()===9||X()===42||X()===23)if(Oe(nt,bb)){for(const bi of nt)bi.flags|=33554432;return bo(33554432,()=>Up(he,Re,nt))}else return Up(he,Re,nt);if(nt){const Nt=dl(80,!0,F.Declaration_expected);return l6(he,Re,nt,Nt,void 0)}return H.fail("Should not have attempted to parse class member declaration.")}function sF(){const he=de(),Re=je(),nt=j1(!0);if(X()===86)return Ol(he,Re,nt,231);const Nt=dl(282,!0,F.Expression_expected);return BP(Nt,he),Nt.modifiers=nt,Nt}function Jw(){return Ol(de(),je(),void 0,231)}function x4(he,Re,nt){return Ol(he,Re,nt,263)}function Ol(he,Re,nt,Nt){const bi=$i();Fn(86);const en=xE(),zu=Xe();Oe(nt,L7)&&Ta(!0);const Hr=v3();let Lr;Fn(19)?(Lr=be(),Fn(20)):Lr=Wf(),Ta(bi);const gr=Nt===263?k.createClassDeclaration(nt,en,zu,Hr,Lr):k.createClassExpression(nt,en,zu,Hr,Lr);return Ln(Ri(gr,he),Re)}function xE(){return as()&&!c6()?Ch(as()):void 0}function c6(){return X()===119&&wn(uh)}function v3(){if(R())return To(22,_C)}function _C(){const he=de(),Re=X();H.assert(Re===96||Re===119),ct();const nt=R1(7,$w);return Ri(k.createHeritageClause(Re,nt),he)}function $w(){const he=de(),Re=g3();if(Re.kind===233)return Re;const nt=d6();return Ri(k.createExpressionWithTypeArguments(Re,nt),he)}function d6(){return X()===30?Vh(20,jd,30,32):void 0}function R(){return X()===96||X()===119}function be(){return To(5,Ab)}function Ht(he,Re,nt){Fn(120);const Nt=Q0(),bi=Xe(),en=v3(),zu=$k(),Hr=k.createInterfaceDeclaration(nt,Nt,bi,en,zu);return Ln(Ri(Hr,he),Re)}function Oi(he,Re,nt){Fn(156),u.hasPrecedingLineBreak()&&Qi(F.Line_break_not_permitted_here);const Nt=Q0(),bi=Xe();Fn(64);const en=X()===141&&Ir(qk)||jd();cl();const zu=k.createTypeAliasDeclaration(nt,Nt,bi,en);return Ln(Ri(zu,he),Re)}function yu(){const he=de(),Re=je(),nt=fn(),Nt=Qe(g4);return Ln(Ri(k.createEnumMember(nt,Nt),he),Re)}function Jr(he,Re,nt){Fn(94);const Nt=Q0();let bi;Fn(19)?(bi=me(()=>R1(6,yu)),Fn(20)):bi=Wf();const en=k.createEnumDeclaration(nt,Nt,bi);return Ln(Ri(en,he),Re)}function br(){const he=de();let Re;return Fn(19)?(Re=To(1,qm),Fn(20)):Re=Wf(),Ri(k.createModuleBlock(Re),he)}function Ea(he,Re,nt,Nt){const bi=Nt&32,en=Nt&8?Cc():Q0(),zu=co(25)?Ea(de(),!1,void 0,8|bi):br(),Hr=k.createModuleDeclaration(nt,en,zu,Nt);return Ln(Ri(Hr,he),Re)}function Ao(he,Re,nt){let Nt=0,bi;X()===162?(bi=Q0(),Nt|=2048):(bi=ir(),bi.text=Uc(bi.text));let en;X()===19?en=br():cl();const zu=k.createModuleDeclaration(nt,bi,en,Nt);return Ln(Ri(zu,he),Re)}function Af(he,Re,nt){let Nt=0;if(X()===162)return Ao(he,Re,nt);if(co(145))Nt|=32;else if(Fn(144),X()===11)return Ao(he,Re,nt);return Ea(he,Re,nt,Nt)}function Uf(){return X()===149&&wn(Fr)}function Fr(){return ct()===21}function vE(){return ct()===19}function gn(){return ct()===44}function h6(he,Re,nt){Fn(130),Fn(145);const Nt=Q0();cl();const bi=k.createNamespaceExportDeclaration(Nt);return bi.modifiers=nt,Ln(Ri(bi,he),Re)}function P5(he,Re,nt){Fn(102);const Nt=u.getTokenFullStart();let bi;wo()&&(bi=Q0());let en=!1;if(X()!==161&&(bi==null?void 0:bi.escapedText)==="type"&&(wo()||O9())&&(en=!0,bi=wo()?Q0():void 0),bi&&!cF())return E_(he,Re,nt,bi,en);let zu;(bi||X()===42||X()===19)&&(zu=M5(bi,Nt,en),Fn(161));const Hr=j9(),Lr=X();let gr;(Lr===118||Lr===132)&&!u.hasPrecedingLineBreak()&&(gr=DC(Lr)),cl();const fa=k.createImportDeclaration(nt,zu,Hr,gr);return Ln(Ri(fa,he),Re)}function lF(){const he=de(),Re=fh(X())?Cc():Rl(11);Fn(59);const nt=bh(!0);return Ri(k.createImportAttribute(Re,nt),he)}function DC(he,Re){const nt=de();Re||Fn(he);const Nt=u.getTokenStart();if(Fn(19)){const bi=u.hasPrecedingLineBreak(),en=R1(24,lF,!0);if(!Fn(20)){const zu=qu(st);zu&&zu.code===F._0_expected.code&&Es(zu,hB(Ye,We,Nt,1,F.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return Ri(k.createImportAttributes(en,bi,he),nt)}else{const bi=Ka([],de(),void 0,!1);return Ri(k.createImportAttributes(bi,!1,he),nt)}}function O9(){return X()===42||X()===19}function cF(){return X()===28||X()===161}function E_(he,Re,nt,Nt,bi){Fn(64);const en=C3();cl();const zu=k.createImportEqualsDeclaration(nt,bi,Nt,en);return Ln(Ri(zu,he),Re)}function M5(he,Re,nt){let Nt;return(!he||co(28))&&(Nt=X()===42?ZK():hz(275)),Ri(k.createImportClause(nt,he,Nt),Re)}function C3(){return Uf()?Uw():Ee(!1)}function Uw(){const he=de();Fn(149),Fn(21);const Re=j9();return Fn(22),Ri(k.createExternalModuleReference(Re),he)}function j9(){if(X()===11){const he=ir();return he.text=Uc(he.text),he}else return i1()}function ZK(){const he=de();Fn(42),Fn(130);const Re=Q0();return Ri(k.createNamespaceImport(Re),he)}function hz(he){const Re=de(),nt=he===275?k.createNamedImports(Vh(23,pD,19,20)):k.createNamedExports(Vh(23,__,19,20));return Ri(nt,Re)}function __(){const he=je();return Ln(qw(281),he)}function pD(){return qw(276)}function qw(he){const Re=de();let nt=uf(X())&&!wo(),Nt=u.getTokenStart(),bi=u.getTokenEnd(),en=!1,zu,Hr=!0,Lr=Cc();if(Lr.escapedText==="type")if(X()===130){const _0=Cc();if(X()===130){const qs=Cc();fh(X())?(en=!0,zu=_0,Lr=fa(),Hr=!1):(zu=Lr,Lr=qs,Hr=!1)}else fh(X())?(zu=Lr,Hr=!1,Lr=fa()):(en=!0,Lr=_0)}else fh(X())&&(en=!0,Lr=fa());Hr&&X()===130&&(zu=Lr,Fn(130),Lr=fa()),he===276&&nt&&le(Nt,bi,F.Identifier_expected);const gr=he===276?k.createImportSpecifier(en,zu,Lr):k.createExportSpecifier(en,zu,Lr);return Ri(gr,Re);function fa(){return nt=uf(X())&&!wo(),Nt=u.getTokenStart(),bi=u.getTokenEnd(),Cc()}}function D_(he){return Ri(k.createNamespaceExport(Cc()),he)}function xC(he,Re,nt){const Nt=$i();Ta(!0);let bi,en,zu;const Hr=co(156),Lr=de();co(42)?(co(130)&&(bi=D_(Lr)),Fn(161),en=j9()):(bi=hz(279),(X()===161||X()===11&&!u.hasPrecedingLineBreak())&&(Fn(161),en=j9()));const gr=X();en&&(gr===118||gr===132)&&!u.hasPrecedingLineBreak()&&(zu=DC(gr)),cl(),Ta(Nt);const fa=k.createExportDeclaration(nt,Hr,bi,en,zu);return Ln(Ri(fa,he),Re)}function mte(he,Re,nt){const Nt=$i();Ta(!0);let bi;co(64)?bi=!0:Fn(90);const en=bh(!0);cl(),Ta(Nt);const zu=k.createExportAssignment(nt,bi,en);return Ln(Ri(zu,he),Re)}let CE;(he=>{he[he.SourceElements=0]="SourceElements",he[he.BlockStatements=1]="BlockStatements",he[he.SwitchClauses=2]="SwitchClauses",he[he.SwitchClauseStatements=3]="SwitchClauseStatements",he[he.TypeMembers=4]="TypeMembers",he[he.ClassMembers=5]="ClassMembers",he[he.EnumMembers=6]="EnumMembers",he[he.HeritageClauseElement=7]="HeritageClauseElement",he[he.VariableDeclarations=8]="VariableDeclarations",he[he.ObjectBindingElements=9]="ObjectBindingElements",he[he.ArrayBindingElements=10]="ArrayBindingElements",he[he.ArgumentExpressions=11]="ArgumentExpressions",he[he.ObjectLiteralMembers=12]="ObjectLiteralMembers",he[he.JsxAttributes=13]="JsxAttributes",he[he.JsxChildren=14]="JsxChildren",he[he.ArrayLiteralMembers=15]="ArrayLiteralMembers",he[he.Parameters=16]="Parameters",he[he.JSDocParameters=17]="JSDocParameters",he[he.RestProperties=18]="RestProperties",he[he.TypeParameters=19]="TypeParameters",he[he.TypeArguments=20]="TypeArguments",he[he.TupleElementTypes=21]="TupleElementTypes",he[he.HeritageClauses=22]="HeritageClauses",he[he.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",he[he.ImportAttributes=24]="ImportAttributes",he[he.JSDocComment=25]="JSDocComment",he[he.Count=26]="Count"})(CE||(CE={}));let dF;(he=>{he[he.False=0]="False",he[he.True=1]="True",he[he.Unknown=2]="Unknown"})(dF||(dF={}));let YK;(he=>{function Re(gr,fa,_0){yr("file.js",gr,99,void 0,1,0),u.setText(gr,fa,_0),ei=u.scan();const qs=nt(),Ws=Cn("file.js",99,1,!1,[],Y(1),0,Is),v4=v7(st,Ws);return St&&(Ws.jsDocDiagnostics=v7(St,Ws)),Ba(),qs?{jsDocTypeExpression:qs,diagnostics:v4}:void 0}he.parseJSDocTypeExpressionForTests=Re;function nt(gr){const fa=de(),_0=(gr?co:Fn)(19),qs=bo(16777216,bg);(!gr||_0)&&hd(20);const Ws=k.createJSDocTypeExpression(qs);return Dn(Ws),Ri(Ws,fa)}he.parseJSDocTypeExpression=nt;function Nt(){const gr=de(),fa=co(19),_0=de();let qs=Ee(!1);for(;X()===81;)pr(),Qt(),qs=Ri(k.createJSDocMemberName(qs,Q0()),_0);fa&&hd(20);const Ws=k.createJSDocNameReference(qs);return Dn(Ws),Ri(Ws,gr)}he.parseJSDocNameReference=Nt;function bi(gr,fa,_0){yr("",gr,99,void 0,1,0);const qs=bo(16777216,()=>Lr(fa,_0)),v4=v7(st,{languageVariant:0,text:gr});return Ba(),qs?{jsDoc:qs,diagnostics:v4}:void 0}he.parseIsolatedJSDocComment=bi;function en(gr,fa,_0){const qs=ei,Ws=st.length,v4=Pi,qp=bo(16777216,()=>Lr(fa,_0));return ks(qp,gr),Jn&524288&&(St||(St=[]),St.push(...st)),ei=qs,st.length=Ws,Pi=v4,qp}he.parseJSDocComment=en;let zu;(gr=>{gr[gr.BeginningOfLine=0]="BeginningOfLine",gr[gr.SawAsterisk=1]="SawAsterisk",gr[gr.SavingComments=2]="SavingComments",gr[gr.SavingBackticks=3]="SavingBackticks"})(zu||(zu={}));let Hr;(gr=>{gr[gr.Property=1]="Property",gr[gr.Parameter=2]="Parameter",gr[gr.CallbackParameter=4]="CallbackParameter"})(Hr||(Hr={}));function Lr(gr=0,fa){const _0=We,qs=fa===void 0?_0.length:gr+fa;if(fa=qs-gr,H.assert(gr>=0),H.assert(gr<=qs),H.assert(qs<=_0.length),!Jce(_0,gr))return;let Ws,v4,qp,f6,b3,Vd=[];const gD=[],fz=ji;ji|=1<<25;const Zw=u.scanRange(gr+3,fa-5,Yw);return ji=fz,Zw;function Yw(){let sn=1,Qu,Hu=gr-(_0.lastIndexOf(` `,gr)+1)+4;function Or(D0){Qu||(Qu=Hu),Vd.push(D0),Hu+=D0.length}for(Qt();Sb(5););Sb(4)&&(sn=0,Hu=0);e:for(;;){switch(X()){case 60:pte(Vd),b3||(b3=de()),gte(gz(Hu)),sn=0,Qu=void 0;break;case 4:Vd.push(u.getTokenText()),sn=0,Hu=0;break;case 42:const D0=u.getTokenText();sn===1?(sn=2,Or(D0)):(H.assert(sn===0),sn=1,Hu+=D0.length);break;case 5:H.assert(sn!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");const qc=u.getTokenText();Qu!==void 0&&Hu+qc.length>Qu&&Vd.push(qc.slice(Qu-Hu)),Hu+=qc.length;break;case 1:break e;case 82:sn=2,Or(u.getTokenValue());break;case 19:sn=2;const _D=u.getTokenFullStart(),v_=u.getTokenEnd()-1,Zc=Ms(v_);if(Zc){f6||mz(Vd),gD.push(Ri(k.createJSDocText(Vd.join("")),f6??gr,_D)),gD.push(Zc),Vd=[],f6=u.getTokenEnd();break}default:sn=2,Or(u.getTokenText());break}sn===2?Li(!1):Qt()}const Vr=Vd.join("").trimEnd();gD.length&&Vr.length&&gD.push(Ri(k.createJSDocText(Vr),f6??gr,b3)),gD.length&&Ws&&H.assertIsDefined(b3,"having parsed tags implies that the end of the comment span should be set");const Rs=Ws&&Ka(Ws,v4,qp);return Ri(k.createJSDocComment(gD.length?Ka(gD,gr,b3):Vr.length?Vr:void 0,Rs),gr,qs)}function mz(sn){for(;sn.length&&(sn[0]===` -`||sn[0]==="\r");)sn.shift()}function pte(sn){for(;sn.length;){const Qu=sn[sn.length-1].trimEnd();if(Qu==="")sn.pop();else if(Qu.lengthqc&&(Or.push(z5.slice(qc-sn)),D0=2),sn+=z5.length;break;case 19:D0=2;const QK=u.getTokenFullStart(),tT=u.getTokenEnd()-1,pF=Ms(tT);pF?(Vr.push(Ri(k.createJSDocText(Or.join("")),Rs??Hu,QK)),Vr.push(pF),Or=[],Rs=u.getTokenEnd()):_D(u.getTokenText());break;case 62:D0===3?D0=2:D0=3,_D(u.getTokenText());break;case 82:D0!==3&&(D0=2),_D(u.getTokenValue());break;case 42:if(D0===0){D0=1,sn+=1;break}default:D0!==3&&(D0=2),_D(u.getTokenText());break}D0===2||D0===3?v_=Li(D0===3):v_=Qt()}mz(Or);const Zc=Or.join("").trimEnd();if(Vr.length)return Zc.length&&Vr.push(Ri(k.createJSDocText(Zc),Rs??Hu)),Ka(Vr,Hu,u.getTokenEnd());if(Zc.length)return Zc}function Ms(sn){const Qu=Ir(Mc);if(!Qu)return;Qt(),Ym();const Hu=de();let Or=fh(X())?Ee(!0):void 0;if(Or)for(;X()===81;)pr(),Qt(),Or=Ri(k.createJSDocMemberName(Or,Q0()),Hu);const Vr=[];for(;X()!==20&&X()!==4&&X()!==1;)Vr.push(u.getTokenText()),Qt();const Rs=Qu==="link"?k.createJSDocLink:Qu==="linkcode"?k.createJSDocLinkCode:k.createJSDocLinkPlain;return Ri(Rs(Or,Vr.join("")),sn,u.getTokenEnd())}function Mc(){if(ED(),X()===19&&Qt()===60&&fh(Qt())){const sn=u.getTokenValue();if(m6(sn))return sn}}function m6(sn){return sn==="link"||sn==="linkcode"||sn==="linkplain"}function hF(sn,Qu,Hu,Or){return Ri(k.createJSDocUnknownTag(Qu,C4(sn,de(),Hu,Or)),sn)}function gte(sn){sn&&(Ws?Ws.push(sn):(Ws=[sn],v4=sn.pos),qp=sn.end)}function x_(){return ED(),X()===19?nt():void 0}function V9(){const sn=Sb(23);sn&&Ym();const Qu=Sb(62),Hu=_z();return Qu&&Ko(62),sn&&(Ym(),Ho(64)&&i1(),Fn(24)),{name:Hu,isBracketed:sn}}function N(sn){switch(sn.kind){case 151:return!0;case 188:return N(sn.elementType);default:return X4(sn)&&at(sn.typeName)&&sn.typeName.escapedText==="Object"&&!sn.typeArguments}}function W(sn,Qu,Hu,Or){let Vr=x_(),Rs=!Vr;ED();const{name:D0,isBracketed:qc}=V9(),_D=ED();Rs&&!wn(Mc)&&(Vr=x_());const v_=C4(sn,de(),Or,_D),Zc=ee(Vr,D0,Hu,Or);Zc&&(Vr=Zc,Rs=!0);const z5=Hu===1?k.createJSDocPropertyTag(Qu,D0,qc,Vr,Rs,v_):k.createJSDocParameterTag(Qu,D0,qc,Vr,Rs,v_);return Ri(z5,sn)}function ee(sn,Qu,Hu,Or){if(sn&&N(sn.type)){const Vr=de();let Rs,D0;for(;Rs=Ir(()=>Wn(Hu,Or,Qu));)Rs.kind===348||Rs.kind===355?D0=xi(D0,Rs):Rs.kind===352&&te(Rs.tagName,F.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(D0){const qc=Ri(k.createJSDocTypeLiteral(D0,sn.type.kind===188),Vr);return Ri(k.createJSDocTypeExpression(qc),Vr)}}}function ke(sn,Qu,Hu,Or){Oe(Ws,EY)&&le(Qu.pos,u.getTokenStart(),F._0_tag_already_specified,Yr(Qu.escapedText));const Vr=x_();return Ri(k.createJSDocReturnTag(Qu,Vr,C4(sn,de(),Hu,Or)),sn)}function dt(sn,Qu,Hu,Or){Oe(Ws,XP)&&le(Qu.pos,u.getTokenStart(),F._0_tag_already_specified,Yr(Qu.escapedText));const Vr=nt(!0),Rs=Hu!==void 0&&Or!==void 0?C4(sn,de(),Hu,Or):void 0;return Ri(k.createJSDocTypeTag(Qu,Vr,Rs),sn)}function Bi(sn,Qu,Hu,Or){const Rs=X()===23||wn(()=>Qt()===60&&fh(Qt())&&m6(u.getTokenValue()))?void 0:Nt(),D0=Hu!==void 0&&Or!==void 0?C4(sn,de(),Hu,Or):void 0;return Ri(k.createJSDocSeeTag(Qu,Rs,D0),sn)}function au(sn,Qu,Hu,Or){const Vr=x_(),Rs=C4(sn,de(),Hu,Or);return Ri(k.createJSDocThrowsTag(Qu,Vr,Rs),sn)}function za(sn,Qu,Hu,Or){const Vr=de(),Rs=i0();let D0=u.getTokenFullStart();const qc=C4(sn,D0,Hu,Or);qc||(D0=u.getTokenFullStart());const _D=typeof qc!="string"?Ka(Hi([Ri(Rs,Vr,D0)],qc),Vr):Rs.text+qc;return Ri(k.createJSDocAuthorTag(Qu,_D),sn)}function i0(){const sn=[];let Qu=!1,Hu=u.getToken();for(;Hu!==1&&Hu!==4;){if(Hu===30)Qu=!0;else{if(Hu===60&&!Qu)break;if(Hu===32&&Qu){sn.push(u.getTokenText()),u.resetTokenState(u.getTokenEnd());break}}sn.push(u.getTokenText()),Hu=Qt()}return k.createJSDocText(sn.join(""))}function Qm(sn,Qu,Hu,Or){const Vr=vC();return Ri(k.createJSDocImplementsTag(Qu,Vr,C4(sn,de(),Hu,Or)),sn)}function p6(sn,Qu,Hu,Or){const Vr=vC();return Ri(k.createJSDocAugmentsTag(Qu,Vr,C4(sn,de(),Hu,Or)),sn)}function g6(sn,Qu,Hu,Or){const Vr=nt(!1),Rs=Hu!==void 0&&Or!==void 0?C4(sn,de(),Hu,Or):void 0;return Ri(k.createJSDocSatisfiesTag(Qu,Vr,Rs),sn)}function vC(){const sn=co(19),Qu=de(),Hu=Dge();u.setInJSDocType(!0);const Or=d6();u.setInJSDocType(!1);const Vr=k.createExpressionWithTypeArguments(Hu,Or),Rs=Ri(Vr,Qu);return sn&&Fn(20),Rs}function Dge(){const sn=de();let Qu=Bb();for(;co(25);){const Hu=Bb();Qu=Ri(ge(Qu,Hu),sn)}return Qu}function fF(sn,Qu,Hu,Or,Vr){return Ri(Qu(Hu,C4(sn,de(),Or,Vr)),sn)}function Ez(sn,Qu,Hu,Or){const Vr=nt(!0);return Ym(),Ri(k.createJSDocThisTag(Qu,Vr,C4(sn,de(),Hu,Or)),sn)}function BNe(sn,Qu,Hu,Or){const Vr=nt(!0);return Ym(),Ri(k.createJSDocEnumTag(Qu,Vr,C4(sn,de(),Hu,Or)),sn)}function xge(sn,Qu,Hu,Or){let Vr=x_();ED();const Rs=Ete();Ym();let D0=Qw(Hu),qc;if(!Vr||N(Vr.type)){let v_,Zc,z5,QK=!1;for(;(v_=Ir(()=>mF(Hu)))&&v_.kind!==352;)if(QK=!0,v_.kind===351)if(Zc){const tT=Qi(F.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);tT&&Es(tT,hB(Ye,We,0,0,F.The_tag_was_first_specified_here));break}else Zc=v_;else z5=xi(z5,v_);if(QK){const tT=Vr&&Vr.type.kind===188,pF=k.createJSDocTypeLiteral(z5,tT);Vr=Zc&&Zc.typeExpression&&!N(Zc.typeExpression.type)?Zc.typeExpression:Ri(pF,sn),qc=Vr.end}}qc=qc||D0!==void 0?de():(Rs??Vr??Qu).end,D0||(D0=C4(sn,qc,Hu,Or));const _D=k.createJSDocTypedefTag(Qu,Vr,Rs,D0);return Ri(_D,sn,qc)}function Ete(sn){const Qu=u.getTokenStart();if(!fh(X()))return;const Hu=Bb();if(co(25)){const Or=Ete(!0),Vr=k.createModuleDeclaration(void 0,Hu,Or,sn?8:void 0);return Ri(Vr,Qu)}return sn&&(Hu.flags|=4096),Hu}function wNe(sn){const Qu=de();let Hu,Or;for(;Hu=Ir(()=>Wn(4,sn));){if(Hu.kind===352){te(Hu.tagName,F.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}Or=xi(Or,Hu)}return Ka(Or||[],Qu)}function vge(sn,Qu){const Hu=wNe(Qu),Or=Ir(()=>{if(Sb(60)){const Vr=gz(Qu);if(Vr&&Vr.kind===349)return Vr}});return Ri(k.createJSDocSignature(void 0,Hu,Or),sn)}function Xw(sn,Qu,Hu,Or){const Vr=Ete();Ym();let Rs=Qw(Hu);const D0=vge(sn,Hu);Rs||(Rs=C4(sn,de(),Hu,Or));const qc=Rs!==void 0?de():D0.end;return Ri(k.createJSDocCallbackTag(Qu,D0,Vr,Rs),sn,qc)}function Cge(sn,Qu,Hu,Or){Ym();let Vr=Qw(Hu);const Rs=vge(sn,Hu);Vr||(Vr=C4(sn,de(),Hu,Or));const D0=Vr!==void 0?de():Rs.end;return Ri(k.createJSDocOverloadTag(Qu,Rs,Vr),sn,D0)}function TNe(sn,Qu){for(;!at(sn)||!at(Qu);)if(!at(sn)&&!at(Qu)&&sn.right.escapedText===Qu.right.escapedText)sn=sn.left,Qu=Qu.left;else return!1;return sn.escapedText===Qu.escapedText}function mF(sn){return Wn(1,sn)}function Wn(sn,Qu,Hu){let Or=!0,Vr=!1;for(;;)switch(Qt()){case 60:if(Or){const Rs=E6(sn,Qu);return Rs&&(Rs.kind===348||Rs.kind===355)&&Hu&&(at(Rs.name)||!TNe(Hu,Rs.name.left))?!1:Rs}Vr=!1;break;case 4:Or=!0,Vr=!1;break;case 42:Vr&&(Or=!1),Vr=!0;break;case 80:Or=!1;break;case 1:return!1}}function E6(sn,Qu){H.assert(X()===60);const Hu=u.getTokenFullStart();Qt();const Or=Bb(),Vr=ED();let Rs;switch(Or.escapedText){case"type":return sn===1&&dt(Hu,Or);case"prop":case"property":Rs=1;break;case"arg":case"argument":case"param":Rs=6;break;case"template":return H9(Hu,Or,Qu,Vr);default:return!1}return sn&Rs?W(Hu,Or,sn,Qu):!1}function CC(){const sn=de(),Qu=Sb(23);Qu&&Ym();const Hu=Bb(F.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);let Or;if(Qu&&(Ym(),Fn(64),Or=bo(16777216,bg),Fn(24)),!Ql(Hu))return Ri(k.createTypeParameterDeclaration(void 0,Hu,void 0,Or),sn)}function eT(){const sn=de(),Qu=[];do{Ym();const Hu=CC();Hu!==void 0&&Qu.push(Hu),ED()}while(Sb(28));return Ka(Qu,sn)}function H9(sn,Qu,Hu,Or){const Vr=X()===19?nt():void 0,Rs=eT();return Ri(k.createJSDocTemplateTag(Qu,Vr,Rs,C4(sn,de(),Hu,Or)),sn)}function Sb(sn){return X()===sn?(Qt(),!0):!1}function _z(){let sn=Bb();for(co(23)&&Fn(24);co(25);){const Qu=Bb();co(23)&&Fn(24),sn=Bt(sn,Qu)}return sn}function Bb(sn){if(!fh(X()))return dl(80,!sn,sn||F.Identifier_expected);Ni++;const Qu=u.getTokenStart(),Hu=u.getTokenEnd(),Or=X(),Vr=Uc(u.getTokenValue()),Rs=Ri(J(Vr,Or),Qu,Hu);return Qt(),Rs}}})(YK=t.JSDocParser||(t.JSDocParser={}))})(Hv||(Hv={})),(t=>{function u(z,j,J,K){if(K=K||H.shouldAssert(2),k(z,j,J,K),N2e(J))return z;if(z.statements.length===0)return Hv.parseSourceFile(z.fileName,j,z.languageVersion,void 0,!0,z.scriptKind,z.setExternalModuleIndicator,z.jsDocParsingMode);const Y=z;H.assert(!Y.hasBeenIncrementallyParsed),Y.hasBeenIncrementallyParsed=!0,Hv.fixupParentReferences(Y);const oe=z.text,se=T(z),ge=b(z,J);k(z,j,ge,K),H.assert(ge.span.start<=J.span.start),H.assert(Ec(ge.span)===Ec(J.span)),H.assert(Ec(MN(ge))===Ec(MN(J)));const ae=MN(ge).length-ge.span.length;v(Y,ge.span.start,Ec(ge.span),Ec(MN(ge)),ae,oe,j,K);const Ce=Hv.parseSourceFile(z.fileName,j,z.languageVersion,se,!0,z.scriptKind,z.setExternalModuleIndicator,z.jsDocParsingMode);return Ce.commentDirectives=s(z.commentDirectives,Ce.commentDirectives,ge.span.start,Ec(ge.span),ae,oe,j,K),Ce.impliedNodeFormat=z.impliedNodeFormat,Ce}t.updateSourceFile=u;function s(z,j,J,K,Y,oe,se,ge){if(!z)return j;let ae,Ce=!1;for(const ve of z){const{range:Se,type:Ne}=ve;if(Se.endK){ne();const pe={range:{pos:Se.pos+Y,end:Se.end+Y},type:Ne};ae=xi(ae,pe),ge&&H.assert(oe.substring(Se.pos,Se.end)===se.substring(pe.range.pos,pe.range.end))}}return ne(),ae;function ne(){Ce||(Ce=!0,ae?j&&ae.push(...j):ae=j)}}function d(z,j,J,K,Y,oe){j?ge(z):se(z);return;function se(ae){let Ce="";if(oe&&f(ae)&&(Ce=K.substring(ae.pos,ae.end)),ae._children&&(ae._children=void 0),t_(ae,ae.pos+J,ae.end+J),oe&&f(ae)&&H.assert(Ce===Y.substring(ae.pos,ae.end)),ao(ae,se,ge),lm(ae))for(const ne of ae.jsDoc)se(ne);E(ae,oe)}function ge(ae){ae._children=void 0,t_(ae,ae.pos+J,ae.end+J);for(const Ce of ae)se(Ce)}}function f(z){switch(z.kind){case 11:case 9:case 80:return!0}return!1}function p(z,j,J,K,Y){H.assert(z.end>=j,"Adjusting an element that was entirely before the change range"),H.assert(z.pos<=J,"Adjusting an element that was entirely after the change range"),H.assert(z.pos<=z.end);const oe=Math.min(z.pos,K),se=z.end>=J?z.end+Y:Math.min(z.end,K);H.assert(oe<=se),z.parent&&(H.assertGreaterThanOrEqual(oe,z.parent.pos),H.assertLessThanOrEqual(se,z.parent.end)),t_(z,oe,se)}function E(z,j){if(j){let J=z.pos;const K=Y=>{H.assert(Y.pos>=J),J=Y.end};if(lm(z))for(const Y of z.jsDoc)K(Y);ao(z,K),H.assert(J<=z.end)}}function v(z,j,J,K,Y,oe,se,ge){ae(z);return;function ae(ne){if(H.assert(ne.pos<=ne.end),ne.pos>J){d(ne,!1,Y,oe,se,ge);return}const ve=ne.end;if(ve>=j){if(ne.intersectsChange=!0,ne._children=void 0,p(ne,j,J,K,Y),ao(ne,ae,Ce),lm(ne))for(const Se of ne.jsDoc)ae(Se);E(ne,ge);return}H.assert(veJ){d(ne,!0,Y,oe,se,ge);return}const ve=ne.end;if(ve>=j){ne.intersectsChange=!0,ne._children=void 0,p(ne,j,J,K,Y);for(const Se of ne)ae(Se);return}H.assert(ve0&&se<=1;se++){const ge=B(z,K);H.assert(ge.pos<=K);const ae=ge.pos;K=Math.max(0,ae-1)}const Y=Vc(K,Ec(j.span)),oe=j.newLength+(j.span.start-K);return OO(Y,oe)}function B(z,j){let J=z,K;if(ao(z,oe),K){const se=Y(K);se.pos>J.pos&&(J=se)}return J;function Y(se){for(;;){const ge=Ele(se);if(ge)se=ge;else return se}}function oe(se){if(!Ql(se))if(se.pos<=j){if(se.pos>=J.pos&&(J=se),jj),!0}}function k(z,j,J,K){const Y=z.text;if(J&&(H.assert(Y.length-J.span.length+J.newLength===j.length),K||H.shouldAssert(3))){const oe=Y.substr(0,J.span.start),se=j.substr(0,J.span.start);H.assert(oe===se);const ge=Y.substring(Ec(J.span),Y.length),ae=j.substring(Ec(MN(J)),j.length);H.assert(ge===ae)}}function T(z){let j=z.statements,J=0;H.assert(J=Ce.pos&&se=Ce.pos&&se{z[z.Value=-1]="Value"})(M||(M={}))})(Yce||(Yce={})),Qce=new Map,OQe=/^\/\/\/\s*<(\S+)\s.*?\/>/im,jQe=/^\/\/\/?\s*@([^\s:]+)(.*)\s*$/im}});function SY(t){const u=new Map,s=new Map;return L(t,d=>{u.set(d.name.toLowerCase(),d),d.shortName&&s.set(d.shortName,d.name)}),{optionsNameMap:u,shortOptionNames:s}}function jB(){return yXe||(yXe=SY(a3))}function GFe(t){return VQe(t,cc)}function VQe(t,u){const s=ga(t.type.keys()),d=(t.deprecatedKeys?s.filter(f=>!t.deprecatedKeys.has(f)):s).map(f=>`'${f}'`).join(", ");return u(F.Argument_for_0_option_must_be_Colon_1,`--${t.name}`,d)}function BY(t,u,s){return DXe(t,(u??"").trim(),s)}function JFe(t,u="",s){if(u=u.trim(),Pa(u,"-"))return;if(t.type==="listOrElement"&&!u.includes(","))return J7(t,u,s);if(u==="")return[];const d=u.split(",");switch(t.element.type){case"number":return qi(d,f=>J7(t.element,parseInt(f),s));case"string":return qi(d,f=>J7(t.element,f||"",s));case"boolean":case"object":return H.fail(`List of ${t.element.type} is not yet supported.`);default:return qi(d,f=>BY(t.element,f,s))}}function HQe(t){return t.name}function $Fe(t,u,s,d,f){var p;if((p=u.alternateMode)!=null&&p.getOptionsNameMap().optionsNameMap.has(t.toLowerCase()))return Kv(f,d,u.alternateMode.diagnostic,t);const E=bN(t,u.optionDeclarations,HQe);return E?Kv(f,d,u.unknownDidYouMeanDiagnostic,s||t,E.name):Kv(f,d,u.unknownOptionDiagnostic,s||t)}function Xce(t,u,s){const d={};let f;const p=[],E=[];return v(u),{options:d,watchOptions:f,fileNames:p,errors:E};function v(B){let k=0;for(;kc1.readFile(z)));if(!Ja(k)){E.push(k);return}const T=[];let M=0;for(;;){for(;M=k.length)break;const z=M;if(k.charCodeAt(z)===34){for(M++;M32;)M++;T.push(k.substring(z,M))}}v(T)}}function KQe(t,u,s,d,f,p){if(d.isTSConfigOnly){const E=t[u];E==="null"?(f[d.name]=void 0,u++):d.type==="boolean"?E==="false"?(f[d.name]=J7(d,!1,p),u++):(E==="true"&&u++,p.push(cc(F.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,d.name))):(p.push(cc(F.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,d.name)),E&&!Pa(E,"-")&&u++)}else if(!t[u]&&d.type!=="boolean"&&p.push(cc(s.optionTypeMismatchDiagnostic,d.name,nde(d))),t[u]!=="null")switch(d.type){case"number":f[d.name]=J7(d,parseInt(t[u]),p),u++;break;case"boolean":const E=t[u];f[d.name]=J7(d,E!=="false",p),(E==="false"||E==="true")&&u++;break;case"string":f[d.name]=J7(d,t[u]||"",p),u++;break;case"list":const v=JFe(d,t[u],p);f[d.name]=v||[],v&&u++;break;case"listOrElement":H.fail("listOrElement not supported here");break;default:f[d.name]=BY(d,t[u],p),u++;break}else f[d.name]=void 0,u++;return u}function WQe(t,u){return Xce(tH,t,u)}function ede(t,u){return UFe(jB,t,u)}function UFe(t,u,s=!1){u=u.toLowerCase();const{optionsNameMap:d,shortOptionNames:f}=t();if(s){const p=f.get(u);p!==void 0&&(u=p)}return d.get(u)}function GQe(){return FXe||(FXe=SY(MY))}function JQe(t){const{options:u,watchOptions:s,fileNames:d,errors:f}=Xce(SXe,t),p=u;return d.length===0&&d.push("."),p.clean&&p.force&&f.push(cc(F.Options_0_and_1_cannot_be_combined,"clean","force")),p.clean&&p.verbose&&f.push(cc(F.Options_0_and_1_cannot_be_combined,"clean","verbose")),p.clean&&p.watch&&f.push(cc(F.Options_0_and_1_cannot_be_combined,"clean","watch")),p.watch&&p.dry&&f.push(cc(F.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:p,watchOptions:s,projects:d,errors:f}}function $Qe(t,...u){return Po(cc(t,...u).messageText,Ja)}function GV(t,u,s,d,f,p){const E=rM(t,B=>s.readFile(B));if(!Ja(E)){s.onUnRecoverableConfigFileDiagnostic(E);return}const v=WV(t,E),b=s.getCurrentDirectory();return v.path=J0(t,b,L1(s.useCaseSensitiveFileNames)),v.resolvedPath=v.path,v.originalFileName=v.fileName,UV(v,s,$a(lr(t),b),u,$a(t,b),void 0,p,d,f)}function JV(t,u){const s=rM(t,u);return Ja(s)?tde(t,s):{config:{},error:s}}function tde(t,u){const s=WV(t,u);return{config:QQe(s,s.parseDiagnostics,void 0),error:s.parseDiagnostics.length?s.parseDiagnostics[0]:void 0}}function qFe(t,u){const s=rM(t,u);return Ja(s)?WV(t,s):{fileName:t,parseDiagnostics:[s]}}function rM(t,u){let s;try{s=u(t)}catch(d){return cc(F.Cannot_read_file_0_Colon_1,t,d.message)}return s===void 0?cc(F.Cannot_read_file_0,t):s}function ide(t){return lg(t,HQe)}function UQe(){return BXe||(BXe=SY(VB))}function qQe(){return wXe||(wXe=ide(a3))}function ZQe(){return TXe||(TXe=ide(VB))}function YQe(){return LXe||(LXe=ide(eH))}function DNt(){return lAe===void 0&&(lAe={name:void 0,type:"object",elementOptions:ide([aAe,oAe,sAe,iH,{name:"references",type:"list",element:{name:"references",type:"object"},category:F.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:F.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:F.File_Management,defaultValueDescription:F.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:F.File_Management,defaultValueDescription:F.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},ZV])}),lAe}function QQe(t,u,s){var d;const f=(d=t.statements[0])==null?void 0:d.expression;if(f&&f.kind!==210){if(u.push(K4(t,f,F.The_root_value_of_a_0_file_must_be_an_object,Ac(t.fileName)==="jsconfig.json"?"jsconfig.json":"tsconfig.json")),Dh(f)){const p=Le(f.elements,ys);if(p)return $V(t,p,u,!0,s)}return{}}return $V(t,f,u,!0,s)}function ZFe(t,u){var s;return $V(t,(s=t.statements[0])==null?void 0:s.expression,u,!0,void 0)}function $V(t,u,s,d,f){if(!u)return d?{}:void 0;return v(u,f==null?void 0:f.rootOptions);function p(B,k){var T;const M=d?{}:void 0;for(const z of B.properties){if(z.kind!==303){s.push(K4(t,z,F.Property_assignment_expected));continue}z.questionToken&&s.push(K4(t,z.questionToken,F.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),b(z.name)||s.push(K4(t,z.name,F.String_literal_with_double_quotes_expected));const j=oj(z.name)?void 0:V8(z.name),J=j&&Yr(j),K=J?(T=k==null?void 0:k.elementOptions)==null?void 0:T.get(J):void 0,Y=v(z.initializer,K);typeof J<"u"&&(d&&(M[J]=Y),f==null||f.onPropertySet(J,Y,z,k,K))}return M}function E(B,k){if(!d){B.forEach(T=>v(T,k));return}return ti(B.map(T=>v(T,k)),T=>T!==void 0)}function v(B,k){switch(B.kind){case 112:return!0;case 97:return!1;case 106:return null;case 11:return b(B)||s.push(K4(t,B,F.String_literal_with_double_quotes_expected)),B.text;case 9:return Number(B.text);case 224:if(B.operator!==41||B.operand.kind!==9)break;return-Number(B.operand.text);case 210:return p(B,k);case 209:return E(B.elements,k&&k.element)}k?s.push(K4(t,B,F.Compiler_option_0_requires_a_value_of_type_1,k.name,nde(k))):s.push(K4(t,B,F.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function b(B){return us(B)&&Cq(B,t)}}function nde(t){return t.type==="listOrElement"?`${nde(t.element)} or Array`:t.type==="list"?"Array":Ja(t.type)?t.type:"string"}function XQe(t,u){if(t){if(qV(u))return!t.disallowNullOrUndefined;if(t.type==="list")return Ha(u);if(t.type==="listOrElement")return Ha(u)||XQe(t.element,u);const s=Ja(t.type)?t.type:"string";return typeof u===s}return!1}function eXe(t,u,s){var d,f,p;const E=L1(s.useCaseSensitiveFileNames),v=Vt(ti(t.fileNames,(f=(d=t.options.configFile)==null?void 0:d.configFileSpecs)!=null&&f.validatedIncludeSpecs?vNt(u,t.options.configFile.configFileSpecs.validatedIncludeSpecs,t.options.configFile.configFileSpecs.validatedExcludeSpecs,s):J3),T=>SO($a(u,s.getCurrentDirectory()),$a(T,s.getCurrentDirectory()),E)),b=ade(t.options,{configFilePath:$a(u,s.getCurrentDirectory()),useCaseSensitiveFileNames:s.useCaseSensitiveFileNames}),B=t.watchOptions&&CNt(t.watchOptions);return{compilerOptions:{...ude(b),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:B&&ude(B),references:Vt(t.projectReferences,T=>({...T,path:T.originalPath?T.originalPath:"",originalPath:void 0})),files:S(v)?v:void 0,...(p=t.options.configFile)!=null&&p.configFileSpecs?{include:xNt(t.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:t.options.configFile.configFileSpecs.validatedExcludeSpecs}:{},compileOnSave:t.compileOnSave?!0:void 0}}function ude(t){return{...ga(t.entries()).reduce((u,s)=>({...u,[s[0]]:s[1]}),{})}}function xNt(t){if(S(t)){if(S(t)!==1)return t;if(t[0]!==RY)return t}}function vNt(t,u,s,d){if(!u)return J3;const f=aZ(t,s,u,d.useCaseSensitiveFileNames,d.getCurrentDirectory()),p=f.excludePattern&&jx(f.excludePattern,d.useCaseSensitiveFileNames),E=f.includeFilePattern&&jx(f.includeFilePattern,d.useCaseSensitiveFileNames);return E?p?v=>!(E.test(v)&&!p.test(v)):v=>!E.test(v):p?v=>p.test(v):J3}function tXe(t){switch(t.type){case"string":case"number":case"boolean":case"object":return;case"list":case"listOrElement":return tXe(t.element);default:return t.type}}function rde(t,u){return h1(u,(s,d)=>{if(s===t)return d})}function ade(t,u){return iXe(t,jB(),u)}function CNt(t){return iXe(t,UQe())}function iXe(t,{optionsNameMap:u},s){const d=new Map,f=s&&L1(s.useCaseSensitiveFileNames);for(const p in t)if(gu(t,p)){if(u.has(p)&&(u.get(p).category===F.Command_line_Options||u.get(p).category===F.Output_Formatting))continue;const E=t[p],v=u.get(p.toLowerCase());if(v){H.assert(v.type!=="listOrElement");const b=tXe(v);b?v.type==="list"?d.set(p,E.map(B=>rde(B,b))):d.set(p,rde(E,b)):s&&v.isFilePath?d.set(p,SO(s.configFilePath,$a(E,lr(s.configFilePath)),f)):d.set(p,E)}}return d}function nXe(t,u){const s=uXe(t);return f();function d(p){return Array(p+1).join(" ")}function f(){const p=[],E=d(2);return dde.forEach(v=>{if(!s.has(v.name))return;const b=s.get(v.name),B=iAe(v);b!==B?p.push(`${E}${v.name}: ${b}`):gu(zY,v.name)&&p.push(`${E}${v.name}: ${B}`)}),p.join(u)+u}}function uXe(t){const u=$$(t,zY);return ade(u)}function rXe(t,u,s){const d=uXe(t);return E();function f(v){return Array(v+1).join(" ")}function p({category:v,name:b,isCommandLineOnly:B}){const k=[F.Command_line_Options,F.Editor_Support,F.Compiler_Diagnostics,F.Backwards_Compatibility,F.Watch_and_Build_Modes,F.Output_Formatting];return!B&&v!==void 0&&(!k.includes(v)||d.has(b))}function E(){const v=new Map;v.set(F.Projects,[]),v.set(F.Language_and_Environment,[]),v.set(F.Modules,[]),v.set(F.JavaScript_Support,[]),v.set(F.Emit,[]),v.set(F.Interop_Constraints,[]),v.set(F.Type_Checking,[]),v.set(F.Completeness,[]);for(const z of a3)if(p(z)){let j=v.get(z.category);j||v.set(z.category,j=[]),j.push(z)}let b=0,B=0;const k=[];v.forEach((z,j)=>{k.length!==0&&k.push({value:""}),k.push({value:`/* ${to(j)} */`});for(const J of z){let K;d.has(J.name)?K=`"${J.name}": ${JSON.stringify(d.get(J.name))}${(B+=1)===d.size?"":","}`:K=`// "${J.name}": ${JSON.stringify(iAe(J))},`,k.push({value:K,description:`/* ${J.description&&to(J.description)||J.name} */`}),b=Math.max(K.length,b)}});const T=f(2),M=[];M.push("{"),M.push(`${T}"compilerOptions": {`),M.push(`${T}${T}/* ${to(F.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`),M.push("");for(const z of k){const{value:j,description:J=""}=z;M.push(j&&`${T}${T}${j}${J&&f(b-j.length+2)+J}`)}if(u.length){M.push(`${T}},`),M.push(`${T}"files": [`);for(let z=0;ztypeof Ae=="object","object"),Se=ge(ae("files"));if(Se){const Ae=ve==="no-prop"||Ha(ve)&&ve.length===0,De=gu(M,"extends");if(Se.length===0&&Ae&&!De)if(u){const Ke=E||"tsconfig.json",Je=F.The_files_list_in_config_file_0_is_empty,ft=hj(u,"files",Ve=>Ve.initializer),Ye=Kv(u,ft,Je,Ke);k.push(Ye)}else ne(F.The_files_list_in_config_file_0_is_empty,E||"tsconfig.json")}let Ne=ge(ae("include"));const pe=ae("exclude");let fe=!1,xe=ge(pe);if(pe==="no-prop"&&M.compilerOptions){const Ae=M.compilerOptions.outDir,De=M.compilerOptions.declarationDir;(Ae||De)&&(xe=[Ae,De].filter(Ke=>!!Ke))}Se===void 0&&Ne===void 0&&(Ne=[RY],fe=!0);let Be,Ge;return Ne&&(Be=bXe(Ne,k,!0,u,"include")),xe&&(Ge=bXe(xe,k,!1,u,"exclude")),{filesSpecs:Se,includeSpecs:Ne,excludeSpecs:xe,validatedFilesSpec:ti(Se,Ja),validatedIncludeSpecs:Be,validatedExcludeSpecs:Ge,pathPatterns:void 0,isDefaultIncludeSpec:fe}}function oe(ve){const Se=oM(J,ve,z,s,b);return cXe(Se,aM(M),v)&&k.push(lXe(J,E)),Se}function se(ve){let Se;const Ne=Ce("references",pe=>typeof pe=="object","object");if(Ha(Ne))for(const pe of Ne)typeof pe.path!="string"?ne(F.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(Se||(Se=[])).push({path:$a(pe.path,ve),originalPath:pe.path,prepend:pe.prepend,circular:pe.circular});return Se}function ge(ve){return Ha(ve)?ve:void 0}function ae(ve){return Ce(ve,Ja,"string")}function Ce(ve,Se,Ne){if(gu(M,ve)&&!qV(M[ve]))if(Ha(M[ve])){const pe=M[ve];return!u&&!ye(pe,Se)&&k.push(cc(F.Compiler_option_0_requires_a_value_of_type_1,ve,Ne)),pe}else return ne(F.Compiler_option_0_requires_a_value_of_type_1,ve,"Array"),"not-array";return"no-prop"}function ne(ve,...Se){u||k.push(cc(ve,...Se))}}function yNt(t){return t.code===F.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}function lXe({includeSpecs:t,excludeSpecs:u},s){return cc(F.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,s||"tsconfig.json",JSON.stringify(t||[]),JSON.stringify(u||[]))}function cXe(t,u,s){return t.length===0&&u&&(!s||s.length===0)}function aM(t){return!gu(t,"files")&&!gu(t,"references")}function wY(t,u,s,d,f){const p=d.length;return cXe(t,f)?d.push(lXe(s,u)):Uu(d,E=>!yNt(E)),p!==d.length}function kNt(t){return!!t.options}function dXe(t,u,s,d,f,p,E,v){var b;d=q1(d);const B=$a(f||"",d);if(p.includes(B))return E.push(cc(F.Circularity_detected_while_resolving_configuration_Colon_0,[...p,B].join(" -> "))),{raw:t||ZFe(u,E)};const k=t?FNt(t,s,d,f,E):ANt(u,s,d,f,E);if((b=k.options)!=null&&b.paths&&(k.options.pathsBasePath=d),k.extendedConfigPath){p=p.concat([B]);const M={options:{}};Ja(k.extendedConfigPath)?T(M,k.extendedConfigPath):k.extendedConfigPath.forEach(z=>T(M,z)),!k.raw.include&&M.include&&(k.raw.include=M.include),!k.raw.exclude&&M.exclude&&(k.raw.exclude=M.exclude),!k.raw.files&&M.files&&(k.raw.files=M.files),k.raw.compileOnSave===void 0&&M.compileOnSave&&(k.raw.compileOnSave=M.compileOnSave),u&&M.extendedSourceFiles&&(u.extendedSourceFiles=ga(M.extendedSourceFiles.keys())),k.options=VE(M.options,k.options),k.watchOptions=k.watchOptions&&M.watchOptions?VE(M.watchOptions,k.watchOptions):k.watchOptions||M.watchOptions}return k;function T(M,z){const j=SNt(u,z,s,p,E,v,M);if(j&&kNt(j)){const J=j.raw;let K;const Y=oe=>{J[oe]&&(M[oe]=Vt(J[oe],se=>Pf(se)?se:cr(K||(K=wN(lr(z),d,L1(s.useCaseSensitiveFileNames))),se)))};Y("include"),Y("exclude"),Y("files"),J.compileOnSave!==void 0&&(M.compileOnSave=J.compileOnSave),VE(M.options,j.options),M.watchOptions=M.watchOptions&&j.watchOptions?VE({},M.watchOptions,j.watchOptions):M.watchOptions||j.watchOptions}}}function FNt(t,u,s,d,f){gu(t,"excludes")&&f.push(cc(F.Unknown_option_excludes_Did_you_mean_exclude));const p=EXe(t.compilerOptions,s,f,d),E=_Xe(t.typeAcquisition,s,f,d),v=wNt(t.watchOptions,s,f);t.compileOnSave=BNt(t,s,f);const b=t.extends||t.extends===""?hXe(t.extends,u,s,d,f):void 0;return{raw:t,options:p,watchOptions:v,typeAcquisition:E,extendedConfigPath:b}}function hXe(t,u,s,d,f,p,E,v){let b;const B=d?oXe(d,s):s;if(Ja(t))b=fXe(t,u,B,f,E,v);else if(Ha(t)){b=[];for(let k=0;koe.name===z)&&(B=xi(B,J.name))))}}function fXe(t,u,s,d,f,p){if(t=q1(t),Pf(t)||Pa(t,"./")||Pa(t,"../")){let v=$a(t,s);if(!u.fileExists(v)&&!sc(v,".json")&&(v=`${v}.json`,!u.fileExists(v))){d.push(Kv(p,f,F.File_0_not_found,t));return}return v}const E=_Ae(t,cr(s,"tsconfig.json"),u);if(E.resolvedModule)return E.resolvedModule.resolvedFileName;t===""?d.push(Kv(p,f,F.Compiler_option_0_cannot_be_given_an_empty_string,"extends")):d.push(Kv(p,f,F.File_0_not_found,t))}function SNt(t,u,s,d,f,p,E){const v=s.useCaseSensitiveFileNames?u:$g(u);let b,B,k;if(p&&(b=p.get(v))?{extendedResult:B,extendedConfig:k}=b:(B=qFe(u,T=>s.readFile(T)),B.parseDiagnostics.length||(k=dXe(void 0,B,s,lr(u),Ac(u),d,f,p)),p&&p.set(v,{extendedResult:B,extendedConfig:k})),t&&((E.extendedSourceFiles??(E.extendedSourceFiles=new Set)).add(B.fileName),B.extendedSourceFiles))for(const T of B.extendedSourceFiles)E.extendedSourceFiles.add(T);if(B.parseDiagnostics.length){f.push(...B.parseDiagnostics);return}return k}function BNt(t,u,s){if(!gu(t,ZV.name))return!1;const d=Sk(ZV,t.compileOnSave,u,s);return typeof d=="boolean"&&d}function mXe(t,u,s){const d=[];return{options:EXe(t,u,d,s),errors:d}}function pXe(t,u,s){const d=[];return{options:_Xe(t,u,d,s),errors:d}}function gXe(t){return t&&Ac(t)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function EXe(t,u,s,d){const f=gXe(d);return YFe(qQe(),t,u,f,tH,s),d&&(f.configFilePath=q1(d)),f}function lde(t){return{enable:!!t&&Ac(t)==="jsconfig.json",include:[],exclude:[]}}function _Xe(t,u,s,d){const f=lde(d);return YFe(YQe(),t,u,f,rAe,s),f}function wNt(t,u,s){return YFe(ZQe(),t,u,void 0,IY,s)}function YFe(t,u,s,d,f,p){if(u){for(const E in u){const v=t.get(E);v?(d||(d={}))[v.name]=Sk(v,u[E],s,p):p.push($Fe(E,f))}return d}}function Kv(t,u,s,...d){return t&&u?K4(t,u,s,...d):cc(s,...d)}function Sk(t,u,s,d,f,p,E){if(t.isCommandLineOnly){d.push(Kv(E,f==null?void 0:f.name,F.Option_0_can_only_be_specified_on_command_line,t.name));return}if(XQe(t,u)){const v=t.type;if(v==="list"&&Ha(u))return xXe(t,u,s,d,f,p,E);if(v==="listOrElement")return Ha(u)?xXe(t,u,s,d,f,p,E):Sk(t.element,u,s,d,f,p,E);if(!Ja(t.type))return DXe(t,u,d,p,E);const b=J7(t,u,d,p,E);return qV(b)?b:TNt(t,s,b)}else d.push(Kv(E,p,F.Compiler_option_0_requires_a_value_of_type_1,t.name,nde(t)))}function TNt(t,u,s){return t.isFilePath&&(s=$a(s,u),s===""&&(s=".")),s}function J7(t,u,s,d,f){var p;if(qV(u))return;const E=(p=t.extraValidation)==null?void 0:p.call(t,u);if(!E)return u;s.push(Kv(f,d,...E))}function DXe(t,u,s,d,f){if(qV(u))return;const p=u.toLowerCase(),E=t.type.get(p);if(E!==void 0)return J7(t,E,s,d,f);s.push(VQe(t,(v,...b)=>Kv(f,d,v,...b)))}function xXe(t,u,s,d,f,p,E){return ti(Vt(u,(v,b)=>Sk(t.element,v,s,d,f,p==null?void 0:p.elements[b],E)),v=>t.listPreserveFalsyValues?!0:!!v)}function oM(t,u,s,d,f=_t){u=$o(u);const p=L1(d.useCaseSensitiveFileNames),E=new Map,v=new Map,b=new Map,{validatedFilesSpec:B,validatedIncludeSpecs:k,validatedExcludeSpecs:T}=t,M=kP(s,f),z=tV(s,M);if(B)for(const Y of B){const oe=$a(Y,u);E.set(p(oe),oe)}let j;if(k&&k.length>0)for(const Y of d.readDirectory(u,Va(z),T,k,void 0)){if(Ml(Y,".json")){if(!j){const ge=k.filter(Ce=>sc(Ce,".json")),ae=Vt(rZ(ge,u,"files"),Ce=>`^${Ce}$`);j=ae?ae.map(Ce=>jx(Ce,d.useCaseSensitiveFileNames)):_t}if(Ue(j,ge=>ge.test(Y))!==-1){const ge=p(Y);!E.has(ge)&&!b.has(ge)&&b.set(ge,Y)}continue}if(PNt(Y,E,v,M,p))continue;MNt(Y,v,M,p);const oe=p(Y);!E.has(oe)&&!v.has(oe)&&v.set(oe,Y)}const J=ga(E.values()),K=ga(v.values());return J.concat(K,ga(b.values()))}function QFe(t,u,s,d,f){const{validatedFilesSpec:p,validatedIncludeSpecs:E,validatedExcludeSpecs:v}=u;if(!S(E)||!S(v))return!1;s=$o(s);const b=L1(d);if(p){for(const B of p)if(b($a(B,s))===t)return!1}return CXe(t,v,d,f,s)}function vXe(t){const u=Pa(t,"**/")?0:t.indexOf("/**/");return u===-1?!1:(sc(t,"/..")?t.length:t.lastIndexOf("/../"))>u}function TY(t,u,s,d){return CXe(t,ti(u,f=>!vXe(f)),s,d)}function CXe(t,u,s,d,f){const p=yP(u,cr($o(d),f),"exclude"),E=p&&jx(p,s);return E?E.test(t)?!0:!t7(t)&&E.test(zd(t)):!1}function bXe(t,u,s,d,f){return t.filter(E=>{if(!Ja(E))return!1;const v=XFe(E,s);return v!==void 0&&u.push(p(...v)),v===void 0});function p(E,v){const b=cq(d,f,v);return Kv(d,b,E,v)}}function XFe(t,u){if(H.assert(typeof t=="string"),u&&NXe.test(t))return[F.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,t];if(vXe(t))return[F.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,t]}function LNt({validatedIncludeSpecs:t,validatedExcludeSpecs:u},s,d){const f=yP(u,s,"exclude"),p=f&&new RegExp(f,d?"":"i"),E={};if(t!==void 0){const v=[];for(const b of t){const B=$o(cr(s,b));if(p&&p.test(B))continue;const k=NNt(B,d);if(k){const{key:T,flags:M}=k,z=E[T];(z===void 0||zjc(t,E)?E:void 0);if(!p)return!1;for(const E of p){if(Ml(t,E)&&(E!==".ts"||!Ml(t,".d.ts")))return!1;const v=f(wv(t,E));if(u.has(v)||s.has(v)){if(E===".d.ts"&&(Ml(t,".js")||Ml(t,".jsx")))continue;return!0}}return!1}function MNt(t,u,s,d){const f=L(s,p=>jc(t,p)?p:void 0);if(f)for(let p=f.length-1;p>=0;p--){const E=f[p];if(Ml(t,E))return;const v=d(wv(t,E));u.delete(v)}}function eAe(t){const u={};for(const s in t)if(gu(t,s)){const d=ede(s);d!==void 0&&(u[s]=tAe(t[s],d))}return u}function tAe(t,u){if(t===void 0)return t;switch(u.type){case"object":return"";case"string":return"";case"number":return typeof t=="number"?t:"";case"boolean":return typeof t=="boolean"?t:"";case"listOrElement":if(!Ha(t))return tAe(t,u.element);case"list":const s=u.element;return Ha(t)?qi(t,d=>tAe(d,s)):"";default:return h1(u.type,(d,f)=>{if(d===t)return f})}}function iAe(t){switch(t.type){case"number":return 1;case"boolean":return!0;case"string":const u=t.defaultValueDescription;return t.isFilePath?`./${u&&typeof u=="string"?u:""}`:"";case"list":return[];case"listOrElement":return iAe(t.element);case"object":return{};default:const s=Hn(t.type.keys());return s!==void 0?s:H.fail("Expected 'option.type' to have entries.")}}var ZV,nAe,sM,uAe,YV,LY,VB,QV,XV,cde,dde,a3,hde,fde,mde,NY,PY,pde,gde,Ede,MY,eH,yXe,kXe,zY,tH,FXe,AXe,SXe,rAe,BXe,IY,wXe,TXe,LXe,iH,aAe,oAe,sAe,lAe,RY,NXe,PXe,zNt=o({"src/compiler/commandLineParser.ts"(){Bo(),ZV={name:"compileOnSave",type:"boolean",defaultValueDescription:!1},nAe=new Map(Object.entries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5})),sM=new Map(zr(nAe.entries(),([t,u])=>[""+u,t])),uAe=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["es2021","lib.es2021.d.ts"],["es2022","lib.es2022.d.ts"],["es2023","lib.es2023.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["webworker.iterable","lib.webworker.iterable.d.ts"],["scripthost","lib.scripthost.d.ts"],["es2015.core","lib.es2015.core.d.ts"],["es2015.collection","lib.es2015.collection.d.ts"],["es2015.generator","lib.es2015.generator.d.ts"],["es2015.iterable","lib.es2015.iterable.d.ts"],["es2015.promise","lib.es2015.promise.d.ts"],["es2015.proxy","lib.es2015.proxy.d.ts"],["es2015.reflect","lib.es2015.reflect.d.ts"],["es2015.symbol","lib.es2015.symbol.d.ts"],["es2015.symbol.wellknown","lib.es2015.symbol.wellknown.d.ts"],["es2016.array.include","lib.es2016.array.include.d.ts"],["es2017.date","lib.es2017.date.d.ts"],["es2017.object","lib.es2017.object.d.ts"],["es2017.sharedmemory","lib.es2017.sharedmemory.d.ts"],["es2017.string","lib.es2017.string.d.ts"],["es2017.intl","lib.es2017.intl.d.ts"],["es2017.typedarrays","lib.es2017.typedarrays.d.ts"],["es2018.asyncgenerator","lib.es2018.asyncgenerator.d.ts"],["es2018.asynciterable","lib.es2018.asynciterable.d.ts"],["es2018.intl","lib.es2018.intl.d.ts"],["es2018.promise","lib.es2018.promise.d.ts"],["es2018.regexp","lib.es2018.regexp.d.ts"],["es2019.array","lib.es2019.array.d.ts"],["es2019.object","lib.es2019.object.d.ts"],["es2019.string","lib.es2019.string.d.ts"],["es2019.symbol","lib.es2019.symbol.d.ts"],["es2019.intl","lib.es2019.intl.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.date","lib.es2020.date.d.ts"],["es2020.promise","lib.es2020.promise.d.ts"],["es2020.sharedmemory","lib.es2020.sharedmemory.d.ts"],["es2020.string","lib.es2020.string.d.ts"],["es2020.symbol.wellknown","lib.es2020.symbol.wellknown.d.ts"],["es2020.intl","lib.es2020.intl.d.ts"],["es2020.number","lib.es2020.number.d.ts"],["es2021.promise","lib.es2021.promise.d.ts"],["es2021.string","lib.es2021.string.d.ts"],["es2021.weakref","lib.es2021.weakref.d.ts"],["es2021.intl","lib.es2021.intl.d.ts"],["es2022.array","lib.es2022.array.d.ts"],["es2022.error","lib.es2022.error.d.ts"],["es2022.intl","lib.es2022.intl.d.ts"],["es2022.object","lib.es2022.object.d.ts"],["es2022.sharedmemory","lib.es2022.sharedmemory.d.ts"],["es2022.string","lib.es2022.string.d.ts"],["es2022.regexp","lib.es2022.regexp.d.ts"],["es2023.array","lib.es2023.array.d.ts"],["es2023.collection","lib.es2023.collection.d.ts"],["esnext.array","lib.es2023.array.d.ts"],["esnext.collection","lib.es2023.collection.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.disposable","lib.esnext.disposable.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.es2022.string.d.ts"],["esnext.promise","lib.es2021.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"],["esnext.decorators","lib.esnext.decorators.d.ts"],["decorators","lib.decorators.d.ts"],["decorators.legacy","lib.decorators.legacy.d.ts"]],YV=uAe.map(t=>t[0]),LY=new Map(uAe),VB=[{name:"watchFile",type:new Map(Object.entries({fixedpollinginterval:0,prioritypollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3,usefsevents:4,usefseventsonparentdirectory:5})),category:F.Watch_and_Build_Modes,description:F.Specify_how_the_TypeScript_watch_mode_works,defaultValueDescription:4},{name:"watchDirectory",type:new Map(Object.entries({usefsevents:0,fixedpollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3})),category:F.Watch_and_Build_Modes,description:F.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,defaultValueDescription:0},{name:"fallbackPolling",type:new Map(Object.entries({fixedinterval:0,priorityinterval:1,dynamicpriority:2,fixedchunksize:3})),category:F.Watch_and_Build_Modes,description:F.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:1},{name:"synchronousWatchDirectory",type:"boolean",category:F.Watch_and_Build_Modes,description:F.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,defaultValueDescription:!1},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:!0,extraValidation:XFe},category:F.Watch_and_Build_Modes,description:F.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:XFe},category:F.Watch_and_Build_Modes,description:F.Remove_a_list_of_files_from_the_watch_mode_s_processing}],QV=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:F.Command_line_Options,description:F.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",isCommandLineOnly:!0,category:F.Command_line_Options,defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:F.Command_line_Options,description:F.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:F.Output_Formatting,description:F.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:F.Compiler_Diagnostics,description:F.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:F.Compiler_Diagnostics,description:F.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:F.Compiler_Diagnostics,description:F.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:F.Output_Formatting,description:F.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:F.Compiler_Diagnostics,description:F.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:F.Compiler_Diagnostics,description:F.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:F.Compiler_Diagnostics,description:F.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:F.FILE_OR_DIRECTORY,category:F.Compiler_Diagnostics,description:F.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,isCommandLineOnly:!0,paramType:F.DIRECTORY,category:F.Compiler_Diagnostics,description:F.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:F.Projects,description:F.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,transpileOptionValue:void 0,defaultValueDescription:F.false_unless_composite_is_set},{name:"declaration",shortName:"d",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,transpileOptionValue:void 0,description:F.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:F.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,transpileOptionValue:void 0,defaultValueDescription:!1,description:F.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,description:F.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,defaultValueDescription:!1,description:F.Create_source_map_files_for_emitted_JavaScript_files},{name:"inlineSourceMap",type:"boolean",affectsBuildInfo:!0,category:F.Emit,description:F.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:F.Watch_and_Build_Modes,description:F.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,defaultValueDescription:!1},{name:"locale",type:"string",category:F.Command_line_Options,isCommandLineOnly:!0,description:F.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:F.Platform_specific}],XV={name:"target",shortName:"t",type:new Map(Object.entries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,es2022:9,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:F.VERSION,showInSimplifiedHelpView:!0,category:F.Language_and_Environment,description:F.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:1},cde={name:"module",shortName:"m",type:new Map(Object.entries({none:0,commonjs:1,amd:2,system:4,umd:3,es6:5,es2015:5,es2020:6,es2022:7,esnext:99,node16:100,nodenext:199})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:F.KIND,showInSimplifiedHelpView:!0,category:F.Modules,description:F.Specify_what_module_code_is_generated,defaultValueDescription:void 0},dde=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Print_the_compiler_s_version,defaultValueDescription:!1},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:!1},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:F.Command_line_Options,paramType:F.FILE_OR_DIRECTORY,description:F.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:!1},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,isCommandLineOnly:!0,description:F.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{name:"listFilesOnly",type:"boolean",category:F.Command_line_Options,isCommandLineOnly:!0,description:F.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:!1},XV,cde,{name:"lib",type:"list",element:{name:"lib",type:LY,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:F.Language_and_Environment,description:F.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",allowJsFlag:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.JavaScript_Support,description:F.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:!1},{name:"checkJs",type:"boolean",affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.JavaScript_Support,description:F.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:nAe,affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,paramType:F.KIND,showInSimplifiedHelpView:!0,category:F.Language_and_Environment,description:F.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"outFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.FILE,showInSimplifiedHelpView:!0,category:F.Emit,description:F.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.DIRECTORY,showInSimplifiedHelpView:!0,category:F.Emit,description:F.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.LOCATION,category:F.Modules,description:F.Specify_the_root_folder_within_your_source_files,defaultValueDescription:F.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsBuildInfo:!0,isTSConfigOnly:!0,category:F.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:F.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,isFilePath:!0,paramType:F.FILE,category:F.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:F.Specify_the_path_to_tsbuildinfo_incremental_compilation_file},{name:"removeComments",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,defaultValueDescription:!1,description:F.Disable_emitting_comments},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:F.Emit,description:F.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"importHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:!1},{name:"importsNotUsedAsValues",type:new Map(Object.entries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:F.Interop_Constraints,description:F.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:!1},{name:"verbatimModuleSyntax",type:"boolean",category:F.Interop_Constraints,description:F.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting,defaultValueDescription:!1},{name:"strict",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Type_Checking,description:F.Enable_all_strict_type_checking_options,defaultValueDescription:!1},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:F.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:F.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Default_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:F.false_unless_strict_is_set},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Ensure_use_strict_is_always_emitted,defaultValueDescription:F.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Enable_error_reporting_when_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:!1},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Add_undefined_to_a_type_when_accessed_using_an_index,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,defaultValueDescription:!1},{name:"noPropertyAccessFromIndexSignature",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!1,category:F.Type_Checking,description:F.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:!1},{name:"moduleResolution",type:new Map(Object.entries({node10:2,node:2,classic:1,node16:3,nodenext:99,bundler:100})),deprecatedKeys:new Set(["node"]),affectsSourceFile:!0,affectsModuleResolution:!0,paramType:F.STRATEGY,category:F.Modules,description:F.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:F.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:F.Modules,description:F.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:F.Modules,description:F.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:F.Modules,description:F.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:F.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:F.Modules,description:F.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:F.Modules,description:F.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Interop_Constraints,description:F.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:F.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Interop_Constraints,description:F.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!1},{name:"preserveSymlinks",type:"boolean",category:F.Interop_Constraints,description:F.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:!1},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Modules,description:F.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"moduleSuffixes",type:"list",element:{name:"suffix",type:"string"},listPreserveFalsyValues:!0,affectsModuleResolution:!0,category:F.Modules,description:F.List_of_file_name_suffixes_to_search_when_resolving_a_module},{name:"allowImportingTsExtensions",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Modules,description:F.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,defaultValueDescription:!1,transpileOptionValue:void 0},{name:"resolvePackageJsonExports",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Use_the_package_json_exports_field_when_resolving_package_imports,defaultValueDescription:F.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"resolvePackageJsonImports",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Use_the_package_json_imports_field_when_resolving_imports,defaultValueDescription:F.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"customConditions",type:"list",element:{name:"condition",type:"string"},affectsModuleResolution:!0,category:F.Modules,description:F.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports},{name:"sourceRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:F.LOCATION,category:F.Emit,description:F.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:F.LOCATION,category:F.Emit,description:F.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSources",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Enable_experimental_support_for_legacy_experimental_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:F.Language_and_Environment,description:F.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,defaultValueDescription:"`React.createElement`"},{name:"jsxFragmentFactory",type:"string",category:F.Language_and_Environment,description:F.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment,defaultValueDescription:"React.Fragment"},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,category:F.Language_and_Environment,description:F.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,defaultValueDescription:"react"},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Enable_importing_json_files,defaultValueDescription:!1},{name:"allowArbitraryExtensions",type:"boolean",affectsProgramStructure:!0,category:F.Modules,description:F.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present,defaultValueDescription:!1},{name:"out",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!1,category:F.Backwards_Compatibility,paramType:F.FILE,transpileOptionValue:void 0,description:F.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",affectsBuildInfo:!0,category:F.Completeness,description:F.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:F.Backwards_Compatibility,description:F.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:"utf8"},{name:"emitBOM",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:!1},{name:"newLine",type:new Map(Object.entries({crlf:0,lf:1})),affectsEmit:!0,affectsBuildInfo:!0,paramType:F.NEWLINE,category:F.Emit,description:F.Set_the_newline_character_for_emitting_files,defaultValueDescription:"lf"},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Output_Formatting,description:F.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:F.Language_and_Environment,affectsProgramStructure:!0,description:F.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:!0,defaultValueDescription:!1},{name:"stripInternal",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:F.Editor_Support,description:F.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:!1},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:F.Projects,description:F.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:F.Projects,description:F.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:F.Projects,description:F.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,transpileOptionValue:void 0,description:F.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.DIRECTORY,category:F.Emit,transpileOptionValue:void 0,description:F.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",affectsBuildInfo:!0,category:F.Completeness,description:F.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:F.Interop_Constraints,description:F.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!0},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:F.JavaScript_Support,description:F.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,defaultValueDescription:0},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:F.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:F.Backwards_Compatibility,description:F.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:!1},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:F.Specify_a_list_of_language_service_plugins_to_include,category:F.Editor_Support},{name:"moduleDetection",type:new Map(Object.entries({auto:2,legacy:1,force:3})),affectsSourceFile:!0,affectsModuleResolution:!0,description:F.Control_what_method_is_used_to_detect_module_format_JS_files,category:F.Language_and_Environment,defaultValueDescription:F.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules},{name:"ignoreDeprecations",type:"string",defaultValueDescription:void 0}],a3=[...QV,...dde],hde=a3.filter(t=>!!t.affectsSemanticDiagnostics),fde=a3.filter(t=>!!t.affectsEmit),mde=a3.filter(t=>!!t.affectsDeclarationPath),NY=a3.filter(t=>!!t.affectsModuleResolution),PY=a3.filter(t=>!!t.affectsSourceFile||!!t.affectsBindDiagnostics),pde=a3.filter(t=>!!t.affectsProgramStructure),gde=a3.filter(t=>gu(t,"transpileOptionValue")),Ede=[{name:"verbose",shortName:"v",category:F.Command_line_Options,description:F.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{name:"dry",shortName:"d",category:F.Command_line_Options,description:F.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean",defaultValueDescription:!1},{name:"force",shortName:"f",category:F.Command_line_Options,description:F.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean",defaultValueDescription:!1},{name:"clean",category:F.Command_line_Options,description:F.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1}],MY=[...QV,...Ede],eH=[{name:"enable",type:"boolean",defaultValueDescription:!1},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean",defaultValueDescription:!1}],kXe={diagnostic:F.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:GQe},zY={module:1,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},tH={alternateMode:kXe,getOptionsNameMap:jB,optionDeclarations:a3,unknownOptionDiagnostic:F.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:F.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:F.Compiler_option_0_expects_an_argument},AXe={diagnostic:F.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:jB},SXe={alternateMode:AXe,getOptionsNameMap:GQe,optionDeclarations:MY,unknownOptionDiagnostic:F.Unknown_build_option_0,unknownDidYouMeanDiagnostic:F.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:F.Build_option_0_requires_a_value_of_type_1},rAe={optionDeclarations:eH,unknownOptionDiagnostic:F.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:F.Unknown_type_acquisition_option_0_Did_you_mean_1},IY={getOptionsNameMap:UQe,optionDeclarations:VB,unknownOptionDiagnostic:F.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:F.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:F.Watch_option_0_requires_a_value_of_type_1},iH={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:F.File_Management,disallowNullOrUndefined:!0},aAe={name:"compilerOptions",type:"object",elementOptions:qQe(),extraKeyDiagnostics:tH},oAe={name:"watchOptions",type:"object",elementOptions:ZQe(),extraKeyDiagnostics:IY},sAe={name:"typeAcquisition",type:"object",elementOptions:YQe(),extraKeyDiagnostics:rAe},RY="**/*",NXe=/(^|\/)\*\*\/?$/,PXe=/^[^*?]*(?=\/[^/]*[*?])/}});function Sa(t,u,...s){t.trace(Dle(u,...s))}function aD(t,u){return!!t.traceResolution&&u.trace!==void 0}function $7(t,u){let s;if(u&&t){const d=t.contents.packageJsonContent;typeof d.name=="string"&&typeof d.version=="string"&&(s={name:d.name,subModuleName:u.path.slice(t.packageDirectory.length+rl.length),version:d.version})}return u&&{path:u.path,extension:u.ext,packageId:s,resolvedUsingTsExtension:u.resolvedUsingTsExtension}}function _de(t){return $7(void 0,t)}function MXe(t){if(t)return H.assert(t.packageId===void 0),{path:t.path,ext:t.extension,resolvedUsingTsExtension:t.resolvedUsingTsExtension}}function OY(t){const u=[];return t&1&&u.push("TypeScript"),t&2&&u.push("JavaScript"),t&4&&u.push("Declaration"),t&8&&u.push("JSON"),u.join(", ")}function INt(t){const u=[];return t&1&&u.push(...hV),t&2&&u.push(..._B),t&4&&u.push(...dV),t&8&&u.push(".json"),u}function cAe(t){if(t)return H.assert(cZ(t.extension)),{fileName:t.path,packageId:t.packageId}}function zXe(t,u,s,d,f,p,E,v,b){if(!E.resultFromCache&&!E.compilerOptions.preserveSymlinks&&u&&s&&!u.originalPath&&!Id(t)){const{resolvedFileName:B,originalPath:k}=OXe(u.path,E.host,E.traceEnabled);k&&(u={...u,path:B,originalPath:k})}return IXe(u,s,d,f,p,E.resultFromCache,v,b)}function IXe(t,u,s,d,f,p,E,v){return p?E!=null&&E.isReadonly?{...p,failedLookupLocations:dAe(p.failedLookupLocations,s),affectingLocations:dAe(p.affectingLocations,d),resolutionDiagnostics:dAe(p.resolutionDiagnostics,f)}:(p.failedLookupLocations=HB(p.failedLookupLocations,s),p.affectingLocations=HB(p.affectingLocations,d),p.resolutionDiagnostics=HB(p.resolutionDiagnostics,f),p):{resolvedModule:t&&{resolvedFileName:t.path,originalPath:t.originalPath===!0?void 0:t.originalPath,extension:t.extension,isExternalLibraryImport:u,packageId:t.packageId,resolvedUsingTsExtension:!!t.resolvedUsingTsExtension},failedLookupLocations:lM(s),affectingLocations:lM(d),resolutionDiagnostics:lM(f),node10Result:v}}function lM(t){return t.length?t:void 0}function HB(t,u){return u!=null&&u.length?t!=null&&t.length?(t.push(...u),t):u:t}function dAe(t,u){return t!=null&&t.length?u.length?[...t,...u]:t.slice():lM(u)}function RXe(t,u,s,d){if(!gu(t,u)){d.traceEnabled&&Sa(d.host,F.package_json_does_not_have_a_0_field,u);return}const f=t[u];if(typeof f!==s||f===null){d.traceEnabled&&Sa(d.host,F.Expected_type_of_0_field_in_package_json_to_be_1_got_2,u,s,f===null?"null":typeof f);return}return f}function Dde(t,u,s,d){const f=RXe(t,u,"string",d);if(f===void 0)return;if(!f){d.traceEnabled&&Sa(d.host,F.package_json_had_a_falsy_0_field,u);return}const p=$o(cr(s,f));return d.traceEnabled&&Sa(d.host,F.package_json_has_0_field_1_that_references_2,u,f,p),p}function RNt(t,u,s){return Dde(t,"typings",u,s)||Dde(t,"types",u,s)}function ONt(t,u,s){return Dde(t,"tsconfig",u,s)}function jNt(t,u,s){return Dde(t,"main",u,s)}function VNt(t,u){const s=RXe(t,"typesVersions","object",u);if(s!==void 0)return u.traceEnabled&&Sa(u.host,F.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),s}function HNt(t,u){const s=VNt(t,u);if(s===void 0)return;if(u.traceEnabled)for(const E in s)gu(s,E)&&!EO.tryParse(E)&&Sa(u.host,F.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,E);const d=jY(s);if(!d){u.traceEnabled&&Sa(u.host,F.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,g);return}const{version:f,paths:p}=d;if(typeof p!="object"){u.traceEnabled&&Sa(u.host,F.Expected_type_of_0_field_in_package_json_to_be_1_got_2,`typesVersions['${f}']`,"object",typeof p);return}return d}function jY(t){FAe||(FAe=new Lp(_));for(const u in t){if(!gu(t,u))continue;const s=EO.tryParse(u);if(s!==void 0&&s.test(FAe))return{version:u,paths:t[u]}}}function cM(t,u){if(t.typeRoots)return t.typeRoots;let s;if(t.configFilePath?s=lr(t.configFilePath):u.getCurrentDirectory&&(s=u.getCurrentDirectory()),s!==void 0)return KNt(s)}function KNt(t){let u;return Ug($o(t),s=>{const d=cr(s,aet);(u??(u=[])).push(d)}),u}function WNt(t,u,s){const d=typeof s.useCaseSensitiveFileNames=="function"?s.useCaseSensitiveFileNames():s.useCaseSensitiveFileNames;return pv(t,u,!d)===0}function OXe(t,u,s){const d=iPt(t,u,s),f=WNt(t,d,u);return{resolvedFileName:f?t:d,originalPath:f?void 0:t}}function jXe(t,u,s){const d=sc(t,"/node_modules/@types")||sc(t,"/node_modules/@types/")?net(u,s):u;return cr(t,d)}function hAe(t,u,s,d,f,p,E){H.assert(typeof t=="string","Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.");const v=aD(s,d);f&&(s=f.commandLine.options);const b=u?lr(u):void 0;let B=b?p==null?void 0:p.getFromDirectoryCache(t,E,b,f):void 0;if(!B&&b&&!Id(t)&&(B=p==null?void 0:p.getFromNonRelativeNameCache(t,E,b,f)),B)return v&&(Sa(d,F.Resolving_type_reference_directive_0_containing_file_1,t,u),f&&Sa(d,F.Using_compiler_options_of_project_reference_redirect_0,f.sourceFile.fileName),Sa(d,F.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,t,b),ae(B)),B;const k=cM(s,d);v&&(u===void 0?k===void 0?Sa(d,F.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,t):Sa(d,F.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,t,k):k===void 0?Sa(d,F.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,t,u):Sa(d,F.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,t,u,k),f&&Sa(d,F.Using_compiler_options_of_project_reference_redirect_0,f.sourceFile.fileName));const T=[],M=[];let z=fAe(s);E!==void 0&&(z|=30);const j=p1(s);E===99&&3<=j&&j<=99&&(z|=32);const J=z&8?$2(s,E):[],K=[],Y={compilerOptions:s,host:d,traceEnabled:v,failedLookupLocations:T,affectingLocations:M,packageJsonInfoCache:p,features:z,conditions:J,requestContainingDirectory:b,reportDiagnostic:ve=>void K.push(ve),isConfigLookup:!1,candidateIsFromPackageJsonField:!1};let oe=Ce(),se=!0;oe||(oe=ne(),se=!1);let ge;if(oe){const{fileName:ve,packageId:Se}=oe;let Ne=ve,pe;s.preserveSymlinks||({resolvedFileName:Ne,originalPath:pe}=OXe(ve,d,v)),ge={primary:se,resolvedFileName:Ne,originalPath:pe,packageId:Se,isExternalLibraryImport:q7(ve)}}return B={resolvedTypeReferenceDirective:ge,failedLookupLocations:lM(T),affectingLocations:lM(M),resolutionDiagnostics:lM(K)},b&&p&&!p.isReadonly&&(p.getOrCreateCacheForDirectory(b,f).set(t,E,B),Id(t)||p.getOrCreateCacheForNonRelativeName(t,E,f).set(b,B)),v&&ae(B),B;function ae(ve){var Se;(Se=ve.resolvedTypeReferenceDirective)!=null&&Se.resolvedFileName?ve.resolvedTypeReferenceDirective.packageId?Sa(d,F.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,t,ve.resolvedTypeReferenceDirective.resolvedFileName,Px(ve.resolvedTypeReferenceDirective.packageId),ve.resolvedTypeReferenceDirective.primary):Sa(d,F.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,t,ve.resolvedTypeReferenceDirective.resolvedFileName,ve.resolvedTypeReferenceDirective.primary):Sa(d,F.Type_reference_directive_0_was_not_resolved,t)}function Ce(){if(k&&k.length)return v&&Sa(d,F.Resolving_with_primary_search_path_0,k.join(", ")),G(k,ve=>{const Se=jXe(ve,t,Y),Ne=hg(ve,d);if(!Ne&&v&&Sa(d,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,ve),s.typeRoots){const pe=GB(4,Se,!Ne,Y);if(pe){const fe=uH(pe.path),xe=fe?U2(fe,!1,Y):void 0;return cAe($7(xe,pe))}}return cAe(vAe(4,Se,!Ne,Y))});v&&Sa(d,F.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function ne(){const ve=u&&lr(u);if(ve!==void 0){let Se;if(!s.typeRoots||!sc(u,QB))if(v&&Sa(d,F.Looking_up_in_node_modules_folder_initial_location_0,ve),Id(t)){const{path:Ne}=JXe(ve,t);Se=yde(4,Ne,!1,Y,!0)}else{const Ne=XXe(4,t,ve,Y,void 0,void 0);Se=Ne&&Ne.value}else v&&Sa(d,F.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder);return cAe(Se)}else v&&Sa(d,F.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}function fAe(t){let u=0;switch(p1(t)){case 3:u=30;break;case 99:u=30;break;case 100:u=30;break}return t.resolvePackageJsonExports?u|=8:t.resolvePackageJsonExports===!1&&(u&=-9),t.resolvePackageJsonImports?u|=2:t.resolvePackageJsonImports===!1&&(u&=-3),u}function $2(t,u){const s=p1(t);if(u===void 0){if(s===100)u=99;else if(s===2)return[]}const d=u===99?["import"]:["require"];return t.noDtsResolution||d.push("types"),s!==100&&d.push("node"),Hi(d,t.customConditions)}function xde(t,u,s,d,f){const p=rH(f==null?void 0:f.getPackageJsonInfoCache(),d,s);return Ug(u,E=>{if(Ac(E)!=="node_modules"){const v=cr(E,"node_modules"),b=cr(v,t);return U2(b,!1,p)}})}function VY(t,u){if(t.types)return t.types;const s=[];if(u.directoryExists&&u.getDirectories){const d=cM(t,u);if(d){for(const f of d)if(u.directoryExists(f))for(const p of u.getDirectories(f)){const E=$o(p),v=cr(f,E,"package.json");if(!(u.fileExists(v)&&EP(v,u).typings===null)){const B=Ac(E);B.charCodeAt(0)!==46&&s.push(B)}}}}return s}function mAe(t){var u;if(t===null||typeof t!="object")return""+t;if(Ha(t))return`[${(u=t.map(d=>mAe(d)))==null?void 0:u.join(",")}]`;let s="{";for(const d in t)gu(t,d)&&(s+=`${d}: ${mAe(t[d])}`);return s+"}"}function vde(t,u){return u.map(s=>mAe(tZ(t,s))).join("|")+`|${t.pathsBasePath}`}function Cde(t,u){const s=new Map,d=new Map;let f=new Map;return t&&s.set(t,f),{getMapOfCacheRedirects:p,getOrCreateMapOfCacheRedirects:E,update:v,clear:B,getOwnMap:()=>f};function p(T){return T?b(T.commandLine.options,!1):f}function E(T){return T?b(T.commandLine.options,!0):f}function v(T){t!==T&&(t?f=b(T,!0):s.set(T,f),t=T)}function b(T,M){let z=s.get(T);if(z)return z;const j=k(T);if(z=d.get(j),!z){if(t){const J=k(t);J===j?z=f:d.has(J)||d.set(J,f)}M&&(z??(z=new Map)),z&&d.set(j,z)}return z&&s.set(T,z),z}function B(){const T=t&&u.get(t);f.clear(),s.clear(),u.clear(),d.clear(),t&&(T&&u.set(t,T),s.set(t,f))}function k(T){let M=u.get(T);return M||u.set(T,M=vde(T,NY)),M}}function GNt(t,u){let s;return{getPackageJsonInfo:d,setPackageJsonInfo:f,clear:p,entries:E,getInternalMap:v};function d(b){return s==null?void 0:s.get(J0(b,t,u))}function f(b,B){(s||(s=new Map)).set(J0(b,t,u),B)}function p(){s=void 0}function E(){const b=s==null?void 0:s.entries();return b?ga(b):[]}function v(){return s}}function VXe(t,u,s,d){const f=t.getOrCreateMapOfCacheRedirects(u);let p=f.get(s);return p||(p=d(),f.set(s,p)),p}function JNt(t,u,s,d){const f=Cde(s,d);return{getFromDirectoryCache:b,getOrCreateCacheForDirectory:v,clear:p,update:E,directoryToModuleNameMap:f};function p(){f.clear()}function E(B){f.update(B)}function v(B,k){const T=J0(B,t,u);return VXe(f,k,T,()=>U7())}function b(B,k,T,M){var z,j;const J=J0(T,t,u);return(j=(z=f.getMapOfCacheRedirects(M))==null?void 0:z.get(J))==null?void 0:j.get(B,k)}}function dM(t,u){return u===void 0?t:`${u}|${t}`}function U7(){const t=new Map,u=new Map,s={get(f,p){return t.get(d(f,p))},set(f,p,E){return t.set(d(f,p),E),s},delete(f,p){return t.delete(d(f,p)),s},has(f,p){return t.has(d(f,p))},forEach(f){return t.forEach((p,E)=>{const[v,b]=u.get(E);return f(p,v,b)})},size(){return t.size}};return s;function d(f,p){const E=dM(f,p);return u.set(E,[f,p]),E}}function $Nt(t){return t.resolvedModule&&(t.resolvedModule.originalPath||t.resolvedModule.resolvedFileName)}function UNt(t){return t.resolvedTypeReferenceDirective&&(t.resolvedTypeReferenceDirective.originalPath||t.resolvedTypeReferenceDirective.resolvedFileName)}function qNt(t,u,s,d,f){const p=Cde(s,f);return{getFromNonRelativeNameCache:b,getOrCreateCacheForNonRelativeName:B,clear:E,update:v};function E(){p.clear()}function v(T){p.update(T)}function b(T,M,z,j){var J,K;return H.assert(!Id(T)),(K=(J=p.getMapOfCacheRedirects(j))==null?void 0:J.get(dM(T,M)))==null?void 0:K.get(z)}function B(T,M,z){return H.assert(!Id(T)),VXe(p,z,dM(T,M),k)}function k(){const T=new Map;return{get:M,set:z};function M(J){return T.get(J0(J,t,u))}function z(J,K){const Y=J0(J,t,u);if(T.has(Y))return;T.set(Y,K);const oe=d(K),se=oe&&j(Y,oe);let ge=Y;for(;ge!==se;){const ae=lr(ge);if(ae===ge||T.has(ae))break;T.set(ae,K),ge=ae}}function j(J,K){const Y=J0(lr(K),t,u);let oe=0;const se=Math.min(J.length,Y.length);for(;oed,clearAllExceptPackageJsonInfoCache:B,optionsToRedirectsKey:p};function b(){B(),d.clear()}function B(){E.clear(),v.clear()}function k(T){E.update(T),v.update(T)}}function KB(t,u,s,d,f){const p=HXe(t,u,s,d,$Nt,f);return p.getOrCreateCacheForModuleName=(E,v,b)=>p.getOrCreateCacheForNonRelativeName(E,v,b),p}function HY(t,u,s,d,f){return HXe(t,u,s,d,UNt,f)}function bde(t){return{moduleResolution:2,traceResolution:t.traceResolution}}function KY(t,u,s,d,f){return WB(t,u,bde(s),d,f)}function KXe(t,u,s,d){const f=lr(u);return s.getFromDirectoryCache(t,d,f,void 0)}function WB(t,u,s,d,f,p,E){var v,b,B;const k=aD(s,d);p&&(s=p.commandLine.options),k&&(Sa(d,F.Resolving_module_0_from_1,t,u),p&&Sa(d,F.Using_compiler_options_of_project_reference_redirect_0,p.sourceFile.fileName));const T=lr(u);let M=f==null?void 0:f.getFromDirectoryCache(t,E,T,p);if(M)k&&Sa(d,F.Resolution_for_module_0_was_found_in_cache_from_location_1,t,T);else{let z=s.moduleResolution;if(z===void 0){switch(m1(s)){case 1:z=2;break;case 100:z=3;break;case 199:z=99;break;default:z=1;break}k&&Sa(d,F.Module_resolution_kind_is_not_specified_using_0,y8[z])}else k&&Sa(d,F.Explicitly_specified_module_resolution_kind_Colon_0,y8[z]);switch((v=hh)==null||v.logStartResolveModule(t),z){case 3:M=XNt(t,u,s,d,f,p,E);break;case 99:M=ePt(t,u,s,d,f,p,E);break;case 2:M=EAe(t,u,s,d,f,p,E?$2(s,E):void 0);break;case 1:M=yAe(t,u,s,d,f,p);break;case 100:M=gAe(t,u,s,d,f,p,E?$2(s,E):void 0);break;default:return H.fail(`Unexpected moduleResolution: ${z}`)}M&&M.resolvedModule&&((b=hh)==null||b.logInfoEvent(`Module "${t}" resolved to "${M.resolvedModule.resolvedFileName}"`)),(B=hh)==null||B.logStopResolveModule(M&&M.resolvedModule?""+M.resolvedModule.resolvedFileName:"null"),f&&!f.isReadonly&&(f.getOrCreateCacheForDirectory(T,p).set(t,E,M),Id(t)||f.getOrCreateCacheForNonRelativeName(t,E,p).set(T,M))}return k&&(M.resolvedModule?M.resolvedModule.packageId?Sa(d,F.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,t,M.resolvedModule.resolvedFileName,Px(M.resolvedModule.packageId)):Sa(d,F.Module_name_0_was_successfully_resolved_to_1,t,M.resolvedModule.resolvedFileName):Sa(d,F.Module_name_0_was_not_resolved,t)),M}function WXe(t,u,s,d,f){const p=ZNt(t,u,d,f);return p?p.value:Id(u)?YNt(t,u,s,d,f):QNt(t,u,d,f)}function ZNt(t,u,s,d){var f;const{baseUrl:p,paths:E,configFile:v}=d.compilerOptions;if(E&&!om(u)){d.traceEnabled&&(p&&Sa(d.host,F.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,p,u),Sa(d.host,F.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,u));const b=zq(d.compilerOptions,d.host),B=v!=null&&v.configFileSpecs?(f=v.configFileSpecs).pathPatterns||(f.pathPatterns=lZ(E)):void 0;return bAe(t,u,b,E,B,s,!1,d)}}function YNt(t,u,s,d,f){if(!f.compilerOptions.rootDirs)return;f.traceEnabled&&Sa(f.host,F.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,u);const p=$o(cr(s,u));let E,v;for(const b of f.compilerOptions.rootDirs){let B=$o(b);sc(B,rl)||(B+=rl);const k=Pa(p,B)&&(v===void 0||v.lengthvoid oe.push(ne),isConfigLookup:v,candidateIsFromPackageJsonField:!1};j&&b7(Y)&&Sa(f,F.Resolving_in_0_mode_with_conditions_1,t&32?"ESM":"CJS",se.conditions.map(ne=>`'${ne}'`).join(", "));let ge;if(Y===2){const ne=E&5,ve=E&-6;ge=ne&&Ce(ne,se)||ve&&Ce(ve,se)||void 0}else ge=Ce(E,se);let ae;if((k=ge==null?void 0:ge.value)!=null&&k.isExternalLibraryImport&&!v&&E&5&&t&8&&!Id(u)&&!CAe(5,ge.value.resolved.extension)&&(B!=null&&B.includes("import"))){Wv(se,F.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);const ne={...se,features:se.features&-9,reportDiagnostic:Is},ve=Ce(E&5,ne);(T=ve==null?void 0:ve.value)!=null&&T.isExternalLibraryImport&&(ae=ve.value.resolved.path)}return zXe(u,(M=ge==null?void 0:ge.value)==null?void 0:M.resolved,(z=ge==null?void 0:ge.value)==null?void 0:z.isExternalLibraryImport,J,K,oe,se,p,ae);function Ce(ne,ve){const Ne=WXe(ne,u,s,(pe,fe,xe,Be)=>yde(pe,fe,xe,Be,!0),ve);if(Ne)return Im({resolved:Ne,isExternalLibraryImport:q7(Ne.path)});if(Id(u)){const{path:pe,parts:fe}=JXe(s,u),xe=yde(ne,pe,!1,ve,!0);return xe&&Im({resolved:xe,isExternalLibraryImport:kt(fe,"node_modules")})}else{let pe;if(t&2&&Pa(u,"#")&&(pe=oPt(ne,u,s,ve,p,b)),!pe&&t&4&&(pe=aPt(ne,u,s,ve,p,b)),!pe){if(u.includes(":")){j&&Sa(f,F.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1,u,OY(ne));return}j&&Sa(f,F.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,u,OY(ne)),pe=XXe(ne,u,s,ve,p,b)}return ne&4&&(pe??(pe=ret(u,ve))),pe&&{value:pe.value&&{resolved:pe.value,isExternalLibraryImport:!0}}}}}function JXe(t,u){const s=cr(t,u),d=yd(s),f=qu(d);return{path:f==="."||f===".."?zd($o(s)):$o(s),parts:d}}function iPt(t,u,s){if(!u.realpath)return t;const d=$o(u.realpath(t));return s&&Sa(u,F.Resolving_real_path_for_0_result_1,t,d),d}function yde(t,u,s,d,f){if(d.traceEnabled&&Sa(d.host,F.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,u,OY(t)),!ZD(u)){if(!s){const E=lr(u);hg(E,d.host)||(d.traceEnabled&&Sa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,E),s=!0)}const p=GB(t,u,s,d);if(p){const E=f?uH(p.path):void 0,v=E?U2(E,!1,d):void 0;return $7(v,p)}}if(s||hg(u,d.host)||(d.traceEnabled&&Sa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,u),s=!0),!(d.features&32))return vAe(t,u,s,d,f)}function q7(t){return t.includes(o_)}function uH(t,u){const s=$o(t),d=s.lastIndexOf(o_);if(d===-1)return;const f=d+o_.length;let p=$Xe(s,f,u);return s.charCodeAt(f)===64&&(p=$Xe(s,p,u)),s.slice(0,p)}function $Xe(t,u,s){const d=t.indexOf(rl,u+1);return d===-1?s?t.length:u:d}function DAe(t,u,s,d){return _de(GB(t,u,s,d))}function GB(t,u,s,d){const f=UXe(t,u,s,d);if(f)return f;if(!(d.features&32)){const p=qXe(u,t,"",s,d);if(p)return p}}function UXe(t,u,s,d){if(!Ac(u).includes("."))return;let p=_h(u);p===u&&(p=u.substring(0,u.lastIndexOf(".")));const E=u.substring(p.length);return d.traceEnabled&&Sa(d.host,F.File_name_0_has_a_1_extension_stripping_it,u,E),qXe(p,t,E,s,d)}function xAe(t,u,s,d){return t&1&&jc(u,hV)||t&4&&jc(u,dV)?WY(u,s,d)!==void 0?{path:u,ext:Kq(u),resolvedUsingTsExtension:void 0}:void 0:d.isConfigLookup&&t===8&&Ml(u,".json")?WY(u,s,d)!==void 0?{path:u,ext:".json",resolvedUsingTsExtension:void 0}:void 0:UXe(t,u,s,d)}function qXe(t,u,s,d,f){if(!d){const E=lr(t);E&&(d=!hg(E,f.host))}switch(s){case".mjs":case".mts":case".d.mts":return u&1&&p(".mts",s===".mts"||s===".d.mts")||u&4&&p(".d.mts",s===".mts"||s===".d.mts")||u&2&&p(".mjs")||void 0;case".cjs":case".cts":case".d.cts":return u&1&&p(".cts",s===".cts"||s===".d.cts")||u&4&&p(".d.cts",s===".cts"||s===".d.cts")||u&2&&p(".cjs")||void 0;case".json":return u&4&&p(".d.json.ts")||u&8&&p(".json")||void 0;case".tsx":case".jsx":return u&1&&(p(".tsx",s===".tsx")||p(".ts",s===".tsx"))||u&4&&p(".d.ts",s===".tsx")||u&2&&(p(".jsx")||p(".js"))||void 0;case".ts":case".d.ts":case".js":case"":return u&1&&(p(".ts",s===".ts"||s===".d.ts")||p(".tsx",s===".ts"||s===".d.ts"))||u&4&&p(".d.ts",s===".ts"||s===".d.ts")||u&2&&(p(".js")||p(".jsx"))||f.isConfigLookup&&p(".json")||void 0;default:return u&4&&!e1(t+s)&&p(`.d${s}.ts`)||void 0}function p(E,v){const b=WY(t+E,d,f);return b===void 0?void 0:{path:b,ext:E,resolvedUsingTsExtension:!f.candidateIsFromPackageJsonField&&v}}}function WY(t,u,s){var d;if(!((d=s.compilerOptions.moduleSuffixes)!=null&&d.length))return ZXe(t,u,s);const f=t3(t)??"",p=f?nV(t,f):t;return L(s.compilerOptions.moduleSuffixes,E=>ZXe(p+E+f,u,s))}function ZXe(t,u,s){var d;if(!u){if(s.host.fileExists(t))return s.traceEnabled&&Sa(s.host,F.File_0_exists_use_it_as_a_name_resolution_result,t),t;s.traceEnabled&&Sa(s.host,F.File_0_does_not_exist,t)}(d=s.failedLookupLocations)==null||d.push(t)}function vAe(t,u,s,d,f=!0){const p=f?U2(u,s,d):void 0,E=p&&p.contents.packageJsonContent,v=p&&GY(p,d);return $7(p,Fde(t,u,s,d,E,v))}function kde(t,u,s,d,f){if(!f&&t.contents.resolvedEntrypoints!==void 0)return t.contents.resolvedEntrypoints;let p;const E=5|(f?2:0),v=fAe(u),b=rH(d==null?void 0:d.getPackageJsonInfoCache(),s,u);b.conditions=$2(u),b.requestContainingDirectory=t.packageDirectory;const B=Fde(E,t.packageDirectory,!1,b,t.contents.packageJsonContent,GY(t,b));if(p=xi(p,B==null?void 0:B.path),v&8&&t.contents.packageJsonContent.exports){const k=ri([$2(u,99),$2(u,1)],On);for(const T of k){const M={...b,failedLookupLocations:[],conditions:T,host:s},z=nPt(t,t.contents.packageJsonContent.exports,M,E);if(z)for(const j of z)p=e0(p,j.path)}}return t.contents.resolvedEntrypoints=p||!1}function nPt(t,u,s,d){let f;if(Ha(u))for(const E of u)p(E);else if(typeof u=="object"&&u!==null&&JY(u))for(const E in u)p(u[E]);else p(u);return f;function p(E){var v,b;if(typeof E=="string"&&Pa(E,"./"))if(E.includes("*")&&s.host.readDirectory){if(E.indexOf("*")!==E.lastIndexOf("*"))return!1;s.host.readDirectory(t.packageDirectory,INt(d),void 0,[e1(E)?E.replace("*","**/*"):AO(E.replace("*","**/*"),Kj(E))]).forEach(B=>{f=e0(f,{path:B,ext:BN(B),resolvedUsingTsExtension:void 0})})}else{const B=yd(E).slice(2);if(B.includes("..")||B.includes(".")||B.includes("node_modules"))return!1;const k=cr(t.packageDirectory,E),T=$a(k,(b=(v=s.host).getCurrentDirectory)==null?void 0:b.call(v)),M=xAe(d,T,!1,s);if(M)return f=e0(f,M,(z,j)=>z.path===j.path),!0}else if(Array.isArray(E)){for(const B of E)if(p(B))return!0}else if(typeof E=="object"&&E!==null)return L(Ns(E),B=>{if(B==="default"||kt(s.conditions,B)||sH(s.conditions,B))return p(E[B]),!0})}}function rH(t,u,s){return{host:u,compilerOptions:s,traceEnabled:aD(s,u),failedLookupLocations:void 0,affectingLocations:void 0,packageJsonInfoCache:t,features:0,conditions:_t,requestContainingDirectory:void 0,reportDiagnostic:Is,isConfigLookup:!1,candidateIsFromPackageJsonField:!1}}function aH(t,u){const s=yd(t);for(s.pop();s.length>0;){const d=U2(yx(s),!1,u);if(d)return d;s.pop()}}function GY(t,u){return t.contents.versionPaths===void 0&&(t.contents.versionPaths=HNt(t.contents.packageJsonContent,u)||!1),t.contents.versionPaths||void 0}function U2(t,u,s){var d,f,p,E,v,b;const{host:B,traceEnabled:k}=s,T=cr(t,"package.json");if(u){(d=s.failedLookupLocations)==null||d.push(T);return}const M=(f=s.packageJsonInfoCache)==null?void 0:f.getPackageJsonInfo(T);if(M!==void 0){if(typeof M!="boolean")return k&&Sa(B,F.File_0_exists_according_to_earlier_cached_lookups,T),(p=s.affectingLocations)==null||p.push(T),M.packageDirectory===t?M:{packageDirectory:t,contents:M.contents};M&&k&&Sa(B,F.File_0_does_not_exist_according_to_earlier_cached_lookups,T),(E=s.failedLookupLocations)==null||E.push(T);return}const z=hg(t,B);if(z&&B.fileExists(T)){const j=EP(T,B);k&&Sa(B,F.Found_package_json_at_0,T);const J={packageDirectory:t,contents:{packageJsonContent:j,versionPaths:void 0,resolvedEntrypoints:void 0}};return s.packageJsonInfoCache&&!s.packageJsonInfoCache.isReadonly&&s.packageJsonInfoCache.setPackageJsonInfo(T,J),(v=s.affectingLocations)==null||v.push(T),J}else z&&k&&Sa(B,F.File_0_does_not_exist,T),s.packageJsonInfoCache&&!s.packageJsonInfoCache.isReadonly&&s.packageJsonInfoCache.setPackageJsonInfo(T,z),(b=s.failedLookupLocations)==null||b.push(T)}function Fde(t,u,s,d,f,p){let E;f&&(d.isConfigLookup?E=ONt(f,u,d):E=t&4&&RNt(f,u,d)||t&7&&jNt(f,u,d)||void 0);const v=(M,z,j,J)=>{const K=WY(z,j,J);if(K){const ae=uPt(M,K);if(ae)return _de(ae);J.traceEnabled&&Sa(J.host,F.File_0_has_an_unsupported_extension_so_skipping_it,K)}const Y=M===4?5:M,oe=J.features,se=J.candidateIsFromPackageJsonField;J.candidateIsFromPackageJsonField=!0,(f==null?void 0:f.type)!=="module"&&(J.features&=-33);const ge=yde(Y,z,j,J,!1);return J.features=oe,J.candidateIsFromPackageJsonField=se,ge},b=E?!hg(lr(E),d.host):void 0,B=s||!hg(u,d.host),k=cr(u,d.isConfigLookup?"tsconfig":"index");if(p&&(!E||GE(u,E))){const M=JE(u,E||k,!1);d.traceEnabled&&Sa(d.host,F.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,p.version,_,M);const z=bAe(t,M,u,p.paths,void 0,v,b||B,d);if(z)return MXe(z.value)}const T=E&&MXe(v(t,E,b,d));if(T)return T;if(!(d.features&32))return GB(t,k,B,d)}function uPt(t,u,s){const d=t3(u);return d!==void 0&&CAe(t,d)?{path:u,ext:d,resolvedUsingTsExtension:s}:void 0}function CAe(t,u){return t&2&&(u===".js"||u===".jsx"||u===".mjs"||u===".cjs")||t&1&&(u===".ts"||u===".tsx"||u===".mts"||u===".cts")||t&4&&(u===".d.ts"||u===".d.mts"||u===".d.cts")||t&8&&u===".json"||!1}function oH(t){let u=t.indexOf(rl);return t[0]==="@"&&(u=t.indexOf(rl,u+1)),u===-1?{packageName:t,rest:""}:{packageName:t.slice(0,u),rest:t.slice(u+1)}}function JY(t){return ye(Ns(t),u=>Pa(u,"."))}function rPt(t){return!Oe(Ns(t),u=>Pa(u,"."))}function aPt(t,u,s,d,f,p){var E,v;const b=$a(cr(s,"dummy"),(v=(E=d.host).getCurrentDirectory)==null?void 0:v.call(E)),B=aH(b,d);if(!B||!B.contents.packageJsonContent.exports||typeof B.contents.packageJsonContent.name!="string")return;const k=yd(u),T=yd(B.contents.packageJsonContent.name);if(!ye(T,(K,Y)=>k[Y]===K))return;const M=k.slice(T.length),z=S(M)?`.${rl}${M.join(rl)}`:".";if(Bv(d.compilerOptions)&&!q7(s))return Ade(B,t,z,d,f,p);const j=t&5,J=t&-6;return Ade(B,j,z,d,f,p)||Ade(B,J,z,d,f,p)}function Ade(t,u,s,d,f,p){if(t.contents.packageJsonContent.exports){if(s==="."){let E;if(typeof t.contents.packageJsonContent.exports=="string"||Array.isArray(t.contents.packageJsonContent.exports)||typeof t.contents.packageJsonContent.exports=="object"&&rPt(t.contents.packageJsonContent.exports)?E=t.contents.packageJsonContent.exports:gu(t.contents.packageJsonContent.exports,".")&&(E=t.contents.packageJsonContent.exports["."]),E)return QXe(u,d,f,p,s,t,!1)(E,"",!1,".")}else if(JY(t.contents.packageJsonContent.exports)){if(typeof t.contents.packageJsonContent.exports!="object")return d.traceEnabled&&Sa(d.host,F.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,s,t.packageDirectory),Im(void 0);const E=YXe(u,d,f,p,s,t.contents.packageJsonContent.exports,t,!1);if(E)return E}return d.traceEnabled&&Sa(d.host,F.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,s,t.packageDirectory),Im(void 0)}}function oPt(t,u,s,d,f,p){var E,v;if(u==="#"||Pa(u,"#/"))return d.traceEnabled&&Sa(d.host,F.Invalid_import_specifier_0_has_no_possible_resolutions,u),Im(void 0);const b=$a(cr(s,"dummy"),(v=(E=d.host).getCurrentDirectory)==null?void 0:v.call(E)),B=aH(b,d);if(!B)return d.traceEnabled&&Sa(d.host,F.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,b),Im(void 0);if(!B.contents.packageJsonContent.imports)return d.traceEnabled&&Sa(d.host,F.package_json_scope_0_has_no_imports_defined,B.packageDirectory),Im(void 0);const k=YXe(t,d,f,p,u,B.contents.packageJsonContent.imports,B,!0);return k||(d.traceEnabled&&Sa(d.host,F.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,u,B.packageDirectory),Im(void 0))}function Sde(t,u){const s=t.indexOf("*"),d=u.indexOf("*"),f=s===-1?t.length:s+1,p=d===-1?u.length:d+1;return f>p?-1:p>f||s===-1?1:d===-1||t.length>u.length?-1:u.length>t.length?1:0}function YXe(t,u,s,d,f,p,E,v){const b=QXe(t,u,s,d,f,E,v);if(!sc(f,rl)&&!f.includes("*")&&gu(p,f)){const T=p[f];return b(T,"",!1,f)}const B=Ph(ti(Ns(p),T=>T.includes("*")||sc(T,"/")),Sde);for(const T of B)if(u.features&16&&k(T,f)){const M=p[T],z=T.indexOf("*"),j=f.substring(T.substring(0,z).length,f.length-(T.length-1-z));return b(M,j,!0,T)}else if(sc(T,"*")&&Pa(f,T.substring(0,T.length-1))){const M=p[T],z=f.substring(T.length-1);return b(M,z,!0,T)}else if(Pa(f,T)){const M=p[T],z=f.substring(T.length);return b(M,z,!1,T)}function k(T,M){if(sc(T,"*"))return!1;const z=T.indexOf("*");return z===-1?!1:Pa(M,T.substring(0,z))&&sc(M,T.substring(z+1))}}function QXe(t,u,s,d,f,p,E){return v;function v(b,B,k,T){if(typeof b=="string"){if(!k&&B.length>0&&!sc(b,"/"))return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0);if(!Pa(b,"./")){if(E&&!Pa(b,"../")&&!Pa(b,"/")&&!Pf(b)){const ae=k?b.replace(/\*/g,B):b+B;Wv(u,F.Using_0_subpath_1_with_target_2,"imports",T,ae),Wv(u,F.Resolving_module_0_from_1,ae,p.packageDirectory+"/");const Ce=nH(u.features,ae,p.packageDirectory+"/",u.compilerOptions,u.host,s,t,!1,d,u.conditions);return Im(Ce.resolvedModule?{path:Ce.resolvedModule.resolvedFileName,extension:Ce.resolvedModule.extension,packageId:Ce.resolvedModule.packageId,originalPath:Ce.resolvedModule.originalPath,resolvedUsingTsExtension:Ce.resolvedModule.resolvedUsingTsExtension}:void 0)}return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0)}const K=(om(b)?yd(b).slice(1):yd(b)).slice(1);if(K.includes("..")||K.includes(".")||K.includes("node_modules"))return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0);const Y=cr(p.packageDirectory,b),oe=yd(B);if(oe.includes("..")||oe.includes(".")||oe.includes("node_modules"))return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0);u.traceEnabled&&Sa(u.host,F.Using_0_subpath_1_with_target_2,E?"imports":"exports",T,k?b.replace(/\*/g,B):b+B);const se=M(k?Y.replace(/\*/g,B):Y+B),ge=j(se,B,cr(p.packageDirectory,"package.json"),E);return ge||Im($7(p,xAe(t,se,!1,u)))}else if(typeof b=="object"&&b!==null)if(Array.isArray(b)){if(!S(b))return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0);for(const J of b){const K=v(J,B,k,T);if(K)return K}}else{Wv(u,F.Entering_conditional_exports);for(const J of Ns(b))if(J==="default"||u.conditions.includes(J)||sH(u.conditions,J)){Wv(u,F.Matched_0_condition_1,E?"imports":"exports",J);const K=b[J],Y=v(K,B,k,T);if(Y)return Wv(u,F.Resolved_under_condition_0,J),Wv(u,F.Exiting_conditional_exports),Y;Wv(u,F.Failed_to_resolve_under_condition_0,J)}else Wv(u,F.Saw_non_matching_condition_0,J);Wv(u,F.Exiting_conditional_exports);return}else if(b===null)return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_explicitly_maps_specifier_1_to_null,p.packageDirectory,f),Im(void 0);return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0);function M(J){var K,Y;return J===void 0?J:$a(J,(Y=(K=u.host).getCurrentDirectory)==null?void 0:Y.call(K))}function z(J,K){return zd(cr(J,K))}function j(J,K,Y,oe){var se,ge,ae,Ce;if(!u.isConfigLookup&&(u.compilerOptions.declarationDir||u.compilerOptions.outDir)&&!J.includes("/node_modules/")&&(!u.compilerOptions.configFile||GE(p.packageDirectory,M(u.compilerOptions.configFile.fileName),!Bde(u)))){const ve=n5({useCaseSensitiveFileNames:()=>Bde(u)}),Se=[];if(u.compilerOptions.rootDir||u.compilerOptions.composite&&u.compilerOptions.configFilePath){const Ne=M(yM(u.compilerOptions,()=>[],((ge=(se=u.host).getCurrentDirectory)==null?void 0:ge.call(se))||"",ve));Se.push(Ne)}else if(u.requestContainingDirectory){const Ne=M(cr(u.requestContainingDirectory,"index.ts")),pe=M(yM(u.compilerOptions,()=>[Ne,M(Y)],((Ce=(ae=u.host).getCurrentDirectory)==null?void 0:Ce.call(ae))||"",ve));Se.push(pe);let fe=zd(pe);for(;fe&&fe.length>1;){const xe=yd(fe);xe.pop();const Be=yx(xe);Se.unshift(Be),fe=zd(Be)}}Se.length>1&&u.reportDiagnostic(cc(oe?F.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:F.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,K===""?".":K,Y));for(const Ne of Se){const pe=ne(Ne);for(const fe of pe)if(GE(fe,J,!Bde(u))){const xe=J.slice(fe.length+1),Be=cr(Ne,xe),Ge=[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"];for(const Ae of Ge)if(Ml(Be,Ae)){const De=xye(Be);for(const Ke of De){if(!CAe(t,Ke))continue;const Je=AO(Be,Ke,Ae,!Bde(u));if(u.host.fileExists(Je))return Im($7(p,xAe(t,Je,!1,u)))}}}}}return;function ne(ve){var Se,Ne;const pe=u.compilerOptions.configFile?((Ne=(Se=u.host).getCurrentDirectory)==null?void 0:Ne.call(Se))||"":ve,fe=[];return u.compilerOptions.declarationDir&&fe.push(M(z(pe,u.compilerOptions.declarationDir))),u.compilerOptions.outDir&&u.compilerOptions.outDir!==u.compilerOptions.declarationDir&&fe.push(M(z(pe,u.compilerOptions.outDir))),fe}}}}function sH(t,u){if(!t.includes("types")||!Pa(u,"types@"))return!1;const s=EO.tryParse(u.substring(6));return s?s.test(_):!1}function XXe(t,u,s,d,f,p){return eet(t,u,s,d,!1,f,p)}function sPt(t,u,s){return eet(4,t,u,s,!0,void 0,void 0)}function eet(t,u,s,d,f,p,E){const v=d.features===0?void 0:d.features&32?99:1,b=t&5,B=t&-6;if(b){Wv(d,F.Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0,OY(b));const T=k(b);if(T)return T}if(B&&!f)return Wv(d,F.Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0,OY(B)),k(B);function k(T){return Ug(q1(s),M=>{if(Ac(M)!=="node_modules"){const z=uet(p,u,v,M,E,d);return z||Im(tet(T,u,M,d,f,p,E))}})}}function tet(t,u,s,d,f,p,E){const v=cr(s,"node_modules"),b=hg(v,d.host);if(!b&&d.traceEnabled&&Sa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,v),!f){const B=iet(t,u,v,b,d,p,E);if(B)return B}if(t&4){const B=cr(v,"@types");let k=b;return b&&!hg(B,d.host)&&(d.traceEnabled&&Sa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,B),k=!1),iet(4,net(u,d),B,k,d,p,E)}}function iet(t,u,s,d,f,p,E){var v,b;const B=$o(cr(s,u)),{packageName:k,rest:T}=oH(u),M=cr(s,k);let z,j=U2(B,!d,f);if(T!==""&&j&&(!(f.features&8)||!gu(((v=z=U2(M,!d,f))==null?void 0:v.contents.packageJsonContent)??_t,"exports"))){const Y=GB(t,B,!d,f);if(Y)return _de(Y);const oe=Fde(t,B,!d,f,j.contents.packageJsonContent,GY(j,f));return $7(j,oe)}const J=(Y,oe,se,ge)=>{let ae=(T||!(ge.features&32))&&GB(Y,oe,se,ge)||Fde(Y,oe,se,ge,j&&j.contents.packageJsonContent,j&&GY(j,ge));return!ae&&j&&(j.contents.packageJsonContent.exports===void 0||j.contents.packageJsonContent.exports===null)&&ge.features&32&&(ae=GB(Y,cr(oe,"index.js"),se,ge)),$7(j,ae)};if(T!==""&&(j=z??U2(M,!d,f)),j&&j.contents.packageJsonContent.exports&&f.features&8)return(b=Ade(j,t,cr(".",T),f,p,E))==null?void 0:b.value;const K=T!==""&&j?GY(j,f):void 0;if(K){f.traceEnabled&&Sa(f.host,F.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,K.version,_,T);const Y=d&&hg(M,f.host),oe=bAe(t,T,M,K.paths,void 0,J,!Y,f);if(oe)return oe.value}return J(t,B,!d,f)}function bAe(t,u,s,d,f,p,E,v){f||(f=lZ(d));const b=Ble(f,u);if(b){const B=Ja(b)?void 0:t2e(b,u),k=Ja(b)?b:e2e(b);return v.traceEnabled&&Sa(v.host,F.Module_name_0_matched_pattern_1,u,k),{value:L(d[k],M=>{const z=B?M.replace("*",B):M,j=$o(cr(s,z));v.traceEnabled&&Sa(v.host,F.Trying_substitution_0_candidate_module_location_Colon_1,M,z);const J=t3(M);if(J!==void 0){const K=WY(j,E,v);if(K!==void 0)return _de({path:K,ext:J,resolvedUsingTsExtension:void 0})}return p(t,j,E||!hg(lr(j),v.host),v)})}}}function net(t,u){const s=JB(t);return u.traceEnabled&&s!==t&&Sa(u.host,F.Scoped_package_detected_looking_in_0,s),s}function $Y(t){return`@types/${JB(t)}`}function JB(t){if(Pa(t,"@")){const u=t.replace(rl,Tde);if(u!==t)return u.slice(1)}return t}function hM(t){const u=yN(t,"@types/");return u!==t?lH(u):t}function lH(t){return t.includes(Tde)?"@"+t.replace(Tde,rl):t}function uet(t,u,s,d,f,p){const E=t&&t.getFromNonRelativeNameCache(u,s,d,f);if(E)return p.traceEnabled&&Sa(p.host,F.Resolution_for_module_0_was_found_in_cache_from_location_1,u,d),p.resultFromCache=E,{value:E.resolvedModule&&{path:E.resolvedModule.resolvedFileName,originalPath:E.resolvedModule.originalPath||!0,extension:E.resolvedModule.extension,packageId:E.resolvedModule.packageId,resolvedUsingTsExtension:E.resolvedModule.resolvedUsingTsExtension}}}function yAe(t,u,s,d,f,p){const E=aD(s,d),v=[],b=[],B=lr(u),k=[],T={compilerOptions:s,host:d,traceEnabled:E,failedLookupLocations:v,affectingLocations:b,packageJsonInfoCache:f,features:0,conditions:[],requestContainingDirectory:B,reportDiagnostic:j=>void k.push(j),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},M=z(5)||z(2|(s.resolveJsonModule?8:0));return zXe(t,M&&M.value,(M==null?void 0:M.value)&&q7(M.value.path),v,b,k,T,f);function z(j){const J=WXe(j,t,B,DAe,T);if(J)return{value:J};if(Id(t)){const K=$o(cr(B,t));return Im(DAe(j,K,!1,T))}else{const K=Ug(B,Y=>{const oe=uet(f,t,void 0,Y,p,T);if(oe)return oe;const se=$o(cr(Y,t));return Im(DAe(j,se,!1,T))});if(K)return K;if(j&5){let Y=sPt(t,B,T);return j&4&&(Y??(Y=ret(t,T))),Y}}}}function ret(t,u){if(u.compilerOptions.typeRoots)for(const s of u.compilerOptions.typeRoots){const d=jXe(s,t,u),f=hg(s,u.host);!f&&u.traceEnabled&&Sa(u.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,s);const p=GB(4,d,!f,u);if(p){const v=uH(p.path),b=v?U2(v,!1,u):void 0;return Im($7(b,p))}const E=vAe(4,d,!f,u);if(E)return Im(E)}}function $B(t,u){return!!t.allowImportingTsExtensions||u&&e1(u)}function kAe(t,u,s,d,f,p){const E=aD(s,d);E&&Sa(d,F.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,u,t,f);const v=[],b=[],B=[],k={compilerOptions:s,host:d,traceEnabled:E,failedLookupLocations:v,affectingLocations:b,packageJsonInfoCache:p,features:0,conditions:[],requestContainingDirectory:void 0,reportDiagnostic:M=>void B.push(M),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},T=tet(4,t,f,k,!1,void 0,void 0);return IXe(T,!0,v,b,B,k.resultFromCache,void 0)}function Im(t){return t!==void 0?{value:t}:void 0}function Wv(t,u,...s){t.traceEnabled&&Sa(t.host,u,...s)}function Bde(t){return t.host.useCaseSensitiveFileNames?typeof t.host.useCaseSensitiveFileNames=="boolean"?t.host.useCaseSensitiveFileNames:t.host.useCaseSensitiveFileNames():!0}var FAe,aet,wde,o_,Tde,lPt=o({"src/compiler/moduleNameResolver.ts"(){Bo(),aet=cr("node_modules","@types"),wde=(t=>(t[t.None=0]="None",t[t.Imports=2]="Imports",t[t.SelfName=4]="SelfName",t[t.Exports=8]="Exports",t[t.ExportsPatternTrailers=16]="ExportsPatternTrailers",t[t.AllFeatures=30]="AllFeatures",t[t.Node16Default=30]="Node16Default",t[t.NodeNextDefault=30]="NodeNextDefault",t[t.BundlerDefault=30]="BundlerDefault",t[t.EsmMode=32]="EsmMode",t))(wde||{}),o_="/node_modules/",Tde="__"}});function oD(t,u){return t.body&&!t.body.parent&&(ks(t.body,t),Vx(t.body,!1)),t.body?AAe(t.body,u):1}function AAe(t,u=new Map){const s=$s(t);if(u.has(s))return u.get(s)||0;u.set(s,void 0);const d=cPt(t,u);return u.set(s,d),d}function cPt(t,u){switch(t.kind){case 264:case 265:return 0;case 266:if(b2(t))return 2;break;case 272:case 271:if(!Yu(t,32))return 0;break;case 278:const s=t;if(!s.moduleSpecifier&&s.exportClause&&s.exportClause.kind===279){let d=0;for(const f of s.exportClause.elements){const p=dPt(f,u);if(p>d&&(d=p),d===1)return d}return d}break;case 268:{let d=0;return ao(t,f=>{const p=AAe(f,u);switch(p){case 0:return;case 2:d=2;return;case 1:return d=1,!0;default:H.assertNever(p)}}),d}case 267:return oD(t,u);case 80:if(t.flags&4096)return 0}return 1}function dPt(t,u){const s=t.propertyName||t.name;let d=t.parent;for(;d;){if(po(d)||rE(d)||la(d)){const f=d.statements;let p;for(const E of f)if(jO(E,s)){E.parent||(ks(E,d),Vx(E,!1));const v=AAe(E,u);if((p===void 0||v>p)&&(p=v),p===1)return p;E.kind===271&&(p=1)}if(p!==void 0)return p}d=d.parent}return 1}function Z7(t){return H.attachFlowNodeDebugInfo(t),t}function SAe(t,u){var s,d;ul("beforeBind"),(s=hh)==null||s.logStartBindFile(""+t.fileName),set(t,u),(d=hh)==null||d.logStopBindFile(),ul("afterBind"),Tm("Bind","beforeBind","afterBind")}function hPt(){var t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge,ae,Ce=!1,ne=0,ve,Se,Ne={flags:1},pe={flags:1},fe=le();return Be;function xe(Q,Me,...wt){return K4(zn(Q)||t,Q,Me,...wt)}function Be(Q,Me){var wt,ki;t=Q,u=Me,s=Os(u),ae=Ge(t,Me),Se=new Set,ne=0,ve=Qd.getSymbolConstructor(),H.attachFlowNodeDebugInfo(Ne),H.attachFlowNodeDebugInfo(pe),t.locals||((wt=Gn)==null||wt.push(Gn.Phase.Bind,"bindSourceFile",{path:t.path},!0),vt(t),(ki=Gn)==null||ki.pop(),t.symbolCount=ne,t.classifiableNames=Se,vl()),t=void 0,u=void 0,s=void 0,d=void 0,f=void 0,p=void 0,E=void 0,v=void 0,b=void 0,B=!1,k=void 0,T=void 0,M=void 0,z=void 0,j=void 0,J=void 0,K=void 0,oe=void 0,se=!1,Ce=!1,ge=0}function Ge(Q,Me){return Z4(Me,"alwaysStrict")&&!Q.isDeclarationFile?!0:!!Q.externalModuleIndicator}function Ae(Q,Me){return ne++,new ve(Q,Me)}function De(Q,Me,wt){Q.flags|=wt,Me.symbol=Q,Q.declarations=e0(Q.declarations,Me),wt&1955&&!Q.exports&&(Q.exports=Vo()),wt&6240&&!Q.members&&(Q.members=Vo()),Q.constEnumOnlyModule&&Q.flags&304&&(Q.constEnumOnlyModule=!1),wt&111551&&Fj(Q,Me)}function Ke(Q){if(Q.kind===277)return Q.isExportEquals?"export=":"default";const Me=Za(Q);if(Me){if(N1(Q)){const wt=J4(Me);return Yg(Q)?"__global":`"${wt}"`}if(Me.kind===167){const wt=Me.expression;if(Pm(wt))return Al(wt.text);if(Tq(wt))return Uo(wt.operator)+wt.operand.text;H.fail("Only computed properties with literal names have declaration names")}if(Xr(Me)){const wt=Yd(Q);if(!wt)return;const ki=wt.symbol;return zj(ki,Me.escapedText)}return gg(Me)?k7(Me):Xg(Me)?oP(Me):void 0}switch(Q.kind){case 176:return"__constructor";case 184:case 179:case 330:return"__call";case 185:case 180:return"__new";case 181:return"__index";case 278:return"__export";case 312:return"export=";case 226:if(Xl(Q)===2)return"export=";H.fail("Unknown binary declaration kind");break;case 324:return X8(Q)?"__new":"__call";case 169:return H.assert(Q.parent.kind===324,"Impossible parameter parent kind",()=>`parent is: ${H.formatSyntaxKind(Q.parent.kind)}, expected JSDocFunctionType`),"arg"+Q.parent.parameters.indexOf(Q)}}function Je(Q){return mh(Q)?b0(Q.name):Yr(H.checkDefined(Ke(Q)))}function ft(Q,Me,wt,ki,In,tr,ir){H.assert(ir||!Ix(wt));const ha=Yu(wt,2048)||eh(wt)&&wt.name.escapedText==="default",os=ir?"__computed":ha&&Me?"default":Ke(wt);let ss;if(os===void 0)ss=Ae(0,"__missing");else if(ss=Q.get(os),ki&2885600&&Se.add(os),!ss)Q.set(os,ss=Ae(0,os)),tr&&(ss.isReplaceableByMethod=!0);else{if(tr&&!ss.isReplaceableByMethod)return ss;if(ss.flags&In){if(ss.isReplaceableByMethod)Q.set(os,ss=Ae(0,os));else if(!(ki&3&&ss.flags&67108864)){mh(wt)&&ks(wt.name,wt);let Rl=ss.flags&2?F.Cannot_redeclare_block_scoped_variable_0:F.Duplicate_identifier_0,x1=!0;(ss.flags&384||ki&384)&&(Rl=F.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,x1=!1);let fd=!1;S(ss.declarations)&&(ha||ss.declarations&&ss.declarations.length&&wt.kind===277&&!wt.isExportEquals)&&(Rl=F.A_module_cannot_have_multiple_default_exports,x1=!1,fd=!0);const $m=[];jp(wt)&&Ql(wt.type)&&Yu(wt,32)&&ss.flags&2887656&&$m.push(xe(wt,F.Did_you_mean_0,`export type { ${Yr(wt.name.escapedText)} }`));const _s=Za(wt)||wt;L(ss.declarations,(Um,h3)=>{const d_=Za(Um)||Um,ta=x1?xe(d_,Rl,Je(Um)):xe(d_,Rl);t.bindDiagnostics.push(fd?Es(ta,xe(_s,h3===0?F.Another_export_default_is_here:F.and_here)):ta),fd&&$m.push(xe(d_,F.The_first_export_default_is_here))});const np=x1?xe(_s,Rl,Je(wt)):xe(_s,Rl);t.bindDiagnostics.push(Es(np,...$m)),ss=Ae(0,os)}}}return De(ss,wt,ki),ss.parent?H.assert(ss.parent===Me,"Existing symbol parent should match new one"):ss.parent=Me,ss}function Ye(Q,Me,wt){const ki=!!(m2(Q)&32)||Ve(Q);if(Me&2097152)return Q.kind===281||Q.kind===271&&ki?ft(f.symbol.exports,f.symbol,Q,Me,wt):(H.assertNode(f,UE),ft(f.locals,void 0,Q,Me,wt));if(G4(Q)&&H.assert(Qn(Q)),!N1(Q)&&(ki||f.flags&128)){if(!UE(f)||!f.locals||Yu(Q,2048)&&!Ke(Q))return ft(f.symbol.exports,f.symbol,Q,Me,wt);const In=Me&111551?1048576:0,tr=ft(f.locals,void 0,Q,In,wt);return tr.exportSymbol=ft(f.symbol.exports,f.symbol,Q,Me,wt),Q.localSymbol=tr,tr}else return H.assertNode(f,UE),ft(f.locals,void 0,Q,Me,wt)}function Ve(Q){if(Q.parent&&_c(Q)&&(Q=Q.parent),!G4(Q))return!1;if(!LV(Q)&&Q.fullName)return!0;const Me=Za(Q);return Me?!!($j(Me.parent)&&ql(Me.parent)||Q1(Me.parent)&&m2(Me.parent)&32):!1}function We(Q,Me){const wt=f,ki=p,In=E;if(Me&1?(Q.kind!==219&&(p=f),f=E=Q,Me&32&&(f.locals=Vo(),ca(f))):Me&2&&(E=Q,Me&32&&(E.locals=void 0)),Me&4){const tr=k,ir=T,ha=M,os=z,ss=K,Rl=oe,x1=se,fd=Me&16&&!Yu(Q,1024)&&!Q.asteriskToken&&!!nk(Q)||Q.kind===175;fd||(k=Z7({flags:2}),Me&144&&(k.node=Q)),z=fd||Q.kind===176||Qn(Q)&&(Q.kind===262||Q.kind===218)?xn():void 0,K=void 0,T=void 0,M=void 0,oe=void 0,se=!1,st(Q),Q.flags&=-5633,!(k.flags&1)&&Me&8&&H4(Q.body)&&(Q.flags|=512,se&&(Q.flags|=1024),Q.endFlowNode=k),Q.kind===312&&(Q.flags|=ge,Q.endFlowNode=k),z&&(Ai(z,k),k=bt(z),(Q.kind===176||Q.kind===175||Qn(Q)&&(Q.kind===262||Q.kind===218))&&(Q.returnFlowNode=k)),fd||(k=tr),T=ir,M=ha,z=os,K=ss,oe=Rl,se=x1}else Me&64?(B=!1,st(Q),H.assertNotNode(Q,at),Q.flags=B?Q.flags|256:Q.flags&-257):st(Q);f=wt,p=ki,E=In}function Gt(Q){Yt(Q,Me=>Me.kind===262?vt(Me):void 0),Yt(Q,Me=>Me.kind!==262?vt(Me):void 0)}function Yt(Q,Me=vt){Q!==void 0&&L(Q,Me)}function Ie(Q){ao(Q,vt,Yt)}function st(Q){const Me=Ce;if(Ce=!1,Ci(Q)){Ie(Q),mi(Q),Ce=Me;return}switch(Q.kind>=243&&Q.kind<=259&&!u.allowUnreachableCode&&(Q.flowNode=k),Q.kind){case 247:ua(Q);break;case 246:Ta(Q);break;case 248:Yo(Q);break;case 249:case 250:bo(Q);break;case 245:Qe(Q);break;case 253:case 257:Et(Q);break;case 252:case 251:Xt(Q);break;case 258:Pe(Q);break;case 255:et(Q);break;case 269:gt(Q);break;case 296:ii(Q);break;case 244:me(Q);break;case 256:vi(Q);break;case 224:$i(Q);break;case 225:Qi(Q);break;case 226:if(r5(Q)){Ce=Me,on(Q);return}fe(Q);break;case 220:te(Q);break;case 227:we(Q);break;case 260:je(Q);break;case 211:case 212:pr(Q);break;case 213:Xu(Q);break;case 235:Ru(Q);break;case 353:case 345:case 347:ct(Q);break;case 312:{Gt(Q.statements),vt(Q.endOfFileToken);break}case 241:case 268:Gt(Q.statements);break;case 208:X(Q);break;case 169:it(Q);break;case 210:case 209:case 303:case 230:Ce=Me;default:Ie(Q);break}mi(Q),Ce=Me}function St(Q){switch(Q.kind){case 80:case 81:case 110:case 211:case 212:return ei(Q);case 213:return ht(Q);case 217:case 235:return St(Q.expression);case 226:return Ni(Q);case 224:return Q.operator===54&&St(Q.operand);case 221:return St(Q.expression)}return!1}function It(Q){return pP(Q)||(Iu(Q)||O7(Q)||Cf(Q))&&It(Q.expression)||Xn(Q)&&Q.operatorToken.kind===28&&It(Q.right)||U0(Q)&&(Pm(Q.argumentExpression)||ec(Q.argumentExpression))&&It(Q.expression)||ld(Q)&&It(Q.left)}function ei(Q){return It(Q)||Y1(Q)&&ei(Q.expression)}function ht(Q){if(Q.arguments){for(const Me of Q.arguments)if(ei(Me))return!0}return!!(Q.expression.kind===211&&ei(Q.expression.expression))}function Ut(Q,Me){return AB(Q)&&ji(Q.expression)&&t0(Me)}function Ni(Q){switch(Q.operatorToken.kind){case 64:case 76:case 77:case 78:return ei(Q.left);case 35:case 36:case 37:case 38:return ji(Q.left)||ji(Q.right)||Ut(Q.right,Q.left)||Ut(Q.left,Q.right)||HN(Q.right)&&St(Q.left)||HN(Q.left)&&St(Q.right);case 104:return ji(Q.left);case 103:return St(Q.right);case 28:return St(Q.right)}return!1}function ji(Q){switch(Q.kind){case 217:return ji(Q.expression);case 226:switch(Q.operatorToken.kind){case 64:return ji(Q.left);case 28:return ji(Q.right)}}return ei(Q)}function xn(){return Z7({flags:4,antecedents:void 0})}function Jn(){return Z7({flags:8,antecedents:void 0})}function an(Q,Me,wt){return Z7({flags:1024,target:Q,antecedents:Me,antecedent:wt})}function Pi(Q){Q.flags|=Q.flags&2048?4096:2048}function Ai(Q,Me){!(Me.flags&1)&&!kt(Q.antecedents,Me)&&((Q.antecedents||(Q.antecedents=[])).push(Me),Pi(Me))}function Zu(Q,Me,wt){return Me.flags&1?Me:wt?(wt.kind===112&&Q&64||wt.kind===97&&Q&32)&&!MU(wt)&&!Kse(wt.parent)?Ne:St(wt)?(Pi(Me),Z7({flags:Q,antecedent:Me,node:wt})):Me:Q&32?Me:Ne}function aa(Q,Me,wt,ki){return Pi(Q),Z7({flags:128,antecedent:Q,switchStatement:Me,clauseStart:wt,clauseEnd:ki})}function yr(Q,Me,wt){Pi(Me);const ki=Z7({flags:Q,antecedent:Me,node:wt});return K&&Ai(K,ki),ki}function Ba(Q,Me){return Pi(Q),Z7({flags:512,antecedent:Q,node:Me})}function bt(Q){const Me=Q.antecedents;return Me?Me.length===1?Me[0]:Q:Ne}function jn(Q){const Me=Q.parent;switch(Me.kind){case 245:case 247:case 246:return Me.expression===Q;case 248:case 227:return Me.condition===Q}return!1}function Ln(Q){for(;;)if(Q.kind===217)Q=Q.expression;else if(Q.kind===224&&Q.operator===54)Q=Q.operand;else return Gj(Q)}function Si(Q){return ole(l0(Q))}function Dn(Q){for(;Cf(Q.parent)||zv(Q.parent)&&Q.parent.operator===54;)Q=Q.parent;return!jn(Q)&&!Ln(Q.parent)&&!(Y1(Q.parent)&&Q.parent.expression===Q)}function Cn(Q,Me,wt,ki){const In=j,tr=J;j=wt,J=ki,Q(Me),j=In,J=tr}function tu(Q,Me,wt){Cn(vt,Q,Me,wt),(!Q||!Si(Q)&&!Ln(Q)&&!(Y1(Q)&&RN(Q)))&&(Ai(Me,Zu(32,k,Q)),Ai(wt,Zu(64,k,Q)))}function oa(Q,Me,wt){const ki=T,In=M;T=Me,M=wt,vt(Q),T=ki,M=In}function Da(Q,Me){let wt=oe;for(;wt&&Q.parent.kind===256;)wt.continueTarget=Me,wt=wt.next,Q=Q.parent;return Me}function ua(Q){const Me=Da(Q,Jn()),wt=xn(),ki=xn();Ai(Me,k),k=Me,tu(Q.expression,wt,ki),k=bt(wt),oa(Q.statement,ki,Me),Ai(Me,k),k=bt(ki)}function Ta(Q){const Me=Jn(),wt=Da(Q,xn()),ki=xn();Ai(Me,k),k=Me,oa(Q.statement,ki,wt),Ai(wt,k),k=bt(wt),tu(Q.expression,Me,ki),k=bt(ki)}function Yo(Q){const Me=Da(Q,Jn()),wt=xn(),ki=xn();vt(Q.initializer),Ai(Me,k),k=Me,tu(Q.condition,wt,ki),k=bt(wt),oa(Q.statement,ki,Me),vt(Q.incrementor),Ai(Me,k),k=bt(ki)}function bo(Q){const Me=Da(Q,Jn()),wt=xn();vt(Q.expression),Ai(Me,k),k=Me,Q.kind===250&&vt(Q.awaitModifier),Ai(wt,k),vt(Q.initializer),Q.initializer.kind!==261&&Ot(Q.initializer),oa(Q.statement,wt,Me),Ai(Me,k),k=bt(wt)}function Qe(Q){const Me=xn(),wt=xn(),ki=xn();tu(Q.expression,Me,wt),k=bt(Me),vt(Q.thenStatement),Ai(ki,k),k=bt(wt),vt(Q.elseStatement),Ai(ki,k),k=bt(ki)}function Et(Q){vt(Q.expression),Q.kind===253&&(se=!0,z&&Ai(z,k)),k=Ne}function Mt(Q){for(let Me=oe;Me;Me=Me.next)if(Me.name===Q)return Me}function qt(Q,Me,wt){const ki=Q.kind===252?Me:wt;ki&&(Ai(ki,k),k=Ne)}function Xt(Q){if(vt(Q.label),Q.label){const Me=Mt(Q.label.escapedText);Me&&(Me.referenced=!0,qt(Q,Me.breakTarget,Me.continueTarget))}else qt(Q,T,M)}function Pe(Q){const Me=z,wt=K,ki=xn(),In=xn();let tr=xn();if(Q.finallyBlock&&(z=In),Ai(tr,k),K=tr,vt(Q.tryBlock),Ai(ki,k),Q.catchClause&&(k=bt(tr),tr=xn(),Ai(tr,k),K=tr,vt(Q.catchClause),Ai(ki,k)),z=Me,K=wt,Q.finallyBlock){const ir=xn();ir.antecedents=Hi(Hi(ki.antecedents,tr.antecedents),In.antecedents),k=ir,vt(Q.finallyBlock),k.flags&1?k=Ne:(z&&In.antecedents&&Ai(z,an(ir,In.antecedents,k)),K&&tr.antecedents&&Ai(K,an(ir,tr.antecedents,k)),k=ki.antecedents?an(ir,ki.antecedents,k):Ne)}else k=bt(ki)}function et(Q){const Me=xn();vt(Q.expression);const wt=T,ki=Y;T=Me,Y=k,vt(Q.caseBlock),Ai(Me,k);const In=L(Q.caseBlock.clauses,tr=>tr.kind===297);Q.possiblyExhaustive=!In&&!Me.antecedents,In||Ai(Me,aa(Y,Q,0,0)),T=wt,Y=ki,k=bt(Me)}function gt(Q){const Me=Q.clauses,wt=Q.parent.expression.kind===112||St(Q.parent.expression);let ki=Ne;for(let In=0;InGc(wt)||tc(wt))}function as(Q){Q.flags&33554432&&!Ir(Q)?Q.flags|=128:Q.flags&=-129}function wo(Q){if(as(Q),N1(Q))if(Yu(Q,32)&&Q0(Q,F.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),p0e(Q))Fn(Q);else{let Me;if(Q.name.kind===11){const{text:ki}=Q.name;Me=fB(ki),Me===void 0&&Q0(Q.name,F.Pattern_0_can_have_at_most_one_Asterisk_character,ki)}const wt=Ku(Q,512,110735);t.patternAmbientModules=xi(t.patternAmbientModules,Me&&!Ja(Me)?{pattern:Me,symbol:wt}:void 0)}else{const Me=Fn(Q);if(Me!==0){const{symbol:wt}=Q;wt.constEnumOnlyModule=!(wt.flags&304)&&Me===2&&wt.constEnumOnlyModule!==!1}}}function Fn(Q){const Me=oD(Q),wt=Me!==0;return Ku(Q,wt?512:1024,wt?110735:0),Me}function vc(Q){const Me=Ae(131072,Ke(Q));De(Me,Q,131072);const wt=Ae(2048,"__type");De(wt,Q,2048),wt.members=Vo(),wt.members.set(Me.escapedName,Me)}function Ya(Q){return wl(Q,4096,"__object")}function c0(Q){return wl(Q,4096,"__jsxAttributes")}function Ul(Q,Me,wt){return Ku(Q,Me,wt)}function wl(Q,Me,wt){const ki=Ae(Me,wt);return Me&106508&&(ki.parent=f.symbol),De(ki,Q,Me),ki}function hd(Q,Me,wt){switch(E.kind){case 267:Ye(Q,Me,wt);break;case 312:if(cm(f)){Ye(Q,Me,wt);break}default:H.assertNode(E,UE),E.locals||(E.locals=Vo(),ca(E)),ft(E.locals,void 0,Q,Me,wt)}}function vl(){if(!b)return;const Q=f,Me=v,wt=E,ki=d,In=k;for(const tr of b){const ir=tr.parent.parent;f=C0e(ir)||t,E=YE(ir)||t,k=Z7({flags:2}),d=tr,vt(tr.typeExpression);const ha=Za(tr);if((LV(tr)||!tr.fullName)&&ha&&$j(ha.parent)){const os=ql(ha.parent);if(os){Tl(t.symbol,ha.parent,os,!!Tn(ha,Rl=>Iu(Rl)&&Rl.name.escapedText==="prototype"),!1);const ss=f;switch(yj(ha.parent)){case 1:case 2:cm(t)?f=t:f=void 0;break;case 4:f=ha.parent.expression;break;case 3:f=ha.parent.expression.name;break;case 5:f=q2(t,ha.parent.expression)?t:Iu(ha.parent.expression)?ha.parent.expression.name:ha.parent.expression;break;case 0:return H.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}f&&Ye(tr,524288,788968),f=ss}}else LV(tr)||!tr.fullName||tr.fullName.kind===80?(d=tr.parent,hd(tr,524288,788968)):vt(tr.fullName)}f=Q,v=Me,E=wt,d=ki,k=In}function co(Q){if(!t.parseDiagnostics.length&&!(Q.flags&33554432)&&!(Q.flags&16777216)&&!hye(Q)){const Me=Dv(Q);if(Me===void 0)return;ae&&Me>=119&&Me<=127?t.bindDiagnostics.push(xe(Q,Ho(Q),b0(Q))):Me===135?wc(t)&&fq(Q)?t.bindDiagnostics.push(xe(Q,F.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,b0(Q))):Q.flags&65536&&t.bindDiagnostics.push(xe(Q,F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,b0(Q))):Me===127&&Q.flags&16384&&t.bindDiagnostics.push(xe(Q,F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,b0(Q)))}}function Ho(Q){return Yd(Q)?F.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:t.externalModuleIndicator?F.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:F.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function id(Q){Q.escapedText==="#constructor"&&(t.parseDiagnostics.length||t.bindDiagnostics.push(xe(Q,F.constructor_is_a_reserved_word,b0(Q))))}function Y0(Q){ae&&Df(Q.left)&&u5(Q.operatorToken.kind)&&Lc(Q,Q.left)}function Ko(Q){ae&&Q.variableDeclaration&&Lc(Q,Q.variableDeclaration.name)}function Tc(Q){if(ae&&Q.expression.kind===80){const Me=C2(t,Q.expression);t.bindDiagnostics.push(Rd(t,Me.start,Me.length,F.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Jp(Q){return at(Q)&&(Q.escapedText==="eval"||Q.escapedText==="arguments")}function Lc(Q,Me){if(Me&&Me.kind===80){const wt=Me;if(Jp(wt)){const ki=C2(t,Me);t.bindDiagnostics.push(Rd(t,ki.start,ki.length,Il(Q),fu(wt)))}}}function Il(Q){return Yd(Q)?F.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:t.externalModuleIndicator?F.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:F.Invalid_use_of_0_in_strict_mode}function cl(Q){ae&&Lc(Q,Q.name)}function Ka(Q){return Yd(Q)?F.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:t.externalModuleIndicator?F.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:F.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function Ri(Q){if(s<2&&E.kind!==312&&E.kind!==267&&!L8(E)){const Me=C2(t,Q);t.bindDiagnostics.push(Rd(t,Me.start,Me.length,Ka(Q)))}}function dl(Q){ae&&Lc(Q,Q.operand)}function Uc(Q){ae&&(Q.operator===46||Q.operator===47)&&Lc(Q,Q.operand)}function Ch(Q){ae&&Q0(Q,F.with_statements_are_not_allowed_in_strict_mode)}function sf(Q){ae&&Os(u)>=2&&(pbe(Q.statement)||Jl(Q.statement))&&Q0(Q.label,F.A_label_is_not_allowed_here)}function Q0(Q,Me,...wt){const ki=QE(t,Q.pos);t.bindDiagnostics.push(Rd(t,ki.start,ki.length,Me,...wt))}function Cc(Q,Me,wt){$(Q,Me,Me,wt)}function $(Q,Me,wt,ki){tt(Q,{pos:ek(Me,t),end:wt.end},ki)}function tt(Q,Me,wt){const ki=Rd(t,Me.pos,Me.end-Me.pos,wt);Q?t.bindDiagnostics.push(ki):t.bindSuggestionDiagnostics=xi(t.bindSuggestionDiagnostics,{...ki,category:2})}function vt(Q){if(!Q)return;ks(Q,d),Gn&&(Q.tracingPath=t.path);const Me=ae;if(uu(Q),Q.kind>165){const wt=d;d=Q;const ki=Lde(Q);ki===0?st(Q):We(Q,ki),d=wt}else{const wt=d;Q.kind===1&&(d=Q),mi(Q),d=wt}ae=Me}function mi(Q){if(lm(Q))if(Qn(Q))for(const Me of Q.jsDoc)vt(Me);else for(const Me of Q.jsDoc)ks(Me,Q),Vx(Me,!1)}function fn(Q){if(!ae)for(const Me of Q){if(!Mp(Me))return;if(Wu(Me)){ae=!0;return}}}function Wu(Q){const Me=x2(t,Q.expression);return Me==='"use strict"'||Me==="'use strict'"}function uu(Q){switch(Q.kind){case 80:if(Q.flags&4096){let ir=Q.parent;for(;ir&&!G4(ir);)ir=ir.parent;hd(ir,524288,788968);break}case 110:return k&&(Wt(Q)||d.kind===304)&&(Q.flowNode=k),co(Q);case 166:k&&_q(Q)&&(Q.flowNode=k);break;case 236:case 108:Q.flowNode=k;break;case 81:return id(Q);case 211:case 212:const Me=Q;k&&It(Me)&&(Me.flowNode=k),rye(Me)&&Mn(Me),Qn(Me)&&t.commonJsModuleIndicator&&Y_(Me)&&!UY(E,"module")&&ft(t.locals,void 0,Me.expression,134217729,111550);break;case 226:switch(Xl(Q)){case 1:Oh(Q);break;case 2:uh(Q);break;case 3:To(Q.left,Q);break;case 6:ba(Q);break;case 4:D1(Q);break;case 5:const ir=Q.left.expression;if(Qn(Q)&&at(ir)){const ha=UY(E,ir.escapedText);if(mq(ha==null?void 0:ha.valueDeclaration)){D1(Q);break}}fc(Q);break;case 0:break;default:H.fail("Unknown binary expression special property assignment kind")}return Y0(Q);case 299:return Ko(Q);case 220:return Tc(Q);case 225:return dl(Q);case 224:return Uc(Q);case 254:return Ch(Q);case 256:return sf(Q);case 197:B=!0;return;case 182:break;case 168:return Bt(Q);case 169:return d3(Q);case 260:return R1(Q);case 208:return Q.flowNode=k,R1(Q);case 172:case 171:return Tu(Q);case 303:case 304:return Vh(Q,4,0);case 306:return Vh(Q,8,900095);case 179:case 180:case 181:return Ku(Q,131072,0);case 174:case 173:return Vh(Q,8192|(Q.questionToken?16777216:0),zp(Q)?0:103359);case 262:return Wf(Q);case 176:return Ku(Q,16384,0);case 177:return Vh(Q,32768,46015);case 178:return Vh(Q,65536,78783);case 184:case 324:case 330:case 185:return vc(Q);case 187:case 329:case 200:return Nr(Q);case 339:return Qt(Q);case 210:return Ya(Q);case 218:case 219:return m4(Q);case 213:switch(Xl(Q)){case 7:return nc(Q);case 8:return Bd(Q);case 9:return Fo(Q);case 0:break;default:return H.fail("Unknown call expression assignment declaration kind")}Qn(Q)&&c3(Q);break;case 231:case 263:return ae=!0,c_(Q);case 264:return hd(Q,64,788872);case 265:return hd(Q,524288,788968);case 266:return C5(Q);case 267:return wo(Q);case 292:return c0(Q);case 291:return Ul(Q,4,0);case 271:case 274:case 276:case 281:return Ku(Q,2097152,2097152);case 270:return nd(Q);case 273:return ud(Q);case 278:return S0(Q);case 277:return ic(Q);case 312:return fn(Q.statements),Vu();case 241:if(!L8(Q.parent))return;case 268:return fn(Q.statements);case 348:if(Q.parent.kind===330)return d3(Q);if(Q.parent.kind!==329)break;case 355:const In=Q,tr=In.isBracketed||In.typeExpression&&In.typeExpression.type.kind===323?16777220:4;return Ku(In,tr,0);case 353:case 345:case 347:return(b||(b=[])).push(Q);case 346:return vt(Q.typeExpression)}}function Tu(Q){const Me=ef(Q),wt=Me?98304:4,ki=Me?13247:0;return Vh(Q,wt|(Q.questionToken?16777216:0),ki)}function Nr(Q){return wl(Q,2048,"__type")}function Vu(){if(as(t),wc(t))Ss();else if(W4(t)){Ss();const Q=t.symbol;ft(t.symbol.exports,t.symbol,t,4,67108863),t.symbol=Q}}function Ss(){wl(t,512,`"${_h(t.fileName)}"`)}function ic(Q){if(!f.symbol||!f.symbol.exports)wl(Q,111551,Ke(Q));else{const Me=tB(Q)?2097152:4,wt=ft(f.symbol.exports,f.symbol,Q,Me,67108863);Q.isExportEquals&&Fj(wt,Q)}}function nd(Q){Oe(Q.modifiers)&&t.bindDiagnostics.push(xe(Q,F.Modifiers_cannot_appear_here));const Me=la(Q.parent)?wc(Q.parent)?Q.parent.isDeclarationFile?void 0:F.Global_module_exports_may_only_appear_in_declaration_files:F.Global_module_exports_may_only_appear_in_module_files:F.Global_module_exports_may_only_appear_at_top_level;Me?t.bindDiagnostics.push(xe(Q,Me)):(t.symbol.globalExports=t.symbol.globalExports||Vo(),ft(t.symbol.globalExports,t.symbol,Q,2097152,2097152))}function S0(Q){!f.symbol||!f.symbol.exports?wl(Q,8388608,Ke(Q)):Q.exportClause?u_(Q.exportClause)&&(ks(Q.exportClause,Q),ft(f.symbol.exports,f.symbol,Q.exportClause,2097152,2097152)):ft(f.symbol.exports,f.symbol,Q,8388608,0)}function ud(Q){Q.name&&Ku(Q,2097152,2097152)}function m0(Q){return t.externalModuleIndicator&&t.externalModuleIndicator!==!0?!1:(t.commonJsModuleIndicator||(t.commonJsModuleIndicator=Q,t.externalModuleIndicator||Ss()),!0)}function Bd(Q){if(!m0(Q))return;const Me=f4(Q.arguments[0],void 0,(wt,ki)=>(ki&&De(ki,wt,67110400),ki));Me&&ft(Me.exports,Me,Q,1048580,0)}function Oh(Q){if(!m0(Q))return;const Me=f4(Q.left.expression,void 0,(wt,ki)=>(ki&&De(ki,wt,67110400),ki));if(Me){const ki=Pj(Q.right)&&(uk(Q.left.expression)||Y_(Q.left.expression))?2097152:1048580;ks(Q.left,Q),ft(Me.exports,Me,Q.left,ki,0)}}function uh(Q){if(!m0(Q))return;const Me=vj(Q.right);if(dle(Me)||f===t&&q2(t,Me))return;if(ys(Me)&&ye(Me.properties,pm)){L(Me.properties,h4);return}const wt=tB(Q)?2097152:1049092,ki=ft(t.symbol.exports,t.symbol,Q,wt|67108864,0);Fj(ki,Q)}function h4(Q){ft(t.symbol.exports,t.symbol,Q,69206016,0)}function D1(Q){if(H.assert(Qn(Q)),Xn(Q)&&Iu(Q.left)&&Xr(Q.left.name)||Iu(Q)&&Xr(Q.name))return;const wt=tf(Q,!1,!1);switch(wt.kind){case 262:case 218:let ki=wt.symbol;if(Xn(wt.parent)&&wt.parent.operatorToken.kind===64){const ir=wt.parent.left;A2(ir)&&Ox(ir.expression)&&(ki=jh(ir.expression.expression,p))}ki&&ki.valueDeclaration&&(ki.members=ki.members||Vo(),Ix(Q)?He(Q,ki,ki.members):ft(ki.members,ki,Q,67108868,0),De(ki,ki.valueDeclaration,32));break;case 176:case 172:case 174:case 177:case 178:case 175:const In=wt.parent,tr=No(wt)?In.symbol.exports:In.symbol.members;Ix(Q)?He(Q,In.symbol,tr):ft(tr,In.symbol,Q,67108868,0,!0);break;case 312:if(Ix(Q))break;wt.commonJsModuleIndicator?ft(wt.symbol.exports,wt.symbol,Q,1048580,0):Ku(Q,1,111550);break;case 267:break;default:H.failBadSyntaxKind(wt)}}function He(Q,Me,wt){ft(wt,Me,Q,4,0,!0,!0),di(Q,Me)}function di(Q,Me){Me&&(Me.assignmentDeclarationMembers||(Me.assignmentDeclarationMembers=new Map)).set($s(Q),Q)}function Mn(Q){Q.expression.kind===110?D1(Q):A2(Q)&&Q.parent.parent.kind===312&&(Ox(Q.expression)?To(Q,Q.parent):Cl(Q))}function ba(Q){ks(Q.left,Q),ks(Q.right,Q),Nc(Q.left.expression,Q.left,!1,!0)}function Fo(Q){const Me=jh(Q.arguments[0].expression);Me&&Me.valueDeclaration&&De(Me,Me.valueDeclaration,32),bc(Q,Me,!0)}function To(Q,Me){const wt=Q.expression,ki=wt.expression;ks(ki,wt),ks(wt,Q),ks(Q,Me),Nc(ki,Q,!0,!0)}function nc(Q){let Me=jh(Q.arguments[0]);const wt=Q.parent.parent.kind===312;Me=Tl(Me,Q.arguments[0],wt,!1,!1),bc(Q,Me,!1)}function fc(Q){var Me;const wt=jh(Q.left.expression,f)||jh(Q.left.expression,E);if(!Qn(Q)&&!aye(wt))return;const ki=CP(Q.left);if(!(at(ki)&&((Me=UY(f,ki.escapedText))==null?void 0:Me.flags)&2097152))if(ks(Q.left,Q),ks(Q.right,Q),at(Q.left.expression)&&f===t&&q2(t,Q.left.expression))Oh(Q);else if(Ix(Q)){wl(Q,67108868,"__computed");const In=Tl(wt,Q.left.expression,ql(Q.left),!1,!1);di(Q,In)}else Cl(Po(Q.left,ak))}function Cl(Q){H.assert(!at(Q)),ks(Q.expression,Q),Nc(Q.expression,Q,!1,!1)}function Tl(Q,Me,wt,ki,In){return(Q==null?void 0:Q.flags)&2097152||(wt&&!ki&&(Q=f4(Me,Q,(ha,os,ss)=>{if(os)return De(os,ha,67110400),os;{const Rl=ss?ss.exports:t.jsGlobalAugmentations||(t.jsGlobalAugmentations=Vo());return ft(Rl,ss,ha,67110400,110735)}})),In&&Q&&Q.valueDeclaration&&De(Q,Q.valueDeclaration,32)),Q}function bc(Q,Me,wt){if(!Me||!ip(Me))return;const ki=wt?Me.members||(Me.members=Vo()):Me.exports||(Me.exports=Vo());let In=0,tr=0;$0(l7(Q))?(In=8192,tr=103359):Mo(Q)&&rk(Q)&&(Oe(Q.arguments[2].properties,ir=>{const ha=Za(ir);return!!ha&&at(ha)&&fu(ha)==="set"})&&(In|=65540,tr|=78783),Oe(Q.arguments[2].properties,ir=>{const ha=Za(ir);return!!ha&&at(ha)&&fu(ha)==="get"})&&(In|=32772,tr|=46015)),In===0&&(In=4,tr=0),ft(ki,Me,Q,In|67108864,tr&-67108865)}function ql(Q){return Xn(Q.parent)?Jm(Q.parent).parent.kind===312:Q.parent.parent.kind===312}function Nc(Q,Me,wt,ki){let In=jh(Q,f)||jh(Q,E);const tr=ql(Me);In=Tl(In,Me.expression,tr,wt,ki),bc(Me,In,wt)}function ip(Q){if(Q.flags&1072)return!0;const Me=Q.valueDeclaration;if(Me&&Mo(Me))return!!l7(Me);let wt=Me?na(Me)?Me.initializer:Xn(Me)?Me.right:Iu(Me)&&Xn(Me.parent)?Me.parent.right:void 0:void 0;if(wt=wt&&vj(wt),wt){const ki=Ox(na(Me)?Me.name:Xn(Me)?Me.left:Me);return!!yv(Xn(wt)&&(wt.operatorToken.kind===57||wt.operatorToken.kind===61)?wt.right:wt,ki)}return!1}function Jm(Q){for(;Xn(Q.parent);)Q=Q.parent;return Q.parent}function jh(Q,Me=f){if(at(Q))return UY(Me,Q.escapedText);{const wt=jh(Q.expression);return wt&&wt.exports&&wt.exports.get(Q3(Q))}}function f4(Q,Me,wt){if(q2(t,Q))return t.symbol;if(at(Q))return wt(Q,jh(Q),Me);{const ki=f4(Q.expression,Me,wt),In=bj(Q);return Xr(In)&&H.fail("unexpected PrivateIdentifier"),wt(In,ki&&ki.exports&&ki.exports.get(Q3(Q)),ki)}}function c3(Q){!t.commonJsModuleIndicator&&xf(Q,!1)&&m0(Q)}function c_(Q){if(Q.kind===263)hd(Q,32,899503);else{const In=Q.name?Q.name.escapedText:"__class";wl(Q,32,In),Q.name&&Se.add(Q.name.escapedText)}const{symbol:Me}=Q,wt=Ae(4194308,"prototype"),ki=Me.exports.get(wt.escapedName);ki&&(Q.name&&ks(Q.name,Q),t.bindDiagnostics.push(xe(ki.declarations[0],F.Duplicate_identifier_0,lc(wt)))),Me.exports.set(wt.escapedName,wt),wt.parent=Me}function C5(Q){return b2(Q)?hd(Q,128,899967):hd(Q,256,899327)}function R1(Q){if(ae&&Lc(Q,Q.name),!So(Q.name)){const Me=Q.kind===260?Q:Q.parent.parent;Qn(Q)&&eZ(u)&&F2(Me)&&!xv(Q)&&!(m2(Q)&32)?Ku(Q,2097152,2097152):h0e(Q)?hd(Q,2,111551):w2(Q)?Ku(Q,1,111551):Ku(Q,1,111550)}}function d3(Q){if(!(Q.kind===348&&f.kind!==330)&&(ae&&!(Q.flags&33554432)&&Lc(Q,Q.name),So(Q.name)?wl(Q,1,"__"+Q.parent.parameters.indexOf(Q)):Ku(Q,1,111551),Mf(Q,Q.parent))){const Me=Q.parent.parent;ft(Me.symbol.members,Me.symbol,Q,4|(Q.questionToken?16777216:0),0)}}function Wf(Q){!t.isDeclarationFile&&!(Q.flags&33554432)&&aP(Q)&&(ge|=4096),cl(Q),ae?(Ri(Q),hd(Q,16,110991)):Ku(Q,16,110991)}function m4(Q){!t.isDeclarationFile&&!(Q.flags&33554432)&&aP(Q)&&(ge|=4096),k&&(Q.flowNode=k),cl(Q);const Me=Q.name?Q.name.escapedText:"__function";return wl(Q,16,Me)}function Vh(Q,Me,wt){return!t.isDeclarationFile&&!(Q.flags&33554432)&&aP(Q)&&(ge|=4096),k&&lq(Q)&&(Q.flowNode=k),Ix(Q)?wl(Q,Me,"__computed"):Ku(Q,Me,wt)}function Ee(Q){const Me=Tn(Q,wt=>wt.parent&&FB(wt.parent)&&wt.parent.extendsType===wt);return Me&&Me.parent}function Bt(Q){if(_g(Q.parent)){const Me=Aq(Q.parent);Me?(H.assertNode(Me,UE),Me.locals??(Me.locals=Vo()),ft(Me.locals,void 0,Q,262144,526824)):Ku(Q,262144,526824)}else if(Q.parent.kind===195){const Me=Ee(Q.parent);Me?(H.assertNode(Me,UE),Me.locals??(Me.locals=Vo()),ft(Me.locals,void 0,Q,262144,526824)):wl(Q,262144,Ke(Q))}else Ku(Q,262144,526824)}function Di(Q){const Me=oD(Q);return Me===1||Me===2&&fk(u)}function Ci(Q){if(!(k.flags&1))return!1;if(k===Ne&&(XO(Q)&&Q.kind!==242||Q.kind===263||Q.kind===267&&Di(Q))&&(k=pe,!u.allowUnreachableCode)){const wt=uke(u)&&!(Q.flags&33554432)&&(!Jl(Q)||!!(QD(Q.declarationList)&7)||Q.declarationList.declarations.some(ki=>!!ki.initializer));fPt(Q,(ki,In)=>$(wt,ki,In,F.Unreachable_code_detected))}return!0}}function fPt(t,u){if(ia(t)&&oet(t)&&po(t.parent)){const{statements:s}=t.parent,d=wle(s,t);eu(d,oet,(f,p)=>u(d[f],d[p-1]))}else u(t,t)}function oet(t){return!ed(t)&&!mPt(t)&&!Iv(t)&&!(Jl(t)&&!(QD(t)&7)&&t.declarationList.declarations.some(u=>!u.initializer))}function mPt(t){switch(t.kind){case 264:case 265:return!0;case 267:return oD(t)!==1;case 266:return Yu(t,4096);default:return!1}}function q2(t,u){let s=0;const d=U$();for(d.enqueue(u);!d.isEmpty()&&s<100;){if(s++,u=d.dequeue(),uk(u)||Y_(u))return!0;if(at(u)){const f=UY(t,u.escapedText);if(f&&f.valueDeclaration&&na(f.valueDeclaration)&&f.valueDeclaration.initializer){const p=f.valueDeclaration.initializer;d.enqueue(p),ld(p,!0)&&(d.enqueue(p.left),d.enqueue(p.right))}}}return!1}function Lde(t){switch(t.kind){case 231:case 263:case 266:case 210:case 187:case 329:case 292:return 1;case 264:return 65;case 267:case 265:case 200:case 181:return 33;case 312:return 37;case 177:case 178:case 174:if(lq(t))return 173;case 176:case 262:case 173:case 179:case 330:case 324:case 184:case 180:case 185:case 175:return 45;case 218:case 219:return 61;case 268:return 4;case 172:return t.initializer?4:0;case 299:case 248:case 249:case 250:case 269:return 34;case 241:return Co(t.parent)||zl(t.parent)?0:34}return 0}function UY(t,u){var s,d,f,p;const E=(d=(s=ur(t,UE))==null?void 0:s.locals)==null?void 0:d.get(u);if(E)return E.exportSymbol??E;if(la(t)&&t.jsGlobalAugmentations&&t.jsGlobalAugmentations.has(u))return t.jsGlobalAugmentations.get(u);if(Zg(t))return(p=(f=t.symbol)==null?void 0:f.exports)==null?void 0:p.get(u)}var Nde,Pde,set,pPt=o({"src/compiler/binder.ts"(){Bo(),Wy(),Nde=(t=>(t[t.NonInstantiated=0]="NonInstantiated",t[t.Instantiated=1]="Instantiated",t[t.ConstEnumOnly=2]="ConstEnumOnly",t))(Nde||{}),Pde=(t=>(t[t.None=0]="None",t[t.IsContainer=1]="IsContainer",t[t.IsBlockScopedContainer=2]="IsBlockScopedContainer",t[t.IsControlFlowContainer=4]="IsControlFlowContainer",t[t.IsFunctionLike=8]="IsFunctionLike",t[t.IsFunctionExpression=16]="IsFunctionExpression",t[t.HasLocals=32]="HasLocals",t[t.IsInterface=64]="IsInterface",t[t.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor",t))(Pde||{}),set=hPt()}});function BAe(t,u,s,d,f,p,E,v,b,B){return k;function k(T=()=>!0){const M=[],z=[];return{walkType:Se=>{try{return j(Se),{visitedTypes:U1(M),visitedSymbols:U1(z)}}finally{pu(M),pu(z)}},walkSymbol:Se=>{try{return ve(Se),{visitedTypes:U1(M),visitedSymbols:U1(z)}}finally{pu(M),pu(z)}}};function j(Se){if(!(!Se||M[Se.id]||(M[Se.id]=Se,ve(Se.symbol)))){if(Se.flags&524288){const pe=Se,fe=pe.objectFlags;fe&4&&J(Se),fe&32&&ge(Se),fe&3&&Ce(Se),fe&24&&ne(pe)}Se.flags&262144&&K(Se),Se.flags&3145728&&Y(Se),Se.flags&4194304&&oe(Se),Se.flags&8388608&&se(Se)}}function J(Se){j(Se.target),L(B(Se),j)}function K(Se){j(v(Se))}function Y(Se){L(Se.types,j)}function oe(Se){j(Se.type)}function se(Se){j(Se.objectType),j(Se.indexType),j(Se.constraint)}function ge(Se){j(Se.typeParameter),j(Se.constraintType),j(Se.templateType),j(Se.modifiersType)}function ae(Se){const Ne=u(Se);Ne&&j(Ne.type),L(Se.typeParameters,j);for(const pe of Se.parameters)ve(pe);j(t(Se)),j(s(Se))}function Ce(Se){ne(Se),L(Se.typeParameters,j),L(d(Se),j),j(Se.thisType)}function ne(Se){const Ne=f(Se);for(const pe of Ne.indexInfos)j(pe.keyType),j(pe.type);for(const pe of Ne.callSignatures)ae(pe);for(const pe of Ne.constructSignatures)ae(pe);for(const pe of Ne.properties)ve(pe)}function ve(Se){if(!Se)return!1;const Ne=Zo(Se);if(z[Ne])return!1;if(z[Ne]=Se,!T(Se))return!0;const pe=p(Se);return j(pe),Se.exports&&Se.exports.forEach(ve),L(Se.declarations,fe=>{if(fe.type&&fe.type.kind===186){const xe=fe.type,Be=E(b(xe.exprName));ve(Be)}}),!1}}}var gPt=o({"src/compiler/symbolWalker.ts"(){Bo()}});function Mde({importModuleSpecifierPreference:t,importModuleSpecifierEnding:u},s,d,f){const p=E();return{relativePreference:f!==void 0?Id(f)?0:1:t==="relative"?0:t==="non-relative"?1:t==="project-relative"?3:2,getAllowedEndingsInPreferredOrder:v=>{if((v??d.impliedNodeFormat)===99)return $B(s,d.fileName)?[3,2]:[2];if(p1(s)===1)return p===2?[2,1]:[1,2];const b=$B(s,d.fileName);switch(p){case 2:return b?[2,3,0,1]:[2,0,1];case 3:return[3,0,2,1];case 1:return b?[1,0,3,2]:[1,0,2];case 0:return b?[0,1,3,2]:[0,1,2];default:H.assertNever(p)}}};function E(){if(f!==void 0){if(z2(f))return 2;if(sc(f,"/index"))return 1}return Sle(u,d.impliedNodeFormat,s,d)}}function EPt(t,u,s,d,f,p,E={}){const v=cet(t,u,s,d,f,Mde({},t,u,p),{},E);if(v!==p)return v}function qY(t,u,s,d,f,p={}){return cet(t,u,s,d,f,Mde({},t,u),{},p)}function _Pt(t,u,s,d,f,p={}){const E=wAe(u.path,d),v=_et(u.path,s,d,f,p);return G(v,b=>TAe(b,E,u,d,t,f,!0,p.overrideImportMode))}function cet(t,u,s,d,f,p,E,v={}){const b=wAe(s,f),B=_et(s,d,f,E,v);return G(B,k=>TAe(k,b,u,f,t,E,void 0,v.overrideImportMode))||met(d,b,t,f,v.overrideImportMode||u.impliedNodeFormat,p)}function DPt(t,u,s,d,f={}){return det(t,u,s,d,f)[0]}function det(t,u,s,d,f={}){var p;const E=YU(t);if(!E)return _t;const v=(p=s.getModuleSpecifierCache)==null?void 0:p.call(s),b=v==null?void 0:v.get(u.path,E.path,d,f);return[b==null?void 0:b.moduleSpecifiers,E,b==null?void 0:b.modulePaths,v]}function het(t,u,s,d,f,p,E={}){return fet(t,u,s,d,f,p,E,!1).moduleSpecifiers}function fet(t,u,s,d,f,p,E={},v){let b=!1;const B=vPt(t,u);if(B)return{moduleSpecifiers:[B],computedWithoutCache:b};let[k,T,M,z]=det(t,d,f,p,E);if(k)return{moduleSpecifiers:k,computedWithoutCache:b};if(!T)return{moduleSpecifiers:_t,computedWithoutCache:b};b=!0,M||(M=Det(d.path,T.originalFileName,f));const j=xPt(M,s,d,f,p,E,v);return z==null||z.set(d.path,T.path,p,E,M,j),{moduleSpecifiers:j,computedWithoutCache:b}}function xPt(t,u,s,d,f,p={},E){const v=wAe(s.path,d),b=Mde(f,u,s),B=L(t,J=>L(d.getFileIncludeReasons().get(J0(J.path,d.getCurrentDirectory(),v.getCanonicalFileName)),K=>{if(K.kind!==3||K.file!==s.path||s.impliedNodeFormat&&s.impliedNodeFormat!==k1e(s,K.index))return;const Y=TQ(s,K.index).text;return b.relativePreference!==1||!om(Y)?Y:void 0}));if(B)return[B];const k=Oe(t,J=>J.isInNodeModules);let T,M,z,j;for(const J of t){const K=J.isInNodeModules?TAe(J,v,s,d,u,f,void 0,p.overrideImportMode):void 0;if(T=xi(T,K),K&&J.isRedirect)return T;if(!K){const Y=met(J.path,v,u,d,p.overrideImportMode||s.impliedNodeFormat,b,J.isRedirect);if(!Y)continue;J.isRedirect?z=xi(z,Y):kse(Y)?M=xi(M,Y):(E||!k||J.isInNodeModules)&&(j=xi(j,Y))}}return M!=null&&M.length?M:z!=null&&z.length?z:T!=null&&T.length?T:H.checkDefined(j)}function wAe(t,u){const s=L1(u.useCaseSensitiveFileNames?u.useCaseSensitiveFileNames():!0),d=lr(t);return{getCanonicalFileName:s,importingSourceFileName:t,sourceDirectory:d}}function met(t,u,s,d,f,{getAllowedEndingsInPreferredOrder:p,relativePreference:E},v){const{baseUrl:b,paths:B,rootDirs:k}=s;if(v&&!B)return;const{sourceDirectory:T,getCanonicalFileName:M}=u,z=p(f),j=k&&CPt(k,t,T,M,z,s)||cH(h2(JE(T,t,M)),z,s);if(!b&&!B||E===0)return v?void 0:j;const J=$a(zq(s,d)||b,d.getCurrentDirectory()),K=bet(t,J,M);if(!K)return v?void 0:j;const Y=B&&xet(K,B,z,d,s);if(v)return Y;const oe=Y===void 0&&b!==void 0?cH(K,z,s):Y;if(!oe)return j;if(E===1&&!om(oe))return oe;if(E===3&&!om(oe)){const se=s.configFilePath?J0(lr(s.configFilePath),d.getCurrentDirectory(),u.getCanonicalFileName):u.getCanonicalFileName(d.getCurrentDirectory()),ge=J0(t,se,M),ae=Pa(T,se),Ce=Pa(ge,se);if(ae&&!Ce||!ae&&Ce)return oe;const ne=get(d,lr(ge));return get(d,T)!==ne?oe:j}return yet(oe)||ZY(j)t.fileExists(cr(s,"package.json"))?!0:void 0)}function Eet(t,u,s,d,f){var p;const E=n5(s),v=s.getCurrentDirectory(),b=s.isSourceOfProjectReferenceRedirect(u)?s.getProjectReferenceRedirect(u):void 0,B=J0(u,v,E),k=s.redirectTargetsMap.get(B)||_t,M=[...b?[b]:_t,u,...k].map(Y=>$a(Y,v));let z=!ye(M,TP);if(!d){const Y=L(M,oe=>!(z&&TP(oe))&&f(oe,b===oe));if(Y)return Y}const j=(p=s.getSymlinkCache)==null?void 0:p.call(s).getSymlinkedDirectoriesByRealpath(),J=$a(u,v);return j&&Ug(lr(J),Y=>{const oe=j.get(zd(J0(Y,v,E)));if(oe)return Ase(t,Y,E)?!1:L(M,se=>{if(!Ase(se,Y,E))return;const ge=JE(Y,se,E);for(const ae of oe){const Ce=kx(ae,ge),ne=f(Ce,se===b);if(z=!0,ne)return ne}})})||(d?L(M,Y=>z&&TP(Y)?void 0:f(Y,Y===b)):void 0)}function _et(t,u,s,d,f={}){var p;const E=J0(u,s.getCurrentDirectory(),n5(s)),v=(p=s.getModuleSpecifierCache)==null?void 0:p.call(s);if(v){const B=v.get(t,E,d,f);if(B!=null&&B.modulePaths)return B.modulePaths}const b=Det(t,u,s);return v&&v.setModulePaths(t,E,d,f,b),b}function Det(t,u,s){const d=n5(s),f=new Map;Eet(t,u,s,!0,(E,v)=>{const b=q7(E);f.set(E,{path:d(E),isRedirect:v,isInNodeModules:b})});const p=[];for(let E=lr(t);f.size!==0;){const v=zd(E);let b;f.forEach(({path:k,isRedirect:T,isInNodeModules:M},z)=>{Pa(k,v)&&((b||(b=[])).push({path:z,isRedirect:T,isInNodeModules:M}),f.delete(z))}),b&&(b.length>1&&b.sort(pet),p.push(...b));const B=lr(E);if(B===E)break;E=B}if(f.size){const E=ga(f.values());E.length>1&&E.sort(pet),p.push(...E)}return p}function vPt(t,u){var s;const d=(s=t.declarations)==null?void 0:s.find(E=>m0e(E)&&(!v2(E)||!Id(J4(E.name))));if(d)return d.name.text;const p=qi(t.declarations,E=>{var v,b,B,k;if(!_c(E))return;const T=J(E);if(!((v=T==null?void 0:T.parent)!=null&&v.parent&&rE(T.parent)&&N1(T.parent.parent)&&la(T.parent.parent.parent)))return;const M=(k=(B=(b=T.parent.parent.symbol.exports)==null?void 0:b.get("export="))==null?void 0:B.valueDeclaration)==null?void 0:k.expression;if(!M)return;const z=u.getSymbolAtLocation(M);if(!z)return;if(((z==null?void 0:z.flags)&2097152?u.getAliasedSymbol(z):z)===E.symbol)return T.parent.parent;function J(K){for(;K.flags&8;)K=K.parent;return K}})[0];if(p)return p.name.text}function xet(t,u,s,d,f){for(const E in u)for(const v of u[E]){const b=$o(v),B=b.indexOf("*"),k=s.map(T=>({ending:T,value:cH(t,[T],f)}));if(t3(b)&&k.push({ending:void 0,value:t}),B!==-1){const T=b.substring(0,B),M=b.substring(B+1);for(const{ending:z,value:j}of k)if(j.length>=T.length+M.length&&Pa(j,T)&&sc(j,M)&&p({ending:z,value:j})){const J=j.substring(T.length,j.length-M.length);if(!om(J))return E.replace("*",J)}}else if(Oe(k,T=>T.ending!==0&&b===T.value)||Oe(k,T=>T.ending===0&&b===T.value&&p(T)))return E}function p({ending:E,value:v}){return E!==0||v===cH(t,[E],f,d)}}function zde(t,u,s,d,f,p,E=0){if(typeof f=="string"){const v=$a(cr(s,f),void 0),b=mk(u)?_h(u)+Ide(u,t):void 0;switch(E){case 0:if(pv(u,v)===0||b&&pv(b,v)===0)return{moduleFileToTry:d};break;case 1:if(GE(v,u)){const M=JE(v,u,!1);return{moduleFileToTry:$a(cr(cr(d,f),M),void 0)}}break;case 2:const B=v.indexOf("*"),k=v.slice(0,B),T=v.slice(B+1);if(Pa(u,k)&&sc(u,T)){const M=u.slice(k.length,u.length-T.length);return{moduleFileToTry:d.replace("*",M)}}if(b&&Pa(b,k)&&sc(b,T)){const M=b.slice(k.length,b.length-T.length);return{moduleFileToTry:d.replace("*",M)}}break}}else{if(Array.isArray(f))return L(f,v=>zde(t,u,s,d,v,p));if(typeof f=="object"&&f!==null){if(JY(f))return L(Ns(f),v=>{const b=$a(cr(d,v),void 0),B=sc(v,"/")?1:v.includes("*")?2:0;return zde(t,u,s,b,f[v],p,B)});for(const v of Ns(f))if(v==="default"||p.includes(v)||sH(p,v)){const b=f[v],B=zde(t,u,s,d,b,p,E);if(B)return B}}}}function CPt(t,u,s,d,f,p){const E=vet(u,t,d);if(E===void 0)return;const v=vet(s,t,d),b=ju(v,k=>Vt(E,T=>h2(JE(k,T,d)))),B=ooe(b,iV);if(B)return cH(B,f,p)}function TAe({path:t,isRedirect:u},{getCanonicalFileName:s,sourceDirectory:d},f,p,E,v,b,B){if(!p.fileExists||!p.readFile)return;const k=pZ(t);if(!k)return;const M=Mde(v,E,f).getAllowedEndingsInPreferredOrder();let z=t,j=!1;if(!b){let ge=k.packageRootIndex,ae;for(;;){const{moduleFileToTry:Ce,packageRootPath:ne,blockedByExports:ve,verbatimFromExports:Se}=se(ge);if(p1(E)!==1){if(ve)return;if(Se)return Ce}if(ne){z=ne,j=!0;break}if(ae||(ae=Ce),ge=t.indexOf(rl,ge+1),ge===-1){z=cH(ae,M,E,p);break}}}if(u&&!j)return;const J=p.getGlobalTypingsCacheLocation&&p.getGlobalTypingsCacheLocation(),K=s(z.substring(0,k.topLevelNodeModulesIndex));if(!(Pa(d,K)||J&&Pa(s(J),K)))return;const Y=z.substring(k.topLevelPackageNameIndex+1),oe=hM(Y);return p1(E)===1&&oe===Y?void 0:oe;function se(ge){var ae,Ce;const ne=t.substring(0,ge),ve=cr(ne,"package.json");let Se=t,Ne=!1;const pe=(Ce=(ae=p.getPackageJsonInfoCache)==null?void 0:ae.call(p))==null?void 0:Ce.getPackageJsonInfo(ve);if(typeof pe=="object"||pe===void 0&&p.fileExists(ve)){const fe=(pe==null?void 0:pe.contents.packageJsonContent)||JSON.parse(p.readFile(ve)),xe=B||f.impliedNodeFormat;if(vle(E)){const Ae=ne.substring(k.topLevelPackageNameIndex+1),De=hM(Ae),Ke=$2(E,xe),Je=fe.exports?zde(E,t,ne,De,fe.exports,Ke):void 0;if(Je)return{...mk(Je.moduleFileToTry)?{moduleFileToTry:_h(Je.moduleFileToTry)+Ide(Je.moduleFileToTry,E)}:Je,verbatimFromExports:!0};if(fe.exports)return{moduleFileToTry:t,blockedByExports:!0}}const Be=fe.typesVersions?jY(fe.typesVersions):void 0;if(Be){const Ae=t.slice(ne.length+1),De=xet(Ae,Be.paths,M,p,E);De===void 0?Ne=!0:Se=cr(ne,De)}const Ge=fe.typings||fe.types||fe.main||"index.js";if(Ja(Ge)&&!(Ne&&Ble(lZ(Be.paths),Ge))){const Ae=J0(Ge,ne,s),De=s(Se);if(_h(Ae)===_h(De))return{packageRootPath:ne,moduleFileToTry:Se};if(fe.type!=="module"&&!jc(De,fV)&&Pa(De,Ae)&&lr(De)===mv(Ae)&&_h(Ac(De))==="index")return{packageRootPath:ne,moduleFileToTry:Se}}}else{const fe=s(Se.substring(k.packageRootIndex+1));if(fe==="index.d.ts"||fe==="index.js"||fe==="index.ts"||fe==="index.tsx")return{moduleFileToTry:Se,packageRootPath:ne}}return{moduleFileToTry:Se}}}function bPt(t,u){if(!t.fileExists)return;const s=Va(kP({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]));for(const d of s){const f=u+d;if(t.fileExists(f))return f}}function vet(t,u,s){return qi(u,d=>{const f=bet(t,d,s);return f!==void 0&&yet(f)?void 0:f})}function cH(t,u,s,d){if(jc(t,[".json",".mjs",".cjs"]))return t;const f=_h(t);if(t===f)return t;const p=u.indexOf(2),E=u.indexOf(3);if(jc(t,[".mts",".cts"])&&E!==-1&&EB===0||B===1);return b!==-1&&bZY,forEachFileNameOfModule:()=>Eet,getModuleSpecifier:()=>qY,getModuleSpecifiers:()=>het,getModuleSpecifiersWithCacheInfo:()=>fet,getNodeModulesPackageName:()=>_Pt,tryGetJSExtensionForFile:()=>Ide,tryGetModuleSpecifiersFromCache:()=>DPt,tryGetRealFileNameForNonJsDeclarationFileName:()=>Cet,updateModuleSpecifier:()=>EPt});var NAe=o({"src/compiler/_namespaces/ts.moduleSpecifiers.ts"(){ket()}});function yPt(){this.flags=0}function $s(t){return t.id||(t.id=zAe,zAe++),t.id}function Zo(t){return t.id||(t.id=MAe,MAe++),t.id}function Rde(t,u){const s=oD(t);return s===1||u&&s===2}function PAe(t){var u=[],s=l=>{u.push(l)},d,f=new Set,p,E,v=Qd.getSymbolConstructor(),b=Qd.getTypeConstructor(),B=Qd.getSignatureConstructor(),k=0,T=0,M=0,z=0,j=0,J=0,K,Y,oe=!1,se=Vo(),ge=[1],ae=t.getCompilerOptions(),Ce=Os(ae),ne=m1(ae),ve=!!ae.experimentalDecorators,Se=eV(ae),Ne=ake(ae),pe=C7(ae),fe=Z4(ae,"strictNullChecks"),xe=Z4(ae,"strictFunctionTypes"),Be=Z4(ae,"strictBindCallApply"),Ge=Z4(ae,"strictPropertyInitialization"),Ae=Z4(ae,"noImplicitAny"),De=Z4(ae,"noImplicitThis"),Ke=Z4(ae,"useUnknownInCatchVariables"),Je=!!ae.keyofStringsOnly,ft=Je?1:0,Ye=ae.suppressExcessPropertyErrors?0:8192,Ve=ae.exactOptionalPropertyTypes,We=Kai(),Gt=vli(),Yt=cF(),Ie=Vo(),st=Hs(4,"undefined");st.declarations=[];var St=Hs(1536,"globalThis",8);St.exports=Ie,St.declarations=[],Ie.set(St.escapedName,St);var It=Hs(4,"arguments"),ei=Hs(4,"require"),ht=ae.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules",Ut=!ae.verbatimModuleSyntax||!!ae.importsNotUsedAsValues,Ni,ji,xn=0,Jn,an=0;const Pi={getNodeCount:()=>nn(t.getSourceFiles(),(l,m)=>l+m.nodeCount,0),getIdentifierCount:()=>nn(t.getSourceFiles(),(l,m)=>l+m.identifierCount,0),getSymbolCount:()=>nn(t.getSourceFiles(),(l,m)=>l+m.symbolCount,T),getTypeCount:()=>k,getInstantiationCount:()=>M,getRelationCacheSizes:()=>({assignable:Jf.size,identity:Em.size,subtype:h_.size,strictSubtype:p4.size}),isUndefinedSymbol:l=>l===st,isArgumentsSymbol:l=>l===It,isUnknownSymbol:l=>l===Xt,getMergedSymbol:Ks,getDiagnostics:O4t,getGlobalDiagnostics:I0i,getRecursionIdentity:iEe,getUnmatchedProperties:uMe,getTypeOfSymbolAtLocation:(l,m)=>{const D=Ua(m);return D?Mni(l,D):Ot},getTypeOfSymbol:Wn,getSymbolsOfParameterPropertyDeclaration:(l,m)=>{const D=Ua(l,io);return D===void 0?H.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(H.assert(Mf(D,D.parent)),Iw(D,Al(m)))},getDeclaredTypeOfSymbol:X0,getPropertiesOfType:n0,getPropertyOfType:(l,m)=>qo(l,Al(m)),getPrivateIdentifierPropertyOfType:(l,m,D)=>{const C=Ua(D);if(!C)return;const A=Al(m),w=LEe(A,C);return w?KMe(l,w):void 0},getTypeOfPropertyOfType:(l,m)=>he(l,Al(m)),getIndexInfoOfType:(l,m)=>k3(l,m===0?ct:Qt),getIndexInfosOfType:kh,getIndexInfosOfIndexSymbol:tPe,getSignaturesOfType:go,getIndexTypeOfType:(l,m)=>yC(l,m===0?ct:Qt),getIndexType:l=>k_(l),getBaseTypes:Zc,getBaseTypeOfLiteralType:kD,getWidenedType:vm,getTypeFromTypeNode:l=>{const m=Ua(l,Qr);return m?Ar(m):Ot},getParameterType:Lg,getParameterIdentifierInfoAtPosition:oai,getPromisedTypeOfPromise:NW,getAwaitedType:l=>NF(l),getReturnTypeOfSignature:Zs,isNullableType:tie,getNullableType:aEe,getNonNullableType:FD,getNonOptionalType:oEe,getTypeArguments:O0,typeToTypeNode:Yt.typeToTypeNode,indexInfoToIndexSignatureDeclaration:Yt.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:Yt.signatureToSignatureDeclaration,symbolToEntityName:Yt.symbolToEntityName,symbolToExpression:Yt.symbolToExpression,symbolToNode:Yt.symbolToNode,symbolToTypeParameterDeclarations:Yt.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:Yt.symbolToParameterDeclaration,typeParameterToDeclaration:Yt.typeParameterToDeclaration,getSymbolsInScope:(l,m)=>{const D=Ua(l);return D?R0i(D,m):[]},getSymbolAtLocation:l=>{const m=Ua(l);return m?Yp(m,!0):void 0},getIndexInfosAtLocation:l=>{const m=Ua(l);return m?J0i(m):void 0},getShorthandAssignmentValueSymbol:l=>{const m=Ua(l);return m?$0i(m):void 0},getExportSpecifierLocalTargetSymbol:l=>{const m=Ua(l,eh);return m?U0i(m):void 0},getExportSymbolOfSymbol(l){return Ks(l.exportSymbol||l)},getTypeAtLocation:l=>{const m=Ua(l);return m?tS(m):Ot},getTypeOfAssignmentPattern:l=>{const m=Ua(l,KN);return m&&a_e(m)||Ot},getPropertySymbolOfDestructuringAssignment:l=>{const m=Ua(l,at);return m?q0i(m):void 0},signatureToString:(l,m,D,C)=>vE(l,Ua(m),D,C),typeToString:(l,m,D)=>gn(l,Ua(m),D),symbolToString:(l,m,D,C)=>Fr(l,Ua(m),D,C),typePredicateToString:(l,m,D)=>E_(l,Ua(m),D),writeSignature:(l,m,D,C,A)=>vE(l,Ua(m),D,C,A),writeType:(l,m,D,C)=>gn(l,Ua(m),D,C),writeSymbol:(l,m,D,C,A)=>Fr(l,Ua(m),D,C,A),writeTypePredicate:(l,m,D,C)=>E_(l,Ua(m),D,C),getAugmentedPropertiesOfType:Gze,getRootSymbols:$4t,getSymbolOfExpando:jEe,getContextualType:(l,m)=>{const D=Ua(l,Wt);if(D)return m&4?aa(D,()=>hf(D,m)):hf(D,m)},getContextualTypeForObjectLiteralElement:l=>{const m=Ua(l,Z3);return m?BMe(m,void 0):void 0},getContextualTypeForArgumentAtIndex:(l,m)=>{const D=Ua(l,D2);return D&&SMe(D,m)},getContextualTypeForJsxAttribute:l=>{const m=Ua(l,KU);return m&&lft(m,void 0)},isContextSensitive:k4,getTypeOfPropertyOfContextualType:Ob,getFullyQualifiedName:op,getResolvedSignature:(l,m,D)=>yr(l,m,D,0),getCandidateSignaturesForStringLiteralCompletions:Ai,getResolvedSignatureForSignatureHelp:(l,m,D)=>Zu(l,()=>yr(l,m,D,16)),getExpandedParameters:fdt,hasEffectiveRestParameter:F_,containsArgumentsReference:XNe,getConstantValue:l=>{const m=Ua(l,Q4t);return m?Jze(m):void 0},isValidPropertyAccess:(l,m)=>{const D=Ua(l,abe);return!!D&&Eri(D,Al(m))},isValidPropertyAccessForCompletions:(l,m,D)=>{const C=Ua(l,Iu);return!!C&&Oft(C,m,D)},getSignatureFromDeclaration:l=>{const m=Ua(l,Co);return m?dp(m):void 0},isImplementationOfOverload:l=>{const m=Ua(l,Co);return m?Z4t(m):void 0},getImmediateAliasedSymbol:PMe,getAliasedSymbol:md,getEmitResolver:jd,getExportsOfModule:L5,getExportsAndPropertiesOfModule:cz,forEachExportAndPropertyOfModule:P9,getSymbolWalker:BAe(nei,y4,Zs,Zc,Ag,Wn,Zp,rh,hm,O0),getAmbientModules:cci,getJsxIntrinsicTagNamesAt:Zui,isOptionalParameter:l=>{const m=Ua(l,io);return m?uW(m):!1},tryGetMemberInModuleExports:(l,m)=>M9(Al(l),m),tryGetMemberInModuleExportsAndProperties:(l,m)=>z9(Al(l),m),tryFindAmbientModule:l=>kge(l,!0),tryFindAmbientModuleWithoutAugmentations:l=>kge(l,!1),getApparentType:Gh,getUnionType:er,isTypeAssignableTo:ms,createAnonymousType:Ol,createSignature:y3,createSymbol:Hs,createIndexInfo:y_,getAnyType:()=>me,getStringType:()=>ct,getStringLiteralType:df,getNumberType:()=>Qt,getNumberLiteralType:wg,getBigIntType:()=>Li,createPromiseType:die,createArrayType:V1,getElementTypeOfArrayType:WPe,getBooleanType:()=>pr,getFalseType:l=>l?Ui:Sn,getTrueType:l=>l?du:Ru,getVoidType:()=>ca,getUndefinedType:()=>te,getNullType:()=>it,getESSymbolType:()=>Xu,getNeverType:()=>Ku,getOptionalType:()=>X,getPromiseType:()=>Fte(!1),getPromiseLikeType:()=>e1t(!1),getAsyncIterableType:()=>{const l=Mge(!1);if(l!==Ka)return l},isSymbolAccessible:yu,isArrayType:A4,isTupleType:xs,isArrayLikeType:H5,isEmptyAnonymousObjectType:yD,isTypeInvalidDueToUnionDiscriminant:RXt,getExactOptionalProperties:dii,getAllPossiblePropertiesOfTypes:OXt,getSuggestedSymbolForNonexistentProperty:JMe,getSuggestionForNonexistentProperty:$Me,getSuggestedSymbolForNonexistentJSXAttribute:Ift,getSuggestedSymbolForNonexistentSymbol:(l,m,D)=>UMe(l,Al(m),D),getSuggestionForNonexistentSymbol:(l,m,D)=>fri(l,Al(m),D),getSuggestedSymbolForNonexistentModule:PEe,getSuggestionForNonexistentExport:mri,getSuggestedSymbolForNonexistentClassMember:zft,getBaseConstraintOfType:Wh,getDefaultFromTypeParameter:l=>l&&l.flags&262144?_F(l):void 0,resolveName(l,m,D,C){return uc(m,Al(l),D,void 0,void 0,!1,C)},getJsxNamespace:l=>Yr(uC(l)),getJsxFragmentFactory:l=>{const m=Uze(l);return m&&Yr(hm(m).escapedText)},getAccessibleSymbolChain:_C,getTypePredicateOfSignature:y4,resolveExternalModuleName:l=>{const m=Ua(l,Wt);return m&&Kh(m,m,!0)},resolveExternalModuleSymbol:_m,tryGetThisTypeAt:(l,m,D)=>{const C=Ua(l);return C&&yMe(C,m,D)},getTypeArgumentConstraint:l=>{const m=Ua(l,Qr);return m&&voi(m)},getSuggestionDiagnostics:(l,m)=>{const D=Ua(l,la)||H.fail("Could not determine parsed source file.");if(AP(D,ae,t))return _t;let C;try{return d=m,Kze(D),H.assert(!!(ar(D).flags&1)),C=yn(C,Zk.getDiagnostics(D.fileName)),t4t(R4t(D),(A,w,I)=>{!O8(A)&&!I4t(w,!!(A.flags&33554432))&&(C||(C=[])).push({...I,category:2})}),C||_t}finally{d=void 0}},runWithCancellationToken:(l,m)=>{try{return d=l,m(Pi)}finally{d=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:sn,isDeclarationVisible:pD,isPropertyAccessible:ZMe,getTypeOnlyAliasDeclaration:_4,getMemberOverrideModifierStatus:Xsi,isTypeParameterPossiblyReferenced:Lte,typeHasCallOrConstructSignatures:o_e};function Ai(l,m){const D=new Set,C=[];aa(m,()=>yr(l,C,void 0,0));for(const A of C)D.add(A);C.length=0,Zu(m,()=>yr(l,C,void 0,0));for(const A of C)D.add(A);return ga(D)}function Zu(l,m){if(l=Tn(l,Xse),l){const D=[],C=[];for(;l;){const w=ar(l);if(D.push([w,w.resolvedSignature]),w.resolvedSignature=void 0,R2(l)){const I=Ur(_u(l)),U=I.type;C.push([I,U]),I.type=void 0}l=Tn(l.parent,Xse)}const A=m();for(const[w,I]of D)w.resolvedSignature=I;for(const[w,I]of C)w.type=I;return A}return m()}function aa(l,m){const D=Tn(l,D2);if(D){let A=l;do ar(A).skipDirectInference=!0,A=A.parent;while(A&&A!==D)}oe=!0;const C=Zu(l,m);if(oe=!1,D){let A=l;do ar(A).skipDirectInference=void 0,A=A.parent;while(A&&A!==D)}return C}function yr(l,m,D,C){const A=Ua(l,D2);Ni=D;const w=A?mT(A,m,C):void 0;return Ni=void 0,w}var Ba=new Map,bt=new Map,jn=new Map,Ln=new Map,Si=new Map,Dn=new Map,Cn=new Map,tu=new Map,oa=new Map,Da=new Map,ua=new Map,Ta=new Map,Yo=new Map,bo=new Map,Qe=new Map,Et=[],Mt=new Map,qt=new Set,Xt=Hs(4,"unknown"),Pe=Hs(0,"__resolving__"),et=new Map,gt=new Map,ii=new Set,me=Pc(1,"any"),ni=Pc(1,"any",262144,"auto"),vi=Pc(1,"any",void 0,"wildcard"),mt=Pc(1,"any",void 0,"blocked string"),Ot=Pc(1,"error"),Ei=Pc(1,"unresolved"),$i=Pc(1,"any",65536,"non-inferrable"),Qi=Pc(1,"intrinsic"),on=Pc(2,"unknown"),le=Pc(2,"unknown",void 0,"non-null"),te=Pc(32768,"undefined"),we=fe?te:Pc(32768,"undefined",65536,"widening"),de=Pc(32768,"undefined",void 0,"missing"),je=Ve?de:te,X=Pc(32768,"undefined",void 0,"optional"),it=Pc(65536,"null"),Ct=fe?it:Pc(65536,"null",65536,"widening"),ct=Pc(4,"string"),Qt=Pc(8,"number"),Li=Pc(64,"bigint"),Ui=Pc(512,"false",void 0,"fresh"),Sn=Pc(512,"false"),du=Pc(512,"true",void 0,"fresh"),Ru=Pc(512,"true");du.regularType=Ru,du.freshType=du,Ru.regularType=Ru,Ru.freshType=du,Ui.regularType=Sn,Ui.freshType=Ui,Sn.regularType=Sn,Sn.freshType=Ui;var pr=er([Sn,Ru]),Xu=Pc(4096,"symbol"),ca=Pc(16384,"void"),Ku=Pc(131072,"never"),ja=Pc(131072,"never",262144,"silent"),wn=Pc(131072,"never",void 0,"implicit"),Ir=Pc(131072,"never",void 0,"unreachable"),as=Pc(67108864,"object"),wo=er([ct,Qt]),Fn=er([ct,Qt,Xu]),vc=Je?ct:Fn,Ya=er([Qt,Li]),c0=er([ct,Qt,pr,Li,it,te]),Ul=xF(["",""],[Qt]),wl=Tte(l=>l.flags&262144?Rti(l):l,()=>"(restrictive mapper)"),hd=Tte(l=>l.flags&262144?vi:l,()=>"(permissive mapper)"),vl=Pc(131072,"never",void 0,"unique literal"),co=Tte(l=>l.flags&262144?vl:l,()=>"(unique literal mapper)"),Ho,id=Tte(l=>(Ho&&(l===sf||l===Q0||l===Cc)&&Ho(!0),l),()=>"(unmeasurable reporter)"),Y0=Tte(l=>(Ho&&(l===sf||l===Q0||l===Cc)&&Ho(!1),l),()=>"(unreliable reporter)"),Ko=Ol(void 0,se,_t,_t,_t),Tc=Ol(void 0,se,_t,_t,_t);Tc.objectFlags|=2048;var Jp=Hs(2048,"__type");Jp.members=Vo();var Lc=Ol(Jp,se,_t,_t,_t),Il=Ol(void 0,se,_t,_t,_t),cl=fe?er([te,it,Il]):on,Ka=Ol(void 0,se,_t,_t,_t);Ka.instantiations=new Map;var Ri=Ol(void 0,se,_t,_t,_t);Ri.objectFlags|=262144;var dl=Ol(void 0,se,_t,_t,_t),Uc=Ol(void 0,se,_t,_t,_t),Ch=Ol(void 0,se,_t,_t,_t),sf=j1(),Q0=j1();Q0.constraint=sf;var Cc=j1(),$=j1(),tt=j1();tt.constraint=$;var vt=yte(1,"<>",0,me),mi=y3(void 0,void 0,void 0,_t,me,void 0,0,0),fn=y3(void 0,void 0,void 0,_t,Ot,void 0,0,0),Wu=y3(void 0,void 0,void 0,_t,me,void 0,0,0),uu=y3(void 0,void 0,void 0,_t,ja,void 0,0,0),Tu=y_(Qt,ct,!0),Nr=new Map,Vu={get yieldType(){return H.fail("Not supported")},get returnType(){return H.fail("Not supported")},get nextType(){return H.fail("Not supported")}},Ss=J5(me,me,me),ic=J5(me,me,on),nd=J5(Ku,me,te),S0={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:_ei,getGlobalIterableType:Mge,getGlobalIterableIteratorType:Dei,getGlobalGeneratorType:xei,resolveIterationType:(l,m)=>NF(l,m,F.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),mustHaveANextMethodDiagnostic:F.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:F.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:F.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},ud={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:vei,getGlobalIterableType:lPe,getGlobalIterableIteratorType:Cei,getGlobalGeneratorType:bei,resolveIterationType:(l,m)=>l,mustHaveANextMethodDiagnostic:F.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:F.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:F.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},m0,Bd=new Map,Oh=[],uh,h4,D1,He,di,Mn,ba,Fo,To,nc,fc,Cl,Tl,bc,ql,Nc,ip,Jm,jh,f4,c3,c_,C5,R1,d3,Wf,m4,Vh,Ee,Bt,Di,Ci,Q,Me,wt,ki,In,tr,ir,ha,os,ss,Rl,x1,fd,$m,_s,np,Um,h3,d_,ta,Xx,e6,bg,sb,b5=new Map,Xe=0,Dt=0,oi=0,Ti=!1,Xi=0,Rn,tn,bn,kr=[],Cu=[],bu=[],Eu=0,sa=[],p0=[],o0=0,Gf=df(""),eC=wg(0),t6=jge({negative:!1,base10Value:"0"}),cD=[],i6=[],Gk=[],lb=0,Jk=!1,$k=0,az=10,D9=[],ww=[],tC=[],x9=[],v9=[],Tw=[],Uk=[],Lw=[],C9=[],b9=[],qk=[],cb=[],db=[],iC=[],y5=[],hb=[],fE=[],Vs=rB(),Zk=rB(),Nw=Gw(),n6,k5,h_=new Map,p4=new Map,Jf=new Map,Hh=new Map,Em=new Map,nC=new Map,Pw=Vo();Pw.set(st.escapedName,st);var y9=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",ae.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return Cli(),Pi;function Yk(l){return l?Qe.get(l):void 0}function fb(l,m){return l&&Qe.set(l,m),m}function uC(l){if(l){const m=zn(l);if(m)if(V7(l)){if(m.localJsxFragmentNamespace)return m.localJsxFragmentNamespace;const D=m.pragmas.get("jsxfrag");if(D){const A=Ha(D)?D[0]:D;if(m.localJsxFragmentFactory=G7(A.arguments.factory,Ce),yt(m.localJsxFragmentFactory,rC,sm),m.localJsxFragmentFactory)return m.localJsxFragmentNamespace=hm(m.localJsxFragmentFactory).escapedText}const C=Uze(l);if(C)return m.localJsxFragmentFactory=C,m.localJsxFragmentNamespace=hm(C).escapedText}else{const D=Qk(m);if(D)return m.localJsxNamespace=D}}return n6||(n6="React",ae.jsxFactory?(k5=G7(ae.jsxFactory,Ce),yt(k5,rC),k5&&(n6=hm(k5).escapedText)):ae.reactNamespace&&(n6=Al(ae.reactNamespace))),k5||(k5=q.createQualifiedName(q.createIdentifier(Yr(n6)),"createElement")),n6}function Qk(l){if(l.localJsxNamespace)return l.localJsxNamespace;const m=l.pragmas.get("jsx");if(m){const D=Ha(m)?m[0]:m;if(l.localJsxFactory=G7(D.arguments.factory,Ce),yt(l.localJsxFactory,rC,sm),l.localJsxFactory)return l.localJsxNamespace=hm(l.localJsxFactory).escapedText}}function rC(l){return t_(l,-1,-1),rn(l,rC,Dg)}function jd(l,m){return O4t(l,m),Gt}function F5(l,m,...D){const C=l?Su(l,m,...D):cc(m,...D),A=Vs.lookup(C);return A||(Vs.add(C),C)}function A5(l,m,D,...C){const A=pt(m,D,...C);return A.skippedOn=l,A}function f3(l,m,...D){return l?Su(l,m,...D):cc(m,...D)}function pt(l,m,...D){const C=f3(l,m,...D);return Vs.add(C),C}function i1(l,m){l?Vs.add(m):Zk.add({...m,category:2})}function g4(l,m,D,...C){if(m.pos<0||m.end<0){if(!l)return;const A=zn(m);i1(l,"message"in D?Rd(A,0,0,D,...C):b0e(A,D));return}i1(l,"message"in D?Su(m,D,...C):Y3(zn(m),m,D))}function bh(l,m,D,...C){const A=pt(l,D,...C);if(m){const w=Su(l,F.Did_you_forget_to_use_await);Es(A,w)}return A}function Mw(l,m){const D=Array.isArray(l)?L(l,Rse):Rse(l);return D&&Es(m,Su(D,F.The_declaration_was_marked_as_deprecated_here)),Zk.add(m),m}function S5(l){const m=cf(l);return m&&S(l.declarations)>1?m.flags&64?Oe(l.declarations,aC):ye(l.declarations,aC):!!l.valueDeclaration&&aC(l.valueDeclaration)||S(l.declarations)&&ye(l.declarations,aC)}function aC(l){return!!(Gb(l)&536870912)}function m3(l,m,D){const C=Su(l,F._0_is_deprecated,D);return Mw(m,C)}function oz(l,m,D,C){const A=D?Su(l,F.The_signature_0_of_1_is_deprecated,C,D):Su(l,F._0_is_deprecated,C);return Mw(m,A)}function Hs(l,m,D){T++;const C=new v(l|33554432,m);return C.links=new OAe,C.links.checkFlags=D||0,C}function yg(l,m){const D=Hs(1,l);return D.links.type=m,D}function Xk(l,m){const D=Hs(4,l);return D.links.type=m,D}function eF(l){let m=0;return l&2&&(m|=111551),l&1&&(m|=111550),l&4&&(m|=0),l&8&&(m|=900095),l&16&&(m|=110991),l&32&&(m|=899503),l&64&&(m|=788872),l&256&&(m|=899327),l&128&&(m|=899967),l&512&&(m|=110735),l&8192&&(m|=103359),l&32768&&(m|=46015),l&65536&&(m|=78783),l&262144&&(m|=526824),l&524288&&(m|=788968),l&2097152&&(m|=2097152),m}function mb(l,m){m.mergeId||(m.mergeId=IAe,IAe++),D9[m.mergeId]=l}function pb(l){const m=Hs(l.flags,l.escapedName);return m.declarations=l.declarations?l.declarations.slice():[],m.parent=l.parent,l.valueDeclaration&&(m.valueDeclaration=l.valueDeclaration),l.constEnumOnlyModule&&(m.constEnumOnlyModule=!0),l.members&&(m.members=new Map(l.members)),l.exports&&(m.exports=new Map(l.exports)),mb(m,l),m}function up(l,m,D=!1){if(!(l.flags&eF(m.flags))||(m.flags|l.flags)&67108864){if(m===l)return l;if(!(l.flags&33554432)){const A=yc(l);if(A===Xt)return m;l=pb(A)}m.flags&512&&l.flags&512&&l.constEnumOnlyModule&&!m.constEnumOnlyModule&&(l.constEnumOnlyModule=!1),l.flags|=m.flags,m.valueDeclaration&&Fj(l,m.valueDeclaration),yn(l.declarations,m.declarations),m.members&&(l.members||(l.members=Vo()),mE(l.members,m.members,D)),m.exports&&(l.exports||(l.exports=Vo()),mE(l.exports,m.exports,D)),D||mb(l,m)}else if(l.flags&1024)l!==St&&pt(m.declarations&&Za(m.declarations[0]),F.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Fr(l));else{const A=!!(l.flags&384||m.flags&384),w=!!(l.flags&2||m.flags&2),I=A?F.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:w?F.Cannot_redeclare_block_scoped_variable_0:F.Duplicate_identifier_0,U=m.declarations&&zn(m.declarations[0]),Z=l.declarations&&zn(l.declarations[0]),ce=nj(U,ae.checkJs),Fe=nj(Z,ae.checkJs),Te=Fr(m);if(U&&Z&&m0&&!A&&U!==Z){const $e=pv(U.path,Z.path)===-1?U:Z,ut=$e===U?Z:U,zt=W0(m0,`${$e.path}|${ut.path}`,()=>({firstFile:$e,secondFile:ut,conflictingSymbols:new Map})),gi=W0(zt.conflictingSymbols,Te,()=>({isBlockScoped:w,firstFileLocations:[],secondFileLocations:[]}));ce||C(gi.firstFileLocations,m),Fe||C(gi.secondFileLocations,l)}else ce||kg(m,I,Te,l),Fe||kg(l,I,Te,m)}return l;function C(A,w){if(w.declarations)for(const I of w.declarations)xa(A,I)}}function kg(l,m,D,C){L(l.declarations,A=>{p3(A,m,D,C.declarations)})}function p3(l,m,D,C){const A=(yv(l,!1)?N0e(l):Za(l))||l,w=F5(A,m,D);for(const I of C||_t){const U=(yv(I,!1)?N0e(I):Za(I))||I;if(U===A)continue;w.relatedInformation=w.relatedInformation||[];const Z=Su(U,F._0_was_also_declared_here,D),ce=Su(U,F.and_here);S(w.relatedInformation)>=5||Oe(w.relatedInformation,Fe=>bP(Fe,ce)===0||bP(Fe,Z)===0)||Es(w,S(w.relatedInformation)?ce:Z)}}function tF(l,m){if(!(l!=null&&l.size))return m;if(!(m!=null&&m.size))return l;const D=Vo();return mE(D,l),mE(D,m),D}function mE(l,m,D=!1){m.forEach((C,A)=>{const w=l.get(A);l.set(A,w?up(w,C,D):Ks(C))})}function iF(l){var m,D,C;const A=l.parent;if(((m=A.symbol.declarations)==null?void 0:m[0])!==A){H.assert(A.symbol.declarations.length>1);return}if(Yg(A))mE(Ie,A.symbol.exports);else{const w=l.parent.parent.flags&33554432?void 0:F.Invalid_module_name_in_augmentation_module_0_cannot_be_found;let I=D3(l,l,w,!0);if(!I)return;if(I=_m(I),I.flags&1920)if(Oe(h4,U=>I===U.symbol)){const U=up(A.symbol,I,!0);D1||(D1=new Map),D1.set(l.text,U)}else{if((D=I.exports)!=null&&D.get("__export")&&((C=A.symbol.exports)!=null&&C.size)){const U=PNe(I,"resolvedExports");for(const[Z,ce]of ga(A.symbol.exports.entries()))U.has(Z)&&!I.exports.has(Z)&&up(U.get(Z),ce)}up(I,A.symbol)}else pt(l,F.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,l.text)}}function zw(l,m,D){m.forEach((A,w)=>{const I=l.get(w);I?L(I.declarations,C(Yr(w),D)):l.set(w,A)});function C(A,w){return I=>Vs.add(Su(I,w,A))}}function Ur(l){if(l.flags&33554432)return l.links;const m=Zo(l);return ww[m]??(ww[m]=new OAe)}function ar(l){const m=$s(l);return tC[m]||(tC[m]=new yPt)}function pE(l){return l.kind===312&&!cm(l)}function kf(l,m,D){if(D){const C=Ks(l.get(m));if(C&&(H.assert((Gl(C)&1)===0,"Should never get an instantiated symbol here."),C.flags&D||C.flags&2097152&&O1(C)&D))return C}}function Iw(l,m){const D=l.parent,C=l.parent.parent,A=kf(D.locals,m,111551),w=kf(_6(C.symbol),m,111551);return A&&w?[A,w]:H.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function B5(l,m){const D=zn(l),C=zn(m),A=YE(l);if(D!==C){if(ne&&(D.externalModuleIndicator||C.externalModuleIndicator)||!y0(ae)||ck(m)||l.flags&33554432||I(m,l))return!0;const Z=t.getSourceFiles();return Z.indexOf(D)<=Z.indexOf(C)}if(m.flags&16777216||ck(m)||hMe(m))return!0;if(l.pos<=m.pos&&!(ko(l)&&mj(m.parent)&&!l.initializer&&!l.exclamationToken)){if(l.kind===208){const Z=Fv(m,208);return Z?Tn(Z,js)!==Tn(l,js)||l.posPs(Z)&&Z.parent.parent===l);if(ko(l))return!U(l,m,!1);if(Mf(l,l.parent))return!(Ne&&Yd(l)===Yd(m)&&I(m,l))}return!0}if(m.parent.kind===281||m.parent.kind===277&&m.parent.isExportEquals||m.kind===277&&m.isExportEquals)return!0;if(I(m,l))return Ne&&Yd(l)&&(ko(l)||Mf(l,l.parent))?!U(l,m,!0):!0;return!1;function w(Z,ce){switch(Z.parent.parent.kind){case 243:case 248:case 250:if(Eb(ce,Z,A))return!0;break}const Fe=Z.parent.parent;return M8(Fe)&&Eb(ce,Fe.expression,A)}function I(Z,ce){return!!Tn(Z,Fe=>{if(Fe===A)return"quit";if(Co(Fe))return!0;if(zl(Fe))return ce.posZ.end?!1:Tn(ce,$e=>{if($e===Z)return"quit";switch($e.kind){case 219:return!0;case 172:return Fe&&(ko(Z)&&$e.parent===Z.parent||Mf(Z,Z.parent)&&$e.parent===Z.parent.parent)?"quit":!0;case 241:switch($e.parent.kind){case 177:case 174:case 178:return!0;default:return!1}default:return!1}})===void 0}}function Rw(l,m,D){const C=Os(ae),A=m;if(io(D)&&A.body&&l.valueDeclaration&&l.valueDeclaration.pos>=A.body.pos&&l.valueDeclaration.end<=A.body.end&&C>=2){const U=ar(A);return U.declarationRequiresScopeChange===void 0&&(U.declarationRequiresScopeChange=L(A.parameters,w)||!1),!U.declarationRequiresScopeChange}return!1;function w(U){return I(U.name)||!!U.initializer&&I(U.initializer)}function I(U){switch(U.kind){case 219:case 218:case 262:case 176:return!1;case 174:case 177:case 178:case 303:return I(U.name);case 172:return Kc(U)?!Ne:I(U.name);default:return Kse(U)||Y1(U)?C<7:js(U)&&U.dotDotDotToken&&Rp(U.parent)?C<4:Qr(U)?!1:ao(U,I)||!1}}}function gb(l){return Yy(l)&&q3(l.type)||XP(l)&&q3(l.typeExpression)}function uc(l,m,D,C,A,w,I=!1,U=!0){return yh(l,m,D,C,A,w,I,U,kf)}function yh(l,m,D,C,A,w,I,U,Z){var ce,Fe,Te;const $e=l;let ut,zt,gi,Wi,dn,nu=!1;const En=l;let Ii,Nn=!1;e:for(;l;){if(m==="const"&&gb(l))return;if(QO(l)&&zt&&l.name===zt&&(zt=l,l=l.parent),UE(l)&&l.locals&&!pE(l)&&(ut=Z(l.locals,m,D))){let An=!0;if(Co(l)&&zt&&zt!==l.body?(D&ut.flags&788968&&zt.kind!==327&&(An=ut.flags&262144?zt===l.type||zt.kind===169||zt.kind===348||zt.kind===349||zt.kind===168:!1),D&ut.flags&3&&(Rw(ut,l,zt)?An=!1:ut.flags&1&&(An=zt.kind===169||zt===l.type&&!!Tn(ut.valueDeclaration,io)))):l.kind===194&&(An=zt===l.trueType),An)break e;ut=void 0}switch(nu=nu||f_(l,zt),l.kind){case 312:if(!cm(l))break;Nn=!0;case 267:const An=((ce=_u(l))==null?void 0:ce.exports)||se;if(l.kind===312||_c(l)&&l.flags&33554432&&!Yg(l)){if(ut=An.get("default")){const oo=lB(ut);if(oo&&ut.flags&D&&oo.escapedName===m)break e;ut=void 0}const hu=An.get(m);if(hu&&hu.flags===2097152&&(Sl(hu,281)||Sl(hu,280)))break}if(m!=="default"&&(ut=Z(An,m,D&2623475)))if(la(l)&&l.commonJsModuleIndicator&&!((Fe=ut.declarations)!=null&&Fe.some(G4)))ut=void 0;else break e;break;case 266:if(ut=Z(((Te=_u(l))==null?void 0:Te.exports)||se,m,D&8)){C&&mg(ae)&&!(l.flags&33554432)&&zn(l)!==zn(ut.valueDeclaration)&&pt(En,F.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,Yr(m),ht,`${Yr(Dm(l).escapedName)}.${Yr(m)}`);break e}break;case 172:if(!No(l)){const hu=Up(l.parent);hu&&hu.locals&&Z(hu.locals,m,D&111551)&&(H.assertNode(l,ko),Wi=l)}break;case 263:case 231:case 264:if(ut=Z(_u(l).members||se,m,D&788968)){if(!oC(ut,l)){ut=void 0;break}if(zt&&No(zt)){C&&pt(En,F.Static_members_cannot_reference_class_type_parameters);return}break e}if(Xd(l)&&D&32){const hu=l.name;if(hu&&m===hu.escapedText){ut=l.symbol;break e}}break;case 233:if(zt===l.expression&&l.parent.token===96){const hu=l.parent.parent;if(mr(hu)&&(ut=Z(_u(hu).members,m,D&788968))){C&&pt(En,F.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 167:if(Ii=l.parent.parent,(mr(Ii)||Ii.kind===264)&&(ut=Z(_u(Ii).members,m,D&788968))){C&&pt(En,F.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 219:if(Os(ae)>=2)break;case 174:case 176:case 177:case 178:case 262:if(D&3&&m==="arguments"){ut=It;break e}break;case 218:if(D&3&&m==="arguments"){ut=It;break e}if(D&16){const hu=l.name;if(hu&&m===hu.escapedText){ut=l.symbol;break e}}break;case 170:l.parent&&l.parent.kind===169&&(l=l.parent),l.parent&&(Zd(l.parent)||l.parent.kind===263)&&(l=l.parent);break;case 353:case 345:case 347:const _n=iP(l);_n&&(l=_n.parent);break;case 169:zt&&(zt===l.initializer||zt===l.name&&So(zt))&&(dn||(dn=l));break;case 208:zt&&(zt===l.initializer||zt===l.name&&So(zt))&&w2(l)&&!dn&&(dn=l);break;case 195:if(D&262144){const hu=l.typeParameter.name;if(hu&&m===hu.escapedText){ut=l.typeParameter.symbol;break e}}break;case 281:zt&&zt===l.propertyName&&l.parent.parent.moduleSpecifier&&(l=l.parent.parent.parent);break}g3(l)&&(gi=l),zt=l,l=_g(l)?Aq(l)||l.parent:(Eg(l)||EY(l))&&kv(l)||l.parent}if(w&&ut&&(!gi||ut!==gi.symbol)&&(ut.isReferenced|=D),!ut){if(zt&&(H.assertNode(zt,la),zt.commonJsModuleIndicator&&m==="exports"&&D&zt.symbol.flags))return zt.symbol;I||(ut=Z(Ie,m,D))}if(!ut&&$e&&Qn($e)&&$e.parent&&xf($e.parent,!1))return ei;function vn(){return Wi&&!Ne?(pt(En,En&&Wi.type&&IO(Wi.type,En.pos)?F.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:F.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,b0(Wi.name),$p(A)),!0):!1}if(ut){if(C&&vn())return}else{C&&s(()=>{if(!En||En.parent.kind!==331&&!E3(En,m,A)&&!vn()&&!Ow(En)&&!jw(En,m,D)&&!w5(En,m)&&!F9(En,m,D)&&!Vw(En,m,D)&&!gE(En,m,D)){let An,_n;if(A&&(_n=dri(A),_n&&pt(En,C,$p(A),_n)),!_n&&U&&$k{if(En&&(D&2||(D&32||D&384)&&(D&111551)===111551)){const An=sp(ut);(An.flags&2||An.flags&32||An.flags&384)&&B0(An,En)}if(ut&&Nn&&(D&111551)===111551&&!($e.flags&16777216)){const An=Ks(ut);S(An.declarations)&&ye(An.declarations,_n=>wV(_n)||la(_n)&&!!_n.symbol.globalExports)&&g4(!ae.allowUmdGlobalAccess,En,F._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,Yr(m))}if(ut&&dn&&!nu&&(D&111551)===111551){const An=Ks(yge(ut)),_n=XE(dn);An===_u(dn)?pt(En,F.Parameter_0_cannot_reference_itself,b0(dn.name)):An.valueDeclaration&&An.valueDeclaration.pos>dn.pos&&_n.parent.locals&&Z(_n.parent.locals,An.escapedName,D)===An&&pt(En,F.Parameter_0_cannot_reference_identifier_1_declared_after_it,b0(dn.name),b0(En))}if(ut&&En&&D&111551&&ut.flags&2097152&&!(ut.flags&111551)&&!Tv(En)){const An=_4(ut,111551);if(An){const _n=An.kind===281||An.kind===278||An.kind===280?F._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:F._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,hu=Yr(m);dD(pt(En,_n,hu),An,hu)}}}),ut}function dD(l,m,D){return m?Es(l,Su(m,m.kind===281||m.kind===278||m.kind===280?F._0_was_exported_here:F._0_was_imported_here,D)):l}function f_(l,m){return l.kind!==219&&l.kind!==218?bB(l)||($0(l)||l.kind===172&&!No(l))&&(!m||m!==l.name):m&&m===l.name?!1:l.asteriskToken||Yu(l,1024)?!0:!nk(l)}function g3(l){switch(l.kind){case 262:case 263:case 264:case 266:case 265:case 267:return!0;default:return!1}}function $p(l){return Ja(l)?Yr(l):b0(l)}function oC(l,m){if(l.declarations){for(const D of l.declarations)if(D.kind===168&&(_g(D.parent)?h7(D.parent):D.parent)===m)return!(_g(D.parent)&&Le(D.parent.parent.tags,G4))}return!1}function E3(l,m,D){if(!at(l)||l.escapedText!==m||j4t(l)||ck(l))return!1;const C=tf(l,!1,!1);let A=C;for(;A;){if(mr(A.parent)){const w=_u(A.parent);if(!w)break;const I=Wn(w);if(qo(I,m))return pt(l,F.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,$p(D),Fr(w)),!0;if(A===C&&!No(A)){const U=X0(w).thisType;if(qo(U,m))return pt(l,F.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,$p(D)),!0}}A=A.parent}return!1}function Ow(l){const m=m_(l);return m&&R0(m,64,!0)?(pt(l,F.Cannot_extend_an_interface_0_Did_you_mean_implements,Hc(m)),!0):!1}function m_(l){switch(l.kind){case 80:case 211:return l.parent?m_(l.parent):void 0;case 233:if(ec(l.expression))return l.expression;default:return}}function jw(l,m,D){const C=1920|(Qn(l)?111551:0);if(D===C){const A=yc(uc(l,m,788968&~C,void 0,void 0,!1)),w=l.parent;if(A){if(vf(w)){H.assert(w.left===l,"Should only be resolving left side of qualified name as a namespace");const I=w.right.escapedText;if(qo(X0(A),I))return pt(w,F.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,Yr(m),Yr(I)),!0}return pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,Yr(m)),!0}}return!1}function gE(l,m,D){if(D&788584){const C=yc(uc(l,m,111127,void 0,void 0,!1));if(C&&!(C.flags&1920))return pt(l,F._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,Yr(m)),!0}return!1}function p_(l){return l==="any"||l==="string"||l==="number"||l==="boolean"||l==="never"||l==="unknown"}function w5(l,m){return p_(m)&&l.parent.kind===281?(pt(l,F.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,m),!0):!1}function Vw(l,m,D){if(D&111551){if(p_(m)){const w=l.parent.parent;if(w&&w.parent&&mm(w)){const I=w.token,U=w.parent.kind;U===264&&I===96?pt(l,F.An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types,Yr(m)):U===263&&I===96?pt(l,F.A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values,Yr(m)):U===263&&I===119&&pt(l,F.A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types,Yr(m))}else pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,Yr(m));return!0}const C=yc(uc(l,m,788544,void 0,void 0,!1)),A=C&&O1(C);if(C&&A!==void 0&&!(A&111551)){const w=Yr(m);return sz(m)?pt(l,F._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,w):k9(l,C)?pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,w,w==="K"?"P":"K"):pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,w),!0}}return!1}function k9(l,m){const D=Tn(l.parent,C=>Ps(C)||Mm(C)?!1:fm(C)||"quit");if(D&&D.members.length===1){const C=X0(m);return!!(C.flags&1048576)&&mie(C,384,!0)}return!1}function sz(l){switch(l){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}function F9(l,m,D){if(D&111127){if(yc(uc(l,m,1024,void 0,void 0,!1)))return pt(l,F.Cannot_use_namespace_0_as_a_value,Yr(m)),!0}else if(D&788544&&yc(uc(l,m,1536,void 0,void 0,!1)))return pt(l,F.Cannot_use_namespace_0_as_a_type,Yr(m)),!0;return!1}function B0(l,m){var D;if(H.assert(!!(l.flags&2||l.flags&32||l.flags&384)),l.flags&67108881&&l.flags&32)return;const C=(D=l.declarations)==null?void 0:D.find(A=>h0e(A)||mr(A)||A.kind===266);if(C===void 0)return H.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(C.flags&33554432)&&!B5(C,m)){let A;const w=b0(Za(C));l.flags&2?A=pt(m,F.Block_scoped_variable_0_used_before_its_declaration,w):l.flags&32?A=pt(m,F.Class_0_used_before_its_declaration,w):l.flags&256&&(A=pt(m,F.Enum_0_used_before_its_declaration,w)),A&&Es(A,Su(C,F._0_is_declared_here,w))}}function Eb(l,m,D){return!!m&&!!Tn(l,C=>C===m||(C===D||Co(C)&&(!nk(C)||kd(C)&3)?"quit":!1))}function A9(l){switch(l.kind){case 271:return l;case 273:return l.parent;case 274:return l.parent.parent;case 276:return l.parent.parent.parent;default:return}}function rp(l){return l.declarations&<(l.declarations,sC)}function sC(l){return l.kind===271||l.kind===270||l.kind===273&&!!l.name||l.kind===274||l.kind===280||l.kind===276||l.kind===281||l.kind===277&&tB(l)||Xn(l)&&Xl(l)===2&&tB(l)||I0(l)&&Xn(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===64&&S9(l.parent.right)||l.kind===304||l.kind===303&&S9(l.initializer)||l.kind===260&&F2(l)||l.kind===208&&F2(l.parent.parent)}function S9(l){return Pj(l)||A0(l)&&AE(l)}function lz(l,m){const D=fD(l);if(D){const A=CP(D.expression).arguments[0];return at(D.name)?yc(qo(Ldt(A),D.name.escapedText)):void 0}if(na(l)||l.moduleReference.kind===283){const A=Kh(l,w0e(l)||XN(l)),w=_m(A);return Ff(l,A,w,!1),w}const C=aF(l.moduleReference,m);return nF(l,C),C}function nF(l,m){if(Ff(l,void 0,m,!1)&&!l.isTypeOnly){const D=_4(_u(l)),C=D.kind===281||D.kind===278,A=C?F.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:F.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,w=C?F._0_was_exported_here:F._0_was_imported_here,I=D.kind===278?"*":Yr(D.name.escapedText);Es(pt(l.moduleReference,A),Su(D,w,I))}}function ru(l,m,D,C){const A=l.exports.get("export="),w=A?qo(Wn(A),m,!0):l.exports.get(m),I=yc(w,C);return Ff(D,w,I,!1),I}function v1(l){return tc(l)&&!l.isExportEquals||Yu(l,2048)||eh(l)||u_(l)}function Ma(l){return t0(l)?xg(zn(l),l):void 0}function lf(l,m){return l===99&&m===1}function EE(l){return Ma(l)===99&&sc(l.text,".json")}function ap(l,m,D,C){const A=l&&Ma(C);if(l&&A!==void 0){const w=lf(A,l.impliedNodeFormat);if(A===99||w)return w}if(!pe)return!1;if(!l||l.isDeclarationFile){const w=ru(m,"default",void 0,!0);return!(w&&Oe(w.declarations,v1)||ru(m,Al("__esModule"),void 0,D))}return gh(l)?typeof l.externalModuleIndicator!="object"&&!ru(m,Al("__esModule"),void 0,D):bb(m)}function Un(l,m){const D=Kh(l,l.parent.moduleSpecifier);if(D)return _b(D,l,m)}function _b(l,m,D){var C;let A;$N(l)?A=l:A=ru(l,"default",m,D);const w=(C=l.declarations)==null?void 0:C.find(la),I=lC(m);if(!I)return A;const U=EE(I),Z=ap(w,l,D,I);if(!A&&!Z&&!U)if(bb(l)&&!pe){const ce=ne>=5?"allowSyntheticDefaultImports":"esModuleInterop",Te=l.exports.get("export=").valueDeclaration,$e=pt(m.name,F.Module_0_can_only_be_default_imported_using_the_1_flag,Fr(l),ce);Te&&Es($e,Su(Te,F.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,ce))}else n_(m)?wd(l,m):dC(l,l,m,r7(m)&&m.propertyName||m.name);else if(Z||U){const ce=_m(l,D)||yc(l,D);return Ff(m,l,ce,!1),ce}return Ff(m,A,void 0,!1),A}function lC(l){switch(l.kind){case 273:return l.parent.moduleSpecifier;case 271:return r_(l.moduleReference)?l.moduleReference.expression:void 0;case 274:return l.parent.parent.moduleSpecifier;case 276:return l.parent.parent.parent.moduleSpecifier;case 281:return l.parent.parent.moduleSpecifier;default:return H.assertNever(l)}}function wd(l,m){var D,C,A;if((D=l.exports)!=null&&D.has(m.symbol.escapedName))pt(m.name,F.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Fr(l),Fr(m.symbol));else{const w=pt(m.name,F.Module_0_has_no_default_export,Fr(l)),I=(C=l.exports)==null?void 0:C.get("__export");if(I){const U=(A=I.declarations)==null?void 0:A.find(Z=>{var ce,Fe;return!!(Gc(Z)&&Z.moduleSpecifier&&((Fe=(ce=Kh(Z,Z.moduleSpecifier))==null?void 0:ce.exports)!=null&&Fe.has("default")))});U&&Es(w,Su(U,F.export_Asterisk_does_not_re_export_a_default))}}}function _E(l,m){const D=l.parent.parent.moduleSpecifier,C=Kh(l,D),A=o6(C,D,m,!1);return Ff(l,C,A,!1),A}function DE(l,m){const D=l.parent.moduleSpecifier,C=D&&Kh(l,D),A=D&&o6(C,D,m,!1);return Ff(l,C,A,!1),A}function u6(l,m){if(l===Xt&&m===Xt)return Xt;if(l.flags&790504)return l;const D=Hs(l.flags|m.flags,l.escapedName);return H.assert(l.declarations||m.declarations),D.declarations=ri(Hi(l.declarations,m.declarations),Cx),D.parent=l.parent||m.parent,l.valueDeclaration&&(D.valueDeclaration=l.valueDeclaration),m.members&&(D.members=new Map(m.members)),l.exports&&(D.exports=new Map(l.exports)),D}function B9(l,m,D,C){var A;if(l.flags&1536){const w=$f(l).get(m.escapedText),I=yc(w,C),U=(A=Ur(l).typeOnlyExportStarMap)==null?void 0:A.get(m.escapedText);return Ff(D,w,I,!1,U,m.escapedText),I}}function hD(l,m){if(l.flags&3){const D=l.valueDeclaration.type;if(D)return yc(qo(Ar(D),m))}}function cC(l,m,D=!1){var C;const A=w0e(l)||l.moduleSpecifier,w=Kh(l,A),I=!Iu(m)&&m.propertyName||m.name;if(!at(I))return;const U=I.escapedText==="default"&&pe,Z=o6(w,A,!1,U);if(Z&&I.escapedText){if($N(w))return w;let ce;w&&w.exports&&w.exports.get("export=")?ce=qo(Wn(Z),I.escapedText,!0):ce=hD(Z,I.escapedText),ce=yc(ce,D);let Fe=B9(Z,I,m,D);if(Fe===void 0&&I.escapedText==="default"){const $e=(C=w.declarations)==null?void 0:C.find(la);(EE(A)||ap($e,w,D,A))&&(Fe=_m(w,D)||yc(w,D))}const Te=Fe&&ce&&Fe!==ce?u6(ce,Fe):Fe||ce;return Te||dC(w,Z,l,I),Te}}function dC(l,m,D,C){var A;const w=op(l,D),I=b0(C),U=PEe(C,m);if(U!==void 0){const Z=Fr(U),ce=pt(C,F._0_has_no_exported_member_named_1_Did_you_mean_2,w,I,Z);U.valueDeclaration&&Es(ce,Su(U.valueDeclaration,F._0_is_declared_here,Z))}else(A=l.exports)!=null&&A.has("default")?pt(C,F.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,w,I):_3(D,C,I,l,w)}function _3(l,m,D,C,A){var w,I;const U=(I=(w=ur(C.valueDeclaration,UE))==null?void 0:w.locals)==null?void 0:I.get(m.escapedText),Z=C.exports;if(U){const ce=Z==null?void 0:Z.get("export=");if(ce)Zm(ce,U)?g_(l,m,D,A):pt(m,F.Module_0_has_no_exported_member_1,A,D);else{const Fe=Z?Le(QNe(Z),$e=>!!Zm($e,U)):void 0,Te=Fe?pt(m,F.Module_0_declares_1_locally_but_it_is_exported_as_2,A,D,Fr(Fe)):pt(m,F.Module_0_declares_1_locally_but_it_is_not_exported,A,D);U.declarations&&Es(Te,...Vt(U.declarations,($e,ut)=>Su($e,ut===0?F._0_is_declared_here:F.and_here,D)))}}else pt(m,F.Module_0_has_no_exported_member_1,A,D)}function g_(l,m,D,C){if(ne>=5){const A=e_(ae)?F._0_can_only_be_imported_by_using_a_default_import:F._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;pt(m,A,D)}else if(Qn(l)){const A=e_(ae)?F._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:F._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;pt(m,A,D)}else{const A=e_(ae)?F._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:F._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;pt(m,A,D,D,C)}}function uF(l,m){if(bf(l)&&fu(l.propertyName||l.name)==="default"){const I=lC(l),U=I&&Kh(l,I);if(U)return _b(U,l,m)}const D=js(l)?XE(l):l.parent.parent.parent,C=fD(D),A=cC(D,C||l,m),w=l.propertyName||l.name;return C&&A&&at(w)?yc(qo(Wn(A),w.escapedText),m):(Ff(l,void 0,A,!1),A)}function fD(l){if(na(l)&&l.initializer&&Iu(l.initializer))return l.initializer}function r6(l,m){if(Zg(l.parent)){const D=_m(l.parent.symbol,m);return Ff(l,void 0,D,!1),D}}function Db(l,m,D){if(fu(l.propertyName||l.name)==="default"){const A=lC(l),w=A&&Kh(l,A);if(w)return _b(w,l,!!D)}const C=l.parent.parent.moduleSpecifier?cC(l.parent.parent,l,D):R0(l.propertyName||l.name,m,!1,D);return Ff(l,void 0,C,!1),C}function w9(l,m){const D=tc(l)?l.expression:l.right,C=rF(D,m);return Ff(l,void 0,C,!1),C}function rF(l,m){if(Xd(l))return Rc(l).symbol;if(!sm(l)&&!ec(l))return;const D=R0(l,901119,!0,m);return D||(Rc(l),ar(l).resolvedSymbol)}function xb(l,m){if(Xn(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===64)return rF(l.parent.right,m)}function E4(l,m=!1){switch(l.kind){case 271:case 260:return lz(l,m);case 273:return Un(l,m);case 274:return _E(l,m);case 280:return DE(l,m);case 276:case 208:return uF(l,m);case 281:return Db(l,901119,m);case 277:case 226:return w9(l,m);case 270:return r6(l,m);case 304:return R0(l.name,901119,!0,m);case 303:return rF(l.initializer,m);case 212:case 211:return xb(l,m);default:return H.fail()}}function hC(l,m=901119){return l?(l.flags&(2097152|m))===2097152||!!(l.flags&2097152&&l.flags&67108864):!1}function yc(l,m){return!m&&hC(l)?md(l):l}function md(l){H.assert((l.flags&2097152)!==0,"Should only get Alias here.");const m=Ur(l);if(m.aliasTarget)m.aliasTarget===Pe&&(m.aliasTarget=Xt);else{m.aliasTarget=Pe;const D=rp(l);if(!D)return H.fail();const C=E4(D);m.aliasTarget===Pe?m.aliasTarget=C||Xt:pt(D,F.Circular_definition_of_import_alias_0,Fr(l))}return m.aliasTarget}function T9(l){if(Ur(l).aliasTarget!==Pe)return md(l)}function O1(l,m,D){const C=m&&_4(l),A=C&&Gc(C),w=C&&(A?Kh(C.moduleSpecifier,C.moduleSpecifier,!0):md(C.symbol)),I=A&&w?x3(w):void 0;let U=D?0:l.flags,Z;for(;l.flags&2097152;){const ce=sp(md(l));if(!A&&ce===w||(I==null?void 0:I.get(ce.escapedName))===ce)break;if(ce===Xt)return 67108863;if(ce===l||Z!=null&&Z.has(ce))break;ce.flags&2097152&&(Z?Z.add(ce):Z=new Set([l,ce])),U|=ce.flags,l=ce}return U}function Ff(l,m,D,C,A,w){if(!l||Iu(l))return!1;const I=_u(l);if(_2(l)){const Z=Ur(I);return Z.typeOnlyDeclaration=l,!0}if(A){const Z=Ur(I);return Z.typeOnlyDeclaration=A,I.escapedName!==w&&(Z.typeOnlyExportStarName=w),!0}const U=Ur(I);return vb(U,m,C)||vb(U,D,C)}function vb(l,m,D){var C;if(m&&(l.typeOnlyDeclaration===void 0||D&&l.typeOnlyDeclaration===!1)){const A=((C=m.exports)==null?void 0:C.get("export="))??m,w=A.declarations&&Le(A.declarations,_2);l.typeOnlyDeclaration=w??Ur(A).typeOnlyDeclaration??!1}return!!l.typeOnlyDeclaration}function _4(l,m){if(!(l.flags&2097152))return;const D=Ur(l);if(m===void 0)return D.typeOnlyDeclaration||void 0;if(D.typeOnlyDeclaration){const C=D.typeOnlyDeclaration.kind===278?yc(x3(D.typeOnlyDeclaration.symbol.parent).get(D.typeOnlyExportStarName||l.escapedName)):md(D.typeOnlyDeclaration.symbol);return O1(C)&m?D.typeOnlyDeclaration:void 0}}function fC(l){if(!Ut)return;const m=_u(l),D=md(m);D&&(D===Xt||O1(m,!0)&111551&&!OW(D))&&T5(m)}function T5(l){H.assert(Ut);const m=Ur(l);if(!m.referenced){m.referenced=!0;const D=rp(l);if(!D)return H.fail();U8(D)&&O1(yc(l))&111551&&Rc(D.moduleReference)}}function n1(l){const m=Ur(l);m.constEnumReferenced||(m.constEnumReferenced=!0)}function aF(l,m){return l.kind===80&&gP(l)&&(l=l.parent),l.kind===80||l.parent.kind===166?R0(l,1920,!1,m):(H.assert(l.parent.kind===271),R0(l,901119,!1,m))}function op(l,m){return l.parent?op(l.parent,m)+"."+Fr(l):Fr(l,m,void 0,36)}function a6(l){for(;vf(l.parent);)l=l.parent;return l}function Hw(l){let m=hm(l),D=uc(m,m.escapedText,111551,void 0,m,!0);if(D){for(;vf(m.parent);){const C=Wn(D);if(D=qo(C,m.parent.right.escapedText),!D)return;m=m.parent}return D}}function R0(l,m,D,C,A){if(Ql(l))return;const w=1920|(Qn(l)?m&111551:0);let I;if(l.kind===80){const U=m===w||sl(l)?F.Cannot_find_namespace_0:Fht(hm(l)),Z=Qn(l)&&!sl(l)?Kw(l,m):void 0;if(I=Ks(uc(A||l,l.escapedText,m,D||Z?void 0:U,l,!0,!1)),!I)return Ks(Z)}else if(l.kind===166||l.kind===211){const U=l.kind===166?l.left:l.expression,Z=l.kind===166?l.right:l.name;let ce=R0(U,w,D,!1,A);if(!ce||Ql(Z))return;if(ce===Xt)return ce;if(ce.valueDeclaration&&Qn(ce.valueDeclaration)&&p1(ae)!==100&&na(ce.valueDeclaration)&&ce.valueDeclaration.initializer&&amt(ce.valueDeclaration.initializer)){const Fe=ce.valueDeclaration.initializer.arguments[0],Te=Kh(Fe,Fe);if(Te){const $e=_m(Te);$e&&(ce=$e)}}if(I=Ks(kf($f(ce),Z.escapedText,m)),!I&&ce.flags&2097152&&(I=Ks(kf($f(md(ce)),Z.escapedText,m))),!I){if(!D){const Fe=op(ce),Te=b0(Z),$e=PEe(Z,ce);if($e){pt(Z,F._0_has_no_exported_member_named_1_Did_you_mean_2,Fe,Te,Fr($e));return}const ut=vf(l)&&a6(l);if(He&&m&788968&&ut&&!AB(ut.parent)&&Hw(ut)){pt(ut,F._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,zf(ut));return}if(m&1920&&vf(l.parent)){const gi=Ks(kf($f(ce),Z.escapedText,788968));if(gi){pt(l.parent.right,F.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,Fr(gi),Yr(l.parent.right.escapedText));return}}pt(Z,F.Namespace_0_has_no_exported_member_1,Fe,Te)}return}}else H.assertNever(l,"Unknown entity name kind.");return H.assert((Gl(I)&1)===0,"Should never get an instantiated symbol here."),!sl(l)&&sm(l)&&(I.flags&2097152||l.parent.kind===277)&&Ff(H0e(l),I,void 0,!0),I.flags&m||C?I:md(I)}function Kw(l,m){if(Nge(l.parent)){const D=oF(l.parent);if(D)return uc(D,l.escapedText,m,void 0,l,!0)}}function oF(l){if(Tn(l,A=>z8(A)||A.flags&16777216?G4(A):"quit"))return;const D=h7(l);if(D&&Od(D)&&kj(D.expression)){const A=_u(D.expression.left);if(A)return mC(A)}if(D&&A0(D)&&kj(D.parent)&&Od(D.parent.parent)){const A=_u(D.parent.left);if(A)return mC(A)}if(D&&(zp(D)||Jc(D))&&Xn(D.parent.parent)&&Xl(D.parent.parent)===6){const A=_u(D.parent.parent.left);if(A)return mC(A)}const C=ok(l);if(C&&Co(C)){const A=_u(C);return A&&A.valueDeclaration}}function mC(l){const m=l.parent.valueDeclaration;return m?(eP(m)?l7(m):Qy(m)?xj(m):void 0)||m:void 0}function L9(l){const m=l.valueDeclaration;if(!m||!Qn(m)||l.flags&524288||yv(m,!1))return;const D=na(m)?xj(m):l7(m);if(D){const C=Dm(D);if(C)return nze(C,l)}}function Kh(l,m,D){const A=p1(ae)===1?F.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:F.Cannot_find_module_0_or_its_corresponding_type_declarations;return D3(l,m,D?void 0:A)}function D3(l,m,D,C=!1){return t0(m)?mD(l,m.text,D,m,C):void 0}function mD(l,m,D,C,A=!1){var w,I,U,Z,ce,Fe,Te,$e,ut,zt;if(Pa(m,"@types/")){const _n=F.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,hu=yN(m,"@types/");pt(C,_n,hu,m)}const gi=kge(m,!0);if(gi)return gi;const Wi=zn(l),dn=t0(l)?l:((w=Tn(l,dm))==null?void 0:w.arguments[0])||((I=Tn(l,Sd))==null?void 0:I.moduleSpecifier)||((U=Tn(l,bv))==null?void 0:U.moduleReference.expression)||((Z=Tn(l,Gc))==null?void 0:Z.moduleSpecifier)||((ce=_c(l)?l:l.parent&&_c(l.parent)&&l.parent.name===l?l.parent:void 0)==null?void 0:ce.name)||((Fe=zx(l)?l:void 0)==null?void 0:Fe.argument.literal),nu=dn&&t0(dn)?xg(Wi,dn):Wi.impliedNodeFormat,En=p1(ae),Ii=(Te=t.getResolvedModule(Wi,m,nu))==null?void 0:Te.resolvedModule,Nn=Ii&&P1e(ae,Ii,Wi),vn=Ii&&(!Nn||Nn===F.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&t.getSourceFile(Ii.resolvedFileName);if(vn){if(Nn&&pt(C,Nn,m,Ii.resolvedFileName),Ii.resolvedUsingTsExtension&&e1(m)){const _n=(($e=Tn(l,Sd))==null?void 0:$e.importClause)||Tn(l,dg(E1,Gc));(_n&&!_n.isTypeOnly||Tn(l,dm))&&pt(C,F.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,An(H.checkDefined(Kq(m))))}else if(Ii.resolvedUsingTsExtension&&!$B(ae,Wi.fileName)){const _n=((ut=Tn(l,Sd))==null?void 0:ut.importClause)||Tn(l,dg(E1,Gc));if(!(_n!=null&&_n.isTypeOnly||Tn(l,nD))){const hu=H.checkDefined(Kq(m));pt(C,F.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled,hu)}}if(vn.symbol){if(Ii.isExternalLibraryImport&&!FP(Ii.extension)&&Cb(!1,C,Wi,nu,Ii,m),En===3||En===99){const _n=Wi.impliedNodeFormat===1&&!Tn(l,dm)||!!Tn(l,E1),hu=Tn(l,oo=>nD(oo)||Gc(oo)||Sd(oo));if(_n&&vn.impliedNodeFormat===99&&!kke(hu))if(Tn(l,E1))pt(C,F.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead,m);else{let oo;const Eo=t3(Wi.fileName);if(Eo===".ts"||Eo===".js"||Eo===".tsx"||Eo===".jsx"){const fo=Wi.packageJsonScope,ka=Eo===".ts"?".mts":Eo===".js"?".mjs":void 0;fo&&!fo.contents.packageJsonContent.type?ka?oo=ro(void 0,F.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,ka,cr(fo.packageDirectory,"package.json")):oo=ro(void 0,F.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,cr(fo.packageDirectory,"package.json")):ka?oo=ro(void 0,F.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,ka):oo=ro(void 0,F.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module)}Vs.add(Y3(zn(C),C,ro(oo,F.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead,m)))}}return Ks(vn.symbol)}D&&pt(C,F.File_0_is_not_a_module,vn.fileName);return}if(h4){const _n=coe(h4,hu=>hu.pattern,m);if(_n){const hu=D1&&D1.get(m);return Ks(hu||_n.symbol)}}if(Ii&&!FP(Ii.extension)&&Nn===void 0||Nn===F.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(A){const _n=F.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;pt(C,_n,m,Ii.resolvedFileName)}else Cb(Ae&&!!D,C,Wi,nu,Ii,m);return}if(D){if(Ii){const _n=t.getProjectReferenceRedirect(Ii.resolvedFileName);if(_n){pt(C,F.Output_file_0_has_not_been_built_from_source_file_1,_n,Ii.resolvedFileName);return}}if(Nn)pt(C,Nn,m,Ii.resolvedFileName);else{const _n=om(m)&&!t7(m),hu=En===3||En===99;if(!M2(ae)&&Ml(m,".json")&&En!==1&&Qq(ae))pt(C,F.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,m);else if(nu===99&&hu&&_n){const oo=$a(m,lr(Wi.path)),Eo=(zt=y9.find(([fo,ka])=>t.fileExists(oo+fo)))==null?void 0:zt[1];Eo?pt(C,F.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,m+Eo):pt(C,F.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else pt(C,D,m)}}return;function An(_n){const hu=nV(m,_n);if(Yq(ne)||nu===99){const oo=e1(m)&&$B(ae);return hu+(_n===".mts"||_n===".d.mts"?oo?".mts":".mjs":_n===".cts"||_n===".d.mts"?oo?".cts":".cjs":oo?".ts":".js")}return hu}}function Cb(l,m,D,C,{packageId:A,resolvedFileName:w},I){let U;!Id(I)&&A&&(U=o0e(D,t,I,C,A.name)),g4(l,m,ro(U,F.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,I,w))}function _m(l,m){if(l!=null&&l.exports){const D=yc(l.exports.get("export="),m),C=N9(Ks(D),Ks(l));return Ks(C)||l}}function N9(l,m){if(!l||l===Xt||l===m||m.exports.size===1||l.flags&2097152)return l;const D=Ur(l);if(D.cjsExportMerged)return D.cjsExportMerged;const C=l.flags&33554432?l:pb(l);return C.flags=C.flags|512,C.exports===void 0&&(C.exports=Vo()),m.exports.forEach((A,w)=>{w!=="export="&&C.exports.set(w,C.exports.has(w)?up(C.exports.get(w),A):A)}),C===l&&(Ur(C).resolvedExports=void 0,Ur(C).resolvedMembers=void 0),Ur(C).cjsExportMerged=C,D.cjsExportMerged=C}function o6(l,m,D,C){var A;const w=_m(l,D);if(!D&&w){if(!C&&!(w.flags&1539)&&!Sl(w,312)){const U=ne>=5?"allowSyntheticDefaultImports":"esModuleInterop";return pt(m,F.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,U),w}const I=m.parent;if(Sd(I)&&Q8(I)||dm(I)){const U=dm(I)?I.arguments[0]:I.moduleSpecifier,Z=Wn(w),ce=umt(Z,w,l,U);if(ce)return qm(w,ce,I);const Fe=(A=l==null?void 0:l.declarations)==null?void 0:A.find(la),Te=Fe&&lf(Ma(U),Fe.impliedNodeFormat);if(e_(ae)||Te){let $e=bte(Z,0);if((!$e||!$e.length)&&($e=bte(Z,1)),$e&&$e.length||qo(Z,"default",!0)||Te){const ut=Z.flags&3670016?rmt(Z,w,l,U):uze(w,w.parent);return qm(w,ut,I)}}}}return w}function qm(l,m,D){const C=Hs(l.flags,l.escapedName);C.declarations=l.declarations?l.declarations.slice():[],C.parent=l.parent,C.links.target=l,C.links.originatingImport=D,l.valueDeclaration&&(C.valueDeclaration=l.valueDeclaration),l.constEnumOnlyModule&&(C.constEnumOnlyModule=!0),l.members&&(C.members=new Map(l.members)),l.exports&&(C.exports=new Map(l.exports));const A=Ag(m);return C.links.type=Ol(C,A.members,_t,_t,A.indexInfos),C}function bb(l){return l.exports.get("export=")!==void 0}function L5(l){return QNe(x3(l))}function cz(l){const m=L5(l),D=_m(l);if(D!==l){const C=Wn(D);pC(C)&&yn(m,n0(C))}return m}function P9(l,m){x3(l).forEach((A,w)=>{EC(w)||m(A,w)});const C=_m(l);if(C!==l){const A=Wn(C);pC(A)&&IXt(A,(w,I)=>{m(w,I)})}}function M9(l,m){const D=x3(m);if(D)return D.get(l)}function z9(l,m){const D=M9(l,m);if(D)return D;const C=_m(m);if(C===m)return;const A=Wn(C);return pC(A)?qo(A,l):void 0}function pC(l){return!(l.flags&402784252||Gu(l)&1||A4(l)||xs(l))}function $f(l){return l.flags&6256?PNe(l,"resolvedExports"):l.flags&1536?x3(l):l.exports||se}function x3(l){const m=Ur(l);if(!m.resolvedExports){const{exports:D,typeOnlyExportStarMap:C}=R9(l);m.resolvedExports=D,m.typeOnlyExportStarMap=C}return m.resolvedExports}function I9(l,m,D,C){m&&m.forEach((A,w)=>{if(w==="default")return;const I=l.get(w);if(!I)l.set(w,A),D&&C&&D.set(w,{specifierText:Hc(C.moduleSpecifier)});else if(D&&C&&I&&yc(I)!==yc(A)){const U=D.get(w);U.exportsWithDuplicate?U.exportsWithDuplicate.push(C):U.exportsWithDuplicate=[C]}})}function R9(l){const m=[];let D;const C=new Set;l=_m(l);const A=w(l)||se;return D&&C.forEach(I=>D.delete(I)),{exports:A,typeOnlyExportStarMap:D};function w(I,U,Z){if(!Z&&(I!=null&&I.exports)&&I.exports.forEach((Te,$e)=>C.add($e)),!(I&&I.exports&&xa(m,I)))return;const ce=new Map(I.exports),Fe=I.exports.get("__export");if(Fe){const Te=Vo(),$e=new Map;if(Fe.declarations)for(const ut of Fe.declarations){const zt=Kh(ut,ut.moduleSpecifier),gi=w(zt,ut,Z||ut.isTypeOnly);I9(Te,gi,$e,ut)}$e.forEach(({exportsWithDuplicate:ut},zt)=>{if(!(zt==="export="||!(ut&&ut.length)||ce.has(zt)))for(const gi of ut)Vs.add(Su(gi,F.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,$e.get(zt).specifierText,Yr(zt)))}),I9(ce,Te)}return U!=null&&U.isTypeOnly&&(D??(D=new Map),ce.forEach((Te,$e)=>D.set($e,U))),ce}}function Ks(l){let m;return l&&l.mergeId&&(m=D9[l.mergeId])?m:l}function _u(l){return Ks(l.symbol&&yge(l.symbol))}function Dm(l){return Zg(l)?_u(l):void 0}function cf(l){return Ks(l.parent&&yge(l.parent))}function yb(l,m){const D=zn(m),C=$s(D),A=Ur(l);let w;if(A.extendedContainersByFile&&(w=A.extendedContainersByFile.get(C)))return w;if(D&&D.imports){for(const U of D.imports){if(sl(U))continue;const Z=Kh(m,U,!0);!Z||!s6(Z,l)||(w=xi(w,Z))}if(S(w))return(A.extendedContainersByFile||(A.extendedContainersByFile=new Map)).set(C,w),w}if(A.extendedContainers)return A.extendedContainers;const I=t.getSourceFiles();for(const U of I){if(!wc(U))continue;const Z=_u(U);s6(Z,l)&&(w=xi(w,Z))}return A.extendedContainers=w||_t}function Ww(l,m,D){const C=cf(l);if(C&&!(l.flags&262144)){const I=qi(C.declarations,w),U=m&&yb(l,m),Z=gC(C,D);if(m&&C.flags&v3(D)&&_C(C,m,1920,!1))return xi(Hi(Hi([C],I),U),Z);const ce=!(C.flags&v3(D))&&C.flags&788968&&X0(C).flags&524288&&D===111551?c6(m,Te=>h1(Te,$e=>{if($e.flags&v3(D)&&Wn($e)===X0(C))return $e})):void 0;let Fe=ce?[ce,...I,C]:[...I,C];return Fe=xi(Fe,Z),Fe=yn(Fe,U),Fe}const A=qi(l.declarations,I=>{if(!N1(I)&&I.parent){if(Ao(I.parent))return _u(I.parent);if(rE(I.parent)&&I.parent.parent&&_m(_u(I.parent.parent))===l)return _u(I.parent.parent)}if(Xd(I)&&Xn(I.parent)&&I.parent.operatorToken.kind===64&&I0(I.parent.left)&&ec(I.parent.left.expression))return Y_(I.parent.left)||uk(I.parent.left.expression)?_u(zn(I)):(Rc(I.parent.left.expression),ar(I.parent.left.expression).resolvedSymbol)});if(!S(A))return;return qi(A,I=>s6(I,l)?I:void 0);function w(I){return C&&kb(I,C)}}function gC(l,m){const D=!!S(l.declarations)&&Pn(l.declarations);if(m&111551&&D&&D.parent&&na(D.parent)&&(ys(D)&&D===D.parent.initializer||fm(D)&&D===D.parent.type))return _u(D.parent)}function kb(l,m){const D=br(l),C=D&&D.exports&&D.exports.get("export=");return C&&Zm(C,m)?D:void 0}function s6(l,m){if(l===cf(m))return m;const D=l.exports&&l.exports.get("export=");if(D&&Zm(D,m))return l;const C=$f(l),A=C.get(m.escapedName);return A&&Zm(A,m)?A:h1(C,w=>{if(Zm(w,m))return w})}function Zm(l,m){if(Ks(yc(Ks(l)))===Ks(yc(Ks(m))))return l}function sp(l){return Ks(l&&(l.flags&1048576)!==0&&l.exportSymbol||l)}function l6(l,m){return!!(l.flags&111551||l.flags&2097152&&O1(l,!m)&111551)}function Up(l){const m=l.members;for(const D of m)if(D.kind===176&&H4(D.body))return D}function lp(l){var m;const D=new b(Pi,l);return k++,D.id=k,(m=Gn)==null||m.recordType(D),D}function N5(l,m){const D=lp(l);return D.symbol=m,D}function Fb(l){return new b(Pi,l)}function Pc(l,m,D=0,C){dz(m,C);const A=lp(l);return A.intrinsicName=m,A.debugIntrinsicName=C,A.objectFlags=D|524288|2097152|33554432|16777216,A}function dz(l,m){const D=`${l},${m??""}`;ii.has(D)&&H.fail(`Duplicate intrinsic type name ${l}${m?` (${m})`:""}; you may need to pass a name to createIntrinsicType.`),ii.add(D)}function D4(l,m){const D=N5(524288,m);return D.objectFlags=l,D.members=void 0,D.properties=void 0,D.callSignatures=void 0,D.constructSignatures=void 0,D.indexInfos=void 0,D}function Gw(){return er(ga(Vde.keys(),df))}function j1(l){return N5(262144,l)}function EC(l){return l.charCodeAt(0)===95&&l.charCodeAt(1)===95&&l.charCodeAt(2)!==95&&l.charCodeAt(2)!==64&&l.charCodeAt(2)!==35}function Ab(l){let m;return l.forEach((D,C)=>{sF(D,C)&&(m||(m=[])).push(D)}),m||_t}function sF(l,m){return!EC(m)&&l6(l)}function Jw(l){const m=Ab(l),D=Sge(l);return D?Hi(m,[D]):m}function x4(l,m,D,C,A){const w=l;return w.members=m,w.properties=_t,w.callSignatures=D,w.constructSignatures=C,w.indexInfos=A,m!==se&&(w.properties=Ab(m)),w}function Ol(l,m,D,C,A){return x4(D4(16,l),m,D,C,A)}function xE(l){if(l.constructSignatures.length===0)return l;if(l.objectTypeWithoutAbstractConstructSignatures)return l.objectTypeWithoutAbstractConstructSignatures;const m=ti(l.constructSignatures,C=>!(C.flags&4));if(l.constructSignatures===m)return l;const D=Ol(l.symbol,l.members,l.callSignatures,Oe(m)?m:_t,l.indexInfos);return l.objectTypeWithoutAbstractConstructSignatures=D,D.objectTypeWithoutAbstractConstructSignatures=D,D}function c6(l,m){let D;for(let C=l;C;C=C.parent){if(UE(C)&&C.locals&&!pE(C)&&(D=m(C.locals,void 0,!0,C)))return D;switch(C.kind){case 312:if(!cm(C))break;case 267:const A=_u(C);if(D=m((A==null?void 0:A.exports)||se,void 0,!0,C))return D;break;case 263:case 231:case 264:let w;if((_u(C).members||se).forEach((I,U)=>{I.flags&788968&&(w||(w=Vo())).set(U,I)}),w&&(D=m(w,void 0,!1,C)))return D;break}}return m(Ie,void 0,!0)}function v3(l){return l===111551?111551:1920}function _C(l,m,D,C,A=new Map){if(!(l&&!d6(l)))return;const w=Ur(l),I=w.accessibleChainCache||(w.accessibleChainCache=new Map),U=c6(m,(dn,nu,En,Ii)=>Ii),Z=`${C?0:1}|${U&&$s(U)}|${D}`;if(I.has(Z))return I.get(Z);const ce=Zo(l);let Fe=A.get(ce);Fe||A.set(ce,Fe=[]);const Te=c6(m,$e);return I.set(Z,Te),Te;function $e(dn,nu,En){if(!xa(Fe,dn))return;const Ii=gi(dn,nu,En);return Fe.pop(),Ii}function ut(dn,nu){return!$w(dn,m,nu)||!!_C(dn.parent,m,v3(nu),C,A)}function zt(dn,nu,En){return(l===(nu||dn)||Ks(l)===Ks(nu||dn))&&!Oe(dn.declarations,Ao)&&(En||ut(Ks(dn),D))}function gi(dn,nu,En){return zt(dn.get(l.escapedName),void 0,nu)?[l]:h1(dn,Nn=>{if(Nn.flags&2097152&&Nn.escapedName!=="export="&&Nn.escapedName!=="default"&&!($q(Nn)&&m&&wc(zn(m)))&&(!C||Oe(Nn.declarations,bv))&&(!En||!Oe(Nn.declarations,iye))&&(nu||!Sl(Nn,281))){const vn=md(Nn),An=Wi(Nn,vn,nu);if(An)return An}if(Nn.escapedName===l.escapedName&&Nn.exportSymbol&&zt(Ks(Nn.exportSymbol),void 0,nu))return[l]})||(dn===Ie?Wi(St,St,nu):void 0)}function Wi(dn,nu,En){if(zt(dn,nu,En))return[dn];const Ii=$f(nu),Nn=Ii&&$e(Ii,!0);if(Nn&&ut(dn,v3(D)))return[dn].concat(Nn)}}function $w(l,m,D){let C=!1;return c6(m,A=>{let w=Ks(A.get(l.escapedName));if(!w)return!1;if(w===l)return!0;const I=w.flags&2097152&&!Sl(w,281);return w=I?md(w):w,(I?O1(w):w.flags)&D?(C=!0,!0):!1}),C}function d6(l){if(l.declarations&&l.declarations.length){for(const m of l.declarations)switch(m.kind){case 172:case 174:case 177:case 178:continue;default:return!1}return!0}return!1}function R(l,m){return Jr(l,m,788968,!1,!0).accessibility===0}function be(l,m){return Jr(l,m,111551,!1,!0).accessibility===0}function Ht(l,m,D){return Jr(l,m,D,!1,!1).accessibility===0}function Oi(l,m,D,C,A,w){if(!S(l))return;let I,U=!1;for(const Z of l){const ce=_C(Z,m,C,!1);if(ce){I=Z;const $e=Af(ce[0],A);if($e)return $e}if(w&&Oe(Z.declarations,Ao)){if(A){U=!0;continue}return{accessibility:0}}const Fe=Ww(Z,m,C),Te=Oi(Fe,m,D,D===Z?v3(C):C,A,w);if(Te)return Te}if(U)return{accessibility:0};if(I)return{accessibility:1,errorSymbolName:Fr(D,m,C),errorModuleName:I!==D?Fr(I,m,1920):void 0}}function yu(l,m,D,C){return Jr(l,m,D,C,!0)}function Jr(l,m,D,C,A){if(l&&m){const w=Oi([l],m,l,D,C,A);if(w)return w;const I=L(l.declarations,br);if(I){const U=br(m);if(I!==U)return{accessibility:2,errorSymbolName:Fr(l,m,D),errorModuleName:Fr(I),errorNode:Qn(m)?m:void 0}}return{accessibility:1,errorSymbolName:Fr(l,m,D)}}return{accessibility:0}}function br(l){const m=Tn(l,Ea);return m&&_u(m)}function Ea(l){return N1(l)||l.kind===312&&cm(l)}function Ao(l){return tq(l)||l.kind===312&&cm(l)}function Af(l,m){let D;if(!ye(ti(l.declarations,w=>w.kind!==80),C))return;return{accessibility:0,aliasesToMakeVisible:D};function C(w){var I,U;if(!pD(w)){const Z=A9(w);if(Z&&!Yu(Z,32)&&pD(Z.parent))return A(w,Z);if(na(w)&&Jl(w.parent.parent)&&!Yu(w.parent.parent,32)&&pD(w.parent.parent.parent))return A(w,w.parent.parent);if(iq(w)&&!Yu(w,32)&&pD(w.parent))return A(w,w);if(js(w)){if(l.flags&2097152&&Qn(w)&&((I=w.parent)!=null&&I.parent)&&na(w.parent.parent)&&((U=w.parent.parent.parent)!=null&&U.parent)&&Jl(w.parent.parent.parent.parent)&&!Yu(w.parent.parent.parent.parent,32)&&w.parent.parent.parent.parent.parent&&pD(w.parent.parent.parent.parent.parent))return A(w,w.parent.parent.parent.parent);if(l.flags&2){const ce=Tn(w,Jl);return Yu(ce,32)?!0:pD(ce.parent)?A(w,ce):!1}}return!1}return!0}function A(w,I){return m&&(ar(w).isVisible=!0,D=e0(D,I)),!0}}function Uf(l,m){let D;l.parent.kind===186||l.parent.kind===233&&!q_(l.parent)||l.parent.kind===167?D=1160127:l.kind===166||l.kind===211||l.parent.kind===271?D=1920:D=788968;const C=hm(l),A=uc(m,C.escapedText,D,void 0,void 0,!1);return A&&A.flags&262144&&D&788968?{accessibility:0}:!A&&N2(C)&&yu(_u(tf(C,!1,!1)),C,D,!1).accessibility===0?{accessibility:0}:A&&Af(A,!0)||{accessibility:1,errorSymbolName:Hc(C),errorNode:C}}function Fr(l,m,D,C=4,A){let w=70221824;C&2&&(w|=128),C&1&&(w|=512),C&8&&(w|=16384),C&32&&(w|=134217728),C&16&&(w|=1073741824);const I=C&4?Yt.symbolToNode:Yt.symbolToEntityName;return A?U(A).getText():GN(U);function U(Z){const ce=I(l,D,m,w),Fe=(m==null?void 0:m.kind)===312?m1e():X2(),Te=m&&zn(m);return Fe.writeNode(4,ce,Te,Z),Z}}function vE(l,m,D=0,C,A){return A?w(A).getText():GN(w);function w(I){let U;D&262144?U=C===1?185:184:U=C===1?180:179;const Z=Yt.signatureToSignatureDeclaration(l,U,m,DC(D)|70221824|512),ce=EH(),Fe=m&&zn(m);return ce.writeNode(4,Z,Fe,ele(I)),I}}function gn(l,m,D=1064960,C=Vj("")){const A=ae.noErrorTruncation||D&1,w=Yt.typeToTypeNode(l,m,DC(D)|70221824|(A?1:0));if(w===void 0)return H.fail("should always get typenode");const I=l!==Ei?X2():f1e(),U=m&&zn(m);I.writeNode(4,w,U,C);const Z=C.getText(),ce=A?DZ*2:lV*2;return ce&&Z&&Z.length>=ce?Z.substr(0,ce-3)+"...":Z}function h6(l,m){let D=lF(l.symbol)?gn(l,l.symbol.valueDeclaration):gn(l),C=lF(m.symbol)?gn(m,m.symbol.valueDeclaration):gn(m);return D===C&&(D=P5(l),C=P5(m)),[D,C]}function P5(l){return gn(l,void 0,64)}function lF(l){return l&&!!l.valueDeclaration&&Wt(l.valueDeclaration)&&!k4(l.valueDeclaration)}function DC(l=0){return l&848330091}function O9(l){return!!l.symbol&&!!(l.symbol.flags&32)&&(l===b4(l.symbol)||!!(l.flags&524288)&&!!(Gu(l)&16777216))}function cF(){return{typeToTypeNode:(At,ze,Yn,Fu)=>m(ze,Yn,Fu,Er=>C(At,Er)),indexInfoToIndexSignatureDeclaration:(At,ze,Yn,Fu)=>m(ze,Yn,Fu,Er=>Fe(At,Er,void 0)),signatureToSignatureDeclaration:(At,ze,Yn,Fu,Er)=>m(Yn,Fu,Er,fr=>Te(At,ze,fr)),symbolToEntityName:(At,ze,Yn,Fu,Er)=>m(Yn,Fu,Er,fr=>ka(At,fr,ze,!1)),symbolToExpression:(At,ze,Yn,Fu,Er)=>m(Yn,Fu,Er,fr=>ah(At,fr,ze)),symbolToTypeParameterDeclarations:(At,ze,Yn,Fu)=>m(ze,Yn,Fu,Er=>Nn(At,Er)),symbolToParameterDeclaration:(At,ze,Yn,Fu)=>m(ze,Yn,Fu,Er=>Wi(At,Er)),typeParameterToDeclaration:(At,ze,Yn,Fu)=>m(ze,Yn,Fu,Er=>zt(At,Er)),symbolTableToDeclarationStatements:(At,ze,Yn,Fu,Er)=>m(ze,Yn,Fu,fr=>bm(At,fr,Er)),symbolToNode:(At,ze,Yn,Fu,Er)=>m(Yn,Fu,Er,fr=>l(At,fr,ze))};function l(At,ze,Yn){if(ze.flags&1073741824){if(At.valueDeclaration){const Er=Za(At.valueDeclaration);if(Er&&Ps(Er))return Er}const Fu=Ur(At).nameType;if(Fu&&Fu.flags&9216)return ze.enclosingDeclaration=Fu.symbol.valueDeclaration,q.createComputedPropertyName(ah(Fu.symbol,ze,Yn))}return ah(At,ze,Yn)}function m(At,ze,Yn,Fu){H.assert(At===void 0||(At.flags&16)===0);const Er=Yn!=null&&Yn.trackSymbol?Yn.moduleResolverHost:ze&134217728?FPt(t):void 0,fr={enclosingDeclaration:At,flags:ze||0,tracker:void 0,encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0,trackedSymbols:void 0};fr.tracker=new Hde(fr,Yn,Er);const Mr=Fu(fr);return fr.truncating&&fr.flags&1&&fr.tracker.reportTruncationError(),fr.encounteredError?void 0:Mr}function D(At){return At.truncating?At.truncating:At.truncating=At.approximateLength>(At.flags&1?DZ:lV)}function C(At,ze){const Yn=ze.flags,Fu=A(At,ze);return ze.flags=Yn,Fu}function A(At,ze){var Yn,Fu;d&&d.throwIfCancellationRequested&&d.throwIfCancellationRequested();const Er=ze.flags&8388608;if(ze.flags&=-8388609,!At){if(!(ze.flags&262144)){ze.encounteredError=!0;return}return ze.approximateLength+=3,q.createKeywordTypeNode(133)}if(ze.flags&536870912||(At=Sg(At)),At.flags&1)return At.aliasSymbol?q.createTypeReferenceNode(hu(At.aliasSymbol),Z(At.aliasTypeArguments,ze)):At===Ei?OP(q.createKeywordTypeNode(133),3,"unresolved"):(ze.approximateLength+=3,q.createKeywordTypeNode(At===Qi?141:133));if(At.flags&2)return q.createKeywordTypeNode(159);if(At.flags&4)return ze.approximateLength+=6,q.createKeywordTypeNode(154);if(At.flags&8)return ze.approximateLength+=6,q.createKeywordTypeNode(150);if(At.flags&64)return ze.approximateLength+=6,q.createKeywordTypeNode(163);if(At.flags&16&&!At.aliasSymbol)return ze.approximateLength+=7,q.createKeywordTypeNode(136);if(At.flags&1056){if(At.symbol.flags&8){const pn=cf(At.symbol),or=oo(pn,ze,788968);if(X0(pn)===At)return or;const qr=lc(At.symbol);return Lm(qr,0)?Kr(or,q.createTypeReferenceNode(qr,void 0)):nD(or)?(or.isTypeOf=!0,q.createIndexedAccessTypeNode(or,q.createLiteralTypeNode(q.createStringLiteral(qr)))):X4(or)?q.createIndexedAccessTypeNode(q.createTypeQueryNode(or.typeName),q.createLiteralTypeNode(q.createStringLiteral(qr))):H.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}return oo(At.symbol,ze,788968)}if(At.flags&128)return ze.approximateLength+=At.value.length+2,q.createLiteralTypeNode(Zn(q.createStringLiteral(At.value,!!(ze.flags&268435456)),16777216));if(At.flags&256){const pn=At.value;return ze.approximateLength+=(""+pn).length,q.createLiteralTypeNode(pn<0?q.createPrefixUnaryExpression(41,q.createNumericLiteral(-pn)):q.createNumericLiteral(pn))}if(At.flags&2048)return ze.approximateLength+=I2(At.value).length+1,q.createLiteralTypeNode(q.createBigIntLiteral(At.value));if(At.flags&512)return ze.approximateLength+=At.intrinsicName.length,q.createLiteralTypeNode(At.intrinsicName==="true"?q.createTrue():q.createFalse());if(At.flags&8192){if(!(ze.flags&1048576)){if(be(At.symbol,ze.enclosingDeclaration))return ze.approximateLength+=6,oo(At.symbol,ze,111551);ze.tracker.reportInaccessibleUniqueSymbolError&&ze.tracker.reportInaccessibleUniqueSymbolError()}return ze.approximateLength+=13,q.createTypeOperatorNode(158,q.createKeywordTypeNode(155))}if(At.flags&16384)return ze.approximateLength+=4,q.createKeywordTypeNode(116);if(At.flags&32768)return ze.approximateLength+=9,q.createKeywordTypeNode(157);if(At.flags&65536)return ze.approximateLength+=4,q.createLiteralTypeNode(q.createNull());if(At.flags&131072)return ze.approximateLength+=5,q.createKeywordTypeNode(146);if(At.flags&4096)return ze.approximateLength+=6,q.createKeywordTypeNode(155);if(At.flags&67108864)return ze.approximateLength+=6,q.createKeywordTypeNode(151);if(NP(At))return ze.flags&4194304&&(!ze.encounteredError&&!(ze.flags&32768)&&(ze.encounteredError=!0),(Fu=(Yn=ze.tracker).reportInaccessibleThisError)==null||Fu.call(Yn)),ze.approximateLength+=4,q.createThisTypeNode();if(!Er&&At.aliasSymbol&&(ze.flags&16384||R(At.aliasSymbol,ze.enclosingDeclaration))){const pn=Z(At.aliasTypeArguments,ze);return EC(At.aliasSymbol.escapedName)&&!(At.aliasSymbol.flags&32)?q.createTypeReferenceNode(q.createIdentifier(""),pn):S(pn)===1&&At.aliasSymbol===Fo.symbol?q.createArrayTypeNode(pn[0]):oo(At.aliasSymbol,ze,788968,pn)}const fr=Gu(At);if(fr&4)return H.assert(!!(At.flags&524288)),At.node?yi(At,mn):mn(At);if(At.flags&262144||fr&3){if(At.flags&262144&&kt(ze.inferTypeParameters,At)){ze.approximateLength+=lc(At.symbol).length+6;let or;const qr=rh(At);if(qr){const La=Idt(At,!0);La&&CD(qr,La)||(ze.approximateLength+=9,or=qr&&C(qr,ze))}return q.createInferTypeNode(ut(At,ze,or))}if(ze.flags&4&&At.flags&262144&&!R(At.symbol,ze.enclosingDeclaration)){const or=fo(At,ze);return ze.approximateLength+=fu(or).length,q.createTypeReferenceNode(q.createIdentifier(fu(or)),void 0)}if(At.symbol)return oo(At.symbol,ze,788968);const pn=(At===$||At===tt)&&Y&&Y.symbol?(At===tt?"sub-":"super-")+lc(Y.symbol):"?";return q.createTypeReferenceNode(q.createIdentifier(pn),void 0)}if(At.flags&1048576&&At.origin&&(At=At.origin),At.flags&3145728){const pn=At.flags&1048576?M5(At.types):At.types;if(S(pn)===1)return C(pn[0],ze);const or=Z(pn,ze,!0);if(or&&or.length>0)return At.flags&1048576?q.createUnionTypeNode(or):q.createIntersectionTypeNode(or);!ze.encounteredError&&!(ze.flags&262144)&&(ze.encounteredError=!0);return}if(fr&48)return H.assert(!!(At.flags&524288)),Gi(At);if(At.flags&4194304){const pn=At.type;ze.approximateLength+=6;const or=C(pn,ze);return q.createTypeOperatorNode(143,or)}if(At.flags&134217728){const pn=At.texts,or=At.types,qr=q.createTemplateHead(pn[0]),La=q.createNodeArray(Vt(or,(cs,pd)=>q.createTemplateLiteralTypeSpan(C(cs,ze),(pdMr(pn));if(At.flags&33554432)return C(At.baseType,ze);return H.fail("Should be unreachable.");function Mr(pn){const or=C(pn.checkType,ze);if(ze.approximateLength+=15,ze.flags&4&&pn.root.isDistributive&&!(pn.checkType.flags&262144)){const bl=j1(Hs(262144,"T")),fl=fo(bl,ze),H1=q.createTypeReferenceNode(fl);ze.approximateLength+=37;const yl=Y9(pn.root.checkType,bl,pn.mapper),Ft=ze.inferTypeParameters;ze.inferTypeParameters=pn.root.inferTypeParameters;const $t=C(_a(pn.root.extendsType,yl),ze);ze.inferTypeParameters=Ft;const Mi=Ou(_a(Ar(pn.root.node.trueType),yl)),Bn=Ou(_a(Ar(pn.root.node.falseType),yl));return q.createConditionalTypeNode(or,q.createInferTypeNode(q.createTypeParameterDeclaration(void 0,q.cloneNode(H1.typeName))),q.createConditionalTypeNode(q.createTypeReferenceNode(q.cloneNode(fl)),C(pn.checkType,ze),q.createConditionalTypeNode(H1,$t,Mi,Bn),q.createKeywordTypeNode(146)),q.createKeywordTypeNode(146))}const qr=ze.inferTypeParameters;ze.inferTypeParameters=pn.root.inferTypeParameters;const La=C(pn.extendsType,ze);ze.inferTypeParameters=qr;const cs=Ou(SC(pn)),pd=Ou(BC(pn));return q.createConditionalTypeNode(or,La,cs,pd)}function Ou(pn){var or,qr,La;return pn.flags&1048576?(or=ze.visitedTypes)!=null&&or.has(Fh(pn))?(ze.flags&131072||(ze.encounteredError=!0,(La=(qr=ze.tracker)==null?void 0:qr.reportCyclicStructureError)==null||La.call(qr)),w(ze)):yi(pn,cs=>C(cs,ze)):C(pn,ze)}function xu(pn){return!!Jge(pn)}function Lt(pn){return!!pn.target&&xu(pn.target)&&!xu(pn)}function li(pn){var or;H.assert(!!(pn.flags&524288));const qr=pn.declaration.readonlyToken?q.createToken(pn.declaration.readonlyToken.kind):void 0,La=pn.declaration.questionToken?q.createToken(pn.declaration.questionToken.kind):void 0;let cs,pd;const bl=!tW(pn)&&!(K9(pn).flags&2)&&ze.flags&4&&!(cp(pn).flags&262144&&((or=rh(cp(pn)))==null?void 0:or.flags)&4194304);if(tW(pn)){if(Lt(pn)&&ze.flags&4){const Mi=j1(Hs(262144,"T")),Bn=fo(Mi,ze);pd=q.createTypeReferenceNode(Bn)}cs=q.createTypeOperatorNode(143,pd||C(K9(pn),ze))}else if(bl){const Mi=j1(Hs(262144,"T")),Bn=fo(Mi,ze);pd=q.createTypeReferenceNode(Bn),cs=pd}else cs=C(cp(pn),ze);const fl=ut(Fg(pn),ze,cs),H1=pn.declaration.nameType?C(I5(pn),ze):void 0,yl=C(B6(DD(pn),!!(C_(pn)&4)),ze),Ft=q.createMappedTypeNode(qr,fl,H1,La,yl,void 0);ze.approximateLength+=10;const $t=Zn(Ft,1);if(Lt(pn)&&ze.flags&4){const Mi=_a(rh(Ar(pn.declaration.typeParameter.constraint.type))||on,pn.mapper);return q.createConditionalTypeNode(C(K9(pn),ze),q.createInferTypeNode(q.createTypeParameterDeclaration(void 0,q.cloneNode(pd.typeName),Mi.flags&2?void 0:C(Mi,ze))),$t,q.createKeywordTypeNode(146))}else if(bl)return q.createConditionalTypeNode(C(cp(pn),ze),q.createInferTypeNode(q.createTypeParameterDeclaration(void 0,q.cloneNode(pd.typeName),q.createTypeOperatorNode(143,C(K9(pn),ze)))),$t,q.createKeywordTypeNode(146));return $t}function Gi(pn){var or,qr;const La=pn.id,cs=pn.symbol;if(cs){const bl=O9(pn)?788968:111551;if(AE(cs.valueDeclaration))return oo(cs,ze,bl);if(cs.flags&32&&!fF(cs)&&!(cs.valueDeclaration&&mr(cs.valueDeclaration)&&ze.flags&2048&&(!Wc(cs.valueDeclaration)||yu(cs,ze.enclosingDeclaration,bl,!1).accessibility!==0))||cs.flags&896||pd())return oo(cs,ze,bl);if((or=ze.visitedTypes)!=null&&or.has(La)){const fl=Uw(pn);return fl?oo(fl,ze,788968):w(ze)}else return yi(pn,Ji)}else{if(!!(Gu(pn)&8388608)){const fl=pn;if(bB(fl.node)){const H1=el(ze,fl.node);if(H1)return H1}return(qr=ze.visitedTypes)!=null&&qr.has(La)?w(ze):yi(pn,Ji)}return Ji(pn)}function pd(){var bl;const fl=!!(cs.flags&8192)&&Oe(cs.declarations,yl=>No(yl)),H1=!!(cs.flags&16)&&(cs.parent||L(cs.declarations,yl=>yl.parent.kind===312||yl.parent.kind===268));if(fl||H1)return(!!(ze.flags&4096)||((bl=ze.visitedTypes)==null?void 0:bl.has(La)))&&(!(ze.flags&8)||be(cs,ze.enclosingDeclaration))}}function yi(pn,or){var qr,La,cs;const pd=pn.id,bl=Gu(pn)&16&&pn.symbol&&pn.symbol.flags&32,fl=Gu(pn)&4&&pn.node?"N"+$s(pn.node):pn.flags&16777216?"N"+$s(pn.root.node):pn.symbol?(bl?"+":"")+Zo(pn.symbol):void 0;ze.visitedTypes||(ze.visitedTypes=new Set),fl&&!ze.symbolDepth&&(ze.symbolDepth=new Map);const H1=ze.enclosingDeclaration&&ar(ze.enclosingDeclaration),yl=`${Fh(pn)}|${ze.flags}`;H1&&(H1.serializedTypes||(H1.serializedTypes=new Map));const Ft=(qr=H1==null?void 0:H1.serializedTypes)==null?void 0:qr.get(yl);if(Ft)return(La=Ft.trackedSymbols)==null||La.forEach(([Br,Qa,Oo])=>ze.tracker.trackSymbol(Br,Qa,Oo)),Ft.truncating&&(ze.truncating=!0),ze.approximateLength+=Ft.addedLength,lu(Ft.node);let $t;if(fl){if($t=ze.symbolDepth.get(fl)||0,$t>10)return w(ze);ze.symbolDepth.set(fl,$t+1)}ze.visitedTypes.add(pd);const Mi=ze.trackedSymbols;ze.trackedSymbols=void 0;const Bn=ze.approximateLength,Du=or(pn),un=ze.approximateLength-Bn;return!ze.reportedDiagnostic&&!ze.encounteredError&&((cs=H1==null?void 0:H1.serializedTypes)==null||cs.set(yl,{node:Du,truncating:ze.truncating,addedLength:un,trackedSymbols:ze.trackedSymbols})),ze.visitedTypes.delete(pd),fl&&ze.symbolDepth.set(fl,$t),ze.trackedSymbols=Mi,Du;function lu(Br){return!sl(Br)&&Ua(Br)===Br?Br:Pt(q.cloneNode(rn(Br,lu,Dg,_r)),Br)}function _r(Br,Qa,Oo,Wo,xr){return Br&&Br.length===0?Pt(q.createNodeArray(void 0,Br.hasTrailingComma),Br):kn(Br,Qa,Oo,Wo,xr)}}function Ji(pn){if(Xm(pn)||pn.containsError)return li(pn);const or=Ag(pn);if(!or.properties.length&&!or.indexInfos.length){if(!or.callSignatures.length&&!or.constructSignatures.length)return ze.approximateLength+=2,Zn(q.createTypeLiteralNode(void 0),1);if(or.callSignatures.length===1&&!or.constructSignatures.length){const bl=or.callSignatures[0];return Te(bl,184,ze)}if(or.constructSignatures.length===1&&!or.callSignatures.length){const bl=or.constructSignatures[0];return Te(bl,185,ze)}}const qr=ti(or.constructSignatures,bl=>!!(bl.flags&4));if(Oe(qr)){const bl=Vt(qr,DF);return or.callSignatures.length+(or.constructSignatures.length-qr.length)+or.indexInfos.length+(ze.flags&2048?ui(or.properties,H1=>!(H1.flags&4194304)):S(or.properties))&&bl.push(xE(or)),C(Ds(bl),ze)}const La=ze.flags;ze.flags|=4194304;const cs=_o(or);ze.flags=La;const pd=q.createTypeLiteralNode(cs);return ze.approximateLength+=2,Zn(pd,ze.flags&1024?0:1),pd}function mn(pn){let or=O0(pn);if(pn.target===Fo||pn.target===To){if(ze.flags&2){const cs=C(or[0],ze);return q.createTypeReferenceNode(pn.target===Fo?"Array":"ReadonlyArray",[cs])}const qr=C(or[0],ze),La=q.createArrayTypeNode(qr);return pn.target===Fo?La:q.createTypeOperatorNode(148,La)}else if(pn.target.objectFlags&8){if(or=Lu(or,(qr,La)=>B6(qr,!!(pn.target.elementFlags[La]&2))),or.length>0){const qr=O5(pn),La=Z(or.slice(0,qr),ze);if(La){const{labeledElementDeclarations:cs}=pn.target;for(let bl=0;bl0){const H1=(pn.target.typeParameters||_t).length;pd=Z(or.slice(La,H1),ze)}const bl=ze.flags;ze.flags|=16;const fl=oo(pn.symbol,ze,788968,pd);return ze.flags=bl,cs?Kr(cs,fl):fl}}}function Kr(pn,or){if(nD(pn)){let qr=pn.typeArguments,La=pn.qualifier;La&&(at(La)?qr!==gk(La)&&(La=l5(q.cloneNode(La),qr)):qr!==gk(La.right)&&(La=q.updateQualifiedName(La,La.left,l5(q.cloneNode(La.right),qr)))),qr=or.typeArguments;const cs=ku(or);for(const pd of cs)La=La?q.createQualifiedName(La,pd):pd;return q.updateImportTypeNode(pn,pn.argument,pn.attributes,La,qr,pn.isTypeOf)}else{let qr=pn.typeArguments,La=pn.typeName;at(La)?qr!==gk(La)&&(La=l5(q.cloneNode(La),qr)):qr!==gk(La.right)&&(La=q.updateQualifiedName(La,La.left,l5(q.cloneNode(La.right),qr))),qr=or.typeArguments;const cs=ku(or);for(const pd of cs)La=q.createQualifiedName(La,pd);return q.updateTypeReferenceNode(pn,La,qr)}}function ku(pn){let or=pn.typeName;const qr=[];for(;!at(or);)qr.unshift(or.right),or=or.left;return qr.unshift(or),qr}function _o(pn){if(D(ze))return[q.createPropertySignature(void 0,"...",void 0,void 0)];const or=[];for(const cs of pn.callSignatures)or.push(Te(cs,179,ze));for(const cs of pn.constructSignatures)cs.flags&4||or.push(Te(cs,180,ze));for(const cs of pn.indexInfos)or.push(Fe(cs,ze,pn.objectFlags&1024?w(ze):void 0));const qr=pn.properties;if(!qr)return or;let La=0;for(const cs of qr){if(La++,ze.flags&2048){if(cs.flags&4194304)continue;l4(cs)&6&&ze.tracker.reportPrivateInBaseOfClassExpression&&ze.tracker.reportPrivateInBaseOfClassExpression(Yr(cs.escapedName))}if(D(ze)&&La+2!(mn.flags&32768)),0);for(const mn of Ji){const Kr=Te(mn,173,ze,{name:Ou,questionToken:xu});Yn.push(yi(Kr))}if(Ji.length||!xu)return}let Lt;I(At,ze)?Lt=w(ze):(Er&&(ze.reverseMappedStack||(ze.reverseMappedStack=[]),ze.reverseMappedStack.push(At)),Lt=fr?ad(ze,fr,At,Mr):q.createKeywordTypeNode(133),Er&&ze.reverseMappedStack.pop());const li=Ng(At)?[q.createToken(148)]:void 0;li&&(ze.approximateLength+=9);const Gi=q.createPropertySignature(li,Ou,xu,Lt);Yn.push(yi(Gi));function yi(Ji){var mn;const Kr=(mn=At.declarations)==null?void 0:mn.find(ku=>ku.kind===355);if(Kr){const ku=KO(Kr.comment);ku&&Nv(Ji,[{kind:3,text:`* +`||sn[0]==="\r");)sn.shift()}function pte(sn){for(;sn.length;){const Qu=sn[sn.length-1].trimEnd();if(Qu==="")sn.pop();else if(Qu.lengthqc&&(Or.push(z5.slice(qc-sn)),D0=2),sn+=z5.length;break;case 19:D0=2;const QK=u.getTokenFullStart(),tT=u.getTokenEnd()-1,pF=Ms(tT);pF?(Vr.push(Ri(k.createJSDocText(Or.join("")),Rs??Hu,QK)),Vr.push(pF),Or=[],Rs=u.getTokenEnd()):_D(u.getTokenText());break;case 62:D0===3?D0=2:D0=3,_D(u.getTokenText());break;case 82:D0!==3&&(D0=2),_D(u.getTokenValue());break;case 42:if(D0===0){D0=1,sn+=1;break}default:D0!==3&&(D0=2),_D(u.getTokenText());break}D0===2||D0===3?v_=Li(D0===3):v_=Qt()}mz(Or);const Zc=Or.join("").trimEnd();if(Vr.length)return Zc.length&&Vr.push(Ri(k.createJSDocText(Zc),Rs??Hu)),Ka(Vr,Hu,u.getTokenEnd());if(Zc.length)return Zc}function Ms(sn){const Qu=Ir(Mc);if(!Qu)return;Qt(),Ym();const Hu=de();let Or=fh(X())?Ee(!0):void 0;if(Or)for(;X()===81;)pr(),Qt(),Or=Ri(k.createJSDocMemberName(Or,Q0()),Hu);const Vr=[];for(;X()!==20&&X()!==4&&X()!==1;)Vr.push(u.getTokenText()),Qt();const Rs=Qu==="link"?k.createJSDocLink:Qu==="linkcode"?k.createJSDocLinkCode:k.createJSDocLinkPlain;return Ri(Rs(Or,Vr.join("")),sn,u.getTokenEnd())}function Mc(){if(ED(),X()===19&&Qt()===60&&fh(Qt())){const sn=u.getTokenValue();if(m6(sn))return sn}}function m6(sn){return sn==="link"||sn==="linkcode"||sn==="linkplain"}function hF(sn,Qu,Hu,Or){return Ri(k.createJSDocUnknownTag(Qu,C4(sn,de(),Hu,Or)),sn)}function gte(sn){sn&&(Ws?Ws.push(sn):(Ws=[sn],v4=sn.pos),qp=sn.end)}function x_(){return ED(),X()===19?nt():void 0}function V9(){const sn=Sb(23);sn&&Ym();const Qu=Sb(62),Hu=_z();return Qu&&Ko(62),sn&&(Ym(),Ho(64)&&i1(),Fn(24)),{name:Hu,isBracketed:sn}}function N(sn){switch(sn.kind){case 151:return!0;case 188:return N(sn.elementType);default:return X4(sn)&&at(sn.typeName)&&sn.typeName.escapedText==="Object"&&!sn.typeArguments}}function W(sn,Qu,Hu,Or){let Vr=x_(),Rs=!Vr;ED();const{name:D0,isBracketed:qc}=V9(),_D=ED();Rs&&!wn(Mc)&&(Vr=x_());const v_=C4(sn,de(),Or,_D),Zc=ee(Vr,D0,Hu,Or);Zc&&(Vr=Zc,Rs=!0);const z5=Hu===1?k.createJSDocPropertyTag(Qu,D0,qc,Vr,Rs,v_):k.createJSDocParameterTag(Qu,D0,qc,Vr,Rs,v_);return Ri(z5,sn)}function ee(sn,Qu,Hu,Or){if(sn&&N(sn.type)){const Vr=de();let Rs,D0;for(;Rs=Ir(()=>Wn(Hu,Or,Qu));)Rs.kind===348||Rs.kind===355?D0=xi(D0,Rs):Rs.kind===352&&te(Rs.tagName,F.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(D0){const qc=Ri(k.createJSDocTypeLiteral(D0,sn.type.kind===188),Vr);return Ri(k.createJSDocTypeExpression(qc),Vr)}}}function ke(sn,Qu,Hu,Or){Oe(Ws,EY)&&le(Qu.pos,u.getTokenStart(),F._0_tag_already_specified,Qr(Qu.escapedText));const Vr=x_();return Ri(k.createJSDocReturnTag(Qu,Vr,C4(sn,de(),Hu,Or)),sn)}function dt(sn,Qu,Hu,Or){Oe(Ws,XP)&&le(Qu.pos,u.getTokenStart(),F._0_tag_already_specified,Qr(Qu.escapedText));const Vr=nt(!0),Rs=Hu!==void 0&&Or!==void 0?C4(sn,de(),Hu,Or):void 0;return Ri(k.createJSDocTypeTag(Qu,Vr,Rs),sn)}function Bi(sn,Qu,Hu,Or){const Rs=X()===23||wn(()=>Qt()===60&&fh(Qt())&&m6(u.getTokenValue()))?void 0:Nt(),D0=Hu!==void 0&&Or!==void 0?C4(sn,de(),Hu,Or):void 0;return Ri(k.createJSDocSeeTag(Qu,Rs,D0),sn)}function au(sn,Qu,Hu,Or){const Vr=x_(),Rs=C4(sn,de(),Hu,Or);return Ri(k.createJSDocThrowsTag(Qu,Vr,Rs),sn)}function za(sn,Qu,Hu,Or){const Vr=de(),Rs=i0();let D0=u.getTokenFullStart();const qc=C4(sn,D0,Hu,Or);qc||(D0=u.getTokenFullStart());const _D=typeof qc!="string"?Ka(Hi([Ri(Rs,Vr,D0)],qc),Vr):Rs.text+qc;return Ri(k.createJSDocAuthorTag(Qu,_D),sn)}function i0(){const sn=[];let Qu=!1,Hu=u.getToken();for(;Hu!==1&&Hu!==4;){if(Hu===30)Qu=!0;else{if(Hu===60&&!Qu)break;if(Hu===32&&Qu){sn.push(u.getTokenText()),u.resetTokenState(u.getTokenEnd());break}}sn.push(u.getTokenText()),Hu=Qt()}return k.createJSDocText(sn.join(""))}function Qm(sn,Qu,Hu,Or){const Vr=vC();return Ri(k.createJSDocImplementsTag(Qu,Vr,C4(sn,de(),Hu,Or)),sn)}function p6(sn,Qu,Hu,Or){const Vr=vC();return Ri(k.createJSDocAugmentsTag(Qu,Vr,C4(sn,de(),Hu,Or)),sn)}function g6(sn,Qu,Hu,Or){const Vr=nt(!1),Rs=Hu!==void 0&&Or!==void 0?C4(sn,de(),Hu,Or):void 0;return Ri(k.createJSDocSatisfiesTag(Qu,Vr,Rs),sn)}function vC(){const sn=co(19),Qu=de(),Hu=Dge();u.setInJSDocType(!0);const Or=d6();u.setInJSDocType(!1);const Vr=k.createExpressionWithTypeArguments(Hu,Or),Rs=Ri(Vr,Qu);return sn&&Fn(20),Rs}function Dge(){const sn=de();let Qu=Bb();for(;co(25);){const Hu=Bb();Qu=Ri(ge(Qu,Hu),sn)}return Qu}function fF(sn,Qu,Hu,Or,Vr){return Ri(Qu(Hu,C4(sn,de(),Or,Vr)),sn)}function Ez(sn,Qu,Hu,Or){const Vr=nt(!0);return Ym(),Ri(k.createJSDocThisTag(Qu,Vr,C4(sn,de(),Hu,Or)),sn)}function BNe(sn,Qu,Hu,Or){const Vr=nt(!0);return Ym(),Ri(k.createJSDocEnumTag(Qu,Vr,C4(sn,de(),Hu,Or)),sn)}function xge(sn,Qu,Hu,Or){let Vr=x_();ED();const Rs=Ete();Ym();let D0=Qw(Hu),qc;if(!Vr||N(Vr.type)){let v_,Zc,z5,QK=!1;for(;(v_=Ir(()=>mF(Hu)))&&v_.kind!==352;)if(QK=!0,v_.kind===351)if(Zc){const tT=Qi(F.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);tT&&Es(tT,hB(Ye,We,0,0,F.The_tag_was_first_specified_here));break}else Zc=v_;else z5=xi(z5,v_);if(QK){const tT=Vr&&Vr.type.kind===188,pF=k.createJSDocTypeLiteral(z5,tT);Vr=Zc&&Zc.typeExpression&&!N(Zc.typeExpression.type)?Zc.typeExpression:Ri(pF,sn),qc=Vr.end}}qc=qc||D0!==void 0?de():(Rs??Vr??Qu).end,D0||(D0=C4(sn,qc,Hu,Or));const _D=k.createJSDocTypedefTag(Qu,Vr,Rs,D0);return Ri(_D,sn,qc)}function Ete(sn){const Qu=u.getTokenStart();if(!fh(X()))return;const Hu=Bb();if(co(25)){const Or=Ete(!0),Vr=k.createModuleDeclaration(void 0,Hu,Or,sn?8:void 0);return Ri(Vr,Qu)}return sn&&(Hu.flags|=4096),Hu}function wNe(sn){const Qu=de();let Hu,Or;for(;Hu=Ir(()=>Wn(4,sn));){if(Hu.kind===352){te(Hu.tagName,F.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}Or=xi(Or,Hu)}return Ka(Or||[],Qu)}function vge(sn,Qu){const Hu=wNe(Qu),Or=Ir(()=>{if(Sb(60)){const Vr=gz(Qu);if(Vr&&Vr.kind===349)return Vr}});return Ri(k.createJSDocSignature(void 0,Hu,Or),sn)}function Xw(sn,Qu,Hu,Or){const Vr=Ete();Ym();let Rs=Qw(Hu);const D0=vge(sn,Hu);Rs||(Rs=C4(sn,de(),Hu,Or));const qc=Rs!==void 0?de():D0.end;return Ri(k.createJSDocCallbackTag(Qu,D0,Vr,Rs),sn,qc)}function Cge(sn,Qu,Hu,Or){Ym();let Vr=Qw(Hu);const Rs=vge(sn,Hu);Vr||(Vr=C4(sn,de(),Hu,Or));const D0=Vr!==void 0?de():Rs.end;return Ri(k.createJSDocOverloadTag(Qu,Rs,Vr),sn,D0)}function TNe(sn,Qu){for(;!at(sn)||!at(Qu);)if(!at(sn)&&!at(Qu)&&sn.right.escapedText===Qu.right.escapedText)sn=sn.left,Qu=Qu.left;else return!1;return sn.escapedText===Qu.escapedText}function mF(sn){return Wn(1,sn)}function Wn(sn,Qu,Hu){let Or=!0,Vr=!1;for(;;)switch(Qt()){case 60:if(Or){const Rs=E6(sn,Qu);return Rs&&(Rs.kind===348||Rs.kind===355)&&Hu&&(at(Rs.name)||!TNe(Hu,Rs.name.left))?!1:Rs}Vr=!1;break;case 4:Or=!0,Vr=!1;break;case 42:Vr&&(Or=!1),Vr=!0;break;case 80:Or=!1;break;case 1:return!1}}function E6(sn,Qu){H.assert(X()===60);const Hu=u.getTokenFullStart();Qt();const Or=Bb(),Vr=ED();let Rs;switch(Or.escapedText){case"type":return sn===1&&dt(Hu,Or);case"prop":case"property":Rs=1;break;case"arg":case"argument":case"param":Rs=6;break;case"template":return H9(Hu,Or,Qu,Vr);default:return!1}return sn&Rs?W(Hu,Or,sn,Qu):!1}function CC(){const sn=de(),Qu=Sb(23);Qu&&Ym();const Hu=Bb(F.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);let Or;if(Qu&&(Ym(),Fn(64),Or=bo(16777216,bg),Fn(24)),!Ql(Hu))return Ri(k.createTypeParameterDeclaration(void 0,Hu,void 0,Or),sn)}function eT(){const sn=de(),Qu=[];do{Ym();const Hu=CC();Hu!==void 0&&Qu.push(Hu),ED()}while(Sb(28));return Ka(Qu,sn)}function H9(sn,Qu,Hu,Or){const Vr=X()===19?nt():void 0,Rs=eT();return Ri(k.createJSDocTemplateTag(Qu,Vr,Rs,C4(sn,de(),Hu,Or)),sn)}function Sb(sn){return X()===sn?(Qt(),!0):!1}function _z(){let sn=Bb();for(co(23)&&Fn(24);co(25);){const Qu=Bb();co(23)&&Fn(24),sn=Bt(sn,Qu)}return sn}function Bb(sn){if(!fh(X()))return dl(80,!sn,sn||F.Identifier_expected);Ni++;const Qu=u.getTokenStart(),Hu=u.getTokenEnd(),Or=X(),Vr=Uc(u.getTokenValue()),Rs=Ri(J(Vr,Or),Qu,Hu);return Qt(),Rs}}})(YK=t.JSDocParser||(t.JSDocParser={}))})(Hv||(Hv={})),(t=>{function u(z,j,J,K){if(K=K||H.shouldAssert(2),k(z,j,J,K),N2e(J))return z;if(z.statements.length===0)return Hv.parseSourceFile(z.fileName,j,z.languageVersion,void 0,!0,z.scriptKind,z.setExternalModuleIndicator,z.jsDocParsingMode);const Y=z;H.assert(!Y.hasBeenIncrementallyParsed),Y.hasBeenIncrementallyParsed=!0,Hv.fixupParentReferences(Y);const oe=z.text,se=T(z),ge=b(z,J);k(z,j,ge,K),H.assert(ge.span.start<=J.span.start),H.assert(Ec(ge.span)===Ec(J.span)),H.assert(Ec(MN(ge))===Ec(MN(J)));const ae=MN(ge).length-ge.span.length;v(Y,ge.span.start,Ec(ge.span),Ec(MN(ge)),ae,oe,j,K);const Ce=Hv.parseSourceFile(z.fileName,j,z.languageVersion,se,!0,z.scriptKind,z.setExternalModuleIndicator,z.jsDocParsingMode);return Ce.commentDirectives=s(z.commentDirectives,Ce.commentDirectives,ge.span.start,Ec(ge.span),ae,oe,j,K),Ce.impliedNodeFormat=z.impliedNodeFormat,Ce}t.updateSourceFile=u;function s(z,j,J,K,Y,oe,se,ge){if(!z)return j;let ae,Ce=!1;for(const ve of z){const{range:Se,type:Ne}=ve;if(Se.endK){ne();const pe={range:{pos:Se.pos+Y,end:Se.end+Y},type:Ne};ae=xi(ae,pe),ge&&H.assert(oe.substring(Se.pos,Se.end)===se.substring(pe.range.pos,pe.range.end))}}return ne(),ae;function ne(){Ce||(Ce=!0,ae?j&&ae.push(...j):ae=j)}}function d(z,j,J,K,Y,oe){j?ge(z):se(z);return;function se(ae){let Ce="";if(oe&&f(ae)&&(Ce=K.substring(ae.pos,ae.end)),ae._children&&(ae._children=void 0),t_(ae,ae.pos+J,ae.end+J),oe&&f(ae)&&H.assert(Ce===Y.substring(ae.pos,ae.end)),ao(ae,se,ge),lm(ae))for(const ne of ae.jsDoc)se(ne);E(ae,oe)}function ge(ae){ae._children=void 0,t_(ae,ae.pos+J,ae.end+J);for(const Ce of ae)se(Ce)}}function f(z){switch(z.kind){case 11:case 9:case 80:return!0}return!1}function p(z,j,J,K,Y){H.assert(z.end>=j,"Adjusting an element that was entirely before the change range"),H.assert(z.pos<=J,"Adjusting an element that was entirely after the change range"),H.assert(z.pos<=z.end);const oe=Math.min(z.pos,K),se=z.end>=J?z.end+Y:Math.min(z.end,K);H.assert(oe<=se),z.parent&&(H.assertGreaterThanOrEqual(oe,z.parent.pos),H.assertLessThanOrEqual(se,z.parent.end)),t_(z,oe,se)}function E(z,j){if(j){let J=z.pos;const K=Y=>{H.assert(Y.pos>=J),J=Y.end};if(lm(z))for(const Y of z.jsDoc)K(Y);ao(z,K),H.assert(J<=z.end)}}function v(z,j,J,K,Y,oe,se,ge){ae(z);return;function ae(ne){if(H.assert(ne.pos<=ne.end),ne.pos>J){d(ne,!1,Y,oe,se,ge);return}const ve=ne.end;if(ve>=j){if(ne.intersectsChange=!0,ne._children=void 0,p(ne,j,J,K,Y),ao(ne,ae,Ce),lm(ne))for(const Se of ne.jsDoc)ae(Se);E(ne,ge);return}H.assert(veJ){d(ne,!0,Y,oe,se,ge);return}const ve=ne.end;if(ve>=j){ne.intersectsChange=!0,ne._children=void 0,p(ne,j,J,K,Y);for(const Se of ne)ae(Se);return}H.assert(ve0&&se<=1;se++){const ge=B(z,K);H.assert(ge.pos<=K);const ae=ge.pos;K=Math.max(0,ae-1)}const Y=Vc(K,Ec(j.span)),oe=j.newLength+(j.span.start-K);return OO(Y,oe)}function B(z,j){let J=z,K;if(ao(z,oe),K){const se=Y(K);se.pos>J.pos&&(J=se)}return J;function Y(se){for(;;){const ge=Ele(se);if(ge)se=ge;else return se}}function oe(se){if(!Ql(se))if(se.pos<=j){if(se.pos>=J.pos&&(J=se),jj),!0}}function k(z,j,J,K){const Y=z.text;if(J&&(H.assert(Y.length-J.span.length+J.newLength===j.length),K||H.shouldAssert(3))){const oe=Y.substr(0,J.span.start),se=j.substr(0,J.span.start);H.assert(oe===se);const ge=Y.substring(Ec(J.span),Y.length),ae=j.substring(Ec(MN(J)),j.length);H.assert(ge===ae)}}function T(z){let j=z.statements,J=0;H.assert(J=Ce.pos&&se=Ce.pos&&se{z[z.Value=-1]="Value"})(M||(M={}))})(Yce||(Yce={})),Qce=new Map,OQe=/^\/\/\/\s*<(\S+)\s.*?\/>/im,jQe=/^\/\/\/?\s*@([^\s:]+)(.*)\s*$/im}});function SY(t){const u=new Map,s=new Map;return L(t,d=>{u.set(d.name.toLowerCase(),d),d.shortName&&s.set(d.shortName,d.name)}),{optionsNameMap:u,shortOptionNames:s}}function jB(){return yXe||(yXe=SY(a3))}function GFe(t){return VQe(t,cc)}function VQe(t,u){const s=ga(t.type.keys()),d=(t.deprecatedKeys?s.filter(f=>!t.deprecatedKeys.has(f)):s).map(f=>`'${f}'`).join(", ");return u(F.Argument_for_0_option_must_be_Colon_1,`--${t.name}`,d)}function BY(t,u,s){return DXe(t,(u??"").trim(),s)}function JFe(t,u="",s){if(u=u.trim(),Pa(u,"-"))return;if(t.type==="listOrElement"&&!u.includes(","))return J7(t,u,s);if(u==="")return[];const d=u.split(",");switch(t.element.type){case"number":return qi(d,f=>J7(t.element,parseInt(f),s));case"string":return qi(d,f=>J7(t.element,f||"",s));case"boolean":case"object":return H.fail(`List of ${t.element.type} is not yet supported.`);default:return qi(d,f=>BY(t.element,f,s))}}function HQe(t){return t.name}function $Fe(t,u,s,d,f){var p;if((p=u.alternateMode)!=null&&p.getOptionsNameMap().optionsNameMap.has(t.toLowerCase()))return Kv(f,d,u.alternateMode.diagnostic,t);const E=bN(t,u.optionDeclarations,HQe);return E?Kv(f,d,u.unknownDidYouMeanDiagnostic,s||t,E.name):Kv(f,d,u.unknownOptionDiagnostic,s||t)}function Xce(t,u,s){const d={};let f;const p=[],E=[];return v(u),{options:d,watchOptions:f,fileNames:p,errors:E};function v(B){let k=0;for(;kc1.readFile(z)));if(!Ja(k)){E.push(k);return}const T=[];let M=0;for(;;){for(;M=k.length)break;const z=M;if(k.charCodeAt(z)===34){for(M++;M32;)M++;T.push(k.substring(z,M))}}v(T)}}function KQe(t,u,s,d,f,p){if(d.isTSConfigOnly){const E=t[u];E==="null"?(f[d.name]=void 0,u++):d.type==="boolean"?E==="false"?(f[d.name]=J7(d,!1,p),u++):(E==="true"&&u++,p.push(cc(F.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,d.name))):(p.push(cc(F.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,d.name)),E&&!Pa(E,"-")&&u++)}else if(!t[u]&&d.type!=="boolean"&&p.push(cc(s.optionTypeMismatchDiagnostic,d.name,nde(d))),t[u]!=="null")switch(d.type){case"number":f[d.name]=J7(d,parseInt(t[u]),p),u++;break;case"boolean":const E=t[u];f[d.name]=J7(d,E!=="false",p),(E==="false"||E==="true")&&u++;break;case"string":f[d.name]=J7(d,t[u]||"",p),u++;break;case"list":const v=JFe(d,t[u],p);f[d.name]=v||[],v&&u++;break;case"listOrElement":H.fail("listOrElement not supported here");break;default:f[d.name]=BY(d,t[u],p),u++;break}else f[d.name]=void 0,u++;return u}function WQe(t,u){return Xce(tH,t,u)}function ede(t,u){return UFe(jB,t,u)}function UFe(t,u,s=!1){u=u.toLowerCase();const{optionsNameMap:d,shortOptionNames:f}=t();if(s){const p=f.get(u);p!==void 0&&(u=p)}return d.get(u)}function GQe(){return FXe||(FXe=SY(MY))}function JQe(t){const{options:u,watchOptions:s,fileNames:d,errors:f}=Xce(SXe,t),p=u;return d.length===0&&d.push("."),p.clean&&p.force&&f.push(cc(F.Options_0_and_1_cannot_be_combined,"clean","force")),p.clean&&p.verbose&&f.push(cc(F.Options_0_and_1_cannot_be_combined,"clean","verbose")),p.clean&&p.watch&&f.push(cc(F.Options_0_and_1_cannot_be_combined,"clean","watch")),p.watch&&p.dry&&f.push(cc(F.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:p,watchOptions:s,projects:d,errors:f}}function $Qe(t,...u){return Po(cc(t,...u).messageText,Ja)}function GV(t,u,s,d,f,p){const E=rM(t,B=>s.readFile(B));if(!Ja(E)){s.onUnRecoverableConfigFileDiagnostic(E);return}const v=WV(t,E),b=s.getCurrentDirectory();return v.path=J0(t,b,L1(s.useCaseSensitiveFileNames)),v.resolvedPath=v.path,v.originalFileName=v.fileName,UV(v,s,$a(lr(t),b),u,$a(t,b),void 0,p,d,f)}function JV(t,u){const s=rM(t,u);return Ja(s)?tde(t,s):{config:{},error:s}}function tde(t,u){const s=WV(t,u);return{config:QQe(s,s.parseDiagnostics,void 0),error:s.parseDiagnostics.length?s.parseDiagnostics[0]:void 0}}function qFe(t,u){const s=rM(t,u);return Ja(s)?WV(t,s):{fileName:t,parseDiagnostics:[s]}}function rM(t,u){let s;try{s=u(t)}catch(d){return cc(F.Cannot_read_file_0_Colon_1,t,d.message)}return s===void 0?cc(F.Cannot_read_file_0,t):s}function ide(t){return lg(t,HQe)}function UQe(){return BXe||(BXe=SY(VB))}function qQe(){return wXe||(wXe=ide(a3))}function ZQe(){return TXe||(TXe=ide(VB))}function YQe(){return LXe||(LXe=ide(eH))}function DNt(){return lAe===void 0&&(lAe={name:void 0,type:"object",elementOptions:ide([aAe,oAe,sAe,iH,{name:"references",type:"list",element:{name:"references",type:"object"},category:F.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:F.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:F.File_Management,defaultValueDescription:F.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:F.File_Management,defaultValueDescription:F.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},ZV])}),lAe}function QQe(t,u,s){var d;const f=(d=t.statements[0])==null?void 0:d.expression;if(f&&f.kind!==210){if(u.push(K4(t,f,F.The_root_value_of_a_0_file_must_be_an_object,Ac(t.fileName)==="jsconfig.json"?"jsconfig.json":"tsconfig.json")),Dh(f)){const p=Le(f.elements,ys);if(p)return $V(t,p,u,!0,s)}return{}}return $V(t,f,u,!0,s)}function ZFe(t,u){var s;return $V(t,(s=t.statements[0])==null?void 0:s.expression,u,!0,void 0)}function $V(t,u,s,d,f){if(!u)return d?{}:void 0;return v(u,f==null?void 0:f.rootOptions);function p(B,k){var T;const M=d?{}:void 0;for(const z of B.properties){if(z.kind!==303){s.push(K4(t,z,F.Property_assignment_expected));continue}z.questionToken&&s.push(K4(t,z.questionToken,F.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),b(z.name)||s.push(K4(t,z.name,F.String_literal_with_double_quotes_expected));const j=oj(z.name)?void 0:V8(z.name),J=j&&Qr(j),K=J?(T=k==null?void 0:k.elementOptions)==null?void 0:T.get(J):void 0,Y=v(z.initializer,K);typeof J<"u"&&(d&&(M[J]=Y),f==null||f.onPropertySet(J,Y,z,k,K))}return M}function E(B,k){if(!d){B.forEach(T=>v(T,k));return}return ti(B.map(T=>v(T,k)),T=>T!==void 0)}function v(B,k){switch(B.kind){case 112:return!0;case 97:return!1;case 106:return null;case 11:return b(B)||s.push(K4(t,B,F.String_literal_with_double_quotes_expected)),B.text;case 9:return Number(B.text);case 224:if(B.operator!==41||B.operand.kind!==9)break;return-Number(B.operand.text);case 210:return p(B,k);case 209:return E(B.elements,k&&k.element)}k?s.push(K4(t,B,F.Compiler_option_0_requires_a_value_of_type_1,k.name,nde(k))):s.push(K4(t,B,F.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function b(B){return us(B)&&Cq(B,t)}}function nde(t){return t.type==="listOrElement"?`${nde(t.element)} or Array`:t.type==="list"?"Array":Ja(t.type)?t.type:"string"}function XQe(t,u){if(t){if(qV(u))return!t.disallowNullOrUndefined;if(t.type==="list")return Ha(u);if(t.type==="listOrElement")return Ha(u)||XQe(t.element,u);const s=Ja(t.type)?t.type:"string";return typeof u===s}return!1}function eXe(t,u,s){var d,f,p;const E=L1(s.useCaseSensitiveFileNames),v=Vt(ti(t.fileNames,(f=(d=t.options.configFile)==null?void 0:d.configFileSpecs)!=null&&f.validatedIncludeSpecs?vNt(u,t.options.configFile.configFileSpecs.validatedIncludeSpecs,t.options.configFile.configFileSpecs.validatedExcludeSpecs,s):J3),T=>SO($a(u,s.getCurrentDirectory()),$a(T,s.getCurrentDirectory()),E)),b=ade(t.options,{configFilePath:$a(u,s.getCurrentDirectory()),useCaseSensitiveFileNames:s.useCaseSensitiveFileNames}),B=t.watchOptions&&CNt(t.watchOptions);return{compilerOptions:{...ude(b),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:B&&ude(B),references:Vt(t.projectReferences,T=>({...T,path:T.originalPath?T.originalPath:"",originalPath:void 0})),files:S(v)?v:void 0,...(p=t.options.configFile)!=null&&p.configFileSpecs?{include:xNt(t.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:t.options.configFile.configFileSpecs.validatedExcludeSpecs}:{},compileOnSave:t.compileOnSave?!0:void 0}}function ude(t){return{...ga(t.entries()).reduce((u,s)=>({...u,[s[0]]:s[1]}),{})}}function xNt(t){if(S(t)){if(S(t)!==1)return t;if(t[0]!==RY)return t}}function vNt(t,u,s,d){if(!u)return J3;const f=aZ(t,s,u,d.useCaseSensitiveFileNames,d.getCurrentDirectory()),p=f.excludePattern&&jx(f.excludePattern,d.useCaseSensitiveFileNames),E=f.includeFilePattern&&jx(f.includeFilePattern,d.useCaseSensitiveFileNames);return E?p?v=>!(E.test(v)&&!p.test(v)):v=>!E.test(v):p?v=>p.test(v):J3}function tXe(t){switch(t.type){case"string":case"number":case"boolean":case"object":return;case"list":case"listOrElement":return tXe(t.element);default:return t.type}}function rde(t,u){return h1(u,(s,d)=>{if(s===t)return d})}function ade(t,u){return iXe(t,jB(),u)}function CNt(t){return iXe(t,UQe())}function iXe(t,{optionsNameMap:u},s){const d=new Map,f=s&&L1(s.useCaseSensitiveFileNames);for(const p in t)if(gu(t,p)){if(u.has(p)&&(u.get(p).category===F.Command_line_Options||u.get(p).category===F.Output_Formatting))continue;const E=t[p],v=u.get(p.toLowerCase());if(v){H.assert(v.type!=="listOrElement");const b=tXe(v);b?v.type==="list"?d.set(p,E.map(B=>rde(B,b))):d.set(p,rde(E,b)):s&&v.isFilePath?d.set(p,SO(s.configFilePath,$a(E,lr(s.configFilePath)),f)):d.set(p,E)}}return d}function nXe(t,u){const s=uXe(t);return f();function d(p){return Array(p+1).join(" ")}function f(){const p=[],E=d(2);return dde.forEach(v=>{if(!s.has(v.name))return;const b=s.get(v.name),B=iAe(v);b!==B?p.push(`${E}${v.name}: ${b}`):gu(zY,v.name)&&p.push(`${E}${v.name}: ${B}`)}),p.join(u)+u}}function uXe(t){const u=$$(t,zY);return ade(u)}function rXe(t,u,s){const d=uXe(t);return E();function f(v){return Array(v+1).join(" ")}function p({category:v,name:b,isCommandLineOnly:B}){const k=[F.Command_line_Options,F.Editor_Support,F.Compiler_Diagnostics,F.Backwards_Compatibility,F.Watch_and_Build_Modes,F.Output_Formatting];return!B&&v!==void 0&&(!k.includes(v)||d.has(b))}function E(){const v=new Map;v.set(F.Projects,[]),v.set(F.Language_and_Environment,[]),v.set(F.Modules,[]),v.set(F.JavaScript_Support,[]),v.set(F.Emit,[]),v.set(F.Interop_Constraints,[]),v.set(F.Type_Checking,[]),v.set(F.Completeness,[]);for(const z of a3)if(p(z)){let j=v.get(z.category);j||v.set(z.category,j=[]),j.push(z)}let b=0,B=0;const k=[];v.forEach((z,j)=>{k.length!==0&&k.push({value:""}),k.push({value:`/* ${to(j)} */`});for(const J of z){let K;d.has(J.name)?K=`"${J.name}": ${JSON.stringify(d.get(J.name))}${(B+=1)===d.size?"":","}`:K=`// "${J.name}": ${JSON.stringify(iAe(J))},`,k.push({value:K,description:`/* ${J.description&&to(J.description)||J.name} */`}),b=Math.max(K.length,b)}});const T=f(2),M=[];M.push("{"),M.push(`${T}"compilerOptions": {`),M.push(`${T}${T}/* ${to(F.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`),M.push("");for(const z of k){const{value:j,description:J=""}=z;M.push(j&&`${T}${T}${j}${J&&f(b-j.length+2)+J}`)}if(u.length){M.push(`${T}},`),M.push(`${T}"files": [`);for(let z=0;ztypeof Ae=="object","object"),Se=ge(ae("files"));if(Se){const Ae=ve==="no-prop"||Ha(ve)&&ve.length===0,De=gu(M,"extends");if(Se.length===0&&Ae&&!De)if(u){const Ke=E||"tsconfig.json",Je=F.The_files_list_in_config_file_0_is_empty,ft=hj(u,"files",Ve=>Ve.initializer),Ye=Kv(u,ft,Je,Ke);k.push(Ye)}else ne(F.The_files_list_in_config_file_0_is_empty,E||"tsconfig.json")}let Ne=ge(ae("include"));const pe=ae("exclude");let fe=!1,xe=ge(pe);if(pe==="no-prop"&&M.compilerOptions){const Ae=M.compilerOptions.outDir,De=M.compilerOptions.declarationDir;(Ae||De)&&(xe=[Ae,De].filter(Ke=>!!Ke))}Se===void 0&&Ne===void 0&&(Ne=[RY],fe=!0);let Be,Ge;return Ne&&(Be=bXe(Ne,k,!0,u,"include")),xe&&(Ge=bXe(xe,k,!1,u,"exclude")),{filesSpecs:Se,includeSpecs:Ne,excludeSpecs:xe,validatedFilesSpec:ti(Se,Ja),validatedIncludeSpecs:Be,validatedExcludeSpecs:Ge,pathPatterns:void 0,isDefaultIncludeSpec:fe}}function oe(ve){const Se=oM(J,ve,z,s,b);return cXe(Se,aM(M),v)&&k.push(lXe(J,E)),Se}function se(ve){let Se;const Ne=Ce("references",pe=>typeof pe=="object","object");if(Ha(Ne))for(const pe of Ne)typeof pe.path!="string"?ne(F.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(Se||(Se=[])).push({path:$a(pe.path,ve),originalPath:pe.path,prepend:pe.prepend,circular:pe.circular});return Se}function ge(ve){return Ha(ve)?ve:void 0}function ae(ve){return Ce(ve,Ja,"string")}function Ce(ve,Se,Ne){if(gu(M,ve)&&!qV(M[ve]))if(Ha(M[ve])){const pe=M[ve];return!u&&!ye(pe,Se)&&k.push(cc(F.Compiler_option_0_requires_a_value_of_type_1,ve,Ne)),pe}else return ne(F.Compiler_option_0_requires_a_value_of_type_1,ve,"Array"),"not-array";return"no-prop"}function ne(ve,...Se){u||k.push(cc(ve,...Se))}}function yNt(t){return t.code===F.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}function lXe({includeSpecs:t,excludeSpecs:u},s){return cc(F.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,s||"tsconfig.json",JSON.stringify(t||[]),JSON.stringify(u||[]))}function cXe(t,u,s){return t.length===0&&u&&(!s||s.length===0)}function aM(t){return!gu(t,"files")&&!gu(t,"references")}function wY(t,u,s,d,f){const p=d.length;return cXe(t,f)?d.push(lXe(s,u)):Uu(d,E=>!yNt(E)),p!==d.length}function kNt(t){return!!t.options}function dXe(t,u,s,d,f,p,E,v){var b;d=q1(d);const B=$a(f||"",d);if(p.includes(B))return E.push(cc(F.Circularity_detected_while_resolving_configuration_Colon_0,[...p,B].join(" -> "))),{raw:t||ZFe(u,E)};const k=t?FNt(t,s,d,f,E):ANt(u,s,d,f,E);if((b=k.options)!=null&&b.paths&&(k.options.pathsBasePath=d),k.extendedConfigPath){p=p.concat([B]);const M={options:{}};Ja(k.extendedConfigPath)?T(M,k.extendedConfigPath):k.extendedConfigPath.forEach(z=>T(M,z)),!k.raw.include&&M.include&&(k.raw.include=M.include),!k.raw.exclude&&M.exclude&&(k.raw.exclude=M.exclude),!k.raw.files&&M.files&&(k.raw.files=M.files),k.raw.compileOnSave===void 0&&M.compileOnSave&&(k.raw.compileOnSave=M.compileOnSave),u&&M.extendedSourceFiles&&(u.extendedSourceFiles=ga(M.extendedSourceFiles.keys())),k.options=VE(M.options,k.options),k.watchOptions=k.watchOptions&&M.watchOptions?VE(M.watchOptions,k.watchOptions):k.watchOptions||M.watchOptions}return k;function T(M,z){const j=SNt(u,z,s,p,E,v,M);if(j&&kNt(j)){const J=j.raw;let K;const Y=oe=>{J[oe]&&(M[oe]=Vt(J[oe],se=>Pf(se)?se:cr(K||(K=wN(lr(z),d,L1(s.useCaseSensitiveFileNames))),se)))};Y("include"),Y("exclude"),Y("files"),J.compileOnSave!==void 0&&(M.compileOnSave=J.compileOnSave),VE(M.options,j.options),M.watchOptions=M.watchOptions&&j.watchOptions?VE({},M.watchOptions,j.watchOptions):M.watchOptions||j.watchOptions}}}function FNt(t,u,s,d,f){gu(t,"excludes")&&f.push(cc(F.Unknown_option_excludes_Did_you_mean_exclude));const p=EXe(t.compilerOptions,s,f,d),E=_Xe(t.typeAcquisition,s,f,d),v=wNt(t.watchOptions,s,f);t.compileOnSave=BNt(t,s,f);const b=t.extends||t.extends===""?hXe(t.extends,u,s,d,f):void 0;return{raw:t,options:p,watchOptions:v,typeAcquisition:E,extendedConfigPath:b}}function hXe(t,u,s,d,f,p,E,v){let b;const B=d?oXe(d,s):s;if(Ja(t))b=fXe(t,u,B,f,E,v);else if(Ha(t)){b=[];for(let k=0;koe.name===z)&&(B=xi(B,J.name))))}}function fXe(t,u,s,d,f,p){if(t=q1(t),Pf(t)||Pa(t,"./")||Pa(t,"../")){let v=$a(t,s);if(!u.fileExists(v)&&!sc(v,".json")&&(v=`${v}.json`,!u.fileExists(v))){d.push(Kv(p,f,F.File_0_not_found,t));return}return v}const E=_Ae(t,cr(s,"tsconfig.json"),u);if(E.resolvedModule)return E.resolvedModule.resolvedFileName;t===""?d.push(Kv(p,f,F.Compiler_option_0_cannot_be_given_an_empty_string,"extends")):d.push(Kv(p,f,F.File_0_not_found,t))}function SNt(t,u,s,d,f,p,E){const v=s.useCaseSensitiveFileNames?u:$g(u);let b,B,k;if(p&&(b=p.get(v))?{extendedResult:B,extendedConfig:k}=b:(B=qFe(u,T=>s.readFile(T)),B.parseDiagnostics.length||(k=dXe(void 0,B,s,lr(u),Ac(u),d,f,p)),p&&p.set(v,{extendedResult:B,extendedConfig:k})),t&&((E.extendedSourceFiles??(E.extendedSourceFiles=new Set)).add(B.fileName),B.extendedSourceFiles))for(const T of B.extendedSourceFiles)E.extendedSourceFiles.add(T);if(B.parseDiagnostics.length){f.push(...B.parseDiagnostics);return}return k}function BNt(t,u,s){if(!gu(t,ZV.name))return!1;const d=Sk(ZV,t.compileOnSave,u,s);return typeof d=="boolean"&&d}function mXe(t,u,s){const d=[];return{options:EXe(t,u,d,s),errors:d}}function pXe(t,u,s){const d=[];return{options:_Xe(t,u,d,s),errors:d}}function gXe(t){return t&&Ac(t)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function EXe(t,u,s,d){const f=gXe(d);return YFe(qQe(),t,u,f,tH,s),d&&(f.configFilePath=q1(d)),f}function lde(t){return{enable:!!t&&Ac(t)==="jsconfig.json",include:[],exclude:[]}}function _Xe(t,u,s,d){const f=lde(d);return YFe(YQe(),t,u,f,rAe,s),f}function wNt(t,u,s){return YFe(ZQe(),t,u,void 0,IY,s)}function YFe(t,u,s,d,f,p){if(u){for(const E in u){const v=t.get(E);v?(d||(d={}))[v.name]=Sk(v,u[E],s,p):p.push($Fe(E,f))}return d}}function Kv(t,u,s,...d){return t&&u?K4(t,u,s,...d):cc(s,...d)}function Sk(t,u,s,d,f,p,E){if(t.isCommandLineOnly){d.push(Kv(E,f==null?void 0:f.name,F.Option_0_can_only_be_specified_on_command_line,t.name));return}if(XQe(t,u)){const v=t.type;if(v==="list"&&Ha(u))return xXe(t,u,s,d,f,p,E);if(v==="listOrElement")return Ha(u)?xXe(t,u,s,d,f,p,E):Sk(t.element,u,s,d,f,p,E);if(!Ja(t.type))return DXe(t,u,d,p,E);const b=J7(t,u,d,p,E);return qV(b)?b:TNt(t,s,b)}else d.push(Kv(E,p,F.Compiler_option_0_requires_a_value_of_type_1,t.name,nde(t)))}function TNt(t,u,s){return t.isFilePath&&(s=$a(s,u),s===""&&(s=".")),s}function J7(t,u,s,d,f){var p;if(qV(u))return;const E=(p=t.extraValidation)==null?void 0:p.call(t,u);if(!E)return u;s.push(Kv(f,d,...E))}function DXe(t,u,s,d,f){if(qV(u))return;const p=u.toLowerCase(),E=t.type.get(p);if(E!==void 0)return J7(t,E,s,d,f);s.push(VQe(t,(v,...b)=>Kv(f,d,v,...b)))}function xXe(t,u,s,d,f,p,E){return ti(Vt(u,(v,b)=>Sk(t.element,v,s,d,f,p==null?void 0:p.elements[b],E)),v=>t.listPreserveFalsyValues?!0:!!v)}function oM(t,u,s,d,f=_t){u=$o(u);const p=L1(d.useCaseSensitiveFileNames),E=new Map,v=new Map,b=new Map,{validatedFilesSpec:B,validatedIncludeSpecs:k,validatedExcludeSpecs:T}=t,M=kP(s,f),z=tV(s,M);if(B)for(const Y of B){const oe=$a(Y,u);E.set(p(oe),oe)}let j;if(k&&k.length>0)for(const Y of d.readDirectory(u,Va(z),T,k,void 0)){if(Ml(Y,".json")){if(!j){const ge=k.filter(Ce=>sc(Ce,".json")),ae=Vt(rZ(ge,u,"files"),Ce=>`^${Ce}$`);j=ae?ae.map(Ce=>jx(Ce,d.useCaseSensitiveFileNames)):_t}if(Ue(j,ge=>ge.test(Y))!==-1){const ge=p(Y);!E.has(ge)&&!b.has(ge)&&b.set(ge,Y)}continue}if(PNt(Y,E,v,M,p))continue;MNt(Y,v,M,p);const oe=p(Y);!E.has(oe)&&!v.has(oe)&&v.set(oe,Y)}const J=ga(E.values()),K=ga(v.values());return J.concat(K,ga(b.values()))}function QFe(t,u,s,d,f){const{validatedFilesSpec:p,validatedIncludeSpecs:E,validatedExcludeSpecs:v}=u;if(!S(E)||!S(v))return!1;s=$o(s);const b=L1(d);if(p){for(const B of p)if(b($a(B,s))===t)return!1}return CXe(t,v,d,f,s)}function vXe(t){const u=Pa(t,"**/")?0:t.indexOf("/**/");return u===-1?!1:(sc(t,"/..")?t.length:t.lastIndexOf("/../"))>u}function TY(t,u,s,d){return CXe(t,ti(u,f=>!vXe(f)),s,d)}function CXe(t,u,s,d,f){const p=yP(u,cr($o(d),f),"exclude"),E=p&&jx(p,s);return E?E.test(t)?!0:!t7(t)&&E.test(zd(t)):!1}function bXe(t,u,s,d,f){return t.filter(E=>{if(!Ja(E))return!1;const v=XFe(E,s);return v!==void 0&&u.push(p(...v)),v===void 0});function p(E,v){const b=cq(d,f,v);return Kv(d,b,E,v)}}function XFe(t,u){if(H.assert(typeof t=="string"),u&&NXe.test(t))return[F.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,t];if(vXe(t))return[F.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,t]}function LNt({validatedIncludeSpecs:t,validatedExcludeSpecs:u},s,d){const f=yP(u,s,"exclude"),p=f&&new RegExp(f,d?"":"i"),E={};if(t!==void 0){const v=[];for(const b of t){const B=$o(cr(s,b));if(p&&p.test(B))continue;const k=NNt(B,d);if(k){const{key:T,flags:M}=k,z=E[T];(z===void 0||zjc(t,E)?E:void 0);if(!p)return!1;for(const E of p){if(Ml(t,E)&&(E!==".ts"||!Ml(t,".d.ts")))return!1;const v=f(wv(t,E));if(u.has(v)||s.has(v)){if(E===".d.ts"&&(Ml(t,".js")||Ml(t,".jsx")))continue;return!0}}return!1}function MNt(t,u,s,d){const f=L(s,p=>jc(t,p)?p:void 0);if(f)for(let p=f.length-1;p>=0;p--){const E=f[p];if(Ml(t,E))return;const v=d(wv(t,E));u.delete(v)}}function eAe(t){const u={};for(const s in t)if(gu(t,s)){const d=ede(s);d!==void 0&&(u[s]=tAe(t[s],d))}return u}function tAe(t,u){if(t===void 0)return t;switch(u.type){case"object":return"";case"string":return"";case"number":return typeof t=="number"?t:"";case"boolean":return typeof t=="boolean"?t:"";case"listOrElement":if(!Ha(t))return tAe(t,u.element);case"list":const s=u.element;return Ha(t)?qi(t,d=>tAe(d,s)):"";default:return h1(u.type,(d,f)=>{if(d===t)return f})}}function iAe(t){switch(t.type){case"number":return 1;case"boolean":return!0;case"string":const u=t.defaultValueDescription;return t.isFilePath?`./${u&&typeof u=="string"?u:""}`:"";case"list":return[];case"listOrElement":return iAe(t.element);case"object":return{};default:const s=Hn(t.type.keys());return s!==void 0?s:H.fail("Expected 'option.type' to have entries.")}}var ZV,nAe,sM,uAe,YV,LY,VB,QV,XV,cde,dde,a3,hde,fde,mde,NY,PY,pde,gde,Ede,MY,eH,yXe,kXe,zY,tH,FXe,AXe,SXe,rAe,BXe,IY,wXe,TXe,LXe,iH,aAe,oAe,sAe,lAe,RY,NXe,PXe,zNt=o({"src/compiler/commandLineParser.ts"(){Bo(),ZV={name:"compileOnSave",type:"boolean",defaultValueDescription:!1},nAe=new Map(Object.entries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5})),sM=new Map(zr(nAe.entries(),([t,u])=>[""+u,t])),uAe=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["es2021","lib.es2021.d.ts"],["es2022","lib.es2022.d.ts"],["es2023","lib.es2023.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["webworker.iterable","lib.webworker.iterable.d.ts"],["scripthost","lib.scripthost.d.ts"],["es2015.core","lib.es2015.core.d.ts"],["es2015.collection","lib.es2015.collection.d.ts"],["es2015.generator","lib.es2015.generator.d.ts"],["es2015.iterable","lib.es2015.iterable.d.ts"],["es2015.promise","lib.es2015.promise.d.ts"],["es2015.proxy","lib.es2015.proxy.d.ts"],["es2015.reflect","lib.es2015.reflect.d.ts"],["es2015.symbol","lib.es2015.symbol.d.ts"],["es2015.symbol.wellknown","lib.es2015.symbol.wellknown.d.ts"],["es2016.array.include","lib.es2016.array.include.d.ts"],["es2017.date","lib.es2017.date.d.ts"],["es2017.object","lib.es2017.object.d.ts"],["es2017.sharedmemory","lib.es2017.sharedmemory.d.ts"],["es2017.string","lib.es2017.string.d.ts"],["es2017.intl","lib.es2017.intl.d.ts"],["es2017.typedarrays","lib.es2017.typedarrays.d.ts"],["es2018.asyncgenerator","lib.es2018.asyncgenerator.d.ts"],["es2018.asynciterable","lib.es2018.asynciterable.d.ts"],["es2018.intl","lib.es2018.intl.d.ts"],["es2018.promise","lib.es2018.promise.d.ts"],["es2018.regexp","lib.es2018.regexp.d.ts"],["es2019.array","lib.es2019.array.d.ts"],["es2019.object","lib.es2019.object.d.ts"],["es2019.string","lib.es2019.string.d.ts"],["es2019.symbol","lib.es2019.symbol.d.ts"],["es2019.intl","lib.es2019.intl.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.date","lib.es2020.date.d.ts"],["es2020.promise","lib.es2020.promise.d.ts"],["es2020.sharedmemory","lib.es2020.sharedmemory.d.ts"],["es2020.string","lib.es2020.string.d.ts"],["es2020.symbol.wellknown","lib.es2020.symbol.wellknown.d.ts"],["es2020.intl","lib.es2020.intl.d.ts"],["es2020.number","lib.es2020.number.d.ts"],["es2021.promise","lib.es2021.promise.d.ts"],["es2021.string","lib.es2021.string.d.ts"],["es2021.weakref","lib.es2021.weakref.d.ts"],["es2021.intl","lib.es2021.intl.d.ts"],["es2022.array","lib.es2022.array.d.ts"],["es2022.error","lib.es2022.error.d.ts"],["es2022.intl","lib.es2022.intl.d.ts"],["es2022.object","lib.es2022.object.d.ts"],["es2022.sharedmemory","lib.es2022.sharedmemory.d.ts"],["es2022.string","lib.es2022.string.d.ts"],["es2022.regexp","lib.es2022.regexp.d.ts"],["es2023.array","lib.es2023.array.d.ts"],["es2023.collection","lib.es2023.collection.d.ts"],["esnext.array","lib.es2023.array.d.ts"],["esnext.collection","lib.es2023.collection.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.disposable","lib.esnext.disposable.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.es2022.string.d.ts"],["esnext.promise","lib.es2021.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"],["esnext.decorators","lib.esnext.decorators.d.ts"],["decorators","lib.decorators.d.ts"],["decorators.legacy","lib.decorators.legacy.d.ts"]],YV=uAe.map(t=>t[0]),LY=new Map(uAe),VB=[{name:"watchFile",type:new Map(Object.entries({fixedpollinginterval:0,prioritypollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3,usefsevents:4,usefseventsonparentdirectory:5})),category:F.Watch_and_Build_Modes,description:F.Specify_how_the_TypeScript_watch_mode_works,defaultValueDescription:4},{name:"watchDirectory",type:new Map(Object.entries({usefsevents:0,fixedpollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3})),category:F.Watch_and_Build_Modes,description:F.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,defaultValueDescription:0},{name:"fallbackPolling",type:new Map(Object.entries({fixedinterval:0,priorityinterval:1,dynamicpriority:2,fixedchunksize:3})),category:F.Watch_and_Build_Modes,description:F.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:1},{name:"synchronousWatchDirectory",type:"boolean",category:F.Watch_and_Build_Modes,description:F.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,defaultValueDescription:!1},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:!0,extraValidation:XFe},category:F.Watch_and_Build_Modes,description:F.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:XFe},category:F.Watch_and_Build_Modes,description:F.Remove_a_list_of_files_from_the_watch_mode_s_processing}],QV=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:F.Command_line_Options,description:F.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",isCommandLineOnly:!0,category:F.Command_line_Options,defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:F.Command_line_Options,description:F.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:F.Output_Formatting,description:F.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:F.Compiler_Diagnostics,description:F.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:F.Compiler_Diagnostics,description:F.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:F.Compiler_Diagnostics,description:F.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:F.Output_Formatting,description:F.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:F.Compiler_Diagnostics,description:F.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:F.Compiler_Diagnostics,description:F.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:F.Compiler_Diagnostics,description:F.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:F.FILE_OR_DIRECTORY,category:F.Compiler_Diagnostics,description:F.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,isCommandLineOnly:!0,paramType:F.DIRECTORY,category:F.Compiler_Diagnostics,description:F.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:F.Projects,description:F.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,transpileOptionValue:void 0,defaultValueDescription:F.false_unless_composite_is_set},{name:"declaration",shortName:"d",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,transpileOptionValue:void 0,description:F.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:F.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,transpileOptionValue:void 0,defaultValueDescription:!1,description:F.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,description:F.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,defaultValueDescription:!1,description:F.Create_source_map_files_for_emitted_JavaScript_files},{name:"inlineSourceMap",type:"boolean",affectsBuildInfo:!0,category:F.Emit,description:F.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:F.Watch_and_Build_Modes,description:F.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,defaultValueDescription:!1},{name:"locale",type:"string",category:F.Command_line_Options,isCommandLineOnly:!0,description:F.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:F.Platform_specific}],XV={name:"target",shortName:"t",type:new Map(Object.entries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,es2022:9,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:F.VERSION,showInSimplifiedHelpView:!0,category:F.Language_and_Environment,description:F.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:1},cde={name:"module",shortName:"m",type:new Map(Object.entries({none:0,commonjs:1,amd:2,system:4,umd:3,es6:5,es2015:5,es2020:6,es2022:7,esnext:99,node16:100,nodenext:199})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:F.KIND,showInSimplifiedHelpView:!0,category:F.Modules,description:F.Specify_what_module_code_is_generated,defaultValueDescription:void 0},dde=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Print_the_compiler_s_version,defaultValueDescription:!1},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:!1},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:F.Command_line_Options,paramType:F.FILE_OR_DIRECTORY,description:F.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:!1},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,isCommandLineOnly:!0,description:F.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{name:"listFilesOnly",type:"boolean",category:F.Command_line_Options,isCommandLineOnly:!0,description:F.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:!1},XV,cde,{name:"lib",type:"list",element:{name:"lib",type:LY,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:F.Language_and_Environment,description:F.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",allowJsFlag:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.JavaScript_Support,description:F.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:!1},{name:"checkJs",type:"boolean",affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.JavaScript_Support,description:F.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:nAe,affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,paramType:F.KIND,showInSimplifiedHelpView:!0,category:F.Language_and_Environment,description:F.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"outFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.FILE,showInSimplifiedHelpView:!0,category:F.Emit,description:F.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.DIRECTORY,showInSimplifiedHelpView:!0,category:F.Emit,description:F.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.LOCATION,category:F.Modules,description:F.Specify_the_root_folder_within_your_source_files,defaultValueDescription:F.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsBuildInfo:!0,isTSConfigOnly:!0,category:F.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:F.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,isFilePath:!0,paramType:F.FILE,category:F.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:F.Specify_the_path_to_tsbuildinfo_incremental_compilation_file},{name:"removeComments",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,defaultValueDescription:!1,description:F.Disable_emitting_comments},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:F.Emit,description:F.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"importHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:!1},{name:"importsNotUsedAsValues",type:new Map(Object.entries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:F.Interop_Constraints,description:F.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:!1},{name:"verbatimModuleSyntax",type:"boolean",category:F.Interop_Constraints,description:F.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting,defaultValueDescription:!1},{name:"strict",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Type_Checking,description:F.Enable_all_strict_type_checking_options,defaultValueDescription:!1},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:F.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:F.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Default_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:F.false_unless_strict_is_set},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Ensure_use_strict_is_always_emitted,defaultValueDescription:F.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Enable_error_reporting_when_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:!1},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Add_undefined_to_a_type_when_accessed_using_an_index,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,defaultValueDescription:!1},{name:"noPropertyAccessFromIndexSignature",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!1,category:F.Type_Checking,description:F.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:!1},{name:"moduleResolution",type:new Map(Object.entries({node10:2,node:2,classic:1,node16:3,nodenext:99,bundler:100})),deprecatedKeys:new Set(["node"]),affectsSourceFile:!0,affectsModuleResolution:!0,paramType:F.STRATEGY,category:F.Modules,description:F.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:F.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:F.Modules,description:F.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:F.Modules,description:F.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:F.Modules,description:F.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:F.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:F.Modules,description:F.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:F.Modules,description:F.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Interop_Constraints,description:F.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:F.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Interop_Constraints,description:F.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!1},{name:"preserveSymlinks",type:"boolean",category:F.Interop_Constraints,description:F.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:!1},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Modules,description:F.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"moduleSuffixes",type:"list",element:{name:"suffix",type:"string"},listPreserveFalsyValues:!0,affectsModuleResolution:!0,category:F.Modules,description:F.List_of_file_name_suffixes_to_search_when_resolving_a_module},{name:"allowImportingTsExtensions",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Modules,description:F.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,defaultValueDescription:!1,transpileOptionValue:void 0},{name:"resolvePackageJsonExports",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Use_the_package_json_exports_field_when_resolving_package_imports,defaultValueDescription:F.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"resolvePackageJsonImports",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Use_the_package_json_imports_field_when_resolving_imports,defaultValueDescription:F.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"customConditions",type:"list",element:{name:"condition",type:"string"},affectsModuleResolution:!0,category:F.Modules,description:F.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports},{name:"sourceRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:F.LOCATION,category:F.Emit,description:F.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:F.LOCATION,category:F.Emit,description:F.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSources",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Enable_experimental_support_for_legacy_experimental_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:F.Language_and_Environment,description:F.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,defaultValueDescription:"`React.createElement`"},{name:"jsxFragmentFactory",type:"string",category:F.Language_and_Environment,description:F.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment,defaultValueDescription:"React.Fragment"},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,category:F.Language_and_Environment,description:F.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,defaultValueDescription:"react"},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Enable_importing_json_files,defaultValueDescription:!1},{name:"allowArbitraryExtensions",type:"boolean",affectsProgramStructure:!0,category:F.Modules,description:F.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present,defaultValueDescription:!1},{name:"out",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!1,category:F.Backwards_Compatibility,paramType:F.FILE,transpileOptionValue:void 0,description:F.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",affectsBuildInfo:!0,category:F.Completeness,description:F.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:F.Backwards_Compatibility,description:F.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:"utf8"},{name:"emitBOM",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:!1},{name:"newLine",type:new Map(Object.entries({crlf:0,lf:1})),affectsEmit:!0,affectsBuildInfo:!0,paramType:F.NEWLINE,category:F.Emit,description:F.Set_the_newline_character_for_emitting_files,defaultValueDescription:"lf"},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Output_Formatting,description:F.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:F.Language_and_Environment,affectsProgramStructure:!0,description:F.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:!0,defaultValueDescription:!1},{name:"stripInternal",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:F.Editor_Support,description:F.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:!1},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:F.Projects,description:F.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:F.Projects,description:F.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:F.Projects,description:F.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,transpileOptionValue:void 0,description:F.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.DIRECTORY,category:F.Emit,transpileOptionValue:void 0,description:F.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",affectsBuildInfo:!0,category:F.Completeness,description:F.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:F.Interop_Constraints,description:F.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!0},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:F.JavaScript_Support,description:F.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,defaultValueDescription:0},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:F.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:F.Backwards_Compatibility,description:F.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:!1},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:F.Specify_a_list_of_language_service_plugins_to_include,category:F.Editor_Support},{name:"moduleDetection",type:new Map(Object.entries({auto:2,legacy:1,force:3})),affectsSourceFile:!0,affectsModuleResolution:!0,description:F.Control_what_method_is_used_to_detect_module_format_JS_files,category:F.Language_and_Environment,defaultValueDescription:F.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules},{name:"ignoreDeprecations",type:"string",defaultValueDescription:void 0}],a3=[...QV,...dde],hde=a3.filter(t=>!!t.affectsSemanticDiagnostics),fde=a3.filter(t=>!!t.affectsEmit),mde=a3.filter(t=>!!t.affectsDeclarationPath),NY=a3.filter(t=>!!t.affectsModuleResolution),PY=a3.filter(t=>!!t.affectsSourceFile||!!t.affectsBindDiagnostics),pde=a3.filter(t=>!!t.affectsProgramStructure),gde=a3.filter(t=>gu(t,"transpileOptionValue")),Ede=[{name:"verbose",shortName:"v",category:F.Command_line_Options,description:F.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{name:"dry",shortName:"d",category:F.Command_line_Options,description:F.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean",defaultValueDescription:!1},{name:"force",shortName:"f",category:F.Command_line_Options,description:F.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean",defaultValueDescription:!1},{name:"clean",category:F.Command_line_Options,description:F.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1}],MY=[...QV,...Ede],eH=[{name:"enable",type:"boolean",defaultValueDescription:!1},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean",defaultValueDescription:!1}],kXe={diagnostic:F.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:GQe},zY={module:1,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},tH={alternateMode:kXe,getOptionsNameMap:jB,optionDeclarations:a3,unknownOptionDiagnostic:F.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:F.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:F.Compiler_option_0_expects_an_argument},AXe={diagnostic:F.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:jB},SXe={alternateMode:AXe,getOptionsNameMap:GQe,optionDeclarations:MY,unknownOptionDiagnostic:F.Unknown_build_option_0,unknownDidYouMeanDiagnostic:F.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:F.Build_option_0_requires_a_value_of_type_1},rAe={optionDeclarations:eH,unknownOptionDiagnostic:F.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:F.Unknown_type_acquisition_option_0_Did_you_mean_1},IY={getOptionsNameMap:UQe,optionDeclarations:VB,unknownOptionDiagnostic:F.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:F.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:F.Watch_option_0_requires_a_value_of_type_1},iH={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:F.File_Management,disallowNullOrUndefined:!0},aAe={name:"compilerOptions",type:"object",elementOptions:qQe(),extraKeyDiagnostics:tH},oAe={name:"watchOptions",type:"object",elementOptions:ZQe(),extraKeyDiagnostics:IY},sAe={name:"typeAcquisition",type:"object",elementOptions:YQe(),extraKeyDiagnostics:rAe},RY="**/*",NXe=/(^|\/)\*\*\/?$/,PXe=/^[^*?]*(?=\/[^/]*[*?])/}});function Sa(t,u,...s){t.trace(Dle(u,...s))}function aD(t,u){return!!t.traceResolution&&u.trace!==void 0}function $7(t,u){let s;if(u&&t){const d=t.contents.packageJsonContent;typeof d.name=="string"&&typeof d.version=="string"&&(s={name:d.name,subModuleName:u.path.slice(t.packageDirectory.length+rl.length),version:d.version})}return u&&{path:u.path,extension:u.ext,packageId:s,resolvedUsingTsExtension:u.resolvedUsingTsExtension}}function _de(t){return $7(void 0,t)}function MXe(t){if(t)return H.assert(t.packageId===void 0),{path:t.path,ext:t.extension,resolvedUsingTsExtension:t.resolvedUsingTsExtension}}function OY(t){const u=[];return t&1&&u.push("TypeScript"),t&2&&u.push("JavaScript"),t&4&&u.push("Declaration"),t&8&&u.push("JSON"),u.join(", ")}function INt(t){const u=[];return t&1&&u.push(...hV),t&2&&u.push(..._B),t&4&&u.push(...dV),t&8&&u.push(".json"),u}function cAe(t){if(t)return H.assert(cZ(t.extension)),{fileName:t.path,packageId:t.packageId}}function zXe(t,u,s,d,f,p,E,v,b){if(!E.resultFromCache&&!E.compilerOptions.preserveSymlinks&&u&&s&&!u.originalPath&&!Id(t)){const{resolvedFileName:B,originalPath:k}=OXe(u.path,E.host,E.traceEnabled);k&&(u={...u,path:B,originalPath:k})}return IXe(u,s,d,f,p,E.resultFromCache,v,b)}function IXe(t,u,s,d,f,p,E,v){return p?E!=null&&E.isReadonly?{...p,failedLookupLocations:dAe(p.failedLookupLocations,s),affectingLocations:dAe(p.affectingLocations,d),resolutionDiagnostics:dAe(p.resolutionDiagnostics,f)}:(p.failedLookupLocations=HB(p.failedLookupLocations,s),p.affectingLocations=HB(p.affectingLocations,d),p.resolutionDiagnostics=HB(p.resolutionDiagnostics,f),p):{resolvedModule:t&&{resolvedFileName:t.path,originalPath:t.originalPath===!0?void 0:t.originalPath,extension:t.extension,isExternalLibraryImport:u,packageId:t.packageId,resolvedUsingTsExtension:!!t.resolvedUsingTsExtension},failedLookupLocations:lM(s),affectingLocations:lM(d),resolutionDiagnostics:lM(f),node10Result:v}}function lM(t){return t.length?t:void 0}function HB(t,u){return u!=null&&u.length?t!=null&&t.length?(t.push(...u),t):u:t}function dAe(t,u){return t!=null&&t.length?u.length?[...t,...u]:t.slice():lM(u)}function RXe(t,u,s,d){if(!gu(t,u)){d.traceEnabled&&Sa(d.host,F.package_json_does_not_have_a_0_field,u);return}const f=t[u];if(typeof f!==s||f===null){d.traceEnabled&&Sa(d.host,F.Expected_type_of_0_field_in_package_json_to_be_1_got_2,u,s,f===null?"null":typeof f);return}return f}function Dde(t,u,s,d){const f=RXe(t,u,"string",d);if(f===void 0)return;if(!f){d.traceEnabled&&Sa(d.host,F.package_json_had_a_falsy_0_field,u);return}const p=$o(cr(s,f));return d.traceEnabled&&Sa(d.host,F.package_json_has_0_field_1_that_references_2,u,f,p),p}function RNt(t,u,s){return Dde(t,"typings",u,s)||Dde(t,"types",u,s)}function ONt(t,u,s){return Dde(t,"tsconfig",u,s)}function jNt(t,u,s){return Dde(t,"main",u,s)}function VNt(t,u){const s=RXe(t,"typesVersions","object",u);if(s!==void 0)return u.traceEnabled&&Sa(u.host,F.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),s}function HNt(t,u){const s=VNt(t,u);if(s===void 0)return;if(u.traceEnabled)for(const E in s)gu(s,E)&&!EO.tryParse(E)&&Sa(u.host,F.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,E);const d=jY(s);if(!d){u.traceEnabled&&Sa(u.host,F.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,g);return}const{version:f,paths:p}=d;if(typeof p!="object"){u.traceEnabled&&Sa(u.host,F.Expected_type_of_0_field_in_package_json_to_be_1_got_2,`typesVersions['${f}']`,"object",typeof p);return}return d}function jY(t){FAe||(FAe=new Lp(_));for(const u in t){if(!gu(t,u))continue;const s=EO.tryParse(u);if(s!==void 0&&s.test(FAe))return{version:u,paths:t[u]}}}function cM(t,u){if(t.typeRoots)return t.typeRoots;let s;if(t.configFilePath?s=lr(t.configFilePath):u.getCurrentDirectory&&(s=u.getCurrentDirectory()),s!==void 0)return KNt(s)}function KNt(t){let u;return Ug($o(t),s=>{const d=cr(s,aet);(u??(u=[])).push(d)}),u}function WNt(t,u,s){const d=typeof s.useCaseSensitiveFileNames=="function"?s.useCaseSensitiveFileNames():s.useCaseSensitiveFileNames;return pv(t,u,!d)===0}function OXe(t,u,s){const d=iPt(t,u,s),f=WNt(t,d,u);return{resolvedFileName:f?t:d,originalPath:f?void 0:t}}function jXe(t,u,s){const d=sc(t,"/node_modules/@types")||sc(t,"/node_modules/@types/")?net(u,s):u;return cr(t,d)}function hAe(t,u,s,d,f,p,E){H.assert(typeof t=="string","Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.");const v=aD(s,d);f&&(s=f.commandLine.options);const b=u?lr(u):void 0;let B=b?p==null?void 0:p.getFromDirectoryCache(t,E,b,f):void 0;if(!B&&b&&!Id(t)&&(B=p==null?void 0:p.getFromNonRelativeNameCache(t,E,b,f)),B)return v&&(Sa(d,F.Resolving_type_reference_directive_0_containing_file_1,t,u),f&&Sa(d,F.Using_compiler_options_of_project_reference_redirect_0,f.sourceFile.fileName),Sa(d,F.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,t,b),ae(B)),B;const k=cM(s,d);v&&(u===void 0?k===void 0?Sa(d,F.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,t):Sa(d,F.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,t,k):k===void 0?Sa(d,F.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,t,u):Sa(d,F.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,t,u,k),f&&Sa(d,F.Using_compiler_options_of_project_reference_redirect_0,f.sourceFile.fileName));const T=[],M=[];let z=fAe(s);E!==void 0&&(z|=30);const j=p1(s);E===99&&3<=j&&j<=99&&(z|=32);const J=z&8?$2(s,E):[],K=[],Y={compilerOptions:s,host:d,traceEnabled:v,failedLookupLocations:T,affectingLocations:M,packageJsonInfoCache:p,features:z,conditions:J,requestContainingDirectory:b,reportDiagnostic:ve=>void K.push(ve),isConfigLookup:!1,candidateIsFromPackageJsonField:!1};let oe=Ce(),se=!0;oe||(oe=ne(),se=!1);let ge;if(oe){const{fileName:ve,packageId:Se}=oe;let Ne=ve,pe;s.preserveSymlinks||({resolvedFileName:Ne,originalPath:pe}=OXe(ve,d,v)),ge={primary:se,resolvedFileName:Ne,originalPath:pe,packageId:Se,isExternalLibraryImport:q7(ve)}}return B={resolvedTypeReferenceDirective:ge,failedLookupLocations:lM(T),affectingLocations:lM(M),resolutionDiagnostics:lM(K)},b&&p&&!p.isReadonly&&(p.getOrCreateCacheForDirectory(b,f).set(t,E,B),Id(t)||p.getOrCreateCacheForNonRelativeName(t,E,f).set(b,B)),v&&ae(B),B;function ae(ve){var Se;(Se=ve.resolvedTypeReferenceDirective)!=null&&Se.resolvedFileName?ve.resolvedTypeReferenceDirective.packageId?Sa(d,F.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,t,ve.resolvedTypeReferenceDirective.resolvedFileName,Px(ve.resolvedTypeReferenceDirective.packageId),ve.resolvedTypeReferenceDirective.primary):Sa(d,F.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,t,ve.resolvedTypeReferenceDirective.resolvedFileName,ve.resolvedTypeReferenceDirective.primary):Sa(d,F.Type_reference_directive_0_was_not_resolved,t)}function Ce(){if(k&&k.length)return v&&Sa(d,F.Resolving_with_primary_search_path_0,k.join(", ")),G(k,ve=>{const Se=jXe(ve,t,Y),Ne=hg(ve,d);if(!Ne&&v&&Sa(d,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,ve),s.typeRoots){const pe=GB(4,Se,!Ne,Y);if(pe){const fe=uH(pe.path),xe=fe?U2(fe,!1,Y):void 0;return cAe($7(xe,pe))}}return cAe(vAe(4,Se,!Ne,Y))});v&&Sa(d,F.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function ne(){const ve=u&&lr(u);if(ve!==void 0){let Se;if(!s.typeRoots||!sc(u,QB))if(v&&Sa(d,F.Looking_up_in_node_modules_folder_initial_location_0,ve),Id(t)){const{path:Ne}=JXe(ve,t);Se=yde(4,Ne,!1,Y,!0)}else{const Ne=XXe(4,t,ve,Y,void 0,void 0);Se=Ne&&Ne.value}else v&&Sa(d,F.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder);return cAe(Se)}else v&&Sa(d,F.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}function fAe(t){let u=0;switch(p1(t)){case 3:u=30;break;case 99:u=30;break;case 100:u=30;break}return t.resolvePackageJsonExports?u|=8:t.resolvePackageJsonExports===!1&&(u&=-9),t.resolvePackageJsonImports?u|=2:t.resolvePackageJsonImports===!1&&(u&=-3),u}function $2(t,u){const s=p1(t);if(u===void 0){if(s===100)u=99;else if(s===2)return[]}const d=u===99?["import"]:["require"];return t.noDtsResolution||d.push("types"),s!==100&&d.push("node"),Hi(d,t.customConditions)}function xde(t,u,s,d,f){const p=rH(f==null?void 0:f.getPackageJsonInfoCache(),d,s);return Ug(u,E=>{if(Ac(E)!=="node_modules"){const v=cr(E,"node_modules"),b=cr(v,t);return U2(b,!1,p)}})}function VY(t,u){if(t.types)return t.types;const s=[];if(u.directoryExists&&u.getDirectories){const d=cM(t,u);if(d){for(const f of d)if(u.directoryExists(f))for(const p of u.getDirectories(f)){const E=$o(p),v=cr(f,E,"package.json");if(!(u.fileExists(v)&&EP(v,u).typings===null)){const B=Ac(E);B.charCodeAt(0)!==46&&s.push(B)}}}}return s}function mAe(t){var u;if(t===null||typeof t!="object")return""+t;if(Ha(t))return`[${(u=t.map(d=>mAe(d)))==null?void 0:u.join(",")}]`;let s="{";for(const d in t)gu(t,d)&&(s+=`${d}: ${mAe(t[d])}`);return s+"}"}function vde(t,u){return u.map(s=>mAe(tZ(t,s))).join("|")+`|${t.pathsBasePath}`}function Cde(t,u){const s=new Map,d=new Map;let f=new Map;return t&&s.set(t,f),{getMapOfCacheRedirects:p,getOrCreateMapOfCacheRedirects:E,update:v,clear:B,getOwnMap:()=>f};function p(T){return T?b(T.commandLine.options,!1):f}function E(T){return T?b(T.commandLine.options,!0):f}function v(T){t!==T&&(t?f=b(T,!0):s.set(T,f),t=T)}function b(T,M){let z=s.get(T);if(z)return z;const j=k(T);if(z=d.get(j),!z){if(t){const J=k(t);J===j?z=f:d.has(J)||d.set(J,f)}M&&(z??(z=new Map)),z&&d.set(j,z)}return z&&s.set(T,z),z}function B(){const T=t&&u.get(t);f.clear(),s.clear(),u.clear(),d.clear(),t&&(T&&u.set(t,T),s.set(t,f))}function k(T){let M=u.get(T);return M||u.set(T,M=vde(T,NY)),M}}function GNt(t,u){let s;return{getPackageJsonInfo:d,setPackageJsonInfo:f,clear:p,entries:E,getInternalMap:v};function d(b){return s==null?void 0:s.get(J0(b,t,u))}function f(b,B){(s||(s=new Map)).set(J0(b,t,u),B)}function p(){s=void 0}function E(){const b=s==null?void 0:s.entries();return b?ga(b):[]}function v(){return s}}function VXe(t,u,s,d){const f=t.getOrCreateMapOfCacheRedirects(u);let p=f.get(s);return p||(p=d(),f.set(s,p)),p}function JNt(t,u,s,d){const f=Cde(s,d);return{getFromDirectoryCache:b,getOrCreateCacheForDirectory:v,clear:p,update:E,directoryToModuleNameMap:f};function p(){f.clear()}function E(B){f.update(B)}function v(B,k){const T=J0(B,t,u);return VXe(f,k,T,()=>U7())}function b(B,k,T,M){var z,j;const J=J0(T,t,u);return(j=(z=f.getMapOfCacheRedirects(M))==null?void 0:z.get(J))==null?void 0:j.get(B,k)}}function dM(t,u){return u===void 0?t:`${u}|${t}`}function U7(){const t=new Map,u=new Map,s={get(f,p){return t.get(d(f,p))},set(f,p,E){return t.set(d(f,p),E),s},delete(f,p){return t.delete(d(f,p)),s},has(f,p){return t.has(d(f,p))},forEach(f){return t.forEach((p,E)=>{const[v,b]=u.get(E);return f(p,v,b)})},size(){return t.size}};return s;function d(f,p){const E=dM(f,p);return u.set(E,[f,p]),E}}function $Nt(t){return t.resolvedModule&&(t.resolvedModule.originalPath||t.resolvedModule.resolvedFileName)}function UNt(t){return t.resolvedTypeReferenceDirective&&(t.resolvedTypeReferenceDirective.originalPath||t.resolvedTypeReferenceDirective.resolvedFileName)}function qNt(t,u,s,d,f){const p=Cde(s,f);return{getFromNonRelativeNameCache:b,getOrCreateCacheForNonRelativeName:B,clear:E,update:v};function E(){p.clear()}function v(T){p.update(T)}function b(T,M,z,j){var J,K;return H.assert(!Id(T)),(K=(J=p.getMapOfCacheRedirects(j))==null?void 0:J.get(dM(T,M)))==null?void 0:K.get(z)}function B(T,M,z){return H.assert(!Id(T)),VXe(p,z,dM(T,M),k)}function k(){const T=new Map;return{get:M,set:z};function M(J){return T.get(J0(J,t,u))}function z(J,K){const Y=J0(J,t,u);if(T.has(Y))return;T.set(Y,K);const oe=d(K),se=oe&&j(Y,oe);let ge=Y;for(;ge!==se;){const ae=lr(ge);if(ae===ge||T.has(ae))break;T.set(ae,K),ge=ae}}function j(J,K){const Y=J0(lr(K),t,u);let oe=0;const se=Math.min(J.length,Y.length);for(;oed,clearAllExceptPackageJsonInfoCache:B,optionsToRedirectsKey:p};function b(){B(),d.clear()}function B(){E.clear(),v.clear()}function k(T){E.update(T),v.update(T)}}function KB(t,u,s,d,f){const p=HXe(t,u,s,d,$Nt,f);return p.getOrCreateCacheForModuleName=(E,v,b)=>p.getOrCreateCacheForNonRelativeName(E,v,b),p}function HY(t,u,s,d,f){return HXe(t,u,s,d,UNt,f)}function bde(t){return{moduleResolution:2,traceResolution:t.traceResolution}}function KY(t,u,s,d,f){return WB(t,u,bde(s),d,f)}function KXe(t,u,s,d){const f=lr(u);return s.getFromDirectoryCache(t,d,f,void 0)}function WB(t,u,s,d,f,p,E){var v,b,B;const k=aD(s,d);p&&(s=p.commandLine.options),k&&(Sa(d,F.Resolving_module_0_from_1,t,u),p&&Sa(d,F.Using_compiler_options_of_project_reference_redirect_0,p.sourceFile.fileName));const T=lr(u);let M=f==null?void 0:f.getFromDirectoryCache(t,E,T,p);if(M)k&&Sa(d,F.Resolution_for_module_0_was_found_in_cache_from_location_1,t,T);else{let z=s.moduleResolution;if(z===void 0){switch(m1(s)){case 1:z=2;break;case 100:z=3;break;case 199:z=99;break;default:z=1;break}k&&Sa(d,F.Module_resolution_kind_is_not_specified_using_0,y8[z])}else k&&Sa(d,F.Explicitly_specified_module_resolution_kind_Colon_0,y8[z]);switch((v=hh)==null||v.logStartResolveModule(t),z){case 3:M=XNt(t,u,s,d,f,p,E);break;case 99:M=ePt(t,u,s,d,f,p,E);break;case 2:M=EAe(t,u,s,d,f,p,E?$2(s,E):void 0);break;case 1:M=yAe(t,u,s,d,f,p);break;case 100:M=gAe(t,u,s,d,f,p,E?$2(s,E):void 0);break;default:return H.fail(`Unexpected moduleResolution: ${z}`)}M&&M.resolvedModule&&((b=hh)==null||b.logInfoEvent(`Module "${t}" resolved to "${M.resolvedModule.resolvedFileName}"`)),(B=hh)==null||B.logStopResolveModule(M&&M.resolvedModule?""+M.resolvedModule.resolvedFileName:"null"),f&&!f.isReadonly&&(f.getOrCreateCacheForDirectory(T,p).set(t,E,M),Id(t)||f.getOrCreateCacheForNonRelativeName(t,E,p).set(T,M))}return k&&(M.resolvedModule?M.resolvedModule.packageId?Sa(d,F.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,t,M.resolvedModule.resolvedFileName,Px(M.resolvedModule.packageId)):Sa(d,F.Module_name_0_was_successfully_resolved_to_1,t,M.resolvedModule.resolvedFileName):Sa(d,F.Module_name_0_was_not_resolved,t)),M}function WXe(t,u,s,d,f){const p=ZNt(t,u,d,f);return p?p.value:Id(u)?YNt(t,u,s,d,f):QNt(t,u,d,f)}function ZNt(t,u,s,d){var f;const{baseUrl:p,paths:E,configFile:v}=d.compilerOptions;if(E&&!om(u)){d.traceEnabled&&(p&&Sa(d.host,F.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,p,u),Sa(d.host,F.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,u));const b=zq(d.compilerOptions,d.host),B=v!=null&&v.configFileSpecs?(f=v.configFileSpecs).pathPatterns||(f.pathPatterns=lZ(E)):void 0;return bAe(t,u,b,E,B,s,!1,d)}}function YNt(t,u,s,d,f){if(!f.compilerOptions.rootDirs)return;f.traceEnabled&&Sa(f.host,F.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,u);const p=$o(cr(s,u));let E,v;for(const b of f.compilerOptions.rootDirs){let B=$o(b);sc(B,rl)||(B+=rl);const k=Pa(p,B)&&(v===void 0||v.lengthvoid oe.push(ne),isConfigLookup:v,candidateIsFromPackageJsonField:!1};j&&b7(Y)&&Sa(f,F.Resolving_in_0_mode_with_conditions_1,t&32?"ESM":"CJS",se.conditions.map(ne=>`'${ne}'`).join(", "));let ge;if(Y===2){const ne=E&5,ve=E&-6;ge=ne&&Ce(ne,se)||ve&&Ce(ve,se)||void 0}else ge=Ce(E,se);let ae;if((k=ge==null?void 0:ge.value)!=null&&k.isExternalLibraryImport&&!v&&E&5&&t&8&&!Id(u)&&!CAe(5,ge.value.resolved.extension)&&(B!=null&&B.includes("import"))){Wv(se,F.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);const ne={...se,features:se.features&-9,reportDiagnostic:Is},ve=Ce(E&5,ne);(T=ve==null?void 0:ve.value)!=null&&T.isExternalLibraryImport&&(ae=ve.value.resolved.path)}return zXe(u,(M=ge==null?void 0:ge.value)==null?void 0:M.resolved,(z=ge==null?void 0:ge.value)==null?void 0:z.isExternalLibraryImport,J,K,oe,se,p,ae);function Ce(ne,ve){const Ne=WXe(ne,u,s,(pe,fe,xe,Be)=>yde(pe,fe,xe,Be,!0),ve);if(Ne)return Im({resolved:Ne,isExternalLibraryImport:q7(Ne.path)});if(Id(u)){const{path:pe,parts:fe}=JXe(s,u),xe=yde(ne,pe,!1,ve,!0);return xe&&Im({resolved:xe,isExternalLibraryImport:kt(fe,"node_modules")})}else{let pe;if(t&2&&Pa(u,"#")&&(pe=oPt(ne,u,s,ve,p,b)),!pe&&t&4&&(pe=aPt(ne,u,s,ve,p,b)),!pe){if(u.includes(":")){j&&Sa(f,F.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1,u,OY(ne));return}j&&Sa(f,F.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,u,OY(ne)),pe=XXe(ne,u,s,ve,p,b)}return ne&4&&(pe??(pe=ret(u,ve))),pe&&{value:pe.value&&{resolved:pe.value,isExternalLibraryImport:!0}}}}}function JXe(t,u){const s=cr(t,u),d=yd(s),f=qu(d);return{path:f==="."||f===".."?zd($o(s)):$o(s),parts:d}}function iPt(t,u,s){if(!u.realpath)return t;const d=$o(u.realpath(t));return s&&Sa(u,F.Resolving_real_path_for_0_result_1,t,d),d}function yde(t,u,s,d,f){if(d.traceEnabled&&Sa(d.host,F.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,u,OY(t)),!ZD(u)){if(!s){const E=lr(u);hg(E,d.host)||(d.traceEnabled&&Sa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,E),s=!0)}const p=GB(t,u,s,d);if(p){const E=f?uH(p.path):void 0,v=E?U2(E,!1,d):void 0;return $7(v,p)}}if(s||hg(u,d.host)||(d.traceEnabled&&Sa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,u),s=!0),!(d.features&32))return vAe(t,u,s,d,f)}function q7(t){return t.includes(o_)}function uH(t,u){const s=$o(t),d=s.lastIndexOf(o_);if(d===-1)return;const f=d+o_.length;let p=$Xe(s,f,u);return s.charCodeAt(f)===64&&(p=$Xe(s,p,u)),s.slice(0,p)}function $Xe(t,u,s){const d=t.indexOf(rl,u+1);return d===-1?s?t.length:u:d}function DAe(t,u,s,d){return _de(GB(t,u,s,d))}function GB(t,u,s,d){const f=UXe(t,u,s,d);if(f)return f;if(!(d.features&32)){const p=qXe(u,t,"",s,d);if(p)return p}}function UXe(t,u,s,d){if(!Ac(u).includes("."))return;let p=_h(u);p===u&&(p=u.substring(0,u.lastIndexOf(".")));const E=u.substring(p.length);return d.traceEnabled&&Sa(d.host,F.File_name_0_has_a_1_extension_stripping_it,u,E),qXe(p,t,E,s,d)}function xAe(t,u,s,d){return t&1&&jc(u,hV)||t&4&&jc(u,dV)?WY(u,s,d)!==void 0?{path:u,ext:Kq(u),resolvedUsingTsExtension:void 0}:void 0:d.isConfigLookup&&t===8&&Ml(u,".json")?WY(u,s,d)!==void 0?{path:u,ext:".json",resolvedUsingTsExtension:void 0}:void 0:UXe(t,u,s,d)}function qXe(t,u,s,d,f){if(!d){const E=lr(t);E&&(d=!hg(E,f.host))}switch(s){case".mjs":case".mts":case".d.mts":return u&1&&p(".mts",s===".mts"||s===".d.mts")||u&4&&p(".d.mts",s===".mts"||s===".d.mts")||u&2&&p(".mjs")||void 0;case".cjs":case".cts":case".d.cts":return u&1&&p(".cts",s===".cts"||s===".d.cts")||u&4&&p(".d.cts",s===".cts"||s===".d.cts")||u&2&&p(".cjs")||void 0;case".json":return u&4&&p(".d.json.ts")||u&8&&p(".json")||void 0;case".tsx":case".jsx":return u&1&&(p(".tsx",s===".tsx")||p(".ts",s===".tsx"))||u&4&&p(".d.ts",s===".tsx")||u&2&&(p(".jsx")||p(".js"))||void 0;case".ts":case".d.ts":case".js":case"":return u&1&&(p(".ts",s===".ts"||s===".d.ts")||p(".tsx",s===".ts"||s===".d.ts"))||u&4&&p(".d.ts",s===".ts"||s===".d.ts")||u&2&&(p(".js")||p(".jsx"))||f.isConfigLookup&&p(".json")||void 0;default:return u&4&&!e1(t+s)&&p(`.d${s}.ts`)||void 0}function p(E,v){const b=WY(t+E,d,f);return b===void 0?void 0:{path:b,ext:E,resolvedUsingTsExtension:!f.candidateIsFromPackageJsonField&&v}}}function WY(t,u,s){var d;if(!((d=s.compilerOptions.moduleSuffixes)!=null&&d.length))return ZXe(t,u,s);const f=t3(t)??"",p=f?nV(t,f):t;return L(s.compilerOptions.moduleSuffixes,E=>ZXe(p+E+f,u,s))}function ZXe(t,u,s){var d;if(!u){if(s.host.fileExists(t))return s.traceEnabled&&Sa(s.host,F.File_0_exists_use_it_as_a_name_resolution_result,t),t;s.traceEnabled&&Sa(s.host,F.File_0_does_not_exist,t)}(d=s.failedLookupLocations)==null||d.push(t)}function vAe(t,u,s,d,f=!0){const p=f?U2(u,s,d):void 0,E=p&&p.contents.packageJsonContent,v=p&&GY(p,d);return $7(p,Fde(t,u,s,d,E,v))}function kde(t,u,s,d,f){if(!f&&t.contents.resolvedEntrypoints!==void 0)return t.contents.resolvedEntrypoints;let p;const E=5|(f?2:0),v=fAe(u),b=rH(d==null?void 0:d.getPackageJsonInfoCache(),s,u);b.conditions=$2(u),b.requestContainingDirectory=t.packageDirectory;const B=Fde(E,t.packageDirectory,!1,b,t.contents.packageJsonContent,GY(t,b));if(p=xi(p,B==null?void 0:B.path),v&8&&t.contents.packageJsonContent.exports){const k=ri([$2(u,99),$2(u,1)],On);for(const T of k){const M={...b,failedLookupLocations:[],conditions:T,host:s},z=nPt(t,t.contents.packageJsonContent.exports,M,E);if(z)for(const j of z)p=e0(p,j.path)}}return t.contents.resolvedEntrypoints=p||!1}function nPt(t,u,s,d){let f;if(Ha(u))for(const E of u)p(E);else if(typeof u=="object"&&u!==null&&JY(u))for(const E in u)p(u[E]);else p(u);return f;function p(E){var v,b;if(typeof E=="string"&&Pa(E,"./"))if(E.includes("*")&&s.host.readDirectory){if(E.indexOf("*")!==E.lastIndexOf("*"))return!1;s.host.readDirectory(t.packageDirectory,INt(d),void 0,[e1(E)?E.replace("*","**/*"):AO(E.replace("*","**/*"),Kj(E))]).forEach(B=>{f=e0(f,{path:B,ext:BN(B),resolvedUsingTsExtension:void 0})})}else{const B=yd(E).slice(2);if(B.includes("..")||B.includes(".")||B.includes("node_modules"))return!1;const k=cr(t.packageDirectory,E),T=$a(k,(b=(v=s.host).getCurrentDirectory)==null?void 0:b.call(v)),M=xAe(d,T,!1,s);if(M)return f=e0(f,M,(z,j)=>z.path===j.path),!0}else if(Array.isArray(E)){for(const B of E)if(p(B))return!0}else if(typeof E=="object"&&E!==null)return L(Ns(E),B=>{if(B==="default"||kt(s.conditions,B)||sH(s.conditions,B))return p(E[B]),!0})}}function rH(t,u,s){return{host:u,compilerOptions:s,traceEnabled:aD(s,u),failedLookupLocations:void 0,affectingLocations:void 0,packageJsonInfoCache:t,features:0,conditions:_t,requestContainingDirectory:void 0,reportDiagnostic:Is,isConfigLookup:!1,candidateIsFromPackageJsonField:!1}}function aH(t,u){const s=yd(t);for(s.pop();s.length>0;){const d=U2(yx(s),!1,u);if(d)return d;s.pop()}}function GY(t,u){return t.contents.versionPaths===void 0&&(t.contents.versionPaths=HNt(t.contents.packageJsonContent,u)||!1),t.contents.versionPaths||void 0}function U2(t,u,s){var d,f,p,E,v,b;const{host:B,traceEnabled:k}=s,T=cr(t,"package.json");if(u){(d=s.failedLookupLocations)==null||d.push(T);return}const M=(f=s.packageJsonInfoCache)==null?void 0:f.getPackageJsonInfo(T);if(M!==void 0){if(typeof M!="boolean")return k&&Sa(B,F.File_0_exists_according_to_earlier_cached_lookups,T),(p=s.affectingLocations)==null||p.push(T),M.packageDirectory===t?M:{packageDirectory:t,contents:M.contents};M&&k&&Sa(B,F.File_0_does_not_exist_according_to_earlier_cached_lookups,T),(E=s.failedLookupLocations)==null||E.push(T);return}const z=hg(t,B);if(z&&B.fileExists(T)){const j=EP(T,B);k&&Sa(B,F.Found_package_json_at_0,T);const J={packageDirectory:t,contents:{packageJsonContent:j,versionPaths:void 0,resolvedEntrypoints:void 0}};return s.packageJsonInfoCache&&!s.packageJsonInfoCache.isReadonly&&s.packageJsonInfoCache.setPackageJsonInfo(T,J),(v=s.affectingLocations)==null||v.push(T),J}else z&&k&&Sa(B,F.File_0_does_not_exist,T),s.packageJsonInfoCache&&!s.packageJsonInfoCache.isReadonly&&s.packageJsonInfoCache.setPackageJsonInfo(T,z),(b=s.failedLookupLocations)==null||b.push(T)}function Fde(t,u,s,d,f,p){let E;f&&(d.isConfigLookup?E=ONt(f,u,d):E=t&4&&RNt(f,u,d)||t&7&&jNt(f,u,d)||void 0);const v=(M,z,j,J)=>{const K=WY(z,j,J);if(K){const ae=uPt(M,K);if(ae)return _de(ae);J.traceEnabled&&Sa(J.host,F.File_0_has_an_unsupported_extension_so_skipping_it,K)}const Y=M===4?5:M,oe=J.features,se=J.candidateIsFromPackageJsonField;J.candidateIsFromPackageJsonField=!0,(f==null?void 0:f.type)!=="module"&&(J.features&=-33);const ge=yde(Y,z,j,J,!1);return J.features=oe,J.candidateIsFromPackageJsonField=se,ge},b=E?!hg(lr(E),d.host):void 0,B=s||!hg(u,d.host),k=cr(u,d.isConfigLookup?"tsconfig":"index");if(p&&(!E||GE(u,E))){const M=JE(u,E||k,!1);d.traceEnabled&&Sa(d.host,F.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,p.version,_,M);const z=bAe(t,M,u,p.paths,void 0,v,b||B,d);if(z)return MXe(z.value)}const T=E&&MXe(v(t,E,b,d));if(T)return T;if(!(d.features&32))return GB(t,k,B,d)}function uPt(t,u,s){const d=t3(u);return d!==void 0&&CAe(t,d)?{path:u,ext:d,resolvedUsingTsExtension:s}:void 0}function CAe(t,u){return t&2&&(u===".js"||u===".jsx"||u===".mjs"||u===".cjs")||t&1&&(u===".ts"||u===".tsx"||u===".mts"||u===".cts")||t&4&&(u===".d.ts"||u===".d.mts"||u===".d.cts")||t&8&&u===".json"||!1}function oH(t){let u=t.indexOf(rl);return t[0]==="@"&&(u=t.indexOf(rl,u+1)),u===-1?{packageName:t,rest:""}:{packageName:t.slice(0,u),rest:t.slice(u+1)}}function JY(t){return ye(Ns(t),u=>Pa(u,"."))}function rPt(t){return!Oe(Ns(t),u=>Pa(u,"."))}function aPt(t,u,s,d,f,p){var E,v;const b=$a(cr(s,"dummy"),(v=(E=d.host).getCurrentDirectory)==null?void 0:v.call(E)),B=aH(b,d);if(!B||!B.contents.packageJsonContent.exports||typeof B.contents.packageJsonContent.name!="string")return;const k=yd(u),T=yd(B.contents.packageJsonContent.name);if(!ye(T,(K,Y)=>k[Y]===K))return;const M=k.slice(T.length),z=S(M)?`.${rl}${M.join(rl)}`:".";if(Bv(d.compilerOptions)&&!q7(s))return Ade(B,t,z,d,f,p);const j=t&5,J=t&-6;return Ade(B,j,z,d,f,p)||Ade(B,J,z,d,f,p)}function Ade(t,u,s,d,f,p){if(t.contents.packageJsonContent.exports){if(s==="."){let E;if(typeof t.contents.packageJsonContent.exports=="string"||Array.isArray(t.contents.packageJsonContent.exports)||typeof t.contents.packageJsonContent.exports=="object"&&rPt(t.contents.packageJsonContent.exports)?E=t.contents.packageJsonContent.exports:gu(t.contents.packageJsonContent.exports,".")&&(E=t.contents.packageJsonContent.exports["."]),E)return QXe(u,d,f,p,s,t,!1)(E,"",!1,".")}else if(JY(t.contents.packageJsonContent.exports)){if(typeof t.contents.packageJsonContent.exports!="object")return d.traceEnabled&&Sa(d.host,F.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,s,t.packageDirectory),Im(void 0);const E=YXe(u,d,f,p,s,t.contents.packageJsonContent.exports,t,!1);if(E)return E}return d.traceEnabled&&Sa(d.host,F.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,s,t.packageDirectory),Im(void 0)}}function oPt(t,u,s,d,f,p){var E,v;if(u==="#"||Pa(u,"#/"))return d.traceEnabled&&Sa(d.host,F.Invalid_import_specifier_0_has_no_possible_resolutions,u),Im(void 0);const b=$a(cr(s,"dummy"),(v=(E=d.host).getCurrentDirectory)==null?void 0:v.call(E)),B=aH(b,d);if(!B)return d.traceEnabled&&Sa(d.host,F.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,b),Im(void 0);if(!B.contents.packageJsonContent.imports)return d.traceEnabled&&Sa(d.host,F.package_json_scope_0_has_no_imports_defined,B.packageDirectory),Im(void 0);const k=YXe(t,d,f,p,u,B.contents.packageJsonContent.imports,B,!0);return k||(d.traceEnabled&&Sa(d.host,F.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,u,B.packageDirectory),Im(void 0))}function Sde(t,u){const s=t.indexOf("*"),d=u.indexOf("*"),f=s===-1?t.length:s+1,p=d===-1?u.length:d+1;return f>p?-1:p>f||s===-1?1:d===-1||t.length>u.length?-1:u.length>t.length?1:0}function YXe(t,u,s,d,f,p,E,v){const b=QXe(t,u,s,d,f,E,v);if(!sc(f,rl)&&!f.includes("*")&&gu(p,f)){const T=p[f];return b(T,"",!1,f)}const B=Ph(ti(Ns(p),T=>T.includes("*")||sc(T,"/")),Sde);for(const T of B)if(u.features&16&&k(T,f)){const M=p[T],z=T.indexOf("*"),j=f.substring(T.substring(0,z).length,f.length-(T.length-1-z));return b(M,j,!0,T)}else if(sc(T,"*")&&Pa(f,T.substring(0,T.length-1))){const M=p[T],z=f.substring(T.length-1);return b(M,z,!0,T)}else if(Pa(f,T)){const M=p[T],z=f.substring(T.length);return b(M,z,!1,T)}function k(T,M){if(sc(T,"*"))return!1;const z=T.indexOf("*");return z===-1?!1:Pa(M,T.substring(0,z))&&sc(M,T.substring(z+1))}}function QXe(t,u,s,d,f,p,E){return v;function v(b,B,k,T){if(typeof b=="string"){if(!k&&B.length>0&&!sc(b,"/"))return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0);if(!Pa(b,"./")){if(E&&!Pa(b,"../")&&!Pa(b,"/")&&!Pf(b)){const ae=k?b.replace(/\*/g,B):b+B;Wv(u,F.Using_0_subpath_1_with_target_2,"imports",T,ae),Wv(u,F.Resolving_module_0_from_1,ae,p.packageDirectory+"/");const Ce=nH(u.features,ae,p.packageDirectory+"/",u.compilerOptions,u.host,s,t,!1,d,u.conditions);return Im(Ce.resolvedModule?{path:Ce.resolvedModule.resolvedFileName,extension:Ce.resolvedModule.extension,packageId:Ce.resolvedModule.packageId,originalPath:Ce.resolvedModule.originalPath,resolvedUsingTsExtension:Ce.resolvedModule.resolvedUsingTsExtension}:void 0)}return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0)}const K=(om(b)?yd(b).slice(1):yd(b)).slice(1);if(K.includes("..")||K.includes(".")||K.includes("node_modules"))return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0);const Y=cr(p.packageDirectory,b),oe=yd(B);if(oe.includes("..")||oe.includes(".")||oe.includes("node_modules"))return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0);u.traceEnabled&&Sa(u.host,F.Using_0_subpath_1_with_target_2,E?"imports":"exports",T,k?b.replace(/\*/g,B):b+B);const se=M(k?Y.replace(/\*/g,B):Y+B),ge=j(se,B,cr(p.packageDirectory,"package.json"),E);return ge||Im($7(p,xAe(t,se,!1,u)))}else if(typeof b=="object"&&b!==null)if(Array.isArray(b)){if(!S(b))return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0);for(const J of b){const K=v(J,B,k,T);if(K)return K}}else{Wv(u,F.Entering_conditional_exports);for(const J of Ns(b))if(J==="default"||u.conditions.includes(J)||sH(u.conditions,J)){Wv(u,F.Matched_0_condition_1,E?"imports":"exports",J);const K=b[J],Y=v(K,B,k,T);if(Y)return Wv(u,F.Resolved_under_condition_0,J),Wv(u,F.Exiting_conditional_exports),Y;Wv(u,F.Failed_to_resolve_under_condition_0,J)}else Wv(u,F.Saw_non_matching_condition_0,J);Wv(u,F.Exiting_conditional_exports);return}else if(b===null)return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_explicitly_maps_specifier_1_to_null,p.packageDirectory,f),Im(void 0);return u.traceEnabled&&Sa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),Im(void 0);function M(J){var K,Y;return J===void 0?J:$a(J,(Y=(K=u.host).getCurrentDirectory)==null?void 0:Y.call(K))}function z(J,K){return zd(cr(J,K))}function j(J,K,Y,oe){var se,ge,ae,Ce;if(!u.isConfigLookup&&(u.compilerOptions.declarationDir||u.compilerOptions.outDir)&&!J.includes("/node_modules/")&&(!u.compilerOptions.configFile||GE(p.packageDirectory,M(u.compilerOptions.configFile.fileName),!Bde(u)))){const ve=n5({useCaseSensitiveFileNames:()=>Bde(u)}),Se=[];if(u.compilerOptions.rootDir||u.compilerOptions.composite&&u.compilerOptions.configFilePath){const Ne=M(yM(u.compilerOptions,()=>[],((ge=(se=u.host).getCurrentDirectory)==null?void 0:ge.call(se))||"",ve));Se.push(Ne)}else if(u.requestContainingDirectory){const Ne=M(cr(u.requestContainingDirectory,"index.ts")),pe=M(yM(u.compilerOptions,()=>[Ne,M(Y)],((Ce=(ae=u.host).getCurrentDirectory)==null?void 0:Ce.call(ae))||"",ve));Se.push(pe);let fe=zd(pe);for(;fe&&fe.length>1;){const xe=yd(fe);xe.pop();const Be=yx(xe);Se.unshift(Be),fe=zd(Be)}}Se.length>1&&u.reportDiagnostic(cc(oe?F.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:F.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,K===""?".":K,Y));for(const Ne of Se){const pe=ne(Ne);for(const fe of pe)if(GE(fe,J,!Bde(u))){const xe=J.slice(fe.length+1),Be=cr(Ne,xe),Ge=[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"];for(const Ae of Ge)if(Ml(Be,Ae)){const De=xye(Be);for(const Ke of De){if(!CAe(t,Ke))continue;const Je=AO(Be,Ke,Ae,!Bde(u));if(u.host.fileExists(Je))return Im($7(p,xAe(t,Je,!1,u)))}}}}}return;function ne(ve){var Se,Ne;const pe=u.compilerOptions.configFile?((Ne=(Se=u.host).getCurrentDirectory)==null?void 0:Ne.call(Se))||"":ve,fe=[];return u.compilerOptions.declarationDir&&fe.push(M(z(pe,u.compilerOptions.declarationDir))),u.compilerOptions.outDir&&u.compilerOptions.outDir!==u.compilerOptions.declarationDir&&fe.push(M(z(pe,u.compilerOptions.outDir))),fe}}}}function sH(t,u){if(!t.includes("types")||!Pa(u,"types@"))return!1;const s=EO.tryParse(u.substring(6));return s?s.test(_):!1}function XXe(t,u,s,d,f,p){return eet(t,u,s,d,!1,f,p)}function sPt(t,u,s){return eet(4,t,u,s,!0,void 0,void 0)}function eet(t,u,s,d,f,p,E){const v=d.features===0?void 0:d.features&32?99:1,b=t&5,B=t&-6;if(b){Wv(d,F.Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0,OY(b));const T=k(b);if(T)return T}if(B&&!f)return Wv(d,F.Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0,OY(B)),k(B);function k(T){return Ug(q1(s),M=>{if(Ac(M)!=="node_modules"){const z=uet(p,u,v,M,E,d);return z||Im(tet(T,u,M,d,f,p,E))}})}}function tet(t,u,s,d,f,p,E){const v=cr(s,"node_modules"),b=hg(v,d.host);if(!b&&d.traceEnabled&&Sa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,v),!f){const B=iet(t,u,v,b,d,p,E);if(B)return B}if(t&4){const B=cr(v,"@types");let k=b;return b&&!hg(B,d.host)&&(d.traceEnabled&&Sa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,B),k=!1),iet(4,net(u,d),B,k,d,p,E)}}function iet(t,u,s,d,f,p,E){var v,b;const B=$o(cr(s,u)),{packageName:k,rest:T}=oH(u),M=cr(s,k);let z,j=U2(B,!d,f);if(T!==""&&j&&(!(f.features&8)||!gu(((v=z=U2(M,!d,f))==null?void 0:v.contents.packageJsonContent)??_t,"exports"))){const Y=GB(t,B,!d,f);if(Y)return _de(Y);const oe=Fde(t,B,!d,f,j.contents.packageJsonContent,GY(j,f));return $7(j,oe)}const J=(Y,oe,se,ge)=>{let ae=(T||!(ge.features&32))&&GB(Y,oe,se,ge)||Fde(Y,oe,se,ge,j&&j.contents.packageJsonContent,j&&GY(j,ge));return!ae&&j&&(j.contents.packageJsonContent.exports===void 0||j.contents.packageJsonContent.exports===null)&&ge.features&32&&(ae=GB(Y,cr(oe,"index.js"),se,ge)),$7(j,ae)};if(T!==""&&(j=z??U2(M,!d,f)),j&&j.contents.packageJsonContent.exports&&f.features&8)return(b=Ade(j,t,cr(".",T),f,p,E))==null?void 0:b.value;const K=T!==""&&j?GY(j,f):void 0;if(K){f.traceEnabled&&Sa(f.host,F.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,K.version,_,T);const Y=d&&hg(M,f.host),oe=bAe(t,T,M,K.paths,void 0,J,!Y,f);if(oe)return oe.value}return J(t,B,!d,f)}function bAe(t,u,s,d,f,p,E,v){f||(f=lZ(d));const b=Ble(f,u);if(b){const B=Ja(b)?void 0:t2e(b,u),k=Ja(b)?b:e2e(b);return v.traceEnabled&&Sa(v.host,F.Module_name_0_matched_pattern_1,u,k),{value:L(d[k],M=>{const z=B?M.replace("*",B):M,j=$o(cr(s,z));v.traceEnabled&&Sa(v.host,F.Trying_substitution_0_candidate_module_location_Colon_1,M,z);const J=t3(M);if(J!==void 0){const K=WY(j,E,v);if(K!==void 0)return _de({path:K,ext:J,resolvedUsingTsExtension:void 0})}return p(t,j,E||!hg(lr(j),v.host),v)})}}}function net(t,u){const s=JB(t);return u.traceEnabled&&s!==t&&Sa(u.host,F.Scoped_package_detected_looking_in_0,s),s}function $Y(t){return`@types/${JB(t)}`}function JB(t){if(Pa(t,"@")){const u=t.replace(rl,Tde);if(u!==t)return u.slice(1)}return t}function hM(t){const u=yN(t,"@types/");return u!==t?lH(u):t}function lH(t){return t.includes(Tde)?"@"+t.replace(Tde,rl):t}function uet(t,u,s,d,f,p){const E=t&&t.getFromNonRelativeNameCache(u,s,d,f);if(E)return p.traceEnabled&&Sa(p.host,F.Resolution_for_module_0_was_found_in_cache_from_location_1,u,d),p.resultFromCache=E,{value:E.resolvedModule&&{path:E.resolvedModule.resolvedFileName,originalPath:E.resolvedModule.originalPath||!0,extension:E.resolvedModule.extension,packageId:E.resolvedModule.packageId,resolvedUsingTsExtension:E.resolvedModule.resolvedUsingTsExtension}}}function yAe(t,u,s,d,f,p){const E=aD(s,d),v=[],b=[],B=lr(u),k=[],T={compilerOptions:s,host:d,traceEnabled:E,failedLookupLocations:v,affectingLocations:b,packageJsonInfoCache:f,features:0,conditions:[],requestContainingDirectory:B,reportDiagnostic:j=>void k.push(j),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},M=z(5)||z(2|(s.resolveJsonModule?8:0));return zXe(t,M&&M.value,(M==null?void 0:M.value)&&q7(M.value.path),v,b,k,T,f);function z(j){const J=WXe(j,t,B,DAe,T);if(J)return{value:J};if(Id(t)){const K=$o(cr(B,t));return Im(DAe(j,K,!1,T))}else{const K=Ug(B,Y=>{const oe=uet(f,t,void 0,Y,p,T);if(oe)return oe;const se=$o(cr(Y,t));return Im(DAe(j,se,!1,T))});if(K)return K;if(j&5){let Y=sPt(t,B,T);return j&4&&(Y??(Y=ret(t,T))),Y}}}}function ret(t,u){if(u.compilerOptions.typeRoots)for(const s of u.compilerOptions.typeRoots){const d=jXe(s,t,u),f=hg(s,u.host);!f&&u.traceEnabled&&Sa(u.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,s);const p=GB(4,d,!f,u);if(p){const v=uH(p.path),b=v?U2(v,!1,u):void 0;return Im($7(b,p))}const E=vAe(4,d,!f,u);if(E)return Im(E)}}function $B(t,u){return!!t.allowImportingTsExtensions||u&&e1(u)}function kAe(t,u,s,d,f,p){const E=aD(s,d);E&&Sa(d,F.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,u,t,f);const v=[],b=[],B=[],k={compilerOptions:s,host:d,traceEnabled:E,failedLookupLocations:v,affectingLocations:b,packageJsonInfoCache:p,features:0,conditions:[],requestContainingDirectory:void 0,reportDiagnostic:M=>void B.push(M),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},T=tet(4,t,f,k,!1,void 0,void 0);return IXe(T,!0,v,b,B,k.resultFromCache,void 0)}function Im(t){return t!==void 0?{value:t}:void 0}function Wv(t,u,...s){t.traceEnabled&&Sa(t.host,u,...s)}function Bde(t){return t.host.useCaseSensitiveFileNames?typeof t.host.useCaseSensitiveFileNames=="boolean"?t.host.useCaseSensitiveFileNames:t.host.useCaseSensitiveFileNames():!0}var FAe,aet,wde,o_,Tde,lPt=o({"src/compiler/moduleNameResolver.ts"(){Bo(),aet=cr("node_modules","@types"),wde=(t=>(t[t.None=0]="None",t[t.Imports=2]="Imports",t[t.SelfName=4]="SelfName",t[t.Exports=8]="Exports",t[t.ExportsPatternTrailers=16]="ExportsPatternTrailers",t[t.AllFeatures=30]="AllFeatures",t[t.Node16Default=30]="Node16Default",t[t.NodeNextDefault=30]="NodeNextDefault",t[t.BundlerDefault=30]="BundlerDefault",t[t.EsmMode=32]="EsmMode",t))(wde||{}),o_="/node_modules/",Tde="__"}});function oD(t,u){return t.body&&!t.body.parent&&(ks(t.body,t),Vx(t.body,!1)),t.body?AAe(t.body,u):1}function AAe(t,u=new Map){const s=$s(t);if(u.has(s))return u.get(s)||0;u.set(s,void 0);const d=cPt(t,u);return u.set(s,d),d}function cPt(t,u){switch(t.kind){case 264:case 265:return 0;case 266:if(b2(t))return 2;break;case 272:case 271:if(!Yu(t,32))return 0;break;case 278:const s=t;if(!s.moduleSpecifier&&s.exportClause&&s.exportClause.kind===279){let d=0;for(const f of s.exportClause.elements){const p=dPt(f,u);if(p>d&&(d=p),d===1)return d}return d}break;case 268:{let d=0;return ao(t,f=>{const p=AAe(f,u);switch(p){case 0:return;case 2:d=2;return;case 1:return d=1,!0;default:H.assertNever(p)}}),d}case 267:return oD(t,u);case 80:if(t.flags&4096)return 0}return 1}function dPt(t,u){const s=t.propertyName||t.name;let d=t.parent;for(;d;){if(po(d)||rE(d)||la(d)){const f=d.statements;let p;for(const E of f)if(jO(E,s)){E.parent||(ks(E,d),Vx(E,!1));const v=AAe(E,u);if((p===void 0||v>p)&&(p=v),p===1)return p;E.kind===271&&(p=1)}if(p!==void 0)return p}d=d.parent}return 1}function Z7(t){return H.attachFlowNodeDebugInfo(t),t}function SAe(t,u){var s,d;ul("beforeBind"),(s=hh)==null||s.logStartBindFile(""+t.fileName),set(t,u),(d=hh)==null||d.logStopBindFile(),ul("afterBind"),Tm("Bind","beforeBind","afterBind")}function hPt(){var t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge,ae,Ce=!1,ne=0,ve,Se,Ne={flags:1},pe={flags:1},fe=le();return Be;function xe(Q,Me,...wt){return K4(zn(Q)||t,Q,Me,...wt)}function Be(Q,Me){var wt,ki;t=Q,u=Me,s=Os(u),ae=Ge(t,Me),Se=new Set,ne=0,ve=Qd.getSymbolConstructor(),H.attachFlowNodeDebugInfo(Ne),H.attachFlowNodeDebugInfo(pe),t.locals||((wt=Gn)==null||wt.push(Gn.Phase.Bind,"bindSourceFile",{path:t.path},!0),vt(t),(ki=Gn)==null||ki.pop(),t.symbolCount=ne,t.classifiableNames=Se,vl()),t=void 0,u=void 0,s=void 0,d=void 0,f=void 0,p=void 0,E=void 0,v=void 0,b=void 0,B=!1,k=void 0,T=void 0,M=void 0,z=void 0,j=void 0,J=void 0,K=void 0,oe=void 0,se=!1,Ce=!1,ge=0}function Ge(Q,Me){return Z4(Me,"alwaysStrict")&&!Q.isDeclarationFile?!0:!!Q.externalModuleIndicator}function Ae(Q,Me){return ne++,new ve(Q,Me)}function De(Q,Me,wt){Q.flags|=wt,Me.symbol=Q,Q.declarations=e0(Q.declarations,Me),wt&1955&&!Q.exports&&(Q.exports=Vo()),wt&6240&&!Q.members&&(Q.members=Vo()),Q.constEnumOnlyModule&&Q.flags&304&&(Q.constEnumOnlyModule=!1),wt&111551&&Fj(Q,Me)}function Ke(Q){if(Q.kind===277)return Q.isExportEquals?"export=":"default";const Me=Za(Q);if(Me){if(N1(Q)){const wt=J4(Me);return Yg(Q)?"__global":`"${wt}"`}if(Me.kind===167){const wt=Me.expression;if(Pm(wt))return Al(wt.text);if(Tq(wt))return Uo(wt.operator)+wt.operand.text;H.fail("Only computed properties with literal names have declaration names")}if(ea(Me)){const wt=Yd(Q);if(!wt)return;const ki=wt.symbol;return zj(ki,Me.escapedText)}return gg(Me)?k7(Me):Xg(Me)?oP(Me):void 0}switch(Q.kind){case 176:return"__constructor";case 184:case 179:case 330:return"__call";case 185:case 180:return"__new";case 181:return"__index";case 278:return"__export";case 312:return"export=";case 226:if(Xl(Q)===2)return"export=";H.fail("Unknown binary declaration kind");break;case 324:return X8(Q)?"__new":"__call";case 169:return H.assert(Q.parent.kind===324,"Impossible parameter parent kind",()=>`parent is: ${H.formatSyntaxKind(Q.parent.kind)}, expected JSDocFunctionType`),"arg"+Q.parent.parameters.indexOf(Q)}}function Je(Q){return mh(Q)?b0(Q.name):Qr(H.checkDefined(Ke(Q)))}function ft(Q,Me,wt,ki,In,tr,ir){H.assert(ir||!Ix(wt));const ha=Yu(wt,2048)||eh(wt)&&wt.name.escapedText==="default",os=ir?"__computed":ha&&Me?"default":Ke(wt);let ss;if(os===void 0)ss=Ae(0,"__missing");else if(ss=Q.get(os),ki&2885600&&Se.add(os),!ss)Q.set(os,ss=Ae(0,os)),tr&&(ss.isReplaceableByMethod=!0);else{if(tr&&!ss.isReplaceableByMethod)return ss;if(ss.flags&In){if(ss.isReplaceableByMethod)Q.set(os,ss=Ae(0,os));else if(!(ki&3&&ss.flags&67108864)){mh(wt)&&ks(wt.name,wt);let Rl=ss.flags&2?F.Cannot_redeclare_block_scoped_variable_0:F.Duplicate_identifier_0,x1=!0;(ss.flags&384||ki&384)&&(Rl=F.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,x1=!1);let fd=!1;S(ss.declarations)&&(ha||ss.declarations&&ss.declarations.length&&wt.kind===277&&!wt.isExportEquals)&&(Rl=F.A_module_cannot_have_multiple_default_exports,x1=!1,fd=!0);const $m=[];jp(wt)&&Ql(wt.type)&&Yu(wt,32)&&ss.flags&2887656&&$m.push(xe(wt,F.Did_you_mean_0,`export type { ${Qr(wt.name.escapedText)} }`));const _s=Za(wt)||wt;L(ss.declarations,(Um,h3)=>{const d_=Za(Um)||Um,ia=x1?xe(d_,Rl,Je(Um)):xe(d_,Rl);t.bindDiagnostics.push(fd?Es(ia,xe(_s,h3===0?F.Another_export_default_is_here:F.and_here)):ia),fd&&$m.push(xe(d_,F.The_first_export_default_is_here))});const np=x1?xe(_s,Rl,Je(wt)):xe(_s,Rl);t.bindDiagnostics.push(Es(np,...$m)),ss=Ae(0,os)}}}return De(ss,wt,ki),ss.parent?H.assert(ss.parent===Me,"Existing symbol parent should match new one"):ss.parent=Me,ss}function Ye(Q,Me,wt){const ki=!!(m2(Q)&32)||Ve(Q);if(Me&2097152)return Q.kind===281||Q.kind===271&&ki?ft(f.symbol.exports,f.symbol,Q,Me,wt):(H.assertNode(f,UE),ft(f.locals,void 0,Q,Me,wt));if(G4(Q)&&H.assert(Qn(Q)),!N1(Q)&&(ki||f.flags&128)){if(!UE(f)||!f.locals||Yu(Q,2048)&&!Ke(Q))return ft(f.symbol.exports,f.symbol,Q,Me,wt);const In=Me&111551?1048576:0,tr=ft(f.locals,void 0,Q,In,wt);return tr.exportSymbol=ft(f.symbol.exports,f.symbol,Q,Me,wt),Q.localSymbol=tr,tr}else return H.assertNode(f,UE),ft(f.locals,void 0,Q,Me,wt)}function Ve(Q){if(Q.parent&&_c(Q)&&(Q=Q.parent),!G4(Q))return!1;if(!LV(Q)&&Q.fullName)return!0;const Me=Za(Q);return Me?!!($j(Me.parent)&&ql(Me.parent)||Q1(Me.parent)&&m2(Me.parent)&32):!1}function We(Q,Me){const wt=f,ki=p,In=E;if(Me&1?(Q.kind!==219&&(p=f),f=E=Q,Me&32&&(f.locals=Vo(),ca(f))):Me&2&&(E=Q,Me&32&&(E.locals=void 0)),Me&4){const tr=k,ir=T,ha=M,os=z,ss=K,Rl=oe,x1=se,fd=Me&16&&!Yu(Q,1024)&&!Q.asteriskToken&&!!nk(Q)||Q.kind===175;fd||(k=Z7({flags:2}),Me&144&&(k.node=Q)),z=fd||Q.kind===176||Qn(Q)&&(Q.kind===262||Q.kind===218)?xn():void 0,K=void 0,T=void 0,M=void 0,oe=void 0,se=!1,st(Q),Q.flags&=-5633,!(k.flags&1)&&Me&8&&H4(Q.body)&&(Q.flags|=512,se&&(Q.flags|=1024),Q.endFlowNode=k),Q.kind===312&&(Q.flags|=ge,Q.endFlowNode=k),z&&(Ai(z,k),k=bt(z),(Q.kind===176||Q.kind===175||Qn(Q)&&(Q.kind===262||Q.kind===218))&&(Q.returnFlowNode=k)),fd||(k=tr),T=ir,M=ha,z=os,K=ss,oe=Rl,se=x1}else Me&64?(B=!1,st(Q),H.assertNotNode(Q,at),Q.flags=B?Q.flags|256:Q.flags&-257):st(Q);f=wt,p=ki,E=In}function Gt(Q){Yt(Q,Me=>Me.kind===262?vt(Me):void 0),Yt(Q,Me=>Me.kind!==262?vt(Me):void 0)}function Yt(Q,Me=vt){Q!==void 0&&L(Q,Me)}function Ie(Q){ao(Q,vt,Yt)}function st(Q){const Me=Ce;if(Ce=!1,Ci(Q)){Ie(Q),mi(Q),Ce=Me;return}switch(Q.kind>=243&&Q.kind<=259&&!u.allowUnreachableCode&&(Q.flowNode=k),Q.kind){case 247:ra(Q);break;case 246:Ta(Q);break;case 248:Yo(Q);break;case 249:case 250:bo(Q);break;case 245:Qe(Q);break;case 253:case 257:Et(Q);break;case 252:case 251:Xt(Q);break;case 258:Pe(Q);break;case 255:et(Q);break;case 269:gt(Q);break;case 296:ii(Q);break;case 244:me(Q);break;case 256:vi(Q);break;case 224:$i(Q);break;case 225:Qi(Q);break;case 226:if(r5(Q)){Ce=Me,on(Q);return}fe(Q);break;case 220:te(Q);break;case 227:we(Q);break;case 260:je(Q);break;case 211:case 212:pr(Q);break;case 213:Xu(Q);break;case 235:Ru(Q);break;case 353:case 345:case 347:ct(Q);break;case 312:{Gt(Q.statements),vt(Q.endOfFileToken);break}case 241:case 268:Gt(Q.statements);break;case 208:X(Q);break;case 169:it(Q);break;case 210:case 209:case 303:case 230:Ce=Me;default:Ie(Q);break}mi(Q),Ce=Me}function St(Q){switch(Q.kind){case 80:case 81:case 110:case 211:case 212:return ei(Q);case 213:return ht(Q);case 217:case 235:return St(Q.expression);case 226:return Ni(Q);case 224:return Q.operator===54&&St(Q.operand);case 221:return St(Q.expression)}return!1}function It(Q){return pP(Q)||(Iu(Q)||O7(Q)||Cf(Q))&&It(Q.expression)||Xn(Q)&&Q.operatorToken.kind===28&&It(Q.right)||U0(Q)&&(Pm(Q.argumentExpression)||ec(Q.argumentExpression))&&It(Q.expression)||ld(Q)&&It(Q.left)}function ei(Q){return It(Q)||Y1(Q)&&ei(Q.expression)}function ht(Q){if(Q.arguments){for(const Me of Q.arguments)if(ei(Me))return!0}return!!(Q.expression.kind===211&&ei(Q.expression.expression))}function Ut(Q,Me){return AB(Q)&&ji(Q.expression)&&t0(Me)}function Ni(Q){switch(Q.operatorToken.kind){case 64:case 76:case 77:case 78:return ei(Q.left);case 35:case 36:case 37:case 38:return ji(Q.left)||ji(Q.right)||Ut(Q.right,Q.left)||Ut(Q.left,Q.right)||HN(Q.right)&&St(Q.left)||HN(Q.left)&&St(Q.right);case 104:return ji(Q.left);case 103:return St(Q.right);case 28:return St(Q.right)}return!1}function ji(Q){switch(Q.kind){case 217:return ji(Q.expression);case 226:switch(Q.operatorToken.kind){case 64:return ji(Q.left);case 28:return ji(Q.right)}}return ei(Q)}function xn(){return Z7({flags:4,antecedents:void 0})}function Jn(){return Z7({flags:8,antecedents:void 0})}function an(Q,Me,wt){return Z7({flags:1024,target:Q,antecedents:Me,antecedent:wt})}function Pi(Q){Q.flags|=Q.flags&2048?4096:2048}function Ai(Q,Me){!(Me.flags&1)&&!kt(Q.antecedents,Me)&&((Q.antecedents||(Q.antecedents=[])).push(Me),Pi(Me))}function Zu(Q,Me,wt){return Me.flags&1?Me:wt?(wt.kind===112&&Q&64||wt.kind===97&&Q&32)&&!MU(wt)&&!Kse(wt.parent)?Ne:St(wt)?(Pi(Me),Z7({flags:Q,antecedent:Me,node:wt})):Me:Q&32?Me:Ne}function aa(Q,Me,wt,ki){return Pi(Q),Z7({flags:128,antecedent:Q,switchStatement:Me,clauseStart:wt,clauseEnd:ki})}function yr(Q,Me,wt){Pi(Me);const ki=Z7({flags:Q,antecedent:Me,node:wt});return K&&Ai(K,ki),ki}function Ba(Q,Me){return Pi(Q),Z7({flags:512,antecedent:Q,node:Me})}function bt(Q){const Me=Q.antecedents;return Me?Me.length===1?Me[0]:Q:Ne}function jn(Q){const Me=Q.parent;switch(Me.kind){case 245:case 247:case 246:return Me.expression===Q;case 248:case 227:return Me.condition===Q}return!1}function Ln(Q){for(;;)if(Q.kind===217)Q=Q.expression;else if(Q.kind===224&&Q.operator===54)Q=Q.operand;else return Gj(Q)}function Si(Q){return ole(l0(Q))}function Dn(Q){for(;Cf(Q.parent)||zv(Q.parent)&&Q.parent.operator===54;)Q=Q.parent;return!jn(Q)&&!Ln(Q.parent)&&!(Y1(Q.parent)&&Q.parent.expression===Q)}function Cn(Q,Me,wt,ki){const In=j,tr=J;j=wt,J=ki,Q(Me),j=In,J=tr}function tu(Q,Me,wt){Cn(vt,Q,Me,wt),(!Q||!Si(Q)&&!Ln(Q)&&!(Y1(Q)&&RN(Q)))&&(Ai(Me,Zu(32,k,Q)),Ai(wt,Zu(64,k,Q)))}function oa(Q,Me,wt){const ki=T,In=M;T=Me,M=wt,vt(Q),T=ki,M=In}function Da(Q,Me){let wt=oe;for(;wt&&Q.parent.kind===256;)wt.continueTarget=Me,wt=wt.next,Q=Q.parent;return Me}function ra(Q){const Me=Da(Q,Jn()),wt=xn(),ki=xn();Ai(Me,k),k=Me,tu(Q.expression,wt,ki),k=bt(wt),oa(Q.statement,ki,Me),Ai(Me,k),k=bt(ki)}function Ta(Q){const Me=Jn(),wt=Da(Q,xn()),ki=xn();Ai(Me,k),k=Me,oa(Q.statement,ki,wt),Ai(wt,k),k=bt(wt),tu(Q.expression,Me,ki),k=bt(ki)}function Yo(Q){const Me=Da(Q,Jn()),wt=xn(),ki=xn();vt(Q.initializer),Ai(Me,k),k=Me,tu(Q.condition,wt,ki),k=bt(wt),oa(Q.statement,ki,Me),vt(Q.incrementor),Ai(Me,k),k=bt(ki)}function bo(Q){const Me=Da(Q,Jn()),wt=xn();vt(Q.expression),Ai(Me,k),k=Me,Q.kind===250&&vt(Q.awaitModifier),Ai(wt,k),vt(Q.initializer),Q.initializer.kind!==261&&Ot(Q.initializer),oa(Q.statement,wt,Me),Ai(Me,k),k=bt(wt)}function Qe(Q){const Me=xn(),wt=xn(),ki=xn();tu(Q.expression,Me,wt),k=bt(Me),vt(Q.thenStatement),Ai(ki,k),k=bt(wt),vt(Q.elseStatement),Ai(ki,k),k=bt(ki)}function Et(Q){vt(Q.expression),Q.kind===253&&(se=!0,z&&Ai(z,k)),k=Ne}function Mt(Q){for(let Me=oe;Me;Me=Me.next)if(Me.name===Q)return Me}function qt(Q,Me,wt){const ki=Q.kind===252?Me:wt;ki&&(Ai(ki,k),k=Ne)}function Xt(Q){if(vt(Q.label),Q.label){const Me=Mt(Q.label.escapedText);Me&&(Me.referenced=!0,qt(Q,Me.breakTarget,Me.continueTarget))}else qt(Q,T,M)}function Pe(Q){const Me=z,wt=K,ki=xn(),In=xn();let tr=xn();if(Q.finallyBlock&&(z=In),Ai(tr,k),K=tr,vt(Q.tryBlock),Ai(ki,k),Q.catchClause&&(k=bt(tr),tr=xn(),Ai(tr,k),K=tr,vt(Q.catchClause),Ai(ki,k)),z=Me,K=wt,Q.finallyBlock){const ir=xn();ir.antecedents=Hi(Hi(ki.antecedents,tr.antecedents),In.antecedents),k=ir,vt(Q.finallyBlock),k.flags&1?k=Ne:(z&&In.antecedents&&Ai(z,an(ir,In.antecedents,k)),K&&tr.antecedents&&Ai(K,an(ir,tr.antecedents,k)),k=ki.antecedents?an(ir,ki.antecedents,k):Ne)}else k=bt(ki)}function et(Q){const Me=xn();vt(Q.expression);const wt=T,ki=Y;T=Me,Y=k,vt(Q.caseBlock),Ai(Me,k);const In=L(Q.caseBlock.clauses,tr=>tr.kind===297);Q.possiblyExhaustive=!In&&!Me.antecedents,In||Ai(Me,aa(Y,Q,0,0)),T=wt,Y=ki,k=bt(Me)}function gt(Q){const Me=Q.clauses,wt=Q.parent.expression.kind===112||St(Q.parent.expression);let ki=Ne;for(let In=0;InGc(wt)||tc(wt))}function as(Q){Q.flags&33554432&&!Ir(Q)?Q.flags|=128:Q.flags&=-129}function wo(Q){if(as(Q),N1(Q))if(Yu(Q,32)&&Q0(Q,F.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),p0e(Q))Fn(Q);else{let Me;if(Q.name.kind===11){const{text:ki}=Q.name;Me=fB(ki),Me===void 0&&Q0(Q.name,F.Pattern_0_can_have_at_most_one_Asterisk_character,ki)}const wt=Ku(Q,512,110735);t.patternAmbientModules=xi(t.patternAmbientModules,Me&&!Ja(Me)?{pattern:Me,symbol:wt}:void 0)}else{const Me=Fn(Q);if(Me!==0){const{symbol:wt}=Q;wt.constEnumOnlyModule=!(wt.flags&304)&&Me===2&&wt.constEnumOnlyModule!==!1}}}function Fn(Q){const Me=oD(Q),wt=Me!==0;return Ku(Q,wt?512:1024,wt?110735:0),Me}function vc(Q){const Me=Ae(131072,Ke(Q));De(Me,Q,131072);const wt=Ae(2048,"__type");De(wt,Q,2048),wt.members=Vo(),wt.members.set(Me.escapedName,Me)}function Ya(Q){return wl(Q,4096,"__object")}function c0(Q){return wl(Q,4096,"__jsxAttributes")}function Ul(Q,Me,wt){return Ku(Q,Me,wt)}function wl(Q,Me,wt){const ki=Ae(Me,wt);return Me&106508&&(ki.parent=f.symbol),De(ki,Q,Me),ki}function hd(Q,Me,wt){switch(E.kind){case 267:Ye(Q,Me,wt);break;case 312:if(cm(f)){Ye(Q,Me,wt);break}default:H.assertNode(E,UE),E.locals||(E.locals=Vo(),ca(E)),ft(E.locals,void 0,Q,Me,wt)}}function vl(){if(!b)return;const Q=f,Me=v,wt=E,ki=d,In=k;for(const tr of b){const ir=tr.parent.parent;f=C0e(ir)||t,E=YE(ir)||t,k=Z7({flags:2}),d=tr,vt(tr.typeExpression);const ha=Za(tr);if((LV(tr)||!tr.fullName)&&ha&&$j(ha.parent)){const os=ql(ha.parent);if(os){Tl(t.symbol,ha.parent,os,!!Tn(ha,Rl=>Iu(Rl)&&Rl.name.escapedText==="prototype"),!1);const ss=f;switch(yj(ha.parent)){case 1:case 2:cm(t)?f=t:f=void 0;break;case 4:f=ha.parent.expression;break;case 3:f=ha.parent.expression.name;break;case 5:f=q2(t,ha.parent.expression)?t:Iu(ha.parent.expression)?ha.parent.expression.name:ha.parent.expression;break;case 0:return H.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}f&&Ye(tr,524288,788968),f=ss}}else LV(tr)||!tr.fullName||tr.fullName.kind===80?(d=tr.parent,hd(tr,524288,788968)):vt(tr.fullName)}f=Q,v=Me,E=wt,d=ki,k=In}function co(Q){if(!t.parseDiagnostics.length&&!(Q.flags&33554432)&&!(Q.flags&16777216)&&!hye(Q)){const Me=Dv(Q);if(Me===void 0)return;ae&&Me>=119&&Me<=127?t.bindDiagnostics.push(xe(Q,Ho(Q),b0(Q))):Me===135?wc(t)&&fq(Q)?t.bindDiagnostics.push(xe(Q,F.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,b0(Q))):Q.flags&65536&&t.bindDiagnostics.push(xe(Q,F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,b0(Q))):Me===127&&Q.flags&16384&&t.bindDiagnostics.push(xe(Q,F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,b0(Q)))}}function Ho(Q){return Yd(Q)?F.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:t.externalModuleIndicator?F.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:F.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function id(Q){Q.escapedText==="#constructor"&&(t.parseDiagnostics.length||t.bindDiagnostics.push(xe(Q,F.constructor_is_a_reserved_word,b0(Q))))}function Y0(Q){ae&&Df(Q.left)&&u5(Q.operatorToken.kind)&&Lc(Q,Q.left)}function Ko(Q){ae&&Q.variableDeclaration&&Lc(Q,Q.variableDeclaration.name)}function Tc(Q){if(ae&&Q.expression.kind===80){const Me=C2(t,Q.expression);t.bindDiagnostics.push(Rd(t,Me.start,Me.length,F.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Jp(Q){return at(Q)&&(Q.escapedText==="eval"||Q.escapedText==="arguments")}function Lc(Q,Me){if(Me&&Me.kind===80){const wt=Me;if(Jp(wt)){const ki=C2(t,Me);t.bindDiagnostics.push(Rd(t,ki.start,ki.length,Il(Q),fu(wt)))}}}function Il(Q){return Yd(Q)?F.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:t.externalModuleIndicator?F.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:F.Invalid_use_of_0_in_strict_mode}function cl(Q){ae&&Lc(Q,Q.name)}function Ka(Q){return Yd(Q)?F.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:t.externalModuleIndicator?F.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:F.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function Ri(Q){if(s<2&&E.kind!==312&&E.kind!==267&&!L8(E)){const Me=C2(t,Q);t.bindDiagnostics.push(Rd(t,Me.start,Me.length,Ka(Q)))}}function dl(Q){ae&&Lc(Q,Q.operand)}function Uc(Q){ae&&(Q.operator===46||Q.operator===47)&&Lc(Q,Q.operand)}function Ch(Q){ae&&Q0(Q,F.with_statements_are_not_allowed_in_strict_mode)}function sf(Q){ae&&Os(u)>=2&&(pbe(Q.statement)||Jl(Q.statement))&&Q0(Q.label,F.A_label_is_not_allowed_here)}function Q0(Q,Me,...wt){const ki=QE(t,Q.pos);t.bindDiagnostics.push(Rd(t,ki.start,ki.length,Me,...wt))}function Cc(Q,Me,wt){$(Q,Me,Me,wt)}function $(Q,Me,wt,ki){tt(Q,{pos:ek(Me,t),end:wt.end},ki)}function tt(Q,Me,wt){const ki=Rd(t,Me.pos,Me.end-Me.pos,wt);Q?t.bindDiagnostics.push(ki):t.bindSuggestionDiagnostics=xi(t.bindSuggestionDiagnostics,{...ki,category:2})}function vt(Q){if(!Q)return;ks(Q,d),Gn&&(Q.tracingPath=t.path);const Me=ae;if(uu(Q),Q.kind>165){const wt=d;d=Q;const ki=Lde(Q);ki===0?st(Q):We(Q,ki),d=wt}else{const wt=d;Q.kind===1&&(d=Q),mi(Q),d=wt}ae=Me}function mi(Q){if(lm(Q))if(Qn(Q))for(const Me of Q.jsDoc)vt(Me);else for(const Me of Q.jsDoc)ks(Me,Q),Vx(Me,!1)}function fn(Q){if(!ae)for(const Me of Q){if(!Mp(Me))return;if(Wu(Me)){ae=!0;return}}}function Wu(Q){const Me=x2(t,Q.expression);return Me==='"use strict"'||Me==="'use strict'"}function uu(Q){switch(Q.kind){case 80:if(Q.flags&4096){let ir=Q.parent;for(;ir&&!G4(ir);)ir=ir.parent;hd(ir,524288,788968);break}case 110:return k&&(Wt(Q)||d.kind===304)&&(Q.flowNode=k),co(Q);case 166:k&&_q(Q)&&(Q.flowNode=k);break;case 236:case 108:Q.flowNode=k;break;case 81:return id(Q);case 211:case 212:const Me=Q;k&&It(Me)&&(Me.flowNode=k),rye(Me)&&Mn(Me),Qn(Me)&&t.commonJsModuleIndicator&&Y_(Me)&&!UY(E,"module")&&ft(t.locals,void 0,Me.expression,134217729,111550);break;case 226:switch(Xl(Q)){case 1:Oh(Q);break;case 2:uh(Q);break;case 3:To(Q.left,Q);break;case 6:ba(Q);break;case 4:D1(Q);break;case 5:const ir=Q.left.expression;if(Qn(Q)&&at(ir)){const ha=UY(E,ir.escapedText);if(mq(ha==null?void 0:ha.valueDeclaration)){D1(Q);break}}fc(Q);break;case 0:break;default:H.fail("Unknown binary expression special property assignment kind")}return Y0(Q);case 299:return Ko(Q);case 220:return Tc(Q);case 225:return dl(Q);case 224:return Uc(Q);case 254:return Ch(Q);case 256:return sf(Q);case 197:B=!0;return;case 182:break;case 168:return Bt(Q);case 169:return d3(Q);case 260:return R1(Q);case 208:return Q.flowNode=k,R1(Q);case 172:case 171:return Tu(Q);case 303:case 304:return Vh(Q,4,0);case 306:return Vh(Q,8,900095);case 179:case 180:case 181:return Ku(Q,131072,0);case 174:case 173:return Vh(Q,8192|(Q.questionToken?16777216:0),zp(Q)?0:103359);case 262:return Wf(Q);case 176:return Ku(Q,16384,0);case 177:return Vh(Q,32768,46015);case 178:return Vh(Q,65536,78783);case 184:case 324:case 330:case 185:return vc(Q);case 187:case 329:case 200:return Nr(Q);case 339:return Qt(Q);case 210:return Ya(Q);case 218:case 219:return m4(Q);case 213:switch(Xl(Q)){case 7:return nc(Q);case 8:return Bd(Q);case 9:return Fo(Q);case 0:break;default:return H.fail("Unknown call expression assignment declaration kind")}Qn(Q)&&c3(Q);break;case 231:case 263:return ae=!0,c_(Q);case 264:return hd(Q,64,788872);case 265:return hd(Q,524288,788968);case 266:return C5(Q);case 267:return wo(Q);case 292:return c0(Q);case 291:return Ul(Q,4,0);case 271:case 274:case 276:case 281:return Ku(Q,2097152,2097152);case 270:return nd(Q);case 273:return ud(Q);case 278:return S0(Q);case 277:return ic(Q);case 312:return fn(Q.statements),Vu();case 241:if(!L8(Q.parent))return;case 268:return fn(Q.statements);case 348:if(Q.parent.kind===330)return d3(Q);if(Q.parent.kind!==329)break;case 355:const In=Q,tr=In.isBracketed||In.typeExpression&&In.typeExpression.type.kind===323?16777220:4;return Ku(In,tr,0);case 353:case 345:case 347:return(b||(b=[])).push(Q);case 346:return vt(Q.typeExpression)}}function Tu(Q){const Me=ef(Q),wt=Me?98304:4,ki=Me?13247:0;return Vh(Q,wt|(Q.questionToken?16777216:0),ki)}function Nr(Q){return wl(Q,2048,"__type")}function Vu(){if(as(t),wc(t))Ss();else if(W4(t)){Ss();const Q=t.symbol;ft(t.symbol.exports,t.symbol,t,4,67108863),t.symbol=Q}}function Ss(){wl(t,512,`"${_h(t.fileName)}"`)}function ic(Q){if(!f.symbol||!f.symbol.exports)wl(Q,111551,Ke(Q));else{const Me=tB(Q)?2097152:4,wt=ft(f.symbol.exports,f.symbol,Q,Me,67108863);Q.isExportEquals&&Fj(wt,Q)}}function nd(Q){Oe(Q.modifiers)&&t.bindDiagnostics.push(xe(Q,F.Modifiers_cannot_appear_here));const Me=la(Q.parent)?wc(Q.parent)?Q.parent.isDeclarationFile?void 0:F.Global_module_exports_may_only_appear_in_declaration_files:F.Global_module_exports_may_only_appear_in_module_files:F.Global_module_exports_may_only_appear_at_top_level;Me?t.bindDiagnostics.push(xe(Q,Me)):(t.symbol.globalExports=t.symbol.globalExports||Vo(),ft(t.symbol.globalExports,t.symbol,Q,2097152,2097152))}function S0(Q){!f.symbol||!f.symbol.exports?wl(Q,8388608,Ke(Q)):Q.exportClause?u_(Q.exportClause)&&(ks(Q.exportClause,Q),ft(f.symbol.exports,f.symbol,Q.exportClause,2097152,2097152)):ft(f.symbol.exports,f.symbol,Q,8388608,0)}function ud(Q){Q.name&&Ku(Q,2097152,2097152)}function m0(Q){return t.externalModuleIndicator&&t.externalModuleIndicator!==!0?!1:(t.commonJsModuleIndicator||(t.commonJsModuleIndicator=Q,t.externalModuleIndicator||Ss()),!0)}function Bd(Q){if(!m0(Q))return;const Me=f4(Q.arguments[0],void 0,(wt,ki)=>(ki&&De(ki,wt,67110400),ki));Me&&ft(Me.exports,Me,Q,1048580,0)}function Oh(Q){if(!m0(Q))return;const Me=f4(Q.left.expression,void 0,(wt,ki)=>(ki&&De(ki,wt,67110400),ki));if(Me){const ki=Pj(Q.right)&&(uk(Q.left.expression)||Y_(Q.left.expression))?2097152:1048580;ks(Q.left,Q),ft(Me.exports,Me,Q.left,ki,0)}}function uh(Q){if(!m0(Q))return;const Me=vj(Q.right);if(dle(Me)||f===t&&q2(t,Me))return;if(ys(Me)&&ye(Me.properties,pm)){L(Me.properties,h4);return}const wt=tB(Q)?2097152:1049092,ki=ft(t.symbol.exports,t.symbol,Q,wt|67108864,0);Fj(ki,Q)}function h4(Q){ft(t.symbol.exports,t.symbol,Q,69206016,0)}function D1(Q){if(H.assert(Qn(Q)),Xn(Q)&&Iu(Q.left)&&ea(Q.left.name)||Iu(Q)&&ea(Q.name))return;const wt=tf(Q,!1,!1);switch(wt.kind){case 262:case 218:let ki=wt.symbol;if(Xn(wt.parent)&&wt.parent.operatorToken.kind===64){const ir=wt.parent.left;A2(ir)&&Ox(ir.expression)&&(ki=jh(ir.expression.expression,p))}ki&&ki.valueDeclaration&&(ki.members=ki.members||Vo(),Ix(Q)?He(Q,ki,ki.members):ft(ki.members,ki,Q,67108868,0),De(ki,ki.valueDeclaration,32));break;case 176:case 172:case 174:case 177:case 178:case 175:const In=wt.parent,tr=No(wt)?In.symbol.exports:In.symbol.members;Ix(Q)?He(Q,In.symbol,tr):ft(tr,In.symbol,Q,67108868,0,!0);break;case 312:if(Ix(Q))break;wt.commonJsModuleIndicator?ft(wt.symbol.exports,wt.symbol,Q,1048580,0):Ku(Q,1,111550);break;case 267:break;default:H.failBadSyntaxKind(wt)}}function He(Q,Me,wt){ft(wt,Me,Q,4,0,!0,!0),di(Q,Me)}function di(Q,Me){Me&&(Me.assignmentDeclarationMembers||(Me.assignmentDeclarationMembers=new Map)).set($s(Q),Q)}function Mn(Q){Q.expression.kind===110?D1(Q):A2(Q)&&Q.parent.parent.kind===312&&(Ox(Q.expression)?To(Q,Q.parent):Cl(Q))}function ba(Q){ks(Q.left,Q),ks(Q.right,Q),Nc(Q.left.expression,Q.left,!1,!0)}function Fo(Q){const Me=jh(Q.arguments[0].expression);Me&&Me.valueDeclaration&&De(Me,Me.valueDeclaration,32),bc(Q,Me,!0)}function To(Q,Me){const wt=Q.expression,ki=wt.expression;ks(ki,wt),ks(wt,Q),ks(Q,Me),Nc(ki,Q,!0,!0)}function nc(Q){let Me=jh(Q.arguments[0]);const wt=Q.parent.parent.kind===312;Me=Tl(Me,Q.arguments[0],wt,!1,!1),bc(Q,Me,!1)}function fc(Q){var Me;const wt=jh(Q.left.expression,f)||jh(Q.left.expression,E);if(!Qn(Q)&&!aye(wt))return;const ki=CP(Q.left);if(!(at(ki)&&((Me=UY(f,ki.escapedText))==null?void 0:Me.flags)&2097152))if(ks(Q.left,Q),ks(Q.right,Q),at(Q.left.expression)&&f===t&&q2(t,Q.left.expression))Oh(Q);else if(Ix(Q)){wl(Q,67108868,"__computed");const In=Tl(wt,Q.left.expression,ql(Q.left),!1,!1);di(Q,In)}else Cl(Po(Q.left,ak))}function Cl(Q){H.assert(!at(Q)),ks(Q.expression,Q),Nc(Q.expression,Q,!1,!1)}function Tl(Q,Me,wt,ki,In){return(Q==null?void 0:Q.flags)&2097152||(wt&&!ki&&(Q=f4(Me,Q,(ha,os,ss)=>{if(os)return De(os,ha,67110400),os;{const Rl=ss?ss.exports:t.jsGlobalAugmentations||(t.jsGlobalAugmentations=Vo());return ft(Rl,ss,ha,67110400,110735)}})),In&&Q&&Q.valueDeclaration&&De(Q,Q.valueDeclaration,32)),Q}function bc(Q,Me,wt){if(!Me||!ip(Me))return;const ki=wt?Me.members||(Me.members=Vo()):Me.exports||(Me.exports=Vo());let In=0,tr=0;$0(l7(Q))?(In=8192,tr=103359):Mo(Q)&&rk(Q)&&(Oe(Q.arguments[2].properties,ir=>{const ha=Za(ir);return!!ha&&at(ha)&&fu(ha)==="set"})&&(In|=65540,tr|=78783),Oe(Q.arguments[2].properties,ir=>{const ha=Za(ir);return!!ha&&at(ha)&&fu(ha)==="get"})&&(In|=32772,tr|=46015)),In===0&&(In=4,tr=0),ft(ki,Me,Q,In|67108864,tr&-67108865)}function ql(Q){return Xn(Q.parent)?Jm(Q.parent).parent.kind===312:Q.parent.parent.kind===312}function Nc(Q,Me,wt,ki){let In=jh(Q,f)||jh(Q,E);const tr=ql(Me);In=Tl(In,Me.expression,tr,wt,ki),bc(Me,In,wt)}function ip(Q){if(Q.flags&1072)return!0;const Me=Q.valueDeclaration;if(Me&&Mo(Me))return!!l7(Me);let wt=Me?ua(Me)?Me.initializer:Xn(Me)?Me.right:Iu(Me)&&Xn(Me.parent)?Me.parent.right:void 0:void 0;if(wt=wt&&vj(wt),wt){const ki=Ox(ua(Me)?Me.name:Xn(Me)?Me.left:Me);return!!yv(Xn(wt)&&(wt.operatorToken.kind===57||wt.operatorToken.kind===61)?wt.right:wt,ki)}return!1}function Jm(Q){for(;Xn(Q.parent);)Q=Q.parent;return Q.parent}function jh(Q,Me=f){if(at(Q))return UY(Me,Q.escapedText);{const wt=jh(Q.expression);return wt&&wt.exports&&wt.exports.get(Q3(Q))}}function f4(Q,Me,wt){if(q2(t,Q))return t.symbol;if(at(Q))return wt(Q,jh(Q),Me);{const ki=f4(Q.expression,Me,wt),In=bj(Q);return ea(In)&&H.fail("unexpected PrivateIdentifier"),wt(In,ki&&ki.exports&&ki.exports.get(Q3(Q)),ki)}}function c3(Q){!t.commonJsModuleIndicator&&xf(Q,!1)&&m0(Q)}function c_(Q){if(Q.kind===263)hd(Q,32,899503);else{const In=Q.name?Q.name.escapedText:"__class";wl(Q,32,In),Q.name&&Se.add(Q.name.escapedText)}const{symbol:Me}=Q,wt=Ae(4194308,"prototype"),ki=Me.exports.get(wt.escapedName);ki&&(Q.name&&ks(Q.name,Q),t.bindDiagnostics.push(xe(ki.declarations[0],F.Duplicate_identifier_0,lc(wt)))),Me.exports.set(wt.escapedName,wt),wt.parent=Me}function C5(Q){return b2(Q)?hd(Q,128,899967):hd(Q,256,899327)}function R1(Q){if(ae&&Lc(Q,Q.name),!So(Q.name)){const Me=Q.kind===260?Q:Q.parent.parent;Qn(Q)&&eZ(u)&&F2(Me)&&!xv(Q)&&!(m2(Q)&32)?Ku(Q,2097152,2097152):h0e(Q)?hd(Q,2,111551):w2(Q)?Ku(Q,1,111551):Ku(Q,1,111550)}}function d3(Q){if(!(Q.kind===348&&f.kind!==330)&&(ae&&!(Q.flags&33554432)&&Lc(Q,Q.name),So(Q.name)?wl(Q,1,"__"+Q.parent.parameters.indexOf(Q)):Ku(Q,1,111551),Mf(Q,Q.parent))){const Me=Q.parent.parent;ft(Me.symbol.members,Me.symbol,Q,4|(Q.questionToken?16777216:0),0)}}function Wf(Q){!t.isDeclarationFile&&!(Q.flags&33554432)&&aP(Q)&&(ge|=4096),cl(Q),ae?(Ri(Q),hd(Q,16,110991)):Ku(Q,16,110991)}function m4(Q){!t.isDeclarationFile&&!(Q.flags&33554432)&&aP(Q)&&(ge|=4096),k&&(Q.flowNode=k),cl(Q);const Me=Q.name?Q.name.escapedText:"__function";return wl(Q,16,Me)}function Vh(Q,Me,wt){return!t.isDeclarationFile&&!(Q.flags&33554432)&&aP(Q)&&(ge|=4096),k&&lq(Q)&&(Q.flowNode=k),Ix(Q)?wl(Q,Me,"__computed"):Ku(Q,Me,wt)}function Ee(Q){const Me=Tn(Q,wt=>wt.parent&&FB(wt.parent)&&wt.parent.extendsType===wt);return Me&&Me.parent}function Bt(Q){if(_g(Q.parent)){const Me=Aq(Q.parent);Me?(H.assertNode(Me,UE),Me.locals??(Me.locals=Vo()),ft(Me.locals,void 0,Q,262144,526824)):Ku(Q,262144,526824)}else if(Q.parent.kind===195){const Me=Ee(Q.parent);Me?(H.assertNode(Me,UE),Me.locals??(Me.locals=Vo()),ft(Me.locals,void 0,Q,262144,526824)):wl(Q,262144,Ke(Q))}else Ku(Q,262144,526824)}function Di(Q){const Me=oD(Q);return Me===1||Me===2&&fk(u)}function Ci(Q){if(!(k.flags&1))return!1;if(k===Ne&&(XO(Q)&&Q.kind!==242||Q.kind===263||Q.kind===267&&Di(Q))&&(k=pe,!u.allowUnreachableCode)){const wt=uke(u)&&!(Q.flags&33554432)&&(!Jl(Q)||!!(QD(Q.declarationList)&7)||Q.declarationList.declarations.some(ki=>!!ki.initializer));fPt(Q,(ki,In)=>$(wt,ki,In,F.Unreachable_code_detected))}return!0}}function fPt(t,u){if(na(t)&&oet(t)&&po(t.parent)){const{statements:s}=t.parent,d=wle(s,t);eu(d,oet,(f,p)=>u(d[f],d[p-1]))}else u(t,t)}function oet(t){return!ed(t)&&!mPt(t)&&!Iv(t)&&!(Jl(t)&&!(QD(t)&7)&&t.declarationList.declarations.some(u=>!u.initializer))}function mPt(t){switch(t.kind){case 264:case 265:return!0;case 267:return oD(t)!==1;case 266:return Yu(t,4096);default:return!1}}function q2(t,u){let s=0;const d=U$();for(d.enqueue(u);!d.isEmpty()&&s<100;){if(s++,u=d.dequeue(),uk(u)||Y_(u))return!0;if(at(u)){const f=UY(t,u.escapedText);if(f&&f.valueDeclaration&&ua(f.valueDeclaration)&&f.valueDeclaration.initializer){const p=f.valueDeclaration.initializer;d.enqueue(p),ld(p,!0)&&(d.enqueue(p.left),d.enqueue(p.right))}}}return!1}function Lde(t){switch(t.kind){case 231:case 263:case 266:case 210:case 187:case 329:case 292:return 1;case 264:return 65;case 267:case 265:case 200:case 181:return 33;case 312:return 37;case 177:case 178:case 174:if(lq(t))return 173;case 176:case 262:case 173:case 179:case 330:case 324:case 184:case 180:case 185:case 175:return 45;case 218:case 219:return 61;case 268:return 4;case 172:return t.initializer?4:0;case 299:case 248:case 249:case 250:case 269:return 34;case 241:return Co(t.parent)||zl(t.parent)?0:34}return 0}function UY(t,u){var s,d,f,p;const E=(d=(s=ur(t,UE))==null?void 0:s.locals)==null?void 0:d.get(u);if(E)return E.exportSymbol??E;if(la(t)&&t.jsGlobalAugmentations&&t.jsGlobalAugmentations.has(u))return t.jsGlobalAugmentations.get(u);if(Zg(t))return(p=(f=t.symbol)==null?void 0:f.exports)==null?void 0:p.get(u)}var Nde,Pde,set,pPt=o({"src/compiler/binder.ts"(){Bo(),Wy(),Nde=(t=>(t[t.NonInstantiated=0]="NonInstantiated",t[t.Instantiated=1]="Instantiated",t[t.ConstEnumOnly=2]="ConstEnumOnly",t))(Nde||{}),Pde=(t=>(t[t.None=0]="None",t[t.IsContainer=1]="IsContainer",t[t.IsBlockScopedContainer=2]="IsBlockScopedContainer",t[t.IsControlFlowContainer=4]="IsControlFlowContainer",t[t.IsFunctionLike=8]="IsFunctionLike",t[t.IsFunctionExpression=16]="IsFunctionExpression",t[t.HasLocals=32]="HasLocals",t[t.IsInterface=64]="IsInterface",t[t.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor",t))(Pde||{}),set=hPt()}});function BAe(t,u,s,d,f,p,E,v,b,B){return k;function k(T=()=>!0){const M=[],z=[];return{walkType:Se=>{try{return j(Se),{visitedTypes:U1(M),visitedSymbols:U1(z)}}finally{pu(M),pu(z)}},walkSymbol:Se=>{try{return ve(Se),{visitedTypes:U1(M),visitedSymbols:U1(z)}}finally{pu(M),pu(z)}}};function j(Se){if(!(!Se||M[Se.id]||(M[Se.id]=Se,ve(Se.symbol)))){if(Se.flags&524288){const pe=Se,fe=pe.objectFlags;fe&4&&J(Se),fe&32&&ge(Se),fe&3&&Ce(Se),fe&24&&ne(pe)}Se.flags&262144&&K(Se),Se.flags&3145728&&Y(Se),Se.flags&4194304&&oe(Se),Se.flags&8388608&&se(Se)}}function J(Se){j(Se.target),L(B(Se),j)}function K(Se){j(v(Se))}function Y(Se){L(Se.types,j)}function oe(Se){j(Se.type)}function se(Se){j(Se.objectType),j(Se.indexType),j(Se.constraint)}function ge(Se){j(Se.typeParameter),j(Se.constraintType),j(Se.templateType),j(Se.modifiersType)}function ae(Se){const Ne=u(Se);Ne&&j(Ne.type),L(Se.typeParameters,j);for(const pe of Se.parameters)ve(pe);j(t(Se)),j(s(Se))}function Ce(Se){ne(Se),L(Se.typeParameters,j),L(d(Se),j),j(Se.thisType)}function ne(Se){const Ne=f(Se);for(const pe of Ne.indexInfos)j(pe.keyType),j(pe.type);for(const pe of Ne.callSignatures)ae(pe);for(const pe of Ne.constructSignatures)ae(pe);for(const pe of Ne.properties)ve(pe)}function ve(Se){if(!Se)return!1;const Ne=Zo(Se);if(z[Ne])return!1;if(z[Ne]=Se,!T(Se))return!0;const pe=p(Se);return j(pe),Se.exports&&Se.exports.forEach(ve),L(Se.declarations,fe=>{if(fe.type&&fe.type.kind===186){const xe=fe.type,Be=E(b(xe.exprName));ve(Be)}}),!1}}}var gPt=o({"src/compiler/symbolWalker.ts"(){Bo()}});function Mde({importModuleSpecifierPreference:t,importModuleSpecifierEnding:u},s,d,f){const p=E();return{relativePreference:f!==void 0?Id(f)?0:1:t==="relative"?0:t==="non-relative"?1:t==="project-relative"?3:2,getAllowedEndingsInPreferredOrder:v=>{if((v??d.impliedNodeFormat)===99)return $B(s,d.fileName)?[3,2]:[2];if(p1(s)===1)return p===2?[2,1]:[1,2];const b=$B(s,d.fileName);switch(p){case 2:return b?[2,3,0,1]:[2,0,1];case 3:return[3,0,2,1];case 1:return b?[1,0,3,2]:[1,0,2];case 0:return b?[0,1,3,2]:[0,1,2];default:H.assertNever(p)}}};function E(){if(f!==void 0){if(z2(f))return 2;if(sc(f,"/index"))return 1}return Sle(u,d.impliedNodeFormat,s,d)}}function EPt(t,u,s,d,f,p,E={}){const v=cet(t,u,s,d,f,Mde({},t,u,p),{},E);if(v!==p)return v}function qY(t,u,s,d,f,p={}){return cet(t,u,s,d,f,Mde({},t,u),{},p)}function _Pt(t,u,s,d,f,p={}){const E=wAe(u.path,d),v=_et(u.path,s,d,f,p);return G(v,b=>TAe(b,E,u,d,t,f,!0,p.overrideImportMode))}function cet(t,u,s,d,f,p,E,v={}){const b=wAe(s,f),B=_et(s,d,f,E,v);return G(B,k=>TAe(k,b,u,f,t,E,void 0,v.overrideImportMode))||met(d,b,t,f,v.overrideImportMode||u.impliedNodeFormat,p)}function DPt(t,u,s,d,f={}){return det(t,u,s,d,f)[0]}function det(t,u,s,d,f={}){var p;const E=YU(t);if(!E)return _t;const v=(p=s.getModuleSpecifierCache)==null?void 0:p.call(s),b=v==null?void 0:v.get(u.path,E.path,d,f);return[b==null?void 0:b.moduleSpecifiers,E,b==null?void 0:b.modulePaths,v]}function het(t,u,s,d,f,p,E={}){return fet(t,u,s,d,f,p,E,!1).moduleSpecifiers}function fet(t,u,s,d,f,p,E={},v){let b=!1;const B=vPt(t,u);if(B)return{moduleSpecifiers:[B],computedWithoutCache:b};let[k,T,M,z]=det(t,d,f,p,E);if(k)return{moduleSpecifiers:k,computedWithoutCache:b};if(!T)return{moduleSpecifiers:_t,computedWithoutCache:b};b=!0,M||(M=Det(d.path,T.originalFileName,f));const j=xPt(M,s,d,f,p,E,v);return z==null||z.set(d.path,T.path,p,E,M,j),{moduleSpecifiers:j,computedWithoutCache:b}}function xPt(t,u,s,d,f,p={},E){const v=wAe(s.path,d),b=Mde(f,u,s),B=L(t,J=>L(d.getFileIncludeReasons().get(J0(J.path,d.getCurrentDirectory(),v.getCanonicalFileName)),K=>{if(K.kind!==3||K.file!==s.path||s.impliedNodeFormat&&s.impliedNodeFormat!==k1e(s,K.index))return;const Y=TQ(s,K.index).text;return b.relativePreference!==1||!om(Y)?Y:void 0}));if(B)return[B];const k=Oe(t,J=>J.isInNodeModules);let T,M,z,j;for(const J of t){const K=J.isInNodeModules?TAe(J,v,s,d,u,f,void 0,p.overrideImportMode):void 0;if(T=xi(T,K),K&&J.isRedirect)return T;if(!K){const Y=met(J.path,v,u,d,p.overrideImportMode||s.impliedNodeFormat,b,J.isRedirect);if(!Y)continue;J.isRedirect?z=xi(z,Y):kse(Y)?M=xi(M,Y):(E||!k||J.isInNodeModules)&&(j=xi(j,Y))}}return M!=null&&M.length?M:z!=null&&z.length?z:T!=null&&T.length?T:H.checkDefined(j)}function wAe(t,u){const s=L1(u.useCaseSensitiveFileNames?u.useCaseSensitiveFileNames():!0),d=lr(t);return{getCanonicalFileName:s,importingSourceFileName:t,sourceDirectory:d}}function met(t,u,s,d,f,{getAllowedEndingsInPreferredOrder:p,relativePreference:E},v){const{baseUrl:b,paths:B,rootDirs:k}=s;if(v&&!B)return;const{sourceDirectory:T,getCanonicalFileName:M}=u,z=p(f),j=k&&CPt(k,t,T,M,z,s)||cH(h2(JE(T,t,M)),z,s);if(!b&&!B||E===0)return v?void 0:j;const J=$a(zq(s,d)||b,d.getCurrentDirectory()),K=bet(t,J,M);if(!K)return v?void 0:j;const Y=B&&xet(K,B,z,d,s);if(v)return Y;const oe=Y===void 0&&b!==void 0?cH(K,z,s):Y;if(!oe)return j;if(E===1&&!om(oe))return oe;if(E===3&&!om(oe)){const se=s.configFilePath?J0(lr(s.configFilePath),d.getCurrentDirectory(),u.getCanonicalFileName):u.getCanonicalFileName(d.getCurrentDirectory()),ge=J0(t,se,M),ae=Pa(T,se),Ce=Pa(ge,se);if(ae&&!Ce||!ae&&Ce)return oe;const ne=get(d,lr(ge));return get(d,T)!==ne?oe:j}return yet(oe)||ZY(j)t.fileExists(cr(s,"package.json"))?!0:void 0)}function Eet(t,u,s,d,f){var p;const E=n5(s),v=s.getCurrentDirectory(),b=s.isSourceOfProjectReferenceRedirect(u)?s.getProjectReferenceRedirect(u):void 0,B=J0(u,v,E),k=s.redirectTargetsMap.get(B)||_t,M=[...b?[b]:_t,u,...k].map(Y=>$a(Y,v));let z=!ye(M,TP);if(!d){const Y=L(M,oe=>!(z&&TP(oe))&&f(oe,b===oe));if(Y)return Y}const j=(p=s.getSymlinkCache)==null?void 0:p.call(s).getSymlinkedDirectoriesByRealpath(),J=$a(u,v);return j&&Ug(lr(J),Y=>{const oe=j.get(zd(J0(Y,v,E)));if(oe)return Ase(t,Y,E)?!1:L(M,se=>{if(!Ase(se,Y,E))return;const ge=JE(Y,se,E);for(const ae of oe){const Ce=kx(ae,ge),ne=f(Ce,se===b);if(z=!0,ne)return ne}})})||(d?L(M,Y=>z&&TP(Y)?void 0:f(Y,Y===b)):void 0)}function _et(t,u,s,d,f={}){var p;const E=J0(u,s.getCurrentDirectory(),n5(s)),v=(p=s.getModuleSpecifierCache)==null?void 0:p.call(s);if(v){const B=v.get(t,E,d,f);if(B!=null&&B.modulePaths)return B.modulePaths}const b=Det(t,u,s);return v&&v.setModulePaths(t,E,d,f,b),b}function Det(t,u,s){const d=n5(s),f=new Map;Eet(t,u,s,!0,(E,v)=>{const b=q7(E);f.set(E,{path:d(E),isRedirect:v,isInNodeModules:b})});const p=[];for(let E=lr(t);f.size!==0;){const v=zd(E);let b;f.forEach(({path:k,isRedirect:T,isInNodeModules:M},z)=>{Pa(k,v)&&((b||(b=[])).push({path:z,isRedirect:T,isInNodeModules:M}),f.delete(z))}),b&&(b.length>1&&b.sort(pet),p.push(...b));const B=lr(E);if(B===E)break;E=B}if(f.size){const E=ga(f.values());E.length>1&&E.sort(pet),p.push(...E)}return p}function vPt(t,u){var s;const d=(s=t.declarations)==null?void 0:s.find(E=>m0e(E)&&(!v2(E)||!Id(J4(E.name))));if(d)return d.name.text;const p=qi(t.declarations,E=>{var v,b,B,k;if(!_c(E))return;const T=J(E);if(!((v=T==null?void 0:T.parent)!=null&&v.parent&&rE(T.parent)&&N1(T.parent.parent)&&la(T.parent.parent.parent)))return;const M=(k=(B=(b=T.parent.parent.symbol.exports)==null?void 0:b.get("export="))==null?void 0:B.valueDeclaration)==null?void 0:k.expression;if(!M)return;const z=u.getSymbolAtLocation(M);if(!z)return;if(((z==null?void 0:z.flags)&2097152?u.getAliasedSymbol(z):z)===E.symbol)return T.parent.parent;function J(K){for(;K.flags&8;)K=K.parent;return K}})[0];if(p)return p.name.text}function xet(t,u,s,d,f){for(const E in u)for(const v of u[E]){const b=$o(v),B=b.indexOf("*"),k=s.map(T=>({ending:T,value:cH(t,[T],f)}));if(t3(b)&&k.push({ending:void 0,value:t}),B!==-1){const T=b.substring(0,B),M=b.substring(B+1);for(const{ending:z,value:j}of k)if(j.length>=T.length+M.length&&Pa(j,T)&&sc(j,M)&&p({ending:z,value:j})){const J=j.substring(T.length,j.length-M.length);if(!om(J))return E.replace("*",J)}}else if(Oe(k,T=>T.ending!==0&&b===T.value)||Oe(k,T=>T.ending===0&&b===T.value&&p(T)))return E}function p({ending:E,value:v}){return E!==0||v===cH(t,[E],f,d)}}function zde(t,u,s,d,f,p,E=0){if(typeof f=="string"){const v=$a(cr(s,f),void 0),b=mk(u)?_h(u)+Ide(u,t):void 0;switch(E){case 0:if(pv(u,v)===0||b&&pv(b,v)===0)return{moduleFileToTry:d};break;case 1:if(GE(v,u)){const M=JE(v,u,!1);return{moduleFileToTry:$a(cr(cr(d,f),M),void 0)}}break;case 2:const B=v.indexOf("*"),k=v.slice(0,B),T=v.slice(B+1);if(Pa(u,k)&&sc(u,T)){const M=u.slice(k.length,u.length-T.length);return{moduleFileToTry:d.replace("*",M)}}if(b&&Pa(b,k)&&sc(b,T)){const M=b.slice(k.length,b.length-T.length);return{moduleFileToTry:d.replace("*",M)}}break}}else{if(Array.isArray(f))return L(f,v=>zde(t,u,s,d,v,p));if(typeof f=="object"&&f!==null){if(JY(f))return L(Ns(f),v=>{const b=$a(cr(d,v),void 0),B=sc(v,"/")?1:v.includes("*")?2:0;return zde(t,u,s,b,f[v],p,B)});for(const v of Ns(f))if(v==="default"||p.includes(v)||sH(p,v)){const b=f[v],B=zde(t,u,s,d,b,p,E);if(B)return B}}}}function CPt(t,u,s,d,f,p){const E=vet(u,t,d);if(E===void 0)return;const v=vet(s,t,d),b=ju(v,k=>Vt(E,T=>h2(JE(k,T,d)))),B=ooe(b,iV);if(B)return cH(B,f,p)}function TAe({path:t,isRedirect:u},{getCanonicalFileName:s,sourceDirectory:d},f,p,E,v,b,B){if(!p.fileExists||!p.readFile)return;const k=pZ(t);if(!k)return;const M=Mde(v,E,f).getAllowedEndingsInPreferredOrder();let z=t,j=!1;if(!b){let ge=k.packageRootIndex,ae;for(;;){const{moduleFileToTry:Ce,packageRootPath:ne,blockedByExports:ve,verbatimFromExports:Se}=se(ge);if(p1(E)!==1){if(ve)return;if(Se)return Ce}if(ne){z=ne,j=!0;break}if(ae||(ae=Ce),ge=t.indexOf(rl,ge+1),ge===-1){z=cH(ae,M,E,p);break}}}if(u&&!j)return;const J=p.getGlobalTypingsCacheLocation&&p.getGlobalTypingsCacheLocation(),K=s(z.substring(0,k.topLevelNodeModulesIndex));if(!(Pa(d,K)||J&&Pa(s(J),K)))return;const Y=z.substring(k.topLevelPackageNameIndex+1),oe=hM(Y);return p1(E)===1&&oe===Y?void 0:oe;function se(ge){var ae,Ce;const ne=t.substring(0,ge),ve=cr(ne,"package.json");let Se=t,Ne=!1;const pe=(Ce=(ae=p.getPackageJsonInfoCache)==null?void 0:ae.call(p))==null?void 0:Ce.getPackageJsonInfo(ve);if(typeof pe=="object"||pe===void 0&&p.fileExists(ve)){const fe=(pe==null?void 0:pe.contents.packageJsonContent)||JSON.parse(p.readFile(ve)),xe=B||f.impliedNodeFormat;if(vle(E)){const Ae=ne.substring(k.topLevelPackageNameIndex+1),De=hM(Ae),Ke=$2(E,xe),Je=fe.exports?zde(E,t,ne,De,fe.exports,Ke):void 0;if(Je)return{...mk(Je.moduleFileToTry)?{moduleFileToTry:_h(Je.moduleFileToTry)+Ide(Je.moduleFileToTry,E)}:Je,verbatimFromExports:!0};if(fe.exports)return{moduleFileToTry:t,blockedByExports:!0}}const Be=fe.typesVersions?jY(fe.typesVersions):void 0;if(Be){const Ae=t.slice(ne.length+1),De=xet(Ae,Be.paths,M,p,E);De===void 0?Ne=!0:Se=cr(ne,De)}const Ge=fe.typings||fe.types||fe.main||"index.js";if(Ja(Ge)&&!(Ne&&Ble(lZ(Be.paths),Ge))){const Ae=J0(Ge,ne,s),De=s(Se);if(_h(Ae)===_h(De))return{packageRootPath:ne,moduleFileToTry:Se};if(fe.type!=="module"&&!jc(De,fV)&&Pa(De,Ae)&&lr(De)===mv(Ae)&&_h(Ac(De))==="index")return{packageRootPath:ne,moduleFileToTry:Se}}}else{const fe=s(Se.substring(k.packageRootIndex+1));if(fe==="index.d.ts"||fe==="index.js"||fe==="index.ts"||fe==="index.tsx")return{moduleFileToTry:Se,packageRootPath:ne}}return{moduleFileToTry:Se}}}function bPt(t,u){if(!t.fileExists)return;const s=Va(kP({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]));for(const d of s){const f=u+d;if(t.fileExists(f))return f}}function vet(t,u,s){return qi(u,d=>{const f=bet(t,d,s);return f!==void 0&&yet(f)?void 0:f})}function cH(t,u,s,d){if(jc(t,[".json",".mjs",".cjs"]))return t;const f=_h(t);if(t===f)return t;const p=u.indexOf(2),E=u.indexOf(3);if(jc(t,[".mts",".cts"])&&E!==-1&&EB===0||B===1);return b!==-1&&bZY,forEachFileNameOfModule:()=>Eet,getModuleSpecifier:()=>qY,getModuleSpecifiers:()=>het,getModuleSpecifiersWithCacheInfo:()=>fet,getNodeModulesPackageName:()=>_Pt,tryGetJSExtensionForFile:()=>Ide,tryGetModuleSpecifiersFromCache:()=>DPt,tryGetRealFileNameForNonJsDeclarationFileName:()=>Cet,updateModuleSpecifier:()=>EPt});var NAe=o({"src/compiler/_namespaces/ts.moduleSpecifiers.ts"(){ket()}});function yPt(){this.flags=0}function $s(t){return t.id||(t.id=zAe,zAe++),t.id}function Zo(t){return t.id||(t.id=MAe,MAe++),t.id}function Rde(t,u){const s=oD(t);return s===1||u&&s===2}function PAe(t){var u=[],s=l=>{u.push(l)},d,f=new Set,p,E,v=Qd.getSymbolConstructor(),b=Qd.getTypeConstructor(),B=Qd.getSignatureConstructor(),k=0,T=0,M=0,z=0,j=0,J=0,K,Y,oe=!1,se=Vo(),ge=[1],ae=t.getCompilerOptions(),Ce=Os(ae),ne=m1(ae),ve=!!ae.experimentalDecorators,Se=eV(ae),Ne=ake(ae),pe=C7(ae),fe=Z4(ae,"strictNullChecks"),xe=Z4(ae,"strictFunctionTypes"),Be=Z4(ae,"strictBindCallApply"),Ge=Z4(ae,"strictPropertyInitialization"),Ae=Z4(ae,"noImplicitAny"),De=Z4(ae,"noImplicitThis"),Ke=Z4(ae,"useUnknownInCatchVariables"),Je=!!ae.keyofStringsOnly,ft=Je?1:0,Ye=ae.suppressExcessPropertyErrors?0:8192,Ve=ae.exactOptionalPropertyTypes,We=Kai(),Gt=vli(),Yt=cF(),Ie=Vo(),st=Hs(4,"undefined");st.declarations=[];var St=Hs(1536,"globalThis",8);St.exports=Ie,St.declarations=[],Ie.set(St.escapedName,St);var It=Hs(4,"arguments"),ei=Hs(4,"require"),ht=ae.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules",Ut=!ae.verbatimModuleSyntax||!!ae.importsNotUsedAsValues,Ni,ji,xn=0,Jn,an=0;const Pi={getNodeCount:()=>nn(t.getSourceFiles(),(l,m)=>l+m.nodeCount,0),getIdentifierCount:()=>nn(t.getSourceFiles(),(l,m)=>l+m.identifierCount,0),getSymbolCount:()=>nn(t.getSourceFiles(),(l,m)=>l+m.symbolCount,T),getTypeCount:()=>k,getInstantiationCount:()=>M,getRelationCacheSizes:()=>({assignable:Jf.size,identity:Em.size,subtype:h_.size,strictSubtype:p4.size}),isUndefinedSymbol:l=>l===st,isArgumentsSymbol:l=>l===It,isUnknownSymbol:l=>l===Xt,getMergedSymbol:Ks,getDiagnostics:O4t,getGlobalDiagnostics:I0i,getRecursionIdentity:iEe,getUnmatchedProperties:uMe,getTypeOfSymbolAtLocation:(l,m)=>{const D=Ua(m);return D?Mni(l,D):Ot},getTypeOfSymbol:Wn,getSymbolsOfParameterPropertyDeclaration:(l,m)=>{const D=Ua(l,io);return D===void 0?H.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(H.assert(Mf(D,D.parent)),Iw(D,Al(m)))},getDeclaredTypeOfSymbol:X0,getPropertiesOfType:n0,getPropertyOfType:(l,m)=>qo(l,Al(m)),getPrivateIdentifierPropertyOfType:(l,m,D)=>{const C=Ua(D);if(!C)return;const A=Al(m),w=LEe(A,C);return w?KMe(l,w):void 0},getTypeOfPropertyOfType:(l,m)=>he(l,Al(m)),getIndexInfoOfType:(l,m)=>k3(l,m===0?ct:Qt),getIndexInfosOfType:kh,getIndexInfosOfIndexSymbol:tPe,getSignaturesOfType:go,getIndexTypeOfType:(l,m)=>yC(l,m===0?ct:Qt),getIndexType:l=>k_(l),getBaseTypes:Zc,getBaseTypeOfLiteralType:kD,getWidenedType:vm,getTypeFromTypeNode:l=>{const m=Ua(l,Xr);return m?Ar(m):Ot},getParameterType:Lg,getParameterIdentifierInfoAtPosition:oai,getPromisedTypeOfPromise:NW,getAwaitedType:l=>NF(l),getReturnTypeOfSignature:Zs,isNullableType:tie,getNullableType:aEe,getNonNullableType:FD,getNonOptionalType:oEe,getTypeArguments:O0,typeToTypeNode:Yt.typeToTypeNode,indexInfoToIndexSignatureDeclaration:Yt.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:Yt.signatureToSignatureDeclaration,symbolToEntityName:Yt.symbolToEntityName,symbolToExpression:Yt.symbolToExpression,symbolToNode:Yt.symbolToNode,symbolToTypeParameterDeclarations:Yt.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:Yt.symbolToParameterDeclaration,typeParameterToDeclaration:Yt.typeParameterToDeclaration,getSymbolsInScope:(l,m)=>{const D=Ua(l);return D?R0i(D,m):[]},getSymbolAtLocation:l=>{const m=Ua(l);return m?Yp(m,!0):void 0},getIndexInfosAtLocation:l=>{const m=Ua(l);return m?J0i(m):void 0},getShorthandAssignmentValueSymbol:l=>{const m=Ua(l);return m?$0i(m):void 0},getExportSpecifierLocalTargetSymbol:l=>{const m=Ua(l,eh);return m?U0i(m):void 0},getExportSymbolOfSymbol(l){return Ks(l.exportSymbol||l)},getTypeAtLocation:l=>{const m=Ua(l);return m?tS(m):Ot},getTypeOfAssignmentPattern:l=>{const m=Ua(l,KN);return m&&a_e(m)||Ot},getPropertySymbolOfDestructuringAssignment:l=>{const m=Ua(l,at);return m?q0i(m):void 0},signatureToString:(l,m,D,C)=>vE(l,Ua(m),D,C),typeToString:(l,m,D)=>gn(l,Ua(m),D),symbolToString:(l,m,D,C)=>Fr(l,Ua(m),D,C),typePredicateToString:(l,m,D)=>E_(l,Ua(m),D),writeSignature:(l,m,D,C,A)=>vE(l,Ua(m),D,C,A),writeType:(l,m,D,C)=>gn(l,Ua(m),D,C),writeSymbol:(l,m,D,C,A)=>Fr(l,Ua(m),D,C,A),writeTypePredicate:(l,m,D,C)=>E_(l,Ua(m),D,C),getAugmentedPropertiesOfType:Gze,getRootSymbols:$4t,getSymbolOfExpando:jEe,getContextualType:(l,m)=>{const D=Ua(l,Wt);if(D)return m&4?aa(D,()=>hf(D,m)):hf(D,m)},getContextualTypeForObjectLiteralElement:l=>{const m=Ua(l,Z3);return m?BMe(m,void 0):void 0},getContextualTypeForArgumentAtIndex:(l,m)=>{const D=Ua(l,D2);return D&&SMe(D,m)},getContextualTypeForJsxAttribute:l=>{const m=Ua(l,KU);return m&&lft(m,void 0)},isContextSensitive:k4,getTypeOfPropertyOfContextualType:Ob,getFullyQualifiedName:op,getResolvedSignature:(l,m,D)=>yr(l,m,D,0),getCandidateSignaturesForStringLiteralCompletions:Ai,getResolvedSignatureForSignatureHelp:(l,m,D)=>Zu(l,()=>yr(l,m,D,16)),getExpandedParameters:fdt,hasEffectiveRestParameter:F_,containsArgumentsReference:XNe,getConstantValue:l=>{const m=Ua(l,Q4t);return m?Jze(m):void 0},isValidPropertyAccess:(l,m)=>{const D=Ua(l,abe);return!!D&&Eri(D,Al(m))},isValidPropertyAccessForCompletions:(l,m,D)=>{const C=Ua(l,Iu);return!!C&&Oft(C,m,D)},getSignatureFromDeclaration:l=>{const m=Ua(l,Co);return m?dp(m):void 0},isImplementationOfOverload:l=>{const m=Ua(l,Co);return m?Z4t(m):void 0},getImmediateAliasedSymbol:PMe,getAliasedSymbol:md,getEmitResolver:jd,getExportsOfModule:L5,getExportsAndPropertiesOfModule:cz,forEachExportAndPropertyOfModule:P9,getSymbolWalker:BAe(nei,y4,Zs,Zc,Ag,Wn,Zp,rh,hm,O0),getAmbientModules:cci,getJsxIntrinsicTagNamesAt:Zui,isOptionalParameter:l=>{const m=Ua(l,io);return m?uW(m):!1},tryGetMemberInModuleExports:(l,m)=>M9(Al(l),m),tryGetMemberInModuleExportsAndProperties:(l,m)=>z9(Al(l),m),tryFindAmbientModule:l=>kge(l,!0),tryFindAmbientModuleWithoutAugmentations:l=>kge(l,!1),getApparentType:Gh,getUnionType:er,isTypeAssignableTo:ms,createAnonymousType:Ol,createSignature:y3,createSymbol:Hs,createIndexInfo:y_,getAnyType:()=>me,getStringType:()=>ct,getStringLiteralType:df,getNumberType:()=>Qt,getNumberLiteralType:wg,getBigIntType:()=>Li,createPromiseType:die,createArrayType:V1,getElementTypeOfArrayType:WPe,getBooleanType:()=>pr,getFalseType:l=>l?Ui:Sn,getTrueType:l=>l?du:Ru,getVoidType:()=>ca,getUndefinedType:()=>te,getNullType:()=>it,getESSymbolType:()=>Xu,getNeverType:()=>Ku,getOptionalType:()=>X,getPromiseType:()=>Fte(!1),getPromiseLikeType:()=>e1t(!1),getAsyncIterableType:()=>{const l=Mge(!1);if(l!==Ka)return l},isSymbolAccessible:yu,isArrayType:A4,isTupleType:xs,isArrayLikeType:H5,isEmptyAnonymousObjectType:yD,isTypeInvalidDueToUnionDiscriminant:RXt,getExactOptionalProperties:dii,getAllPossiblePropertiesOfTypes:OXt,getSuggestedSymbolForNonexistentProperty:JMe,getSuggestionForNonexistentProperty:$Me,getSuggestedSymbolForNonexistentJSXAttribute:Ift,getSuggestedSymbolForNonexistentSymbol:(l,m,D)=>UMe(l,Al(m),D),getSuggestionForNonexistentSymbol:(l,m,D)=>fri(l,Al(m),D),getSuggestedSymbolForNonexistentModule:PEe,getSuggestionForNonexistentExport:mri,getSuggestedSymbolForNonexistentClassMember:zft,getBaseConstraintOfType:Wh,getDefaultFromTypeParameter:l=>l&&l.flags&262144?_F(l):void 0,resolveName(l,m,D,C){return uc(m,Al(l),D,void 0,void 0,!1,C)},getJsxNamespace:l=>Qr(uC(l)),getJsxFragmentFactory:l=>{const m=Uze(l);return m&&Qr(hm(m).escapedText)},getAccessibleSymbolChain:_C,getTypePredicateOfSignature:y4,resolveExternalModuleName:l=>{const m=Ua(l,Wt);return m&&Kh(m,m,!0)},resolveExternalModuleSymbol:_m,tryGetThisTypeAt:(l,m,D)=>{const C=Ua(l);return C&&yMe(C,m,D)},getTypeArgumentConstraint:l=>{const m=Ua(l,Xr);return m&&voi(m)},getSuggestionDiagnostics:(l,m)=>{const D=Ua(l,la)||H.fail("Could not determine parsed source file.");if(AP(D,ae,t))return _t;let C;try{return d=m,Kze(D),H.assert(!!(ar(D).flags&1)),C=yn(C,Zk.getDiagnostics(D.fileName)),t4t(R4t(D),(A,w,I)=>{!O8(A)&&!I4t(w,!!(A.flags&33554432))&&(C||(C=[])).push({...I,category:2})}),C||_t}finally{d=void 0}},runWithCancellationToken:(l,m)=>{try{return d=l,m(Pi)}finally{d=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:sn,isDeclarationVisible:pD,isPropertyAccessible:ZMe,getTypeOnlyAliasDeclaration:_4,getMemberOverrideModifierStatus:Xsi,isTypeParameterPossiblyReferenced:Lte,typeHasCallOrConstructSignatures:o_e};function Ai(l,m){const D=new Set,C=[];aa(m,()=>yr(l,C,void 0,0));for(const A of C)D.add(A);C.length=0,Zu(m,()=>yr(l,C,void 0,0));for(const A of C)D.add(A);return ga(D)}function Zu(l,m){if(l=Tn(l,Xse),l){const D=[],C=[];for(;l;){const w=ar(l);if(D.push([w,w.resolvedSignature]),w.resolvedSignature=void 0,R2(l)){const I=Ur(_u(l)),U=I.type;C.push([I,U]),I.type=void 0}l=Tn(l.parent,Xse)}const A=m();for(const[w,I]of D)w.resolvedSignature=I;for(const[w,I]of C)w.type=I;return A}return m()}function aa(l,m){const D=Tn(l,D2);if(D){let A=l;do ar(A).skipDirectInference=!0,A=A.parent;while(A&&A!==D)}oe=!0;const C=Zu(l,m);if(oe=!1,D){let A=l;do ar(A).skipDirectInference=void 0,A=A.parent;while(A&&A!==D)}return C}function yr(l,m,D,C){const A=Ua(l,D2);Ni=D;const w=A?mT(A,m,C):void 0;return Ni=void 0,w}var Ba=new Map,bt=new Map,jn=new Map,Ln=new Map,Si=new Map,Dn=new Map,Cn=new Map,tu=new Map,oa=new Map,Da=new Map,ra=new Map,Ta=new Map,Yo=new Map,bo=new Map,Qe=new Map,Et=[],Mt=new Map,qt=new Set,Xt=Hs(4,"unknown"),Pe=Hs(0,"__resolving__"),et=new Map,gt=new Map,ii=new Set,me=Pc(1,"any"),ni=Pc(1,"any",262144,"auto"),vi=Pc(1,"any",void 0,"wildcard"),mt=Pc(1,"any",void 0,"blocked string"),Ot=Pc(1,"error"),Ei=Pc(1,"unresolved"),$i=Pc(1,"any",65536,"non-inferrable"),Qi=Pc(1,"intrinsic"),on=Pc(2,"unknown"),le=Pc(2,"unknown",void 0,"non-null"),te=Pc(32768,"undefined"),we=fe?te:Pc(32768,"undefined",65536,"widening"),de=Pc(32768,"undefined",void 0,"missing"),je=Ve?de:te,X=Pc(32768,"undefined",void 0,"optional"),it=Pc(65536,"null"),Ct=fe?it:Pc(65536,"null",65536,"widening"),ct=Pc(4,"string"),Qt=Pc(8,"number"),Li=Pc(64,"bigint"),Ui=Pc(512,"false",void 0,"fresh"),Sn=Pc(512,"false"),du=Pc(512,"true",void 0,"fresh"),Ru=Pc(512,"true");du.regularType=Ru,du.freshType=du,Ru.regularType=Ru,Ru.freshType=du,Ui.regularType=Sn,Ui.freshType=Ui,Sn.regularType=Sn,Sn.freshType=Ui;var pr=er([Sn,Ru]),Xu=Pc(4096,"symbol"),ca=Pc(16384,"void"),Ku=Pc(131072,"never"),ja=Pc(131072,"never",262144,"silent"),wn=Pc(131072,"never",void 0,"implicit"),Ir=Pc(131072,"never",void 0,"unreachable"),as=Pc(67108864,"object"),wo=er([ct,Qt]),Fn=er([ct,Qt,Xu]),vc=Je?ct:Fn,Ya=er([Qt,Li]),c0=er([ct,Qt,pr,Li,it,te]),Ul=xF(["",""],[Qt]),wl=Tte(l=>l.flags&262144?Rti(l):l,()=>"(restrictive mapper)"),hd=Tte(l=>l.flags&262144?vi:l,()=>"(permissive mapper)"),vl=Pc(131072,"never",void 0,"unique literal"),co=Tte(l=>l.flags&262144?vl:l,()=>"(unique literal mapper)"),Ho,id=Tte(l=>(Ho&&(l===sf||l===Q0||l===Cc)&&Ho(!0),l),()=>"(unmeasurable reporter)"),Y0=Tte(l=>(Ho&&(l===sf||l===Q0||l===Cc)&&Ho(!1),l),()=>"(unreliable reporter)"),Ko=Ol(void 0,se,_t,_t,_t),Tc=Ol(void 0,se,_t,_t,_t);Tc.objectFlags|=2048;var Jp=Hs(2048,"__type");Jp.members=Vo();var Lc=Ol(Jp,se,_t,_t,_t),Il=Ol(void 0,se,_t,_t,_t),cl=fe?er([te,it,Il]):on,Ka=Ol(void 0,se,_t,_t,_t);Ka.instantiations=new Map;var Ri=Ol(void 0,se,_t,_t,_t);Ri.objectFlags|=262144;var dl=Ol(void 0,se,_t,_t,_t),Uc=Ol(void 0,se,_t,_t,_t),Ch=Ol(void 0,se,_t,_t,_t),sf=j1(),Q0=j1();Q0.constraint=sf;var Cc=j1(),$=j1(),tt=j1();tt.constraint=$;var vt=yte(1,"<>",0,me),mi=y3(void 0,void 0,void 0,_t,me,void 0,0,0),fn=y3(void 0,void 0,void 0,_t,Ot,void 0,0,0),Wu=y3(void 0,void 0,void 0,_t,me,void 0,0,0),uu=y3(void 0,void 0,void 0,_t,ja,void 0,0,0),Tu=y_(Qt,ct,!0),Nr=new Map,Vu={get yieldType(){return H.fail("Not supported")},get returnType(){return H.fail("Not supported")},get nextType(){return H.fail("Not supported")}},Ss=J5(me,me,me),ic=J5(me,me,on),nd=J5(Ku,me,te),S0={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:_ei,getGlobalIterableType:Mge,getGlobalIterableIteratorType:Dei,getGlobalGeneratorType:xei,resolveIterationType:(l,m)=>NF(l,m,F.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),mustHaveANextMethodDiagnostic:F.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:F.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:F.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},ud={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:vei,getGlobalIterableType:lPe,getGlobalIterableIteratorType:Cei,getGlobalGeneratorType:bei,resolveIterationType:(l,m)=>l,mustHaveANextMethodDiagnostic:F.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:F.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:F.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},m0,Bd=new Map,Oh=[],uh,h4,D1,He,di,Mn,ba,Fo,To,nc,fc,Cl,Tl,bc,ql,Nc,ip,Jm,jh,f4,c3,c_,C5,R1,d3,Wf,m4,Vh,Ee,Bt,Di,Ci,Q,Me,wt,ki,In,tr,ir,ha,os,ss,Rl,x1,fd,$m,_s,np,Um,h3,d_,ia,Xx,e6,bg,sb,b5=new Map,Xe=0,Dt=0,oi=0,Ti=!1,Xi=0,Rn,tn,bn,kr=[],Cu=[],bu=[],Eu=0,sa=[],p0=[],o0=0,Gf=df(""),eC=wg(0),t6=jge({negative:!1,base10Value:"0"}),cD=[],i6=[],Gk=[],lb=0,Jk=!1,$k=0,az=10,D9=[],ww=[],tC=[],x9=[],v9=[],Tw=[],Uk=[],Lw=[],C9=[],b9=[],qk=[],cb=[],db=[],iC=[],y5=[],hb=[],fE=[],Vs=rB(),Zk=rB(),Nw=Gw(),n6,k5,h_=new Map,p4=new Map,Jf=new Map,Hh=new Map,Em=new Map,nC=new Map,Pw=Vo();Pw.set(st.escapedName,st);var y9=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",ae.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return Cli(),Pi;function Yk(l){return l?Qe.get(l):void 0}function fb(l,m){return l&&Qe.set(l,m),m}function uC(l){if(l){const m=zn(l);if(m)if(V7(l)){if(m.localJsxFragmentNamespace)return m.localJsxFragmentNamespace;const D=m.pragmas.get("jsxfrag");if(D){const A=Ha(D)?D[0]:D;if(m.localJsxFragmentFactory=G7(A.arguments.factory,Ce),yt(m.localJsxFragmentFactory,rC,sm),m.localJsxFragmentFactory)return m.localJsxFragmentNamespace=hm(m.localJsxFragmentFactory).escapedText}const C=Uze(l);if(C)return m.localJsxFragmentFactory=C,m.localJsxFragmentNamespace=hm(C).escapedText}else{const D=Qk(m);if(D)return m.localJsxNamespace=D}}return n6||(n6="React",ae.jsxFactory?(k5=G7(ae.jsxFactory,Ce),yt(k5,rC),k5&&(n6=hm(k5).escapedText)):ae.reactNamespace&&(n6=Al(ae.reactNamespace))),k5||(k5=q.createQualifiedName(q.createIdentifier(Qr(n6)),"createElement")),n6}function Qk(l){if(l.localJsxNamespace)return l.localJsxNamespace;const m=l.pragmas.get("jsx");if(m){const D=Ha(m)?m[0]:m;if(l.localJsxFactory=G7(D.arguments.factory,Ce),yt(l.localJsxFactory,rC,sm),l.localJsxFactory)return l.localJsxNamespace=hm(l.localJsxFactory).escapedText}}function rC(l){return t_(l,-1,-1),rn(l,rC,Dg)}function jd(l,m){return O4t(l,m),Gt}function F5(l,m,...D){const C=l?Su(l,m,...D):cc(m,...D),A=Vs.lookup(C);return A||(Vs.add(C),C)}function A5(l,m,D,...C){const A=pt(m,D,...C);return A.skippedOn=l,A}function f3(l,m,...D){return l?Su(l,m,...D):cc(m,...D)}function pt(l,m,...D){const C=f3(l,m,...D);return Vs.add(C),C}function i1(l,m){l?Vs.add(m):Zk.add({...m,category:2})}function g4(l,m,D,...C){if(m.pos<0||m.end<0){if(!l)return;const A=zn(m);i1(l,"message"in D?Rd(A,0,0,D,...C):b0e(A,D));return}i1(l,"message"in D?Su(m,D,...C):Y3(zn(m),m,D))}function bh(l,m,D,...C){const A=pt(l,D,...C);if(m){const w=Su(l,F.Did_you_forget_to_use_await);Es(A,w)}return A}function Mw(l,m){const D=Array.isArray(l)?L(l,Rse):Rse(l);return D&&Es(m,Su(D,F.The_declaration_was_marked_as_deprecated_here)),Zk.add(m),m}function S5(l){const m=cf(l);return m&&S(l.declarations)>1?m.flags&64?Oe(l.declarations,aC):ye(l.declarations,aC):!!l.valueDeclaration&&aC(l.valueDeclaration)||S(l.declarations)&&ye(l.declarations,aC)}function aC(l){return!!(Gb(l)&536870912)}function m3(l,m,D){const C=Su(l,F._0_is_deprecated,D);return Mw(m,C)}function oz(l,m,D,C){const A=D?Su(l,F.The_signature_0_of_1_is_deprecated,C,D):Su(l,F._0_is_deprecated,C);return Mw(m,A)}function Hs(l,m,D){T++;const C=new v(l|33554432,m);return C.links=new OAe,C.links.checkFlags=D||0,C}function yg(l,m){const D=Hs(1,l);return D.links.type=m,D}function Xk(l,m){const D=Hs(4,l);return D.links.type=m,D}function eF(l){let m=0;return l&2&&(m|=111551),l&1&&(m|=111550),l&4&&(m|=0),l&8&&(m|=900095),l&16&&(m|=110991),l&32&&(m|=899503),l&64&&(m|=788872),l&256&&(m|=899327),l&128&&(m|=899967),l&512&&(m|=110735),l&8192&&(m|=103359),l&32768&&(m|=46015),l&65536&&(m|=78783),l&262144&&(m|=526824),l&524288&&(m|=788968),l&2097152&&(m|=2097152),m}function mb(l,m){m.mergeId||(m.mergeId=IAe,IAe++),D9[m.mergeId]=l}function pb(l){const m=Hs(l.flags,l.escapedName);return m.declarations=l.declarations?l.declarations.slice():[],m.parent=l.parent,l.valueDeclaration&&(m.valueDeclaration=l.valueDeclaration),l.constEnumOnlyModule&&(m.constEnumOnlyModule=!0),l.members&&(m.members=new Map(l.members)),l.exports&&(m.exports=new Map(l.exports)),mb(m,l),m}function up(l,m,D=!1){if(!(l.flags&eF(m.flags))||(m.flags|l.flags)&67108864){if(m===l)return l;if(!(l.flags&33554432)){const A=yc(l);if(A===Xt)return m;l=pb(A)}m.flags&512&&l.flags&512&&l.constEnumOnlyModule&&!m.constEnumOnlyModule&&(l.constEnumOnlyModule=!1),l.flags|=m.flags,m.valueDeclaration&&Fj(l,m.valueDeclaration),yn(l.declarations,m.declarations),m.members&&(l.members||(l.members=Vo()),mE(l.members,m.members,D)),m.exports&&(l.exports||(l.exports=Vo()),mE(l.exports,m.exports,D)),D||mb(l,m)}else if(l.flags&1024)l!==St&&pt(m.declarations&&Za(m.declarations[0]),F.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Fr(l));else{const A=!!(l.flags&384||m.flags&384),w=!!(l.flags&2||m.flags&2),I=A?F.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:w?F.Cannot_redeclare_block_scoped_variable_0:F.Duplicate_identifier_0,U=m.declarations&&zn(m.declarations[0]),Z=l.declarations&&zn(l.declarations[0]),ce=nj(U,ae.checkJs),Fe=nj(Z,ae.checkJs),Te=Fr(m);if(U&&Z&&m0&&!A&&U!==Z){const $e=pv(U.path,Z.path)===-1?U:Z,ut=$e===U?Z:U,zt=W0(m0,`${$e.path}|${ut.path}`,()=>({firstFile:$e,secondFile:ut,conflictingSymbols:new Map})),gi=W0(zt.conflictingSymbols,Te,()=>({isBlockScoped:w,firstFileLocations:[],secondFileLocations:[]}));ce||C(gi.firstFileLocations,m),Fe||C(gi.secondFileLocations,l)}else ce||kg(m,I,Te,l),Fe||kg(l,I,Te,m)}return l;function C(A,w){if(w.declarations)for(const I of w.declarations)xa(A,I)}}function kg(l,m,D,C){L(l.declarations,A=>{p3(A,m,D,C.declarations)})}function p3(l,m,D,C){const A=(yv(l,!1)?N0e(l):Za(l))||l,w=F5(A,m,D);for(const I of C||_t){const U=(yv(I,!1)?N0e(I):Za(I))||I;if(U===A)continue;w.relatedInformation=w.relatedInformation||[];const Z=Su(U,F._0_was_also_declared_here,D),ce=Su(U,F.and_here);S(w.relatedInformation)>=5||Oe(w.relatedInformation,Fe=>bP(Fe,ce)===0||bP(Fe,Z)===0)||Es(w,S(w.relatedInformation)?ce:Z)}}function tF(l,m){if(!(l!=null&&l.size))return m;if(!(m!=null&&m.size))return l;const D=Vo();return mE(D,l),mE(D,m),D}function mE(l,m,D=!1){m.forEach((C,A)=>{const w=l.get(A);l.set(A,w?up(w,C,D):Ks(C))})}function iF(l){var m,D,C;const A=l.parent;if(((m=A.symbol.declarations)==null?void 0:m[0])!==A){H.assert(A.symbol.declarations.length>1);return}if(Yg(A))mE(Ie,A.symbol.exports);else{const w=l.parent.parent.flags&33554432?void 0:F.Invalid_module_name_in_augmentation_module_0_cannot_be_found;let I=D3(l,l,w,!0);if(!I)return;if(I=_m(I),I.flags&1920)if(Oe(h4,U=>I===U.symbol)){const U=up(A.symbol,I,!0);D1||(D1=new Map),D1.set(l.text,U)}else{if((D=I.exports)!=null&&D.get("__export")&&((C=A.symbol.exports)!=null&&C.size)){const U=PNe(I,"resolvedExports");for(const[Z,ce]of ga(A.symbol.exports.entries()))U.has(Z)&&!I.exports.has(Z)&&up(U.get(Z),ce)}up(I,A.symbol)}else pt(l,F.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,l.text)}}function zw(l,m,D){m.forEach((A,w)=>{const I=l.get(w);I?L(I.declarations,C(Qr(w),D)):l.set(w,A)});function C(A,w){return I=>Vs.add(Su(I,w,A))}}function Ur(l){if(l.flags&33554432)return l.links;const m=Zo(l);return ww[m]??(ww[m]=new OAe)}function ar(l){const m=$s(l);return tC[m]||(tC[m]=new yPt)}function pE(l){return l.kind===312&&!cm(l)}function kf(l,m,D){if(D){const C=Ks(l.get(m));if(C&&(H.assert((Gl(C)&1)===0,"Should never get an instantiated symbol here."),C.flags&D||C.flags&2097152&&O1(C)&D))return C}}function Iw(l,m){const D=l.parent,C=l.parent.parent,A=kf(D.locals,m,111551),w=kf(_6(C.symbol),m,111551);return A&&w?[A,w]:H.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function B5(l,m){const D=zn(l),C=zn(m),A=YE(l);if(D!==C){if(ne&&(D.externalModuleIndicator||C.externalModuleIndicator)||!y0(ae)||ck(m)||l.flags&33554432||I(m,l))return!0;const Z=t.getSourceFiles();return Z.indexOf(D)<=Z.indexOf(C)}if(m.flags&16777216||ck(m)||hMe(m))return!0;if(l.pos<=m.pos&&!(ko(l)&&mj(m.parent)&&!l.initializer&&!l.exclamationToken)){if(l.kind===208){const Z=Fv(m,208);return Z?Tn(Z,js)!==Tn(l,js)||l.posPs(Z)&&Z.parent.parent===l);if(ko(l))return!U(l,m,!1);if(Mf(l,l.parent))return!(Ne&&Yd(l)===Yd(m)&&I(m,l))}return!0}if(m.parent.kind===281||m.parent.kind===277&&m.parent.isExportEquals||m.kind===277&&m.isExportEquals)return!0;if(I(m,l))return Ne&&Yd(l)&&(ko(l)||Mf(l,l.parent))?!U(l,m,!0):!0;return!1;function w(Z,ce){switch(Z.parent.parent.kind){case 243:case 248:case 250:if(Eb(ce,Z,A))return!0;break}const Fe=Z.parent.parent;return M8(Fe)&&Eb(ce,Fe.expression,A)}function I(Z,ce){return!!Tn(Z,Fe=>{if(Fe===A)return"quit";if(Co(Fe))return!0;if(zl(Fe))return ce.posZ.end?!1:Tn(ce,$e=>{if($e===Z)return"quit";switch($e.kind){case 219:return!0;case 172:return Fe&&(ko(Z)&&$e.parent===Z.parent||Mf(Z,Z.parent)&&$e.parent===Z.parent.parent)?"quit":!0;case 241:switch($e.parent.kind){case 177:case 174:case 178:return!0;default:return!1}default:return!1}})===void 0}}function Rw(l,m,D){const C=Os(ae),A=m;if(io(D)&&A.body&&l.valueDeclaration&&l.valueDeclaration.pos>=A.body.pos&&l.valueDeclaration.end<=A.body.end&&C>=2){const U=ar(A);return U.declarationRequiresScopeChange===void 0&&(U.declarationRequiresScopeChange=L(A.parameters,w)||!1),!U.declarationRequiresScopeChange}return!1;function w(U){return I(U.name)||!!U.initializer&&I(U.initializer)}function I(U){switch(U.kind){case 219:case 218:case 262:case 176:return!1;case 174:case 177:case 178:case 303:return I(U.name);case 172:return Kc(U)?!Ne:I(U.name);default:return Kse(U)||Y1(U)?C<7:js(U)&&U.dotDotDotToken&&Rp(U.parent)?C<4:Xr(U)?!1:ao(U,I)||!1}}}function gb(l){return Yy(l)&&q3(l.type)||XP(l)&&q3(l.typeExpression)}function uc(l,m,D,C,A,w,I=!1,U=!0){return yh(l,m,D,C,A,w,I,U,kf)}function yh(l,m,D,C,A,w,I,U,Z){var ce,Fe,Te;const $e=l;let ut,zt,gi,Wi,dn,nu=!1;const En=l;let Ii,Nn=!1;e:for(;l;){if(m==="const"&&gb(l))return;if(QO(l)&&zt&&l.name===zt&&(zt=l,l=l.parent),UE(l)&&l.locals&&!pE(l)&&(ut=Z(l.locals,m,D))){let An=!0;if(Co(l)&&zt&&zt!==l.body?(D&ut.flags&788968&&zt.kind!==327&&(An=ut.flags&262144?zt===l.type||zt.kind===169||zt.kind===348||zt.kind===349||zt.kind===168:!1),D&ut.flags&3&&(Rw(ut,l,zt)?An=!1:ut.flags&1&&(An=zt.kind===169||zt===l.type&&!!Tn(ut.valueDeclaration,io)))):l.kind===194&&(An=zt===l.trueType),An)break e;ut=void 0}switch(nu=nu||f_(l,zt),l.kind){case 312:if(!cm(l))break;Nn=!0;case 267:const An=((ce=_u(l))==null?void 0:ce.exports)||se;if(l.kind===312||_c(l)&&l.flags&33554432&&!Yg(l)){if(ut=An.get("default")){const oo=lB(ut);if(oo&&ut.flags&D&&oo.escapedName===m)break e;ut=void 0}const hu=An.get(m);if(hu&&hu.flags===2097152&&(Sl(hu,281)||Sl(hu,280)))break}if(m!=="default"&&(ut=Z(An,m,D&2623475)))if(la(l)&&l.commonJsModuleIndicator&&!((Fe=ut.declarations)!=null&&Fe.some(G4)))ut=void 0;else break e;break;case 266:if(ut=Z(((Te=_u(l))==null?void 0:Te.exports)||se,m,D&8)){C&&mg(ae)&&!(l.flags&33554432)&&zn(l)!==zn(ut.valueDeclaration)&&pt(En,F.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,Qr(m),ht,`${Qr(Dm(l).escapedName)}.${Qr(m)}`);break e}break;case 172:if(!No(l)){const hu=Up(l.parent);hu&&hu.locals&&Z(hu.locals,m,D&111551)&&(H.assertNode(l,ko),Wi=l)}break;case 263:case 231:case 264:if(ut=Z(_u(l).members||se,m,D&788968)){if(!oC(ut,l)){ut=void 0;break}if(zt&&No(zt)){C&&pt(En,F.Static_members_cannot_reference_class_type_parameters);return}break e}if(Xd(l)&&D&32){const hu=l.name;if(hu&&m===hu.escapedText){ut=l.symbol;break e}}break;case 233:if(zt===l.expression&&l.parent.token===96){const hu=l.parent.parent;if(mr(hu)&&(ut=Z(_u(hu).members,m,D&788968))){C&&pt(En,F.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 167:if(Ii=l.parent.parent,(mr(Ii)||Ii.kind===264)&&(ut=Z(_u(Ii).members,m,D&788968))){C&&pt(En,F.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 219:if(Os(ae)>=2)break;case 174:case 176:case 177:case 178:case 262:if(D&3&&m==="arguments"){ut=It;break e}break;case 218:if(D&3&&m==="arguments"){ut=It;break e}if(D&16){const hu=l.name;if(hu&&m===hu.escapedText){ut=l.symbol;break e}}break;case 170:l.parent&&l.parent.kind===169&&(l=l.parent),l.parent&&(Zd(l.parent)||l.parent.kind===263)&&(l=l.parent);break;case 353:case 345:case 347:const _n=iP(l);_n&&(l=_n.parent);break;case 169:zt&&(zt===l.initializer||zt===l.name&&So(zt))&&(dn||(dn=l));break;case 208:zt&&(zt===l.initializer||zt===l.name&&So(zt))&&w2(l)&&!dn&&(dn=l);break;case 195:if(D&262144){const hu=l.typeParameter.name;if(hu&&m===hu.escapedText){ut=l.typeParameter.symbol;break e}}break;case 281:zt&&zt===l.propertyName&&l.parent.parent.moduleSpecifier&&(l=l.parent.parent.parent);break}g3(l)&&(gi=l),zt=l,l=_g(l)?Aq(l)||l.parent:(Eg(l)||EY(l))&&kv(l)||l.parent}if(w&&ut&&(!gi||ut!==gi.symbol)&&(ut.isReferenced|=D),!ut){if(zt&&(H.assertNode(zt,la),zt.commonJsModuleIndicator&&m==="exports"&&D&zt.symbol.flags))return zt.symbol;I||(ut=Z(Ie,m,D))}if(!ut&&$e&&Qn($e)&&$e.parent&&xf($e.parent,!1))return ei;function vn(){return Wi&&!Ne?(pt(En,En&&Wi.type&&IO(Wi.type,En.pos)?F.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:F.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,b0(Wi.name),$p(A)),!0):!1}if(ut){if(C&&vn())return}else{C&&s(()=>{if(!En||En.parent.kind!==331&&!E3(En,m,A)&&!vn()&&!Ow(En)&&!jw(En,m,D)&&!w5(En,m)&&!F9(En,m,D)&&!Vw(En,m,D)&&!gE(En,m,D)){let An,_n;if(A&&(_n=dri(A),_n&&pt(En,C,$p(A),_n)),!_n&&U&&$k{if(En&&(D&2||(D&32||D&384)&&(D&111551)===111551)){const An=sp(ut);(An.flags&2||An.flags&32||An.flags&384)&&B0(An,En)}if(ut&&Nn&&(D&111551)===111551&&!($e.flags&16777216)){const An=Ks(ut);S(An.declarations)&&ye(An.declarations,_n=>wV(_n)||la(_n)&&!!_n.symbol.globalExports)&&g4(!ae.allowUmdGlobalAccess,En,F._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,Qr(m))}if(ut&&dn&&!nu&&(D&111551)===111551){const An=Ks(yge(ut)),_n=XE(dn);An===_u(dn)?pt(En,F.Parameter_0_cannot_reference_itself,b0(dn.name)):An.valueDeclaration&&An.valueDeclaration.pos>dn.pos&&_n.parent.locals&&Z(_n.parent.locals,An.escapedName,D)===An&&pt(En,F.Parameter_0_cannot_reference_identifier_1_declared_after_it,b0(dn.name),b0(En))}if(ut&&En&&D&111551&&ut.flags&2097152&&!(ut.flags&111551)&&!Tv(En)){const An=_4(ut,111551);if(An){const _n=An.kind===281||An.kind===278||An.kind===280?F._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:F._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,hu=Qr(m);dD(pt(En,_n,hu),An,hu)}}}),ut}function dD(l,m,D){return m?Es(l,Su(m,m.kind===281||m.kind===278||m.kind===280?F._0_was_exported_here:F._0_was_imported_here,D)):l}function f_(l,m){return l.kind!==219&&l.kind!==218?bB(l)||($0(l)||l.kind===172&&!No(l))&&(!m||m!==l.name):m&&m===l.name?!1:l.asteriskToken||Yu(l,1024)?!0:!nk(l)}function g3(l){switch(l.kind){case 262:case 263:case 264:case 266:case 265:case 267:return!0;default:return!1}}function $p(l){return Ja(l)?Qr(l):b0(l)}function oC(l,m){if(l.declarations){for(const D of l.declarations)if(D.kind===168&&(_g(D.parent)?h7(D.parent):D.parent)===m)return!(_g(D.parent)&&Le(D.parent.parent.tags,G4))}return!1}function E3(l,m,D){if(!at(l)||l.escapedText!==m||j4t(l)||ck(l))return!1;const C=tf(l,!1,!1);let A=C;for(;A;){if(mr(A.parent)){const w=_u(A.parent);if(!w)break;const I=Wn(w);if(qo(I,m))return pt(l,F.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,$p(D),Fr(w)),!0;if(A===C&&!No(A)){const U=X0(w).thisType;if(qo(U,m))return pt(l,F.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,$p(D)),!0}}A=A.parent}return!1}function Ow(l){const m=m_(l);return m&&R0(m,64,!0)?(pt(l,F.Cannot_extend_an_interface_0_Did_you_mean_implements,Hc(m)),!0):!1}function m_(l){switch(l.kind){case 80:case 211:return l.parent?m_(l.parent):void 0;case 233:if(ec(l.expression))return l.expression;default:return}}function jw(l,m,D){const C=1920|(Qn(l)?111551:0);if(D===C){const A=yc(uc(l,m,788968&~C,void 0,void 0,!1)),w=l.parent;if(A){if(vf(w)){H.assert(w.left===l,"Should only be resolving left side of qualified name as a namespace");const I=w.right.escapedText;if(qo(X0(A),I))return pt(w,F.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,Qr(m),Qr(I)),!0}return pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,Qr(m)),!0}}return!1}function gE(l,m,D){if(D&788584){const C=yc(uc(l,m,111127,void 0,void 0,!1));if(C&&!(C.flags&1920))return pt(l,F._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,Qr(m)),!0}return!1}function p_(l){return l==="any"||l==="string"||l==="number"||l==="boolean"||l==="never"||l==="unknown"}function w5(l,m){return p_(m)&&l.parent.kind===281?(pt(l,F.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,m),!0):!1}function Vw(l,m,D){if(D&111551){if(p_(m)){const w=l.parent.parent;if(w&&w.parent&&mm(w)){const I=w.token,U=w.parent.kind;U===264&&I===96?pt(l,F.An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types,Qr(m)):U===263&&I===96?pt(l,F.A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values,Qr(m)):U===263&&I===119&&pt(l,F.A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types,Qr(m))}else pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,Qr(m));return!0}const C=yc(uc(l,m,788544,void 0,void 0,!1)),A=C&&O1(C);if(C&&A!==void 0&&!(A&111551)){const w=Qr(m);return sz(m)?pt(l,F._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,w):k9(l,C)?pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,w,w==="K"?"P":"K"):pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,w),!0}}return!1}function k9(l,m){const D=Tn(l.parent,C=>Ps(C)||Mm(C)?!1:fm(C)||"quit");if(D&&D.members.length===1){const C=X0(m);return!!(C.flags&1048576)&&mie(C,384,!0)}return!1}function sz(l){switch(l){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}function F9(l,m,D){if(D&111127){if(yc(uc(l,m,1024,void 0,void 0,!1)))return pt(l,F.Cannot_use_namespace_0_as_a_value,Qr(m)),!0}else if(D&788544&&yc(uc(l,m,1536,void 0,void 0,!1)))return pt(l,F.Cannot_use_namespace_0_as_a_type,Qr(m)),!0;return!1}function B0(l,m){var D;if(H.assert(!!(l.flags&2||l.flags&32||l.flags&384)),l.flags&67108881&&l.flags&32)return;const C=(D=l.declarations)==null?void 0:D.find(A=>h0e(A)||mr(A)||A.kind===266);if(C===void 0)return H.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(C.flags&33554432)&&!B5(C,m)){let A;const w=b0(Za(C));l.flags&2?A=pt(m,F.Block_scoped_variable_0_used_before_its_declaration,w):l.flags&32?A=pt(m,F.Class_0_used_before_its_declaration,w):l.flags&256&&(A=pt(m,F.Enum_0_used_before_its_declaration,w)),A&&Es(A,Su(C,F._0_is_declared_here,w))}}function Eb(l,m,D){return!!m&&!!Tn(l,C=>C===m||(C===D||Co(C)&&(!nk(C)||kd(C)&3)?"quit":!1))}function A9(l){switch(l.kind){case 271:return l;case 273:return l.parent;case 274:return l.parent.parent;case 276:return l.parent.parent.parent;default:return}}function rp(l){return l.declarations&<(l.declarations,sC)}function sC(l){return l.kind===271||l.kind===270||l.kind===273&&!!l.name||l.kind===274||l.kind===280||l.kind===276||l.kind===281||l.kind===277&&tB(l)||Xn(l)&&Xl(l)===2&&tB(l)||I0(l)&&Xn(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===64&&S9(l.parent.right)||l.kind===304||l.kind===303&&S9(l.initializer)||l.kind===260&&F2(l)||l.kind===208&&F2(l.parent.parent)}function S9(l){return Pj(l)||A0(l)&&AE(l)}function lz(l,m){const D=fD(l);if(D){const A=CP(D.expression).arguments[0];return at(D.name)?yc(qo(Ldt(A),D.name.escapedText)):void 0}if(ua(l)||l.moduleReference.kind===283){const A=Kh(l,w0e(l)||XN(l)),w=_m(A);return Ff(l,A,w,!1),w}const C=aF(l.moduleReference,m);return nF(l,C),C}function nF(l,m){if(Ff(l,void 0,m,!1)&&!l.isTypeOnly){const D=_4(_u(l)),C=D.kind===281||D.kind===278,A=C?F.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:F.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,w=C?F._0_was_exported_here:F._0_was_imported_here,I=D.kind===278?"*":Qr(D.name.escapedText);Es(pt(l.moduleReference,A),Su(D,w,I))}}function ru(l,m,D,C){const A=l.exports.get("export="),w=A?qo(Wn(A),m,!0):l.exports.get(m),I=yc(w,C);return Ff(D,w,I,!1),I}function v1(l){return tc(l)&&!l.isExportEquals||Yu(l,2048)||eh(l)||u_(l)}function Ma(l){return t0(l)?xg(zn(l),l):void 0}function lf(l,m){return l===99&&m===1}function EE(l){return Ma(l)===99&&sc(l.text,".json")}function ap(l,m,D,C){const A=l&&Ma(C);if(l&&A!==void 0){const w=lf(A,l.impliedNodeFormat);if(A===99||w)return w}if(!pe)return!1;if(!l||l.isDeclarationFile){const w=ru(m,"default",void 0,!0);return!(w&&Oe(w.declarations,v1)||ru(m,Al("__esModule"),void 0,D))}return gh(l)?typeof l.externalModuleIndicator!="object"&&!ru(m,Al("__esModule"),void 0,D):bb(m)}function Un(l,m){const D=Kh(l,l.parent.moduleSpecifier);if(D)return _b(D,l,m)}function _b(l,m,D){var C;let A;$N(l)?A=l:A=ru(l,"default",m,D);const w=(C=l.declarations)==null?void 0:C.find(la),I=lC(m);if(!I)return A;const U=EE(I),Z=ap(w,l,D,I);if(!A&&!Z&&!U)if(bb(l)&&!pe){const ce=ne>=5?"allowSyntheticDefaultImports":"esModuleInterop",Te=l.exports.get("export=").valueDeclaration,$e=pt(m.name,F.Module_0_can_only_be_default_imported_using_the_1_flag,Fr(l),ce);Te&&Es($e,Su(Te,F.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,ce))}else n_(m)?wd(l,m):dC(l,l,m,r7(m)&&m.propertyName||m.name);else if(Z||U){const ce=_m(l,D)||yc(l,D);return Ff(m,l,ce,!1),ce}return Ff(m,A,void 0,!1),A}function lC(l){switch(l.kind){case 273:return l.parent.moduleSpecifier;case 271:return r_(l.moduleReference)?l.moduleReference.expression:void 0;case 274:return l.parent.parent.moduleSpecifier;case 276:return l.parent.parent.parent.moduleSpecifier;case 281:return l.parent.parent.moduleSpecifier;default:return H.assertNever(l)}}function wd(l,m){var D,C,A;if((D=l.exports)!=null&&D.has(m.symbol.escapedName))pt(m.name,F.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Fr(l),Fr(m.symbol));else{const w=pt(m.name,F.Module_0_has_no_default_export,Fr(l)),I=(C=l.exports)==null?void 0:C.get("__export");if(I){const U=(A=I.declarations)==null?void 0:A.find(Z=>{var ce,Fe;return!!(Gc(Z)&&Z.moduleSpecifier&&((Fe=(ce=Kh(Z,Z.moduleSpecifier))==null?void 0:ce.exports)!=null&&Fe.has("default")))});U&&Es(w,Su(U,F.export_Asterisk_does_not_re_export_a_default))}}}function _E(l,m){const D=l.parent.parent.moduleSpecifier,C=Kh(l,D),A=o6(C,D,m,!1);return Ff(l,C,A,!1),A}function DE(l,m){const D=l.parent.moduleSpecifier,C=D&&Kh(l,D),A=D&&o6(C,D,m,!1);return Ff(l,C,A,!1),A}function u6(l,m){if(l===Xt&&m===Xt)return Xt;if(l.flags&790504)return l;const D=Hs(l.flags|m.flags,l.escapedName);return H.assert(l.declarations||m.declarations),D.declarations=ri(Hi(l.declarations,m.declarations),Cx),D.parent=l.parent||m.parent,l.valueDeclaration&&(D.valueDeclaration=l.valueDeclaration),m.members&&(D.members=new Map(m.members)),l.exports&&(D.exports=new Map(l.exports)),D}function B9(l,m,D,C){var A;if(l.flags&1536){const w=$f(l).get(m.escapedText),I=yc(w,C),U=(A=Ur(l).typeOnlyExportStarMap)==null?void 0:A.get(m.escapedText);return Ff(D,w,I,!1,U,m.escapedText),I}}function hD(l,m){if(l.flags&3){const D=l.valueDeclaration.type;if(D)return yc(qo(Ar(D),m))}}function cC(l,m,D=!1){var C;const A=w0e(l)||l.moduleSpecifier,w=Kh(l,A),I=!Iu(m)&&m.propertyName||m.name;if(!at(I))return;const U=I.escapedText==="default"&&pe,Z=o6(w,A,!1,U);if(Z&&I.escapedText){if($N(w))return w;let ce;w&&w.exports&&w.exports.get("export=")?ce=qo(Wn(Z),I.escapedText,!0):ce=hD(Z,I.escapedText),ce=yc(ce,D);let Fe=B9(Z,I,m,D);if(Fe===void 0&&I.escapedText==="default"){const $e=(C=w.declarations)==null?void 0:C.find(la);(EE(A)||ap($e,w,D,A))&&(Fe=_m(w,D)||yc(w,D))}const Te=Fe&&ce&&Fe!==ce?u6(ce,Fe):Fe||ce;return Te||dC(w,Z,l,I),Te}}function dC(l,m,D,C){var A;const w=op(l,D),I=b0(C),U=PEe(C,m);if(U!==void 0){const Z=Fr(U),ce=pt(C,F._0_has_no_exported_member_named_1_Did_you_mean_2,w,I,Z);U.valueDeclaration&&Es(ce,Su(U.valueDeclaration,F._0_is_declared_here,Z))}else(A=l.exports)!=null&&A.has("default")?pt(C,F.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,w,I):_3(D,C,I,l,w)}function _3(l,m,D,C,A){var w,I;const U=(I=(w=ur(C.valueDeclaration,UE))==null?void 0:w.locals)==null?void 0:I.get(m.escapedText),Z=C.exports;if(U){const ce=Z==null?void 0:Z.get("export=");if(ce)Zm(ce,U)?g_(l,m,D,A):pt(m,F.Module_0_has_no_exported_member_1,A,D);else{const Fe=Z?Le(QNe(Z),$e=>!!Zm($e,U)):void 0,Te=Fe?pt(m,F.Module_0_declares_1_locally_but_it_is_exported_as_2,A,D,Fr(Fe)):pt(m,F.Module_0_declares_1_locally_but_it_is_not_exported,A,D);U.declarations&&Es(Te,...Vt(U.declarations,($e,ut)=>Su($e,ut===0?F._0_is_declared_here:F.and_here,D)))}}else pt(m,F.Module_0_has_no_exported_member_1,A,D)}function g_(l,m,D,C){if(ne>=5){const A=e_(ae)?F._0_can_only_be_imported_by_using_a_default_import:F._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;pt(m,A,D)}else if(Qn(l)){const A=e_(ae)?F._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:F._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;pt(m,A,D)}else{const A=e_(ae)?F._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:F._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;pt(m,A,D,D,C)}}function uF(l,m){if(bf(l)&&fu(l.propertyName||l.name)==="default"){const I=lC(l),U=I&&Kh(l,I);if(U)return _b(U,l,m)}const D=js(l)?XE(l):l.parent.parent.parent,C=fD(D),A=cC(D,C||l,m),w=l.propertyName||l.name;return C&&A&&at(w)?yc(qo(Wn(A),w.escapedText),m):(Ff(l,void 0,A,!1),A)}function fD(l){if(ua(l)&&l.initializer&&Iu(l.initializer))return l.initializer}function r6(l,m){if(Zg(l.parent)){const D=_m(l.parent.symbol,m);return Ff(l,void 0,D,!1),D}}function Db(l,m,D){if(fu(l.propertyName||l.name)==="default"){const A=lC(l),w=A&&Kh(l,A);if(w)return _b(w,l,!!D)}const C=l.parent.parent.moduleSpecifier?cC(l.parent.parent,l,D):R0(l.propertyName||l.name,m,!1,D);return Ff(l,void 0,C,!1),C}function w9(l,m){const D=tc(l)?l.expression:l.right,C=rF(D,m);return Ff(l,void 0,C,!1),C}function rF(l,m){if(Xd(l))return Rc(l).symbol;if(!sm(l)&&!ec(l))return;const D=R0(l,901119,!0,m);return D||(Rc(l),ar(l).resolvedSymbol)}function xb(l,m){if(Xn(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===64)return rF(l.parent.right,m)}function E4(l,m=!1){switch(l.kind){case 271:case 260:return lz(l,m);case 273:return Un(l,m);case 274:return _E(l,m);case 280:return DE(l,m);case 276:case 208:return uF(l,m);case 281:return Db(l,901119,m);case 277:case 226:return w9(l,m);case 270:return r6(l,m);case 304:return R0(l.name,901119,!0,m);case 303:return rF(l.initializer,m);case 212:case 211:return xb(l,m);default:return H.fail()}}function hC(l,m=901119){return l?(l.flags&(2097152|m))===2097152||!!(l.flags&2097152&&l.flags&67108864):!1}function yc(l,m){return!m&&hC(l)?md(l):l}function md(l){H.assert((l.flags&2097152)!==0,"Should only get Alias here.");const m=Ur(l);if(m.aliasTarget)m.aliasTarget===Pe&&(m.aliasTarget=Xt);else{m.aliasTarget=Pe;const D=rp(l);if(!D)return H.fail();const C=E4(D);m.aliasTarget===Pe?m.aliasTarget=C||Xt:pt(D,F.Circular_definition_of_import_alias_0,Fr(l))}return m.aliasTarget}function T9(l){if(Ur(l).aliasTarget!==Pe)return md(l)}function O1(l,m,D){const C=m&&_4(l),A=C&&Gc(C),w=C&&(A?Kh(C.moduleSpecifier,C.moduleSpecifier,!0):md(C.symbol)),I=A&&w?x3(w):void 0;let U=D?0:l.flags,Z;for(;l.flags&2097152;){const ce=sp(md(l));if(!A&&ce===w||(I==null?void 0:I.get(ce.escapedName))===ce)break;if(ce===Xt)return 67108863;if(ce===l||Z!=null&&Z.has(ce))break;ce.flags&2097152&&(Z?Z.add(ce):Z=new Set([l,ce])),U|=ce.flags,l=ce}return U}function Ff(l,m,D,C,A,w){if(!l||Iu(l))return!1;const I=_u(l);if(_2(l)){const Z=Ur(I);return Z.typeOnlyDeclaration=l,!0}if(A){const Z=Ur(I);return Z.typeOnlyDeclaration=A,I.escapedName!==w&&(Z.typeOnlyExportStarName=w),!0}const U=Ur(I);return vb(U,m,C)||vb(U,D,C)}function vb(l,m,D){var C;if(m&&(l.typeOnlyDeclaration===void 0||D&&l.typeOnlyDeclaration===!1)){const A=((C=m.exports)==null?void 0:C.get("export="))??m,w=A.declarations&&Le(A.declarations,_2);l.typeOnlyDeclaration=w??Ur(A).typeOnlyDeclaration??!1}return!!l.typeOnlyDeclaration}function _4(l,m){if(!(l.flags&2097152))return;const D=Ur(l);if(m===void 0)return D.typeOnlyDeclaration||void 0;if(D.typeOnlyDeclaration){const C=D.typeOnlyDeclaration.kind===278?yc(x3(D.typeOnlyDeclaration.symbol.parent).get(D.typeOnlyExportStarName||l.escapedName)):md(D.typeOnlyDeclaration.symbol);return O1(C)&m?D.typeOnlyDeclaration:void 0}}function fC(l){if(!Ut)return;const m=_u(l),D=md(m);D&&(D===Xt||O1(m,!0)&111551&&!OW(D))&&T5(m)}function T5(l){H.assert(Ut);const m=Ur(l);if(!m.referenced){m.referenced=!0;const D=rp(l);if(!D)return H.fail();U8(D)&&O1(yc(l))&111551&&Rc(D.moduleReference)}}function n1(l){const m=Ur(l);m.constEnumReferenced||(m.constEnumReferenced=!0)}function aF(l,m){return l.kind===80&&gP(l)&&(l=l.parent),l.kind===80||l.parent.kind===166?R0(l,1920,!1,m):(H.assert(l.parent.kind===271),R0(l,901119,!1,m))}function op(l,m){return l.parent?op(l.parent,m)+"."+Fr(l):Fr(l,m,void 0,36)}function a6(l){for(;vf(l.parent);)l=l.parent;return l}function Hw(l){let m=hm(l),D=uc(m,m.escapedText,111551,void 0,m,!0);if(D){for(;vf(m.parent);){const C=Wn(D);if(D=qo(C,m.parent.right.escapedText),!D)return;m=m.parent}return D}}function R0(l,m,D,C,A){if(Ql(l))return;const w=1920|(Qn(l)?m&111551:0);let I;if(l.kind===80){const U=m===w||sl(l)?F.Cannot_find_namespace_0:Fht(hm(l)),Z=Qn(l)&&!sl(l)?Kw(l,m):void 0;if(I=Ks(uc(A||l,l.escapedText,m,D||Z?void 0:U,l,!0,!1)),!I)return Ks(Z)}else if(l.kind===166||l.kind===211){const U=l.kind===166?l.left:l.expression,Z=l.kind===166?l.right:l.name;let ce=R0(U,w,D,!1,A);if(!ce||Ql(Z))return;if(ce===Xt)return ce;if(ce.valueDeclaration&&Qn(ce.valueDeclaration)&&p1(ae)!==100&&ua(ce.valueDeclaration)&&ce.valueDeclaration.initializer&&amt(ce.valueDeclaration.initializer)){const Fe=ce.valueDeclaration.initializer.arguments[0],Te=Kh(Fe,Fe);if(Te){const $e=_m(Te);$e&&(ce=$e)}}if(I=Ks(kf($f(ce),Z.escapedText,m)),!I&&ce.flags&2097152&&(I=Ks(kf($f(md(ce)),Z.escapedText,m))),!I){if(!D){const Fe=op(ce),Te=b0(Z),$e=PEe(Z,ce);if($e){pt(Z,F._0_has_no_exported_member_named_1_Did_you_mean_2,Fe,Te,Fr($e));return}const ut=vf(l)&&a6(l);if(He&&m&788968&&ut&&!AB(ut.parent)&&Hw(ut)){pt(ut,F._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,zf(ut));return}if(m&1920&&vf(l.parent)){const gi=Ks(kf($f(ce),Z.escapedText,788968));if(gi){pt(l.parent.right,F.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,Fr(gi),Qr(l.parent.right.escapedText));return}}pt(Z,F.Namespace_0_has_no_exported_member_1,Fe,Te)}return}}else H.assertNever(l,"Unknown entity name kind.");return H.assert((Gl(I)&1)===0,"Should never get an instantiated symbol here."),!sl(l)&&sm(l)&&(I.flags&2097152||l.parent.kind===277)&&Ff(H0e(l),I,void 0,!0),I.flags&m||C?I:md(I)}function Kw(l,m){if(Nge(l.parent)){const D=oF(l.parent);if(D)return uc(D,l.escapedText,m,void 0,l,!0)}}function oF(l){if(Tn(l,A=>z8(A)||A.flags&16777216?G4(A):"quit"))return;const D=h7(l);if(D&&Od(D)&&kj(D.expression)){const A=_u(D.expression.left);if(A)return mC(A)}if(D&&A0(D)&&kj(D.parent)&&Od(D.parent.parent)){const A=_u(D.parent.left);if(A)return mC(A)}if(D&&(zp(D)||Jc(D))&&Xn(D.parent.parent)&&Xl(D.parent.parent)===6){const A=_u(D.parent.parent.left);if(A)return mC(A)}const C=ok(l);if(C&&Co(C)){const A=_u(C);return A&&A.valueDeclaration}}function mC(l){const m=l.parent.valueDeclaration;return m?(eP(m)?l7(m):Qy(m)?xj(m):void 0)||m:void 0}function L9(l){const m=l.valueDeclaration;if(!m||!Qn(m)||l.flags&524288||yv(m,!1))return;const D=ua(m)?xj(m):l7(m);if(D){const C=Dm(D);if(C)return nze(C,l)}}function Kh(l,m,D){const A=p1(ae)===1?F.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:F.Cannot_find_module_0_or_its_corresponding_type_declarations;return D3(l,m,D?void 0:A)}function D3(l,m,D,C=!1){return t0(m)?mD(l,m.text,D,m,C):void 0}function mD(l,m,D,C,A=!1){var w,I,U,Z,ce,Fe,Te,$e,ut,zt;if(Pa(m,"@types/")){const _n=F.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,hu=yN(m,"@types/");pt(C,_n,hu,m)}const gi=kge(m,!0);if(gi)return gi;const Wi=zn(l),dn=t0(l)?l:((w=Tn(l,dm))==null?void 0:w.arguments[0])||((I=Tn(l,Sd))==null?void 0:I.moduleSpecifier)||((U=Tn(l,bv))==null?void 0:U.moduleReference.expression)||((Z=Tn(l,Gc))==null?void 0:Z.moduleSpecifier)||((ce=_c(l)?l:l.parent&&_c(l.parent)&&l.parent.name===l?l.parent:void 0)==null?void 0:ce.name)||((Fe=zx(l)?l:void 0)==null?void 0:Fe.argument.literal),nu=dn&&t0(dn)?xg(Wi,dn):Wi.impliedNodeFormat,En=p1(ae),Ii=(Te=t.getResolvedModule(Wi,m,nu))==null?void 0:Te.resolvedModule,Nn=Ii&&P1e(ae,Ii,Wi),vn=Ii&&(!Nn||Nn===F.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&t.getSourceFile(Ii.resolvedFileName);if(vn){if(Nn&&pt(C,Nn,m,Ii.resolvedFileName),Ii.resolvedUsingTsExtension&&e1(m)){const _n=(($e=Tn(l,Sd))==null?void 0:$e.importClause)||Tn(l,dg(E1,Gc));(_n&&!_n.isTypeOnly||Tn(l,dm))&&pt(C,F.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,An(H.checkDefined(Kq(m))))}else if(Ii.resolvedUsingTsExtension&&!$B(ae,Wi.fileName)){const _n=((ut=Tn(l,Sd))==null?void 0:ut.importClause)||Tn(l,dg(E1,Gc));if(!(_n!=null&&_n.isTypeOnly||Tn(l,nD))){const hu=H.checkDefined(Kq(m));pt(C,F.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled,hu)}}if(vn.symbol){if(Ii.isExternalLibraryImport&&!FP(Ii.extension)&&Cb(!1,C,Wi,nu,Ii,m),En===3||En===99){const _n=Wi.impliedNodeFormat===1&&!Tn(l,dm)||!!Tn(l,E1),hu=Tn(l,oo=>nD(oo)||Gc(oo)||Sd(oo));if(_n&&vn.impliedNodeFormat===99&&!kke(hu))if(Tn(l,E1))pt(C,F.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead,m);else{let oo;const Eo=t3(Wi.fileName);if(Eo===".ts"||Eo===".js"||Eo===".tsx"||Eo===".jsx"){const fo=Wi.packageJsonScope,ka=Eo===".ts"?".mts":Eo===".js"?".mjs":void 0;fo&&!fo.contents.packageJsonContent.type?ka?oo=ro(void 0,F.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,ka,cr(fo.packageDirectory,"package.json")):oo=ro(void 0,F.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,cr(fo.packageDirectory,"package.json")):ka?oo=ro(void 0,F.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,ka):oo=ro(void 0,F.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module)}Vs.add(Y3(zn(C),C,ro(oo,F.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead,m)))}}return Ks(vn.symbol)}D&&pt(C,F.File_0_is_not_a_module,vn.fileName);return}if(h4){const _n=coe(h4,hu=>hu.pattern,m);if(_n){const hu=D1&&D1.get(m);return Ks(hu||_n.symbol)}}if(Ii&&!FP(Ii.extension)&&Nn===void 0||Nn===F.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(A){const _n=F.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;pt(C,_n,m,Ii.resolvedFileName)}else Cb(Ae&&!!D,C,Wi,nu,Ii,m);return}if(D){if(Ii){const _n=t.getProjectReferenceRedirect(Ii.resolvedFileName);if(_n){pt(C,F.Output_file_0_has_not_been_built_from_source_file_1,_n,Ii.resolvedFileName);return}}if(Nn)pt(C,Nn,m,Ii.resolvedFileName);else{const _n=om(m)&&!t7(m),hu=En===3||En===99;if(!M2(ae)&&Ml(m,".json")&&En!==1&&Qq(ae))pt(C,F.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,m);else if(nu===99&&hu&&_n){const oo=$a(m,lr(Wi.path)),Eo=(zt=y9.find(([fo,ka])=>t.fileExists(oo+fo)))==null?void 0:zt[1];Eo?pt(C,F.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,m+Eo):pt(C,F.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else pt(C,D,m)}}return;function An(_n){const hu=nV(m,_n);if(Yq(ne)||nu===99){const oo=e1(m)&&$B(ae);return hu+(_n===".mts"||_n===".d.mts"?oo?".mts":".mjs":_n===".cts"||_n===".d.mts"?oo?".cts":".cjs":oo?".ts":".js")}return hu}}function Cb(l,m,D,C,{packageId:A,resolvedFileName:w},I){let U;!Id(I)&&A&&(U=o0e(D,t,I,C,A.name)),g4(l,m,ro(U,F.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,I,w))}function _m(l,m){if(l!=null&&l.exports){const D=yc(l.exports.get("export="),m),C=N9(Ks(D),Ks(l));return Ks(C)||l}}function N9(l,m){if(!l||l===Xt||l===m||m.exports.size===1||l.flags&2097152)return l;const D=Ur(l);if(D.cjsExportMerged)return D.cjsExportMerged;const C=l.flags&33554432?l:pb(l);return C.flags=C.flags|512,C.exports===void 0&&(C.exports=Vo()),m.exports.forEach((A,w)=>{w!=="export="&&C.exports.set(w,C.exports.has(w)?up(C.exports.get(w),A):A)}),C===l&&(Ur(C).resolvedExports=void 0,Ur(C).resolvedMembers=void 0),Ur(C).cjsExportMerged=C,D.cjsExportMerged=C}function o6(l,m,D,C){var A;const w=_m(l,D);if(!D&&w){if(!C&&!(w.flags&1539)&&!Sl(w,312)){const U=ne>=5?"allowSyntheticDefaultImports":"esModuleInterop";return pt(m,F.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,U),w}const I=m.parent;if(Sd(I)&&Q8(I)||dm(I)){const U=dm(I)?I.arguments[0]:I.moduleSpecifier,Z=Wn(w),ce=umt(Z,w,l,U);if(ce)return qm(w,ce,I);const Fe=(A=l==null?void 0:l.declarations)==null?void 0:A.find(la),Te=Fe&&lf(Ma(U),Fe.impliedNodeFormat);if(e_(ae)||Te){let $e=bte(Z,0);if((!$e||!$e.length)&&($e=bte(Z,1)),$e&&$e.length||qo(Z,"default",!0)||Te){const ut=Z.flags&3670016?rmt(Z,w,l,U):uze(w,w.parent);return qm(w,ut,I)}}}}return w}function qm(l,m,D){const C=Hs(l.flags,l.escapedName);C.declarations=l.declarations?l.declarations.slice():[],C.parent=l.parent,C.links.target=l,C.links.originatingImport=D,l.valueDeclaration&&(C.valueDeclaration=l.valueDeclaration),l.constEnumOnlyModule&&(C.constEnumOnlyModule=!0),l.members&&(C.members=new Map(l.members)),l.exports&&(C.exports=new Map(l.exports));const A=Ag(m);return C.links.type=Ol(C,A.members,_t,_t,A.indexInfos),C}function bb(l){return l.exports.get("export=")!==void 0}function L5(l){return QNe(x3(l))}function cz(l){const m=L5(l),D=_m(l);if(D!==l){const C=Wn(D);pC(C)&&yn(m,n0(C))}return m}function P9(l,m){x3(l).forEach((A,w)=>{EC(w)||m(A,w)});const C=_m(l);if(C!==l){const A=Wn(C);pC(A)&&IXt(A,(w,I)=>{m(w,I)})}}function M9(l,m){const D=x3(m);if(D)return D.get(l)}function z9(l,m){const D=M9(l,m);if(D)return D;const C=_m(m);if(C===m)return;const A=Wn(C);return pC(A)?qo(A,l):void 0}function pC(l){return!(l.flags&402784252||Gu(l)&1||A4(l)||xs(l))}function $f(l){return l.flags&6256?PNe(l,"resolvedExports"):l.flags&1536?x3(l):l.exports||se}function x3(l){const m=Ur(l);if(!m.resolvedExports){const{exports:D,typeOnlyExportStarMap:C}=R9(l);m.resolvedExports=D,m.typeOnlyExportStarMap=C}return m.resolvedExports}function I9(l,m,D,C){m&&m.forEach((A,w)=>{if(w==="default")return;const I=l.get(w);if(!I)l.set(w,A),D&&C&&D.set(w,{specifierText:Hc(C.moduleSpecifier)});else if(D&&C&&I&&yc(I)!==yc(A)){const U=D.get(w);U.exportsWithDuplicate?U.exportsWithDuplicate.push(C):U.exportsWithDuplicate=[C]}})}function R9(l){const m=[];let D;const C=new Set;l=_m(l);const A=w(l)||se;return D&&C.forEach(I=>D.delete(I)),{exports:A,typeOnlyExportStarMap:D};function w(I,U,Z){if(!Z&&(I!=null&&I.exports)&&I.exports.forEach((Te,$e)=>C.add($e)),!(I&&I.exports&&xa(m,I)))return;const ce=new Map(I.exports),Fe=I.exports.get("__export");if(Fe){const Te=Vo(),$e=new Map;if(Fe.declarations)for(const ut of Fe.declarations){const zt=Kh(ut,ut.moduleSpecifier),gi=w(zt,ut,Z||ut.isTypeOnly);I9(Te,gi,$e,ut)}$e.forEach(({exportsWithDuplicate:ut},zt)=>{if(!(zt==="export="||!(ut&&ut.length)||ce.has(zt)))for(const gi of ut)Vs.add(Su(gi,F.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,$e.get(zt).specifierText,Qr(zt)))}),I9(ce,Te)}return U!=null&&U.isTypeOnly&&(D??(D=new Map),ce.forEach((Te,$e)=>D.set($e,U))),ce}}function Ks(l){let m;return l&&l.mergeId&&(m=D9[l.mergeId])?m:l}function _u(l){return Ks(l.symbol&&yge(l.symbol))}function Dm(l){return Zg(l)?_u(l):void 0}function cf(l){return Ks(l.parent&&yge(l.parent))}function yb(l,m){const D=zn(m),C=$s(D),A=Ur(l);let w;if(A.extendedContainersByFile&&(w=A.extendedContainersByFile.get(C)))return w;if(D&&D.imports){for(const U of D.imports){if(sl(U))continue;const Z=Kh(m,U,!0);!Z||!s6(Z,l)||(w=xi(w,Z))}if(S(w))return(A.extendedContainersByFile||(A.extendedContainersByFile=new Map)).set(C,w),w}if(A.extendedContainers)return A.extendedContainers;const I=t.getSourceFiles();for(const U of I){if(!wc(U))continue;const Z=_u(U);s6(Z,l)&&(w=xi(w,Z))}return A.extendedContainers=w||_t}function Ww(l,m,D){const C=cf(l);if(C&&!(l.flags&262144)){const I=qi(C.declarations,w),U=m&&yb(l,m),Z=gC(C,D);if(m&&C.flags&v3(D)&&_C(C,m,1920,!1))return xi(Hi(Hi([C],I),U),Z);const ce=!(C.flags&v3(D))&&C.flags&788968&&X0(C).flags&524288&&D===111551?c6(m,Te=>h1(Te,$e=>{if($e.flags&v3(D)&&Wn($e)===X0(C))return $e})):void 0;let Fe=ce?[ce,...I,C]:[...I,C];return Fe=xi(Fe,Z),Fe=yn(Fe,U),Fe}const A=qi(l.declarations,I=>{if(!N1(I)&&I.parent){if(Ao(I.parent))return _u(I.parent);if(rE(I.parent)&&I.parent.parent&&_m(_u(I.parent.parent))===l)return _u(I.parent.parent)}if(Xd(I)&&Xn(I.parent)&&I.parent.operatorToken.kind===64&&I0(I.parent.left)&&ec(I.parent.left.expression))return Y_(I.parent.left)||uk(I.parent.left.expression)?_u(zn(I)):(Rc(I.parent.left.expression),ar(I.parent.left.expression).resolvedSymbol)});if(!S(A))return;return qi(A,I=>s6(I,l)?I:void 0);function w(I){return C&&kb(I,C)}}function gC(l,m){const D=!!S(l.declarations)&&Pn(l.declarations);if(m&111551&&D&&D.parent&&ua(D.parent)&&(ys(D)&&D===D.parent.initializer||fm(D)&&D===D.parent.type))return _u(D.parent)}function kb(l,m){const D=br(l),C=D&&D.exports&&D.exports.get("export=");return C&&Zm(C,m)?D:void 0}function s6(l,m){if(l===cf(m))return m;const D=l.exports&&l.exports.get("export=");if(D&&Zm(D,m))return l;const C=$f(l),A=C.get(m.escapedName);return A&&Zm(A,m)?A:h1(C,w=>{if(Zm(w,m))return w})}function Zm(l,m){if(Ks(yc(Ks(l)))===Ks(yc(Ks(m))))return l}function sp(l){return Ks(l&&(l.flags&1048576)!==0&&l.exportSymbol||l)}function l6(l,m){return!!(l.flags&111551||l.flags&2097152&&O1(l,!m)&111551)}function Up(l){const m=l.members;for(const D of m)if(D.kind===176&&H4(D.body))return D}function lp(l){var m;const D=new b(Pi,l);return k++,D.id=k,(m=Gn)==null||m.recordType(D),D}function N5(l,m){const D=lp(l);return D.symbol=m,D}function Fb(l){return new b(Pi,l)}function Pc(l,m,D=0,C){dz(m,C);const A=lp(l);return A.intrinsicName=m,A.debugIntrinsicName=C,A.objectFlags=D|524288|2097152|33554432|16777216,A}function dz(l,m){const D=`${l},${m??""}`;ii.has(D)&&H.fail(`Duplicate intrinsic type name ${l}${m?` (${m})`:""}; you may need to pass a name to createIntrinsicType.`),ii.add(D)}function D4(l,m){const D=N5(524288,m);return D.objectFlags=l,D.members=void 0,D.properties=void 0,D.callSignatures=void 0,D.constructSignatures=void 0,D.indexInfos=void 0,D}function Gw(){return er(ga(Vde.keys(),df))}function j1(l){return N5(262144,l)}function EC(l){return l.charCodeAt(0)===95&&l.charCodeAt(1)===95&&l.charCodeAt(2)!==95&&l.charCodeAt(2)!==64&&l.charCodeAt(2)!==35}function Ab(l){let m;return l.forEach((D,C)=>{sF(D,C)&&(m||(m=[])).push(D)}),m||_t}function sF(l,m){return!EC(m)&&l6(l)}function Jw(l){const m=Ab(l),D=Sge(l);return D?Hi(m,[D]):m}function x4(l,m,D,C,A){const w=l;return w.members=m,w.properties=_t,w.callSignatures=D,w.constructSignatures=C,w.indexInfos=A,m!==se&&(w.properties=Ab(m)),w}function Ol(l,m,D,C,A){return x4(D4(16,l),m,D,C,A)}function xE(l){if(l.constructSignatures.length===0)return l;if(l.objectTypeWithoutAbstractConstructSignatures)return l.objectTypeWithoutAbstractConstructSignatures;const m=ti(l.constructSignatures,C=>!(C.flags&4));if(l.constructSignatures===m)return l;const D=Ol(l.symbol,l.members,l.callSignatures,Oe(m)?m:_t,l.indexInfos);return l.objectTypeWithoutAbstractConstructSignatures=D,D.objectTypeWithoutAbstractConstructSignatures=D,D}function c6(l,m){let D;for(let C=l;C;C=C.parent){if(UE(C)&&C.locals&&!pE(C)&&(D=m(C.locals,void 0,!0,C)))return D;switch(C.kind){case 312:if(!cm(C))break;case 267:const A=_u(C);if(D=m((A==null?void 0:A.exports)||se,void 0,!0,C))return D;break;case 263:case 231:case 264:let w;if((_u(C).members||se).forEach((I,U)=>{I.flags&788968&&(w||(w=Vo())).set(U,I)}),w&&(D=m(w,void 0,!1,C)))return D;break}}return m(Ie,void 0,!0)}function v3(l){return l===111551?111551:1920}function _C(l,m,D,C,A=new Map){if(!(l&&!d6(l)))return;const w=Ur(l),I=w.accessibleChainCache||(w.accessibleChainCache=new Map),U=c6(m,(dn,nu,En,Ii)=>Ii),Z=`${C?0:1}|${U&&$s(U)}|${D}`;if(I.has(Z))return I.get(Z);const ce=Zo(l);let Fe=A.get(ce);Fe||A.set(ce,Fe=[]);const Te=c6(m,$e);return I.set(Z,Te),Te;function $e(dn,nu,En){if(!xa(Fe,dn))return;const Ii=gi(dn,nu,En);return Fe.pop(),Ii}function ut(dn,nu){return!$w(dn,m,nu)||!!_C(dn.parent,m,v3(nu),C,A)}function zt(dn,nu,En){return(l===(nu||dn)||Ks(l)===Ks(nu||dn))&&!Oe(dn.declarations,Ao)&&(En||ut(Ks(dn),D))}function gi(dn,nu,En){return zt(dn.get(l.escapedName),void 0,nu)?[l]:h1(dn,Nn=>{if(Nn.flags&2097152&&Nn.escapedName!=="export="&&Nn.escapedName!=="default"&&!($q(Nn)&&m&&wc(zn(m)))&&(!C||Oe(Nn.declarations,bv))&&(!En||!Oe(Nn.declarations,iye))&&(nu||!Sl(Nn,281))){const vn=md(Nn),An=Wi(Nn,vn,nu);if(An)return An}if(Nn.escapedName===l.escapedName&&Nn.exportSymbol&&zt(Ks(Nn.exportSymbol),void 0,nu))return[l]})||(dn===Ie?Wi(St,St,nu):void 0)}function Wi(dn,nu,En){if(zt(dn,nu,En))return[dn];const Ii=$f(nu),Nn=Ii&&$e(Ii,!0);if(Nn&&ut(dn,v3(D)))return[dn].concat(Nn)}}function $w(l,m,D){let C=!1;return c6(m,A=>{let w=Ks(A.get(l.escapedName));if(!w)return!1;if(w===l)return!0;const I=w.flags&2097152&&!Sl(w,281);return w=I?md(w):w,(I?O1(w):w.flags)&D?(C=!0,!0):!1}),C}function d6(l){if(l.declarations&&l.declarations.length){for(const m of l.declarations)switch(m.kind){case 172:case 174:case 177:case 178:continue;default:return!1}return!0}return!1}function R(l,m){return Jr(l,m,788968,!1,!0).accessibility===0}function be(l,m){return Jr(l,m,111551,!1,!0).accessibility===0}function Ht(l,m,D){return Jr(l,m,D,!1,!1).accessibility===0}function Oi(l,m,D,C,A,w){if(!S(l))return;let I,U=!1;for(const Z of l){const ce=_C(Z,m,C,!1);if(ce){I=Z;const $e=Af(ce[0],A);if($e)return $e}if(w&&Oe(Z.declarations,Ao)){if(A){U=!0;continue}return{accessibility:0}}const Fe=Ww(Z,m,C),Te=Oi(Fe,m,D,D===Z?v3(C):C,A,w);if(Te)return Te}if(U)return{accessibility:0};if(I)return{accessibility:1,errorSymbolName:Fr(D,m,C),errorModuleName:I!==D?Fr(I,m,1920):void 0}}function yu(l,m,D,C){return Jr(l,m,D,C,!0)}function Jr(l,m,D,C,A){if(l&&m){const w=Oi([l],m,l,D,C,A);if(w)return w;const I=L(l.declarations,br);if(I){const U=br(m);if(I!==U)return{accessibility:2,errorSymbolName:Fr(l,m,D),errorModuleName:Fr(I),errorNode:Qn(m)?m:void 0}}return{accessibility:1,errorSymbolName:Fr(l,m,D)}}return{accessibility:0}}function br(l){const m=Tn(l,Ea);return m&&_u(m)}function Ea(l){return N1(l)||l.kind===312&&cm(l)}function Ao(l){return tq(l)||l.kind===312&&cm(l)}function Af(l,m){let D;if(!ye(ti(l.declarations,w=>w.kind!==80),C))return;return{accessibility:0,aliasesToMakeVisible:D};function C(w){var I,U;if(!pD(w)){const Z=A9(w);if(Z&&!Yu(Z,32)&&pD(Z.parent))return A(w,Z);if(ua(w)&&Jl(w.parent.parent)&&!Yu(w.parent.parent,32)&&pD(w.parent.parent.parent))return A(w,w.parent.parent);if(iq(w)&&!Yu(w,32)&&pD(w.parent))return A(w,w);if(js(w)){if(l.flags&2097152&&Qn(w)&&((I=w.parent)!=null&&I.parent)&&ua(w.parent.parent)&&((U=w.parent.parent.parent)!=null&&U.parent)&&Jl(w.parent.parent.parent.parent)&&!Yu(w.parent.parent.parent.parent,32)&&w.parent.parent.parent.parent.parent&&pD(w.parent.parent.parent.parent.parent))return A(w,w.parent.parent.parent.parent);if(l.flags&2){const ce=Tn(w,Jl);return Yu(ce,32)?!0:pD(ce.parent)?A(w,ce):!1}}return!1}return!0}function A(w,I){return m&&(ar(w).isVisible=!0,D=e0(D,I)),!0}}function Uf(l,m){let D;l.parent.kind===186||l.parent.kind===233&&!q_(l.parent)||l.parent.kind===167?D=1160127:l.kind===166||l.kind===211||l.parent.kind===271?D=1920:D=788968;const C=hm(l),A=uc(m,C.escapedText,D,void 0,void 0,!1);return A&&A.flags&262144&&D&788968?{accessibility:0}:!A&&N2(C)&&yu(_u(tf(C,!1,!1)),C,D,!1).accessibility===0?{accessibility:0}:A&&Af(A,!0)||{accessibility:1,errorSymbolName:Hc(C),errorNode:C}}function Fr(l,m,D,C=4,A){let w=70221824;C&2&&(w|=128),C&1&&(w|=512),C&8&&(w|=16384),C&32&&(w|=134217728),C&16&&(w|=1073741824);const I=C&4?Yt.symbolToNode:Yt.symbolToEntityName;return A?U(A).getText():GN(U);function U(Z){const ce=I(l,D,m,w),Fe=(m==null?void 0:m.kind)===312?m1e():X2(),Te=m&&zn(m);return Fe.writeNode(4,ce,Te,Z),Z}}function vE(l,m,D=0,C,A){return A?w(A).getText():GN(w);function w(I){let U;D&262144?U=C===1?185:184:U=C===1?180:179;const Z=Yt.signatureToSignatureDeclaration(l,U,m,DC(D)|70221824|512),ce=EH(),Fe=m&&zn(m);return ce.writeNode(4,Z,Fe,ele(I)),I}}function gn(l,m,D=1064960,C=Vj("")){const A=ae.noErrorTruncation||D&1,w=Yt.typeToTypeNode(l,m,DC(D)|70221824|(A?1:0));if(w===void 0)return H.fail("should always get typenode");const I=l!==Ei?X2():f1e(),U=m&&zn(m);I.writeNode(4,w,U,C);const Z=C.getText(),ce=A?DZ*2:lV*2;return ce&&Z&&Z.length>=ce?Z.substr(0,ce-3)+"...":Z}function h6(l,m){let D=lF(l.symbol)?gn(l,l.symbol.valueDeclaration):gn(l),C=lF(m.symbol)?gn(m,m.symbol.valueDeclaration):gn(m);return D===C&&(D=P5(l),C=P5(m)),[D,C]}function P5(l){return gn(l,void 0,64)}function lF(l){return l&&!!l.valueDeclaration&&Wt(l.valueDeclaration)&&!k4(l.valueDeclaration)}function DC(l=0){return l&848330091}function O9(l){return!!l.symbol&&!!(l.symbol.flags&32)&&(l===b4(l.symbol)||!!(l.flags&524288)&&!!(Gu(l)&16777216))}function cF(){return{typeToTypeNode:(At,ze,Yn,Fu)=>m(ze,Yn,Fu,Er=>C(At,Er)),indexInfoToIndexSignatureDeclaration:(At,ze,Yn,Fu)=>m(ze,Yn,Fu,Er=>Fe(At,Er,void 0)),signatureToSignatureDeclaration:(At,ze,Yn,Fu,Er)=>m(Yn,Fu,Er,fr=>Te(At,ze,fr)),symbolToEntityName:(At,ze,Yn,Fu,Er)=>m(Yn,Fu,Er,fr=>ka(At,fr,ze,!1)),symbolToExpression:(At,ze,Yn,Fu,Er)=>m(Yn,Fu,Er,fr=>ah(At,fr,ze)),symbolToTypeParameterDeclarations:(At,ze,Yn,Fu)=>m(ze,Yn,Fu,Er=>Nn(At,Er)),symbolToParameterDeclaration:(At,ze,Yn,Fu)=>m(ze,Yn,Fu,Er=>Wi(At,Er)),typeParameterToDeclaration:(At,ze,Yn,Fu)=>m(ze,Yn,Fu,Er=>zt(At,Er)),symbolTableToDeclarationStatements:(At,ze,Yn,Fu,Er)=>m(ze,Yn,Fu,fr=>bm(At,fr,Er)),symbolToNode:(At,ze,Yn,Fu,Er)=>m(Yn,Fu,Er,fr=>l(At,fr,ze))};function l(At,ze,Yn){if(ze.flags&1073741824){if(At.valueDeclaration){const Er=Za(At.valueDeclaration);if(Er&&Ps(Er))return Er}const Fu=Ur(At).nameType;if(Fu&&Fu.flags&9216)return ze.enclosingDeclaration=Fu.symbol.valueDeclaration,q.createComputedPropertyName(ah(Fu.symbol,ze,Yn))}return ah(At,ze,Yn)}function m(At,ze,Yn,Fu){H.assert(At===void 0||(At.flags&16)===0);const Er=Yn!=null&&Yn.trackSymbol?Yn.moduleResolverHost:ze&134217728?FPt(t):void 0,fr={enclosingDeclaration:At,flags:ze||0,tracker:void 0,encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0,trackedSymbols:void 0};fr.tracker=new Hde(fr,Yn,Er);const Mr=Fu(fr);return fr.truncating&&fr.flags&1&&fr.tracker.reportTruncationError(),fr.encounteredError?void 0:Mr}function D(At){return At.truncating?At.truncating:At.truncating=At.approximateLength>(At.flags&1?DZ:lV)}function C(At,ze){const Yn=ze.flags,Fu=A(At,ze);return ze.flags=Yn,Fu}function A(At,ze){var Yn,Fu;d&&d.throwIfCancellationRequested&&d.throwIfCancellationRequested();const Er=ze.flags&8388608;if(ze.flags&=-8388609,!At){if(!(ze.flags&262144)){ze.encounteredError=!0;return}return ze.approximateLength+=3,q.createKeywordTypeNode(133)}if(ze.flags&536870912||(At=Sg(At)),At.flags&1)return At.aliasSymbol?q.createTypeReferenceNode(hu(At.aliasSymbol),Z(At.aliasTypeArguments,ze)):At===Ei?OP(q.createKeywordTypeNode(133),3,"unresolved"):(ze.approximateLength+=3,q.createKeywordTypeNode(At===Qi?141:133));if(At.flags&2)return q.createKeywordTypeNode(159);if(At.flags&4)return ze.approximateLength+=6,q.createKeywordTypeNode(154);if(At.flags&8)return ze.approximateLength+=6,q.createKeywordTypeNode(150);if(At.flags&64)return ze.approximateLength+=6,q.createKeywordTypeNode(163);if(At.flags&16&&!At.aliasSymbol)return ze.approximateLength+=7,q.createKeywordTypeNode(136);if(At.flags&1056){if(At.symbol.flags&8){const pn=cf(At.symbol),or=oo(pn,ze,788968);if(X0(pn)===At)return or;const qr=lc(At.symbol);return Lm(qr,0)?Kr(or,q.createTypeReferenceNode(qr,void 0)):nD(or)?(or.isTypeOf=!0,q.createIndexedAccessTypeNode(or,q.createLiteralTypeNode(q.createStringLiteral(qr)))):X4(or)?q.createIndexedAccessTypeNode(q.createTypeQueryNode(or.typeName),q.createLiteralTypeNode(q.createStringLiteral(qr))):H.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}return oo(At.symbol,ze,788968)}if(At.flags&128)return ze.approximateLength+=At.value.length+2,q.createLiteralTypeNode(Zn(q.createStringLiteral(At.value,!!(ze.flags&268435456)),16777216));if(At.flags&256){const pn=At.value;return ze.approximateLength+=(""+pn).length,q.createLiteralTypeNode(pn<0?q.createPrefixUnaryExpression(41,q.createNumericLiteral(-pn)):q.createNumericLiteral(pn))}if(At.flags&2048)return ze.approximateLength+=I2(At.value).length+1,q.createLiteralTypeNode(q.createBigIntLiteral(At.value));if(At.flags&512)return ze.approximateLength+=At.intrinsicName.length,q.createLiteralTypeNode(At.intrinsicName==="true"?q.createTrue():q.createFalse());if(At.flags&8192){if(!(ze.flags&1048576)){if(be(At.symbol,ze.enclosingDeclaration))return ze.approximateLength+=6,oo(At.symbol,ze,111551);ze.tracker.reportInaccessibleUniqueSymbolError&&ze.tracker.reportInaccessibleUniqueSymbolError()}return ze.approximateLength+=13,q.createTypeOperatorNode(158,q.createKeywordTypeNode(155))}if(At.flags&16384)return ze.approximateLength+=4,q.createKeywordTypeNode(116);if(At.flags&32768)return ze.approximateLength+=9,q.createKeywordTypeNode(157);if(At.flags&65536)return ze.approximateLength+=4,q.createLiteralTypeNode(q.createNull());if(At.flags&131072)return ze.approximateLength+=5,q.createKeywordTypeNode(146);if(At.flags&4096)return ze.approximateLength+=6,q.createKeywordTypeNode(155);if(At.flags&67108864)return ze.approximateLength+=6,q.createKeywordTypeNode(151);if(NP(At))return ze.flags&4194304&&(!ze.encounteredError&&!(ze.flags&32768)&&(ze.encounteredError=!0),(Fu=(Yn=ze.tracker).reportInaccessibleThisError)==null||Fu.call(Yn)),ze.approximateLength+=4,q.createThisTypeNode();if(!Er&&At.aliasSymbol&&(ze.flags&16384||R(At.aliasSymbol,ze.enclosingDeclaration))){const pn=Z(At.aliasTypeArguments,ze);return EC(At.aliasSymbol.escapedName)&&!(At.aliasSymbol.flags&32)?q.createTypeReferenceNode(q.createIdentifier(""),pn):S(pn)===1&&At.aliasSymbol===Fo.symbol?q.createArrayTypeNode(pn[0]):oo(At.aliasSymbol,ze,788968,pn)}const fr=Gu(At);if(fr&4)return H.assert(!!(At.flags&524288)),At.node?yi(At,mn):mn(At);if(At.flags&262144||fr&3){if(At.flags&262144&&kt(ze.inferTypeParameters,At)){ze.approximateLength+=lc(At.symbol).length+6;let or;const qr=rh(At);if(qr){const La=Idt(At,!0);La&&CD(qr,La)||(ze.approximateLength+=9,or=qr&&C(qr,ze))}return q.createInferTypeNode(ut(At,ze,or))}if(ze.flags&4&&At.flags&262144&&!R(At.symbol,ze.enclosingDeclaration)){const or=fo(At,ze);return ze.approximateLength+=fu(or).length,q.createTypeReferenceNode(q.createIdentifier(fu(or)),void 0)}if(At.symbol)return oo(At.symbol,ze,788968);const pn=(At===$||At===tt)&&Y&&Y.symbol?(At===tt?"sub-":"super-")+lc(Y.symbol):"?";return q.createTypeReferenceNode(q.createIdentifier(pn),void 0)}if(At.flags&1048576&&At.origin&&(At=At.origin),At.flags&3145728){const pn=At.flags&1048576?M5(At.types):At.types;if(S(pn)===1)return C(pn[0],ze);const or=Z(pn,ze,!0);if(or&&or.length>0)return At.flags&1048576?q.createUnionTypeNode(or):q.createIntersectionTypeNode(or);!ze.encounteredError&&!(ze.flags&262144)&&(ze.encounteredError=!0);return}if(fr&48)return H.assert(!!(At.flags&524288)),Gi(At);if(At.flags&4194304){const pn=At.type;ze.approximateLength+=6;const or=C(pn,ze);return q.createTypeOperatorNode(143,or)}if(At.flags&134217728){const pn=At.texts,or=At.types,qr=q.createTemplateHead(pn[0]),La=q.createNodeArray(Vt(or,(cs,pd)=>q.createTemplateLiteralTypeSpan(C(cs,ze),(pdMr(pn));if(At.flags&33554432)return C(At.baseType,ze);return H.fail("Should be unreachable.");function Mr(pn){const or=C(pn.checkType,ze);if(ze.approximateLength+=15,ze.flags&4&&pn.root.isDistributive&&!(pn.checkType.flags&262144)){const bl=j1(Hs(262144,"T")),fl=fo(bl,ze),H1=q.createTypeReferenceNode(fl);ze.approximateLength+=37;const yl=Y9(pn.root.checkType,bl,pn.mapper),Ft=ze.inferTypeParameters;ze.inferTypeParameters=pn.root.inferTypeParameters;const $t=C(_a(pn.root.extendsType,yl),ze);ze.inferTypeParameters=Ft;const Mi=Ou(_a(Ar(pn.root.node.trueType),yl)),Bn=Ou(_a(Ar(pn.root.node.falseType),yl));return q.createConditionalTypeNode(or,q.createInferTypeNode(q.createTypeParameterDeclaration(void 0,q.cloneNode(H1.typeName))),q.createConditionalTypeNode(q.createTypeReferenceNode(q.cloneNode(fl)),C(pn.checkType,ze),q.createConditionalTypeNode(H1,$t,Mi,Bn),q.createKeywordTypeNode(146)),q.createKeywordTypeNode(146))}const qr=ze.inferTypeParameters;ze.inferTypeParameters=pn.root.inferTypeParameters;const La=C(pn.extendsType,ze);ze.inferTypeParameters=qr;const cs=Ou(SC(pn)),pd=Ou(BC(pn));return q.createConditionalTypeNode(or,La,cs,pd)}function Ou(pn){var or,qr,La;return pn.flags&1048576?(or=ze.visitedTypes)!=null&&or.has(Fh(pn))?(ze.flags&131072||(ze.encounteredError=!0,(La=(qr=ze.tracker)==null?void 0:qr.reportCyclicStructureError)==null||La.call(qr)),w(ze)):yi(pn,cs=>C(cs,ze)):C(pn,ze)}function xu(pn){return!!Jge(pn)}function Lt(pn){return!!pn.target&&xu(pn.target)&&!xu(pn)}function li(pn){var or;H.assert(!!(pn.flags&524288));const qr=pn.declaration.readonlyToken?q.createToken(pn.declaration.readonlyToken.kind):void 0,La=pn.declaration.questionToken?q.createToken(pn.declaration.questionToken.kind):void 0;let cs,pd;const bl=!tW(pn)&&!(K9(pn).flags&2)&&ze.flags&4&&!(cp(pn).flags&262144&&((or=rh(cp(pn)))==null?void 0:or.flags)&4194304);if(tW(pn)){if(Lt(pn)&&ze.flags&4){const Mi=j1(Hs(262144,"T")),Bn=fo(Mi,ze);pd=q.createTypeReferenceNode(Bn)}cs=q.createTypeOperatorNode(143,pd||C(K9(pn),ze))}else if(bl){const Mi=j1(Hs(262144,"T")),Bn=fo(Mi,ze);pd=q.createTypeReferenceNode(Bn),cs=pd}else cs=C(cp(pn),ze);const fl=ut(Fg(pn),ze,cs),H1=pn.declaration.nameType?C(I5(pn),ze):void 0,yl=C(B6(DD(pn),!!(C_(pn)&4)),ze),Ft=q.createMappedTypeNode(qr,fl,H1,La,yl,void 0);ze.approximateLength+=10;const $t=Zn(Ft,1);if(Lt(pn)&&ze.flags&4){const Mi=_a(rh(Ar(pn.declaration.typeParameter.constraint.type))||on,pn.mapper);return q.createConditionalTypeNode(C(K9(pn),ze),q.createInferTypeNode(q.createTypeParameterDeclaration(void 0,q.cloneNode(pd.typeName),Mi.flags&2?void 0:C(Mi,ze))),$t,q.createKeywordTypeNode(146))}else if(bl)return q.createConditionalTypeNode(C(cp(pn),ze),q.createInferTypeNode(q.createTypeParameterDeclaration(void 0,q.cloneNode(pd.typeName),q.createTypeOperatorNode(143,C(K9(pn),ze)))),$t,q.createKeywordTypeNode(146));return $t}function Gi(pn){var or,qr;const La=pn.id,cs=pn.symbol;if(cs){const bl=O9(pn)?788968:111551;if(AE(cs.valueDeclaration))return oo(cs,ze,bl);if(cs.flags&32&&!fF(cs)&&!(cs.valueDeclaration&&mr(cs.valueDeclaration)&&ze.flags&2048&&(!Wc(cs.valueDeclaration)||yu(cs,ze.enclosingDeclaration,bl,!1).accessibility!==0))||cs.flags&896||pd())return oo(cs,ze,bl);if((or=ze.visitedTypes)!=null&&or.has(La)){const fl=Uw(pn);return fl?oo(fl,ze,788968):w(ze)}else return yi(pn,Ji)}else{if(!!(Gu(pn)&8388608)){const fl=pn;if(bB(fl.node)){const H1=el(ze,fl.node);if(H1)return H1}return(qr=ze.visitedTypes)!=null&&qr.has(La)?w(ze):yi(pn,Ji)}return Ji(pn)}function pd(){var bl;const fl=!!(cs.flags&8192)&&Oe(cs.declarations,yl=>No(yl)),H1=!!(cs.flags&16)&&(cs.parent||L(cs.declarations,yl=>yl.parent.kind===312||yl.parent.kind===268));if(fl||H1)return(!!(ze.flags&4096)||((bl=ze.visitedTypes)==null?void 0:bl.has(La)))&&(!(ze.flags&8)||be(cs,ze.enclosingDeclaration))}}function yi(pn,or){var qr,La,cs;const pd=pn.id,bl=Gu(pn)&16&&pn.symbol&&pn.symbol.flags&32,fl=Gu(pn)&4&&pn.node?"N"+$s(pn.node):pn.flags&16777216?"N"+$s(pn.root.node):pn.symbol?(bl?"+":"")+Zo(pn.symbol):void 0;ze.visitedTypes||(ze.visitedTypes=new Set),fl&&!ze.symbolDepth&&(ze.symbolDepth=new Map);const H1=ze.enclosingDeclaration&&ar(ze.enclosingDeclaration),yl=`${Fh(pn)}|${ze.flags}`;H1&&(H1.serializedTypes||(H1.serializedTypes=new Map));const Ft=(qr=H1==null?void 0:H1.serializedTypes)==null?void 0:qr.get(yl);if(Ft)return(La=Ft.trackedSymbols)==null||La.forEach(([Br,Qa,Oo])=>ze.tracker.trackSymbol(Br,Qa,Oo)),Ft.truncating&&(ze.truncating=!0),ze.approximateLength+=Ft.addedLength,lu(Ft.node);let $t;if(fl){if($t=ze.symbolDepth.get(fl)||0,$t>10)return w(ze);ze.symbolDepth.set(fl,$t+1)}ze.visitedTypes.add(pd);const Mi=ze.trackedSymbols;ze.trackedSymbols=void 0;const Bn=ze.approximateLength,Du=or(pn),un=ze.approximateLength-Bn;return!ze.reportedDiagnostic&&!ze.encounteredError&&((cs=H1==null?void 0:H1.serializedTypes)==null||cs.set(yl,{node:Du,truncating:ze.truncating,addedLength:un,trackedSymbols:ze.trackedSymbols})),ze.visitedTypes.delete(pd),fl&&ze.symbolDepth.set(fl,$t),ze.trackedSymbols=Mi,Du;function lu(Br){return!sl(Br)&&Ua(Br)===Br?Br:Pt(q.cloneNode(rn(Br,lu,Dg,_r)),Br)}function _r(Br,Qa,Oo,Wo,xr){return Br&&Br.length===0?Pt(q.createNodeArray(void 0,Br.hasTrailingComma),Br):kn(Br,Qa,Oo,Wo,xr)}}function Ji(pn){if(Xm(pn)||pn.containsError)return li(pn);const or=Ag(pn);if(!or.properties.length&&!or.indexInfos.length){if(!or.callSignatures.length&&!or.constructSignatures.length)return ze.approximateLength+=2,Zn(q.createTypeLiteralNode(void 0),1);if(or.callSignatures.length===1&&!or.constructSignatures.length){const bl=or.callSignatures[0];return Te(bl,184,ze)}if(or.constructSignatures.length===1&&!or.callSignatures.length){const bl=or.constructSignatures[0];return Te(bl,185,ze)}}const qr=ti(or.constructSignatures,bl=>!!(bl.flags&4));if(Oe(qr)){const bl=Vt(qr,DF);return or.callSignatures.length+(or.constructSignatures.length-qr.length)+or.indexInfos.length+(ze.flags&2048?ui(or.properties,H1=>!(H1.flags&4194304)):S(or.properties))&&bl.push(xE(or)),C(Ds(bl),ze)}const La=ze.flags;ze.flags|=4194304;const cs=_o(or);ze.flags=La;const pd=q.createTypeLiteralNode(cs);return ze.approximateLength+=2,Zn(pd,ze.flags&1024?0:1),pd}function mn(pn){let or=O0(pn);if(pn.target===Fo||pn.target===To){if(ze.flags&2){const cs=C(or[0],ze);return q.createTypeReferenceNode(pn.target===Fo?"Array":"ReadonlyArray",[cs])}const qr=C(or[0],ze),La=q.createArrayTypeNode(qr);return pn.target===Fo?La:q.createTypeOperatorNode(148,La)}else if(pn.target.objectFlags&8){if(or=Lu(or,(qr,La)=>B6(qr,!!(pn.target.elementFlags[La]&2))),or.length>0){const qr=O5(pn),La=Z(or.slice(0,qr),ze);if(La){const{labeledElementDeclarations:cs}=pn.target;for(let bl=0;bl0){const H1=(pn.target.typeParameters||_t).length;pd=Z(or.slice(La,H1),ze)}const bl=ze.flags;ze.flags|=16;const fl=oo(pn.symbol,ze,788968,pd);return ze.flags=bl,cs?Kr(cs,fl):fl}}}function Kr(pn,or){if(nD(pn)){let qr=pn.typeArguments,La=pn.qualifier;La&&(at(La)?qr!==gk(La)&&(La=l5(q.cloneNode(La),qr)):qr!==gk(La.right)&&(La=q.updateQualifiedName(La,La.left,l5(q.cloneNode(La.right),qr)))),qr=or.typeArguments;const cs=ku(or);for(const pd of cs)La=La?q.createQualifiedName(La,pd):pd;return q.updateImportTypeNode(pn,pn.argument,pn.attributes,La,qr,pn.isTypeOf)}else{let qr=pn.typeArguments,La=pn.typeName;at(La)?qr!==gk(La)&&(La=l5(q.cloneNode(La),qr)):qr!==gk(La.right)&&(La=q.updateQualifiedName(La,La.left,l5(q.cloneNode(La.right),qr))),qr=or.typeArguments;const cs=ku(or);for(const pd of cs)La=q.createQualifiedName(La,pd);return q.updateTypeReferenceNode(pn,La,qr)}}function ku(pn){let or=pn.typeName;const qr=[];for(;!at(or);)qr.unshift(or.right),or=or.left;return qr.unshift(or),qr}function _o(pn){if(D(ze))return[q.createPropertySignature(void 0,"...",void 0,void 0)];const or=[];for(const cs of pn.callSignatures)or.push(Te(cs,179,ze));for(const cs of pn.constructSignatures)cs.flags&4||or.push(Te(cs,180,ze));for(const cs of pn.indexInfos)or.push(Fe(cs,ze,pn.objectFlags&1024?w(ze):void 0));const qr=pn.properties;if(!qr)return or;let La=0;for(const cs of qr){if(La++,ze.flags&2048){if(cs.flags&4194304)continue;l4(cs)&6&&ze.tracker.reportPrivateInBaseOfClassExpression&&ze.tracker.reportPrivateInBaseOfClassExpression(Qr(cs.escapedName))}if(D(ze)&&La+2!(mn.flags&32768)),0);for(const mn of Ji){const Kr=Te(mn,173,ze,{name:Ou,questionToken:xu});Yn.push(yi(Kr))}if(Ji.length||!xu)return}let Lt;I(At,ze)?Lt=w(ze):(Er&&(ze.reverseMappedStack||(ze.reverseMappedStack=[]),ze.reverseMappedStack.push(At)),Lt=fr?ad(ze,fr,At,Mr):q.createKeywordTypeNode(133),Er&&ze.reverseMappedStack.pop());const li=Ng(At)?[q.createToken(148)]:void 0;li&&(ze.approximateLength+=9);const Gi=q.createPropertySignature(li,Ou,xu,Lt);Yn.push(yi(Gi));function yi(Ji){var mn;const Kr=(mn=At.declarations)==null?void 0:mn.find(ku=>ku.kind===355);if(Kr){const ku=KO(Kr.comment);ku&&Nv(Ji,[{kind:3,text:`* * `+ku.replace(/\n/g,` * `)+` `,pos:-1,end:-1,hasTrailingNewLine:!0}])}else At.valueDeclaration&&Bc(Ji,At.valueDeclaration);return Ji}}function Z(At,ze,Yn){if(Oe(At)){if(D(ze))if(Yn){if(At.length>2)return[C(At[0],ze),q.createTypeReferenceNode(`... ${At.length-2} more ...`,void 0),C(At[At.length-1],ze)]}else return[q.createTypeReferenceNode("...",void 0)];const Er=!(ze.flags&64)?wm():void 0,fr=[];let Mr=0;for(const Ou of At){if(Mr++,D(ze)&&Mr+2{if(!Eke(xu,([Lt],[li])=>ce(Lt,li)))for(const[Lt,li]of xu)fr[li]=C(Lt,ze)}),ze.flags=Ou}return fr}}function ce(At,ze){return At===ze||!!At.symbol&&At.symbol===ze.symbol||!!At.aliasSymbol&&At.aliasSymbol===ze.aliasSymbol}function Fe(At,ze,Yn){const Fu=Rbe(At)||"x",Er=C(At.keyType,ze),fr=q.createParameterDeclaration(void 0,void 0,Fu,void 0,Er,void 0);return Yn||(Yn=C(At.type||me,ze)),!At.type&&!(ze.flags&2097152)&&(ze.encounteredError=!0),ze.approximateLength+=Fu.length+4,q.createIndexSignature(At.isReadonly?[q.createToken(148)]:void 0,[fr],Yn)}function Te(At,ze,Yn,Fu){var Er;const fr=Yn.flags&256;fr&&(Yn.flags&=-257),Yn.approximateLength+=3;let Mr,Ou;Yn.flags&32&&At.target&&At.mapper&&At.target.typeParameters?Ou=At.target.typeParameters.map(ku=>C(_a(ku,At.mapper),Yn)):Mr=At.typeParameters&&At.typeParameters.map(ku=>zt(ku,Yn));const xu=fdt(At,!0)[0];let Lt;if(Yn.enclosingDeclaration&&At.declaration&&At.declaration!==Yn.enclosingDeclaration&&!Qn(At.declaration)&&Oe(xu)){const ku=ar(Yn.enclosingDeclaration).fakeScopeForSignatureDeclaration?Yn.enclosingDeclaration:void 0;H.assertOptionalNode(ku,po);const _o=(ku==null?void 0:ku.locals)??Vo();let pn;for(const or of xu)_o.has(or.escapedName)||(pn=xi(pn,or.escapedName),_o.set(or.escapedName,or));if(pn){let or=function(){L(pn,qr=>_o.delete(qr))};if(ku)Lt=or;else{const qr=a_.createBlock(_t);ar(qr).fakeScopeForSignatureDeclaration=!0,qr.locals=_o;const La=Yn.enclosingDeclaration;ks(qr,La),Yn.enclosingDeclaration=qr,Lt=()=>{Yn.enclosingDeclaration=La,or()}}}}const li=(Oe(xu,ku=>ku!==xu[xu.length-1]&&!!(Gl(ku)&32768))?At.parameters:xu).map(ku=>Wi(ku,Yn,ze===176,Fu==null?void 0:Fu.privateSymbolVisitor,Fu==null?void 0:Fu.bundledImports)),Gi=Yn.flags&33554432?void 0:$e(At,Yn);Gi&&li.unshift(Gi);let yi;const Ji=y4(At);if(Ji){const ku=Ji.kind===2||Ji.kind===3?q.createToken(131):void 0,_o=Ji.kind===1||Ji.kind===3?Zn(q.createIdentifier(Ji.parameterName),16777216):q.createThisTypeNode(),pn=Ji.type&&C(Ji.type,Yn);yi=q.createTypePredicateNode(ku,_o,pn)}else{const ku=Zs(At);ku&&!(fr&&nt(ku))?yi=Td(Yn,ku,At,Fu==null?void 0:Fu.privateSymbolVisitor,Fu==null?void 0:Fu.bundledImports):fr||(yi=q.createKeywordTypeNode(133))}let mn=Fu==null?void 0:Fu.modifiers;if(ze===185&&At.flags&4){const ku=tE(mn);mn=q.createModifiersFromModifierFlags(ku|64)}const Kr=ze===179?q.createCallSignature(Mr,li,yi):ze===180?q.createConstructSignature(Mr,li,yi):ze===173?q.createMethodSignature(mn,(Fu==null?void 0:Fu.name)??q.createIdentifier(""),Fu==null?void 0:Fu.questionToken,Mr,li,yi):ze===174?q.createMethodDeclaration(mn,void 0,(Fu==null?void 0:Fu.name)??q.createIdentifier(""),void 0,Mr,li,yi,void 0):ze===176?q.createConstructorDeclaration(mn,li,void 0):ze===177?q.createGetAccessorDeclaration(mn,(Fu==null?void 0:Fu.name)??q.createIdentifier(""),li,yi,void 0):ze===178?q.createSetAccessorDeclaration(mn,(Fu==null?void 0:Fu.name)??q.createIdentifier(""),li,void 0):ze===181?q.createIndexSignature(mn,li,yi):ze===324?q.createJSDocFunctionType(li,yi):ze===184?q.createFunctionTypeNode(Mr,li,yi??q.createTypeReferenceNode(q.createIdentifier(""))):ze===185?q.createConstructorTypeNode(mn,Mr,li,yi??q.createTypeReferenceNode(q.createIdentifier(""))):ze===262?q.createFunctionDeclaration(mn,void 0,Fu!=null&&Fu.name?Po(Fu.name,at):q.createIdentifier(""),Mr,li,yi,void 0):ze===218?q.createFunctionExpression(mn,void 0,Fu!=null&&Fu.name?Po(Fu.name,at):q.createIdentifier(""),Mr,li,yi,q.createBlock([])):ze===219?q.createArrowFunction(mn,Mr,li,yi,void 0,q.createBlock([])):H.assertNever(ze);if(Ou&&(Kr.typeArguments=q.createNodeArray(Ou)),((Er=At.declaration)==null?void 0:Er.kind)===330&&At.declaration.parent.kind===346){const ku=Hc(At.declaration.parent.parent,!0).slice(2,-2).split(/\r\n|\n|\r/).map(_o=>_o.replace(/^\s+/," ")).join(` -`);OP(Kr,3,ku,!0)}return Lt==null||Lt(),Kr}function $e(At,ze){if(At.thisParameter)return Wi(At.thisParameter,ze);if(At.declaration&&Qn(At.declaration)){const Yn=LU(At.declaration);if(Yn&&Yn.typeExpression)return q.createParameterDeclaration(void 0,void 0,"this",void 0,C(Ar(Yn.typeExpression),ze))}}function ut(At,ze,Yn){const Fu=ze.flags;ze.flags&=-513;const Er=q.createModifiersFromModifierFlags(HPe(At)),fr=fo(At,ze),Mr=_F(At),Ou=Mr&&C(Mr,ze);return ze.flags=Fu,q.createTypeParameterDeclaration(Er,fr,Yn,Ou)}function zt(At,ze,Yn=rh(At)){const Fu=Yn&&C(Yn,ze);return ut(At,ze,Fu)}function gi(At){const ze=Sl(At,169);if(ze)return ze;if(!qE(At))return Sl(At,348)}function Wi(At,ze,Yn,Fu,Er){const fr=gi(At);let Mr=Wn(At);fr&&Y4t(fr)&&(Mr=S6(Mr));const Ou=ad(ze,Mr,At,ze.enclosingDeclaration,Fu,Er),xu=!(ze.flags&8192)&&Yn&&fr&&Hp(fr)?Vt(p2(fr),q.cloneNode):void 0,li=fr&&$_(fr)||Gl(At)&32768?q.createToken(26):void 0,Gi=dn(At,fr,ze),Ji=fr&&uW(fr)||Gl(At)&16384?q.createToken(58):void 0,mn=q.createParameterDeclaration(xu,li,Gi,Ji,Ou,void 0);return ze.approximateLength+=lc(At).length+3,mn}function dn(At,ze,Yn){return ze&&ze.name?ze.name.kind===80?Zn(q.cloneNode(ze.name),16777216):ze.name.kind===166?Zn(q.cloneNode(ze.name.right),16777216):Fu(ze.name):lc(At);function Fu(Er){return fr(Er);function fr(Mr){Yn.tracker.canTrackSymbol&&Ps(Mr)&&NNe(Mr)&&nu(Mr.expression,Yn.enclosingDeclaration,Yn);let Ou=rn(Mr,fr,Dg,void 0,fr);return js(Ou)&&(Ou=q.updateBindingElement(Ou,Ou.dotDotDotToken,Ou.propertyName,Ou.name,void 0)),sl(Ou)||(Ou=q.cloneNode(Ou)),Zn(Ou,16777217)}}}function nu(At,ze,Yn){if(!Yn.tracker.canTrackSymbol)return;const Fu=hm(At),Er=uc(Fu,Fu.escapedText,1160127,void 0,void 0,!0);Er&&Yn.tracker.trackSymbol(Er,ze,111551)}function En(At,ze,Yn,Fu){return ze.tracker.trackSymbol(At,ze.enclosingDeclaration,Yn),Ii(At,ze,Yn,Fu)}function Ii(At,ze,Yn,Fu){let Er;return!(At.flags&262144)&&(ze.enclosingDeclaration||ze.flags&64)&&!(ze.flags&134217728)?(Er=H.checkDefined(Mr(At,Yn,!0)),H.assert(Er&&Er.length>0)):Er=[At],Er;function Mr(Ou,xu,Lt){let li=_C(Ou,ze.enclosingDeclaration,xu,!!(ze.flags&128)),Gi;if(!li||$w(li[0],ze.enclosingDeclaration,li.length===1?xu:v3(xu))){const Ji=Ww(li?li[0]:Ou,ze.enclosingDeclaration,xu);if(S(Ji)){Gi=Ji.map(ku=>Oe(ku.declarations,Ao)?_n(ku,ze):void 0);const mn=Ji.map((ku,_o)=>_o);mn.sort(yi);const Kr=mn.map(ku=>Ji[ku]);for(const ku of Kr){const _o=Mr(ku,v3(xu),!1);if(_o){if(ku.exports&&ku.exports.get("export=")&&Zm(ku.exports.get("export="),Ou)){li=_o;break}li=_o.concat(li||[s6(ku,Ou)||Ou]);break}}}}if(li)return li;if(Lt||!(Ou.flags&6144))return!Lt&&!Fu&&L(Ou.declarations,Ao)?void 0:[Ou];function yi(Ji,mn){const Kr=Gi[Ji],ku=Gi[mn];if(Kr&&ku){const _o=om(ku);return om(Kr)===_o?ZY(Kr)-ZY(ku):_o?-1:1}return 0}}}function Nn(At,ze){let Yn;return _T(At).flags&524384&&(Yn=q.createNodeArray(Vt(sn(At),Er=>zt(Er,ze)))),Yn}function vn(At,ze,Yn){var Fu;H.assert(At&&0<=ze&&zek6(li,xu.links.mapper)),Yn)}else Mr=Nn(Er,Yn)}return Mr}function An(At){return I7(At.objectType)?An(At.objectType):At}function _n(At,ze,Yn){let Fu=Sl(At,312);if(!Fu){const Lt=G(At.declarations,li=>kb(li,At));Lt&&(Fu=Sl(Lt,312))}if(Fu&&Fu.moduleName!==void 0)return Fu.moduleName;if(!Fu){if(ze.tracker.trackReferencedAmbientModule){const Lt=ti(At.declarations,N1);if(S(Lt))for(const li of Lt)ze.tracker.trackReferencedAmbientModule(li,At)}if(jde.test(At.escapedName))return At.escapedName.substring(1,At.escapedName.length-1)}if(!ze.enclosingDeclaration||!ze.tracker.moduleResolverHost)return jde.test(At.escapedName)?At.escapedName.substring(1,At.escapedName.length-1):zn(g0e(At)).fileName;const Er=zn(Wl(ze.enclosingDeclaration)),fr=Yn||(Er==null?void 0:Er.impliedNodeFormat),Mr=dM(Er.path,fr),Ou=Ur(At);let xu=Ou.specifierCache&&Ou.specifierCache.get(Mr);if(!xu){const Lt=!!y0(ae),{moduleResolverHost:li}=ze.tracker,Gi=Lt?{...ae,baseUrl:li.getCommonSourceDirectory()}:ae;xu=Pn(het(At,Pi,Gi,Er,li,{importModuleSpecifierPreference:Lt?"non-relative":"project-relative",importModuleSpecifierEnding:Lt?"minimal":fr===99?"js":void 0},{overrideImportMode:Yn})),Ou.specifierCache??(Ou.specifierCache=new Map),Ou.specifierCache.set(Mr,xu)}return xu}function hu(At){const ze=q.createIdentifier(Yr(At.escapedName));return At.parent?q.createQualifiedName(hu(At.parent),ze):ze}function oo(At,ze,Yn,Fu){const Er=En(At,ze,Yn,!(ze.flags&16384)),fr=Yn===111551;if(Oe(Er[0].declarations,Ao)){const xu=Er.length>1?Ou(Er,Er.length-1,1):void 0,Lt=Fu||vn(Er,0,ze),li=zn(Wl(ze.enclosingDeclaration)),Gi=YU(Er[0]);let yi,Ji;if((p1(ae)===3||p1(ae)===99)&&(Gi==null?void 0:Gi.impliedNodeFormat)===99&&Gi.impliedNodeFormat!==(li==null?void 0:li.impliedNodeFormat)&&(yi=_n(Er[0],ze,99),Ji=q.createImportAttributes(q.createNodeArray([q.createImportAttribute(q.createStringLiteral("resolution-mode"),q.createStringLiteral("import"))]))),yi||(yi=_n(Er[0],ze)),!(ze.flags&67108864)&&p1(ae)!==1&&yi.includes("/node_modules/")){const Kr=yi;if(p1(ae)===3||p1(ae)===99){const ku=(li==null?void 0:li.impliedNodeFormat)===99?1:99;yi=_n(Er[0],ze,ku),yi.includes("/node_modules/")?yi=Kr:Ji=q.createImportAttributes(q.createNodeArray([q.createImportAttribute(q.createStringLiteral("resolution-mode"),q.createStringLiteral(ku===99?"import":"require"))]))}Ji||(ze.encounteredError=!0,ze.tracker.reportLikelyUnsafeImportRequiredError&&ze.tracker.reportLikelyUnsafeImportRequiredError(Kr))}const mn=q.createLiteralTypeNode(q.createStringLiteral(yi));if(ze.tracker.trackExternalModuleSymbolOfImportTypeNode&&ze.tracker.trackExternalModuleSymbolOfImportTypeNode(Er[0]),ze.approximateLength+=yi.length+10,!xu||sm(xu)){if(xu){const Kr=at(xu)?xu:xu.right;l5(Kr,void 0)}return q.createImportTypeNode(mn,Ji,xu,Lt,fr)}else{const Kr=An(xu),ku=Kr.objectType.typeName;return q.createIndexedAccessTypeNode(q.createImportTypeNode(mn,Ji,ku,Lt,fr),Kr.indexType)}}const Mr=Ou(Er,Er.length-1,0);if(I7(Mr))return Mr;if(fr)return q.createTypeQueryNode(Mr);{const xu=at(Mr)?Mr:Mr.right,Lt=gk(xu);return l5(xu,void 0),q.createTypeReferenceNode(Mr,Lt)}function Ou(xu,Lt,li){const Gi=Lt===xu.length-1?Fu:vn(xu,Lt,ze),yi=xu[Lt],Ji=xu[Lt-1];let mn;if(Lt===0)ze.flags|=16777216,mn=__(yi,ze),ze.approximateLength+=(mn?mn.length:0)+1,ze.flags^=16777216;else if(Ji&&$f(Ji)){const ku=$f(Ji);h1(ku,(_o,pn)=>{if(Zm(_o,yi)&&!XK(pn)&&pn!=="export=")return mn=Yr(pn),!0})}if(mn===void 0){const ku=G(yi.declarations,Za);if(ku&&Ps(ku)&&sm(ku.expression)){const _o=Ou(xu,Lt-1,li);return sm(_o)?q.createIndexedAccessTypeNode(q.createParenthesizedType(q.createTypeQueryNode(_o)),q.createTypeQueryNode(ku.expression)):_o}mn=__(yi,ze)}if(ze.approximateLength+=mn.length+1,!(ze.flags&16)&&Ji&&_6(Ji)&&_6(Ji).get(yi.escapedName)&&Zm(_6(Ji).get(yi.escapedName),yi)){const ku=Ou(xu,Lt-1,li);return I7(ku)?q.createIndexedAccessTypeNode(ku,q.createLiteralTypeNode(q.createStringLiteral(mn))):q.createIndexedAccessTypeNode(q.createTypeReferenceNode(ku,Gi),q.createLiteralTypeNode(q.createStringLiteral(mn)))}const Kr=Zn(q.createIdentifier(mn),16777216);if(Gi&&l5(Kr,q.createNodeArray(Gi)),Kr.symbol=yi,Lt>li){const ku=Ou(xu,Lt-1,li);return sm(ku)?q.createQualifiedName(ku,Kr):H.fail("Impossible construct - an export of an indexed access cannot be reachable")}return Kr}}function Eo(At,ze,Yn){const Fu=uc(ze.enclosingDeclaration,At,788968,void 0,At,!1);return Fu?!(Fu.flags&262144&&Fu===Yn.symbol):!1}function fo(At,ze){var Yn,Fu;if(ze.flags&4&&ze.typeParameterNames){const fr=ze.typeParameterNames.get(Fh(At));if(fr)return fr}let Er=ka(At.symbol,ze,788968,!0);if(!(Er.kind&80))return q.createIdentifier("(Missing type parameter)");if(ze.flags&4){const fr=Er.escapedText;let Mr=((Yn=ze.typeParameterNamesByTextNextNameCount)==null?void 0:Yn.get(fr))||0,Ou=fr;for(;(Fu=ze.typeParameterNamesByText)!=null&&Fu.has(Ou)||Eo(Ou,ze,At);)Mr++,Ou=`${fr}_${Mr}`;if(Ou!==fr){const xu=gk(Er);Er=q.createIdentifier(Ou),l5(Er,xu)}(ze.typeParameterNamesByTextNextNameCount||(ze.typeParameterNamesByTextNextNameCount=new Map)).set(fr,Mr),(ze.typeParameterNames||(ze.typeParameterNames=new Map)).set(Fh(At),Er),(ze.typeParameterNamesByText||(ze.typeParameterNamesByText=new Set)).add(fr)}return Er}function ka(At,ze,Yn,Fu){const Er=En(At,ze,Yn);return Fu&&Er.length!==1&&!ze.encounteredError&&!(ze.flags&65536)&&(ze.encounteredError=!0),fr(Er,Er.length-1);function fr(Mr,Ou){const xu=vn(Mr,Ou,ze),Lt=Mr[Ou];Ou===0&&(ze.flags|=16777216);const li=__(Lt,ze);Ou===0&&(ze.flags^=16777216);const Gi=Zn(q.createIdentifier(li),16777216);return xu&&l5(Gi,q.createNodeArray(xu)),Gi.symbol=Lt,Ou>0?q.createQualifiedName(fr(Mr,Ou-1),Gi):Gi}}function ah(At,ze,Yn){const Fu=En(At,ze,Yn);return Er(Fu,Fu.length-1);function Er(fr,Mr){const Ou=vn(fr,Mr,ze),xu=fr[Mr];Mr===0&&(ze.flags|=16777216);let Lt=__(xu,ze);Mr===0&&(ze.flags^=16777216);let li=Lt.charCodeAt(0);if(_j(li)&&Oe(xu.declarations,Ao))return q.createStringLiteral(_n(xu,ze));if(Mr===0||zle(Lt,Ce)){const Gi=Zn(q.createIdentifier(Lt),16777216);return Ou&&l5(Gi,q.createNodeArray(Ou)),Gi.symbol=xu,Mr>0?q.createPropertyAccessExpression(Er(fr,Mr-1),Gi):Gi}else{li===91&&(Lt=Lt.substring(1,Lt.length-1),li=Lt.charCodeAt(0));let Gi;if(_j(li)&&!(xu.flags&8)?Gi=q.createStringLiteral($4(Lt).replace(/\\./g,yi=>yi.substring(1)),li===39):""+ +Lt===Lt&&(Gi=q.createNumericLiteral(+Lt)),!Gi){const yi=Zn(q.createIdentifier(Lt),16777216);Ou&&l5(yi,q.createNodeArray(Ou)),yi.symbol=xu,Gi=yi}return q.createElementAccessExpression(Er(fr,Mr-1),Gi)}}}function t4(At){const ze=Za(At);return ze?Ps(ze)?!!(ya(ze.expression).flags&402653316):U0(ze)?!!(ya(ze.argumentExpression).flags&402653316):us(ze):!1}function hn(At){const ze=Za(At);return!!(ze&&us(ze)&&(ze.singleQuote||!sl(ze)&&Pa(Hc(ze,!1),"'")))}function Kn(At,ze){const Yn=!!S(At.declarations)&&ye(At.declarations,t4),Fu=!!S(At.declarations)&&ye(At.declarations,hn),Er=!!(At.flags&8192),fr=Zr(At,ze,Fu,Yn,Er);if(fr)return fr;const Mr=Yr(At.escapedName);return mZ(Mr,Os(ae),Fu,Yn,Er)}function Zr(At,ze,Yn,Fu,Er){const fr=Ur(At).nameType;if(fr){if(fr.flags&384){const Mr=""+fr.value;return!Lm(Mr,Os(ae))&&(Fu||!i3(Mr))?q.createStringLiteral(Mr,!!Yn):i3(Mr)&&Pa(Mr,"-")?q.createComputedPropertyName(q.createNumericLiteral(+Mr)):mZ(Mr,Os(ae),Yn,Fu,Er)}if(fr.flags&8192)return q.createComputedPropertyName(ah(fr.symbol,ze,111551))}}function yo(At){const ze={...At};return ze.typeParameterNames&&(ze.typeParameterNames=new Map(ze.typeParameterNames)),ze.typeParameterNamesByText&&(ze.typeParameterNamesByText=new Set(ze.typeParameterNamesByText)),ze.typeParameterSymbolList&&(ze.typeParameterSymbolList=new Set(ze.typeParameterSymbolList)),ze.tracker=new Hde(ze,ze.tracker.inner,ze.tracker.moduleResolverHost),ze}function $n(At,ze){return At.declarations&&Le(At.declarations,Yn=>!!f1(Yn)&&(!ze||!!Tn(Yn,Fu=>Fu===ze)))}function Bs(At,ze){return!(Gu(ze)&4)||!X4(At)||S(At.typeArguments)>=b_(ze.target.typeParameters)}function w0(At){return ar(At).fakeScopeForSignatureDeclaration?At.parent:At}function ad(At,ze,Yn,Fu,Er,fr){if(!Nt(ze)&&Fu){const xu=$n(Yn,w0(Fu));if(xu&&!$0(xu)&&!zm(xu)){const Lt=f1(xu);if(Ys(Lt,xu,ze)&&Bs(Lt,ze)){const li=el(At,Lt,Er,fr);if(li)return li}}}const Mr=At.flags;ze.flags&8192&&ze.symbol===Yn&&(!At.enclosingDeclaration||Oe(Yn.declarations,xu=>zn(xu)===zn(At.enclosingDeclaration)))&&(At.flags|=1048576);const Ou=C(ze,At);return At.flags=Mr,Ou}function Ys(At,ze,Yn){const Fu=Ar(At);return Fu===Yn?!0:io(ze)&&ze.questionToken?mp(Yn,524288)===Fu:!1}function Td(At,ze,Yn,Fu,Er){if(!Nt(ze)&&At.enclosingDeclaration){const fr=Yn.declaration&&U4(Yn.declaration),Mr=w0(At.enclosingDeclaration);if(Tn(fr,Ou=>Ou===Mr)&&fr){const Ou=Ar(fr);if((Ou.flags&262144&&Ou.isThisType?_a(Ou,Yn.mapper):Ou)===ze&&Bs(fr,ze)){const Lt=el(At,fr,Fu,Er);if(Lt)return Lt}}}return C(ze,At)}function kc(At,ze,Yn){let Fu=!1;const Er=hm(At);if(Qn(At)&&(uk(Er)||Y_(Er.parent)||vf(Er.parent)&&P0e(Er.parent.left)&&uk(Er.parent.right)))return Fu=!0,{introducesError:Fu,node:At};const fr=R0(Er,67108863,!0,!0);if(fr&&(yu(fr,ze.enclosingDeclaration,67108863,!1).accessibility!==0?Fu=!0:(ze.tracker.trackSymbol(fr,ze.enclosingDeclaration,67108863),Yn==null||Yn(fr)),at(At))){const Mr=X0(fr),Ou=fr.flags&262144&&!R(Mr.symbol,ze.enclosingDeclaration)?fo(Mr,ze):q.cloneNode(At);return Ou.symbol=fr,{introducesError:Fu,node:Zn(su(Ou,At),16777216)}}return{introducesError:Fu,node:At}}function el(At,ze,Yn,Fu){d&&d.throwIfCancellationRequested&&d.throwIfCancellationRequested();let Er=!1;const fr=zn(ze),Mr=yt(ze,Ou,Qr);if(Er)return;return Mr===ze?Pt(q.cloneNode(ze),ze):Mr;function Ou(xu){if(EFe(xu)||xu.kind===326)return q.createKeywordTypeNode(133);if(_Fe(xu))return q.createKeywordTypeNode(159);if(wB(xu))return q.createUnionTypeNode([yt(xu.type,Ou,Qr),q.createLiteralTypeNode(q.createNull())]);if(Fce(xu))return q.createUnionTypeNode([yt(xu.type,Ou,Qr),q.createKeywordTypeNode(157)]);if(mY(xu))return yt(xu.type,Ou);if(pY(xu))return q.createArrayTypeNode(yt(xu.type,Ou,Qr));if(K7(xu))return q.createTypeLiteralNode(Vt(xu.jsDocPropertyTags,yi=>{const Ji=at(yi.name)?yi.name:yi.name.right,mn=he(Ar(xu),Ji.escapedText),Kr=mn&&yi.typeExpression&&Ar(yi.typeExpression.type)!==mn?C(mn,At):void 0;return q.createPropertySignature(void 0,Ji,yi.isBracketed||yi.typeExpression&&Fce(yi.typeExpression.type)?q.createToken(58):void 0,Kr||yi.typeExpression&&yt(yi.typeExpression.type,Ou,Qr)||q.createKeywordTypeNode(133))}));if(X4(xu)&&at(xu.typeName)&&xu.typeName.escapedText==="")return su(q.createKeywordTypeNode(133),xu);if((c5(xu)||X4(xu))&&xq(xu))return q.createTypeLiteralNode([q.createIndexSignature(void 0,[q.createParameterDeclaration(void 0,void 0,"x",void 0,yt(xu.typeArguments[0],Ou,Qr))],yt(xu.typeArguments[1],Ou,Qr))]);if(TB(xu))if(X8(xu)){let yi;return q.createConstructorTypeNode(void 0,kn(xu.typeParameters,Ou,Bl),qi(xu.parameters,(Ji,mn)=>Ji.name&&at(Ji.name)&&Ji.name.escapedText==="new"?(yi=Ji.type,void 0):q.createParameterDeclaration(void 0,Lt(Ji),li(Ji,mn),Ji.questionToken,yt(Ji.type,Ou,Qr),void 0)),yt(yi||xu.type,Ou,Qr)||q.createKeywordTypeNode(133))}else return q.createFunctionTypeNode(kn(xu.typeParameters,Ou,Bl),Vt(xu.parameters,(yi,Ji)=>q.createParameterDeclaration(void 0,Lt(yi),li(yi,Ji),yi.questionToken,yt(yi.type,Ou,Qr),void 0)),yt(xu.type,Ou,Qr)||q.createKeywordTypeNode(133));if(X4(xu)&&Ej(xu)&&(!Bs(xu,Ar(xu))||Gdt(xu)||Xt===oT(xu,788968,!0)))return su(C(Ar(xu),At),xu);if(zx(xu)){const yi=ar(xu).resolvedSymbol;return Ej(xu)&&yi&&(!xu.isTypeOf&&!(yi.flags&788968)||!(S(xu.typeArguments)>=b_(sn(yi))))?su(C(Ar(xu),At),xu):q.updateImportTypeNode(xu,q.updateLiteralTypeNode(xu.argument,Gi(xu,xu.argument.literal)),xu.attributes,xu.qualifier,kn(xu.typeArguments,Ou,Qr),xu.isTypeOf)}if(sm(xu)||ec(xu)){const{introducesError:yi,node:Ji}=kc(xu,At,Yn);if(Er=Er||yi,Ji!==xu)return Ji}return fr&&yB(xu)&&s0(fr,xu.pos).line===s0(fr,xu.end).line&&Zn(xu,1),rn(xu,Ou,Dg);function Lt(yi){return yi.dotDotDotToken||(yi.type&&pY(yi.type)?q.createToken(26):void 0)}function li(yi,Ji){return yi.name&&at(yi.name)&&yi.name.escapedText==="this"?"this":Lt(yi)?"args":`arg${Ji}`}function Gi(yi,Ji){if(Fu){if(At.tracker&&At.tracker.moduleResolverHost){const mn=qze(yi);if(mn){const ku={getCanonicalFileName:L1(!!t.useCaseSensitiveFileNames),getCurrentDirectory:()=>At.tracker.moduleResolverHost.getCurrentDirectory(),getCommonSourceDirectory:()=>At.tracker.moduleResolverHost.getCommonSourceDirectory()},_o=Pq(ku,mn);return q.createStringLiteral(_o)}}}else if(At.tracker&&At.tracker.trackExternalModuleSymbolOfImportTypeNode){const mn=D3(Ji,Ji,void 0);mn&&At.tracker.trackExternalModuleSymbolOfImportTypeNode(mn)}return Ji}}}function bm(At,ze,Yn){var Fu;const Er=Hd(q.createPropertyDeclaration,174,!0),fr=Hd((ai,Bu,dr,nr)=>q.createPropertySignature(ai,Bu,dr,nr),173,!1),Mr=ze.enclosingDeclaration;let Ou=[];const xu=new Set,Lt=[],li=ze;ze={...li,usedSymbolNames:new Set(li.usedSymbolNames),remappedSymbolNames:new Map,remappedSymbolReferences:new Map((Fu=li.remappedSymbolReferences)==null?void 0:Fu.entries()),tracker:void 0};const Gi={...li.tracker.inner,trackSymbol:(ai,Bu,dr)=>{var nr,hr;if((nr=ze.remappedSymbolNames)!=null&&nr.has(Zo(ai)))return!1;if(yu(ai,Bu,dr,!1).accessibility===0){const zo=Ii(ai,ze,dr);if(!(ai.flags&4)){const so=zo[0],ts=zn(li.enclosingDeclaration);Oe(so.declarations,Xs=>zn(Xs)===ts)&&fl(so)}}else if((hr=li.tracker.inner)!=null&&hr.trackSymbol)return li.tracker.inner.trackSymbol(ai,Bu,dr);return!1}};ze.tracker=new Hde(ze,Gi,li.tracker.moduleResolverHost),h1(At,(ai,Bu)=>{const dr=Yr(Bu);Zf(ai,dr)});let yi=!Yn;const Ji=At.get("export=");return Ji&&At.size>1&&Ji.flags&2097152&&(At=Vo(),At.set("export=",Ji)),cs(At),or(Ou);function mn(ai){return!!ai&&ai.kind===80}function Kr(ai){return Jl(ai)?ti(Vt(ai.declarationList.declarations,Za),mn):ti([Za(ai)],mn)}function ku(ai){const Bu=Le(ai,tc),dr=Ue(ai,_c);let nr=dr!==-1?ai[dr]:void 0;if(nr&&Bu&&Bu.isExportEquals&&at(Bu.expression)&&at(nr.name)&&fu(nr.name)===fu(Bu.expression)&&nr.body&&rE(nr.body)){const hr=ti(ai,so=>!!(Eh(so)&32)),Qs=nr.name;let zo=nr.body;if(S(hr)&&(nr=q.updateModuleDeclaration(nr,nr.modifiers,nr.name,zo=q.updateModuleBlock(zo,q.createNodeArray([...nr.body.statements,q.createExportDeclaration(void 0,!1,q.createNamedExports(Vt(ju(hr,so=>Kr(so)),so=>q.createExportSpecifier(!1,void 0,so))),void 0)]))),ai=[...ai.slice(0,dr),nr,...ai.slice(dr+1)]),!Le(ai,so=>so!==nr&&jO(so,Qs))){Ou=[];const so=!Oe(zo.statements,ts=>Yu(ts,32)||tc(ts)||Gc(ts));L(zo.statements,ts=>{yl(ts,so?32:0)}),ai=[...ti(ai,ts=>ts!==nr&&ts!==Bu),...Ou]}}return ai}function _o(ai){const Bu=ti(ai,nr=>Gc(nr)&&!nr.moduleSpecifier&&!!nr.exportClause&&ep(nr.exportClause));S(Bu)>1&&(ai=[...ti(ai,hr=>!Gc(hr)||!!hr.moduleSpecifier||!hr.exportClause),q.createExportDeclaration(void 0,!1,q.createNamedExports(ju(Bu,hr=>Po(hr.exportClause,ep).elements)),void 0)]);const dr=ti(ai,nr=>Gc(nr)&&!!nr.moduleSpecifier&&!!nr.exportClause&&ep(nr.exportClause));if(S(dr)>1){const nr=vN(dr,hr=>us(hr.moduleSpecifier)?">"+hr.moduleSpecifier.text:">");if(nr.length!==dr.length)for(const hr of nr)hr.length>1&&(ai=[...ti(ai,Qs=>!hr.includes(Qs)),q.createExportDeclaration(void 0,!1,q.createNamedExports(ju(hr,Qs=>Po(Qs.exportClause,ep).elements)),hr[0].moduleSpecifier)])}return ai}function pn(ai){const Bu=Ue(ai,dr=>Gc(dr)&&!dr.moduleSpecifier&&!dr.attributes&&!!dr.exportClause&&ep(dr.exportClause));if(Bu>=0){const dr=ai[Bu],nr=qi(dr.exportClause.elements,hr=>{if(!hr.propertyName){const Qs=$r(ai),zo=ti(Qs,so=>jO(ai[so],hr.name));if(S(zo)&&ye(zo,so=>rV(ai[so]))){for(const so of zo)ai[so]=qr(ai[so]);return}}return hr});S(nr)?ai[Bu]=q.updateExportDeclaration(dr,dr.modifiers,dr.isTypeOnly,q.updateNamedExports(dr.exportClause,nr),dr.moduleSpecifier,dr.attributes):fv(ai,Bu)}return ai}function or(ai){return ai=ku(ai),ai=_o(ai),ai=pn(ai),Mr&&(la(Mr)&&cm(Mr)||_c(Mr))&&(!Oe(ai,YO)||!dbe(ai)&&Oe(ai,VU))&&ai.push(NV(q)),ai}function qr(ai){const Bu=(Eh(ai)|32)&-129;return q.replaceModifiers(ai,Bu)}function La(ai){const Bu=Eh(ai)&-33;return q.replaceModifiers(ai,Bu)}function cs(ai,Bu,dr){Bu||Lt.push(new Map),ai.forEach(nr=>{pd(nr,!1,!!dr)}),Bu||(Lt[Lt.length-1].forEach(nr=>{pd(nr,!0,!!dr)}),Lt.pop())}function pd(ai,Bu,dr){const nr=Ks(ai);if(xu.has(Zo(nr)))return;if(xu.add(Zo(nr)),!Bu||S(ai.declarations)&&Oe(ai.declarations,Qs=>!!Tn(Qs,zo=>zo===Mr))){const Qs=ze;ze=yo(ze),bl(ai,Bu,dr),ze.reportedDiagnostic&&(li.reportedDiagnostic=ze.reportedDiagnostic),ze.trackedSymbols&&(Qs.trackedSymbols?H.assert(ze.trackedSymbols===Qs.trackedSymbols):Qs.trackedSymbols=ze.trackedSymbols),ze=Qs}}function bl(ai,Bu,dr,nr=ai.escapedName){var hr,Qs,zo,so,ts,Xs;const L0=Yr(nr),$h=nr==="default";if(Bu&&!(ze.flags&131072)&&m7(L0)&&!$h){ze.encounteredError=!0;return}let K1=$h&&!!(ai.flags&-113||ai.flags&16&&S(n0(Wn(ai))))&&!(ai.flags&2097152),W1=!K1&&!Bu&&m7(L0)&&!$h;(K1||W1)&&(Bu=!0);const ml=(Bu?0:32)|($h&&!K1?2048:0),y1=ai.flags&1536&&ai.flags&7&&nr!=="export=",B3=y1&&Gs(Wn(ai),ai);if((ai.flags&8208||B3)&&lu(Wn(ai),ai,Zf(ai,L0),ml),ai.flags&524288&&Ft(ai,L0,ml),ai.flags&98311&&nr!=="export="&&!(ai.flags&4194304)&&!(ai.flags&32)&&!(ai.flags&8192)&&!B3)if(dr)T0(ai)&&(W1=!1,K1=!1);else{const k1=Wn(ai),Yf=Zf(ai,L0);if(k1.symbol&&k1.symbol!==ai&&k1.symbol.flags&16&&Oe(k1.symbol.declarations,R2)&&((hr=k1.symbol.members)!=null&&hr.size||(Qs=k1.symbol.exports)!=null&&Qs.size))ze.remappedSymbolReferences||(ze.remappedSymbolReferences=new Map),ze.remappedSymbolReferences.set(Zo(k1.symbol),ai),bl(k1.symbol,Bu,dr,nr),ze.remappedSymbolReferences.delete(Zo(k1.symbol));else if(!(ai.flags&16)&&Gs(k1,ai))lu(k1,ai,Yf,ml);else{const uS=ai.flags&2?Mz(ai)?2:1:(zo=ai.parent)!=null&&zo.valueDeclaration&&la((so=ai.parent)==null?void 0:so.valueDeclaration)?2:void 0,TE=K1||!(ai.flags&4)?Yf:zC(Yf,ai);let L6=ai.declarations&&Le(ai.declarations,HW=>na(HW));L6&&Ad(L6.parent)&&L6.parent.declarations.length===1&&(L6=L6.parent.parent);const N6=(ts=ai.declarations)==null?void 0:ts.find(Iu);if(N6&&Xn(N6.parent)&&at(N6.parent.right)&&((Xs=k1.symbol)!=null&&Xs.valueDeclaration)&&la(k1.symbol.valueDeclaration)){const HW=Yf===N6.parent.right.escapedText?void 0:N6.parent.right;yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,HW,Yf)])),0),ze.tracker.trackSymbol(k1.symbol,ze.enclosingDeclaration,111551)}else{const HW=Pt(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(TE,void 0,ad(ze,k1,ai,Mr,fl,Yn))],uS)),L6);yl(HW,TE!==Yf?ml&-33:ml),TE!==Yf&&!Bu&&(yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,TE,Yf)])),0),W1=!1,K1=!1)}}}if(ai.flags&384&&un(ai,L0,ml),ai.flags&32&&(ai.flags&4&&ai.valueDeclaration&&Xn(ai.valueDeclaration.parent)&&Xd(ai.valueDeclaration.parent.right)?mo(ai,Zf(ai,L0),ml):Wo(ai,Zf(ai,L0),ml)),(ai.flags&1536&&(!y1||Bn(ai))||B3)&&Du(ai,L0,ml),ai.flags&64&&!(ai.flags&32)&&$t(ai,L0,ml),ai.flags&2097152&&mo(ai,Zf(ai,L0),ml),ai.flags&4&&ai.escapedName==="export="&&T0(ai),ai.flags&8388608&&ai.declarations)for(const k1 of ai.declarations){const Yf=Kh(k1,k1.moduleSpecifier);Yf&&yl(q.createExportDeclaration(void 0,k1.isTypeOnly,void 0,q.createStringLiteral(_n(Yf,ze))),0)}K1?yl(q.createExportAssignment(void 0,!1,q.createIdentifier(Zf(ai,L0))),0):W1&&yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,Zf(ai,L0),L0)])),0)}function fl(ai){if(Oe(ai.declarations,w2))return;H.assertIsDefined(Lt[Lt.length-1]),zC(Yr(ai.escapedName),ai);const Bu=!!(ai.flags&2097152)&&!Oe(ai.declarations,dr=>!!Tn(dr,Gc)||u_(dr)||E1(dr)&&!r_(dr.moduleReference));Lt[Bu?0:Lt.length-1].set(Zo(ai),ai)}function H1(ai){return la(ai)&&(cm(ai)||W4(ai))||N1(ai)&&!Yg(ai)}function yl(ai,Bu){if(Hp(ai)){let dr=0;const nr=ze.enclosingDeclaration&&(G4(ze.enclosingDeclaration)?zn(ze.enclosingDeclaration):ze.enclosingDeclaration);Bu&32&&nr&&(H1(nr)||_c(nr))&&rV(ai)&&(dr|=32),yi&&!(dr&32)&&(!nr||!(nr.flags&33554432))&&(Iv(ai)||Jl(ai)||ed(ai)||Wc(ai)||_c(ai))&&(dr|=128),Bu&2048&&(Wc(ai)||xh(ai)||ed(ai))&&(dr|=2048),dr&&(ai=q.replaceModifiers(ai,dr|Eh(ai)))}Ou.push(ai)}function Ft(ai,Bu,dr){var nr;const hr=tdt(ai),Qs=Ur(ai).typeParameters,zo=Vt(Qs,K1=>zt(K1,ze)),so=(nr=ai.declarations)==null?void 0:nr.find(G4),ts=KO(so?so.comment||so.parent.comment:void 0),Xs=ze.flags;ze.flags|=8388608;const L0=ze.enclosingDeclaration;ze.enclosingDeclaration=so;const $h=so&&so.typeExpression&&kk(so.typeExpression)&&el(ze,so.typeExpression.type,fl,Yn)||C(hr,ze);yl(Nv(q.createTypeAliasDeclaration(void 0,Zf(ai,Bu),zo,$h),ts?[{kind:3,text:`* +`);OP(Kr,3,ku,!0)}return Lt==null||Lt(),Kr}function $e(At,ze){if(At.thisParameter)return Wi(At.thisParameter,ze);if(At.declaration&&Qn(At.declaration)){const Yn=LU(At.declaration);if(Yn&&Yn.typeExpression)return q.createParameterDeclaration(void 0,void 0,"this",void 0,C(Ar(Yn.typeExpression),ze))}}function ut(At,ze,Yn){const Fu=ze.flags;ze.flags&=-513;const Er=q.createModifiersFromModifierFlags(HPe(At)),fr=fo(At,ze),Mr=_F(At),Ou=Mr&&C(Mr,ze);return ze.flags=Fu,q.createTypeParameterDeclaration(Er,fr,Yn,Ou)}function zt(At,ze,Yn=rh(At)){const Fu=Yn&&C(Yn,ze);return ut(At,ze,Fu)}function gi(At){const ze=Sl(At,169);if(ze)return ze;if(!qE(At))return Sl(At,348)}function Wi(At,ze,Yn,Fu,Er){const fr=gi(At);let Mr=Wn(At);fr&&Y4t(fr)&&(Mr=S6(Mr));const Ou=ad(ze,Mr,At,ze.enclosingDeclaration,Fu,Er),xu=!(ze.flags&8192)&&Yn&&fr&&Hp(fr)?Vt(p2(fr),q.cloneNode):void 0,li=fr&&$_(fr)||Gl(At)&32768?q.createToken(26):void 0,Gi=dn(At,fr,ze),Ji=fr&&uW(fr)||Gl(At)&16384?q.createToken(58):void 0,mn=q.createParameterDeclaration(xu,li,Gi,Ji,Ou,void 0);return ze.approximateLength+=lc(At).length+3,mn}function dn(At,ze,Yn){return ze&&ze.name?ze.name.kind===80?Zn(q.cloneNode(ze.name),16777216):ze.name.kind===166?Zn(q.cloneNode(ze.name.right),16777216):Fu(ze.name):lc(At);function Fu(Er){return fr(Er);function fr(Mr){Yn.tracker.canTrackSymbol&&Ps(Mr)&&NNe(Mr)&&nu(Mr.expression,Yn.enclosingDeclaration,Yn);let Ou=rn(Mr,fr,Dg,void 0,fr);return js(Ou)&&(Ou=q.updateBindingElement(Ou,Ou.dotDotDotToken,Ou.propertyName,Ou.name,void 0)),sl(Ou)||(Ou=q.cloneNode(Ou)),Zn(Ou,16777217)}}}function nu(At,ze,Yn){if(!Yn.tracker.canTrackSymbol)return;const Fu=hm(At),Er=uc(Fu,Fu.escapedText,1160127,void 0,void 0,!0);Er&&Yn.tracker.trackSymbol(Er,ze,111551)}function En(At,ze,Yn,Fu){return ze.tracker.trackSymbol(At,ze.enclosingDeclaration,Yn),Ii(At,ze,Yn,Fu)}function Ii(At,ze,Yn,Fu){let Er;return!(At.flags&262144)&&(ze.enclosingDeclaration||ze.flags&64)&&!(ze.flags&134217728)?(Er=H.checkDefined(Mr(At,Yn,!0)),H.assert(Er&&Er.length>0)):Er=[At],Er;function Mr(Ou,xu,Lt){let li=_C(Ou,ze.enclosingDeclaration,xu,!!(ze.flags&128)),Gi;if(!li||$w(li[0],ze.enclosingDeclaration,li.length===1?xu:v3(xu))){const Ji=Ww(li?li[0]:Ou,ze.enclosingDeclaration,xu);if(S(Ji)){Gi=Ji.map(ku=>Oe(ku.declarations,Ao)?_n(ku,ze):void 0);const mn=Ji.map((ku,_o)=>_o);mn.sort(yi);const Kr=mn.map(ku=>Ji[ku]);for(const ku of Kr){const _o=Mr(ku,v3(xu),!1);if(_o){if(ku.exports&&ku.exports.get("export=")&&Zm(ku.exports.get("export="),Ou)){li=_o;break}li=_o.concat(li||[s6(ku,Ou)||Ou]);break}}}}if(li)return li;if(Lt||!(Ou.flags&6144))return!Lt&&!Fu&&L(Ou.declarations,Ao)?void 0:[Ou];function yi(Ji,mn){const Kr=Gi[Ji],ku=Gi[mn];if(Kr&&ku){const _o=om(ku);return om(Kr)===_o?ZY(Kr)-ZY(ku):_o?-1:1}return 0}}}function Nn(At,ze){let Yn;return _T(At).flags&524384&&(Yn=q.createNodeArray(Vt(sn(At),Er=>zt(Er,ze)))),Yn}function vn(At,ze,Yn){var Fu;H.assert(At&&0<=ze&&zek6(li,xu.links.mapper)),Yn)}else Mr=Nn(Er,Yn)}return Mr}function An(At){return I7(At.objectType)?An(At.objectType):At}function _n(At,ze,Yn){let Fu=Sl(At,312);if(!Fu){const Lt=G(At.declarations,li=>kb(li,At));Lt&&(Fu=Sl(Lt,312))}if(Fu&&Fu.moduleName!==void 0)return Fu.moduleName;if(!Fu){if(ze.tracker.trackReferencedAmbientModule){const Lt=ti(At.declarations,N1);if(S(Lt))for(const li of Lt)ze.tracker.trackReferencedAmbientModule(li,At)}if(jde.test(At.escapedName))return At.escapedName.substring(1,At.escapedName.length-1)}if(!ze.enclosingDeclaration||!ze.tracker.moduleResolverHost)return jde.test(At.escapedName)?At.escapedName.substring(1,At.escapedName.length-1):zn(g0e(At)).fileName;const Er=zn(Wl(ze.enclosingDeclaration)),fr=Yn||(Er==null?void 0:Er.impliedNodeFormat),Mr=dM(Er.path,fr),Ou=Ur(At);let xu=Ou.specifierCache&&Ou.specifierCache.get(Mr);if(!xu){const Lt=!!y0(ae),{moduleResolverHost:li}=ze.tracker,Gi=Lt?{...ae,baseUrl:li.getCommonSourceDirectory()}:ae;xu=Pn(het(At,Pi,Gi,Er,li,{importModuleSpecifierPreference:Lt?"non-relative":"project-relative",importModuleSpecifierEnding:Lt?"minimal":fr===99?"js":void 0},{overrideImportMode:Yn})),Ou.specifierCache??(Ou.specifierCache=new Map),Ou.specifierCache.set(Mr,xu)}return xu}function hu(At){const ze=q.createIdentifier(Qr(At.escapedName));return At.parent?q.createQualifiedName(hu(At.parent),ze):ze}function oo(At,ze,Yn,Fu){const Er=En(At,ze,Yn,!(ze.flags&16384)),fr=Yn===111551;if(Oe(Er[0].declarations,Ao)){const xu=Er.length>1?Ou(Er,Er.length-1,1):void 0,Lt=Fu||vn(Er,0,ze),li=zn(Wl(ze.enclosingDeclaration)),Gi=YU(Er[0]);let yi,Ji;if((p1(ae)===3||p1(ae)===99)&&(Gi==null?void 0:Gi.impliedNodeFormat)===99&&Gi.impliedNodeFormat!==(li==null?void 0:li.impliedNodeFormat)&&(yi=_n(Er[0],ze,99),Ji=q.createImportAttributes(q.createNodeArray([q.createImportAttribute(q.createStringLiteral("resolution-mode"),q.createStringLiteral("import"))]))),yi||(yi=_n(Er[0],ze)),!(ze.flags&67108864)&&p1(ae)!==1&&yi.includes("/node_modules/")){const Kr=yi;if(p1(ae)===3||p1(ae)===99){const ku=(li==null?void 0:li.impliedNodeFormat)===99?1:99;yi=_n(Er[0],ze,ku),yi.includes("/node_modules/")?yi=Kr:Ji=q.createImportAttributes(q.createNodeArray([q.createImportAttribute(q.createStringLiteral("resolution-mode"),q.createStringLiteral(ku===99?"import":"require"))]))}Ji||(ze.encounteredError=!0,ze.tracker.reportLikelyUnsafeImportRequiredError&&ze.tracker.reportLikelyUnsafeImportRequiredError(Kr))}const mn=q.createLiteralTypeNode(q.createStringLiteral(yi));if(ze.tracker.trackExternalModuleSymbolOfImportTypeNode&&ze.tracker.trackExternalModuleSymbolOfImportTypeNode(Er[0]),ze.approximateLength+=yi.length+10,!xu||sm(xu)){if(xu){const Kr=at(xu)?xu:xu.right;l5(Kr,void 0)}return q.createImportTypeNode(mn,Ji,xu,Lt,fr)}else{const Kr=An(xu),ku=Kr.objectType.typeName;return q.createIndexedAccessTypeNode(q.createImportTypeNode(mn,Ji,ku,Lt,fr),Kr.indexType)}}const Mr=Ou(Er,Er.length-1,0);if(I7(Mr))return Mr;if(fr)return q.createTypeQueryNode(Mr);{const xu=at(Mr)?Mr:Mr.right,Lt=gk(xu);return l5(xu,void 0),q.createTypeReferenceNode(Mr,Lt)}function Ou(xu,Lt,li){const Gi=Lt===xu.length-1?Fu:vn(xu,Lt,ze),yi=xu[Lt],Ji=xu[Lt-1];let mn;if(Lt===0)ze.flags|=16777216,mn=__(yi,ze),ze.approximateLength+=(mn?mn.length:0)+1,ze.flags^=16777216;else if(Ji&&$f(Ji)){const ku=$f(Ji);h1(ku,(_o,pn)=>{if(Zm(_o,yi)&&!XK(pn)&&pn!=="export=")return mn=Qr(pn),!0})}if(mn===void 0){const ku=G(yi.declarations,Za);if(ku&&Ps(ku)&&sm(ku.expression)){const _o=Ou(xu,Lt-1,li);return sm(_o)?q.createIndexedAccessTypeNode(q.createParenthesizedType(q.createTypeQueryNode(_o)),q.createTypeQueryNode(ku.expression)):_o}mn=__(yi,ze)}if(ze.approximateLength+=mn.length+1,!(ze.flags&16)&&Ji&&_6(Ji)&&_6(Ji).get(yi.escapedName)&&Zm(_6(Ji).get(yi.escapedName),yi)){const ku=Ou(xu,Lt-1,li);return I7(ku)?q.createIndexedAccessTypeNode(ku,q.createLiteralTypeNode(q.createStringLiteral(mn))):q.createIndexedAccessTypeNode(q.createTypeReferenceNode(ku,Gi),q.createLiteralTypeNode(q.createStringLiteral(mn)))}const Kr=Zn(q.createIdentifier(mn),16777216);if(Gi&&l5(Kr,q.createNodeArray(Gi)),Kr.symbol=yi,Lt>li){const ku=Ou(xu,Lt-1,li);return sm(ku)?q.createQualifiedName(ku,Kr):H.fail("Impossible construct - an export of an indexed access cannot be reachable")}return Kr}}function Eo(At,ze,Yn){const Fu=uc(ze.enclosingDeclaration,At,788968,void 0,At,!1);return Fu?!(Fu.flags&262144&&Fu===Yn.symbol):!1}function fo(At,ze){var Yn,Fu;if(ze.flags&4&&ze.typeParameterNames){const fr=ze.typeParameterNames.get(Fh(At));if(fr)return fr}let Er=ka(At.symbol,ze,788968,!0);if(!(Er.kind&80))return q.createIdentifier("(Missing type parameter)");if(ze.flags&4){const fr=Er.escapedText;let Mr=((Yn=ze.typeParameterNamesByTextNextNameCount)==null?void 0:Yn.get(fr))||0,Ou=fr;for(;(Fu=ze.typeParameterNamesByText)!=null&&Fu.has(Ou)||Eo(Ou,ze,At);)Mr++,Ou=`${fr}_${Mr}`;if(Ou!==fr){const xu=gk(Er);Er=q.createIdentifier(Ou),l5(Er,xu)}(ze.typeParameterNamesByTextNextNameCount||(ze.typeParameterNamesByTextNextNameCount=new Map)).set(fr,Mr),(ze.typeParameterNames||(ze.typeParameterNames=new Map)).set(Fh(At),Er),(ze.typeParameterNamesByText||(ze.typeParameterNamesByText=new Set)).add(fr)}return Er}function ka(At,ze,Yn,Fu){const Er=En(At,ze,Yn);return Fu&&Er.length!==1&&!ze.encounteredError&&!(ze.flags&65536)&&(ze.encounteredError=!0),fr(Er,Er.length-1);function fr(Mr,Ou){const xu=vn(Mr,Ou,ze),Lt=Mr[Ou];Ou===0&&(ze.flags|=16777216);const li=__(Lt,ze);Ou===0&&(ze.flags^=16777216);const Gi=Zn(q.createIdentifier(li),16777216);return xu&&l5(Gi,q.createNodeArray(xu)),Gi.symbol=Lt,Ou>0?q.createQualifiedName(fr(Mr,Ou-1),Gi):Gi}}function ah(At,ze,Yn){const Fu=En(At,ze,Yn);return Er(Fu,Fu.length-1);function Er(fr,Mr){const Ou=vn(fr,Mr,ze),xu=fr[Mr];Mr===0&&(ze.flags|=16777216);let Lt=__(xu,ze);Mr===0&&(ze.flags^=16777216);let li=Lt.charCodeAt(0);if(_j(li)&&Oe(xu.declarations,Ao))return q.createStringLiteral(_n(xu,ze));if(Mr===0||zle(Lt,Ce)){const Gi=Zn(q.createIdentifier(Lt),16777216);return Ou&&l5(Gi,q.createNodeArray(Ou)),Gi.symbol=xu,Mr>0?q.createPropertyAccessExpression(Er(fr,Mr-1),Gi):Gi}else{li===91&&(Lt=Lt.substring(1,Lt.length-1),li=Lt.charCodeAt(0));let Gi;if(_j(li)&&!(xu.flags&8)?Gi=q.createStringLiteral($4(Lt).replace(/\\./g,yi=>yi.substring(1)),li===39):""+ +Lt===Lt&&(Gi=q.createNumericLiteral(+Lt)),!Gi){const yi=Zn(q.createIdentifier(Lt),16777216);Ou&&l5(yi,q.createNodeArray(Ou)),yi.symbol=xu,Gi=yi}return q.createElementAccessExpression(Er(fr,Mr-1),Gi)}}}function t4(At){const ze=Za(At);return ze?Ps(ze)?!!(ya(ze.expression).flags&402653316):U0(ze)?!!(ya(ze.argumentExpression).flags&402653316):us(ze):!1}function hn(At){const ze=Za(At);return!!(ze&&us(ze)&&(ze.singleQuote||!sl(ze)&&Pa(Hc(ze,!1),"'")))}function Kn(At,ze){const Yn=!!S(At.declarations)&&ye(At.declarations,t4),Fu=!!S(At.declarations)&&ye(At.declarations,hn),Er=!!(At.flags&8192),fr=Yr(At,ze,Fu,Yn,Er);if(fr)return fr;const Mr=Qr(At.escapedName);return mZ(Mr,Os(ae),Fu,Yn,Er)}function Yr(At,ze,Yn,Fu,Er){const fr=Ur(At).nameType;if(fr){if(fr.flags&384){const Mr=""+fr.value;return!Lm(Mr,Os(ae))&&(Fu||!i3(Mr))?q.createStringLiteral(Mr,!!Yn):i3(Mr)&&Pa(Mr,"-")?q.createComputedPropertyName(q.createNumericLiteral(+Mr)):mZ(Mr,Os(ae),Yn,Fu,Er)}if(fr.flags&8192)return q.createComputedPropertyName(ah(fr.symbol,ze,111551))}}function yo(At){const ze={...At};return ze.typeParameterNames&&(ze.typeParameterNames=new Map(ze.typeParameterNames)),ze.typeParameterNamesByText&&(ze.typeParameterNamesByText=new Set(ze.typeParameterNamesByText)),ze.typeParameterSymbolList&&(ze.typeParameterSymbolList=new Set(ze.typeParameterSymbolList)),ze.tracker=new Hde(ze,ze.tracker.inner,ze.tracker.moduleResolverHost),ze}function $n(At,ze){return At.declarations&&Le(At.declarations,Yn=>!!f1(Yn)&&(!ze||!!Tn(Yn,Fu=>Fu===ze)))}function Bs(At,ze){return!(Gu(ze)&4)||!X4(At)||S(At.typeArguments)>=b_(ze.target.typeParameters)}function w0(At){return ar(At).fakeScopeForSignatureDeclaration?At.parent:At}function ad(At,ze,Yn,Fu,Er,fr){if(!Nt(ze)&&Fu){const xu=$n(Yn,w0(Fu));if(xu&&!$0(xu)&&!zm(xu)){const Lt=f1(xu);if(Ys(Lt,xu,ze)&&Bs(Lt,ze)){const li=el(At,Lt,Er,fr);if(li)return li}}}const Mr=At.flags;ze.flags&8192&&ze.symbol===Yn&&(!At.enclosingDeclaration||Oe(Yn.declarations,xu=>zn(xu)===zn(At.enclosingDeclaration)))&&(At.flags|=1048576);const Ou=C(ze,At);return At.flags=Mr,Ou}function Ys(At,ze,Yn){const Fu=Ar(At);return Fu===Yn?!0:io(ze)&&ze.questionToken?mp(Yn,524288)===Fu:!1}function Td(At,ze,Yn,Fu,Er){if(!Nt(ze)&&At.enclosingDeclaration){const fr=Yn.declaration&&U4(Yn.declaration),Mr=w0(At.enclosingDeclaration);if(Tn(fr,Ou=>Ou===Mr)&&fr){const Ou=Ar(fr);if((Ou.flags&262144&&Ou.isThisType?_a(Ou,Yn.mapper):Ou)===ze&&Bs(fr,ze)){const Lt=el(At,fr,Fu,Er);if(Lt)return Lt}}}return C(ze,At)}function kc(At,ze,Yn){let Fu=!1;const Er=hm(At);if(Qn(At)&&(uk(Er)||Y_(Er.parent)||vf(Er.parent)&&P0e(Er.parent.left)&&uk(Er.parent.right)))return Fu=!0,{introducesError:Fu,node:At};const fr=R0(Er,67108863,!0,!0);if(fr&&(yu(fr,ze.enclosingDeclaration,67108863,!1).accessibility!==0?Fu=!0:(ze.tracker.trackSymbol(fr,ze.enclosingDeclaration,67108863),Yn==null||Yn(fr)),at(At))){const Mr=X0(fr),Ou=fr.flags&262144&&!R(Mr.symbol,ze.enclosingDeclaration)?fo(Mr,ze):q.cloneNode(At);return Ou.symbol=fr,{introducesError:Fu,node:Zn(su(Ou,At),16777216)}}return{introducesError:Fu,node:At}}function el(At,ze,Yn,Fu){d&&d.throwIfCancellationRequested&&d.throwIfCancellationRequested();let Er=!1;const fr=zn(ze),Mr=yt(ze,Ou,Xr);if(Er)return;return Mr===ze?Pt(q.cloneNode(ze),ze):Mr;function Ou(xu){if(EFe(xu)||xu.kind===326)return q.createKeywordTypeNode(133);if(_Fe(xu))return q.createKeywordTypeNode(159);if(wB(xu))return q.createUnionTypeNode([yt(xu.type,Ou,Xr),q.createLiteralTypeNode(q.createNull())]);if(Fce(xu))return q.createUnionTypeNode([yt(xu.type,Ou,Xr),q.createKeywordTypeNode(157)]);if(mY(xu))return yt(xu.type,Ou);if(pY(xu))return q.createArrayTypeNode(yt(xu.type,Ou,Xr));if(K7(xu))return q.createTypeLiteralNode(Vt(xu.jsDocPropertyTags,yi=>{const Ji=at(yi.name)?yi.name:yi.name.right,mn=he(Ar(xu),Ji.escapedText),Kr=mn&&yi.typeExpression&&Ar(yi.typeExpression.type)!==mn?C(mn,At):void 0;return q.createPropertySignature(void 0,Ji,yi.isBracketed||yi.typeExpression&&Fce(yi.typeExpression.type)?q.createToken(58):void 0,Kr||yi.typeExpression&&yt(yi.typeExpression.type,Ou,Xr)||q.createKeywordTypeNode(133))}));if(X4(xu)&&at(xu.typeName)&&xu.typeName.escapedText==="")return su(q.createKeywordTypeNode(133),xu);if((c5(xu)||X4(xu))&&xq(xu))return q.createTypeLiteralNode([q.createIndexSignature(void 0,[q.createParameterDeclaration(void 0,void 0,"x",void 0,yt(xu.typeArguments[0],Ou,Xr))],yt(xu.typeArguments[1],Ou,Xr))]);if(TB(xu))if(X8(xu)){let yi;return q.createConstructorTypeNode(void 0,kn(xu.typeParameters,Ou,Bl),qi(xu.parameters,(Ji,mn)=>Ji.name&&at(Ji.name)&&Ji.name.escapedText==="new"?(yi=Ji.type,void 0):q.createParameterDeclaration(void 0,Lt(Ji),li(Ji,mn),Ji.questionToken,yt(Ji.type,Ou,Xr),void 0)),yt(yi||xu.type,Ou,Xr)||q.createKeywordTypeNode(133))}else return q.createFunctionTypeNode(kn(xu.typeParameters,Ou,Bl),Vt(xu.parameters,(yi,Ji)=>q.createParameterDeclaration(void 0,Lt(yi),li(yi,Ji),yi.questionToken,yt(yi.type,Ou,Xr),void 0)),yt(xu.type,Ou,Xr)||q.createKeywordTypeNode(133));if(X4(xu)&&Ej(xu)&&(!Bs(xu,Ar(xu))||Gdt(xu)||Xt===oT(xu,788968,!0)))return su(C(Ar(xu),At),xu);if(zx(xu)){const yi=ar(xu).resolvedSymbol;return Ej(xu)&&yi&&(!xu.isTypeOf&&!(yi.flags&788968)||!(S(xu.typeArguments)>=b_(sn(yi))))?su(C(Ar(xu),At),xu):q.updateImportTypeNode(xu,q.updateLiteralTypeNode(xu.argument,Gi(xu,xu.argument.literal)),xu.attributes,xu.qualifier,kn(xu.typeArguments,Ou,Xr),xu.isTypeOf)}if(sm(xu)||ec(xu)){const{introducesError:yi,node:Ji}=kc(xu,At,Yn);if(Er=Er||yi,Ji!==xu)return Ji}return fr&&yB(xu)&&s0(fr,xu.pos).line===s0(fr,xu.end).line&&Zn(xu,1),rn(xu,Ou,Dg);function Lt(yi){return yi.dotDotDotToken||(yi.type&&pY(yi.type)?q.createToken(26):void 0)}function li(yi,Ji){return yi.name&&at(yi.name)&&yi.name.escapedText==="this"?"this":Lt(yi)?"args":`arg${Ji}`}function Gi(yi,Ji){if(Fu){if(At.tracker&&At.tracker.moduleResolverHost){const mn=qze(yi);if(mn){const ku={getCanonicalFileName:L1(!!t.useCaseSensitiveFileNames),getCurrentDirectory:()=>At.tracker.moduleResolverHost.getCurrentDirectory(),getCommonSourceDirectory:()=>At.tracker.moduleResolverHost.getCommonSourceDirectory()},_o=Pq(ku,mn);return q.createStringLiteral(_o)}}}else if(At.tracker&&At.tracker.trackExternalModuleSymbolOfImportTypeNode){const mn=D3(Ji,Ji,void 0);mn&&At.tracker.trackExternalModuleSymbolOfImportTypeNode(mn)}return Ji}}}function bm(At,ze,Yn){var Fu;const Er=Hd(q.createPropertyDeclaration,174,!0),fr=Hd((ai,Bu,dr,nr)=>q.createPropertySignature(ai,Bu,dr,nr),173,!1),Mr=ze.enclosingDeclaration;let Ou=[];const xu=new Set,Lt=[],li=ze;ze={...li,usedSymbolNames:new Set(li.usedSymbolNames),remappedSymbolNames:new Map,remappedSymbolReferences:new Map((Fu=li.remappedSymbolReferences)==null?void 0:Fu.entries()),tracker:void 0};const Gi={...li.tracker.inner,trackSymbol:(ai,Bu,dr)=>{var nr,hr;if((nr=ze.remappedSymbolNames)!=null&&nr.has(Zo(ai)))return!1;if(yu(ai,Bu,dr,!1).accessibility===0){const zo=Ii(ai,ze,dr);if(!(ai.flags&4)){const so=zo[0],ts=zn(li.enclosingDeclaration);Oe(so.declarations,Xs=>zn(Xs)===ts)&&fl(so)}}else if((hr=li.tracker.inner)!=null&&hr.trackSymbol)return li.tracker.inner.trackSymbol(ai,Bu,dr);return!1}};ze.tracker=new Hde(ze,Gi,li.tracker.moduleResolverHost),h1(At,(ai,Bu)=>{const dr=Qr(Bu);Zf(ai,dr)});let yi=!Yn;const Ji=At.get("export=");return Ji&&At.size>1&&Ji.flags&2097152&&(At=Vo(),At.set("export=",Ji)),cs(At),or(Ou);function mn(ai){return!!ai&&ai.kind===80}function Kr(ai){return Jl(ai)?ti(Vt(ai.declarationList.declarations,Za),mn):ti([Za(ai)],mn)}function ku(ai){const Bu=Le(ai,tc),dr=Ue(ai,_c);let nr=dr!==-1?ai[dr]:void 0;if(nr&&Bu&&Bu.isExportEquals&&at(Bu.expression)&&at(nr.name)&&fu(nr.name)===fu(Bu.expression)&&nr.body&&rE(nr.body)){const hr=ti(ai,so=>!!(Eh(so)&32)),Qs=nr.name;let zo=nr.body;if(S(hr)&&(nr=q.updateModuleDeclaration(nr,nr.modifiers,nr.name,zo=q.updateModuleBlock(zo,q.createNodeArray([...nr.body.statements,q.createExportDeclaration(void 0,!1,q.createNamedExports(Vt(ju(hr,so=>Kr(so)),so=>q.createExportSpecifier(!1,void 0,so))),void 0)]))),ai=[...ai.slice(0,dr),nr,...ai.slice(dr+1)]),!Le(ai,so=>so!==nr&&jO(so,Qs))){Ou=[];const so=!Oe(zo.statements,ts=>Yu(ts,32)||tc(ts)||Gc(ts));L(zo.statements,ts=>{yl(ts,so?32:0)}),ai=[...ti(ai,ts=>ts!==nr&&ts!==Bu),...Ou]}}return ai}function _o(ai){const Bu=ti(ai,nr=>Gc(nr)&&!nr.moduleSpecifier&&!!nr.exportClause&&ep(nr.exportClause));S(Bu)>1&&(ai=[...ti(ai,hr=>!Gc(hr)||!!hr.moduleSpecifier||!hr.exportClause),q.createExportDeclaration(void 0,!1,q.createNamedExports(ju(Bu,hr=>Po(hr.exportClause,ep).elements)),void 0)]);const dr=ti(ai,nr=>Gc(nr)&&!!nr.moduleSpecifier&&!!nr.exportClause&&ep(nr.exportClause));if(S(dr)>1){const nr=vN(dr,hr=>us(hr.moduleSpecifier)?">"+hr.moduleSpecifier.text:">");if(nr.length!==dr.length)for(const hr of nr)hr.length>1&&(ai=[...ti(ai,Qs=>!hr.includes(Qs)),q.createExportDeclaration(void 0,!1,q.createNamedExports(ju(hr,Qs=>Po(Qs.exportClause,ep).elements)),hr[0].moduleSpecifier)])}return ai}function pn(ai){const Bu=Ue(ai,dr=>Gc(dr)&&!dr.moduleSpecifier&&!dr.attributes&&!!dr.exportClause&&ep(dr.exportClause));if(Bu>=0){const dr=ai[Bu],nr=qi(dr.exportClause.elements,hr=>{if(!hr.propertyName){const Qs=$r(ai),zo=ti(Qs,so=>jO(ai[so],hr.name));if(S(zo)&&ye(zo,so=>rV(ai[so]))){for(const so of zo)ai[so]=qr(ai[so]);return}}return hr});S(nr)?ai[Bu]=q.updateExportDeclaration(dr,dr.modifiers,dr.isTypeOnly,q.updateNamedExports(dr.exportClause,nr),dr.moduleSpecifier,dr.attributes):fv(ai,Bu)}return ai}function or(ai){return ai=ku(ai),ai=_o(ai),ai=pn(ai),Mr&&(la(Mr)&&cm(Mr)||_c(Mr))&&(!Oe(ai,YO)||!dbe(ai)&&Oe(ai,VU))&&ai.push(NV(q)),ai}function qr(ai){const Bu=(Eh(ai)|32)&-129;return q.replaceModifiers(ai,Bu)}function La(ai){const Bu=Eh(ai)&-33;return q.replaceModifiers(ai,Bu)}function cs(ai,Bu,dr){Bu||Lt.push(new Map),ai.forEach(nr=>{pd(nr,!1,!!dr)}),Bu||(Lt[Lt.length-1].forEach(nr=>{pd(nr,!0,!!dr)}),Lt.pop())}function pd(ai,Bu,dr){const nr=Ks(ai);if(xu.has(Zo(nr)))return;if(xu.add(Zo(nr)),!Bu||S(ai.declarations)&&Oe(ai.declarations,Qs=>!!Tn(Qs,zo=>zo===Mr))){const Qs=ze;ze=yo(ze),bl(ai,Bu,dr),ze.reportedDiagnostic&&(li.reportedDiagnostic=ze.reportedDiagnostic),ze.trackedSymbols&&(Qs.trackedSymbols?H.assert(ze.trackedSymbols===Qs.trackedSymbols):Qs.trackedSymbols=ze.trackedSymbols),ze=Qs}}function bl(ai,Bu,dr,nr=ai.escapedName){var hr,Qs,zo,so,ts,Xs;const L0=Qr(nr),$h=nr==="default";if(Bu&&!(ze.flags&131072)&&m7(L0)&&!$h){ze.encounteredError=!0;return}let K1=$h&&!!(ai.flags&-113||ai.flags&16&&S(n0(Wn(ai))))&&!(ai.flags&2097152),W1=!K1&&!Bu&&m7(L0)&&!$h;(K1||W1)&&(Bu=!0);const ml=(Bu?0:32)|($h&&!K1?2048:0),y1=ai.flags&1536&&ai.flags&7&&nr!=="export=",B3=y1&&Gs(Wn(ai),ai);if((ai.flags&8208||B3)&&lu(Wn(ai),ai,Zf(ai,L0),ml),ai.flags&524288&&Ft(ai,L0,ml),ai.flags&98311&&nr!=="export="&&!(ai.flags&4194304)&&!(ai.flags&32)&&!(ai.flags&8192)&&!B3)if(dr)T0(ai)&&(W1=!1,K1=!1);else{const k1=Wn(ai),Yf=Zf(ai,L0);if(k1.symbol&&k1.symbol!==ai&&k1.symbol.flags&16&&Oe(k1.symbol.declarations,R2)&&((hr=k1.symbol.members)!=null&&hr.size||(Qs=k1.symbol.exports)!=null&&Qs.size))ze.remappedSymbolReferences||(ze.remappedSymbolReferences=new Map),ze.remappedSymbolReferences.set(Zo(k1.symbol),ai),bl(k1.symbol,Bu,dr,nr),ze.remappedSymbolReferences.delete(Zo(k1.symbol));else if(!(ai.flags&16)&&Gs(k1,ai))lu(k1,ai,Yf,ml);else{const uS=ai.flags&2?Mz(ai)?2:1:(zo=ai.parent)!=null&&zo.valueDeclaration&&la((so=ai.parent)==null?void 0:so.valueDeclaration)?2:void 0,TE=K1||!(ai.flags&4)?Yf:zC(Yf,ai);let L6=ai.declarations&&Le(ai.declarations,HW=>ua(HW));L6&&Ad(L6.parent)&&L6.parent.declarations.length===1&&(L6=L6.parent.parent);const N6=(ts=ai.declarations)==null?void 0:ts.find(Iu);if(N6&&Xn(N6.parent)&&at(N6.parent.right)&&((Xs=k1.symbol)!=null&&Xs.valueDeclaration)&&la(k1.symbol.valueDeclaration)){const HW=Yf===N6.parent.right.escapedText?void 0:N6.parent.right;yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,HW,Yf)])),0),ze.tracker.trackSymbol(k1.symbol,ze.enclosingDeclaration,111551)}else{const HW=Pt(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(TE,void 0,ad(ze,k1,ai,Mr,fl,Yn))],uS)),L6);yl(HW,TE!==Yf?ml&-33:ml),TE!==Yf&&!Bu&&(yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,TE,Yf)])),0),W1=!1,K1=!1)}}}if(ai.flags&384&&un(ai,L0,ml),ai.flags&32&&(ai.flags&4&&ai.valueDeclaration&&Xn(ai.valueDeclaration.parent)&&Xd(ai.valueDeclaration.parent.right)?mo(ai,Zf(ai,L0),ml):Wo(ai,Zf(ai,L0),ml)),(ai.flags&1536&&(!y1||Bn(ai))||B3)&&Du(ai,L0,ml),ai.flags&64&&!(ai.flags&32)&&$t(ai,L0,ml),ai.flags&2097152&&mo(ai,Zf(ai,L0),ml),ai.flags&4&&ai.escapedName==="export="&&T0(ai),ai.flags&8388608&&ai.declarations)for(const k1 of ai.declarations){const Yf=Kh(k1,k1.moduleSpecifier);Yf&&yl(q.createExportDeclaration(void 0,k1.isTypeOnly,void 0,q.createStringLiteral(_n(Yf,ze))),0)}K1?yl(q.createExportAssignment(void 0,!1,q.createIdentifier(Zf(ai,L0))),0):W1&&yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,Zf(ai,L0),L0)])),0)}function fl(ai){if(Oe(ai.declarations,w2))return;H.assertIsDefined(Lt[Lt.length-1]),zC(Qr(ai.escapedName),ai);const Bu=!!(ai.flags&2097152)&&!Oe(ai.declarations,dr=>!!Tn(dr,Gc)||u_(dr)||E1(dr)&&!r_(dr.moduleReference));Lt[Bu?0:Lt.length-1].set(Zo(ai),ai)}function H1(ai){return la(ai)&&(cm(ai)||W4(ai))||N1(ai)&&!Yg(ai)}function yl(ai,Bu){if(Hp(ai)){let dr=0;const nr=ze.enclosingDeclaration&&(G4(ze.enclosingDeclaration)?zn(ze.enclosingDeclaration):ze.enclosingDeclaration);Bu&32&&nr&&(H1(nr)||_c(nr))&&rV(ai)&&(dr|=32),yi&&!(dr&32)&&(!nr||!(nr.flags&33554432))&&(Iv(ai)||Jl(ai)||ed(ai)||Wc(ai)||_c(ai))&&(dr|=128),Bu&2048&&(Wc(ai)||xh(ai)||ed(ai))&&(dr|=2048),dr&&(ai=q.replaceModifiers(ai,dr|Eh(ai)))}Ou.push(ai)}function Ft(ai,Bu,dr){var nr;const hr=tdt(ai),Qs=Ur(ai).typeParameters,zo=Vt(Qs,K1=>zt(K1,ze)),so=(nr=ai.declarations)==null?void 0:nr.find(G4),ts=KO(so?so.comment||so.parent.comment:void 0),Xs=ze.flags;ze.flags|=8388608;const L0=ze.enclosingDeclaration;ze.enclosingDeclaration=so;const $h=so&&so.typeExpression&&kk(so.typeExpression)&&el(ze,so.typeExpression.type,fl,Yn)||C(hr,ze);yl(Nv(q.createTypeAliasDeclaration(void 0,Zf(ai,Bu),zo,$h),ts?[{kind:3,text:`* * `+ts.replace(/\n/g,` * `)+` - `,pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),dr),ze.flags=Xs,ze.enclosingDeclaration=L0}function $t(ai,Bu,dr){const nr=b4(ai),hr=sn(ai),Qs=Vt(hr,W1=>zt(W1,ze)),zo=Zc(nr),so=S(zo)?Ds(zo):void 0,ts=ju(n0(nr),W1=>BE(W1,so)),Xs=wE(0,nr,so,179),L0=wE(1,nr,so,180),$h=Jb(nr,so),K1=S(zo)?[q.createHeritageClause(96,qi(zo,W1=>nS(W1,111551)))]:void 0;yl(q.createInterfaceDeclaration(void 0,Zf(ai,Bu),Qs,K1,[...$h,...L0,...Xs,...ts]),dr)}function Mi(ai){const Bu=$f(ai);return Bu?ti(ga(Bu.values()),dr=>Qa(dr)&&Lm(dr.escapedName,99)):[]}function Bn(ai){return ye(Mi(ai),Bu=>!(O1(yc(Bu))&111551))}function Du(ai,Bu,dr){const nr=Mi(ai),hr=mO(nr,so=>so.parent&&so.parent===ai?"real":"merged"),Qs=hr.get("real")||_t,zo=hr.get("merged")||_t;if(S(Qs)){const so=Zf(ai,Bu);Br(Qs,so,dr,!!(ai.flags&67108880))}if(S(zo)){const so=zn(ze.enclosingDeclaration),ts=Zf(ai,Bu),Xs=q.createModuleBlock([q.createExportDeclaration(void 0,!1,q.createNamedExports(qi(ti(zo,L0=>L0.escapedName!=="export="),L0=>{var $h,K1;const W1=Yr(L0.escapedName),ml=Zf(L0,W1),y1=L0.declarations&&rp(L0);if(so&&(y1?so!==zn(y1):!Oe(L0.declarations,Yf=>zn(Yf)===so))){(K1=($h=ze.tracker)==null?void 0:$h.reportNonlocalAugmentation)==null||K1.call($h,so,ai,L0);return}const B3=y1&&E4(y1,!0);fl(B3||L0);const k1=B3?Zf(B3,Yr(B3.escapedName)):ml;return q.createExportSpecifier(!1,W1===k1?void 0:k1,W1)})))]);yl(q.createModuleDeclaration(void 0,q.createIdentifier(ts),Xs,32),0)}}function un(ai,Bu,dr){yl(q.createEnumDeclaration(q.createModifiersFromModifierFlags(pze(ai)?4096:0),Zf(ai,Bu),Vt(ti(n0(Wn(ai)),nr=>!!(nr.flags&8)),nr=>{const hr=nr.declarations&&nr.declarations[0]&&J2(nr.declarations[0])?Jze(nr.declarations[0]):void 0;return q.createEnumMember(Yr(nr.escapedName),hr===void 0?void 0:typeof hr=="string"?q.createStringLiteral(hr):q.createNumericLiteral(hr))})),dr)}function lu(ai,Bu,dr,nr){const hr=go(ai,0);for(const Qs of hr){const zo=Te(Qs,262,ze,{name:q.createIdentifier(dr),privateSymbolVisitor:fl,bundledImports:Yn});yl(Pt(zo,_r(Qs)),nr)}if(!(Bu.flags&1536&&Bu.exports&&Bu.exports.size)){const Qs=ti(n0(ai),Qa);Br(Qs,dr,nr,!0)}}function _r(ai){if(ai.declaration&&ai.declaration.parent){if(Xn(ai.declaration.parent)&&Xl(ai.declaration.parent)===5)return ai.declaration.parent;if(na(ai.declaration.parent)&&ai.declaration.parent.parent)return ai.declaration.parent.parent}return ai.declaration}function Br(ai,Bu,dr,nr){if(S(ai)){const Qs=mO(ai,ml=>!S(ml.declarations)||Oe(ml.declarations,y1=>zn(y1)===zn(ze.enclosingDeclaration))?"local":"remote").get("local")||_t;let zo=a_.createModuleDeclaration(void 0,q.createIdentifier(Bu),q.createModuleBlock([]),32);ks(zo,Mr),zo.locals=Vo(ai),zo.symbol=ai[0].parent;const so=Ou;Ou=[];const ts=yi;yi=!1;const Xs={...ze,enclosingDeclaration:zo},L0=ze;ze=Xs,cs(Vo(Qs),nr,!0),ze=L0,yi=ts;const $h=Ou;Ou=so;const K1=Vt($h,ml=>tc(ml)&&!ml.isExportEquals&&at(ml.expression)?q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,ml.expression,q.createIdentifier("default"))])):ml),W1=ye(K1,ml=>Yu(ml,32))?Vt(K1,La):K1;zo=q.updateModuleDeclaration(zo,zo.modifiers,zo.name,q.createModuleBlock(W1)),yl(zo,dr)}}function Qa(ai){return!!(ai.flags&2887656)||!(ai.flags&4194304||ai.escapedName==="prototype"||ai.valueDeclaration&&No(ai.valueDeclaration)&&mr(ai.valueDeclaration.parent))}function Oo(ai){const Bu=qi(ai,dr=>{const nr=ze.enclosingDeclaration;ze.enclosingDeclaration=dr;let hr=dr.expression;if(ec(hr)){if(at(hr)&&fu(hr)==="")return Qs(void 0);let zo;if({introducesError:zo,node:hr}=kc(hr,ze,fl),zo)return Qs(void 0)}return Qs(q.createExpressionWithTypeArguments(hr,Vt(dr.typeArguments,zo=>el(ze,zo,fl,Yn)||C(Ar(zo),ze))));function Qs(zo){return ze.enclosingDeclaration=nr,zo}});if(Bu.length===ai.length)return Bu}function Wo(ai,Bu,dr){var nr,hr;const Qs=(nr=ai.declarations)==null?void 0:nr.find(mr),zo=ze.enclosingDeclaration;ze.enclosingDeclaration=Qs||zo;const so=sn(ai),ts=Vt(so,LE=>zt(LE,ze)),Xs=xm(b4(ai)),L0=Zc(Xs),$h=Qs&&iB(Qs),K1=$h&&Oo($h)||qi(_D(Xs),BD),W1=Wn(ai),ml=!!((hr=W1.symbol)!=null&&hr.valueDeclaration)&&mr(W1.symbol.valueDeclaration),y1=ml?qc(W1):me,B3=[...S(L0)?[q.createHeritageClause(96,Vt(L0,LE=>xT(LE,y1,Bu)))]:[],...S(K1)?[q.createHeritageClause(119,K1)]:[]],k1=i0i(Xs,L0,n0(Xs)),Yf=ti(k1,LE=>{const $z=LE.valueDeclaration;return!!$z&&!(mh($z)&&Xr($z.name))}),TE=Oe(k1,LE=>{const $z=LE.valueDeclaration;return!!$z&&mh($z)&&Xr($z.name)})?[q.createPropertyDeclaration(void 0,q.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:_t,L6=ju(Yf,LE=>Er(LE,!1,L0[0])),N6=ju(ti(n0(W1),LE=>!(LE.flags&4194304)&&LE.escapedName!=="prototype"&&!Qa(LE)),LE=>Er(LE,!0,y1)),_ci=!ml&&!!ai.valueDeclaration&&Qn(ai.valueDeclaration)&&!Oe(go(W1,1))?[q.createConstructorDeclaration(q.createModifiersFromModifierFlags(2),[],void 0)]:wE(1,W1,y1,176),Dci=Jb(Xs,L0[0]);ze.enclosingDeclaration=zo,yl(Pt(q.createClassDeclaration(void 0,Bu,ts,B3,[...Dci,...N6,..._ci,...L6,...TE]),ai.declarations&&ti(ai.declarations,LE=>Wc(LE)||Xd(LE))[0]),dr)}function xr(ai){return G(ai,Bu=>{if(bf(Bu)||eh(Bu))return fu(Bu.propertyName||Bu.name);if(Xn(Bu)||tc(Bu)){const dr=tc(Bu)?Bu.expression:Bu.right;if(Iu(dr))return fu(dr.name)}if(sC(Bu)){const dr=Za(Bu);if(dr&&at(dr))return fu(dr)}})}function mo(ai,Bu,dr){var nr,hr,Qs,zo,so;const ts=rp(ai);if(!ts)return H.fail();const Xs=Ks(E4(ts,!0));if(!Xs)return;let L0=$N(Xs)&&xr(ai.declarations)||Yr(Xs.escapedName);L0==="export="&&pe&&(L0="default");const $h=Zf(Xs,L0);switch(fl(Xs),ts.kind){case 208:if(((hr=(nr=ts.parent)==null?void 0:nr.parent)==null?void 0:hr.kind)===260){const ml=_n(Xs.parent||Xs,ze),{propertyName:y1}=ts;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamedImports([q.createImportSpecifier(!1,y1&&at(y1)?q.createIdentifier(fu(y1)):void 0,q.createIdentifier(Bu))])),q.createStringLiteral(ml),void 0),0);break}H.failBadSyntaxKind(((Qs=ts.parent)==null?void 0:Qs.parent)||ts,"Unhandled binding element grandparent kind in declaration serialization");break;case 304:((so=(zo=ts.parent)==null?void 0:zo.parent)==null?void 0:so.kind)===226&&es(Yr(ai.escapedName),$h);break;case 260:if(Iu(ts.initializer)){const ml=ts.initializer,y1=q.createUniqueName(Bu),B3=_n(Xs.parent||Xs,ze);yl(q.createImportEqualsDeclaration(void 0,!1,y1,q.createExternalModuleReference(q.createStringLiteral(B3))),0),yl(q.createImportEqualsDeclaration(void 0,!1,q.createIdentifier(Bu),q.createQualifiedName(y1,ml.name)),dr);break}case 271:if(Xs.escapedName==="export="&&Oe(Xs.declarations,ml=>la(ml)&&W4(ml))){T0(ai);break}const K1=!(Xs.flags&512)&&!na(ts);yl(q.createImportEqualsDeclaration(void 0,!1,q.createIdentifier(Bu),K1?ka(Xs,ze,67108863,!1):q.createExternalModuleReference(q.createStringLiteral(_n(Xs,ze)))),K1?dr:0);break;case 270:yl(q.createNamespaceExportDeclaration(fu(ts.name)),0);break;case 273:{const ml=_n(Xs.parent||Xs,ze),y1=Yn?q.createStringLiteral(ml):ts.parent.moduleSpecifier;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,q.createIdentifier(Bu),void 0),y1,ts.parent.attributes),0);break}case 274:{const ml=_n(Xs.parent||Xs,ze),y1=Yn?q.createStringLiteral(ml):ts.parent.parent.moduleSpecifier;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamespaceImport(q.createIdentifier(Bu))),y1,ts.parent.attributes),0);break}case 280:yl(q.createExportDeclaration(void 0,!1,q.createNamespaceExport(q.createIdentifier(Bu)),q.createStringLiteral(_n(Xs,ze))),0);break;case 276:{const ml=_n(Xs.parent||Xs,ze),y1=Yn?q.createStringLiteral(ml):ts.parent.parent.parent.moduleSpecifier;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamedImports([q.createImportSpecifier(!1,Bu!==L0?q.createIdentifier(L0):void 0,q.createIdentifier(Bu))])),y1,ts.parent.parent.parent.attributes),0);break}case 281:const W1=ts.parent.parent.moduleSpecifier;es(Yr(ai.escapedName),W1?L0:$h,W1&&t0(W1)?q.createStringLiteral(W1.text):void 0);break;case 277:T0(ai);break;case 226:case 211:case 212:ai.escapedName==="default"||ai.escapedName==="export="?T0(ai):es(Bu,$h);break;default:return H.failBadSyntaxKind(ts,"Unhandled alias declaration kind in symbol serializer!")}}function es(ai,Bu,dr){yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,ai!==Bu?Bu:void 0,ai)]),dr),0)}function T0(ai){var Bu;if(ai.flags&4194304)return!1;const dr=Yr(ai.escapedName),nr=dr==="export=",Qs=nr||dr==="default",zo=ai.declarations&&rp(ai),so=zo&&E4(zo,!0);if(so&&S(so.declarations)&&Oe(so.declarations,ts=>zn(ts)===zn(Mr))){const ts=zo&&(tc(zo)||Xn(zo)?K0e(zo):fye(zo)),Xs=ts&&ec(ts)?g0i(ts):void 0,L0=Xs&&R0(Xs,67108863,!0,!0,Mr);(L0||so)&&fl(L0||so);const $h=ze.tracker.disableTrackSymbol;if(ze.tracker.disableTrackSymbol=!0,Qs)Ou.push(q.createExportAssignment(void 0,nr,ah(so,ze,67108863)));else if(Xs===ts&&Xs)es(dr,fu(Xs));else if(ts&&Xd(ts))es(dr,Zf(so,lc(so)));else{const K1=zC(dr,ai);yl(q.createImportEqualsDeclaration(void 0,!1,q.createIdentifier(K1),ka(so,ze,67108863,!1)),0),es(dr,K1)}return ze.tracker.disableTrackSymbol=$h,!0}else{const ts=zC(dr,ai),Xs=vm(Wn(Ks(ai)));if(Gs(Xs,ai))lu(Xs,ai,ts,Qs?0:32);else{const L0=((Bu=ze.enclosingDeclaration)==null?void 0:Bu.kind)===267&&(!(ai.flags&98304)||ai.flags&65536)?1:2,$h=q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ts,void 0,ad(ze,Xs,ai,Mr,fl,Yn))],L0));yl($h,so&&so.flags&4&&so.escapedName==="export="?128:dr===ts?32:0)}return Qs?(Ou.push(q.createExportAssignment(void 0,nr,q.createIdentifier(ts))),!0):dr!==ts?(es(dr,ts),!0):!1}}function Gs(ai,Bu){const dr=zn(ze.enclosingDeclaration);return Gu(ai)&48&&!S(kh(ai))&&!O9(ai)&&!!(S(ti(n0(ai),Qa))||S(go(ai,0)))&&!S(go(ai,1))&&!$n(Bu,Mr)&&!(ai.symbol&&Oe(ai.symbol.declarations,nr=>zn(nr)!==dr))&&!Oe(n0(ai),nr=>XK(nr.escapedName))&&!Oe(n0(ai),nr=>Oe(nr.declarations,hr=>zn(hr)!==dr))&&ye(n0(ai),nr=>Lm(lc(nr),Ce)?nr.flags&98304?E6(nr)===mF(nr):!0:!1)}function Hd(ai,Bu,dr){return function(hr,Qs,zo){var so,ts,Xs,L0,$h;const K1=l4(hr),W1=!!(K1&2);if(Qs&&hr.flags&2887656)return[];if(hr.flags&4194304||hr.escapedName==="constructor"||zo&&qo(zo,hr.escapedName)&&Ng(qo(zo,hr.escapedName))===Ng(hr)&&(hr.flags&16777216)===(qo(zo,hr.escapedName).flags&16777216)&&CD(Wn(hr),he(zo,hr.escapedName)))return[];const ml=K1&-1025|(Qs?256:0),y1=Kn(hr,ze),B3=(so=hr.declarations)==null?void 0:so.find(dg(ko,wx,na,Mm,Xn,Iu));if(hr.flags&98304&&dr){const k1=[];if(hr.flags&65536){const Yf=hr.declarations&&L(hr.declarations,TE=>{if(TE.kind===178)return TE;if(Mo(TE)&&rk(TE))return L(TE.arguments[2].properties,L6=>{const N6=Za(L6);if(N6&&at(N6)&&fu(N6)==="set")return L6})});H.assert(!!Yf);const uS=$0(Yf)?dp(Yf).parameters[0]:void 0;k1.push(Pt(q.createSetAccessorDeclaration(q.createModifiersFromModifierFlags(ml),y1,[q.createParameterDeclaration(void 0,void 0,uS?dn(uS,gi(uS),ze):"value",void 0,W1?void 0:ad(ze,Wn(hr),hr,Mr,fl,Yn))],void 0),((ts=hr.declarations)==null?void 0:ts.find(e5))||B3))}if(hr.flags&32768){const Yf=K1&2;k1.push(Pt(q.createGetAccessorDeclaration(q.createModifiersFromModifierFlags(ml),y1,[],Yf?void 0:ad(ze,Wn(hr),hr,Mr,fl,Yn),void 0),((Xs=hr.declarations)==null?void 0:Xs.find(Lx))||B3))}return k1}else if(hr.flags&98311)return Pt(ai(q.createModifiersFromModifierFlags((Ng(hr)?8:0)|ml),y1,hr.flags&16777216?q.createToken(58):void 0,W1?void 0:ad(ze,mF(hr),hr,Mr,fl,Yn),void 0),((L0=hr.declarations)==null?void 0:L0.find(dg(ko,na)))||B3);if(hr.flags&8208){const k1=Wn(hr),Yf=go(k1,0);if(ml&2)return Pt(ai(q.createModifiersFromModifierFlags((Ng(hr)?8:0)|ml),y1,hr.flags&16777216?q.createToken(58):void 0,void 0,void 0),(($h=hr.declarations)==null?void 0:$h.find($0))||Yf[0]&&Yf[0].declaration||hr.declarations&&hr.declarations[0]);const uS=[];for(const TE of Yf){const L6=Te(TE,Bu,ze,{name:y1,questionToken:hr.flags&16777216?q.createToken(58):void 0,modifiers:ml?q.createModifiersFromModifierFlags(ml):void 0}),N6=TE.declaration&&kj(TE.declaration.parent)?TE.declaration.parent:TE.declaration;uS.push(Pt(L6,N6))}return uS}return H.fail(`Unhandled class member kind! ${hr.__debugFlags||hr.flags}`)}}function BE(ai,Bu){return fr(ai,!1,Bu)}function wE(ai,Bu,dr,nr){const hr=go(Bu,ai);if(ai===1){if(!dr&&ye(hr,so=>S(so.parameters)===0))return[];if(dr){const so=go(dr,1);if(!S(so)&&ye(hr,ts=>S(ts.parameters)===0))return[];if(so.length===hr.length){let ts=!1;for(let Xs=0;XsC(hr,ze)),nr=ah(ai.target.symbol,ze,788968)):ai.symbol&&Ht(ai.symbol,Mr,Bu)&&(nr=ah(ai.symbol,ze,788968)),nr)return q.createExpressionWithTypeArguments(nr,dr)}function BD(ai){const Bu=nS(ai,788968);if(Bu)return Bu;if(ai.symbol)return q.createExpressionWithTypeArguments(ah(ai.symbol,ze,788968),void 0)}function zC(ai,Bu){var dr,nr;const hr=Bu?Zo(Bu):void 0;if(hr&&ze.remappedSymbolNames.has(hr))return ze.remappedSymbolNames.get(hr);Bu&&(ai=Sie(Bu,ai));let Qs=0;const zo=ai;for(;(dr=ze.usedSymbolNames)!=null&&dr.has(ai);)Qs++,ai=`${zo}_${Qs}`;return(nr=ze.usedSymbolNames)==null||nr.add(ai),hr&&ze.remappedSymbolNames.set(hr,ai),ai}function Sie(ai,Bu){if(Bu==="default"||Bu==="__class"||Bu==="__function"){const dr=ze.flags;ze.flags|=16777216;const nr=__(ai,ze);ze.flags=dr,Bu=nr.length>0&&_j(nr.charCodeAt(0))?$4(nr):nr}return Bu==="default"?Bu="_default":Bu==="export="&&(Bu="_exports"),Bu=Lm(Bu,Ce)&&!m7(Bu)?Bu:"_"+Bu.replace(/[^a-zA-Z0-9]/g,"_"),Bu}function Zf(ai,Bu){const dr=Zo(ai);return ze.remappedSymbolNames.has(dr)?ze.remappedSymbolNames.get(dr):(Bu=Sie(ai,Bu),ze.remappedSymbolNames.set(dr,Bu),Bu)}}}function E_(l,m,D=16384,C){return C?A(C).getText():GN(A);function A(w){const I=q.createTypePredicateNode(l.kind===2||l.kind===3?q.createToken(131):void 0,l.kind===1||l.kind===3?q.createIdentifier(l.parameterName):q.createThisTypeNode(),l.type&&Yt.typeToTypeNode(l.type,m,DC(D)|70221824|512)),U=X2(),Z=m&&zn(m);return U.writeNode(4,I,Z,w),w}}function M5(l){const m=[];let D=0;for(let C=0;CZa(I)?I:void 0);const w=A&&Za(A);if(A&&w){if(Mo(A)&&rk(A))return lc(l);if(Ps(w)&&!(Gl(l)&4096)){const I=Ur(l).nameType;if(I&&I.flags&384){const U=hz(l,m);if(U!==void 0)return U}}return b0(w)}if(A||(A=l.declarations[0]),A.parent&&A.parent.kind===260)return b0(A.parent.name);switch(A.kind){case 231:case 218:case 219:return m&&!m.encounteredError&&!(m.flags&131072)&&(m.encounteredError=!0),A.kind===231?"(Anonymous class)":"(Anonymous function)"}}const C=hz(l,m);return C!==void 0?C:lc(l)}function pD(l){if(l){const D=ar(l);return D.isVisible===void 0&&(D.isVisible=!!m()),D.isVisible}return!1;function m(){switch(l.kind){case 345:case 353:case 347:return!!(l.parent&&l.parent.parent&&l.parent.parent.parent&&la(l.parent.parent.parent));case 208:return pD(l.parent.parent);case 260:if(So(l.name)&&!l.name.elements.length)return!1;case 267:case 263:case 264:case 265:case 262:case 266:case 271:if(v2(l))return!0;const D=dF(l);return!(f_e(l)&32)&&!(l.kind!==271&&D.kind!==312&&D.flags&33554432)?pE(D):pD(D);case 172:case 171:case 177:case 178:case 174:case 173:if(Rf(l,6))return!1;case 176:case 180:case 179:case 181:case 169:case 268:case 184:case 185:case 187:case 183:case 188:case 189:case 192:case 193:case 196:case 202:return pD(l.parent);case 273:case 274:case 276:return!1;case 168:case 312:case 270:return!0;case 277:return!1;default:return!1}}}function qw(l,m){let D;l.parent&&l.parent.kind===277?D=uc(l,l.escapedText,2998271,void 0,l,!1):l.parent.kind===281&&(D=Db(l.parent,2998271));let C,A;return D&&(A=new Set,A.add(Zo(D)),w(D.declarations)),C;function w(I){L(I,U=>{const Z=A9(U)||U;if(m?ar(U).isVisible=!0:(C=C||[],xa(C,Z)),U8(U)){const ce=U.moduleReference,Fe=hm(ce),Te=uc(U,Fe.escapedText,901119,void 0,void 0,!1);Te&&A&&r0(A,Zo(Te))&&w(Te.declarations)}})}}function D_(l,m){const D=xC(l,m);if(D>=0){const{length:C}=cD;for(let A=D;A=lb;D--){if(mte(cD[D],Gk[D]))return-1;if(cD[D]===l&&Gk[D]===m)return D}return-1}function mte(l,m){switch(m){case 0:return!!Ur(l).type;case 5:return!!ar(l).resolvedEnumType;case 2:return!!Ur(l).declaredType;case 1:return!!l.resolvedBaseConstructorType;case 3:return!!l.resolvedReturnType;case 4:return!!l.immediateBaseConstraint;case 6:return!!l.resolvedTypeArguments;case 7:return!!l.baseTypesResolved;case 8:return!!Ur(l).writeType;case 9:return ar(l).parameterInitializerContainsUndefined!==void 0}return H.assertNever(m)}function CE(){return cD.pop(),Gk.pop(),i6.pop()}function dF(l){return Tn(XE(l),m=>{switch(m.kind){case 260:case 261:case 276:case 275:case 274:case 273:return!1;default:return!0}}).parent}function YK(l){const m=X0(cf(l));return m.typeParameters?R5(m,Vt(m.typeParameters,D=>me)):m}function he(l,m){const D=qo(l,m);return D?Wn(D):void 0}function Re(l,m){var D;let C;return he(l,m)||(C=(D=G9(l,m))==null?void 0:D.type)&&Vd(C,!0,!0)}function nt(l){return l&&(l.flags&1)!==0}function Nt(l){return l===Ot||!!(l.flags&1&&l.aliasSymbol)}function bi(l,m){if(m!==0)return gD(l,!1,m);const D=_u(l);return D&&Ur(D).type||gD(l,!1,m)}function en(l,m,D){if(l=Ic(l,Z=>!(Z.flags&98304)),l.flags&131072)return Ko;if(l.flags&1048576)return hl(l,Z=>en(Z,m,D));let C=er(Vt(m,j5));const A=[],w=[];for(const Z of n0(l)){const ce=yz(Z,8576);!ms(ce,C)&&!(l4(Z)&6)&&Oge(Z)?A.push(Z):w.push(ce)}if(Lb(l)||AC(C)){if(w.length&&(C=er([C,...w])),C.flags&131072)return l;const Z=Sei();return Z?aT(Z,[l,C]):Ot}const I=Vo();for(const Z of A)I.set(Z.escapedName,APe(Z,!1));const U=Ol(D,I,_t,_t,kh(l));return U.objectFlags|=4194304,U}function zu(l){return!!(l.flags&465829888)&&jl(Wh(l)||on,32768)}function Hr(l){const m=yE(l,zu)?hl(l,D=>D.flags&465829888?xD(D):D):l;return mp(m,524288)}function Lr(l,m){const D=gr(l);return D?w6(D,m):m}function gr(l){const m=fa(l);if(m&&Bj(m)&&m.flowNode){const D=_0(l);if(D){const C=Pt(a_.createStringLiteral(D),l),A=Df(m)?m:a_.createParenthesizedExpression(m),w=Pt(a_.createElementAccessExpression(A,C),l);return ks(C,w),ks(w,l),A!==m&&ks(A,w),w.flowNode=m.flowNode,w}}}function fa(l){const m=l.parent.parent;switch(m.kind){case 208:case 303:return gr(m);case 209:return gr(l.parent);case 260:return m.initializer;case 226:return m.right}}function _0(l){const m=l.parent;return l.kind===208&&m.kind===206?qs(l.propertyName||l.name):l.kind===303||l.kind===304?qs(l.name):""+m.elements.indexOf(l)}function qs(l){const m=j5(l);return m.flags&384?""+m.value:void 0}function Ws(l){const m=l.dotDotDotToken?32:0,D=bi(l.parent.parent,m);return D&&v4(l,D,!1)}function v4(l,m,D){if(nt(m))return m;const C=l.parent;fe&&l.flags&33554432&&w2(l)?m=FD(m):fe&&C.parent.initializer&&!fp(Iht(C.parent.initializer),65536)&&(m=mp(m,524288));let A;if(C.kind===206)if(l.dotDotDotToken){if(m=Sg(m),m.flags&2||!Yte(m))return pt(l,F.Rest_types_may_only_be_created_from_object_types),Ot;const w=[];for(const I of C.elements)I.dotDotDotToken||w.push(I.propertyName||I.name);A=en(m,w,l.symbol)}else{const w=l.propertyName||l.name,I=j5(w),U=qf(m,I,32,w);A=Lr(l,U)}else{const w=G5(65|(l.dotDotDotToken?0:128),m,te,C),I=C.elements.indexOf(l);if(l.dotDotDotToken){const U=hl(m,Z=>Z.flags&58982400?xD(Z):Z);A=e4(U,xs)?hl(U,Z=>bz(Z,I)):V1(w)}else if(H5(m)){const U=wg(I),Z=32|(D||zz(l)?16:0),ce=b6(m,U,Z,l.name)||Ot;A=Lr(l,ce)}else A=w}return l.initializer?f1(S8(l))?fe&&!fp(wW(l,0),16777216)?Hr(A):A:_ze(l,er([Hr(A),wW(l,0)],2)):A}function qp(l){const m=vv(l);if(m)return Ar(m)}function f6(l){const m=l0(l,!0);return m.kind===106||m.kind===80&&Zp(m)===st}function b3(l){const m=l0(l,!0);return m.kind===209&&m.elements.length===0}function Vd(l,m=!1,D=!0){return fe&&D?S6(l,m):l}function gD(l,m,D){if(na(l)&&l.parent.parent.kind===249){const I=k_(HMe(ya(l.parent.parent.expression,D)));return I.flags&4456448?x1t(I):ct}if(na(l)&&l.parent.parent.kind===250){const I=l.parent.parent;return Cie(I)||me}if(So(l.parent))return Ws(l);const C=ko(l)&&!eE(l)||Mm(l)||vFe(l),A=m&&PP(l),w=dt(l);if(f0e(l))return w?nt(w)||w===on?w:Ot:Ke?on:me;if(w)return Vd(w,C,A);if((Ae||Qn(l))&&na(l)&&!So(l.name)&&!(f_e(l)&32)&&!(l.flags&33554432)){if(!(Gb(l)&6)&&(!l.initializer||f6(l.initializer)))return ni;if(l.initializer&&b3(l.initializer))return Nc}if(io(l)){const I=l.parent;if(I.kind===178&&iT(I)){const ce=Sl(_u(l.parent),177);if(ce){const Fe=dp(ce),Te=Qze(I);return Te&&l===Te?(H.assert(!Te.type),Wn(Fe.thisParameter)):Zs(Fe)}}const U=eei(I,l);if(U)return U;const Z=l.symbol.escapedName==="this"?nft(I):uft(l);if(Z)return Vd(Z,!1,A)}if(Qy(l)&&l.initializer){if(Qn(l)&&!io(l)){const U=gz(l,_u(l),xj(l));if(U)return U}const I=_ze(l,wW(l,D));return Vd(I,C,A)}if(ko(l)&&(Ae||Qn(l)))if(Kc(l)){const I=ti(l.parent.members,zl),U=I.length?pte(l.symbol,I):Eh(l)&128?tEe(l.symbol):void 0;return U&&Vd(U,!0,A)}else{const I=Up(l.parent),U=I?pz(l.symbol,I):Eh(l)&128?tEe(l.symbol):void 0;return U&&Vd(U,!0,A)}if(oE(l))return du;if(So(l.name))return V9(l.name,!1,!0)}function fz(l){if(l.valueDeclaration&&Xn(l.valueDeclaration)){const m=Ur(l);return m.isConstructorDeclaredProperty===void 0&&(m.isConstructorDeclaredProperty=!1,m.isConstructorDeclaredProperty=!!Yw(l)&&ye(l.declarations,D=>Xn(D)&&kEe(D)&&(D.left.kind!==212||Pm(D.left.argumentExpression))&&!C4(void 0,D,l,D))),m.isConstructorDeclaredProperty}return!1}function Zw(l){const m=l.valueDeclaration;return m&&ko(m)&&!f1(m)&&!m.initializer&&(Ae||Qn(m))}function Yw(l){if(l.declarations)for(const m of l.declarations){const D=tf(m,!1,!1);if(D&&(D.kind===176||AE(D)))return D}}function mz(l){const m=zn(l.declarations[0]),D=Yr(l.escapedName),C=l.declarations.every(w=>Qn(w)&&I0(w)&&Y_(w.expression)),A=C?q.createPropertyAccessExpression(q.createPropertyAccessExpression(q.createIdentifier("module"),q.createIdentifier("exports")),D):q.createPropertyAccessExpression(q.createIdentifier("exports"),D);return C&&ks(A.expression.expression,A.expression),ks(A.expression,A),ks(A,m),A.flowNode=m.endFlowNode,w6(A,ni,te)}function pte(l,m){const D=Pa(l.escapedName,"__#")?q.createPrivateIdentifier(l.escapedName.split("@")[1]):Yr(l.escapedName);for(const C of m){const A=q.createPropertyAccessExpression(q.createThis(),D);ks(A.expression,A),ks(A,C),A.flowNode=C.returnFlowNode;const w=Ym(A,l);if(Ae&&(w===ni||w===Nc)&&pt(l.valueDeclaration,F.Member_0_implicitly_has_an_1_type,Fr(l),gn(w)),!e4(w,tie))return RW(w)}}function pz(l,m){const D=Pa(l.escapedName,"__#")?q.createPrivateIdentifier(l.escapedName.split("@")[1]):Yr(l.escapedName),C=q.createPropertyAccessExpression(q.createThis(),D);ks(C.expression,C),ks(C,m),C.flowNode=m.returnFlowNode;const A=Ym(C,l);return Ae&&(A===ni||A===Nc)&&pt(l.valueDeclaration,F.Member_0_implicitly_has_an_1_type,Fr(l),gn(A)),e4(A,tie)?void 0:RW(A)}function Ym(l,m){const D=(m==null?void 0:m.valueDeclaration)&&(!Zw(m)||Eh(m.valueDeclaration)&128)&&tEe(m)||te;return w6(l,ni,D)}function ED(l,m){const D=l7(l.valueDeclaration);if(D){const U=Qn(D)?xv(D):void 0;return U&&U.typeExpression?Ar(U.typeExpression):l.valueDeclaration&&gz(l.valueDeclaration,l,D)||Ib(Rc(D))}let C,A=!1,w=!1;if(fz(l)&&(C=pz(l,Yw(l))),!C){let U;if(l.declarations){let Z;for(const ce of l.declarations){const Fe=Xn(ce)||Mo(ce)?ce:I0(ce)?Xn(ce.parent)?ce.parent:ce:void 0;if(!Fe)continue;const Te=I0(Fe)?yj(Fe):Xl(Fe);(Te===4||Xn(Fe)&&kEe(Fe,Te))&&(Mc(Fe)?A=!0:w=!0),Mo(Fe)||(Z=C4(Z,Fe,l,ce)),Z||(U||(U=[])).push(Xn(Fe)||Mo(Fe)?Qw(l,m,Fe,Te):Ku)}C=Z}if(!C){if(!S(U))return Ot;let Z=A&&l.declarations?m6(U,l.declarations):void 0;if(w){const Fe=tEe(l);Fe&&((Z||(Z=[])).push(Fe),A=!0)}const ce=Oe(Z,Fe=>!!(Fe.flags&-98305))?Z:U;C=er(ce)}}const I=vm(Vd(C,!1,w&&!A));return l.valueDeclaration&&Qn(l.valueDeclaration)&&Ic(I,U=>!!(U.flags&-98305))===Ku?(LC(l.valueDeclaration,me),me):I}function gz(l,m,D){var C,A;if(!Qn(l)||!D||!ys(D)||D.properties.length)return;const w=Vo();for(;Xn(l)||Iu(l);){const Z=Dm(l);(C=Z==null?void 0:Z.exports)!=null&&C.size&&mE(w,Z.exports),l=Xn(l)?l.parent:l.parent.parent}const I=Dm(l);(A=I==null?void 0:I.exports)!=null&&A.size&&mE(w,I.exports);const U=Ol(m,w,_t,_t,_t);return U.objectFlags|=4096,U}function C4(l,m,D,C){var A;const w=f1(m.parent);if(w){const I=vm(Ar(w));if(l)!Nt(l)&&!Nt(I)&&!CD(l,I)&&a4t(void 0,l,C,I);else return I}if((A=D.parent)!=null&&A.valueDeclaration){const I=f1(D.parent.valueDeclaration);if(I){const U=qo(Ar(I),D.escapedName);if(U)return E6(U)}}return l}function Qw(l,m,D,C){if(Mo(D)){if(m)return Wn(m);const I=Rc(D.arguments[2]),U=he(I,"value");if(U)return U;const Z=he(I,"get");if(Z){const Fe=wF(Z);if(Fe)return Zs(Fe)}const ce=he(I,"set");if(ce){const Fe=wF(ce);if(Fe)return lze(Fe)}return me}if(Ms(D.left,D.right))return me;const A=C===1&&(Iu(D.left)||U0(D.left))&&(Y_(D.left.expression)||at(D.left.expression)&&uk(D.left.expression)),w=m?Wn(m):A?Jh(Rc(D.right)):Ib(Rc(D.right));if(w.flags&524288&&C===2&&l.escapedName==="export="){const I=Ag(w),U=Vo();qU(I.members,U);const Z=U.size;m&&!m.exports&&(m.exports=Vo()),(m||l).exports.forEach((Fe,Te)=>{var $e;const ut=U.get(Te);if(ut&&ut!==Fe&&!(Fe.flags&2097152))if(Fe.flags&111551&&ut.flags&111551){if(Fe.valueDeclaration&&ut.valueDeclaration&&zn(Fe.valueDeclaration)!==zn(ut.valueDeclaration)){const gi=Yr(Fe.escapedName),Wi=(($e=ur(ut.valueDeclaration,mh))==null?void 0:$e.name)||ut.valueDeclaration;Es(pt(Fe.valueDeclaration,F.Duplicate_identifier_0,gi),Su(Wi,F._0_was_also_declared_here,gi)),Es(pt(Wi,F.Duplicate_identifier_0,gi),Su(Fe.valueDeclaration,F._0_was_also_declared_here,gi))}const zt=Hs(Fe.flags|ut.flags,Te);zt.links.type=er([Wn(Fe),Wn(ut)]),zt.valueDeclaration=ut.valueDeclaration,zt.declarations=Hi(ut.declarations,Fe.declarations),U.set(Te,zt)}else U.set(Te,up(Fe,ut));else U.set(Te,Fe)});const ce=Ol(Z!==U.size?void 0:I.symbol,U,I.callSignatures,I.constructSignatures,I.indexInfos);if(Z===U.size&&(w.aliasSymbol&&(ce.aliasSymbol=w.aliasSymbol,ce.aliasTypeArguments=w.aliasTypeArguments),Gu(w)&4)){ce.aliasSymbol=w.symbol;const Fe=O0(w);ce.aliasTypeArguments=S(Fe)?Fe:void 0}return ce.objectFlags|=Gu(w)&4096,ce.symbol&&ce.symbol.flags&32&&w===b4(ce.symbol)&&(ce.objectFlags|=16777216),ce}return nEe(w)?(LC(D,ql),ql):w}function Ms(l,m){return Iu(l)&&l.expression.kind===110&&uM(m,D=>C1(l,D))}function Mc(l){const m=tf(l,!1,!1);return m.kind===176||m.kind===262||m.kind===218&&!kj(m.parent)}function m6(l,m){return H.assert(l.length===m.length),l.filter((D,C)=>{const A=m[C],w=Xn(A)?A:Xn(A.parent)?A.parent:void 0;return w&&Mc(w)})}function hF(l,m,D){if(l.initializer){const C=So(l.name)?V9(l.name,!0,!1):on;return Vd(_ze(l,wW(l,0,C)))}return So(l.name)?V9(l.name,m,D):(D&&!ke(l)&&LC(l,me),m?$i:me)}function gte(l,m,D){const C=Vo();let A,w=131200;L(l.elements,U=>{const Z=U.propertyName||U.name;if(U.dotDotDotToken){A=y_(ct,me,!1);return}const ce=j5(Z);if(!Y4(ce)){w|=512;return}const Fe=Q4(ce),Te=4|(U.initializer?16777216:0),$e=Hs(Te,Fe);$e.links.type=hF(U,m,D),$e.links.bindingElement=U,C.set($e.escapedName,$e)});const I=Ol(void 0,C,_t,_t,A?[A]:_t);return I.objectFlags|=w,m&&(I.pattern=l,I.objectFlags|=131072),I}function x_(l,m,D){const C=l.elements,A=qu(C),w=A&&A.kind===208&&A.dotDotDotToken?A:void 0;if(C.length===0||C.length===1&&w)return Ce>=2?u1t(me):ql;const I=Vt(C,Fe=>Fd(Fe)?me:hF(Fe,m,D)),U=Ze(C,Fe=>!(Fe===w||Fd(Fe)||zz(Fe)),C.length-1)+1,Z=Vt(C,(Fe,Te)=>Fe===w?4:Te>=U?2:1);let ce=Bg(I,Z);return m&&(ce=Odt(ce),ce.pattern=l,ce.objectFlags|=131072),ce}function V9(l,m=!1,D=!1){return l.kind===206?gte(l,m,D):x_(l,m,D)}function N(l,m){return ee(gD(l,!0,0),l,m)}function W(l){const m=Dm(l),D=gei(!1);return D&&m&&m===D}function ee(l,m,D){return l?(l.flags&4096&&W(m.parent)&&(l=SPe(m)),D&&hEe(m,l),l.flags&8192&&(js(m)||!m.type)&&l.symbol!==_u(m)&&(l=Xu),vm(l)):(l=io(m)&&m.dotDotDotToken?ql:me,D&&(ke(m)||LC(m,l)),l)}function ke(l){const m=XE(l),D=m.kind===169?m.parent:m;return Eie(D)}function dt(l){const m=f1(l);if(m)return Ar(m)}function Bi(l){let m=l.valueDeclaration;return m?(js(m)&&(m=S8(m)),io(m)?Uge(m.parent):!1):!1}function au(l){const m=Ur(l);if(!m.type){const D=za(l);return!m.type&&!Bi(l)&&(m.type=D),D}return m.type}function za(l){if(l.flags&4194304)return YK(l);if(l===ei)return me;if(l.flags&134217728&&l.valueDeclaration){const C=_u(zn(l.valueDeclaration)),A=Hs(C.flags,"exports");A.declarations=C.declarations?C.declarations.slice():[],A.parent=l,A.links.target=C,C.valueDeclaration&&(A.valueDeclaration=C.valueDeclaration),C.members&&(A.members=new Map(C.members)),C.exports&&(A.exports=new Map(C.exports));const w=Vo();return w.set("exports",A),Ol(l,w,_t,_t,_t)}H.assertIsDefined(l.valueDeclaration);const m=l.valueDeclaration;if(la(m)&&W4(m))return m.statements.length?vm(Ib(ya(m.statements[0].expression))):Ko;if(wx(m))return vC(l);if(!D_(l,0))return l.flags&512&&!(l.flags&67108864)?Ez(l):Xw(l);let D;if(m.kind===277)D=ee(dt(m)||Rc(m.expression),m);else if(Xn(m)||Qn(m)&&(Mo(m)||(Iu(m)||yq(m))&&Xn(m.parent)))D=ED(l);else if(Iu(m)||U0(m)||at(m)||t0(m)||Of(m)||Wc(m)||ed(m)||dc(m)&&!zp(m)||n3(m)||la(m)){if(l.flags&9136)return Ez(l);D=Xn(m.parent)?ED(l):dt(m)||me}else if(Jc(m))D=dt(m)||Lmt(m);else if(oE(m))D=dt(m)||gft(m);else if(pm(m))D=dt(m)||Oz(m.name,0);else if(zp(m))D=dt(m)||Nmt(m,0);else if(io(m)||ko(m)||Mm(m)||na(m)||js(m)||WO(m))D=N(m,!0);else if(Iv(m))D=Ez(l);else if(J2(m))D=xge(l);else return H.fail("Unhandled declaration kind! "+H.formatSyntaxKind(m.kind)+" for "+H.formatSymbol(l));return CE()?D:l.flags&512&&!(l.flags&67108864)?Ez(l):Xw(l)}function i0(l){if(l)switch(l.kind){case 177:return U4(l);case 178:return bye(l);case 172:return H.assert(eE(l)),f1(l)}}function Qm(l){const m=i0(l);return m&&Ar(m)}function p6(l){const m=Qze(l);return m&&m.symbol}function g6(l){return kC(dp(l))}function vC(l){const m=Ur(l);if(!m.type){if(!D_(l,0))return Ot;const D=Sl(l,177),C=Sl(l,178),A=ur(Sl(l,172),ef);let w=D&&Qn(D)&&qp(D)||Qm(D)||Qm(C)||Qm(A)||D&&D.body&&HEe(D)||A&&A.initializer&&N(A,!0);w||(C&&!Eie(C)?g4(Ae,C,F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Fr(l)):D&&!Eie(D)?g4(Ae,D,F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Fr(l)):A&&!Eie(A)&&g4(Ae,A,F.Member_0_implicitly_has_an_1_type,Fr(l),"any"),w=me),CE()||(i0(D)?pt(D,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fr(l)):i0(C)||i0(A)?pt(C,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fr(l)):D&&Ae&&pt(D,F._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,Fr(l)),w=me),m.type=w}return m.type}function Dge(l){const m=Ur(l);if(!m.writeType){if(!D_(l,8))return Ot;const D=Sl(l,178)??ur(Sl(l,172),ef);let C=Qm(D);CE()||(i0(D)&&pt(D,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fr(l)),C=me),m.writeType=C||vC(l)}return m.writeType}function fF(l){const m=qc(b4(l));return m.flags&8650752?m:m.flags&2097152?Le(m.types,D=>!!(D.flags&8650752)):void 0}function Ez(l){let m=Ur(l);const D=m;if(!m.type){const C=l.valueDeclaration&&jEe(l.valueDeclaration,!1);if(C){const A=nze(l,C);A&&(l=A,m=A.links)}D.type=m.type=BNe(l)}return m.type}function BNe(l){const m=l.valueDeclaration;if(l.flags&1536&&$N(l))return me;if(m&&(m.kind===226||I0(m)&&m.parent.kind===226))return ED(l);if(l.flags&512&&m&&la(m)&&m.commonJsModuleIndicator){const C=_m(l);if(C!==l){if(!D_(l,0))return Ot;const A=Ks(l.exports.get("export=")),w=ED(A,A===C?void 0:C);return CE()?w:Xw(l)}}const D=D4(16,l);if(l.flags&32){const C=fF(l);return C?Ds([D,C]):D}else return fe&&l.flags&16777216?S6(D,!0):D}function xge(l){const m=Ur(l);return m.type||(m.type=udt(l))}function Ete(l){const m=Ur(l);if(!m.type){if(!D_(l,0))return Ot;const D=md(l),C=l.declarations&&E4(rp(l),!0),A=G(C==null?void 0:C.declarations,w=>tc(w)?dt(w):void 0);if(m.type=C!=null&&C.declarations&&u_e(C.declarations)&&l.declarations.length?mz(C):u_e(l.declarations)?ni:A||(O1(D)&111551?Wn(D):Ot),!CE())return Xw(C??l),m.type=Ot}return m.type}function wNe(l){const m=Ur(l);return m.type||(m.type=_a(Wn(m.target),m.mapper))}function vge(l){const m=Ur(l);return m.writeType||(m.writeType=_a(mF(m.target),m.mapper))}function Xw(l){const m=l.valueDeclaration;if(m){if(f1(m))return pt(l.valueDeclaration,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fr(l)),Ot;Ae&&(m.kind!==169||m.initializer)&&pt(l.valueDeclaration,F._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Fr(l))}else if(l.flags&2097152){const D=rp(l);D&&pt(D,F.Circular_definition_of_import_alias_0,Fr(l))}return me}function Cge(l){const m=Ur(l);return m.type||(H.assertIsDefined(m.deferralParent),H.assertIsDefined(m.deferralConstituents),m.type=m.deferralParent.flags&1048576?er(m.deferralConstituents):Ds(m.deferralConstituents)),m.type}function TNe(l){const m=Ur(l);return!m.writeType&&m.deferralWriteConstituents&&(H.assertIsDefined(m.deferralParent),H.assertIsDefined(m.deferralConstituents),m.writeType=m.deferralParent.flags&1048576?er(m.deferralWriteConstituents):Ds(m.deferralWriteConstituents)),m.writeType}function mF(l){const m=Gl(l);return l.flags&4?m&2?m&65536?TNe(l)||Cge(l):l.links.writeType||l.links.type:B6(Wn(l),!!(l.flags&16777216)):l.flags&98304?m&1?vge(l):Dge(l):Wn(l)}function Wn(l){const m=Gl(l);return m&65536?Cge(l):m&1?wNe(l):m&262144?MXt(l):m&8192?qii(l):l.flags&7?au(l):l.flags&9136?Ez(l):l.flags&8?xge(l):l.flags&98304?vC(l):l.flags&2097152?Ete(l):Ot}function E6(l){return B6(Wn(l),!!(l.flags&16777216))}function CC(l,m){return l!==void 0&&m!==void 0&&(Gu(l)&4)!==0&&l.target===m}function eT(l){return Gu(l)&4?l.target:l}function H9(l,m){return D(l);function D(C){if(Gu(C)&7){const A=eT(C);return A===m||Oe(Zc(A),D)}else if(C.flags&2097152)return Oe(C.types,D);return!1}}function Sb(l,m){for(const D of m)l=e0(l,gF(_u(D)));return l}function _z(l,m){for(;;){if(l=l.parent,l&&Xn(l)){const D=Xl(l);if(D===6||D===3){const C=_u(l.left);C&&C.parent&&!Tn(C.parent.valueDeclaration,A=>l===A)&&(l=C.parent.valueDeclaration)}}if(!l)return;switch(l.kind){case 263:case 231:case 264:case 179:case 180:case 173:case 184:case 185:case 324:case 262:case 174:case 218:case 219:case 265:case 352:case 353:case 347:case 345:case 200:case 194:{const C=_z(l,m);if(l.kind===200)return xi(C,gF(_u(l.typeParameter)));if(l.kind===194)return Hi(C,w1t(l));const A=Sb(C,Sx(l)),w=m&&(l.kind===263||l.kind===231||l.kind===264||AE(l))&&b4(_u(l)).thisType;return w?xi(A,w):A}case 348:const D=Tj(l);D&&(l=D.valueDeclaration);break;case 327:{const C=_z(l,m);return l.tags?Sb(C,ju(l.tags,A=>_g(A)?A.typeParameters:void 0)):C}}}}function Bb(l){var m;const D=l.flags&32||l.flags&16?l.valueDeclaration:(m=l.declarations)==null?void 0:m.find(C=>{if(C.kind===264)return!0;if(C.kind!==260)return!1;const A=C.initializer;return!!A&&(A.kind===218||A.kind===219)});return H.assert(!!D,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),_z(D)}function sn(l){if(!l.declarations)return;let m;for(const D of l.declarations)(D.kind===264||D.kind===263||D.kind===231||AE(D)||Sj(D))&&(m=Sb(m,Sx(D)));return m}function Qu(l){return Hi(Bb(l),sn(l))}function Hu(l){const m=go(l,1);if(m.length===1){const D=m[0];if(!D.typeParameters&&D.parameters.length===1&&th(D)){const C=lie(D.parameters[0]);return nt(C)||WPe(C)===me}}return!1}function Or(l){if(go(l,1).length>0)return!0;if(l.flags&8650752){const m=Wh(l);return!!m&&Hu(m)}return!1}function Vr(l){const m=tD(l.symbol);return m&&Qg(m)}function Rs(l,m,D){const C=S(m),A=Qn(D);return ti(go(l,1),w=>(A||C>=b_(w.typeParameters))&&C<=S(w.typeParameters))}function D0(l,m,D){const C=Rs(l,m,D),A=Vt(m,Ar);return Lu(C,w=>Oe(w.typeParameters)?rW(w,A,Qn(D)):w)}function qc(l){if(!l.resolvedBaseConstructorType){const m=tD(l.symbol),D=m&&Qg(m),C=Vr(l);if(!C)return l.resolvedBaseConstructorType=te;if(!D_(l,1))return Ot;const A=ya(C.expression);if(D&&C!==D&&(H.assert(!D.typeArguments),ya(D.expression)),A.flags&2621440&&Ag(A),!CE())return pt(l.symbol.valueDeclaration,F._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Fr(l.symbol)),l.resolvedBaseConstructorType=Ot;if(!(A.flags&1)&&A!==Ct&&!Or(A)){const w=pt(C.expression,F.Type_0_is_not_a_constructor_function_type,gn(A));if(A.flags&262144){const I=vz(A);let U=on;if(I){const Z=go(I,1);Z[0]&&(U=Zs(Z[0]))}A.symbol.declarations&&Es(w,Su(A.symbol.declarations[0],F.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Fr(A.symbol),gn(U)))}return l.resolvedBaseConstructorType=Ot}l.resolvedBaseConstructorType=A}return l.resolvedBaseConstructorType}function _D(l){let m=_t;if(l.symbol.declarations)for(const D of l.symbol.declarations){const C=iB(D);if(C)for(const A of C){const w=Ar(A);Nt(w)||(m===_t?m=[w]:m.push(w))}}return m}function v_(l,m){pt(l,F.Type_0_recursively_references_itself_as_a_base_type,gn(m,void 0,2))}function Zc(l){if(!l.baseTypesResolved){if(D_(l,7)&&(l.objectFlags&8?l.resolvedBaseTypes=[z5(l)]:l.symbol.flags&96?(l.symbol.flags&32&&QK(l),l.symbol.flags&64&&dXt(l)):H.fail("type must be class or interface"),!CE()&&l.symbol.declarations))for(const m of l.symbol.declarations)(m.kind===263||m.kind===264)&&v_(m,l);l.baseTypesResolved=!0}return l.resolvedBaseTypes}function z5(l){const m=Lu(l.typeParameters,(D,C)=>l.elementFlags[C]&8?qf(D,Qt):D);return V1(er(m||_t),l.readonly)}function QK(l){l.resolvedBaseTypes=_Z;const m=Gh(qc(l));if(!(m.flags&2621441))return l.resolvedBaseTypes=_t;const D=Vr(l);let C;const A=m.symbol?X0(m.symbol):void 0;if(m.symbol&&m.symbol.flags&32&&tT(A))C=jdt(D,m.symbol);else if(m.flags&1)C=m;else{const I=D0(m,D.typeArguments,D);if(!I.length)return pt(D.expression,F.No_base_constructor_has_the_specified_number_of_type_arguments),l.resolvedBaseTypes=_t;C=Zs(I[0])}if(Nt(C))return l.resolvedBaseTypes=_t;const w=Sg(C);if(!pF(w)){const I=$Ne(void 0,C),U=ro(I,F.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,gn(w));return Vs.add(Y3(zn(D.expression),D.expression,U)),l.resolvedBaseTypes=_t}return l===w||H9(w,l)?(pt(l.symbol.valueDeclaration,F.Type_0_recursively_references_itself_as_a_base_type,gn(l,void 0,2)),l.resolvedBaseTypes=_t):(l.resolvedBaseTypes===_Z&&(l.members=void 0),l.resolvedBaseTypes=[w])}function tT(l){const m=l.outerTypeParameters;if(m){const D=m.length-1,C=O0(l);return m[D].symbol!==C[D].symbol}return!0}function pF(l){if(l.flags&262144){const m=Wh(l);if(m)return pF(m)}return!!(l.flags&67633153&&!Xm(l)||l.flags&2097152&&ye(l.types,pF))}function dXt(l){if(l.resolvedBaseTypes=l.resolvedBaseTypes||_t,l.symbol.declarations){for(const m of l.symbol.declarations)if(m.kind===264&&rP(m))for(const D of rP(m)){const C=Sg(Ar(D));Nt(C)||(pF(C)?l!==C&&!H9(C,l)?l.resolvedBaseTypes===_t?l.resolvedBaseTypes=[C]:l.resolvedBaseTypes.push(C):v_(m,l):pt(D,F.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}function hXt(l){if(!l.declarations)return!0;for(const m of l.declarations)if(m.kind===264){if(m.flags&256)return!1;const D=rP(m);if(D){for(const C of D)if(ec(C.expression)){const A=R0(C.expression,788968,!0);if(!A||!(A.flags&64)||b4(A).thisType)return!1}}}return!0}function b4(l){let m=Ur(l);const D=m;if(!m.declaredType){const C=l.flags&32?1:2,A=nze(l,l.valueDeclaration&&qri(l.valueDeclaration));A&&(l=A,m=A.links);const w=D.declaredType=m.declaredType=D4(C,l),I=Bb(l),U=sn(l);(I||U||C===1||!hXt(l))&&(w.objectFlags|=4,w.typeParameters=Hi(I,U),w.outerTypeParameters=I,w.localTypeParameters=U,w.instantiations=new Map,w.instantiations.set(hp(w.typeParameters),w),w.target=w,w.resolvedTypeArguments=w.typeParameters,w.thisType=j1(l),w.thisType.isThisType=!0,w.thisType.constraint=w)}return m.declaredType}function tdt(l){var m;const D=Ur(l);if(!D.declaredType){if(!D_(l,2))return Ot;const C=H.checkDefined((m=l.declarations)==null?void 0:m.find(Sj),"Type alias symbol with no valid declaration found"),A=G4(C)?C.typeExpression:C.type;let w=A?Ar(A):Ot;if(CE()){const I=sn(l);I&&(D.typeParameters=I,D.instantiations=new Map,D.instantiations.set(hp(I),w))}else w=Ot,C.kind===347?pt(C.typeExpression.type,F.Type_alias_0_circularly_references_itself,Fr(l)):pt(mh(C)&&C.name||C,F.Type_alias_0_circularly_references_itself,Fr(l));D.declaredType=w}return D.declaredType}function bge(l){return l.flags&1056&&l.symbol.flags&8?X0(cf(l.symbol)):l}function idt(l){const m=Ur(l);if(!m.declaredType){const D=[];if(l.declarations){for(const A of l.declarations)if(A.kind===266){for(const w of A.members)if(iT(w)){const I=_u(w),U=jW(w),Z=Z9(U!==void 0?wti(U,Zo(l),I):ndt(I));Ur(I).declaredType=Z,D.push(Jh(Z))}}}const C=D.length?er(D,1,l,void 0):ndt(l);C.flags&1048576&&(C.flags|=1024,C.symbol=l),m.declaredType=C}return m.declaredType}function ndt(l){const m=N5(32,l),D=N5(32,l);return m.regularType=m,m.freshType=D,D.regularType=m,D.freshType=D,m}function udt(l){const m=Ur(l);if(!m.declaredType){const D=idt(cf(l));m.declaredType||(m.declaredType=D)}return m.declaredType}function gF(l){const m=Ur(l);return m.declaredType||(m.declaredType=j1(l))}function fXt(l){const m=Ur(l);return m.declaredType||(m.declaredType=X0(md(l)))}function X0(l){return rdt(l)||Ot}function rdt(l){if(l.flags&96)return b4(l);if(l.flags&524288)return tdt(l);if(l.flags&262144)return gF(l);if(l.flags&384)return idt(l);if(l.flags&8)return udt(l);if(l.flags&2097152)return fXt(l)}function _te(l){switch(l.kind){case 133:case 159:case 154:case 150:case 163:case 136:case 155:case 151:case 116:case 157:case 146:case 201:return!0;case 188:return _te(l.elementType);case 183:return!l.typeArguments||l.typeArguments.every(_te)}return!1}function mXt(l){const m=w8(l);return!m||_te(m)}function adt(l){const m=f1(l);return m?_te(m):!Nx(l)}function pXt(l){const m=U4(l),D=Sx(l);return(l.kind===176||!!m&&_te(m))&&l.parameters.every(adt)&&D.every(mXt)}function gXt(l){if(l.declarations&&l.declarations.length===1){const m=l.declarations[0];if(m)switch(m.kind){case 172:case 171:return adt(m);case 174:case 173:case 176:case 177:case 178:return pXt(m)}}return!1}function odt(l,m,D){const C=Vo();for(const A of l)C.set(A.escapedName,D&&gXt(A)?A:wPe(A,m));return C}function sdt(l,m){for(const D of m){if(ldt(D))continue;const C=l.get(D.escapedName);(!C||C.valueDeclaration&&Xn(C.valueDeclaration)&&!fz(C)&&!Qbe(C.valueDeclaration))&&(l.set(D.escapedName,D),l.set(D.escapedName,D))}}function ldt(l){return!!l.valueDeclaration&&ph(l.valueDeclaration)&&No(l.valueDeclaration)}function LNe(l){if(!l.declaredProperties){const m=l.symbol,D=_6(m);l.declaredProperties=Ab(D),l.declaredCallSignatures=_t,l.declaredConstructSignatures=_t,l.declaredIndexInfos=_t,l.declaredCallSignatures=wb(D.get("__call")),l.declaredConstructSignatures=wb(D.get("__new")),l.declaredIndexInfos=zdt(m)}return l}function NNe(l){if(!Ps(l)&&!U0(l))return!1;const m=Ps(l)?l.expression:l.argumentExpression;return ec(m)&&Y4(Ps(l)?F3(l):Rc(m))}function XK(l){return l.charCodeAt(0)===95&&l.charCodeAt(1)===95&&l.charCodeAt(2)===64}function Dte(l){const m=Za(l);return!!m&&NNe(m)}function iT(l){return!Ix(l)||Dte(l)}function EXt(l){return Lq(l)&&!NNe(l)}function _Xt(l,m,D){H.assert(!!(Gl(l)&4096),"Expected a late-bound symbol."),l.flags|=D,Ur(m.symbol).lateSymbol=l,l.declarations?m.symbol.isReplaceableByMethod||l.declarations.push(m):l.declarations=[m],D&111551&&(!l.valueDeclaration||l.valueDeclaration.kind!==m.kind)&&(l.valueDeclaration=m)}function cdt(l,m,D,C){H.assert(!!C.symbol,"The member is expected to have a symbol.");const A=ar(C);if(!A.resolvedSymbol){A.resolvedSymbol=C.symbol;const w=Xn(C)?C.left:C.name,I=U0(w)?Rc(w.argumentExpression):F3(w);if(Y4(I)){const U=Q4(I),Z=C.symbol.flags;let ce=D.get(U);ce||D.set(U,ce=Hs(0,U,4096));const Fe=m&&m.get(U);if(!(l.flags&32)&&(ce.flags&eF(Z)||Fe)){const Te=Fe?Hi(Fe.declarations,ce.declarations):ce.declarations,$e=!(I.flags&8192)&&Yr(U)||b0(w);L(Te,ut=>pt(Za(ut)||ut,F.Property_0_was_also_declared_here,$e)),pt(w||C,F.Duplicate_property_0,$e),ce=Hs(0,U,4096)}return ce.links.nameType=I,_Xt(ce,C,Z),ce.parent?H.assert(ce.parent===l,"Existing symbol parent should match new one"):ce.parent=l,A.resolvedSymbol=ce}}return A.resolvedSymbol}function PNe(l,m){var D,C,A;const w=Ur(l);if(!w[m]){const I=m==="resolvedExports",U=I?l.flags&1536?R9(l).exports:l.exports:l.members;w[m]=U||se;const Z=Vo();for(const Te of l.declarations||_t){const $e=Wbe(Te);if($e)for(const ut of $e)I===Kc(ut)&&Dte(ut)&&cdt(l,U,Z,ut)}const ce=(((D=l.valueDeclaration)==null?void 0:D.kind)===219||((C=l.valueDeclaration)==null?void 0:C.kind)===218)&&((A=Dm(l.valueDeclaration.parent))==null?void 0:A.assignmentDeclarationMembers)||l.assignmentDeclarationMembers;if(ce){const Te=ga(ce.values());for(const $e of Te){const ut=Xl($e),zt=ut===3||Xn($e)&&kEe($e,ut)||ut===9||ut===6;I===!zt&&Dte($e)&&cdt(l,U,Z,$e)}}let Fe=tF(U,Z);if(l.flags&33554432&&w.cjsExportMerged&&l.declarations)for(const Te of l.declarations){const $e=Ur(Te.symbol)[m];if(!Fe){Fe=$e;continue}$e&&$e.forEach((ut,zt)=>{const gi=Fe.get(zt);if(!gi)Fe.set(zt,ut);else{if(gi===ut)return;Fe.set(zt,up(gi,ut))}})}w[m]=Fe||se}return w[m]}function _6(l){return l.flags&6256?PNe(l,"resolvedMembers"):l.members||se}function yge(l){if(l.flags&106500&&l.escapedName==="__computed"){const m=Ur(l);if(!m.lateSymbol&&Oe(l.declarations,Dte)){const D=Ks(l.parent);Oe(l.declarations,Kc)?$f(D):_6(D)}return m.lateSymbol||(m.lateSymbol=l)}return l}function xm(l,m,D){if(Gu(l)&4){const C=l.target,A=O0(l);return S(C.typeParameters)===S(A)?R5(C,Hi(A,[m||C.thisType])):l}else if(l.flags&2097152){const C=Lu(l.types,A=>xm(A,m,D));return C!==l.types?Ds(C):l}return D?Gh(l):l}function ddt(l,m,D,C){let A,w,I,U,Z;zi(D,C,0,D.length)?(w=m.symbol?_6(m.symbol):Vo(m.declaredProperties),I=m.declaredCallSignatures,U=m.declaredConstructSignatures,Z=m.declaredIndexInfos):(A=Sf(D,C),w=odt(m.declaredProperties,A,D.length===1),I=Kge(m.declaredCallSignatures,A),U=Kge(m.declaredConstructSignatures,A),Z=z1t(m.declaredIndexInfos,A));const ce=Zc(m);if(ce.length){if(m.symbol&&w===_6(m.symbol)){const Te=Vo();for(const $e of w.values())$e.flags&262144||Te.set($e.escapedName,$e);w=Te}x4(l,w,I,U,Z);const Fe=qu(C);for(const Te of ce){const $e=Fe?xm(_a(Te,A),Fe):Te;sdt(w,n0($e)),I=Hi(I,go($e,0)),U=Hi(U,go($e,1));const ut=$e!==me?kh($e):[y_(ct,me,!1)];Z=Hi(Z,ti(ut,zt=>!UNe(Z,zt.keyType)))}}x4(l,w,I,U,Z)}function DXt(l){ddt(l,LNe(l),_t,_t)}function xXt(l){const m=LNe(l.target),D=Hi(m.typeParameters,[m.thisType]),C=O0(l),A=C.length===D.length?C:Hi(C,[l]);ddt(l,m,D,A)}function y3(l,m,D,C,A,w,I,U){const Z=new B(Pi,U);return Z.declaration=l,Z.typeParameters=m,Z.parameters=C,Z.thisParameter=D,Z.resolvedReturnType=A,Z.resolvedTypePredicate=w,Z.minArgumentCount=I,Z.resolvedMinArgumentCount=void 0,Z.target=void 0,Z.mapper=void 0,Z.compositeSignatures=void 0,Z.compositeKind=void 0,Z}function eW(l){const m=y3(l.declaration,l.typeParameters,l.thisParameter,l.parameters,void 0,void 0,l.minArgumentCount,l.flags&167);return m.target=l.target,m.mapper=l.mapper,m.compositeSignatures=l.compositeSignatures,m.compositeKind=l.compositeKind,m}function hdt(l,m){const D=eW(l);return D.compositeSignatures=m,D.compositeKind=1048576,D.target=void 0,D.mapper=void 0,D}function vXt(l,m){if((l.flags&24)===m)return l;l.optionalCallSignatureCache||(l.optionalCallSignatureCache={});const D=m===8?"inner":"outer";return l.optionalCallSignatureCache[D]||(l.optionalCallSignatureCache[D]=CXt(l,m))}function CXt(l,m){H.assert(m===8||m===16,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");const D=eW(l);return D.flags|=m,D}function fdt(l,m){if(th(l)){const A=l.parameters.length-1,w=l.parameters[A].escapedName,I=Wn(l.parameters[A]);if(xs(I))return[D(I,A,w)];if(!m&&I.flags&1048576&&ye(I.types,xs))return Vt(I.types,U=>D(U,A,w))}return[l.parameters];function D(A,w,I){const U=O0(A),Z=C(A,I),ce=Vt(U,(Fe,Te)=>{const $e=Z&&Z[Te]?Z[Te]:Iz(l,w+Te,A),ut=A.target.elementFlags[Te],zt=ut&12?32768:ut&2?16384:0,gi=Hs(1,$e,zt);return gi.links.type=ut&4?V1(Fe):Fe,gi});return Hi(l.parameters.slice(0,w),ce)}function C(A,w){const I=new Map;return Vt(A.target.labeledElementDeclarations,(U,Z)=>{const ce=sze(U,Z,w),Fe=I.get(ce);return Fe===void 0?(I.set(ce,1),ce):(I.set(ce,Fe+1),`${ce}_${Fe}`)})}}function bXt(l){const m=qc(l),D=go(m,1),C=tD(l.symbol),A=!!C&&Yu(C,64);if(D.length===0)return[y3(void 0,l.localTypeParameters,void 0,_t,l,void 0,0,A?4:0)];const w=Vr(l),I=Qn(w),U=kte(w),Z=S(U),ce=[];for(const Fe of D){const Te=b_(Fe.typeParameters),$e=S(Fe.typeParameters);if(I||Z>=Te&&Z<=$e){const ut=$e?Age(Fe,x6(U,Fe.typeParameters,Te,I)):eW(Fe);ut.typeParameters=l.localTypeParameters,ut.resolvedReturnType=l,ut.flags=A?ut.flags|4:ut.flags&-5,ce.push(ut)}}return ce}function MNe(l,m,D,C,A){for(const w of l)if(Rte(w,m,D,C,A,D?qti:hW))return w}function yXt(l,m,D){if(m.typeParameters){if(D>0)return;for(let A=1;A1&&(D=D===void 0?C:-1);for(const A of l[C])if(!m||!MNe(m,A,!1,!1,!0)){const w=yXt(l,A,C);if(w){let I=A;if(w.length>1){let U=A.thisParameter;const Z=L(w,ce=>ce.thisParameter);if(Z){const ce=Ds(qi(w,Fe=>Fe.thisParameter&&Wn(Fe.thisParameter)));U=CF(Z,ce)}I=hdt(A,w),I.thisParameter=U}(m||(m=[])).push(I)}}}if(!S(m)&&D!==-1){const C=l[D!==void 0?D:0];let A=C.slice();for(const w of l)if(w!==C){const I=w[0];if(H.assert(!!I,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),A=I.typeParameters&&Oe(A,U=>!!U.typeParameters&&!mdt(I.typeParameters,U.typeParameters))?void 0:Vt(A,U=>AXt(U,I)),!A)break}m=A}return m||_t}function mdt(l,m){if(S(l)!==S(m))return!1;if(!l||!m)return!0;const D=Sf(m,l);for(let C=0;C=A?l:m,I=w===l?m:l,U=w===l?C:A,Z=F_(l)||F_(m),ce=Z&&!F_(w),Fe=new Array(U+(ce?1:0));for(let Te=0;Te=SE(w)&&Te>=SE(I),dn=Te>=C?void 0:Iz(l,Te),nu=Te>=A?void 0:Iz(m,Te),En=dn===nu?dn:dn?nu?void 0:dn:nu,Ii=Hs(1|(Wi&&!gi?16777216:0),En||`arg${Te}`,gi?32768:Wi?16384:0);Ii.links.type=gi?V1(zt):zt,Fe[Te]=Ii}if(ce){const Te=Hs(1,"args",32768);Te.links.type=V1(Lg(I,U)),I===m&&(Te.links.type=_a(Te.links.type,D)),Fe[U]=Te}return Fe}function AXt(l,m){const D=l.typeParameters||m.typeParameters;let C;l.typeParameters&&m.typeParameters&&(C=Sf(m.typeParameters,l.typeParameters));const A=l.declaration,w=FXt(l,m,C),I=kXt(l.thisParameter,m.thisParameter,C),U=Math.max(l.minArgumentCount,m.minArgumentCount),Z=y3(A,D,I,w,void 0,void 0,U,(l.flags|m.flags)&167);return Z.compositeKind=1048576,Z.compositeSignatures=Hi(l.compositeKind!==2097152&&l.compositeSignatures||[l],[m]),C&&(Z.mapper=l.compositeKind!==2097152&&l.mapper&&l.compositeSignatures?wC(l.mapper,C):C),Z}function pdt(l){const m=kh(l[0]);if(m){const D=[];for(const C of m){const A=C.keyType;ye(l,w=>!!k3(w,A))&&D.push(y_(A,er(Vt(l,w=>yC(w,A))),Oe(l,w=>k3(w,A).isReadonly)))}return D}return _t}function SXt(l){const m=zNe(Vt(l.types,A=>A===di?[fn]:go(A,0))),D=zNe(Vt(l.types,A=>go(A,1))),C=pdt(l.types);x4(l,se,m,D,C)}function xte(l,m){return l?m?Ds([l,m]):l:m}function gdt(l){const m=ui(l,C=>go(C,1).length>0),D=Vt(l,Hu);if(m>0&&m===ui(D,C=>C)){const C=D.indexOf(!0);D[C]=!1}return D}function BXt(l,m,D,C){const A=[];for(let w=0;wU);for(let U=0;U0&&(ce=Vt(ce,Fe=>{const Te=eW(Fe);return Te.resolvedReturnType=BXt(Zs(Fe),A,w,U),Te})),D=Edt(D,ce)}m=Edt(m,go(Z,0)),C=nn(kh(Z),(ce,Fe)=>_dt(ce,Fe,!1),C)}x4(l,se,m||_t,D||_t,C||_t)}function Edt(l,m){for(const D of m)(!l||ye(l,C=>!Rte(C,D,!1,!1,!1,hW)))&&(l=xi(l,D));return l}function _dt(l,m,D){if(l)for(let C=0;C{var Z;!(U.flags&418)&&!(U.flags&512&&((Z=U.declarations)!=null&&Z.length)&&ye(U.declarations,N1))&&I.set(U.escapedName,U)}),D=I}let A;if(x4(l,D,_t,_t,_t),m.flags&32){const I=b4(m),U=qc(I);U.flags&11272192?(D=Vo(Jw(D)),sdt(D,n0(U))):U===me&&(A=y_(ct,me,!1))}const w=Sge(D);if(w?C=tPe(w):(A&&(C=xi(C,A)),m.flags&384&&(X0(m).flags&32||Oe(l.properties,I=>!!(Wn(I).flags&296)))&&(C=xi(C,Tu))),x4(l,D,_t,_t,C||_t),m.flags&8208&&(l.callSignatures=wb(m)),m.flags&32){const I=b4(m);let U=m.members?wb(m.members.get("__constructor")):_t;m.flags&16&&(U=yn(U.slice(),qi(l.callSignatures,Z=>AE(Z.declaration)?y3(Z.declaration,Z.typeParameters,Z.thisParameter,Z.parameters,I,void 0,Z.minArgumentCount,Z.flags&167):void 0))),U.length||(U=bXt(I)),l.constructSignatures=U}}function LXt(l,m,D){return _a(l,Sf([m.indexType,m.objectType],[wg(0),Bg([D])]))}function NXt(l){const m=k3(l.source,ct),D=C_(l.mappedType),C=!(D&1),A=D&4?0:16777216,w=m?[y_(ct,mEe(m.type,l.mappedType,l.constraintType),C&&m.isReadonly)]:_t,I=Vo();for(const U of n0(l.source)){const Z=8192|(C&&Ng(U)?8:0),ce=Hs(4|U.flags&A,U.escapedName,Z);if(ce.declarations=U.declarations,ce.links.nameType=Ur(U).nameType,ce.links.propertyType=Wn(U),l.constraintType.type.flags&8388608&&l.constraintType.type.objectType.flags&262144&&l.constraintType.type.indexType.flags&262144){const Fe=l.constraintType.type.objectType,Te=LXt(l.mappedType,l.constraintType.type,Fe);ce.links.mappedType=Te,ce.links.constraintType=k_(Fe)}else ce.links.mappedType=l.mappedType,ce.links.constraintType=l.constraintType;I.set(U.escapedName,ce)}x4(l,I,_t,_t,w)}function vte(l){if(l.flags&4194304){const m=Gh(l.type);return K5(m)?s1t(m):k_(m)}if(l.flags&16777216){if(l.root.isDistributive){const m=l.checkType,D=vte(m);if(D!==m)return NPe(l,Y9(l.root.checkType,D,l.mapper))}return l}if(l.flags&1048576)return hl(l,vte,!0);if(l.flags&2097152){const m=l.types;return m.length===2&&m[0].flags&76&&m[1]===Lc?l:Ds(Lu(l.types,vte))}return l}function INe(l){return Gl(l)&4096}function RNe(l,m,D,C){for(const A of n0(l))C(yz(A,m));if(l.flags&1)C(ct);else for(const A of kh(l))(!D||A.keyType.flags&134217732)&&C(A.keyType)}function PXt(l){const m=Vo();let D;x4(l,se,_t,_t,_t);const C=Fg(l),A=cp(l),w=l.target||l,I=I5(w),U=!I||vdt(w),Z=DD(w),ce=Gh(K9(l)),Fe=C_(l),Te=Je?128:8576;tW(l)?RNe(ce,Te,Je,$e):FF(vte(A),$e),x4(l,m,_t,_t,D||_t);function $e(zt){const gi=I?_a(I,dW(l.mapper,C,zt)):zt;FF(gi,Wi=>ut(zt,Wi))}function ut(zt,gi){if(Y4(gi)){const Wi=Q4(gi),dn=m.get(Wi);if(dn)dn.links.nameType=er([dn.links.nameType,gi]),dn.links.keyType=er([dn.links.keyType,zt]);else{const nu=Y4(zt)?qo(ce,Q4(zt)):void 0,En=!!(Fe&4||!(Fe&8)&&nu&&nu.flags&16777216),Ii=!!(Fe&1||!(Fe&2)&&nu&&Ng(nu)),Nn=fe&&!En&&nu&&nu.flags&16777216,vn=nu?INe(nu):0,An=Hs(4|(En?16777216:0),Wi,vn|262144|(Ii?8:0)|(Nn?524288:0));An.links.mappedType=l,An.links.nameType=gi,An.links.keyType=zt,nu&&(An.links.syntheticOrigin=nu,An.declarations=U?nu.declarations:void 0),m.set(Wi,An)}}else if(Bge(gi)||gi.flags&33){const Wi=gi.flags&5?ct:gi.flags&40?Qt:gi,dn=_a(Z,dW(l.mapper,C,zt)),nu=nW(ce,gi),En=!!(Fe&1||!(Fe&2)&&(nu!=null&&nu.isReadonly)),Ii=y_(Wi,dn,En);D=_dt(D,Ii,!0)}}}function MXt(l){if(!l.links.type){const m=l.links.mappedType;if(!D_(l,0))return m.containsError=!0,Ot;const D=DD(m.target||m),C=dW(m.mapper,Fg(m),l.links.keyType),A=_a(D,C);let w=fe&&l.flags&16777216&&!jl(A,49152)?S6(A,!0):l.links.checkFlags&524288?lEe(A):A;CE()||(pt(K,F.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Fr(l),gn(m)),w=Ot),l.links.type=w}return l.links.type}function Fg(l){return l.typeParameter||(l.typeParameter=gF(_u(l.declaration.typeParameter)))}function cp(l){return l.constraintType||(l.constraintType=rh(Fg(l))||Ot)}function I5(l){return l.declaration.nameType?l.nameType||(l.nameType=_a(Ar(l.declaration.nameType),l.mapper)):void 0}function DD(l){return l.templateType||(l.templateType=l.declaration.type?_a(Vd(Ar(l.declaration.type),!0,!!(C_(l)&4)),l.mapper):Ot)}function Ddt(l){return w8(l.declaration.typeParameter)}function tW(l){const m=Ddt(l);return m.kind===198&&m.operator===143}function K9(l){if(!l.modifiersType)if(tW(l))l.modifiersType=_a(Ar(Ddt(l).type),l.mapper);else{const m=bPe(l.declaration),D=cp(m),C=D&&D.flags&262144?rh(D):D;l.modifiersType=C&&C.flags&4194304?_a(C.type,l.mapper):on}return l.modifiersType}function C_(l){const m=l.declaration;return(m.readonlyToken?m.readonlyToken.kind===41?2:1:0)|(m.questionToken?m.questionToken.kind===41?8:4:0)}function xdt(l){const m=C_(l);return m&8?-1:m&4?1:0}function ONe(l){const m=xdt(l),D=K9(l);return m||(Xm(D)?xdt(D):0)}function zXt(l){return!!(Gu(l)&32&&C_(l)&4)}function Xm(l){if(Gu(l)&32){const m=cp(l);if(AC(m))return!0;const D=I5(l);if(D&&AC(_a(D,Mb(Fg(l),m))))return!0}return!1}function vdt(l){const m=I5(l);return!!m&&ms(m,Fg(l))}function Ag(l){return l.members||(l.flags&524288?l.objectFlags&4?xXt(l):l.objectFlags&3?DXt(l):l.objectFlags&1024?NXt(l):l.objectFlags&16?TXt(l):l.objectFlags&32?PXt(l):H.fail("Unhandled object type "+H.formatObjectFlags(l.objectFlags)):l.flags&1048576?SXt(l):l.flags&2097152?wXt(l):H.fail("Unhandled type "+H.formatTypeFlags(l.flags))),l}function D6(l){return l.flags&524288?Ag(l).properties:_t}function bC(l,m){if(l.flags&524288){const C=Ag(l).members.get(m);if(C&&l6(C))return C}}function Cte(l){if(!l.resolvedProperties){const m=Vo();for(const D of l.types){for(const C of n0(D))if(!m.has(C.escapedName)){const A=GNe(l,C.escapedName);A&&m.set(C.escapedName,A)}if(l.flags&1048576&&kh(D).length===0)break}l.resolvedProperties=Ab(m)}return l.resolvedProperties}function n0(l){return l=Dz(l),l.flags&3145728?Cte(l):D6(l)}function IXt(l,m){l=Dz(l),l.flags&3670016&&Ag(l).members.forEach((D,C)=>{sF(D,C)&&m(D,C)})}function RXt(l,m){return m.properties.some(C=>{const A=C.name&&(gg(C.name)?df(sV(C.name)):j5(C.name)),w=A&&Y4(A)?Q4(A):void 0,I=w===void 0?void 0:he(l,w);return!!I&&pW(I)&&!ms(tS(C),I)})}function OXt(l){const m=er(l);if(!(m.flags&1048576))return Gze(m);const D=Vo();for(const C of l)for(const{escapedName:A}of Gze(C))if(!D.has(A)){const w=Fdt(m,A);w&&D.set(A,w)}return ga(D.values())}function EF(l){return l.flags&262144?rh(l):l.flags&8388608?jXt(l):l.flags&16777216?ydt(l):Wh(l)}function rh(l){return iW(l)?vz(l):void 0}function W9(l,m=0){var D;return m<5&&!!(l&&(l.flags&262144&&Oe((D=l.symbol)==null?void 0:D.declarations,C=>Yu(C,4096))||l.flags&3145728&&Oe(l.types,C=>W9(C,m))||l.flags&8388608&&W9(l.objectType,m+1)||l.flags&16777216&&W9(ydt(l),m+1)||l.flags&33554432&&W9(l.baseType,m)||K5(l)&&Ue(FC(l),(C,A)=>!!(l.target.elementFlags[A]&8)&&W9(C,m))>=0))}function jXt(l){return iW(l)?VXt(l):void 0}function jNe(l){const m=vD(l,!1);return m!==l?m:EF(l)}function VXt(l){if(WNe(l)||Xm(l.objectType))return Ige(l.objectType,l.indexType);const m=jNe(l.indexType);if(m&&m!==l.indexType){const C=b6(l.objectType,m,l.accessFlags);if(C)return C}const D=jNe(l.objectType);if(D&&D!==l.objectType)return b6(D,l.indexType,l.accessFlags)}function VNe(l){if(!l.resolvedDefaultConstraint){const m=yti(l),D=BC(l);l.resolvedDefaultConstraint=nt(m)?D:nt(D)?m:er([m,D])}return l.resolvedDefaultConstraint}function Cdt(l){if(l.resolvedConstraintOfDistributive!==void 0)return l.resolvedConstraintOfDistributive||void 0;if(l.root.isDistributive&&l.restrictiveInstantiation!==l){const m=vD(l.checkType,!1),D=m===l.checkType?EF(m):m;if(D&&D!==l.checkType){const C=NPe(l,Y9(l.root.checkType,D,l.mapper));if(!(C.flags&131072))return l.resolvedConstraintOfDistributive=C,C}}l.resolvedConstraintOfDistributive=!1}function bdt(l){return Cdt(l)||VNe(l)}function ydt(l){return iW(l)?bdt(l):void 0}function HXt(l,m){let D,C=!1;for(const A of l)if(A.flags&465829888){let w=EF(A);for(;w&&w.flags&21233664;)w=EF(w);w&&(D=xi(D,w),m&&(D=xi(D,A)))}else(A.flags&469892092||yD(A))&&(C=!0);if(D&&(m||C)){if(C)for(const A of l)(A.flags&469892092||yD(A))&&(D=xi(D,A));return Mte(Ds(D),!1)}}function Wh(l){if(l.flags&464781312||K5(l)){const m=HNe(l);return m!==dl&&m!==Uc?m:void 0}return l.flags&4194304?vc:void 0}function xD(l){return Wh(l)||l}function iW(l){return HNe(l)!==Uc}function HNe(l){if(l.resolvedBaseConstraint)return l.resolvedBaseConstraint;const m=[];return l.resolvedBaseConstraint=D(l);function D(w){if(!w.immediateBaseConstraint){if(!D_(w,4))return Uc;let I;const U=iEe(w);if((m.length<10||m.length<50&&!kt(m,U))&&(m.push(U),I=A(vD(w,!1)),m.pop()),!CE()){if(w.flags&262144){const Z=iPe(w);if(Z){const ce=pt(Z,F.Type_parameter_0_has_a_circular_constraint,gn(w));K&&!S2(Z,K)&&!S2(K,Z)&&Es(ce,Su(K,F.Circularity_originates_in_type_at_this_location))}}I=Uc}w.immediateBaseConstraint=I||dl}return w.immediateBaseConstraint}function C(w){const I=D(w);return I!==dl&&I!==Uc?I:void 0}function A(w){if(w.flags&262144){const I=vz(w);return w.isThisType||!I?I:C(I)}if(w.flags&3145728){const I=w.types,U=[];let Z=!1;for(const ce of I){const Fe=C(ce);Fe?(Fe!==ce&&(Z=!0),U.push(Fe)):Z=!0}return Z?w.flags&1048576&&U.length===I.length?er(U):w.flags&2097152&&U.length?Ds(U):void 0:w}if(w.flags&4194304)return vc;if(w.flags&134217728){const I=w.types,U=qi(I,C);return U.length===I.length?xF(w.texts,U):ct}if(w.flags&268435456){const I=C(w.type);return I&&I!==w.type?$9(w.symbol,I):ct}if(w.flags&8388608){if(WNe(w))return C(Ige(w.objectType,w.indexType));const I=C(w.objectType),U=C(w.indexType),Z=I&&U&&b6(I,U,w.accessFlags);return Z&&C(Z)}if(w.flags&16777216){const I=bdt(w);return I&&C(I)}if(w.flags&33554432)return C(rPe(w));if(K5(w)){const I=Vt(FC(w),(U,Z)=>{const ce=U.flags&262144&&w.target.elementFlags[Z]&8&&C(U)||U;return ce!==U&&e4(ce,Fe=>zb(Fe)&&!K5(Fe))?ce:U});return Bg(I,w.target.elementFlags,w.target.readonly,w.target.labeledElementDeclarations)}return w}}function KXt(l,m){return l.resolvedApparentType||(l.resolvedApparentType=xm(l,m,!0))}function KNe(l){if(l.default)l.default===Ch&&(l.default=Uc);else if(l.target){const m=KNe(l.target);l.default=m?_a(m,l.mapper):dl}else{l.default=Ch;const m=l.symbol&&L(l.symbol.declarations,C=>Bl(C)&&C.default),D=m?Ar(m):dl;l.default===Ch&&(l.default=D)}return l.default}function _F(l){const m=KNe(l);return m!==dl&&m!==Uc?m:void 0}function WXt(l){return KNe(l)!==Uc}function kdt(l){return!!(l.symbol&&L(l.symbol.declarations,m=>Bl(m)&&m.default))}function GXt(l){return l.resolvedApparentType||(l.resolvedApparentType=JXt(l))}function JXt(l){const m=Jge(l);if(m&&!l.declaration.nameType){const D=rh(m);if(D&&e4(D,zb))return _a(l,Y9(m,D,l.mapper))}return l}function WNe(l){let m;return!!(l.flags&8388608&&Gu(m=l.objectType)&32&&!Xm(m)&&AC(l.indexType)&&!(C_(m)&8)&&!m.declaration.nameType)}function Gh(l){const m=l.flags&465829888?Wh(l)||on:l,D=Gu(m);return D&32?GXt(m):D&4&&m!==l?xm(m,l):m.flags&2097152?KXt(m,l):m.flags&402653316?nc:m.flags&296?fc:m.flags&2112?Bei():m.flags&528?Cl:m.flags&12288?Xdt():m.flags&67108864?Ko:m.flags&4194304?vc:m.flags&2&&!fe?Ko:m}function Dz(l){return Sg(Gh(Sg(l)))}function Fdt(l,m,D){var C,A,w;let I,U,Z;const ce=l.flags&1048576;let Fe,Te=4,$e=ce?0:8,ut=!1;for(const An of l.types){const _n=Gh(An);if(!(Nt(_n)||_n.flags&131072)){const hu=qo(_n,m,D),oo=hu?l4(hu):0;if(hu){if(hu.flags&106500&&(Fe??(Fe=ce?0:16777216),ce?Fe|=hu.flags&16777216:Fe&=hu.flags),!I)I=hu;else if(hu!==I)if((_T(hu)||hu)===(_T(I)||I)&&KPe(I,hu,(fo,ka)=>fo===ka?-1:0)===-1)ut=!!I.parent&&!!S(sn(I.parent));else{U||(U=new Map,U.set(Zo(I),I));const fo=Zo(hu);U.has(fo)||U.set(fo,hu)}ce&&Ng(hu)?$e|=8:!ce&&!Ng(hu)&&($e&=-9),$e|=(oo&6?0:256)|(oo&4?512:0)|(oo&2?1024:0)|(oo&256?2048:0),jMe(hu)||(Te=2)}else if(ce){const Eo=!XK(m)&&G9(_n,m);Eo?($e|=32|(Eo.isReadonly?8:0),Z=xi(Z,xs(_n)?rEe(_n)||te:Eo.type)):PC(_n)&&!(Gu(_n)&2097152)?($e|=32,Z=xi(Z,te)):$e|=16}}}if(!I||ce&&(U||$e&48)&&$e&1536&&!(U&&$Xt(U.values())))return;if(!U&&!($e&16)&&!Z)if(ut){const An=(C=ur(I,qE))==null?void 0:C.links,_n=CF(I,An==null?void 0:An.type);return _n.parent=(w=(A=I.valueDeclaration)==null?void 0:A.symbol)==null?void 0:w.parent,_n.links.containingType=l,_n.links.mapper=An==null?void 0:An.mapper,_n}else return I;const zt=U?ga(U.values()):[I];let gi,Wi,dn;const nu=[];let En,Ii,Nn=!1;for(const An of zt){Ii?An.valueDeclaration&&An.valueDeclaration!==Ii&&(Nn=!0):Ii=An.valueDeclaration,gi=yn(gi,An.declarations);const _n=Wn(An);Wi||(Wi=_n,dn=Ur(An).nameType);const hu=mF(An);(En||hu!==_n)&&(En=xi(En||nu.slice(),hu)),_n!==Wi&&($e|=64),(pW(_n)||U9(_n))&&($e|=128),_n.flags&131072&&_n!==vl&&($e|=131072),nu.push(_n)}yn(nu,Z);const vn=Hs(4|(Fe??0),m,Te|$e);return vn.links.containingType=l,!Nn&&Ii&&(vn.valueDeclaration=Ii,Ii.symbol.parent&&(vn.parent=Ii.symbol.parent)),vn.declarations=gi,vn.links.nameType=dn,nu.length>2?(vn.links.checkFlags|=65536,vn.links.deferralParent=l,vn.links.deferralConstituents=nu,vn.links.deferralWriteConstituents=En):(vn.links.type=ce?er(nu):Ds(nu),En&&(vn.links.writeType=ce?er(En):Ds(En))),vn}function Adt(l,m,D){var C,A;let w=(C=l.propertyCacheWithoutObjectFunctionPropertyAugment)!=null&&C.get(m)||!D?(A=l.propertyCache)==null?void 0:A.get(m):void 0;return w||(w=Fdt(l,m,D),w&&(D?l.propertyCacheWithoutObjectFunctionPropertyAugment||(l.propertyCacheWithoutObjectFunctionPropertyAugment=Vo()):l.propertyCache||(l.propertyCache=Vo())).set(m,w)),w}function $Xt(l){let m;for(const D of l){if(!D.declarations)return;if(!m){m=new Set(D.declarations);continue}if(m.forEach(C=>{kt(D.declarations,C)||m.delete(C)}),m.size===0)return}return m}function GNe(l,m,D){const C=Adt(l,m,D);return C&&!(Gl(C)&16)?C:void 0}function Sg(l){return l.flags&1048576&&l.objectFlags&16777216?l.resolvedReducedType||(l.resolvedReducedType=UXt(l)):l.flags&2097152?(l.objectFlags&16777216||(l.objectFlags|=16777216|(Oe(Cte(l),qXt)?33554432:0)),l.objectFlags&33554432?Ku:l):l}function UXt(l){const m=Lu(l.types,Sg);if(m===l.types)return l;const D=er(m);return D.flags&1048576&&(D.resolvedReducedType=D),D}function qXt(l){return Sdt(l)||Bdt(l)}function Sdt(l){return!(l.flags&16777216)&&(Gl(l)&131264)===192&&!!(Wn(l).flags&131072)}function Bdt(l){return!l.valueDeclaration&&!!(Gl(l)&1024)}function JNe(l){return!!(l.flags&1048576&&l.objectFlags&16777216&&Oe(l.types,JNe)||l.flags&2097152&&ZXt(l))}function ZXt(l){const m=l.uniqueLiteralFilledInstantiation||(l.uniqueLiteralFilledInstantiation=_a(l,co));return Sg(m)!==m}function $Ne(l,m){if(m.flags&2097152&&Gu(m)&33554432){const D=Le(Cte(m),Sdt);if(D)return ro(l,F.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,gn(m,void 0,536870912),Fr(D));const C=Le(Cte(m),Bdt);if(C)return ro(l,F.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,gn(m,void 0,536870912),Fr(C))}return l}function qo(l,m,D,C){if(l=Dz(l),l.flags&524288){const A=Ag(l),w=A.members.get(m);if(w&&l6(w,C))return w;if(D)return;const I=A===Ri?di:A.callSignatures.length?Mn:A.constructSignatures.length?ba:void 0;if(I){const U=bC(I,m);if(U)return U}return bC(He,m)}if(l.flags&3145728)return GNe(l,m,D)}function bte(l,m){if(l.flags&3670016){const D=Ag(l);return m===0?D.callSignatures:D.constructSignatures}return _t}function go(l,m){const D=bte(Dz(l),m);if(m===0&&!S(D)&&l.flags&1048576){if(l.arrayFallbackSignatures)return l.arrayFallbackSignatures;let C;if(e4(l,A=>{var w;return!!((w=A.symbol)!=null&&w.parent)&&YXt(A.symbol.parent)&&(C?C===A.symbol.escapedName:(C=A.symbol.escapedName,!0))})){const A=hl(l,I=>k6((wdt(I.symbol.parent)?To:Fo).typeParameters[0],I.mapper)),w=V1(A,yE(l,I=>wdt(I.symbol.parent)));return l.arrayFallbackSignatures=go(he(w,C),m)}l.arrayFallbackSignatures=D}return D}function YXt(l){return!l||!Fo.symbol||!To.symbol?!1:!!Zm(l,Fo.symbol)||!!Zm(l,To.symbol)}function wdt(l){return!l||!To.symbol?!1:!!Zm(l,To.symbol)}function UNe(l,m){return Le(l,D=>D.keyType===m)}function qNe(l,m){let D,C,A;for(const w of l)w.keyType===ct?D=w:nT(m,w.keyType)&&(C?(A||(A=[C])).push(w):C=w);return A?y_(on,Ds(Vt(A,w=>w.type)),nn(A,(w,I)=>w&&I.isReadonly,!0)):C||(D&&nT(m,ct)?D:void 0)}function nT(l,m){return ms(l,m)||m===ct&&ms(l,Qt)||m===Qt&&(l===Ul||!!(l.flags&128)&&i3(l.value))}function ZNe(l){return l.flags&3670016?Ag(l).indexInfos:_t}function kh(l){return ZNe(Dz(l))}function k3(l,m){return UNe(kh(l),m)}function yC(l,m){var D;return(D=k3(l,m))==null?void 0:D.type}function YNe(l,m){return kh(l).filter(D=>nT(m,D.keyType))}function nW(l,m){return qNe(kh(l),m)}function G9(l,m){return nW(l,XK(m)?Xu:df(Yr(m)))}function Tdt(l){var m;let D;for(const C of Sx(l))D=e0(D,gF(C.symbol));return D!=null&&D.length?D:ed(l)?(m=xz(l))==null?void 0:m.typeParameters:void 0}function QNe(l){const m=[];return l.forEach((D,C)=>{EC(C)||m.push(D)}),m}function kge(l,m){if(Id(l))return;const D=kf(Ie,'"'+l+'"',512);return D&&m?Ks(D):D}function uW(l){if(d7(l)||aV(l)||oV(l))return!0;if(l.initializer){const D=dp(l.parent),C=l.parent.parameters.indexOf(l);return H.assert(C>=0),C>=SE(D,3)}const m=nk(l.parent);return m?!l.type&&!l.dotDotDotToken&&l.parent.parameters.indexOf(l)>=REe(m).length:!1}function QXt(l){return ko(l)&&!eE(l)&&l.questionToken}function yte(l,m,D,C){return{kind:l,parameterName:m,parameterIndex:D,type:C}}function b_(l){let m=0;if(l)for(let D=0;D=D&&w<=A){const I=l?l.slice():[];for(let Z=w;ZU.arguments.length&&!Wi||oV(zt)||(A=D.length)}if((l.kind===177||l.kind===178)&&iT(l)&&(!I||!w)){const ut=l.kind===177?178:177,zt=Sl(_u(l),ut);zt&&(w=p6(zt))}if(Qn(l)){const ut=LU(l);ut&&ut.typeExpression&&(w=CF(Hs(1,"this"),Ar(ut.typeExpression)))}const Fe=Ov(l)?ok(l):l,Te=Fe&&hc(Fe)?b4(Ks(Fe.parent.symbol)):void 0,$e=Te?Te.localTypeParameters:Tdt(l);(u0e(l)||Qn(l)&&XXt(l,D))&&(C|=1),(WP(l)&&Yu(l,64)||hc(l)&&Yu(l.parent,64))&&(C|=4),m.resolvedSignature=y3(l,$e,w,D,void 0,void 0,A,C)}return m.resolvedSignature}function XXt(l,m){if(Ov(l)||!XNe(l))return!1;const D=qu(l.parameters),C=D?B8(D):Cv(l).filter(Eg),A=G(C,I=>I.typeExpression&&pY(I.typeExpression.type)?I.typeExpression.type:void 0),w=Hs(3,"args",32768);return A?w.links.type=V1(Ar(A.type)):(w.links.checkFlags|=65536,w.links.deferralParent=Ku,w.links.deferralConstituents=[ql],w.links.deferralWriteConstituents=[ql]),A&&m.pop(),m.push(w),!0}function xz(l){if(!(Qn(l)&&$0(l)))return;const m=xv(l);return(m==null?void 0:m.typeExpression)&&wF(Ar(m.typeExpression))}function eei(l,m){const D=xz(l);if(!D)return;const C=l.parameters.indexOf(m);return m.dotDotDotToken?FW(D,C):Lg(D,C)}function tei(l){const m=xz(l);return m&&Zs(m)}function XNe(l){const m=ar(l);return m.containsArgumentsReference===void 0&&(m.flags&512?m.containsArgumentsReference=!0:m.containsArgumentsReference=D(l.body)),m.containsArgumentsReference;function D(C){if(!C)return!1;switch(C.kind){case 80:return C.escapedText===It.escapedName&&VW(C)===It;case 172:case 174:case 177:case 178:return C.name.kind===167&&D(C.name);case 211:case 212:return D(C.expression);case 303:return D(C.initializer);default:return!U0e(C)&&!q_(C)&&!!ao(C,D)}}}function wb(l){if(!l||!l.declarations)return _t;const m=[];for(let D=0;D0&&C.body){const A=l.declarations[D-1];if(C.parent===A.parent&&C.kind===A.kind&&C.pos===A.end)continue}if(Qn(C)&&C.jsDoc){let A=!1;for(const w of C.jsDoc)if(w.tags){for(const I of w.tags)if(NB(I)){const U=I.typeExpression;U.type===void 0&&!hc(C)&&LC(U,me),m.push(dp(U)),A=!0}}if(A)continue}m.push(!R2(C)&&!zp(C)&&xz(C)||dp(C))}}return m}function Ldt(l){const m=Kh(l,l);if(m){const D=_m(m);if(D)return Wn(D)}return me}function kC(l){if(l.thisParameter)return Wn(l.thisParameter)}function y4(l){if(!l.resolvedTypePredicate){if(l.target){const m=y4(l.target);l.resolvedTypePredicate=m?Oti(m,l.mapper):vt}else if(l.compositeSignatures)l.resolvedTypePredicate=Qei(l.compositeSignatures,l.compositeKind)||vt;else{const m=l.declaration&&U4(l.declaration);let D;if(!m){const C=xz(l.declaration);C&&l!==C&&(D=y4(C))}l.resolvedTypePredicate=m&&aY(m)?iei(m,l):D||vt}H.assert(!!l.resolvedTypePredicate)}return l.resolvedTypePredicate===vt?void 0:l.resolvedTypePredicate}function iei(l,m){const D=l.parameterName,C=l.type&&Ar(l.type);return D.kind===197?yte(l.assertsModifier?2:0,void 0,void 0,C):yte(l.assertsModifier?3:1,D.escapedText,Ue(m.parameters,A=>A.escapedName===D.escapedText),C)}function Ndt(l,m,D){return m!==2097152?er(l,D):Ds(l)}function Zs(l){if(!l.resolvedReturnType){if(!D_(l,3))return Ot;let m=l.target?_a(Zs(l.target),l.mapper):l.compositeSignatures?_a(Ndt(Vt(l.compositeSignatures,Zs),l.compositeKind,2),l.mapper):uT(l.declaration)||(Ql(l.declaration.body)?me:HEe(l.declaration));if(l.flags&8?m=mht(m):l.flags&16&&(m=S6(m)),!CE()){if(l.declaration){const D=U4(l.declaration);if(D)pt(D,F.Return_type_annotation_circularly_references_itself);else if(Ae){const C=l.declaration,A=Za(C);A?pt(A,F._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,b0(A)):pt(C,F.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)}}m=me}l.resolvedReturnType=m}return l.resolvedReturnType}function uT(l){if(l.kind===176)return b4(Ks(l.parent.symbol));const m=U4(l);if(Ov(l)){const D=iP(l);if(D&&hc(D.parent)&&!m)return b4(Ks(D.parent.parent.symbol))}if(X8(l))return Ar(l.parameters[0].type);if(m)return Ar(m);if(l.kind===177&&iT(l)){const D=Qn(l)&&qp(l);if(D)return D;const C=Sl(_u(l),178),A=Qm(C);if(A)return A}return tei(l)}function Fge(l){return l.compositeSignatures&&Oe(l.compositeSignatures,Fge)||!l.resolvedReturnType&&xC(l,3)>=0}function nei(l){return Pdt(l)||me}function Pdt(l){if(th(l)){const m=Wn(l.parameters[l.parameters.length-1]),D=xs(m)?rEe(m):m;return D&&yC(D,Qt)}}function rW(l,m,D,C){const A=ePe(l,x6(m,l.typeParameters,b_(l.typeParameters),D));if(C){const w=Kft(Zs(A));if(w){const I=eW(w);I.typeParameters=C;const U=eW(A);return U.resolvedReturnType=DF(I),U}}return A}function ePe(l,m){const D=l.instantiations||(l.instantiations=new Map),C=hp(m);let A=D.get(C);return A||D.set(C,A=Age(l,m)),A}function Age(l,m){return lT(l,uei(l,m),!0)}function uei(l,m){return Sf(l.typeParameters,m)}function aW(l){return l.typeParameters?l.erasedSignatureCache||(l.erasedSignatureCache=rei(l)):l}function rei(l){return lT(l,I1t(l.typeParameters),!0)}function aei(l){return l.typeParameters?l.canonicalSignatureCache||(l.canonicalSignatureCache=oei(l)):l}function oei(l){return rW(l,Vt(l.typeParameters,m=>m.target&&!rh(m.target)?m.target:m),Qn(l.declaration))}function sei(l){const m=l.typeParameters;if(m){if(l.baseSignatureCache)return l.baseSignatureCache;const D=I1t(m),C=Sf(m,Vt(m,w=>rh(w)||on));let A=Vt(m,w=>_a(w,C)||on);for(let w=0;w{Bge(A)&&!UNe(m,A)&&m.push(y_(A,D.type?Ar(D.type):me,Rf(D,8),D))})}return m}return _t}function Bge(l){return!!(l.flags&4108)||U9(l)||!!(l.flags&2097152)&&!kz(l)&&Oe(l.types,Bge)}function iPe(l){return qi(ti(l.symbol&&l.symbol.declarations,Bl),w8)[0]}function Idt(l,m){var D;let C;if((D=l.symbol)!=null&&D.declarations){for(const A of l.symbol.declarations)if(A.parent.kind===195){const[w=A.parent,I]=dye(A.parent.parent);if(I.kind===183&&!m){const U=I,Z=yze(U);if(Z){const ce=U.typeArguments.indexOf(w);if(ce()=>Doi(U,Z,zt))),$e=_a(Fe,Te);$e!==l&&(C=xi(C,$e))}}}}else if(I.kind===169&&I.dotDotDotToken||I.kind===191||I.kind===202&&I.dotDotDotToken)C=xi(C,V1(on));else if(I.kind===204)C=xi(C,ct);else if(I.kind===168&&I.parent.kind===200)C=xi(C,vc);else if(I.kind===200&&I.type&&l0(I.type)===A.parent&&I.parent.kind===194&&I.parent.extendsType===I&&I.parent.checkType.kind===200&&I.parent.checkType.type){const U=I.parent.checkType,Z=Ar(U.type);C=xi(C,_a(Z,Mb(gF(_u(U.typeParameter)),U.typeParameter.constraint?Ar(U.typeParameter.constraint):vc)))}}}return C&&Ds(C)}function vz(l){if(!l.constraint)if(l.target){const m=rh(l.target);l.constraint=m?_a(m,l.mapper):dl}else{const m=iPe(l);if(!m)l.constraint=Idt(l)||dl;else{let D=Ar(m);D.flags&1&&!Nt(D)&&(D=m.parent.parent.kind===200?vc:on),l.constraint=D}}return l.constraint===dl?void 0:l.constraint}function Rdt(l){const m=Sl(l.symbol,168),D=_g(m.parent)?Aq(m.parent):m.parent;return D&&Dm(D)}function hp(l){let m="";if(l){const D=l.length;let C=0;for(;C1&&(m+=":"+w),C+=w}}return m}function J9(l,m){return l?`@${Zo(l)}`+(m?`:${hp(m)}`:""):""}function wge(l,m){let D=0;for(const C of l)(m===void 0||!(C.flags&m))&&(D|=Gu(C));return D&458752}function rT(l,m){return Oe(m)&&l===Ka?on:R5(l,m)}function R5(l,m){const D=hp(m);let C=l.instantiations.get(D);return C||(C=D4(4,l.symbol),l.instantiations.set(D,C),C.objectFlags|=m?wge(m):0,C.target=l,C.resolvedTypeArguments=m),C}function Odt(l){const m=N5(l.flags,l.symbol);return m.objectFlags=l.objectFlags,m.target=l.target,m.resolvedTypeArguments=l.resolvedTypeArguments,m}function nPe(l,m,D,C,A){if(!C){C=q9(m);const I=sT(C);A=D?V5(I,D):I}const w=D4(4,l.symbol);return w.target=l,w.node=m,w.mapper=D,w.aliasSymbol=C,w.aliasTypeArguments=A,w}function O0(l){var m,D;if(!l.resolvedTypeArguments){if(!D_(l,6))return((m=l.target.localTypeParameters)==null?void 0:m.map(()=>Ot))||_t;const C=l.node,A=C?C.kind===183?Hi(l.target.outerTypeParameters,JEe(C,l.target.localTypeParameters)):C.kind===188?[Ar(C.elementType)]:Vt(C.elements,Ar):_t;CE()?l.resolvedTypeArguments=l.mapper?V5(A,l.mapper):A:(l.resolvedTypeArguments=((D=l.target.localTypeParameters)==null?void 0:D.map(()=>Ot))||_t,pt(l.node||K,l.target.symbol?F.Type_arguments_for_0_circularly_reference_themselves:F.Tuple_type_arguments_circularly_reference_themselves,l.target.symbol&&Fr(l.target.symbol)))}return l.resolvedTypeArguments}function O5(l){return S(l.target.typeParameters)}function jdt(l,m){const D=X0(Ks(m)),C=D.localTypeParameters;if(C){const A=S(l.typeArguments),w=b_(C),I=Qn(l);if(!(!Ae&&I)&&(AC.length)){const ce=I&&c5(l)&&!LB(l.parent),Fe=w===C.length?ce?F.Expected_0_type_arguments_provide_these_with_an_extends_tag:F.Generic_type_0_requires_1_type_argument_s:ce?F.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:F.Generic_type_0_requires_between_1_and_2_type_arguments,Te=gn(D,void 0,2);if(pt(l,Fe,Te,w,C.length),!I)return Ot}if(l.kind===183&&a1t(l,S(l.typeArguments)!==C.length))return nPe(D,l,void 0);const Z=Hi(D.outerTypeParameters,x6(kte(l),C,w,I));return R5(D,Z)}return Tb(l,m)?D:Ot}function aT(l,m,D,C){const A=X0(l);if(A===Qi&&tQ.has(l.escapedName)&&m&&m.length===1)return $9(l,m[0]);const w=Ur(l),I=w.typeParameters,U=hp(m)+J9(D,C);let Z=w.instantiations.get(U);return Z||w.instantiations.set(U,Z=j1t(A,Sf(I,x6(m,I,b_(I),Qn(l.valueDeclaration))),D,C)),Z}function lei(l,m){if(Gl(m)&1048576){const A=kte(l),w=J9(m,A);let I=gt.get(w);return I||(I=Pc(1,"error",void 0,`alias ${w}`),I.aliasSymbol=m,I.aliasTypeArguments=A,gt.set(w,I)),I}const D=X0(m),C=Ur(m).typeParameters;if(C){const A=S(l.typeArguments),w=b_(C);if(AC.length)return pt(l,w===C.length?F.Generic_type_0_requires_1_type_argument_s:F.Generic_type_0_requires_between_1_and_2_type_arguments,Fr(m),w,C.length),Ot;const I=q9(l);let U=I&&(Vdt(m)||!Vdt(I))?I:void 0,Z;if(U)Z=sT(U);else if($U(l)){const ce=oT(l,2097152,!0);if(ce&&ce!==Xt){const Fe=md(ce);Fe&&Fe.flags&524288&&(U=Fe,Z=kte(l)||(C?[]:void 0))}}return aT(m,kte(l),U,Z)}return Tb(l,m)?D:Ot}function Vdt(l){var m;const D=(m=l.declarations)==null?void 0:m.find(Sj);return!!(D&&Nm(D))}function cei(l){switch(l.kind){case 183:return l.typeName;case 233:const m=l.expression;if(ec(m))return m}}function Hdt(l){return l.parent?`${Hdt(l.parent)}.${l.escapedName}`:l.escapedName}function Tge(l){const D=(l.kind===166?l.right:l.kind===211?l.name:l).escapedText;if(D){const C=l.kind===166?Tge(l.left):l.kind===211?Tge(l.expression):void 0,A=C?`${Hdt(C)}.${D}`:D;let w=et.get(A);return w||(et.set(A,w=Hs(524288,D,1048576)),w.parent=C,w.links.declaredType=Ei),w}return Xt}function oT(l,m,D){const C=cei(l);if(!C)return Xt;const A=R0(C,m,D);return A&&A!==Xt?A:D?Xt:Tge(C)}function Lge(l,m){if(m===Xt)return Ot;if(m=L9(m)||m,m.flags&96)return jdt(l,m);if(m.flags&524288)return lei(l,m);const D=rdt(m);if(D)return Tb(l,m)?Jh(D):Ot;if(m.flags&111551&&Nge(l)){const C=dei(l,m);return C||(oT(l,788968),Wn(m))}return Ot}function dei(l,m){const D=ar(l);if(!D.resolvedJSDocType){const C=Wn(m);let A=C;if(m.valueDeclaration){const w=l.kind===205&&l.qualifier;C.symbol&&C.symbol!==m&&w&&(A=Lge(l,C.symbol))}D.resolvedJSDocType=A}return D.resolvedJSDocType}function uPe(l,m){if(m.flags&3||m===l||l.flags&1)return l;const D=`${Fh(l)}>${Fh(m)}`,C=Ta.get(D);if(C)return C;const A=lp(33554432);return A.baseType=l,A.constraint=m,Ta.set(D,A),A}function rPe(l){return Ds([l.constraint,l.baseType])}function Kdt(l){return l.kind===189&&l.elements.length===1}function Wdt(l,m,D){return Kdt(m)&&Kdt(D)?Wdt(l,m.elements[0],D.elements[0]):y6(Ar(m))===y6(l)?Ar(D):void 0}function hei(l,m){let D,C=!0;for(;m&&!ia(m)&&m.kind!==327;){const A=m.parent;if(A.kind===169&&(C=!C),(C||l.flags&8650752)&&A.kind===194&&m===A.trueType){const w=Wdt(l,A.checkType,A.extendsType);w&&(D=xi(D,w))}else if(l.flags&262144&&A.kind===200&&m===A.type){const w=Ar(A);if(Fg(w)===y6(l)){const I=Jge(w);if(I){const U=rh(I);U&&e4(U,zb)&&(D=xi(D,er([Qt,Ul])))}}}m=A}return D?uPe(l,Ds(D)):l}function Nge(l){return!!(l.flags&16777216)&&(l.kind===183||l.kind===205)}function Tb(l,m){return l.typeArguments?(pt(l,F.Type_0_is_not_generic,m?Fr(m):l.typeName?b0(l.typeName):YY),!1):!0}function Gdt(l){if(at(l.typeName)){const m=l.typeArguments;switch(l.typeName.escapedText){case"String":return Tb(l),ct;case"Number":return Tb(l),Qt;case"Boolean":return Tb(l),pr;case"Void":return Tb(l),ca;case"Undefined":return Tb(l),te;case"Null":return Tb(l),it;case"Function":case"function":return Tb(l),di;case"array":return(!m||!m.length)&&!Ae?ql:void 0;case"promise":return(!m||!m.length)&&!Ae?die(me):void 0;case"Object":if(m&&m.length===2){if(xq(l)){const D=Ar(m[0]),C=Ar(m[1]),A=D===ct||D===Qt?[y_(D,C,!1)]:_t;return Ol(void 0,se,_t,_t,A)}return me}return Tb(l),Ae?void 0:me}}}function fei(l){const m=Ar(l.type);return fe?aEe(m,65536):m}function aPe(l){const m=ar(l);if(!m.resolvedType){if(q3(l)&&Yy(l.parent))return m.resolvedSymbol=Xt,m.resolvedType=Rc(l.parent.expression);let D,C;const A=788968;Nge(l)&&(C=Gdt(l),C||(D=oT(l,A,!0),D===Xt?D=oT(l,A|111551):oT(l,A),C=Lge(l,D))),C||(D=oT(l,A),C=Lge(l,D)),m.resolvedSymbol=D,m.resolvedType=C}return m.resolvedType}function kte(l){return Vt(l.typeArguments,Ar)}function Jdt(l){const m=ar(l);if(!m.resolvedType){const D=lmt(l);m.resolvedType=Jh(vm(D))}return m.resolvedType}function $dt(l,m){function D(A){const w=A.declarations;if(w)for(const I of w)switch(I.kind){case 263:case 264:case 266:return I}}if(!l)return m?Ka:Ko;const C=X0(l);return C.flags&524288?S(C.typeParameters)!==m?(pt(D(l),F.Global_type_0_must_have_1_type_parameter_s,lc(l),m),m?Ka:Ko):C:(pt(D(l),F.Global_type_0_must_be_a_class_or_interface_type,lc(l)),m?Ka:Ko)}function oPe(l,m){return Cz(l,111551,m?F.Cannot_find_global_value_0:void 0)}function Udt(l,m){return Cz(l,788968,m?F.Cannot_find_global_type_0:void 0)}function Pge(l,m,D){const C=Cz(l,788968,D?F.Cannot_find_global_type_0:void 0);if(C&&(X0(C),S(Ur(C).typeParameters)!==m)){const A=C.declarations&&Le(C.declarations,jp);pt(A,F.Global_type_0_must_have_1_type_parameter_s,lc(C),m);return}return C}function Cz(l,m,D){return uc(void 0,l,m,D,l,!1,!1,!1)}function zc(l,m,D){const C=Udt(l,D);return C||D?$dt(C,m):void 0}function mei(){return c_||(c_=zc("TypedPropertyDescriptor",1,!0)||Ka)}function pei(){return In||(In=zc("TemplateStringsArray",0,!0)||Ko)}function qdt(){return tr||(tr=zc("ImportMeta",0,!0)||Ko)}function Zdt(){if(!ir){const l=Hs(0,"ImportMetaExpression"),m=qdt(),D=Hs(4,"meta",8);D.parent=l,D.links.type=m;const C=Vo([D]);l.members=C,ir=Ol(l,C,_t,_t,_t)}return ir}function Ydt(l){return ha||(ha=zc("ImportCallOptions",0,l))||Ko}function Qdt(l){return jh||(jh=oPe("Symbol",l))}function gei(l){return f4||(f4=Udt("SymbolConstructor",l))}function Xdt(){return c3||(c3=zc("Symbol",0,!1))||Ko}function Fte(l){return C5||(C5=zc("Promise",1,l))||Ka}function e1t(l){return R1||(R1=zc("PromiseLike",1,l))||Ka}function sPe(l){return d3||(d3=oPe("Promise",l))}function Eei(l){return Wf||(Wf=zc("PromiseConstructorLike",0,l))||Ko}function Mge(l){return Q||(Q=zc("AsyncIterable",1,l))||Ka}function _ei(l){return Me||(Me=zc("AsyncIterator",3,l))||Ka}function Dei(l){return wt||(wt=zc("AsyncIterableIterator",1,l))||Ka}function xei(l){return ki||(ki=zc("AsyncGenerator",3,l))||Ka}function lPe(l){return m4||(m4=zc("Iterable",1,l))||Ka}function vei(l){return Vh||(Vh=zc("Iterator",3,l))||Ka}function Cei(l){return Ee||(Ee=zc("IterableIterator",1,l))||Ka}function bei(l){return Bt||(Bt=zc("Generator",3,l))||Ka}function yei(l){return Di||(Di=zc("IteratorYieldResult",1,l))||Ka}function kei(l){return Ci||(Ci=zc("IteratorReturnResult",1,l))||Ka}function t1t(l){return os||(os=zc("Disposable",0,l))||Ko}function Fei(l){return ss||(ss=zc("AsyncDisposable",0,l))||Ko}function i1t(l,m=0){const D=Cz(l,788968,void 0);return D&&$dt(D,m)}function Aei(){return Rl||(Rl=Pge("Extract",2,!0)||Xt),Rl===Xt?void 0:Rl}function Sei(){return x1||(x1=Pge("Omit",2,!0)||Xt),x1===Xt?void 0:x1}function cPe(l){return fd||(fd=Pge("Awaited",1,l)||(l?Xt:void 0)),fd===Xt?void 0:fd}function Bei(){return $m||($m=zc("BigInt",0,!1))||Ko}function wei(l){return Um??(Um=zc("ClassDecoratorContext",1,l))??Ka}function Tei(l){return h3??(h3=zc("ClassMethodDecoratorContext",2,l))??Ka}function Lei(l){return d_??(d_=zc("ClassGetterDecoratorContext",2,l))??Ka}function Nei(l){return ta??(ta=zc("ClassSetterDecoratorContext",2,l))??Ka}function Pei(l){return Xx??(Xx=zc("ClassAccessorDecoratorContext",2,l))??Ka}function Mei(l){return e6??(e6=zc("ClassAccessorDecoratorTarget",2,l))??Ka}function zei(l){return bg??(bg=zc("ClassAccessorDecoratorResult",2,l))??Ka}function Iei(l){return sb??(sb=zc("ClassFieldDecoratorContext",2,l))??Ka}function Rei(){return _s||(_s=oPe("NaN",!1))}function Oei(){return np||(np=Pge("Record",2,!0)||Xt),np===Xt?void 0:np}function oW(l,m){return l!==Ka?R5(l,m):Ko}function n1t(l){return oW(mei(),[l])}function u1t(l){return oW(lPe(!0),[l])}function V1(l,m){return oW(m?To:Fo,[l])}function dPe(l){switch(l.kind){case 190:return 2;case 191:return r1t(l);case 202:return l.questionToken?2:l.dotDotDotToken?r1t(l):1;default:return 1}}function r1t(l){return wte(l.type)?4:8}function jei(l){const m=Kei(l.parent);if(wte(l))return m?To:Fo;const C=Vt(l.elements,dPe);return hPe(C,m,Vt(l.elements,Vei))}function Vei(l){return GP(l)||io(l)?l:void 0}function a1t(l,m){return!!q9(l)||o1t(l)&&(l.kind===188?v6(l.elementType):l.kind===189?Oe(l.elements,v6):m||Oe(l.typeArguments,v6))}function o1t(l){const m=l.parent;switch(m.kind){case 196:case 202:case 183:case 192:case 193:case 199:case 194:case 198:case 188:case 189:return o1t(m);case 265:return!0}return!1}function v6(l){switch(l.kind){case 183:return Nge(l)||!!(oT(l,788968).flags&524288);case 186:return!0;case 198:return l.operator!==158&&v6(l.type);case 196:case 190:case 202:case 323:case 321:case 322:case 316:return v6(l.type);case 191:return l.type.kind!==188||v6(l.type.elementType);case 192:case 193:return Oe(l.types,v6);case 199:return v6(l.objectType)||v6(l.indexType);case 194:return v6(l.checkType)||v6(l.extendsType)||v6(l.trueType)||v6(l.falseType)}return!1}function Hei(l){const m=ar(l);if(!m.resolvedType){const D=jei(l);if(D===Ka)m.resolvedType=Ko;else if(!(l.kind===189&&Oe(l.elements,C=>!!(dPe(C)&8)))&&a1t(l))m.resolvedType=l.kind===189&&l.elements.length===0?D:nPe(D,l,void 0);else{const C=l.kind===188?[Ar(l.elementType)]:Vt(l.elements,Ar);m.resolvedType=fPe(D,C)}}return m.resolvedType}function Kei(l){return z7(l)&&l.operator===148}function Bg(l,m,D=!1,C=[]){const A=hPe(m||Vt(l,w=>1),D,C);return A===Ka?Ko:l.length?fPe(A,l):A}function hPe(l,m,D){if(l.length===1&&l[0]&4)return m?To:Fo;const C=Vt(l,w=>w&1?"#":w&2?"?":w&4?".":"*").join()+(m?"R":"")+(Oe(D,w=>!!w)?","+Vt(D,w=>w?$s(w):"_").join(","):"");let A=Ba.get(C);return A||Ba.set(C,A=Wei(l,m,D)),A}function Wei(l,m,D){const C=l.length,A=ui(l,Te=>!!(Te&9));let w;const I=[];let U=0;if(C){w=new Array(C);for(let Te=0;Te!!(l.elementFlags[gi]&8&&zt.flags&1179648));if(ut>=0)return Ate(Vt(m,(zt,gi)=>l.elementFlags[gi]&8?zt:on))?hl(m[ut],zt=>mPe(l,qd(m,ut,zt))):Ot}const w=[],I=[],U=[];let Z=-1,ce=-1,Fe=-1;for(let ut=0;ut=1e4)return pt(K,q_(K)?F.Type_produces_a_tuple_type_that_is_too_large_to_represent:F.Expression_produces_a_tuple_type_that_is_too_large_to_represent),Ot;L(Wi,(dn,nu)=>{var En;return $e(dn,zt.target.elementFlags[nu],(En=zt.target.labeledElementDeclarations)==null?void 0:En[nu])})}else $e(H5(zt)&&yC(zt,Qt)||Ot,4,(C=l.labeledElementDeclarations)==null?void 0:C[ut]);else $e(zt,gi,(A=l.labeledElementDeclarations)==null?void 0:A[ut])}for(let ut=0;ut=0&&ceI[ce+zt]&8?qf(ut,Qt):ut)),w.splice(ce+1,Fe-ce),I.splice(ce+1,Fe-ce),U.splice(ce+1,Fe-ce));const Te=hPe(I,l.readonly,U);return Te===Ka?Ko:I.length?R5(Te,w):Te;function $e(ut,zt,gi){zt&1&&(Z=I.length),zt&4&&ce<0&&(ce=I.length),zt&6&&(Fe=I.length),w.push(zt&2?Vd(ut,!0):ut),I.push(zt),U.push(gi)}}function bz(l,m,D=0){const C=l.target,A=O5(l)-D;return m>C.fixedLength?wii(l)||Bg(_t):Bg(O0(l).slice(m,A),C.elementFlags.slice(m,A),!1,C.labeledElementDeclarations&&C.labeledElementDeclarations.slice(m,A))}function s1t(l){return er(xi(am(l.target.fixedLength,m=>df(""+m)),k_(l.target.readonly?To:Fo)))}function Gei(l,m){const D=Ue(l.elementFlags,C=>!(C&m));return D>=0?D:l.elementFlags.length}function sW(l,m){return l.elementFlags.length-Ze(l.elementFlags,D=>!(D&m))-1}function pPe(l){return l.fixedLength+sW(l,3)}function FC(l){const m=O0(l),D=O5(l);return m.length===D?m:m.slice(0,D)}function Jei(l){return Vd(Ar(l.type),!0)}function Fh(l){return l.id}function C6(l,m){return Kl(l,m,Fh,nl)>=0}function gPe(l,m){const D=Kl(l,m,Fh,nl);return D<0?(l.splice(~D,0,m),!0):!1}function $ei(l,m,D){const C=D.flags;if(!(C&131072))if(m|=C&473694207,C&465829888&&(m|=33554432),D===vi&&(m|=8388608),!fe&&C&98304)Gu(D)&65536||(m|=4194304);else{const A=l.length,w=A&&D.id>l[A-1].id?~A:Kl(l,D,Fh,nl);w<0&&l.splice(~w,0,D)}return m}function l1t(l,m,D){let C;for(const A of D)A!==C&&(m=A.flags&1048576?l1t(l,m|(Yei(A)?1048576:0),A.types):$ei(l,m,A),C=A);return m}function Uei(l,m){var D;if(l.length<2)return l;const C=hp(l),A=Yo.get(C);if(A)return A;const w=m&&Oe(l,ce=>!!(ce.flags&524288)&&!Xm(ce)&&IPe(Ag(ce))),I=l.length;let U=I,Z=0;for(;U>0;){U--;const ce=l[U];if(w||ce.flags&469499904){if(ce.flags&262144&&xD(ce).flags&1048576){bE(ce,er(Vt(l,$e=>$e===ce?Ku:$e)),p4)&&fv(l,U);continue}const Fe=ce.flags&61603840?Le(n0(ce),$e=>Tg(Wn($e))):void 0,Te=Fe&&Jh(Wn(Fe));for(const $e of l)if(ce!==$e){if(Z===1e5&&Z/(I-U)*I>1e6){(D=Gn)==null||D.instant(Gn.Phase.CheckTypes,"removeSubtypes_DepthLimit",{typeIds:l.map(zt=>zt.id)}),pt(K,F.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}if(Z++,Fe&&$e.flags&61603840){const ut=he($e,Fe.escapedName);if(ut&&Tg(ut)&&Jh(ut)!==Te)continue}if(bE(ce,$e,p4)&&(!(Gu(eT(ce))&1)||!(Gu(eT($e))&1)||TC(ce,$e))){fv(l,U);break}}}}return Yo.set(C,l),l}function qei(l,m,D){let C=l.length;for(;C>0;){C--;const A=l[C],w=A.flags;(w&402653312&&m&4||w&256&&m&8||w&2048&&m&64||w&8192&&m&4096||D&&w&32768&&m&16384||Pb(A)&&C6(l,A.regularType))&&fv(l,C)}}function Zei(l){const m=ti(l,D=>!!(D.flags&134217728)&&U9(D));if(m.length){let D=l.length;for(;D>0;){D--;const C=l[D];C.flags&128&&Oe(m,A=>pEe(C,A))&&fv(l,D)}}}function Yei(l){return!!(l.flags&1048576&&(l.aliasSymbol||l.origin))}function c1t(l,m){for(const D of m)if(D.flags&1048576){const C=D.origin;D.aliasSymbol||C&&!(C.flags&1048576)?xa(l,D):C&&C.flags&1048576&&c1t(l,C.types)}}function EPe(l,m){const D=Fb(l);return D.types=m,D}function er(l,m=1,D,C,A){if(l.length===0)return Ku;if(l.length===1)return l[0];if(l.length===2&&!A&&(l[0].flags&1048576||l[1].flags&1048576)){const w=m===0?"N":m===2?"S":"L",I=l[0].id=2&&w[0]===te&&w[1]===de&&fv(w,1),(I&402664352||I&16384&&I&32768)&&qei(w,I,!!(m&2)),I&128&&I&134217728&&Zei(w),m===2&&(w=Uei(w,!!(I&524288)),!w))return Ot;if(w.length===0)return I&65536?I&4194304?it:Ct:I&32768?I&4194304?te:we:Ku}if(!A&&I&1048576){const Z=[];c1t(Z,l);const ce=[];for(const Te of w)Oe(Z,$e=>C6($e.types,Te))||ce.push(Te);if(!D&&Z.length===1&&ce.length===0)return Z[0];if(nn(Z,(Te,$e)=>Te+$e.types.length,0)+ce.length===w.length){for(const Te of Z)gPe(ce,Te);A=EPe(1048576,ce)}}const U=(I&36323331?0:32768)|(I&2097152?16777216:0);return DPe(w,U,D,C,A)}function Qei(l,m){let D;const C=[];for(const w of l){const I=y4(w);if(I){if(I.kind!==0&&I.kind!==1||D&&!_Pe(D,I))return;D=I,C.push(I.type)}else{const U=m!==2097152?Zs(w):void 0;if(U!==Ui&&U!==Sn)return}}if(!D)return;const A=Ndt(C,m);return yte(D.kind,D.parameterName,D.parameterIndex,A)}function _Pe(l,m){return l.kind===m.kind&&l.parameterIndex===m.parameterIndex}function DPe(l,m,D,C,A){if(l.length===0)return Ku;if(l.length===1)return l[0];const I=(A?A.flags&1048576?`|${hp(A.types)}`:A.flags&2097152?`&${hp(A.types)}`:`#${A.type.id}|${hp(l)}`:hp(l))+J9(D,C);let U=bt.get(I);return U||(U=lp(1048576),U.objectFlags=m|wge(l,98304),U.types=l,U.origin=A,U.aliasSymbol=D,U.aliasTypeArguments=C,l.length===2&&l[0].flags&512&&l[1].flags&512&&(U.flags|=16,U.intrinsicName="boolean"),bt.set(I,U)),U}function Xei(l){const m=ar(l);if(!m.resolvedType){const D=q9(l);m.resolvedType=er(Vt(l.types,Ar),1,D,sT(D))}return m.resolvedType}function eti(l,m,D){const C=D.flags;return C&2097152?h1t(l,m,D.types):(yD(D)?m&16777216||(m|=16777216,l.set(D.id.toString(),D)):(C&3?D===vi&&(m|=8388608):(fe||!(C&98304))&&(D===de&&(m|=262144,D=te),l.has(D.id.toString())||(D.flags&109472&&m&109472&&(m|=67108864),l.set(D.id.toString(),D))),m|=C&473694207),m)}function h1t(l,m,D){for(const C of D)m=eti(l,m,Jh(C));return m}function tti(l,m){let D=l.length;for(;D>0;){D--;const C=l[D];(C.flags&4&&m&402653312||C.flags&8&&m&256||C.flags&64&&m&2048||C.flags&4096&&m&8192||C.flags&16384&&m&32768||yD(C)&&m&470302716)&&fv(l,D)}}function iti(l,m){for(const D of l)if(!C6(D.types,m)){const C=m.flags&128?ct:m.flags&288?Qt:m.flags&2048?Li:m.flags&8192?Xu:void 0;if(!C||!C6(D.types,C))return!1}return!0}function nti(l){let m=l.length;const D=ti(l,C=>!!(C.flags&128));for(;m>0;){m--;const C=l[m];if(C.flags&134217728){for(const A of D)if(F6(A,C)){fv(l,m);break}else if(U9(C))return!0}}return!1}function f1t(l,m){for(let D=0;D!(C.flags&m))}function uti(l){let m;const D=Ue(l,I=>!!(Gu(I)&32768));if(D<0)return!1;let C=D+1;for(;C!!(ce.flags&1048576&&ce.types[0].flags&32768))){const ce=Oe(I,EW)?de:te;f1t(I,32768),Z=er([Ds(I),ce],1,m,D)}else if(ye(I,ce=>!!(ce.flags&1048576&&(ce.types[0].flags&65536||ce.types[1].flags&65536))))f1t(I,65536),Z=er([Ds(I),it],1,m,D);else{if(!Ate(I))return Ot;const ce=ati(I),Fe=Oe(ce,Te=>!!(Te.flags&2097152))&&xPe(ce)>xPe(I)?EPe(2097152,I):void 0;Z=er(ce,1,m,D,Fe)}else Z=rti(I,m,D);Ln.set(U,Z)}return Z}function m1t(l){return nn(l,(m,D)=>D.flags&1048576?m*D.types.length:D.flags&131072?0:m,1)}function Ate(l){var m;const D=m1t(l);return D>=1e5?((m=Gn)==null||m.instant(Gn.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:l.map(C=>C.id),size:D}),pt(K,F.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function ati(l){const m=m1t(l),D=[];for(let C=0;C=0;U--)if(l[U].flags&1048576){const Z=l[U].types,ce=Z.length;A[U]=Z[w%ce],w=Math.floor(w/ce)}const I=Ds(A);I.flags&131072||D.push(I)}return D}function p1t(l){return!(l.flags&3145728)||l.aliasSymbol?1:l.flags&1048576&&l.origin?p1t(l.origin):xPe(l.types)}function xPe(l){return nn(l,(m,D)=>m+p1t(D),0)}function oti(l){const m=ar(l);if(!m.resolvedType){const D=q9(l),C=Vt(l.types,Ar),A=C.length===2?C.indexOf(Lc):-1,w=A>=0?C[1-A]:on,I=!!(w.flags&76||w.flags&134217728&&U9(w));m.resolvedType=Ds(C,D,sT(D),I)}return m.resolvedType}function g1t(l,m){const D=lp(4194304);return D.type=l,D.indexFlags=m,D}function sti(l){const m=Fb(4194304);return m.type=l,m}function E1t(l,m){return m&1?l.resolvedStringIndexType||(l.resolvedStringIndexType=g1t(l,1)):l.resolvedIndexType||(l.resolvedIndexType=g1t(l,0))}function lti(l,m){const D=Fg(l),C=cp(l),A=I5(l.target||l);if(!A&&!(m&2))return C;const w=[];if(tW(l)){if(AC(C))return E1t(l,m);{const Z=Gh(K9(l));RNe(Z,8576,!!(m&1),U)}}else FF(vte(C),U);AC(C)&&FF(C,U);const I=m&2?Ic(er(w),Z=>!(Z.flags&5)):er(w);if(I.flags&1048576&&C.flags&1048576&&hp(I.types)===hp(C.types))return C;return I;function U(Z){const ce=A?_a(A,dW(l.mapper,D,Z)):Z;w.push(ce===ct?wo:ce)}}function cti(l){const m=Fg(l);return D(I5(l)||m);function D(C){return C.flags&470810623?!0:C.flags&16777216?C.root.isDistributive&&C.checkType===m:C.flags&137363456?ye(C.types,D):C.flags&8388608?D(C.objectType)&&D(C.indexType):C.flags&33554432?D(C.baseType)&&D(C.constraint):C.flags&268435456?D(C.type):!1}}function j5(l){if(Xr(l))return Ku;if(Of(l))return Jh(ya(l));if(Ps(l))return Jh(F3(l));const m=sk(l);return m!==void 0?df(Yr(m)):Wt(l)?Jh(ya(l)):Ku}function yz(l,m,D){if(D||!(l4(l)&6)){let C=Ur(yge(l)).nameType;if(!C){const A=Za(l.valueDeclaration);C=l.escapedName==="default"?df("default"):A&&j5(A)||(Ij(l)?void 0:df(lc(l)))}if(C&&C.flags&m)return C}return Ku}function _1t(l,m){return!!(l.flags&m||l.flags&2097152&&Oe(l.types,D=>_1t(D,m)))}function dti(l,m,D){const C=D&&(Gu(l)&7||l.aliasSymbol)?sti(l):void 0,A=Vt(n0(l),I=>yz(I,m)),w=Vt(kh(l),I=>I!==Tu&&_1t(I.keyType,m)?I.keyType===ct&&m&8?wo:I.keyType:Ku);return er(Hi(A,w),1,void 0,void 0,C)}function D1t(l,m=0){return!!(l.flags&58982400||K5(l)||Xm(l)&&!cti(l)||l.flags&1048576&&!(m&4)&&JNe(l)||l.flags&2097152&&jl(l,465829888)&&Oe(l.types,yD))}function k_(l,m=ft){return l=Sg(l),D1t(l,m)?E1t(l,m):l.flags&1048576?Ds(Vt(l.types,D=>k_(D,m))):l.flags&2097152?er(Vt(l.types,D=>k_(D,m))):Gu(l)&32?lti(l,m):l===vi?vi:l.flags&2?Ku:l.flags&131073?vc:dti(l,(m&2?128:402653316)|(m&1?0:12584),m===ft)}function x1t(l){if(Je)return l;const m=Aei();return m?aT(m,[l,ct]):ct}function hti(l){const m=x1t(k_(l));return m.flags&131072?ct:m}function fti(l){const m=ar(l);if(!m.resolvedType)switch(l.operator){case 143:m.resolvedType=k_(Ar(l.type));break;case 158:m.resolvedType=l.type.kind===155?SPe(Lj(l.parent)):Ot;break;case 148:m.resolvedType=Ar(l.type);break;default:H.assertNever(l.operator)}return m.resolvedType}function mti(l){const m=ar(l);return m.resolvedType||(m.resolvedType=xF([l.head.text,...Vt(l.templateSpans,D=>D.literal.text)],Vt(l.templateSpans,D=>Ar(D.type)))),m.resolvedType}function xF(l,m){const D=Ue(m,ce=>!!(ce.flags&1179648));if(D>=0)return Ate(m)?hl(m[D],ce=>xF(l,qd(m,D,ce))):Ot;if(kt(m,vi))return vi;const C=[],A=[];let w=l[0];if(!Z(l,m))return ct;if(C.length===0)return df(w);if(A.push(w),ye(A,ce=>ce==="")){if(ye(C,ce=>!!(ce.flags&4)))return ct;if(C.length===1&&U9(C[0]))return C[0]}const I=`${hp(C)}|${Vt(A,ce=>ce.length).join(",")}|${A.join("")}`;let U=Da.get(I);return U||Da.set(I,U=gti(A,C)),U;function Z(ce,Fe){for(let Te=0;Te$9(l,D)):m.flags&128?df(v1t(l,m.value)):m.flags&134217728?xF(...Eti(l,m.texts,m.types)):m.flags&268435456&&l===m.symbol?m:m.flags&268435461||AC(m)?C1t(l,m):Ste(m)?C1t(l,xF(["",""],[m])):m}function v1t(l,m){switch(tQ.get(l.escapedName)){case 0:return m.toUpperCase();case 1:return m.toLowerCase();case 2:return m.charAt(0).toUpperCase()+m.slice(1);case 3:return m.charAt(0).toLowerCase()+m.slice(1)}return m}function Eti(l,m,D){switch(tQ.get(l.escapedName)){case 0:return[m.map(C=>C.toUpperCase()),D.map(C=>$9(l,C))];case 1:return[m.map(C=>C.toLowerCase()),D.map(C=>$9(l,C))];case 2:return[m[0]===""?m:[m[0].charAt(0).toUpperCase()+m[0].slice(1),...m.slice(1)],m[0]===""?[$9(l,D[0]),...D.slice(1)]:D];case 3:return[m[0]===""?m:[m[0].charAt(0).toLowerCase()+m[0].slice(1),...m.slice(1)],m[0]===""?[$9(l,D[0]),...D.slice(1)]:D]}return[m,D]}function C1t(l,m){const D=`${Zo(l)},${Fh(m)}`;let C=ua.get(D);return C||ua.set(D,C=_ti(l,m)),C}function _ti(l,m){const D=N5(268435456,l);return D.type=m,D}function Dti(l,m,D,C,A){const w=lp(8388608);return w.objectType=l,w.indexType=m,w.accessFlags=D,w.aliasSymbol=C,w.aliasTypeArguments=A,w}function lW(l){if(Ae)return!1;if(Gu(l)&4096)return!0;if(l.flags&1048576)return ye(l.types,lW);if(l.flags&2097152)return Oe(l.types,lW);if(l.flags&465829888){const m=HNe(l);return m!==l&&lW(m)}return!1}function zge(l,m){return Y4(l)?Q4(l):m&&Sc(m)?sk(m):void 0}function vPe(l,m){if(m.flags&8208){const D=Tn(l.parent,C=>!I0(C))||l.parent;return D2(D)?$E(D)&&at(l)&&Tht(D,l):ye(m.declarations,C=>!Co(C)||aC(C))}return!0}function b1t(l,m,D,C,A,w){const I=A&&A.kind===212?A:void 0,U=A&&Xr(A)?void 0:zge(D,A);if(U!==void 0){if(w&256)return Ob(m,U)||me;const ce=qo(m,U);if(ce){if(w&64&&A&&ce.declarations&&S5(ce)&&vPe(A,ce)){const Te=(I==null?void 0:I.argumentExpression)??(I7(A)?A.indexType:A);m3(Te,ce.declarations,U)}if(I){if(nie(ce,I,Rft(I.expression,m.symbol)),kmt(I,ce,f7(I))){pt(I.argumentExpression,F.Cannot_assign_to_0_because_it_is_a_read_only_property,Fr(ce));return}if(w&8&&(ar(A).resolvedSymbol=ce),Tft(I,ce))return ni}const Fe=w&4?mF(ce):Wn(ce);return I&&f7(I)!==1?w6(I,Fe):A&&I7(A)&&EW(Fe)?er([Fe,te]):Fe}if(e4(m,xs)&&i3(U)){const Fe=+U;if(A&&e4(m,Te=>!Te.target.hasRestElement)&&!(w&16)){const Te=CPe(A);if(xs(m)){if(Fe<0)return pt(Te,F.A_tuple_type_cannot_be_indexed_with_a_negative_value),te;pt(Te,F.Tuple_type_0_of_length_1_has_no_element_at_index_2,gn(m),O5(m),Yr(U))}else pt(Te,F.Property_0_does_not_exist_on_type_1,Yr(U),gn(m))}if(Fe>=0)return Z(k3(m,Qt)),dht(m,Fe,w&1?de:void 0)}}if(!(D.flags&98304)&&u1(D,402665900)){if(m.flags&131073)return m;const ce=nW(m,D)||k3(m,ct);if(ce){if(w&2&&ce.keyType!==Qt){I&&(w&4?pt(I,F.Type_0_is_generic_and_can_only_be_indexed_for_reading,gn(l)):pt(I,F.Type_0_cannot_be_used_to_index_type_1,gn(D),gn(l)));return}if(A&&ce.keyType===ct&&!u1(D,12)){const Fe=CPe(A);return pt(Fe,F.Type_0_cannot_be_used_as_an_index_type,gn(D)),w&1?er([ce.type,de]):ce.type}return Z(ce),w&1&&!(m.symbol&&m.symbol.flags&384&&D.symbol&&D.flags&1024&&cf(D.symbol)===m.symbol)?er([ce.type,de]):ce.type}if(D.flags&131072)return Ku;if(lW(m))return me;if(I&&!WEe(m)){if(PC(m)){if(Ae&&D.flags&384)return Vs.add(Su(I,F.Property_0_does_not_exist_on_type_1,D.value,gn(m))),te;if(D.flags&12){const Fe=Vt(m.properties,Te=>Wn(Te));return er(xi(Fe,te))}}if(m.symbol===St&&U!==void 0&&St.exports.has(U)&&St.exports.get(U).flags&418)pt(I,F.Property_0_does_not_exist_on_type_1,Yr(U),gn(m));else if(Ae&&!ae.suppressImplicitAnyIndexErrors&&!(w&128))if(U!==void 0&&Mft(U,m)){const Fe=gn(m);pt(I,F.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,U,Fe,Fe+"["+Hc(I.argumentExpression)+"]")}else if(yC(m,Qt))pt(I.argumentExpression,F.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{let Fe;if(U!==void 0&&(Fe=$Me(U,m)))Fe!==void 0&&pt(I.argumentExpression,F.Property_0_does_not_exist_on_type_1_Did_you_mean_2,U,gn(m),Fe);else{const Te=pri(m,I,D);if(Te!==void 0)pt(I,F.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,gn(m),Te);else{let $e;if(D.flags&1024)$e=ro(void 0,F.Property_0_does_not_exist_on_type_1,"["+gn(D)+"]",gn(m));else if(D.flags&8192){const ut=op(D.symbol,I);$e=ro(void 0,F.Property_0_does_not_exist_on_type_1,"["+ut+"]",gn(m))}else D.flags&128||D.flags&256?$e=ro(void 0,F.Property_0_does_not_exist_on_type_1,D.value,gn(m)):D.flags&12&&($e=ro(void 0,F.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,gn(D),gn(m)));$e=ro($e,F.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,gn(C),gn(m)),Vs.add(Y3(zn(I),I,$e))}}}return}}if(lW(m))return me;if(A){const ce=CPe(A);D.flags&384?pt(ce,F.Property_0_does_not_exist_on_type_1,""+D.value,gn(m)):D.flags&12?pt(ce,F.Type_0_has_no_matching_index_signature_for_type_1,gn(m),gn(D)):pt(ce,F.Type_0_cannot_be_used_as_an_index_type,gn(D))}if(nt(D))return D;return;function Z(ce){ce&&ce.isReadonly&&I&&(Q_(I)||V0e(I))&&pt(I,F.Index_signature_in_type_0_only_permits_reading,gn(m))}}function CPe(l){return l.kind===212?l.argumentExpression:l.kind===199?l.indexType:l.kind===167?l.expression:l}function Ste(l){if(l.flags&2097152){let m=!1;for(const D of l.types)if(D.flags&101248||Ste(D))m=!0;else if(!(D.flags&524288))return!1;return m}return!!(l.flags&77)||U9(l)}function U9(l){return!!(l.flags&134217728)&&ye(l.types,Ste)||!!(l.flags&268435456)&&Ste(l.type)}function kz(l){return!!cW(l)}function Lb(l){return!!(cW(l)&4194304)}function AC(l){return!!(cW(l)&8388608)}function cW(l){return l.flags&3145728?(l.objectFlags&2097152||(l.objectFlags|=2097152|nn(l.types,(m,D)=>m|cW(D),0)),l.objectFlags&12582912):l.flags&33554432?(l.objectFlags&2097152||(l.objectFlags|=2097152|cW(l.baseType)|cW(l.constraint)),l.objectFlags&12582912):(l.flags&58982400||Xm(l)||K5(l)?4194304:0)|(l.flags&465829888&&!U9(l)?8388608:0)}function vD(l,m){return l.flags&8388608?vti(l,m):l.flags&16777216?Cti(l,m):l}function y1t(l,m,D){if(l.flags&1048576||l.flags&2097152&&!D1t(l)){const C=Vt(l.types,A=>vD(qf(A,m),D));return l.flags&2097152||D?Ds(C):er(C)}}function xti(l,m,D){if(m.flags&1048576){const C=Vt(m.types,A=>vD(qf(l,A),D));return D?Ds(C):er(C)}}function vti(l,m){const D=m?"simplifiedForWriting":"simplifiedForReading";if(l[D])return l[D]===Uc?l:l[D];l[D]=Uc;const C=vD(l.objectType,m),A=vD(l.indexType,m),w=xti(C,A,m);if(w)return l[D]=w;if(!(A.flags&465829888)){const I=y1t(C,A,m);if(I)return l[D]=I}if(K5(C)&&A.flags&296){const I=wz(C,A.flags&8?0:C.target.fixedLength,0,m);if(I)return l[D]=I}return Xm(C)&&(!I5(C)||vdt(C))?l[D]=hl(Ige(C,l.indexType),I=>vD(I,m)):l[D]=l}function Cti(l,m){const D=l.checkType,C=l.extendsType,A=SC(l),w=BC(l);if(w.flags&131072&&y6(A)===y6(D)){if(D.flags&1||ms(vF(D),vF(C)))return vD(A,m);if(k1t(D,C))return Ku}else if(A.flags&131072&&y6(w)===y6(D)){if(!(D.flags&1)&&ms(vF(D),vF(C)))return Ku;if(D.flags&1||k1t(D,C))return vD(w,m)}return l}function k1t(l,m){return!!(er([xte(l,m),Ku]).flags&131072)}function Ige(l,m){const D=Sf([Fg(l)],[m]),C=wC(l.mapper,D);return _a(DD(l.target||l),C)}function qf(l,m,D=0,C,A,w){return b6(l,m,D,C,A,w)||(C?Ot:on)}function F1t(l,m){return e4(l,D=>{if(D.flags&384){const C=Q4(D);if(i3(C)){const A=+C;return A>=0&&A0&&!Oe(l.elements,m=>Dce(m)||xce(m)||GP(m)&&!!(m.questionToken||m.dotDotDotToken))}function B1t(l,m){return kz(l)||m&&xs(l)&&Oe(FC(l),kz)}function yPe(l,m,D,C){let A,w,I=0;for(;;){if(I===1e3)return pt(K,F.Type_instantiation_is_excessively_deep_and_possibly_infinite),Ot;const Z=_a(y6(l.checkType),m),ce=_a(l.extendsType,m);if(Z===Ot||ce===Ot)return Ot;if(Z===vi||ce===vi)return vi;const Fe=S1t(l.node.checkType)&&S1t(l.node.extendsType)&&S(l.node.checkType.elements)===S(l.node.extendsType.elements),Te=B1t(Z,Fe);let $e;if(l.inferTypeParameters){const zt=Lu(l.inferTypeParameters,bti),gi=zt!==l.inferTypeParameters?Sf(l.inferTypeParameters,zt):void 0,Wi=DW(zt,void 0,0);if(gi){const nu=wC(m,gi);for(let En=0;Enk6(gi,Te)),ut=Sf(Fe.outerTypeParameters,$e),zt=Fe.isDistributive?k6(Fe.checkType,ut):void 0;if(!zt||zt===Fe.checkType||!(zt.flags&1179648))return l=Fe,m=ut,D=void 0,C=void 0,Fe.aliasSymbol&&I++,!0}}return!1}}function SC(l){return l.resolvedTrueType||(l.resolvedTrueType=_a(Ar(l.root.node.trueType),l.mapper))}function BC(l){return l.resolvedFalseType||(l.resolvedFalseType=_a(Ar(l.root.node.falseType),l.mapper))}function yti(l){return l.resolvedInferredTrueType||(l.resolvedInferredTrueType=l.combinedMapper?_a(Ar(l.root.node.trueType),l.combinedMapper):SC(l))}function w1t(l){let m;return l.locals&&l.locals.forEach(D=>{D.flags&262144&&(m=xi(m,X0(D)))}),m}function kti(l){return l.isDistributive&&(Lte(l.checkType,l.node.trueType)||Lte(l.checkType,l.node.falseType))}function Fti(l){const m=ar(l);if(!m.resolvedType){const D=Ar(l.checkType),C=q9(l),A=sT(C),w=_z(l,!0),I=A?w:ti(w,Z=>Lte(Z,l)),U={node:l,checkType:D,extendsType:Ar(l.extendsType),isDistributive:!!(D.flags&262144),inferTypeParameters:w1t(l),outerTypeParameters:I,instantiations:void 0,aliasSymbol:C,aliasTypeArguments:A};m.resolvedType=yPe(U,void 0),I&&(U.instantiations=new Map,U.instantiations.set(hp(I),m.resolvedType))}return m.resolvedType}function Ati(l){const m=ar(l);return m.resolvedType||(m.resolvedType=gF(_u(l.typeParameter))),m.resolvedType}function T1t(l){return at(l)?[l]:xi(T1t(l.left),l.right)}function Sti(l){var m;const D=ar(l);if(!D.resolvedType){if(!zx(l))return pt(l.argument,F.String_literal_expected),D.resolvedSymbol=Xt,D.resolvedType=Ot;const C=l.isTypeOf?111551:l.flags&16777216?900095:788968,A=Kh(l,l.argument.literal);if(!A)return D.resolvedSymbol=Xt,D.resolvedType=Ot;const w=!!((m=A.exports)!=null&&m.get("export=")),I=_m(A,!1);if(Ql(l.qualifier))if(I.flags&C)D.resolvedType=L1t(l,D,I,C);else{const U=C===111551?F.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:F.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0;pt(l,U,l.argument.literal.text),D.resolvedSymbol=Xt,D.resolvedType=Ot}else{const U=T1t(l.qualifier);let Z=I,ce;for(;ce=U.shift();){const Fe=U.length?1920:C,Te=Ks(yc(Z)),$e=l.isTypeOf||Qn(l)&&w?qo(Wn(Te),ce.escapedText,!1,!0):void 0,zt=(l.isTypeOf?void 0:kf($f(Te),ce.escapedText,Fe))??$e;if(!zt)return pt(ce,F.Namespace_0_has_no_exported_member_1,op(Z),b0(ce)),D.resolvedType=Ot;ar(ce).resolvedSymbol=zt,ar(ce.parent).resolvedSymbol=zt,Z=zt}D.resolvedType=L1t(l,D,Z,C)}}return D.resolvedType}function L1t(l,m,D,C){const A=yc(D);return m.resolvedSymbol=A,C===111551?cmt(Wn(D),l):Lge(l,A)}function N1t(l){const m=ar(l);if(!m.resolvedType){const D=q9(l);if(_6(l.symbol).size===0&&!D)m.resolvedType=Lc;else{let C=D4(16,l.symbol);C.aliasSymbol=D,C.aliasTypeArguments=sT(D),K7(l)&&l.isArrayType&&(C=V1(C)),m.resolvedType=C}}return m.resolvedType}function q9(l){let m=l.parent;for(;M7(m)||kk(m)||z7(m)&&m.operator===148;)m=m.parent;return Sj(m)?_u(m):void 0}function sT(l){return l?sn(l):void 0}function Rge(l){return!!(l.flags&524288)&&!Xm(l)}function kPe(l){return bD(l)||!!(l.flags&474058748)}function FPe(l,m){if(!(l.flags&1048576))return l;if(ye(l.types,kPe))return Le(l.types,bD)||Ko;const D=Le(l.types,w=>!kPe(w));if(!D||Le(l.types,w=>w!==D&&!kPe(w)))return l;return A(D);function A(w){const I=Vo();for(const Z of n0(w))if(!(l4(Z)&6)){if(Oge(Z)){const ce=Z.flags&65536&&!(Z.flags&32768),Te=Hs(16777220,Z.escapedName,INe(Z)|(m?8:0));Te.links.type=ce?te:Vd(Wn(Z),!0),Te.declarations=Z.declarations,Te.links.nameType=Ur(Z).nameType,Te.links.syntheticOrigin=Z,I.set(Z.escapedName,Te)}}const U=Ol(w.symbol,I,_t,_t,kh(w));return U.objectFlags|=131200,U}}function Nb(l,m,D,C,A){if(l.flags&1||m.flags&1)return me;if(l.flags&2||m.flags&2)return on;if(l.flags&131072)return m;if(m.flags&131072)return l;if(l=FPe(l,A),l.flags&1048576)return Ate([l,m])?hl(l,ce=>Nb(ce,m,D,C,A)):Ot;if(m=FPe(m,A),m.flags&1048576)return Ate([l,m])?hl(m,ce=>Nb(l,ce,D,C,A)):Ot;if(m.flags&473960444)return l;if(Lb(l)||Lb(m)){if(bD(l))return m;if(l.flags&2097152){const ce=l.types,Fe=ce[ce.length-1];if(Rge(Fe)&&Rge(m))return Ds(Hi(ce.slice(0,ce.length-1),[Nb(Fe,m,D,C,A)]))}return Ds([l,m])}const w=Vo(),I=new Set,U=l===Ko?kh(m):pdt([l,m]);for(const ce of n0(m))l4(ce)&6?I.add(ce.escapedName):Oge(ce)&&w.set(ce.escapedName,APe(ce,A));for(const ce of n0(l))if(!(I.has(ce.escapedName)||!Oge(ce)))if(w.has(ce.escapedName)){const Fe=w.get(ce.escapedName),Te=Wn(Fe);if(Fe.flags&16777216){const $e=Hi(ce.declarations,Fe.declarations),ut=4|ce.flags&16777216,zt=Hs(ut,ce.escapedName),gi=Wn(ce),Wi=lEe(gi),dn=lEe(Te);zt.links.type=Wi===dn?gi:er([gi,dn],2),zt.links.leftSpread=ce,zt.links.rightSpread=Fe,zt.declarations=$e,zt.links.nameType=Ur(ce).nameType,w.set(ce.escapedName,zt)}}else w.set(ce.escapedName,APe(ce,A));const Z=Ol(D,w,_t,_t,Lu(U,ce=>Bti(ce,A)));return Z.objectFlags|=2228352|C,Z}function Oge(l){var m;return!Oe(l.declarations,ph)&&(!(l.flags&106496)||!((m=l.declarations)!=null&&m.some(D=>mr(D.parent))))}function APe(l,m){const D=l.flags&65536&&!(l.flags&32768);if(!D&&m===Ng(l))return l;const C=4|l.flags&16777216,A=Hs(C,l.escapedName,INe(l)|(m?8:0));return A.links.type=D?te:Wn(l),A.declarations=l.declarations,A.links.nameType=Ur(l).nameType,A.links.syntheticOrigin=l,A}function Bti(l,m){return l.isReadonly!==m?y_(l.keyType,l.type,m,l.declaration):l}function Bte(l,m,D,C){const A=N5(l,D);return A.value=m,A.regularType=C||A,A}function Z9(l){if(l.flags&2976){if(!l.freshType){const m=Bte(l.flags,l.value,l.symbol,l);m.freshType=m,l.freshType=m}return l.freshType}return l}function Jh(l){return l.flags&2976?l.regularType:l.flags&1048576?l.regularType||(l.regularType=hl(l,Jh)):l}function Pb(l){return!!(l.flags&2976)&&l.freshType===l}function df(l){let m;return Si.get(l)||(Si.set(l,m=Bte(128,l)),m)}function wg(l){let m;return Dn.get(l)||(Dn.set(l,m=Bte(256,l)),m)}function jge(l){let m;const D=I2(l);return Cn.get(D)||(Cn.set(D,m=Bte(2048,l)),m)}function wti(l,m,D){let C;const A=`${m}${typeof l=="string"?"@":"#"}${l}`,w=1024|(typeof l=="string"?128:256);return tu.get(A)||(tu.set(A,C=Bte(w,l,D)),C)}function Tti(l){if(l.literal.kind===106)return it;const m=ar(l);return m.resolvedType||(m.resolvedType=Jh(ya(l.literal))),m.resolvedType}function Lti(l){const m=N5(8192,l);return m.escapedName=`__@${m.symbol.escapedName}@${Zo(m.symbol)}`,m}function SPe(l){if($be(l)){const m=sq(l)?Dm(l.left):Dm(l);if(m){const D=Ur(m);return D.uniqueESSymbolType||(D.uniqueESSymbolType=Lti(m))}}return Xu}function Nti(l){const m=tf(l,!1,!1),D=m&&m.parent;if(D&&(mr(D)||D.kind===264)&&!No(m)&&(!hc(m)||S2(l,m.body)))return b4(_u(D)).thisType;if(D&&ys(D)&&Xn(D.parent)&&Xl(D.parent)===6)return b4(Dm(D.parent.left).parent).thisType;const C=l.flags&16777216?kv(l):void 0;return C&&A0(C)&&Xn(C.parent)&&Xl(C.parent)===3?b4(Dm(C.parent.left).parent).thisType:AE(m)&&S2(l,m.body)?b4(_u(m)).thisType:(pt(l,F.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),Ot)}function Vge(l){const m=ar(l);return m.resolvedType||(m.resolvedType=Nti(l)),m.resolvedType}function P1t(l){return Ar(wte(l.type)||l.type)}function wte(l){switch(l.kind){case 196:return wte(l.type);case 189:if(l.elements.length===1&&(l=l.elements[0],l.kind===191||l.kind===202&&l.dotDotDotToken))return wte(l.type);break;case 188:return l.elementType}}function Pti(l){const m=ar(l);return m.resolvedType||(m.resolvedType=l.dotDotDotToken?P1t(l):Vd(Ar(l.type),!0,!!l.questionToken))}function Ar(l){return hei(M1t(l),l)}function M1t(l){switch(l.kind){case 133:case 319:case 320:return me;case 159:return on;case 154:return ct;case 150:return Qt;case 163:return Li;case 136:return pr;case 155:return Xu;case 116:return ca;case 157:return te;case 106:return it;case 146:return Ku;case 151:return l.flags&524288&&!Ae?me:as;case 141:return Qi;case 197:case 110:return Vge(l);case 201:return Tti(l);case 183:return aPe(l);case 182:return l.assertsModifier?ca:pr;case 233:return aPe(l);case 186:return Jdt(l);case 188:case 189:return Hei(l);case 190:return Jei(l);case 192:return Xei(l);case 193:return oti(l);case 321:return fei(l);case 323:return Vd(Ar(l.type));case 202:return Pti(l);case 196:case 322:case 316:return Ar(l.type);case 191:return P1t(l);case 325:return T0i(l);case 184:case 185:case 187:case 329:case 324:case 330:return N1t(l);case 198:return fti(l);case 199:return A1t(l);case 200:return bPe(l);case 194:return Fti(l);case 195:return Ati(l);case 203:return mti(l);case 205:return Sti(l);case 80:case 166:case 211:const m=Yp(l);return m?X0(m):Ot;default:return Ot}}function Hge(l,m,D){if(l&&l.length)for(let C=0;CC.typeParameter),Vt(D,()=>on))}function wC(l,m){return l?Wge(4,l,m):m}function Iti(l,m){return l?Wge(5,l,m):m}function Y9(l,m,D){return D?Wge(5,Mb(l,m),D):Mb(l,m)}function dW(l,m,D){return l?Wge(5,l,Mb(m,D)):Mb(m,D)}function Rti(l){return!l.constraint&&!iPe(l)||l.constraint===dl?l:l.restrictiveInstantiation||(l.restrictiveInstantiation=j1(l.symbol),l.restrictiveInstantiation.constraint=dl,l.restrictiveInstantiation)}function Gge(l){const m=j1(l.symbol);return m.target=l,m}function Oti(l,m){return yte(l.kind,l.parameterName,l.parameterIndex,_a(l.type,m))}function lT(l,m,D){let C;if(l.typeParameters&&!D){C=Vt(l.typeParameters,Gge),m=wC(Sf(l.typeParameters,C),m);for(const w of C)w.mapper=m}const A=y3(l.declaration,C,l.thisParameter&&wPe(l.thisParameter,m),Hge(l.parameters,m,wPe),void 0,void 0,l.minArgumentCount,l.flags&167);return A.target=l,A.mapper=m,A}function wPe(l,m){const D=Ur(l);if(D.type&&!NC(D.type)&&(!(l.flags&65536)||D.writeType&&!NC(D.writeType)))return l;Gl(l)&1&&(l=D.target,m=wC(D.mapper,m));const C=Hs(l.flags,l.escapedName,1|Gl(l)&53256);return C.declarations=l.declarations,C.parent=l.parent,C.links.target=l,C.links.mapper=m,l.valueDeclaration&&(C.valueDeclaration=l.valueDeclaration),D.nameType&&(C.links.nameType=D.nameType),C}function jti(l,m,D,C){const A=l.objectFlags&4||l.objectFlags&8388608?l.node:l.symbol.declarations[0],w=ar(A),I=l.objectFlags&4?w.resolvedType:l.objectFlags&64?l.target:l;let U=w.outerTypeParameters;if(!U){let Z=_z(A,!0);if(AE(A)){const Fe=Tdt(A);Z=yn(Z,Fe)}U=Z||_t;const ce=l.objectFlags&8388612?[A]:l.symbol.declarations;U=(I.objectFlags&8388612||I.symbol.flags&8192||I.symbol.flags&2048)&&!I.aliasTypeArguments?ti(U,Fe=>Oe(ce,Te=>Lte(Fe,Te))):U,w.outerTypeParameters=U}if(U.length){const Z=wC(l.mapper,m),ce=Vt(U,zt=>k6(zt,Z)),Fe=D||l.aliasSymbol,Te=D?C:V5(l.aliasTypeArguments,m),$e=hp(ce)+J9(Fe,Te);I.instantiations||(I.instantiations=new Map,I.instantiations.set(hp(U)+J9(I.aliasSymbol,I.aliasTypeArguments),I));let ut=I.instantiations.get($e);if(!ut){const zt=Sf(U,ce);ut=I.objectFlags&4?nPe(l.target,l.node,zt,Fe,Te):I.objectFlags&32?R1t(I,zt,Fe,Te):LPe(I,zt,Fe,Te),I.instantiations.set($e,ut);const gi=Gu(ut);if(ut.flags&3899393&&!(gi&524288)){const Wi=Oe(ce,NC);Gu(ut)&524288||(gi&52?ut.objectFlags|=524288|(Wi?1048576:0):ut.objectFlags|=Wi?0:524288)}}return ut}return l}function Vti(l){return!(l.parent.kind===183&&l.parent.typeArguments&&l===l.parent.typeName||l.parent.kind===205&&l.parent.typeArguments&&l===l.parent.qualifier)}function Lte(l,m){if(l.symbol&&l.symbol.declarations&&l.symbol.declarations.length===1){const C=l.symbol.declarations[0].parent;for(let A=m;A!==C;A=A.parent)if(!A||A.kind===241||A.kind===194&&ao(A.extendsType,D))return!0;return D(m)}return!0;function D(C){switch(C.kind){case 197:return!!l.isThisType;case 80:return!l.isThisType&&q_(C)&&Vti(C)&&M1t(C)===l;case 186:const A=C.exprName,w=hm(A);if(!N2(w)){const I=Zp(w),U=l.symbol.declarations[0],Z=U.kind===168?U.parent:l.isThisType?U:void 0;if(I.declarations&&Z)return Oe(I.declarations,ce=>S2(ce,Z))||Oe(C.typeArguments,D)}return!0;case 174:case 173:return!C.type&&!!C.body||Oe(C.typeParameters,D)||Oe(C.parameters,D)||!!C.type&&D(C.type)}return!!ao(C,D)}}function Jge(l){const m=cp(l);if(m.flags&4194304){const D=y6(m.type);if(D.flags&262144)return D}}function R1t(l,m,D,C){const A=Jge(l);if(A){const w=_a(A,m);if(A!==w)return Vht(Sg(w),I=>{if(I.flags&61603843&&I!==vi&&!Nt(I)){if(!l.declaration.nameType){let U;if(A4(I)||I.flags&1&&xC(A,4)<0&&(U=rh(A))&&e4(U,zb))return Kti(I,l,Y9(A,I,m));if(K5(I))return Hti(I,l,A,m);if(xs(I))return Wti(I,l,Y9(A,I,m))}return LPe(l,Y9(A,I,m))}return I},D,C)}return _a(cp(l),m)===vi?vi:LPe(l,m,D,C)}function TPe(l,m){return m&1?!0:m&2?!1:l}function Hti(l,m,D,C){const A=l.target.elementFlags,w=Vt(FC(l),(U,Z)=>{const ce=A[Z]&8?U:A[Z]&4?V1(U):Bg([U],[A[Z]]);return ce===D?m:R1t(m,Y9(D,ce,C))}),I=TPe(l.target.readonly,C_(m));return Bg(w,Vt(w,U=>8),I)}function Kti(l,m,D){const C=O1t(m,Qt,!0,D);return Nt(C)?Ot:V1(C,TPe(Sz(l),C_(m)))}function Wti(l,m,D){const C=l.target.elementFlags,A=Vt(FC(l),(Z,ce)=>O1t(m,df(""+ce),!!(C[ce]&2),D)),w=C_(m),I=w&4?Vt(C,Z=>Z&1?2:Z):w&8?Vt(C,Z=>Z&2?1:Z):C,U=TPe(l.target.readonly,w);return kt(A,Ot)?Ot:Bg(A,I,U,l.target.labeledElementDeclarations)}function O1t(l,m,D,C){const A=dW(C,Fg(l),m),w=_a(DD(l.target||l),A),I=C_(l);return fe&&I&4&&!jl(w,49152)?S6(w,!0):fe&&I&8&&D?mp(w,524288):w}function LPe(l,m,D,C){const A=D4(l.objectFlags&-1572865|64,l.symbol);if(l.objectFlags&32){A.declaration=l.declaration;const w=Fg(l),I=Gge(w);A.typeParameter=I,m=wC(Mb(w,I),m),I.mapper=m}return l.objectFlags&8388608&&(A.node=l.node),A.target=l,A.mapper=m,A.aliasSymbol=D||l.aliasSymbol,A.aliasTypeArguments=D?C:V5(l.aliasTypeArguments,m),A.objectFlags|=A.aliasTypeArguments?wge(A.aliasTypeArguments):0,A}function NPe(l,m,D,C){const A=l.root;if(A.outerTypeParameters){const w=Vt(A.outerTypeParameters,Z=>k6(Z,m)),I=hp(w)+J9(D,C);let U=A.instantiations.get(I);if(!U){const Z=Sf(A.outerTypeParameters,w),ce=A.checkType,Fe=A.isDistributive?k6(ce,Z):void 0;U=Fe&&ce!==Fe&&Fe.flags&1179648?Vht(Sg(Fe),Te=>yPe(A,Y9(ce,Te,Z)),D,C):yPe(A,Z,D,C),A.instantiations.set(I,U)}return U}return l}function _a(l,m){return l&&m?j1t(l,m,void 0,void 0):l}function j1t(l,m,D,C){var A;if(!NC(l))return l;if(j===100||z>=5e6)return(A=Gn)==null||A.instant(Gn.Phase.CheckTypes,"instantiateType_DepthLimit",{typeId:l.id,instantiationDepth:j,instantiationCount:z}),pt(K,F.Type_instantiation_is_excessively_deep_and_possibly_infinite),Ot;M++,z++,j++;const w=Gti(l,m,D,C);return j--,w}function Gti(l,m,D,C){const A=l.flags;if(A&262144)return k6(l,m);if(A&524288){const w=l.objectFlags;if(w&52){if(w&4&&!l.node){const I=l.resolvedTypeArguments,U=V5(I,m);return U!==I?fPe(l.target,U):l}return w&1024?Jti(l,m):jti(l,m,D,C)}return l}if(A&3145728){const w=l.flags&1048576?l.origin:void 0,I=w&&w.flags&3145728?w.types:l.types,U=V5(I,m);if(U===I&&D===l.aliasSymbol)return l;const Z=D||l.aliasSymbol,ce=D?C:V5(l.aliasTypeArguments,m);return A&2097152||w&&w.flags&2097152?Ds(U,Z,ce):er(U,1,Z,ce)}if(A&4194304)return k_(_a(l.type,m));if(A&134217728)return xF(l.texts,V5(l.types,m));if(A&268435456)return $9(l.symbol,_a(l.type,m));if(A&8388608){const w=D||l.aliasSymbol,I=D?C:V5(l.aliasTypeArguments,m);return qf(_a(l.objectType,m),_a(l.indexType,m),l.accessFlags,void 0,w,I)}if(A&16777216)return NPe(l,wC(l.mapper,m),D,C);if(A&33554432){const w=_a(l.baseType,m),I=_a(l.constraint,m);return w.flags&8650752&&kz(I)?uPe(w,I):I.flags&3||ms(vF(w),vF(I))?w:w.flags&8650752?uPe(w,I):Ds([I,w])}return l}function Jti(l,m){const D=_a(l.mappedType,m);if(!(Gu(D)&32))return l;const C=_a(l.constraintType,m);if(!(C.flags&4194304))return l;const A=Dht(_a(l.source,m),D,C);return A||l}function $ge(l){return l.flags&402915327?l:l.permissiveInstantiation||(l.permissiveInstantiation=_a(l,hd))}function vF(l){return l.flags&402915327?l:(l.restrictiveInstantiation||(l.restrictiveInstantiation=_a(l,wl),l.restrictiveInstantiation.restrictiveInstantiation=l.restrictiveInstantiation),l.restrictiveInstantiation)}function $ti(l,m){return y_(l.keyType,_a(l.type,m),l.isReadonly,l.declaration)}function k4(l){switch(H.assert(l.kind!==174||zp(l)),l.kind){case 218:case 219:case 174:case 262:return V1t(l);case 210:return Oe(l.properties,k4);case 209:return Oe(l.elements,k4);case 227:return k4(l.whenTrue)||k4(l.whenFalse);case 226:return(l.operatorToken.kind===57||l.operatorToken.kind===61)&&(k4(l.left)||k4(l.right));case 303:return k4(l.initializer);case 217:return k4(l.expression);case 292:return Oe(l.properties,k4)||aE(l.parent)&&Oe(l.parent.parent.children,k4);case 291:{const{initializer:m}=l;return!!m&&k4(m)}case 294:{const{expression:m}=l;return!!m&&k4(m)}}return!1}function V1t(l){return fZ(l)||Uti(l)}function Uti(l){return l.typeParameters||U4(l)||!l.body?!1:l.body.kind!==241?k4(l.body):!!y2(l.body,m=>!!m.expression&&k4(m.expression))}function Uge(l){return(R2(l)||zp(l))&&V1t(l)}function H1t(l){if(l.flags&524288){const m=Ag(l);if(m.constructSignatures.length||m.callSignatures.length){const D=D4(16,l.symbol);return D.members=m.members,D.properties=m.properties,D.callSignatures=_t,D.constructSignatures=_t,D.indexInfos=_t,D}}else if(l.flags&2097152)return Ds(Vt(l.types,H1t));return l}function CD(l,m){return bE(l,m,Em)}function hW(l,m){return bE(l,m,Em)?-1:0}function PPe(l,m){return bE(l,m,Jf)?-1:0}function qti(l,m){return bE(l,m,h_)?-1:0}function F6(l,m){return bE(l,m,h_)}function K1t(l,m){return bE(l,m,p4)}function ms(l,m){return bE(l,m,Jf)}function TC(l,m){return l.flags&1048576?ye(l.types,D=>TC(D,m)):m.flags&1048576?Oe(m.types,D=>TC(l,D)):l.flags&2097152?Oe(l.types,D=>TC(D,m)):l.flags&58982400?TC(Wh(l)||on,m):yD(m)?!!(l.flags&67633152):m===He?!!(l.flags&67633152)&&!yD(l):m===di?!!(l.flags&524288)&&pMe(l):H9(l,eT(m))||A4(m)&&!Sz(m)&&TC(l,To)}function qge(l,m){return bE(l,m,Hh)}function Nte(l,m){return qge(l,m)||qge(m,l)}function Ah(l,m,D,C,A,w){return F4(l,m,Jf,D,C,A,w)}function A6(l,m,D,C,A,w){return MPe(l,m,Jf,D,C,A,w,void 0)}function MPe(l,m,D,C,A,w,I,U){return bE(l,m,D)?!0:!C||!fW(A,l,m,D,w,I,U)?F4(l,m,D,C,w,I,U):!1}function W1t(l){return!!(l.flags&16777216||l.flags&2097152&&Oe(l.types,W1t))}function fW(l,m,D,C,A,w,I){if(!l||W1t(D))return!1;if(!F4(m,D,C,void 0)&&Zti(l,m,D,C,A,w,I))return!0;switch(l.kind){case 234:if(!gb(l))break;case 294:case 217:return fW(l.expression,m,D,C,A,w,I);case 226:switch(l.operatorToken.kind){case 64:case 28:return fW(l.right,m,D,C,A,w,I)}break;case 210:return uii(l,m,D,C,w,I);case 209:return iii(l,m,D,C,w,I);case 292:return tii(l,m,D,C,w,I);case 219:return Yti(l,m,D,C,w,I)}return!1}function Zti(l,m,D,C,A,w,I){const U=go(m,0),Z=go(m,1);for(const ce of[Z,U])if(Oe(ce,Fe=>{const Te=Zs(Fe);return!(Te.flags&131073)&&F4(Te,D,C,void 0)})){const Fe=I||{};Ah(m,D,l,A,w,Fe);const Te=Fe.errors[Fe.errors.length-1];return Es(Te,Su(l,ce===Z?F.Did_you_mean_to_use_new_with_this_expression:F.Did_you_mean_to_call_this_expression)),!0}return!1}function Yti(l,m,D,C,A,w){if(po(l.body)||Oe(l.parameters,JU))return!1;const I=wF(m);if(!I)return!1;const U=go(D,0);if(!S(U))return!1;const Z=l.body,ce=Zs(I),Fe=er(Vt(U,Zs));if(!F4(ce,Fe,C,void 0)){const Te=Z&&fW(Z,ce,Fe,C,void 0,A,w);if(Te)return Te;const $e=w||{};if(F4(ce,Fe,C,Z,void 0,A,$e),$e.errors)return D.symbol&&S(D.symbol.declarations)&&Es($e.errors[$e.errors.length-1],Su(D.symbol.declarations[0],F.The_expected_type_comes_from_the_return_type_of_this_signature)),!(kd(l)&2)&&!he(ce,"then")&&F4(die(ce),Fe,C,void 0)&&Es($e.errors[$e.errors.length-1],Su(l,F.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}function G1t(l,m,D){const C=b6(m,D);if(C)return C;if(m.flags&1048576){const A=X1t(l,m);if(A)return b6(A,D)}}function J1t(l,m){Zte(l,m,!1);const D=Oz(l,1);return bW(),D}function Pte(l,m,D,C,A,w){let I=!1;for(const U of l){const{errorNode:Z,innerExpression:ce,nameType:Fe,errorMessage:Te}=U;let $e=G1t(m,D,Fe);if(!$e||$e.flags&8388608)continue;let ut=b6(m,Fe);if(!ut)continue;const zt=zge(Fe,void 0);if(!F4(ut,$e,C,void 0)){const gi=ce&&fW(ce,ut,$e,C,void 0,A,w);if(I=!0,!gi){const Wi=w||{},dn=ce?J1t(ce,ut):ut;if(Ve&&Yge(dn,$e)){const nu=Su(Z,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,gn(dn),gn($e));Vs.add(nu),Wi.errors=[nu]}else{const nu=!!(zt&&(qo(D,zt)||Xt).flags&16777216),En=!!(zt&&(qo(m,zt)||Xt).flags&16777216);$e=B6($e,nu),ut=B6(ut,nu&&En),F4(dn,$e,C,Z,Te,A,Wi)&&dn!==ut&&F4(ut,$e,C,Z,Te,A,Wi)}if(Wi.errors){const nu=Wi.errors[Wi.errors.length-1],En=Y4(Fe)?Q4(Fe):void 0,Ii=En!==void 0?qo(D,En):void 0;let Nn=!1;if(!Ii){const vn=nW(D,Fe);vn&&vn.declaration&&!zn(vn.declaration).hasNoDefaultLib&&(Nn=!0,Es(nu,Su(vn.declaration,F.The_expected_type_comes_from_this_index_signature)))}if(!Nn&&(Ii&&S(Ii.declarations)||D.symbol&&S(D.symbol.declarations))){const vn=Ii&&S(Ii.declarations)?Ii.declarations[0]:D.symbol.declarations[0];zn(vn).hasNoDefaultLib||Es(nu,Su(vn,F.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,En&&!(Fe.flags&8192)?Yr(En):gn(Fe),gn(D)))}}}}}return I}function Qti(l,m,D,C,A,w){const I=Ic(D,uEe),U=Ic(D,Fe=>!uEe(Fe)),Z=U!==Ku?Nze(13,0,U,void 0):void 0;let ce=!1;for(let Fe=l.next();!Fe.done;Fe=l.next()){const{errorNode:Te,innerExpression:$e,nameType:ut,errorMessage:zt}=Fe.value;let gi=Z;const Wi=I!==Ku?G1t(m,I,ut):void 0;if(Wi&&!(Wi.flags&8388608)&&(gi=Z?er([Z,Wi]):Wi),!gi)continue;let dn=b6(m,ut);if(!dn)continue;const nu=zge(ut,void 0);if(!F4(dn,gi,C,void 0)){const En=$e&&fW($e,dn,gi,C,void 0,A,w);if(ce=!0,!En){const Ii=w||{},Nn=$e?J1t($e,dn):dn;if(Ve&&Yge(Nn,gi)){const vn=Su(Te,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,gn(Nn),gn(gi));Vs.add(vn),Ii.errors=[vn]}else{const vn=!!(nu&&(qo(I,nu)||Xt).flags&16777216),An=!!(nu&&(qo(m,nu)||Xt).flags&16777216);gi=B6(gi,vn),dn=B6(dn,vn&&An),F4(Nn,gi,C,Te,zt,A,Ii)&&Nn!==dn&&F4(dn,gi,C,Te,zt,A,Ii)}}}}return ce}function*Xti(l){if(S(l.properties))for(const m of l.properties)H7(m)||MMe(sV(m.name))||(yield{errorNode:m.name,innerExpression:m.initializer,nameType:df(sV(m.name))})}function*eii(l,m){if(!S(l.children))return;let D=0;for(let C=0;C1;let Wi,dn;if(lPe(!1)!==Ka){const En=u1t(me);Wi=Ic(ut,Ii=>ms(Ii,En)),dn=Ic(ut,Ii=>!ms(Ii,En))}else Wi=Ic(ut,uEe),dn=Ic(ut,En=>!uEe(En));if(gi){if(Wi!==Ku){const En=Bg(BEe(ce,0)),Ii=eii(ce,Z);I=Qti(Ii,En,Wi,C,A,w)||I}else if(!bE(qf(m,$e),ut,C)){I=!0;const En=pt(ce.openingElement.tagName,F.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Te,gn(ut));w&&w.skipLogging&&(w.errors||(w.errors=[])).push(En)}}else if(dn!==Ku){const En=zt[0],Ii=$1t(En,$e,Z);Ii&&(I=Pte(function*(){yield Ii}(),m,D,C,A,w)||I)}else if(!bE(qf(m,$e),ut,C)){I=!0;const En=pt(ce.openingElement.tagName,F.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Te,gn(ut));w&&w.skipLogging&&(w.errors||(w.errors=[])).push(En)}}return I;function Z(){if(!U){const ce=Hc(l.parent.tagName),Fe=Qte(SF(l)),Te=Fe===void 0?"children":Yr(Fe),$e=qf(D,df(Te)),ut=F._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;U={...ut,key:"!!ALREADY FORMATTED!!",message:Dle(ut,ce,Te,gn($e))}}return U}}function*U1t(l,m){const D=S(l.elements);if(D)for(let C=0;CZ:SE(l)>Z))return C&&!(D&8)&&A(F.Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1,SE(l),Z),0;l.typeParameters&&l.typeParameters!==m.typeParameters&&(m=aei(m),l=Wft(l,m,void 0,I));const Fe=Cm(l),Te=SW(l),$e=SW(m);(Te||$e)&&_a(Te||$e,U);const ut=m.declaration?m.declaration.kind:0,zt=!(D&3)&&xe&&ut!==174&&ut!==173&&ut!==176;let gi=-1;const Wi=kC(l);if(Wi&&Wi!==ca){const En=kC(m);if(En){const Ii=!zt&&I(Wi,En,!1)||I(En,Wi,C);if(!Ii)return C&&A(F.The_this_types_of_each_signature_are_incompatible),0;gi&=Ii}}const dn=Te||$e?Math.min(Fe,Z):Math.max(Fe,Z),nu=Te||$e?dn-1:-1;for(let En=0;En=SE(l)&&En=3&&m[0].flags&32768&&m[1].flags&65536&&Oe(m,yD)?67108864:0)}return!!(l.objectFlags&67108864)}return!1}function Fz(l){return!!((l.flags&1048576?l.types[0]:l).flags&32768)}function Z1t(l){return l.flags&524288&&!Xm(l)&&n0(l).length===0&&kh(l).length===1&&!!k3(l,ct)||l.flags&3145728&&ye(l.types,Z1t)||!1}function RPe(l,m,D){const C=l.flags&8?cf(l):l,A=m.flags&8?cf(m):m;if(C===A)return!0;if(C.escapedName!==A.escapedName||!(C.flags&256)||!(A.flags&256))return!1;const w=Zo(C)+","+Zo(A),I=nC.get(w);if(I!==void 0&&!(!(I&4)&&I&2&&D))return!!(I&1);const U=Wn(A);for(const Z of n0(Wn(C)))if(Z.flags&8){const ce=qo(U,Z.escapedName);if(!ce||!(ce.flags&8))return D?(D(F.Property_0_is_missing_in_type_1,lc(Z),gn(X0(A),void 0,64)),nC.set(w,6)):nC.set(w,2),!1}return nC.set(w,1),!0}function mW(l,m,D,C){const A=l.flags,w=m.flags;return w&1||A&131072||l===vi||w&2&&!(D===p4&&A&1)?!0:w&131072?!1:!!(A&402653316&&w&4||A&128&&A&1024&&w&128&&!(w&1024)&&l.value===m.value||A&296&&w&8||A&256&&A&1024&&w&256&&!(w&1024)&&l.value===m.value||A&2112&&w&64||A&528&&w&16||A&12288&&w&4096||A&32&&w&32&&l.symbol.escapedName===m.symbol.escapedName&&RPe(l.symbol,m.symbol,C)||A&1024&&w&1024&&(A&1048576&&w&1048576&&RPe(l.symbol,m.symbol,C)||A&2944&&w&2944&&l.value===m.value&&RPe(l.symbol,m.symbol,C))||A&32768&&(!fe&&!(w&3145728)||w&49152)||A&65536&&(!fe&&!(w&3145728)||w&65536)||A&524288&&w&67108864&&!(D===p4&&yD(l)&&!(Gu(l)&8192))||(D===Jf||D===Hh)&&(A&1||A&8&&(w&32||w&256&&w&1024)||A&256&&!(A&1024)&&(w&32||w&256&&w&1024&&l.value===m.value)||sii(m)))}function bE(l,m,D){if(Pb(l)&&(l=l.regularType),Pb(m)&&(m=m.regularType),l===m)return!0;if(D!==Em){if(D===Hh&&!(m.flags&131072)&&mW(m,l,D)||mW(l,m,D))return!0}else if(!((l.flags|m.flags)&61865984)){if(l.flags!==m.flags)return!1;if(l.flags&67358815)return!0}if(l.flags&524288&&m.flags&524288){const C=D.get(eEe(l,m,0,D,!1));if(C!==void 0)return!!(C&1)}return l.flags&469499904||m.flags&469499904?F4(l,m,D,void 0):!1}function Y1t(l,m){return Gu(l)&2048&&MMe(m.escapedName)}function Mte(l,m){for(;;){const D=Pb(l)?l.regularType:K5(l)?cii(l,m):Gu(l)&4?l.node?R5(l.target,O0(l)):JPe(l)||l:l.flags&3145728?lii(l,m):l.flags&33554432?m?l.baseType:rPe(l):l.flags&25165824?vD(l,m):l;if(D===l)return D;l=D}}function lii(l,m){const D=Sg(l);if(D!==l)return D;if(l.flags&2097152&&Oe(l.types,yD)){const C=Lu(l.types,A=>Mte(A,m));if(C!==l.types)return Ds(C)}return l}function cii(l,m){const D=FC(l),C=Lu(D,A=>A.flags&25165824?vD(A,m):A);return D!==C?mPe(l.target,C):l}function F4(l,m,D,C,A,w,I){var U;let Z,ce,Fe,Te,$e,ut,zt=0,gi=0,Wi=0,dn=0,nu=!1,En=0,Ii=0,Nn,vn,An=16e6-D.size>>3;H.assert(D!==Em||!C,"no error reporting in identity checking");const _n=$n(l,m,3,!!C,A);if(vn&&fo(),nu){const Ft=eEe(l,m,0,D,!1);D.set(Ft,6),(U=Gn)==null||U.instant(Gn.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:l.id,targetId:m.id,depth:gi,targetDepth:Wi});const $t=An<=0?F.Excessive_complexity_comparing_types_0_and_1:F.Excessive_stack_depth_comparing_types_0_and_1,Mi=pt(C||K,$t,gn(l),gn(m));I&&(I.errors||(I.errors=[])).push(Mi)}else if(Z){if(w){const Mi=w();Mi&&(ike(Mi,Z),Z=Mi)}let Ft;if(A&&C&&!_n&&l.symbol){const Mi=Ur(l.symbol);if(Mi.originatingImport&&!dm(Mi.originatingImport)&&F4(Wn(Mi.target),m,D,void 0)){const Du=Su(Mi.originatingImport,F.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);Ft=xi(Ft,Du)}}const $t=Y3(zn(C),C,Z,Ft);ce&&Es($t,...ce),I&&(I.errors||(I.errors=[])).push($t),(!I||!I.skipLogging)&&Vs.add($t)}return C&&I&&I.skipLogging&&_n===0&&H.assert(!!I.errors,"missed opportunity to interact with error."),_n!==0;function hu(Ft){Z=Ft.errorInfo,Nn=Ft.lastSkippedInfo,vn=Ft.incompatibleStack,En=Ft.overrideNextErrorInfo,Ii=Ft.skipParentCounter,ce=Ft.relatedInfo}function oo(){return{errorInfo:Z,lastSkippedInfo:Nn,incompatibleStack:vn==null?void 0:vn.slice(),overrideNextErrorInfo:En,skipParentCounter:Ii,relatedInfo:ce==null?void 0:ce.slice()}}function Eo(Ft,...$t){En++,Nn=void 0,(vn||(vn=[])).push([Ft,...$t])}function fo(){const Ft=vn||[];vn=void 0;const $t=Nn;if(Nn=void 0,Ft.length===1){ka(...Ft[0]),$t&&hn(void 0,...$t);return}let Mi="";const Bn=[];for(;Ft.length;){const[Du,...un]=Ft.pop();switch(Du.code){case F.Types_of_property_0_are_incompatible.code:{Mi.indexOf("new ")===0&&(Mi=`(${Mi})`);const lu=""+un[0];Mi.length===0?Mi=`${lu}`:Lm(lu,Os(ae))?Mi=`${Mi}.${lu}`:lu[0]==="["&&lu[lu.length-1]==="]"?Mi=`${Mi}${lu}`:Mi=`${Mi}[${lu}]`;break}case F.Call_signature_return_types_0_and_1_are_incompatible.code:case F.Construct_signature_return_types_0_and_1_are_incompatible.code:case F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:{if(Mi.length===0){let lu=Du;Du.code===F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?lu=F.Call_signature_return_types_0_and_1_are_incompatible:Du.code===F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(lu=F.Construct_signature_return_types_0_and_1_are_incompatible),Bn.unshift([lu,un[0],un[1]])}else{const lu=Du.code===F.Construct_signature_return_types_0_and_1_are_incompatible.code||Du.code===F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"",_r=Du.code===F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||Du.code===F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...";Mi=`${lu}${Mi}(${_r})`}break}case F.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:{Bn.unshift([F.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,un[0],un[1]]);break}case F.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:{Bn.unshift([F.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,un[0],un[1],un[2]]);break}default:return H.fail(`Unhandled Diagnostic: ${Du.code}`)}}Mi?ka(Mi[Mi.length-1]===")"?F.The_types_returned_by_0_are_incompatible_between_these_types:F.The_types_of_0_are_incompatible_between_these_types,Mi):Bn.shift();for(const[Du,...un]of Bn){const lu=Du.elidedInCompatabilityPyramid;Du.elidedInCompatabilityPyramid=!1,ka(Du,...un),Du.elidedInCompatabilityPyramid=lu}$t&&hn(void 0,...$t)}function ka(Ft,...$t){H.assert(!!C),vn&&fo(),!Ft.elidedInCompatabilityPyramid&&(Ii===0?Z=ro(Z,Ft,...$t):Ii--)}function ah(Ft,...$t){ka(Ft,...$t),Ii++}function t4(Ft){H.assert(!!Z),ce?ce.push(Ft):ce=[Ft]}function hn(Ft,$t,Mi){vn&&fo();const[Bn,Du]=h6($t,Mi);let un=$t,lu=Bn;if(pW($t)&&!OPe(Mi)&&(un=kD($t),H.assert(!ms(un,Mi),"generalized source shouldn't be assignable"),lu=P5(un)),(Mi.flags&8388608&&!($t.flags&8388608)?Mi.objectType.flags:Mi.flags)&262144&&Mi!==$&&Mi!==tt){const Br=Wh(Mi);let Qa;Br&&(ms(un,Br)||(Qa=ms($t,Br)))?ka(F._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,Qa?Bn:lu,Du,gn(Br)):(Z=void 0,ka(F._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,Du,lu))}if(Ft)Ft===F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&Ve&&Q1t($t,Mi).length&&(Ft=F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties);else if(D===Hh)Ft=F.Type_0_is_not_comparable_to_type_1;else if(Bn===Du)Ft=F.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(Ve&&Q1t($t,Mi).length)Ft=F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;else{if($t.flags&128&&Mi.flags&1048576){const Br=gri($t,Mi);if(Br){ka(F.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,lu,Du,gn(Br));return}}Ft=F.Type_0_is_not_assignable_to_type_1}ka(Ft,lu,Du)}function Kn(Ft,$t){const Mi=lF(Ft.symbol)?gn(Ft,Ft.symbol.valueDeclaration):gn(Ft),Bn=lF($t.symbol)?gn($t,$t.symbol.valueDeclaration):gn($t);(nc===Ft&&ct===$t||fc===Ft&&Qt===$t||Cl===Ft&&pr===$t||Xdt()===Ft&&Xu===$t)&&ka(F._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,Bn,Mi)}function Zr(Ft,$t,Mi){return xs(Ft)?Ft.target.readonly&&Ote($t)?(Mi&&ka(F.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,gn(Ft),gn($t)),!1):zb($t):Sz(Ft)&&Ote($t)?(Mi&&ka(F.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,gn(Ft),gn($t)),!1):xs($t)?A4(Ft):!0}function yo(Ft,$t,Mi){return $n(Ft,$t,3,Mi)}function $n(Ft,$t,Mi=3,Bn=!1,Du,un=0){if(Ft===$t)return-1;if(Ft.flags&524288&&$t.flags&402784252)return D===Hh&&!($t.flags&131072)&&mW($t,Ft,D)||mW(Ft,$t,D,Bn?ka:void 0)?-1:(Bn&&Bs(Ft,$t,Ft,$t,Du),0);const lu=Mte(Ft,!1);let _r=Mte($t,!0);if(lu===_r)return-1;if(D===Em)return lu.flags!==_r.flags?0:lu.flags&67358815?-1:(w0(lu,_r),fr(lu,_r,!1,0,Mi));if(lu.flags&262144&&EF(lu)===_r)return-1;if(lu.flags&470302716&&_r.flags&1048576){const Br=_r.types,Qa=Br.length===2&&Br[0].flags&98304?Br[1]:Br.length===3&&Br[0].flags&98304&&Br[1].flags&98304?Br[2]:void 0;if(Qa&&!(Qa.flags&98304)&&(_r=Mte(Qa,!0),lu===_r))return-1}if(D===Hh&&!(_r.flags&131072)&&mW(_r,lu,D)||mW(lu,_r,D,Bn?ka:void 0))return-1;if(lu.flags&469499904||_r.flags&469499904){if(!(un&2)&&PC(lu)&&Gu(lu)&8192&&Ys(lu,_r,Bn))return Bn&&hn(Du,lu,$t.aliasSymbol?$t:_r),0;const Qa=(D!==Hh||Tg(lu))&&!(un&2)&&lu.flags&405405692&&lu!==He&&_r.flags&2621440&&eht(_r)&&(n0(lu).length>0||o_e(lu)),Oo=!!(Gu(lu)&2048);if(Qa&&!hii(lu,_r,Oo)){if(Bn){const mo=gn(Ft.aliasSymbol?Ft:lu),es=gn($t.aliasSymbol?$t:_r),T0=go(lu,0),Gs=go(lu,1);T0.length>0&&$n(Zs(T0[0]),_r,1,!1)||Gs.length>0&&$n(Zs(Gs[0]),_r,1,!1)?ka(F.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,mo,es):ka(F.Type_0_has_no_properties_in_common_with_type_1,mo,es)}return 0}w0(lu,_r);const xr=lu.flags&1048576&&lu.types.length<4&&!(_r.flags&1048576)||_r.flags&1048576&&_r.types.length<4&&!(lu.flags&469499904)?kc(lu,_r,Bn,un):fr(lu,_r,Bn,un,Mi);if(xr)return xr}return Bn&&Bs(Ft,$t,lu,_r,Du),0}function Bs(Ft,$t,Mi,Bn,Du){var un,lu;const _r=!!JPe(Ft),Br=!!JPe($t);Mi=Ft.aliasSymbol||_r?Ft:Mi,Bn=$t.aliasSymbol||Br?$t:Bn;let Qa=En>0;if(Qa&&En--,Mi.flags&524288&&Bn.flags&524288){const Oo=Z;Zr(Mi,Bn,!0),Z!==Oo&&(Qa=!!Z)}if(Mi.flags&524288&&Bn.flags&402784252)Kn(Mi,Bn);else if(Mi.symbol&&Mi.flags&524288&&He===Mi)ka(F.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(Gu(Mi)&2048&&Bn.flags&2097152){const Oo=Bn.types,Wo=Vb(Rm.IntrinsicAttributes,C),xr=Vb(Rm.IntrinsicClassAttributes,C);if(!Nt(Wo)&&!Nt(xr)&&(kt(Oo,Wo)||kt(Oo,xr)))return}else Z=$Ne(Z,$t);if(!Du&&Qa){Nn=[Mi,Bn];return}if(hn(Du,Mi,Bn),Mi.flags&262144&&((lu=(un=Mi.symbol)==null?void 0:un.declarations)!=null&&lu[0])&&!EF(Mi)){const Oo=Gge(Mi);if(Oo.constraint=_a(Bn,Mb(Mi,Oo)),iW(Oo)){const Wo=gn(Bn,Mi.symbol.declarations[0]);t4(Su(Mi.symbol.declarations[0],F.This_type_parameter_might_need_an_extends_0_constraint,Wo))}}}function w0(Ft,$t){if(Gn&&Ft.flags&3145728&&$t.flags&3145728){const Mi=Ft,Bn=$t;if(Mi.objectFlags&Bn.objectFlags&32768)return;const Du=Mi.types.length,un=Bn.types.length;Du*un>1e6&&Gn.instant(Gn.Phase.CheckTypes,"traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:Ft.id,sourceSize:Du,targetId:$t.id,targetSize:un,pos:C==null?void 0:C.pos,end:C==null?void 0:C.end})}}function ad(Ft,$t){return er(nn(Ft,(Bn,Du)=>{var un;Du=Gh(Du);const lu=Du.flags&3145728?GNe(Du,$t):bC(Du,$t),_r=lu&&Wn(lu)||((un=G9(Du,$t))==null?void 0:un.type)||te;return xi(Bn,_r)},void 0)||_t)}function Ys(Ft,$t,Mi){var Bn;if(!eie($t)||!Ae&&Gu($t)&4096)return!1;const Du=!!(Gu(Ft)&2048);if((D===Jf||D===Hh)&&(Nz(He,$t)||!Du&&bD($t)))return!1;let un=$t,lu;$t.flags&1048576&&(un=hpt(Ft,$t,$n)||Eci($t),lu=un.flags&1048576?un.types:[un]);for(const _r of n0(Ft))if(Td(_r,Ft.symbol)&&!Y1t(Ft,_r)){if(!RMe(un,_r.escapedName,Du)){if(Mi){const Br=Ic(un,eie);if(!C)return H.fail();if(W2(C)||zh(C)||zh(C.parent)){_r.valueDeclaration&&oE(_r.valueDeclaration)&&zn(C)===zn(_r.valueDeclaration.name)&&(C=_r.valueDeclaration.name);const Qa=Fr(_r),Oo=Ift(Qa,Br),Wo=Oo?Fr(Oo):void 0;Wo?ka(F.Property_0_does_not_exist_on_type_1_Did_you_mean_2,Qa,gn(Br),Wo):ka(F.Property_0_does_not_exist_on_type_1,Qa,gn(Br))}else{const Qa=((Bn=Ft.symbol)==null?void 0:Bn.declarations)&&Ki(Ft.symbol.declarations);let Oo;if(_r.valueDeclaration&&Tn(_r.valueDeclaration,Wo=>Wo===Qa)&&zn(Qa)===zn(C)){const Wo=_r.valueDeclaration;H.assertNode(Wo,Z3);const xr=Wo.name;C=xr,at(xr)&&(Oo=$Me(xr,Br))}Oo!==void 0?ah(F.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Fr(_r),gn(Br),Oo):ah(F.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Fr(_r),gn(Br))}}return!0}if(lu&&!$n(Wn(_r),ad(lu,_r.escapedName),3,Mi))return Mi&&Eo(F.Types_of_property_0_are_incompatible,Fr(_r)),!0}return!1}function Td(Ft,$t){return Ft.valueDeclaration&&$t.valueDeclaration&&Ft.valueDeclaration.parent===$t.valueDeclaration}function kc(Ft,$t,Mi,Bn){if(Ft.flags&1048576){if($t.flags&1048576){const Du=Ft.origin;if(Du&&Du.flags&2097152&&$t.aliasSymbol&&kt(Du.types,$t))return-1;const un=$t.origin;if(un&&un.flags&1048576&&Ft.aliasSymbol&&kt(un.types,Ft))return-1}return D===Hh?ze(Ft,$t,Mi&&!(Ft.flags&402784252),Bn):Fu(Ft,$t,Mi&&!(Ft.flags&402784252),Bn)}if($t.flags&1048576)return bm(_W(Ft),$t,Mi&&!(Ft.flags&402784252)&&!($t.flags&402784252));if($t.flags&2097152)return At(Ft,$t,Mi,2);if(D===Hh&&$t.flags&402784252){const Du=Lu(Ft.types,un=>un.flags&465829888?Wh(un)||on:un);if(Du!==Ft.types){if(Ft=Ds(Du),Ft.flags&131072)return 0;if(!(Ft.flags&2097152))return $n(Ft,$t,1,!1)||$n($t,Ft,1,!1)}}return ze(Ft,$t,!1,1)}function el(Ft,$t){let Mi=-1;const Bn=Ft.types;for(const Du of Bn){const un=bm(Du,$t,!1);if(!un)return 0;Mi&=un}return Mi}function bm(Ft,$t,Mi){const Bn=$t.types;if($t.flags&1048576){if(C6(Bn,Ft))return-1;if(D!==Hh&&Gu($t)&32768&&!(Ft.flags&1024)&&(Ft.flags&2688||(D===h_||D===p4)&&Ft.flags&256)){const un=Ft===Ft.regularType?Ft.freshType:Ft.regularType,lu=Ft.flags&128?ct:Ft.flags&256?Qt:Ft.flags&2048?Li:void 0;return lu&&C6(Bn,lu)||un&&C6(Bn,un)?-1:0}const Du=Bht($t,Ft);if(Du){const un=$n(Ft,Du,2,!1);if(un)return un}}for(const Du of Bn){const un=$n(Ft,Du,2,!1);if(un)return un}if(Mi){const Du=X1t(Ft,$t,$n);Du&&$n(Ft,Du,2,!0)}return 0}function At(Ft,$t,Mi,Bn){let Du=-1;const un=$t.types;for(const lu of un){const _r=$n(Ft,lu,2,Mi,void 0,Bn);if(!_r)return 0;Du&=_r}return Du}function ze(Ft,$t,Mi,Bn){const Du=Ft.types;if(Ft.flags&1048576&&C6(Du,$t))return-1;const un=Du.length;for(let lu=0;lu=lu.types.length&&un.length%lu.types.length===0){const Oo=$n(Br,lu.types[_r%lu.types.length],3,!1,void 0,Bn);if(Oo){Du&=Oo;continue}}const Qa=$n(Br,$t,1,Mi,void 0,Bn);if(!Qa)return 0;Du&=Qa}return Du}function Er(Ft=_t,$t=_t,Mi=_t,Bn,Du){if(Ft.length!==$t.length&&D===Em)return 0;const un=Ft.length<=$t.length?Ft.length:$t.length;let lu=-1;for(let _r=0;_r(mo|=Gs?16:8,xr(Gs)));let es;return dn===3?((un=Gn)==null||un.instant(Gn.Phase.CheckTypes,"recursiveTypeRelatedTo_DepthLimit",{sourceId:Ft.id,sourceIdStack:$e.map(Gs=>Gs.id),targetId:$t.id,targetIdStack:ut.map(Gs=>Gs.id),depth:gi,targetDepth:Wi}),es=3):((lu=Gn)==null||lu.push(Gn.Phase.CheckTypes,"structuredTypeRelatedTo",{sourceId:Ft.id,targetId:$t.id}),es=Mr(Ft,$t,Mi,Bn),(_r=Gn)==null||_r.pop()),Ho&&(Ho=xr),Du&1&&gi--,Du&2&&Wi--,dn=Wo,es?(es===-1||gi===0&&Wi===0)&&T0(es===-1||es===3):(D.set(Br,(Mi?4:0)|2|mo),An--,T0(!1)),es;function T0(Gs){for(let Hd=Oo;Hd_r!==Ft)&&(un=$n(lu,$t,1,!1,void 0,Bn))}un&&!(Bn&2)&&$t.flags&2097152&&!Lb($t)&&Ft.flags&2621440?(un&=mn(Ft,$t,Mi,void 0,!1,0),un&&PC(Ft)&&Gu(Ft)&8192&&(un&=bl(Ft,$t,!1,Mi,0))):un&&Rge($t)&&!zb($t)&&Ft.flags&2097152&&Gh(Ft).flags&3670016&&!Oe(Ft.types,lu=>lu===$t||!!(Gu(lu)&262144))&&(un&=mn(Ft,$t,Mi,void 0,!0,Bn))}return un&&hu(Du),un}function Ou(Ft,$t,Mi,Bn,Du){let un,lu,_r=!1,Br=Ft.flags;const Qa=$t.flags;if(D===Em){if(Br&3145728){let xr=el(Ft,$t);return xr&&(xr&=el($t,Ft)),xr}if(Br&4194304)return $n(Ft.type,$t.type,3,!1);if(Br&8388608&&(un=$n(Ft.objectType,$t.objectType,3,!1))&&(un&=$n(Ft.indexType,$t.indexType,3,!1))||Br&16777216&&Ft.root.isDistributive===$t.root.isDistributive&&(un=$n(Ft.checkType,$t.checkType,3,!1))&&(un&=$n(Ft.extendsType,$t.extendsType,3,!1))&&(un&=$n(SC(Ft),SC($t),3,!1))&&(un&=$n(BC(Ft),BC($t),3,!1))||Br&33554432&&(un=$n(Ft.baseType,$t.baseType,3,!1))&&(un&=$n(Ft.constraint,$t.constraint,3,!1)))return un;if(!(Br&524288))return 0}else if(Br&3145728||Qa&3145728){if(un=kc(Ft,$t,Mi,Bn))return un;if(!(Br&465829888||Br&524288&&Qa&1048576||Br&2097152&&Qa&467402752))return 0}if(Br&17301504&&Ft.aliasSymbol&&Ft.aliasTypeArguments&&Ft.aliasSymbol===$t.aliasSymbol&&!(Qge(Ft)||Qge($t))){const xr=tht(Ft.aliasSymbol);if(xr===_t)return 1;const mo=Ur(Ft.aliasSymbol).typeParameters,es=b_(mo),T0=x6(Ft.aliasTypeArguments,mo,es,Qn(Ft.aliasSymbol.valueDeclaration)),Gs=x6($t.aliasTypeArguments,mo,es,Qn(Ft.aliasSymbol.valueDeclaration)),Hd=Wo(T0,Gs,xr,Bn);if(Hd!==void 0)return Hd}if(cht(Ft)&&!Ft.target.readonly&&(un=$n(O0(Ft)[0],$t,1))||cht($t)&&($t.target.readonly||Ote(Wh(Ft)||Ft))&&(un=$n(Ft,O0($t)[0],2)))return un;if(Qa&262144){if(Gu(Ft)&32&&!Ft.declaration.nameType&&$n(k_($t),cp(Ft),3)&&!(C_(Ft)&4)){const xr=DD(Ft),mo=qf($t,Fg(Ft));if(un=$n(xr,mo,3,Mi))return un}if(D===Hh&&Br&262144){let xr=rh(Ft);if(xr&&iW(Ft))for(;xr&&yE(xr,mo=>!!(mo.flags&262144));){if(un=$n(xr,$t,1,!1))return un;xr=rh(xr)}return 0}}else if(Qa&4194304){const xr=$t.type;if(Br&4194304&&(un=$n(xr,Ft.type,3,!1)))return un;if(xs(xr)){if(un=$n(Ft,s1t(xr),2,Mi))return un}else{const mo=jNe(xr);if(mo){if($n(Ft,k_(mo,$t.indexFlags|4),2,Mi)===-1)return-1}else if(Xm(xr)){const es=I5(xr),T0=cp(xr);let Gs;if(es&&tW(xr)){const Hd=Gh(K9(xr)),BE=[];RNe(Hd,8576,!1,wE=>void BE.push(_a(es,dW(xr.mapper,Fg(xr),wE)))),Gs=er([...BE,es])}else Gs=es||T0;if($n(Ft,Gs,2,Mi)===-1)return-1}}}else if(Qa&8388608){if(Br&8388608){if((un=$n(Ft.objectType,$t.objectType,3,Mi))&&(un&=$n(Ft.indexType,$t.indexType,3,Mi)),un)return un;Mi&&(lu=Z)}if(D===Jf||D===Hh){const xr=$t.objectType,mo=$t.indexType,es=Wh(xr)||xr,T0=Wh(mo)||mo;if(!Lb(es)&&!AC(T0)){const Gs=4|(es!==xr?2:0),Hd=b6(es,T0,Gs);if(Hd){if(Mi&&lu&&hu(Du),un=$n(Ft,Hd,2,Mi,void 0,Bn))return un;Mi&&lu&&Z&&(Z=Oo([lu])<=Oo([Z])?lu:Z)}}}Mi&&(lu=void 0)}else if(Xm($t)&&D!==Em){const xr=!!$t.declaration.nameType,mo=DD($t),es=C_($t);if(!(es&8)){if(!xr&&mo.flags&8388608&&mo.objectType===Ft&&mo.indexType===Fg($t))return-1;if(!Xm(Ft)){const T0=xr?I5($t):cp($t),Gs=k_(Ft,2),Hd=es&4,BE=Hd?xte(T0,Gs):void 0;if(Hd?!(BE.flags&131072):$n(T0,Gs,3)){const wE=DD($t),Jb=Fg($t),xT=Pz(wE,-98305);if(!xr&&xT.flags&8388608&&xT.indexType===Jb){if(un=$n(Ft,xT.objectType,2,Mi))return un}else{const nS=xr?BE||T0:BE?Ds([BE,Jb]):Jb,BD=qf(Ft,nS);if(un=$n(BD,wE,3,Mi))return un}}lu=Z,hu(Du)}}}else if(Qa&16777216){if(Az($t,ut,Wi,10))return 3;const xr=$t;if(!xr.root.inferTypeParameters&&!kti(xr.root)&&!(Ft.flags&16777216&&Ft.root===xr.root)){const mo=!ms($ge(xr.checkType),$ge(xr.extendsType)),es=!mo&&ms(vF(xr.checkType),vF(xr.extendsType));if((un=mo?-1:$n(Ft,SC(xr),2,!1,void 0,Bn))&&(un&=es?-1:$n(Ft,BC(xr),2,!1,void 0,Bn),un))return un}}else if(Qa&134217728){if(Br&134217728){if(D===Hh)return Qii(Ft,$t)?0:-1;_a(Ft,id)}if(pEe(Ft,$t))return-1}else if($t.flags&268435456&&!(Ft.flags&268435456)&&oMe(Ft,$t))return-1;if(Br&8650752){if(!(Br&8388608&&Qa&8388608)){const xr=EF(Ft)||on;if(un=$n(xr,$t,1,!1,void 0,Bn))return un;if(un=$n(xm(xr,Ft),$t,1,Mi&&xr!==on&&!(Qa&Br&262144),void 0,Bn))return un;if(WNe(Ft)){const mo=EF(Ft.indexType);if(mo&&(un=$n(qf(Ft.objectType,mo),$t,1,Mi)))return un}}}else if(Br&4194304){if(un=$n(vc,$t,1,Mi))return un}else if(Br&134217728&&!(Qa&524288)){if(!(Qa&134217728)){const xr=Wh(Ft);if(xr&&xr!==Ft&&(un=$n(xr,$t,1,Mi)))return un}}else if(Br&268435456)if(Qa&268435456){if(Ft.symbol!==$t.symbol)return 0;if(un=$n(Ft.type,$t.type,3,Mi))return un}else{const xr=Wh(Ft);if(xr&&(un=$n(xr,$t,1,Mi)))return un}else if(Br&16777216){if(Az(Ft,$e,gi,10))return 3;if(Qa&16777216){const mo=Ft.root.inferTypeParameters;let es=Ft.extendsType,T0;if(mo){const Gs=DW(mo,void 0,0,yo);AD(Gs.inferences,$t.extendsType,es,1536),es=_a(es,Gs.mapper),T0=Gs.mapper}if(CD(es,$t.extendsType)&&($n(Ft.checkType,$t.checkType,3)||$n($t.checkType,Ft.checkType,3))&&((un=$n(_a(SC(Ft),T0),SC($t),3,Mi))&&(un&=$n(BC(Ft),BC($t),3,Mi)),un))return un}else{const mo=iW(Ft)?Cdt(Ft):void 0;if(mo&&(un=$n(mo,$t,1,Mi)))return un}const xr=VNe(Ft);if(xr&&(un=$n(xr,$t,1,Mi)))return un}else{if(D!==h_&&D!==p4&&zXt($t)&&bD(Ft))return-1;if(Xm($t))return Xm(Ft)&&(un=xu(Ft,$t,Mi))?un:0;const xr=!!(Br&402784252);if(D!==Em)Ft=Gh(Ft),Br=Ft.flags;else if(Xm(Ft))return 0;if(Gu(Ft)&4&&Gu($t)&4&&Ft.target===$t.target&&!xs(Ft)&&!(Qge(Ft)||Qge($t))){if(nEe(Ft))return-1;const mo=VPe(Ft.target);if(mo===_t)return 1;const es=Wo(O0(Ft),O0($t),mo,Bn);if(es!==void 0)return es}else{if(Sz($t)?e4(Ft,zb):A4($t)&&e4(Ft,mo=>xs(mo)&&!mo.target.readonly))return D!==Em?$n(yC(Ft,Qt)||me,yC($t,Qt)||me,3,Mi):0;if(K5(Ft)&&xs($t)&&!K5($t)){const mo=xD(Ft);if(mo!==Ft)return $n(mo,$t,1,Mi)}else if((D===h_||D===p4)&&bD($t)&&Gu($t)&8192&&!bD(Ft))return 0}if(Br&2621440&&Qa&524288){const mo=Mi&&Z===Du.errorInfo&&!xr;if(un=mn(Ft,$t,mo,void 0,!1,Bn),un&&(un&=ku(Ft,$t,0,mo,Bn),un&&(un&=ku(Ft,$t,1,mo,Bn),un&&(un&=bl(Ft,$t,xr,mo,Bn)))),_r&&un)Z=lu||Z||Du.errorInfo;else if(un)return un}if(Br&2621440&&Qa&1048576){const mo=Pz($t,36175872);if(mo.flags&1048576){const es=Lt(Ft,mo);if(es)return es}}}return 0;function Oo(xr){return xr?nn(xr,(mo,es)=>mo+1+Oo(es.next),0):0}function Wo(xr,mo,es,T0){if(un=Er(xr,mo,es,Mi,T0))return un;if(Oe(es,Hd=>!!(Hd&24))){lu=void 0,hu(Du);return}const Gs=mo&&fii(mo,es);if(_r=!Gs,es!==_t&&!Gs){if(_r&&!(Mi&&Oe(es,Hd=>(Hd&7)===0)))return 0;lu=Z,hu(Du)}}}function xu(Ft,$t,Mi){if(D===Hh||(D===Em?C_(Ft)===C_($t):ONe(Ft)<=ONe($t))){let Du;const un=cp($t),lu=_a(cp(Ft),ONe(Ft)<0?Y0:id);if(Du=$n(un,lu,3,Mi)){const _r=Sf([Fg(Ft)],[Fg($t)]);if(_a(I5(Ft),_r)===_a(I5($t),_r))return Du&$n(_a(DD(Ft),_r),DD($t),3,Mi)}}return 0}function Lt(Ft,$t){var Mi;const Bn=n0(Ft),Du=Sht(Bn,$t);if(!Du)return 0;let un=1;for(const Wo of Du)if(un*=Fni(E6(Wo)),un>25)return(Mi=Gn)==null||Mi.instant(Gn.Phase.CheckTypes,"typeRelatedToDiscriminatedType_DepthLimit",{sourceId:Ft.id,targetId:$t.id,numCombinations:un}),0;const lu=new Array(Du.length),_r=new Set;for(let Wo=0;WoWo[es],!1,0,fe||D===Hh))continue e}xa(Qa,mo,Cx),xr=!0}if(!xr)return 0}let Oo=-1;for(const Wo of Qa)if(Oo&=mn(Ft,Wo,!1,_r,!1,0),Oo&&(Oo&=ku(Ft,Wo,0,!1,0),Oo&&(Oo&=ku(Ft,Wo,1,!1,0),Oo&&!(xs(Ft)&&xs(Wo))&&(Oo&=bl(Ft,Wo,!1,!1,0)))),!Oo)return Oo;return Oo}function li(Ft,$t){if(!$t||Ft.length===0)return Ft;let Mi;for(let Bn=0;Bn5?ka(F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,gn(Ft),gn($t),Vt(un.slice(0,4),lu=>Fr(lu)).join(", "),un.length-4):ka(F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,gn(Ft),gn($t),Vt(un,lu=>Fr(lu)).join(", ")),Du&&Z&&En++)}function mn(Ft,$t,Mi,Bn,Du,un){if(D===Em)return Kr(Ft,$t,Bn);let lu=-1;if(xs($t)){if(zb(Ft)){if(!$t.target.readonly&&(Sz(Ft)||xs(Ft)&&Ft.target.readonly))return 0;const Wo=O5(Ft),xr=O5($t),mo=xs(Ft)?Ft.target.combinedFlags&4:4,es=$t.target.combinedFlags&4,T0=xs(Ft)?Ft.target.minLength:0,Gs=$t.target.minLength;if(!mo&&Wo=wE?xr-1-Math.min(Sie,Jb):BD,ai=$t.target.elementFlags[Zf];if(ai&8&&!(zC&8))return Mi&&ka(F.Source_provides_no_match_for_variadic_element_at_position_0_in_target,Zf),0;if(zC&8&&!(ai&12))return Mi&&ka(F.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,BD,Zf),0;if(ai&1&&!(zC&1))return Mi&&ka(F.Source_provides_no_match_for_required_element_at_position_0_in_target,Zf),0;if(nS&&((zC&12||ai&12)&&(nS=!1),nS&&(Bn!=null&&Bn.has(""+BD))))continue;const Bu=B6(Hd[BD],!!(zC&ai&2)),dr=BE[Zf],nr=zC&8&&ai&4?V1(dr):B6(dr,!!(ai&2)),hr=$n(Bu,nr,3,Mi,void 0,un);if(!hr)return Mi&&(xr>1||Wo>1)&&(xT&&BD>=wE&&Sie>=Jb&&wE!==Wo-Jb-1?Eo(F.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,wE,Wo-Jb-1,Zf):Eo(F.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,BD,Zf)),0;lu&=hr}return lu}if($t.target.combinedFlags&12)return 0}const _r=(D===h_||D===p4)&&!PC(Ft)&&!nEe(Ft)&&!xs(Ft),Br=rMe(Ft,$t,_r,!1);if(Br)return Mi&&_o(Ft,$t)&&Ji(Ft,$t,Br,_r),0;if(PC($t)){for(const Wo of li(n0(Ft),Bn))if(!bC($t,Wo.escapedName)&&!(Wn(Wo).flags&32768))return Mi&&ka(F.Property_0_does_not_exist_on_type_1,Fr(Wo),gn($t)),0}const Qa=n0($t),Oo=xs(Ft)&&xs($t);for(const Wo of li(Qa,Bn)){const xr=Wo.escapedName;if(!(Wo.flags&4194304)&&(!Oo||i3(xr)||xr==="length")&&(!Du||Wo.flags&16777216)){const mo=qo(Ft,xr);if(mo&&mo!==Wo){const es=yi(Ft,$t,mo,Wo,E6,Mi,un,D===Hh);if(!es)return 0;lu&=es}}}return lu}function Kr(Ft,$t,Mi){if(!(Ft.flags&524288&&$t.flags&524288))return 0;const Bn=li(D6(Ft),Mi),Du=li(D6($t),Mi);if(Bn.length!==Du.length)return 0;let un=-1;for(const lu of Bn){const _r=bC($t,lu.escapedName);if(!_r)return 0;const Br=KPe(lu,_r,$n);if(!Br)return 0;un&=Br}return un}function ku(Ft,$t,Mi,Bn,Du){var un,lu;if(D===Em)return La(Ft,$t,Mi);if($t===Ri||Ft===Ri)return-1;const _r=Ft.symbol&&AE(Ft.symbol.valueDeclaration),Br=$t.symbol&&AE($t.symbol.valueDeclaration),Qa=go(Ft,_r&&Mi===1?0:Mi),Oo=go($t,Br&&Mi===1?0:Mi);if(Mi===1&&Qa.length&&Oo.length){const T0=!!(Qa[0].flags&4),Gs=!!(Oo[0].flags&4);if(T0&&!Gs)return Bn&&ka(F.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!yl(Qa[0],Oo[0],Bn))return 0}let Wo=-1;const xr=Mi===1?or:pn,mo=Gu(Ft),es=Gu($t);if(mo&64&&es&64&&Ft.symbol===$t.symbol||mo&4&&es&4&&Ft.target===$t.target)for(let T0=0;T0vE(wE,void 0,262144,Mi);return ka(F.Type_0_is_not_assignable_to_type_1,BE(Gs),BE(Hd)),ka(F.Types_of_construct_signatures_are_incompatible),Wo}}else e:for(const T0 of Oo){const Gs=oo();let Hd=Bn;for(const BE of Qa){const wE=qr(BE,T0,!0,Hd,Du,xr(BE,T0));if(wE){Wo&=wE,hu(Gs);continue e}Hd=!1}return Hd&&ka(F.Type_0_provides_no_match_for_the_signature_1,gn(Ft),vE(T0,void 0,void 0,Mi)),0}return Wo}function _o(Ft,$t){const Mi=bte(Ft,0),Bn=bte(Ft,1),Du=D6(Ft);return(Mi.length||Bn.length)&&!Du.length?!!(go($t,0).length&&Mi.length||go($t,1).length&&Bn.length):!0}function pn(Ft,$t){return Ft.parameters.length===0&&$t.parameters.length===0?(Mi,Bn)=>Eo(F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,gn(Mi),gn(Bn)):(Mi,Bn)=>Eo(F.Call_signature_return_types_0_and_1_are_incompatible,gn(Mi),gn(Bn))}function or(Ft,$t){return Ft.parameters.length===0&&$t.parameters.length===0?(Mi,Bn)=>Eo(F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,gn(Mi),gn(Bn)):(Mi,Bn)=>Eo(F.Construct_signature_return_types_0_and_1_are_incompatible,gn(Mi),gn(Bn))}function qr(Ft,$t,Mi,Bn,Du,un){const lu=D===h_?16:D===p4?24:0;return zPe(Mi?aW(Ft):Ft,Mi?aW($t):$t,lu,Bn,ka,un,_r,id);function _r(Br,Qa,Oo){return $n(Br,Qa,3,Oo,void 0,Du)}}function La(Ft,$t,Mi){const Bn=go(Ft,Mi),Du=go($t,Mi);if(Bn.length!==Du.length)return 0;let un=-1;for(let lu=0;luBr.keyType===ct);let _r=-1;for(const Br of un){const Qa=D!==p4&&!Mi&&lu&&Br.type.flags&1?-1:Xm(Ft)&&lu?$n(DD(Ft),Br.type,3,Bn):fl(Ft,Br,Bn,Du);if(!Qa)return 0;_r&=Qa}return _r}function fl(Ft,$t,Mi,Bn){const Du=nW(Ft,$t.keyType);return Du?pd(Du,$t,Mi,Bn):!(Bn&1)&&(D!==p4||Gu(Ft)&8192)&&cEe(Ft)?cs(Ft,$t,Mi,Bn):(Mi&&ka(F.Index_signature_for_type_0_is_missing_in_type_1,gn($t.keyType),gn(Ft)),0)}function H1(Ft,$t){const Mi=kh(Ft),Bn=kh($t);if(Mi.length!==Bn.length)return 0;for(const Du of Bn){const un=k3(Ft,Du.keyType);if(!(un&&$n(un.type,Du.type,3)&&un.isReadonly===Du.isReadonly))return 0}return-1}function yl(Ft,$t,Mi){if(!Ft.declaration||!$t.declaration)return!0;const Bn=E7(Ft.declaration,6),Du=E7($t.declaration,6);return Du===2||Du===4&&Bn!==2||Du!==4&&!Bn?!0:(Mi&&ka(F.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,C3(Bn),C3(Du)),!1)}}function OPe(l){if(l.flags&16)return!1;if(l.flags&3145728)return!!L(l.types,OPe);if(l.flags&465829888){const m=EF(l);if(m&&m!==l)return OPe(m)}return Tg(l)||!!(l.flags&134217728)||!!(l.flags&268435456)}function Q1t(l,m){return xs(l)&&xs(m)?_t:n0(m).filter(D=>Yge(he(l,D.escapedName),Wn(D)))}function Yge(l,m){return!!l&&!!m&&jl(l,32768)&&!!EW(m)}function dii(l){return n0(l).filter(m=>EW(Wn(m)))}function X1t(l,m,D=PPe){return hpt(l,m,D)||fci(l,m)||mci(l,m)||pci(l,m)||gci(l,m)}function jPe(l,m,D){const C=l.types,A=C.map(I=>I.flags&402784252?0:-1);for(const[I,U]of m){let Z=!1;for(let ce=0;ceA[U]),0):l;return w.flags&131072?l:w}function eht(l){if(l.flags&524288){const m=Ag(l);return m.callSignatures.length===0&&m.constructSignatures.length===0&&m.indexInfos.length===0&&m.properties.length>0&&ye(m.properties,D=>!!(D.flags&16777216))}return l.flags&2097152?ye(l.types,eht):!1}function hii(l,m,D){for(const C of n0(l))if(RMe(m,C.escapedName,D))return!0;return!1}function VPe(l){return l===Fo||l===To||l.objectFlags&8?ge:iht(l.symbol,l.typeParameters)}function tht(l){return iht(l,Ur(l).typeParameters)}function iht(l,m=_t){var D,C;const A=Ur(l);if(!A.variances){(D=Gn)==null||D.push(Gn.Phase.CheckTypes,"getVariancesWorker",{arity:m.length,id:Fh(X0(l))});const w=Jk;Jk||(Jk=!0,lb=cD.length),A.variances=_t;const I=[];for(const U of m){const Z=HPe(U);let ce=Z&16384?Z&8192?0:1:Z&8192?2:void 0;if(ce===void 0){let Fe=!1,Te=!1;const $e=Ho;Ho=gi=>gi?Te=!0:Fe=!0;const ut=zte(l,U,sf),zt=zte(l,U,Q0);ce=(ms(zt,ut)?1:0)|(ms(ut,zt)?2:0),ce===3&&ms(zte(l,U,Cc),ut)&&(ce=4),Ho=$e,(Fe||Te)&&(Fe&&(ce|=8),Te&&(ce|=16))}I.push(ce)}w||(Jk=!1,lb=0),A.variances=I,(C=Gn)==null||C.pop({variances:I.map(H.formatVariance)})}return A.variances}function zte(l,m,D){const C=Mb(m,D),A=X0(l);if(Nt(A))return A;const w=l.flags&524288?aT(l,V5(Ur(l).typeParameters,C)):R5(A,V5(A.typeParameters,C));return qt.add(Fh(w)),w}function Qge(l){return qt.has(Fh(l))}function HPe(l){var m;return nn((m=l.symbol)==null?void 0:m.declarations,(D,C)=>D|Eh(C),0)&28672}function fii(l,m){for(let D=0;D!!(m.flags&262144)||Xge(m))}function gii(l,m,D,C){const A=[];let w="";const I=Z(l,0),U=Z(m,0);return`${w}${I},${U}${D}`;function Z(ce,Fe=0){let Te=""+ce.target.id;for(const $e of O0(ce)){if($e.flags&262144){if(C||mii($e)){let ut=A.indexOf($e);ut<0&&(ut=A.length,A.push($e)),Te+="="+ut;continue}w="*"}else if(Fe<4&&Xge($e)){Te+="<"+Z($e,Fe+1)+">";continue}Te+="-"+$e.id}return Te}}function eEe(l,m,D,C,A){if(C===Em&&l.id>m.id){const I=l;l=m,m=I}const w=D?":"+D:"";return Xge(l)&&Xge(m)?gii(l,m,w,A):`${l.id},${m.id}${w}`}function Ite(l,m){if(Gl(l)&6){for(const D of l.links.containingType.types){const C=qo(D,l.escapedName),A=C&&Ite(C,m);if(A)return A}return}return m(l)}function Q9(l){return l.parent&&l.parent.flags&32?X0(cf(l)):void 0}function tEe(l){const m=Q9(l),D=m&&Zc(m)[0];return D&&he(D,l.escapedName)}function Eii(l,m){return Ite(l,D=>{const C=Q9(D);return C?H9(C,m):!1})}function _ii(l,m){return!Ite(m,D=>l4(D)&4?!Eii(l,Q9(D)):!1)}function nht(l,m,D){return Ite(m,C=>l4(C,D)&4?!H9(l,Q9(C)):!1)?void 0:l}function Az(l,m,D,C=3){if(D>=C){if((Gu(l)&96)===96&&(l=uht(l)),l.flags&2097152)return Oe(l.types,U=>Az(U,m,D,C));const A=iEe(l);let w=0,I=0;for(let U=0;U=I&&(w++,w>=C))return!0;I=Z.id}}}return!1}function uht(l){let m;for(;(Gu(l)&96)===96&&(m=K9(l))&&(m.symbol||m.flags&2097152&&Oe(m.types,D=>!!D.symbol));)l=m;return l}function rht(l,m){return(Gu(l)&96)===96&&(l=uht(l)),l.flags&2097152?Oe(l.types,D=>rht(D,m)):iEe(l)===m}function iEe(l){if(l.flags&524288&&!sMe(l)){if(Gu(l)&4&&l.node)return l.node;if(l.symbol&&!(Gu(l)&16&&l.symbol.flags&32))return l.symbol;if(xs(l))return l.target}if(l.flags&262144)return l.symbol;if(l.flags&8388608){do l=l.objectType;while(l.flags&8388608);return l}return l.flags&16777216?l.root:l}function Dii(l,m){return KPe(l,m,hW)!==0}function KPe(l,m,D){if(l===m)return-1;const C=l4(l)&6,A=l4(m)&6;if(C!==A)return 0;if(C){if(_T(l)!==_T(m))return 0}else if((l.flags&16777216)!==(m.flags&16777216))return 0;return Ng(l)!==Ng(m)?0:D(Wn(l),Wn(m))}function xii(l,m,D){const C=Cm(l),A=Cm(m),w=SE(l),I=SE(m),U=F_(l),Z=F_(m);return!!(C===A&&w===I&&U===Z||D&&w<=I)}function Rte(l,m,D,C,A,w){if(l===m)return-1;if(!xii(l,m,D)||S(l.typeParameters)!==S(m.typeParameters))return 0;if(m.typeParameters){const Z=Sf(l.typeParameters,m.typeParameters);for(let ce=0;cem|(D.flags&1048576?aht(D.types):D.flags),0)}function bii(l){if(l.length===1)return l[0];const m=fe?Lu(l,C=>Ic(C,A=>!(A.flags&98304))):l,D=Cii(m)?er(m):nn(m,(C,A)=>F6(C,A)?A:C);return m===l?D:aEe(D,aht(l)&98304)}function yii(l){return nn(l,(m,D)=>F6(D,m)?D:m)}function A4(l){return!!(Gu(l)&4)&&(l.target===Fo||l.target===To)}function Sz(l){return!!(Gu(l)&4)&&l.target===To}function zb(l){return A4(l)||xs(l)}function Ote(l){return A4(l)&&!Sz(l)||xs(l)&&!l.target.readonly}function WPe(l){return A4(l)?O0(l)[0]:void 0}function H5(l){return A4(l)||!(l.flags&98304)&&ms(l,ip)}function GPe(l){return Ote(l)||!(l.flags&98305)&&ms(l,ql)}function JPe(l){if(!(Gu(l)&4)||!(Gu(l.target)&3))return;if(Gu(l)&33554432)return Gu(l)&67108864?l.cachedEquivalentBaseType:void 0;l.objectFlags|=33554432;const m=l.target;if(Gu(m)&1){const A=Vr(m);if(A&&A.expression.kind!==80&&A.expression.kind!==211)return}const D=Zc(m);if(D.length!==1||_6(l.symbol).size)return;let C=S(m.typeParameters)?_a(D[0],Sf(m.typeParameters,O0(l).slice(0,m.typeParameters.length))):D[0];return S(O0(l))>S(m.typeParameters)&&(C=xm(C,Cr(O0(l)))),l.objectFlags|=67108864,l.cachedEquivalentBaseType=C}function oht(l){return fe?l===wn:l===we}function nEe(l){const m=WPe(l);return!!m&&oht(m)}function Bz(l){let m;return xs(l)||!!qo(l,"0")||H5(l)&&!!(m=he(l,"length"))&&e4(m,D=>!!(D.flags&256))}function uEe(l){return H5(l)||Bz(l)}function kii(l,m){const D=he(l,""+m);if(D)return D;if(e4(l,xs))return dht(l,m,ae.noUncheckedIndexedAccess?te:void 0)}function Fii(l){return!(l.flags&240544)}function Tg(l){return!!(l.flags&109472)}function sht(l){const m=xD(l);return m.flags&2097152?Oe(m.types,Tg):Tg(m)}function Aii(l){return l.flags&2097152&&Le(l.types,Tg)||l}function pW(l){return l.flags&16?!0:l.flags&1048576?l.flags&1024?!0:ye(l.types,Tg):Tg(l)}function kD(l){return l.flags&1056?bge(l):l.flags&402653312?ct:l.flags&256?Qt:l.flags&2048?Li:l.flags&512?pr:l.flags&1048576?Sii(l):l}function Sii(l){const m=`B${Fh(l)}`;return Yk(m)??fb(m,hl(l,kD))}function $Pe(l){return l.flags&402653312?ct:l.flags&288?Qt:l.flags&2048?Li:l.flags&512?pr:l.flags&1048576?hl(l,$Pe):l}function Ib(l){return l.flags&1056&&Pb(l)?bge(l):l.flags&128&&Pb(l)?ct:l.flags&256&&Pb(l)?Qt:l.flags&2048&&Pb(l)?Li:l.flags&512&&Pb(l)?pr:l.flags&1048576?hl(l,Ib):l}function lht(l){return l.flags&8192?Xu:l.flags&1048576?hl(l,lht):l}function UPe(l,m){return GEe(l,m)||(l=lht(Ib(l))),Jh(l)}function Bii(l,m,D){if(l&&Tg(l)){const C=m?D?NW(m):m:void 0;l=UPe(l,C)}return l}function qPe(l,m,D,C){if(l&&Tg(l)){const A=m?Hb(D,m,C):void 0;l=UPe(l,A)}return l}function xs(l){return!!(Gu(l)&4&&l.target.objectFlags&8)}function K5(l){return xs(l)&&!!(l.target.combinedFlags&8)}function cht(l){return K5(l)&&l.target.elementFlags.length===1}function rEe(l){return wz(l,l.target.fixedLength)}function dht(l,m,D){return hl(l,C=>{const A=C,w=rEe(A);return w?D&&m>=pPe(A.target)?er([w,D]):w:te})}function wii(l){const m=rEe(l);return m&&V1(m)}function wz(l,m,D=0,C=!1,A=!1){const w=O5(l)-D;if(m(D&12)===(m.target.elementFlags[C]&12))}function hht({value:l}){return l.base10Value==="0"}function fht(l){return Ic(l,m=>fp(m,4194304))}function Lii(l){return hl(l,Nii)}function Nii(l){return l.flags&4?Gf:l.flags&8?eC:l.flags&64?t6:l===Sn||l===Ui||l.flags&114691||l.flags&128&&l.value===""||l.flags&256&&l.value===0||l.flags&2048&&hht(l)?l:Ku}function aEe(l,m){const D=m&~l.flags&98304;return D===0?l:er(D===32768?[l,te]:D===65536?[l,it]:[l,te,it])}function S6(l,m=!1){H.assert(fe);const D=m?je:te;return l===D||l.flags&1048576&&l.types[0]===D?l:er([l,D])}function Pii(l){return Jm||(Jm=Cz("NonNullable",524288,void 0)||Xt),Jm!==Xt?aT(Jm,[l]):Ds([l,Ko])}function FD(l){return fe?kF(l,2097152):l}function mht(l){return fe?er([l,X]):l}function oEe(l){return fe?_Ee(l,X):l}function sEe(l,m,D){return D?RN(m)?S6(l):mht(l):l}function gW(l,m){return MU(m)?FD(l):Y1(m)?oEe(l):l}function B6(l,m){return Ve&&m?_Ee(l,de):l}function EW(l){return l===de||!!(l.flags&1048576)&&l.types[0]===de}function lEe(l){return Ve?_Ee(l,de):mp(l,524288)}function Mii(l,m){return(l.flags&524)!==0&&(m.flags&28)!==0}function cEe(l){const m=Gu(l);return l.flags&2097152?ye(l.types,cEe):!!(l.symbol&&l.symbol.flags&7040&&!(l.symbol.flags&32)&&!o_e(l))||!!(m&4194304)||!!(m&1024&&cEe(l.source))}function CF(l,m){const D=Hs(l.flags,l.escapedName,Gl(l)&8);D.declarations=l.declarations,D.parent=l.parent,D.links.type=m,D.links.target=l,l.valueDeclaration&&(D.valueDeclaration=l.valueDeclaration);const C=Ur(l).nameType;return C&&(D.links.nameType=C),D}function zii(l,m){const D=Vo();for(const C of D6(l)){const A=Wn(C),w=m(A);D.set(C.escapedName,w===A?C:CF(C,w))}return D}function _W(l){if(!(PC(l)&&Gu(l)&8192))return l;const m=l.regularType;if(m)return m;const D=l,C=zii(l,_W),A=Ol(D.symbol,C,D.callSignatures,D.constructSignatures,D.indexInfos);return A.flags=D.flags,A.objectFlags|=D.objectFlags&-8193,l.regularType=A,A}function pht(l,m,D){return{parent:l,propertyName:m,siblings:D,resolvedProperties:void 0}}function ght(l){if(!l.siblings){const m=[];for(const D of ght(l.parent))if(PC(D)){const C=bC(D,l.propertyName);C&&FF(Wn(C),A=>{m.push(A)})}l.siblings=m}return l.siblings}function Iii(l){if(!l.resolvedProperties){const m=new Map;for(const D of ght(l))if(PC(D)&&!(Gu(D)&2097152))for(const C of n0(D))m.set(C.escapedName,C);l.resolvedProperties=ga(m.values())}return l.resolvedProperties}function Rii(l,m){if(!(l.flags&4))return l;const D=Wn(l),C=m&&pht(m,l.escapedName,void 0),A=ZPe(D,C);return A===D?l:CF(l,A)}function Oii(l){const m=Mt.get(l.escapedName);if(m)return m;const D=CF(l,je);return D.flags|=16777216,Mt.set(l.escapedName,D),D}function jii(l,m){const D=Vo();for(const A of D6(l))D.set(A.escapedName,Rii(A,m));if(m)for(const A of Iii(m))D.has(A.escapedName)||D.set(A.escapedName,Oii(A));const C=Ol(l.symbol,D,_t,_t,Lu(kh(l),A=>y_(A.keyType,vm(A.type),A.isReadonly)));return C.objectFlags|=Gu(l)&266240,C}function vm(l){return ZPe(l,void 0)}function ZPe(l,m){if(Gu(l)&196608){if(m===void 0&&l.widened)return l.widened;let D;if(l.flags&98305)D=me;else if(PC(l))D=jii(l,m);else if(l.flags&1048576){const C=m||pht(void 0,void 0,l.types),A=Lu(l.types,w=>w.flags&98304?w:ZPe(w,C));D=er(A,Oe(A,bD)?2:1)}else l.flags&2097152?D=Ds(Lu(l.types,vm)):zb(l)&&(D=R5(l.target,Lu(O0(l),vm)));return D&&m===void 0&&(l.widened=D),D||l}return l}function dEe(l){let m=!1;if(Gu(l)&65536){if(l.flags&1048576)if(Oe(l.types,bD))m=!0;else for(const D of l.types)dEe(D)&&(m=!0);if(zb(l))for(const D of O0(l))dEe(D)&&(m=!0);if(PC(l))for(const D of D6(l)){const C=Wn(D);Gu(C)&65536&&(dEe(C)||pt(D.valueDeclaration,F.Object_literal_s_property_0_implicitly_has_an_1_type,Fr(D),gn(vm(C))),m=!0)}}return m}function LC(l,m,D){const C=gn(vm(m));if(Qn(l)&&!uV(zn(l),ae))return;let A;switch(l.kind){case 226:case 172:case 171:A=Ae?F.Member_0_implicitly_has_an_1_type:F.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 169:const w=l;if(at(w.name)){const I=Dv(w.name);if((CB(w.parent)||n3(w.parent)||u3(w.parent))&&w.parent.parameters.includes(w)&&(uc(w,w.name.escapedText,788968,void 0,w.name.escapedText,!0)||I&&_le(I))){const U="arg"+w.parent.parameters.indexOf(w),Z=b0(w.name)+(w.dotDotDotToken?"[]":"");g4(Ae,l,F.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,U,Z);return}}A=l.dotDotDotToken?Ae?F.Rest_parameter_0_implicitly_has_an_any_type:F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Ae?F.Parameter_0_implicitly_has_an_1_type:F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 208:if(A=F.Binding_element_0_implicitly_has_an_1_type,!Ae)return;break;case 324:pt(l,F.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,C);return;case 330:Ae&&NB(l.parent)&&pt(l.parent.tagName,F.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation,C);return;case 262:case 174:case 173:case 177:case 178:case 218:case 219:if(Ae&&!l.name){D===3?pt(l,F.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,C):pt(l,F.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,C);return}A=Ae?D===3?F._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:F._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 200:Ae&&pt(l,F.Mapped_object_type_implicitly_has_an_any_template_type);return;default:A=Ae?F.Variable_0_implicitly_has_an_1_type:F.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}g4(Ae,l,A,b0(Za(l)),C)}function hEe(l,m,D){s(()=>{Ae&&Gu(m)&65536&&(!D||!LMe(l))&&(dEe(m)||LC(l,m,D))})}function YPe(l,m,D){const C=Cm(l),A=Cm(m),w=AW(l),I=AW(m),U=I?A-1:A,Z=w?U:Math.min(C,U),ce=kC(l);if(ce){const Fe=kC(m);Fe&&D(ce,Fe)}for(let Fe=0;Fem.typeParameter),Vt(l.inferences,(m,D)=>()=>(m.isFixed||(Wii(l),fEe(l.inferences),m.isFixed=!0),lMe(l,D))))}function Kii(l){return BPe(Vt(l.inferences,m=>m.typeParameter),Vt(l.inferences,(m,D)=>()=>lMe(l,D)))}function fEe(l){for(const m of l)m.isFixed||(m.inferredType=void 0)}function eMe(l,m,D){(l.intraExpressionInferenceSites??(l.intraExpressionInferenceSites=[])).push({node:m,type:D})}function Wii(l){if(l.intraExpressionInferenceSites){for(const{node:m,type:D}of l.intraExpressionInferenceSites){const C=m.kind===174?sft(m,2):hf(m,2);C&&AD(l.inferences,D,C)}l.intraExpressionInferenceSites=void 0}}function tMe(l){return{typeParameter:l,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function Eht(l){return{typeParameter:l.typeParameter,candidates:l.candidates&&l.candidates.slice(),contraCandidates:l.contraCandidates&&l.contraCandidates.slice(),inferredType:l.inferredType,priority:l.priority,topLevel:l.topLevel,isFixed:l.isFixed,impliedArity:l.impliedArity}}function Gii(l){const m=ti(l.inferences,gT);return m.length?XPe(Vt(m,Eht),l.signature,l.flags,l.compareTypes):void 0}function iMe(l){return l&&l.mapper}function NC(l){const m=Gu(l);if(m&524288)return!!(m&1048576);const D=!!(l.flags&465829888||l.flags&524288&&!_ht(l)&&(m&4&&(l.node||Oe(O0(l),NC))||m&16&&l.symbol&&l.symbol.flags&14384&&l.symbol.declarations||m&12583968)||l.flags&3145728&&!(l.flags&1024)&&!_ht(l)&&Oe(l.types,NC));return l.flags&3899393&&(l.objectFlags|=524288|(D?1048576:0)),D}function _ht(l){if(l.aliasSymbol&&!l.aliasTypeArguments){const m=Sl(l.aliasSymbol,265);return!!(m&&Tn(m.parent,D=>D.kind===312?!0:D.kind===267?!1:"quit"))}return!1}function xW(l,m,D=0){return!!(l===m||l.flags&3145728&&Oe(l.types,C=>xW(C,m,D))||D<3&&l.flags&16777216&&(xW(SC(l),m,D+1)||xW(BC(l),m,D+1)))}function Jii(l,m){const D=y4(l);return D?!!D.type&&xW(D.type,m):xW(Zs(l),m)}function $ii(l){const m=Vo();FF(l,C=>{if(!(C.flags&128))return;const A=Al(C.value),w=Hs(4,A);w.links.type=me,C.symbol&&(w.declarations=C.symbol.declarations,w.valueDeclaration=C.symbol.valueDeclaration),m.set(A,w)});const D=l.flags&4?[y_(ct,Ko,!1)]:_t;return Ol(void 0,m,_t,_t,D)}function Dht(l,m,D){const C=l.id+","+m.id+","+D.id;if(Bd.has(C))return Bd.get(C);const A=l.id+","+(m.target||m).id;if(kt(Oh,A))return;Oh.push(A);const w=Uii(l,m,D);return Oh.pop(),Bd.set(C,w),w}function nMe(l){return!(Gu(l)&262144)||PC(l)&&Oe(n0(l),m=>nMe(Wn(m)))||xs(l)&&Oe(FC(l),nMe)}function Uii(l,m,D){if(!(k3(l,ct)||n0(l).length!==0&&nMe(l)))return;if(A4(l))return V1(mEe(O0(l)[0],m,D),Sz(l));if(xs(l)){const A=Vt(FC(l),I=>mEe(I,m,D)),w=C_(m)&4?Lu(l.target.elementFlags,I=>I&2?1:I):l.target.elementFlags;return Bg(A,w,l.target.readonly,l.target.labeledElementDeclarations)}const C=D4(1040,void 0);return C.source=l,C.mappedType=m,C.constraintType=D,C}function qii(l){const m=Ur(l);return m.type||(m.type=mEe(l.links.propertyType,l.links.mappedType,l.links.constraintType)),m.type}function mEe(l,m,D){const C=qf(D.type,Fg(m)),A=DD(m),w=tMe(C);return AD([w],l,A),xht(w)||on}function*uMe(l,m,D,C){const A=n0(m);for(const w of A)if(!ldt(w)&&(D||!(w.flags&16777216||Gl(w)&48))){const I=qo(l,w.escapedName);if(!I)yield w;else if(C){const U=Wn(w);if(U.flags&109472){const Z=Wn(I);Z.flags&1||Jh(Z)===Jh(U)||(yield w)}}}}function rMe(l,m,D,C){return Hn(uMe(l,m,D,C))}function Zii(l,m){return!(m.target.combinedFlags&8)&&m.target.minLength>l.target.minLength||!m.target.hasRestElement&&(l.target.hasRestElement||m.target.fixedLength$9(w,A),l)===l&&oMe(l,m)}return!1}function bht(l,m){if(l===m||m.flags&5)return!0;if(m.flags&2097152)return ye(m.types,D=>D===Lc||bht(l,D));if(l.flags&128){const D=l.value;return!!(m.flags&8&&Cht(D,!1)||m.flags&64&&hZ(D,!1)||m.flags&98816&&D===m.intrinsicName||m.flags&268435456&&oMe(df(D),m)||m.flags&134217728&&pEe(l,m))}if(l.flags&134217728){const D=l.texts;return D.length===2&&D[0]===""&&D[1]===""&&ms(l.types[0],m)}return ms(l,m)}function yht(l,m){return l.flags&128?kht([l.value],_t,m):l.flags&134217728?Zt(l.texts,m.texts)?Vt(l.types,eni):kht(l.texts,l.types,m):void 0}function pEe(l,m){const D=yht(l,m);return!!D&&ye(D,(C,A)=>bht(C,m.types[A]))}function eni(l){return l.flags&402653317?l:xF(["",""],[l])}function kht(l,m,D){const C=l.length-1,A=l[0],w=l[C],I=D.texts,U=I.length-1,Z=I[0],ce=I[U];if(C===0&&A.length0){let nu=$e,En=ut;for(;En=zt(nu).indexOf(dn,En),!(En>=0);){if(nu++,nu===l.length)return;En=0}gi(nu,En),ut+=dn.length}else if(ut!kt(yo,Bs)):hn,$n?ti(Kn,Bs=>!kt($n,Bs)):Kn]}function nu(hn,Kn,Zr){const yo=hn.length!!Nn($n));if(!yo||Kn&&yo!==Kn)return;Kn=yo}return Kn}function An(hn,Kn,Zr){let yo=0;if(Zr&1048576){let $n;const Bs=hn.flags&1048576?hn.types:[hn],w0=new Array(Bs.length);let ad=!1;for(const Ys of Kn)if(Nn(Ys))$n=Ys,yo++;else for(let Td=0;Tdw0[kc]?void 0:Td);if(Ys.length){$e(er(Ys),$n);return}}}else for(const $n of Kn)Nn($n)?yo++:$e(hn,$n);if(Zr&2097152?yo===1:yo>0)for(const $n of Kn)Nn($n)&&ut(hn,$n,1)}function _n(hn,Kn,Zr){if(Zr.flags&1048576){let yo=!1;for(const $n of Zr.types)yo=_n(hn,Kn,$n)||yo;return yo}if(Zr.flags&4194304){const yo=Nn(Zr.type);if(yo&&!yo.isFixed&&!vht(hn)){const $n=Dht(hn,Kn,Zr);$n&&ut($n,yo.typeParameter,Gu(hn)&262144?16:8)}return!0}if(Zr.flags&262144){ut(k_(hn,hn.pattern?2:0),Zr,32);const yo=EF(Zr);if(yo&&_n(hn,Kn,yo))return!0;const $n=Vt(n0(hn),Wn),Bs=Vt(kh(hn),w0=>w0!==Tu?w0.type:Ku);return $e(er(Hi($n,Bs)),DD(Kn)),!0}return!1}function hu(hn,Kn){if(hn.flags&16777216)$e(hn.checkType,Kn.checkType),$e(hn.extendsType,Kn.extendsType),$e(SC(hn),SC(Kn)),$e(BC(hn),BC(Kn));else{const Zr=[SC(Kn),BC(Kn)];gi(hn,Zr,Kn.flags,A?64:0)}}function oo(hn,Kn){const Zr=yht(hn,Kn),yo=Kn.types;if(Zr||ye(Kn.texts,$n=>$n.length===0))for(let $n=0;$nel|bm.flags,0);if(!(kc&4)){const el=Bs.value;kc&296&&!Cht(el,!0)&&(kc&=-297),kc&2112&&!hZ(el,!0)&&(kc&=-2113);const bm=nn(Td,(At,ze)=>ze.flags&kc?At.flags&4?At:ze.flags&4?Bs:At.flags&134217728?At:ze.flags&134217728&&pEe(Bs,ze)?Bs:At.flags&268435456?At:ze.flags&268435456&&el===v1t(ze.symbol,el)?Bs:At.flags&128?At:ze.flags&128&&ze.value===el?ze:At.flags&8?At:ze.flags&8?wg(+el):At.flags&32?At:ze.flags&32?wg(+el):At.flags&256?At:ze.flags&256&&ze.value===+el?ze:At.flags&64?At:ze.flags&64?Xii(el):At.flags&2048?At:ze.flags&2048&&I2(ze.value)===el?ze:At.flags&16?At:ze.flags&16?el==="true"?du:el==="false"?Ui:pr:At.flags&512?At:ze.flags&512&&ze.intrinsicName===el?ze:At.flags&32768?At:ze.flags&32768&&ze.intrinsicName===el?ze:At.flags&65536?At:ze.flags&65536&&ze.intrinsicName===el?ze:At:At,Ku);if(!(bm.flags&131072)){$e(bm,w0);continue}}}}$e(Bs,w0)}}function Eo(hn,Kn){var Zr,yo;if(Gu(hn)&4&&Gu(Kn)&4&&(hn.target===Kn.target||A4(hn)&&A4(Kn))){nu(O0(hn),O0(Kn),VPe(hn.target));return}if(Xm(hn)&&Xm(Kn)){$e(cp(hn),cp(Kn)),$e(DD(hn),DD(Kn));const $n=I5(hn),Bs=I5(Kn);$n&&Bs&&$e($n,Bs)}if(Gu(Kn)&32&&!Kn.declaration.nameType){const $n=cp(Kn);if(_n(hn,Kn,$n))return}if(!Yii(hn,Kn)){if(zb(hn)){if(xs(Kn)){const $n=O5(hn),Bs=O5(Kn),w0=O0(Kn),ad=Kn.target.elementFlags;if(xs(hn)&&Tii(hn,Kn)){for(let kc=0;kc0){const Bs=go(Kn,Zr),w0=Bs.length;for(let ad=0;ad1){const m=ti(l,sMe);if(m.length){const D=er(m,2);return Hi(ti(l,C=>!sMe(C)),[D])}}return l}function rni(l){return l.priority&416?Ds(l.contraCandidates):yii(l.contraCandidates)}function ani(l,m){const D=uni(l.candidates),C=nni(l.typeParameter)||W9(l.typeParameter),A=!C&&l.topLevel&&(l.isFixed||!Jii(m,l.typeParameter)),w=C?Lu(D,Jh):A?Lu(D,Ib):D,I=l.priority&416?er(w,2):bii(w);return vm(I)}function lMe(l,m){const D=l.inferences[m];if(!D.inferredType){let C,A;if(l.signature){const I=D.candidates?ani(D,l.signature):void 0,U=D.contraCandidates?rni(D):void 0;if(I||U){const Z=I&&(!U||!(I.flags&131072)&&Oe(D.contraCandidates,ce=>F6(I,ce))&&ye(l.inferences,ce=>ce!==D&&rh(ce.typeParameter)!==D.typeParameter||ye(ce.candidates,Fe=>F6(Fe,I))));C=Z?I:U,A=Z?U:I}else if(l.flags&1)C=ja;else{const Z=_F(D.typeParameter);Z&&(C=_a(Z,Iti(zti(l,m),l.nonFixingMapper)))}}else C=xht(D);D.inferredType=C||cMe(!!(l.flags&2));const w=rh(D.typeParameter);if(w){const I=_a(w,l.nonFixingMapper);(!C||!l.compareTypes(C,xm(I,C)))&&(D.inferredType=A&&l.compareTypes(A,xm(I,A))?A:I)}}return D.inferredType}function cMe(l){return l?me:on}function dMe(l){const m=[];for(let D=0;Dxh(m)||jp(m)||fm(m)))}function gEe(l,m,D,C){switch(l.kind){case 80:if(!g7(l)){const I=Zp(l);return I!==Xt?`${C?$s(C):"-1"}|${Fh(m)}|${Fh(D)}|${Zo(I)}`:void 0}case 110:return`0|${C?$s(C):"-1"}|${Fh(m)}|${Fh(D)}`;case 235:case 217:return gEe(l.expression,m,D,C);case 166:const A=gEe(l.left,m,D,C);return A&&A+"."+l.right.escapedText;case 211:case 212:const w=bF(l);if(w!==void 0){const I=gEe(l.expression,m,D,C);return I&&I+"."+w}break;case 206:case 207:case 262:case 218:case 219:case 174:return`${$s(l)}#${Fh(m)}`}}function C1(l,m){switch(m.kind){case 217:case 235:return C1(l,m.expression);case 226:return ld(m)&&C1(l,m.left)||Xn(m)&&m.operatorToken.kind===28&&C1(l,m.right)}switch(l.kind){case 236:return m.kind===236&&l.keywordToken===m.keywordToken&&l.name.escapedText===m.name.escapedText;case 80:case 81:return g7(l)?m.kind===110:m.kind===80&&Zp(l)===Zp(m)||(na(m)||js(m))&&sp(Zp(l))===_u(m);case 110:return m.kind===110;case 108:return m.kind===108;case 235:case 217:return C1(l.expression,m);case 211:case 212:const D=bF(l),C=I0(m)?bF(m):void 0;return D!==void 0&&C!==void 0&&C===D&&C1(l.expression,m.expression);case 166:return I0(m)&&l.right.escapedText===bF(m)&&C1(l.left,m.expression);case 226:return Xn(l)&&l.operatorToken.kind===28&&C1(l.right,m)}return!1}function bF(l){if(Iu(l))return l.name.escapedText;if(U0(l))return oni(l);if(js(l)){const m=_0(l);return m?Al(m):void 0}if(io(l))return""+l.parent.parameters.indexOf(l)}function fMe(l){return l.flags&8192?l.escapedName:l.flags&384?Al(""+l.value):void 0}function oni(l){return Pm(l.argumentExpression)?Al(l.argumentExpression.text):ec(l.argumentExpression)?sni(l.argumentExpression):void 0}function sni(l){const m=R0(l,111551,!0);if(!m||!(Mz(m)||m.flags&8))return;const D=m.valueDeclaration;if(D===void 0)return;const C=dt(D);if(C){const A=fMe(C);if(A!==void 0)return A}if(Qy(D)&&B5(D,l)){const A=Dj(D);if(A)return fMe(b1(A));if(J2(D))return V8(D.name)}}function Aht(l,m){for(;I0(l);)if(l=l.expression,C1(l,m))return!0;return!1}function yF(l,m){for(;Y1(l);)if(l=l.expression,C1(l,m))return!0;return!1}function Tz(l,m){if(l&&l.flags&1048576){const D=Adt(l,m);if(D&&Gl(D)&2)return D.links.isDiscriminantProperty===void 0&&(D.links.isDiscriminantProperty=(D.links.checkFlags&192)===192&&!kz(Wn(D))),!!D.links.isDiscriminantProperty}return!1}function Sht(l,m){let D;for(const C of l)if(Tz(m,C.escapedName)){if(D){D.push(C);continue}D=[C]}return D}function lni(l,m){const D=new Map;let C=0;for(const A of l)if(A.flags&61603840){const w=he(A,m);if(w){if(!pW(w))return;let I=!1;FF(w,U=>{const Z=Fh(Jh(U)),ce=D.get(Z);ce?ce!==on&&(D.set(Z,on),I=!0):D.set(Z,A)}),I||C++}}return C>=10&&C*2>=l.length?D:void 0}function jte(l){const m=l.types;if(!(m.length<10||Gu(l)&32768||ui(m,D=>!!(D.flags&59506688))<10)){if(l.keyPropertyName===void 0){const D=L(m,A=>A.flags&59506688?L(n0(A),w=>Tg(Wn(w))?w.escapedName:void 0):void 0),C=D&&lni(m,D);l.keyPropertyName=C?D:"",l.constituentMap=C}return l.keyPropertyName.length?l.keyPropertyName:void 0}}function Vte(l,m){var D;const C=(D=l.constituentMap)==null?void 0:D.get(Fh(Jh(m)));return C!==on?C:void 0}function Bht(l,m){const D=jte(l),C=D&&he(m,D);return C&&Vte(l,C)}function cni(l,m){const D=jte(l),C=D&&Le(m.properties,w=>w.symbol&&w.kind===303&&w.symbol.escapedName===D&&qte(w.initializer)),A=C&&gie(C.initializer);return A&&Vte(l,A)}function wht(l,m){return C1(l,m)||Aht(l,m)}function Tht(l,m){if(l.arguments){for(const D of l.arguments)if(wht(m,D)||yF(D,m))return!0}return!!(l.expression.kind===211&&wht(m,l.expression.expression))}function mMe(l){return(!l.id||l.id<0)&&(l.id=RAe,RAe++),l.id}function dni(l,m){if(!(l.flags&1048576))return ms(l,m);for(const D of l.types)if(ms(D,m))return!0;return!1}function hni(l,m){if(l===m)return l;if(m.flags&131072)return m;const D=`A${Fh(l)},${Fh(m)}`;return Yk(D)??fb(D,fni(l,m))}function fni(l,m){const D=Ic(l,A=>dni(m,A)),C=m.flags&512&&Pb(m)?hl(D,Z9):D;return ms(m,C)?C:l}function pMe(l){const m=Ag(l);return!!(m.callSignatures.length||m.constructSignatures.length||m.members.get("bind")&&F6(l,di))}function Lz(l,m){return gMe(l,m)&m}function fp(l,m){return Lz(l,m)!==0}function gMe(l,m){l.flags&467927040&&(l=Wh(l)||on);const D=l.flags;if(D&268435460)return fe?16317953:16776705;if(D&134217856){const C=D&128&&l.value==="";return fe?C?12123649:7929345:C?12582401:16776705}if(D&40)return fe?16317698:16776450;if(D&256){const C=l.value===0;return fe?C?12123394:7929090:C?12582146:16776450}if(D&64)return fe?16317188:16775940;if(D&2048){const C=hht(l);return fe?C?12122884:7928580:C?12581636:16775940}return D&16?fe?16316168:16774920:D&528?fe?l===Ui||l===Sn?12121864:7927560:l===Ui||l===Sn?12580616:16774920:D&524288?m&(fe?83427327:83886079)?Gu(l)&16&&bD(l)?fe?83427327:83886079:pMe(l)?fe?7880640:16728e3:fe?7888800:16736160:0:D&16384?9830144:D&32768?26607360:D&65536?42917664:D&12288?fe?7925520:16772880:D&67108864?fe?7888800:16736160:D&131072?0:D&1048576?nn(l.types,(C,A)=>C|gMe(A,m),0):D&2097152?mni(l,m):83886079}function mni(l,m){const D=jl(l,402784252);let C=0,A=134217727;for(const w of l.types)if(!(D&&w.flags&524288)){const I=gMe(w,m);C|=I,A&=I}return C&8256|A&134209471}function mp(l,m){return Ic(l,D=>fp(D,m))}function kF(l,m){const D=Lht(mp(fe&&l.flags&2?cl:l,m));if(fe)switch(m){case 524288:return hl(D,C=>fp(C,65536)?Ds([C,fp(C,131072)&&!jl(D,65536)?er([Ko,it]):Ko]):C);case 1048576:return hl(D,C=>fp(C,131072)?Ds([C,fp(C,65536)&&!jl(D,32768)?er([Ko,te]):Ko]):C);case 2097152:case 4194304:return hl(D,C=>fp(C,262144)?Pii(C):C)}return D}function Lht(l){return l===cl?on:l}function EMe(l,m){return m?er([Hr(l),b1(m)]):l}function Nht(l,m){var D;const C=j5(m);if(!Y4(C))return Ot;const A=Q4(C);return he(l,A)||vW((D=G9(l,A))==null?void 0:D.type)||Ot}function Pht(l,m){return e4(l,Bz)&&kii(l,m)||vW(G5(65,l,te,void 0))||Ot}function vW(l){return l&&(ae.noUncheckedIndexedAccess?er([l,de]):l)}function Mht(l){return V1(G5(65,l,te,void 0)||Ot)}function pni(l){return l.parent.kind===209&&_Me(l.parent)||l.parent.kind===303&&_Me(l.parent.parent)?EMe(Hte(l),l.right):b1(l.right)}function _Me(l){return l.parent.kind===226&&l.parent.left===l||l.parent.kind===250&&l.parent.initializer===l}function gni(l,m){return Pht(Hte(l),l.elements.indexOf(m))}function Eni(l){return Mht(Hte(l.parent))}function zht(l){return Nht(Hte(l.parent),l.name)}function _ni(l){return EMe(zht(l),l.objectAssignmentInitializer)}function Hte(l){const{parent:m}=l;switch(m.kind){case 249:return ct;case 250:return Cie(m)||Ot;case 226:return pni(m);case 220:return te;case 209:return gni(m,l);case 230:return Eni(m);case 303:return zht(m);case 304:return _ni(m)}return Ot}function Dni(l){const m=l.parent,D=Rht(m.parent),C=m.kind===206?Nht(D,l.propertyName||l.name):l.dotDotDotToken?Mht(D):Pht(D,m.elements.indexOf(l));return EMe(C,l.initializer)}function Iht(l){return ar(l).resolvedType||b1(l)}function xni(l){return l.initializer?Iht(l.initializer):l.parent.parent.kind===249?ct:l.parent.parent.kind===250&&Cie(l.parent.parent)||Ot}function Rht(l){return l.kind===260?xni(l):Dni(l)}function vni(l){return l.kind===260&&l.initializer&&b3(l.initializer)||l.kind!==208&&l.parent.kind===226&&b3(l.parent.right)}function Rb(l){switch(l.kind){case 217:return Rb(l.expression);case 226:switch(l.operatorToken.kind){case 64:case 76:case 77:case 78:return Rb(l.left);case 28:return Rb(l.right)}}return l}function Oht(l){const{parent:m}=l;return m.kind===217||m.kind===226&&m.operatorToken.kind===64&&m.left===l||m.kind===226&&m.operatorToken.kind===28&&m.right===l?Oht(m):l}function Cni(l){return l.kind===296?Jh(b1(l.expression)):Ku}function EEe(l){const m=ar(l);if(!m.switchTypes){m.switchTypes=[];for(const D of l.caseBlock.clauses)m.switchTypes.push(Cni(D))}return m.switchTypes}function jht(l){if(Oe(l.caseBlock.clauses,D=>D.kind===296&&!t0(D.expression)))return;const m=[];for(const D of l.caseBlock.clauses){const C=D.kind===296?D.expression.text:void 0;m.push(C&&!kt(m,C)?C:void 0)}return m}function bni(l,m){return l.flags&1048576?!L(l.types,D=>!kt(m,D)):kt(m,l)}function Nz(l,m){return!!(l===m||l.flags&131072||m.flags&1048576&&yni(l,m))}function yni(l,m){if(l.flags&1048576){for(const D of l.types)if(!C6(m.types,D))return!1;return!0}return l.flags&1056&&bge(l)===m?!0:C6(m.types,l)}function FF(l,m){return l.flags&1048576?L(l.types,m):m(l)}function yE(l,m){return l.flags&1048576?Oe(l.types,m):m(l)}function e4(l,m){return l.flags&1048576?ye(l.types,m):m(l)}function kni(l,m){return l.flags&3145728?ye(l.types,m):m(l)}function Ic(l,m){if(l.flags&1048576){const D=l.types,C=ti(D,m);if(C===D)return l;const A=l.origin;let w;if(A&&A.flags&1048576){const I=A.types,U=ti(I,Z=>!!(Z.flags&1048576)||m(Z));if(I.length-U.length===D.length-C.length){if(U.length===1)return U[0];w=EPe(1048576,U)}}return DPe(C,l.objectFlags&16809984,void 0,void 0,w)}return l.flags&131072||m(l)?l:Ku}function _Ee(l,m){return Ic(l,D=>D!==m)}function Fni(l){return l.flags&1048576?l.types.length:1}function hl(l,m,D){if(l.flags&131072)return l;if(!(l.flags&1048576))return m(l);const C=l.origin,A=C&&C.flags&1048576?C.types:l.types;let w,I=!1;for(const U of A){const Z=U.flags&1048576?hl(U,m,D):m(U);I||(I=U!==Z),Z&&(w?w.push(Z):w=[Z])}return I?w&&er(w,D?0:1):l}function Vht(l,m,D,C){return l.flags&1048576&&D?er(Vt(l.types,m),1,D,C):hl(l,m)}function Pz(l,m){return Ic(l,D=>(D.flags&m)!==0)}function Hht(l,m){return jl(l,134217804)&&jl(m,402655616)?hl(l,D=>D.flags&4?Pz(m,402653316):U9(D)&&!jl(m,402653188)?Pz(m,128):D.flags&8?Pz(m,264):D.flags&64?Pz(m,2112):D):l}function cT(l){return l.flags===0}function AF(l){return l.flags===0?l.type:l}function dT(l,m){return m?{flags:0,type:l.flags&131072?ja:l}:l}function Ani(l){const m=D4(256);return m.elementType=l,m}function DMe(l){return Et[l.id]||(Et[l.id]=Ani(l))}function Kht(l,m){const D=_W(kD(gie(m)));return Nz(D,l.elementType)?l:DMe(er([l.elementType,D]))}function Sni(l){return l.flags&131072?Nc:V1(l.flags&1048576?er(l.types,2):l)}function Bni(l){return l.finalArrayType||(l.finalArrayType=Sni(l.elementType))}function Kte(l){return Gu(l)&256?Bni(l):l}function wni(l){return Gu(l)&256?l.elementType:Ku}function Tni(l){let m=!1;for(const D of l)if(!(D.flags&131072)){if(!(Gu(D)&256))return!1;m=!0}return m}function Wht(l){const m=Oht(l),D=m.parent,C=Iu(D)&&(D.name.escapedText==="length"||D.parent.kind===213&&at(D.name)&&$0e(D.name)),A=D.kind===212&&D.expression===m&&D.parent.kind===226&&D.parent.operatorToken.kind===64&&D.parent.left===D&&!Q_(D.parent)&&u1(b1(D.argumentExpression),296);return C||A}function Lni(l){return(na(l)||ko(l)||Mm(l)||io(l))&&!!(f1(l)||Qn(l)&&Nx(l)&&l.initializer&&R2(l.initializer)&&U4(l.initializer))}function DEe(l,m){if(l=yc(l),l.flags&8752)return Wn(l);if(l.flags&7){if(Gl(l)&262144){const C=l.links.syntheticOrigin;if(C&&DEe(C))return Wn(l)}const D=l.valueDeclaration;if(D){if(Lni(D))return Wn(l);if(na(D)&&D.parent.parent.kind===250){const C=D.parent.parent,A=Wte(C.expression,void 0);if(A){const w=C.awaitModifier?15:13;return G5(w,A,te,void 0)}}m&&Es(m,Su(D,F._0_needs_an_explicit_type_annotation,Fr(l)))}}}function Wte(l,m){if(!(l.flags&67108864))switch(l.kind){case 80:const D=sp(Zp(l));return DEe(D,m);case 110:return Yni(l);case 108:return kMe(l);case 211:{const C=Wte(l.expression,m);if(C){const A=l.name;let w;if(Xr(A)){if(!C.symbol)return;w=qo(C,zj(C.symbol,A.escapedText))}else w=qo(C,A.escapedText);return w&&DEe(w,m)}return}case 217:return Wte(l.expression,m)}}function Gte(l){const m=ar(l);let D=m.effectsSignature;if(D===void 0){let C;if(Xn(l)){const I=hT(l.right);C=gze(I)}else l.parent.kind===244?C=Wte(l.expression,void 0):l.expression.kind!==108&&(Y1(l)?C=kE(gW(ya(l.expression),l.expression),l.expression):C=hT(l.expression));const A=go(C&&Gh(C)||on,0),w=A.length===1&&!A[0].typeParameters?A[0]:Oe(A,Ght)?mT(l):void 0;D=m.effectsSignature=w&&Ght(w)?w:fn}return D===fn?void 0:D}function Ght(l){return!!(y4(l)||l.declaration&&(uT(l.declaration)||on).flags&131072)}function Nni(l,m){if(l.kind===1||l.kind===3)return m.arguments[l.parameterIndex];const D=l0(m.expression);return I0(D)?l0(D.expression):void 0}function Pni(l){const m=Tn(l,Zse),D=zn(l),C=QE(D,m.statements.pos);Vs.add(Rd(D,C.start,C.length,F.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}function Jte(l){const m=xEe(l,!1);return Rn=l,tn=m,m}function $te(l){const m=l0(l,!0);return m.kind===97||m.kind===226&&(m.operatorToken.kind===56&&($te(m.left)||$te(m.right))||m.operatorToken.kind===57&&$te(m.left)&&$te(m.right))}function xEe(l,m){for(;;){if(l===Rn)return tn;const D=l.flags;if(D&4096){if(!m){const C=mMe(l),A=b9[C];return A!==void 0?A:b9[C]=xEe(l,!0)}m=!1}if(D&368)l=l.antecedent;else if(D&512){const C=Gte(l.node);if(C){const A=y4(C);if(A&&A.kind===3&&!A.type){const w=l.node.arguments[A.parameterIndex];if(w&&$te(w))return!1}if(Zs(C).flags&131072)return!1}l=l.antecedent}else{if(D&4)return Oe(l.antecedents,C=>xEe(C,!1));if(D&8){const C=l.antecedents;if(C===void 0||C.length===0)return!1;l=C[0]}else if(D&128){if(l.clauseStart===l.clauseEnd&&vmt(l.switchStatement))return!1;l=l.antecedent}else if(D&1024){Rn=void 0;const C=l.target,A=C.antecedents;C.antecedents=l.antecedents;const w=xEe(l.antecedent,!1);return C.antecedents=A,w}else return!(D&1)}}}function vEe(l,m){for(;;){const D=l.flags;if(D&4096){if(!m){const C=mMe(l),A=qk[C];return A!==void 0?A:qk[C]=vEe(l,!0)}m=!1}if(D&496)l=l.antecedent;else if(D&512){if(l.node.expression.kind===108)return!0;l=l.antecedent}else{if(D&4)return ye(l.antecedents,C=>vEe(C,!1));if(D&8)l=l.antecedents[0];else if(D&1024){const C=l.target,A=C.antecedents;C.antecedents=l.antecedents;const w=vEe(l.antecedent,!1);return C.antecedents=A,w}else return!!(D&1)}}}function Jht(l){switch(l.kind){case 110:return!0;case 80:if(!g7(l)){const m=Zp(l);return Mz(m)||Mle(m)&&!CEe(m)}break;case 211:case 212:return Jht(l.expression)&&Ng(ar(l).resolvedSymbol||Xt)}return!1}function w6(l,m,D=m,C,A=(w=>(w=ur(l,Bj))==null?void 0:w.flowNode)()){let w,I=!1,U=0;if(Ti)return Ot;if(!A)return m;Xi++;const Z=oi,ce=AF($e(A));oi=Z;const Fe=Gu(ce)&256&&Wht(l)?Nc:Kte(ce);if(Fe===Ir||l.parent&&l.parent.kind===235&&!(Fe.flags&131072)&&mp(Fe,2097152).flags&131072)return m;return Fe===le?on:Fe;function Te(){return I?w:(I=!0,w=gEe(l,m,D,C))}function $e(Lt){var li;if(U===2e3)return(li=Gn)==null||li.instant(Gn.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:Lt.id}),Ti=!0,Pni(l),Ot;U++;let Gi;for(;;){const yi=Lt.flags;if(yi&4096){for(let mn=Z;mn=0&&Gi.parameterIndex!(mn.flags&163840)):li.kind===221&&yF(li.expression,l)&&(yi=w0(yi,Lt.switchStatement,Lt.clauseStart,Lt.clauseEnd,mn=>!(mn.flags&131072||mn.flags&128&&mn.value==="undefined"))));const Ji=_n(li,yi);Ji&&(yi=Eo(yi,Ji,Lt.switchStatement,Lt.clauseStart,Lt.clauseEnd))}return dT(yi,cT(Gi))}function Ii(Lt){const li=[];let Gi=!1,yi=!1,Ji;for(const mn of Lt.antecedents){if(!Ji&&mn.flags&128&&mn.clauseStart===mn.clauseEnd){Ji=mn;continue}const Kr=$e(mn),ku=AF(Kr);if(ku===m&&m===D)return ku;xa(li,ku),Nz(ku,D)||(Gi=!0),cT(Kr)&&(yi=!0)}if(Ji){const mn=$e(Ji),Kr=AF(mn);if(!(Kr.flags&131072)&&!kt(li,Kr)&&!vmt(Ji.switchStatement)){if(Kr===m&&m===D)return Kr;li.push(Kr),Nz(Kr,D)||(Gi=!0),cT(mn)&&(yi=!0)}}return dT(vn(li,Gi?2:1),yi)}function Nn(Lt){const li=mMe(Lt),Gi=x9[li]||(x9[li]=new Map),yi=Te();if(!yi)return m;const Ji=Gi.get(yi);if(Ji)return Ji;for(let pn=Xe;pn{const pn=Re(_o,yi)||on;return!(pn.flags&131072)&&!(ku.flags&131072)&&Nte(ku,pn)})}function oo(Lt,li,Gi,yi,Ji){if((Gi===37||Gi===38)&&Lt.flags&1048576){const mn=jte(Lt);if(mn&&mn===bF(li)){const Kr=Vte(Lt,b1(yi));if(Kr)return Gi===(Ji?37:38)?Kr:Tg(he(Kr,mn)||on)?_Ee(Lt,Kr):Lt}}return hu(Lt,li,mn=>yo(mn,Gi,yi,Ji))}function Eo(Lt,li,Gi,yi,Ji){if(yiVte(Lt,ku)||on));if(Kr!==on)return Kr}return hu(Lt,li,mn=>ad(mn,Gi,yi,Ji))}function fo(Lt,li,Gi){if(C1(l,li))return kF(Lt,Gi?4194304:8388608);fe&&Gi&&yF(li,l)&&(Lt=kF(Lt,2097152));const yi=_n(li,Lt);return yi?hu(Lt,yi,Ji=>mp(Ji,Gi?4194304:8388608)):Lt}function ka(Lt,li,Gi){const yi=qo(Lt,li);return yi?!!(yi.flags&16777216||Gl(yi)&48)||Gi:!!G9(Lt,li)||!Gi}function ah(Lt,li,Gi){const yi=Q4(li);if(yE(Lt,mn=>ka(mn,yi,!0)))return Ic(Lt,mn=>ka(mn,yi,Gi));if(Gi){const mn=Oei();if(mn)return Ds([Lt,aT(mn,[li,on])])}return Lt}function t4(Lt,li,Gi,yi,Ji){return Ji=Ji!==(Gi.kind===112)!=(yi!==38&&yi!==36),Ou(Lt,li,Ji)}function hn(Lt,li,Gi){switch(li.operatorToken.kind){case 64:case 76:case 77:case 78:return fo(Ou(Lt,li.right,Gi),li.left,Gi);case 35:case 36:case 37:case 38:const yi=li.operatorToken.kind,Ji=Rb(li.left),mn=Rb(li.right);if(Ji.kind===221&&t0(mn))return $n(Lt,Ji,yi,mn,Gi);if(mn.kind===221&&t0(Ji))return $n(Lt,mn,yi,Ji,Gi);if(C1(l,Ji))return yo(Lt,yi,mn,Gi);if(C1(l,mn))return yo(Lt,yi,Ji,Gi);fe&&(yF(Ji,l)?Lt=Zr(Lt,yi,mn,Gi):yF(mn,l)&&(Lt=Zr(Lt,yi,Ji,Gi)));const Kr=_n(Ji,Lt);if(Kr)return oo(Lt,Kr,yi,mn,Gi);const ku=_n(mn,Lt);if(ku)return oo(Lt,ku,yi,Ji,Gi);if(bm(Ji))return At(Lt,yi,mn,Gi);if(bm(mn))return At(Lt,yi,Ji,Gi);if(HN(mn)&&!I0(Ji))return t4(Lt,Ji,mn,yi,Gi);if(HN(Ji)&&!I0(mn))return t4(Lt,mn,Ji,yi,Gi);break;case 104:return ze(Lt,li,Gi);case 103:if(Xr(li.left))return Kn(Lt,li,Gi);const _o=Rb(li.right);if(EW(Lt)&&I0(l)&&C1(l.expression,_o)){const pn=b1(li.left);if(Y4(pn)&&bF(l)===Q4(pn))return mp(Lt,Gi?524288:65536)}if(C1(l,_o)){const pn=b1(li.left);if(Y4(pn))return ah(Lt,pn,Gi)}break;case 28:return Ou(Lt,li.right,Gi);case 56:return Gi?Ou(Ou(Lt,li.left,!0),li.right,!0):er([Ou(Lt,li.left,!1),Ou(Lt,li.right,!1)]);case 57:return Gi?er([Ou(Lt,li.left,!0),Ou(Lt,li.right,!0)]):Ou(Ou(Lt,li.left,!1),li.right,!1)}return Lt}function Kn(Lt,li,Gi){const yi=Rb(li.right);if(!C1(l,yi))return Lt;H.assertNode(li.left,Xr);const Ji=NEe(li.left);if(Ji===void 0)return Lt;const mn=Ji.parent,Kr=Kc(H.checkDefined(Ji.valueDeclaration,"should always have a declaration"))?Wn(mn):X0(mn);return Fu(Lt,Kr,Gi,!0)}function Zr(Lt,li,Gi,yi){const Ji=li===35||li===37,mn=li===35||li===36?98304:32768,Kr=b1(Gi);return Ji!==yi&&e4(Kr,_o=>!!(_o.flags&mn))||Ji===yi&&e4(Kr,_o=>!(_o.flags&(3|mn)))?kF(Lt,2097152):Lt}function yo(Lt,li,Gi,yi){if(Lt.flags&1)return Lt;(li===36||li===38)&&(yi=!yi);const Ji=b1(Gi),mn=li===35||li===36;if(Ji.flags&98304){if(!fe)return Lt;const Kr=mn?yi?262144:2097152:Ji.flags&65536?yi?131072:1048576:yi?65536:524288;return kF(Lt,Kr)}if(yi){if(!mn&&(Lt.flags&2||yE(Lt,yD))){if(Ji.flags&469893116||yD(Ji))return Ji;if(Ji.flags&524288)return as}const Kr=Ic(Lt,ku=>Nte(ku,Ji)||mn&&Mii(ku,Ji));return Hht(Kr,Ji)}return Tg(Ji)?Ic(Lt,Kr=>!(sht(Kr)&&Nte(Kr,Ji))):Lt}function $n(Lt,li,Gi,yi,Ji){(Gi===36||Gi===38)&&(Ji=!Ji);const mn=Rb(li.expression);if(!C1(l,mn)){fe&&yF(mn,l)&&Ji===(yi.text!=="undefined")&&(Lt=kF(Lt,2097152));const Kr=_n(mn,Lt);return Kr?hu(Lt,Kr,ku=>Bs(ku,yi,Ji)):Lt}return Bs(Lt,yi,Ji)}function Bs(Lt,li,Gi){return Gi?Ys(Lt,li.text):kF(Lt,Vde.get(li.text)||32768)}function w0(Lt,li,Gi,yi,Ji){return Gi!==yi&&ye(EEe(li).slice(Gi,yi),Ji)?mp(Lt,2097152):Lt}function ad(Lt,li,Gi,yi){const Ji=EEe(li);if(!Ji.length)return Lt;const mn=Ji.slice(Gi,yi),Kr=Gi===yi||kt(mn,Ku);if(Lt.flags&2&&!Kr){let or;for(let qr=0;qrNte(ku,or)),ku);if(!Kr)return _o;const pn=Ic(Lt,or=>!(sht(or)&&kt(Ji,Jh(Aii(or)))));return _o.flags&131072?pn:er([_o,pn])}function Ys(Lt,li){switch(li){case"string":return Td(Lt,ct,1);case"number":return Td(Lt,Qt,2);case"bigint":return Td(Lt,Li,4);case"boolean":return Td(Lt,pr,8);case"symbol":return Td(Lt,Xu,16);case"object":return Lt.flags&1?Lt:er([Td(Lt,as,32),Td(Lt,it,131072)]);case"function":return Lt.flags&1?Lt:Td(Lt,di,64);case"undefined":return Td(Lt,te,65536)}return Td(Lt,as,128)}function Td(Lt,li,Gi){return hl(Lt,yi=>bE(yi,li,p4)?fp(yi,Gi)?yi:Ku:F6(li,yi)?li:fp(yi,Gi)?Ds([yi,li]):Ku)}function kc(Lt,li,Gi,yi){const Ji=jht(li);if(!Ji)return Lt;const mn=Ue(li.caseBlock.clauses,_o=>_o.kind===297);if(Gi===yi||mn>=Gi&&mnLz(pn,_o)===_o)}const ku=Ji.slice(Gi,yi);return er(Vt(ku,_o=>_o?Ys(Lt,_o):Ku))}function el(Lt,li,Gi,yi){const Ji=Ue(li.caseBlock.clauses,ku=>ku.kind===297),mn=Gi===yi||Ji>=Gi&&Jiku.kind===296?Ou(Lt,ku.expression,!0):Ku))}function bm(Lt){return(Iu(Lt)&&fu(Lt.name)==="constructor"||U0(Lt)&&t0(Lt.argumentExpression)&&Lt.argumentExpression.text==="constructor")&&C1(l,Lt.expression)}function At(Lt,li,Gi,yi){if(yi?li!==35&&li!==37:li!==36&&li!==38)return Lt;const Ji=b1(Gi);if(!$ze(Ji)&&!Or(Ji))return Lt;const mn=qo(Ji,"prototype");if(!mn)return Lt;const Kr=Wn(mn),ku=nt(Kr)?void 0:Kr;if(!ku||ku===He||ku===di)return Lt;if(nt(Lt))return ku;return Ic(Lt,pn=>_o(pn,ku));function _o(pn,or){return pn.flags&524288&&Gu(pn)&1||or.flags&524288&&Gu(or)&1?pn.symbol===or.symbol:F6(pn,or)}}function ze(Lt,li,Gi){const yi=Rb(li.left);if(!C1(l,yi))return Gi&&fe&&yF(yi,l)?kF(Lt,2097152):Lt;const Ji=li.right,mn=b1(Ji);if(!TC(mn,He))return Lt;const Kr=Gte(li),ku=Kr&&y4(Kr);if(ku&&ku.kind===1&&ku.parameterIndex===0)return Fu(Lt,ku.type,Gi,!0);if(!TC(mn,di))return Lt;const _o=hl(mn,Yn);return nt(Lt)&&(_o===He||_o===di)||!Gi&&!(_o.flags&524288&&!yD(_o))?Lt:Fu(Lt,_o,Gi,!0)}function Yn(Lt){const li=he(Lt,"prototype");if(li&&!nt(li))return li;const Gi=go(Lt,1);return Gi.length?er(Vt(Gi,yi=>Zs(aW(yi)))):Ko}function Fu(Lt,li,Gi,yi){const Ji=Lt.flags&1048576?`N${Fh(Lt)},${Fh(li)},${(Gi?1:0)|(yi?2:0)}`:void 0;return Yk(Ji)??fb(Ji,Er(Lt,li,Gi,yi))}function Er(Lt,li,Gi,yi){if(!Gi){if(yi)return Ic(Lt,_o=>!TC(_o,li));const ku=Fu(Lt,li,!0,!1);return Ic(Lt,_o=>!Nz(_o,ku))}if(Lt.flags&3)return li;const Ji=yi?TC:F6,mn=Lt.flags&1048576?jte(Lt):void 0,Kr=hl(li,ku=>{const _o=mn&&he(ku,mn),pn=_o&&Vte(Lt,_o),or=hl(pn||Lt,yi?qr=>TC(qr,ku)?qr:TC(ku,qr)?ku:Ku:qr=>K1t(qr,ku)?qr:K1t(ku,qr)?ku:F6(qr,ku)?qr:F6(ku,qr)?ku:Ku);return or.flags&131072?hl(Lt,qr=>jl(qr,465829888)&&Ji(ku,Wh(qr)||on)?Ds([qr,ku]):Ku):or});return Kr.flags&131072?F6(li,Lt)?li:ms(Lt,li)?Lt:ms(li,Lt)?li:Ds([Lt,li]):Kr}function fr(Lt,li,Gi){if(Tht(li,l)){const yi=Gi||!$y(li)?Gte(li):void 0,Ji=yi&&y4(yi);if(Ji&&(Ji.kind===0||Ji.kind===1))return Mr(Lt,Ji,li,Gi)}if(EW(Lt)&&I0(l)&&Iu(li.expression)){const yi=li.expression;if(C1(l.expression,Rb(yi.expression))&&at(yi.name)&&yi.name.escapedText==="hasOwnProperty"&&li.arguments.length===1){const Ji=li.arguments[0];if(t0(Ji)&&bF(l)===Al(Ji.text))return mp(Lt,Gi?524288:65536)}}return Lt}function Mr(Lt,li,Gi,yi){if(li.type&&!(nt(Lt)&&(li.type===He||li.type===di))){const Ji=Nni(li,Gi);if(Ji){if(C1(l,Ji))return Fu(Lt,li.type,yi,!1);fe&&yF(Ji,l)&&(yi&&!fp(li.type,65536)||!yi&&e4(li.type,tie))&&(Lt=kF(Lt,2097152));const mn=_n(Ji,Lt);if(mn)return hu(Lt,mn,Kr=>Fu(Kr,li.type,yi,!1))}}return Lt}function Ou(Lt,li,Gi){if(MU(li)||Xn(li.parent)&&(li.parent.operatorToken.kind===61||li.parent.operatorToken.kind===78)&&li.parent.left===li)return xu(Lt,li,Gi);switch(li.kind){case 80:if(!C1(l,li)&&J<5){const yi=Zp(li);if(Mz(yi)){const Ji=yi.valueDeclaration;if(Ji&&na(Ji)&&!Ji.type&&Ji.initializer&&Jht(l)){J++;const mn=Ou(Lt,Ji.initializer,Gi);return J--,mn}}}case 110:case 108:case 211:case 212:return fo(Lt,li,Gi);case 213:return fr(Lt,li,Gi);case 217:case 235:return Ou(Lt,li.expression,Gi);case 226:return hn(Lt,li,Gi);case 224:if(li.operator===54)return Ou(Lt,li.operand,!Gi);break}return Lt}function xu(Lt,li,Gi){if(C1(l,li))return kF(Lt,Gi?2097152:262144);const yi=_n(li,Lt);return yi?hu(Lt,yi,Ji=>mp(Ji,Gi?2097152:262144)):Lt}}function Mni(l,m){if(l=sp(l),(m.kind===80||m.kind===81)&&(gP(m)&&(m=m.parent),Z_(m)&&(!Q_(m)||D7(m)))){const D=oEe(D7(m)&&m.kind===211?TEe(m,void 0,!0):b1(m));if(sp(ar(m).resolvedSymbol)===l)return D}return X3(m)&&e5(m.parent)&&i0(m.parent)?Dge(m.parent.symbol):cle(m)&&D7(m.parent)?mF(l):E6(l)}function CW(l){return Tn(l.parent,m=>Co(m)&&!nk(m)||m.kind===268||m.kind===312||m.kind===172)}function CEe(l){if(!l.valueDeclaration)return!1;const m=XE(l.valueDeclaration).parent,D=ar(m);return D.flags&131072||(D.flags|=131072,zni(m)||$ht(m)),l.isAssigned||!1}function zni(l){return!!Tn(l.parent,m=>(Co(m)||G2(m))&&!!(ar(m).flags&131072))}function $ht(l){if(l.kind===80){if(Q_(l)){const m=Zp(l);Mle(m)&&(m.isAssigned=!0)}}else ao(l,$ht)}function Mz(l){return l.flags&3&&(OMe(l)&6)!==0}function Ini(l){const m=ar(l);if(m.parameterInitializerContainsUndefined===void 0){if(!D_(l,9))return Xw(l.symbol),!0;const D=!!fp(wW(l,0),16777216);if(!CE())return Xw(l.symbol),!0;m.parameterInitializerContainsUndefined=D}return m.parameterInitializerContainsUndefined}function Rni(l,m){return fe&&m.kind===169&&m.initializer&&fp(l,16777216)&&!Ini(m)?mp(l,524288):l}function Oni(l,m){const D=m.parent;return D.kind===211||D.kind===166||D.kind===213&&D.expression===m||D.kind===212&&D.expression===m&&!(yE(l,qht)&&AC(b1(D.argumentExpression)))}function Uht(l){return l.flags&2097152?Oe(l.types,Uht):!!(l.flags&465829888&&xD(l).flags&1146880)}function qht(l){return l.flags&2097152?Oe(l.types,qht):!!(l.flags&465829888&&!jl(xD(l),98304))}function jni(l,m){const D=(at(l)||Iu(l)||U0(l))&&!((aE(l.parent)||bk(l.parent))&&l.parent.tagName===l)&&(m&&m&32?hf(l,8):hf(l,void 0));return D&&!kz(D)}function xMe(l,m,D){return!(D&&D&2)&&yE(l,Uht)&&(Oni(l,m)||jni(m,D))?hl(l,xD):l}function Zht(l){return!!Tn(l,m=>{const D=m.parent;return D===void 0?"quit":tc(D)?D.expression===m&&ec(m):eh(D)?D.name===m||D.propertyName===m:!1})}function bEe(l,m){if(Ut&&hC(l,111551)&&!ck(m)){const D=md(l);O1(l,!0)&1160127&&(mg(ae)||fk(ae)&&Zht(m)||!OW(sp(D))?T5(l):n1(l))}}function Vni(l,m){var D;const C=Wn(l),A=l.valueDeclaration;if(A){if(js(A)&&!A.initializer&&!A.dotDotDotToken&&A.parent.elements.length>=2){const w=A.parent.parent;if(w.kind===260&&Gb(A)&6||w.kind===169){const I=ar(w);if(!(I.flags&4194304)){I.flags|=4194304;const U=bi(w,0),Z=U&&hl(U,xD);if(I.flags&=-4194305,Z&&Z.flags&1048576&&!(w.kind===169&&CEe(l))){const ce=A.parent,Fe=w6(ce,Z,Z,void 0,m.flowNode);return Fe.flags&131072?Ku:v4(A,Fe,!0)}}}}if(io(A)&&!A.type&&!A.initializer&&!A.dotDotDotToken){const w=A.parent;if(w.parameters.length>=2&&Uge(w)){const I=yW(w);if(I&&I.parameters.length===1&&th(I)){const U=Dz(_a(Wn(I.parameters[0]),(D=jb(w))==null?void 0:D.nonFixingMapper));if(U.flags&1048576&&e4(U,xs)&&!CEe(l)){const Z=w6(w,U,U,void 0,m.flowNode),ce=w.parameters.indexOf(A)-(T2(w)?1:0);return qf(Z,wg(ce))}}}}}return C}function Hni(l,m){if(g7(l))return Ute(l);const D=Zp(l);if(D===Xt)return Ot;if(D===It){if(Nft(l))return pt(l,F.arguments_cannot_be_referenced_in_property_initializers),Ot;const Ii=Nm(l);return Ce<2&&(Ii.kind===219?pt(l,F.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):Yu(Ii,1024)&&pt(l,F.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),ar(Ii).flags|=512,Wn(D)}Wni(l)&&bEe(D,l);const C=sp(D),A=Vze(C,l);S5(A)&&vPe(l,A)&&A.declarations&&m3(l,A.declarations,l.escapedText);let w=C.valueDeclaration;if(w&&C.flags&32&&mr(w)&&w.name!==l){let Ii=tf(l,!1,!1);for(;Ii.kind!==312&&Ii.parent!==w;)Ii=tf(Ii,!1,!1);Ii.kind!==312&&(ar(w).flags|=262144,ar(Ii).flags|=262144,ar(l).flags|=536870912)}$ni(l,D);let I=Vni(C,l);const U=f7(l);if(U){if(!(C.flags&3)&&!(Qn(l)&&C.flags&512)){const Ii=C.flags&384?F.Cannot_assign_to_0_because_it_is_an_enum:C.flags&32?F.Cannot_assign_to_0_because_it_is_a_class:C.flags&1536?F.Cannot_assign_to_0_because_it_is_a_namespace:C.flags&16?F.Cannot_assign_to_0_because_it_is_a_function:C.flags&2097152?F.Cannot_assign_to_0_because_it_is_an_import:F.Cannot_assign_to_0_because_it_is_not_a_variable;return pt(l,Ii,Fr(D)),Ot}if(Ng(C))return C.flags&3?pt(l,F.Cannot_assign_to_0_because_it_is_a_constant,Fr(D)):pt(l,F.Cannot_assign_to_0_because_it_is_a_read_only_property,Fr(D)),Ot}const Z=C.flags&2097152;if(C.flags&3){if(U===1)return O0e(l)?kD(I):I}else if(Z)w=rp(D);else return I;if(!w)return I;I=xMe(I,l,m);const ce=XE(w).kind===169,Fe=CW(w);let Te=CW(l);const $e=Te!==Fe,ut=l.parent&&l.parent.parent&&d5(l.parent)&&_Me(l.parent.parent),zt=D.flags&134217728,gi=I===ni||I===Nc,Wi=gi&&l.parent.kind===235;for(;Te!==Fe&&(Te.kind===218||Te.kind===219||lq(Te))&&(Mz(C)&&I!==Nc||ce&&!CEe(C));)Te=CW(Te);const dn=ce||Z||$e||ut||zt||Kni(l,w)||I!==ni&&I!==Nc&&(!fe||(I.flags&16387)!==0||ck(l)||hMe(l)||l.parent.kind===281)||l.parent.kind===235||w.kind===260&&w.exclamationToken||w.flags&33554432,nu=Wi?te:dn?ce?Rni(I,w):I:gi?te:S6(I),En=Wi?FD(w6(l,I,nu,Te)):w6(l,I,nu,Te);if(!Wht(l)&&(I===ni||I===Nc)){if(En===ni||En===Nc)return Ae&&(pt(Za(w),F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Fr(D),gn(En)),pt(l,F.Variable_0_implicitly_has_an_1_type,Fr(D),gn(En))),RW(En)}else if(!dn&&!Fz(I)&&Fz(En))return pt(l,F.Variable_0_is_used_before_being_assigned,Fr(D)),I;return U?kD(En):En}function Kni(l,m){if(js(m)){const D=Tn(l,js);return D&&XE(D)===XE(m)}}function Wni(l){var m;const D=l.parent;if(D){if(Iu(D)&&D.expression===l||eh(D)&&D.isTypeOnly)return!1;const C=(m=D.parent)==null?void 0:m.parent;if(C&&Gc(C)&&C.isTypeOnly)return!1}return!0}function Gni(l,m){return!!Tn(l,D=>D===m?"quit":Co(D)||D.parent&&ko(D.parent)&&!Kc(D.parent)&&D.parent.initializer===D)}function Jni(l,m){return Tn(l,D=>D===m?"quit":D===m.initializer||D===m.condition||D===m.incrementor||D===m.statement)}function vMe(l){return Tn(l,m=>!m||U0e(m)?"quit":Tx(m,!1))}function $ni(l,m){if(Ce>=2||!(m.flags&34)||!m.valueDeclaration||la(m.valueDeclaration)||m.valueDeclaration.parent.kind===299)return;const D=YE(m.valueDeclaration),C=Gni(l,D),A=vMe(D);if(A){if(C){let w=!0;if(vk(D)){const I=Fv(m.valueDeclaration,261);if(I&&I.parent===D){const U=Jni(l.parent,D);if(U){const Z=ar(U);Z.flags|=8192;const ce=Z.capturedBlockScopeBindings||(Z.capturedBlockScopeBindings=[]);xa(ce,m),U===D.initializer&&(w=!1)}}}w&&(ar(A).flags|=4096)}if(vk(D)){const w=Fv(m.valueDeclaration,261);w&&w.parent===D&&qni(l,D)&&(ar(m.valueDeclaration).flags|=65536)}ar(m.valueDeclaration).flags|=32768}C&&(ar(m.valueDeclaration).flags|=16384)}function Uni(l,m){const D=ar(l);return!!D&&kt(D.capturedBlockScopeBindings,_u(m))}function qni(l,m){let D=l;for(;D.parent.kind===217;)D=D.parent;let C=!1;if(Q_(D))C=!0;else if(D.parent.kind===224||D.parent.kind===225){const A=D.parent;C=A.operator===46||A.operator===47}return C?!!Tn(D,A=>A===m?"quit":A===m.statement):!1}function CMe(l,m){if(ar(l).flags|=2,m.kind===172||m.kind===176){const D=m.parent;ar(D).flags|=4}else ar(m).flags|=4}function Yht(l){return ik(l)?l:Co(l)?void 0:ao(l,Yht)}function bMe(l){const m=_u(l),D=X0(m);return qc(D)===Ct}function Qht(l,m,D){const C=m.parent;B2(C)&&!bMe(C)&&Bj(l)&&l.flowNode&&!vEe(l.flowNode,!1)&&pt(l,D)}function Zni(l,m){ko(m)&&Kc(m)&&ve&&m.initializer&&IO(m.initializer,l.pos)&&o4(m.parent)&&pt(l,F.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function Ute(l){const m=ck(l);let D=tf(l,!0,!0),C=!1,A=!1;for(D.kind===176&&Qht(l,D,F.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);;){if(D.kind===219&&(D=tf(D,!1,!A),C=!0),D.kind===167){D=tf(D,!C,!1),A=!0;continue}break}if(Zni(l,D),A)pt(l,F.this_cannot_be_referenced_in_a_computed_property_name);else switch(D.kind){case 267:pt(l,F.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 266:pt(l,F.this_cannot_be_referenced_in_current_location);break;case 176:Xht(l,D)&&pt(l,F.this_cannot_be_referenced_in_constructor_arguments);break}!m&&C&&Ce<2&&CMe(l,D);const w=yMe(l,!0,D);if(De){const I=Wn(St);if(w===I&&C)pt(l,F.The_containing_arrow_function_captures_the_global_value_of_this);else if(!w){const U=pt(l,F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!la(D)){const Z=yMe(D);Z&&Z!==I&&Es(U,Su(D,F.An_outer_value_of_this_is_shadowed_by_this_container))}}}return w||me}function yMe(l,m=!0,D=tf(l,!1,!1)){const C=Qn(l);if(Co(D)&&(!AMe(l)||T2(D))){let A=g6(D)||C&&Xni(D);if(!A){const w=Qni(D);if(C&&w){const I=ya(w).symbol;I&&I.members&&I.flags&16&&(A=X0(I).thisType)}else AE(D)&&(A=X0(Ks(D.symbol)).thisType);A||(A=nft(D))}if(A)return w6(l,A)}if(mr(D.parent)){const A=_u(D.parent),w=No(D)?Wn(A):X0(A).thisType;return w6(l,w)}if(la(D))if(D.commonJsModuleIndicator){const A=_u(D);return A&&Wn(A)}else{if(D.externalModuleIndicator)return te;if(m)return Wn(St)}}function Yni(l){const m=tf(l,!1,!1);if(Co(m)){const D=dp(m);if(D.thisParameter)return DEe(D.thisParameter)}if(mr(m.parent)){const D=_u(m.parent);return No(m)?Wn(D):X0(D).thisType}}function Qni(l){if(l.kind===218&&Xn(l.parent)&&Xl(l.parent)===3)return l.parent.left.expression.expression;if(l.kind===174&&l.parent.kind===210&&Xn(l.parent.parent)&&Xl(l.parent.parent)===6)return l.parent.parent.left.expression;if(l.kind===218&&l.parent.kind===303&&l.parent.parent.kind===210&&Xn(l.parent.parent.parent)&&Xl(l.parent.parent.parent)===6)return l.parent.parent.parent.left.expression;if(l.kind===218&&Jc(l.parent)&&at(l.parent.name)&&(l.parent.name.escapedText==="value"||l.parent.name.escapedText==="get"||l.parent.name.escapedText==="set")&&ys(l.parent.parent)&&Mo(l.parent.parent.parent)&&l.parent.parent.parent.arguments[2]===l.parent.parent&&Xl(l.parent.parent.parent)===9)return l.parent.parent.parent.arguments[0].expression;if(dc(l)&&at(l.name)&&(l.name.escapedText==="value"||l.name.escapedText==="get"||l.name.escapedText==="set")&&ys(l.parent)&&Mo(l.parent.parent)&&l.parent.parent.arguments[2]===l.parent&&Xl(l.parent.parent)===9)return l.parent.parent.arguments[0].expression}function Xni(l){const m=LU(l);if(m&&m.typeExpression)return Ar(m.typeExpression);const D=xz(l);if(D)return kC(D)}function Xht(l,m){return!!Tn(l,D=>$0(D)?"quit":D.kind===169&&D.parent===m)}function kMe(l){const m=l.parent.kind===213&&l.parent.expression===l,D=fj(l,!0);let C=D,A=!1,w=!1;if(!m){for(;C&&C.kind===219;)Yu(C,1024)&&(w=!0),C=fj(C,!0),A=Ce<2;C&&Yu(C,1024)&&(w=!0)}let I=0;if(!C||!Fe(C)){const Te=Tn(l,$e=>$e===C?"quit":$e.kind===167);return Te&&Te.kind===167?pt(l,F.super_cannot_be_referenced_in_a_computed_property_name):m?pt(l,F.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!C||!C.parent||!(mr(C.parent)||C.parent.kind===210)?pt(l,F.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):pt(l,F.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),Ot}if(!m&&D.kind===176&&Qht(l,C,F.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),No(C)||m?(I=32,!m&&Ce>=2&&Ce<=8&&(ko(C)||zl(C))&&Ibe(l.parent,Te=>{(!la(Te)||cm(Te))&&(ar(Te).flags|=2097152)})):I=16,ar(l).flags|=I,C.kind===174&&w&&(nf(l.parent)&&Q_(l.parent)?ar(C).flags|=256:ar(C).flags|=128),A&&CMe(l.parent,C),C.parent.kind===210)return Ce<2?(pt(l,F.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Ot):me;const U=C.parent;if(!B2(U))return pt(l,F.super_can_only_be_referenced_in_a_derived_class),Ot;if(bMe(U))return m?Ot:Ct;const Z=X0(_u(U)),ce=Z&&Zc(Z)[0];if(!ce)return Ot;if(C.kind===176&&Xht(l,C))return pt(l,F.super_cannot_be_referenced_in_constructor_arguments),Ot;return I===32?qc(Z):xm(ce,Z.thisType);function Fe(Te){return m?Te.kind===176:mr(Te.parent)||Te.parent.kind===210?No(Te)?Te.kind===174||Te.kind===173||Te.kind===177||Te.kind===178||Te.kind===172||Te.kind===175:Te.kind===174||Te.kind===173||Te.kind===177||Te.kind===178||Te.kind===172||Te.kind===171||Te.kind===176:!1}}function eft(l){return(l.kind===174||l.kind===177||l.kind===178)&&l.parent.kind===210?l.parent:l.kind===218&&l.parent.kind===303?l.parent.parent:void 0}function tft(l){return Gu(l)&4&&l.target===bc?O0(l)[0]:void 0}function eui(l){return hl(l,m=>m.flags&2097152?L(m.types,tft):tft(m))}function ift(l,m){let D=l,C=m;for(;C;){const A=eui(C);if(A)return A;if(D.parent.kind!==303)break;D=D.parent.parent,C=MC(D,void 0)}}function nft(l){if(l.kind===219)return;if(Uge(l)){const D=yW(l);if(D){const C=D.thisParameter;if(C)return Wn(C)}}const m=Qn(l);if(De||m){const D=eft(l);if(D){const A=MC(D,void 0),w=ift(D,A);return w?_a(w,iMe(jb(D))):vm(A?FD(A):Rc(D))}const C=i5(l.parent);if(ld(C)){const A=C.left;if(I0(A)){const{expression:w}=A;if(m&&at(w)){const I=zn(C);if(I.commonJsModuleIndicator&&Zp(w)===I.symbol)return}return vm(Rc(w))}}}}function uft(l){const m=l.parent;if(!Uge(m))return;const D=nk(m);if(D&&D.arguments){const A=REe(D),w=m.parameters.indexOf(l);if(l.dotDotDotToken)return XMe(A,w,A.length,me,void 0,0);const I=ar(D),U=I.resolvedSignature;I.resolvedSignature=mi;const Z=w0)return V9(D.name,!0,!1)}}function uui(l,m){const D=Nm(l);if(D){let C=yEe(D,m);if(C){const A=kd(D);if(A&1){const w=(A&2)!==0;C.flags&1048576&&(C=Ic(C,U=>!!Hb(1,U,w)));const I=Hb(1,C,(A&2)!==0);if(!I)return;C=I}if(A&2){const w=hl(C,W5);return w&&er([w,Emt(w)])}return C}}}function rui(l,m){const D=hf(l,m);if(D){const C=W5(D);return C&&er([C,Emt(C)])}}function aui(l,m){const D=Nm(l);if(D){const C=kd(D);let A=yEe(D,m);if(A){const w=(C&2)!==0;return!l.asteriskToken&&A.flags&1048576&&(A=Ic(A,I=>!!Hb(1,I,w))),l.asteriskToken?A:Hb(0,A,w)}}}function AMe(l){let m=!1;for(;l.parent&&!Co(l.parent);){if(io(l.parent)&&(m||l.parent.initializer===l))return!0;js(l.parent)&&l.parent.initializer===l&&(m=!0),l=l.parent}return!1}function rft(l,m){const D=!!(kd(m)&2),C=yEe(m,void 0);if(C)return Hb(l,C,D)||void 0}function yEe(l,m){const D=uT(l);if(D)return D;const C=LMe(l);if(C&&!Fge(C)){const w=Zs(C),I=kd(l);return I&1?Ic(w,U=>!!(U.flags&58998787)||vze(U,I,void 0)):I&2?Ic(w,U=>!!(U.flags&58998787)||!!jz(U)):w}const A=nk(l);if(A)return hf(A,m)}function aft(l,m){const C=REe(l).indexOf(m);return C===-1?void 0:SMe(l,C)}function SMe(l,m){if(dm(l))return m===0?ct:m===1?Ydt(!1):me;const D=ar(l).resolvedSignature===Wu?Wu:mT(l);if(zh(l)&&m===0)return SEe(D,l);const C=D.parameters.length-1;return th(D)&&m>=C?qf(Wn(D.parameters[C]),wg(m-C),256):Lg(D,m)}function oui(l){const m=hze(l);return m?DF(m):void 0}function sui(l,m){if(l.parent.kind===215)return aft(l.parent,m)}function lui(l,m){const D=l.parent,{left:C,operatorToken:A,right:w}=D;switch(A.kind){case 64:case 77:case 76:case 78:return l===w?dui(D):void 0;case 57:case 61:const I=hf(D,m);return l===w&&(I&&I.pattern||!I&&!uye(D))?b1(C):I;case 56:case 28:return l===w?hf(D,m):void 0;default:return}}function cui(l){if(Zg(l)&&l.symbol)return l.symbol;if(at(l))return Zp(l);if(Iu(l)){const D=b1(l.expression);return Xr(l.name)?m(D,l.name):qo(D,l.name.escapedText)}if(U0(l)){const D=Rc(l.argumentExpression);if(!Y4(D))return;const C=b1(l.expression);return qo(C,Q4(D))}return;function m(D,C){const A=LEe(C.escapedText,C);return A&&KMe(D,A)}}function dui(l){var m,D;const C=Xl(l);switch(C){case 0:case 4:const A=cui(l.left),w=A&&A.valueDeclaration;if(w&&(ko(w)||Mm(w))){const Z=f1(w);return Z&&_a(Ar(Z),Ur(A).mapper)||(ko(w)?w.initializer&&b1(l.left):void 0)}return C===0?b1(l.left):oft(l);case 5:if(kEe(l,C))return oft(l);if(!Zg(l.left)||!l.left.symbol)return b1(l.left);{const Z=l.left.symbol.valueDeclaration;if(!Z)return;const ce=Po(l.left,I0),Fe=f1(Z);if(Fe)return Ar(Fe);if(at(ce.expression)){const Te=ce.expression,$e=uc(Te,Te.escapedText,111551,void 0,Te.escapedText,!0);if($e){const ut=$e.valueDeclaration&&f1($e.valueDeclaration);if(ut){const zt=Q3(ce);if(zt!==void 0)return Ob(Ar(ut),zt)}return}}return Qn(Z)||Z===l.left?void 0:b1(l.left)}case 1:case 6:case 3:case 2:let I;C!==2&&(I=Zg(l.left)?(m=l.left.symbol)==null?void 0:m.valueDeclaration:void 0),I||(I=(D=l.symbol)==null?void 0:D.valueDeclaration);const U=I&&f1(I);return U?Ar(U):void 0;case 7:case 8:case 9:return H.fail("Does not apply");default:return H.assertNever(C)}}function kEe(l,m=Xl(l)){if(m===4)return!0;if(!Qn(l)||m!==5||!at(l.left.expression))return!1;const D=l.left.expression.escapedText,C=uc(l.left,D,111551,void 0,void 0,!0,!0);return mq(C==null?void 0:C.valueDeclaration)}function oft(l){if(!l.symbol)return b1(l.left);if(l.symbol.valueDeclaration){const A=f1(l.symbol.valueDeclaration);if(A){const w=Ar(A);if(w)return w}}const m=Po(l.left,I0);if(!zp(tf(m.expression,!1,!1)))return;const D=Ute(m.expression),C=Q3(m);return C!==void 0&&Ob(D,C)||void 0}function hui(l){return!!(Gl(l)&262144&&!l.links.type&&xC(l,0)>=0)}function Ob(l,m,D){return hl(l,C=>{var A;if(Xm(C)&&!C.declaration.nameType){const w=cp(C),I=Wh(w)||w,U=D||df(Yr(m));if(ms(U,I))return Ige(C,U)}else if(C.flags&3670016){const w=qo(C,m);if(w)return hui(w)?void 0:B6(Wn(w),!!(w&&w.flags&16777216));if(xs(C)&&i3(m)&&+m>=0){const I=wz(C,C.target.fixedLength,0,!1,!0);if(I)return I}return(A=qNe(ZNe(C),D||df(Yr(m))))==null?void 0:A.type}},!0)}function sft(l,m){if(H.assert(zp(l)),!(l.flags&67108864))return BMe(l,m)}function BMe(l,m){const D=l.parent,C=Jc(l)&&FMe(l,m);if(C)return C;const A=MC(D,m);if(A){if(iT(l)){const w=_u(l);return Ob(A,w.escapedName,Ur(w).nameType)}if(Ix(l)){const w=Za(l);if(w&&Ps(w)){const I=ya(w.expression),U=Y4(I)&&Ob(A,Q4(I));if(U)return U}}if(l.name){const w=j5(l.name);return hl(A,I=>{var U;return(U=qNe(ZNe(I),w))==null?void 0:U.type},!0)}}}function fui(l){let m,D;for(let C=0;C{if(xs(w)){if((C===void 0||mA)?D-m:0,U=I>0&&w.target.hasRestElement?sW(w.target,3):0;return I>0&&I<=U?O0(w)[O5(w)-I]:wz(w,C===void 0?w.target.fixedLength:Math.min(w.target.fixedLength,C),D===void 0||A===void 0?U:Math.min(U,D-A),!1,!0)}return(!C||mH5(Z)?qf(Z,wg(I)):Z,!0))}function gui(l,m){const D=l.parent;return KU(D)?hf(l,m):r3(D)?pui(D,l,m):void 0}function lft(l,m){if(oE(l)){const D=MC(l.parent,m);return!D||nt(D)?void 0:Ob(D,MP(l.name))}else return hf(l.parent,m)}function qte(l){switch(l.kind){case 11:case 9:case 10:case 15:case 228:case 112:case 97:case 106:case 80:case 157:return!0;case 211:case 217:return qte(l.expression);case 294:return!l.expression||qte(l.expression)}return!1}function Eui(l,m){return cni(m,l)||jPe(m,Hi(Vt(ti(l.properties,D=>D.symbol?D.kind===303?qte(D.initializer)&&Tz(m,D.symbol.escapedName):D.kind===304?Tz(m,D.symbol.escapedName):!1:!1),D=>[()=>gie(D.kind===303?D.initializer:D.name),D.symbol.escapedName]),Vt(ti(n0(m),D=>{var C;return!!(D.flags&16777216)&&!!((C=l==null?void 0:l.symbol)!=null&&C.members)&&!l.symbol.members.has(D.escapedName)&&Tz(m,D.escapedName)}),D=>[()=>te,D.escapedName])),ms)}function _ui(l,m){const D=Qte(SF(l));return jPe(m,Hi(Vt(ti(l.properties,C=>!!C.symbol&&C.kind===291&&Tz(m,C.symbol.escapedName)&&(!C.initializer||qte(C.initializer))),C=>[C.initializer?()=>gie(C.initializer):()=>du,C.symbol.escapedName]),Vt(ti(n0(m),C=>{var A;if(!(C.flags&16777216)||!((A=l==null?void 0:l.symbol)!=null&&A.members))return!1;const w=l.parent.parent;return C.escapedName===D&&r3(w)&&uB(w.children).length?!1:!l.symbol.members.has(C.escapedName)&&Tz(m,C.escapedName)}),C=>[()=>te,C.escapedName])),ms)}function MC(l,m){const D=zp(l)?sft(l,m):hf(l,m),C=FEe(D,l,m);if(C&&!(m&&m&2&&C.flags&8650752)){const A=hl(C,w=>Gu(w)&32?w:Gh(w),!0);return A.flags&1048576&&ys(l)?Eui(l,A):A.flags&1048576&&W2(l)?_ui(l,A):A}}function FEe(l,m,D){if(l&&jl(l,465829888)){const C=jb(m);if(C&&D&1&&Oe(C.inferences,Xai))return AEe(l,C.nonFixingMapper);if(C!=null&&C.returnMapper){const A=AEe(l,C.returnMapper);return A.flags&1048576&&C6(A.types,Sn)&&C6(A.types,Ru)?Ic(A,w=>w!==Sn&&w!==Ru):A}}return l}function AEe(l,m){return l.flags&465829888?_a(l,m):l.flags&1048576?er(Vt(l.types,D=>AEe(D,m)),0):l.flags&2097152?Ds(Vt(l.types,D=>AEe(D,m))):l}function hf(l,m){var D;if(l.flags&67108864)return;const C=dft(l,!m);if(C>=0)return Cu[C];const{parent:A}=l;switch(A.kind){case 260:case 169:case 172:case 171:case 208:return nui(l,m);case 219:case 253:return uui(l,m);case 229:return aui(A,m);case 223:return rui(A,m);case 213:case 214:return aft(A,l);case 170:return oui(A);case 216:case 234:return q3(A.type)?hf(A,m):Ar(A.type);case 226:return lui(l,m);case 303:case 304:return BMe(A,m);case 305:return hf(A.parent,m);case 209:{const w=A,I=MC(w,m),U=j8(w.elements,l),Z=(D=ar(w)).spreadIndices??(D.spreadIndices=fui(w.elements));return wMe(I,U,w.elements.length,Z.first,Z.last)}case 227:return mui(l,m);case 239:return H.assert(A.parent.kind===228),sui(A.parent,l);case 217:{if(Qn(A)){if(Ile(A))return Ar(Rle(A));const w=xv(A);if(w&&!q3(w.typeExpression.type))return Ar(w.typeExpression.type)}return hf(A,m)}case 235:return hf(A,m);case 238:return Ar(A.type);case 277:return dt(A);case 294:return gui(A,m);case 291:case 293:return lft(A,m);case 286:case 285:return vui(A,m)}}function cft(l){Zte(l,hf(l,void 0),!0)}function Zte(l,m,D){kr[Eu]=l,Cu[Eu]=m,bu[Eu]=D,Eu++}function bW(){Eu--}function dft(l,m){for(let D=Eu-1;D>=0;D--)if(l===kr[D]&&(m||!bu[D]))return D;return-1}function Dui(l,m){sa[o0]=l,p0[o0]=m,o0++}function xui(){o0--}function jb(l){for(let m=o0-1;m>=0;m--)if(S2(l,sa[m]))return p0[m]}function vui(l,m){if(aE(l)&&m!==4){const D=dft(l.parent,!m);if(D>=0)return Cu[D]}return SMe(l,0)}function SEe(l,m){return $ft(m)!==0?Cui(l,m):kui(l,m)}function Cui(l,m){let D=cze(l,on);D=hft(m,SF(m),D);const C=Vb(Rm.IntrinsicAttributes,m);return Nt(C)||(D=xte(C,D)),D}function bui(l,m){if(l.compositeSignatures){const C=[];for(const A of l.compositeSignatures){const w=Zs(A);if(nt(w))return w;const I=he(w,m);if(!I)return;C.push(I)}return Ds(C)}const D=Zs(l);return nt(D)?D:he(D,m)}function yui(l){if(X9(l.tagName)){const D=vft(l),C=OEe(l,D);return DF(C)}const m=Rc(l.tagName);if(m.flags&128){const D=xft(m,l);if(!D)return Ot;const C=OEe(l,D);return DF(C)}return m}function hft(l,m,D){const C=Gui(m);if(C){const A=yui(l),w=yft(C,Qn(l),A,D);if(w)return w}return D}function kui(l,m){const D=SF(m),C=$ui(D);let A=C===void 0?cze(l,on):C===""?Zs(l):bui(l,C);if(!A)return C&&S(m.attributes.properties)&&pt(m,F.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,Yr(C)),on;if(A=hft(m,D,A),nt(A))return A;{let w=A;const I=Vb(Rm.IntrinsicClassAttributes,m);if(!Nt(I)){const Z=sn(I.symbol),ce=Zs(l);let Fe;if(Z){const Te=x6([ce],Z,b_(Z),Qn(m));Fe=_a(I,Sf(Z,Te))}else Fe=I;w=xte(Fe,w)}const U=Vb(Rm.IntrinsicAttributes,m);return Nt(U)||(w=xte(U,w)),w}}function Fui(l){return Z4(ae,"noImplicitAny")?nn(l,(m,D)=>m===D||!m?m:mdt(m.typeParameters,D.typeParameters)?Bui(m,D):void 0):void 0}function Aui(l,m,D){if(!l||!m)return l||m;const C=er([Wn(l),_a(Wn(m),D)]);return CF(l,C)}function Sui(l,m,D){const C=Cm(l),A=Cm(m),w=C>=A?l:m,I=w===l?m:l,U=w===l?C:A,Z=F_(l)||F_(m),ce=Z&&!F_(w),Fe=new Array(U+(ce?1:0));for(let Te=0;Te=SE(w)&&Te>=SE(I),dn=Te>=C?void 0:Iz(l,Te),nu=Te>=A?void 0:Iz(m,Te),En=dn===nu?dn:dn?nu?void 0:dn:nu,Ii=Hs(1|(Wi&&!gi?16777216:0),En||`arg${Te}`);Ii.links.type=gi?V1(zt):zt,Fe[Te]=Ii}if(ce){const Te=Hs(1,"args");Te.links.type=V1(Lg(I,U)),I===m&&(Te.links.type=_a(Te.links.type,D)),Fe[U]=Te}return Fe}function Bui(l,m){const D=l.typeParameters||m.typeParameters;let C;l.typeParameters&&m.typeParameters&&(C=Sf(m.typeParameters,l.typeParameters));const A=l.declaration,w=Sui(l,m,C),I=Aui(l.thisParameter,m.thisParameter,C),U=Math.max(l.minArgumentCount,m.minArgumentCount),Z=y3(A,D,I,w,void 0,void 0,U,(l.flags|m.flags)&167);return Z.compositeKind=2097152,Z.compositeSignatures=Hi(l.compositeKind===2097152&&l.compositeSignatures||[l],[m]),C&&(Z.mapper=l.compositeKind===2097152&&l.mapper&&l.compositeSignatures?wC(l.mapper,C):C),Z}function TMe(l,m){const D=go(l,0),C=ti(D,A=>!wui(A,m));return C.length===1?C[0]:Fui(C)}function wui(l,m){let D=0;for(;DI[ut]&8?b6($e,Qt)||me:$e),2):fe?wn:we,Z))}function mft(l){if(!(Gu(l)&4))return l;let m=l.literalType;return m||(m=l.literalType=Odt(l),m.objectFlags|=147456),m}function Pui(l){switch(l.kind){case 167:return Mui(l);case 80:return i3(l.escapedText);case 9:case 11:return i3(l.text);default:return!1}}function Mui(l){return u1(F3(l),296)}function F3(l){const m=ar(l.expression);if(!m.resolvedType){if((fm(l.parent.parent)||mr(l.parent.parent)||xh(l.parent.parent))&&Xn(l.expression)&&l.expression.operatorToken.kind===103&&l.parent.kind!==177&&l.parent.kind!==178)return m.resolvedType=Ot;if(m.resolvedType=ya(l.expression),ko(l.parent)&&!Kc(l.parent)&&Xd(l.parent.parent)){const D=YE(l.parent.parent),C=vMe(D);C&&(ar(C).flags|=4096,ar(l).flags|=32768,ar(l.parent.parent).flags|=32768)}(m.resolvedType.flags&98304||!u1(m.resolvedType,402665900)&&!ms(m.resolvedType,Fn))&&pt(l,F.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return m.resolvedType}function zui(l){var m;const D=(m=l.declarations)==null?void 0:m[0];return i3(l.escapedName)||D&&mh(D)&&Pui(D.name)}function pft(l){var m;const D=(m=l.declarations)==null?void 0:m[0];return Ij(l)||D&&mh(D)&&Ps(D.name)&&u1(F3(D.name),4096)}function NMe(l,m,D,C){const A=[];for(let I=m;I0&&(U=Nb(U,Nn(),l.symbol,gi,Fe),I=[],w=Vo(),dn=!1,nu=!1,En=!1);const hu=Sg(ya(vn.expression,m&2));if(Yte(hu)){const oo=FPe(hu,Fe);if(A&&Eft(oo,A,vn),Ii=I.length,Nt(U))continue;U=Nb(U,oo,l.symbol,gi,Fe)}else pt(vn,F.Spread_types_may_only_be_created_from_object_types),U=Ot;continue}else H.assert(vn.kind===177||vn.kind===178),eS(vn);_n&&!(_n.flags&8576)?ms(_n,Fn)&&(ms(_n,Qt)?nu=!0:ms(_n,Xu)?En=!0:dn=!0,C&&(Wi=!0)):w.set(An.escapedName,An),I.push(An)}if(bW(),ce){const vn=Tn(Z.pattern.parent,_n=>_n.kind===260||_n.kind===226||_n.kind===169);if(Tn(l,_n=>_n===vn||_n.kind===305).kind!==305)for(const _n of n0(Z))!w.get(_n.escapedName)&&!qo(U,_n.escapedName)&&(_n.flags&16777216||pt(_n.valueDeclaration||((D=ur(_n,qE))==null?void 0:D.links.bindingElement),F.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),w.set(_n.escapedName,_n),I.push(_n))}if(Nt(U))return Ot;if(U!==Ko)return I.length>0&&(U=Nb(U,Nn(),l.symbol,gi,Fe),I=[],w=Vo(),dn=!1,nu=!1),hl(U,vn=>vn===Ko?Nn():vn);return Nn();function Nn(){const vn=[];dn&&vn.push(NMe(l,Ii,I,ct)),nu&&vn.push(NMe(l,Ii,I,Qt)),En&&vn.push(NMe(l,Ii,I,Xu));const An=Ol(l.symbol,w,_t,_t,vn);return An.objectFlags|=gi|128|131072,zt&&(An.objectFlags|=4096),Wi&&(An.objectFlags|=512),C&&(An.pattern=l),An}}function Yte(l){const m=fht(hl(l,xD));return!!(m.flags&126615553||m.flags&3145728&&ye(m.types,Yte))}function Rui(l){IMe(l)}function Oui(l,m){return eS(l),Xte(l)||me}function jui(l){IMe(l.openingElement),X9(l.closingElement.tagName)?wEe(l.closingElement):ya(l.closingElement.tagName),BEe(l)}function Vui(l,m){return eS(l),Xte(l)||me}function Hui(l){IMe(l.openingFragment);const m=zn(l);return iZ(ae)&&(ae.jsxFactory||m.pragmas.has("jsx"))&&!ae.jsxFragmentFactory&&!m.pragmas.has("jsxfrag")&&pt(l,ae.jsxFactory?F.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:F.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),BEe(l),Xte(l)||me}function MMe(l){return l.includes("-")}function X9(l){return at(l)&&aB(l.escapedText)||gg(l)}function gft(l,m){return l.initializer?Oz(l.initializer,m):du}function Kui(l,m=0){const D=l.attributes,C=hf(D,0),A=fe?Vo():void 0;let w=Vo(),I=Tc,U=!1,Z,ce=!1,Fe=2048;const Te=Qte(SF(l));for(const zt of D.properties){const gi=zt.symbol;if(oE(zt)){const Wi=gft(zt,m);Fe|=Gu(Wi)&458752;const dn=Hs(4|gi.flags,gi.escapedName);if(dn.declarations=gi.declarations,dn.parent=gi.parent,gi.valueDeclaration&&(dn.valueDeclaration=gi.valueDeclaration),dn.links.type=Wi,dn.links.target=gi,w.set(dn.escapedName,dn),A==null||A.set(dn.escapedName,dn),MP(zt.name)===Te&&(ce=!0),C){const nu=qo(C,gi.escapedName);nu&&nu.declarations&&S5(nu)&&at(zt.name)&&m3(zt.name,nu.declarations,zt.name.escapedText)}if(C&&m&2&&!(m&4)&&k4(zt)){const nu=jb(D);H.assert(nu);const En=zt.initializer.expression;eMe(nu,En,Wi)}}else{H.assert(zt.kind===293),w.size>0&&(I=Nb(I,ut(),D.symbol,Fe,!1),w=Vo());const Wi=Sg(ya(zt.expression,m&2));nt(Wi)&&(U=!0),Yte(Wi)?(I=Nb(I,Wi,D.symbol,Fe,!1),A&&Eft(Wi,A,zt)):(pt(zt.expression,F.Spread_types_may_only_be_created_from_object_types),Z=Z?Ds([Z,Wi]):Wi)}}U||w.size>0&&(I=Nb(I,ut(),D.symbol,Fe,!1));const $e=l.parent.kind===284?l.parent:void 0;if($e&&$e.openingElement===l&&uB($e.children).length>0){const zt=BEe($e,m);if(!U&&Te&&Te!==""){ce&&pt(D,F._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,Yr(Te));const gi=MC(l.attributes,void 0),Wi=gi&&Ob(gi,Te),dn=Hs(4,Te);dn.links.type=zt.length===1?zt[0]:Wi&&yE(Wi,Bz)?Bg(zt):V1(er(zt)),dn.valueDeclaration=q.createPropertySignature(void 0,Yr(Te),void 0,void 0),ks(dn.valueDeclaration,D),dn.valueDeclaration.symbol=dn;const nu=Vo();nu.set(Te,dn),I=Nb(I,Ol(D.symbol,nu,_t,_t,_t),D.symbol,Fe,!1)}}if(U)return me;if(Z&&I!==Tc)return Ds([Z,I]);return Z||(I===Tc?ut():I);function ut(){Fe|=Ye;const zt=Ol(D.symbol,w,_t,_t,_t);return zt.objectFlags|=Fe|128|131072,zt}}function BEe(l,m){const D=[];for(const C of l.children)if(C.kind===12)C.containsOnlyTriviaWhiteSpaces||D.push(ct);else{if(C.kind===294&&!C.expression)continue;D.push(Oz(C,m))}return D}function Eft(l,m,D){for(const C of n0(l))if(!(C.flags&16777216)){const A=m.get(C.escapedName);if(A){const w=pt(A.valueDeclaration,F._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,Yr(A.escapedName));Es(w,Su(D,F.This_spread_always_overwrites_this_property))}}}function Wui(l,m){return Kui(l.parent,m)}function Vb(l,m){const D=SF(m),C=D&&$f(D),A=C&&kf(C,l,788968);return A?X0(A):Ot}function wEe(l){const m=ar(l);if(!m.resolvedSymbol){const D=Vb(Rm.IntrinsicElements,l);if(Nt(D))return Ae&&pt(l,F.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,Yr(Rm.IntrinsicElements)),m.resolvedSymbol=Xt;{if(!at(l.tagName)&&!gg(l.tagName))return H.fail();const C=gg(l.tagName)?k7(l.tagName):l.tagName.escapedText,A=qo(D,C);if(A)return m.jsxFlags|=1,m.resolvedSymbol=A;const w=K4t(D,df(Yr(C)));return w?(m.jsxFlags|=2,m.resolvedSymbol=w):Re(D,C)?(m.jsxFlags|=2,m.resolvedSymbol=D.symbol):(pt(l,F.Property_0_does_not_exist_on_type_1,Ole(l.tagName),"JSX."+Rm.IntrinsicElements),m.resolvedSymbol=Xt)}}return m.resolvedSymbol}function zMe(l){const m=l&&zn(l),D=m&&ar(m);if(D&&D.jsxImplicitImportContainer===!1)return;if(D&&D.jsxImplicitImportContainer)return D.jsxImplicitImportContainer;const C=uZ(nZ(ae,m),ae);if(!C)return;const w=p1(ae)===1?F.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:F.Cannot_find_module_0_or_its_corresponding_type_declarations,I=mD(l,C,w,l),U=I&&I!==Xt?Ks(yc(I)):void 0;return D&&(D.jsxImplicitImportContainer=U||!1),U}function SF(l){const m=l&&ar(l);if(m&&m.jsxNamespace)return m.jsxNamespace;if(!m||m.jsxNamespace!==!1){let C=zMe(l);if(!C||C===Xt){const A=uC(l);C=uc(l,A,1920,void 0,A,!1)}if(C){const A=yc(kf($f(yc(C)),Rm.JSX,1920));if(A&&A!==Xt)return m&&(m.jsxNamespace=A),A}m&&(m.jsxNamespace=!1)}const D=yc(Cz(Rm.JSX,1920,void 0));if(D!==Xt)return D}function _ft(l,m){const D=m&&kf(m.exports,l,788968),C=D&&X0(D),A=C&&n0(C);if(A){if(A.length===0)return"";if(A.length===1)return A[0].escapedName;A.length>1&&D.declarations&&pt(D.declarations[0],F.The_global_type_JSX_0_may_not_have_more_than_one_property,Yr(l))}}function Gui(l){return l&&kf(l.exports,Rm.LibraryManagedAttributes,788968)}function Jui(l){return l&&kf(l.exports,Rm.ElementType,788968)}function $ui(l){return _ft(Rm.ElementAttributesPropertyNameContainer,l)}function Qte(l){return _ft(Rm.ElementChildrenAttributeNameContainer,l)}function Dft(l,m){if(l.flags&4)return[mi];if(l.flags&128){const A=xft(l,m);return A?[OEe(m,A)]:(pt(m,F.Property_0_does_not_exist_on_type_1,l.value,"JSX."+Rm.IntrinsicElements),_t)}const D=Gh(l);let C=go(D,1);return C.length===0&&(C=go(D,0)),C.length===0&&D.flags&1048576&&(C=zNe(Vt(D.types,A=>Dft(A,m)))),C}function xft(l,m){const D=Vb(Rm.IntrinsicElements,m);if(!Nt(D)){const C=l.value,A=qo(D,Al(C));if(A)return Wn(A);const w=yC(D,ct);return w||void 0}return me}function Uui(l,m,D){if(l===1){const A=bft(D);A&&F4(m,A,Jf,D.tagName,F.Its_return_type_0_is_not_a_valid_JSX_element,C)}else if(l===0){const A=Cft(D);A&&F4(m,A,Jf,D.tagName,F.Its_instance_type_0_is_not_a_valid_JSX_element,C)}else{const A=bft(D),w=Cft(D);if(!A||!w)return;const I=er([A,w]);F4(m,I,Jf,D.tagName,F.Its_element_type_0_is_not_a_valid_JSX_element,C)}function C(){const A=Hc(D.tagName);return ro(void 0,F._0_cannot_be_used_as_a_JSX_component,A)}}function vft(l){var m;H.assert(X9(l.tagName));const D=ar(l);if(!D.resolvedJsxElementAttributesType){const C=wEe(l);if(D.jsxFlags&1)return D.resolvedJsxElementAttributesType=Wn(C)||Ot;if(D.jsxFlags&2){const A=gg(l.tagName)?k7(l.tagName):l.tagName.escapedText;return D.resolvedJsxElementAttributesType=((m=G9(Vb(Rm.IntrinsicElements,l),A))==null?void 0:m.type)||Ot}else return D.resolvedJsxElementAttributesType=Ot}return D.resolvedJsxElementAttributesType}function Cft(l){const m=Vb(Rm.ElementClass,l);if(!Nt(m))return m}function Xte(l){return Vb(Rm.Element,l)}function bft(l){const m=Xte(l);if(m)return er([m,it])}function qui(l){const m=SF(l);if(!m)return;const D=Jui(m);if(!D)return;const C=yft(D,Qn(l));if(!(!C||Nt(C)))return C}function yft(l,m,...D){const C=X0(l);if(l.flags&524288){const A=Ur(l).typeParameters;if(S(A)>=D.length){const w=x6(D,A,D.length,m);return S(w)===0?C:aT(l,w)}}if(S(C.typeParameters)>=D.length){const A=x6(D,C.typeParameters,D.length,m);return R5(C,A)}}function Zui(l){const m=Vb(Rm.IntrinsicElements,l);return m?n0(m):_t}function Yui(l){(ae.jsx||0)===0&&pt(l,F.Cannot_use_JSX_unless_the_jsx_flag_is_provided),Xte(l)===void 0&&Ae&&pt(l,F.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function IMe(l){const m=zh(l);if(m&&Hli(l),Yui(l),!zMe(l)){const D=Vs&&ae.jsx===2?F.Cannot_find_name_0:void 0,C=uC(l),A=m?l.tagName:l;let w;if(V7(l)&&C==="null"||(w=uc(A,C,111551,D,C,!0)),w&&(w.isReferenced=67108863,Ut&&w.flags&2097152&&!_4(w)&&T5(w)),V7(l)){const I=zn(l),U=Qk(I);U&&uc(A,U,111551,D,U,!0)}}if(m){const D=l,C=mT(D);VEe(C,l);const A=qui(D);if(A!==void 0){const w=D.tagName,I=X9(w)?df(Ole(w)):ya(w);F4(I,A,Jf,w,F.Its_type_0_is_not_a_valid_JSX_element_type,()=>{const U=Hc(w);return ro(void 0,F._0_cannot_be_used_as_a_JSX_component,U)})}else Uui($ft(D),Zs(C),D)}}function RMe(l,m,D){if(l.flags&524288){if(bC(l,m)||G9(l,m)||XK(m)&&k3(l,ct)||D&&MMe(m))return!0}else if(l.flags&3145728&&eie(l)){for(const C of l.types)if(RMe(C,m,D))return!0}return!1}function eie(l){return!!(l.flags&524288&&!(Gu(l)&512)||l.flags&67108864||l.flags&1048576&&Oe(l.types,eie)||l.flags&2097152&&ye(l.types,eie))}function Qui(l,m){if(Wli(l),l.expression){const D=ya(l.expression,m);return l.dotDotDotToken&&D!==me&&!A4(D)&&pt(l,F.JSX_spread_child_must_be_an_array_type),D}else return Ot}function OMe(l){return l.valueDeclaration?Gb(l.valueDeclaration):0}function jMe(l){if(l.flags&8192||Gl(l)&4)return!0;if(Qn(l.valueDeclaration)){const m=l.valueDeclaration.parent;return m&&Xn(m)&&Xl(m)===3}}function VMe(l,m,D,C,A,w=!0){const I=w?l.kind===166?l.right:l.kind===205?l:l.kind===208&&l.propertyName?l.propertyName:l.name:void 0;return kft(l,m,D,C,A,I)}function kft(l,m,D,C,A,w){var I;const U=l4(A,D);if(m){if(Ce<2&&Fft(A))return w&&pt(w,F.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(U&64)return w&&pt(w,F.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Fr(A),gn(Q9(A))),!1;if(!(U&256)&&((I=A.declarations)!=null&&I.some(ibe)))return w&&pt(w,F.Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super,Fr(A)),!1}if(U&64&&Fft(A)&&(mj(l)||tye(l)||Rp(l.parent)&&mq(l.parent.parent))){const ce=tD(cf(A));if(ce&&V0i(l))return w&&pt(w,F.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Fr(A),J4(ce.name)),!1}if(!(U&6))return!0;if(U&2){const ce=tD(cf(A));return Wze(l,ce)?!0:(w&&pt(w,F.Property_0_is_private_and_only_accessible_within_class_1,Fr(A),gn(Q9(A))),!1)}if(m)return!0;let Z=V4t(l,ce=>{const Fe=X0(_u(ce));return nht(Fe,A,D)});return!Z&&(Z=Xui(l),Z=Z&&nht(Z,A,D),U&256||!Z)?(w&&pt(w,F.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Fr(A),gn(Q9(A)||C)),!1):U&256?!0:(C.flags&262144&&(C=C.isThisType?rh(C):Wh(C)),!C||!H9(C,Z)?(w&&pt(w,F.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,Fr(A),gn(Z),gn(C)),!1):!0)}function Xui(l){const m=eri(l);let D=(m==null?void 0:m.type)&&Ar(m.type);if(D&&D.flags&262144&&(D=rh(D)),D&&Gu(D)&7)return eT(D)}function eri(l){const m=tf(l,!1,!1);return m&&Co(m)?T2(m):void 0}function Fft(l){return!!Ite(l,m=>!(m.flags&8192))}function hT(l){return kE(ya(l),l)}function tie(l){return fp(l,50331648)}function HMe(l){return tie(l)?FD(l):l}function tri(l,m){const D=ec(l)?zf(l):void 0;if(l.kind===106){pt(l,F.The_value_0_cannot_be_used_here,"null");return}if(D!==void 0&&D.length<100){if(at(l)&&D==="undefined"){pt(l,F.The_value_0_cannot_be_used_here,"undefined");return}pt(l,m&16777216?m&33554432?F._0_is_possibly_null_or_undefined:F._0_is_possibly_undefined:F._0_is_possibly_null,D)}else pt(l,m&16777216?m&33554432?F.Object_is_possibly_null_or_undefined:F.Object_is_possibly_undefined:F.Object_is_possibly_null)}function iri(l,m){pt(l,m&16777216?m&33554432?F.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:F.Cannot_invoke_an_object_which_is_possibly_undefined:F.Cannot_invoke_an_object_which_is_possibly_null)}function Aft(l,m,D){if(fe&&l.flags&2){if(ec(m)){const A=zf(m);if(A.length<100)return pt(m,F._0_is_of_type_unknown,A),Ot}return pt(m,F.Object_is_of_type_unknown),Ot}const C=Lz(l,50331648);if(C&50331648){D(m,C);const A=FD(l);return A.flags&229376?Ot:A}return l}function kE(l,m){return Aft(l,m,tri)}function Sft(l,m){const D=kE(l,m);if(D.flags&16384){if(ec(m)){const C=zf(m);if(at(m)&&C==="undefined")return pt(m,F.The_value_0_cannot_be_used_here,C),D;if(C.length<100)return pt(m,F._0_is_possibly_undefined,C),D}pt(m,F.Object_is_possibly_undefined)}return D}function TEe(l,m,D){return l.flags&64?nri(l,m):WMe(l,l.expression,hT(l.expression),l.name,m,D)}function nri(l,m){const D=ya(l.expression),C=gW(D,l.expression);return sEe(WMe(l,l.expression,kE(C,l.expression),l.name,m),l,C!==D)}function Bft(l,m){const D=_q(l)&&N2(l.left)?kE(Ute(l.left),l.left):hT(l.left);return WMe(l,l.left,D,l.right,m)}function wft(l){for(;l.parent.kind===217;)l=l.parent;return $E(l.parent)&&l.parent.expression===l}function LEe(l,m){for(let D=hq(m);D;D=Yd(D)){const{symbol:C}=D,A=zj(C,l),w=C.members&&C.members.get(A)||C.exports&&C.exports.get(A);if(w)return w}}function uri(l){if(!Yd(l))return Zi(l,F.Private_identifiers_are_not_allowed_outside_class_bodies);if(!hY(l.parent)){if(!Z_(l))return Zi(l,F.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);const m=Xn(l.parent)&&l.parent.operatorToken.kind===103;if(!NEe(l)&&!m)return Zi(l,F.Cannot_find_name_0,fu(l))}return!1}function rri(l){uri(l);const m=NEe(l);return m&&nie(m,void 0,!1),me}function NEe(l){if(!Z_(l))return;const m=ar(l);return m.resolvedSymbol===void 0&&(m.resolvedSymbol=LEe(l.escapedText,l)),m.resolvedSymbol}function KMe(l,m){return qo(l,m.escapedName)}function ari(l,m,D){let C;const A=n0(l);A&&L(A,I=>{const U=I.valueDeclaration;if(U&&mh(U)&&Xr(U.name)&&U.name.escapedText===m.escapedText)return C=I,!0});const w=$p(m);if(C){const I=H.checkDefined(C.valueDeclaration),U=H.checkDefined(Yd(I));if(D!=null&&D.valueDeclaration){const Z=D.valueDeclaration,ce=Yd(Z);if(H.assert(!!ce),Tn(ce,Fe=>U===Fe)){const Fe=pt(m,F.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,w,gn(l));return Es(Fe,Su(Z,F.The_shadowing_declaration_of_0_is_defined_here,w),Su(I,F.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,w)),!0}}return pt(m,F.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,w,$p(U.name||YY)),!0}return!1}function Tft(l,m){return(fz(m)||mj(l)&&Zw(m))&&tf(l,!0,!1)===Yw(m)}function WMe(l,m,D,C,A,w){const I=ar(m).resolvedSymbol,U=f7(l),Z=Gh(U!==0||wft(l)?vm(D):D),ce=nt(Z)||Z===ja;let Fe;if(Xr(C)){Ce<99&&(U!==0&&rd(l,1048576),U!==1&&rd(l,524288));const $e=LEe(C.escapedText,C);if(U&&$e&&$e.valueDeclaration&&dc($e.valueDeclaration)&&Zi(C,F.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,fu(C)),ce){if($e)return Nt(Z)?Ot:Z;if(hq(C)===void 0)return Zi(C,F.Private_identifiers_are_not_allowed_outside_class_bodies),me}if(Fe=$e&&KMe(D,$e),Fe===void 0){if(ari(D,C,$e))return Ot;const ut=hq(C);ut&&nj(zn(ut),ae.checkJs)&&Zi(C,F.Private_field_0_must_be_declared_in_an_enclosing_class,fu(C))}else Fe.flags&65536&&!(Fe.flags&32768)&&U!==1&&pt(l,F.Private_accessor_was_defined_without_a_getter)}else{if(ce)return at(m)&&I&&bEe(I,l),Nt(Z)?Ot:Z;Fe=qo(Z,C.escapedText,WEe(Z),l.kind===166)}at(m)&&I&&(mg(ae)||!(Fe&&(OW(Fe)||Fe.flags&8&&l.parent.kind===306))||fk(ae)&&Zht(l))&&bEe(I,l);let Te;if(Fe){const $e=Vze(Fe,C);if(S5($e)&&vPe(l,$e)&&$e.declarations&&m3(C,$e.declarations,C.escapedText),ori(Fe,l,C),nie(Fe,l,Rft(m,I)),ar(l).resolvedSymbol=Fe,VMe(l,m.kind===108,D7(l),Z,Fe),kmt(l,Fe,U))return pt(C,F.Cannot_assign_to_0_because_it_is_a_read_only_property,fu(C)),Ot;Te=Tft(l,Fe)?ni:w||Jq(l)?mF(Fe):Wn(Fe)}else{const $e=!Xr(C)&&(U===0||!Lb(D)||NP(D))?G9(Z,C.escapedText):void 0;if(!($e&&$e.type)){const ut=GMe(l,D.symbol,!0);return!ut&&lW(D)?me:D.symbol===St?(St.exports.has(C.escapedText)&&St.exports.get(C.escapedText).flags&418?pt(C,F.Property_0_does_not_exist_on_type_1,Yr(C.escapedText),gn(D)):Ae&&pt(C,F.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,gn(D)),me):(C.escapedText&&!Ow(l)&&Pft(C,NP(D)?Z:D,ut),Ot)}$e.isReadonly&&(Q_(l)||V0e(l))&&pt(l,F.Index_signature_in_type_0_only_permits_reading,gn(Z)),Te=ae.noUncheckedIndexedAccess&&!Q_(l)?er([$e.type,de]):$e.type,ae.noPropertyAccessFromIndexSignature&&Iu(l)&&pt(C,F.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,Yr(C.escapedText)),$e.declaration&&aC($e.declaration)&&m3(C,[$e.declaration],C.escapedText)}return Lft(l,Fe,Te,C,A)}function GMe(l,m,D){var C;const A=zn(l);if(A&&ae.checkJs===void 0&&A.checkJsDirective===void 0&&(A.scriptKind===1||A.scriptKind===2)){const w=L(m==null?void 0:m.declarations,zn),I=!(m!=null&&m.valueDeclaration)||!mr(m.valueDeclaration)||((C=m.valueDeclaration.heritageClauses)==null?void 0:C.length)||t5(!1,m.valueDeclaration);return!(A!==w&&w&&pE(w))&&!(D&&m&&m.flags&32&&I)&&!(l&&D&&Iu(l)&&l.expression.kind===110&&I)}return!1}function Lft(l,m,D,C,A){const w=f7(l);if(w===1)return B6(D,!!(m&&m.flags&16777216));if(m&&!(m.flags&98311)&&!(m.flags&8192&&D.flags&1048576)&&!u_e(m.declarations))return D;if(D===ni)return Ym(l,m);D=xMe(D,l,A);let I=!1;if(fe&&Ge&&I0(l)&&l.expression.kind===110){const Z=m&&m.valueDeclaration;if(Z&&S4t(Z)&&!No(Z)){const ce=CW(l);ce.kind===176&&ce.parent===Z.parent&&!(Z.flags&33554432)&&(I=!0)}}else fe&&m&&m.valueDeclaration&&Iu(m.valueDeclaration)&&yj(m.valueDeclaration)&&CW(l)===CW(m.valueDeclaration)&&(I=!0);const U=w6(l,D,I?S6(D):D);return I&&!Fz(D)&&Fz(U)?(pt(C,F.Property_0_is_used_before_being_assigned,Fr(m)),D):w?kD(U):U}function ori(l,m,D){const{valueDeclaration:C}=l;if(!C||zn(m).isDeclarationFile)return;let A;const w=fu(D);Nft(m)&&!QXt(C)&&!(I0(m)&&I0(m.expression))&&!B5(C,D)&&!(dc(C)&&f_e(C)&256)&&(Se||!sri(l))?A=pt(D,F.Property_0_is_used_before_its_initialization,w):C.kind===263&&m.parent.kind!==183&&!(C.flags&33554432)&&!B5(C,D)&&(A=pt(D,F.Class_0_used_before_its_declaration,w)),A&&Es(A,Su(C,F._0_is_declared_here,w))}function Nft(l){return!!Tn(l,m=>{switch(m.kind){case 172:return!0;case 303:case 174:case 177:case 178:case 305:case 167:case 239:case 294:case 291:case 292:case 293:case 286:case 233:case 298:return!1;case 219:case 244:return po(m.parent)&&zl(m.parent.parent)?!0:"quit";default:return Z_(m)?!1:"quit"}})}function sri(l){if(!(l.parent.flags&32))return!1;let m=Wn(l.parent);for(;;){if(m=m.symbol&&lri(m),!m)return!1;const D=qo(m,l.escapedName);if(D&&D.valueDeclaration)return!0}}function lri(l){const m=Zc(l);if(m.length!==0)return Ds(m)}function Pft(l,m,D){let C,A;if(!Xr(l)&&m.flags&1048576&&!(m.flags&402784252)){for(const I of m.types)if(!qo(I,l.escapedText)&&!G9(I,l.escapedText)){C=ro(C,F.Property_0_does_not_exist_on_type_1,b0(l),gn(I));break}}if(Mft(l.escapedText,m)){const I=b0(l),U=gn(m);C=ro(C,F.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,I,U,U+"."+I)}else{const I=NW(m);if(I&&qo(I,l.escapedText))C=ro(C,F.Property_0_does_not_exist_on_type_1,b0(l),gn(m)),A=Su(l,F.Did_you_forget_to_use_await);else{const U=b0(l),Z=gn(m),ce=hri(U,m);if(ce!==void 0)C=ro(C,F.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,U,Z,ce);else{const Fe=JMe(l,m);if(Fe!==void 0){const Te=lc(Fe),$e=D?F.Property_0_may_not_exist_on_type_1_Did_you_mean_2:F.Property_0_does_not_exist_on_type_1_Did_you_mean_2;C=ro(C,$e,U,Z,Te),A=Fe.valueDeclaration&&Su(Fe.valueDeclaration,F._0_is_declared_here,Te)}else{const Te=cri(m)?F.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:F.Property_0_does_not_exist_on_type_1;C=ro($Ne(C,m),Te,U,Z)}}}}const w=Y3(zn(l),l,C);A&&Es(w,A),i1(!D||C.code!==F.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,w)}function cri(l){return ae.lib&&!ae.lib.includes("dom")&&kni(l,m=>m.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(Yr(m.symbol.escapedName)))&&bD(l)}function Mft(l,m){const D=m.symbol&&qo(Wn(m.symbol),l);return D!==void 0&&!!D.valueDeclaration&&No(D.valueDeclaration)}function dri(l){const m=$p(l),C=xZ().get(m);return C&&Oa(C.keys())}function hri(l,m){const D=Gh(m).symbol;if(!D)return;const C=lc(D),w=xZ().get(C);if(w){for(const[I,U]of w)if(kt(U,l))return I}}function zft(l,m){return iie(l,n0(m),106500)}function JMe(l,m){let D=n0(m);if(typeof l!="string"){const C=l.parent;Iu(C)&&(D=ti(D,A=>Oft(C,m,A))),l=fu(l)}return iie(l,D,111551)}function Ift(l,m){const D=Ja(l)?l:fu(l),C=n0(m);return(D==="for"?Le(C,w=>lc(w)==="htmlFor"):D==="class"?Le(C,w=>lc(w)==="className"):void 0)??iie(D,C,111551)}function $Me(l,m){const D=JMe(l,m);return D&&lc(D)}function UMe(l,m,D){return H.assert(m!==void 0,"outername should always be defined"),yh(l,m,D,void 0,m,!1,!1,!0,(A,w,I)=>{H.assertEqual(m,w,"name should equal outerName");const U=kf(A,w,I);if(U)return U;let Z;return A===Ie?Z=qi(["string","number","boolean","object","bigint","symbol"],Fe=>A.has(Fe.charAt(0).toUpperCase()+Fe.slice(1))?Hs(524288,Fe):void 0).concat(ga(A.values())):Z=ga(A.values()),iie(Yr(w),Z,I)})}function fri(l,m,D){const C=UMe(l,m,D);return C&&lc(C)}function PEe(l,m){return m.exports&&iie(fu(l),L5(m),2623475)}function mri(l,m){const D=PEe(l,m);return D&&lc(D)}function pri(l,m,D){function C(I){const U=bC(l,I);if(U){const Z=wF(Wn(U));return!!Z&&SE(Z)>=1&&ms(D,Lg(Z,0))}return!1}const A=Q_(m)?"set":"get";if(!C(A))return;let w=Uj(m.expression);return w===void 0?w=A:w+="."+A,w}function gri(l,m){const D=m.types.filter(C=>!!(C.flags&128));return bN(l.value,D,C=>C.value)}function iie(l,m,D){return bN(l,m,C);function C(A){const w=lc(A);if(!Pa(w,'"')){if(A.flags&D)return w;if(A.flags&2097152){const I=T9(A);if(I&&I.flags&D)return w}}}}function nie(l,m,D){const C=l&&l.flags&106500&&l.valueDeclaration;if(!C)return;const A=Rf(C,2),w=l.valueDeclaration&&mh(l.valueDeclaration)&&Xr(l.valueDeclaration.name);if(!(!A&&!w)&&!(m&&Jq(m)&&!(l.flags&65536))){if(D){const I=Tn(m,$0);if(I&&I.symbol===l)return}(Gl(l)&1?Ur(l).target:l).isReferenced=67108863}}function Rft(l,m){return l.kind===110||!!m&&ec(l)&&m===Zp(hm(l))}function Eri(l,m){switch(l.kind){case 211:return qMe(l,l.expression.kind===108,m,vm(ya(l.expression)));case 166:return qMe(l,!1,m,vm(ya(l.left)));case 205:return qMe(l,!1,m,Ar(l))}}function Oft(l,m,D){return ZMe(l,l.kind===211&&l.expression.kind===108,!1,m,D)}function qMe(l,m,D,C){if(nt(C))return!0;const A=qo(C,D);return!!A&&ZMe(l,m,!1,C,A)}function ZMe(l,m,D,C,A){if(nt(C))return!0;if(A.valueDeclaration&&ph(A.valueDeclaration)){const w=Yd(A.valueDeclaration);return!Y1(l)&&!!Tn(l,I=>I===w)}return kft(l,m,D,C,A)}function _ri(l){const m=l.initializer;if(m.kind===261){const D=m.declarations[0];if(D&&!So(D.name))return _u(D)}else if(m.kind===80)return Zp(m)}function Dri(l){return kh(l).length===1&&!!k3(l,Qt)}function xri(l){const m=l0(l);if(m.kind===80){const D=Zp(m);if(D.flags&3){let C=l,A=l.parent;for(;A;){if(A.kind===249&&C===A.statement&&_ri(A)===D&&Dri(b1(A.expression)))return!0;C=A,A=A.parent}}}return!1}function vri(l,m){return l.flags&64?Cri(l,m):jft(l,hT(l.expression),m)}function Cri(l,m){const D=ya(l.expression),C=gW(D,l.expression);return sEe(jft(l,kE(C,l.expression),m),l,C!==D)}function jft(l,m,D){const C=f7(l)!==0||wft(l)?vm(m):m,A=l.argumentExpression,w=ya(A);if(Nt(C)||C===ja)return C;if(WEe(C)&&!t0(A))return pt(A,F.A_const_enum_member_can_only_be_accessed_using_a_string_literal),Ot;const I=xri(A)?Qt:w,U=Q_(l)?4|(Lb(C)&&!NP(C)?2:0):32,Z=b6(C,I,U,l)||Ot;return Jmt(Lft(l,ar(l).resolvedSymbol,Z,A,D),l)}function Vft(l){return $E(l)||Dk(l)||zh(l)}function BF(l){return Vft(l)&&L(l.typeArguments,ls),l.kind===215?ya(l.template):zh(l)?ya(l.attributes):Xn(l)?ya(l.left):$E(l)&&L(l.arguments,m=>{ya(m)}),mi}function FE(l){return BF(l),fn}function bri(l,m,D){let C,A,w=0,I,U=-1,Z;H.assert(!m.length);for(const ce of l){const Fe=ce.declaration&&_u(ce.declaration),Te=ce.declaration&&ce.declaration.parent;!A||Fe===A?C&&Te===C?I=I+1:(C=Te,I=w):(I=w=m.length,C=Te),A=Fe,Ode(ce)?(U++,Z=U,w++):Z=I,m.splice(Z,0,D?vXt(ce,D):ce)}}function MEe(l){return!!l&&(l.kind===230||l.kind===237&&l.isSpread)}function zEe(l){return Ue(l,MEe)}function Hft(l){return!!(l.flags&16384)}function yri(l){return!!(l.flags&49155)}function IEe(l,m,D,C=!1){let A,w=!1,I=Cm(D),U=SE(D);if(l.kind===215)if(A=m.length,l.template.kind===228){const Z=Cr(l.template.templateSpans);w=Ql(Z.literal)||!!Z.literal.isUnterminated}else{const Z=l.template;H.assert(Z.kind===15),w=!!Z.isUnterminated}else if(l.kind===170)A=qft(l,D);else if(l.kind===226)A=1;else if(zh(l)){if(w=l.attributes.end===l.end,w)return!0;A=U===0?m.length:1,I=m.length===0?I:1,U=Math.min(U,1)}else if(l.arguments){A=C?m.length+1:m.length,w=l.arguments.end===l.end;const Z=zEe(m);if(Z>=0)return Z>=SE(D)&&(F_(D)||ZI)return!1;if(w||A>=U)return!0;for(let Z=A;Z=C&&m.length<=D}function wF(l){return kW(l,0,!1)}function Kft(l){return kW(l,0,!1)||kW(l,1,!1)}function kW(l,m,D){if(l.flags&524288){const C=Ag(l);if(D||C.properties.length===0&&C.indexInfos.length===0){if(m===0&&C.callSignatures.length===1&&C.constructSignatures.length===0)return C.callSignatures[0];if(m===1&&C.constructSignatures.length===1&&C.callSignatures.length===0)return C.constructSignatures[0]}}}function Wft(l,m,D,C){const A=DW(l.typeParameters,l,0,C),w=AW(m),I=D&&(w&&w.flags&262144?D.nonFixingMapper:D.mapper),U=I?lT(m,I):m;return YPe(U,l,(Z,ce)=>{AD(A.inferences,Z,ce)}),D||QPe(m,l,(Z,ce)=>{AD(A.inferences,Z,ce,128)}),rW(l,dMe(A),Qn(m.declaration))}function kri(l,m,D,C){const A=SEe(m,l),w=pT(l.attributes,A,C,D);return AD(C.inferences,w,A),dMe(C)}function Gft(l){if(!l)return ca;const m=ya(l);return zye(l)?m:IN(l.parent)?FD(m):Y1(l.parent)?oEe(m):m}function QMe(l,m,D,C,A){if(zh(l))return kri(l,m,C,A);if(l.kind!==170&&l.kind!==226){const Z=ye(m.typeParameters,Fe=>!!_F(Fe)),ce=hf(l,Z?8:0);if(ce){const Fe=Zs(m);if(NC(Fe)){const Te=jb(l);if(!(!Z&&hf(l,8)!==ce)){const gi=iMe(Vii(Te,1)),Wi=_a(ce,gi),dn=wF(Wi),nu=dn&&dn.typeParameters?DF(ePe(dn,dn.typeParameters)):Wi;AD(A.inferences,nu,Fe,128)}const ut=DW(m.typeParameters,m,A.flags),zt=_a(ce,Te&&Te.returnMapper);AD(ut.inferences,zt,Fe),A.returnMapper=Oe(ut.inferences,gT)?iMe(Gii(ut)):void 0}}}const w=SW(m),I=w?Math.min(Cm(m)-1,D.length):D.length;if(w&&w.flags&262144){const Z=Le(A.inferences,ce=>ce.typeParameter===w);Z&&(Z.impliedArity=Ue(D,MEe,I)<0?D.length-I:void 0)}const U=kC(m);if(U&&NC(U)){const Z=Uft(l);AD(A.inferences,Gft(Z),U)}for(let Z=0;Z=D-1){const Fe=l[D-1];if(MEe(Fe)){const Te=Fe.kind===237?Fe.type:pT(Fe.expression,C,A,w);return H5(Te)?Jft(Te):V1(G5(33,Te,te,Fe.kind===230?Fe.expression:Fe),I)}}const U=[],Z=[],ce=[];for(let Fe=m;Fero(void 0,F.Type_0_does_not_satisfy_the_constraint_1):void 0,Te=C||F.Type_0_does_not_satisfy_the_constraint_1;U||(U=Sf(w,I));const $e=I[Z];if(!Ah($e,xm(_a(ce,U),$e),D?m[Z]:void 0,Te,Fe))return}}return I}function $ft(l){if(X9(l.tagName))return 2;const m=Gh(ya(l.tagName));return S(go(m,1))?0:S(go(m,0))?1:2}function Fri(l,m,D,C,A,w,I){const U=SEe(m,l),Z=pT(l.attributes,U,void 0,C),ce=C&4?_W(Z):Z;return Fe()&&MPe(ce,U,D,A?l.tagName:void 0,l.attributes,void 0,w,I);function Fe(){var Te;if(zMe(l))return!0;const $e=(aE(l)||bk(l))&&!(X9(l.tagName)||gg(l.tagName))?ya(l.tagName):void 0;if(!$e)return!0;const ut=go($e,0);if(!S(ut))return!0;const zt=X4t(l);if(!zt)return!0;const gi=R0(zt,111551,!0,!1,l);if(!gi)return!0;const Wi=Wn(gi),dn=go(Wi,0);if(!S(dn))return!0;let nu=!1,En=0;for(const Nn of dn){const vn=Lg(Nn,0),An=go(vn,0);if(S(An))for(const _n of An){if(nu=!0,F_(_n))return!0;const hu=Cm(_n);hu>En&&(En=hu)}}if(!nu)return!0;let Ii=1/0;for(const Nn of ut){const vn=SE(Nn);vn{A.push(w.expression)}),A}if(l.kind===170)return Ari(l);if(l.kind===226)return[l.left];if(zh(l))return l.attributes.properties.length>0||aE(l)&&l.parent.children.length>0?[l.attributes]:_t;const m=l.arguments||_t,D=zEe(m);if(D>=0){const C=m.slice(0,D);for(let A=D;A{var ce;const Fe=I.target.elementFlags[Z],Te=rie(w,Fe&4?V1(U):U,!!(Fe&12),(ce=I.target.labeledElementDeclarations)==null?void 0:ce[Z]);C.push(Te)}):C.push(w)}return C}return m}function Ari(l){const m=l.expression,D=hze(l);if(D){const C=[];for(const A of D.parameters){const w=Wn(A);C.push(rie(m,w))}return C}return H.fail()}function qft(l,m){return ae.experimentalDecorators?Sri(l,m):2}function Sri(l,m){switch(l.parent.kind){case 263:case 231:return 1;case 172:return eE(l.parent)?3:2;case 174:case 177:case 178:return Ce===0||m.parameters.length<=2?2:3;case 169:return 3;default:return H.fail()}}function Zft(l,m){let D,C;const A=zn(l);if(Iu(l.expression)){const w=C2(A,l.expression.name);D=w.start,C=m?w.length:l.end-D}else{const w=C2(A,l.expression);D=w.start,C=m?w.length:l.end-D}return{start:D,length:C,sourceFile:A}}function aie(l,m,...D){if(Mo(l)){const{sourceFile:C,start:A,length:w}=Zft(l);return"message"in m?Rd(C,A,w,m,...D):b0e(C,m)}else return"message"in m?Su(l,m,...D):Y3(zn(l),l,m)}function Bri(l){if(!Mo(l)||!at(l.expression))return!1;const m=uc(l.expression,l.expression.escapedText,111551,void 0,void 0,!1),D=m==null?void 0:m.valueDeclaration;if(!D||!io(D)||!R2(D.parent)||!j2(D.parent.parent)||!at(D.parent.parent.expression))return!1;const C=sPe(!1);return C?Yp(D.parent.parent.expression,!0)===C:!1}function Yft(l,m,D,C){var A;const w=zEe(D);if(w>-1)return Su(D[w],F.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);let I=Number.POSITIVE_INFINITY,U=Number.NEGATIVE_INFINITY,Z=Number.NEGATIVE_INFINITY,ce=Number.POSITIVE_INFINITY,Fe;for(const gi of m){const Wi=SE(gi),dn=Cm(gi);WiZ&&(Z=Wi),D.lengthA?I=Math.min(I,Z):ce1&&(En=vn($e,h_,zt,Ii)),En||(En=vn($e,Jf,zt,Ii)),En)return En;if(En=Tri(l,$e,ut,!!D,C),ar(l).resolvedSignature=En,Fe)if(!w&&ce&&(w=F.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method),Wi)if(Wi.length===1||Wi.length>3){const An=Wi[Wi.length-1];let _n;Wi.length>3&&(_n=ro(_n,F.The_last_overload_gave_the_following_error),_n=ro(_n,F.No_overload_matches_this_call)),w&&(_n=ro(_n,w));const hu=uie(l,ut,An,Jf,0,!0,()=>_n);if(hu)for(const oo of hu)An.declaration&&Wi.length>3&&Es(oo,Su(An.declaration,F.The_last_overload_is_declared_here)),Nn(An,oo),Vs.add(oo);else H.fail("No error for last overload signature")}else{const An=[];let _n=0,hu=Number.MAX_VALUE,oo=0,Eo=0;for(const hn of Wi){const Zr=uie(l,ut,hn,Jf,0,!0,()=>ro(void 0,F.Overload_0_of_1_2_gave_the_following_error,Eo+1,$e.length,vE(hn)));Zr?(Zr.length<=hu&&(hu=Zr.length,oo=Eo),_n=Math.max(_n,Zr.length),An.push(Zr)):H.fail("No error for 3 or fewer overload signatures"),Eo++}const fo=_n>1?An[oo]:Va(An);H.assert(fo.length>0,"No errors reported for 3 or fewer overload signatures");let ka=ro(Vt(fo,jbe),F.No_overload_matches_this_call);w&&(ka=ro(ka,w));const ah=[...ju(fo,hn=>hn.relatedInformation)];let t4;if(ye(fo,hn=>hn.start===fo[0].start&&hn.length===fo[0].length&&hn.file===fo[0].file)){const{file:hn,start:Kn,length:Zr}=fo[0];t4={file:hn,start:Kn,length:Zr,code:ka.code,category:ka.category,messageText:ka,relatedInformation:ah}}else t4=Y3(zn(l),l,ka,ah);Nn(Wi[0],t4),Vs.add(t4)}else if(dn)Vs.add(Yft(l,[dn],ut,w));else if(nu)eze(nu,l.typeArguments,!0,w);else{const An=ti(m,_n=>YMe(_n,Te));An.length===0?Vs.add(wri(l,m,Te,w)):Vs.add(Yft(l,An,ut,w))}return En;function Nn(An,_n){var hu,oo;const Eo=Wi,fo=dn,ka=nu,ah=((oo=(hu=An.declaration)==null?void 0:hu.symbol)==null?void 0:oo.declarations)||_t,hn=ah.length>1?Le(ah,Kn=>$0(Kn)&&H4(Kn.body)):void 0;if(hn){const Kn=dp(hn),Zr=!Kn.typeParameters;vn([Kn],Jf,Zr)&&Es(_n,Su(hn,F.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}Wi=Eo,dn=fo,nu=ka}function vn(An,_n,hu,oo=!1){if(Wi=void 0,dn=void 0,nu=void 0,hu){const Eo=An[0];if(Oe(Te)||!IEe(l,ut,Eo,oo))return;if(uie(l,ut,Eo,_n,0,!1,void 0)){Wi=[Eo];return}return Eo}for(let Eo=0;Eo0),eS(l),C||m.length===1||m.some(w=>!!w.typeParameters)?Pri(l,m,D,A):Lri(m)}function Lri(l){const m=qi(l,Z=>Z.thisParameter);let D;m.length&&(D=Qft(m,m.map(lie)));const{min:C,max:A}=mke(l,Nri),w=[];for(let Z=0;Zth(Fe)?ZTF(Fe,Z))))}const I=qi(l,Z=>th(Z)?Cr(Z.parameters):void 0);let U=128;if(I.length!==0){const Z=V1(er(qi(l,Pdt),2));w.push(Xft(I,Z)),U|=1}return l.some(Ode)&&(U|=2),y3(l[0].declaration,void 0,D,w,Ds(l.map(Zs)),void 0,C,U)}function Nri(l){const m=l.parameters.length;return th(l)?m-1:m}function Qft(l,m){return Xft(l,er(m,2))}function Xft(l,m){return CF(Pn(l),m)}function Pri(l,m,D,C){const A=Iri(m,Ni===void 0?D.length:Ni),w=m[A],{typeParameters:I}=w;if(!I)return w;const U=Vft(l)?l.typeArguments:void 0,Z=U?Age(w,Mri(U,I,Qn(l))):zri(l,I,w,D,C);return m[A]=Z,Z}function Mri(l,m,D){const C=l.map(tS);for(;C.length>m.length;)C.pop();for(;C.length=m)return A;I>C&&(C=I,D=A)}return D}function Rri(l,m,D){if(l.expression.kind===108){const Z=kMe(l.expression);if(nt(Z)){for(const ce of l.arguments)ya(ce);return mi}if(!Nt(Z)){const ce=Qg(Yd(l));if(ce){const Fe=D0(Z,ce.typeArguments,ce);return fT(l,Fe,m,D,0)}}return BF(l)}let C,A=ya(l.expression);if($y(l)){const Z=gW(A,l.expression);C=Z===A?0:RN(l)?16:8,A=Z}else C=0;if(A=Aft(A,l.expression,iri),A===ja)return uu;const w=Gh(A);if(Nt(w))return FE(l);const I=go(w,0),U=go(w,1).length;if(oie(A,w,I.length,U))return!Nt(A)&&l.typeArguments&&pt(l,F.Untyped_function_calls_may_not_accept_type_arguments),BF(l);if(!I.length){if(U)pt(l,F.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,gn(A));else{let Z;if(l.arguments.length===1){const ce=zn(l).text;Z1(ce.charCodeAt(gs(ce,l.expression.end,!0)-1))&&(Z=Su(l.expression,F.Are_you_missing_a_semicolon))}ize(l.expression,w,0,Z)}return FE(l)}return D&8&&!l.typeArguments&&I.some(Ori)?(Mmt(l,D),Wu):I.some(Z=>Qn(Z.declaration)&&!!Ise(Z.declaration))?(pt(l,F.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,gn(A)),FE(l)):fT(l,I,m,D,C)}function Ori(l){return!!(l.typeParameters&&$ze(Zs(l)))}function oie(l,m,D,C){return nt(l)||nt(m)&&!!(l.flags&262144)||!D&&!C&&!(m.flags&1048576)&&!(Sg(m).flags&131072)&&ms(l,di)}function jri(l,m,D){if(l.arguments&&Ce<1){const I=zEe(l.arguments);I>=0&&pt(l.arguments[I],F.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}let C=hT(l.expression);if(C===ja)return uu;if(C=Gh(C),Nt(C))return FE(l);if(nt(C))return l.typeArguments&&pt(l,F.Untyped_function_calls_may_not_accept_type_arguments),BF(l);const A=go(C,1);if(A.length){if(!Vri(l,A[0]))return FE(l);if(emt(A,U=>!!(U.flags&4)))return pt(l,F.Cannot_create_an_instance_of_an_abstract_class),FE(l);const I=C.symbol&&tD(C.symbol);return I&&Yu(I,64)?(pt(l,F.Cannot_create_an_instance_of_an_abstract_class),FE(l)):fT(l,A,m,D,0)}const w=go(C,0);if(w.length){const I=fT(l,w,m,D,0);return Ae||(I.declaration&&!AE(I.declaration)&&Zs(I)!==ca&&pt(l,F.Only_a_void_function_can_be_called_with_the_new_keyword),kC(I)===ca&&pt(l,F.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),I}return ize(l.expression,C,1),FE(l)}function emt(l,m){return Ha(l)?Oe(l,D=>emt(D,m)):l.compositeKind===1048576?Oe(l.compositeSignatures,m):m(l)}function tze(l,m){const D=Zc(m);if(!S(D))return!1;const C=D[0];if(C.flags&2097152){const A=C.types,w=gdt(A);let I=0;for(const U of C.types){if(!w[I]&&Gu(U)&3&&(U.symbol===l||tze(l,U)))return!0;I++}return!1}return C.symbol===l?!0:tze(l,C)}function Vri(l,m){if(!m||!m.declaration)return!0;const D=m.declaration,C=E7(D,6);if(!C||D.kind!==176)return!0;const A=tD(D.parent.symbol),w=X0(D.parent.symbol);if(!Wze(l,A)){const I=Yd(l);if(I&&C&4){const U=tS(I);if(tze(D.parent.symbol,U))return!0}return C&2&&pt(l,F.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,gn(w)),C&4&&pt(l,F.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,gn(w)),!1}return!0}function tmt(l,m,D){let C;const A=D===0,w=NF(m),I=w&&go(w,D).length>0;if(m.flags&1048576){const Z=m.types;let ce=!1;for(const Fe of Z)if(go(Fe,D).length!==0){if(ce=!0,C)break}else if(C||(C=ro(C,A?F.Type_0_has_no_call_signatures:F.Type_0_has_no_construct_signatures,gn(Fe)),C=ro(C,A?F.Not_all_constituents_of_type_0_are_callable:F.Not_all_constituents_of_type_0_are_constructable,gn(m))),ce)break;ce||(C=ro(void 0,A?F.No_constituent_of_type_0_is_callable:F.No_constituent_of_type_0_is_constructable,gn(m))),C||(C=ro(C,A?F.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:F.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,gn(m)))}else C=ro(C,A?F.Type_0_has_no_call_signatures:F.Type_0_has_no_construct_signatures,gn(m));let U=A?F.This_expression_is_not_callable:F.This_expression_is_not_constructable;if(Mo(l.parent)&&l.parent.arguments.length===0){const{resolvedSymbol:Z}=ar(l);Z&&Z.flags&32768&&(U=F.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:ro(C,U),relatedMessage:I?F.Did_you_forget_to_use_await:void 0}}function ize(l,m,D,C){const{messageChain:A,relatedMessage:w}=tmt(l,m,D),I=Y3(zn(l),l,A);if(w&&Es(I,Su(l,w)),Mo(l.parent)){const{start:U,length:Z}=Zft(l.parent,!0);I.start=U,I.length=Z}Vs.add(I),imt(m,D,C?Es(I,C):I)}function imt(l,m,D){if(!l.symbol)return;const C=Ur(l.symbol).originatingImport;if(C&&!dm(C)){const A=go(Wn(Ur(l.symbol).target),m);if(!A||!A.length)return;Es(D,Su(C,F.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))}}function Hri(l,m,D){const C=ya(l.tag),A=Gh(C);if(Nt(A))return FE(l);const w=go(A,0),I=go(A,1).length;if(oie(C,A,w.length,I))return BF(l);if(!w.length){if(Dh(l.parent)){const U=Su(l.tag,F.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);return Vs.add(U),FE(l)}return ize(l.tag,A,0),FE(l)}return fT(l,w,m,D,0)}function Kri(l){switch(l.parent.kind){case 263:case 231:return F.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 169:return F.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 172:return F.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 174:case 177:case 178:return F.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return H.fail()}}function Wri(l,m,D){const C=ya(l.expression),A=Gh(C);if(Nt(A))return FE(l);const w=go(A,0),I=go(A,1).length;if(oie(C,A,w.length,I))return BF(l);if($ri(l,w)&&!Cf(l.expression)){const Z=Hc(l.expression,!1);return pt(l,F._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,Z),FE(l)}const U=Kri(l);if(!w.length){const Z=tmt(l.expression,A,0),ce=ro(Z.messageChain,U),Fe=Y3(zn(l.expression),l.expression,ce);return Z.relatedMessage&&Es(Fe,Su(l.expression,Z.relatedMessage)),Vs.add(Fe),imt(A,0,Fe),FE(l)}return fT(l,w,m,D,0,U)}function OEe(l,m){const D=SF(l),C=D&&$f(D),A=C&&kf(C,Rm.Element,788968),w=A&&Yt.symbolToEntityName(A,788968,l),I=q.createFunctionTypeNode(void 0,[q.createParameterDeclaration(void 0,void 0,"props",void 0,Yt.typeToTypeNode(m,l))],w?q.createTypeReferenceNode(w,void 0):q.createKeywordTypeNode(133)),U=Hs(1,"props");return U.links.type=m,y3(I,void 0,void 0,[U],A?X0(A):Ot,void 0,1,0)}function Gri(l,m,D){if(X9(l.tagName)){const I=vft(l),U=OEe(l,I);return A6(pT(l.attributes,SEe(U,l),void 0,0),I,l.tagName,l.attributes),S(l.typeArguments)&&(L(l.typeArguments,ls),Vs.add(H8(zn(l),l.typeArguments,F.Expected_0_type_arguments_but_got_1,0,S(l.typeArguments)))),U}const C=ya(l.tagName),A=Gh(C);if(Nt(A))return FE(l);const w=Dft(C,l);return oie(C,A,w.length,0)?BF(l):w.length===0?(pt(l.tagName,F.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,Hc(l.tagName)),FE(l)):fT(l,w,m,D,0)}function Jri(l,m,D){const C=ya(l.right);if(!nt(C)){const A=gze(C);if(A){const w=Gh(A);if(Nt(w))return FE(l);const I=go(w,0),U=go(w,1);if(oie(A,w,I.length,U.length))return BF(l);if(I.length)return fT(l,I,m,D,0)}else if(!(o_e(C)||F6(C,di)))return pt(l.right,F.The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method),FE(l)}return mi}function $ri(l,m){return m.length&&ye(m,D=>D.minArgumentCount===0&&!th(D)&&D.parameters.length1?Rc(l.arguments[1]):void 0;for(let w=2;w{const I=vm(A);qge(w,I)||q1t(A,w,D,F.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)})}function iai(l){const m=ya(l.expression),D=gW(m,l.expression);return sEe(FD(D),l,D!==m)}function nai(l){return l.flags&64?iai(l):FD(ya(l.expression))}function lmt(l){if(ipt(l),L(l.typeArguments,ls),l.kind===233){const D=i5(l.parent);D.kind===226&&D.operatorToken.kind===104&&S2(l,D.right)&&pt(l,F.The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression)}const m=l.kind===233?ya(l.expression):N2(l.exprName)?Ute(l.exprName):ya(l.exprName);return cmt(m,l)}function cmt(l,m){const D=m.typeArguments;if(l===ja||Nt(l)||!Oe(D))return l;let C=!1,A;const w=U(l),I=C?A:l;return I&&Vs.add(H8(zn(m),D,F.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable,gn(I))),w;function U(ce){let Fe=!1,Te=!1;const $e=ut(ce);return C||(C=Te),Fe&&!Te&&(A??(A=ce)),$e;function ut(zt){if(zt.flags&524288){const gi=Ag(zt),Wi=Z(gi.callSignatures),dn=Z(gi.constructSignatures);if(Fe||(Fe=gi.callSignatures.length!==0||gi.constructSignatures.length!==0),Te||(Te=Wi.length!==0||dn.length!==0),Wi!==gi.callSignatures||dn!==gi.constructSignatures){const nu=Ol(void 0,gi.members,Wi,dn,gi.indexInfos);return nu.objectFlags|=8388608,nu.node=m,nu}}else if(zt.flags&58982400){const gi=Wh(zt);if(gi){const Wi=ut(gi);if(Wi!==gi)return Wi}}else{if(zt.flags&1048576)return hl(zt,U);if(zt.flags&2097152)return Ds(Lu(zt.types,ut))}return zt}}function Z(ce){const Fe=ti(ce,Te=>!!Te.typeParameters&&YMe(Te,D));return Lu(Fe,Te=>{const $e=eze(Te,D,!0);return $e?rW(Te,$e,Qn(Te.declaration)):Te})}}function uai(l){return ls(l.type),aze(l.expression,l.type)}function aze(l,m,D){const C=ya(l,D),A=Ar(m);if(Nt(A))return A;const w=Tn(m.parent,I=>I.kind===238||I.kind===357);return A6(C,A,w,l,F.Type_0_does_not_satisfy_the_expected_type_1),C}function rai(l){return eci(l),l.keywordToken===105?oze(l):l.keywordToken===102?aai(l):H.assertNever(l.keywordToken)}function dmt(l){switch(l.keywordToken){case 102:return Zdt();case 105:const m=oze(l);return Nt(m)?Ot:bai(m);default:H.assertNever(l.keywordToken)}}function oze(l){const m=eye(l);if(m)if(m.kind===176){const D=_u(m.parent);return Wn(D)}else{const D=_u(m);return Wn(D)}else return pt(l,F.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),Ot}function aai(l){ne===100||ne===199?zn(l).impliedNodeFormat!==99&&pt(l,F.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):ne<6&&ne!==4&&pt(l,F.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);const m=zn(l);return H.assert(!!(m.flags&8388608),"Containing file is missing import meta node flag."),l.name.escapedText==="meta"?qdt():Ot}function lie(l){const m=l.valueDeclaration;return Vd(Wn(l),!1,!!m&&(Nx(m)||PP(m)))}function sze(l,m,D="arg"){return l?(H.assert(at(l.name)),l.name.escapedText):`${D}_${m}`}function Iz(l,m,D){const C=l.parameters.length-(th(l)?1:0);if(m=C-1)return m===C-1?w:V1(qf(w,Qt));const I=[],U=[],Z=[];for(let ce=m;ce!(Z&1)),U=I<0?w.target.fixedLength:I;U>0&&(A=l.parameters.length-1+U)}}if(A===void 0){if(!D&&l.flags&32)return 0;A=l.minArgumentCount}if(C)return A;for(let w=A-1;w>=0;w--){const I=Lg(l,w);if(Ic(I,Hft).flags&131072)break;A=w}l.resolvedMinArgumentCount=A}return l.resolvedMinArgumentCount}function F_(l){if(th(l)){const m=Wn(l.parameters[l.parameters.length-1]);return!xs(m)||m.target.hasRestElement}return!1}function AW(l){if(th(l)){const m=Wn(l.parameters[l.parameters.length-1]);if(!xs(m))return m;if(m.target.hasRestElement)return bz(m,m.target.fixedLength)}}function SW(l){const m=AW(l);return m&&!A4(m)&&!nt(m)?m:void 0}function lze(l){return cze(l,Ku)}function cze(l,m){return l.parameters.length>0?Lg(l,0):m}function mmt(l,m,D){const C=l.parameters.length-(th(l)?1:0);for(let A=0;A=0);const w=hc(C.parent)?Wn(_u(C.parent.parent)):G4t(C.parent),I=hc(C.parent)?te:J4t(C.parent),U=wg(A),Z=yg("target",w),ce=yg("propertyKey",I),Fe=yg("parameterIndex",U);D.decoratorSignature=MW(void 0,void 0,[Z,ce,Fe],ca);break}case 174:case 177:case 178:case 172:{const C=m;if(!mr(C.parent))break;const A=G4t(C),w=yg("target",A),I=J4t(C),U=yg("propertyKey",I),Z=ko(C)?ca:n1t(tS(C));if(Ce!==0&&(!ko(m)||eE(m))){const Fe=n1t(tS(C)),Te=yg("descriptor",Fe);D.decoratorSignature=MW(void 0,void 0,[w,U,Te],er([Z,ca]))}else D.decoratorSignature=MW(void 0,void 0,[w,U],er([Z,ca]));break}}return D.decoratorSignature===mi?void 0:D.decoratorSignature}function hze(l){return ve?Cai(l):vai(l)}function die(l){const m=Fte(!0);return m!==Ka?(l=W5(Vz(l))||on,R5(m,[l])):on}function Emt(l){const m=e1t(!0);return m!==Ka?(l=W5(Vz(l))||on,R5(m,[l])):on}function hie(l,m){const D=die(m);return D===on?(pt(l,dm(l)?F.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:F.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),Ot):(sPe(!0)||pt(l,dm(l)?F.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:F.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),D)}function bai(l){const m=Hs(0,"NewTargetExpression"),D=Hs(4,"target",8);D.parent=m,D.links.type=l;const C=Vo([D]);return m.members=C,Ol(m,C,_t,_t,_t)}function HEe(l,m){if(!l.body)return Ot;const D=kd(l),C=(D&2)!==0,A=(D&1)!==0;let w,I,U,Z=ca;if(l.body.kind!==241)w=Rc(l.body,m&&m&-9),C&&(w=Vz(PW(w,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(A){const ce=bmt(l,m);ce?ce.length>0&&(w=er(ce,2)):Z=Ku;const{yieldTypes:Fe,nextTypes:Te}=yai(l,m);I=Oe(Fe)?er(Fe,2):void 0,U=Oe(Te)?Ds(Te):void 0}else{const ce=bmt(l,m);if(!ce)return D&2?hie(l,Ku):Ku;if(ce.length===0){const Fe=yEe(l,void 0),Te=Fe&&(bie(Fe,D)||ca).flags&32768?te:ca;return D&2?hie(l,Te):Te}w=er(ce,2)}if(w||I||U){if(I&&hEe(l,I,3),w&&hEe(l,w,1),U&&hEe(l,U,2),w&&Tg(w)||I&&Tg(I)||U&&Tg(U)){const ce=LMe(l),Fe=ce?ce===dp(l)?A?void 0:w:FEe(Zs(ce),l,void 0):void 0;A?(I=qPe(I,Fe,0,C),w=qPe(w,Fe,1,C),U=qPe(U,Fe,2,C)):w=Bii(w,Fe,C)}I&&(I=vm(I)),w&&(w=vm(w)),U&&(U=vm(U))}return A?_mt(I||Ku,w||Z,U||rft(2,l)||on,C):C?die(w||Z):w||Z}function _mt(l,m,D,C){const A=C?S0:ud,w=A.getGlobalGeneratorType(!1);if(l=A.resolveIterationType(l,void 0)||on,m=A.resolveIterationType(m,void 0)||on,D=A.resolveIterationType(D,void 0)||on,w===Ka){const I=A.getGlobalIterableIteratorType(!1),U=I!==Ka?c4t(I,A):void 0,Z=U?U.returnType:me,ce=U?U.nextType:te;return ms(m,Z)&&ms(ce,D)?I!==Ka?oW(I,[l]):(A.getGlobalIterableIteratorType(!0),Ko):(A.getGlobalGeneratorType(!0),Ko)}return oW(w,[l,m,D])}function yai(l,m){const D=[],C=[],A=(kd(l)&2)!==0;return Kbe(l.body,w=>{const I=w.expression?ya(w.expression,m):we;xa(D,Dmt(w,I,me,A));let U;if(w.asteriskToken){const Z=e_e(I,A?19:17,w.expression);U=Z&&Z.nextType}else U=hf(w,void 0);U&&xa(C,U)}),{yieldTypes:D,nextTypes:C}}function Dmt(l,m,D,C){const A=l.expression||l,w=l.asteriskToken?G5(C?19:17,m,D,A):m;return C?NF(w,A,l.asteriskToken?F.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:F.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):w}function xmt(l,m,D){let C=0;for(let A=0;A=m?D[A]:void 0;C|=w!==void 0?Vde.get(w)||32768:0}return C}function vmt(l){const m=ar(l);if(m.isExhaustive===void 0){m.isExhaustive=0;const D=kai(l);m.isExhaustive===0&&(m.isExhaustive=D)}else m.isExhaustive===0&&(m.isExhaustive=!1);return m.isExhaustive}function kai(l){if(l.expression.kind===221){const C=jht(l);if(!C)return!1;const A=xD(Rc(l.expression.expression)),w=xmt(0,0,C);return A.flags&3?(556800&w)===556800:!yE(A,I=>Lz(I,w)===w)}const m=Rc(l.expression);if(!pW(m))return!1;const D=EEe(l);return!D.length||Oe(D,Fii)?!1:bni(hl(m,Jh),D)}function Cmt(l){return l.endFlowNode&&Jte(l.endFlowNode)}function bmt(l,m){const D=kd(l),C=[];let A=Cmt(l),w=!1;if(y2(l.body,I=>{let U=I.expression;if(U){if(U=l0(U,!0),D&2&&U.kind===223&&(U=l0(U.expression,!0)),U.kind===213&&U.expression.kind===80&&Rc(U.expression).symbol===l.symbol){w=!0;return}let Z=Rc(U,m&&m&-9);D&2&&(Z=Vz(PW(Z,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),Z.flags&131072&&(w=!0),xa(C,Z)}else A=!0}),!(C.length===0&&!A&&(w||Fai(l))))return fe&&C.length&&A&&!(AE(l)&&C.some(I=>I.symbol===l.symbol))&&xa(C,te),C}function Fai(l){switch(l.kind){case 218:case 219:return!0;case 174:return l.parent.kind===210;default:return!1}}function fze(l,m){s(D);return;function D(){const C=kd(l),A=m&&bie(m,C);if(A&&(jl(A,16384)||A.flags&32769)||l.kind===173||Ql(l.body)||l.body.kind!==241||!Cmt(l))return;const w=l.flags&1024,I=U4(l)||l;if(A&&A.flags&131072)pt(I,F.A_function_returning_never_cannot_have_a_reachable_end_point);else if(A&&!w)pt(I,F.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value);else if(A&&fe&&!ms(te,A))pt(I,F.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(ae.noImplicitReturns){if(!A){if(!w)return;const U=Zs(dp(l));if(_4t(l,U))return}pt(I,F.Not_all_code_paths_return_a_value)}}}function ymt(l,m){if(H.assert(l.kind!==174||zp(l)),eS(l),A0(l)&&Hz(l,l.name),m&&m&4&&k4(l)){if(!U4(l)&&!fZ(l)){const C=yW(l);if(C&&NC(Zs(C))){const A=ar(l);if(A.contextFreeType)return A.contextFreeType;const w=HEe(l,m),I=y3(void 0,void 0,void 0,_t,w,void 0,0,64),U=Ol(l.symbol,se,[I],_t,_t);return U.objectFlags|=262144,A.contextFreeType=U}}return Ri}return!d_e(l)&&l.kind===218&&Zze(l),Aai(l,m),Wn(_u(l))}function Aai(l,m){const D=ar(l);if(!(D.flags&64)){const C=yW(l);if(!(D.flags&64)){D.flags|=64;const A=Ki(go(Wn(_u(l)),0));if(!A)return;if(k4(l))if(C){const w=jb(l);let I;if(m&&m&2){mmt(A,C,w);const U=AW(C);U&&U.flags&262144&&(I=lT(C,w.nonFixingMapper))}I||(I=w?lT(C,w.mapper):C),lai(A,I)}else cai(A);else if(C&&!l.typeParameters&&C.parameters.length>l.parameters.length){const w=jb(l);m&&m&2&&mmt(A,C,w)}if(C&&!uT(l)&&!A.resolvedReturnType){const w=HEe(l,m);A.resolvedReturnType||(A.resolvedReturnType=w)}TW(l)}}}function Sai(l){H.assert(l.kind!==174||zp(l));const m=kd(l),D=uT(l);if(fze(l,D),l.body)if(U4(l)||Zs(dp(l)),l.body.kind===241)ls(l.body);else{const C=ya(l.body),A=D&&bie(D,m);if(A)if((m&3)===2){const w=PW(C,!1,l.body,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);A6(w,A,l.body,l.body)}else A6(C,A,l.body,l.body)}}function KEe(l,m,D,C=!1){if(!ms(m,Ya)){const A=C&&jz(m);return bh(l,!!A&&ms(A,Ya),D),!1}return!0}function Bai(l){if(!Mo(l)||!rk(l))return!1;const m=Rc(l.arguments[2]);if(he(m,"value")){const A=qo(m,"writable"),w=A&&Wn(A);if(!w||w===Ui||w===Sn)return!0;if(A&&A.valueDeclaration&&Jc(A.valueDeclaration)){const I=A.valueDeclaration.initializer,U=ya(I);if(U===Ui||U===Sn)return!0}return!1}return!qo(m,"set")}function Ng(l){return!!(Gl(l)&8||l.flags&4&&l4(l)&8||l.flags&3&&OMe(l)&6||l.flags&98304&&!(l.flags&65536)||l.flags&8||Oe(l.declarations,Bai))}function kmt(l,m,D){var C,A;if(D===0)return!1;if(Ng(m)){if(m.flags&4&&I0(l)&&l.expression.kind===110){const w=Nm(l);if(!(w&&(w.kind===176||AE(w))))return!0;if(m.valueDeclaration){const I=Xn(m.valueDeclaration),U=w.parent===m.valueDeclaration.parent,Z=w===m.valueDeclaration.parent,ce=I&&((C=m.parent)==null?void 0:C.valueDeclaration)===w.parent,Fe=I&&((A=m.parent)==null?void 0:A.valueDeclaration)===w;return!(U||Z||ce||Fe)}}return!0}if(I0(l)){const w=l0(l.expression);if(w.kind===80){const I=ar(w).resolvedSymbol;if(I.flags&2097152){const U=rp(I);return!!U&&U.kind===274}}}return!1}function BW(l,m,D){const C=Dc(l,7);return C.kind!==80&&!I0(C)?(pt(l,m),!1):C.flags&64?(pt(l,D),!1):!0}function wai(l){ya(l.expression);const m=l0(l.expression);if(!I0(m))return pt(m,F.The_operand_of_a_delete_operator_must_be_a_property_reference),pr;Iu(m)&&Xr(m.name)&&pt(m,F.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);const D=ar(m),C=sp(D.resolvedSymbol);return C&&(Ng(C)?pt(m,F.The_operand_of_a_delete_operator_cannot_be_a_read_only_property):Tai(m,C)),pr}function Tai(l,m){const D=Wn(m);fe&&!(D.flags&131075)&&!(Ve?m.flags&16777216:fp(D,16777216))&&pt(l,F.The_operand_of_a_delete_operator_must_be_optional)}function Lai(l){return ya(l.expression),Nw}function Nai(l){return eS(l),we}function Fmt(l){let m=!1;const D=dq(l);if(D&&zl(D)){const C=Gx(l)?F.await_expression_cannot_be_used_inside_a_class_static_block:F.await_using_statements_cannot_be_used_inside_a_class_static_block;pt(l,C),m=!0}else if(!(l.flags&65536))if(fq(l)){const C=zn(l);if(!Kb(C)){let A;if(!s7(C,ae)){A??(A=QE(C,l.pos));const w=Gx(l)?F.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:F.await_using_statements_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,I=Rd(C,A.start,A.length,w);Vs.add(I),m=!0}switch(ne){case 100:case 199:if(C.impliedNodeFormat===1){A??(A=QE(C,l.pos)),Vs.add(Rd(C,A.start,A.length,F.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)),m=!0;break}case 7:case 99:case 4:if(Ce>=4)break;default:A??(A=QE(C,l.pos));const w=Gx(l)?F.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:F.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher;Vs.add(Rd(C,A.start,A.length,w)),m=!0;break}}}else{const C=zn(l);if(!Kb(C)){const A=QE(C,l.pos),w=Gx(l)?F.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:F.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules,I=Rd(C,A.start,A.length,w);if(D&&D.kind!==176&&!(kd(D)&2)){const U=Su(D,F.Did_you_mean_to_mark_this_function_as_async);Es(I,U)}Vs.add(I),m=!0}}return Gx(l)&&AMe(l)&&(pt(l,F.await_expressions_cannot_be_used_in_a_parameter_initializer),m=!0),m}function Pai(l){s(()=>Fmt(l));const m=ya(l.expression),D=PW(m,!0,l,F.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return D===m&&!Nt(D)&&!(m.flags&3)&&i1(!1,Su(l,F.await_has_no_effect_on_the_type_of_this_expression)),D}function Mai(l){const m=ya(l.operand);if(m===ja)return ja;switch(l.operand.kind){case 9:switch(l.operator){case 41:return Z9(wg(-l.operand.text));case 40:return Z9(wg(+l.operand.text))}break;case 10:if(l.operator===41)return Z9(jge({negative:!0,base10Value:SP(l.operand.text)}))}switch(l.operator){case 40:case 41:case 55:return kE(m,l.operand),fie(m,12288)&&pt(l.operand,F.The_0_operator_cannot_be_applied_to_type_symbol,Uo(l.operator)),l.operator===40?(fie(m,2112)&&pt(l.operand,F.Operator_0_cannot_be_applied_to_type_1,Uo(l.operator),gn(kD(m))),Qt):mze(m);case 54:Tze(m,l.operand);const D=Lz(m,12582912);return D===4194304?Ui:D===8388608?du:pr;case 46:case 47:return KEe(l.operand,kE(m,l.operand),F.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&BW(l.operand,F.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,F.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),mze(m)}return Ot}function zai(l){const m=ya(l.operand);return m===ja?ja:(KEe(l.operand,kE(m,l.operand),F.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&BW(l.operand,F.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,F.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),mze(m))}function mze(l){return jl(l,2112)?u1(l,3)||jl(l,296)?Ya:Li:Qt}function fie(l,m){if(jl(l,m))return!0;const D=xD(l);return!!D&&jl(D,m)}function jl(l,m){if(l.flags&m)return!0;if(l.flags&3145728){const D=l.types;for(const C of D)if(jl(C,m))return!0}return!1}function u1(l,m,D){return l.flags&m?!0:D&&l.flags&114691?!1:!!(m&296)&&ms(l,Qt)||!!(m&2112)&&ms(l,Li)||!!(m&402653316)&&ms(l,ct)||!!(m&528)&&ms(l,pr)||!!(m&16384)&&ms(l,ca)||!!(m&131072)&&ms(l,Ku)||!!(m&65536)&&ms(l,it)||!!(m&32768)&&ms(l,te)||!!(m&4096)&&ms(l,Xu)||!!(m&67108864)&&ms(l,as)}function mie(l,m,D){return l.flags&1048576?ye(l.types,C=>mie(C,m,D)):u1(l,m,D)}function WEe(l){return!!(Gu(l)&16)&&!!l.symbol&&pze(l.symbol)}function pze(l){return(l.flags&128)!==0}function gze(l){const m=h4t("hasInstance"),D=bC(l,m);if(D){const C=Wn(D);if(C&&go(C,0).length!==0)return C}}function Iai(l,m,D,C,A){if(D===ja||C===ja)return ja;!nt(D)&&mie(D,402784252)&&pt(l,F.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),H.assert(Hq(l.parent));const w=mT(l.parent,void 0,A);if(w===Wu)return ja;const I=Zs(w);return Ah(I,pr,m,F.An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression),pr}function Rai(l){return yE(l,m=>m===Il||!!(m.flags&2097152)&&yD(xD(m)))}function Oai(l,m,D,C){if(D===ja||C===ja)return ja;if(Xr(l)){if(Ce<99&&rd(l,2097152),!ar(l).resolvedSymbol&&Yd(l)){const A=GMe(l,C.symbol,!0);Pft(l,C,A)}}else Ah(kE(D,l),Fn,l);return Ah(kE(C,m),as,m)&&Rai(C)&&pt(m,F.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,gn(C)),pr}function jai(l,m,D){const C=l.properties;if(fe&&C.length===0)return kE(m,l);for(let A=0;Abz(ce,D)):V1(C);return LF(U,Z,A)}}}}function LF(l,m,D,C){let A;if(l.kind===304){const w=l;w.objectAssignmentInitializer&&(fe&&!fp(ya(w.objectAssignmentInitializer),16777216)&&(m=mp(m,524288)),Gai(w.name,w.equalsToken,w.objectAssignmentInitializer,D)),A=l.name}else A=l;return A.kind===226&&A.operatorToken.kind===64&&(We(A,D),A=A.left,fe&&(m=mp(m,524288))),A.kind===210?jai(A,m,C):A.kind===209?Vai(A,m,D):Hai(A,m,D)}function Hai(l,m,D){const C=ya(l,D),A=l.parent.kind===305?F.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:F.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,w=l.parent.kind===305?F.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:F.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;return BW(l,A,w)&&A6(m,C,l,l),T8(l)&&rd(l.parent,1048576),m}function pie(l){switch(l=l0(l),l.kind){case 80:case 11:case 14:case 215:case 228:case 15:case 9:case 10:case 112:case 97:case 106:case 157:case 218:case 231:case 219:case 209:case 210:case 221:case 235:case 285:case 284:return!0;case 227:return pie(l.whenTrue)&&pie(l.whenFalse);case 226:return u5(l.operatorToken.kind)?!1:pie(l.left)&&pie(l.right);case 224:case 225:switch(l.operator){case 54:case 40:case 41:case 55:return!0}return!1;case 222:case 216:case 234:default:return!1}}function Eze(l,m){return(m.flags&98304)!==0||qge(l,m)}function Kai(){const l=kY(m,D,C,A,w,I);return($e,ut)=>{const zt=l($e,ut);return H.assertIsDefined(zt),zt};function m($e,ut,zt){return ut?(ut.stackIndex++,ut.skip=!1,ce(ut,void 0),Te(ut,void 0)):ut={checkMode:zt,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},Qn($e)&&l7($e)?(ut.skip=!0,Te(ut,ya($e.right,zt)),ut):(Wai($e),$e.operatorToken.kind===64&&($e.left.kind===210||$e.left.kind===209)&&(ut.skip=!0,Te(ut,LF($e.left,ya($e.right,zt),zt,$e.right.kind===110))),ut)}function D($e,ut,zt){if(!ut.skip)return U(ut,$e)}function C($e,ut,zt){if(!ut.skip){const gi=Fe(ut);H.assertIsDefined(gi),ce(ut,gi),Te(ut,void 0);const Wi=$e.kind;if(Wj(Wi)){let dn=zt.parent;for(;dn.kind===217||Gj(dn);)dn=dn.parent;(Wi===56||xk(dn))&&wze(zt.left,gi,xk(dn)?dn.thenStatement:void 0),Tze(gi,zt.left)}}}function A($e,ut,zt){if(!ut.skip)return U(ut,$e)}function w($e,ut){let zt;if(ut.skip)zt=Fe(ut);else{const gi=Z(ut);H.assertIsDefined(gi);const Wi=Fe(ut);H.assertIsDefined(Wi),zt=Bmt($e.left,$e.operatorToken,$e.right,gi,Wi,ut.checkMode,$e)}return ut.skip=!1,ce(ut,void 0),Te(ut,void 0),ut.stackIndex--,zt}function I($e,ut,zt){return Te($e,ut),$e}function U($e,ut){if(Xn(ut))return ut;Te($e,ya(ut,$e.checkMode))}function Z($e){return $e.typeStack[$e.stackIndex]}function ce($e,ut){$e.typeStack[$e.stackIndex]=ut}function Fe($e){return $e.typeStack[$e.stackIndex+1]}function Te($e,ut){$e.typeStack[$e.stackIndex+1]=ut}}function Wai(l){const{left:m,operatorToken:D,right:C}=l;D.kind===61&&(Xn(m)&&(m.operatorToken.kind===57||m.operatorToken.kind===56)&&Zi(m,F._0_and_1_operations_cannot_be_mixed_without_parentheses,Uo(m.operatorToken.kind),Uo(D.kind)),Xn(C)&&(C.operatorToken.kind===57||C.operatorToken.kind===56)&&Zi(C,F._0_and_1_operations_cannot_be_mixed_without_parentheses,Uo(C.operatorToken.kind),Uo(D.kind)))}function Gai(l,m,D,C,A){const w=m.kind;if(w===64&&(l.kind===210||l.kind===209))return LF(l,ya(D,C),C,D.kind===110);let I;Wj(w)?I=Kz(l,C):I=ya(l,C);const U=ya(D,C);return Bmt(l,m,D,I,U,C,A)}function Bmt(l,m,D,C,A,w,I){const U=m.kind;switch(U){case 42:case 43:case 67:case 68:case 44:case 69:case 45:case 70:case 41:case 66:case 48:case 71:case 49:case 72:case 50:case 73:case 52:case 75:case 53:case 79:case 51:case 74:if(C===ja||A===ja)return ja;C=kE(C,l),A=kE(A,D);let Ii;if(C.flags&528&&A.flags&528&&(Ii=$e(m.kind))!==void 0)return pt(I||m,F.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,Uo(m.kind),Uo(Ii)),Qt;{const An=KEe(l,C,F.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),_n=KEe(D,A,F.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);let hu;if(u1(C,3)&&u1(A,3)||!(jl(C,2112)||jl(A,2112)))hu=Qt;else if(Z(C,A)){switch(U){case 50:case 73:Wi();break;case 43:case 68:Ce<3&&pt(I,F.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}hu=Li}else Wi(Z),hu=Ot;return An&&_n&&ut(hu),hu}case 40:case 65:if(C===ja||A===ja)return ja;!u1(C,402653316)&&!u1(A,402653316)&&(C=kE(C,l),A=kE(A,D));let Nn;return u1(C,296,!0)&&u1(A,296,!0)?Nn=Qt:u1(C,2112,!0)&&u1(A,2112,!0)?Nn=Li:u1(C,402653316,!0)||u1(A,402653316,!0)?Nn=ct:(nt(C)||nt(A))&&(Nn=Nt(C)||Nt(A)?Ot:me),Nn&&!Te(U)?Nn:Nn?(U===65&&ut(Nn),Nn):(Wi((_n,hu)=>u1(_n,402655727)&&u1(hu,402655727)),me);case 30:case 32:case 33:case 34:return Te(U)&&(C=$Pe(kE(C,l)),A=$Pe(kE(A,D)),gi((An,_n)=>{if(nt(An)||nt(_n))return!0;const hu=ms(An,Ya),oo=ms(_n,Ya);return hu&&oo||!hu&&!oo&&Nte(An,_n)})),pr;case 35:case 36:case 37:case 38:if(!(w&&w&64)){if(($se(l)||$se(D))&&(!Qn(l)||U===37||U===38)){const An=U===35||U===37;pt(I,F.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value,An?"false":"true")}nu(I,U,l,D),gi((An,_n)=>Eze(An,_n)||Eze(_n,An))}return pr;case 104:return Iai(l,D,C,A,w);case 103:return Oai(l,D,C,A);case 56:case 77:{const An=fp(C,4194304)?er([Lii(fe?C:kD(A)),A]):C;return U===77&&ut(A),An}case 57:case 76:{const An=fp(C,8388608)?er([FD(fht(C)),A],2):C;return U===76&&ut(A),An}case 61:case 78:{const An=fp(C,262144)?er([FD(C),A],2):C;return U===78&&ut(A),An}case 64:const vn=Xn(l.parent)?Xl(l.parent):0;return ce(vn,A),zt(vn)?((!(A.flags&524288)||vn!==2&&vn!==6&&!bD(A)&&!pMe(A)&&!(Gu(A)&1))&&ut(A),C):(ut(A),A);case 28:if(!ae.allowUnreachableCode&&pie(l)&&!Fe(l.parent)){const An=zn(l),_n=An.text,hu=gs(_n,l.pos);An.parseDiagnostics.some(Eo=>Eo.code!==F.JSX_expressions_must_have_one_parent_element.code?!1:Nse(Eo,hu))||pt(l,F.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return A;default:return H.fail()}function Z(Ii,Nn){return u1(Ii,2112)&&u1(Nn,2112)}function ce(Ii,Nn){if(Ii===2)for(const vn of D6(Nn)){const An=Wn(vn);if(An.symbol&&An.symbol.flags&32){const _n=vn.escapedName,hu=uc(vn.valueDeclaration,_n,788968,void 0,_n,!1);hu!=null&&hu.declarations&&hu.declarations.some(PB)&&(kg(hu,F.Duplicate_identifier_0,Yr(_n),vn),kg(vn,F.Duplicate_identifier_0,Yr(_n),hu))}}}function Fe(Ii){return Ii.parent.kind===217&&Of(Ii.left)&&Ii.left.text==="0"&&(Mo(Ii.parent.parent)&&Ii.parent.parent.expression===Ii.parent||Ii.parent.parent.kind===215)&&(I0(Ii.right)||at(Ii.right)&&Ii.right.escapedText==="eval")}function Te(Ii){const Nn=fie(C,12288)?l:fie(A,12288)?D:void 0;return Nn?(pt(Nn,F.The_0_operator_cannot_be_applied_to_type_symbol,Uo(Ii)),!1):!0}function $e(Ii){switch(Ii){case 52:case 75:return 57;case 53:case 79:return 38;case 51:case 74:return 56;default:return}}function ut(Ii){u5(U)&&s(Nn);function Nn(){let vn=C;if(mM(m.kind)&&l.kind===211&&(vn=TEe(l,void 0,!0)),BW(l,F.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,F.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)){let An;if(Ve&&Iu(l)&&jl(Ii,32768)){const _n=he(b1(l.expression),l.name.escapedText);Yge(Ii,_n)&&(An=F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target)}A6(Ii,vn,l,D,An)}}}function zt(Ii){var Nn;switch(Ii){case 2:return!0;case 1:case 5:case 6:case 3:case 4:const vn=Dm(l),An=l7(D);return!!An&&ys(An)&&!!((Nn=vn==null?void 0:vn.exports)!=null&&Nn.size);default:return!1}}function gi(Ii){return Ii(C,A)?!1:(Wi(Ii),!0)}function Wi(Ii){let Nn=!1;const vn=I||m;if(Ii){const Eo=W5(C),fo=W5(A);Nn=!(Eo===C&&fo===A)&&!!(Eo&&fo)&&Ii(Eo,fo)}let An=C,_n=A;!Nn&&Ii&&([An,_n]=Jai(C,A,Ii));const[hu,oo]=h6(An,_n);dn(vn,Nn,hu,oo)||bh(vn,Nn,F.Operator_0_cannot_be_applied_to_types_1_and_2,Uo(m.kind),hu,oo)}function dn(Ii,Nn,vn,An){switch(m.kind){case 37:case 35:case 38:case 36:return bh(Ii,Nn,F.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,vn,An);default:return}}function nu(Ii,Nn,vn,An){const _n=En(l0(vn)),hu=En(l0(An));if(_n||hu){const oo=pt(Ii,F.This_condition_will_always_return_0,Uo(Nn===37||Nn===35?97:112));if(_n&&hu)return;const Eo=Nn===38||Nn===36?Uo(54):"",fo=_n?An:vn,ka=l0(fo);Es(oo,Su(fo,F.Did_you_mean_0,`${Eo}Number.isNaN(${ec(ka)?zf(ka):"..."})`))}}function En(Ii){if(at(Ii)&&Ii.escapedText==="NaN"){const Nn=Rei();return!!Nn&&Nn===Zp(Ii)}return!1}}function Jai(l,m,D){let C=l,A=m;const w=kD(l),I=kD(m);return D(w,I)||(C=w,A=I),[C,A]}function $ai(l){s($e);const m=Nm(l);if(!m)return me;const D=kd(m);if(!(D&1))return me;const C=(D&2)!==0;l.asteriskToken&&(C&&Ce<99&&rd(l,26624),!C&&Ce<2&&ae.downlevelIteration&&rd(l,256));let A=uT(m);A&&A.flags&1048576&&(A=Ic(A,ut=>vze(ut,D,void 0)));const w=A&&E4t(A,C),I=w&&w.yieldType||me,U=w&&w.nextType||me,Z=C?NF(U)||me:U,ce=l.expression?ya(l.expression):we,Fe=Dmt(l,ce,Z,C);if(A&&Fe&&A6(Fe,I,l.expression||l,l.expression),l.asteriskToken)return Nze(C?19:17,1,ce,l.expression)||me;if(A)return Hb(2,A,C)||me;let Te=rft(2,m);return Te||(Te=me,s(()=>{if(Ae&&!Dke(l)){const ut=hf(l,void 0);(!ut||nt(ut))&&pt(l,F.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}})),Te;function $e(){l.flags&16384||r1(l,F.A_yield_expression_is_only_allowed_in_a_generator_body),AMe(l)&&pt(l,F.yield_expressions_cannot_be_used_in_a_parameter_initializer)}}function Uai(l,m){const D=Kz(l.condition,m);wze(l.condition,D,l.whenTrue);const C=ya(l.whenTrue,m),A=ya(l.whenFalse,m);return er([C,A],2)}function wmt(l){const m=l.parent;return Cf(m)&&wmt(m)||U0(m)&&m.argumentExpression===l}function qai(l){const m=[l.head.text],D=[];for(const A of l.templateSpans){const w=ya(A.expression);fie(w,12288)&&pt(A.expression,F.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),m.push(A.literal.text),D.push(ms(w,c0)?w:ct)}if(Rz(l)||wmt(l)||yE(hf(l,void 0)||on,Zai))return xF(m,D);const C=l.parent.kind!==215&&L4t(l);return C?Z9(df(C)):ct}function Zai(l){return!!(l.flags&134217856||l.flags&58982400&&jl(Wh(l)||on,402653316))}function Yai(l){return W2(l)&&!bk(l.parent)?l.parent.parent:l}function pT(l,m,D,C){const A=Yai(l);Zte(A,m,!1),Dui(A,D);const w=ya(l,C|1|(D?2:0));D&&D.intraExpressionInferenceSites&&(D.intraExpressionInferenceSites=void 0);const I=jl(w,2944)&&GEe(w,FEe(m,l,void 0))?Jh(w):w;return xui(),bW(),I}function Rc(l,m){if(m)return ya(l,m);const D=ar(l);if(!D.resolvedType){const C=Xe,A=bn;Xe=Dt,bn=void 0,D.resolvedType=ya(l,m),bn=A,Xe=C}return D.resolvedType}function Tmt(l){return l=l0(l,!0),l.kind===216||l.kind===234||tM(l)}function wW(l,m,D){const C=Dj(l);if(Qn(l)){const w=gZ(l);if(w)return aze(C,w,m)}const A=xze(C)||(D?pT(C,D,void 0,m||0):Rc(C,m));return io(l)&&l.name.kind===207&&xs(A)&&!A.target.hasRestElement&&O5(A)GEe(l,C))}if(m.flags&58982400){const D=Wh(m)||on;return jl(D,4)&&jl(l,128)||jl(D,8)&&jl(l,256)||jl(D,64)&&jl(l,2048)||jl(D,4096)&&jl(l,8192)||GEe(l,D)}return!!(m.flags&406847616&&jl(l,128)||m.flags&256&&jl(l,256)||m.flags&2048&&jl(l,2048)||m.flags&512&&jl(l,512)||m.flags&8192&&jl(l,8192))}return!1}function Rz(l){const m=l.parent;return Yy(m)&&q3(m.type)||tM(m)&&q3(vY(m))||rze(l)&&W9(hf(l,0))||(Cf(m)||Dh(m)||uE(m))&&Rz(m)||(Jc(m)||pm(m)||qP(m))&&Rz(m.parent)}function Oz(l,m,D){const C=ya(l,m,D);return Rz(l)||Jbe(l)?Jh(C):Tmt(l)?C:UPe(C,FEe(hf(l,void 0),l,void 0))}function Lmt(l,m){return l.name.kind===167&&F3(l.name),Oz(l.initializer,m)}function Nmt(l,m){rpt(l),l.name.kind===167&&F3(l.name);const D=ymt(l,m);return Pmt(l,D,m)}function Pmt(l,m,D){if(D&&D&10){const C=kW(m,0,!0),A=kW(m,1,!0),w=C||A;if(w&&w.typeParameters){const I=MC(l,2);if(I){const U=kW(FD(I),C?0:1,!1);if(U&&!U.typeParameters){if(D&8)return Mmt(l,D),Ri;const Z=jb(l),ce=Z.signature&&Zs(Z.signature),Fe=ce&&Kft(ce);if(Fe&&!Fe.typeParameters&&!ye(Z.inferences,gT)){const Te=ioi(Z,w.typeParameters),$e=ePe(w,Te),ut=Vt(Z.inferences,zt=>tMe(zt.typeParameter));if(YPe($e,U,(zt,gi)=>{AD(ut,zt,gi,0,!0)}),Oe(ut,gT)&&(QPe($e,U,(zt,gi)=>{AD(ut,zt,gi)}),!eoi(Z.inferences,ut)))return toi(Z.inferences,ut),Z.inferredTypeParameters=Hi(Z.inferredTypeParameters,Te),DF($e)}return DF(Wft(w,U,Z))}}}}return m}function Mmt(l,m){if(m&2){const D=jb(l);D.flags|=4}}function gT(l){return!!(l.candidates||l.contraCandidates)}function Xai(l){return!!(l.candidates||l.contraCandidates||kdt(l.typeParameter))}function eoi(l,m){for(let D=0;DD.symbol.escapedName===m)}function noi(l,m){let D=m.length;for(;D>1&&m.charCodeAt(D-1)>=48&&m.charCodeAt(D-1)<=57;)D--;const C=m.slice(0,D);for(let A=1;;A++){const w=C+A;if(!Dze(l,w))return w}}function zmt(l){const m=wF(l);if(m&&!m.typeParameters)return Zs(m)}function uoi(l){const m=ya(l.expression),D=gW(m,l.expression),C=zmt(m);return C&&sEe(C,l,D!==m)}function b1(l){const m=xze(l);if(m)return m;if(l.flags&268435456&&bn){const A=bn[$s(l)];if(A)return A}const D=Xi,C=ya(l,64);if(Xi!==D){const A=bn||(bn=[]);A[$s(l)]=C,_ke(l,l.flags|268435456)}return C}function xze(l){let m=l0(l,!0);if(tM(m)){const D=vY(m);if(!q3(D))return Ar(D)}if(m=l0(l),Gx(m)){const D=xze(m.expression);return D?NF(D):void 0}if(Mo(m)&&m.expression.kind!==108&&!xf(m,!0)&&!nmt(m))return $y(m)?uoi(m):zmt(hT(m.expression));if(Yy(m)&&!q3(m.type))return Ar(m.type);if(E2(l)||HN(l))return ya(l)}function gie(l){const m=ar(l);if(m.contextFreeType)return m.contextFreeType;Zte(l,me,!1);const D=m.contextFreeType=ya(l,4);return bW(),D}function ya(l,m,D){var C,A;(C=Gn)==null||C.push(Gn.Phase.Check,"checkExpression",{kind:l.kind,pos:l.pos,end:l.end,path:l.tracingPath});const w=K;K=l,z=0;const I=ooi(l,m,D),U=Pmt(l,I,m);return WEe(U)&&roi(l,U),K=w,(A=Gn)==null||A.pop(),U}function roi(l,m){l.parent.kind===211&&l.parent.expression===l||l.parent.kind===212&&l.parent.expression===l||(l.kind===80||l.kind===166)&&r_e(l)||l.parent.kind===186&&l.parent.exprName===l||l.parent.kind===281||pt(l,F.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),mg(ae)&&(H.assert(!!(m.symbol.flags&128)),m.symbol.valueDeclaration.flags&33554432&&!Tv(l)&&pt(l,F.Cannot_access_ambient_const_enums_when_0_is_enabled,ht))}function aoi(l,m){if(lm(l)){if(Ile(l))return aze(l.expression,Rle(l),m);if(tM(l))return omt(l,m)}return ya(l.expression,m)}function ooi(l,m,D){const C=l.kind;if(d)switch(C){case 231:case 218:case 219:d.throwIfCancellationRequested()}switch(C){case 80:return Hni(l,m);case 81:return rri(l);case 110:return Ute(l);case 108:return kMe(l);case 106:return Ct;case 15:case 11:return aMe(l)?mt:Z9(df(l.text));case 9:return eIe(l),Z9(wg(+l.text));case 10:return sci(l),Z9(jge({negative:!1,base10Value:SP(l.text)}));case 112:return du;case 97:return Ui;case 228:return qai(l);case 14:return Tl;case 209:return fft(l,m,D);case 210:return Iui(l,m);case 211:return TEe(l,m);case 166:return Bft(l,m);case 212:return vri(l,m);case 213:if(l.expression.kind===102)return Qri(l);case 214:return Yri(l,m);case 215:return Xri(l);case 217:return aoi(l,m);case 231:return Usi(l);case 218:case 219:return ymt(l,m);case 221:return Lai(l);case 216:case 234:return eai(l,m);case 235:return nai(l);case 233:return lmt(l);case 238:return uai(l);case 236:return rai(l);case 220:return wai(l);case 222:return Nai(l);case 223:return Pai(l);case 224:return Mai(l);case 225:return zai(l);case 226:return We(l,m);case 227:return Uai(l,m);case 230:return Tui(l,m);case 232:return we;case 229:return $ai(l);case 237:return Lui(l);case 294:return Qui(l,m);case 284:return Vui(l);case 285:return Oui(l);case 288:return Hui(l);case 292:return Wui(l,m);case 286:H.fail("Shouldn't ever directly check a JsxOpeningElement")}return Ot}function Imt(l){S3(l),l.expression&&r1(l.expression,F.Type_expected),ls(l.constraint),ls(l.default);const m=gF(_u(l));Wh(m),WXt(m)||pt(l.default,F.Type_parameter_0_has_a_circular_default,gn(m));const D=rh(m),C=_F(m);D&&C&&Ah(C,xm(_a(D,Mb(m,C)),C),l.default,F.Type_0_does_not_satisfy_the_constraint_1),eS(l),s(()=>Wz(l.name,F.Type_parameter_name_cannot_be_0))}function soi(l){var m,D;if(xh(l.parent)||mr(l.parent)||jp(l.parent)){const C=gF(_u(l)),A=HPe(C)&24576;if(A){const w=_u(l.parent);if(jp(l.parent)&&!(Gu(X0(w))&48))pt(l,F.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);else if(A===8192||A===16384){(m=Gn)==null||m.push(Gn.Phase.CheckTypes,"checkTypeParameterDeferred",{parent:Fh(X0(w)),id:Fh(C)});const I=zte(w,C,A===16384?tt:$),U=zte(w,C,A===16384?$:tt),Z=C;Y=C,Ah(I,U,l,F.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),Y=Z,(D=Gn)==null||D.pop()}}}}function Rmt(l){S3(l),vie(l);const m=Nm(l);Yu(l,31)&&(m.kind===176&&H4(m.body)||pt(l,F.A_parameter_property_is_only_allowed_in_a_constructor_implementation),m.kind===176&&at(l.name)&&l.name.escapedText==="constructor"&&pt(l.name,F.constructor_cannot_be_used_as_a_parameter_property_name)),!l.initializer&&PP(l)&&So(l.name)&&m.body&&pt(l,F.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),l.name&&at(l.name)&&(l.name.escapedText==="this"||l.name.escapedText==="new")&&(m.parameters.indexOf(l)!==0&&pt(l,F.A_0_parameter_must_be_the_first_parameter,l.name.escapedText),(m.kind===176||m.kind===180||m.kind===185)&&pt(l,F.A_constructor_cannot_have_a_this_parameter),m.kind===219&&pt(l,F.An_arrow_function_cannot_have_a_this_parameter),(m.kind===177||m.kind===178)&&pt(l,F.get_and_set_accessors_cannot_declare_this_parameters)),l.dotDotDotToken&&!So(l.name)&&!ms(Sg(Wn(l.symbol)),ip)&&pt(l,F.A_rest_parameter_must_be_of_an_array_type)}function loi(l){const m=coi(l);if(!m){pt(l,F.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}const D=dp(m),C=y4(D);if(!C)return;ls(l.type);const{parameterName:A}=l;if(C.kind===0||C.kind===2)Vge(A);else if(C.parameterIndex>=0){if(th(D)&&C.parameterIndex===D.parameters.length-1)pt(A,F.A_type_predicate_cannot_reference_a_rest_parameter);else if(C.type){const w=()=>ro(void 0,F.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);Ah(C.type,Wn(D.parameters[C.parameterIndex]),l.type,void 0,w)}}else if(A){let w=!1;for(const{name:I}of m.parameters)if(So(I)&&Omt(I,A,C.parameterName)){w=!0;break}w||pt(l.parameterName,F.Cannot_find_parameter_0,C.parameterName)}}function coi(l){switch(l.parent.kind){case 219:case 179:case 262:case 218:case 184:case 174:case 173:const m=l.parent;if(l===m.type)return m}}function Omt(l,m,D){for(const C of l.elements){if(Fd(C))continue;const A=C.name;if(A.kind===80&&A.escapedText===D)return pt(m,F.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,D),!0;if((A.kind===207||A.kind===206)&&Omt(A,m,D))return!0}}function TW(l){l.kind===181?zli(l):(l.kind===184||l.kind===262||l.kind===185||l.kind===179||l.kind===176||l.kind===180)&&d_e(l);const m=kd(l);m&4||((m&3)===3&&Ce<99&&rd(l,6144),(m&3)===2&&Ce<4&&rd(l,64),m&3&&Ce<2&&rd(l,128)),yie(Sx(l)),Gsi(l),L(l.parameters,Rmt),l.type&&ls(l.type),s(D);function D(){ssi(l);let C=U4(l),A=C;if(Qn(l)){const w=xv(l);if(w&&w.typeExpression&&X4(w.typeExpression.type)){const I=wF(Ar(w.typeExpression));I&&I.declaration&&(C=U4(I.declaration),A=w.typeExpression.type)}}if(Ae&&!C)switch(l.kind){case 180:pt(l,F.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 179:pt(l,F.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break}if(C&&A){const w=kd(l);if((w&5)===1){const I=Ar(C);I===ca?pt(A,F.A_generator_cannot_have_a_void_type_annotation):vze(I,w,A)}else(w&3)===2&&Voi(l,C,A)}l.kind!==181&&l.kind!==324&&T6(l)}}function vze(l,m,D){const C=Hb(0,l,(m&2)!==0)||me,A=Hb(1,l,(m&2)!==0)||C,w=Hb(2,l,(m&2)!==0)||on,I=_mt(C,A,w,!!(m&2));return Ah(I,l,D)}function doi(l){const m=new Map,D=new Map,C=new Map;for(const w of l.members)if(w.kind===176)for(const I of w.parameters)Mf(I,w)&&!So(I.name)&&A(m,I.name,I.name.escapedText,3);else{const I=No(w),U=w.name;if(!U)continue;const Z=Xr(U),ce=Z&&I?16:0,Fe=Z?C:I?D:m,Te=U&&tIe(U);if(Te)switch(w.kind){case 177:A(Fe,U,Te,1|ce);break;case 178:A(Fe,U,Te,2|ce);break;case 172:A(Fe,U,Te,3|ce);break;case 174:A(Fe,U,Te,8|ce);break}}function A(w,I,U,Z){const ce=w.get(U);if(ce)if((ce&16)!==(Z&16))pt(I,F.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,Hc(I));else{const Fe=!!(ce&8),Te=!!(Z&8);Fe||Te?Fe!==Te&&pt(I,F.Duplicate_identifier_0,Hc(I)):ce&Z&-17?pt(I,F.Duplicate_identifier_0,Hc(I)):w.set(U,ce|Z)}else w.set(U,Z)}}function hoi(l){for(const m of l.members){const D=m.name;if(No(m)&&D){const A=tIe(D);switch(A){case"name":case"length":case"caller":case"arguments":if(Se)break;case"prototype":const w=F.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,I=__(_u(l));pt(D,w,A,I);break}}}}function jmt(l){const m=new Map;for(const D of l.members)if(D.kind===171){let C;const A=D.name;switch(A.kind){case 11:case 9:C=A.text;break;case 80:C=fu(A);break;default:continue}m.get(C)?(pt(Za(D.symbol.valueDeclaration),F.Duplicate_identifier_0,C),pt(D.name,F.Duplicate_identifier_0,C)):m.set(C,!0)}}function Cze(l){if(l.kind===264){const D=_u(l);if(D.declarations&&D.declarations.length>0&&D.declarations[0]!==l)return}const m=Mdt(_u(l));if(m!=null&&m.declarations){const D=new Map;for(const C of m.declarations)C.parameters.length===1&&C.parameters[0].type&&FF(Ar(C.parameters[0].type),A=>{const w=D.get(Fh(A));w?w.declarations.push(C):D.set(Fh(A),{type:A,declarations:[C]})});D.forEach(C=>{if(C.declarations.length>1)for(const A of C.declarations)pt(A,F.Duplicate_index_signature_for_type_0,gn(C.type))})}}function Vmt(l){!S3(l)&&!uci(l)&&h_e(l.name),vie(l),bze(l),Yu(l,64)&&l.kind===172&&l.initializer&&pt(l,F.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,b0(l.name))}function foi(l){return Xr(l.name)&&pt(l,F.Private_identifiers_are_not_allowed_outside_class_bodies),Vmt(l)}function moi(l){rpt(l)||h_e(l.name),dc(l)&&l.asteriskToken&&at(l.name)&&fu(l.name)==="constructor"&&pt(l.name,F.Class_constructor_may_not_be_a_generator),e4t(l),Yu(l,64)&&l.kind===174&&l.body&&pt(l,F.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,b0(l.name)),Xr(l.name)&&!Yd(l)&&pt(l,F.Private_identifiers_are_not_allowed_outside_class_bodies),bze(l)}function bze(l){if(Xr(l.name)&&Ce<99){for(let m=YE(l);m;m=YE(m))ar(m).flags|=1048576;if(Xd(l.parent)){const m=vMe(l.parent);m&&(ar(l.name).flags|=32768,ar(m).flags|=4096)}}}function poi(l){S3(l),ao(l,ls)}function goi(l){TW(l),ici(l)||nci(l),ls(l.body);const m=_u(l),D=Sl(m,l.kind);if(l===D&&UEe(m),Ql(l.body))return;s(A);return;function C(w){return ph(w)?!0:w.kind===172&&!No(w)&&!!w.initializer}function A(){const w=l.parent;if(B2(w)){CMe(l.parent,w);const I=bMe(w),U=Yht(l.body);if(U){if(I&&pt(U,F.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),!Ne&&(Oe(l.parent.members,C)||Oe(l.parameters,ce=>Yu(ce,31))))if(!Eoi(U,l.body))pt(U,F.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers);else{let ce;for(const Fe of l.body.statements){if(Od(Fe)&&ik(Dc(Fe.expression))){ce=Fe;break}if(Hmt(Fe))break}ce===void 0&&pt(l,F.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}}else I||pt(l,F.Constructors_for_derived_classes_must_contain_a_super_call)}}}function Eoi(l,m){const D=i5(l.parent);return Od(D)&&D.parent===m}function Hmt(l){return l.kind===108||l.kind===110?!0:Xbe(l)?!1:!!ao(l,Hmt)}function Kmt(l){at(l.name)&&fu(l.name)==="constructor"&&mr(l.parent)&&pt(l.name,F.Class_constructor_may_not_be_an_accessor),s(m),ls(l.body),bze(l);function m(){if(!d_e(l)&&!Gli(l)&&h_e(l.name),_ie(l),TW(l),l.kind===177&&!(l.flags&33554432)&&H4(l.body)&&l.flags&512&&(l.flags&1024||pt(l.name,F.A_get_accessor_must_return_a_value)),l.name.kind===167&&F3(l.name),iT(l)){const C=_u(l),A=Sl(C,177),w=Sl(C,178);if(A&&w&&!(DT(A)&1)){ar(A).flags|=1;const I=Eh(A),U=Eh(w);(I&64)!==(U&64)&&(pt(A.name,F.Accessors_must_both_be_abstract_or_non_abstract),pt(w.name,F.Accessors_must_both_be_abstract_or_non_abstract)),(I&4&&!(U&6)||I&2&&!(U&2))&&(pt(A.name,F.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),pt(w.name,F.A_get_accessor_must_be_at_least_as_accessible_as_the_setter))}}const D=vC(_u(l));l.kind===177&&fze(l,D)}}function _oi(l){_ie(l)}function Doi(l,m,D){return l.typeArguments&&D{const C=yze(l);C&&Wmt(l,C)});const D=ar(l).resolvedSymbol;D&&Oe(D.declarations,C=>gB(C)&&!!(C.flags&536870912))&&m3(sie(l),D.declarations,D.escapedName)}}function voi(l){const m=ur(l.parent,$U);if(!m)return;const D=yze(m);if(!D)return;const C=rh(D[m.typeArguments.indexOf(l)]);return C&&_a(C,Sf(D,JEe(m,D)))}function Coi(l){Jdt(l)}function boi(l){L(l.members,ls),s(m);function m(){const D=N1t(l);t_e(D,D.symbol),Cze(l),jmt(l)}}function yoi(l){ls(l.elementType)}function koi(l){const m=l.elements;let D=!1,C=!1;for(const A of m){const w=dPe(A);if(w&8){const I=Ar(A.type);if(!H5(I)){pt(A,F.A_rest_element_type_must_be_an_array_type);break}(A4(I)||xs(I)&&I.target.combinedFlags&4)&&(C=!0)}else if(w&4){if(C){Zi(A,F.A_rest_element_cannot_follow_another_rest_element);break}C=!0}else if(w&2){if(C){Zi(A,F.An_optional_element_cannot_follow_a_rest_element);break}D=!0}else if(D){Zi(A,F.A_required_element_cannot_follow_an_optional_element);break}}L(l.elements,ls),Ar(l)}function Foi(l){L(l.types,ls),Ar(l)}function Jmt(l,m){if(!(l.flags&8388608))return l;const D=l.objectType,C=l.indexType;if(ms(C,k_(D,0)))return m.kind===212&&Q_(m)&&Gu(D)&32&&C_(D)&1&&pt(m,F.Index_signature_in_type_0_only_permits_reading,gn(D)),l;const A=Gh(D);if(k3(A,Qt)&&u1(C,296))return l;if(Lb(D)){const w=zge(C,m);if(w){const I=FF(A,U=>qo(U,w));if(I&&l4(I)&6)return pt(m,F.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,Yr(w)),Ot}}return pt(m,F.Type_0_cannot_be_used_to_index_type_1,gn(C),gn(D)),Ot}function Aoi(l){ls(l.objectType),ls(l.indexType),Jmt(A1t(l),l)}function Soi(l){Boi(l),ls(l.typeParameter),ls(l.nameType),ls(l.type),l.type||LC(l,me);const m=bPe(l),D=I5(m);if(D)Ah(D,vc,l.nameType);else{const C=cp(m);Ah(C,vc,w8(l.typeParameter))}}function Boi(l){var m;if((m=l.members)!=null&&m.length)return Zi(l.members[0],F.A_mapped_type_may_not_declare_properties_or_methods)}function woi(l){Vge(l)}function Toi(l){$li(l),ls(l.type)}function Loi(l){ao(l,ls)}function Noi(l){Tn(l,D=>D.parent&&D.parent.kind===194&&D.parent.extendsType===D)||Zi(l,F.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),ls(l.typeParameter);const m=_u(l.typeParameter);if(m.declarations&&m.declarations.length>1){const D=Ur(m);if(!D.typeParametersChecked){D.typeParametersChecked=!0;const C=gF(m),A=vbe(m,168);if(!v4t(A,[C],w=>[w])){const w=Fr(m);for(const I of A)pt(I.name,F.All_declarations_of_0_must_have_identical_constraints,w)}}}T6(l)}function Poi(l){for(const m of l.templateSpans){ls(m.type);const D=Ar(m.type);Ah(D,c0,m.type)}Ar(l)}function Moi(l){ls(l.argument),l.attributes&&qB(l.attributes,Zi),Gmt(l)}function zoi(l){l.dotDotDotToken&&l.questionToken&&Zi(l,F.A_tuple_member_cannot_be_both_optional_and_rest),l.type.kind===190&&Zi(l.type,F.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),l.type.kind===191&&Zi(l.type,F.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),ls(l.type),Ar(l)}function Eie(l){return(Rf(l,2)||ph(l))&&!!(l.flags&33554432)}function $Ee(l,m){let D=f_e(l);if(l.parent.kind!==264&&l.parent.kind!==263&&l.parent.kind!==231&&l.flags&33554432){const C=C0e(l);C&&C.flags&128&&!(D&128)&&!(rE(l.parent)&&_c(l.parent.parent)&&Yg(l.parent.parent))&&(D|=32),D|=128}return D&m}function UEe(l){s(()=>Ioi(l))}function Ioi(l){function m(Ii,Nn){return Nn!==void 0&&Nn.parent===Ii[0].parent?Nn:Ii[0]}function D(Ii,Nn,vn,An,_n){if((An^_n)!==0){const oo=$Ee(m(Ii,Nn),vn);L(Ii,Eo=>{const fo=$Ee(Eo,vn)^oo;fo&32?pt(Za(Eo),F.Overload_signatures_must_all_be_exported_or_non_exported):fo&128?pt(Za(Eo),F.Overload_signatures_must_all_be_ambient_or_non_ambient):fo&6?pt(Za(Eo)||Eo,F.Overload_signatures_must_all_be_public_private_or_protected):fo&64&&pt(Za(Eo),F.Overload_signatures_must_all_be_abstract_or_non_abstract)})}}function C(Ii,Nn,vn,An){if(vn!==An){const _n=d7(m(Ii,Nn));L(Ii,hu=>{d7(hu)!==_n&&pt(Za(hu),F.Overload_signatures_must_all_be_optional_or_required)})}}const A=230;let w=0,I=A,U=!1,Z=!0,ce=!1,Fe,Te,$e;const ut=l.declarations,zt=(l.flags&16384)!==0;function gi(Ii){if(Ii.name&&Ql(Ii.name))return;let Nn=!1;const vn=ao(Ii.parent,_n=>{if(Nn)return _n;Nn=_n===Ii});if(vn&&vn.pos===Ii.end&&vn.kind===Ii.kind){const _n=vn.name||vn,hu=vn.name;if(Ii.name&&hu&&(Xr(Ii.name)&&Xr(hu)&&Ii.name.escapedText===hu.escapedText||Ps(Ii.name)&&Ps(hu)&&CD(F3(Ii.name),F3(hu))||Xg(Ii.name)&&Xg(hu)&&oP(Ii.name)===oP(hu))){if((Ii.kind===174||Ii.kind===173)&&No(Ii)!==No(vn)){const Eo=No(Ii)?F.Function_overload_must_be_static:F.Function_overload_must_not_be_static;pt(_n,Eo)}return}if(H4(vn.body)){pt(_n,F.Function_implementation_name_must_be_0,b0(Ii.name));return}}const An=Ii.name||Ii;zt?pt(An,F.Constructor_implementation_is_missing):Yu(Ii,64)?pt(An,F.All_declarations_of_an_abstract_method_must_be_consecutive):pt(An,F.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}let Wi=!1,dn=!1,nu=!1;const En=[];if(ut)for(const Ii of ut){const Nn=Ii,vn=Nn.flags&33554432,An=Nn.parent&&(Nn.parent.kind===264||Nn.parent.kind===187)||vn;if(An&&($e=void 0),(Nn.kind===263||Nn.kind===231)&&!vn&&(nu=!0),Nn.kind===262||Nn.kind===174||Nn.kind===173||Nn.kind===176){En.push(Nn);const _n=$Ee(Nn,A);w|=_n,I&=_n,U=U||d7(Nn),Z=Z&&d7(Nn);const hu=H4(Nn.body);hu&&Fe?zt?dn=!0:Wi=!0:($e==null?void 0:$e.parent)===Nn.parent&&$e.end!==Nn.pos&&gi($e),hu?Fe||(Fe=Nn):ce=!0,$e=Nn,An||(Te=Nn)}if(Qn(Ii)&&Co(Ii)&&Ii.jsDoc){for(const _n of Ii.jsDoc)if(_n.tags)for(const hu of _n.tags)NB(hu)&&(ce=!0)}}if(dn&&L(En,Ii=>{pt(Ii,F.Multiple_constructor_implementations_are_not_allowed)}),Wi&&L(En,Ii=>{pt(Za(Ii)||Ii,F.Duplicate_function_implementation)}),nu&&!zt&&l.flags&16&&ut){const Ii=ti(ut,Nn=>Nn.kind===263).map(Nn=>Su(Nn,F.Consider_adding_a_declare_modifier_to_this_class));L(ut,Nn=>{const vn=Nn.kind===263?F.Class_declaration_cannot_implement_overload_list_for_0:Nn.kind===262?F.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;vn&&Es(pt(Za(Nn)||Nn,vn,lc(l)),...Ii)})}if(Te&&!Te.body&&!Yu(Te,64)&&!Te.questionToken&&gi(Te),ce&&(ut&&(D(ut,Fe,A,w,I),C(ut,Fe,U,Z)),Fe)){const Ii=wb(l),Nn=dp(Fe);for(const vn of Ii)if(!oii(Nn,vn)){const An=vn.declaration&&Ov(vn.declaration)?vn.declaration.parent.tagName:vn.declaration;Es(pt(An,F.This_overload_signature_is_not_compatible_with_its_implementation_signature),Su(Fe,F.The_implementation_signature_is_declared_here));break}}}function LW(l){s(()=>Roi(l))}function Roi(l){let m=l.localSymbol;if(!m&&(m=_u(l),!m.exportSymbol)||Sl(m,l.kind)!==l)return;let D=0,C=0,A=0;for(const ce of m.declarations){const Fe=Z(ce),Te=$Ee(ce,2080);Te&32?Te&2048?A|=Fe:D|=Fe:C|=Fe}const w=D|C,I=D&C,U=A&w;if(I||U)for(const ce of m.declarations){const Fe=Z(ce),Te=Za(ce);Fe&U?pt(Te,F.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,b0(Te)):Fe&I&&pt(Te,F.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,b0(Te))}function Z(ce){let Fe=ce;switch(Fe.kind){case 264:case 265:case 353:case 345:case 347:return 2;case 267:return N1(Fe)||oD(Fe)!==0?5:4;case 263:case 266:case 306:return 3;case 312:return 7;case 277:case 226:const Te=Fe,$e=tc(Te)?Te.expression:Te.right;if(!ec($e))return 1;Fe=$e;case 271:case 274:case 273:let ut=0;const zt=md(_u(Fe));return L(zt.declarations,gi=>{ut|=Z(gi)}),ut;case 260:case 208:case 262:case 276:case 80:return 1;case 173:case 171:return 2;default:return H.failBadSyntaxKind(Fe)}}}function jz(l,m,D,...C){const A=NW(l,m);return A&&NF(A,m,D,...C)}function NW(l,m,D){if(nt(l))return;const C=l;if(C.promisedTypeOfPromise)return C.promisedTypeOfPromise;if(CC(l,Fte(!1)))return C.promisedTypeOfPromise=O0(l)[0];if(mie(xD(l),402915324))return;const A=he(l,"then");if(nt(A))return;const w=A?go(A,0):_t;if(w.length===0){m&&pt(m,F.A_promise_must_have_a_then_method);return}let I,U;for(const Fe of w){const Te=kC(Fe);Te&&Te!==ca&&!bE(l,Te,h_)?I=Te:U=xi(U,Fe)}if(!U){H.assertIsDefined(I),D&&(D.value=I),m&&pt(m,F.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,gn(l),gn(I));return}const Z=mp(er(Vt(U,lze)),2097152);if(nt(Z))return;const ce=go(Z,0);if(ce.length===0){m&&pt(m,F.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback);return}return C.promisedTypeOfPromise=er(Vt(ce,lze),2)}function PW(l,m,D,C,...A){return(m?NF(l,D,C,...A):W5(l,D,C,...A))||Ot}function $mt(l){if(mie(xD(l),402915324))return!1;const m=he(l,"then");return!!m&&go(mp(m,2097152),0).length>0}function qEe(l){var m;if(l.flags&16777216){const D=cPe(!1);return!!D&&l.aliasSymbol===D&&((m=l.aliasTypeArguments)==null?void 0:m.length)===1}return!1}function Vz(l){return l.flags&1048576?hl(l,Vz):qEe(l)?l.aliasTypeArguments[0]:l}function Umt(l){if(nt(l)||qEe(l))return!1;if(Lb(l)){const m=Wh(l);if(m?m.flags&3||bD(m)||yE(m,$mt):jl(l,8650752))return!0}return!1}function Ooi(l){const m=cPe(!0);if(m)return aT(m,[Vz(l)])}function joi(l){if(Umt(l)){const m=Ooi(l);if(m)return m}return H.assert(qEe(l)||NW(l)===void 0,"type provided should not be a non-generic 'promise'-like."),l}function NF(l,m,D,...C){const A=W5(l,m,D,...C);return A&&joi(A)}function W5(l,m,D,...C){if(nt(l)||qEe(l))return l;const A=l;if(A.awaitedTypeOfType)return A.awaitedTypeOfType;if(l.flags&1048576){if(fE.lastIndexOf(l.id)>=0){m&&pt(m,F.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}const U=m?ce=>W5(ce,m,D,...C):W5;fE.push(l.id);const Z=hl(l,U);return fE.pop(),A.awaitedTypeOfType=Z}if(Umt(l))return A.awaitedTypeOfType=l;const w={value:void 0},I=NW(l,void 0,w);if(I){if(l.id===I.id||fE.lastIndexOf(I.id)>=0){m&&pt(m,F.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}fE.push(l.id);const U=W5(I,m,D,...C);return fE.pop(),U?A.awaitedTypeOfType=U:void 0}if($mt(l)){if(m){H.assertIsDefined(D);let U;w.value&&(U=ro(U,F.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,gn(l),gn(w.value))),U=ro(U,D,...C),Vs.add(Y3(zn(m),m,U))}return}return A.awaitedTypeOfType=l}function Voi(l,m,D){const C=Ar(m);if(Ce>=2){if(Nt(C))return;const w=Fte(!0);if(w!==Ka&&!CC(C,w)){A(F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,m,D,gn(W5(C)||ca));return}}else{if(Koi(m),Nt(C))return;const w=pj(m);if(w===void 0){A(F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,m,D,gn(C));return}const I=R0(w,111551,!0),U=I?Wn(I):Ot;if(Nt(U)){w.kind===80&&w.escapedText==="Promise"&&eT(C)===Fte(!1)?pt(D,F.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):A(F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,m,D,zf(w));return}const Z=Eei(!0);if(Z===Ko){A(F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,m,D,zf(w));return}const ce=F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value;if(!Ah(U,Z,D,ce,()=>m===D?void 0:ro(void 0,F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type)))return;const Te=w&&hm(w),$e=kf(l.locals,Te.escapedText,111551);if($e){pt($e.valueDeclaration,F.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,fu(Te),zf(w));return}}PW(C,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);function A(w,I,U,Z){if(I===U)pt(U,w,Z);else{const ce=pt(U,F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type);Es(ce,Su(I,w,Z))}}}function Hoi(l){const m=mT(l);VEe(m,l);const D=Zs(m);if(D.flags&1)return;const C=hze(l);if(!(C!=null&&C.resolvedReturnType))return;let A;const w=C.resolvedReturnType;switch(l.parent.kind){case 263:case 231:A=F.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;case 172:if(!ve){A=F.Decorator_function_return_type_0_is_not_assignable_to_type_1;break}case 169:A=F.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;break;case 174:case 177:case 178:A=F.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;default:return H.failBadSyntaxKind(l.parent)}Ah(D,w,l.expression,A)}function MW(l,m,D,C,A,w=D.length,I=0){const U=q.createFunctionTypeNode(void 0,_t,q.createKeywordTypeNode(133));return y3(U,l,m,D,C,A,w,I)}function Fze(l,m,D,C,A,w,I){const U=MW(l,m,D,C,A,w,I);return DF(U)}function qmt(l){return Fze(void 0,void 0,_t,l)}function Zmt(l){const m=yg("value",l);return Fze(void 0,void 0,[m],ca)}function Koi(l){Ymt(l&&pj(l),!1)}function Ymt(l,m){if(!l)return;const D=hm(l),C=(l.kind===80?788968:1920)|2097152,A=uc(D,D.escapedText,C,void 0,void 0,!0);if(A&&A.flags&2097152){if(Ut&&l6(A)&&!OW(md(A))&&!_4(A))T5(A);else if(m&&mg(ae)&&m1(ae)>=5&&!l6(A)&&!Oe(A.declarations,_2)){const w=pt(l,F.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled),I=Le(A.declarations||_t,sC);I&&Es(w,Su(I,F._0_was_imported_here,fu(D)))}}}function ET(l){const m=Aze(l);m&&sm(m)&&Ymt(m,!0)}function Aze(l){if(l)switch(l.kind){case 193:case 192:return Qmt(l.types);case 194:return Qmt([l.trueType,l.falseType]);case 196:case 202:return Aze(l.type);case 183:return l.typeName}}function Qmt(l){let m;for(let D of l){for(;D.kind===196||D.kind===202;)D=D.type;if(D.kind===146||!fe&&(D.kind===201&&D.literal.kind===106||D.kind===157))continue;const C=Aze(D);if(!C)return;if(m){if(!at(m)||!at(C)||m.escapedText!==C.escapedText)return}else m=C}return m}function ZEe(l){const m=f1(l);return $_(l)?F0e(m):m}function _ie(l){if(!Ak(l)||!o4(l)||!l.modifiers||!gq(ve,l,l.parent,l.parent.parent))return;const m=Le(l.modifiers,g1);if(m){if(ve?(rd(m,8),l.kind===169&&rd(m,32)):Ce<99&&(rd(m,8),Wc(l)?l.name?C4t(l)&&rd(m,8388608):rd(m,8388608):Xd(l)||(Xr(l.name)&&(dc(l)||wx(l)||ef(l))&&rd(m,8388608),Ps(l.name)&&rd(m,16777216))),ae.emitDecoratorMetadata)switch(rd(m,16),l.kind){case 263:const D=X_(l);if(D)for(const I of D.parameters)ET(ZEe(I));break;case 177:case 178:const C=l.kind===177?178:177,A=Sl(_u(l),C);ET(i0(l)||A&&i0(A));break;case 174:for(const I of l.parameters)ET(ZEe(I));ET(U4(l));break;case 172:ET(f1(l));break;case 169:ET(ZEe(l));const w=l.parent;for(const I of w.parameters)ET(ZEe(I));ET(U4(w));break}for(const D of l.modifiers)g1(D)&&Hoi(D)}}function Woi(l){s(m);function m(){e4t(l),Zze(l),Hz(l,l.name)}}function Goi(l){l.typeExpression||pt(l.name,F.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),l.name&&Wz(l.name,F.Type_alias_name_cannot_be_0),ls(l.typeExpression),yie(Sx(l))}function Joi(l){ls(l.constraint);for(const m of l.typeParameters)ls(m)}function $oi(l){ls(l.typeExpression)}function Uoi(l){ls(l.typeExpression);const m=ok(l);if(m){const D=Vse(m,_Y);if(S(D)>1)for(let C=1;C0),D.length>1&&pt(D[1],F.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);const C=Xmt(l.class.expression),A=B2(m);if(A){const w=Xmt(A.expression);w&&C.escapedText!==w.escapedText&&pt(C,F.JSDoc_0_1_does_not_match_the_extends_2_clause,fu(l.tagName),fu(C),fu(w))}}function isi(l){const m=h7(l);m&&ph(m)&&pt(l,F.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function Xmt(l){switch(l.kind){case 80:return l;case 211:return l.name;default:return}}function e4t(l){var m;_ie(l),TW(l);const D=kd(l);if(l.name&&l.name.kind===167&&F3(l.name),iT(l)){const w=_u(l),I=l.localSymbol||w,U=(m=I.declarations)==null?void 0:m.find(Z=>Z.kind===l.kind&&!(Z.flags&524288));l===U&&UEe(I),w.parent&&UEe(w)}const C=l.kind===173?void 0:l.body;if(ls(C),fze(l,uT(l)),s(A),Qn(l)){const w=xv(l);w&&w.typeExpression&&!TMe(Ar(w.typeExpression),l)&&pt(w.typeExpression.type,F.The_type_of_a_function_declaration_must_match_the_function_s_signature)}function A(){U4(l)||(Ql(C)&&!Eie(l)&&LC(l,me),D&1&&H4(C)&&Zs(dp(l)))}}function T6(l){s(m);function m(){const D=zn(l);let C=b5.get(D.path);C||(C=[],b5.set(D.path,C)),C.push(l)}}function t4t(l,m){for(const D of l)switch(D.kind){case 263:case 231:nsi(D,m),Sze(D,m);break;case 312:case 267:case 241:case 269:case 248:case 249:case 250:u4t(D,m);break;case 176:case 218:case 262:case 219:case 174:case 177:case 178:D.body&&u4t(D,m),Sze(D,m);break;case 173:case 179:case 180:case 184:case 185:case 265:case 264:Sze(D,m);break;case 195:usi(D,m);break;default:H.assertNever(D,"Node should not have been registered for unused identifiers check")}}function i4t(l,m,D){const C=Za(l)||l,A=gB(l)?F._0_is_declared_but_never_used:F._0_is_declared_but_its_value_is_never_read;D(l,0,Su(C,A,m))}function zW(l){return at(l)&&fu(l).charCodeAt(0)===95}function nsi(l,m){for(const D of l.members)switch(D.kind){case 174:case 172:case 177:case 178:if(D.kind===178&&D.symbol.flags&32768)break;const C=_u(D);!C.isReferenced&&(Rf(D,2)||mh(D)&&Xr(D.name))&&!(D.flags&33554432)&&m(D,0,Su(D.name,F._0_is_declared_but_its_value_is_never_read,Fr(C)));break;case 176:for(const A of D.parameters)!A.symbol.isReferenced&&Yu(A,2)&&m(A,0,Su(A.name,F.Property_0_is_declared_but_its_value_is_never_read,lc(A.symbol)));break;case 181:case 240:case 175:break;default:H.fail("Unexpected class member")}}function usi(l,m){const{typeParameter:D}=l;Bze(D)&&m(l,1,Su(l,F._0_is_declared_but_its_value_is_never_read,fu(D.name)))}function Sze(l,m){const D=_u(l).declarations;if(!D||Cr(D)!==l)return;const C=Sx(l),A=new Set;for(const w of C){if(!Bze(w))continue;const I=fu(w.name),{parent:U}=w;if(U.kind!==195&&U.typeParameters.every(Bze)){if(r0(A,U)){const Z=zn(U),ce=_g(U)?Tle(U):Lle(Z,U.typeParameters),Te=U.typeParameters.length===1?[F._0_is_declared_but_its_value_is_never_read,I]:[F.All_type_parameters_are_unused];m(w,1,Rd(Z,ce.pos,ce.end-ce.pos,...Te))}}else m(w,1,Su(w,F._0_is_declared_but_its_value_is_never_read,I))}}function Bze(l){return!(Ks(l.symbol).isReferenced&262144)&&!zW(l.name)}function Die(l,m,D,C){const A=String(C(m)),w=l.get(A);w?w[1].push(D):l.set(A,[m,[D]])}function n4t(l){return ur(XE(l),io)}function rsi(l){return js(l)?Rp(l.parent)?!!(l.propertyName&&zW(l.name)):zW(l.name):N1(l)||(na(l)&&M8(l.parent.parent)||r4t(l))&&zW(l.name)}function u4t(l,m){const D=new Map,C=new Map,A=new Map;l.locals.forEach(w=>{if(!(w.flags&262144?!(w.flags&3&&!(w.isReferenced&3)):w.isReferenced||w.exportSymbol)&&w.declarations){for(const I of w.declarations)if(!rsi(I))if(r4t(I))Die(D,osi(I),I,$s);else if(js(I)&&Rp(I.parent)){const U=Cr(I.parent.elements);(I===U||!Cr(I.parent.elements).dotDotDotToken)&&Die(C,I.parent,I,$s)}else if(na(I)){const U=Gb(I)&7,Z=Za(I);(U!==4&&U!==6||!Z||!zW(Z))&&Die(A,I.parent,I,$s)}else{const U=w.valueDeclaration&&n4t(w.valueDeclaration),Z=w.valueDeclaration&&Za(w.valueDeclaration);U&&Z?!Mf(U,U.parent)&&!L2(U)&&!zW(Z)&&(js(I)&&_k(I.parent)?Die(C,I.parent,I,$s):m(U,1,Su(Z,F._0_is_declared_but_its_value_is_never_read,lc(w)))):i4t(I,lc(w),m)}}}),D.forEach(([w,I])=>{const U=w.parent;if((w.name?1:0)+(w.namedBindings?w.namedBindings.kind===274?1:w.namedBindings.elements.length:0)===I.length)m(U,0,I.length===1?Su(U,F._0_is_declared_but_its_value_is_never_read,fu(Pn(I).name)):Su(U,F.All_imports_in_import_declaration_are_unused));else for(const ce of I)i4t(ce,fu(ce.name),m)}),C.forEach(([w,I])=>{const U=n4t(w.parent)?1:0;if(w.elements.length===I.length)I.length===1&&w.parent.kind===260&&w.parent.parent.kind===261?Die(A,w.parent.parent,w.parent,$s):m(w,U,I.length===1?Su(w,F._0_is_declared_but_its_value_is_never_read,xie(Pn(I).name)):Su(w,F.All_destructured_elements_are_unused));else for(const Z of I)m(Z,U,Su(Z,F._0_is_declared_but_its_value_is_never_read,xie(Z.name)))}),A.forEach(([w,I])=>{if(w.declarations.length===I.length)m(w,0,I.length===1?Su(Pn(I).name,F._0_is_declared_but_its_value_is_never_read,xie(Pn(I).name)):Su(w.parent.kind===243?w.parent:w,F.All_variables_are_unused));else for(const U of I)m(U,0,Su(U,F._0_is_declared_but_its_value_is_never_read,xie(U.name)))})}function asi(){var l;for(const m of hb)if(!((l=_u(m))!=null&&l.isReferenced)){const D=S8(m);H.assert(w2(D),"Only parameter declaration should be checked here");const C=Su(m.name,F._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation,b0(m.name),b0(m.propertyName));D.type||Es(C,Rd(zn(D),D.end,1,F.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here,b0(m.propertyName))),Vs.add(C)}}function xie(l){switch(l.kind){case 80:return fu(l);case 207:case 206:return xie(Po(Pn(l.elements),js).name);default:return H.assertNever(l)}}function r4t(l){return l.kind===273||l.kind===276||l.kind===274}function osi(l){return l.kind===273?l:l.kind===274?l.parent:l.parent.parent}function YEe(l){if(l.kind===241&&SD(l),Zse(l)){const m=Ti;L(l.statements,ls),Ti=m}else L(l.statements,ls);l.locals&&T6(l)}function ssi(l){Ce>=2||!u0e(l)||l.flags&33554432||Ql(l.body)||L(l.parameters,m=>{m.name&&!So(m.name)&&m.name.escapedText===It.escapedName&&A5("noEmit",m,F.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function IW(l,m,D){if((m==null?void 0:m.escapedText)!==D||l.kind===172||l.kind===171||l.kind===174||l.kind===173||l.kind===177||l.kind===178||l.kind===303||l.flags&33554432||(n_(l)||E1(l)||bf(l))&&_2(l))return!1;const C=XE(l);return!(io(C)&&Ql(C.parent.body))}function lsi(l){Tn(l,m=>DT(m)&4?(l.kind!==80?pt(Za(l),F.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):pt(l,F.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0):!1)}function csi(l){Tn(l,m=>DT(m)&8?(l.kind!==80?pt(Za(l),F.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):pt(l,F.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0):!1)}function dsi(l,m){if(ne>=5&&!(ne>=100&&zn(l).impliedNodeFormat===1)||!m||!IW(l,m,"require")&&!IW(l,m,"exports")||_c(l)&&oD(l)!==1)return;const D=dF(l);D.kind===312&&cm(D)&&A5("noEmit",m,F.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,b0(m),b0(m))}function hsi(l,m){if(!m||Ce>=4||!IW(l,m,"Promise")||_c(l)&&oD(l)!==1)return;const D=dF(l);D.kind===312&&cm(D)&&D.flags&4096&&A5("noEmit",m,F.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,b0(m),b0(m))}function fsi(l,m){Ce<=8&&(IW(l,m,"WeakMap")||IW(l,m,"WeakSet"))&&iC.push(l)}function msi(l){const m=YE(l);DT(m)&1048576&&(H.assert(mh(l)&&at(l.name)&&typeof l.name.escapedText=="string","The target of a WeakMap/WeakSet collision check should be an identifier"),A5("noEmit",l,F.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,l.name.escapedText))}function psi(l,m){m&&Ce>=2&&Ce<=8&&IW(l,m,"Reflect")&&y5.push(l)}function gsi(l){let m=!1;if(Xd(l)){for(const D of l.members)if(DT(D)&2097152){m=!0;break}}else if(A0(l))DT(l)&2097152&&(m=!0);else{const D=YE(l);D&&DT(D)&2097152&&(m=!0)}m&&(H.assert(mh(l)&&at(l.name),"The target of a Reflect collision check should be an identifier"),A5("noEmit",l,F.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,b0(l.name),"Reflect"))}function Hz(l,m){m&&(dsi(l,m),hsi(l,m),fsi(l,m),psi(l,m),mr(l)?(Wz(m,F.Class_name_cannot_be_0),l.flags&33554432||Wsi(m)):Iv(l)&&Wz(m,F.Enum_name_cannot_be_0))}function Esi(l){if(Gb(l)&7||w2(l))return;const m=_u(l);if(m.flags&1){if(!at(l.name))return H.fail();const D=uc(l,l.name.escapedText,3,void 0,void 0,!1);if(D&&D!==m&&D.flags&2&&OMe(D)&7){const C=Fv(D.valueDeclaration,261),A=C.parent.kind===243&&C.parent.parent?C.parent.parent:void 0;if(!(A&&(A.kind===241&&Co(A.parent)||A.kind===268||A.kind===267||A.kind===312))){const I=Fr(D);pt(l,F.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,I,I)}}}}function RW(l){return l===ni?me:l===Nc?ql:l}function vie(l){var m;if(_ie(l),js(l)||ls(l.type),!l.name)return;if(l.name.kind===167&&(F3(l.name),Qy(l)&&l.initializer&&Rc(l.initializer)),js(l)){if(l.propertyName&&at(l.name)&&w2(l)&&Ql(Nm(l).body)){hb.push(l);return}Rp(l.parent)&&l.dotDotDotToken&&Ce<5&&rd(l,4),l.propertyName&&l.propertyName.kind===167&&F3(l.propertyName);const A=l.parent.parent,w=l.dotDotDotToken?32:0,I=bi(A,w),U=l.propertyName||l.name;if(I&&!So(U)){const Z=j5(U);if(Y4(Z)){const ce=Q4(Z),Fe=qo(I,ce);Fe&&(nie(Fe,void 0,!1),VMe(l,!!A.initializer&&A.initializer.kind===108,!1,I,Fe))}}}if(So(l.name)&&(l.name.kind===207&&Ce<2&&ae.downlevelIteration&&rd(l,512),L(l.name.elements,ls)),l.initializer&&w2(l)&&Ql(Nm(l).body)){pt(l,F.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(So(l.name)){if(hMe(l))return;const A=Qy(l)&&l.initializer&&l.parent.parent.kind!==249,w=!Oe(l.name.elements,X$(Fd));if(A||w){const I=N(l);if(A){const U=Rc(l.initializer);fe&&w?Sft(U,l):A6(U,N(l),l,l.initializer)}w&&(_k(l.name)?G5(65,I,te,l):fe&&Sft(I,l))}return}const D=_u(l);if(D.flags&2097152&&(F2(l)||nye(l))){i_e(l);return}const C=RW(Wn(D));if(l===D.valueDeclaration){const A=Qy(l)&&Dj(l);if(A&&!(Qn(l)&&ys(A)&&(A.properties.length===0||Ox(l.name))&&!!((m=D.exports)!=null&&m.size))&&l.parent.parent.kind!==249){const I=Rc(A);A6(I,C,l,A,void 0);const U=Gb(l)&7;if(U===6){const Z=Fei(!0),ce=t1t(!0);if(Z!==Ko&&ce!==Ko){const Fe=er([Z,ce,it,te]);Ah(I,Fe,A,F.The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined)}}else if(U===4){const Z=t1t(!0);if(Z!==Ko){const ce=er([Z,it,te]);Ah(I,ce,A,F.The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined)}}}D.declarations&&D.declarations.length>1&&Oe(D.declarations,w=>w!==l&&G8(w)&&!o4t(w,l))&&pt(l.name,F.All_declarations_of_0_must_have_identical_modifiers,b0(l.name))}else{const A=RW(N(l));!Nt(C)&&!Nt(A)&&!CD(C,A)&&!(D.flags&67108864)&&a4t(D.valueDeclaration,C,l,A),Qy(l)&&l.initializer&&A6(Rc(l.initializer),A,l,l.initializer,void 0),D.valueDeclaration&&!o4t(l,D.valueDeclaration)&&pt(l.name,F.All_declarations_of_0_must_have_identical_modifiers,b0(l.name))}l.kind!==172&&l.kind!==171&&(LW(l),(l.kind===260||l.kind===208)&&Esi(l),Hz(l,l.name))}function a4t(l,m,D,C){const A=Za(D),w=D.kind===172||D.kind===171?F.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:F.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,I=b0(A),U=pt(A,w,I,gn(m),gn(C));l&&Es(U,Su(l,F._0_was_also_declared_here,I))}function o4t(l,m){if(l.kind===169&&m.kind===260||l.kind===260&&m.kind===169)return!0;if(d7(l)!==d7(m))return!1;const D=1358;return E7(l,D)===E7(m,D)}function _si(l){var m,D;(m=Gn)==null||m.push(Gn.Phase.Check,"checkVariableDeclaration",{kind:l.kind,pos:l.pos,end:l.end,path:l.tracingPath}),Qli(l),vie(l),(D=Gn)==null||D.pop()}function Dsi(l){return qli(l),vie(l)}function QEe(l){const m=QD(l)&7;(m===4||m===6)&&rd(l,33554432),L(l.declarations,ls)}function xsi(l){!S3(l)&&!Xze(l.declarationList)&&Xli(l),QEe(l.declarationList)}function vsi(l){SD(l),ya(l.expression)}function Csi(l){SD(l);const m=Kz(l.expression);wze(l.expression,m,l.thenStatement),ls(l.thenStatement),l.thenStatement.kind===242&&pt(l.thenStatement,F.The_body_of_an_if_statement_cannot_be_the_empty_statement),ls(l.elseStatement)}function wze(l,m,D){if(!fe)return;C(l,D);function C(w,I){for(w=l0(w),A(w,I);Xn(w)&&(w.operatorToken.kind===57||w.operatorToken.kind===61);)w=l0(w.left),A(w,I)}function A(w,I){const U=Gj(w)?l0(w.right):w;if(Y_(U))return;if(Gj(U)){C(U,I);return}const Z=U===w?m:Kz(U),ce=Iu(U)&&Tmt(U.expression);if(!fp(Z,4194304)||ce)return;const Fe=go(Z,0),Te=!!jz(Z);if(Fe.length===0&&!Te)return;const $e=at(U)?U:Iu(U)?U.name:void 0,ut=$e&&Yp($e);if(!ut&&!Te)return;ut&&Xn(w.parent)&&ysi(w.parent,ut)||ut&&I&&bsi(w,I,$e,ut)||(Te?bh(U,!0,F.This_condition_will_always_return_true_since_this_0_is_always_defined,P5(Z)):pt(U,F.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}function bsi(l,m,D,C){return!!ao(m,function A(w){if(at(w)){const I=Yp(w);if(I&&I===C){if(at(l)||at(D)&&Xn(D.parent))return!0;let U=D.parent,Z=w.parent;for(;U&&Z;){if(at(U)&&at(Z)||U.kind===110&&Z.kind===110)return Yp(U)===Yp(Z);if(Iu(U)&&Iu(Z)){if(Yp(U.name)!==Yp(Z.name))return!1;Z=Z.expression,U=U.expression}else if(Mo(U)&&Mo(Z))Z=Z.expression,U=U.expression;else return!1}}}return ao(w,A)})}function ysi(l,m){for(;Xn(l)&&l.operatorToken.kind===56;){if(ao(l.right,function C(A){if(at(A)){const w=Yp(A);if(w&&w===m)return!0}return ao(A,C)}))return!0;l=l.parent}return!1}function ksi(l){SD(l),ls(l.statement),Kz(l.expression)}function Fsi(l){SD(l),Kz(l.expression),ls(l.statement)}function Tze(l,m){return l.flags&16384&&pt(m,F.An_expression_of_type_void_cannot_be_tested_for_truthiness),l}function Kz(l,m){return Tze(ya(l,m),l)}function Asi(l){SD(l)||l.initializer&&l.initializer.kind===261&&Xze(l.initializer),l.initializer&&(l.initializer.kind===261?QEe(l.initializer):ya(l.initializer)),l.condition&&Kz(l.condition),l.incrementor&&ya(l.incrementor),ls(l.statement),l.locals&&T6(l)}function Ssi(l){upt(l);const m=dq(l);if(l.awaitModifier?m&&zl(m)?Zi(l.awaitModifier,F.for_await_loops_cannot_be_used_inside_a_class_static_block):(kd(m)&6)===2&&Ce<99&&rd(l,16384):ae.downlevelIteration&&Ce<2&&rd(l,256),l.initializer.kind===261)QEe(l.initializer);else{const D=l.initializer,C=Cie(l);if(D.kind===209||D.kind===210)LF(D,C||Ot);else{const A=ya(D);BW(D,F.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,F.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),C&&A6(C,A,D,l.expression)}}ls(l.statement),l.locals&&T6(l)}function Bsi(l){upt(l);const m=HMe(ya(l.expression));if(l.initializer.kind===261){const D=l.initializer.declarations[0];D&&So(D.name)&&pt(D.name,F.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),QEe(l.initializer)}else{const D=l.initializer,C=ya(D);D.kind===209||D.kind===210?pt(D,F.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):ms(hti(m),C)?BW(D,F.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,F.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):pt(D,F.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(m===Ku||!u1(m,126091264))&&pt(l.expression,F.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,gn(m)),ls(l.statement),l.locals&&T6(l)}function Cie(l){const m=l.awaitModifier?15:13;return G5(m,hT(l.expression),te,l.expression)}function G5(l,m,D,C){return nt(m)?m:Lze(l,m,D,C,!0)||me}function Lze(l,m,D,C,A){const w=(l&2)!==0;if(m===Ku){Ize(C,m,w);return}const I=Ce>=2,U=!I&&ae.downlevelIteration,Z=ae.noUncheckedIndexedAccess&&!!(l&128);if(I||U||w){const zt=e_e(m,l,I?C:void 0);if(A&&zt){const gi=l&8?F.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:l&32?F.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:l&64?F.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:l&16?F.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;gi&&Ah(D,zt.nextType,C,gi)}if(zt||I)return Z?vW(zt&&zt.yieldType):zt&&zt.yieldType}let ce=m,Fe=!1,Te=!1;if(l&4){if(ce.flags&1048576){const zt=m.types,gi=ti(zt,Wi=>!(Wi.flags&402653316));gi!==zt&&(ce=er(gi,2))}else ce.flags&402653316&&(ce=Ku);if(Te=ce!==m,Te&&(Ce<1&&C&&(pt(C,F.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),Fe=!0),ce.flags&131072))return Z?vW(ct):ct}if(!H5(ce)){if(C&&!Fe){const zt=!!(l&4)&&!Te,[gi,Wi]=ut(zt,U);bh(C,Wi&&!!jz(ce),gi,gn(ce))}return Te?Z?vW(ct):ct:void 0}const $e=yC(ce,Qt);if(Te&&$e)return $e.flags&402653316&&!ae.noUncheckedIndexedAccess?ct:er(Z?[$e,ct,te]:[$e,ct],2);return l&128?vW($e):$e;function ut(zt,gi){var Wi;return gi?zt?[F.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[F.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:Nze(l,0,m,void 0)?[F.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!1]:wsi((Wi=m.symbol)==null?void 0:Wi.escapedName)?[F.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:zt?[F.Type_0_is_not_an_array_type_or_a_string_type,!0]:[F.Type_0_is_not_an_array_type,!0]}}function wsi(l){switch(l){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}function Nze(l,m,D,C){if(nt(D))return;const A=e_e(D,l,C);return A&&A[Bet(m)]}function J5(l=Ku,m=Ku,D=on){if(l.flags&67359327&&m.flags&180227&&D.flags&180227){const C=hp([l,m,D]);let A=Nr.get(C);return A||(A={yieldType:l,returnType:m,nextType:D},Nr.set(C,A)),A}return{yieldType:l,returnType:m,nextType:D}}function s4t(l){let m,D,C;for(const A of l)if(!(A===void 0||A===Vu)){if(A===Ss)return Ss;m=xi(m,A.yieldType),D=xi(D,A.returnType),C=xi(C,A.nextType)}return m||D||C?J5(m&&er(m),D&&er(D),C&&Ds(C)):Vu}function XEe(l,m){return l[m]}function A3(l,m,D){return l[m]=D}function e_e(l,m,D){var C,A;if(nt(l))return Ss;if(!(l.flags&1048576)){const ce=D?{errors:void 0}:void 0,Fe=l4t(l,m,D,ce);if(Fe===Vu){if(D){const Te=Ize(D,l,!!(m&2));ce!=null&&ce.errors&&Es(Te,...ce.errors)}return}else if((C=ce==null?void 0:ce.errors)!=null&&C.length)for(const Te of ce.errors)Vs.add(Te);return Fe}const w=m&2?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",I=XEe(l,w);if(I)return I===Vu?void 0:I;let U;for(const ce of l.types){const Fe=D?{errors:void 0}:void 0,Te=l4t(ce,m,D,Fe);if(Te===Vu){if(D){const $e=Ize(D,l,!!(m&2));Fe!=null&&Fe.errors&&Es($e,...Fe.errors)}A3(l,w,Vu);return}else if((A=Fe==null?void 0:Fe.errors)!=null&&A.length)for(const $e of Fe.errors)Vs.add($e);U=xi(U,Te)}const Z=U?s4t(U):Vu;return A3(l,w,Z),Z===Vu?void 0:Z}function Pze(l,m){if(l===Vu)return Vu;if(l===Ss)return Ss;const{yieldType:D,returnType:C,nextType:A}=l;return m&&cPe(!0),J5(NF(D,m)||me,NF(C,m)||me,A)}function l4t(l,m,D,C){if(nt(l))return Ss;let A=!1;if(m&2){const w=Mze(l,S0)||d4t(l,S0);if(w)if(w===Vu&&D)A=!0;else return m&8?Pze(w,D):w}if(m&1){let w=Mze(l,ud)||d4t(l,ud);if(w)if(w===Vu&&D)A=!0;else if(m&2){if(w!==Vu)return w=Pze(w,D),A?w:A3(l,"iterationTypesOfAsyncIterable",w)}else return w}if(m&2){const w=zze(l,S0,D,C,A);if(w!==Vu)return w}if(m&1){let w=zze(l,ud,D,C,A);if(w!==Vu)return m&2?(w=Pze(w,D),A?w:A3(l,"iterationTypesOfAsyncIterable",w)):w}return Vu}function Mze(l,m){return XEe(l,m.iterableCacheKey)}function c4t(l,m){const D=Mze(l,m)||zze(l,m,void 0,void 0,!1);return D===Vu?nd:D}function d4t(l,m){let D;if(CC(l,D=m.getGlobalIterableType(!1))||CC(l,D=m.getGlobalIterableIteratorType(!1))){const[C]=O0(l),{returnType:A,nextType:w}=c4t(D,m);return A3(l,m.iterableCacheKey,J5(m.resolveIterationType(C,void 0)||C,m.resolveIterationType(A,void 0)||A,w))}if(CC(l,m.getGlobalGeneratorType(!1))){const[C,A,w]=O0(l);return A3(l,m.iterableCacheKey,J5(m.resolveIterationType(C,void 0)||C,m.resolveIterationType(A,void 0)||A,w))}}function h4t(l){const m=Qdt(!1),D=m&&he(Wn(m),Al(l));return D&&Y4(D)?Q4(D):`__@${l}`}function zze(l,m,D,C,A){const w=qo(l,h4t(m.iteratorSymbolName)),I=w&&!(w.flags&16777216)?Wn(w):void 0;if(nt(I))return A?Ss:A3(l,m.iterableCacheKey,Ss);const U=I?go(I,0):void 0;if(!Oe(U))return A?Vu:A3(l,m.iterableCacheKey,Vu);const Z=Ds(Vt(U,Zs)),ce=f4t(Z,m,D,C,A)??Vu;return A?ce:A3(l,m.iterableCacheKey,ce)}function Ize(l,m,D){const C=D?F.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:F.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator,A=!!jz(m)||!D&&SV(l.parent)&&l.parent.expression===l&&Mge(!1)!==Ka&&ms(m,Mge(!1));return bh(l,A,C,gn(m))}function Tsi(l,m,D,C){return f4t(l,m,D,C,!1)}function f4t(l,m,D,C,A){if(nt(l))return Ss;let w=m4t(l,m)||Lsi(l,m);return w===Vu&&D&&(w=void 0,A=!0),w??(w=g4t(l,m,D,C,A)),w===Vu?void 0:w}function m4t(l,m){return XEe(l,m.iteratorCacheKey)}function Lsi(l,m){const D=m.getGlobalIterableIteratorType(!1);if(CC(l,D)){const[C]=O0(l),A=m4t(D,m)||g4t(D,m,void 0,void 0,!1),{returnType:w,nextType:I}=A===Vu?nd:A;return A3(l,m.iteratorCacheKey,J5(C,w,I))}if(CC(l,m.getGlobalIteratorType(!1))||CC(l,m.getGlobalGeneratorType(!1))){const[C,A,w]=O0(l);return A3(l,m.iteratorCacheKey,J5(C,A,w))}}function p4t(l,m){const D=he(l,"done")||Ui;return ms(m===0?Ui:du,D)}function Nsi(l){return p4t(l,0)}function Psi(l){return p4t(l,1)}function Msi(l){if(nt(l))return Ss;const m=XEe(l,"iterationTypesOfIteratorResult");if(m)return m;if(CC(l,yei(!1))){const I=O0(l)[0];return A3(l,"iterationTypesOfIteratorResult",J5(I,void 0,void 0))}if(CC(l,kei(!1))){const I=O0(l)[0];return A3(l,"iterationTypesOfIteratorResult",J5(void 0,I,void 0))}const D=Ic(l,Nsi),C=D!==Ku?he(D,"value"):void 0,A=Ic(l,Psi),w=A!==Ku?he(A,"value"):void 0;return!C&&!w?A3(l,"iterationTypesOfIteratorResult",Vu):A3(l,"iterationTypesOfIteratorResult",J5(C,w||ca,void 0))}function Rze(l,m,D,C,A){var w,I,U,Z;const ce=qo(l,D);if(!ce&&D!=="next")return;const Fe=ce&&!(D==="next"&&ce.flags&16777216)?D==="next"?Wn(ce):mp(Wn(ce),2097152):void 0;if(nt(Fe))return D==="next"?Ss:ic;const Te=Fe?go(Fe,0):_t;if(Te.length===0){if(C){const Ii=D==="next"?m.mustHaveANextMethodDiagnostic:m.mustBeAMethodDiagnostic;A?(A.errors??(A.errors=[]),A.errors.push(Su(C,Ii,D))):pt(C,Ii,D)}return D==="next"?Vu:void 0}if(Fe!=null&&Fe.symbol&&Te.length===1){const Ii=m.getGlobalGeneratorType(!1),Nn=m.getGlobalIteratorType(!1),vn=((I=(w=Ii.symbol)==null?void 0:w.members)==null?void 0:I.get(D))===Fe.symbol,An=!vn&&((Z=(U=Nn.symbol)==null?void 0:U.members)==null?void 0:Z.get(D))===Fe.symbol;if(vn||An){const _n=vn?Ii:Nn,{mapper:hu}=Fe;return J5(k6(_n.typeParameters[0],hu),k6(_n.typeParameters[1],hu),D==="next"?k6(_n.typeParameters[2],hu):void 0)}}let $e,ut;for(const Ii of Te)D!=="throw"&&Oe(Ii.parameters)&&($e=xi($e,Lg(Ii,0))),ut=xi(ut,Zs(Ii));let zt,gi;if(D!=="throw"){const Ii=$e?er($e):on;if(D==="next")gi=Ii;else if(D==="return"){const Nn=m.resolveIterationType(Ii,C)||me;zt=xi(zt,Nn)}}let Wi;const dn=ut?Ds(ut):Ku,nu=m.resolveIterationType(dn,C)||me,En=Msi(nu);return En===Vu?(C&&(A?(A.errors??(A.errors=[]),A.errors.push(Su(C,m.mustHaveAValueDiagnostic,D))):pt(C,m.mustHaveAValueDiagnostic,D)),Wi=me,zt=xi(zt,me)):(Wi=En.yieldType,zt=xi(zt,En.returnType)),J5(Wi,er(zt),gi)}function g4t(l,m,D,C,A){const w=s4t([Rze(l,m,"next",D,C),Rze(l,m,"return",D,C),Rze(l,m,"throw",D,C)]);return A?w:A3(l,m.iteratorCacheKey,w)}function Hb(l,m,D){if(nt(m))return;const C=E4t(m,D);return C&&C[Bet(l)]}function E4t(l,m){if(nt(l))return Ss;const D=m?2:1,C=m?S0:ud;return e_e(l,D,void 0)||Tsi(l,C,void 0,void 0)}function zsi(l){SD(l)||Uli(l)}function bie(l,m){const D=!!(m&1),C=!!(m&2);if(D){const A=Hb(1,l,C);return A?C?W5(Vz(A)):A:Ot}return C?W5(l)||Ot:l}function _4t(l,m){const D=bie(m,kd(l));return!!(D&&(jl(D,16384)||D.flags&32769))}function Isi(l){if(SD(l))return;const m=dq(l);if(m&&zl(m)){r1(l,F.A_return_statement_cannot_be_used_inside_a_class_static_block);return}if(!m){r1(l,F.A_return_statement_can_only_be_used_within_a_function_body);return}const D=dp(m),C=Zs(D),A=kd(m);if(fe||l.expression||C.flags&131072){const w=l.expression?Rc(l.expression):te;if(m.kind===178)l.expression&&pt(l,F.Setters_cannot_return_a_value);else if(m.kind===176)l.expression&&!A6(w,C,l,l.expression)&&pt(l,F.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(uT(m)){const I=bie(C,A)??C,U=A&2?PW(w,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):w;I&&A6(U,I,l,l.expression)}}else m.kind!==176&&ae.noImplicitReturns&&!_4t(m,C)&&pt(l,F.Not_all_code_paths_return_a_value)}function Rsi(l){SD(l)||l.flags&65536&&r1(l,F.with_statements_are_not_allowed_in_an_async_function_block),ya(l.expression);const m=zn(l);if(!Kb(m)){const D=QE(m,l.pos).start,C=l.statement.pos;Wb(m,D,C-D,F.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function Osi(l){SD(l);let m,D=!1;const C=ya(l.expression);L(l.caseBlock.clauses,A=>{A.kind===297&&!D&&(m===void 0?m=A:(Zi(A,F.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),D=!0)),A.kind===296&&s(w(A)),L(A.statements,ls),ae.noFallthroughCasesInSwitch&&A.fallthroughFlowNode&&Jte(A.fallthroughFlowNode)&&pt(A,F.Fallthrough_case_in_switch);function w(I){return()=>{const U=ya(I.expression);Eze(C,U)||q1t(U,C,I.expression,void 0)}}}),l.caseBlock.locals&&T6(l.caseBlock)}function jsi(l){SD(l)||Tn(l.parent,m=>Co(m)?"quit":m.kind===256&&m.label.escapedText===l.label.escapedText?(Zi(l.label,F.Duplicate_label_0,Hc(l.label)),!0):!1),ls(l.statement)}function Vsi(l){SD(l)||at(l.expression)&&!l.expression.escapedText&&lci(l,F.Line_break_not_permitted_here),l.expression&&ya(l.expression)}function Hsi(l){SD(l),YEe(l.tryBlock);const m=l.catchClause;if(m){if(m.variableDeclaration){const D=m.variableDeclaration;vie(D);const C=f1(D);if(C){const A=Ar(C);A&&!(A.flags&3)&&r1(C,F.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(D.initializer)r1(D.initializer,F.Catch_clause_variable_cannot_have_an_initializer);else{const A=m.block.locals;A&&U_(m.locals,w=>{const I=A.get(w);I!=null&&I.valueDeclaration&&I.flags&2&&Zi(I.valueDeclaration,F.Cannot_redeclare_identifier_0_in_catch_clause,Yr(w))})}}YEe(m.block)}l.finallyBlock&&YEe(l.finallyBlock)}function t_e(l,m,D){const C=kh(l);if(C.length===0)return;for(const w of D6(l))D&&w.flags&4194304||D4t(l,w,yz(w,8576,!0),E6(w));const A=m.valueDeclaration;if(A&&mr(A)){for(const w of A.members)if(!No(w)&&!iT(w)){const I=_u(w);D4t(l,I,b1(w.name.expression),E6(I))}}if(C.length>1)for(const w of C)Ksi(l,w)}function D4t(l,m,D,C){const A=m.valueDeclaration,w=Za(A);if(w&&Xr(w))return;const I=YNe(l,D),U=Gu(l)&2?Sl(l.symbol,264):void 0,Z=A&&A.kind===226||w&&w.kind===167?A:void 0,ce=cf(m)===l.symbol?A:void 0;for(const Fe of I){const Te=Fe.declaration&&cf(_u(Fe.declaration))===l.symbol?Fe.declaration:void 0,$e=ce||Te||(U&&!Oe(Zc(l),ut=>!!bC(ut,m.escapedName)&&!!yC(ut,Fe.keyType))?U:void 0);if($e&&!ms(C,Fe.type)){const ut=f3($e,F.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,Fr(m),gn(C),gn(Fe.keyType),gn(Fe.type));Z&&$e!==Z&&Es(ut,Su(Z,F._0_is_declared_here,Fr(m))),Vs.add(ut)}}}function Ksi(l,m){const D=m.declaration,C=YNe(l,m.keyType),A=Gu(l)&2?Sl(l.symbol,264):void 0,w=D&&cf(_u(D))===l.symbol?D:void 0;for(const I of C){if(I===m)continue;const U=I.declaration&&cf(_u(I.declaration))===l.symbol?I.declaration:void 0,Z=w||U||(A&&!Oe(Zc(l),ce=>!!k3(ce,m.keyType)&&!!yC(ce,I.keyType))?A:void 0);Z&&!ms(m.type,I.type)&&pt(Z,F._0_index_type_1_is_not_assignable_to_2_index_type_3,gn(m.keyType),gn(m.type),gn(I.keyType),gn(I.type))}}function Wz(l,m){switch(l.escapedText){case"any":case"unknown":case"never":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":pt(l,m,l.escapedText)}}function Wsi(l){Ce>=1&&l.escapedText==="Object"&&(ne<5||zn(l).impliedNodeFormat===1)&&pt(l,F.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,FN[ne])}function Gsi(l){const m=ti(Cv(l),Eg);if(!S(m))return;const D=Qn(l),C=new Set,A=new Set;if(L(l.parameters,({name:I},U)=>{at(I)&&C.add(I.escapedText),So(I)&&A.add(U)}),XNe(l)){const I=m.length-1,U=m[I];D&&U&&at(U.name)&&U.typeExpression&&U.typeExpression.type&&!C.has(U.name.escapedText)&&!A.has(I)&&!A4(Ar(U.typeExpression.type))&&pt(U.name,F.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,fu(U.name))}else L(m,({name:I,isNameFirst:U},Z)=>{A.has(Z)||at(I)&&C.has(I.escapedText)||(vf(I)?D&&pt(I,F.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,zf(I),zf(I.left)):U||g4(D,I,F.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,fu(I)))})}function yie(l){let m=!1;if(l)for(let C=0;C{C.default?(m=!0,Jsi(C.default,l,A)):m&&pt(C,F.Required_type_parameters_may_not_follow_optional_type_parameters);for(let w=0;wC)return!1;for(let Z=0;ZKc(D)&&ph(D))&&Zi(m,F.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),!l.name&&!Yu(l,2048)&&r1(l,F.A_class_declaration_without_the_default_modifier_must_have_a_name),b4t(l),L(l.members,ls),T6(l)}function b4t(l){Nli(l),_ie(l),Hz(l,l.name),yie(Sx(l)),LW(l);const m=_u(l),D=X0(m),C=xm(D),A=Wn(m);x4t(m),UEe(m),doi(l),!!(l.flags&33554432)||hoi(l);const I=Qg(l);if(I){L(I.typeArguments,ls),Ce<2&&rd(I.parent,1);const ce=B2(l);ce&&ce!==I&&ya(ce.expression);const Fe=Zc(D);Fe.length&&s(()=>{const Te=Fe[0],$e=qc(D),ut=Gh($e);if(Qsi(ut,I),ls(I.expression),Oe(I.typeArguments)){L(I.typeArguments,ls);for(const gi of Rs(ut,I.typeArguments,I))if(!Wmt(I,gi.typeParameters))break}const zt=xm(Te,D.thisType);if(Ah(C,zt,void 0)?Ah(A,H1t(ut),l.name||l,F.Class_static_side_0_incorrectly_extends_base_class_static_side_1):F4t(l,C,zt,F.Class_0_incorrectly_extends_base_class_1),$e.flags&8650752&&(Hu(A)?go($e,1).some(Wi=>Wi.flags&4)&&!Yu(l,64)&&pt(l.name||l,F.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):pt(l.name||l,F.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),!(ut.symbol&&ut.symbol.flags&32)&&!($e.flags&8650752)){const gi=D0(ut,I.typeArguments,I);L(gi,Wi=>!AE(Wi.declaration)&&!CD(Zs(Wi),Te))&&pt(I.expression,F.Base_constructors_must_all_have_the_same_return_type)}t0i(D,Te)})}Ysi(l,D,C,A);const U=iB(l);if(U)for(const ce of U)(!ec(ce.expression)||Y1(ce.expression))&&pt(ce.expression,F.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),kze(ce),s(Z(ce));s(()=>{t_e(D,m),t_e(A,m,!0),Cze(l),u0i(l)});function Z(ce){return()=>{const Fe=Sg(Ar(ce));if(!Nt(Fe))if(pF(Fe)){const Te=Fe.symbol&&Fe.symbol.flags&32?F.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:F.Class_0_incorrectly_implements_interface_1,$e=xm(Fe,D.thisType);Ah(C,$e,void 0)||F4t(l,C,$e,Te)}else pt(ce,F.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}}function Ysi(l,m,D,C){const w=Qg(l)&&Zc(m),I=w!=null&&w.length?xm(Pn(w),m.thisType):void 0,U=qc(m);for(const Z of l.members)rle(Z)||(hc(Z)&&L(Z.parameters,ce=>{Mf(ce,Z)&&y4t(l,C,U,I,m,D,ce,!0)}),y4t(l,C,U,I,m,D,Z,!1))}function y4t(l,m,D,C,A,w,I,U,Z=!0){const ce=I.name&&Yp(I.name)||Yp(I);return ce?k4t(l,m,D,C,A,w,Vq(I),P2(I),No(I),U,lc(ce),Z?I:void 0):0}function k4t(l,m,D,C,A,w,I,U,Z,ce,Fe,Te){const $e=Qn(l),ut=!!(l.flags&33554432);if(C&&(I||ae.noImplicitOverride)){const zt=Al(Fe),gi=Z?m:w,Wi=Z?D:C,dn=qo(gi,zt),nu=qo(Wi,zt),En=gn(C);if(dn&&!nu&&I){if(Te){const Ii=zft(Fe,Wi);Ii?pt(Te,$e?F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,En,Fr(Ii)):pt(Te,$e?F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,En)}return 2}else if(dn&&(nu!=null&&nu.declarations)&&ae.noImplicitOverride&&!ut){const Ii=Oe(nu.declarations,P2);if(I)return 0;if(Ii){if(U&&Ii)return Te&&pt(Te,F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,En),1}else{if(Te){const Nn=ce?$e?F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:$e?F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0;pt(Te,Nn,En)}return 1}}}else if(I){if(Te){const zt=gn(A);pt(Te,$e?F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,zt)}return 2}return 0}function F4t(l,m,D,C){let A=!1;for(const w of l.members){if(No(w))continue;const I=w.name&&Yp(w.name)||Yp(w);if(I){const U=qo(m,I.escapedName),Z=qo(D,I.escapedName);if(U&&Z){const ce=()=>ro(void 0,F.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Fr(I),gn(m),gn(D));Ah(Wn(U),Wn(Z),w.name||w,void 0,ce)||(A=!0)}}}A||Ah(m,D,l.name||l,C)}function Qsi(l,m){const D=go(l,1);if(D.length){const C=D[0].declaration;if(C&&Rf(C,2)){const A=tD(l.symbol);Wze(m,A)||pt(m,F.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,op(l.symbol))}}}function Xsi(l,m,D){if(!m.name)return 0;const C=_u(l),A=X0(C),w=xm(A),I=Wn(C),Z=Qg(l)&&Zc(A),ce=Z!=null&&Z.length?xm(Pn(Z),A.thisType):void 0,Fe=qc(A),Te=m.parent?Vq(m):Yu(m,16);return k4t(l,I,Fe,ce,A,w,Te,P2(m),No(m),!1,lc(D))}function _T(l){return Gl(l)&1?l.links.target:l}function e0i(l){return ti(l.declarations,m=>m.kind===263||m.kind===264)}function t0i(l,m){var D,C,A,w;const I=n0(m);let U;e:for(const Z of I){const ce=_T(Z);if(ce.flags&4194304)continue;const Fe=bC(l,ce.escapedName);if(!Fe)continue;const Te=_T(Fe),$e=l4(ce);if(H.assert(!!Te,"derived should point to something, even if it is the base class' declaration."),Te===ce){const ut=tD(l.symbol);if($e&64&&(!ut||!Yu(ut,64))){for(const zt of Zc(l)){if(zt===m)continue;const gi=bC(zt,ce.escapedName),Wi=gi&&_T(gi);if(Wi&&Wi!==ce)continue e}U||(U=pt(ut,F.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1,gn(l),gn(m))),ut.kind===231?Es(U,Su(Z.valueDeclaration??(Z.declarations&&Pn(Z.declarations))??ut,F.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Fr(Z),gn(m))):Es(U,Su(Z.valueDeclaration??(Z.declarations&&Pn(Z.declarations))??ut,F.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,gn(l),Fr(Z),gn(m)))}}else{const ut=l4(Te);if($e&2||ut&2)continue;let zt;const gi=ce.flags&98308,Wi=Te.flags&98308;if(gi&&Wi){if((Gl(ce)&6?(D=ce.declarations)!=null&&D.some(En=>A4t(En,$e)):(C=ce.declarations)!=null&&C.every(En=>A4t(En,$e)))||Gl(ce)&262144||Te.valueDeclaration&&Xn(Te.valueDeclaration))continue;const dn=gi!==4&&Wi===4;if(dn||gi===4&&Wi!==4){const En=dn?F._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:F._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;pt(Za(Te.valueDeclaration)||Te.valueDeclaration,En,Fr(ce),gn(m),gn(l))}else if(Se){const En=(A=Te.declarations)==null?void 0:A.find(Ii=>Ii.kind===172&&!Ii.initializer);if(En&&!(Te.flags&33554432)&&!($e&64)&&!(ut&64)&&!((w=Te.declarations)!=null&&w.some(Ii=>!!(Ii.flags&33554432)))){const Ii=Up(tD(l.symbol)),Nn=En.name;if(En.exclamationToken||!Ii||!at(Nn)||!fe||!B4t(Nn,l,Ii)){const vn=F.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;pt(Za(Te.valueDeclaration)||Te.valueDeclaration,vn,Fr(ce),gn(m))}}}continue}else if(jMe(ce)){if(jMe(Te)||Te.flags&4)continue;H.assert(!!(Te.flags&98304)),zt=F.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else ce.flags&98304?zt=F.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:zt=F.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;pt(Za(Te.valueDeclaration)||Te.valueDeclaration,zt,gn(m),Fr(ce),gn(l))}}}function A4t(l,m){return m&64&&(!ko(l)||!l.initializer)||xh(l.parent)}function i0i(l,m,D){if(!S(m))return D;const C=new Map;L(D,A=>{C.set(A.escapedName,A)});for(const A of m){const w=n0(xm(A,l.thisType));for(const I of w){const U=C.get(I.escapedName);U&&I.parent===U.parent&&C.delete(I.escapedName)}}return ga(C.values())}function n0i(l,m){const D=Zc(l);if(D.length<2)return!0;const C=new Map;L(LNe(l).declaredProperties,w=>{C.set(w.escapedName,{prop:w,containingType:l})});let A=!0;for(const w of D){const I=n0(xm(w,l.thisType));for(const U of I){const Z=C.get(U.escapedName);if(!Z)C.set(U.escapedName,{prop:U,containingType:w});else if(Z.containingType!==l&&!Dii(Z.prop,U)){A=!1;const Fe=gn(Z.containingType),Te=gn(w);let $e=ro(void 0,F.Named_property_0_of_types_1_and_2_are_not_identical,Fr(U),Fe,Te);$e=ro($e,F.Interface_0_cannot_simultaneously_extend_types_1_and_2,gn(l),Fe,Te),Vs.add(Y3(zn(m),m,$e))}}}return A}function u0i(l){if(!fe||!Ge||l.flags&33554432)return;const m=Up(l);for(const D of l.members)if(!(Eh(D)&128)&&!No(D)&&S4t(D)){const C=D.name;if(at(C)||Xr(C)||Ps(C)){const A=Wn(_u(D));A.flags&3||Fz(A)||(!m||!B4t(C,A,m))&&pt(D.name,F.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,b0(C))}}}function S4t(l){return l.kind===172&&!P2(l)&&!l.exclamationToken&&!l.initializer}function r0i(l,m,D,C,A){for(const w of D)if(w.pos>=C&&w.pos<=A){const I=q.createPropertyAccessExpression(q.createThis(),l);ks(I.expression,I),ks(I,w),I.flowNode=w.returnFlowNode;const U=w6(I,m,S6(m));if(!Fz(U))return!0}return!1}function B4t(l,m,D){const C=Ps(l)?q.createElementAccessExpression(q.createThis(),l.expression):q.createPropertyAccessExpression(q.createThis(),l);ks(C.expression,C),ks(C,D),C.flowNode=D.returnFlowNode;const A=w6(C,m,S6(m));return!Fz(A)}function a0i(l){S3(l)||jli(l),yie(l.typeParameters),s(()=>{Wz(l.name,F.Interface_name_cannot_be_0),LW(l);const m=_u(l);x4t(m);const D=Sl(m,264);if(l===D){const C=X0(m),A=xm(C);if(n0i(C,l.name)){for(const w of Zc(C))Ah(A,xm(w,C.thisType),l.name,F.Interface_0_incorrectly_extends_interface_1);t_e(C,m)}}jmt(l)}),L(rP(l),m=>{(!ec(m.expression)||Y1(m.expression))&&pt(m.expression,F.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),kze(m)}),L(l.members,ls),s(()=>{Cze(l),T6(l)})}function o0i(l){S3(l),Wz(l.name,F.Type_alias_name_cannot_be_0),LW(l),yie(l.typeParameters),l.type.kind===141?(!tQ.has(l.name.escapedText)||S(l.typeParameters)!==1)&&pt(l.type,F.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(ls(l.type),T6(l))}function w4t(l){const m=ar(l);if(!(m.flags&1024)){m.flags|=1024;let D=0;for(const C of l.members){const A=s0i(C,D);ar(C).enumMemberValue=A,D=typeof A=="number"?A+1:void 0}}}function s0i(l,m){if(oj(l.name))pt(l.name,F.Computed_property_names_are_not_allowed_in_enums);else{const D=V8(l.name);i3(D)&&!LP(D)&&pt(l.name,F.An_enum_member_cannot_have_a_numeric_name)}if(l.initializer)return l0i(l);if(!(l.parent.flags&33554432&&!b2(l.parent))){if(m!==void 0)return m;pt(l.name,F.Enum_member_must_have_initializer)}}function l0i(l){const m=b2(l.parent),D=l.initializer,C=Gz(D,l);return C!==void 0?m&&typeof C=="number"&&!isFinite(C)&&pt(D,isNaN(C)?F.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:F.const_enum_member_initializer_was_evaluated_to_a_non_finite_value):m?pt(D,F.const_enum_member_initializers_must_be_constant_expressions):l.parent.flags&33554432?pt(D,F.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):Ah(ya(D),Qt,D,F.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values),C}function Gz(l,m){switch(l.kind){case 224:const D=Gz(l.operand,m);if(typeof D=="number")switch(l.operator){case 40:return D;case 41:return-D;case 55:return~D}break;case 226:const C=Gz(l.left,m),A=Gz(l.right,m);if(typeof C=="number"&&typeof A=="number")switch(l.operatorToken.kind){case 52:return C|A;case 51:return C&A;case 49:return C>>A;case 50:return C>>>A;case 48:return C<d0i(l))}function d0i(l){S3(l),Hz(l,l.name),LW(l),l.members.forEach(h0i),w4t(l);const m=_u(l),D=Sl(m,l.kind);if(l===D){if(m.declarations&&m.declarations.length>1){const A=b2(l);L(m.declarations,w=>{Iv(w)&&b2(w)!==A&&pt(Za(w),F.Enum_declarations_must_all_be_const_or_non_const)})}let C=!1;L(m.declarations,A=>{if(A.kind!==266)return!1;const w=A;if(!w.members.length)return!1;const I=w.members[0];I.initializer||(C?pt(I.name,F.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):C=!0)})}}function h0i(l){Xr(l.name)&&pt(l,F.An_enum_member_cannot_be_named_with_a_private_identifier),l.initializer&&ya(l.initializer)}function f0i(l){const m=l.declarations;if(m){for(const D of m)if((D.kind===263||D.kind===262&&H4(D.body))&&!(D.flags&33554432))return D}}function m0i(l,m){const D=YE(l),C=YE(m);return pE(D)?pE(C):pE(C)?!1:D===C}function p0i(l){l.body&&(ls(l.body),Yg(l)||T6(l)),s(m);function m(){var D,C;const A=Yg(l),w=l.flags&33554432;A&&!w&&pt(l.name,F.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);const I=N1(l),U=I?F.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:F.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;if(kie(l,U))return;S3(l)||!w&&l.name.kind===11&&Zi(l.name,F.Only_ambient_modules_can_use_quoted_names),at(l.name)&&Hz(l,l.name),LW(l);const Z=_u(l);if(Z.flags&512&&!w&&Rde(l,fk(ae))){if(mg(ae)&&!zn(l).externalModuleIndicator&&pt(l.name,F.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement,ht),((D=Z.declarations)==null?void 0:D.length)>1){const ce=f0i(Z);ce&&(zn(l)!==zn(ce)?pt(l.name,F.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):l.posFe.kind===95);ce&&pt(ce,F.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}}if(I)if(v2(l)){if((A||_u(l).flags&33554432)&&l.body)for(const Fe of l.body.statements)Oze(Fe,A)}else pE(l.parent)?A?pt(l.name,F.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):Id(J4(l.name))&&pt(l.name,F.Ambient_module_declaration_cannot_specify_relative_module_name):A?pt(l.name,F.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):pt(l.name,F.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}}function Oze(l,m){switch(l.kind){case 243:for(const C of l.declarationList.declarations)Oze(C,m);break;case 277:case 278:r1(l,F.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 271:case 272:r1(l,F.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 208:case 260:const D=l.name;if(So(D)){for(const C of D.elements)Oze(C,m);break}case 263:case 266:case 262:case 264:case 267:case 265:if(m)return;break}}function g0i(l){switch(l.kind){case 80:return l;case 166:do l=l.left;while(l.kind!==80);return l;case 211:do{if(Y_(l.expression)&&!Xr(l.name))return l.name;l=l.expression}while(l.kind!==80);return l}}function jze(l){const m=Y8(l);if(!m||Ql(m))return!1;if(!us(m))return pt(m,F.String_literal_expected),!1;const D=l.parent.kind===268&&N1(l.parent.parent);if(l.parent.kind!==312&&!D)return pt(m,l.kind===278?F.Export_declarations_are_not_permitted_in_a_namespace:F.Import_declarations_in_a_namespace_cannot_reference_a_module),!1;if(D&&Id(m.text)&&!j9(l))return pt(l,F.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1;if(!E1(l)&&l.attributes){const C=l.attributes.token===118?F.Import_attribute_values_must_be_string_literal_expressions:F.Import_assertion_values_must_be_string_literal_expressions;let A=!1;for(const w of l.attributes.elements)us(w.value)||(A=!0,pt(w.value,C));return!A}return!0}function i_e(l){var m,D,C,A;let w=_u(l);const I=md(w);if(I!==Xt){if(w=Ks(w.exportSymbol||w),Qn(l)&&!(I.flags&111551)&&!_2(l)){const ce=r7(l)?l.propertyName||l.name:mh(l)?l.name:l;if(H.assert(l.kind!==280),l.kind===281){const Fe=pt(ce,F.Types_cannot_appear_in_export_declarations_in_JavaScript_files),Te=(D=(m=zn(l).symbol)==null?void 0:m.exports)==null?void 0:D.get((l.propertyName||l.name).escapedText);if(Te===I){const $e=(C=Te.declarations)==null?void 0:C.find(z8);$e&&Es(Fe,Su($e,F._0_is_automatically_exported_here,Yr(Te.escapedName)))}}else{H.assert(l.kind!==260);const Fe=Tn(l,dg(Sd,E1)),Te=(Fe&&((A=Z8(Fe))==null?void 0:A.text))??"...",$e=Yr(at(ce)?ce.escapedText:w.escapedName);pt(ce,F._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,$e,`import("${Te}").${$e}`)}return}const U=O1(I),Z=(w.flags&1160127?111551:0)|(w.flags&788968?788968:0)|(w.flags&1920?1920:0);if(U&Z){const ce=l.kind===281?F.Export_declaration_conflicts_with_exported_declaration_of_0:F.Import_declaration_conflicts_with_local_declaration_of_0;pt(l,ce,Fr(w))}if(mg(ae)&&!_2(l)&&!(l.flags&33554432)){const ce=_4(w),Fe=!(U&111551);if(Fe||ce)switch(l.kind){case 273:case 276:case 271:{if(ae.preserveValueImports||ae.verbatimModuleSyntax){H.assertIsDefined(l.name,"An ImportClause with a symbol should have a name");const Te=ae.verbatimModuleSyntax&&U8(l)?F.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:Fe?ae.verbatimModuleSyntax?F._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:F._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:ae.verbatimModuleSyntax?F._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:F._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled,$e=fu(l.kind===276&&l.propertyName||l.name);dD(pt(l,Te,$e),Fe?void 0:ce,$e)}Fe&&l.kind===271&&Rf(l,32)&&pt(l,F.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled,ht);break}case 281:if(ae.verbatimModuleSyntax||zn(ce)!==zn(l)){const Te=fu(l.propertyName||l.name),$e=Fe?pt(l,F.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type,ht):pt(l,F._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled,Te,ht);dD($e,Fe?void 0:ce,Te);break}}ae.verbatimModuleSyntax&&l.kind!==271&&!Qn(l)&&(ne===1||zn(l).impliedNodeFormat===1)&&pt(l,F.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}if(bf(l)){const ce=Vze(w,l);S5(ce)&&ce.declarations&&m3(l,ce.declarations,ce.escapedName)}}}function Vze(l,m){if(!(l.flags&2097152)||S5(l)||!rp(l))return l;const D=md(l);if(D===Xt)return D;for(;l.flags&2097152;){const C=PMe(l);if(C){if(C===D)break;if(C.declarations&&S(C.declarations))if(S5(C)){m3(m,C.declarations,C.escapedName);break}else{if(l===D)break;l=C}}else break}return D}function n_e(l){Hz(l,l.name),i_e(l),l.kind===276&&fu(l.propertyName||l.name)==="default"&&e_(ae)&&ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&rd(l,131072)}function N4t(l){var m;const D=l.attributes;if(D){const C=F1e(l),A=qB(D,C?Zi:void 0),w=l.attributes.token===118;if(C&&A)return;if((ne===199&&l.moduleSpecifier&&Ma(l.moduleSpecifier))!==99&&ne!==99){const U=w?ne===199?F.Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:F.Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:ne===199?F.Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:F.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext;return Zi(D,U)}if(Sd(l)?(m=l.importClause)!=null&&m.isTypeOnly:l.isTypeOnly)return Zi(D,w?F.Import_attributes_cannot_be_used_with_type_only_imports_or_exports:F.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);if(A)return Zi(D,F.resolution_mode_can_only_be_set_for_type_only_imports)}}function E0i(l){if(!kie(l,Qn(l)?F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!S3(l)&&jq(l)&&r1(l,F.An_import_declaration_cannot_have_modifiers),jze(l)){const m=l.importClause;m&&!dci(m)&&(m.name&&n_e(m),m.namedBindings&&(m.namedBindings.kind===274?(n_e(m.namedBindings),ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&e_(ae)&&rd(l,65536)):Kh(l,l.moduleSpecifier)&&L(m.namedBindings.elements,n_e)))}N4t(l)}}function _0i(l){if(!kie(l,Qn(l)?F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)&&(S3(l),U8(l)||jze(l)))if(n_e(l),Yu(l,32)&&fC(l),l.moduleReference.kind!==283){const m=md(_u(l));if(m!==Xt){const D=O1(m);if(D&111551){const C=hm(l.moduleReference);R0(C,112575).flags&1920||pt(C,F.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,b0(C))}D&788968&&Wz(l.name,F.Import_name_cannot_be_0)}l.isTypeOnly&&Zi(l,F.An_import_alias_cannot_use_import_type)}else ne>=5&&zn(l).impliedNodeFormat===void 0&&!l.isTypeOnly&&!(l.flags&33554432)&&Zi(l,F.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}function D0i(l){if(!kie(l,Qn(l)?F.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:F.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!S3(l)&&Bye(l)&&r1(l,F.An_export_declaration_cannot_have_modifiers),l.moduleSpecifier&&l.exportClause&&ep(l.exportClause)&&S(l.exportClause.elements)&&Ce===0&&rd(l,4194304),x0i(l),!l.moduleSpecifier||jze(l))if(l.exportClause&&!u_(l.exportClause)){L(l.exportClause.elements,F0i);const m=l.parent.kind===268&&N1(l.parent.parent),D=!m&&l.parent.kind===268&&!l.moduleSpecifier&&l.flags&33554432;l.parent.kind!==312&&!m&&!D&&pt(l,F.Export_declarations_are_not_permitted_in_a_namespace)}else{const m=Kh(l,l.moduleSpecifier);m&&bb(m)?pt(l.moduleSpecifier,F.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Fr(m)):l.exportClause&&i_e(l.exportClause),ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&(l.exportClause?e_(ae)&&rd(l,65536):rd(l,32768))}N4t(l)}}function x0i(l){var m;return l.isTypeOnly&&((m=l.exportClause)==null?void 0:m.kind)===279?dpt(l.exportClause):!1}function kie(l,m){const D=l.parent.kind===312||l.parent.kind===268||l.parent.kind===267;return D||r1(l,m),!D}function v0i(l){return Fq(l,m=>!!_u(m).isReferenced)}function C0i(l){return Fq(l,m=>!!Ur(_u(m)).constEnumReferenced)}function b0i(l){return Sd(l)&&l.importClause&&!l.importClause.isTypeOnly&&v0i(l.importClause)&&!l_e(l.importClause,!0)&&!C0i(l.importClause)}function y0i(l){return E1(l)&&r_(l.moduleReference)&&!l.isTypeOnly&&_u(l).isReferenced&&!l_e(l,!1)&&!Ur(_u(l)).constEnumReferenced}function k0i(l){if(Ut)for(const m of l.statements)(b0i(m)||y0i(m))&&pt(m,F.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}function F0i(l){if(i_e(l),c4(ae)&&qw(l.propertyName||l.name,!0),l.parent.parent.moduleSpecifier)e_(ae)&&ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&fu(l.propertyName||l.name)==="default"&&rd(l,131072);else{const m=l.propertyName||l.name,D=uc(m,m.escapedText,2998271,void 0,void 0,!0);if(D&&(D===st||D===St||D.declarations&&pE(dF(D.declarations[0]))))pt(m,F.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,fu(m));else{!l.isTypeOnly&&!l.parent.parent.isTypeOnly&&fC(l);const C=D&&(D.flags&2097152?md(D):D);(!C||O1(C)&111551)&&Rc(l.propertyName||l.name)}}}function A0i(l){const m=l.isExportEquals?F.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:F.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration;if(kie(l,m))return;const D=l.parent.kind===312?l.parent:l.parent.parent;if(D.kind===267&&!N1(D)){l.isExportEquals?pt(l,F.An_export_assignment_cannot_be_used_in_a_namespace):pt(l,F.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);return}!S3(l)&&jq(l)&&r1(l,F.An_export_assignment_cannot_have_modifiers);const C=f1(l);C&&Ah(Rc(l.expression),Ar(C),l.expression);const A=!l.isExportEquals&&!(l.flags&33554432)&&ae.verbatimModuleSyntax&&(ne===1||zn(l).impliedNodeFormat===1);if(l.expression.kind===80){const w=l.expression,I=sp(R0(w,67108863,!0,!0,l));I?(bEe(I,w),O1(I)&111551?(Rc(w),!A&&!(l.flags&33554432)&&ae.verbatimModuleSyntax&&_4(I,111551)&&pt(w,l.isExportEquals?F.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:F.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration,fu(w))):!A&&!(l.flags&33554432)&&ae.verbatimModuleSyntax&&pt(w,l.isExportEquals?F.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:F.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,fu(w))):Rc(w),c4(ae)&&qw(w,!0)}else Rc(l.expression);A&&pt(l,F.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled),P4t(D),l.flags&33554432&&!ec(l.expression)&&Zi(l.expression,F.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),l.isExportEquals&&(ne>=5&&(l.flags&33554432&&zn(l).impliedNodeFormat===99||!(l.flags&33554432)&&zn(l).impliedNodeFormat!==1)?Zi(l,F.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):ne===4&&!(l.flags&33554432)&&Zi(l,F.Export_assignment_is_not_supported_when_module_flag_is_system))}function S0i(l){return h1(l.exports,(m,D)=>D!=="export=")}function P4t(l){const m=_u(l),D=Ur(m);if(!D.exportsChecked){const C=m.exports.get("export=");if(C&&S0i(m)){const w=rp(C)||C.valueDeclaration;w&&!j9(w)&&!Qn(w)&&pt(w,F.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}const A=x3(m);A&&A.forEach(({declarations:w,flags:I},U)=>{if(U==="__export"||I&1920)return;const Z=ui(w,Q$(wet,X$(xh)));if(!(I&524288&&Z<=2)&&Z>1&&!u_e(w))for(const ce of w)Fet(ce)&&Vs.add(Su(ce,F.Cannot_redeclare_exported_variable_0,Yr(U)))}),D.exportsChecked=!0}}function u_e(l){return l&&l.length>1&&l.every(m=>Qn(m)&&I0(m)&&(uk(m.expression)||Y_(m.expression)))}function ls(l){if(l){const m=K;K=l,z=0,B0i(l),K=m}}function B0i(l){wj(l)&&L(l.jsDoc,({comment:D,tags:C})=>{M4t(D),L(C,A=>{M4t(A.comment),Qn(l)&&ls(A)})});const m=l.kind;if(d)switch(m){case 267:case 263:case 264:case 262:d.throwIfCancellationRequested()}switch(m>=243&&m<=259&&Bj(l)&&l.flowNode&&!Jte(l.flowNode)&&g4(ae.allowUnreachableCode===!1,l,F.Unreachable_code_detected),m){case 168:return Imt(l);case 169:return Rmt(l);case 172:return Vmt(l);case 171:return foi(l);case 185:case 184:case 179:case 180:case 181:return TW(l);case 174:case 173:return moi(l);case 175:return poi(l);case 176:return goi(l);case 177:case 178:return Kmt(l);case 183:return kze(l);case 182:return loi(l);case 186:return Coi(l);case 187:return boi(l);case 188:return yoi(l);case 189:return koi(l);case 192:case 193:return Foi(l);case 196:case 190:case 191:return ls(l.type);case 197:return woi(l);case 198:return Toi(l);case 194:return Loi(l);case 195:return Noi(l);case 203:return Poi(l);case 205:return Moi(l);case 202:return zoi(l);case 335:return tsi(l);case 336:return esi(l);case 353:case 345:case 347:return Goi(l);case 352:return Joi(l);case 351:return $oi(l);case 331:case 332:case 333:return qoi(l);case 348:return Zoi(l);case 355:return Yoi(l);case 324:Qoi(l);case 322:case 321:case 319:case 320:case 329:z4t(l),ao(l,ls);return;case 325:w0i(l);return;case 316:return ls(l.type);case 340:case 342:case 341:return isi(l);case 357:return Uoi(l);case 350:return Xoi(l);case 199:return Aoi(l);case 200:return Soi(l);case 262:return Woi(l);case 241:case 268:return YEe(l);case 243:return xsi(l);case 244:return vsi(l);case 245:return Csi(l);case 246:return ksi(l);case 247:return Fsi(l);case 248:return Asi(l);case 249:return Bsi(l);case 250:return Ssi(l);case 251:case 252:return zsi(l);case 253:return Isi(l);case 254:return Rsi(l);case 255:return Osi(l);case 256:return jsi(l);case 257:return Vsi(l);case 258:return Hsi(l);case 260:return _si(l);case 208:return Dsi(l);case 263:return Zsi(l);case 264:return a0i(l);case 265:return o0i(l);case 266:return c0i(l);case 267:return p0i(l);case 272:return E0i(l);case 271:return _0i(l);case 278:return D0i(l);case 277:return A0i(l);case 242:case 259:SD(l);return;case 282:return _oi(l)}}function M4t(l){Ha(l)&&L(l,m=>{o7(m)&&ls(m)})}function z4t(l){if(!Qn(l))if(mY(l)||wB(l)){const m=Uo(mY(l)?54:58),D=l.postfix?F._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:F._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1,C=l.type,A=Ar(C);Zi(l,D,m,gn(wB(l)&&!(A===Ku||A===ca)?er(xi([A,te],l.postfix?void 0:it)):A))}else Zi(l,F.JSDoc_types_can_only_be_used_inside_documentation_comments)}function w0i(l){z4t(l),ls(l.type);const{parent:m}=l;if(io(m)&&TB(m.parent)){Cr(m.parent.parameters)!==m&&pt(l,F.A_rest_parameter_must_be_last_in_a_parameter_list);return}kk(m)||pt(l,F.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);const D=l.parent.parent;if(!Eg(D)){pt(l,F.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}const C=Tj(D);if(!C)return;const A=kv(D);(!A||Cr(A.parameters).symbol!==C)&&pt(l,F.A_rest_parameter_must_be_last_in_a_parameter_list)}function T0i(l){const m=Ar(l.type),{parent:D}=l,C=l.parent.parent;if(kk(l.parent)&&Eg(C)){const A=kv(C),w=Ace(C.parent.parent);if(A||w){const I=qu(w?C.parent.parent.typeExpression.parameters:A.parameters),U=Tj(C);if(!I||U&&I.symbol===U&&$_(I))return V1(m)}}return io(D)&&TB(D.parent)?V1(m):Vd(m)}function eS(l){const m=zn(l),D=ar(m);D.flags&1?H.assert(!D.deferredNodes,"A type-checked file should have no deferred nodes."):(D.deferredNodes||(D.deferredNodes=new Set),D.deferredNodes.add(l))}function L0i(l){const m=ar(l);m.deferredNodes&&m.deferredNodes.forEach(N0i),m.deferredNodes=void 0}function N0i(l){var m,D;(m=Gn)==null||m.push(Gn.Phase.Check,"checkDeferredNode",{kind:l.kind,pos:l.pos,end:l.end,path:l.tracingPath});const C=K;switch(K=l,z=0,l.kind){case 213:case 214:case 215:case 170:case 286:BF(l);break;case 218:case 219:case 174:case 173:Sai(l);break;case 177:case 178:Kmt(l);break;case 231:qsi(l);break;case 168:soi(l);break;case 285:Rui(l);break;case 284:jui(l);break;case 216:case 234:case 217:tai(l);break;case 222:ya(l.expression);break;case 226:Hq(l)&&BF(l);break}K=C,(D=Gn)==null||D.pop()}function P0i(l){var m,D;(m=Gn)==null||m.push(Gn.Phase.Check,"checkSourceFile",{path:l.path},!0),ul("beforeCheck"),M0i(l),ul("afterCheck"),Tm("Check","beforeCheck","afterCheck"),(D=Gn)==null||D.pop()}function I4t(l,m){if(m)return!1;switch(l){case 0:return!!ae.noUnusedLocals;case 1:return!!ae.noUnusedParameters;default:return H.assertNever(l)}}function R4t(l){return b5.get(l.path)||_t}function M0i(l){const m=ar(l);if(!(m.flags&1)){if(AP(l,ae,t))return;oci(l),pu(cb),pu(db),pu(iC),pu(y5),pu(hb),L(l.statements,ls),ls(l.endOfFileToken),L0i(l),cm(l)&&T6(l),s(()=>{!l.isDeclarationFile&&(ae.noUnusedLocals||ae.noUnusedParameters)&&t4t(R4t(l),(D,C,A)=>{!O8(D)&&I4t(C,!!(D.flags&33554432))&&Vs.add(A)}),l.isDeclarationFile||asi()}),ae.importsNotUsedAsValues===2&&!l.isDeclarationFile&&wc(l)&&k0i(l),cm(l)&&P4t(l),cb.length&&(L(cb,lsi),pu(cb)),db.length&&(L(db,csi),pu(db)),iC.length&&(L(iC,msi),pu(iC)),y5.length&&(L(y5,gsi),pu(y5)),m.flags|=1}}function O4t(l,m){try{return d=m,z0i(l)}finally{d=void 0}}function Hze(){for(const l of u)l();u=[]}function Kze(l){Hze();const m=s;s=D=>D(),P0i(l),s=m}function z0i(l){if(l){Hze();const m=Vs.getGlobalDiagnostics(),D=m.length;Kze(l);const C=Vs.getDiagnostics(l.fileName),A=Vs.getGlobalDiagnostics();if(A!==m){const w=Wr(m,A,bP);return Hi(w,C)}else if(D===0&&A.length>0)return Hi(A,C);return C}return L(t.getSourceFiles(),Kze),Vs.getDiagnostics()}function I0i(){return Hze(),Vs.getGlobalDiagnostics()}function R0i(l,m){if(l.flags&67108864)return[];const D=Vo();let C=!1;return A(),D.delete("this"),QNe(D);function A(){for(;l;){switch(UE(l)&&l.locals&&!pE(l)&&I(l.locals,m),l.kind){case 312:if(!wc(l))break;case 267:U(_u(l).exports,m&2623475);break;case 266:I(_u(l).exports,m&8);break;case 231:l.name&&w(l.symbol,m);case 263:case 264:C||I(_6(_u(l)),m&788968);break;case 218:l.name&&w(l.symbol,m);break}Ube(l)&&w(It,m),C=No(l),l=l.parent}I(Ie,m)}function w(Z,ce){if(xP(Z)&ce){const Fe=Z.escapedName;D.has(Fe)||D.set(Fe,Z)}}function I(Z,ce){ce&&Z.forEach(Fe=>{w(Fe,ce)})}function U(Z,ce){ce&&Z.forEach(Fe=>{!Sl(Fe,281)&&!Sl(Fe,280)&&Fe.escapedName!=="default"&&w(Fe,ce)})}}function O0i(l){return l.kind===80&&gB(l.parent)&&Za(l.parent)===l}function j4t(l){for(;l.parent.kind===166;)l=l.parent;return l.parent.kind===183}function j0i(l){for(;l.parent.kind===211;)l=l.parent;return l.parent.kind===233}function V4t(l,m){let D,C=Yd(l);for(;C&&!(D=m(C));)C=Yd(C);return D}function V0i(l){return!!Tn(l,m=>hc(m)&&H4(m.body)||ko(m)?!0:mr(m)||$0(m)?"quit":!1)}function Wze(l,m){return!!V4t(l,D=>D===m)}function H0i(l){for(;l.parent.kind===166;)l=l.parent;if(l.parent.kind===271)return l.parent.moduleReference===l?l.parent:void 0;if(l.parent.kind===277)return l.parent.expression===l?l.parent:void 0}function r_e(l){return H0i(l)!==void 0}function K0i(l){switch(Xl(l.parent.parent)){case 1:case 3:return Dm(l.parent);case 4:case 2:case 5:return _u(l.parent.parent)}}function W0i(l){let m=l.parent;for(;vf(m);)l=m,m=m.parent;if(m&&m.kind===205&&m.qualifier===l)return m}function G0i(l){if(l.expression.kind===110){const m=tf(l,!1,!1);if(Co(m)){const D=eft(m);if(D){const C=MC(D,void 0),A=ift(D,C);return A&&!nt(A)}}}}function H4t(l){if(X3(l))return Dm(l.parent);if(Qn(l)&&l.parent.kind===211&&l.parent===l.parent.parent.left&&!Xr(l)&&!Rv(l)&&!G0i(l.parent)){const m=K0i(l);if(m)return m}if(l.parent.kind===277&&ec(l)){const m=R0(l,2998271,!0);if(m&&m!==Xt)return m}else if(sm(l)&&r_e(l)){const m=Fv(l,271);return H.assert(m!==void 0),aF(l,!0)}if(sm(l)){const m=W0i(l);if(m){Ar(m);const D=ar(l).resolvedSymbol;return D===Xt?void 0:D}}for(;Mye(l);)l=l.parent;if(j0i(l)){let m=0;l.parent.kind===233?(m=q_(l)?788968:111551,Jj(l.parent)&&(m|=111551)):m=1920,m|=2097152;const D=ec(l)?R0(l,m,!0):void 0;if(D)return D}if(l.parent.kind===348)return Tj(l.parent);if(l.parent.kind===168&&l.parent.parent.kind===352){H.assert(!Qn(l));const m=oye(l.parent);return m&&m.symbol}if(Z_(l)){if(Ql(l))return;const m=Tn(l,dg(o7,QP,Rv)),D=m?901119:111551;if(l.kind===80){if($8(l)&&X9(l)){const A=wEe(l.parent);return A===Xt?void 0:A}const C=R0(l,D,!0,!0,kv(l));if(!C&&m){const A=Tn(l,dg(mr,xh));if(A)return Fie(l,!0,_u(A))}if(C&&m){const A=h7(l);if(A&&J2(A)&&A===C.valueDeclaration)return R0(l,D,!0,!0,zn(A))||C}return C}else{if(Xr(l))return NEe(l);if(l.kind===211||l.kind===166){const C=ar(l);return C.resolvedSymbol?C.resolvedSymbol:(l.kind===211?(TEe(l,0),C.resolvedSymbol||(C.resolvedSymbol=K4t(Rc(l.expression),j5(l.name)))):Bft(l,0),!C.resolvedSymbol&&m&&vf(l)?Fie(l):C.resolvedSymbol)}else if(Rv(l))return Fie(l)}}else if(j4t(l)){const m=l.parent.kind===183?788968:1920,D=R0(l,m,!1,!0);return D&&D!==Xt?D:Tge(l)}if(l.parent.kind===182)return R0(l,1)}function K4t(l,m){const D=YNe(l,m);if(D.length&&l.members){const C=Sge(Ag(l).members);if(D===kh(l))return C;if(C){const A=Ur(C),w=qi(D,U=>U.declaration),I=Vt(w,$s).join(",");if(A.filteredIndexSymbolCache||(A.filteredIndexSymbolCache=new Map),A.filteredIndexSymbolCache.has(I))return A.filteredIndexSymbolCache.get(I);{const U=Hs(131072,"__index");return U.declarations=qi(D,Z=>Z.declaration),U.parent=l.aliasSymbol?l.aliasSymbol:l.symbol?l.symbol:Yp(U.declarations[0].parent),A.filteredIndexSymbolCache.set(I,U),U}}}}function Fie(l,m,D){if(sm(l)){let I=R0(l,901119,m,!0,kv(l));if(!I&&at(l)&&D&&(I=Ks(kf($f(D),l.escapedText,901119))),I)return I}const C=at(l)?D:Fie(l.left,m,D),A=at(l)?l.escapedText:l.right.escapedText;if(C){const w=C.flags&111551&&qo(Wn(C),"prototype"),I=w?Wn(w):X0(C);return qo(I,A)}}function Yp(l,m){if(la(l))return wc(l)?Ks(l.symbol):void 0;const{parent:D}=l,C=D.parent;if(!(l.flags&67108864)){if(Aet(l)){const A=_u(D);return r7(l.parent)&&l.parent.propertyName===l?PMe(A):A}else if(Nj(l))return _u(D.parent);if(l.kind===80){if(r_e(l))return H4t(l);if(D.kind===208&&C.kind===206&&l===D.propertyName){const A=tS(C),w=qo(A,l.escapedText);if(w)return w}else if($P(D)&&D.name===l)return D.keywordToken===105&&fu(l)==="target"?oze(D).symbol:D.keywordToken===102&&fu(l)==="meta"?Zdt().members.get("meta"):void 0}switch(l.kind){case 80:case 81:case 211:case 166:if(!g7(l))return H4t(l);case 110:const A=tf(l,!1,!1);if(Co(A)){const U=dp(A);if(U.thisParameter)return U.thisParameter}if(Eq(l))return ya(l).symbol;case 197:return Vge(l).symbol;case 108:return ya(l).symbol;case 137:const w=l.parent;return w&&w.kind===176?w.parent.symbol:void 0;case 11:case 15:if(bv(l.parent.parent)&&XN(l.parent.parent)===l||(l.parent.kind===272||l.parent.kind===278)&&l.parent.moduleSpecifier===l||Qn(l)&&p1(ae)!==100&&xf(l.parent,!1)||dm(l.parent)||Mv(l.parent)&&zx(l.parent.parent)&&l.parent.parent.argument===l.parent)return Kh(l,l,m);if(Mo(D)&&rk(D)&&D.arguments[1]===l)return _u(D);case 9:const I=U0(D)?D.argumentExpression===l?b1(D.expression):void 0:Mv(D)&&I7(C)?Ar(C.objectType):void 0;return I&&qo(I,Al(l.text));case 90:case 100:case 39:case 86:return Dm(l.parent);case 205:return zx(l)?Yp(l.argument.literal,m):void 0;case 95:return tc(l.parent)?H.checkDefined(l.parent.symbol):void 0;case 102:case 105:return $P(l.parent)?dmt(l.parent).symbol:void 0;case 104:if(Xn(l.parent)){const U=b1(l.parent.right),Z=gze(U);return(Z==null?void 0:Z.symbol)??U.symbol}return;case 236:return ya(l).symbol;case 295:if($8(l)&&X9(l)){const U=wEe(l.parent);return U===Xt?void 0:U}default:return}}}function J0i(l){if(at(l)&&Iu(l.parent)&&l.parent.name===l){const m=j5(l),D=b1(l.parent.expression),C=D.flags&1048576?D.types:[D];return ju(C,A=>ti(kh(A),w=>nT(m,w.keyType)))}}function $0i(l){if(l&&l.kind===304)return R0(l.name,2208703)}function U0i(l){return eh(l)?l.parent.parent.moduleSpecifier?cC(l.parent.parent,l):R0(l.propertyName||l.name,2998271):R0(l,2998271)}function tS(l){if(la(l)&&!wc(l)||l.flags&67108864)return Ot;const m=lle(l),D=m&&b4(_u(m.class));if(q_(l)){const C=Ar(l);return D?xm(C,D.thisType):C}if(Z_(l))return W4t(l);if(D&&!m.isImplements){const C=Ki(Zc(D));return C?xm(C,D.thisType):Ot}if(gB(l)){const C=_u(l);return X0(C)}if(O0i(l)){const C=Yp(l);return C?X0(C):Ot}if(js(l))return gD(l,!0,0)||Ot;if(Q1(l)){const C=_u(l);return C?Wn(C):Ot}if(Aet(l)){const C=Yp(l);return C?Wn(C):Ot}if(So(l))return gD(l.parent,!0,0)||Ot;if(r_e(l)){const C=Yp(l);if(C){const A=X0(C);return Nt(A)?Wn(C):A}}return $P(l.parent)&&l.parent.keywordToken===l.kind?dmt(l.parent):Ot}function a_e(l){if(H.assert(l.kind===210||l.kind===209),l.parent.kind===250){const A=Cie(l.parent);return LF(l,A||Ot)}if(l.parent.kind===226){const A=b1(l.parent.right);return LF(l,A||Ot)}if(l.parent.kind===303){const A=Po(l.parent.parent,ys),w=a_e(A)||Ot,I=j8(A.properties,l.parent);return Amt(A,w,I)}const m=Po(l.parent,Dh),D=a_e(m)||Ot,C=G5(65,D,te,l.parent)||Ot;return Smt(m,D,m.elements.indexOf(l),C)}function q0i(l){const m=a_e(Po(l.parent.parent,KN));return m&&qo(m,l.escapedText)}function W4t(l){return gP(l)&&(l=l.parent),Jh(b1(l))}function G4t(l){const m=Dm(l.parent);return No(l)?Wn(m):X0(m)}function J4t(l){const m=l.name;switch(m.kind){case 80:return df(fu(m));case 9:case 11:return df(m.text);case 167:const D=F3(m);return u1(D,12288)?D:ct;default:return H.fail("Unsupported property name.")}}function Gze(l){l=Gh(l);const m=Vo(n0(l)),D=go(l,0).length?Mn:go(l,1).length?ba:void 0;return D&&L(n0(D),C=>{m.has(C.escapedName)||m.set(C.escapedName,C)}),Ab(m)}function o_e(l){return go(l,0).length!==0||go(l,1).length!==0}function $4t(l){const m=Z0i(l);return m?ju(m,$4t):[l]}function Z0i(l){if(Gl(l)&6)return qi(Ur(l).containingType.types,m=>qo(m,l.escapedName));if(l.flags&33554432){const{links:{leftSpread:m,rightSpread:D,syntheticOrigin:C}}=l;return m?[m,D]:C?[C]:Hy(Y0i(l))}}function Y0i(l){let m,D=l;for(;D=Ur(D).target;)m=D;return m}function Q0i(l){if(al(l))return!1;const m=Ua(l,at);if(!m)return!1;const D=m.parent;return D?!((Iu(D)||Jc(D))&&D.name===m)&&VW(m)===It:!1}function X0i(l){let m=Kh(l.parent,l);if(!m||$N(m))return!0;const D=bb(m);m=_m(m);const C=Ur(m);return C.exportsSomeValue===void 0&&(C.exportsSomeValue=D?!!(m.flags&111551):h1(x3(m),A)),C.exportsSomeValue;function A(w){return w=yc(w),w&&!!(O1(w)&111551)}}function eli(l){return QO(l.parent)&&l===l.parent.name}function tli(l,m){var D;const C=Ua(l,at);if(C){let A=VW(C,eli(C));if(A){if(A.flags&1048576){const I=Ks(A.exportSymbol);if(!m&&I.flags&944&&!(I.flags&3))return;A=I}const w=cf(A);if(w){if(w.flags&512&&((D=w.valueDeclaration)==null?void 0:D.kind)===312){const I=w.valueDeclaration,U=zn(C);return I!==U?void 0:I}return Tn(C.parent,I=>QO(I)&&_u(I)===w)}}}}function ili(l){const m=Jke(l);if(m)return m;const D=Ua(l,at);if(D){const C=pli(D);if(hC(C,111551)&&!_4(C,111551))return rp(C)}}function nli(l){return l.valueDeclaration&&js(l.valueDeclaration)&&S8(l.valueDeclaration).parent.kind===299}function U4t(l){if(l.flags&418&&l.valueDeclaration&&!la(l.valueDeclaration)){const m=Ur(l);if(m.isDeclarationWithCollidingName===void 0){const D=YE(l.valueDeclaration);if(Abe(D)||nli(l)){const C=ar(l.valueDeclaration);if(uc(D.parent,l.escapedName,111551,void 0,void 0,!1))m.isDeclarationWithCollidingName=!0;else if(C.flags&16384){const A=C.flags&32768,w=Tx(D,!1),I=D.kind===241&&Tx(D.parent,!1);m.isDeclarationWithCollidingName=!Pbe(D)&&(!A||!w&&!I)}else m.isDeclarationWithCollidingName=!1}}return m.isDeclarationWithCollidingName}return!1}function uli(l){if(!al(l)){const m=Ua(l,at);if(m){const D=VW(m);if(D&&U4t(D))return D.valueDeclaration}}}function rli(l){const m=Ua(l,Q1);if(m){const D=_u(m);if(D)return U4t(D)}return!1}function q4t(l){switch(H.assert(Ut),l.kind){case 271:return s_e(_u(l));case 273:case 274:case 276:case 281:const m=_u(l);return!!m&&s_e(m,!0);case 278:const D=l.exportClause;return!!D&&(u_(D)||Oe(D.elements,q4t));case 277:return l.expression&&l.expression.kind===80?s_e(_u(l)):!0}return!1}function ali(l){const m=Ua(l,E1);return m===void 0||m.parent.kind!==312||!U8(m)?!1:s_e(_u(m))&&m.moduleReference&&!Ql(m.moduleReference)}function s_e(l,m){if(!l)return!1;const D=sp(md(l));return D===Xt?!m||!_4(l):!!(O1(l,m,!0)&111551)&&(fk(ae)||!OW(D))}function OW(l){return pze(l)||!!l.constEnumOnlyModule}function l_e(l,m){if(H.assert(Ut),sC(l)){const D=_u(l),C=D&&Ur(D);if(C!=null&&C.referenced)return!0;const A=Ur(D).aliasTarget;if(A&&Eh(l)&32&&O1(A)&111551&&(fk(ae)||!OW(A)))return!0}return m?!!ao(l,D=>l_e(D,m)):!1}function Z4t(l){if(H4(l.body)){if(Lx(l)||e5(l))return!1;const m=_u(l),D=wb(m);return D.length>1||D.length===1&&D[0].declaration!==l}return!1}function Y4t(l){return!!fe&&!uW(l)&&!Eg(l)&&!!l.initializer&&!Yu(l,31)}function oli(l){return fe&&uW(l)&&!l.initializer&&Yu(l,31)}function sli(l){const m=Ua(l,ed);if(!m)return!1;const D=_u(m);return!D||!(D.flags&16)?!1:!!h1($f(D),C=>C.flags&111551&&EZ(C.valueDeclaration))}function lli(l){const m=Ua(l,ed);if(!m)return _t;const D=_u(m);return D&&n0(Wn(D))||_t}function DT(l){var m;const D=l.id||0;return D<0||D>=tC.length?0:((m=tC[D])==null?void 0:m.flags)||0}function jW(l){return w4t(l.parent),ar(l).enumMemberValue}function Q4t(l){switch(l.kind){case 306:case 211:case 212:return!0}return!1}function Jze(l){if(l.kind===306)return jW(l);const m=ar(l).resolvedSymbol;if(m&&m.flags&8){const D=m.valueDeclaration;if(b2(D.parent))return jW(D)}}function $ze(l){return!!(l.flags&524288)&&go(l,0).length>0}function cli(l,m){var D;const C=Ua(l,sm);if(!C||m&&(m=Ua(m),!m))return 0;let A=!1;if(vf(C)){const ce=R0(hm(C),111551,!0,!0,m);A=!!((D=ce==null?void 0:ce.declarations)!=null&&D.every(_2))}const w=R0(C,111551,!0,!0,m),I=w&&w.flags&2097152?md(w):w;A||(A=!!(w&&_4(w,111551)));const U=R0(C,788968,!0,!1,m);if(I&&I===U){const ce=sPe(!1);if(ce&&I===ce)return 9;const Fe=Wn(I);if(Fe&&Or(Fe))return A?10:1}if(!U)return A?11:0;const Z=X0(U);return Nt(Z)?A?11:0:Z.flags&3?11:u1(Z,245760)?2:u1(Z,528)?6:u1(Z,296)?3:u1(Z,2112)?4:u1(Z,402653316)?5:xs(Z)?7:u1(Z,12288)?8:$ze(Z)?10:A4(Z)?7:11}function dli(l,m,D,C,A){const w=Ua(l,Gbe);if(!w)return q.createToken(133);const I=_u(w);let U=I&&!(I.flags&133120)?Ib(Wn(I)):Ot;return U.flags&8192&&U.symbol===I&&(D|=1048576),A&&(U=S6(U)),Yt.typeToTypeNode(U,m,D|1024,C)}function hli(l,m,D,C){const A=Ua(l,Co);if(!A)return q.createToken(133);const w=dp(A);return Yt.typeToTypeNode(Zs(w),m,D|1024,C)}function fli(l,m,D,C){const A=Ua(l,Wt);if(!A)return q.createToken(133);const w=vm(W4t(A));return Yt.typeToTypeNode(w,m,D|1024,C)}function mli(l){return Ie.has(Al(l))}function VW(l,m){const D=ar(l).resolvedSymbol;if(D)return D;let C=l;if(m){const A=l.parent;Q1(A)&&l===A.name&&(C=dF(A))}return uc(C,l.escapedText,3257279,void 0,void 0,!0)}function pli(l){const m=ar(l).resolvedSymbol;return m&&m!==Xt?m:uc(l,l.escapedText,3257279,void 0,void 0,!0,void 0,void 0)}function gli(l){if(!al(l)){const m=Ua(l,at);if(m){const D=VW(m);if(D)return sp(D).valueDeclaration}}}function Eli(l){if(!al(l)){const m=Ua(l,at);if(m){const D=VW(m);if(D)return ti(sp(D).declarations,C=>{switch(C.kind){case 260:case 169:case 208:case 172:case 303:case 304:case 306:case 210:case 262:case 218:case 219:case 263:case 231:case 266:case 174:case 177:case 178:case 267:return!0}return!1})}}}function _li(l){return uq(l)||na(l)&&m_e(l)?Pb(Wn(_u(l))):!1}function Dli(l,m,D){const C=l.flags&1056?Yt.symbolToExpression(l.symbol,111551,m,void 0,D):l===du?q.createTrue():l===Ui&&q.createFalse();if(C)return C;const A=l.value;return typeof A=="object"?q.createBigIntLiteral(A):typeof A=="number"?q.createNumericLiteral(A):q.createStringLiteral(A)}function xli(l,m){const D=Wn(_u(l));return Dli(D,l,m)}function X4t(l){return l?(uC(l),zn(l).localJsxFactory||k5):k5}function Uze(l){if(l){const m=zn(l);if(m){if(m.localJsxFragmentFactory)return m.localJsxFragmentFactory;const D=m.pragmas.get("jsxfrag"),C=Ha(D)?D[0]:D;if(C)return m.localJsxFragmentFactory=G7(C.arguments.factory,Ce),m.localJsxFragmentFactory}}if(ae.jsxFragmentFactory)return G7(ae.jsxFragmentFactory,Ce)}function vli(){const l=t.getResolvedTypeReferenceDirectives();let m;return l&&(m=new Map,l.forEach(({resolvedTypeReferenceDirective:Z},ce,Fe)=>{if(!(Z!=null&&Z.resolvedFileName))return;const Te=t.getSourceFile(Z.resolvedFileName);Te&&U(Te,ce,Fe)})),{getReferencedExportContainer:tli,getReferencedImportDeclaration:ili,getReferencedDeclarationWithCollidingName:uli,isDeclarationWithCollidingName:rli,isValueAliasDeclaration:Z=>{const ce=Ua(Z);return ce&&Ut?q4t(ce):!0},hasGlobalName:mli,isReferencedAliasDeclaration:(Z,ce)=>{const Fe=Ua(Z);return Fe&&Ut?l_e(Fe,ce):!0},getNodeCheckFlags:Z=>{const ce=Ua(Z);return ce?DT(ce):0},isTopLevelValueImportEqualsWithEntityName:ali,isDeclarationVisible:pD,isImplementationOfOverload:Z4t,isRequiredInitializedParameter:Y4t,isOptionalUninitializedParameterProperty:oli,isExpandoFunctionDeclaration:sli,getPropertiesOfContainerFunction:lli,createTypeOfDeclaration:dli,createReturnTypeOfSignatureDeclaration:hli,createTypeOfExpression:fli,createLiteralConstValue:xli,isSymbolAccessible:yu,isEntityNameVisible:Uf,getConstantValue:Z=>{const ce=Ua(Z,Q4t);return ce?Jze(ce):void 0},collectLinkedAliases:qw,getReferencedValueDeclaration:gli,getReferencedValueDeclarations:Eli,getTypeReferenceSerializationKind:cli,isOptionalParameter:uW,moduleExportsSomeValue:X0i,isArgumentsLocalBinding:Q0i,getExternalModuleFileFromDeclaration:Z=>{const ce=Ua(Z,zbe);return ce&&qze(ce)},getTypeReferenceDirectivesForEntityName:A,getTypeReferenceDirectivesForSymbol:w,isLiteralConstDeclaration:_li,isLateBound:Z=>{const ce=Ua(Z,Q1),Fe=ce&&_u(ce);return!!(Fe&&Gl(Fe)&4096)},getJsxFactoryEntity:X4t,getJsxFragmentFactoryEntity:Uze,getAllAccessorDeclarations(Z){Z=Ua(Z,NU);const ce=Z.kind===178?177:178,Fe=Sl(_u(Z),ce),Te=Fe&&Fe.posD3(Z,Z,void 0),isBindingCapturedByNode:(Z,ce)=>{const Fe=Ua(Z),Te=Ua(ce);return!!Fe&&!!Te&&(na(Te)||js(Te))&&Uni(Fe,Te)},getDeclarationStatementsForSourceFile:(Z,ce,Fe,Te)=>{const $e=Ua(Z);H.assert($e&&$e.kind===312,"Non-sourcefile node passed into getDeclarationsForSourceFile");const ut=_u(Z);return ut?ut.exports?Yt.symbolTableToDeclarationStatements(ut.exports,Z,ce,Fe,Te):[]:Z.locals?Yt.symbolTableToDeclarationStatements(Z.locals,Z,ce,Fe,Te):[]},isImportRequiredByAugmentation:D,tryFindAmbientModule:Z=>{const ce=Ua(Z),Fe=ce&&t0(ce)?ce.text:void 0;return Fe!==void 0?kge(Fe,!0):void 0}};function D(Z){const ce=zn(Z);if(!ce.symbol)return!1;const Fe=qze(Z);if(!Fe||Fe===ce)return!1;const Te=x3(ce.symbol);for(const $e of ga(Te.values()))if($e.mergeId){const ut=Ks($e);if(ut.declarations){for(const zt of ut.declarations)if(zn(zt)===Fe)return!0}}return!1}function C(Z){return Z.parent&&Z.parent.kind===233&&Z.parent.parent&&Z.parent.parent.kind===298}function A(Z){if(!m)return;let ce;Z.parent.kind===167?ce=1160127:(ce=790504,(Z.kind===80&&ck(Z)||Z.kind===211&&!C(Z))&&(ce=1160127));const Fe=R0(Z,ce,!0);return Fe&&Fe!==Xt?w(Fe,ce):void 0}function w(Z,ce){if(!m||!I(Z))return;let Fe;for(const Te of Z.declarations)if(Te.symbol&&Te.symbol.flags&ce){const $e=zn(Te),ut=m.get($e.path);if(ut)(Fe||(Fe=[])).push(ut);else return}return Fe}function I(Z){if(!Z.declarations)return!1;let ce=Z;for(;;){const Fe=cf(ce);if(Fe)ce=Fe;else break}if(ce.valueDeclaration&&ce.valueDeclaration.kind===312&&ce.flags&512)return!1;for(const Fe of Z.declarations){const Te=zn(Fe);if(m.has(Te.path))return!0}return!1}function U(Z,ce,Fe){if(!m.has(Z.path)){m.set(Z.path,[ce,Fe]);for(const{fileName:Te}of Z.referencedFiles){const $e=bQ(Te,Z.fileName),ut=t.getSourceFile($e);ut&&U(ut,ce,Fe||Z.impliedNodeFormat)}}}}function qze(l){const m=l.kind===267?ur(l.name,us):Y8(l),D=D3(m,m,void 0);if(D)return Sl(D,312)}function Cli(){for(const m of t.getSourceFiles())SAe(m,ae);m0=new Map;let l;for(const m of t.getSourceFiles())if(!m.redirectInfo){if(!cm(m)){const D=m.locals.get("globalThis");if(D!=null&&D.declarations)for(const C of D.declarations)Vs.add(Su(C,F.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"));mE(Ie,m.locals)}m.jsGlobalAugmentations&&mE(Ie,m.jsGlobalAugmentations),m.patternAmbientModules&&m.patternAmbientModules.length&&(h4=Hi(h4,m.patternAmbientModules)),m.moduleAugmentations.length&&(l||(l=[])).push(m.moduleAugmentations),m.symbol&&m.symbol.globalExports&&m.symbol.globalExports.forEach((C,A)=>{Ie.has(A)||Ie.set(A,C)})}if(l)for(const m of l)for(const D of m)Yg(D.parent)&&iF(D);if(zw(Ie,Pw,F.Declaration_name_conflicts_with_built_in_global_identifier_0),Ur(st).type=we,Ur(It).type=zc("IArguments",0,!0),Ur(Xt).type=Ot,Ur(St).type=D4(16,St),Fo=zc("Array",1,!0),He=zc("Object",0,!0),di=zc("Function",0,!0),Mn=Be&&zc("CallableFunction",0,!0)||di,ba=Be&&zc("NewableFunction",0,!0)||di,nc=zc("String",0,!0),fc=zc("Number",0,!0),Cl=zc("Boolean",0,!0),Tl=zc("RegExp",0,!0),ql=V1(me),Nc=V1(ni),Nc===Ko&&(Nc=Ol(void 0,se,_t,_t,_t)),To=i1t("ReadonlyArray",1)||Fo,ip=To?oW(To,[me]):ql,bc=i1t("ThisType",1),l)for(const m of l)for(const D of m)Yg(D.parent)||iF(D);m0.forEach(({firstFile:m,secondFile:D,conflictingSymbols:C})=>{if(C.size<8)C.forEach(({isBlockScoped:A,firstFileLocations:w,secondFileLocations:I},U)=>{const Z=A?F.Cannot_redeclare_block_scoped_variable_0:F.Duplicate_identifier_0;for(const ce of w)p3(ce,Z,U,I);for(const ce of I)p3(ce,Z,U,w)});else{const A=ga(C.keys()).join(", ");Vs.add(Es(Su(m,F.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,A),Su(D,F.Conflicts_are_in_this_file))),Vs.add(Es(Su(D,F.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,A),Su(m,F.Conflicts_are_in_this_file)))}}),m0=void 0}function rd(l,m){if((p&m)!==m&&ae.importHelpers){const D=zn(l);if(s7(D,ae)&&!(l.flags&33554432)){const C=yli(D,l);if(C!==Xt){const A=m&~p;for(let w=1;w<=33554432;w<<=1)if(A&w)for(const I of bli(w)){if(f.has(I))continue;f.add(I);const U=yc(kf(x3(C),Al(I),111551));U?w&524288?Oe(wb(U),Z=>Cm(Z)>3)||pt(l,F.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Hx,I,4):w&1048576?Oe(wb(U),Z=>Cm(Z)>4)||pt(l,F.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Hx,I,5):w&1024&&(Oe(wb(U),Z=>Cm(Z)>2)||pt(l,F.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Hx,I,3)):pt(l,F.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,Hx,I)}}p|=m}}}function bli(l){switch(l){case 1:return["__extends"];case 2:return["__assign"];case 4:return["__rest"];case 8:return ve?["__decorate"]:["__esDecorate","__runInitializers"];case 16:return["__metadata"];case 32:return["__param"];case 64:return["__awaiter"];case 128:return["__generator"];case 256:return["__values"];case 512:return["__read"];case 1024:return["__spreadArray"];case 2048:return["__await"];case 4096:return["__asyncGenerator"];case 8192:return["__asyncDelegator"];case 16384:return["__asyncValues"];case 32768:return["__exportStar"];case 65536:return["__importStar"];case 131072:return["__importDefault"];case 262144:return["__makeTemplateObject"];case 524288:return["__classPrivateFieldGet"];case 1048576:return["__classPrivateFieldSet"];case 2097152:return["__classPrivateFieldIn"];case 4194304:return["__createBinding"];case 8388608:return["__setFunctionName"];case 16777216:return["__propKey"];case 33554432:return["__addDisposableResource","__disposeResources"];default:return H.fail("Unrecognized helper")}}function yli(l,m){return E||(E=mD(l,Hx,F.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,m)||Xt),E}function S3(l){const m=Ali(l)||kli(l);if(m!==void 0)return m;if(io(l)&&L2(l))return r1(l,F.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);const D=Jl(l)?l.declarationList.flags&7:0;let C,A,w,I,U,Z=0,ce=!1,Fe=!1;for(const Te of l.modifiers)if(g1(Te)){if(gq(ve,l,l.parent,l.parent.parent)){if(ve&&(l.kind===177||l.kind===178)){const $e=dk(l.parent.members,l);if(o4($e.firstAccessor)&&l===$e.secondAccessor)return r1(l,F.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return l.kind===174&&!H4(l.body)?r1(l,F.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):r1(l,F.Decorators_are_not_valid_here);if(Z&-34849)return Zi(Te,F.Decorators_are_not_valid_here);if(Fe&&Z&98303){H.assertIsDefined(U);const $e=zn(Te);return Kb($e)?!1:(Es(pt(Te,F.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),Su(U,F.Decorator_used_before_export_here)),!0)}Z|=32768,Z&98303?Z&32&&(ce=!0):Fe=!0,U??(U=Te)}else{if(Te.kind!==148){if(l.kind===171||l.kind===173)return Zi(Te,F._0_modifier_cannot_appear_on_a_type_member,Uo(Te.kind));if(l.kind===181&&(Te.kind!==126||!mr(l.parent)))return Zi(Te,F._0_modifier_cannot_appear_on_an_index_signature,Uo(Te.kind))}if(Te.kind!==103&&Te.kind!==147&&Te.kind!==87&&l.kind===168)return Zi(Te,F._0_modifier_cannot_appear_on_a_type_parameter,Uo(Te.kind));switch(Te.kind){case 87:if(l.kind!==266&&l.kind!==168)return Zi(l,F.A_class_member_cannot_have_the_0_keyword,Uo(87));const $e=l.parent;if(l.kind===168&&!($0($e)||mr($e)||u3($e)||WP($e)||CB($e)||FV($e)||n3($e)))return Zi(Te,F._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class,Uo(Te.kind));break;case 164:if(Z&16)return Zi(Te,F._0_modifier_already_seen,"override");if(Z&128)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(Z&8)return Zi(Te,F._0_modifier_must_precede_1_modifier,"override","readonly");if(Z&512)return Zi(Te,F._0_modifier_must_precede_1_modifier,"override","accessor");if(Z&1024)return Zi(Te,F._0_modifier_must_precede_1_modifier,"override","async");Z|=16,I=Te;break;case 125:case 124:case 123:const ut=C3(_7(Te.kind));if(Z&7)return Zi(Te,F.Accessibility_modifier_already_seen);if(Z&16)return Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"override");if(Z&256)return Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"static");if(Z&512)return Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"accessor");if(Z&8)return Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"readonly");if(Z&1024)return Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"async");if(l.parent.kind===268||l.parent.kind===312)return Zi(Te,F._0_modifier_cannot_appear_on_a_module_or_namespace_element,ut);if(Z&64)return Te.kind===123?Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,ut,"abstract"):Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"abstract");if(ph(l))return Zi(Te,F.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);Z|=_7(Te.kind);break;case 126:if(Z&256)return Zi(Te,F._0_modifier_already_seen,"static");if(Z&8)return Zi(Te,F._0_modifier_must_precede_1_modifier,"static","readonly");if(Z&1024)return Zi(Te,F._0_modifier_must_precede_1_modifier,"static","async");if(Z&512)return Zi(Te,F._0_modifier_must_precede_1_modifier,"static","accessor");if(l.parent.kind===268||l.parent.kind===312)return Zi(Te,F._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(l.kind===169)return Zi(Te,F._0_modifier_cannot_appear_on_a_parameter,"static");if(Z&64)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(Z&16)return Zi(Te,F._0_modifier_must_precede_1_modifier,"static","override");Z|=256,C=Te;break;case 129:if(Z&512)return Zi(Te,F._0_modifier_already_seen,"accessor");if(Z&8)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"accessor","readonly");if(Z&128)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"accessor","declare");if(l.kind!==172)return Zi(Te,F.accessor_modifier_can_only_appear_on_a_property_declaration);Z|=512;break;case 148:if(Z&8)return Zi(Te,F._0_modifier_already_seen,"readonly");if(l.kind!==172&&l.kind!==171&&l.kind!==181&&l.kind!==169)return Zi(Te,F.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);if(Z&512)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"readonly","accessor");Z|=8;break;case 95:if(ae.verbatimModuleSyntax&&!(l.flags&33554432)&&l.kind!==265&&l.kind!==264&&l.kind!==267&&l.parent.kind===312&&(ne===1||zn(l).impliedNodeFormat===1))return Zi(Te,F.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(Z&32)return Zi(Te,F._0_modifier_already_seen,"export");if(Z&128)return Zi(Te,F._0_modifier_must_precede_1_modifier,"export","declare");if(Z&64)return Zi(Te,F._0_modifier_must_precede_1_modifier,"export","abstract");if(Z&1024)return Zi(Te,F._0_modifier_must_precede_1_modifier,"export","async");if(mr(l.parent))return Zi(Te,F._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(l.kind===169)return Zi(Te,F._0_modifier_cannot_appear_on_a_parameter,"export");if(D===4)return Zi(Te,F._0_modifier_cannot_appear_on_a_using_declaration,"export");if(D===6)return Zi(Te,F._0_modifier_cannot_appear_on_an_await_using_declaration,"export");Z|=32;break;case 90:const zt=l.parent.kind===312?l.parent:l.parent.parent;if(zt.kind===267&&!N1(zt))return Zi(Te,F.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(D===4)return Zi(Te,F._0_modifier_cannot_appear_on_a_using_declaration,"default");if(D===6)return Zi(Te,F._0_modifier_cannot_appear_on_an_await_using_declaration,"default");if(Z&32){if(ce)return Zi(U,F.Decorators_are_not_valid_here)}else return Zi(Te,F._0_modifier_must_precede_1_modifier,"export","default");Z|=2048;break;case 138:if(Z&128)return Zi(Te,F._0_modifier_already_seen,"declare");if(Z&1024)return Zi(Te,F._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(Z&16)return Zi(Te,F._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(mr(l.parent)&&!ko(l))return Zi(Te,F._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(l.kind===169)return Zi(Te,F._0_modifier_cannot_appear_on_a_parameter,"declare");if(D===4)return Zi(Te,F._0_modifier_cannot_appear_on_a_using_declaration,"declare");if(D===6)return Zi(Te,F._0_modifier_cannot_appear_on_an_await_using_declaration,"declare");if(l.parent.flags&33554432&&l.parent.kind===268)return Zi(Te,F.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(ph(l))return Zi(Te,F._0_modifier_cannot_be_used_with_a_private_identifier,"declare");if(Z&512)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"declare","accessor");Z|=128,A=Te;break;case 128:if(Z&64)return Zi(Te,F._0_modifier_already_seen,"abstract");if(l.kind!==263&&l.kind!==185){if(l.kind!==174&&l.kind!==172&&l.kind!==177&&l.kind!==178)return Zi(Te,F.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(!(l.parent.kind===263&&Yu(l.parent,64))){const dn=l.kind===172?F.Abstract_properties_can_only_appear_within_an_abstract_class:F.Abstract_methods_can_only_appear_within_an_abstract_class;return Zi(Te,dn)}if(Z&256)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(Z&2)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(Z&1024&&w)return Zi(w,F._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(Z&16)return Zi(Te,F._0_modifier_must_precede_1_modifier,"abstract","override");if(Z&512)return Zi(Te,F._0_modifier_must_precede_1_modifier,"abstract","accessor")}if(mh(l)&&l.name.kind===81)return Zi(Te,F._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");Z|=64;break;case 134:if(Z&1024)return Zi(Te,F._0_modifier_already_seen,"async");if(Z&128||l.parent.flags&33554432)return Zi(Te,F._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(l.kind===169)return Zi(Te,F._0_modifier_cannot_appear_on_a_parameter,"async");if(Z&64)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");Z|=1024,w=Te;break;case 103:case 147:const gi=Te.kind===103?8192:16384,Wi=Te.kind===103?"in":"out";if(l.kind!==168||!(xh(l.parent)||mr(l.parent)||jp(l.parent)))return Zi(Te,F._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias,Wi);if(Z&gi)return Zi(Te,F._0_modifier_already_seen,Wi);if(gi&8192&&Z&16384)return Zi(Te,F._0_modifier_must_precede_1_modifier,"in","out");Z|=gi;break}}return l.kind===176?Z&256?Zi(C,F._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):Z&16?Zi(I,F._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):Z&1024?Zi(w,F._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):!1:(l.kind===272||l.kind===271)&&Z&128?Zi(A,F.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):l.kind===169&&Z&31&&So(l.name)?Zi(l,F.A_parameter_property_may_not_be_declared_using_a_binding_pattern):l.kind===169&&Z&31&&l.dotDotDotToken?Zi(l,F.A_parameter_property_cannot_be_declared_using_a_rest_parameter):Z&1024?Bli(l,w):!1}function kli(l){if(!l.modifiers)return!1;const m=Fli(l);return m&&r1(m,F.Modifiers_cannot_appear_here)}function c_e(l,m){const D=Le(l.modifiers,Qo);return D&&D.kind!==m?D:void 0}function Fli(l){switch(l.kind){case 177:case 178:case 176:case 172:case 171:case 174:case 173:case 181:case 267:case 272:case 271:case 278:case 277:case 218:case 219:case 169:case 168:return;case 175:case 303:case 304:case 270:case 282:return Le(l.modifiers,Qo);default:if(l.parent.kind===268||l.parent.kind===312)return;switch(l.kind){case 262:return c_e(l,134);case 263:case 185:return c_e(l,128);case 231:case 264:case 265:return Le(l.modifiers,Qo);case 243:return l.declarationList.flags&4?c_e(l,135):Le(l.modifiers,Qo);case 266:return c_e(l,87);default:H.assertNever(l)}}}function Ali(l){const m=Sli(l);return m&&r1(m,F.Decorators_are_not_valid_here)}function Sli(l){return Hce(l)?Le(l.modifiers,g1):void 0}function Bli(l,m){switch(l.kind){case 174:case 262:case 218:case 219:return!1}return Zi(m,F._0_modifier_cannot_be_used_here,"async")}function iS(l,m=F.Trailing_comma_not_allowed){return l&&l.hasTrailingComma?Wb(l[0],l.end-1,1,m):!1}function ept(l,m){if(l&&l.length===0){const D=l.pos-1,C=gs(m.text,l.end)+1;return Wb(m,D,C-D,F.Type_parameter_list_cannot_be_empty)}return!1}function wli(l){let m=!1;const D=l.length;for(let C=0;C!!m.initializer||So(m.name)||$_(m))}function Lli(l){if(Ce>=3){const m=l.body&&po(l.body)&&Rce(l.body.statements);if(m){const D=Tli(l.parameters);if(S(D)){L(D,A=>{Es(pt(A,F.This_parameter_is_not_allowed_with_use_strict_directive),Su(m,F.use_strict_directive_used_here))});const C=D.map((A,w)=>w===0?Su(A,F.Non_simple_parameter_declared_here):Su(A,F.and_here));return Es(pt(m,F.use_strict_directive_cannot_be_used_with_non_simple_parameter_list),...C),!0}}}return!1}function d_e(l){const m=zn(l);return S3(l)||ept(l.typeParameters,m)||wli(l.parameters)||Pli(l,m)||$0(l)&&Lli(l)}function Nli(l){const m=zn(l);return Oli(l)||ept(l.typeParameters,m)}function Pli(l,m){if(!q0(l))return!1;l.typeParameters&&!(S(l.typeParameters)>1||l.typeParameters.hasTrailingComma||l.typeParameters[0].constraint)&&m&&jc(m.fileName,[".mts",".cts"])&&Zi(l.typeParameters[0],F.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);const{equalsGreaterThanToken:D}=l,C=s0(m,D.pos).line,A=s0(m,D.end).line;return C!==A&&Zi(D,F.Line_terminator_not_permitted_before_arrow)}function Mli(l){const m=l.parameters[0];if(l.parameters.length!==1)return Zi(m?m.name:l,F.An_index_signature_must_have_exactly_one_parameter);if(iS(l.parameters,F.An_index_signature_cannot_have_a_trailing_comma),m.dotDotDotToken)return Zi(m.dotDotDotToken,F.An_index_signature_cannot_have_a_rest_parameter);if(jq(m))return Zi(m.name,F.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(m.questionToken)return Zi(m.questionToken,F.An_index_signature_parameter_cannot_have_a_question_mark);if(m.initializer)return Zi(m.name,F.An_index_signature_parameter_cannot_have_an_initializer);if(!m.type)return Zi(m.name,F.An_index_signature_parameter_must_have_a_type_annotation);const D=Ar(m.type);return yE(D,C=>!!(C.flags&8576))||kz(D)?Zi(m.name,F.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):e4(D,Bge)?l.type?!1:Zi(l,F.An_index_signature_must_have_a_type_annotation):Zi(m.name,F.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function zli(l){return S3(l)||Mli(l)}function Ili(l,m){if(m&&m.length===0){const D=zn(l),C=m.pos-1,A=gs(D.text,m.end)+1;return Wb(D,C,A-C,F.Type_argument_list_cannot_be_empty)}return!1}function Aie(l,m){return iS(m)||Ili(l,m)}function Rli(l){return l.questionDotToken||l.flags&64?Zi(l.template,F.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function tpt(l){const m=l.types;if(iS(m))return!0;if(m&&m.length===0){const D=Uo(l.token);return Wb(l,m.pos,0,F._0_list_cannot_be_empty,D)}return Oe(m,ipt)}function ipt(l){return c5(l)&&KP(l.expression)&&l.typeArguments?Zi(l,F.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):Aie(l,l.typeArguments)}function Oli(l){let m=!1,D=!1;if(!S3(l)&&l.heritageClauses)for(const C of l.heritageClauses){if(C.token===96){if(m)return r1(C,F.extends_clause_already_seen);if(D)return r1(C,F.extends_clause_must_precede_implements_clause);if(C.types.length>1)return r1(C.types[1],F.Classes_can_only_extend_a_single_class);m=!0}else{if(H.assert(C.token===119),D)return r1(C,F.implements_clause_already_seen);D=!0}tpt(C)}}function jli(l){let m=!1;if(l.heritageClauses)for(const D of l.heritageClauses){if(D.token===96){if(m)return r1(D,F.extends_clause_already_seen);m=!0}else return H.assert(D.token===119),r1(D,F.Interface_declaration_cannot_have_implements_clause);tpt(D)}return!1}function h_e(l){if(l.kind!==167)return!1;const m=l;return m.expression.kind===226&&m.expression.operatorToken.kind===28?Zi(m.expression,F.A_comma_expression_is_not_allowed_in_a_computed_property_name):!1}function Zze(l){if(l.asteriskToken){if(H.assert(l.kind===262||l.kind===218||l.kind===174),l.flags&33554432)return Zi(l.asteriskToken,F.Generators_are_not_allowed_in_an_ambient_context);if(!l.body)return Zi(l.asteriskToken,F.An_overload_signature_cannot_be_declared_as_a_generator)}}function Yze(l,m){return!!l&&Zi(l,m)}function npt(l,m){return!!l&&Zi(l,m)}function Vli(l,m){const D=new Map;for(const C of l.properties){if(C.kind===305){if(m){const I=l0(C.expression);if(Dh(I)||ys(I))return Zi(C.expression,F.A_rest_element_cannot_contain_a_binding_pattern)}continue}const A=C.name;if(A.kind===167&&h_e(A),C.kind===304&&!m&&C.objectAssignmentInitializer&&Zi(C.equalsToken,F.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),A.kind===81&&Zi(A,F.Private_identifiers_are_not_allowed_outside_class_bodies),Hp(C)&&C.modifiers)for(const I of C.modifiers)Qo(I)&&(I.kind!==134||C.kind!==174)&&Zi(I,F._0_modifier_cannot_be_used_here,Hc(I));else if(LFe(C)&&C.modifiers)for(const I of C.modifiers)Qo(I)&&Zi(I,F._0_modifier_cannot_be_used_here,Hc(I));let w;switch(C.kind){case 304:case 303:npt(C.exclamationToken,F.A_definite_assignment_assertion_is_not_permitted_in_this_context),Yze(C.questionToken,F.An_object_member_cannot_be_declared_optional),A.kind===9&&eIe(A),w=4;break;case 174:w=8;break;case 177:w=1;break;case 178:w=2;break;default:H.assertNever(C,"Unexpected syntax kind:"+C.kind)}if(!m){const I=tIe(A);if(I===void 0)continue;const U=D.get(I);if(!U)D.set(I,w);else if(w&8&&U&8)Zi(A,F.Duplicate_identifier_0,Hc(A));else if(w&4&&U&4)Zi(A,F.An_object_literal_cannot_have_multiple_properties_with_the_same_name,Hc(A));else if(w&3&&U&3)if(U!==3&&w!==U)D.set(I,w|U);else return Zi(A,F.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);else return Zi(A,F.An_object_literal_cannot_have_property_and_accessor_with_the_same_name)}}}function Hli(l){Kli(l.tagName),Aie(l,l.typeArguments);const m=new Map;for(const D of l.attributes.properties){if(D.kind===293)continue;const{name:C,initializer:A}=D,w=MP(C);if(!m.get(w))m.set(w,!0);else return Zi(C,F.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(A&&A.kind===294&&!A.expression)return Zi(A,F.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}function Kli(l){if(Iu(l)&&gg(l.expression))return Zi(l.expression,F.JSX_property_access_expressions_cannot_include_JSX_namespace_names);if(gg(l)&&iZ(ae)&&!aB(l.namespace.escapedText))return Zi(l,F.React_components_cannot_include_JSX_namespace_names)}function Wli(l){if(l.expression&&eM(l.expression))return Zi(l.expression,F.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}function upt(l){if(SD(l))return!0;if(l.kind===250&&l.awaitModifier&&!(l.flags&65536)){const m=zn(l);if(fq(l)){if(!Kb(m))switch(s7(m,ae)||Vs.add(Su(l.awaitModifier,F.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)),ne){case 100:case 199:if(m.impliedNodeFormat===1){Vs.add(Su(l.awaitModifier,F.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 4:if(Ce>=4)break;default:Vs.add(Su(l.awaitModifier,F.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher));break}}else if(!Kb(m)){const D=Su(l.awaitModifier,F.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),C=Nm(l);if(C&&C.kind!==176){H.assert((kd(C)&2)===0,"Enclosing function should never be an async function.");const A=Su(C,F.Did_you_mean_to_mark_this_function_as_async);Es(D,A)}return Vs.add(D),!0}return!1}if(SV(l)&&!(l.flags&65536)&&at(l.initializer)&&l.initializer.escapedText==="async")return Zi(l.initializer,F.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(l.initializer.kind===261){const m=l.initializer;if(!Xze(m)){const D=m.declarations;if(!D.length)return!1;if(D.length>1){const A=l.kind===249?F.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:F.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return r1(m.declarations[1],A)}const C=D[0];if(C.initializer){const A=l.kind===249?F.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:F.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return Zi(C.name,A)}if(C.type){const A=l.kind===249?F.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:F.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return Zi(C,A)}}}return!1}function Gli(l){if(!(l.flags&33554432)&&l.parent.kind!==187&&l.parent.kind!==264){if(Ce<1)return Zi(l.name,F.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(Ce<2&&Xr(l.name))return Zi(l.name,F.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(l.body===void 0&&!Yu(l,64))return Wb(l,l.end-1,1,F._0_expected,"{")}if(l.body){if(Yu(l,64))return Zi(l,F.An_abstract_accessor_cannot_have_an_implementation);if(l.parent.kind===187||l.parent.kind===264)return Zi(l.body,F.An_implementation_cannot_be_declared_in_ambient_contexts)}if(l.typeParameters)return Zi(l.name,F.An_accessor_cannot_have_type_parameters);if(!Jli(l))return Zi(l.name,l.kind===177?F.A_get_accessor_cannot_have_parameters:F.A_set_accessor_must_have_exactly_one_parameter);if(l.kind===178){if(l.type)return Zi(l.name,F.A_set_accessor_cannot_have_a_return_type_annotation);const m=H.checkDefined(hP(l),"Return value does not match parameter count assertion.");if(m.dotDotDotToken)return Zi(m.dotDotDotToken,F.A_set_accessor_cannot_have_rest_parameter);if(m.questionToken)return Zi(m.questionToken,F.A_set_accessor_cannot_have_an_optional_parameter);if(m.initializer)return Zi(l.name,F.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function Jli(l){return Qze(l)||l.parameters.length===(l.kind===177?0:1)}function Qze(l){if(l.parameters.length===(l.kind===177?1:2))return T2(l)}function $li(l){if(l.operator===158){if(l.type.kind!==155)return Zi(l.type,F._0_expected,Uo(155));let m=Lj(l.parent);if(Qn(m)&&kk(m)){const D=h7(m);D&&(m=eB(D)||D)}switch(m.kind){case 260:const D=m;if(D.name.kind!==80)return Zi(l,F.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!qN(D))return Zi(l,F.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(D.parent.flags&2))return Zi(m.name,F.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 172:if(!No(m)||!fP(m))return Zi(m.name,F.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 171:if(!Yu(m,8))return Zi(m.name,F.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return Zi(l,F.unique_symbol_types_are_not_allowed_here)}}else if(l.operator===148&&l.type.kind!==188&&l.type.kind!==189)return r1(l,F.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,Uo(155))}function Jz(l,m){if(EXt(l))return Zi(l,m)}function rpt(l){if(d_e(l))return!0;if(l.kind===174){if(l.parent.kind===210){if(l.modifiers&&!(l.modifiers.length===1&&Pn(l.modifiers).kind===134))return r1(l,F.Modifiers_cannot_appear_here);if(Yze(l.questionToken,F.An_object_member_cannot_be_declared_optional))return!0;if(npt(l.exclamationToken,F.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(l.body===void 0)return Wb(l,l.end-1,1,F._0_expected,"{")}if(Zze(l))return!0}if(mr(l.parent)){if(Ce<2&&Xr(l.name))return Zi(l.name,F.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(l.flags&33554432)return Jz(l.name,F.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(l.kind===174&&!l.body)return Jz(l.name,F.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(l.parent.kind===264)return Jz(l.name,F.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(l.parent.kind===187)return Jz(l.name,F.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function Uli(l){let m=l;for(;m;){if(L8(m))return Zi(l,F.Jump_target_cannot_cross_function_boundary);switch(m.kind){case 256:if(l.label&&m.label.escapedText===l.label.escapedText)return l.kind===251&&!Tx(m.statement,!0)?Zi(l,F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1;break;case 255:if(l.kind===252&&!l.label)return!1;break;default:if(Tx(m,!1)&&!l.label)return!1;break}m=m.parent}if(l.label){const D=l.kind===252?F.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return Zi(l,D)}else{const D=l.kind===252?F.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:F.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return Zi(l,D)}}function qli(l){if(l.dotDotDotToken){const m=l.parent.elements;if(l!==Cr(m))return Zi(l,F.A_rest_element_must_be_last_in_a_destructuring_pattern);if(iS(m,F.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),l.propertyName)return Zi(l.name,F.A_rest_element_cannot_have_a_property_name)}if(l.dotDotDotToken&&l.initializer)return Wb(l,l.initializer.pos-1,1,F.A_rest_element_cannot_have_an_initializer)}function apt(l){return Pm(l)||l.kind===224&&l.operator===41&&l.operand.kind===9}function Zli(l){return l.kind===10||l.kind===224&&l.operator===41&&l.operand.kind===10}function Yli(l){if((Iu(l)||U0(l)&&apt(l.argumentExpression))&&ec(l.expression))return!!(Rc(l).flags&1056)}function opt(l){const m=l.initializer;if(m){const D=!(apt(m)||Yli(m)||m.kind===112||m.kind===97||Zli(m));if((uq(l)||na(l)&&m_e(l))&&!l.type){if(D)return Zi(m,F.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return Zi(m,F.Initializers_are_not_allowed_in_ambient_contexts)}}function Qli(l){const m=Gb(l),D=m&7;if(So(l.name))switch(D){case 6:return Zi(l,F._0_declarations_may_not_have_binding_patterns,"await using");case 4:return Zi(l,F._0_declarations_may_not_have_binding_patterns,"using")}if(l.parent.parent.kind!==249&&l.parent.parent.kind!==250){if(m&33554432)opt(l);else if(!l.initializer){if(So(l.name)&&!So(l.parent))return Zi(l,F.A_destructuring_declaration_must_have_an_initializer);switch(D){case 6:return Zi(l,F._0_declarations_must_be_initialized,"await using");case 4:return Zi(l,F._0_declarations_must_be_initialized,"using");case 2:return Zi(l,F._0_declarations_must_be_initialized,"const")}}}if(l.exclamationToken&&(l.parent.parent.kind!==243||!l.type||l.initializer||m&33554432)){const C=l.initializer?F.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:l.type?F.A_definite_assignment_assertion_is_not_permitted_in_this_context:F.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Zi(l.exclamationToken,C)}return(ne<5||zn(l).impliedNodeFormat===1)&&ne!==4&&!(l.parent.parent.flags&33554432)&&Yu(l.parent.parent,32)&&spt(l.name),!!D&&lpt(l.name)}function spt(l){if(l.kind===80){if(fu(l)==="__esModule")return tci("noEmit",l,F.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else{const m=l.elements;for(const D of m)if(!Fd(D))return spt(D.name)}return!1}function lpt(l){if(l.kind===80){if(l.escapedText==="let")return Zi(l,F.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else{const m=l.elements;for(const D of m)Fd(D)||lpt(D.name)}return!1}function Xze(l){const m=l.declarations;if(iS(l.declarations))return!0;if(!l.declarations.length)return Wb(l,m.pos,m.end-m.pos,F.Variable_declaration_list_cannot_be_empty);const D=l.flags&7;return(D===4||D===6)&&hY(l.parent)?Zi(l,D===4?F.The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:F.The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration):D===6?Fmt(l):!1}function cpt(l){switch(l.kind){case 245:case 246:case 247:case 254:case 248:case 249:case 250:return!1;case 256:return cpt(l.parent)}return!0}function Xli(l){if(!cpt(l.parent)){const m=Gb(l.declarationList)&7;if(m){const D=m===1?"let":m===2?"const":m===4?"using":m===6?"await using":H.fail("Unknown BlockScope flag");return Zi(l,F._0_declarations_can_only_be_declared_inside_a_block,D)}}}function eci(l){const m=l.name.escapedText;switch(l.keywordToken){case 105:if(m!=="target")return Zi(l.name,F._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,Yr(l.name.escapedText),Uo(l.keywordToken),"target");break;case 102:if(m!=="meta")return Zi(l.name,F._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,Yr(l.name.escapedText),Uo(l.keywordToken),"meta");break}}function Kb(l){return l.parseDiagnostics.length>0}function r1(l,m,...D){const C=zn(l);if(!Kb(C)){const A=QE(C,l.pos);return Vs.add(Rd(C,A.start,A.length,m,...D)),!0}return!1}function Wb(l,m,D,C,...A){const w=zn(l);return Kb(w)?!1:(Vs.add(Rd(w,m,D,C,...A)),!0)}function tci(l,m,D,...C){const A=zn(m);return Kb(A)?!1:(A5(l,m,D,...C),!0)}function Zi(l,m,...D){const C=zn(l);return Kb(C)?!1:(Vs.add(Su(l,m,...D)),!0)}function ici(l){const m=Qn(l)?Oq(l):void 0,D=l.typeParameters||m&&Ki(m);if(D){const C=D.pos===D.end?D.pos:gs(zn(l).text,D.pos);return Wb(l,C,D.end-C,F.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function nci(l){const m=l.type||U4(l);if(m)return Zi(m,F.Type_annotation_cannot_appear_on_a_constructor_declaration)}function uci(l){if(Ps(l.name)&&Xn(l.name.expression)&&l.name.expression.operatorToken.kind===103)return Zi(l.parent.members[0],F.A_mapped_type_may_not_declare_properties_or_methods);if(mr(l.parent)){if(us(l.name)&&l.name.text==="constructor")return Zi(l.name,F.Classes_may_not_have_a_field_named_constructor);if(Jz(l.name,F.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(Ce<2&&Xr(l.name))return Zi(l.name,F.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(Ce<2&&ef(l))return Zi(l.name,F.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(ef(l)&&Yze(l.questionToken,F.An_accessor_property_cannot_be_declared_optional))return!0}else if(l.parent.kind===264){if(Jz(l.name,F.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(H.assertNode(l,Mm),l.initializer)return Zi(l.initializer,F.An_interface_property_cannot_have_an_initializer)}else if(fm(l.parent)){if(Jz(l.name,F.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(H.assertNode(l,Mm),l.initializer)return Zi(l.initializer,F.A_type_literal_property_cannot_have_an_initializer)}if(l.flags&33554432&&opt(l),ko(l)&&l.exclamationToken&&(!mr(l.parent)||!l.type||l.initializer||l.flags&33554432||No(l)||P2(l))){const m=l.initializer?F.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:l.type?F.A_definite_assignment_assertion_is_not_permitted_in_this_context:F.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Zi(l.exclamationToken,m)}}function rci(l){return l.kind===264||l.kind===265||l.kind===272||l.kind===271||l.kind===278||l.kind===277||l.kind===270||Yu(l,2208)?!1:r1(l,F.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function aci(l){for(const m of l.statements)if((Q1(m)||m.kind===243)&&rci(m))return!0;return!1}function oci(l){return!!(l.flags&33554432)&&aci(l)}function SD(l){if(l.flags&33554432){if(!ar(l).hasReportedStatementInAmbientContext&&(Co(l.parent)||wx(l.parent)))return ar(l).hasReportedStatementInAmbientContext=r1(l,F.An_implementation_cannot_be_declared_in_ambient_contexts);if(l.parent.kind===241||l.parent.kind===268||l.parent.kind===312){const D=ar(l.parent);if(!D.hasReportedStatementInAmbientContext)return D.hasReportedStatementInAmbientContext=r1(l,F.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function eIe(l){const m=Hc(l).includes("."),D=l.numericLiteralFlags&16;m||D||+l.text<=9007199254740991||i1(!1,Su(l,F.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function sci(l){return!!(!(Mv(l.parent)||zv(l.parent)&&Mv(l.parent.parent))&&Ce<7&&Zi(l,F.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function lci(l,m,...D){const C=zn(l);if(!Kb(C)){const A=QE(C,l.pos);return Vs.add(Rd(C,Ec(A),0,m,...D)),!0}return!1}function cci(){return uh||(uh=[],Ie.forEach((l,m)=>{jde.test(m)&&uh.push(l)})),uh}function dci(l){var m;return l.isTypeOnly&&l.name&&l.namedBindings?Zi(l,F.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):l.isTypeOnly&&((m=l.namedBindings)==null?void 0:m.kind)===275?dpt(l.namedBindings):!1}function dpt(l){return!!L(l.elements,m=>{if(m.isTypeOnly)return r1(m,m.kind===276?F.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:F.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)})}function hci(l){if(ae.verbatimModuleSyntax&&ne===1)return Zi(l,F.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(ne===5)return Zi(l,F.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);if(l.typeArguments)return Zi(l,F.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);const m=l.arguments;if(ne!==99&&ne!==199&&ne!==100&&(iS(m),m.length>1)){const C=m[1];return Zi(C,F.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext)}if(m.length===0||m.length>2)return Zi(l,F.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments);const D=Le(m,uE);return D?Zi(D,F.Argument_of_dynamic_import_cannot_be_spread_element):!1}function fci(l,m){const D=Gu(l);if(D&20&&m.flags&1048576)return Le(m.types,C=>{if(C.flags&524288){const A=D&Gu(C);if(A&4)return l.target===C.target;if(A&16)return!!l.aliasSymbol&&l.aliasSymbol===C.aliasSymbol}return!1})}function mci(l,m){if(Gu(l)&128&&yE(m,H5))return Le(m.types,D=>!H5(D))}function pci(l,m){let D=0;if(go(l,D).length>0||(D=1,go(l,D).length>0))return Le(m.types,A=>go(A,D).length>0)}function gci(l,m){let D;if(!(l.flags&406978556)){let C=0;for(const A of m.types)if(!(A.flags&406978556)){const w=Ds([k_(l),k_(A)]);if(w.flags&4194304)return A;if(Tg(w)||w.flags&1048576){const I=w.flags&1048576?ui(w.types,Tg):1;I>=C&&(D=A,C=I)}}}return D}function Eci(l){if(jl(l,67108864)){const m=Ic(l,D=>!(D.flags&402784252));if(!(m.flags&131072))return m}return l}function hpt(l,m,D){if(m.flags&1048576&&l.flags&2621440){const C=Bht(m,l);if(C)return C;const A=n0(l);if(A){const w=Sht(A,m);if(w){const I=jPe(m,Vt(w,U=>[()=>Wn(U),U.escapedName]),D);if(I!==m)return I}}}}function tIe(l){const m=sk(l);return m||(Ps(l)?fMe(b1(l.expression)):void 0)}function f_e(l){return Jn===l||(Jn=l,an=m2(l)),an}function Gb(l){return ji===l||(ji=l,xn=QD(l)),xn}function m_e(l){const m=Gb(l)&7;return m===2||m===4||m===6}}function kPt(t){return!wx(t)}function Fet(t){return t.kind!==262&&t.kind!==174||!!t.body}function Aet(t){switch(t.parent.kind){case 276:case 281:return at(t);default:return X3(t)}}function Bet(t){switch(t){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function th(t){return!!(t.flags&1)}function Ode(t){return!!(t.flags&2)}function FPt(t){return{getCommonSourceDirectory:t.getCommonSourceDirectory?()=>t.getCommonSourceDirectory():()=>"",getCurrentDirectory:()=>t.getCurrentDirectory(),getSymlinkCache:Lo(t,t.getSymlinkCache),getPackageJsonInfoCache:()=>{var u;return(u=t.getPackageJsonInfoCache)==null?void 0:u.call(t)},useCaseSensitiveFileNames:Lo(t,t.useCaseSensitiveFileNames),redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:u=>t.getProjectReferenceRedirect(u),isSourceOfProjectReferenceRedirect:u=>t.isSourceOfProjectReferenceRedirect(u),fileExists:u=>t.fileExists(u),getFileIncludeReasons:()=>t.getFileIncludeReasons(),readFile:t.readFile?u=>t.readFile(u):void 0}}var jde,YY,MAe,zAe,IAe,RAe,QY,Vde,XY,eQ,wet,tQ,OAe,Rm,Hde,APt=o({"src/compiler/checker.ts"(){Bo(),NAe(),Wy(),jde=/^".+"$/,YY="(anonymous)",MAe=1,zAe=1,IAe=1,RAe=1,QY=(t=>(t[t.None=0]="None",t[t.TypeofEQString=1]="TypeofEQString",t[t.TypeofEQNumber=2]="TypeofEQNumber",t[t.TypeofEQBigInt=4]="TypeofEQBigInt",t[t.TypeofEQBoolean=8]="TypeofEQBoolean",t[t.TypeofEQSymbol=16]="TypeofEQSymbol",t[t.TypeofEQObject=32]="TypeofEQObject",t[t.TypeofEQFunction=64]="TypeofEQFunction",t[t.TypeofEQHostObject=128]="TypeofEQHostObject",t[t.TypeofNEString=256]="TypeofNEString",t[t.TypeofNENumber=512]="TypeofNENumber",t[t.TypeofNEBigInt=1024]="TypeofNEBigInt",t[t.TypeofNEBoolean=2048]="TypeofNEBoolean",t[t.TypeofNESymbol=4096]="TypeofNESymbol",t[t.TypeofNEObject=8192]="TypeofNEObject",t[t.TypeofNEFunction=16384]="TypeofNEFunction",t[t.TypeofNEHostObject=32768]="TypeofNEHostObject",t[t.EQUndefined=65536]="EQUndefined",t[t.EQNull=131072]="EQNull",t[t.EQUndefinedOrNull=262144]="EQUndefinedOrNull",t[t.NEUndefined=524288]="NEUndefined",t[t.NENull=1048576]="NENull",t[t.NEUndefinedOrNull=2097152]="NEUndefinedOrNull",t[t.Truthy=4194304]="Truthy",t[t.Falsy=8388608]="Falsy",t[t.IsUndefined=16777216]="IsUndefined",t[t.IsNull=33554432]="IsNull",t[t.IsUndefinedOrNull=50331648]="IsUndefinedOrNull",t[t.All=134217727]="All",t[t.BaseStringStrictFacts=3735041]="BaseStringStrictFacts",t[t.BaseStringFacts=12582401]="BaseStringFacts",t[t.StringStrictFacts=16317953]="StringStrictFacts",t[t.StringFacts=16776705]="StringFacts",t[t.EmptyStringStrictFacts=12123649]="EmptyStringStrictFacts",t[t.EmptyStringFacts=12582401]="EmptyStringFacts",t[t.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",t[t.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",t[t.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",t[t.BaseNumberFacts=12582146]="BaseNumberFacts",t[t.NumberStrictFacts=16317698]="NumberStrictFacts",t[t.NumberFacts=16776450]="NumberFacts",t[t.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",t[t.ZeroNumberFacts=12582146]="ZeroNumberFacts",t[t.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",t[t.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",t[t.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",t[t.BaseBigIntFacts=12581636]="BaseBigIntFacts",t[t.BigIntStrictFacts=16317188]="BigIntStrictFacts",t[t.BigIntFacts=16775940]="BigIntFacts",t[t.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",t[t.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",t[t.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",t[t.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",t[t.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",t[t.BaseBooleanFacts=12580616]="BaseBooleanFacts",t[t.BooleanStrictFacts=16316168]="BooleanStrictFacts",t[t.BooleanFacts=16774920]="BooleanFacts",t[t.FalseStrictFacts=12121864]="FalseStrictFacts",t[t.FalseFacts=12580616]="FalseFacts",t[t.TrueStrictFacts=7927560]="TrueStrictFacts",t[t.TrueFacts=16774920]="TrueFacts",t[t.SymbolStrictFacts=7925520]="SymbolStrictFacts",t[t.SymbolFacts=16772880]="SymbolFacts",t[t.ObjectStrictFacts=7888800]="ObjectStrictFacts",t[t.ObjectFacts=16736160]="ObjectFacts",t[t.FunctionStrictFacts=7880640]="FunctionStrictFacts",t[t.FunctionFacts=16728e3]="FunctionFacts",t[t.VoidFacts=9830144]="VoidFacts",t[t.UndefinedFacts=26607360]="UndefinedFacts",t[t.NullFacts=42917664]="NullFacts",t[t.EmptyObjectStrictFacts=83427327]="EmptyObjectStrictFacts",t[t.EmptyObjectFacts=83886079]="EmptyObjectFacts",t[t.UnknownFacts=83886079]="UnknownFacts",t[t.AllTypeofNE=556800]="AllTypeofNE",t[t.OrFactsMask=8256]="OrFactsMask",t[t.AndFactsMask=134209471]="AndFactsMask",t))(QY||{}),Vde=new Map(Object.entries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),XY=(t=>(t[t.Normal=0]="Normal",t[t.Contextual=1]="Contextual",t[t.Inferential=2]="Inferential",t[t.SkipContextSensitive=4]="SkipContextSensitive",t[t.SkipGenericFunctions=8]="SkipGenericFunctions",t[t.IsForSignatureHelp=16]="IsForSignatureHelp",t[t.RestBindingElement=32]="RestBindingElement",t[t.TypeOnly=64]="TypeOnly",t))(XY||{}),eQ=(t=>(t[t.None=0]="None",t[t.BivariantCallback=1]="BivariantCallback",t[t.StrictCallback=2]="StrictCallback",t[t.IgnoreReturnTypes=4]="IgnoreReturnTypes",t[t.StrictArity=8]="StrictArity",t[t.StrictTopSignature=16]="StrictTopSignature",t[t.Callback=3]="Callback",t))(eQ||{}),wet=Q$(Fet,kPt),tQ=new Map(Object.entries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3})),OAe=class{},(t=>{t.JSX="JSX",t.IntrinsicElements="IntrinsicElements",t.ElementClass="ElementClass",t.ElementAttributesPropertyNameContainer="ElementAttributesProperty",t.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",t.Element="Element",t.ElementType="ElementType",t.IntrinsicAttributes="IntrinsicAttributes",t.IntrinsicClassAttributes="IntrinsicClassAttributes",t.LibraryManagedAttributes="LibraryManagedAttributes"})(Rm||(Rm={})),Hde=class V6t{constructor(u,s,d){this.moduleResolverHost=void 0,this.inner=void 0,this.disableTrackSymbol=!1;for(var f;s instanceof V6t;)s=s.inner;this.inner=s,this.moduleResolverHost=d,this.context=u,this.canTrackSymbol=!!((f=this.inner)!=null&&f.trackSymbol)}trackSymbol(u,s,d){var f,p;if((f=this.inner)!=null&&f.trackSymbol&&!this.disableTrackSymbol){if(this.inner.trackSymbol(u,s,d))return this.onDiagnosticReported(),!0;u.flags&262144||((p=this.context).trackedSymbols??(p.trackedSymbols=[])).push([u,s,d])}return!1}reportInaccessibleThisError(){var u;(u=this.inner)!=null&&u.reportInaccessibleThisError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleThisError())}reportPrivateInBaseOfClassExpression(u){var s;(s=this.inner)!=null&&s.reportPrivateInBaseOfClassExpression&&(this.onDiagnosticReported(),this.inner.reportPrivateInBaseOfClassExpression(u))}reportInaccessibleUniqueSymbolError(){var u;(u=this.inner)!=null&&u.reportInaccessibleUniqueSymbolError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleUniqueSymbolError())}reportCyclicStructureError(){var u;(u=this.inner)!=null&&u.reportCyclicStructureError&&(this.onDiagnosticReported(),this.inner.reportCyclicStructureError())}reportLikelyUnsafeImportRequiredError(u){var s;(s=this.inner)!=null&&s.reportLikelyUnsafeImportRequiredError&&(this.onDiagnosticReported(),this.inner.reportLikelyUnsafeImportRequiredError(u))}reportTruncationError(){var u;(u=this.inner)!=null&&u.reportTruncationError&&(this.onDiagnosticReported(),this.inner.reportTruncationError())}trackReferencedAmbientModule(u,s){var d;(d=this.inner)!=null&&d.trackReferencedAmbientModule&&(this.onDiagnosticReported(),this.inner.trackReferencedAmbientModule(u,s))}trackExternalModuleSymbolOfImportTypeNode(u){var s;(s=this.inner)!=null&&s.trackExternalModuleSymbolOfImportTypeNode&&(this.onDiagnosticReported(),this.inner.trackExternalModuleSymbolOfImportTypeNode(u))}reportNonlocalAugmentation(u,s,d){var f;(f=this.inner)!=null&&f.reportNonlocalAugmentation&&(this.onDiagnosticReported(),this.inner.reportNonlocalAugmentation(u,s,d))}reportNonSerializableProperty(u){var s;(s=this.inner)!=null&&s.reportNonSerializableProperty&&(this.onDiagnosticReported(),this.inner.reportNonSerializableProperty(u))}onDiagnosticReported(){this.context.reportedDiagnostic=!0}}}});function yt(t,u,s,d){if(t===void 0)return t;const f=u(t);let p;if(f!==void 0)return Ha(f)?p=(d||LPt)(f):p=f,H.assertNode(p,s),p}function kn(t,u,s,d,f){if(t===void 0)return t;const p=t.length;(d===void 0||d<0)&&(d=0),(f===void 0||f>p-d)&&(f=p-d);let E,v=-1,b=-1;d>0||fp-d)&&(f=p-d),Tet(t,u,s,d,f)}function Tet(t,u,s,d,f){let p;const E=t.length;(d>0||f=2&&(f=SPt(f,s)),s.setLexicalEnvironmentFlags(1,!1)),s.suspendLexicalEnvironment(),f}function SPt(t,u){let s;for(let d=0;d{const E=dv,addSource:Ge,setSourceContent:Ae,addName:De,addMapping:ft,appendSourceMap:Ye,toJSON:Ie,toString:()=>JSON.stringify(Ie())};function Ge(St){p();const It=i7(d,St,t.getCurrentDirectory(),t.getCanonicalFileName,!0);let ei=B.get(It);return ei===void 0&&(ei=b.length,b.push(It),v.push(St),B.set(It,ei)),E(),ei}function Ae(St,It){if(p(),It!==null){for(k||(k=[]);k.lengthIt||Se===It&&Ne>ei)}function ft(St,It,ei,ht,Ut,Ni){H.assert(St>=Ce,"generatedLine cannot backtrack"),H.assert(It>=0,"generatedCharacter cannot be negative"),H.assert(ei===void 0||ei>=0,"sourceIndex cannot be negative"),H.assert(ht===void 0||ht>=0,"sourceLine cannot be negative"),H.assert(Ut===void 0||Ut>=0,"sourceCharacter cannot be negative"),p(),(Ke(St,It)||Je(ei,ht,Ut))&&(Gt(),Ce=St,ne=It,xe=!1,Be=!1,fe=!0),ei!==void 0&&ht!==void 0&&Ut!==void 0&&(ve=ei,Se=ht,Ne=Ut,xe=!0,Ni!==void 0&&(pe=Ni,Be=!0)),E()}function Ye(St,It,ei,ht,Ut,Ni){H.assert(St>=Ce,"generatedLine cannot backtrack"),H.assert(It>=0,"generatedCharacter cannot be negative"),p();const ji=[];let xn;const Jn=Gde(ei.mappings);for(const an of Jn){if(Ni&&(an.generatedLine>Ni.line||an.generatedLine===Ni.line&&an.generatedCharacter>Ni.character))break;if(Ut&&(an.generatedLine=1024&&Yt()}function Gt(){if(!(!fe||!Ve())){if(p(),J0&&(j+=String.fromCharCode.apply(void 0,z),z.length=0)}function Ie(){return Gt(),Yt(),{version:3,file:u,sourceRoot:s,sources:b,names:T,mappings:j,sourcesContent:k}}function st(St){St<0?St=(-St<<1)+1:St=St<<1;do{let It=St&31;St=St>>5,St>0&&(It=It|32),We(MPt(It))}while(St>0)}}function Kde(t,u){return{getLineCount:()=>u.length,getLineText:s=>t.substring(u[s],u[s+1])}}function VAe(t){for(let u=t.getLineCount()-1;u>=0;u--){const s=t.getLineText(u),d=nQ.exec(s);if(d)return d[1].trimEnd();if(!s.match(uQ))break}}function PPt(t){return typeof t=="string"||t===null}function HAe(t){return t!==null&&typeof t=="object"&&t.version===3&&typeof t.file=="string"&&typeof t.mappings=="string"&&Ha(t.sources)&&ye(t.sources,Ja)&&(t.sourceRoot===void 0||t.sourceRoot===null||typeof t.sourceRoot=="string")&&(t.sourcesContent===void 0||t.sourcesContent===null||Ha(t.sourcesContent)&&ye(t.sourcesContent,PPt))&&(t.names===void 0||t.names===null||Ha(t.names)&&ye(t.names,Ja))}function Wde(t){try{const u=JSON.parse(t);if(HAe(u))return u}catch{}}function Gde(t){let u=!1,s=0,d=0,f=0,p=0,E=0,v=0,b=0,B;return{get pos(){return s},get error(){return B},get state(){return k(!0,!0)},next(){for(;!u&&s=t.length)return M("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;const ge=zPt(t.charCodeAt(s));if(ge===-1)return M("Invalid character in VLQ"),-1;Y=(ge&32)!==0,se=se|(ge&31)<>1,se=-se):se=se>>1,se}}function Net(t,u){return t===u||t.generatedLine===u.generatedLine&&t.generatedCharacter===u.generatedCharacter&&t.sourceIndex===u.sourceIndex&&t.sourceLine===u.sourceLine&&t.sourceCharacter===u.sourceCharacter&&t.nameIndex===u.nameIndex}function KAe(t){return t.sourceIndex!==void 0&&t.sourceLine!==void 0&&t.sourceCharacter!==void 0}function MPt(t){return t>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:t===62?43:t===63?47:H.fail(`${t}: not a base64 value`)}function zPt(t){return t>=65&&t<=90?t-65:t>=97&&t<=122?t-97+26:t>=48&&t<=57?t-48+52:t===43?62:t===47?63:-1}function Pet(t){return t.sourceIndex!==void 0&&t.sourcePosition!==void 0}function Met(t,u){return t.generatedPosition===u.generatedPosition&&t.sourceIndex===u.sourceIndex&&t.sourcePosition===u.sourcePosition}function IPt(t,u){return H.assert(t.sourceIndex===u.sourceIndex),nl(t.sourcePosition,u.sourcePosition)}function RPt(t,u){return nl(t.generatedPosition,u.generatedPosition)}function OPt(t){return t.sourcePosition}function jPt(t){return t.generatedPosition}function WAe(t,u,s){const d=lr(s),f=u.sourceRoot?$a(u.sourceRoot,d):d,p=$a(u.file,d),E=t.getSourceFileLike(p),v=u.sources.map(oe=>$a(oe,f)),b=new Map(v.map((oe,se)=>[t.getCanonicalFileName(oe),se]));let B,k,T;return{getSourcePosition:Y,getGeneratedPosition:K};function M(oe){const se=E!==void 0?TO(E,oe.generatedLine,oe.generatedCharacter,!0):-1;let ge,ae;if(KAe(oe)){const Ce=t.getSourceFileLike(v[oe.sourceIndex]);ge=u.sources[oe.sourceIndex],ae=Ce!==void 0?TO(Ce,oe.sourceLine,oe.sourceCharacter,!0):-1}return{generatedPosition:se,source:ge,sourceIndex:oe.sourceIndex,sourcePosition:ae,nameIndex:oe.nameIndex}}function z(){if(B===void 0){const oe=Gde(u.mappings),se=ga(oe,M);oe.error!==void 0?(t.log&&t.log(`Encountered error while decoding sourcemap: ${oe.error}`),B=_t):B=se}return B}function j(oe){if(T===void 0){const se=[];for(const ge of z()){if(!Pet(ge))continue;let ae=se[ge.sourceIndex];ae||(se[ge.sourceIndex]=ae=[]),ae.push(ge)}T=se.map(ge=>pi(ge,IPt,Met))}return T[oe]}function J(){if(k===void 0){const oe=[];for(const se of z())oe.push(se);k=pi(oe,RPt,Met)}return k}function K(oe){const se=b.get(t.getCanonicalFileName(oe.fileName));if(se===void 0)return oe;const ge=j(se);if(!Oe(ge))return oe;let ae=va(ge,oe.pos,OPt,nl);ae<0&&(ae=~ae);const Ce=ge[ae];return Ce===void 0||Ce.sourceIndex!==se?oe:{fileName:p,pos:Ce.generatedPosition}}function Y(oe){const se=J();if(!Oe(se))return oe;let ge=va(se,oe.pos,jPt,nl);ge<0&&(ge=~ge);const ae=se[ge];return ae===void 0||!Pet(ae)?oe:{fileName:v[ae.sourceIndex],pos:ae.sourcePosition}}}var Jde,nQ,uQ,rQ,VPt=o({"src/compiler/sourcemap.ts"(){Bo(),Wy(),Jde=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,nQ=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,uQ=/^\s*(\/\/[@#] .*)?$/,rQ={getSourcePosition:il,getGeneratedPosition:il}}});function M1(t){return t=Wl(t),t?$s(t):0}function HPt(t){return!t||!uD(t)?!1:Oe(t.elements,zet)}function zet(t){return t.propertyName!==void 0&&t.propertyName.escapedText==="default"}function Kp(t,u){return s;function s(f){return f.kind===312?u(f):d(f)}function d(f){return t.factory.createBundle(Vt(f.sourceFiles,u),f.prepends)}}function GAe(t){return!!Q8(t)}function aQ(t){if(Q8(t))return!0;const u=t.importClause&&t.importClause.namedBindings;if(!u||!uD(u))return!1;let s=0;for(const d of u.elements)zet(d)&&s++;return s>0&&s!==u.elements.length||!!(u.elements.length-s)&&c7(t)}function $de(t){return!aQ(t)&&(c7(t)||!!t.importClause&&uD(t.importClause.namedBindings)&&HPt(t.importClause.namedBindings))}function Ude(t,u){const s=t.getEmitResolver(),d=t.getCompilerOptions(),f=[],p=new Qde,E=[],v=new Map;let b,B=!1,k,T=!1,M=!1,z=!1;for(const K of u.statements)switch(K.kind){case 272:f.push(K),!M&&aQ(K)&&(M=!0),!z&&$de(K)&&(z=!0);break;case 271:K.moduleReference.kind===283&&f.push(K);break;case 278:if(K.moduleSpecifier)if(!K.exportClause)f.push(K),T=!0;else if(f.push(K),ep(K.exportClause))J(K);else{const Y=K.exportClause.name;v.get(fu(Y))||(fM(E,M1(K),Y),v.set(fu(Y),!0),b=xi(b,Y)),M=!0}else J(K);break;case 277:K.isExportEquals&&!k&&(k=K);break;case 243:if(Yu(K,32))for(const Y of K.declarationList.declarations)b=Iet(Y,v,b,E);break;case 262:if(Yu(K,32))if(Yu(K,2048))B||(fM(E,M1(K),t.factory.getDeclarationName(K)),B=!0);else{const Y=K.name;v.get(fu(Y))||(fM(E,M1(K),Y),v.set(fu(Y),!0),b=xi(b,Y))}break;case 263:if(Yu(K,32))if(Yu(K,2048))B||(fM(E,M1(K),t.factory.getDeclarationName(K)),B=!0);else{const Y=K.name;Y&&!v.get(fu(Y))&&(fM(E,M1(K),Y),v.set(fu(Y),!0),b=xi(b,Y))}break}const j=Oce(t.factory,t.getEmitHelperFactory(),u,d,T,M,z);return j&&f.unshift(j),{externalImports:f,exportSpecifiers:p,exportEquals:k,hasExportStarsToExportValues:T,exportedBindings:E,exportedNames:b,externalHelpersImportDeclaration:j};function J(K){for(const Y of Po(K.exportClause,ep).elements)if(!v.get(fu(Y.name))){const oe=Y.propertyName||Y.name;K.moduleSpecifier||p.add(oe,Y);const se=s.getReferencedImportDeclaration(oe)||s.getReferencedValueDeclaration(oe);se&&fM(E,M1(se),Y.name),v.set(fu(Y.name),!0),b=xi(b,Y.name)}}}function Iet(t,u,s,d){if(So(t.name))for(const f of t.name.elements)Fd(f)||(s=Iet(f,u,s,d));else if(!al(t.name)){const f=fu(t.name);u.get(f)||(u.set(f,!0),s=xi(s,t.name),rD(t.name)&&fM(d,M1(t),t.name))}return s}function fM(t,u,s){let d=t[u];return d?d.push(s):t[u]=d=[s],d}function Y2(t){return t0(t)||t.kind===9||uf(t.kind)||at(t)}function sE(t){return!at(t)&&Y2(t)}function mM(t){return t>=65&&t<=79}function pM(t){switch(t){case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 45;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 75:return 52;case 79:return 53;case 76:return 57;case 77:return 56;case 78:return 61}}function oQ(t){if(!Od(t))return;const u=l0(t.expression);return ik(u)?u:void 0}function Ret(t,u,s){for(let d=u;dWPt(d,u,s))}function KPt(t){return GPt(t)||zl(t)}function lQ(t){return ti(t.members,KPt)}function WPt(t,u,s){return ko(t)&&(!!t.initializer||!u)&&Kc(t)===s}function GPt(t){return ko(t)&&Kc(t)}function fH(t){return t.kind===172&&t.initializer!==void 0}function JAe(t){return!No(t)&&(N8(t)||ef(t))&&Xr(t.name)}function $Ae(t){let u;if(t){const s=t.parameters,d=s.length>0&&L2(s[0]),f=d?1:0,p=d?s.length-1:s.length;for(let E=0;EYde(s.privateEnv,u))}var Y7,Qde,UPt=o({"src/compiler/transformers/utilities.ts"(){Bo(),Y7=class LT{constructor(){this._map=new Map}get size(){return this._map.size}has(u){return this._map.has(LT.toKey(u))}get(u){return this._map.get(LT.toKey(u))}set(u,s){return this._map.set(LT.toKey(u),s),this}delete(u){var s;return((s=this._map)==null?void 0:s.delete(LT.toKey(u)))??!1}clear(){this._map.clear()}values(){return this._map.values()}static toKey(u){if(Uy(u)||al(u)){const s=u.emitNode.autoGenerate;if((s.flags&7)===4){const d=jV(u),f=J_(d)&&d!==u?LT.toKey(d):`(generated@${$s(d)})`;return jv(!1,s.prefix,f,s.suffix,LT.toKey)}else{const d=`(auto@${s.id})`;return jv(!1,s.prefix,d,s.suffix,LT.toKey)}}return Xr(u)?fu(u).slice(1):fu(u)}},Qde=class extends Y7{add(t,u){let s=this.get(t);return s?s.push(u):this.set(t,s=[u]),s}remove(t,u){const s=this.get(t);s&&(Vy(s,u),s.length||this.delete(t))}}}});function wk(t,u,s,d,f,p){let E=t,v;if(r5(t))for(v=t.right;Iye(t.left)||dle(t.left);)if(r5(v))E=t=v,v=t.right;else return H.checkDefined(yt(v,u,Wt));let b;const B={context:s,level:d,downlevelIteration:!!s.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:k,emitBindingOrAssignment:T,createArrayBindingOrAssignmentPattern:M=>iMt(s.factory,M),createObjectBindingOrAssignmentPattern:M=>uMt(s.factory,M),createArrayBindingOrAssignmentElement:aMt,visitor:u};if(v&&(v=yt(v,u,Wt),H.assert(v),at(v)&&YAe(t,v.escapedText)||QAe(t)?v=Q7(B,v,!1,E):f?v=Q7(B,v,!0,E):sl(t)&&(E=v)),gM(B,t,v,E,r5(t)),v&&f){if(!Oe(b))return v;b.push(v)}return s.factory.inlineExpressions(b)||s.factory.createOmittedExpression();function k(M){b=xi(b,M)}function T(M,z,j,J){H.assertNode(M,p?at:Wt);const K=p?p(M,z,j):Pt(s.factory.createAssignment(H.checkDefined(yt(M,u,Wt)),z),j);K.original=J,k(K)}}function YAe(t,u){const s=$x(t);return UO(s)?qPt(s,u):at(s)?s.escapedText===u:!1}function qPt(t,u){const s=IB(t);for(const d of s)if(YAe(d,u))return!0;return!1}function QAe(t){const u=yY(t);if(u&&Ps(u)&&!E2(u.expression))return!0;const s=$x(t);return!!s&&UO(s)&&ZPt(s)}function ZPt(t){return!!L(IB(t),QAe)}function Q2(t,u,s,d,f,p=!1,E){let v;const b=[],B=[],k={context:s,level:d,downlevelIteration:!!s.getCompilerOptions().downlevelIteration,hoistTempVariables:p,emitExpression:T,emitBindingOrAssignment:M,createArrayBindingOrAssignmentPattern:z=>tMt(s.factory,z),createObjectBindingOrAssignmentPattern:z=>nMt(s.factory,z),createArrayBindingOrAssignmentElement:z=>rMt(s.factory,z),visitor:u};if(na(t)){let z=RV(t);z&&(at(z)&&YAe(t,z.escapedText)||QAe(t))&&(z=Q7(k,H.checkDefined(yt(z,k.visitor,Wt)),!1,z),t=s.factory.updateVariableDeclaration(t,t.name,void 0,void 0,z))}if(gM(k,t,f,t,E),v){const z=s.factory.createTempVariable(void 0);if(p){const j=s.factory.inlineExpressions(v);v=void 0,M(z,j,void 0,void 0)}else{s.hoistVariableDeclaration(z);const j=Cr(b);j.pendingExpressions=xi(j.pendingExpressions,s.factory.createAssignment(z,j.value)),yn(j.pendingExpressions,v),j.value=z}}for(const{pendingExpressions:z,name:j,value:J,location:K,original:Y}of b){const oe=s.factory.createVariableDeclaration(j,void 0,void 0,z?s.factory.inlineExpressions(xi(z,J)):J);oe.original=Y,Pt(oe,K),B.push(oe)}return B;function T(z){v=xi(v,z)}function M(z,j,J,K){H.assertNode(z,qy),v&&(j=s.factory.inlineExpressions(xi(v,j)),v=void 0),b.push({pendingExpressions:v,name:z,value:j,location:J,original:K})}}function gM(t,u,s,d,f){const p=$x(u);if(!f){const E=yt(RV(u),t.visitor,Wt);E?s?(s=XPt(t,s,E,d),!sE(E)&&UO(p)&&(s=Q7(t,s,!0,d))):s=E:s||(s=t.context.factory.createVoidZero())}Yse(p)?YPt(t,u,p,s,d):Qse(p)?QPt(t,u,p,s,d):t.emitBindingOrAssignment(p,s,d,u)}function YPt(t,u,s,d,f){const p=IB(s),E=p.length;if(E!==1){const B=!$O(u)||E!==0;d=Q7(t,d,B,f)}let v,b;for(let B=0;B=1&&!(k.transformFlags&98304)&&!($x(k).transformFlags&98304)&&!Ps(T))v=xi(v,yt(k,t.visitor,rbe));else{v&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(v),d,f,s),v=void 0);const M=eMt(t,d,T);Ps(T)&&(b=xi(b,M.argumentExpression)),gM(t,k,M,k)}}}v&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(v),d,f,s)}function QPt(t,u,s,d,f){const p=IB(s),E=p.length;if(t.level<1&&t.downlevelIteration)d=Q7(t,Pt(t.context.getEmitHelperFactory().createReadHelper(d,E>0&&bY(p[E-1])?void 0:E),f),!1,f);else if(E!==1&&(t.level<1||E===0)||ye(p,Fd)){const B=!$O(u)||E!==0;d=Q7(t,d,B,f)}let v,b;for(let B=0;B=1)if(k.transformFlags&65536||t.hasTransformedPriorElement&&!jet(k)){t.hasTransformedPriorElement=!0;const T=t.context.factory.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(T),b=xi(b,[T,k]),v=xi(v,t.createArrayBindingOrAssignmentElement(T))}else v=xi(v,k);else{if(Fd(k))continue;if(bY(k)){if(B===E-1){const T=t.context.factory.createArraySliceCall(d,B);gM(t,k,T,k)}}else{const T=t.context.factory.createElementAccessExpression(d,B);gM(t,k,T,k)}}}if(v&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(v),d,f,s),b)for(const[B,k]of b)gM(t,k,B,k)}function jet(t){const u=$x(t);if(!u||Fd(u))return!0;const s=yY(t);if(s&&!Xg(s))return!1;const d=RV(t);return d&&!sE(d)?!1:UO(u)?ye(IB(u),jet):at(u)}function XPt(t,u,s,d){return u=Q7(t,u,!0,d),t.context.factory.createConditionalExpression(t.context.factory.createTypeCheck(u,"undefined"),void 0,s,void 0,u)}function eMt(t,u,s){const{factory:d}=t.context;if(Ps(s)){const f=Q7(t,H.checkDefined(yt(s.expression,t.visitor,Wt)),!1,s);return t.context.factory.createElementAccessExpression(u,f)}else if(Pm(s)){const f=d.cloneNode(s);return t.context.factory.createElementAccessExpression(u,f)}else{const f=t.context.factory.createIdentifier(fu(s));return t.context.factory.createPropertyAccessExpression(u,f)}}function Q7(t,u,s,d){if(at(u)&&s)return u;{const f=t.context.factory.createTempVariable(void 0);return t.hoistTempVariables?(t.context.hoistVariableDeclaration(f),t.emitExpression(Pt(t.context.factory.createAssignment(f,u),d))):t.emitBindingOrAssignment(f,u,d,void 0),f}}function tMt(t,u){return H.assertEachNode(u,jU),t.createArrayBindingPattern(u)}function iMt(t,u){return H.assertEachNode(u,ZO),t.createArrayLiteralExpression(Vt(u,t.converters.convertToArrayAssignmentElement))}function nMt(t,u){return H.assertEachNode(u,js),t.createObjectBindingPattern(u)}function uMt(t,u){return H.assertEachNode(u,qO),t.createObjectLiteralExpression(Vt(u,t.converters.convertToObjectAssignmentElement))}function rMt(t,u){return t.createBindingElement(void 0,void 0,u)}function aMt(t){return t}var Xde,oMt=o({"src/compiler/transformers/destructuring.ts"(){Bo(),Xde=(t=>(t[t.All=0]="All",t[t.ObjectRest=1]="ObjectRest",t))(Xde||{})}});function XAe(t,u,s=t.createThis()){const d=t.createAssignment(u,s),f=t.createExpressionStatement(d),p=t.createBlock([f],!1),E=t.createClassStaticBlockDeclaration(p);return P1(E).classThis=u,E}function EM(t){var u;if(!zl(t)||t.body.statements.length!==1)return!1;const s=t.body.statements[0];return Od(s)&&ld(s.expression,!0)&&at(s.expression.left)&&((u=t.emitNode)==null?void 0:u.classThis)===s.expression.left&&s.expression.right.kind===110}function e1e(t){var u;return!!((u=t.emitNode)!=null&&u.classThis)&&Oe(t.members,EM)}function e7e(t,u,s,d){if(e1e(u))return u;const f=XAe(t,s,d);u.name&&As(f.body.statements[0],u.name);const p=t.createNodeArray([f,...u.members]);Pt(p,u.members);const E=Wc(u)?t.updateClassDeclaration(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,p):t.updateClassExpression(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,p);return P1(E).classThis=s,E}var sMt=o({"src/compiler/transformers/classThis.ts"(){Bo()}});function _M(t,u,s){const d=Wl(Dc(s));return(Wc(d)||ed(d))&&!d.name&&Yu(d,2048)?t.createStringLiteral("default"):t.createStringLiteralFromNode(u)}function Vet(t,u,s){const{factory:d}=t;if(s!==void 0)return{assignedName:d.createStringLiteral(s),name:u};if(Xg(u)||Xr(u))return{assignedName:d.createStringLiteralFromNode(u),name:u};if(Xg(u.expression)&&!at(u.expression))return{assignedName:d.createStringLiteralFromNode(u.expression),name:u};const f=d.getGeneratedNameForNode(u);t.hoistVariableDeclaration(f);const p=t.getEmitHelperFactory().createPropKeyHelper(u.expression),E=d.createAssignment(f,p),v=d.updateComputedPropertyName(u,E);return{assignedName:f,name:v}}function t7e(t,u,s=t.factory.createThis()){const{factory:d}=t,f=t.getEmitHelperFactory().createSetFunctionNameHelper(s,u),p=d.createExpressionStatement(f),E=d.createBlock([p],!1),v=d.createClassStaticBlockDeclaration(E);return P1(v).assignedName=u,v}function X7(t){var u;if(!zl(t)||t.body.statements.length!==1)return!1;const s=t.body.statements[0];return Od(s)&&jP(s.expression,"___setFunctionName")&&s.expression.arguments.length>=2&&s.expression.arguments[1]===((u=t.emitNode)==null?void 0:u.assignedName)}function dQ(t){var u;return!!((u=t.emitNode)!=null&&u.assignedName)&&Oe(t.members,X7)}function t1e(t){return!!t.name||dQ(t)}function hQ(t,u,s,d){if(dQ(u))return u;const{factory:f}=t,p=t7e(t,s,d);u.name&&As(p.body.statements[0],u.name);const E=Ue(u.members,EM)+1,v=u.members.slice(0,E),b=u.members.slice(E),B=f.createNodeArray([...v,p,...b]);return Pt(B,u.members),u=Wc(u)?f.updateClassDeclaration(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,B):f.updateClassExpression(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,B),P1(u).assignedName=s,u}function UB(t,u,s,d){if(d&&us(s)&&B0e(s))return u;const{factory:f}=t,p=Dc(u),E=Xd(p)?Po(hQ(t,p,s),Xd):t.getEmitHelperFactory().createSetFunctionNameHelper(p,s);return f.restoreOuterExpressions(u,E)}function lMt(t,u,s,d){const{factory:f}=t,{assignedName:p,name:E}=Vet(t,u.name,d),v=UB(t,u.initializer,p,s);return f.updatePropertyAssignment(u,E,v)}function cMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):_M(f,u.name,u.objectAssignmentInitializer),E=UB(t,u.objectAssignmentInitializer,p,s);return f.updateShorthandPropertyAssignment(u,u.name,E)}function dMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):_M(f,u.name,u.initializer),E=UB(t,u.initializer,p,s);return f.updateVariableDeclaration(u,u.name,u.exclamationToken,u.type,E)}function hMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):_M(f,u.name,u.initializer),E=UB(t,u.initializer,p,s);return f.updateParameterDeclaration(u,u.modifiers,u.dotDotDotToken,u.name,u.questionToken,u.type,E)}function fMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):_M(f,u.name,u.initializer),E=UB(t,u.initializer,p,s);return f.updateBindingElement(u,u.dotDotDotToken,u.propertyName,u.name,E)}function mMt(t,u,s,d){const{factory:f}=t,{assignedName:p,name:E}=Vet(t,u.name,d),v=UB(t,u.initializer,p,s);return f.updatePropertyDeclaration(u,u.modifiers,E,u.questionToken??u.exclamationToken,u.type,v)}function pMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):_M(f,u.left,u.right),E=UB(t,u.right,p,s);return f.updateBinaryExpression(u,u.left,u.operatorToken,E)}function gMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):f.createStringLiteral(u.isExportEquals?"":"default"),E=UB(t,u.expression,p,s);return f.updateExportAssignment(u,u.modifiers,E)}function Vf(t,u,s,d){switch(u.kind){case 303:return lMt(t,u,s,d);case 304:return cMt(t,u,s,d);case 260:return dMt(t,u,s,d);case 169:return hMt(t,u,s,d);case 208:return fMt(t,u,s,d);case 172:return mMt(t,u,s,d);case 226:return pMt(t,u,s,d);case 277:return gMt(t,u,s,d)}}var EMt=o({"src/compiler/transformers/namedEvaluation.ts"(){Bo()}});function i1e(t,u,s,d,f,p){const E=yt(u.tag,s,Wt);H.assert(E);const v=[void 0],b=[],B=[],k=u.template;if(p===0&&!Q0e(k))return rn(u,s,t);const{factory:T}=t;if(T7(k))b.push(i7e(T,k)),B.push(n7e(T,k,d));else{b.push(i7e(T,k.head)),B.push(n7e(T,k.head,d));for(const z of k.templateSpans)b.push(i7e(T,z.literal)),B.push(n7e(T,z.literal,d)),v.push(H.checkDefined(yt(z.expression,s,Wt)))}const M=t.getEmitHelperFactory().createTemplateObjectHelper(T.createArrayLiteralExpression(b),T.createArrayLiteralExpression(B));if(wc(d)){const z=T.createUniqueName("templateObject");f(z),v[0]=T.createLogicalOr(z,T.createAssignment(z,M))}else v[0]=M;return T.createCallExpression(E,void 0,v)}function i7e(t,u){return u.templateFlags&26656?t.createVoidZero():t.createStringLiteral(u.text)}function n7e(t,u,s){let d=u.rawText;if(d===void 0){H.assertIsDefined(s,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),d=x2(s,u);const f=u.kind===15||u.kind===18;d=d.substring(1,d.length-(f?1:2))}return d=d.replace(/\r\n?/g,` -`),Pt(t.createStringLiteral(d),u)}var n1e,_Mt=o({"src/compiler/transformers/taggedTemplate.ts"(){Bo(),n1e=(t=>(t[t.LiftRestriction=0]="LiftRestriction",t[t.All=1]="All",t))(n1e||{})}});function u7e(t){const{factory:u,getEmitHelperFactory:s,startLexicalEnvironment:d,resumeLexicalEnvironment:f,endLexicalEnvironment:p,hoistVariableDeclaration:E}=t,v=t.getEmitResolver(),b=t.getCompilerOptions(),B=Os(b),k=m1(b),T=!!b.experimentalDecorators,M=b.emitDecoratorMetadata?a7e(t):void 0,z=t.onEmitNode,j=t.onSubstituteNode;t.onEmitNode=Jp,t.onSubstituteNode=Lc,t.enableSubstitution(211),t.enableSubstitution(212);let J,K,Y,oe,se,ge,ae,Ce;return ne;function ne($){return $.kind===313?ve($):Se($)}function ve($){return u.createBundle($.sourceFiles.map(Se),qi($.prepends,tt=>tt.kind===315?nce(tt,"js"):tt))}function Se($){if($.isDeclarationFile)return $;J=$;const tt=Ne($,st);return iD(tt,t.readEmitHelpers()),J=void 0,tt}function Ne($,tt){const vt=oe,mi=se,fn=ge;pe($);const Wu=tt($);return oe!==vt&&(se=mi),oe=vt,ge=fn,Wu}function pe($){switch($.kind){case 312:case 269:case 268:case 241:oe=$,se=void 0;break;case 263:case 262:if(Yu($,128))break;$.name?je($):H.assert($.kind===263||Yu($,2048));break}}function fe($){return Ne($,xe)}function xe($){return $.transformFlags&1?Ie($):$}function Be($){return Ne($,Ge)}function Ge($){switch($.kind){case 272:case 271:case 277:case 278:return Ae($);default:return xe($)}}function Ae($){if(Ua($)!==$)return $.transformFlags&1?rn($,fe,t):$;switch($.kind){case 272:return Ui($);case 271:return as($);case 277:return pr($);case 278:return Xu($);default:H.fail("Unhandled ellided statement")}}function De($){return Ne($,Ke)}function Ke($){if(!($.kind===278||$.kind===272||$.kind===273||$.kind===271&&$.moduleReference.kind===283))return $.transformFlags&1||Yu($,32)?Ie($):$}function Je($){return tt=>Ne(tt,vt=>ft(vt,$))}function ft($,tt){switch($.kind){case 176:return Cn($);case 172:return Dn($,tt);case 177:return Yo($,tt);case 178:return bo($,tt);case 174:return ua($,tt);case 175:return rn($,fe,t);case 240:return $;case 181:return;default:return H.failBadSyntaxKind($)}}function Ye($){return tt=>Ne(tt,vt=>Ve(vt,$))}function Ve($,tt){switch($.kind){case 303:case 304:case 305:return fe($);case 177:return Yo($,tt);case 178:return bo($,tt);case 174:return ua($,tt);default:return H.failBadSyntaxKind($)}}function We($){return g1($)?void 0:fe($)}function Gt($){return Qo($)?void 0:fe($)}function Yt($){if(!g1($)&&!(_7($.kind)&28895)&&!(K&&$.kind===95))return $}function Ie($){if(ia($)&&Yu($,128))return u.createNotEmittedStatement($);switch($.kind){case 95:case 90:return K?void 0:$;case 125:case 123:case 124:case 128:case 164:case 87:case 138:case 148:case 103:case 147:case 188:case 189:case 190:case 191:case 187:case 182:case 168:case 133:case 159:case 136:case 154:case 150:case 146:case 116:case 155:case 185:case 184:case 186:case 183:case 192:case 193:case 194:case 196:case 197:case 198:case 199:case 200:case 201:case 181:return;case 265:return u.createNotEmittedStatement($);case 270:return;case 264:return u.createNotEmittedStatement($);case 263:return Ut($);case 231:return Ni($);case 298:return jn($);case 233:return Ln($);case 210:return St($);case 176:case 172:case 174:case 177:case 178:case 175:return H.fail("Class and object literal elements must be visited with their respective visitors");case 262:return Qe($);case 218:return Et($);case 219:return Mt($);case 169:return qt($);case 217:return gt($);case 216:case 234:return ii($);case 238:return ni($);case 213:return vi($);case 214:return mt($);case 215:return Ot($);case 235:return me($);case 266:return on($);case 243:return Xt($);case 260:return et($);case 267:return ct($);case 271:return as($);case 285:return Ei($);case 286:return $i($);default:return rn($,fe,t)}}function st($){const tt=Z4(b,"alwaysStrict")&&!(wc($)&&k>=5)&&!W4($);return u.updateSourceFile($,iQ($.statements,Be,t,0,tt))}function St($){return u.updateObjectLiteralExpression($,kn($.properties,Ye($),Z3))}function It($){let tt=0;Oe(qde($,!0,!0))&&(tt|=1);const vt=Qg($);return vt&&Dc(vt.expression).kind!==106&&(tt|=64),t5(T,$)&&(tt|=2),QN(T,$)&&(tt|=4),wo($)?tt|=8:Ya($)?tt|=32:vc($)&&(tt|=16),tt}function ei($){return!!($.transformFlags&8192)}function ht($){return o4($)||Oe($.typeParameters)||Oe($.heritageClauses,ei)||Oe($.members,ei)}function Ut($){const tt=It($),vt=B<=1&&!!(tt&7);if(!ht($)&&!t5(T,$)&&!wo($))return u.updateClassDeclaration($,kn($.modifiers,Yt,Qo),$.name,void 0,kn($.heritageClauses,fe,mm),kn($.members,Je($),Zd));vt&&t.startLexicalEnvironment();const mi=vt||tt&8;let fn=mi?kn($.modifiers,Gt,ol):kn($.modifiers,fe,ol);tt&2&&(fn=xn(fn,$));const uu=mi&&!$.name||tt&4||tt&1?$.name??u.getGeneratedNameForNode($):$.name,Tu=u.updateClassDeclaration($,fn,uu,void 0,kn($.heritageClauses,fe,mm),ji($));let Nr=bs($);tt&1&&(Nr|=64),Zn(Tu,Nr);let Vu;if(vt){const Ss=[Tu],ic=fle(gs(J.text,$.members.end),20),nd=u.getInternalName($),S0=u.createPartiallyEmittedExpression(nd);mB(S0,ic.end),Zn(S0,3072);const ud=u.createReturnStatement(S0);BP(ud,ic.pos),Zn(ud,3840),Ss.push(ud),ZE(Ss,t.endLexicalEnvironment());const m0=u.createImmediatelyInvokedArrowFunction(Ss);_V(m0,1);const Bd=u.createVariableDeclaration(u.getLocalName($,!1,!1),void 0,void 0,m0);su(Bd,$);const Oh=u.createVariableStatement(void 0,u.createVariableDeclarationList([Bd],1));su(Oh,$),Bc(Oh,$),As(Oh,o5($)),vh(Oh),Vu=Oh}else Vu=Tu;if(mi){if(tt&8)return[Vu,c0($)];if(tt&32)return[Vu,u.createExportDefault(u.getLocalName($,!1,!0))];if(tt&16)return[Vu,u.createExternalModuleExport(u.getDeclarationName($,!1,!0))]}return Vu}function Ni($){let tt=kn($.modifiers,Gt,ol);return t5(T,$)&&(tt=xn(tt,$)),u.updateClassExpression($,tt,$.name,void 0,kn($.heritageClauses,fe,mm),ji($))}function ji($){const tt=kn($.members,Je($),Zd);let vt;const mi=X_($),fn=mi&&ti(mi.parameters,Wu=>Mf(Wu,mi));if(fn)for(const Wu of fn){const uu=u.createPropertyDeclaration(void 0,Wu.name,void 0,void 0,void 0);su(uu,Wu),vt=xi(vt,uu)}return vt?(vt=yn(vt,tt),Pt(u.createNodeArray(vt),$.members)):tt}function xn($,tt){const vt=an(tt,tt);if(Oe(vt)){const mi=[];yn(mi,tU($,OV)),yn(mi,ti($,g1)),yn(mi,vt),yn(mi,ti(n2e($,OV),Qo)),$=Pt(u.createNodeArray(mi),$)}return $}function Jn($,tt,vt){if(mr(vt)&&S0e(T,tt,vt)){const mi=an(tt,vt);if(Oe(mi)){const fn=[];yn(fn,ti($,g1)),yn(fn,mi),yn(fn,ti($,Qo)),$=Pt(u.createNodeArray(fn),$)}}return $}function an($,tt){if(T)return Het?Ai($,tt):Pi($,tt)}function Pi($,tt){if(M){let vt;if(Zu($)){const mi=s().createMetadataHelper("design:type",M.serializeTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$));vt=xi(vt,u.createDecorator(mi))}if(yr($)){const mi=s().createMetadataHelper("design:paramtypes",M.serializeParameterTypesOfNode({currentLexicalScope:oe,currentNameScope:tt},$,tt));vt=xi(vt,u.createDecorator(mi))}if(aa($)){const mi=s().createMetadataHelper("design:returntype",M.serializeReturnTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$));vt=xi(vt,u.createDecorator(mi))}return vt}}function Ai($,tt){if(M){let vt;if(Zu($)){const mi=u.createPropertyAssignment("type",u.createArrowFunction(void 0,void 0,[],void 0,u.createToken(39),M.serializeTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$)));vt=xi(vt,mi)}if(yr($)){const mi=u.createPropertyAssignment("paramTypes",u.createArrowFunction(void 0,void 0,[],void 0,u.createToken(39),M.serializeParameterTypesOfNode({currentLexicalScope:oe,currentNameScope:tt},$,tt)));vt=xi(vt,mi)}if(aa($)){const mi=u.createPropertyAssignment("returnType",u.createArrowFunction(void 0,void 0,[],void 0,u.createToken(39),M.serializeReturnTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$)));vt=xi(vt,mi)}if(vt){const mi=s().createMetadataHelper("design:typeinfo",u.createObjectLiteralExpression(vt,!0));return[u.createDecorator(mi)]}}}function Zu($){const tt=$.kind;return tt===174||tt===177||tt===178||tt===172}function aa($){return $.kind===174}function yr($){switch($.kind){case 263:case 231:return X_($)!==void 0;case 174:case 177:case 178:return!0}return!1}function Ba($,tt){const vt=$.name;return Xr(vt)?u.createIdentifier(""):Ps(vt)?tt&&!sE(vt.expression)?u.getGeneratedNameForNode(vt):vt.expression:at(vt)?u.createStringLiteral(fu(vt)):u.cloneNode(vt)}function bt($){const tt=$.name;if(Ps(tt)&&(!Kc($)&&ge||o4($)&&T)){const vt=yt(tt.expression,fe,Wt);H.assert(vt);const mi=Np(vt);if(!sE(mi)){const fn=u.getGeneratedNameForNode(tt);return E(fn),u.updateComputedPropertyName(tt,u.createAssignment(fn,vt))}}return H.checkDefined(yt(tt,fe,Sc))}function jn($){if($.token!==119)return rn($,fe,t)}function Ln($){return u.updateExpressionWithTypeArguments($,H.checkDefined(yt($.expression,fe,Df)),void 0)}function Si($){return!Ql($.body)}function Dn($,tt){const vt=$.flags&33554432||Yu($,64);if(vt&&!(T&&o4($)))return;let mi=mr(tt)?vt?kn($.modifiers,Gt,ol):kn($.modifiers,fe,ol):kn($.modifiers,We,ol);return mi=Jn(mi,$,tt),vt?u.updatePropertyDeclaration($,Hi(mi,u.createModifiersFromModifierFlags(128)),H.checkDefined(yt($.name,fe,Sc)),void 0,void 0,void 0):u.updatePropertyDeclaration($,mi,bt($),void 0,void 0,yt($.initializer,fe,Wt))}function Cn($){if(Si($))return u.updateConstructorDeclaration($,void 0,xc($.parameters,fe,t),oa($.body,$))}function tu($,tt,vt,mi,fn,Wu){const uu=mi[fn],Tu=tt[uu];if(yn($,kn(tt,fe,ia,vt,uu-vt)),Ck(Tu)){const Nr=[];tu(Nr,Tu.tryBlock.statements,0,mi,fn+1,Wu);const Vu=u.createNodeArray(Nr);Pt(Vu,Tu.tryBlock.statements),$.push(u.updateTryStatement(Tu,u.updateBlock(Tu.tryBlock,Nr),yt(Tu.catchClause,fe,G2),yt(Tu.finallyBlock,fe,po)))}else yn($,kn(tt,fe,ia,uu,1)),yn($,Wu);yn($,kn(tt,fe,ia,uu+1))}function oa($,tt){const vt=tt&&ti(tt.parameters,Nr=>Mf(Nr,tt));if(!Oe(vt))return Om($,fe,t);let mi=[];f();const fn=u.copyPrologue($.statements,mi,!1,fe),Wu=sQ($.statements,fn),uu=qi(vt,Da);Wu.length?tu(mi,$.statements,fn,Wu,0,uu):(yn(mi,uu),yn(mi,kn($.statements,fe,ia,fn))),mi=u.mergeLexicalEnvironment(mi,p());const Tu=u.createBlock(Pt(u.createNodeArray(mi),$.statements),!0);return Pt(Tu,$),su(Tu,$),Tu}function Da($){const tt=$.name;if(!at(tt))return;const vt=ks(Pt(u.cloneNode(tt),tt),tt.parent);Zn(vt,3168);const mi=ks(Pt(u.cloneNode(tt),tt),tt.parent);return Zn(mi,3072),vh(EV(Pt(su(u.createExpressionStatement(u.createAssignment(Pt(u.createPropertyAccessExpression(u.createThis(),vt),$.name),mi)),$),Sv($,-1))))}function ua($,tt){if(!($.transformFlags&1))return $;if(!Si($))return;let vt=mr(tt)?kn($.modifiers,fe,ol):kn($.modifiers,We,ol);return vt=Jn(vt,$,tt),u.updateMethodDeclaration($,vt,$.asteriskToken,bt($),void 0,void 0,xc($.parameters,fe,t),void 0,Om($.body,fe,t))}function Ta($){return!(Ql($.body)&&Yu($,64))}function Yo($,tt){if(!($.transformFlags&1))return $;if(!Ta($))return;let vt=mr(tt)?kn($.modifiers,fe,ol):kn($.modifiers,We,ol);return vt=Jn(vt,$,tt),u.updateGetAccessorDeclaration($,vt,bt($),xc($.parameters,fe,t),void 0,Om($.body,fe,t)||u.createBlock([]))}function bo($,tt){if(!($.transformFlags&1))return $;if(!Ta($))return;let vt=mr(tt)?kn($.modifiers,fe,ol):kn($.modifiers,We,ol);return vt=Jn(vt,$,tt),u.updateSetAccessorDeclaration($,vt,bt($),xc($.parameters,fe,t),Om($.body,fe,t)||u.createBlock([]))}function Qe($){if(!Si($))return u.createNotEmittedStatement($);const tt=u.updateFunctionDeclaration($,kn($.modifiers,Yt,Qo),$.asteriskToken,$.name,void 0,xc($.parameters,fe,t),void 0,Om($.body,fe,t)||u.createBlock([]));if(wo($)){const vt=[tt];return Ul(vt,$),vt}return tt}function Et($){return Si($)?u.updateFunctionExpression($,kn($.modifiers,Yt,Qo),$.asteriskToken,$.name,void 0,xc($.parameters,fe,t),void 0,Om($.body,fe,t)||u.createBlock([])):u.createOmittedExpression()}function Mt($){return u.updateArrowFunction($,kn($.modifiers,Yt,Qo),void 0,xc($.parameters,fe,t),void 0,$.equalsGreaterThanToken,Om($.body,fe,t))}function qt($){if(L2($))return;const tt=u.updateParameterDeclaration($,kn($.modifiers,vt=>g1(vt)?fe(vt):void 0,ol),$.dotDotDotToken,H.checkDefined(yt($.name,fe,qy)),void 0,void 0,yt($.initializer,fe,Wt));return tt!==$&&(Bc(tt,$),Pt(tt,iE($)),As(tt,iE($)),Zn(tt.name,64)),tt}function Xt($){if(wo($)){const tt=DP($.declarationList);return tt.length===0?void 0:Pt(u.createExpressionStatement(u.inlineExpressions(Vt(tt,Pe))),$)}else return rn($,fe,t)}function Pe($){const tt=$.name;return So(tt)?wk($,fe,t,0,!1,hd):Pt(u.createAssignment(vl(tt),H.checkDefined(yt($.initializer,fe,Wt))),$)}function et($){const tt=u.updateVariableDeclaration($,H.checkDefined(yt($.name,fe,qy)),void 0,void 0,yt($.initializer,fe,Wt));return $.type&&Kke(tt.name,$.type),tt}function gt($){const tt=Dc($.expression,-7);if(Yy(tt)){const vt=yt($.expression,fe,Wt);return H.assert(vt),u.createPartiallyEmittedExpression(vt,$)}return rn($,fe,t)}function ii($){const tt=yt($.expression,fe,Wt);return H.assert(tt),u.createPartiallyEmittedExpression(tt,$)}function me($){const tt=yt($.expression,fe,Df);return H.assert(tt),u.createPartiallyEmittedExpression(tt,$)}function ni($){const tt=yt($.expression,fe,Wt);return H.assert(tt),u.createPartiallyEmittedExpression(tt,$)}function vi($){return u.updateCallExpression($,H.checkDefined(yt($.expression,fe,Wt)),void 0,kn($.arguments,fe,Wt))}function mt($){return u.updateNewExpression($,H.checkDefined(yt($.expression,fe,Wt)),void 0,kn($.arguments,fe,Wt))}function Ot($){return u.updateTaggedTemplateExpression($,H.checkDefined(yt($.tag,fe,Wt)),void 0,H.checkDefined(yt($.template,fe,P8)))}function Ei($){return u.updateJsxSelfClosingElement($,H.checkDefined(yt($.tagName,fe,WN)),void 0,H.checkDefined(yt($.attributes,fe,W2)))}function $i($){return u.updateJsxOpeningElement($,H.checkDefined(yt($.tagName,fe,WN)),void 0,H.checkDefined(yt($.attributes,fe,W2)))}function Qi($){return!b2($)||fk(b)}function on($){if(!Qi($))return u.createNotEmittedStatement($);const tt=[];let vt=4;const mi=Ct(tt,$);mi&&(k!==4||oe!==J)&&(vt|=1024);const fn=co($),Wu=Ho($),uu=wo($)?u.getExternalModuleOrNamespaceExportName(Y,$,!1,!0):u.getDeclarationName($,!1,!0);let Tu=u.createLogicalOr(uu,u.createAssignment(uu,u.createObjectLiteralExpression()));if(wo($)){const Vu=u.getLocalName($,!1,!0);Tu=u.createAssignment(Vu,Tu)}const Nr=u.createExpressionStatement(u.createCallExpression(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,fn)],void 0,le($,Wu)),void 0,[Tu]));return su(Nr,$),mi&&(Nv(Nr,void 0),A7(Nr,void 0)),Pt(Nr,$),i_(Nr,vt),tt.push(Nr),tt}function le($,tt){const vt=Y;Y=tt;const mi=[];d();const fn=Vt($.members,te);return ZE(mi,p()),yn(mi,fn),Y=vt,u.createBlock(Pt(u.createNodeArray(mi),$.members),!0)}function te($){const tt=Ba($,!1),vt=we($),mi=u.createAssignment(u.createElementAccessExpression(Y,tt),vt),fn=vt.kind===11?mi:u.createAssignment(u.createElementAccessExpression(Y,mi),tt);return Pt(u.createExpressionStatement(Pt(fn,$)),$)}function we($){const tt=v.getConstantValue($);return tt!==void 0?typeof tt=="string"?u.createStringLiteral(tt):u.createNumericLiteral(tt):(id(),$.initializer?H.checkDefined(yt($.initializer,fe,Wt)):u.createVoidZero())}function de($){const tt=Ua($,_c);return tt?Rde(tt,fk(b)):!0}function je($){se||(se=new Map);const tt=it($);se.has(tt)||se.set(tt,$)}function X($){if(se){const tt=it($);return se.get(tt)===$}return!0}function it($){return H.assertNode($.name,at),$.name.escapedText}function Ct($,tt){const vt=u.createVariableDeclaration(u.getLocalName(tt,!1,!0)),mi=oe.kind===312?0:1,fn=u.createVariableStatement(kn(tt.modifiers,Yt,Qo),u.createVariableDeclarationList([vt],mi));return su(vt,tt),Nv(vt,void 0),A7(vt,void 0),su(fn,tt),je(tt),X(tt)?(tt.kind===266?As(fn.declarationList,tt):As(fn,tt),Bc(fn,tt),i_(fn,2048),$.push(fn),!0):!1}function ct($){if(!de($))return u.createNotEmittedStatement($);H.assertNode($.name,at,"A TypeScript namespace should have an Identifier name."),Y0();const tt=[];let vt=4;const mi=Ct(tt,$);mi&&(k!==4||oe!==J)&&(vt|=1024);const fn=co($),Wu=Ho($),uu=wo($)?u.getExternalModuleOrNamespaceExportName(Y,$,!1,!0):u.getDeclarationName($,!1,!0);let Tu=u.createLogicalOr(uu,u.createAssignment(uu,u.createObjectLiteralExpression()));if(wo($)){const Vu=u.getLocalName($,!1,!0);Tu=u.createAssignment(Vu,Tu)}const Nr=u.createExpressionStatement(u.createCallExpression(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,fn)],void 0,Qt($,Wu)),void 0,[Tu]));return su(Nr,$),mi&&(Nv(Nr,void 0),A7(Nr,void 0)),Pt(Nr,$),i_(Nr,vt),tt.push(Nr),tt}function Qt($,tt){const vt=Y,mi=K,fn=se;Y=tt,K=$,se=void 0;const Wu=[];d();let uu,Tu;if($.body)if($.body.kind===268)Ne($.body,Vu=>yn(Wu,kn(Vu.statements,De,ia))),uu=$.body.statements,Tu=$.body;else{const Vu=ct($.body);Vu&&(Ha(Vu)?yn(Wu,Vu):Wu.push(Vu));const Ss=Li($).body;uu=Sv(Ss.statements,-1)}ZE(Wu,p()),Y=vt,K=mi,se=fn;const Nr=u.createBlock(Pt(u.createNodeArray(Wu),uu),!0);return Pt(Nr,Tu),(!$.body||$.body.kind!==268)&&Zn(Nr,bs(Nr)|3072),Nr}function Li($){if($.body.kind===267)return Li($.body)||$.body}function Ui($){if(!$.importClause)return $;if($.importClause.isTypeOnly)return;const tt=yt($.importClause,Sn,n_);return tt||b.importsNotUsedAsValues===1||b.importsNotUsedAsValues===2?u.updateImportDeclaration($,void 0,tt,$.moduleSpecifier,$.attributes):void 0}function Sn($){H.assert(!$.isTypeOnly);const tt=Cc($)?$.name:void 0,vt=yt($.namedBindings,du,i0e);return tt||vt?u.updateImportClause($,!1,tt,vt):void 0}function du($){if($.kind===274)return Cc($)?$:void 0;{const tt=b.verbatimModuleSyntax||b.preserveValueImports&&(b.importsNotUsedAsValues===1||b.importsNotUsedAsValues===2),vt=kn($.elements,Ru,bf);return tt||Oe(vt)?u.updateNamedImports($,vt):void 0}}function Ru($){return!$.isTypeOnly&&Cc($)?$:void 0}function pr($){return b.verbatimModuleSyntax||v.isValueAliasDeclaration($)?rn($,fe,t):void 0}function Xu($){if($.isTypeOnly)return;if(!$.exportClause||u_($.exportClause))return $;const tt=b.verbatimModuleSyntax||!!$.moduleSpecifier&&(b.importsNotUsedAsValues===1||b.importsNotUsedAsValues===2),vt=yt($.exportClause,mi=>ja(mi,tt),Wse);return vt?u.updateExportDeclaration($,void 0,$.isTypeOnly,vt,$.moduleSpecifier,$.attributes):void 0}function ca($,tt){const vt=kn($.elements,wn,eh);return tt||Oe(vt)?u.updateNamedExports($,vt):void 0}function Ku($){return u.updateNamespaceExport($,H.checkDefined(yt($.name,fe,at)))}function ja($,tt){return u_($)?Ku($):ca($,tt)}function wn($){return!$.isTypeOnly&&(b.verbatimModuleSyntax||v.isValueAliasDeclaration($))?$:void 0}function Ir($){return Cc($)||!wc(J)&&v.isTopLevelValueImportEqualsWithEntityName($)}function as($){if($.isTypeOnly)return;if(bv($)){const vt=Cc($);return!vt&&b.importsNotUsedAsValues===1?su(Pt(u.createImportDeclaration(void 0,void 0,$.moduleReference.expression,void 0),$),$):vt?rn($,fe,t):void 0}if(!Ir($))return;const tt=PV(u,$.moduleReference);return Zn(tt,7168),vc($)||!wo($)?su(Pt(u.createVariableStatement(kn($.modifiers,Yt,Qo),u.createVariableDeclarationList([su(u.createVariableDeclaration($.name,void 0,void 0,tt),$)])),$),$):su(wl($.name,tt,$),$)}function wo($){return K!==void 0&&Yu($,32)}function Fn($){return K===void 0&&Yu($,32)}function vc($){return Fn($)&&!Yu($,2048)}function Ya($){return Fn($)&&Yu($,2048)}function c0($){const tt=u.createAssignment(u.getExternalModuleOrNamespaceExportName(Y,$,!1,!0),u.getLocalName($));As(tt,s4($.name?$.name.pos:$.pos,$.end));const vt=u.createExpressionStatement(tt);return As(vt,s4(-1,$.end)),vt}function Ul($,tt){$.push(c0(tt))}function wl($,tt,vt){return Pt(u.createExpressionStatement(u.createAssignment(u.getNamespaceMemberName(Y,$,!1,!0),tt)),vt)}function hd($,tt,vt){return Pt(u.createAssignment(vl($),tt),vt)}function vl($){return u.getNamespaceMemberName(Y,$,!1,!0)}function co($){const tt=u.getGeneratedNameForNode($);return As(tt,$.name),tt}function Ho($){return u.getGeneratedNameForNode($)}function id(){ae&8||(ae|=8,t.enableSubstitution(80))}function Y0(){ae&2||(ae|=2,t.enableSubstitution(80),t.enableSubstitution(304),t.enableEmitNotification(267))}function Ko($){return Wl($).kind===267}function Tc($){return Wl($).kind===266}function Jp($,tt,vt){const mi=Ce,fn=J;la(tt)&&(J=tt),ae&2&&Ko(tt)&&(Ce|=2),ae&8&&Tc(tt)&&(Ce|=8),z($,tt,vt),Ce=mi,J=fn}function Lc($,tt){return tt=j($,tt),$===1?cl(tt):pm(tt)?Il(tt):tt}function Il($){if(ae&2){const tt=$.name,vt=Ri(tt);if(vt){if($.objectAssignmentInitializer){const mi=u.createAssignment(vt,$.objectAssignmentInitializer);return Pt(u.createPropertyAssignment(tt,mi),$)}return Pt(u.createPropertyAssignment(tt,vt),$)}}return $}function cl($){switch($.kind){case 80:return Ka($);case 211:return dl($);case 212:return Uc($)}return $}function Ka($){return Ri($)||$}function Ri($){if(ae&Ce&&!al($)&&!rD($)){const tt=v.getReferencedExportContainer($,!1);if(tt&&tt.kind!==312&&(Ce&2&&tt.kind===267||Ce&8&&tt.kind===266))return Pt(u.createPropertyAccessExpression(u.getGeneratedNameForNode(tt),$),$)}}function dl($){return sf($)}function Uc($){return sf($)}function Ch($){return $.replace(/\*\//g,"*_/")}function sf($){const tt=Q0($);if(tt!==void 0){Vke($,tt);const vt=typeof tt=="string"?u.createStringLiteral(tt):tt<0?u.createPrefixUnaryExpression(41,u.createNumericLiteral(Math.abs(tt))):u.createNumericLiteral(tt);if(!b.removeComments){const mi=Wl($,I0);AZ(vt,3,` ${Ch(Hc(mi))} `)}return vt}return $}function Q0($){if(!mg(b))return Iu($)||U0($)?v.getConstantValue($):void 0}function Cc($){return b.verbatimModuleSyntax||Qn($)||(b.preserveValueImports?v.isValueAliasDeclaration($):v.isReferencedAliasDeclaration($))}}var Het,DMt=o({"src/compiler/transformers/ts.ts"(){Bo(),Het=!1}});function r7e(t){const{factory:u,getEmitHelperFactory:s,hoistVariableDeclaration:d,endLexicalEnvironment:f,startLexicalEnvironment:p,resumeLexicalEnvironment:E,addBlockScopedVariable:v}=t,b=t.getEmitResolver(),B=t.getCompilerOptions(),k=Os(B),T=eV(B),M=!!B.experimentalDecorators,z=!T,j=T&&k<9,J=z||j,K=k<9,Y=k<99?-1:T?0:3,oe=k<9,se=oe&&k>=2,ge=J||K||Y===-1,ae=t.onSubstituteNode;t.onSubstituteNode=Uc;const Ce=t.onEmitNode;t.onEmitNode=dl;let ne=!1,ve,Se,Ne,pe,fe;const xe=new Map,Be=new Set;let Ge,Ae,De=!1,Ke=!1;return Kp(t,Je);function Je($){if($.isDeclarationFile||(fe=void 0,ne=!!(Pp($)&32),!ge&&!ne))return $;const tt=rn($,Ye,t);return iD(tt,t.readEmitHelpers()),tt}function ft($){switch($.kind){case 129:return Cn()?void 0:$;default:return ur($,Qo)}}function Ye($){if(!($.transformFlags&16777216)&&!($.transformFlags&134234112))return $;switch($.kind){case 129:return H.fail("Use `modifierVisitor` instead.");case 263:return Qi($);case 231:return le($);case 175:case 172:return H.fail("Use `classElementVisitor` instead.");case 303:return ht($);case 243:return Ut($);case 260:return Ni($);case 169:return ji($);case 208:return xn($);case 277:return Jn($);case 81:return It($);case 211:return Yo($);case 212:return bo($);case 224:case 225:return Qe($,!1);case 226:return ii($,!1);case 217:return ni($,!1);case 213:return Xt($);case 244:return Mt($);case 215:return Pe($);case 248:return Et($);case 110:return de($);case 262:case 218:return yr(void 0,Ve,$);case 176:case 174:case 177:case 178:return yr($,Ve,$);default:return Ve($)}}function Ve($){return rn($,Ye,t)}function We($){switch($.kind){case 224:case 225:return Qe($,!0);case 226:return ii($,!0);case 361:return me($,!0);case 217:return ni($,!0);default:return Ye($)}}function Gt($){switch($.kind){case 298:return rn($,Gt,t);case 233:return Ei($);default:return Ye($)}}function Yt($){switch($.kind){case 210:case 209:return Ri($);default:return Ye($)}}function Ie($){switch($.kind){case 176:return yr($,Ai,$);case 177:case 178:case 174:return yr($,aa,$);case 172:return yr($,tu,$);case 175:return yr($,we,$);case 167:return Pi($);case 240:return $;default:return ol($)?ft($):Ye($)}}function st($){switch($.kind){case 167:return Pi($);default:return Ye($)}}function St($){switch($.kind){case 172:return Dn($);case 177:case 178:return Ie($);default:H.assertMissingNode($,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration");break}}function It($){return!K||ia($.parent)?$:su(u.createIdentifier(""),$)}function ei($){const tt=Ho($.left);if(tt){const vt=yt($.right,Ye,Wt);return su(s().createClassPrivateFieldInHelper(tt.brandCheckIdentifier,vt),$)}return rn($,Ye,t)}function ht($){return If($,gt)&&($=Vf(t,$)),rn($,Ye,t)}function Ut($){const tt=pe;pe=[];const vt=rn($,Ye,t),mi=Oe(pe)?[vt,...pe]:vt;return pe=tt,mi}function Ni($){return If($,gt)&&($=Vf(t,$)),rn($,Ye,t)}function ji($){return If($,gt)&&($=Vf(t,$)),rn($,Ye,t)}function xn($){return If($,gt)&&($=Vf(t,$)),rn($,Ye,t)}function Jn($){return If($,gt)&&($=Vf(t,$,!0,$.isExportEquals?"":"default")),rn($,Ye,t)}function an($){return Oe(Ne)&&(Cf($)?(Ne.push($.expression),$=u.updateParenthesizedExpression($,u.inlineExpressions(Ne))):(Ne.push($),$=u.inlineExpressions(Ne)),Ne=void 0),$}function Pi($){const tt=yt($.expression,Ye,Wt);return u.updateComputedPropertyName($,an(tt))}function Ai($){return Ge?it($,Ge):Ve($)}function Zu($){return!!(K||Kc($)&&Pp($)&32)}function aa($){if(H.assert(!o4($)),!ph($)||!Zu($))return rn($,Ie,t);const tt=Ho($.name);if(H.assert(tt,"Undeclared private name for property declaration."),!tt.isValid)return $;const vt=Ba($);vt&&wo().push(u.createAssignment(vt,u.createFunctionExpression(ti($.modifiers,mi=>Qo(mi)&&!N7(mi)&&!nFe(mi)),$.asteriskToken,vt,void 0,xc($.parameters,Ye,t),void 0,Om($.body,Ye,t))))}function yr($,tt,vt){if($!==Ae){const mi=Ae;Ae=$;const fn=tt(vt);return Ae=mi,fn}return tt(vt)}function Ba($){H.assert(Xr($.name));const tt=Ho($.name);if(H.assert(tt,"Undeclared private name for property declaration."),tt.kind==="m")return tt.methodName;if(tt.kind==="a"){if(Lx($))return tt.getterName;if(e5($))return tt.setterName}}function bt(){const $=Ir(),tt=$.classThis??$.classConstructor??(Ge==null?void 0:Ge.name);return H.checkDefined(tt)}function jn($){const tt=nE($),vt=Lv($),mi=$.name;let fn=mi,Wu=mi;if(Ps(mi)&&!sE(mi.expression)){const nd=FY(mi);if(nd)fn=u.updateComputedPropertyName(mi,yt(mi.expression,Ye,Wt)),Wu=u.updateComputedPropertyName(mi,nd.left);else{const S0=u.createTempVariable(d);As(S0,mi.expression);const ud=yt(mi.expression,Ye,Wt),m0=u.createAssignment(S0,ud);As(m0,mi.expression),fn=u.updateComputedPropertyName(mi,m0),Wu=u.updateComputedPropertyName(mi,S0)}}const uu=kn($.modifiers,ft,Qo),Tu=Wce(u,$,uu,$.initializer);su(Tu,$),Zn(Tu,3072),As(Tu,vt);const Nr=No($)?bt():u.createThis(),Vu=jFe(u,$,uu,fn,Nr);su(Vu,$),Bc(Vu,tt),As(Vu,vt);const Ss=u.createModifiersFromModifierFlags(tE(uu)),ic=VFe(u,$,Ss,Wu,Nr);return su(ic,$),Zn(ic,3072),As(ic,vt),dH([Tu,Vu,ic],St,Zd)}function Ln($){if(Zu($)){const tt=Ho($.name);if(H.assert(tt,"Undeclared private name for property declaration."),!tt.isValid)return $;if(tt.isStatic&&!K){const vt=Li($,u.createThis());if(vt)return u.createClassStaticBlockDeclaration(u.createBlock([vt],!0))}return}return z&&!No($)&&(fe!=null&&fe.data)&&fe.data.facts&16?u.updatePropertyDeclaration($,kn($.modifiers,Ye,ol),$.name,void 0,void 0,void 0):(If($,gt)&&($=Vf(t,$)),u.updatePropertyDeclaration($,kn($.modifiers,ft,Qo),yt($.name,st,Sc),void 0,void 0,yt($.initializer,Ye,Wt)))}function Si($){if(J&&!ef($)){const tt=Ku($.name,!!$.initializer||T);if(tt&&wo().push(...HFe(tt)),No($)&&!K){const vt=Li($,u.createThis());if(vt){const mi=u.createClassStaticBlockDeclaration(u.createBlock([vt]));return su(mi,$),Bc(mi,$),Bc(vt,{pos:-1,end:-1}),Nv(vt,void 0),A7(vt,void 0),mi}}return}return u.updatePropertyDeclaration($,kn($.modifiers,ft,Qo),yt($.name,st,Sc),void 0,void 0,yt($.initializer,Ye,Wt))}function Dn($){return H.assert(!o4($),"Decorators should already have been transformed and elided."),ph($)?Ln($):Si($)}function Cn(){return Y===-1||Y===3&&!!(fe!=null&&fe.data)&&!!(fe.data.facts&16)}function tu($){return ef($)&&(Cn()||Kc($)&&Pp($)&32)?jn($):Dn($)}function oa(){return!!Ae&&Kc(Ae)&&wx(Ae)&&ef(Wl(Ae))}function Da($){if(oa()){const tt=Dc($);tt.kind===110&&Be.add(tt)}}function ua($,tt){return tt=yt(tt,Ye,Wt),Da(tt),Ta($,tt)}function Ta($,tt){switch(Bc(tt,Sv(tt,-1)),$.kind){case"a":return s().createClassPrivateFieldGetHelper(tt,$.brandCheckIdentifier,$.kind,$.getterName);case"m":return s().createClassPrivateFieldGetHelper(tt,$.brandCheckIdentifier,$.kind,$.methodName);case"f":return s().createClassPrivateFieldGetHelper(tt,$.brandCheckIdentifier,$.kind,$.isStatic?$.variableName:void 0);case"untransformed":return H.fail("Access helpers should not be created for untransformed private elements");default:H.assertNever($,"Unknown private element type")}}function Yo($){if(Xr($.name)){const tt=Ho($.name);if(tt)return Pt(su(ua(tt,$.expression),$),$)}if(se&&Ae&&nf($)&&at($.name)&&DM(Ae)&&(fe!=null&&fe.data)){const{classConstructor:tt,superClassReference:vt,facts:mi}=fe.data;if(mi&1)return ca($);if(tt&&vt){const fn=u.createReflectGetCall(vt,u.createStringLiteralFromNode($.name),tt);return su(fn,$.expression),Pt(fn,$.expression),fn}}return rn($,Ye,t)}function bo($){if(se&&Ae&&nf($)&&DM(Ae)&&(fe!=null&&fe.data)){const{classConstructor:tt,superClassReference:vt,facts:mi}=fe.data;if(mi&1)return ca($);if(tt&&vt){const fn=u.createReflectGetCall(vt,yt($.argumentExpression,Ye,Wt),tt);return su(fn,$.expression),Pt(fn,$.expression),fn}}return rn($,Ye,t)}function Qe($,tt){if($.operator===46||$.operator===47){const vt=l0($.operand);if(T8(vt)){let mi;if(mi=Ho(vt.name)){const fn=yt(vt.expression,Ye,Wt);Da(fn);const{readExpression:Wu,initializeExpression:uu}=qt(fn);let Tu=ua(mi,Wu);const Nr=zv($)||tt?void 0:u.createTempVariable(d);return Tu=DY(u,$,Tu,d,Nr),Tu=vi(mi,uu||Wu,Tu,64),su(Tu,$),Pt(Tu,$),Nr&&(Tu=u.createComma(Tu,Nr),Pt(Tu,$)),Tu}}else if(se&&Ae&&nf(vt)&&DM(Ae)&&(fe!=null&&fe.data)){const{classConstructor:mi,superClassReference:fn,facts:Wu}=fe.data;if(Wu&1){const uu=ca(vt);return zv($)?u.updatePrefixUnaryExpression($,uu):u.updatePostfixUnaryExpression($,uu)}if(mi&&fn){let uu,Tu;if(Iu(vt)?at(vt.name)&&(Tu=uu=u.createStringLiteralFromNode(vt.name)):sE(vt.argumentExpression)?Tu=uu=vt.argumentExpression:(Tu=u.createTempVariable(d),uu=u.createAssignment(Tu,yt(vt.argumentExpression,Ye,Wt))),uu&&Tu){let Nr=u.createReflectGetCall(fn,Tu,mi);Pt(Nr,vt);const Vu=tt?void 0:u.createTempVariable(d);return Nr=DY(u,$,Nr,d,Vu),Nr=u.createReflectSetCall(fn,uu,Nr,mi),su(Nr,$),Pt(Nr,$),Vu&&(Nr=u.createComma(Nr,Vu),Pt(Nr,$)),Nr}}}}return rn($,Ye,t)}function Et($){return u.updateForStatement($,yt($.initializer,We,a4),yt($.condition,Ye,Wt),yt($.incrementor,We,Wt),Ih($.statement,Ye,t))}function Mt($){return u.updateExpressionStatement($,yt($.expression,We,Wt))}function qt($){const tt=sl($)?$:u.cloneNode($);if($.kind===110&&Be.has($)&&Be.add(tt),sE($))return{readExpression:tt,initializeExpression:void 0};const vt=u.createTempVariable(d),mi=u.createAssignment(vt,tt);return{readExpression:vt,initializeExpression:mi}}function Xt($){var tt;if(T8($.expression)&&Ho($.expression.name)){const{thisArg:vt,target:mi}=u.createCallBinding($.expression,d,k);return $y($)?u.updateCallChain($,u.createPropertyAccessChain(yt(mi,Ye,Wt),$.questionDotToken,"call"),void 0,void 0,[yt(vt,Ye,Wt),...kn($.arguments,Ye,Wt)]):u.updateCallExpression($,u.createPropertyAccessExpression(yt(mi,Ye,Wt),"call"),void 0,[yt(vt,Ye,Wt),...kn($.arguments,Ye,Wt)])}if(se&&Ae&&nf($.expression)&&DM(Ae)&&((tt=fe==null?void 0:fe.data)!=null&&tt.classConstructor)){const vt=u.createFunctionCallCall(yt($.expression,Ye,Wt),fe.data.classConstructor,kn($.arguments,Ye,Wt));return su(vt,$),Pt(vt,$),vt}return rn($,Ye,t)}function Pe($){var tt;if(T8($.tag)&&Ho($.tag.name)){const{thisArg:vt,target:mi}=u.createCallBinding($.tag,d,k);return u.updateTaggedTemplateExpression($,u.createCallExpression(u.createPropertyAccessExpression(yt(mi,Ye,Wt),"bind"),void 0,[yt(vt,Ye,Wt)]),void 0,yt($.template,Ye,P8))}if(se&&Ae&&nf($.tag)&&DM(Ae)&&((tt=fe==null?void 0:fe.data)!=null&&tt.classConstructor)){const vt=u.createFunctionBindCall(yt($.tag,Ye,Wt),fe.data.classConstructor,[]);return su(vt,$),Pt(vt,$),u.updateTaggedTemplateExpression($,vt,void 0,yt($.template,Ye,P8))}return rn($,Ye,t)}function et($){if(fe&&xe.set(Wl($),fe),K){if(EM($)){const mi=yt($.body.statements[0].expression,Ye,Wt);return ld(mi,!0)&&mi.left===mi.right?void 0:mi}if(X7($))return yt($.body.statements[0].expression,Ye,Wt);p();let tt=yr($,mi=>kn(mi,Ye,ia),$.body.statements);tt=u.mergeLexicalEnvironment(tt,f());const vt=u.createImmediatelyInvokedArrowFunction(tt);return su(l0(vt.expression),$),i_(l0(vt.expression),4),su(vt,$),Pt(vt,$),vt}}function gt($){if(Xd($)&&!$.name){const tt=lQ($);return Oe(tt,X7)?!1:(K||!!Pp($))&&Oe(tt,mi=>zl(mi)||ph(mi)||J&&fH(mi))}return!1}function ii($,tt){if(r5($)){const vt=Ne;Ne=void 0,$=u.updateBinaryExpression($,yt($.left,Yt,Wt),$.operatorToken,yt($.right,Ye,Wt));const mi=Oe(Ne)?u.inlineExpressions(Dr([...Ne,$])):$;return Ne=vt,mi}if(ld($)){If($,gt)&&($=Vf(t,$),H.assertNode($,ld));const vt=Dc($.left,9);if(T8(vt)){const mi=Ho(vt.name);if(mi)return Pt(su(vi(mi,vt.expression,$.right,$.operatorToken.kind),$),$)}else if(se&&Ae&&nf($.left)&&DM(Ae)&&(fe!=null&&fe.data)){const{classConstructor:mi,superClassReference:fn,facts:Wu}=fe.data;if(Wu&1)return u.updateBinaryExpression($,ca($.left),$.operatorToken,yt($.right,Ye,Wt));if(mi&&fn){let uu=U0($.left)?yt($.left.argumentExpression,Ye,Wt):at($.left.name)?u.createStringLiteralFromNode($.left.name):void 0;if(uu){let Tu=yt($.right,Ye,Wt);if(mM($.operatorToken.kind)){let Vu=uu;sE(uu)||(Vu=u.createTempVariable(d),uu=u.createAssignment(Vu,uu));const Ss=u.createReflectGetCall(fn,Vu,mi);su(Ss,$.left),Pt(Ss,$.left),Tu=u.createBinaryExpression(Ss,pM($.operatorToken.kind),Tu),Pt(Tu,$)}const Nr=tt?void 0:u.createTempVariable(d);return Nr&&(Tu=u.createAssignment(Nr,Tu),Pt(Nr,$)),Tu=u.createReflectSetCall(fn,uu,Tu,mi),su(Tu,$),Pt(Tu,$),Nr&&(Tu=u.createComma(Tu,Nr),Pt(Tu,$)),Tu}}}}return yMt($)?ei($):rn($,Ye,t)}function me($,tt){const vt=tt?hH($.elements,We):hH($.elements,Ye,We);return u.updateCommaListExpression($,vt)}function ni($,tt){const vt=tt?We:Ye,mi=yt($.expression,vt,Wt);return u.updateParenthesizedExpression($,mi)}function vi($,tt,vt,mi){if(tt=yt(tt,Ye,Wt),vt=yt(vt,Ye,Wt),Da(tt),mM(mi)){const{readExpression:fn,initializeExpression:Wu}=qt(tt);tt=Wu||fn,vt=u.createBinaryExpression(Ta($,fn),pM(mi),vt)}switch(Bc(tt,Sv(tt,-1)),$.kind){case"a":return s().createClassPrivateFieldSetHelper(tt,$.brandCheckIdentifier,vt,$.kind,$.setterName);case"m":return s().createClassPrivateFieldSetHelper(tt,$.brandCheckIdentifier,vt,$.kind,void 0);case"f":return s().createClassPrivateFieldSetHelper(tt,$.brandCheckIdentifier,vt,$.kind,$.isStatic?$.variableName:void 0);case"untransformed":return H.fail("Access helpers should not be created for untransformed private elements");default:H.assertNever($,"Unknown private element type")}}function mt($){return ti($.members,JAe)}function Ot($){var tt;let vt=0;const mi=Wl($);Wc(mi)&&t5(M,mi)&&(vt|=1),K&&(e1e($)||dQ($))&&(vt|=2);let fn=!1,Wu=!1,uu=!1,Tu=!1;for(const Vu of $.members)No(Vu)?((Vu.name&&(Xr(Vu.name)||ef(Vu))&&K||ef(Vu)&&Y===-1&&!$.name&&!((tt=$.emitNode)!=null&&tt.classThis))&&(vt|=2),(ko(Vu)||zl(Vu))&&(oe&&Vu.transformFlags&16384&&(vt|=8,vt&1||(vt|=2)),se&&Vu.transformFlags&134217728&&(vt&1||(vt|=6)))):P2(Wl(Vu))||(ef(Vu)?(Tu=!0,uu||(uu=ph(Vu))):ph(Vu)?(uu=!0,b.getNodeCheckFlags(Vu)&262144&&(vt|=2)):ko(Vu)&&(fn=!0,Wu||(Wu=!!Vu.initializer)));return(j&&fn||z&&Wu||K&&uu||K&&Tu&&Y===-1)&&(vt|=16),vt}function Ei($){var tt;if((((tt=fe==null?void 0:fe.data)==null?void 0:tt.facts)||0)&4){const mi=u.createTempVariable(d,!0);return Ir().superClassReference=mi,u.updateExpressionWithTypeArguments($,u.createAssignment(mi,yt($.expression,Ye,Wt)),void 0)}return rn($,Ye,t)}function $i($,tt){var vt;const mi=Ge,fn=Ne,Wu=fe;Ge=$,Ne=void 0,ja();const uu=Pp($)&32;if(K||uu){const Vu=Za($);if(Vu&&at(Vu))as().data.className=Vu;else if((vt=$.emitNode)!=null&&vt.assignedName&&us($.emitNode.assignedName)){if($.emitNode.assignedName.textSourceNode&&at($.emitNode.assignedName.textSourceNode))as().data.className=$.emitNode.assignedName.textSourceNode;else if(Lm($.emitNode.assignedName.text,k)){const Ss=u.createIdentifier($.emitNode.assignedName.text);as().data.className=Ss}}}if(K){const Vu=mt($);Oe(Vu)&&(as().data.weakSetName=vl("instances",Vu[0].name))}const Tu=Ot($);Tu&&(Ir().facts=Tu),Tu&8&&pr();const Nr=tt($,Tu);return wn(),H.assert(fe===Wu),Ge=mi,Ne=fn,Nr}function Qi($){return $i($,on)}function on($,tt){var vt,mi;let fn;if(tt&2)if(K&&((vt=$.emitNode)!=null&&vt.classThis))Ir().classConstructor=$.emitNode.classThis,fn=u.createAssignment($.emitNode.classThis,u.getInternalName($));else{const m0=u.createTempVariable(d,!0);Ir().classConstructor=u.cloneNode(m0),fn=u.createAssignment(m0,u.getInternalName($))}(mi=$.emitNode)!=null&&mi.classThis&&(Ir().classThis=$.emitNode.classThis);const Wu=b.getNodeCheckFlags($)&262144,uu=Yu($,32),Tu=Yu($,2048);let Nr=kn($.modifiers,ft,Qo);const Vu=kn($.heritageClauses,Gt,mm),{members:Ss,prologue:ic}=je($),nd=[];if(fn&&wo().unshift(fn),Oe(Ne)&&nd.push(u.createExpressionStatement(u.inlineExpressions(Ne))),z||K||Pp($)&32){const m0=lQ($);Oe(m0)&&Qt(nd,m0,u.getInternalName($))}nd.length>0&&uu&&Tu&&(Nr=kn(Nr,m0=>OV(m0)?void 0:m0,Qo),nd.push(u.createExportAssignment(void 0,!1,u.getLocalName($,!1,!0))));const S0=Ir().classConstructor;Wu&&S0&&(Ru(),Se[M1($)]=S0);const ud=u.updateClassDeclaration($,Nr,$.name,void 0,Vu,Ss);return nd.unshift(ud),ic&&nd.unshift(u.createExpressionStatement(ic)),nd}function le($){return $i($,te)}function te($,tt){var vt,mi,fn;const Wu=!!(tt&1),uu=lQ($),Tu=b.getNodeCheckFlags($),Nr=Tu&262144;let Vu;function Ss(){var uh;if(K&&((uh=$.emitNode)!=null&&uh.classThis))return Ir().classConstructor=$.emitNode.classThis;const h4=Tu&32768,D1=u.createTempVariable(h4?v:d,!0);return Ir().classConstructor=u.cloneNode(D1),D1}(vt=$.emitNode)!=null&&vt.classThis&&(Ir().classThis=$.emitNode.classThis),tt&2&&(Vu??(Vu=Ss()));const ic=kn($.modifiers,ft,Qo),nd=kn($.heritageClauses,Gt,mm),{members:S0,prologue:ud}=je($),m0=u.updateClassExpression($,ic,$.name,void 0,nd,S0),Bd=[];if(ud&&Bd.push(ud),(K||Pp($)&32)&&Oe(uu,uh=>zl(uh)||ph(uh)||J&&fH(uh))||Oe(Ne))if(Wu)H.assertIsDefined(pe,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),Oe(Ne)&&yn(pe,Vt(Ne,u.createExpressionStatement)),Oe(uu)&&Qt(pe,uu,((mi=$.emitNode)==null?void 0:mi.classThis)??u.getInternalName($)),Vu?Bd.push(u.createAssignment(Vu,m0)):K&&((fn=$.emitNode)!=null&&fn.classThis)?Bd.push(u.createAssignment($.emitNode.classThis,m0)):Bd.push(m0);else{if(Vu??(Vu=Ss()),Nr){Ru();const uh=u.cloneNode(Vu);uh.emitNode.autoGenerate.flags&=-9,Se[M1($)]=uh}Bd.push(u.createAssignment(Vu,m0)),yn(Bd,Ne),yn(Bd,Ui(uu,Vu)),Bd.push(u.cloneNode(Vu))}else Bd.push(m0);return Bd.length>1&&(i_(m0,131072),Bd.forEach(vh)),u.inlineExpressions(Bd)}function we($){if(!K)return rn($,Ye,t)}function de($){if(oe&&Ae&&zl(Ae)&&(fe!=null&&fe.data)){const{classThis:tt,classConstructor:vt}=fe.data;return tt??vt??$}return $}function je($){const tt=!!(Pp($)&32);if(K||ne){for(const uu of $.members)if(ph(uu))if(Zu(uu))hd(uu,uu.name,Fn);else{const Tu=as();Bk(Tu,uu.name,{kind:"untransformed"})}if(K&&Oe(mt($))&&X(),Cn()){for(const uu of $.members)if(ef(uu)){const Tu=u.getGeneratedPrivateNameForNode(uu.name,void 0,"_accessor_storage");if(K||tt&&Kc(uu))hd(uu,Tu,vc);else{const Nr=as();Bk(Nr,Tu,{kind:"untransformed"})}}}}let vt=kn($.members,Ie,Zd),mi;Oe(vt,hc)||(mi=it(void 0,$));let fn,Wu;if(!K&&Oe(Ne)){let uu=u.createExpressionStatement(u.inlineExpressions(Ne));if(uu.transformFlags&134234112){const Nr=u.createTempVariable(d),Vu=u.createArrowFunction(void 0,void 0,[],void 0,void 0,u.createBlock([uu]));fn=u.createAssignment(Nr,Vu),uu=u.createExpressionStatement(u.createCallExpression(Nr,void 0,[]))}const Tu=u.createBlock([uu]);Wu=u.createClassStaticBlockDeclaration(Tu),Ne=void 0}if(mi||Wu){let uu;const Tu=Le(vt,EM),Nr=Le(vt,X7);uu=xi(uu,Tu),uu=xi(uu,Nr),uu=xi(uu,mi),uu=xi(uu,Wu);const Vu=Tu||Nr?ti(vt,Ss=>Ss!==Tu&&Ss!==Nr):vt;uu=yn(uu,Vu),vt=Pt(u.createNodeArray(uu),$.members)}return{members:vt,prologue:fn}}function X(){const{weakSetName:$}=as().data;H.assert($,"weakSetName should be set in private identifier environment"),wo().push(u.createAssignment($,u.createNewExpression(u.createIdentifier("WeakSet"),void 0,[])))}function it($,tt){if($=yt($,Ye,hc),!(fe!=null&&fe.data)||!(fe.data.facts&16))return $;const vt=Qg(tt),mi=!!(vt&&Dc(vt.expression).kind!==106),fn=xc($?$.parameters:void 0,Ye,t),Wu=ct(tt,$,mi);return Wu?$?(H.assert(fn),u.updateConstructorDeclaration($,void 0,fn,Wu)):vh(su(Pt(u.createConstructorDeclaration(void 0,fn??[],Wu),$||tt),$)):$}function Ct($,tt,vt,mi,fn,Wu,uu){const Tu=mi[fn],Nr=tt[Tu];if(yn($,kn(tt,Ye,ia,vt,Tu-vt)),vt=Tu+1,Ck(Nr)){const Vu=[];Ct(Vu,Nr.tryBlock.statements,0,mi,fn+1,Wu,uu);const Ss=u.createNodeArray(Vu);Pt(Ss,Nr.tryBlock.statements),$.push(u.updateTryStatement(Nr,u.updateBlock(Nr.tryBlock,Vu),yt(Nr.catchClause,Ye,G2),yt(Nr.finallyBlock,Ye,po)))}else{for(yn($,kn(tt,Ye,ia,Tu,1));vt!!S0.initializer||Xr(S0.name)||eE(S0)));const Wu=mt($),uu=Oe(fn)||Oe(Wu);if(!tt&&!uu)return Om(void 0,Ye,t);E();const Tu=!tt&&vt;let Nr=0,Vu=[];const Ss=[],ic=u.createThis();if(Xu(Ss,Wu,ic),tt){const S0=ti(mi,m0=>Mf(Wl(m0),tt)),ud=ti(fn,m0=>!Mf(Wl(m0),tt));Qt(Ss,S0,ic),Qt(Ss,ud,ic)}else Qt(Ss,fn,ic);if(tt!=null&&tt.body){Nr=u.copyPrologue(tt.body.statements,Vu,!1,Ye);const S0=sQ(tt.body.statements,Nr);if(S0.length)Ct(Vu,tt.body.statements,Nr,S0,0,Ss,tt);else{for(;Nr=Vu.length?tt.body.multiLine??Vu.length>0:Vu.length>0;return Pt(u.createBlock(Pt(u.createNodeArray(Vu),tt?tt.body.statements:$.members),nd),tt?tt.body:void 0)}function Qt($,tt,vt){for(const mi of tt){if(No(mi)&&!K)continue;const fn=Li(mi,vt);fn&&$.push(fn)}}function Li($,tt){const vt=zl($)?yr($,et,$):Sn($,tt);if(!vt)return;const mi=u.createExpressionStatement(vt);su(mi,$),i_(mi,bs($)&3072),Bc(mi,$);const fn=Wl($);return io(fn)?(As(mi,fn),EV(mi)):As(mi,iE($)),Nv(vt,void 0),A7(vt,void 0),eE(fn)&&i_(mi,3072),mi}function Ui($,tt){const vt=[];for(const mi of $){const fn=zl(mi)?yr(mi,et,mi):yr(mi,()=>Sn(mi,tt),void 0);fn&&(vh(fn),su(fn,mi),i_(fn,bs(mi)&3072),As(fn,iE(mi)),Bc(fn,mi),vt.push(fn))}return vt}function Sn($,tt){var vt;const mi=Ae,fn=du($,tt);return fn&&Kc($)&&((vt=fe==null?void 0:fe.data)!=null&&vt.facts)&&(su(fn,$),i_(fn,4),As(fn,Lv($.name)),xe.set(Wl($),fe)),Ae=mi,fn}function du($,tt){const vt=!T;If($,gt)&&($=Vf(t,$));const mi=eE($)?u.getGeneratedPrivateNameForNode($.name):Ps($.name)&&!sE($.name.expression)?u.updateComputedPropertyName($.name,u.getGeneratedNameForNode($.name)):$.name;if(Kc($)&&(Ae=$),Xr(mi)&&Zu($)){const uu=Ho(mi);if(uu)return uu.kind==="f"?uu.isStatic?xMt(u,uu.variableName,yt($.initializer,Ye,Wt)):vMt(u,tt,yt($.initializer,Ye,Wt),uu.brandCheckIdentifier):void 0;H.fail("Undeclared private name for property declaration.")}if((Xr(mi)||Kc($))&&!$.initializer)return;const fn=Wl($);if(Yu(fn,64))return;let Wu=yt($.initializer,Ye,Wt);if(Mf(fn,fn.parent)&&at(mi)){const uu=u.cloneNode(mi);Wu?(Cf(Wu)&&MV(Wu.expression)&&jP(Wu.expression.left,"___runInitializers")&&R7(Wu.expression.right)&&Of(Wu.expression.right.expression)&&(Wu=Wu.expression.left),Wu=u.inlineExpressions([Wu,uu])):Wu=uu,Zn(mi,3168),As(uu,fn.name),Zn(uu,3072)}else Wu??(Wu=u.createVoidZero());if(vt||Xr(mi)){const uu=Fk(u,tt,mi,mi);return i_(uu,1024),u.createAssignment(uu,Wu)}else{const uu=Ps(mi)?mi.expression:at(mi)?u.createStringLiteral(Yr(mi.escapedText)):mi,Tu=u.createPropertyDescriptor({value:Wu,configurable:!0,writable:!0,enumerable:!0});return u.createObjectDefinePropertyCall(tt,uu,Tu)}}function Ru(){ve&1||(ve|=1,t.enableSubstitution(80),Se=[])}function pr(){ve&2||(ve|=2,t.enableSubstitution(110),t.enableEmitNotification(262),t.enableEmitNotification(218),t.enableEmitNotification(176),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(174),t.enableEmitNotification(172),t.enableEmitNotification(167))}function Xu($,tt,vt){if(!K||!Oe(tt))return;const{weakSetName:mi}=as().data;H.assert(mi,"weakSetName should be set in private identifier environment"),$.push(u.createExpressionStatement(CMt(u,vt,mi)))}function ca($){return Iu($)?u.updatePropertyAccessExpression($,u.createVoidZero(),$.name):u.updateElementAccessExpression($,u.createVoidZero(),yt($.argumentExpression,Ye,Wt))}function Ku($,tt){if(Ps($)){const vt=FY($),mi=yt($.expression,Ye,Wt),fn=Np(mi),Wu=sE(fn);if(!(!!vt||ld(fn)&&al(fn.left))&&!Wu&&tt){const Tu=u.getGeneratedNameForNode($);return b.getNodeCheckFlags($)&32768?v(Tu):d(Tu),u.createAssignment(Tu,mi)}return Wu||at(fn)?void 0:mi}}function ja(){fe={previous:fe,data:void 0}}function wn(){fe=fe==null?void 0:fe.previous}function Ir(){return H.assert(fe),fe.data??(fe.data={facts:0,classConstructor:void 0,classThis:void 0,superClassReference:void 0})}function as(){return H.assert(fe),fe.privateEnv??(fe.privateEnv=qAe({className:void 0,weakSetName:void 0}))}function wo(){return Ne??(Ne=[])}function Fn($,tt,vt,mi,fn,Wu,uu){ef($)?wl($,tt,vt,mi,fn,Wu):ko($)?vc($,tt,vt,mi,fn,Wu):dc($)?Ya($,tt,vt,mi,fn,Wu):zm($)?c0($,tt,vt,mi,fn,Wu,uu):jf($)&&Ul($,tt,vt,mi,fn,Wu,uu)}function vc($,tt,vt,mi,fn,Wu,uu){if(fn){const Tu=H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"),Nr=co(tt);Bk(mi,tt,{kind:"f",isStatic:!0,brandCheckIdentifier:Tu,variableName:Nr,isValid:Wu})}else{const Tu=co(tt);Bk(mi,tt,{kind:"f",isStatic:!1,brandCheckIdentifier:Tu,isValid:Wu}),wo().push(u.createAssignment(Tu,u.createNewExpression(u.createIdentifier("WeakMap"),void 0,[])))}}function Ya($,tt,vt,mi,fn,Wu,uu){const Tu=co(tt),Nr=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(mi.data.weakSetName,"weakSetName should be set in private identifier environment");Bk(mi,tt,{kind:"m",methodName:Tu,brandCheckIdentifier:Nr,isStatic:fn,isValid:Wu})}function c0($,tt,vt,mi,fn,Wu,uu){const Tu=co(tt,"_get"),Nr=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(mi.data.weakSetName,"weakSetName should be set in private identifier environment");(uu==null?void 0:uu.kind)==="a"&&uu.isStatic===fn&&!uu.getterName?uu.getterName=Tu:Bk(mi,tt,{kind:"a",getterName:Tu,setterName:void 0,brandCheckIdentifier:Nr,isStatic:fn,isValid:Wu})}function Ul($,tt,vt,mi,fn,Wu,uu){const Tu=co(tt,"_set"),Nr=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(mi.data.weakSetName,"weakSetName should be set in private identifier environment");(uu==null?void 0:uu.kind)==="a"&&uu.isStatic===fn&&!uu.setterName?uu.setterName=Tu:Bk(mi,tt,{kind:"a",getterName:void 0,setterName:Tu,brandCheckIdentifier:Nr,isStatic:fn,isValid:Wu})}function wl($,tt,vt,mi,fn,Wu,uu){const Tu=co(tt,"_get"),Nr=co(tt,"_set"),Vu=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(mi.data.weakSetName,"weakSetName should be set in private identifier environment");Bk(mi,tt,{kind:"a",getterName:Tu,setterName:Nr,brandCheckIdentifier:Vu,isStatic:fn,isValid:Wu})}function hd($,tt,vt){const mi=Ir(),fn=as(),Wu=Yde(fn,tt),uu=Kc($),Tu=!bMt(tt)&&Wu===void 0;vt($,tt,mi,fn,uu,Tu,Wu)}function vl($,tt,vt){const{className:mi}=as().data,fn=mi?{prefix:"_",node:mi,suffix:"_"}:"_",Wu=typeof $=="object"?u.getGeneratedNameForNode($,24,fn,vt):typeof $=="string"?u.createUniqueName($,16,fn,vt):u.createTempVariable(void 0,!0,fn,vt);return b.getNodeCheckFlags(tt)&32768?v(Wu):d(Wu),Wu}function co($,tt){const vt=UN($);return vl((vt==null?void 0:vt.substring(1))??$,$,tt)}function Ho($){const tt=ZAe(fe,$);return(tt==null?void 0:tt.kind)==="untransformed"?void 0:tt}function id($){const tt=u.getGeneratedNameForNode($),vt=Ho($.name);if(!vt)return rn($,Ye,t);let mi=$.expression;return(mj($)||nf($)||!Y2($.expression))&&(mi=u.createTempVariable(d,!0),wo().push(u.createBinaryExpression(mi,64,yt($.expression,Ye,Wt)))),u.createAssignmentTargetWrapper(tt,vi(vt,mi,tt,64))}function Y0($){if(ys($)||Dh($))return Ri($);if(T8($))return id($);if(se&&Ae&&nf($)&&DM(Ae)&&(fe!=null&&fe.data)){const{classConstructor:tt,superClassReference:vt,facts:mi}=fe.data;if(mi&1)return ca($);if(tt&&vt){const fn=U0($)?yt($.argumentExpression,Ye,Wt):at($.name)?u.createStringLiteralFromNode($.name):void 0;if(fn){const Wu=u.createTempVariable(void 0);return u.createAssignmentTargetWrapper(Wu,u.createReflectSetCall(vt,fn,Wu,tt))}}}return rn($,Ye,t)}function Ko($){if(If($,gt)&&($=Vf(t,$)),ld($,!0)){const tt=Y0($.left),vt=yt($.right,Ye,Wt);return u.updateBinaryExpression($,tt,$.operatorToken,vt)}return Y0($)}function Tc($){if(Df($.expression)){const tt=Y0($.expression);return u.updateSpreadElement($,tt)}return rn($,Ye,t)}function Jp($){if(ZO($)){if(uE($))return Tc($);if(!Fd($))return Ko($)}return rn($,Ye,t)}function Lc($){const tt=yt($.name,Ye,Sc);if(ld($.initializer,!0)){const vt=Ko($.initializer);return u.updatePropertyAssignment($,tt,vt)}if(Df($.initializer)){const vt=Y0($.initializer);return u.updatePropertyAssignment($,tt,vt)}return rn($,Ye,t)}function Il($){return If($,gt)&&($=Vf(t,$)),rn($,Ye,t)}function cl($){if(Df($.expression)){const tt=Y0($.expression);return u.updateSpreadAssignment($,tt)}return rn($,Ye,t)}function Ka($){return H.assertNode($,qO),d5($)?cl($):pm($)?Il($):Jc($)?Lc($):rn($,Ye,t)}function Ri($){return Dh($)?u.updateArrayLiteralExpression($,kn($.elements,Jp,Wt)):u.updateObjectLiteralExpression($,kn($.properties,Ka,Z3))}function dl($,tt,vt){const mi=Wl(tt),fn=xe.get(mi);if(fn){const Wu=fe,uu=Ke;fe=fn,Ke=De,De=!zl(mi)||!(Pp(mi)&32),Ce($,tt,vt),De=Ke,Ke=uu,fe=Wu;return}switch(tt.kind){case 218:if(q0(mi)||bs(tt)&524288)break;case 262:case 176:case 177:case 178:case 174:case 172:{const Wu=fe,uu=Ke;fe=void 0,Ke=De,De=!1,Ce($,tt,vt),De=Ke,Ke=uu,fe=Wu;return}case 167:{const Wu=fe,uu=De;fe=fe==null?void 0:fe.previous,De=Ke,Ce($,tt,vt),De=uu,fe=Wu;return}}Ce($,tt,vt)}function Uc($,tt){return tt=ae($,tt),$===1?Ch(tt):tt}function Ch($){switch($.kind){case 80:return Q0($);case 110:return sf($)}return $}function sf($){if(ve&2&&(fe!=null&&fe.data)&&!Be.has($)){const{facts:tt,classConstructor:vt,classThis:mi}=fe.data,fn=De?mi??vt:vt;if(fn)return Pt(su(u.cloneNode(fn),$),$);if(tt&1&&M)return u.createParenthesizedExpression(u.createVoidZero())}return $}function Q0($){return Cc($)||$}function Cc($){if(ve&1&&b.getNodeCheckFlags($)&536870912){const tt=b.getReferencedValueDeclaration($);if(tt){const vt=Se[tt.id];if(vt){const mi=u.cloneNode(vt);return As(mi,$),Bc(mi,$),mi}}}}}function xMt(t,u,s){return t.createAssignment(u,t.createObjectLiteralExpression([t.createPropertyAssignment("value",s||t.createVoidZero())]))}function vMt(t,u,s,d){return t.createCallExpression(t.createPropertyAccessExpression(d,"set"),void 0,[u,s||t.createVoidZero()])}function CMt(t,u,s){return t.createCallExpression(t.createPropertyAccessExpression(s,"add"),void 0,[u])}function bMt(t){return!Uy(t)&&t.escapedText==="#constructor"}function yMt(t){return Xr(t.left)&&t.operatorToken.kind===103}function kMt(t){return ko(t)&&Kc(t)}function DM(t){return zl(t)||kMt(t)}var FMt=o({"src/compiler/transformers/classFields.ts"(){Bo()}});function a7e(t){const{factory:u,hoistVariableDeclaration:s}=t,d=t.getEmitResolver(),f=t.getCompilerOptions(),p=Os(f),E=Z4(f,"strictNullChecks");let v,b;return{serializeTypeNode:(Ne,pe)=>B(Ne,J,pe),serializeTypeOfNode:(Ne,pe)=>B(Ne,T,pe),serializeParameterTypesOfNode:(Ne,pe,fe)=>B(Ne,M,pe,fe),serializeReturnTypeOfNode:(Ne,pe)=>B(Ne,j,pe)};function B(Ne,pe,fe,xe){const Be=v,Ge=b;v=Ne.currentLexicalScope,b=Ne.currentNameScope;const Ae=xe===void 0?pe(fe):pe(fe,xe);return v=Be,b=Ge,Ae}function k(Ne){const pe=d.getAllAccessorDeclarations(Ne);return pe.setAccessor&&vye(pe.setAccessor)||pe.getAccessor&&U4(pe.getAccessor)}function T(Ne){switch(Ne.kind){case 172:case 169:return J(Ne.type);case 178:case 177:return J(k(Ne));case 263:case 231:case 174:return u.createIdentifier("Function");default:return u.createVoidZero()}}function M(Ne,pe){const fe=mr(Ne)?X_(Ne):Co(Ne)&&H4(Ne.body)?Ne:void 0,xe=[];if(fe){const Be=z(fe,pe),Ge=Be.length;for(let Ae=0;AeBe.parent&&FB(Be.parent)&&(Be.parent.trueType===Be||Be.parent.falseType===Be)))return u.createIdentifier("Object");const fe=ae(Ne.typeName),xe=u.createTempVariable(s);return u.createConditionalExpression(u.createTypeCheck(u.createAssignment(xe,fe),"function"),void 0,xe,void 0,u.createIdentifier("Object"));case 1:return Ce(Ne.typeName);case 2:return u.createVoidZero();case 4:return Se("BigInt",7);case 6:return u.createIdentifier("Boolean");case 3:return u.createIdentifier("Number");case 5:return u.createIdentifier("String");case 7:return u.createIdentifier("Array");case 8:return Se("Symbol",2);case 10:return u.createIdentifier("Function");case 9:return u.createIdentifier("Promise");case 11:return u.createIdentifier("Object");default:return H.assertNever(pe)}}function ge(Ne,pe){return u.createLogicalAnd(u.createStrictInequality(u.createTypeOfExpression(Ne),u.createStringLiteral("undefined")),pe)}function ae(Ne){if(Ne.kind===80){const xe=Ce(Ne);return ge(xe,xe)}if(Ne.left.kind===80)return ge(Ce(Ne.left),Ce(Ne));const pe=ae(Ne.left),fe=u.createTempVariable(s);return u.createLogicalAnd(u.createLogicalAnd(pe.left,u.createStrictInequality(u.createAssignment(fe,pe.right),u.createVoidZero())),u.createPropertyAccessExpression(fe,Ne.right))}function Ce(Ne){switch(Ne.kind){case 80:const pe=ks(Pt(a_.cloneNode(Ne),Ne),Ne.parent);return pe.original=void 0,ks(pe,Ua(v)),pe;case 166:return ne(Ne)}}function ne(Ne){return u.createPropertyAccessExpression(Ce(Ne.left),Ne.right)}function ve(Ne){return u.createConditionalExpression(u.createTypeCheck(u.createIdentifier(Ne),"function"),void 0,u.createIdentifier(Ne),void 0,u.createIdentifier("Object"))}function Se(Ne,pe){return pOV(Cn)||g1(Cn)?void 0:Cn,ol),Jn=iE(ht),an=Gt(ht),Pi=E<2?u.getInternalName(ht,!1,!0):u.getLocalName(ht,!1,!0),Ai=kn(ht.heritageClauses,T,mm);let Zu=kn(ht.members,T,Zd),aa=[];({members:Zu,decorationStatements:aa}=K(ht,Zu));const yr=E>=9&&!!an&&Oe(Zu,Cn=>ko(Cn)&&Yu(Cn,256)||zl(Cn));yr&&(Zu=Pt(u.createNodeArray([u.createClassStaticBlockDeclaration(u.createBlock([u.createExpressionStatement(u.createAssignment(an,u.createThis()))])),...Zu]),Zu));const Ba=u.createClassExpression(xn,Ut&&al(Ut)?void 0:Ut,void 0,Ai,Zu);su(Ba,ht),Pt(Ba,Jn);const bt=an&&!yr?u.createAssignment(an,Ba):Ba,jn=u.createVariableDeclaration(Pi,void 0,void 0,bt);su(jn,ht);const Ln=u.createVariableDeclarationList([jn],1),Si=u.createVariableStatement(void 0,Ln);su(Si,ht),Pt(Si,Jn),Bc(Si,ht);const Dn=[Si];if(yn(Dn,aa),Ke(Dn,ht),Ni)if(ji){const Cn=u.createExportDefault(Pi);Dn.push(Cn)}else{const Cn=u.createExternalModuleExport(u.getDeclarationName(ht));Dn.push(Cn)}return Dn}function se(ht){return u.updateClassExpression(ht,kn(ht.modifiers,k,Qo),ht.name,void 0,kn(ht.heritageClauses,T,mm),kn(ht.members,T,Zd))}function ge(ht){return u.updateConstructorDeclaration(ht,kn(ht.modifiers,k,Qo),kn(ht.parameters,T,io),yt(ht.body,T,po))}function ae(ht,Ut){return ht!==Ut&&(Bc(ht,Ut),As(ht,iE(Ut))),ht}function Ce(ht){return ae(u.updateMethodDeclaration(ht,kn(ht.modifiers,k,Qo),ht.asteriskToken,H.checkDefined(yt(ht.name,T,Sc)),void 0,void 0,kn(ht.parameters,T,io),void 0,yt(ht.body,T,po)),ht)}function ne(ht){return ae(u.updateGetAccessorDeclaration(ht,kn(ht.modifiers,k,Qo),H.checkDefined(yt(ht.name,T,Sc)),kn(ht.parameters,T,io),void 0,yt(ht.body,T,po)),ht)}function ve(ht){return ae(u.updateSetAccessorDeclaration(ht,kn(ht.modifiers,k,Qo),H.checkDefined(yt(ht.name,T,Sc)),kn(ht.parameters,T,io),yt(ht.body,T,po)),ht)}function Se(ht){if(!(ht.flags&33554432||Yu(ht,128)))return ae(u.updatePropertyDeclaration(ht,kn(ht.modifiers,k,Qo),H.checkDefined(yt(ht.name,T,Sc)),void 0,void 0,yt(ht.initializer,T,Wt)),ht)}function Ne(ht){const Ut=u.updateParameterDeclaration(ht,OFe(u,ht.modifiers),ht.dotDotDotToken,H.checkDefined(yt(ht.name,T,qy)),void 0,void 0,yt(ht.initializer,T,Wt));return Ut!==ht&&(Bc(Ut,ht),Pt(Ut,iE(ht)),As(Ut,iE(ht)),Zn(Ut.name,64)),Ut}function pe(ht){return jP(ht.expression,"___metadata")}function fe(ht){if(!ht)return;const{false:Ut,true:Ni}=JCe(ht.decorators,pe),ji=[];return yn(ji,Vt(Ut,ft)),yn(ji,ju(ht.parameters,Ye)),yn(ji,Vt(Ni,ft)),ji}function xe(ht,Ut,Ni){yn(ht,Vt(Ae(Ut,Ni),ji=>u.createExpressionStatement(ji)))}function Be(ht,Ut,Ni){return gj(!0,ht,Ni)&&Ut===No(ht)}function Ge(ht,Ut){return ti(ht.members,Ni=>Be(Ni,Ut,ht))}function Ae(ht,Ut){const Ni=Ge(ht,Ut);let ji;for(const xn of Ni)ji=xi(ji,De(ht,xn));return ji}function De(ht,Ut){const Ni=cQ(Ut,ht,!0),ji=fe(Ni);if(!ji)return;const xn=Ie(ht,Ut),Jn=Ve(Ut,!Yu(Ut,128)),an=E>0?ko(Ut)&&!eE(Ut)?u.createVoidZero():u.createNull():void 0,Pi=s().createDecorateHelper(ji,xn,Jn,an);return Zn(Pi,3072),As(Pi,iE(Ut)),Pi}function Ke(ht,Ut){const Ni=Je(Ut);Ni&&ht.push(su(u.createExpressionStatement(Ni),Ut))}function Je(ht){const Ut=Zde(ht),Ni=fe(Ut);if(!Ni)return;const ji=b&&b[M1(ht)],xn=E<2?u.getInternalName(ht,!1,!0):u.getDeclarationName(ht,!1,!0),Jn=s().createDecorateHelper(Ni,xn),an=u.createAssignment(xn,ji?u.createAssignment(ji,Jn):Jn);return Zn(an,3072),As(an,iE(ht)),an}function ft(ht){return H.checkDefined(yt(ht.expression,T,Wt))}function Ye(ht,Ut){let Ni;if(ht){Ni=[];for(const ji of ht){const xn=s().createParamHelper(ft(ji),Ut);Pt(xn,ji.expression),Zn(xn,3072),Ni.push(xn)}}return Ni}function Ve(ht,Ut){const Ni=ht.name;return Xr(Ni)?u.createIdentifier(""):Ps(Ni)?Ut&&!sE(Ni.expression)?u.getGeneratedNameForNode(Ni):Ni.expression:at(Ni)?u.createStringLiteral(fu(Ni)):u.cloneNode(Ni)}function We(){b||(t.enableSubstitution(80),b=[])}function Gt(ht){if(f.getNodeCheckFlags(ht)&262144){We();const Ut=u.createUniqueName(ht.name&&!al(ht.name)?fu(ht.name):"default");return b[M1(ht)]=Ut,d(Ut),Ut}}function Yt(ht){return u.createPropertyAccessExpression(u.getDeclarationName(ht),"prototype")}function Ie(ht,Ut){return No(Ut)?u.getDeclarationName(ht):Yt(ht)}function st(ht,Ut){return Ut=v(ht,Ut),ht===1?St(Ut):Ut}function St(ht){switch(ht.kind){case 80:return It(ht)}return ht}function It(ht){return ei(ht)??ht}function ei(ht){if(b&&f.getNodeCheckFlags(ht)&536870912){const Ut=f.getReferencedValueDeclaration(ht);if(Ut){const Ni=b[Ut.id];if(Ni){const ji=u.cloneNode(Ni);return As(ji,ht),Bc(ji,ht),ji}}}}}var SMt=o({"src/compiler/transformers/legacyDecorators.ts"(){Bo()}});function s7e(t){const{factory:u,getEmitHelperFactory:s,startLexicalEnvironment:d,endLexicalEnvironment:f,hoistVariableDeclaration:p}=t,E=Os(t.getCompilerOptions());let v,b,B,k,T,M;return Kp(t,z);function z(te){v=void 0,M=!1;const we=rn(te,ve,t);return iD(we,t.readEmitHelpers()),M&&(F7(we,32),M=!1),we}function j(){switch(b=void 0,B=void 0,k=void 0,v==null?void 0:v.kind){case"class":b=v.classInfo;break;case"class-element":b=v.next.classInfo,B=v.classThis,k=v.classSuper;break;case"name":const te=v.next.next.next;(te==null?void 0:te.kind)==="class-element"&&(b=te.next.classInfo,B=te.classThis,k=te.classSuper);break}}function J(te){v={kind:"class",next:v,classInfo:te,savedPendingExpressions:T},T=void 0,j()}function K(){H.assert((v==null?void 0:v.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${v==null?void 0:v.kind}' instead.`),T=v.savedPendingExpressions,v=v.next,j()}function Y(te){var we,de;H.assert((v==null?void 0:v.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${v==null?void 0:v.kind}' instead.`),v={kind:"class-element",next:v},(zl(te)||ko(te)&&Kc(te))&&(v.classThis=(we=v.next.classInfo)==null?void 0:we.classThis,v.classSuper=(de=v.next.classInfo)==null?void 0:de.classSuper),j()}function oe(){var te;H.assert((v==null?void 0:v.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${v==null?void 0:v.kind}' instead.`),H.assert(((te=v.next)==null?void 0:te.kind)==="class","Incorrect value for top.next.kind.",()=>{var we;return`Expected top.next.kind to be 'class' but got '${(we=v.next)==null?void 0:we.kind}' instead.`}),v=v.next,j()}function se(){H.assert((v==null?void 0:v.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${v==null?void 0:v.kind}' instead.`),v={kind:"name",next:v},j()}function ge(){H.assert((v==null?void 0:v.kind)==="name","Incorrect value for top.kind.",()=>`Expected top.kind to be 'name' but got '${v==null?void 0:v.kind}' instead.`),v=v.next,j()}function ae(){(v==null?void 0:v.kind)==="other"?(H.assert(!T),v.depth++):(v={kind:"other",next:v,depth:0,savedPendingExpressions:T},T=void 0,j())}function Ce(){H.assert((v==null?void 0:v.kind)==="other","Incorrect value for top.kind.",()=>`Expected top.kind to be 'other' but got '${v==null?void 0:v.kind}' instead.`),v.depth>0?(H.assert(!T),v.depth--):(T=v.savedPendingExpressions,v=v.next,j())}function ne(te){return!!(te.transformFlags&33554432)||!!B&&!!(te.transformFlags&16384)||!!B&&!!k&&!!(te.transformFlags&134217728)}function ve(te){if(!ne(te))return te;switch(te.kind){case 170:return H.fail("Use `modifierVisitor` instead.");case 263:return Je(te);case 231:return ft(te);case 176:case 172:case 175:return H.fail("Not supported outside of a class. Use 'classElementVisitor' instead.");case 169:return Jn(te);case 226:return aa(te,!1);case 303:return Si(te);case 260:return Dn(te);case 208:return Cn(te);case 277:return Mt(te);case 110:return ht(te);case 248:return Ai(te);case 244:return Zu(te);case 361:return Ba(te,!1);case 217:return qt(te,!1);case 360:return Xt(te,!1);case 213:return Ut(te);case 215:return Ni(te);case 224:case 225:return yr(te,!1);case 211:return ji(te);case 212:return xn(te);case 167:return Ln(te);case 174:case 178:case 177:case 218:case 262:{ae();const we=rn(te,Se,t);return Ce(),we}default:return rn(te,Se,t)}}function Se(te){switch(te.kind){case 170:return;default:return ve(te)}}function Ne(te){switch(te.kind){case 170:return;default:return te}}function pe(te){switch(te.kind){case 176:return We(te);case 174:return Ie(te);case 177:return st(te);case 178:return St(te);case 172:return ei(te);case 175:return It(te);default:return ve(te)}}function fe(te){switch(te.kind){case 224:case 225:return yr(te,!0);case 226:return aa(te,!0);case 361:return Ba(te,!0);case 217:return qt(te,!0);default:return ve(te)}}function xe(te){let we=te.name&&at(te.name)&&!al(te.name)?fu(te.name):te.name&&Xr(te.name)&&!al(te.name)?fu(te.name).slice(1):te.name&&us(te.name)&&Lm(te.name.text,99)?te.name.text:mr(te)?"class":"member";return Lx(te)&&(we=`get_${we}`),e5(te)&&(we=`set_${we}`),te.name&&Xr(te.name)&&(we=`private_${we}`),No(te)&&(we=`static_${we}`),"_"+we}function Be(te,we){return u.createUniqueName(`${xe(te)}_${we}`,24)}function Ge(te,we){return u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(te,void 0,void 0,we)],1))}function Ae(te){const we=u.createUniqueName("_metadata",48);let de,je,X=!1,it=!1,Ct=!1;for(const ct of te.members)if(nbe(ct)&&gj(!1,ct,te)&&(Kc(ct)?je??(je=u.createUniqueName("_staticExtraInitializers",48)):de??(de=u.createUniqueName("_instanceExtraInitializers",48))),zl(ct)?X7(ct)||(X=!0):ko(ct)&&(Kc(ct)?X||(X=!!ct.initializer||o4(ct)):it||(it=!_0e(ct))),(ph(ct)||ef(ct))&&Kc(ct)&&(Ct=!0),je&&de&&X&&it&&Ct)break;return{class:te,metadataReference:we,instanceExtraInitializersName:de,staticExtraInitializersName:je,hasStaticInitializers:X,hasNonAmbientInstanceFields:it,hasStaticPrivateClassElements:Ct}}function De(te){d(),!t1e(te)&&t5(!1,te)&&(te=hQ(t,te,u.createStringLiteral("")));const we=u.getLocalName(te,!1,!1,!0),de=Ae(te),je=[];let X,it,Ct,ct,Qt=!1;const Li=et(Zde(te));if(Li){de.classDecoratorsName=u.createUniqueName("_classDecorators",48),de.classDescriptorName=u.createUniqueName("_classDescriptor",48),de.classExtraInitializersName=u.createUniqueName("_classExtraInitializers",48);const wn=Oe(te.members,Ir=>(ph(Ir)||ef(Ir))&&Kc(Ir));de.classThis=u.createUniqueName("_classThis",wn?24:48),je.push(Ge(de.classDecoratorsName,u.createArrayLiteralExpression(Li)),Ge(de.classDescriptorName),Ge(de.classExtraInitializersName,u.createArrayLiteralExpression()),Ge(de.classThis)),de.hasStaticPrivateClassElements&&(Qt=!0,M=!0)}const Ui=Mj(te.heritageClauses,96),Sn=Ui&&Ki(Ui.types),du=Sn&&yt(Sn.expression,ve,Wt);if(du){de.classSuper=u.createUniqueName("_classSuper",48);const wn=Dc(du),Ir=Xd(wn)&&!wn.name||A0(wn)&&!wn.name||q0(wn)?u.createComma(u.createNumericLiteral(0),du):du;je.push(Ge(de.classSuper,Ir));const as=u.updateExpressionWithTypeArguments(Sn,de.classSuper,void 0),wo=u.updateHeritageClause(Ui,[as]);ct=u.createNodeArray([wo])}const Ru=de.classThis??u.createThis();J(de),X=xi(X,Qi(de.metadataReference,de.classSuper));let pr=kn(te.members,pe,Zd);if(T){let wn;for(let Ir of T){Ir=yt(Ir,function wo(Fn){if(!(Fn.transformFlags&16384))return Fn;switch(Fn.kind){case 110:return wn||(wn=u.createUniqueName("_outerThis",16),je.unshift(Ge(wn,u.createThis()))),wn;default:return rn(Fn,wo,t)}},Wt);const as=u.createExpressionStatement(Ir);X=xi(X,as)}T=void 0}if(K(),de.instanceExtraInitializersName&&!X_(te)){const wn=Ye(te,de);if(wn){const Ir=Qg(te),as=!!(Ir&&Dc(Ir.expression).kind!==106),wo=[];if(as){const vc=u.createSpreadElement(u.createIdentifier("arguments")),Ya=u.createCallExpression(u.createSuper(),void 0,[vc]);wo.push(u.createExpressionStatement(Ya))}yn(wo,wn);const Fn=u.createBlock(wo,!0);Ct=u.createConstructorDeclaration(void 0,[],Fn)}}if(de.staticExtraInitializersName&&je.push(Ge(de.staticExtraInitializersName,u.createArrayLiteralExpression())),de.instanceExtraInitializersName&&je.push(Ge(de.instanceExtraInitializersName,u.createArrayLiteralExpression())),de.memberInfos&&h1(de.memberInfos,(wn,Ir)=>{No(Ir)&&(je.push(Ge(wn.memberDecoratorsName)),wn.memberInitializersName&&je.push(Ge(wn.memberInitializersName,u.createArrayLiteralExpression())),wn.memberDescriptorName&&je.push(Ge(wn.memberDescriptorName)))}),de.memberInfos&&h1(de.memberInfos,(wn,Ir)=>{No(Ir)||(je.push(Ge(wn.memberDecoratorsName)),wn.memberInitializersName&&je.push(Ge(wn.memberInitializersName,u.createArrayLiteralExpression())),wn.memberDescriptorName&&je.push(Ge(wn.memberDescriptorName)))}),X=yn(X,de.staticNonFieldDecorationStatements),X=yn(X,de.nonStaticNonFieldDecorationStatements),X=yn(X,de.staticFieldDecorationStatements),X=yn(X,de.nonStaticFieldDecorationStatements),de.classDescriptorName&&de.classDecoratorsName&&de.classExtraInitializersName&&de.classThis){X??(X=[]);const wn=u.createPropertyAssignment("value",Ru),Ir=u.createObjectLiteralExpression([wn]),as=u.createAssignment(de.classDescriptorName,Ir),wo=u.createPropertyAccessExpression(Ru,"name"),Fn=s().createESDecorateHelper(u.createNull(),as,de.classDecoratorsName,{kind:"class",name:wo,metadata:de.metadataReference},u.createNull(),de.classExtraInitializersName),vc=u.createExpressionStatement(Fn);As(vc,o5(te)),X.push(vc);const Ya=u.createPropertyAccessExpression(de.classDescriptorName,"value"),c0=u.createAssignment(de.classThis,Ya),Ul=u.createAssignment(we,c0);X.push(u.createExpressionStatement(Ul))}if(X.push(on(Ru,de.metadataReference)),de.staticExtraInitializersName){const wn=s().createRunInitializersHelper(Ru,de.staticExtraInitializersName),Ir=u.createExpressionStatement(wn);As(Ir,te.name??o5(te)),X=xi(X,Ir)}if(de.classExtraInitializersName){const wn=s().createRunInitializersHelper(Ru,de.classExtraInitializersName),Ir=u.createExpressionStatement(wn);As(Ir,te.name??o5(te)),it=xi(it,Ir)}X&&it&&!de.hasStaticInitializers&&(yn(X,it),it=void 0);const Xu=X&&u.createClassStaticBlockDeclaration(u.createBlock(X,!0));Xu&&Qt&&_V(Xu,32);const ca=it&&u.createClassStaticBlockDeclaration(u.createBlock(it,!0));if(Xu||Ct||ca){const wn=[],Ir=pr.findIndex(X7);Xu?(yn(wn,pr,0,Ir+1),wn.push(Xu),yn(wn,pr,Ir+1)):yn(wn,pr),Ct&&wn.push(Ct),ca&&wn.push(ca),pr=Pt(u.createNodeArray(wn),pr)}const Ku=f();let ja;if(Li){ja=u.createClassExpression(void 0,void 0,void 0,ct,pr),de.classThis&&(ja=e7e(u,ja,de.classThis));const wn=u.createVariableDeclaration(we,void 0,void 0,ja),Ir=u.createVariableDeclarationList([wn]),as=de.classThis?u.createAssignment(we,de.classThis):we;je.push(u.createVariableStatement(void 0,Ir),u.createReturnStatement(as))}else ja=u.createClassExpression(void 0,te.name,void 0,ct,pr),je.push(u.createReturnStatement(ja));if(Qt){F7(ja,32);for(const wn of ja.members)(ph(wn)||ef(wn))&&Kc(wn)&&F7(wn,32)}return su(ja,te),u.createImmediatelyInvokedArrowFunction(u.mergeLexicalEnvironment(je,Ku))}function Ke(te){return t5(!1,te)||QN(!1,te)}function Je(te){if(Ke(te)){const we=[],de=Wl(te,mr)??te,je=de.name?u.createStringLiteralFromNode(de.name):u.createStringLiteral("default"),X=Yu(te,32),it=Yu(te,2048);if(te.name||(te=hQ(t,te,je)),X&&it){const Ct=De(te);if(te.name){const ct=u.createVariableDeclaration(u.getLocalName(te),void 0,void 0,Ct);su(ct,te);const Qt=u.createVariableDeclarationList([ct],1),Li=u.createVariableStatement(void 0,Qt);we.push(Li);const Ui=u.createExportDefault(u.getDeclarationName(te));su(Ui,te),Bc(Ui,nE(te)),As(Ui,o5(te)),we.push(Ui)}else{const ct=u.createExportDefault(Ct);su(ct,te),Bc(ct,nE(te)),As(ct,o5(te)),we.push(ct)}}else{H.assertIsDefined(te.name,"A class declaration that is not a default export must have a name.");const Ct=De(te),ct=X?Ru=>L7(Ru)?void 0:Ne(Ru):Ne,Qt=kn(te.modifiers,ct,Qo),Li=u.getLocalName(te,!1,!0),Ui=u.createVariableDeclaration(Li,void 0,void 0,Ct);su(Ui,te);const Sn=u.createVariableDeclarationList([Ui],1),du=u.createVariableStatement(Qt,Sn);if(su(du,te),Bc(du,nE(te)),we.push(du),X){const Ru=u.createExternalModuleExport(Li);su(Ru,te),we.push(Ru)}}return F0(we)}else{const we=kn(te.modifiers,Ne,Qo),de=kn(te.heritageClauses,ve,mm);J(void 0);const je=kn(te.members,pe,Zd);return K(),u.updateClassDeclaration(te,we,te.name,void 0,de,je)}}function ft(te){if(Ke(te)){const we=De(te);return su(we,te),we}else{const we=kn(te.modifiers,Ne,Qo),de=kn(te.heritageClauses,ve,mm);J(void 0);const je=kn(te.members,pe,Zd);return K(),u.updateClassExpression(te,we,te.name,void 0,de,je)}}function Ye(te,we){if(we.instanceExtraInitializersName&&!we.hasNonAmbientInstanceFields){const de=[];return de.push(u.createExpressionStatement(s().createRunInitializersHelper(u.createThis(),we.instanceExtraInitializersName))),de}}function Ve(te,we,de,je,X,it){const Ct=je[X],ct=we[Ct];if(yn(te,kn(we,ve,ia,de,Ct-de)),Ck(ct)){const Qt=[];Ve(Qt,ct.tryBlock.statements,0,je,X+1,it);const Li=u.createNodeArray(Qt);Pt(Li,ct.tryBlock.statements),te.push(u.updateTryStatement(ct,u.updateBlock(ct.tryBlock,Qt),yt(ct.catchClause,ve,G2),yt(ct.finallyBlock,ve,po)))}else yn(te,kn(we,ve,ia,Ct,1)),yn(te,it);yn(te,kn(we,ve,ia,Ct+1))}function We(te){Y(te);const we=kn(te.modifiers,Ne,Qo),de=kn(te.parameters,ve,io);let je;if(te.body&&b){const X=Ye(b.class,b);if(X){const it=[],Ct=u.copyPrologue(te.body.statements,it,!1,ve),ct=sQ(te.body.statements,Ct);ct.length>0?Ve(it,te.body.statements,Ct,ct,0,X):(yn(it,X),yn(it,kn(te.body.statements,ve,ia))),je=u.createBlock(it,!0),su(je,te.body),Pt(je,te.body)}}return je??(je=yt(te.body,ve,po)),oe(),u.updateConstructorDeclaration(te,we,de,je)}function Gt(te,we){return te!==we&&(Bc(te,we),As(te,o5(we))),te}function Yt(te,we,de){let je,X,it,Ct,ct;if(!we){const Ui=kn(te.modifiers,Ne,Qo);return se(),X=jn(te.name),ge(),{modifiers:Ui,referencedName:je,name:X,initializersName:it,descriptorName:ct,thisArg:Ct}}const Qt=et(cQ(te,we.class,!1)),Li=kn(te.modifiers,Ne,Qo);if(Qt){const Ui=Be(te,"decorators"),Sn=u.createArrayLiteralExpression(Qt),du=u.createAssignment(Ui,Sn),Ru={memberDecoratorsName:Ui};we.memberInfos??(we.memberInfos=new Map),we.memberInfos.set(te,Ru),T??(T=[]),T.push(du);const pr=N8(te)||ef(te)?No(te)?we.staticNonFieldDecorationStatements??(we.staticNonFieldDecorationStatements=[]):we.nonStaticNonFieldDecorationStatements??(we.nonStaticNonFieldDecorationStatements=[]):ko(te)&&!ef(te)?No(te)?we.staticFieldDecorationStatements??(we.staticFieldDecorationStatements=[]):we.nonStaticFieldDecorationStatements??(we.nonStaticFieldDecorationStatements=[]):H.fail(),Xu=zm(te)?"getter":jf(te)?"setter":dc(te)?"method":ef(te)?"accessor":ko(te)?"field":H.fail();let ca;if(at(te.name)||Xr(te.name))ca={computed:!1,name:te.name};else if(Xg(te.name))ca={computed:!0,name:u.createStringLiteralFromNode(te.name)};else{const wn=te.name.expression;Xg(wn)&&!at(wn)?ca={computed:!0,name:u.createStringLiteralFromNode(wn)}:(se(),{referencedName:je,name:X}=bt(te.name),ca={computed:!0,name:je},ge())}const Ku={kind:Xu,name:ca,static:No(te),private:Xr(te.name),access:{get:ko(te)||zm(te)||dc(te),set:ko(te)||jf(te)},metadata:we.metadataReference},ja=No(te)?we.staticExtraInitializersName??(we.staticExtraInitializersName=u.createUniqueName("_staticExtraInitializers",48)):we.instanceExtraInitializersName??(we.instanceExtraInitializersName=u.createUniqueName("_instanceExtraInitializers",48));if(N8(te)){let wn;ph(te)&&de&&(wn=de(te,kn(Li,wo=>ur(wo,VP),Qo)),Ru.memberDescriptorName=ct=Be(te,"descriptor"),wn=u.createAssignment(ct,wn));const Ir=s().createESDecorateHelper(u.createThis(),wn??u.createNull(),Ui,Ku,u.createNull(),ja),as=u.createExpressionStatement(Ir);As(as,o5(te)),pr.push(as)}else if(ko(te)){it=Ru.memberInitializersName??(Ru.memberInitializersName=Be(te,"initializers")),No(te)&&(Ct=we.classThis);let wn;ph(te)&&eE(te)&&de&&(wn=de(te,void 0),Ru.memberDescriptorName=ct=Be(te,"descriptor"),wn=u.createAssignment(ct,wn));const Ir=s().createESDecorateHelper(ef(te)?u.createThis():u.createNull(),wn??u.createNull(),Ui,Ku,it,ja),as=u.createExpressionStatement(Ir);As(as,o5(te)),pr.push(as)}}return X===void 0&&(se(),X=jn(te.name),ge()),!Oe(Li)&&(dc(te)||ko(te))&&Zn(X,1024),{modifiers:Li,referencedName:je,name:X,initializersName:it,descriptorName:ct,thisArg:Ct}}function Ie(te){Y(te);const{modifiers:we,name:de,descriptorName:je}=Yt(te,b,me);if(je)return oe(),Gt(Ot(we,de,je),te);{const X=kn(te.parameters,ve,io),it=yt(te.body,ve,po);return oe(),Gt(u.updateMethodDeclaration(te,we,te.asteriskToken,de,void 0,void 0,X,void 0,it),te)}}function st(te){Y(te);const{modifiers:we,name:de,descriptorName:je}=Yt(te,b,ni);if(je)return oe(),Gt(Ei(we,de,je),te);{const X=kn(te.parameters,ve,io),it=yt(te.body,ve,po);return oe(),Gt(u.updateGetAccessorDeclaration(te,we,de,X,void 0,it),te)}}function St(te){Y(te);const{modifiers:we,name:de,descriptorName:je}=Yt(te,b,vi);if(je)return oe(),Gt($i(we,de,je),te);{const X=kn(te.parameters,ve,io),it=yt(te.body,ve,po);return oe(),Gt(u.updateSetAccessorDeclaration(te,we,de,X,it),te)}}function It(te){Y(te);let we;if(X7(te))we=rn(te,ve,t);else if(EM(te)){const de=B;B=void 0,we=rn(te,ve,t),B=de}else b&&(b.hasStaticInitializers=!0),we=rn(te,ve,t);return oe(),we}function ei(te){If(te,an)&&(te=Vf(t,te,Pi(te.initializer))),Y(te),H.assert(!_0e(te),"Not yet implemented.");const{modifiers:we,name:de,initializersName:je,descriptorName:X,thisArg:it}=Yt(te,b,eE(te)?mt:void 0);d();let Ct=yt(te.initializer,ve,Wt);je&&(Ct=s().createRunInitializersHelper(it??u.createThis(),je,Ct??u.createVoidZero())),!No(te)&&(b!=null&&b.instanceExtraInitializersName)&&!(b!=null&&b.hasInjectedInstanceInitializers)&&(b.hasInjectedInstanceInitializers=!0,Ct??(Ct=u.createVoidZero()),Ct=u.createParenthesizedExpression(u.createComma(s().createRunInitializersHelper(u.createThis(),b.instanceExtraInitializersName),Ct))),No(te)&&b&&Ct&&(b.hasStaticInitializers=!0);const ct=f();if(Oe(ct)&&(Ct=u.createImmediatelyInvokedArrowFunction([...ct,u.createReturnStatement(Ct)])),oe(),eE(te)&&X){const Qt=nE(te),Li=Lv(te),Ui=te.name;let Sn=Ui,du=Ui;if(Ps(Ui)&&!sE(Ui.expression)){const Ku=FY(Ui);if(Ku)Sn=u.updateComputedPropertyName(Ui,yt(Ui.expression,ve,Wt)),du=u.updateComputedPropertyName(Ui,Ku.left);else{const ja=u.createTempVariable(p);As(ja,Ui.expression);const wn=yt(Ui.expression,ve,Wt),Ir=u.createAssignment(ja,wn);As(Ir,Ui.expression),Sn=u.updateComputedPropertyName(Ui,Ir),du=u.updateComputedPropertyName(Ui,ja)}}const Ru=kn(we,Ku=>Ku.kind!==129?Ku:void 0,Qo),pr=Wce(u,te,Ru,Ct);su(pr,te),Zn(pr,3072),As(pr,Li),As(pr.name,te.name);const Xu=Ei(Ru,Sn,X);su(Xu,te),Bc(Xu,Qt),As(Xu,Li);const ca=$i(Ru,du,X);return su(ca,te),Zn(ca,3072),As(ca,Li),[pr,Xu,ca]}return Gt(u.updatePropertyDeclaration(te,we,de,void 0,void 0,Ct),te)}function ht(te){return B??te}function Ut(te){if(nf(te.expression)&&B){const we=yt(te.expression,ve,Wt),de=kn(te.arguments,ve,Wt),je=u.createFunctionCallCall(we,B,de);return su(je,te),Pt(je,te),je}return rn(te,ve,t)}function Ni(te){if(nf(te.tag)&&B){const we=yt(te.tag,ve,Wt),de=u.createFunctionBindCall(we,B,[]);su(de,te),Pt(de,te);const je=yt(te.template,ve,P8);return u.updateTaggedTemplateExpression(te,de,void 0,je)}return rn(te,ve,t)}function ji(te){if(nf(te)&&at(te.name)&&B&&k){const we=u.createStringLiteralFromNode(te.name),de=u.createReflectGetCall(k,we,B);return su(de,te.expression),Pt(de,te.expression),de}return rn(te,ve,t)}function xn(te){if(nf(te)&&B&&k){const we=yt(te.argumentExpression,ve,Wt),de=u.createReflectGetCall(k,we,B);return su(de,te.expression),Pt(de,te.expression),de}return rn(te,ve,t)}function Jn(te){If(te,an)&&(te=Vf(t,te,Pi(te.initializer)));const we=u.updateParameterDeclaration(te,void 0,te.dotDotDotToken,yt(te.name,ve,qy),void 0,void 0,yt(te.initializer,ve,Wt));return we!==te&&(Bc(we,te),Pt(we,iE(te)),As(we,iE(te)),Zn(we.name,64)),we}function an(te){return Xd(te)&&!te.name&&Ke(te)}function Pi(te){const we=Dc(te);return Xd(we)&&!we.name&&!t5(!1,we)}function Ai(te){return u.updateForStatement(te,yt(te.initializer,fe,a4),yt(te.condition,ve,Wt),yt(te.incrementor,fe,Wt),Ih(te.statement,ve,t))}function Zu(te){return rn(te,fe,t)}function aa(te,we){if(r5(te)){const de=Et(te.left),je=yt(te.right,ve,Wt);return u.updateBinaryExpression(te,de,te.operatorToken,je)}if(ld(te)){if(If(te,an))return te=Vf(t,te,Pi(te.right)),rn(te,ve,t);if(nf(te.left)&&B&&k){let de=U0(te.left)?yt(te.left.argumentExpression,ve,Wt):at(te.left.name)?u.createStringLiteralFromNode(te.left.name):void 0;if(de){let je=yt(te.right,ve,Wt);if(mM(te.operatorToken.kind)){let it=de;sE(de)||(it=u.createTempVariable(p),de=u.createAssignment(it,de));const Ct=u.createReflectGetCall(k,it,B);su(Ct,te.left),Pt(Ct,te.left),je=u.createBinaryExpression(Ct,pM(te.operatorToken.kind),je),Pt(je,te)}const X=we?void 0:u.createTempVariable(p);return X&&(je=u.createAssignment(X,je),Pt(X,te)),je=u.createReflectSetCall(k,de,je,B),su(je,te),Pt(je,te),X&&(je=u.createComma(je,X),Pt(je,te)),je}}}if(te.operatorToken.kind===28){const de=yt(te.left,fe,Wt),je=yt(te.right,we?fe:ve,Wt);return u.updateBinaryExpression(te,de,te.operatorToken,je)}return rn(te,ve,t)}function yr(te,we){if(te.operator===46||te.operator===47){const de=l0(te.operand);if(nf(de)&&B&&k){let je=U0(de)?yt(de.argumentExpression,ve,Wt):at(de.name)?u.createStringLiteralFromNode(de.name):void 0;if(je){let X=je;sE(je)||(X=u.createTempVariable(p),je=u.createAssignment(X,je));let it=u.createReflectGetCall(k,X,B);su(it,te),Pt(it,te);const Ct=we?void 0:u.createTempVariable(p);return it=DY(u,te,it,p,Ct),it=u.createReflectSetCall(k,je,it,B),su(it,te),Pt(it,te),Ct&&(it=u.createComma(it,Ct),Pt(it,te)),it}}}return rn(te,ve,t)}function Ba(te,we){const de=we?hH(te.elements,fe):hH(te.elements,ve,fe);return u.updateCommaListExpression(te,de)}function bt(te){if(Xg(te)||Xr(te)){const it=u.createStringLiteralFromNode(te),Ct=yt(te,ve,Sc);return{referencedName:it,name:Ct}}if(Xg(te.expression)&&!at(te.expression)){const it=u.createStringLiteralFromNode(te.expression),Ct=yt(te,ve,Sc);return{referencedName:it,name:Ct}}const we=u.getGeneratedNameForNode(te);p(we);const de=s().createPropKeyHelper(yt(te.expression,ve,Wt)),je=u.createAssignment(we,de),X=u.updateComputedPropertyName(te,Pe(je));return{referencedName:we,name:X}}function jn(te){return Ps(te)?Ln(te):yt(te,ve,Sc)}function Ln(te){let we=yt(te.expression,ve,Wt);return sE(we)||(we=Pe(we)),u.updateComputedPropertyName(te,we)}function Si(te){return If(te,an)&&(te=Vf(t,te,Pi(te.initializer))),rn(te,ve,t)}function Dn(te){return If(te,an)&&(te=Vf(t,te,Pi(te.initializer))),rn(te,ve,t)}function Cn(te){return If(te,an)&&(te=Vf(t,te,Pi(te.initializer))),rn(te,ve,t)}function tu(te){if(ys(te)||Dh(te))return Et(te);if(nf(te)&&B&&k){const we=U0(te)?yt(te.argumentExpression,ve,Wt):at(te.name)?u.createStringLiteralFromNode(te.name):void 0;if(we){const de=u.createTempVariable(void 0),je=u.createAssignmentTargetWrapper(de,u.createReflectSetCall(k,we,de,B));return su(je,te),Pt(je,te),je}}return rn(te,ve,t)}function oa(te){if(ld(te,!0)){If(te,an)&&(te=Vf(t,te,Pi(te.right)));const we=tu(te.left),de=yt(te.right,ve,Wt);return u.updateBinaryExpression(te,we,te.operatorToken,de)}else return tu(te)}function Da(te){if(Df(te.expression)){const we=tu(te.expression);return u.updateSpreadElement(te,we)}return rn(te,ve,t)}function ua(te){return H.assertNode(te,ZO),uE(te)?Da(te):Fd(te)?rn(te,ve,t):oa(te)}function Ta(te){const we=yt(te.name,ve,Sc);if(ld(te.initializer,!0)){const de=oa(te.initializer);return u.updatePropertyAssignment(te,we,de)}if(Df(te.initializer)){const de=tu(te.initializer);return u.updatePropertyAssignment(te,we,de)}return rn(te,ve,t)}function Yo(te){return If(te,an)&&(te=Vf(t,te,Pi(te.objectAssignmentInitializer))),rn(te,ve,t)}function bo(te){if(Df(te.expression)){const we=tu(te.expression);return u.updateSpreadAssignment(te,we)}return rn(te,ve,t)}function Qe(te){return H.assertNode(te,qO),d5(te)?bo(te):pm(te)?Yo(te):Jc(te)?Ta(te):rn(te,ve,t)}function Et(te){if(Dh(te)){const we=kn(te.elements,ua,Wt);return u.updateArrayLiteralExpression(te,we)}else{const we=kn(te.properties,Qe,Z3);return u.updateObjectLiteralExpression(te,we)}}function Mt(te){return If(te,an)&&(te=Vf(t,te,Pi(te.expression))),rn(te,ve,t)}function qt(te,we){const de=we?fe:ve,je=yt(te.expression,de,Wt);return u.updateParenthesizedExpression(te,je)}function Xt(te,we){const de=we?fe:ve,je=yt(te.expression,de,Wt);return u.updatePartiallyEmittedExpression(te,je)}function Pe(te){return Oe(T)&&(Cf(te)?(T.push(te.expression),te=u.updateParenthesizedExpression(te,u.inlineExpressions(T))):(T.push(te),te=u.inlineExpressions(T)),T=void 0),te}function et(te){if(!te)return;const we=[];return yn(we,Vt(te.decorators,gt)),we}function gt(te){const we=yt(te.expression,ve,Wt);Zn(we,3072);const de=Dc(we);if(I0(de)){const{target:je,thisArg:X}=u.createCallBinding(we,p,E,!0);return u.restoreOuterExpressions(we,u.createFunctionBindCall(je,X,[]))}return we}function ii(te,we,de,je,X,it,Ct){const ct=u.createFunctionExpression(de,je,void 0,void 0,it,void 0,Ct??u.createBlock([]));su(ct,te),As(ct,o5(te)),Zn(ct,3072);const Qt=X==="get"||X==="set"?X:void 0,Li=u.createStringLiteralFromNode(we,void 0),Ui=s().createSetFunctionNameHelper(ct,Li,Qt),Sn=u.createPropertyAssignment(u.createIdentifier(X),Ui);return su(Sn,te),As(Sn,o5(te)),Zn(Sn,3072),Sn}function me(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,te.asteriskToken,"value",kn(te.parameters,ve,io),yt(te.body,ve,po))])}function ni(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,void 0,"get",[],yt(te.body,ve,po))])}function vi(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,void 0,"set",kn(te.parameters,ve,io),yt(te.body,ve,po))])}function mt(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,void 0,"get",[],u.createBlock([u.createReturnStatement(u.createPropertyAccessExpression(u.createThis(),u.getGeneratedPrivateNameForNode(te.name)))])),ii(te,te.name,we,void 0,"set",[u.createParameterDeclaration(void 0,void 0,"value")],u.createBlock([u.createExpressionStatement(u.createAssignment(u.createPropertyAccessExpression(u.createThis(),u.getGeneratedPrivateNameForNode(te.name)),u.createIdentifier("value")))]))])}function Ot(te,we,de){return te=kn(te,je=>N7(je)?je:void 0,Qo),u.createGetAccessorDeclaration(te,we,[],void 0,u.createBlock([u.createReturnStatement(u.createPropertyAccessExpression(de,u.createIdentifier("value")))]))}function Ei(te,we,de){return te=kn(te,je=>N7(je)?je:void 0,Qo),u.createGetAccessorDeclaration(te,we,[],void 0,u.createBlock([u.createReturnStatement(u.createFunctionCallCall(u.createPropertyAccessExpression(de,u.createIdentifier("get")),u.createThis(),[]))]))}function $i(te,we,de){return te=kn(te,je=>N7(je)?je:void 0,Qo),u.createSetAccessorDeclaration(te,we,[u.createParameterDeclaration(void 0,void 0,"value")],u.createBlock([u.createReturnStatement(u.createFunctionCallCall(u.createPropertyAccessExpression(de,u.createIdentifier("set")),u.createThis(),[u.createIdentifier("value")]))]))}function Qi(te,we){const de=u.createVariableDeclaration(te,void 0,void 0,u.createConditionalExpression(u.createLogicalAnd(u.createTypeCheck(u.createIdentifier("Symbol"),"function"),u.createPropertyAccessExpression(u.createIdentifier("Symbol"),"metadata")),u.createToken(58),u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("Object"),"create"),void 0,[we?le(we):u.createNull()]),u.createToken(59),u.createVoidZero()));return u.createVariableStatement(void 0,u.createVariableDeclarationList([de],2))}function on(te,we){const de=u.createObjectDefinePropertyCall(te,u.createPropertyAccessExpression(u.createIdentifier("Symbol"),"metadata"),u.createPropertyDescriptor({configurable:!0,writable:!0,enumerable:!0,value:we},!0));return Zn(u.createIfStatement(we,u.createExpressionStatement(de)),1)}function le(te){return u.createBinaryExpression(u.createElementAccessExpression(te,u.createPropertyAccessExpression(u.createIdentifier("Symbol"),"metadata")),61,u.createNull())}}var BMt=o({"src/compiler/transformers/esDecorators.ts"(){Bo()}});function l7e(t){const{factory:u,getEmitHelperFactory:s,resumeLexicalEnvironment:d,endLexicalEnvironment:f,hoistVariableDeclaration:p}=t,E=t.getEmitResolver(),v=t.getCompilerOptions(),b=Os(v);let B,k=0,T,M,z;const j=[];let J=0;const K=t.onEmitNode,Y=t.onSubstituteNode;return t.onEmitNode=Jn,t.onSubstituteNode=an,Kp(t,oe);function oe(bt){if(bt.isDeclarationFile)return bt;se(1,!1),se(2,!E0e(bt,v));const jn=rn(bt,Se,t);return iD(jn,t.readEmitHelpers()),jn}function se(bt,jn){J=jn?J|bt:J&~bt}function ge(bt){return(J&bt)!==0}function ae(){return!ge(1)}function Ce(){return ge(2)}function ne(bt,jn,Ln){const Si=bt&~J;if(Si){se(Si,!0);const Dn=jn(Ln);return se(Si,!1),Dn}return jn(Ln)}function ve(bt){return rn(bt,Se,t)}function Se(bt){if(!(bt.transformFlags&256))return bt;switch(bt.kind){case 134:return;case 223:return Ae(bt);case 174:return ne(3,Ke,bt);case 262:return ne(3,Ye,bt);case 218:return ne(3,Ve,bt);case 219:return ne(1,We,bt);case 211:return M&&Iu(bt)&&bt.expression.kind===108&&M.add(bt.name.escapedText),rn(bt,Se,t);case 212:return M&&bt.expression.kind===108&&(z=!0),rn(bt,Se,t);case 177:return ne(3,Je,bt);case 178:return ne(3,ft,bt);case 176:return ne(3,De,bt);case 263:case 231:return ne(3,ve,bt);default:return rn(bt,Se,t)}}function Ne(bt){if(lye(bt))switch(bt.kind){case 243:return fe(bt);case 248:return Ge(bt);case 249:return xe(bt);case 250:return Be(bt);case 299:return pe(bt);case 241:case 255:case 269:case 296:case 297:case 258:case 246:case 247:case 245:case 254:case 256:return rn(bt,Ne,t);default:return H.assertNever(bt,"Unhandled node.")}return Se(bt)}function pe(bt){const jn=new Set;Gt(bt.variableDeclaration,jn);let Ln;if(jn.forEach((Si,Dn)=>{T.has(Dn)&&(Ln||(Ln=new Set(T)),Ln.delete(Dn))}),Ln){const Si=T;T=Ln;const Dn=rn(bt,Ne,t);return T=Si,Dn}else return rn(bt,Ne,t)}function fe(bt){if(Yt(bt.declarationList)){const jn=Ie(bt.declarationList,!1);return jn?u.createExpressionStatement(jn):void 0}return rn(bt,Se,t)}function xe(bt){return u.updateForInStatement(bt,Yt(bt.initializer)?Ie(bt.initializer,!0):H.checkDefined(yt(bt.initializer,Se,a4)),H.checkDefined(yt(bt.expression,Se,Wt)),Ih(bt.statement,Ne,t))}function Be(bt){return u.updateForOfStatement(bt,yt(bt.awaitModifier,Se,_ce),Yt(bt.initializer)?Ie(bt.initializer,!0):H.checkDefined(yt(bt.initializer,Se,a4)),H.checkDefined(yt(bt.expression,Se,Wt)),Ih(bt.statement,Ne,t))}function Ge(bt){const jn=bt.initializer;return u.updateForStatement(bt,Yt(jn)?Ie(jn,!1):yt(bt.initializer,Se,a4),yt(bt.condition,Se,Wt),yt(bt.incrementor,Se,Wt),Ih(bt.statement,Ne,t))}function Ae(bt){return ae()?rn(bt,Se,t):su(Pt(u.createYieldExpression(void 0,yt(bt.expression,Se,Wt)),bt),bt)}function De(bt){return u.updateConstructorDeclaration(bt,kn(bt.modifiers,Se,Qo),xc(bt.parameters,Se,t),ht(bt))}function Ke(bt){return u.updateMethodDeclaration(bt,kn(bt.modifiers,Se,ol),bt.asteriskToken,bt.name,void 0,void 0,xc(bt.parameters,Se,t),void 0,kd(bt)&2?Ut(bt):ht(bt))}function Je(bt){return u.updateGetAccessorDeclaration(bt,kn(bt.modifiers,Se,ol),bt.name,xc(bt.parameters,Se,t),void 0,ht(bt))}function ft(bt){return u.updateSetAccessorDeclaration(bt,kn(bt.modifiers,Se,ol),bt.name,xc(bt.parameters,Se,t),ht(bt))}function Ye(bt){return u.updateFunctionDeclaration(bt,kn(bt.modifiers,Se,ol),bt.asteriskToken,bt.name,void 0,xc(bt.parameters,Se,t),void 0,kd(bt)&2?Ut(bt):Om(bt.body,Se,t))}function Ve(bt){return u.updateFunctionExpression(bt,kn(bt.modifiers,Se,Qo),bt.asteriskToken,bt.name,void 0,xc(bt.parameters,Se,t),void 0,kd(bt)&2?Ut(bt):Om(bt.body,Se,t))}function We(bt){return u.updateArrowFunction(bt,kn(bt.modifiers,Se,Qo),void 0,xc(bt.parameters,Se,t),void 0,bt.equalsGreaterThanToken,kd(bt)&2?Ut(bt):Om(bt.body,Se,t))}function Gt({name:bt},jn){if(at(bt))jn.add(bt.escapedText);else for(const Ln of bt.elements)Fd(Ln)||Gt(Ln,jn)}function Yt(bt){return!!bt&&Ad(bt)&&!(bt.flags&7)&&bt.declarations.some(ei)}function Ie(bt,jn){st(bt);const Ln=DP(bt);return Ln.length===0?jn?yt(u.converters.convertToAssignmentElementTarget(bt.declarations[0].name),Se,Wt):void 0:u.inlineExpressions(Vt(Ln,It))}function st(bt){L(bt.declarations,St)}function St({name:bt}){if(at(bt))p(bt);else for(const jn of bt.elements)Fd(jn)||St(jn)}function It(bt){const jn=As(u.createAssignment(u.converters.convertToAssignmentElementTarget(bt.name),bt.initializer),bt);return H.checkDefined(yt(jn,Se,Wt))}function ei({name:bt}){if(at(bt))return T.has(bt.escapedText);for(const jn of bt.elements)if(!Fd(jn)&&ei(jn))return!0;return!1}function ht(bt){H.assertIsDefined(bt.body);const jn=M,Ln=z;M=new Set,z=!1;let Si=Om(bt.body,Se,t);const Dn=Wl(bt,$0);if(b>=2&&E.getNodeCheckFlags(bt)&384&&(kd(Dn)&3)!==3){if(xn(),M.size){const tu=fQ(u,E,bt,M);j[$s(tu)]=!0;const oa=Si.statements.slice();ZE(oa,[tu]),Si=u.updateBlock(Si,oa)}z&&(E.getNodeCheckFlags(bt)&256?S7(Si,bV):E.getNodeCheckFlags(bt)&128&&S7(Si,CV))}return M=jn,z=Ln,Si}function Ut(bt){d();const Ln=Wl(bt,Co).type,Si=b<2?ji(Ln):void 0,Dn=bt.kind===219,Cn=(E.getNodeCheckFlags(bt)&512)!==0,tu=T;T=new Set;for(const Ta of bt.parameters)Gt(Ta,T);const oa=M,Da=z;Dn||(M=new Set,z=!1);let ua;if(Dn){const Ta=s().createAwaiterHelper(Ce(),Cn,Si,Ni(bt.body)),Yo=f();if(Oe(Yo)){const bo=u.converters.convertToFunctionBlock(Ta);ua=u.updateBlock(bo,Pt(u.createNodeArray(Hi(Yo,bo.statements)),bo.statements))}else ua=Ta}else{const Ta=[],Yo=u.copyPrologue(bt.body.statements,Ta,!1,Se);Ta.push(u.createReturnStatement(s().createAwaiterHelper(Ce(),Cn,Si,Ni(bt.body,Yo)))),ZE(Ta,f());const bo=b>=2&&E.getNodeCheckFlags(bt)&384;if(bo&&(xn(),M.size)){const Et=fQ(u,E,bt,M);j[$s(Et)]=!0,ZE(Ta,[Et])}const Qe=u.createBlock(Ta,!0);Pt(Qe,bt.body),bo&&z&&(E.getNodeCheckFlags(bt)&256?S7(Qe,bV):E.getNodeCheckFlags(bt)&128&&S7(Qe,CV)),ua=Qe}return T=tu,Dn||(M=oa,z=Da),ua}function Ni(bt,jn){return po(bt)?u.updateBlock(bt,kn(bt.statements,Ne,ia,jn)):u.converters.convertToFunctionBlock(H.checkDefined(yt(bt,Ne,HU)))}function ji(bt){const jn=bt&&pj(bt);if(jn&&sm(jn)){const Ln=E.getTypeReferenceSerializationKind(jn);if(Ln===1||Ln===0)return jn}}function xn(){B&1||(B|=1,t.enableSubstitution(213),t.enableSubstitution(211),t.enableSubstitution(212),t.enableEmitNotification(263),t.enableEmitNotification(174),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(176),t.enableEmitNotification(243))}function Jn(bt,jn,Ln){if(B&1&&yr(jn)){const Si=E.getNodeCheckFlags(jn)&384;if(Si!==k){const Dn=k;k=Si,K(bt,jn,Ln),k=Dn;return}}else if(B&&j[$s(jn)]){const Si=k;k=0,K(bt,jn,Ln),k=Si;return}K(bt,jn,Ln)}function an(bt,jn){return jn=Y(bt,jn),bt===1&&k?Pi(jn):jn}function Pi(bt){switch(bt.kind){case 211:return Ai(bt);case 212:return Zu(bt);case 213:return aa(bt)}return bt}function Ai(bt){return bt.expression.kind===108?Pt(u.createPropertyAccessExpression(u.createUniqueName("_super",48),bt.name),bt):bt}function Zu(bt){return bt.expression.kind===108?Ba(bt.argumentExpression,bt):bt}function aa(bt){const jn=bt.expression;if(nf(jn)){const Ln=Iu(jn)?Ai(jn):Zu(jn);return u.createCallExpression(u.createPropertyAccessExpression(Ln,"call"),void 0,[u.createThis(),...bt.arguments])}return bt}function yr(bt){const jn=bt.kind;return jn===263||jn===176||jn===174||jn===177||jn===178}function Ba(bt,jn){return k&256?Pt(u.createPropertyAccessExpression(u.createCallExpression(u.createUniqueName("_superIndex",48),void 0,[bt]),"value"),jn):Pt(u.createCallExpression(u.createUniqueName("_superIndex",48),void 0,[bt]),jn)}}function fQ(t,u,s,d){const f=(u.getNodeCheckFlags(s)&256)!==0,p=[];return d.forEach((E,v)=>{const b=Yr(v),B=[];B.push(t.createPropertyAssignment("get",t.createArrowFunction(void 0,void 0,[],void 0,void 0,Zn(t.createPropertyAccessExpression(Zn(t.createSuper(),8),b),8)))),f&&B.push(t.createPropertyAssignment("set",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,t.createAssignment(Zn(t.createPropertyAccessExpression(Zn(t.createSuper(),8),b),8),t.createIdentifier("v"))))),p.push(t.createPropertyAssignment(b,t.createObjectLiteralExpression(B)))}),t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createUniqueName("_super",48),void 0,void 0,t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"create"),void 0,[t.createNull(),t.createObjectLiteralExpression(p,!0)]))],2))}var wMt=o({"src/compiler/transformers/es2017.ts"(){Bo()}});function c7e(t){const{factory:u,getEmitHelperFactory:s,resumeLexicalEnvironment:d,endLexicalEnvironment:f,hoistVariableDeclaration:p}=t,E=t.getEmitResolver(),v=t.getCompilerOptions(),b=Os(v),B=t.onEmitNode;t.onEmitNode=Ta;const k=t.onSubstituteNode;t.onSubstituteNode=Yo;let T=!1,M,z,j,J=0,K=0,Y,oe,se,ge;const ae=[];return Kp(t,Ne);function Ce(Pe,et){return K!==(K&~Pe|et)}function ne(Pe,et){const gt=K;return K=(K&~Pe|et)&3,gt}function ve(Pe){K=Pe}function Se(Pe){oe=xi(oe,u.createVariableDeclaration(Pe))}function Ne(Pe){if(Pe.isDeclarationFile)return Pe;Y=Pe;const et=Yt(Pe);return iD(et,t.readEmitHelpers()),Y=void 0,oe=void 0,et}function pe(Pe){return Ae(Pe,!1)}function fe(Pe){return Ae(Pe,!0)}function xe(Pe){if(Pe.kind!==134)return Pe}function Be(Pe,et,gt,ii){if(Ce(gt,ii)){const me=ne(gt,ii),ni=Pe(et);return ve(me),ni}return Pe(et)}function Ge(Pe){return rn(Pe,pe,t)}function Ae(Pe,et){if(!(Pe.transformFlags&128))return Pe;switch(Pe.kind){case 223:return De(Pe);case 229:return Ke(Pe);case 253:return Je(Pe);case 256:return ft(Pe);case 210:return Ve(Pe);case 226:return st(Pe,et);case 361:return St(Pe,et);case 299:return It(Pe);case 243:return ei(Pe);case 260:return ht(Pe);case 246:case 247:case 249:return Be(Ge,Pe,0,2);case 250:return xn(Pe,void 0);case 248:return Be(Ni,Pe,0,2);case 222:return ji(Pe);case 176:return Be(Ba,Pe,2,1);case 174:return Be(Ln,Pe,2,1);case 177:return Be(bt,Pe,2,1);case 178:return Be(jn,Pe,2,1);case 262:return Be(Si,Pe,2,1);case 218:return Be(Cn,Pe,2,1);case 219:return Be(Dn,Pe,2,0);case 169:return aa(Pe);case 244:return We(Pe);case 217:return Gt(Pe,et);case 215:return Ie(Pe);case 211:return se&&Iu(Pe)&&Pe.expression.kind===108&&se.add(Pe.name.escapedText),rn(Pe,pe,t);case 212:return se&&Pe.expression.kind===108&&(ge=!0),rn(Pe,pe,t);case 263:case 231:return Be(Ge,Pe,2,1);default:return rn(Pe,pe,t)}}function De(Pe){return z&2&&z&1?su(Pt(u.createYieldExpression(void 0,s().createAwaitHelper(yt(Pe.expression,pe,Wt))),Pe),Pe):rn(Pe,pe,t)}function Ke(Pe){if(z&2&&z&1){if(Pe.asteriskToken){const et=yt(H.checkDefined(Pe.expression),pe,Wt);return su(Pt(u.createYieldExpression(void 0,s().createAwaitHelper(u.updateYieldExpression(Pe,Pe.asteriskToken,Pt(s().createAsyncDelegatorHelper(Pt(s().createAsyncValuesHelper(et),et)),et)))),Pe),Pe)}return su(Pt(u.createYieldExpression(void 0,Pi(Pe.expression?yt(Pe.expression,pe,Wt):u.createVoidZero())),Pe),Pe)}return rn(Pe,pe,t)}function Je(Pe){return z&2&&z&1?u.updateReturnStatement(Pe,Pi(Pe.expression?yt(Pe.expression,pe,Wt):u.createVoidZero())):rn(Pe,pe,t)}function ft(Pe){if(z&2){const et=A0e(Pe);return et.kind===250&&et.awaitModifier?xn(et,Pe):u.restoreEnclosingLabel(yt(et,pe,ia,u.liftToBlock),Pe)}return rn(Pe,pe,t)}function Ye(Pe){let et;const gt=[];for(const ii of Pe)if(ii.kind===305){et&&(gt.push(u.createObjectLiteralExpression(et)),et=void 0);const me=ii.expression;gt.push(yt(me,pe,Wt))}else et=xi(et,ii.kind===303?u.createPropertyAssignment(ii.name,yt(ii.initializer,pe,Wt)):yt(ii,pe,Z3));return et&>.push(u.createObjectLiteralExpression(et)),gt}function Ve(Pe){if(Pe.transformFlags&65536){const et=Ye(Pe.properties);et.length&&et[0].kind!==210&&et.unshift(u.createObjectLiteralExpression());let gt=et[0];if(et.length>1){for(let ii=1;ii=2&&E.getNodeCheckFlags(Pe)&384;if(vi){ua();const Ot=fQ(u,E,Pe,se);ae[$s(Ot)]=!0,ZE(et,[Ot])}et.push(ni),ZE(et,f());const mt=u.updateBlock(Pe.body,et);return vi&&ge&&(E.getNodeCheckFlags(Pe)&256?S7(mt,bV):E.getNodeCheckFlags(Pe)&128&&S7(mt,CV)),se=ii,ge=me,mt}function oa(Pe){d();let et=0;const gt=[],ii=yt(Pe.body,pe,HU)??u.createBlock([]);po(ii)&&(et=u.copyPrologue(ii.statements,gt,!1,pe)),yn(gt,Da(void 0,Pe));const me=f();if(et>0||Oe(gt)||Oe(me)){const ni=u.converters.convertToFunctionBlock(ii,!0);return ZE(gt,me),yn(gt,ni.statements.slice(et)),u.updateBlock(ni,Pt(u.createNodeArray(gt),ni.statements))}return ii}function Da(Pe,et){let gt=!1;for(const ii of et.parameters)if(gt){if(So(ii.name)){if(ii.name.elements.length>0){const me=Q2(ii,pe,t,0,u.getGeneratedNameForNode(ii));if(Oe(me)){const ni=u.createVariableDeclarationList(me),vi=u.createVariableStatement(void 0,ni);Zn(vi,2097152),Pe=xi(Pe,vi)}}else if(ii.initializer){const me=u.getGeneratedNameForNode(ii),ni=yt(ii.initializer,pe,Wt),vi=u.createAssignment(me,ni),mt=u.createExpressionStatement(vi);Zn(mt,2097152),Pe=xi(Pe,mt)}}else if(ii.initializer){const me=u.cloneNode(ii.name);Pt(me,ii.name),Zn(me,96);const ni=yt(ii.initializer,pe,Wt);i_(ni,3168);const vi=u.createAssignment(me,ni);Pt(vi,ii),Zn(vi,3072);const mt=u.createBlock([u.createExpressionStatement(vi)]);Pt(mt,ii),Zn(mt,3905);const Ot=u.createTypeCheck(u.cloneNode(ii.name),"undefined"),Ei=u.createIfStatement(Ot,mt);vh(Ei),Pt(Ei,ii),Zn(Ei,2101056),Pe=xi(Pe,Ei)}}else if(ii.transformFlags&65536){gt=!0;const me=Q2(ii,pe,t,1,u.getGeneratedNameForNode(ii),!1,!0);if(Oe(me)){const ni=u.createVariableDeclarationList(me),vi=u.createVariableStatement(void 0,ni);Zn(vi,2097152),Pe=xi(Pe,vi)}}return Pe}function ua(){M&1||(M|=1,t.enableSubstitution(213),t.enableSubstitution(211),t.enableSubstitution(212),t.enableEmitNotification(263),t.enableEmitNotification(174),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(176),t.enableEmitNotification(243))}function Ta(Pe,et,gt){if(M&1&&qt(et)){const ii=E.getNodeCheckFlags(et)&384;if(ii!==J){const me=J;J=ii,B(Pe,et,gt),J=me;return}}else if(M&&ae[$s(et)]){const ii=J;J=0,B(Pe,et,gt),J=ii;return}B(Pe,et,gt)}function Yo(Pe,et){return et=k(Pe,et),Pe===1&&J?bo(et):et}function bo(Pe){switch(Pe.kind){case 211:return Qe(Pe);case 212:return Et(Pe);case 213:return Mt(Pe)}return Pe}function Qe(Pe){return Pe.expression.kind===108?Pt(u.createPropertyAccessExpression(u.createUniqueName("_super",48),Pe.name),Pe):Pe}function Et(Pe){return Pe.expression.kind===108?Xt(Pe.argumentExpression,Pe):Pe}function Mt(Pe){const et=Pe.expression;if(nf(et)){const gt=Iu(et)?Qe(et):Et(et);return u.createCallExpression(u.createPropertyAccessExpression(gt,"call"),void 0,[u.createThis(),...Pe.arguments])}return Pe}function qt(Pe){const et=Pe.kind;return et===263||et===176||et===174||et===177||et===178}function Xt(Pe,et){return J&256?Pt(u.createPropertyAccessExpression(u.createCallExpression(u.createIdentifier("_superIndex"),void 0,[Pe]),"value"),et):Pt(u.createCallExpression(u.createIdentifier("_superIndex"),void 0,[Pe]),et)}}var TMt=o({"src/compiler/transformers/es2018.ts"(){Bo()}});function d7e(t){const u=t.factory;return Kp(t,s);function s(p){return p.isDeclarationFile?p:rn(p,d,t)}function d(p){if(!(p.transformFlags&64))return p;switch(p.kind){case 299:return f(p);default:return rn(p,d,t)}}function f(p){return p.variableDeclaration?rn(p,d,t):u.updateCatchClause(p,u.createVariableDeclaration(u.createTempVariable(void 0)),yt(p.block,d,po))}}var LMt=o({"src/compiler/transformers/es2019.ts"(){Bo()}});function h7e(t){const{factory:u,hoistVariableDeclaration:s}=t;return Kp(t,d);function d(j){return j.isDeclarationFile?j:rn(j,f,t)}function f(j){if(!(j.transformFlags&32))return j;switch(j.kind){case 213:{const J=b(j,!1);return H.assertNotNode(J,j7),J}case 211:case 212:if(Y1(j)){const J=k(j,!1,!1);return H.assertNotNode(J,j7),J}return rn(j,f,t);case 226:return j.operatorToken.kind===61?M(j):rn(j,f,t);case 220:return z(j);default:return rn(j,f,t)}}function p(j){H.assertNotNode(j,zU);const J=[j];for(;!j.questionDotToken&&!Dk(j);)j=Po(Np(j.expression),Y1),H.assertNotNode(j,zU),J.unshift(j);return{expression:j.expression,chain:J}}function E(j,J,K){const Y=B(j.expression,J,K);return j7(Y)?u.createSyntheticReferenceExpression(u.updateParenthesizedExpression(j,Y.expression),Y.thisArg):u.updateParenthesizedExpression(j,Y)}function v(j,J,K){if(Y1(j))return k(j,J,K);let Y=yt(j.expression,f,Wt);H.assertNotNode(Y,j7);let oe;return J&&(Y2(Y)?oe=Y:(oe=u.createTempVariable(s),Y=u.createAssignment(oe,Y))),Y=j.kind===211?u.updatePropertyAccessExpression(j,Y,yt(j.name,f,at)):u.updateElementAccessExpression(j,Y,yt(j.argumentExpression,f,Wt)),oe?u.createSyntheticReferenceExpression(Y,oe):Y}function b(j,J){if(Y1(j))return k(j,J,!1);if(Cf(j.expression)&&Y1(l0(j.expression))){const K=E(j.expression,!0,!1),Y=kn(j.arguments,f,Wt);return j7(K)?Pt(u.createFunctionCallCall(K.expression,K.thisArg,Y),j):u.updateCallExpression(j,K,void 0,Y)}return rn(j,f,t)}function B(j,J,K){switch(j.kind){case 217:return E(j,J,K);case 211:case 212:return v(j,J,K);case 213:return b(j,J);default:return yt(j,f,Wt)}}function k(j,J,K){const{expression:Y,chain:oe}=p(j),se=B(Np(Y),$y(oe[0]),!1);let ge=j7(se)?se.thisArg:void 0,ae=j7(se)?se.expression:se,Ce=u.restoreOuterExpressions(Y,ae,8);Y2(ae)||(ae=u.createTempVariable(s),Ce=u.createAssignment(ae,Ce));let ne=ae,ve;for(let Ne=0;NeAe&&yn(De,kn(Be.statements,T,ia,Ae,Ke-Ae));break}Ke++}H.assert(KeK(De,Ae))))],Ae,Ge===2)}return rn(Be,T,t)}function oe(Be,Ge,Ae,De,Ke){const Je=[];for(let Ve=Ge;Veu&&(u=d)}return u}function zMt(t){let u=0;for(const s of t){const d=u1e(s.statements);if(d===2)return 2;d>u&&(u=d)}return u}var IMt=o({"src/compiler/transformers/esnext.ts"(){Bo()}});function _7e(t){const{factory:u,getEmitHelperFactory:s}=t,d=t.getCompilerOptions();let f,p;return Kp(t,T);function E(){if(p.filenameDeclaration)return p.filenameDeclaration.name;const Ie=u.createVariableDeclaration(u.createUniqueName("_jsxFileName",48),void 0,void 0,u.createStringLiteral(f.fileName));return p.filenameDeclaration=Ie,p.filenameDeclaration.name}function v(Ie){return d.jsx===5?"jsxDEV":Ie?"jsxs":"jsx"}function b(Ie){const st=v(Ie);return k(st)}function B(){return k("Fragment")}function k(Ie){var st,St;const It=Ie==="createElement"?p.importSpecifier:uZ(p.importSpecifier,d),ei=(St=(st=p.utilizedImplicitRuntimeImports)==null?void 0:st.get(It))==null?void 0:St.get(Ie);if(ei)return ei.name;p.utilizedImplicitRuntimeImports||(p.utilizedImplicitRuntimeImports=new Map);let ht=p.utilizedImplicitRuntimeImports.get(It);ht||(ht=new Map,p.utilizedImplicitRuntimeImports.set(It,ht));const Ut=u.createUniqueName(`_${Ie}`,112),Ni=u.createImportSpecifier(!1,u.createIdentifier(Ie),Ut);return Gke(Ut,Ni),ht.set(Ie,Ni),Ut}function T(Ie){if(Ie.isDeclarationFile)return Ie;f=Ie,p={},p.importSpecifier=nZ(d,Ie);let st=rn(Ie,M,t);iD(st,t.readEmitHelpers());let St=st.statements;if(p.filenameDeclaration&&(St=Xy(St.slice(),u.createVariableStatement(void 0,u.createVariableDeclarationList([p.filenameDeclaration],2)))),p.utilizedImplicitRuntimeImports){for(const[It,ei]of ga(p.utilizedImplicitRuntimeImports.entries()))if(wc(Ie)){const ht=u.createImportDeclaration(void 0,u.createImportClause(!1,void 0,u.createNamedImports(ga(ei.values()))),u.createStringLiteral(It),void 0);Vx(ht,!1),St=Xy(St.slice(),ht)}else if(cm(Ie)){const ht=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(u.createObjectBindingPattern(ga(ei.values(),Ut=>u.createBindingElement(void 0,Ut.propertyName,Ut.name))),void 0,void 0,u.createCallExpression(u.createIdentifier("require"),void 0,[u.createStringLiteral(It)]))],2));Vx(ht,!1),St=Xy(St.slice(),ht)}}return St!==st.statements&&(st=u.updateSourceFile(st,St)),p=void 0,st}function M(Ie){return Ie.transformFlags&2?z(Ie):Ie}function z(Ie){switch(Ie.kind){case 284:return oe(Ie,!1);case 285:return se(Ie,!1);case 288:return ge(Ie,!1);case 294:return Yt(Ie);default:return rn(Ie,M,t)}}function j(Ie){switch(Ie.kind){case 12:return Ke(Ie);case 294:return Yt(Ie);case 284:return oe(Ie,!0);case 285:return se(Ie,!0);case 288:return ge(Ie,!0);default:return H.failBadSyntaxKind(Ie)}}function J(Ie){return Ie.properties.some(st=>Jc(st)&&(at(st.name)&&fu(st.name)==="__proto__"||us(st.name)&&st.name.text==="__proto__"))}function K(Ie){let st=!1;for(const St of Ie.attributes.properties)if(H7(St)&&(!ys(St.expression)||St.expression.properties.some(d5)))st=!0;else if(st&&oE(St)&&at(St.name)&&St.name.escapedText==="key")return!0;return!1}function Y(Ie){return p.importSpecifier===void 0||K(Ie)}function oe(Ie,st){return(Y(Ie.openingElement)?Se:ne)(Ie.openingElement,Ie.children,st,Ie)}function se(Ie,st){return(Y(Ie)?Se:ne)(Ie,void 0,st,Ie)}function ge(Ie,st){return(p.importSpecifier===void 0?pe:Ne)(Ie.openingFragment,Ie.children,st,Ie)}function ae(Ie){const st=Ce(Ie);return st&&u.createObjectLiteralExpression([st])}function Ce(Ie){const st=uB(Ie);if(S(st)===1&&!st[0].dotDotDotToken){const It=j(st[0]);return It&&u.createPropertyAssignment("children",It)}const St=qi(Ie,j);return S(St)?u.createPropertyAssignment("children",u.createArrayLiteralExpression(St)):void 0}function ne(Ie,st,St,It){const ei=We(Ie),ht=st&&st.length?Ce(st):void 0,Ut=Le(Ie.attributes.properties,xn=>!!xn.name&&at(xn.name)&&xn.name.escapedText==="key"),Ni=Ut?ti(Ie.attributes.properties,xn=>xn!==Ut):Ie.attributes.properties,ji=S(Ni)?xe(Ni,ht):u.createObjectLiteralExpression(ht?[ht]:_t);return ve(ei,ji,Ut,st||_t,St,It)}function ve(Ie,st,St,It,ei,ht){var Ut;const Ni=uB(It),ji=S(Ni)>1||!!((Ut=Ni[0])!=null&&Ut.dotDotDotToken),xn=[Ie,st];if(St&&xn.push(De(St.initializer)),d.jsx===5){const an=Wl(f);if(an&&la(an)){St===void 0&&xn.push(u.createVoidZero()),xn.push(ji?u.createTrue():u.createFalse());const Pi=s0(an,ht.pos);xn.push(u.createObjectLiteralExpression([u.createPropertyAssignment("fileName",E()),u.createPropertyAssignment("lineNumber",u.createNumericLiteral(Pi.line+1)),u.createPropertyAssignment("columnNumber",u.createNumericLiteral(Pi.character+1))])),xn.push(u.createThis())}}const Jn=Pt(u.createCallExpression(b(ji),void 0,xn),ht);return ei&&vh(Jn),Jn}function Se(Ie,st,St,It){const ei=We(Ie),ht=Ie.attributes.properties,Ut=S(ht)?xe(ht):u.createNull(),Ni=p.importSpecifier===void 0?Pce(u,t.getEmitResolver().getJsxFactoryEntity(f),d.reactNamespace,Ie):k("createElement"),ji=yFe(u,Ni,ei,Ut,qi(st,j),It);return St&&vh(ji),ji}function Ne(Ie,st,St,It){let ei;if(st&&st.length){const ht=ae(st);ht&&(ei=ht)}return ve(B(),ei||u.createObjectLiteralExpression([]),void 0,st,St,It)}function pe(Ie,st,St,It){const ei=kFe(u,t.getEmitResolver().getJsxFactoryEntity(f),t.getEmitResolver().getJsxFragmentFactoryEntity(f),d.reactNamespace,qi(st,j),Ie,It);return St&&vh(ei),ei}function fe(Ie){return ys(Ie.expression)&&!J(Ie.expression)?Lu(Ie.expression.properties,st=>H.checkDefined(yt(st,M,Z3))):u.createSpreadAssignment(H.checkDefined(yt(Ie.expression,M,Wt)))}function xe(Ie,st){const St=Os(d);return St&&St>=5?u.createObjectLiteralExpression(Be(Ie,st)):Ge(Ie,st)}function Be(Ie,st){const St=Va(Hl(Ie,H7,(It,ei)=>Va(Vt(It,ht=>ei?fe(ht):Ae(ht)))));return st&&St.push(st),St}function Ge(Ie,st){const St=[];let It=[];for(const ht of Ie){if(H7(ht)){if(ys(ht.expression)&&!J(ht.expression)){for(const Ut of ht.expression.properties){if(d5(Ut)){ei(),St.push(H.checkDefined(yt(Ut.expression,M,Wt)));continue}It.push(H.checkDefined(yt(Ut,M)))}continue}ei(),St.push(H.checkDefined(yt(ht.expression,M,Wt)));continue}It.push(Ae(ht))}return st&&It.push(st),ei(),St.length&&!ys(St[0])&&St.unshift(u.createObjectLiteralExpression()),Aa(St)||s().createAssignHelper(St);function ei(){It.length&&(St.push(u.createObjectLiteralExpression(It)),It=[])}}function Ae(Ie){const st=Gt(Ie),St=De(Ie.initializer);return u.createPropertyAssignment(st,St)}function De(Ie){if(Ie===void 0)return u.createTrue();if(Ie.kind===11){const st=Ie.singleQuote!==void 0?Ie.singleQuote:!Cq(Ie,f),St=u.createStringLiteral(Ve(Ie.text)||Ie.text,st);return Pt(St,Ie)}return Ie.kind===294?Ie.expression===void 0?u.createTrue():H.checkDefined(yt(Ie.expression,M,Wt)):r3(Ie)?oe(Ie,!1):bk(Ie)?se(Ie,!1):K2(Ie)?ge(Ie,!1):H.failBadSyntaxKind(Ie)}function Ke(Ie){const st=Je(Ie.text);return st===void 0?void 0:u.createStringLiteral(st)}function Je(Ie){let st,St=0,It=-1;for(let ei=0;ei{if(ht)return F8(parseInt(ht,10));if(Ut)return F8(parseInt(Ut,16));{const ji=Wet.get(Ni);return ji?F8(ji):st}})}function Ve(Ie){const st=Ye(Ie);return st===Ie?void 0:st}function We(Ie){if(Ie.kind===284)return We(Ie.openingElement);{const st=Ie.tagName;return at(st)&&aB(st.escapedText)?u.createStringLiteral(fu(st)):gg(st)?u.createStringLiteral(fu(st.namespace)+":"+fu(st.name)):PV(u,st)}}function Gt(Ie){const st=Ie.name;if(at(st)){const St=fu(st);return/^[A-Za-z_]\w*$/.test(St)?st:u.createStringLiteral(St)}return u.createStringLiteral(fu(st.namespace)+":"+fu(st.name))}function Yt(Ie){const st=yt(Ie.expression,M,Wt);return Ie.dotDotDotToken?u.createSpreadElement(st):st}}var Wet,RMt=o({"src/compiler/transformers/jsx.ts"(){Bo(),Wet=new Map(Object.entries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}))}});function D7e(t){const{factory:u,hoistVariableDeclaration:s}=t;return Kp(t,d);function d(b){return b.isDeclarationFile?b:rn(b,f,t)}function f(b){if(!(b.transformFlags&512))return b;switch(b.kind){case 226:return p(b);default:return rn(b,f,t)}}function p(b){switch(b.operatorToken.kind){case 68:return E(b);case 43:return v(b);default:return rn(b,f,t)}}function E(b){let B,k;const T=yt(b.left,f,Wt),M=yt(b.right,f,Wt);if(U0(T)){const z=u.createTempVariable(s),j=u.createTempVariable(s);B=Pt(u.createElementAccessExpression(Pt(u.createAssignment(z,T.expression),T.expression),Pt(u.createAssignment(j,T.argumentExpression),T.argumentExpression)),T),k=Pt(u.createElementAccessExpression(z,j),T)}else if(Iu(T)){const z=u.createTempVariable(s);B=Pt(u.createPropertyAccessExpression(Pt(u.createAssignment(z,T.expression),T.expression),T.name),T),k=Pt(u.createPropertyAccessExpression(z,T.name),T)}else B=T,k=T;return Pt(u.createAssignment(B,Pt(u.createGlobalMethodCall("Math","pow",[k,M]),b)),b)}function v(b){const B=yt(b.left,f,Wt),k=yt(b.right,f,Wt);return Pt(u.createGlobalMethodCall("Math","pow",[B,k]),b)}}var OMt=o({"src/compiler/transformers/es2016.ts"(){Bo()}});function Get(t,u){return{kind:t,expression:u}}function x7e(t){const{factory:u,getEmitHelperFactory:s,startLexicalEnvironment:d,resumeLexicalEnvironment:f,endLexicalEnvironment:p,hoistVariableDeclaration:E}=t,v=t.getCompilerOptions(),b=t.getEmitResolver(),B=t.onSubstituteNode,k=t.onEmitNode;t.onEmitNode=ip,t.onSubstituteNode=f4;let T,M,z,j;function J(Ee){j=xi(j,u.createVariableDeclaration(Ee))}let K,Y;return Kp(t,oe);function oe(Ee){if(Ee.isDeclarationFile)return Ee;T=Ee,M=Ee.text;const Bt=xe(Ee);return iD(Bt,t.readEmitHelpers()),T=void 0,M=void 0,j=void 0,z=0,Bt}function se(Ee,Bt){const Di=z;return z=(z&~Ee|Bt)&32767,Di}function ge(Ee,Bt,Di){z=(z&~Bt|Di)&-32768|Ee}function ae(Ee){return(z&8192)!==0&&Ee.kind===253&&!Ee.expression}function Ce(Ee){return Ee.transformFlags&4194304&&(Op(Ee)||xk(Ee)||cFe(Ee)||BV(Ee)||ZP(Ee)||BB(Ee)||TV(Ee)||Ck(Ee)||G2(Ee)||V2(Ee)||Tx(Ee,!1)||po(Ee))}function ne(Ee){return(Ee.transformFlags&1024)!==0||K!==void 0||z&8192&&Ce(Ee)||Tx(Ee,!1)&&co(Ee)||(Pp(Ee)&1)!==0}function ve(Ee){return ne(Ee)?fe(Ee,!1):Ee}function Se(Ee){return ne(Ee)?fe(Ee,!0):Ee}function Ne(Ee){if(ne(Ee)){const Bt=Wl(Ee);if(ko(Bt)&&Kc(Bt)){const Di=se(32670,16449),Ci=fe(Ee,!1);return ge(Di,229376,0),Ci}return fe(Ee,!1)}return Ee}function pe(Ee){return Ee.kind===108?ql(Ee,!0):ve(Ee)}function fe(Ee,Bt){switch(Ee.kind){case 126:return;case 263:return We(Ee);case 231:return Gt(Ee);case 169:return bo(Ee);case 262:return Qi(Ee);case 219:return Ei(Ee);case 218:return $i(Ee);case 260:return Sn(Ee);case 80:return Ye(Ee);case 261:return ct(Ee);case 255:return Be(Ee);case 269:return Ge(Ee);case 241:return te(Ee,!1);case 252:case 251:return Ve(Ee);case 256:return pr(Ee);case 246:case 247:return Ku(Ee,void 0);case 248:return ja(Ee,void 0);case 249:return Ir(Ee,void 0);case 250:return as(Ee,void 0);case 244:return we(Ee);case 210:return c0(Ee);case 299:return Nr(Ee);case 304:return nd(Ee);case 167:return S0(Ee);case 209:return m0(Ee);case 213:return Bd(Ee);case 214:return h4(Ee);case 217:return de(Ee,Bt);case 226:return je(Ee,Bt);case 361:return X(Ee,Bt);case 15:case 16:case 17:case 18:return To(Ee);case 11:return nc(Ee);case 9:return fc(Ee);case 215:return Cl(Ee);case 228:return Tl(Ee);case 229:return ud(Ee);case 230:return Fo(Ee);case 108:return ql(Ee,!1);case 110:return Je(Ee);case 236:return Nc(Ee);case 174:return Ss(Ee);case 177:case 178:return ic(Ee);case 243:return Ct(Ee);case 253:return Ke(Ee);case 222:return ft(Ee);default:return rn(Ee,ve,t)}}function xe(Ee){const Bt=se(8064,64),Di=[],Ci=[];d();const Q=u.copyPrologue(Ee.statements,Di,!1,ve);return yn(Ci,kn(Ee.statements,ve,ia,Q)),j&&Ci.push(u.createVariableStatement(void 0,u.createVariableDeclarationList(j))),u.mergeLexicalEnvironment(Di,p()),et(Di,Ee),ge(Bt,0,0),u.updateSourceFile(Ee,Pt(u.createNodeArray(Hi(Di,Ci)),Ee.statements))}function Be(Ee){if(K!==void 0){const Bt=K.allowedNonLabeledJumps;K.allowedNonLabeledJumps|=2;const Di=rn(Ee,ve,t);return K.allowedNonLabeledJumps=Bt,Di}return rn(Ee,ve,t)}function Ge(Ee){const Bt=se(7104,0),Di=rn(Ee,ve,t);return ge(Bt,0,0),Di}function Ae(Ee){return su(u.createReturnStatement(De()),Ee)}function De(){return u.createUniqueName("_this",48)}function Ke(Ee){return K?(K.nonLocalJumps|=8,ae(Ee)&&(Ee=Ae(Ee)),u.createReturnStatement(u.createObjectLiteralExpression([u.createPropertyAssignment(u.createIdentifier("value"),Ee.expression?H.checkDefined(yt(Ee.expression,ve,Wt)):u.createVoidZero())]))):ae(Ee)?Ae(Ee):rn(Ee,ve,t)}function Je(Ee){return z|=65536,z&2&&!(z&16384)&&(z|=131072),K?z&2?(K.containsLexicalThis=!0,Ee):K.thisName||(K.thisName=u.createUniqueName("this")):Ee}function ft(Ee){return rn(Ee,Se,t)}function Ye(Ee){return K&&b.isArgumentsLocalBinding(Ee)?K.argumentsName||(K.argumentsName=u.createUniqueName("arguments")):Ee.flags&256?su(Pt(u.createIdentifier(Yr(Ee.escapedText)),Ee),Ee):Ee}function Ve(Ee){if(K){const Bt=Ee.kind===252?2:4;if(!(Ee.label&&K.labels&&K.labels.get(fu(Ee.label))||!Ee.label&&K.allowedNonLabeledJumps&Bt)){let Ci;const Q=Ee.label;Q?Ee.kind===252?(Ci=`break-${Q.escapedText}`,tt(K,!0,fu(Q),Ci)):(Ci=`continue-${Q.escapedText}`,tt(K,!1,fu(Q),Ci)):Ee.kind===252?(K.nonLocalJumps|=2,Ci="break"):(K.nonLocalJumps|=4,Ci="continue");let Me=u.createStringLiteral(Ci);if(K.loopOutParameters.length){const wt=K.loopOutParameters;let ki;for(let In=0;Inat(Bt.name)&&!Bt.initializer)}function Ut(Ee){if(ik(Ee))return!0;if(!(Ee.transformFlags&134217728))return!1;switch(Ee.kind){case 219:case 218:case 262:case 176:case 175:return!1;case 177:case 178:case 174:case 172:{const Bt=Ee;return Ps(Bt.name)?!!ao(Bt.name,Ut):!1}}return!!ao(Ee,Ut)}function Ni(Ee,Bt,Di,Ci){const Q=!!Di&&Dc(Di.expression).kind!==106;if(!Ee)return ei(Bt,Q);const Me=[],wt=[];f();const ki=u.copyStandardPrologue(Ee.body.statements,Me,0);(Ci||Ut(Ee.body))&&(z|=8192),yn(wt,kn(Ee.body.statements,ve,ia,ki));const In=Q||z&8192;Et(Me,Ee),Pe(Me,Ee,Ci),ii(Me,Ee),In?gt(Me,Ee,Ta()):et(Me,Ee),u.mergeLexicalEnvironment(Me,p()),In&&!ua(Ee.body)&&wt.push(u.createReturnStatement(De()));const tr=u.createBlock(Pt(u.createNodeArray([...Me,...wt]),Ee.body.statements),!0);return Pt(tr,Ee.body),Da(tr,Ee.body,Ci)}function ji(Ee){return al(Ee)&&fu(Ee)==="_this"}function xn(Ee){return al(Ee)&&fu(Ee)==="_super"}function Jn(Ee){return Jl(Ee)&&Ee.declarationList.declarations.length===1&&an(Ee.declarationList.declarations[0])}function an(Ee){return na(Ee)&&ji(Ee.name)&&!!Ee.initializer}function Pi(Ee){return ld(Ee,!0)&&ji(Ee.left)}function Ai(Ee){return Mo(Ee)&&Iu(Ee.expression)&&xn(Ee.expression.expression)&&at(Ee.expression.name)&&(fu(Ee.expression.name)==="call"||fu(Ee.expression.name)==="apply")&&Ee.arguments.length>=1&&Ee.arguments[0].kind===110}function Zu(Ee){return Xn(Ee)&&Ee.operatorToken.kind===57&&Ee.right.kind===110&&Ai(Ee.left)}function aa(Ee){return Xn(Ee)&&Ee.operatorToken.kind===56&&Xn(Ee.left)&&Ee.left.operatorToken.kind===38&&xn(Ee.left.left)&&Ee.left.right.kind===106&&Ai(Ee.right)&&fu(Ee.right.expression.name)==="apply"}function yr(Ee){return Xn(Ee)&&Ee.operatorToken.kind===57&&Ee.right.kind===110&&aa(Ee.left)}function Ba(Ee){return Pi(Ee)&&Zu(Ee.right)}function bt(Ee){return Pi(Ee)&&yr(Ee.right)}function jn(Ee){return Ai(Ee)||Zu(Ee)||Ba(Ee)||aa(Ee)||yr(Ee)||bt(Ee)}function Ln(Ee){for(let Bt=0;Bt0;Ci--){const Q=Ee.statements[Ci];if(Op(Q)&&Q.expression&&ji(Q.expression)){const Me=Ee.statements[Ci-1];let wt;if(Od(Me)&&Ba(Dc(Me.expression)))wt=Me.expression;else if(Di&&Jn(Me)){const tr=Me.declarationList.declarations[0];jn(Dc(tr.initializer))&&(wt=u.createAssignment(De(),tr.initializer))}if(!wt)break;const ki=u.createReturnStatement(wt);su(ki,Me),Pt(ki,Me);const In=u.createNodeArray([...Ee.statements.slice(0,Ci-1),ki,...Ee.statements.slice(Ci+1)]);return Pt(In,Ee.statements),u.updateBlock(Ee,In)}}return Ee}function Dn(Ee){if(Jn(Ee)){if(Ee.declarationList.declarations[0].initializer.kind===110)return}else if(Pi(Ee))return u.createPartiallyEmittedExpression(Ee.right,Ee);switch(Ee.kind){case 219:case 218:case 262:case 176:case 175:return Ee;case 177:case 178:case 174:case 172:{const Bt=Ee;return Ps(Bt.name)?u.replacePropertyName(Bt,rn(Bt.name,Dn,Dg)):Ee}}return rn(Ee,Dn,Dg)}function Cn(Ee,Bt){if(Bt.transformFlags&16384||z&65536||z&131072)return Ee;for(const Di of Bt.statements)if(Di.transformFlags&134217728&&!oQ(Di))return Ee;return u.updateBlock(Ee,kn(Ee.statements,Dn,ia))}function tu(Ee){if(Ai(Ee)&&Ee.arguments.length===2&&at(Ee.arguments[1])&&fu(Ee.arguments[1])==="arguments")return u.createLogicalAnd(u.createStrictInequality(bc(),u.createNull()),Ee);switch(Ee.kind){case 219:case 218:case 262:case 176:case 175:return Ee;case 177:case 178:case 174:case 172:{const Bt=Ee;return Ps(Bt.name)?u.replacePropertyName(Bt,rn(Bt.name,tu,Dg)):Ee}}return rn(Ee,tu,Dg)}function oa(Ee){return u.updateBlock(Ee,kn(Ee.statements,tu,ia))}function Da(Ee,Bt,Di){const Ci=Ee;return Ee=Ln(Ee),Ee=Si(Ee,Bt),Ee!==Ci&&(Ee=Cn(Ee,Bt)),Di&&(Ee=oa(Ee)),Ee}function ua(Ee){if(Ee.kind===253)return!0;if(Ee.kind===245){const Bt=Ee;if(Bt.elseStatement)return ua(Bt.thenStatement)&&ua(Bt.elseStatement)}else if(Ee.kind===241){const Bt=qu(Ee.statements);if(Bt&&ua(Bt))return!0}return!1}function Ta(){return Zn(u.createThis(),8)}function Yo(){return u.createLogicalOr(u.createLogicalAnd(u.createStrictInequality(bc(),u.createNull()),u.createFunctionApplyCall(bc(),Ta(),u.createIdentifier("arguments"))),Ta())}function bo(Ee){if(!Ee.dotDotDotToken)return So(Ee.name)?su(Pt(u.createParameterDeclaration(void 0,void 0,u.getGeneratedNameForNode(Ee),void 0,void 0,void 0),Ee),Ee):Ee.initializer?su(Pt(u.createParameterDeclaration(void 0,void 0,Ee.name,void 0,void 0,void 0),Ee),Ee):Ee}function Qe(Ee){return Ee.initializer!==void 0||So(Ee.name)}function Et(Ee,Bt){if(!Oe(Bt.parameters,Qe))return!1;let Di=!1;for(const Ci of Bt.parameters){const{name:Q,initializer:Me,dotDotDotToken:wt}=Ci;wt||(So(Q)?Di=Mt(Ee,Ci,Q,Me)||Di:Me&&(qt(Ee,Ci,Q,Me),Di=!0))}return Di}function Mt(Ee,Bt,Di,Ci){return Di.elements.length>0?(Xy(Ee,Zn(u.createVariableStatement(void 0,u.createVariableDeclarationList(Q2(Bt,ve,t,0,u.getGeneratedNameForNode(Bt)))),2097152)),!0):Ci?(Xy(Ee,Zn(u.createExpressionStatement(u.createAssignment(u.getGeneratedNameForNode(Bt),H.checkDefined(yt(Ci,ve,Wt)))),2097152)),!0):!1}function qt(Ee,Bt,Di,Ci){Ci=H.checkDefined(yt(Ci,ve,Wt));const Q=u.createIfStatement(u.createTypeCheck(u.cloneNode(Di),"undefined"),Zn(Pt(u.createBlock([u.createExpressionStatement(Zn(Pt(u.createAssignment(Zn(ks(Pt(u.cloneNode(Di),Di),Di.parent),96),Zn(Ci,96|bs(Ci)|3072)),Bt),3072))]),Bt),3905));vh(Q),Pt(Q,Bt),Zn(Q,2101056),Xy(Ee,Q)}function Xt(Ee,Bt){return!!(Ee&&Ee.dotDotDotToken&&!Bt)}function Pe(Ee,Bt,Di){const Ci=[],Q=qu(Bt.parameters);if(!Xt(Q,Di))return!1;const Me=Q.name.kind===80?ks(Pt(u.cloneNode(Q.name),Q.name),Q.name.parent):u.createTempVariable(void 0);Zn(Me,96);const wt=Q.name.kind===80?u.cloneNode(Q.name):Me,ki=Bt.parameters.length-1,In=u.createLoopVariable();Ci.push(Zn(Pt(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(Me,void 0,void 0,u.createArrayLiteralExpression([]))])),Q),2097152));const tr=u.createForStatement(Pt(u.createVariableDeclarationList([u.createVariableDeclaration(In,void 0,void 0,u.createNumericLiteral(ki))]),Q),Pt(u.createLessThan(In,u.createPropertyAccessExpression(u.createIdentifier("arguments"),"length")),Q),Pt(u.createPostfixIncrement(In),Q),u.createBlock([vh(Pt(u.createExpressionStatement(u.createAssignment(u.createElementAccessExpression(wt,ki===0?In:u.createSubtract(In,u.createNumericLiteral(ki))),u.createElementAccessExpression(u.createIdentifier("arguments"),In))),Q))]));return Zn(tr,2097152),vh(tr),Ci.push(tr),Q.name.kind!==80&&Ci.push(Zn(Pt(u.createVariableStatement(void 0,u.createVariableDeclarationList(Q2(Q,ve,t,0,wt))),Q),2097152)),l0e(Ee,Ci),!0}function et(Ee,Bt){return z&131072&&Bt.kind!==219?(gt(Ee,Bt,u.createThis()),!0):!1}function gt(Ee,Bt,Di){jh();const Ci=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(De(),void 0,void 0,Di)]));Zn(Ci,2100224),As(Ci,Bt),Xy(Ee,Ci)}function ii(Ee,Bt){if(z&32768){let Di;switch(Bt.kind){case 219:return Ee;case 174:case 177:case 178:Di=u.createVoidZero();break;case 176:Di=u.createPropertyAccessExpression(Zn(u.createThis(),8),"constructor");break;case 262:case 218:Di=u.createConditionalExpression(u.createLogicalAnd(Zn(u.createThis(),8),u.createBinaryExpression(Zn(u.createThis(),8),104,u.getLocalName(Bt))),void 0,u.createPropertyAccessExpression(Zn(u.createThis(),8),"constructor"),void 0,u.createVoidZero());break;default:return H.failBadSyntaxKind(Bt)}const Ci=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(u.createUniqueName("_newTarget",48),void 0,void 0,Di)]));Zn(Ci,2100224),Xy(Ee,Ci)}return Ee}function me(Ee,Bt){for(const Di of Bt.members)switch(Di.kind){case 240:Ee.push(ni(Di));break;case 174:Ee.push(vi(m4(Bt,Di),Di,Bt));break;case 177:case 178:const Ci=dk(Bt.members,Di);Di===Ci.firstAccessor&&Ee.push(mt(m4(Bt,Di),Ci,Bt));break;case 176:case 175:break;default:H.failBadSyntaxKind(Di,T&&T.fileName);break}}function ni(Ee){return Pt(u.createEmptyStatement(),Ee)}function vi(Ee,Bt,Di){const Ci=nE(Bt),Q=Lv(Bt),Me=on(Bt,Bt,void 0,Di),wt=yt(Bt.name,ve,Sc);H.assert(wt);let ki;if(!Xr(wt)&&eV(t.getCompilerOptions())){const tr=Ps(wt)?wt.expression:at(wt)?u.createStringLiteral(Yr(wt.escapedText)):wt;ki=u.createObjectDefinePropertyCall(Ee,tr,u.createPropertyDescriptor({value:Me,enumerable:!1,writable:!0,configurable:!0}))}else{const tr=Fk(u,Ee,wt,Bt.name);ki=u.createAssignment(tr,Me)}Zn(Me,3072),As(Me,Q);const In=Pt(u.createExpressionStatement(ki),Bt);return su(In,Bt),Bc(In,Ci),Zn(In,96),In}function mt(Ee,Bt,Di){const Ci=u.createExpressionStatement(Ot(Ee,Bt,Di,!1));return Zn(Ci,3072),As(Ci,Lv(Bt.firstAccessor)),Ci}function Ot(Ee,{firstAccessor:Bt,getAccessor:Di,setAccessor:Ci},Q,Me){const wt=ks(Pt(u.cloneNode(Ee),Ee),Ee.parent);Zn(wt,3136),As(wt,Bt.name);const ki=yt(Bt.name,ve,Sc);if(H.assert(ki),Xr(ki))return H.failBadSyntaxKind(ki,"Encountered unhandled private identifier while transforming ES2015.");const In=zce(u,ki);Zn(In,3104),As(In,Bt.name);const tr=[];if(Di){const ha=on(Di,void 0,void 0,Q);As(ha,Lv(Di)),Zn(ha,1024);const os=u.createPropertyAssignment("get",ha);Bc(os,nE(Di)),tr.push(os)}if(Ci){const ha=on(Ci,void 0,void 0,Q);As(ha,Lv(Ci)),Zn(ha,1024);const os=u.createPropertyAssignment("set",ha);Bc(os,nE(Ci)),tr.push(os)}tr.push(u.createPropertyAssignment("enumerable",Di||Ci?u.createFalse():u.createTrue()),u.createPropertyAssignment("configurable",u.createTrue()));const ir=u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("Object"),"defineProperty"),void 0,[wt,In,u.createObjectLiteralExpression(tr,!0)]);return Me&&vh(ir),ir}function Ei(Ee){Ee.transformFlags&16384&&!(z&16384)&&(z|=131072);const Bt=K;K=void 0;const Di=se(15232,66),Ci=u.createFunctionExpression(void 0,void 0,void 0,void 0,xc(Ee.parameters,ve,t),void 0,le(Ee));return Pt(Ci,Ee),su(Ci,Ee),Zn(Ci,16),ge(Di,0,0),K=Bt,Ci}function $i(Ee){const Bt=bs(Ee)&524288?se(32662,69):se(32670,65),Di=K;K=void 0;const Ci=xc(Ee.parameters,ve,t),Q=le(Ee),Me=z&32768?u.getLocalName(Ee):Ee.name;return ge(Bt,229376,0),K=Di,u.updateFunctionExpression(Ee,void 0,Ee.asteriskToken,Me,void 0,Ci,void 0,Q)}function Qi(Ee){const Bt=K;K=void 0;const Di=se(32670,65),Ci=xc(Ee.parameters,ve,t),Q=le(Ee),Me=z&32768?u.getLocalName(Ee):Ee.name;return ge(Di,229376,0),K=Bt,u.updateFunctionDeclaration(Ee,kn(Ee.modifiers,ve,Qo),Ee.asteriskToken,Me,void 0,Ci,void 0,Q)}function on(Ee,Bt,Di,Ci){const Q=K;K=void 0;const Me=Ci&&mr(Ci)&&!No(Ee)?se(32670,73):se(32670,65),wt=xc(Ee.parameters,ve,t),ki=le(Ee);return z&32768&&!Di&&(Ee.kind===262||Ee.kind===218)&&(Di=u.getGeneratedNameForNode(Ee)),ge(Me,229376,0),K=Q,su(Pt(u.createFunctionExpression(void 0,Ee.asteriskToken,Di,void 0,wt,void 0,ki),Bt),Ee)}function le(Ee){let Bt=!1,Di=!1,Ci,Q;const Me=[],wt=[],ki=Ee.body;let In;if(f(),po(ki)&&(In=u.copyStandardPrologue(ki.statements,Me,0,!1),In=u.copyCustomPrologue(ki.statements,wt,In,ve,aq),In=u.copyCustomPrologue(ki.statements,wt,In,ve,oq)),Bt=Et(wt,Ee)||Bt,Bt=Pe(wt,Ee,!1)||Bt,po(ki))In=u.copyCustomPrologue(ki.statements,wt,In,ve),Ci=ki.statements,yn(wt,kn(ki.statements,ve,ia,In)),!Bt&&ki.multiLine&&(Bt=!0);else{H.assert(Ee.kind===219),Ci=Wq(ki,-1);const ir=Ee.equalsGreaterThanToken;!sl(ir)&&!sl(ki)&&(qj(ir,ki,T)?Di=!0:Bt=!0);const ha=yt(ki,ve,Wt),os=u.createReturnStatement(ha);Pt(os,ki),Oke(os,ki),Zn(os,2880),wt.push(os),Q=ki}if(u.mergeLexicalEnvironment(Me,p()),ii(Me,Ee),et(Me,Ee),Oe(Me)&&(Bt=!0),wt.unshift(...Me),po(ki)&&On(wt,ki.statements))return ki;const tr=u.createBlock(Pt(u.createNodeArray(wt),Ci),Bt);return Pt(tr,Ee.body),!Bt&&Di&&Zn(tr,1),Q&&Rke(tr,20,Q),su(tr,Ee.body),tr}function te(Ee,Bt){if(Bt)return rn(Ee,ve,t);const Di=z&256?se(7104,512):se(6976,128),Ci=rn(Ee,ve,t);return ge(Di,0,0),Ci}function we(Ee){return rn(Ee,Se,t)}function de(Ee,Bt){return rn(Ee,Bt?Se:ve,t)}function je(Ee,Bt){return r5(Ee)?wk(Ee,ve,t,0,!Bt):Ee.operatorToken.kind===28?u.updateBinaryExpression(Ee,H.checkDefined(yt(Ee.left,Se,Wt)),Ee.operatorToken,H.checkDefined(yt(Ee.right,Bt?Se:ve,Wt))):rn(Ee,ve,t)}function X(Ee,Bt){if(Bt)return rn(Ee,Se,t);let Di;for(let Q=0;QIn.name)),ki=Ci?u.createYieldExpression(u.createToken(42),Zn(wt,8388608)):wt;if(Me)Q.push(u.createExpressionStatement(ki)),Q0(Bt.loopOutParameters,1,0,Q);else{const In=u.createUniqueName("state"),tr=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(In,void 0,void 0,ki)]));if(Q.push(tr),Q0(Bt.loopOutParameters,1,0,Q),Bt.nonLocalJumps&8){let ir;Di?(Di.nonLocalJumps|=8,ir=u.createReturnStatement(In)):ir=u.createReturnStatement(u.createPropertyAccessExpression(In,"value")),Q.push(u.createIfStatement(u.createTypeCheck(In,"object"),ir))}if(Bt.nonLocalJumps&2&&Q.push(u.createIfStatement(u.createStrictEquality(In,u.createStringLiteral("break")),u.createBreakStatement())),Bt.labeledNonLocalBreaks||Bt.labeledNonLocalContinues){const ir=[];vt(Bt.labeledNonLocalBreaks,!0,In,Di,ir),vt(Bt.labeledNonLocalContinues,!1,In,Di,ir),Q.push(u.createSwitchStatement(In,u.createCaseBlock(ir)))}}return Q}function tt(Ee,Bt,Di,Ci){Bt?(Ee.labeledNonLocalBreaks||(Ee.labeledNonLocalBreaks=new Map),Ee.labeledNonLocalBreaks.set(Di,Ci)):(Ee.labeledNonLocalContinues||(Ee.labeledNonLocalContinues=new Map),Ee.labeledNonLocalContinues.set(Di,Ci))}function vt(Ee,Bt,Di,Ci,Q){Ee&&Ee.forEach((Me,wt)=>{const ki=[];if(!Ci||Ci.labels&&Ci.labels.get(wt)){const In=u.createIdentifier(wt);ki.push(Bt?u.createBreakStatement(In):u.createContinueStatement(In))}else tt(Ci,Bt,wt,Me),ki.push(u.createReturnStatement(Di));Q.push(u.createCaseClause(u.createStringLiteral(Me),ki))})}function mi(Ee,Bt,Di,Ci,Q){const Me=Bt.name;if(So(Me))for(const wt of Me.elements)Fd(wt)||mi(Ee,wt,Di,Ci,Q);else{Di.push(u.createParameterDeclaration(void 0,void 0,Me));const wt=b.getNodeCheckFlags(Bt);if(wt&65536||Q){const ki=u.createUniqueName("out_"+fu(Me));let In=0;wt&65536&&(In|=1),vk(Ee)&&(Ee.initializer&&b.isBindingCapturedByNode(Ee.initializer,Bt)&&(In|=2),(Ee.condition&&b.isBindingCapturedByNode(Ee.condition,Bt)||Ee.incrementor&&b.isBindingCapturedByNode(Ee.incrementor,Bt))&&(In|=1)),Ci.push({flags:In,originalName:Me,outParamName:ki})}}}function fn(Ee,Bt,Di,Ci){const Q=Bt.properties,Me=Q.length;for(let wt=Ci;wtJl(_s)&&!!Pn(_s.declarationList.declarations).initializer,Ci=K;K=void 0;const Q=kn(Bt.statements,Ne,ia);K=Ci;const Me=ti(Q,Di),wt=ti(Q,_s=>!Di(_s)),In=Po(Pn(Me),Jl).declarationList.declarations[0],tr=Dc(In.initializer);let ir=ur(tr,ld);!ir&&Xn(tr)&&tr.operatorToken.kind===28&&(ir=ur(tr.left,ld));const ha=Po(ir?Dc(ir.right):tr,Mo),os=Po(Dc(ha.expression),A0),ss=os.body.statements;let Rl=0,x1=-1;const fd=[];if(ir){const _s=ur(ss[Rl],Od);_s&&(fd.push(_s),Rl++),fd.push(ss[Rl]),Rl++,fd.push(u.createExpressionStatement(u.createAssignment(ir.left,Po(In.name,at))))}for(;!Op(qD(ss,x1));)x1--;yn(fd,ss,Rl,x1),x1<-1&&yn(fd,ss,x1+1);const $m=ur(qD(ss,x1),Op);for(const _s of wt)Op(_s)&&($m!=null&&$m.expression)&&!at($m.expression)?fd.push($m):fd.push(_s);return yn(fd,Me,1),u.restoreOuterExpressions(Ee.expression,u.restoreOuterExpressions(In.initializer,u.restoreOuterExpressions(ir&&ir.right,u.updateCallExpression(ha,u.restoreOuterExpressions(ha.expression,u.updateFunctionExpression(os,void 0,void 0,void 0,void 0,os.parameters,void 0,u.updateBlock(os.body,fd))),void 0,ha.arguments))))}function uh(Ee,Bt){if(Ee.transformFlags&32768||Ee.expression.kind===108||nf(Dc(Ee.expression))){const{target:Di,thisArg:Ci}=u.createCallBinding(Ee.expression,E);Ee.expression.kind===108&&Zn(Ci,8);let Q;if(Ee.transformFlags&32768?Q=u.createFunctionApplyCall(H.checkDefined(yt(Di,pe,Wt)),Ee.expression.kind===108?Ci:H.checkDefined(yt(Ci,ve,Wt)),D1(Ee.arguments,!0,!1,!1)):Q=Pt(u.createFunctionCallCall(H.checkDefined(yt(Di,pe,Wt)),Ee.expression.kind===108?Ci:H.checkDefined(yt(Ci,ve,Wt)),kn(Ee.arguments,ve,Wt)),Ee),Ee.expression.kind===108){const Me=u.createLogicalOr(Q,Ta());Q=Bt?u.createAssignment(De(),Me):Me}return su(Q,Ee)}return ik(Ee)&&(z|=131072),rn(Ee,ve,t)}function h4(Ee){if(Oe(Ee.arguments,uE)){const{target:Bt,thisArg:Di}=u.createCallBinding(u.createPropertyAccessExpression(Ee.expression,"bind"),E);return u.createNewExpression(u.createFunctionApplyCall(H.checkDefined(yt(Bt,ve,Wt)),Di,D1(u.createNodeArray([u.createVoidZero(),...Ee.arguments]),!0,!1,!1)),void 0,[])}return rn(Ee,ve,t)}function D1(Ee,Bt,Di,Ci){const Q=Ee.length,Me=Va(Hl(Ee,He,(tr,ir,ha,os)=>ir(tr,Di,Ci&&os===Q)));if(Me.length===1){const tr=Me[0];if(Bt&&!v.downlevelIteration||Ple(tr.expression)||jP(tr.expression,"___spreadArray"))return tr.expression}const wt=s(),ki=Me[0].kind!==0;let In=ki?u.createArrayLiteralExpression():Me[0].expression;for(let tr=ki?0:1;tr0&&Ci.push(u.createStringLiteral(Di.literal.text)),Bt=u.createCallExpression(u.createPropertyAccessExpression(Bt,"concat"),void 0,Ci)}return Pt(Bt,Ee)}function bc(){return u.createUniqueName("_super",48)}function ql(Ee,Bt){const Di=z&8&&!Bt?u.createPropertyAccessExpression(su(bc(),Ee),"prototype"):bc();return su(Di,Ee),Bc(Di,Ee),As(Di,Ee),Di}function Nc(Ee){return Ee.keywordToken===105&&Ee.name.escapedText==="target"?(z|=32768,u.createUniqueName("_newTarget",48)):Ee}function ip(Ee,Bt,Di){if(Y&1&&Co(Bt)){const Ci=se(32670,bs(Bt)&16?81:65);k(Ee,Bt,Di),ge(Ci,0,0);return}k(Ee,Bt,Di)}function Jm(){Y&2||(Y|=2,t.enableSubstitution(80))}function jh(){Y&1||(Y|=1,t.enableSubstitution(110),t.enableEmitNotification(176),t.enableEmitNotification(174),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(219),t.enableEmitNotification(218),t.enableEmitNotification(262))}function f4(Ee,Bt){return Bt=B(Ee,Bt),Ee===1?C5(Bt):at(Bt)?c3(Bt):Bt}function c3(Ee){if(Y&2&&!Ice(Ee)){const Bt=Ua(Ee,at);if(Bt&&c_(Bt))return Pt(u.getGeneratedNameForNode(Bt),Ee)}return Ee}function c_(Ee){switch(Ee.parent.kind){case 208:case 263:case 266:case 260:return Ee.parent.name===Ee&&b.isDeclarationWithCollidingName(Ee.parent)}return!1}function C5(Ee){switch(Ee.kind){case 80:return R1(Ee);case 110:return Wf(Ee)}return Ee}function R1(Ee){if(Y&2&&!Ice(Ee)){const Bt=b.getReferencedDeclarationWithCollidingName(Ee);if(Bt&&!(mr(Bt)&&d3(Bt,Ee)))return Pt(u.getGeneratedNameForNode(Za(Bt)),Ee)}return Ee}function d3(Ee,Bt){let Di=Ua(Bt);if(!Di||Di===Ee||Di.end<=Ee.pos||Di.pos>=Ee.end)return!1;const Ci=YE(Ee);for(;Di;){if(Di===Ci||Di===Ee)return!1;if(Zd(Di)&&Di.parent===Ee)return!0;Di=Di.parent}return!1}function Wf(Ee){return Y&1&&z&16?Pt(De(),Ee):Ee}function m4(Ee,Bt){return No(Bt)?u.getInternalName(Ee):u.createPropertyAccessExpression(u.getInternalName(Ee),"prototype")}function Vh(Ee,Bt){if(!Ee||!Bt||Oe(Ee.parameters))return!1;const Di=Ki(Ee.body.statements);if(!Di||!sl(Di)||Di.kind!==244)return!1;const Ci=Di.expression;if(!sl(Ci)||Ci.kind!==213)return!1;const Q=Ci.expression;if(!sl(Q)||Q.kind!==108)return!1;const Me=Aa(Ci.arguments);if(!Me||!sl(Me)||Me.kind!==230)return!1;const wt=Me.expression;return at(wt)&&wt.escapedText==="arguments"}}var jMt=o({"src/compiler/transformers/es2015.ts"(){Bo()}});function v7e(t){const{factory:u}=t,s=t.getCompilerOptions();let d,f;(s.jsx===1||s.jsx===3)&&(d=t.onEmitNode,t.onEmitNode=v,t.enableEmitNotification(286),t.enableEmitNotification(287),t.enableEmitNotification(285),f=[]);const p=t.onSubstituteNode;return t.onSubstituteNode=b,t.enableSubstitution(211),t.enableSubstitution(303),Kp(t,E);function E(M){return M}function v(M,z,j){switch(z.kind){case 286:case 287:case 285:const J=z.tagName;f[M1(J)]=!0;break}d(M,z,j)}function b(M,z){return z.id&&f&&f[z.id]?p(M,z):(z=p(M,z),Iu(z)?B(z):Jc(z)?k(z):z)}function B(M){if(Xr(M.name))return M;const z=T(M.name);return z?Pt(u.createElementAccessExpression(M.expression,z),M):M}function k(M){const z=at(M.name)&&T(M.name);return z?u.updatePropertyAssignment(M,z,M.initializer):M}function T(M){const z=Dv(M);if(z!==void 0&&z>=83&&z<=118)return Pt(u.createStringLiteralFromNode(M),M)}}var VMt=o({"src/compiler/transformers/es5.ts"(){Bo()}});function HMt(t){switch(t){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}function C7e(t){const{factory:u,getEmitHelperFactory:s,resumeLexicalEnvironment:d,endLexicalEnvironment:f,hoistFunctionDeclaration:p,hoistVariableDeclaration:E}=t,v=t.getCompilerOptions(),b=Os(v),B=t.getEmitResolver(),k=t.onSubstituteNode;t.onSubstituteNode=we;let T,M,z,j,J,K,Y,oe,se,ge,ae=1,Ce,ne,ve,Se,Ne=0,pe=0,fe,xe,Be,Ge,Ae,De,Ke,Je;return Kp(t,ft);function ft(He){if(He.isDeclarationFile||!(He.transformFlags&2048))return He;const di=rn(He,Ye,t);return iD(di,t.readEmitHelpers()),di}function Ye(He){const di=He.transformFlags;return j?Ve(He):z?We(He):$0(He)&&He.asteriskToken?Yt(He):di&2048?rn(He,Ye,t):He}function Ve(He){switch(He.kind){case 246:return Yo(He);case 247:return Qe(He);case 255:return Ot(He);case 256:return $i(He);default:return We(He)}}function We(He){switch(He.kind){case 262:return Ie(He);case 218:return st(He);case 177:case 178:return St(He);case 243:return ei(He);case 248:return Mt(He);case 249:return Xt(He);case 252:return ii(He);case 251:return et(He);case 253:return ni(He);default:return He.transformFlags&1048576?Gt(He):He.transformFlags&4196352?rn(He,Ye,t):He}}function Gt(He){switch(He.kind){case 226:return ht(He);case 361:return xn(He);case 227:return an(He);case 229:return Pi(He);case 209:return Ai(He);case 210:return aa(He);case 212:return yr(He);case 213:return Ba(He);case 214:return bt(He);default:return rn(He,Ye,t)}}function Yt(He){switch(He.kind){case 262:return Ie(He);case 218:return st(He);default:return H.failBadSyntaxKind(He)}}function Ie(He){if(He.asteriskToken)He=su(Pt(u.createFunctionDeclaration(He.modifiers,void 0,He.name,void 0,xc(He.parameters,Ye,t),void 0,It(He.body)),He),He);else{const di=z,Mn=j;z=!1,j=!1,He=rn(He,Ye,t),z=di,j=Mn}if(z){p(He);return}else return He}function st(He){if(He.asteriskToken)He=su(Pt(u.createFunctionExpression(void 0,void 0,He.name,void 0,xc(He.parameters,Ye,t),void 0,It(He.body)),He),He);else{const di=z,Mn=j;z=!1,j=!1,He=rn(He,Ye,t),z=di,j=Mn}return He}function St(He){const di=z,Mn=j;return z=!1,j=!1,He=rn(He,Ye,t),z=di,j=Mn,He}function It(He){const di=[],Mn=z,ba=j,Fo=J,To=K,nc=Y,fc=oe,Cl=se,Tl=ge,bc=ae,ql=Ce,Nc=ne,ip=ve,Jm=Se;z=!0,j=!1,J=void 0,K=void 0,Y=void 0,oe=void 0,se=void 0,ge=void 0,ae=1,Ce=void 0,ne=void 0,ve=void 0,Se=u.createTempVariable(void 0),d();const jh=u.copyPrologue(He.statements,di,!1,Ye);jn(He.statements,jh);const f4=tt();return ZE(di,f()),di.push(u.createReturnStatement(f4)),z=Mn,j=ba,J=Fo,K=To,Y=nc,oe=fc,se=Cl,ge=Tl,ae=bc,Ce=ql,ne=Nc,ve=ip,Se=Jm,Pt(u.createBlock(di,He.multiLine),He)}function ei(He){if(He.transformFlags&1048576){oa(He.declarationList);return}else{if(bs(He)&2097152)return He;for(const Mn of He.declarationList.declarations)E(Mn.name);const di=DP(He.declarationList);return di.length===0?void 0:As(u.createExpressionStatement(u.inlineExpressions(Vt(di,Da))),He)}}function ht(He){const di=q0e(He);switch(di){case 0:return Ni(He);case 1:return Ut(He);default:return H.assertNever(di)}}function Ut(He){const{left:di,right:Mn}=He;if(le(Mn)){let ba;switch(di.kind){case 211:ba=u.updatePropertyAccessExpression(di,X(H.checkDefined(yt(di.expression,Ye,Df))),di.name);break;case 212:ba=u.updateElementAccessExpression(di,X(H.checkDefined(yt(di.expression,Ye,Df))),X(H.checkDefined(yt(di.argumentExpression,Ye,Wt))));break;default:ba=H.checkDefined(yt(di,Ye,Wt));break}const Fo=He.operatorToken.kind;return mM(Fo)?Pt(u.createAssignment(ba,Pt(u.createBinaryExpression(X(ba),pM(Fo),H.checkDefined(yt(Mn,Ye,Wt))),He)),He):u.updateBinaryExpression(He,ba,He.operatorToken,H.checkDefined(yt(Mn,Ye,Wt)))}return rn(He,Ye,t)}function Ni(He){return le(He.right)?Pye(He.operatorToken.kind)?Jn(He):He.operatorToken.kind===28?ji(He):u.updateBinaryExpression(He,X(H.checkDefined(yt(He.left,Ye,Wt))),He.operatorToken,H.checkDefined(yt(He.right,Ye,Wt))):rn(He,Ye,t)}function ji(He){let di=[];return Mn(He.left),Mn(He.right),u.inlineExpressions(di);function Mn(ba){Xn(ba)&&ba.operatorToken.kind===28?(Mn(ba.left),Mn(ba.right)):(le(ba)&&di.length>0&&($(1,[u.createExpressionStatement(u.inlineExpressions(di))]),di=[]),di.push(H.checkDefined(yt(ba,Ye,Wt))))}}function xn(He){let di=[];for(const Mn of He.elements)Xn(Mn)&&Mn.operatorToken.kind===28?di.push(ji(Mn)):(le(Mn)&&di.length>0&&($(1,[u.createExpressionStatement(u.inlineExpressions(di))]),di=[]),di.push(H.checkDefined(yt(Mn,Ye,Wt))));return u.inlineExpressions(di)}function Jn(He){const di=Ct(),Mn=it();return cl(Mn,H.checkDefined(yt(He.left,Ye,Wt)),He.left),He.operatorToken.kind===56?dl(di,Mn,He.left):Ri(di,Mn,He.left),cl(Mn,H.checkDefined(yt(He.right,Ye,Wt)),He.right),ct(di),Mn}function an(He){if(le(He.whenTrue)||le(He.whenFalse)){const di=Ct(),Mn=Ct(),ba=it();return dl(di,H.checkDefined(yt(He.condition,Ye,Wt)),He.condition),cl(ba,H.checkDefined(yt(He.whenTrue,Ye,Wt)),He.whenTrue),Ka(Mn),ct(di),cl(ba,H.checkDefined(yt(He.whenFalse,Ye,Wt)),He.whenFalse),ct(Mn),ba}return rn(He,Ye,t)}function Pi(He){const di=Ct(),Mn=yt(He.expression,Ye,Wt);if(He.asteriskToken){const ba=bs(He.expression)&8388608?Mn:Pt(s().createValuesHelper(Mn),He);Uc(ba,He)}else Ch(Mn,He);return ct(di),Jp(He)}function Ai(He){return Zu(He.elements,void 0,void 0,He.multiLine)}function Zu(He,di,Mn,ba){const Fo=te(He);let To;if(Fo>0){To=it();const Cl=kn(He,Ye,Wt,0,Fo);cl(To,u.createArrayLiteralExpression(di?[di,...Cl]:Cl)),di=void 0}const nc=nn(He,fc,[],Fo);return To?u.createArrayConcatCall(To,[u.createArrayLiteralExpression(nc,ba)]):Pt(u.createArrayLiteralExpression(di?[di,...nc]:nc,ba),Mn);function fc(Cl,Tl){if(le(Tl)&&Cl.length>0){const bc=To!==void 0;To||(To=it()),cl(To,bc?u.createArrayConcatCall(To,[u.createArrayLiteralExpression(Cl,ba)]):u.createArrayLiteralExpression(di?[di,...Cl]:Cl,ba)),di=void 0,Cl=[]}return Cl.push(H.checkDefined(yt(Tl,Ye,Wt))),Cl}}function aa(He){const di=He.properties,Mn=He.multiLine,ba=te(di),Fo=it();cl(Fo,u.createObjectLiteralExpression(kn(di,Ye,Z3,0,ba),Mn));const To=nn(di,nc,[],ba);return To.push(Mn?vh(ks(Pt(u.cloneNode(Fo),Fo),Fo.parent)):Fo),u.inlineExpressions(To);function nc(fc,Cl){le(Cl)&&fc.length>0&&(Il(u.createExpressionStatement(u.inlineExpressions(fc))),fc=[]);const Tl=FFe(u,He,Cl,Fo),bc=yt(Tl,Ye,Wt);return bc&&(Mn&&vh(bc),fc.push(bc)),fc}}function yr(He){return le(He.argumentExpression)?u.updateElementAccessExpression(He,X(H.checkDefined(yt(He.expression,Ye,Df))),H.checkDefined(yt(He.argumentExpression,Ye,Wt))):rn(He,Ye,t)}function Ba(He){if(!dm(He)&&L(He.arguments,le)){const{target:di,thisArg:Mn}=u.createCallBinding(He.expression,E,b,!0);return su(Pt(u.createFunctionApplyCall(X(H.checkDefined(yt(di,Ye,Df))),Mn,Zu(He.arguments)),He),He)}return rn(He,Ye,t)}function bt(He){if(L(He.arguments,le)){const{target:di,thisArg:Mn}=u.createCallBinding(u.createPropertyAccessExpression(He.expression,"bind"),E);return su(Pt(u.createNewExpression(u.createFunctionApplyCall(X(H.checkDefined(yt(di,Ye,Wt))),Mn,Zu(He.arguments,u.createVoidZero())),void 0,[]),He),He)}return rn(He,Ye,t)}function jn(He,di=0){const Mn=He.length;for(let ba=di;ba0)break;Fo.push(Da(nc))}Fo.length&&(Il(u.createExpressionStatement(u.inlineExpressions(Fo))),ba+=Fo.length,Fo=[])}}function Da(He){return As(u.createAssignment(As(u.cloneNode(He.name),He.name),H.checkDefined(yt(He.initializer,Ye,Wt))),He)}function ua(He){if(le(He))if(le(He.thenStatement)||le(He.elseStatement)){const di=Ct(),Mn=He.elseStatement?Ct():void 0;dl(He.elseStatement?Mn:di,H.checkDefined(yt(He.expression,Ye,Wt)),He.expression),Ln(He.thenStatement),He.elseStatement&&(Ka(di),ct(Mn),Ln(He.elseStatement)),ct(di)}else Il(yt(He,Ye,ia));else Il(yt(He,Ye,ia))}function Ta(He){if(le(He)){const di=Ct(),Mn=Ct();wn(di),ct(Mn),Ln(He.statement),ct(di),Ri(Mn,H.checkDefined(yt(He.expression,Ye,Wt))),Ir()}else Il(yt(He,Ye,ia))}function Yo(He){return j?(ja(),He=rn(He,Ye,t),Ir(),He):rn(He,Ye,t)}function bo(He){if(le(He)){const di=Ct(),Mn=wn(di);ct(di),dl(Mn,H.checkDefined(yt(He.expression,Ye,Wt))),Ln(He.statement),Ka(di),Ir()}else Il(yt(He,Ye,ia))}function Qe(He){return j?(ja(),He=rn(He,Ye,t),Ir(),He):rn(He,Ye,t)}function Et(He){if(le(He)){const di=Ct(),Mn=Ct(),ba=wn(Mn);if(He.initializer){const Fo=He.initializer;Ad(Fo)?oa(Fo):Il(Pt(u.createExpressionStatement(H.checkDefined(yt(Fo,Ye,Wt))),Fo))}ct(di),He.condition&&dl(ba,H.checkDefined(yt(He.condition,Ye,Wt))),Ln(He.statement),ct(Mn),He.incrementor&&Il(Pt(u.createExpressionStatement(H.checkDefined(yt(He.incrementor,Ye,Wt))),He.incrementor)),Ka(di),Ir()}else Il(yt(He,Ye,ia))}function Mt(He){j&&ja();const di=He.initializer;if(di&&Ad(di)){for(const ba of di.declarations)E(ba.name);const Mn=DP(di);He=u.updateForStatement(He,Mn.length>0?u.inlineExpressions(Vt(Mn,Da)):void 0,yt(He.condition,Ye,Wt),yt(He.incrementor,Ye,Wt),Ih(He.statement,Ye,t))}else He=rn(He,Ye,t);return j&&Ir(),He}function qt(He){if(le(He)){const di=it(),Mn=it(),ba=it(),Fo=u.createLoopVariable(),To=He.initializer;E(Fo),cl(di,H.checkDefined(yt(He.expression,Ye,Wt))),cl(Mn,u.createArrayLiteralExpression()),Il(u.createForInStatement(ba,di,u.createExpressionStatement(u.createCallExpression(u.createPropertyAccessExpression(Mn,"push"),void 0,[ba])))),cl(Fo,u.createNumericLiteral(0));const nc=Ct(),fc=Ct(),Cl=wn(fc);ct(nc),dl(Cl,u.createLessThan(Fo,u.createPropertyAccessExpression(Mn,"length"))),cl(ba,u.createElementAccessExpression(Mn,Fo)),dl(fc,u.createBinaryExpression(ba,103,di));let Tl;if(Ad(To)){for(const bc of To.declarations)E(bc.name);Tl=u.cloneNode(To.declarations[0].name)}else Tl=H.checkDefined(yt(To,Ye,Wt)),H.assert(Df(Tl));cl(Tl,ba),Ln(He.statement),ct(fc),Il(u.createExpressionStatement(u.createPostfixIncrement(Fo))),Ka(nc),Ir()}else Il(yt(He,Ye,ia))}function Xt(He){j&&ja();const di=He.initializer;if(Ad(di)){for(const Mn of di.declarations)E(Mn.name);He=u.updateForInStatement(He,di.declarations[0].name,H.checkDefined(yt(He.expression,Ye,Wt)),H.checkDefined(yt(He.statement,Ye,ia,u.liftToBlock)))}else He=rn(He,Ye,t);return j&&Ir(),He}function Pe(He){const di=Ho(He.label?fu(He.label):void 0);di>0?Ka(di,He):Il(He)}function et(He){if(j){const di=Ho(He.label&&fu(He.label));if(di>0)return Ko(di,He)}return rn(He,Ye,t)}function gt(He){const di=co(He.label?fu(He.label):void 0);di>0?Ka(di,He):Il(He)}function ii(He){if(j){const di=co(He.label&&fu(He.label));if(di>0)return Ko(di,He)}return rn(He,Ye,t)}function me(He){sf(yt(He.expression,Ye,Wt),He)}function ni(He){return Tc(yt(He.expression,Ye,Wt),He)}function vi(He){le(He)?(du(X(H.checkDefined(yt(He.expression,Ye,Wt)))),Ln(He.statement),Ru()):Il(yt(He,Ye,ia))}function mt(He){if(le(He.caseBlock)){const di=He.caseBlock,Mn=di.clauses.length,ba=wo(),Fo=X(H.checkDefined(yt(He.expression,Ye,Wt))),To=[];let nc=-1;for(let Tl=0;Tl0)break;Cl.push(u.createCaseClause(H.checkDefined(yt(ql.expression,Ye,Wt)),[Ko(To[bc],ql.expression)]))}else Tl++}Cl.length&&(Il(u.createSwitchStatement(Fo,u.createCaseBlock(Cl))),fc+=Cl.length,Cl=[]),Tl>0&&(fc+=Tl,Tl=0)}nc>=0?Ka(To[nc]):Ka(ba);for(let Tl=0;Tl=0;Mn--){const ba=oe[Mn];if(wl(ba)){if(ba.labelText===He)return!0}else break}return!1}function co(He){if(oe)if(He)for(let di=oe.length-1;di>=0;di--){const Mn=oe[di];if(wl(Mn)&&Mn.labelText===He)return Mn.breakLabel;if(Ul(Mn)&&vl(He,di-1))return Mn.breakLabel}else for(let di=oe.length-1;di>=0;di--){const Mn=oe[di];if(Ul(Mn))return Mn.breakLabel}return 0}function Ho(He){if(oe)if(He)for(let di=oe.length-1;di>=0;di--){const Mn=oe[di];if(hd(Mn)&&vl(He,di-1))return Mn.continueLabel}else for(let di=oe.length-1;di>=0;di--){const Mn=oe[di];if(hd(Mn))return Mn.continueLabel}return 0}function id(He){if(He!==void 0&&He>0){ge===void 0&&(ge=[]);const di=u.createNumericLiteral(-1);return ge[He]===void 0?ge[He]=[di]:ge[He].push(di),di}return u.createOmittedExpression()}function Y0(He){const di=u.createNumericLiteral(He);return AZ(di,3,HMt(He)),di}function Ko(He,di){return H.assertLessThan(0,He,"Invalid label"),Pt(u.createReturnStatement(u.createArrayLiteralExpression([Y0(3),id(He)])),di)}function Tc(He,di){return Pt(u.createReturnStatement(u.createArrayLiteralExpression(He?[Y0(2),He]:[Y0(2)])),di)}function Jp(He){return Pt(u.createCallExpression(u.createPropertyAccessExpression(Se,"sent"),void 0,[]),He)}function Lc(){$(0)}function Il(He){He?$(1,[He]):Lc()}function cl(He,di,Mn){$(2,[He,di],Mn)}function Ka(He,di){$(3,[He],di)}function Ri(He,di,Mn){$(4,[He,di],Mn)}function dl(He,di,Mn){$(5,[He,di],Mn)}function Uc(He,di){$(7,[He],di)}function Ch(He,di){$(6,[He],di)}function sf(He,di){$(8,[He],di)}function Q0(He,di){$(9,[He],di)}function Cc(){$(10)}function $(He,di,Mn){Ce===void 0&&(Ce=[],ne=[],ve=[]),se===void 0&&ct(Ct());const ba=Ce.length;Ce[ba]=He,ne[ba]=di,ve[ba]=Mn}function tt(){Ne=0,pe=0,fe=void 0,xe=!1,Be=!1,Ge=void 0,Ae=void 0,De=void 0,Ke=void 0,Je=void 0;const He=vt();return s().createGeneratorHelper(Zn(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,Se)],void 0,u.createBlock(He,He.length>0)),1048576))}function vt(){if(Ce){for(let He=0;He=0;di--){const Mn=Je[di];Ae=[u.createWithStatement(Mn.expression,u.createBlock(Ae))]}if(Ke){const{startLabel:di,catchLabel:Mn,finallyLabel:ba,endLabel:Fo}=Ke;Ae.unshift(u.createExpressionStatement(u.createCallExpression(u.createPropertyAccessExpression(u.createPropertyAccessExpression(Se,"trys"),"push"),void 0,[u.createArrayLiteralExpression([id(di),id(Mn),id(ba),id(Fo)])]))),Ke=void 0}He&&Ae.push(u.createExpressionStatement(u.createAssignment(u.createPropertyAccessExpression(Se,"label"),u.createNumericLiteral(pe+1))))}Ge.push(u.createCaseClause(u.createNumericLiteral(pe),Ae||[])),Ae=void 0}function Tu(He){if(se)for(let di=0;dis.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.createIdentifier(fu(ct))),Ct),s.createVoidZero())));xi(te,yt(K.externalHelpersImportDeclaration,fe,ia)),yn(te,kn(le.statements,fe,ia,de)),pe(te,!1),ZE(te,p());const je=s.updateSourceFile(le,Pt(s.createNodeArray(te),le.statements));return iD(je,t.readEmitHelpers()),je}function Ce(le){const te=s.createIdentifier("define"),we=IV(s,le,B,v),de=W4(le)&&le,{aliasedModuleNames:je,unaliasedModuleNames:X,importAliasNames:it}=ve(le,!0),Ct=s.updateSourceFile(le,Pt(s.createNodeArray([s.createExpressionStatement(s.createCallExpression(te,void 0,[...we?[we]:[],s.createArrayLiteralExpression(de?_t:[s.createStringLiteral("require"),s.createStringLiteral("exports"),...je,...X]),de?de.statements.length?de.statements[0].expression:s.createObjectLiteralExpression():s.createFunctionExpression(void 0,void 0,void 0,void 0,[s.createParameterDeclaration(void 0,void 0,"require"),s.createParameterDeclaration(void 0,void 0,"exports"),...it],void 0,Ne(le))]))]),le.statements));return iD(Ct,t.readEmitHelpers()),Ct}function ne(le){const{aliasedModuleNames:te,unaliasedModuleNames:we,importAliasNames:de}=ve(le,!1),je=IV(s,le,B,v),X=s.createFunctionExpression(void 0,void 0,void 0,void 0,[s.createParameterDeclaration(void 0,void 0,"factory")],void 0,Pt(s.createBlock([s.createIfStatement(s.createLogicalAnd(s.createTypeCheck(s.createIdentifier("module"),"object"),s.createTypeCheck(s.createPropertyAccessExpression(s.createIdentifier("module"),"exports"),"object")),s.createBlock([s.createVariableStatement(void 0,[s.createVariableDeclaration("v",void 0,void 0,s.createCallExpression(s.createIdentifier("factory"),void 0,[s.createIdentifier("require"),s.createIdentifier("exports")]))]),Zn(s.createIfStatement(s.createStrictInequality(s.createIdentifier("v"),s.createIdentifier("undefined")),s.createExpressionStatement(s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("module"),"exports"),s.createIdentifier("v")))),1)]),s.createIfStatement(s.createLogicalAnd(s.createTypeCheck(s.createIdentifier("define"),"function"),s.createPropertyAccessExpression(s.createIdentifier("define"),"amd")),s.createBlock([s.createExpressionStatement(s.createCallExpression(s.createIdentifier("define"),void 0,[...je?[je]:[],s.createArrayLiteralExpression([s.createStringLiteral("require"),s.createStringLiteral("exports"),...te,...we]),s.createIdentifier("factory")]))])))],!0),void 0)),it=s.updateSourceFile(le,Pt(s.createNodeArray([s.createExpressionStatement(s.createCallExpression(X,void 0,[s.createFunctionExpression(void 0,void 0,void 0,void 0,[s.createParameterDeclaration(void 0,void 0,"require"),s.createParameterDeclaration(void 0,void 0,"exports"),...de],void 0,Ne(le))]))]),le.statements));return iD(it,t.readEmitHelpers()),it}function ve(le,te){const we=[],de=[],je=[];for(const X of le.amdDependencies)X.name?(we.push(s.createStringLiteral(X.path)),je.push(s.createParameterDeclaration(void 0,void 0,X.name))):de.push(s.createStringLiteral(X.path));for(const X of K.externalImports){const it=W7(s,X,J,B,b,v),Ct=zB(s,X,J);it&&(te&&Ct?(Zn(Ct,8),we.push(it),je.push(s.createParameterDeclaration(void 0,void 0,Ct))):de.push(it))}return{aliasedModuleNames:we,unaliasedModuleNames:de,importAliasNames:je}}function Se(le){if(E1(le)||Gc(le)||!W7(s,le,J,B,b,v))return;const te=zB(s,le,J),we=Ba(le,te);if(we!==te)return s.createExpressionStatement(s.createAssignment(te,we))}function Ne(le){f();const te=[],we=s.copyPrologue(le.statements,te,!v.noImplicitUseStrict,fe);ge()&&xi(te,Pe()),S(K.exportedNames)&&xi(te,s.createExpressionStatement(nn(K.exportedNames,(je,X)=>s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.createIdentifier(fu(X))),je),s.createVoidZero()))),xi(te,yt(K.externalHelpersImportDeclaration,fe,ia)),T===2&&yn(te,qi(K.externalImports,Se)),yn(te,kn(le.statements,fe,ia,we)),pe(te,!0),ZE(te,p());const de=s.createBlock(te,!0);return oe&&S7(de,Jet),de}function pe(le,te){if(K.exportEquals){const we=yt(K.exportEquals.expression,Ge,Wt);if(we)if(te){const de=s.createReturnStatement(we);Pt(de,K.exportEquals),Zn(de,3840),le.push(de)}else{const de=s.createExpressionStatement(s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("module"),"exports"),we));Pt(de,K.exportEquals),Zn(de,3072),le.push(de)}}}function fe(le){switch(le.kind){case 272:return bt(le);case 271:return Ln(le);case 278:return Si(le);case 277:return Dn(le);default:return xe(le)}}function xe(le){switch(le.kind){case 243:return oa(le);case 262:return Cn(le);case 263:return tu(le);case 248:return Je(le,!0);case 249:return ft(le);case 250:return Ye(le);case 246:return Ve(le);case 247:return We(le);case 256:return Gt(le);case 254:return Yt(le);case 245:return Ie(le);case 255:return st(le);case 269:return St(le);case 296:return It(le);case 297:return ei(le);case 258:return ht(le);case 299:return Ut(le);case 241:return Ni(le);default:return Ge(le)}}function Be(le,te){if(!(le.transformFlags&276828160))return le;switch(le.kind){case 248:return Je(le,!1);case 244:return ji(le);case 217:return xn(le,te);case 360:return Jn(le,te);case 213:if(dm(le)&&J.impliedNodeFormat===void 0)return Pi(le);break;case 226:if(r5(le))return Ke(le,te);break;case 224:case 225:return an(le,te)}return rn(le,Ge,t)}function Ge(le){return Be(le,!1)}function Ae(le){return Be(le,!0)}function De(le){if(ys(le))for(const te of le.properties)switch(te.kind){case 303:if(De(te.initializer))return!0;break;case 304:if(De(te.name))return!0;break;case 305:if(De(te.expression))return!0;break;case 174:case 177:case 178:return!1;default:H.assertNever(te,"Unhandled object member kind")}else if(Dh(le)){for(const te of le.elements)if(uE(te)){if(De(te.expression))return!0}else if(De(te))return!0}else if(at(le))return S(on(le))>(xY(le)?1:0);return!1}function Ke(le,te){return De(le.left)?wk(le,Ge,t,0,!te,Da):rn(le,Ge,t)}function Je(le,te){if(te&&le.initializer&&Ad(le.initializer)&&!(le.initializer.flags&7)){const we=Qe(void 0,le.initializer,!1);if(we){const de=[],je=yt(le.initializer,Ae,Ad),X=s.createVariableStatement(void 0,je);de.push(X),yn(de,we);const it=yt(le.condition,Ge,Wt),Ct=yt(le.incrementor,Ae,Wt),ct=Ih(le.statement,te?xe:Ge,t);return de.push(s.updateForStatement(le,void 0,it,Ct,ct)),de}}return s.updateForStatement(le,yt(le.initializer,Ae,a4),yt(le.condition,Ge,Wt),yt(le.incrementor,Ae,Wt),Ih(le.statement,te?xe:Ge,t))}function ft(le){if(Ad(le.initializer)&&!(le.initializer.flags&7)){const te=Qe(void 0,le.initializer,!0);if(Oe(te)){const we=yt(le.initializer,Ae,a4),de=yt(le.expression,Ge,Wt),je=Ih(le.statement,xe,t),X=po(je)?s.updateBlock(je,[...te,...je.statements]):s.createBlock([...te,je],!0);return s.updateForInStatement(le,we,de,X)}}return s.updateForInStatement(le,yt(le.initializer,Ae,a4),yt(le.expression,Ge,Wt),Ih(le.statement,xe,t))}function Ye(le){if(Ad(le.initializer)&&!(le.initializer.flags&7)){const te=Qe(void 0,le.initializer,!0),we=yt(le.initializer,Ae,a4),de=yt(le.expression,Ge,Wt);let je=Ih(le.statement,xe,t);return Oe(te)&&(je=po(je)?s.updateBlock(je,[...te,...je.statements]):s.createBlock([...te,je],!0)),s.updateForOfStatement(le,le.awaitModifier,we,de,je)}return s.updateForOfStatement(le,le.awaitModifier,yt(le.initializer,Ae,a4),yt(le.expression,Ge,Wt),Ih(le.statement,xe,t))}function Ve(le){return s.updateDoStatement(le,Ih(le.statement,xe,t),yt(le.expression,Ge,Wt))}function We(le){return s.updateWhileStatement(le,yt(le.expression,Ge,Wt),Ih(le.statement,xe,t))}function Gt(le){return s.updateLabeledStatement(le,le.label,H.checkDefined(yt(le.statement,xe,ia,s.liftToBlock)))}function Yt(le){return s.updateWithStatement(le,yt(le.expression,Ge,Wt),H.checkDefined(yt(le.statement,xe,ia,s.liftToBlock)))}function Ie(le){return s.updateIfStatement(le,yt(le.expression,Ge,Wt),H.checkDefined(yt(le.thenStatement,xe,ia,s.liftToBlock)),yt(le.elseStatement,xe,ia,s.liftToBlock))}function st(le){return s.updateSwitchStatement(le,yt(le.expression,Ge,Wt),H.checkDefined(yt(le.caseBlock,xe,ZP)))}function St(le){return s.updateCaseBlock(le,kn(le.clauses,xe,WU))}function It(le){return s.updateCaseClause(le,yt(le.expression,Ge,Wt),kn(le.statements,xe,ia))}function ei(le){return rn(le,xe,t)}function ht(le){return rn(le,xe,t)}function Ut(le){return s.updateCatchClause(le,le.variableDeclaration,H.checkDefined(yt(le.block,xe,po)))}function Ni(le){return le=rn(le,xe,t),le}function ji(le){return s.updateExpressionStatement(le,yt(le.expression,Ae,Wt))}function xn(le,te){return s.updateParenthesizedExpression(le,yt(le.expression,te?Ae:Ge,Wt))}function Jn(le,te){return s.updatePartiallyEmittedExpression(le,yt(le.expression,te?Ae:Ge,Wt))}function an(le,te){if((le.operator===46||le.operator===47)&&at(le.operand)&&!al(le.operand)&&!rD(le.operand)&&!ple(le.operand)){const we=on(le.operand);if(we){let de,je=yt(le.operand,Ge,Wt);zv(le)?je=s.updatePrefixUnaryExpression(le,je):(je=s.updatePostfixUnaryExpression(le,je),te||(de=s.createTempVariable(E),je=s.createAssignment(de,je),Pt(je,le)),je=s.createComma(je,s.cloneNode(le.operand)),Pt(je,le));for(const X of we)Y[$s(je)]=!0,je=gt(X,je),Pt(je,le);return de&&(Y[$s(je)]=!0,je=s.createComma(je,de),Pt(je,le)),je}}return rn(le,Ge,t)}function Pi(le){if(T===0&&k>=7)return rn(le,Ge,t);const te=W7(s,le,J,B,b,v),we=yt(Ki(le.arguments),Ge,Wt),de=te&&(!we||!us(we)||we.text!==te.text)?te:we,je=!!(le.transformFlags&16384);switch(v.module){case 2:return Zu(de,je);case 3:return Ai(de??s.createVoidZero(),je);case 1:default:return aa(de)}}function Ai(le,te){if(oe=!0,Y2(le)){const we=al(le)?le:us(le)?s.createStringLiteralFromNode(le):Zn(Pt(s.cloneNode(le),le),3072);return s.createConditionalExpression(s.createIdentifier("__syncRequire"),void 0,aa(le),void 0,Zu(we,te))}else{const we=s.createTempVariable(E);return s.createComma(s.createAssignment(we,le),s.createConditionalExpression(s.createIdentifier("__syncRequire"),void 0,aa(we,!0),void 0,Zu(we,te)))}}function Zu(le,te){const we=s.createUniqueName("resolve"),de=s.createUniqueName("reject"),je=[s.createParameterDeclaration(void 0,void 0,we),s.createParameterDeclaration(void 0,void 0,de)],X=s.createBlock([s.createExpressionStatement(s.createCallExpression(s.createIdentifier("require"),void 0,[s.createArrayLiteralExpression([le||s.createOmittedExpression()]),we,de]))]);let it;k>=2?it=s.createArrowFunction(void 0,void 0,je,void 0,void 0,X):(it=s.createFunctionExpression(void 0,void 0,void 0,void 0,je,void 0,X),te&&Zn(it,16));const Ct=s.createNewExpression(s.createIdentifier("Promise"),void 0,[it]);return e_(v)?s.createCallExpression(s.createPropertyAccessExpression(Ct,s.createIdentifier("then")),void 0,[d().createImportStarCallbackHelper()]):Ct}function aa(le,te){const we=le&&!sE(le)&&!te,de=s.createCallExpression(s.createPropertyAccessExpression(s.createIdentifier("Promise"),"resolve"),void 0,we?k>=2?[s.createTemplateExpression(s.createTemplateHead(""),[s.createTemplateSpan(le,s.createTemplateTail(""))])]:[s.createCallExpression(s.createPropertyAccessExpression(s.createStringLiteral(""),"concat"),void 0,[le])]:[]);let je=s.createCallExpression(s.createIdentifier("require"),void 0,we?[s.createIdentifier("s")]:le?[le]:[]);e_(v)&&(je=d().createImportStarHelper(je));const X=we?[s.createParameterDeclaration(void 0,void 0,"s")]:[];let it;return k>=2?it=s.createArrowFunction(void 0,void 0,X,void 0,void 0,je):it=s.createFunctionExpression(void 0,void 0,void 0,void 0,X,void 0,s.createBlock([s.createReturnStatement(je)])),s.createCallExpression(s.createPropertyAccessExpression(de,"then"),void 0,[it])}function yr(le,te){return!e_(v)||Pp(le)&2?te:GAe(le)?d().createImportStarHelper(te):te}function Ba(le,te){return!e_(v)||Pp(le)&2?te:aQ(le)?d().createImportStarHelper(te):$de(le)?d().createImportDefaultHelper(te):te}function bt(le){let te;const we=Q8(le);if(T!==2)if(le.importClause){const de=[];we&&!c7(le)?de.push(s.createVariableDeclaration(s.cloneNode(we.name),void 0,void 0,Ba(le,jn(le)))):(de.push(s.createVariableDeclaration(s.getGeneratedNameForNode(le),void 0,void 0,Ba(le,jn(le)))),we&&c7(le)&&de.push(s.createVariableDeclaration(s.cloneNode(we.name),void 0,void 0,s.getGeneratedNameForNode(le)))),te=xi(te,su(Pt(s.createVariableStatement(void 0,s.createVariableDeclarationList(de,k>=2?2:0)),le),le))}else return su(Pt(s.createExpressionStatement(jn(le)),le),le);else we&&c7(le)&&(te=xi(te,s.createVariableStatement(void 0,s.createVariableDeclarationList([su(Pt(s.createVariableDeclaration(s.cloneNode(we.name),void 0,void 0,s.getGeneratedNameForNode(le)),le),le)],k>=2?2:0))));return te=Ta(te,le),F0(te)}function jn(le){const te=W7(s,le,J,B,b,v),we=[];return te&&we.push(te),s.createCallExpression(s.createIdentifier("require"),void 0,we)}function Ln(le){H.assert(bv(le),"import= for internal module references should be handled in an earlier transformer.");let te;return T!==2?Yu(le,32)?te=xi(te,su(Pt(s.createExpressionStatement(gt(le.name,jn(le))),le),le)):te=xi(te,su(Pt(s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(s.cloneNode(le.name),void 0,void 0,jn(le))],k>=2?2:0)),le),le)):Yu(le,32)&&(te=xi(te,su(Pt(s.createExpressionStatement(gt(s.getExportName(le),s.getLocalName(le))),le),le))),te=Yo(te,le),F0(te)}function Si(le){if(!le.moduleSpecifier)return;const te=s.getGeneratedNameForNode(le);if(le.exportClause&&ep(le.exportClause)){const we=[];T!==2&&we.push(su(Pt(s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(te,void 0,void 0,jn(le))])),le),le));for(const de of le.exportClause.elements)if(k===0)we.push(su(Pt(s.createExpressionStatement(d().createCreateBindingHelper(te,s.createStringLiteralFromNode(de.propertyName||de.name),de.propertyName?s.createStringLiteralFromNode(de.name):void 0)),de),de));else{const je=!!e_(v)&&!(Pp(le)&2)&&fu(de.propertyName||de.name)==="default",X=s.createPropertyAccessExpression(je?d().createImportDefaultHelper(te):te,de.propertyName||de.name);we.push(su(Pt(s.createExpressionStatement(gt(s.getExportName(de),X,void 0,!0)),de),de))}return F0(we)}else if(le.exportClause){const we=[];return we.push(su(Pt(s.createExpressionStatement(gt(s.cloneNode(le.exportClause.name),yr(le,T!==2?jn(le):eq(le)?te:s.createIdentifier(fu(le.exportClause.name))))),le),le)),F0(we)}else return su(Pt(s.createExpressionStatement(d().createExportStarHelper(T!==2?jn(le):te)),le),le)}function Dn(le){if(!le.isExportEquals)return et(s.createIdentifier("default"),yt(le.expression,Ge,Wt),le,!0)}function Cn(le){let te;return Yu(le,32)?te=xi(te,su(Pt(s.createFunctionDeclaration(kn(le.modifiers,ii,Qo),le.asteriskToken,s.getDeclarationName(le,!0,!0),void 0,kn(le.parameters,Ge,io),void 0,rn(le.body,Ge,t)),le),le)):te=xi(te,rn(le,Ge,t)),te=Mt(te,le),F0(te)}function tu(le){let te;return Yu(le,32)?te=xi(te,su(Pt(s.createClassDeclaration(kn(le.modifiers,ii,ol),s.getDeclarationName(le,!0,!0),void 0,kn(le.heritageClauses,Ge,mm),kn(le.members,Ge,Zd)),le),le)):te=xi(te,rn(le,Ge,t)),te=Mt(te,le),F0(te)}function oa(le){let te,we,de;if(Yu(le,32)){let je,X=!1;for(const it of le.declarationList.declarations)if(at(it.name)&&rD(it.name))if(je||(je=kn(le.modifiers,ii,Qo)),it.initializer){const Ct=s.updateVariableDeclaration(it,it.name,void 0,void 0,gt(it.name,yt(it.initializer,Ge,Wt)));we=xi(we,Ct)}else we=xi(we,it);else if(it.initializer)if(!So(it.name)&&(q0(it.initializer)||A0(it.initializer)||Xd(it.initializer))){const Ct=s.createAssignment(Pt(s.createPropertyAccessExpression(s.createIdentifier("exports"),it.name),it.name),s.createIdentifier(J4(it.name))),ct=s.createVariableDeclaration(it.name,it.exclamationToken,it.type,yt(it.initializer,Ge,Wt));we=xi(we,ct),de=xi(de,Ct),X=!0}else de=xi(de,ua(it));if(we&&(te=xi(te,s.updateVariableStatement(le,je,s.updateVariableDeclarationList(le.declarationList,we)))),de){const it=su(Pt(s.createExpressionStatement(s.inlineExpressions(de)),le),le);X&&EV(it),te=xi(te,it)}}else te=xi(te,rn(le,Ge,t));return te=bo(te,le),F0(te)}function Da(le,te,we){const de=on(le);if(de){let je=xY(le)?te:s.createAssignment(le,te);for(const X of de)Zn(je,8),je=gt(X,je,we);return je}return s.createAssignment(le,te)}function ua(le){return So(le.name)?wk(yt(le,Ge,Zj),Ge,t,0,!1,Da):s.createAssignment(Pt(s.createPropertyAccessExpression(s.createIdentifier("exports"),le.name),le.name),le.initializer?yt(le.initializer,Ge,Wt):s.createVoidZero())}function Ta(le,te){if(K.exportEquals)return le;const we=te.importClause;if(!we)return le;const de=new Y7;we.name&&(le=qt(le,de,we));const je=we.namedBindings;if(je)switch(je.kind){case 274:le=qt(le,de,je);break;case 275:for(const X of je.elements)le=qt(le,de,X,!0);break}return le}function Yo(le,te){return K.exportEquals?le:qt(le,new Y7,te)}function bo(le,te){return Qe(le,te.declarationList,!1)}function Qe(le,te,we){if(K.exportEquals)return le;for(const de of te.declarations)le=Et(le,de,we);return le}function Et(le,te,we){if(K.exportEquals)return le;if(So(te.name))for(const de of te.name.elements)Fd(de)||(le=Et(le,de,we));else!al(te.name)&&(!na(te)||te.initializer||we)&&(le=qt(le,new Y7,te));return le}function Mt(le,te){if(K.exportEquals)return le;const we=new Y7;if(Yu(te,32)){const de=Yu(te,2048)?s.createIdentifier("default"):s.getDeclarationName(te);le=Xt(le,we,de,s.getLocalName(te),te)}return te.name&&(le=qt(le,we,te)),le}function qt(le,te,we,de){const je=s.getDeclarationName(we),X=K.exportSpecifiers.get(je);if(X)for(const it of X)le=Xt(le,te,it.name,je,it.name,void 0,de);return le}function Xt(le,te,we,de,je,X,it){return te.has(we)||(te.set(we,!0),le=xi(le,et(we,de,je,X,it))),le}function Pe(){let le;return k===0?le=s.createExpressionStatement(gt(s.createIdentifier("__esModule"),s.createTrue())):le=s.createExpressionStatement(s.createCallExpression(s.createPropertyAccessExpression(s.createIdentifier("Object"),"defineProperty"),void 0,[s.createIdentifier("exports"),s.createStringLiteral("__esModule"),s.createObjectLiteralExpression([s.createPropertyAssignment("value",s.createTrue())])])),Zn(le,2097152),le}function et(le,te,we,de,je){const X=Pt(s.createExpressionStatement(gt(le,te,void 0,je)),we);return vh(X),de||Zn(X,3072),X}function gt(le,te,we,de){return Pt(de&&k!==0?s.createCallExpression(s.createPropertyAccessExpression(s.createIdentifier("Object"),"defineProperty"),void 0,[s.createIdentifier("exports"),s.createStringLiteralFromNode(le),s.createObjectLiteralExpression([s.createPropertyAssignment("enumerable",s.createTrue()),s.createPropertyAssignment("get",s.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,s.createBlock([s.createReturnStatement(te)])))])]):s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.cloneNode(le)),te),we)}function ii(le){switch(le.kind){case 95:case 90:return}return le}function me(le,te,we){te.kind===312?(J=te,K=j[M1(J)],z(le,te,we),J=void 0,K=void 0):z(le,te,we)}function ni(le,te){return te=M(le,te),te.id&&Y[te.id]?te:le===1?mt(te):pm(te)?vi(te):te}function vi(le){const te=le.name,we=$i(te);if(we!==te){if(le.objectAssignmentInitializer){const de=s.createAssignment(we,le.objectAssignmentInitializer);return Pt(s.createPropertyAssignment(te,de),le)}return Pt(s.createPropertyAssignment(te,we),le)}return le}function mt(le){switch(le.kind){case 80:return $i(le);case 213:return Ot(le);case 215:return Ei(le);case 226:return Qi(le)}return le}function Ot(le){if(at(le.expression)){const te=$i(le.expression);if(Y[$s(te)]=!0,!at(te)&&!(bs(le.expression)&8192))return F7(s.updateCallExpression(le,te,void 0,le.arguments),16)}return le}function Ei(le){if(at(le.tag)){const te=$i(le.tag);if(Y[$s(te)]=!0,!at(te)&&!(bs(le.tag)&8192))return F7(s.updateTaggedTemplateExpression(le,te,void 0,le.template),16)}return le}function $i(le){var te,we;if(bs(le)&8192){const de=zV(J);return de?s.createPropertyAccessExpression(de,le):le}else if(!(al(le)&&!(le.emitNode.autoGenerate.flags&64))&&!rD(le)){const de=b.getReferencedExportContainer(le,xY(le));if(de&&de.kind===312)return Pt(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.cloneNode(le)),le);const je=b.getReferencedImportDeclaration(le);if(je){if(n_(je))return Pt(s.createPropertyAccessExpression(s.getGeneratedNameForNode(je.parent),s.createIdentifier("default")),le);if(bf(je)){const X=je.propertyName||je.name;return Pt(s.createPropertyAccessExpression(s.getGeneratedNameForNode(((we=(te=je.parent)==null?void 0:te.parent)==null?void 0:we.parent)||je),s.cloneNode(X)),le)}}}return le}function Qi(le){if(u5(le.operatorToken.kind)&&at(le.left)&&(!al(le.left)||JO(le.left))&&!rD(le.left)){const te=on(le.left);if(te){let we=le;for(const de of te)Y[$s(we)]=!0,we=gt(de,we,le);return we}}return le}function on(le){if(al(le)){if(JO(le)){const te=K==null?void 0:K.exportSpecifiers.get(le);if(te){const we=[];for(const de of te)we.push(de.name);return we}}}else{const te=b.getReferencedImportDeclaration(le);if(te)return K==null?void 0:K.exportedBindings[M1(te)];const we=new Set,de=b.getReferencedValueDeclarations(le);if(de){for(const je of de){const X=K==null?void 0:K.exportedBindings[M1(je)];if(X)for(const it of X)we.add(it)}if(we.size)return ga(we)}}}}var Jet,WMt=o({"src/compiler/transformers/module/module.ts"(){Bo(),Jet={name:"typescript:dynamicimport-sync-require",scoped:!0,text:` - var __syncRequire = typeof module === "object" && typeof module.exports === "object";`}}});function b7e(t){const{factory:u,startLexicalEnvironment:s,endLexicalEnvironment:d,hoistVariableDeclaration:f}=t,p=t.getCompilerOptions(),E=t.getEmitResolver(),v=t.getEmitHost(),b=t.onSubstituteNode,B=t.onEmitNode;t.onSubstituteNode=gt,t.onEmitNode=et,t.enableSubstitution(80),t.enableSubstitution(304),t.enableSubstitution(226),t.enableSubstitution(236),t.enableEmitNotification(312);const k=[],T=[],M=[],z=[];let j,J,K,Y,oe,se,ge;return Kp(t,ae);function ae(le){if(le.isDeclarationFile||!(s7(le,p)||le.transformFlags&8388608))return le;const te=M1(le);j=le,se=le,J=k[te]=Ude(t,le),K=u.createUniqueName("exports"),T[te]=K,Y=z[te]=u.createUniqueName("context");const we=Ce(J.externalImports),de=ne(le,we),je=u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,K),u.createParameterDeclaration(void 0,void 0,Y)],void 0,de),X=IV(u,le,v,p),it=u.createArrayLiteralExpression(Vt(we,ct=>ct.name)),Ct=Zn(u.updateSourceFile(le,Pt(u.createNodeArray([u.createExpressionStatement(u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("System"),"register"),void 0,X?[X,it,je]:[it,je]))]),le.statements)),2048);return y0(p)||Hke(Ct,de,ct=>!ct.scoped),ge&&(M[te]=ge,ge=void 0),j=void 0,J=void 0,K=void 0,Y=void 0,oe=void 0,se=void 0,Ct}function Ce(le){const te=new Map,we=[];for(const de of le){const je=W7(u,de,j,v,E,p);if(je){const X=je.text,it=te.get(X);it!==void 0?we[it].externalImports.push(de):(te.set(X,we.length),we.push({name:je,externalImports:[de]}))}}return we}function ne(le,te){const we=[];s();const de=Z4(p,"alwaysStrict")||!p.noImplicitUseStrict&&wc(j),je=u.copyPrologue(le.statements,we,de,pe);we.push(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration("__moduleName",void 0,void 0,u.createLogicalAnd(Y,u.createPropertyAccessExpression(Y,"id")))]))),yt(J.externalHelpersImportDeclaration,pe,ia);const X=kn(le.statements,pe,ia,je);yn(we,oe),ZE(we,d());const it=ve(we),Ct=le.transformFlags&2097152?u.createModifiersFromModifierFlags(1024):void 0,ct=u.createObjectLiteralExpression([u.createPropertyAssignment("setters",Ne(it,te)),u.createPropertyAssignment("execute",u.createFunctionExpression(Ct,void 0,void 0,void 0,[],void 0,u.createBlock(X,!0)))],!0);return we.push(u.createReturnStatement(ct)),u.createBlock(we,!0)}function ve(le){if(!J.hasExportStarsToExportValues)return;if(!J.exportedNames&&J.exportSpecifiers.size===0){let je=!1;for(const X of J.externalImports)if(X.kind===278&&X.exportClause){je=!0;break}if(!je){const X=Se(void 0);return le.push(X),X.name}}const te=[];if(J.exportedNames)for(const je of J.exportedNames)je.escapedText!=="default"&&te.push(u.createPropertyAssignment(u.createStringLiteralFromNode(je),u.createTrue()));const we=u.createUniqueName("exportedNames");le.push(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(we,void 0,void 0,u.createObjectLiteralExpression(te,!0))])));const de=Se(we);return le.push(de),de.name}function Se(le){const te=u.createUniqueName("exportStar"),we=u.createIdentifier("m"),de=u.createIdentifier("n"),je=u.createIdentifier("exports");let X=u.createStrictInequality(de,u.createStringLiteral("default"));return le&&(X=u.createLogicalAnd(X,u.createLogicalNot(u.createCallExpression(u.createPropertyAccessExpression(le,"hasOwnProperty"),void 0,[de])))),u.createFunctionDeclaration(void 0,void 0,te,void 0,[u.createParameterDeclaration(void 0,void 0,we)],void 0,u.createBlock([u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(je,void 0,void 0,u.createObjectLiteralExpression([]))])),u.createForInStatement(u.createVariableDeclarationList([u.createVariableDeclaration(de)]),we,u.createBlock([Zn(u.createIfStatement(X,u.createExpressionStatement(u.createAssignment(u.createElementAccessExpression(je,de),u.createElementAccessExpression(we,de)))),1)])),u.createExpressionStatement(u.createCallExpression(K,void 0,[je]))],!0))}function Ne(le,te){const we=[];for(const de of te){const je=L(de.externalImports,Ct=>zB(u,Ct,j)),X=je?u.getGeneratedNameForNode(je):u.createUniqueName(""),it=[];for(const Ct of de.externalImports){const ct=zB(u,Ct,j);switch(Ct.kind){case 272:if(!Ct.importClause)break;case 271:H.assert(ct!==void 0),it.push(u.createExpressionStatement(u.createAssignment(ct,X))),Yu(Ct,32)&&it.push(u.createExpressionStatement(u.createCallExpression(K,void 0,[u.createStringLiteral(fu(ct)),X])));break;case 278:if(H.assert(ct!==void 0),Ct.exportClause)if(ep(Ct.exportClause)){const Qt=[];for(const Li of Ct.exportClause.elements)Qt.push(u.createPropertyAssignment(u.createStringLiteral(fu(Li.name)),u.createElementAccessExpression(X,u.createStringLiteral(fu(Li.propertyName||Li.name)))));it.push(u.createExpressionStatement(u.createCallExpression(K,void 0,[u.createObjectLiteralExpression(Qt,!0)])))}else it.push(u.createExpressionStatement(u.createCallExpression(K,void 0,[u.createStringLiteral(fu(Ct.exportClause.name)),X])));else it.push(u.createExpressionStatement(u.createCallExpression(le,void 0,[X])));break}}we.push(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,X)],void 0,u.createBlock(it,!0)))}return u.createArrayLiteralExpression(we,!0)}function pe(le){switch(le.kind){case 272:return fe(le);case 271:return Be(le);case 278:return xe(le);case 277:return Ge(le);default:return ji(le)}}function fe(le){let te;return le.importClause&&f(zB(u,le,j)),F0(Yt(te,le))}function xe(le){H.assertIsDefined(le)}function Be(le){H.assert(bv(le),"import= for internal module references should be handled in an earlier transformer.");let te;return f(zB(u,le,j)),F0(Ie(te,le))}function Ge(le){if(le.isExportEquals)return;const te=yt(le.expression,ua,Wt);return Ut(u.createIdentifier("default"),te,!0)}function Ae(le){Yu(le,32)?oe=xi(oe,u.updateFunctionDeclaration(le,kn(le.modifiers,Pe,ol),le.asteriskToken,u.getDeclarationName(le,!0,!0),void 0,kn(le.parameters,ua,io),void 0,yt(le.body,ua,po))):oe=xi(oe,rn(le,ua,t)),oe=It(oe,le)}function De(le){let te;const we=u.getLocalName(le);return f(we),te=xi(te,Pt(u.createExpressionStatement(u.createAssignment(we,Pt(u.createClassExpression(kn(le.modifiers,Pe,ol),le.name,void 0,kn(le.heritageClauses,ua,mm),kn(le.members,ua,Zd)),le))),le)),te=It(te,le),F0(te)}function Ke(le){if(!ft(le.declarationList))return yt(le,ua,ia);let te;if(cj(le.declarationList)||lj(le.declarationList)){const we=kn(le.modifiers,Pe,ol),de=[];for(const X of le.declarationList.declarations)de.push(u.updateVariableDeclaration(X,u.getGeneratedNameForNode(X.name),void 0,void 0,Ye(X,!1)));const je=u.updateVariableDeclarationList(le.declarationList,de);te=xi(te,u.updateVariableStatement(le,we,je))}else{let we;const de=Yu(le,32);for(const je of le.declarationList.declarations)je.initializer?we=xi(we,Ye(je,de)):Je(je);we&&(te=xi(te,Pt(u.createExpressionStatement(u.inlineExpressions(we)),le)))}return te=st(te,le,!1),F0(te)}function Je(le){if(So(le.name))for(const te of le.name.elements)Fd(te)||Je(te);else f(u.cloneNode(le.name))}function ft(le){return(bs(le)&4194304)===0&&(se.kind===312||(Wl(le).flags&7)===0)}function Ye(le,te){const we=te?Ve:We;return So(le.name)?wk(le,ua,t,0,!1,we):le.initializer?we(le.name,yt(le.initializer,ua,Wt)):le.name}function Ve(le,te,we){return Gt(le,te,we,!0)}function We(le,te,we){return Gt(le,te,we,!1)}function Gt(le,te,we,de){return f(u.cloneNode(le)),de?Ni(le,Qi(Pt(u.createAssignment(le,te),we))):Qi(Pt(u.createAssignment(le,te),we))}function Yt(le,te){if(J.exportEquals)return le;const we=te.importClause;if(!we)return le;we.name&&(le=ei(le,we));const de=we.namedBindings;if(de)switch(de.kind){case 274:le=ei(le,de);break;case 275:for(const je of de.elements)le=ei(le,je);break}return le}function Ie(le,te){return J.exportEquals?le:ei(le,te)}function st(le,te,we){if(J.exportEquals)return le;for(const de of te.declarationList.declarations)(de.initializer||we)&&(le=St(le,de,we));return le}function St(le,te,we){if(J.exportEquals)return le;if(So(te.name))for(const de of te.name.elements)Fd(de)||(le=St(le,de,we));else if(!al(te.name)){let de;we&&(le=ht(le,te.name,u.getLocalName(te)),de=fu(te.name)),le=ei(le,te,de)}return le}function It(le,te){if(J.exportEquals)return le;let we;if(Yu(te,32)){const de=Yu(te,2048)?u.createStringLiteral("default"):te.name;le=ht(le,de,u.getLocalName(te)),we=J4(de)}return te.name&&(le=ei(le,te,we)),le}function ei(le,te,we){if(J.exportEquals)return le;const de=u.getDeclarationName(te),je=J.exportSpecifiers.get(de);if(je)for(const X of je)X.name.escapedText!==we&&(le=ht(le,X.name,de));return le}function ht(le,te,we,de){return le=xi(le,Ut(te,we,de)),le}function Ut(le,te,we){const de=u.createExpressionStatement(Ni(le,te));return vh(de),we||Zn(de,3072),de}function Ni(le,te){const we=at(le)?u.createStringLiteralFromNode(le):le;return Zn(te,bs(te)|3072),Bc(u.createCallExpression(K,void 0,[we,te]),te)}function ji(le){switch(le.kind){case 243:return Ke(le);case 262:return Ae(le);case 263:return De(le);case 248:return xn(le,!0);case 249:return Jn(le);case 250:return an(le);case 246:return Zu(le);case 247:return aa(le);case 256:return yr(le);case 254:return Ba(le);case 245:return bt(le);case 255:return jn(le);case 269:return Ln(le);case 296:return Si(le);case 297:return Dn(le);case 258:return Cn(le);case 299:return tu(le);case 241:return oa(le);default:return ua(le)}}function xn(le,te){const we=se;return se=le,le=u.updateForStatement(le,yt(le.initializer,te?Ai:Ta,a4),yt(le.condition,ua,Wt),yt(le.incrementor,Ta,Wt),Ih(le.statement,te?ji:ua,t)),se=we,le}function Jn(le){const te=se;return se=le,le=u.updateForInStatement(le,Ai(le.initializer),yt(le.expression,ua,Wt),Ih(le.statement,ji,t)),se=te,le}function an(le){const te=se;return se=le,le=u.updateForOfStatement(le,le.awaitModifier,Ai(le.initializer),yt(le.expression,ua,Wt),Ih(le.statement,ji,t)),se=te,le}function Pi(le){return Ad(le)&&ft(le)}function Ai(le){if(Pi(le)){let te;for(const we of le.declarations)te=xi(te,Ye(we,!1)),we.initializer||Je(we);return te?u.inlineExpressions(te):u.createOmittedExpression()}else return yt(le,Ta,a4)}function Zu(le){return u.updateDoStatement(le,Ih(le.statement,ji,t),yt(le.expression,ua,Wt))}function aa(le){return u.updateWhileStatement(le,yt(le.expression,ua,Wt),Ih(le.statement,ji,t))}function yr(le){return u.updateLabeledStatement(le,le.label,H.checkDefined(yt(le.statement,ji,ia,u.liftToBlock)))}function Ba(le){return u.updateWithStatement(le,yt(le.expression,ua,Wt),H.checkDefined(yt(le.statement,ji,ia,u.liftToBlock)))}function bt(le){return u.updateIfStatement(le,yt(le.expression,ua,Wt),H.checkDefined(yt(le.thenStatement,ji,ia,u.liftToBlock)),yt(le.elseStatement,ji,ia,u.liftToBlock))}function jn(le){return u.updateSwitchStatement(le,yt(le.expression,ua,Wt),H.checkDefined(yt(le.caseBlock,ji,ZP)))}function Ln(le){const te=se;return se=le,le=u.updateCaseBlock(le,kn(le.clauses,ji,WU)),se=te,le}function Si(le){return u.updateCaseClause(le,yt(le.expression,ua,Wt),kn(le.statements,ji,ia))}function Dn(le){return rn(le,ji,t)}function Cn(le){return rn(le,ji,t)}function tu(le){const te=se;return se=le,le=u.updateCatchClause(le,le.variableDeclaration,H.checkDefined(yt(le.block,ji,po))),se=te,le}function oa(le){const te=se;return se=le,le=rn(le,ji,t),se=te,le}function Da(le,te){if(!(le.transformFlags&276828160))return le;switch(le.kind){case 248:return xn(le,!1);case 244:return Yo(le);case 217:return bo(le,te);case 360:return Qe(le,te);case 226:if(r5(le))return Mt(le,te);break;case 213:if(dm(le))return Et(le);break;case 224:case 225:return Xt(le,te)}return rn(le,ua,t)}function ua(le){return Da(le,!1)}function Ta(le){return Da(le,!0)}function Yo(le){return u.updateExpressionStatement(le,yt(le.expression,Ta,Wt))}function bo(le,te){return u.updateParenthesizedExpression(le,yt(le.expression,te?Ta:ua,Wt))}function Qe(le,te){return u.updatePartiallyEmittedExpression(le,yt(le.expression,te?Ta:ua,Wt))}function Et(le){const te=W7(u,le,j,v,E,p),we=yt(Ki(le.arguments),ua,Wt),de=te&&(!we||!us(we)||we.text!==te.text)?te:we;return u.createCallExpression(u.createPropertyAccessExpression(Y,u.createIdentifier("import")),void 0,de?[de]:[])}function Mt(le,te){return qt(le.left)?wk(le,ua,t,0,!te):rn(le,ua,t)}function qt(le){if(ld(le,!0))return qt(le.left);if(uE(le))return qt(le.expression);if(ys(le))return Oe(le.properties,qt);if(Dh(le))return Oe(le.elements,qt);if(pm(le))return qt(le.name);if(Jc(le))return qt(le.initializer);if(at(le)){const te=E.getReferencedExportContainer(le);return te!==void 0&&te.kind===312}else return!1}function Xt(le,te){if((le.operator===46||le.operator===47)&&at(le.operand)&&!al(le.operand)&&!rD(le.operand)&&!ple(le.operand)){const we=Ei(le.operand);if(we){let de,je=yt(le.operand,ua,Wt);zv(le)?je=u.updatePrefixUnaryExpression(le,je):(je=u.updatePostfixUnaryExpression(le,je),te||(de=u.createTempVariable(f),je=u.createAssignment(de,je),Pt(je,le)),je=u.createComma(je,u.cloneNode(le.operand)),Pt(je,le));for(const X of we)je=Ni(X,Qi(je));return de&&(je=u.createComma(je,de),Pt(je,le)),je}}return rn(le,ua,t)}function Pe(le){switch(le.kind){case 95:case 90:return}return le}function et(le,te,we){if(te.kind===312){const de=M1(te);j=te,J=k[de],K=T[de],ge=M[de],Y=z[de],ge&&delete M[de],B(le,te,we),j=void 0,J=void 0,K=void 0,Y=void 0,ge=void 0}else B(le,te,we)}function gt(le,te){return te=b(le,te),on(te)?te:le===1?ni(te):le===4?ii(te):te}function ii(le){switch(le.kind){case 304:return me(le)}return le}function me(le){var te,we;const de=le.name;if(!al(de)&&!rD(de)){const je=E.getReferencedImportDeclaration(de);if(je){if(n_(je))return Pt(u.createPropertyAssignment(u.cloneNode(de),u.createPropertyAccessExpression(u.getGeneratedNameForNode(je.parent),u.createIdentifier("default"))),le);if(bf(je))return Pt(u.createPropertyAssignment(u.cloneNode(de),u.createPropertyAccessExpression(u.getGeneratedNameForNode(((we=(te=je.parent)==null?void 0:te.parent)==null?void 0:we.parent)||je),u.cloneNode(je.propertyName||je.name))),le)}}return le}function ni(le){switch(le.kind){case 80:return vi(le);case 226:return mt(le);case 236:return Ot(le)}return le}function vi(le){var te,we;if(bs(le)&8192){const de=zV(j);return de?u.createPropertyAccessExpression(de,le):le}if(!al(le)&&!rD(le)){const de=E.getReferencedImportDeclaration(le);if(de){if(n_(de))return Pt(u.createPropertyAccessExpression(u.getGeneratedNameForNode(de.parent),u.createIdentifier("default")),le);if(bf(de))return Pt(u.createPropertyAccessExpression(u.getGeneratedNameForNode(((we=(te=de.parent)==null?void 0:te.parent)==null?void 0:we.parent)||de),u.cloneNode(de.propertyName||de.name)),le)}}return le}function mt(le){if(u5(le.operatorToken.kind)&&at(le.left)&&(!al(le.left)||JO(le.left))&&!rD(le.left)){const te=Ei(le.left);if(te){let we=le;for(const de of te)we=Ni(de,Qi(we));return we}}return le}function Ot(le){return W8(le)?u.createPropertyAccessExpression(Y,u.createIdentifier("meta")):le}function Ei(le){let te;const we=$i(le);if(we){const de=E.getReferencedExportContainer(le,!1);de&&de.kind===312&&(te=xi(te,u.getDeclarationName(we))),te=yn(te,J==null?void 0:J.exportedBindings[M1(we)])}else if(al(le)&&JO(le)){const de=J==null?void 0:J.exportSpecifiers.get(le);if(de){const je=[];for(const X of de)je.push(X.name);return je}}return te}function $i(le){if(!al(le)){const te=E.getReferencedImportDeclaration(le);if(te)return te;const we=E.getReferencedValueDeclaration(le);if(we&&(J!=null&&J.exportedBindings[M1(we)]))return we;const de=E.getReferencedValueDeclarations(le);if(de){for(const je of de)if(je!==we&&(J!=null&&J.exportedBindings[M1(je)]))return je}return we}}function Qi(le){return ge===void 0&&(ge=[]),ge[$s(le)]=!0,le}function on(le){return ge&&le.id&&ge[le.id]}}var GMt=o({"src/compiler/transformers/module/system.ts"(){Bo()}});function a1e(t){const{factory:u,getEmitHelperFactory:s}=t,d=t.getEmitHost(),f=t.getEmitResolver(),p=t.getCompilerOptions(),E=Os(p),v=t.onEmitNode,b=t.onSubstituteNode;t.onEmitNode=ge,t.onSubstituteNode=ae,t.enableEmitNotification(312),t.enableSubstitution(80);let B,k,T;return Kp(t,M);function M(ne){if(ne.isDeclarationFile)return ne;if(wc(ne)||mg(p)){k=ne,T=void 0;let ve=z(ne);return k=void 0,T&&(ve=u.updateSourceFile(ve,Pt(u.createNodeArray(l0e(ve.statements.slice(),T)),ve.statements))),!wc(ne)||Oe(ve.statements,YO)?ve:u.updateSourceFile(ve,Pt(u.createNodeArray([...ve.statements,NV(u)]),ve.statements))}return ne}function z(ne){const ve=Oce(u,s(),ne,p);if(ve){const Se=[],Ne=u.copyPrologue(ne.statements,Se);return xi(Se,ve),yn(Se,kn(ne.statements,j,ia,Ne)),u.updateSourceFile(ne,Pt(u.createNodeArray(Se),ne.statements))}else return rn(ne,j,t)}function j(ne){switch(ne.kind){case 271:return m1(p)>=100?K(ne):void 0;case 277:return oe(ne);case 278:return se(ne)}return ne}function J(ne){const ve=W7(u,ne,H.checkDefined(k),d,f,p),Se=[];if(ve&&Se.push(ve),!T){const pe=u.createUniqueName("_createRequire",48),fe=u.createImportDeclaration(void 0,u.createImportClause(!1,void 0,u.createNamedImports([u.createImportSpecifier(!1,u.createIdentifier("createRequire"),pe)])),u.createStringLiteral("module"),void 0),xe=u.createUniqueName("__require",48),Be=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(xe,void 0,void 0,u.createCallExpression(u.cloneNode(pe),void 0,[u.createPropertyAccessExpression(u.createMetaProperty(102,u.createIdentifier("meta")),u.createIdentifier("url"))]))],E>=2?2:0));T=[fe,Be]}const Ne=T[1].declarationList.declarations[0].name;return H.assertNode(Ne,at),u.createCallExpression(u.cloneNode(Ne),void 0,Se)}function K(ne){H.assert(bv(ne),"import= for internal module references should be handled in an earlier transformer.");let ve;return ve=xi(ve,su(Pt(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(u.cloneNode(ne.name),void 0,void 0,J(ne))],E>=2?2:0)),ne),ne)),ve=Y(ve,ne),F0(ve)}function Y(ne,ve){return Yu(ve,32)&&(ne=xi(ne,u.createExportDeclaration(void 0,ve.isTypeOnly,u.createNamedExports([u.createExportSpecifier(!1,void 0,fu(ve.name))])))),ne}function oe(ne){return ne.isExportEquals?void 0:ne}function se(ne){if(p.module!==void 0&&p.module>5||!ne.exportClause||!u_(ne.exportClause)||!ne.moduleSpecifier)return ne;const ve=ne.exportClause.name,Se=u.getGeneratedNameForNode(ve),Ne=u.createImportDeclaration(void 0,u.createImportClause(!1,void 0,u.createNamespaceImport(Se)),ne.moduleSpecifier,ne.attributes);su(Ne,ne.exportClause);const pe=eq(ne)?u.createExportDefault(Se):u.createExportDeclaration(void 0,!1,u.createNamedExports([u.createExportSpecifier(!1,Se,ve)]));return su(pe,ne),[Ne,pe]}function ge(ne,ve,Se){la(ve)?((wc(ve)||mg(p))&&p.importHelpers&&(B=new Map),v(ne,ve,Se),B=void 0):v(ne,ve,Se)}function ae(ne,ve){return ve=b(ne,ve),B&&at(ve)&&bs(ve)&8192?Ce(ve):ve}function Ce(ne){const ve=fu(ne);let Se=B.get(ve);return Se||B.set(ve,Se=u.createUniqueName(ve,48)),Se}}var JMt=o({"src/compiler/transformers/module/esnextAnd2015.ts"(){Bo()}});function y7e(t){const u=t.onSubstituteNode,s=t.onEmitNode,d=a1e(t),f=t.onSubstituteNode,p=t.onEmitNode;t.onSubstituteNode=u,t.onEmitNode=s;const E=r1e(t),v=t.onSubstituteNode,b=t.onEmitNode;t.onSubstituteNode=k,t.onEmitNode=T,t.enableSubstitution(312),t.enableEmitNotification(312);let B;return j;function k(K,Y){return la(Y)?(B=Y,u(K,Y)):B?B.impliedNodeFormat===99?f(K,Y):v(K,Y):u(K,Y)}function T(K,Y,oe){return la(Y)&&(B=Y),B?B.impliedNodeFormat===99?p(K,Y,oe):b(K,Y,oe):s(K,Y,oe)}function M(K){return K.impliedNodeFormat===99?d:E}function z(K){if(K.isDeclarationFile)return K;B=K;const Y=M(K)(K);return B=void 0,H.assert(la(Y)),Y}function j(K){return K.kind===312?z(K):J(K)}function J(K){return t.factory.createBundle(Vt(K.sourceFiles,z),K.prepends)}}var $Mt=o({"src/compiler/transformers/module/node.ts"(){Bo()}});function mQ(t){return na(t)||ko(t)||Mm(t)||js(t)||e5(t)||Lx(t)||FV(t)||CB(t)||dc(t)||n3(t)||ed(t)||io(t)||Bl(t)||c5(t)||E1(t)||jp(t)||hc(t)||Ek(t)||Iu(t)||U0(t)||Xn(t)||G4(t)}function k7e(t){if(e5(t)||Lx(t))return u;return n3(t)||dc(t)?d:h5(t);function u(p){const E=s(p);return E!==void 0?{diagnosticMessage:E,errorNode:t,typeName:t.name}:void 0}function s(p){return No(t)?p.errorModuleName?p.accessibility===2?F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:t.parent.kind===263?p.errorModuleName?p.accessibility===2?F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_property_0_of_exported_class_has_or_is_using_private_name_1:p.errorModuleName?F.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Property_0_of_exported_interface_has_or_is_using_private_name_1}function d(p){const E=f(p);return E!==void 0?{diagnosticMessage:E,errorNode:t,typeName:t.name}:void 0}function f(p){return No(t)?p.errorModuleName?p.accessibility===2?F.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:t.parent.kind===263?p.errorModuleName?p.accessibility===2?F.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_method_0_of_exported_class_has_or_is_using_private_name_1:p.errorModuleName?F.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Method_0_of_exported_interface_has_or_is_using_private_name_1}}function h5(t){if(na(t)||ko(t)||Mm(t)||Iu(t)||U0(t)||Xn(t)||js(t)||hc(t))return s;return e5(t)||Lx(t)?d:FV(t)||CB(t)||dc(t)||n3(t)||ed(t)||Ek(t)?f:io(t)?Mf(t,t.parent)&&Yu(t.parent,2)?s:p:Bl(t)?v:c5(t)?b:E1(t)?B:jp(t)||G4(t)?k:H.assertNever(t,`Attempted to set a declaration diagnostic context for unhandled node kind: ${H.formatSyntaxKind(t.kind)}`);function u(T){if(t.kind===260||t.kind===208)return T.errorModuleName?T.accessibility===2?F.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:F.Exported_variable_0_has_or_is_using_private_name_1;if(t.kind===172||t.kind===211||t.kind===212||t.kind===226||t.kind===171||t.kind===169&&Yu(t.parent,2))return No(t)?T.errorModuleName?T.accessibility===2?F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:t.parent.kind===263||t.kind===169?T.errorModuleName?T.accessibility===2?F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_property_0_of_exported_class_has_or_is_using_private_name_1:T.errorModuleName?F.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Property_0_of_exported_interface_has_or_is_using_private_name_1}function s(T){const M=u(T);return M!==void 0?{diagnosticMessage:M,errorNode:t,typeName:t.name}:void 0}function d(T){let M;return t.kind===178?No(t)?M=T.errorModuleName?F.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:M=T.errorModuleName?F.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:No(t)?M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:M,errorNode:t.name,typeName:t.name}}function f(T){let M;switch(t.kind){case 180:M=T.errorModuleName?F.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 179:M=T.errorModuleName?F.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 181:M=T.errorModuleName?F.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 174:case 173:No(t)?M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:F.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:t.parent.kind===263?M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:F.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:M=T.errorModuleName?F.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 262:M=T.errorModuleName?T.accessibility===2?F.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:F.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return H.fail("This is unknown kind for signature: "+t.kind)}return{diagnosticMessage:M,errorNode:t.name||t}}function p(T){const M=E(T);return M!==void 0?{diagnosticMessage:M,errorNode:t,typeName:t.name}:void 0}function E(T){switch(t.parent.kind){case 176:return T.errorModuleName?T.accessibility===2?F.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 180:case 185:return T.errorModuleName?F.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 179:return T.errorModuleName?F.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 181:return T.errorModuleName?F.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 174:case 173:return No(t.parent)?T.errorModuleName?T.accessibility===2?F.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:t.parent.parent.kind===263?T.errorModuleName?T.accessibility===2?F.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:T.errorModuleName?F.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 262:case 184:return T.errorModuleName?T.accessibility===2?F.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 178:case 177:return T.errorModuleName?T.accessibility===2?F.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return H.fail(`Unknown parent for parameter: ${H.formatSyntaxKind(t.parent.kind)}`)}}function v(){let T;switch(t.parent.kind){case 263:T=F.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 264:T=F.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 200:T=F.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 185:case 180:T=F.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 179:T=F.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 174:case 173:No(t.parent)?T=F.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:t.parent.parent.kind===263?T=F.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:T=F.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 184:case 262:T=F.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 195:T=F.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 265:T=F.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return H.fail("This is unknown parent for type parameter: "+t.parent.kind)}return{diagnosticMessage:T,errorNode:t,typeName:t.name}}function b(){let T;return Wc(t.parent.parent)?T=mm(t.parent)&&t.parent.token===119?F.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:t.parent.parent.name?F.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:F.extends_clause_of_exported_class_has_or_is_using_private_name_0:T=F.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:T,errorNode:t,typeName:Za(t.parent.parent)}}function B(){return{diagnosticMessage:F.Import_declaration_0_is_using_private_name_1,errorNode:t,typeName:t.name}}function k(T){return{diagnosticMessage:T.errorModuleName?F.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:F.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:G4(t)?H.checkDefined(t.typeExpression):t.type,typeName:G4(t)?Za(t):t.name}}}var UMt=o({"src/compiler/transformers/declarations/diagnostics.ts"(){Bo()}});function F7e(t,u,s){const d=t.getCompilerOptions();return pH(u,t,q,d,s?[s]:ti(t.getSourceFiles(),T0e),[s1e],!1).diagnostics}function $et(t,u){return u.text.substring(t.pos,t.end).includes("@internal")}function o1e(t,u){const s=Ua(t);if(s&&s.kind===169){const f=s.parent.parameters.indexOf(s),p=f>0?s.parent.parameters[f-1]:void 0,E=u.text,v=p?Hi(gv(E,gs(E,p.end+1,!1,!0)),W_(E,t.pos)):gv(E,gs(E,t.pos,!1,!0));return v&&v.length&&$et(Cr(v),u)}const d=s&&y0e(s,u);return!!L(d,f=>$et(f,u))}function s1e(t){const u=()=>H.fail("Diagnostic emitted without context");let s=u,d=!0,f=!1,p=!1,E=!1,v=!1,b,B,k,T,M,z;const{factory:j}=t,J=t.getEmitHost(),K={trackSymbol:Ae,reportInaccessibleThisError:Ye,reportInaccessibleUniqueSymbolError:Je,reportCyclicStructureError:ft,reportPrivateInBaseOfClassExpression:De,reportLikelyUnsafeImportRequiredError:Ve,reportTruncationError:We,moduleResolverHost:J,trackReferencedAmbientModule:fe,trackExternalModuleSymbolOfImportTypeNode:Ge,reportNonlocalAugmentation:Gt,reportNonSerializableProperty:Yt};let Y,oe,se,ge,ae,Ce;const ne=t.getEmitResolver(),ve=t.getCompilerOptions(),{noResolve:Se,stripInternal:Ne}=ve;return st;function pe(me){if(me){B=B||new Set;for(const ni of me)B.add(ni)}}function fe(me,ni){const vi=ne.getTypeReferenceDirectivesForSymbol(ni,67108863);if(S(vi))return pe(vi);const mt=zn(me);ge.set(M1(mt),mt)}function xe(me){const ni=Z8(me),vi=ni&&ne.tryFindAmbientModule(ni);if(vi!=null&&vi.declarations)for(const mt of vi.declarations)N1(mt)&&zn(mt)!==se&&fe(mt,vi)}function Be(me){if(me.accessibility===0){if(me&&me.aliasesToMakeVisible)if(!k)k=me.aliasesToMakeVisible;else for(const ni of me.aliasesToMakeVisible)xa(k,ni)}else{const ni=s(me);if(ni)return ni.typeName?t.addDiagnostic(Su(me.errorNode||ni.errorNode,ni.diagnosticMessage,Hc(ni.typeName),me.errorSymbolName,me.errorModuleName)):t.addDiagnostic(Su(me.errorNode||ni.errorNode,ni.diagnosticMessage,me.errorSymbolName,me.errorModuleName)),!0}return!1}function Ge(me){f||(z||(z=[])).push(me)}function Ae(me,ni,vi){if(me.flags&262144)return!1;const mt=Be(ne.isSymbolAccessible(me,ni,vi,!0));return pe(ne.getTypeReferenceDirectivesForSymbol(me,vi)),mt}function De(me){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.Property_0_of_exported_class_expression_may_not_be_private_or_protected,me))}function Ke(){return Y?b0(Y):oe&&Za(oe)?b0(Za(oe)):oe&&tc(oe)?oe.isExportEquals?"export=":"default":"(Missing)"}function Je(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,Ke(),"unique symbol"))}function ft(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,Ke()))}function Ye(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,Ke(),"this"))}function Ve(me){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,Ke(),me))}function We(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))}function Gt(me,ni,vi){var mt;const Ot=(mt=ni.declarations)==null?void 0:mt.find($i=>zn($i)===me),Ei=ti(vi.declarations,$i=>zn($i)!==me);if(Ot&&Ei)for(const $i of Ei)t.addDiagnostic(Es(Su($i,F.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),Su(Ot,F.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}function Yt(me){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,me))}function Ie(me,ni){const vi=s;s=Ot=>Ot.errorNode&&mQ(Ot.errorNode)?h5(Ot.errorNode)(Ot):{diagnosticMessage:Ot.errorModuleName?F.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:F.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:Ot.errorNode||me};const mt=ne.getDeclarationStatementsForSourceFile(me,Tk,K,ni);return s=vi,mt}function st(me){if(me.kind===312&&me.isDeclarationFile)return me;if(me.kind===313){f=!0,ge=new Map,ae=new Map;let te=!1;const we=j.createBundle(Vt(me.sourceFiles,X=>{if(X.isDeclarationFile)return;if(te=te||X.hasNoDefaultLib,se=X,b=X,k=void 0,M=!1,T=new Map,s=u,E=!1,v=!1,St(X,ge),It(X,ae),cm(X)||W4(X)){p=!1,d=!1;const Ct=gh(X)?j.createNodeArray(Ie(X,!0)):kn(X.statements,oa,ia);return j.updateSourceFile(X,[j.createModuleDeclaration([j.createModifier(138)],j.createStringLiteral(Pq(t.getEmitHost(),X)),j.createModuleBlock(Pt(j.createNodeArray(Dn(Ct)),X.statements)))],!0,[],[],!1,[])}d=!0;const it=gh(X)?j.createNodeArray(Ie(X)):kn(X.statements,oa,ia);return j.updateSourceFile(X,Dn(it),!0,[],[],!1,[])}),qi(me.prepends,X=>{if(X.kind===315){const it=nce(X,"dts",Ne);return te=te||!!it.hasNoDefaultLib,St(it,ge),pe(Vt(it.typeReferenceDirectives,Ct=>[Ct.fileName,Ct.resolutionMode])),It(it,ae),it}return X}));we.syntheticFileReferences=[],we.syntheticTypeReferences=Qi(),we.syntheticLibReferences=$i(),we.hasNoDefaultLib=te;const de=lr(q1(CM(me,J,!0).declarationFilePath)),je=le(we.syntheticFileReferences,de);return ge.forEach(je),we}d=!0,E=!1,v=!1,b=me,se=me,s=u,f=!1,p=!1,M=!1,k=void 0,T=new Map,B=void 0,ge=St(se,new Map),ae=It(se,new Map);const ni=[],vi=lr(q1(CM(me,J,!0).declarationFilePath)),mt=le(ni,vi);let Ot;if(gh(se))Ot=j.createNodeArray(Ie(me)),ge.forEach(mt),Ce=ti(Ot,tk);else{const te=kn(me.statements,oa,ia);Ot=Pt(j.createNodeArray(Dn(te)),me.statements),ge.forEach(mt),Ce=ti(Ot,tk),wc(me)&&(!p||E&&!v)&&(Ot=Pt(j.createNodeArray([...Ot,NV(j)]),Ot))}const Ei=j.updateSourceFile(me,Ot,!0,ni,Qi(),me.hasNoDefaultLib,$i());return Ei.exportedModulesFromDeclarationEmit=z,Ei;function $i(){return ga(ae.keys(),te=>({fileName:te,pos:-1,end:-1}))}function Qi(){return B?qi(ga(B.keys()),on):[]}function on([te,we]){if(Ce){for(const de of Ce)if(E1(de)&&r_(de.moduleReference)){const je=de.moduleReference.expression;if(t0(je)&&je.text===te)return}else if(Sd(de)&&us(de.moduleSpecifier)&&de.moduleSpecifier.text===te)return}return{fileName:te,pos:-1,end:-1,...we?{resolutionMode:we}:void 0}}function le(te,we){return de=>{let je;if(de.isDeclarationFile)je=de.fileName;else{if(f&&kt(me.sourceFiles,de))return;const X=CM(de,J,!0);je=X.declarationFilePath||X.jsFilePath||de.fileName}if(je){const X=qY(ve,se,J0(we,J.getCurrentDirectory(),J.getCanonicalFileName),J0(je,J.getCurrentDirectory(),J.getCanonicalFileName),J);if(!om(X)){pe([[X,void 0]]);return}let it=i7(we,je,J.getCurrentDirectory(),J.getCanonicalFileName,!1);if(Pa(it,"./")&&t7(it)&&(it=it.substring(2)),Pa(it,"node_modules/")||q7(it))return;te.push({pos:-1,end:-1,fileName:it})}}}}function St(me,ni){return Se||!yk(me)&&gh(me)||L(me.referencedFiles,vi=>{const mt=J.getSourceFileFromReference(me,vi);mt&&ni.set(M1(mt),mt)}),ni}function It(me,ni){return L(me.libReferenceDirectives,vi=>{J.getLibFileFromReference(vi)&&ni.set($g(vi.fileName),!0)}),ni}function ei(me){if(me.kind===80)return me;return me.kind===207?j.updateArrayBindingPattern(me,kn(me.elements,ni,jU)):j.updateObjectBindingPattern(me,kn(me.elements,ni,js));function ni(vi){return vi.kind===232?vi:(vi.propertyName&&Ps(vi.propertyName)&&ec(vi.propertyName.expression)&&yr(vi.propertyName.expression,b),vi.propertyName&&at(vi.propertyName)&&at(vi.name)&&!vi.symbol.isReferenced&&!wq(vi.propertyName)?j.updateBindingElement(vi,vi.dotDotDotToken,void 0,vi.propertyName,Ut(vi)?vi.initializer:void 0):j.updateBindingElement(vi,vi.dotDotDotToken,vi.propertyName,ei(vi.name),Ut(vi)?vi.initializer:void 0))}}function ht(me,ni,vi){let mt;M||(mt=s,s=h5(me));const Ot=j.updateParameterDeclaration(me,ZMt(j,me,ni),me.dotDotDotToken,ei(me.name),ne.isOptionalParameter(me)?me.questionToken||j.createToken(58):void 0,ji(me,vi||me.type,!0),Ni(me));return M||(s=mt),Ot}function Ut(me){return YMt(me)&&ne.isLiteralConstDeclaration(Ua(me))}function Ni(me){if(Ut(me))return ne.createLiteralConstValue(Ua(me),K)}function ji(me,ni,vi){if(!vi&&Rf(me,2)||Ut(me))return;const mt=me.kind===169&&(ne.isRequiredInitializedParameter(me)||ne.isOptionalUninitializedParameterProperty(me));if(ni&&!mt)return yt(ni,Cn,Qr);if(!Ua(me))return ni?yt(ni,Cn,Qr):j.createKeywordTypeNode(133);if(me.kind===178)return j.createKeywordTypeNode(133);Y=me.name;let Ot;if(M||(Ot=s,s=h5(me)),me.kind===260||me.kind===208)return Ei(ne.createTypeOfDeclaration(me,b,Tk,K));if(me.kind===169||me.kind===172||me.kind===171)return Mm(me)||!me.initializer?Ei(ne.createTypeOfDeclaration(me,b,Tk,K,mt)):Ei(ne.createTypeOfDeclaration(me,b,Tk,K,mt)||ne.createTypeOfExpression(me.initializer,b,Tk,K));return Ei(ne.createReturnTypeOfSignatureDeclaration(me,b,Tk,K));function Ei($i){return Y=void 0,M||(s=Ot),$i||j.createKeywordTypeNode(133)}}function xn(me){switch(me=Ua(me),me.kind){case 262:case 267:case 264:case 263:case 265:case 266:return!ne.isDeclarationVisible(me);case 260:return!an(me);case 271:case 272:case 278:case 277:return!1;case 175:return!0}return!1}function Jn(me){var ni;if(me.body)return!0;const vi=(ni=me.symbol.declarations)==null?void 0:ni.filter(mt=>ed(mt)&&!mt.body);return!vi||vi.indexOf(me)===vi.length-1}function an(me){return Fd(me)?!1:So(me.name)?Oe(me.name.elements,an):ne.isDeclarationVisible(me)}function Pi(me,ni,vi){if(Rf(me,2))return j.createNodeArray();const mt=Vt(ni,Ot=>ht(Ot,vi));return mt?j.createNodeArray(mt,ni.hasTrailingComma):j.createNodeArray()}function Ai(me,ni){let vi;if(!ni){const mt=T2(me);mt&&(vi=[ht(mt)])}if(jf(me)){let mt;if(!ni){const Ot=hP(me);if(Ot){const Ei=gt(me,ne.getAllAccessorDeclarations(me));mt=ht(Ot,void 0,Ei)}}mt||(mt=j.createParameterDeclaration(void 0,void 0,"value")),vi=xi(vi,mt)}return j.createNodeArray(vi||_t)}function Zu(me,ni){return Rf(me,2)?void 0:kn(ni,Cn,Bl)}function aa(me){return la(me)||jp(me)||_c(me)||Wc(me)||xh(me)||Co(me)||Ek(me)||JP(me)}function yr(me,ni){const vi=ne.isEntityNameVisible(me,ni);Be(vi),pe(ne.getTypeReferenceDirectivesForEntityName(me))}function Ba(me,ni){return lm(me)&&lm(ni)&&(me.jsDoc=ni.jsDoc),Bc(me,nE(ni))}function bt(me,ni){if(ni){if(p=p||me.kind!==267&&me.kind!==205,t0(ni))if(f){const vi=Eye(t.getEmitHost(),ne,me);if(vi)return j.createStringLiteral(vi)}else{const vi=ne.getSymbolOfExternalModuleSpecifier(ni);vi&&(z||(z=[])).push(vi)}return ni}}function jn(me){if(ne.isDeclarationVisible(me))if(me.moduleReference.kind===283){const ni=XN(me);return j.updateImportEqualsDeclaration(me,me.modifiers,me.isTypeOnly,me.name,j.updateExternalModuleReference(me.moduleReference,bt(me,ni)))}else{const ni=s;return s=h5(me),yr(me.moduleReference,b),s=ni,me}}function Ln(me){if(!me.importClause)return j.updateImportDeclaration(me,me.modifiers,me.importClause,bt(me,me.moduleSpecifier),Si(me.attributes));const ni=me.importClause&&me.importClause.name&&ne.isDeclarationVisible(me.importClause)?me.importClause.name:void 0;if(!me.importClause.namedBindings)return ni&&j.updateImportDeclaration(me,me.modifiers,j.updateImportClause(me.importClause,me.importClause.isTypeOnly,ni,void 0),bt(me,me.moduleSpecifier),Si(me.attributes));if(me.importClause.namedBindings.kind===274){const mt=ne.isDeclarationVisible(me.importClause.namedBindings)?me.importClause.namedBindings:void 0;return ni||mt?j.updateImportDeclaration(me,me.modifiers,j.updateImportClause(me.importClause,me.importClause.isTypeOnly,ni,mt),bt(me,me.moduleSpecifier),Si(me.attributes)):void 0}const vi=qi(me.importClause.namedBindings.elements,mt=>ne.isDeclarationVisible(mt)?mt:void 0);if(vi&&vi.length||ni)return j.updateImportDeclaration(me,me.modifiers,j.updateImportClause(me.importClause,me.importClause.isTypeOnly,ni,vi&&vi.length?j.updateNamedImports(me.importClause.namedBindings,vi):void 0),bt(me,me.moduleSpecifier),Si(me.attributes));if(ne.isImportRequiredByAugmentation(me))return j.updateImportDeclaration(me,me.modifiers,void 0,bt(me,me.moduleSpecifier),Si(me.attributes))}function Si(me){const ni=qB(me);return me&&ni!==void 0?me:void 0}function Dn(me){for(;S(k);){const vi=k.shift();if(!iq(vi))return H.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${H.formatSyntaxKind(vi.kind)}`);const mt=d;d=vi.parent&&la(vi.parent)&&!(wc(vi.parent)&&f);const Ot=Ta(vi);d=mt,T.set(M1(vi),Ot)}return kn(me,ni,ia);function ni(vi){if(iq(vi)){const mt=M1(vi);if(T.has(mt)){const Ot=T.get(mt);return T.delete(mt),Ot&&((Ha(Ot)?Oe(Ot,VU):VU(Ot))&&(E=!0),la(vi.parent)&&(Ha(Ot)?Oe(Ot,YO):YO(Ot))&&(p=!0)),Ot}}return vi}}function Cn(me){if(Mt(me)||Q1(me)&&(xn(me)||Ix(me)&&!ne.isLateBound(Ua(me)))||Co(me)&&ne.isImplementationOfOverload(me)||lFe(me))return;let ni;aa(me)&&(ni=b,b=me);const vi=s,mt=mQ(me),Ot=M;let Ei=(me.kind===187||me.kind===200)&&me.parent.kind!==265;if((dc(me)||n3(me))&&Rf(me,2))return me.symbol&&me.symbol.declarations&&me.symbol.declarations[0]!==me?void 0:$i(j.createPropertyDeclaration(Pe(me),me.name,void 0,void 0,void 0));if(mt&&!M&&(s=h5(me)),bB(me)&&yr(me.exprName,b),Ei&&(M=!0),XMt(me))switch(me.kind){case 233:{(sm(me.expression)||ec(me.expression))&&yr(me.expression,b);const Qi=rn(me,Cn,t);return $i(j.updateExpressionWithTypeArguments(Qi,Qi.expression,Qi.typeArguments))}case 183:{yr(me.typeName,b);const Qi=rn(me,Cn,t);return $i(j.updateTypeReferenceNode(Qi,Qi.typeName,Qi.typeArguments))}case 180:return $i(j.updateConstructSignature(me,Zu(me,me.typeParameters),Pi(me,me.parameters),ji(me,me.type)));case 176:{const Qi=j.createConstructorDeclaration(Pe(me),Pi(me,me.parameters,0),void 0);return $i(Qi)}case 174:{if(Xr(me.name))return $i(void 0);const Qi=j.createMethodDeclaration(Pe(me),void 0,me.name,me.questionToken,Zu(me,me.typeParameters),Pi(me,me.parameters),ji(me,me.type),void 0);return $i(Qi)}case 177:{if(Xr(me.name))return $i(void 0);const Qi=gt(me,ne.getAllAccessorDeclarations(me));return $i(j.updateGetAccessorDeclaration(me,Pe(me),me.name,Ai(me,Rf(me,2)),ji(me,Qi),void 0))}case 178:return Xr(me.name)?$i(void 0):$i(j.updateSetAccessorDeclaration(me,Pe(me),me.name,Ai(me,Rf(me,2)),void 0));case 172:return Xr(me.name)?$i(void 0):$i(j.updatePropertyDeclaration(me,Pe(me),me.name,me.questionToken,ji(me,me.type),Ni(me)));case 171:return Xr(me.name)?$i(void 0):$i(j.updatePropertySignature(me,Pe(me),me.name,me.questionToken,ji(me,me.type)));case 173:return Xr(me.name)?$i(void 0):$i(j.updateMethodSignature(me,Pe(me),me.name,me.questionToken,Zu(me,me.typeParameters),Pi(me,me.parameters),ji(me,me.type)));case 179:return $i(j.updateCallSignature(me,Zu(me,me.typeParameters),Pi(me,me.parameters),ji(me,me.type)));case 181:return $i(j.updateIndexSignature(me,Pe(me),Pi(me,me.parameters),yt(me.type,Cn,Qr)||j.createKeywordTypeNode(133)));case 260:return So(me.name)?bo(me.name):(Ei=!0,M=!0,$i(j.updateVariableDeclaration(me,me.name,void 0,ji(me,me.type),Ni(me))));case 168:return tu(me)&&(me.default||me.constraint)?$i(j.updateTypeParameterDeclaration(me,me.modifiers,me.name,void 0,void 0)):$i(rn(me,Cn,t));case 194:{const Qi=yt(me.checkType,Cn,Qr),on=yt(me.extendsType,Cn,Qr),le=b;b=me.trueType;const te=yt(me.trueType,Cn,Qr);b=le;const we=yt(me.falseType,Cn,Qr);return H.assert(Qi),H.assert(on),H.assert(te),H.assert(we),$i(j.updateConditionalTypeNode(me,Qi,on,te,we))}case 184:return $i(j.updateFunctionTypeNode(me,kn(me.typeParameters,Cn,Bl),Pi(me,me.parameters),H.checkDefined(yt(me.type,Cn,Qr))));case 185:return $i(j.updateConstructorTypeNode(me,Pe(me),kn(me.typeParameters,Cn,Bl),Pi(me,me.parameters),H.checkDefined(yt(me.type,Cn,Qr))));case 205:return zx(me)?(xe(me),$i(j.updateImportTypeNode(me,j.updateLiteralTypeNode(me.argument,bt(me,me.argument.literal)),me.attributes,me.qualifier,kn(me.typeArguments,Cn,Qr),me.isTypeOf))):$i(me);default:H.assertNever(me,`Attempted to process unhandled node kind: ${H.formatSyntaxKind(me.kind)}`)}return yB(me)&&s0(se,me.pos).line===s0(se,me.end).line&&Zn(me,1),$i(rn(me,Cn,t));function $i(Qi){return Qi&&mt&&Ix(me)&&Et(me),aa(me)&&(b=ni),mt&&!M&&(s=vi),Ei&&(M=Ot),Qi===me?Qi:Qi&&su(Ba(Qi,me),me)}}function tu(me){return me.parent.kind===174&&Rf(me.parent,2)}function oa(me){if(!QMt(me)||Mt(me))return;switch(me.kind){case 278:return la(me.parent)&&(p=!0),v=!0,xe(me),j.updateExportDeclaration(me,me.modifiers,me.isTypeOnly,me.exportClause,bt(me,me.moduleSpecifier),Si(me.attributes));case 277:{if(la(me.parent)&&(p=!0),v=!0,me.expression.kind===80)return me;{const vi=j.createUniqueName("_default",16);s=()=>({diagnosticMessage:F.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:me}),oe=me;const mt=j.createVariableDeclaration(vi,void 0,ne.createTypeOfExpression(me.expression,me,Tk,K),void 0);oe=void 0;const Ot=j.createVariableStatement(d?[j.createModifier(138)]:[],j.createVariableDeclarationList([mt],2));return Ba(Ot,me),EV(me),[Ot,j.updateExportAssignment(me,me.modifiers,vi)]}}}const ni=Ta(me);return T.set(M1(me),ni),me}function Da(me){if(E1(me)||Rf(me,2048)||!Hp(me))return me;const ni=j.createModifiersFromModifierFlags(Eh(me)&131039);return j.replaceModifiers(me,ni)}function ua(me,ni,vi,mt){const Ot=j.updateModuleDeclaration(me,ni,vi,mt);if(N1(Ot)||Ot.flags&32)return Ot;const Ei=j.createModuleDeclaration(Ot.modifiers,Ot.name,Ot.body,Ot.flags|32);return su(Ei,Ot),Pt(Ei,Ot),Ei}function Ta(me){if(k)for(;gO(k,me););if(Mt(me))return;switch(me.kind){case 271:{const $i=jn(me);return $i&&xe(me),$i}case 272:{const $i=Ln(me);return $i&&xe(me),$i}}if(Q1(me)&&xn(me)||Co(me)&&ne.isImplementationOfOverload(me))return;let ni;aa(me)&&(ni=b,b=me);const vi=mQ(me),mt=s;vi&&(s=h5(me));const Ot=d;switch(me.kind){case 265:{d=!1;const $i=Ei(j.updateTypeAliasDeclaration(me,Pe(me),me.name,kn(me.typeParameters,Cn,Bl),H.checkDefined(yt(me.type,Cn,Qr))));return d=Ot,$i}case 264:return Ei(j.updateInterfaceDeclaration(me,Pe(me),me.name,Zu(me,me.typeParameters),ii(me.heritageClauses),kn(me.members,Cn,Zy)));case 262:{const $i=Ei(j.updateFunctionDeclaration(me,Pe(me),void 0,me.name,Zu(me,me.typeParameters),Pi(me,me.parameters),ji(me,me.type),void 0));if($i&&ne.isExpandoFunctionDeclaration(me)&&Jn(me)){const Qi=ne.getPropertiesOfContainerFunction(me),on=a_.createModuleDeclaration(void 0,$i.name||j.createIdentifier("_default"),j.createModuleBlock([]),32);ks(on,b),on.locals=Vo(Qi),on.symbol=Qi[0].parent;const le=[];let te=qi(Qi,Ct=>{if(!EZ(Ct.valueDeclaration))return;const ct=Yr(Ct.escapedName);if(!Lm(ct,99))return;s=h5(Ct.valueDeclaration);const Qt=ne.createTypeOfDeclaration(Ct.valueDeclaration,on,Tk,K);s=mt;const Li=m7(ct),Ui=Li?j.getGeneratedNameForNode(Ct.valueDeclaration):j.createIdentifier(ct);Li&&le.push([Ui,ct]);const Sn=j.createVariableDeclaration(Ui,void 0,Qt,void 0);return j.createVariableStatement(Li?void 0:[j.createToken(95)],j.createVariableDeclarationList([Sn]))});le.length?te.push(j.createExportDeclaration(void 0,!1,j.createNamedExports(Vt(le,([Ct,ct])=>j.createExportSpecifier(!1,Ct,ct))))):te=qi(te,Ct=>j.replaceModifiers(Ct,0));const we=j.createModuleDeclaration(Pe(me),me.name,j.createModuleBlock(te),32);if(!Rf($i,2048))return[$i,we];const de=j.createModifiersFromModifierFlags(Eh($i)&-2081|128),je=j.updateFunctionDeclaration($i,de,void 0,$i.name,$i.typeParameters,$i.parameters,$i.type,void 0),X=j.updateModuleDeclaration(we,de,we.name,we.body),it=j.createExportAssignment(void 0,!1,we.name);return la(me.parent)&&(p=!0),v=!0,[je,X,it]}else return $i}case 267:{d=!1;const $i=me.body;if($i&&$i.kind===268){const Qi=E,on=v;v=!1,E=!1;const le=kn($i.statements,oa,ia);let te=Dn(le);me.flags&33554432&&(E=!1),!Yg(me)&&!Xt(te)&&!v&&(E?te=j.createNodeArray([...te,NV(j)]):te=kn(te,Da,ia));const we=j.updateModuleBlock($i,te);d=Ot,E=Qi,v=on;const de=Pe(me);return Ei(ua(me,de,v2(me)?bt(me,me.name):me.name,we))}else{d=Ot;const Qi=Pe(me);d=!1,yt($i,oa);const on=M1($i),le=T.get(on);return T.delete(on),Ei(ua(me,Qi,me.name,le))}}case 263:{Y=me.name,oe=me;const $i=j.createNodeArray(Pe(me)),Qi=Zu(me,me.typeParameters),on=X_(me);let le;if(on){const it=s;le=Dr(ju(on.parameters,Ct=>{if(!Yu(Ct,31)||Mt(Ct))return;if(s=h5(Ct),Ct.name.kind===80)return Ba(j.createPropertyDeclaration(Pe(Ct),Ct.name,Ct.questionToken,ji(Ct,Ct.type),Ni(Ct)),Ct);return ct(Ct.name);function ct(Qt){let Li;for(const Ui of Qt.elements)Fd(Ui)||(So(Ui.name)&&(Li=Hi(Li,ct(Ui.name))),Li=Li||[],Li.push(j.createPropertyDeclaration(Pe(Ct),Ui.name,void 0,ji(Ui,void 0),void 0)));return Li}})),s=it}const we=Oe(me.members,it=>!!it.name&&Xr(it.name))?[j.createPropertyDeclaration(void 0,j.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,de=Hi(Hi(we,le),kn(me.members,Cn,Zd)),je=j.createNodeArray(de),X=Qg(me);if(X&&!ec(X.expression)&&X.expression.kind!==106){const it=me.name?Yr(me.name.escapedText):"default",Ct=j.createUniqueName(`${it}_base`,16);s=()=>({diagnosticMessage:F.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:X,typeName:me.name});const ct=j.createVariableDeclaration(Ct,void 0,ne.createTypeOfExpression(X.expression,me,Tk,K),void 0),Qt=j.createVariableStatement(d?[j.createModifier(138)]:[],j.createVariableDeclarationList([ct],2)),Li=j.createNodeArray(Vt(me.heritageClauses,Ui=>{if(Ui.token===96){const Sn=s;s=h5(Ui.types[0]);const du=j.updateHeritageClause(Ui,Vt(Ui.types,Ru=>j.updateExpressionWithTypeArguments(Ru,Ct,kn(Ru.typeArguments,Cn,Qr))));return s=Sn,du}return j.updateHeritageClause(Ui,kn(j.createNodeArray(ti(Ui.types,Sn=>ec(Sn.expression)||Sn.expression.kind===106)),Cn,c5))}));return[Qt,Ei(j.updateClassDeclaration(me,$i,me.name,Qi,Li,je))]}else{const it=ii(me.heritageClauses);return Ei(j.updateClassDeclaration(me,$i,me.name,Qi,it,je))}}case 243:return Ei(Yo(me));case 266:return Ei(j.updateEnumDeclaration(me,j.createNodeArray(Pe(me)),me.name,j.createNodeArray(qi(me.members,$i=>{if(Mt($i))return;const Qi=ne.getConstantValue($i);return Ba(j.updateEnumMember($i,$i.name,Qi!==void 0?typeof Qi=="string"?j.createStringLiteral(Qi):j.createNumericLiteral(Qi):void 0),$i)}))))}return H.assertNever(me,`Unhandled top-level node in declaration emit: ${H.formatSyntaxKind(me.kind)}`);function Ei($i){return aa(me)&&(b=ni),vi&&(s=mt),me.kind===267&&(d=Ot),$i===me?$i:(oe=void 0,Y=void 0,$i&&su(Ba($i,me),me))}}function Yo(me){if(!L(me.declarationList.declarations,an))return;const ni=kn(me.declarationList.declarations,Cn,na);if(!S(ni))return;const vi=j.createNodeArray(Pe(me));let mt;return cj(me.declarationList)||lj(me.declarationList)?(mt=j.createVariableDeclarationList(ni,2),su(mt,me.declarationList),Pt(mt,me.declarationList),Bc(mt,me.declarationList)):mt=j.updateVariableDeclarationList(me.declarationList,ni),j.updateVariableStatement(me,vi,mt)}function bo(me){return Va(qi(me.elements,ni=>Qe(ni)))}function Qe(me){if(me.kind!==232&&me.name)return an(me)?So(me.name)?bo(me.name):j.createVariableDeclaration(me.name,void 0,ji(me,void 0),void 0):void 0}function Et(me){let ni;M||(ni=s,s=k7e(me)),Y=me.name,H.assert(ne.isLateBound(Ua(me)));const mt=me.name.expression;yr(mt,b),M||(s=ni),Y=void 0}function Mt(me){return!!Ne&&!!me&&o1e(me,se)}function qt(me){return tc(me)||Gc(me)}function Xt(me){return Oe(me,qt)}function Pe(me){const ni=Eh(me),vi=et(me);return ni===vi?dH(me.modifiers,mt=>ur(mt,Qo),Qo):j.createModifiersFromModifierFlags(vi)}function et(me){let ni=130030,vi=d&&!qMt(me)?128:0;const mt=me.parent.kind===312;return(!mt||f&&mt&&wc(me.parent))&&(ni^=128,vi=0),Uet(me,ni,vi)}function gt(me,ni){let vi=A7e(me);return!vi&&me!==ni.firstAccessor&&(vi=A7e(ni.firstAccessor),s=h5(ni.firstAccessor)),!vi&&ni.secondAccessor&&me!==ni.secondAccessor&&(vi=A7e(ni.secondAccessor),s=h5(ni.secondAccessor)),vi}function ii(me){return j.createNodeArray(ti(Vt(me,ni=>j.updateHeritageClause(ni,kn(j.createNodeArray(ti(ni.types,vi=>ec(vi.expression)||ni.token===96&&vi.expression.kind===106)),Cn,c5))),ni=>ni.types&&!!ni.types.length))}}function qMt(t){return t.kind===264}function ZMt(t,u,s,d){return t.createModifiersFromModifierFlags(Uet(u,s,d))}function Uet(t,u=131070,s=0){let d=Eh(t)&u|s;return d&2048&&!(d&32)&&(d^=32),d&2048&&d&128&&(d^=128),d}function A7e(t){if(t)return t.kind===177?t.type:t.parameters.length>0?t.parameters[0].type:void 0}function YMt(t){switch(t.kind){case 172:case 171:return!Rf(t,2);case 169:case 260:return!0}return!1}function QMt(t){switch(t.kind){case 262:case 267:case 271:case 264:case 263:case 265:case 266:case 243:case 272:case 278:case 277:return!0}return!1}function XMt(t){switch(t.kind){case 180:case 176:case 174:case 177:case 178:case 172:case 171:case 173:case 179:case 181:case 260:case 168:case 233:case 183:case 194:case 184:case 185:case 205:return!0}return!1}var Tk,ezt=o({"src/compiler/transformers/declarations.ts"(){Bo(),NAe(),Tk=531469}});function tzt(t){switch(t){case 99:case 7:case 6:case 5:return a1e;case 4:return b7e;case 100:case 199:return y7e;default:return r1e}}function l1e(t,u,s){return{scriptTransformers:izt(t,u,s),declarationTransformers:nzt(u)}}function izt(t,u,s){if(s)return _t;const d=Os(t),f=m1(t),p=eV(t),E=[];return yn(E,u&&Vt(u.before,Zet)),E.push(u7e),t.experimentalDecorators&&E.push(o7e),iZ(t)&&E.push(_7e),d<99&&E.push(m7e),!t.experimentalDecorators&&(d<99||!p)&&E.push(s7e),E.push(r7e),d<8&&E.push(f7e),d<7&&E.push(h7e),d<6&&E.push(d7e),d<5&&E.push(c7e),d<4&&E.push(l7e),d<3&&E.push(D7e),d<2&&(E.push(x7e),E.push(C7e)),E.push(tzt(f)),d<1&&E.push(v7e),yn(E,u&&Vt(u.after,Zet)),E}function nzt(t){const u=[];return u.push(s1e),yn(u,t&&Vt(t.afterDeclarations,rzt)),u}function uzt(t){return u=>kce(u)?t.transformBundle(u):t.transformSourceFile(u)}function qet(t,u){return s=>{const d=t(s);return typeof d=="function"?u(s,d):uzt(d)}}function Zet(t){return qet(t,Kp)}function rzt(t){return qet(t,(u,s)=>s)}function xM(t,u){return u}function mH(t,u,s){s(t,u)}function pH(t,u,s,d,f,p,E){var v,b;const B=new Array(363);let k,T,M,z=0,j=[],J=[],K=[],Y=[],oe=0,se=!1,ge=[],ae=0,Ce,ne,ve=xM,Se=mH,Ne=0;const pe=[],fe={factory:s,getCompilerOptions:()=>d,getEmitResolver:()=>t,getEmitHost:()=>u,getEmitHelperFactory:Mh(()=>$ke(fe)),startLexicalEnvironment:Ie,suspendLexicalEnvironment:st,resumeLexicalEnvironment:St,endLexicalEnvironment:It,setLexicalEnvironmentFlags:ei,getLexicalEnvironmentFlags:ht,hoistVariableDeclaration:We,hoistFunctionDeclaration:Gt,addInitializationStatement:Yt,startBlockScope:Ut,endBlockScope:Ni,addBlockScopedVariable:ji,requestEmitHelper:xn,readEmitHelpers:Jn,enableSubstitution:De,enableEmitNotification:ft,isSubstitutionEnabled:Ke,isEmitNotificationEnabled:Ye,get onSubstituteNode(){return ve},set onSubstituteNode(Pi){H.assert(Ne<1,"Cannot modify transformation hooks after initialization has completed."),H.assert(Pi!==void 0,"Value must not be 'undefined'"),ve=Pi},get onEmitNode(){return Se},set onEmitNode(Pi){H.assert(Ne<1,"Cannot modify transformation hooks after initialization has completed."),H.assert(Pi!==void 0,"Value must not be 'undefined'"),Se=Pi},addDiagnostic(Pi){pe.push(Pi)}};for(const Pi of f)oce(zn(Ua(Pi)));ul("beforeTransform");const xe=p.map(Pi=>Pi(fe)),Be=Pi=>{for(const Ai of xe)Pi=Ai(Pi);return Pi};Ne=1;const Ge=[];for(const Pi of f)(v=Gn)==null||v.push(Gn.Phase.Emit,"transformNodes",Pi.kind===312?{path:Pi.path}:{kind:Pi.kind,pos:Pi.pos,end:Pi.end}),Ge.push((E?Be:Ae)(Pi)),(b=Gn)==null||b.pop();return Ne=2,ul("afterTransform"),Tm("transformTime","beforeTransform","afterTransform"),{transformed:Ge,substituteNode:Je,emitNodeWithNotification:Ve,isEmitNotificationEnabled:Ye,dispose:an,diagnostics:pe};function Ae(Pi){return Pi&&(!la(Pi)||!Pi.isDeclarationFile)?Be(Pi):Pi}function De(Pi){H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed."),B[Pi]|=1}function Ke(Pi){return(B[Pi.kind]&1)!==0&&(bs(Pi)&8)===0}function Je(Pi,Ai){return H.assert(Ne<3,"Cannot substitute a node after the result is disposed."),Ai&&Ke(Ai)&&ve(Pi,Ai)||Ai}function ft(Pi){H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed."),B[Pi]|=2}function Ye(Pi){return(B[Pi.kind]&2)!==0||(bs(Pi)&4)!==0}function Ve(Pi,Ai,Zu){H.assert(Ne<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),Ai&&(Ye(Ai)?Se(Pi,Ai,Zu):Zu(Pi,Ai))}function We(Pi){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed.");const Ai=Zn(s.createVariableDeclaration(Pi),128);k?k.push(Ai):k=[Ai],z&1&&(z|=2)}function Gt(Pi){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),Zn(Pi,2097152),T?T.push(Pi):T=[Pi]}function Yt(Pi){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),Zn(Pi,2097152),M?M.push(Pi):M=[Pi]}function Ie(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(!se,"Lexical environment is suspended."),j[oe]=k,J[oe]=T,K[oe]=M,Y[oe]=z,oe++,k=void 0,T=void 0,M=void 0,z=0}function st(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(!se,"Lexical environment is already suspended."),se=!0}function St(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(se,"Lexical environment is not suspended."),se=!1}function It(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(!se,"Lexical environment is suspended.");let Pi;if(k||T||M){if(T&&(Pi=[...T]),k){const Ai=s.createVariableStatement(void 0,s.createVariableDeclarationList(k));Zn(Ai,2097152),Pi?Pi.push(Ai):Pi=[Ai]}M&&(Pi?Pi=[...Pi,...M]:Pi=[...M])}return oe--,k=j[oe],T=J[oe],M=K[oe],z=Y[oe],oe===0&&(j=[],J=[],K=[],Y=[]),Pi}function ei(Pi,Ai){z=Ai?z|Pi:z&~Pi}function ht(){return z}function Ut(){H.assert(Ne>0,"Cannot start a block scope during initialization."),H.assert(Ne<2,"Cannot start a block scope after transformation has completed."),ge[ae]=Ce,ae++,Ce=void 0}function Ni(){H.assert(Ne>0,"Cannot end a block scope during initialization."),H.assert(Ne<2,"Cannot end a block scope after transformation has completed.");const Pi=Oe(Ce)?[s.createVariableStatement(void 0,s.createVariableDeclarationList(Ce.map(Ai=>s.createVariableDeclaration(Ai)),1))]:void 0;return ae--,Ce=ge[ae],ae===0&&(ge=[]),Pi}function ji(Pi){H.assert(ae>0,"Cannot add a block scoped variable outside of an iteration body."),(Ce||(Ce=[])).push(Pi)}function xn(Pi){if(H.assert(Ne>0,"Cannot modify the transformation context during initialization."),H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed."),H.assert(!Pi.scoped,"Cannot request a scoped emit helper."),Pi.dependencies)for(const Ai of Pi.dependencies)xn(Ai);ne=xi(ne,Pi)}function Jn(){H.assert(Ne>0,"Cannot modify the transformation context during initialization."),H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed.");const Pi=ne;return ne=void 0,Pi}function an(){if(Ne<3){for(const Pi of f)oce(zn(Ua(Pi)));k=void 0,j=void 0,T=void 0,J=void 0,ve=void 0,Se=void 0,ne=void 0,Ne=3}}}var c1e,Dg,azt=o({"src/compiler/transformer.ts"(){Bo(),Wy(),c1e={scriptTransformers:_t,declarationTransformers:_t},Dg={factory:q,getCompilerOptions:()=>({}),getEmitResolver:ho,getEmitHost:ho,getEmitHelperFactory:ho,startLexicalEnvironment:Is,resumeLexicalEnvironment:Is,suspendLexicalEnvironment:Is,endLexicalEnvironment:hv,setLexicalEnvironmentFlags:Is,getLexicalEnvironmentFlags:()=>0,hoistVariableDeclaration:Is,hoistFunctionDeclaration:Is,addInitializationStatement:Is,startBlockScope:Is,endBlockScope:hv,addBlockScopedVariable:Is,requestEmitHelper:Is,readEmitHelpers:ho,enableSubstitution:Is,enableEmitNotification:Is,isSubstitutionEnabled:ho,isEmitNotificationEnabled:ho,onSubstituteNode:xM,onEmitNode:mH,addDiagnostic:Is}}});function S7e(t){return Ml(t,".tsbuildinfo")}function d1e(t,u,s,d=!1,f,p){const E=Ha(s)?s:ile(t,s,d),v=t.getCompilerOptions();if(y0(v)){const b=t.getPrependNodes();if(E.length||b.length){const B=q.createBundle(E,b),k=u(CM(B,t,d),B);if(k)return k}}else{if(!f)for(const b of E){const B=u(CM(b,t,d),b);if(B)return B}if(p){const b=f5(v);if(b)return u({buildInfoPath:b},void 0)}}}function f5(t){const u=t.configFilePath;if(!Xj(t))return;if(t.tsBuildInfoFile)return t.tsBuildInfoFile;const s=y0(t);let d;if(s)d=_h(s);else{if(!u)return;const f=_h(u);d=t.outDir?t.rootDir?kx(t.outDir,JE(t.rootDir,f,!0)):cr(t.outDir,Ac(f)):f}return d+".tsbuildinfo"}function vM(t,u){const s=y0(t),d=t.emitDeclarationOnly?void 0:s,f=d&&Yet(d,t),p=u||c4(t)?_h(s)+".d.ts":void 0,E=p&&Xq(t)?p+".map":void 0,v=f5(t);return{jsFilePath:d,sourceMapFilePath:f,declarationFilePath:p,declarationMapPath:E,buildInfoPath:v}}function CM(t,u,s){const d=u.getCompilerOptions();if(t.kind===313)return vM(d,s);{const f=_ye(t.fileName,u,pQ(t.fileName,d)),p=W4(t),E=p&&pv(t.fileName,f,u.getCurrentDirectory(),!u.useCaseSensitiveFileNames())===0,v=d.emitDeclarationOnly||E?void 0:f,b=!v||W4(t)?void 0:Yet(v,d),B=s||c4(d)&&!p?Dye(t.fileName,u):void 0,k=B&&Xq(d)?B+".map":void 0;return{jsFilePath:v,sourceMapFilePath:b,declarationFilePath:B,declarationMapPath:k,buildInfoPath:void 0}}}function Yet(t,u){return u.sourceMap&&!u.inlineSourceMap?t+".map":void 0}function pQ(t,u){return Ml(t,".json")?".json":u.jsx===1&&jc(t,[".jsx",".tsx"])?".jsx":jc(t,[".mts",".mjs"])?".mjs":jc(t,[".cts",".cjs"])?".cjs":".js"}function Qet(t,u,s,d,f){return d?kx(d,JE(f?f():kM(u,s),t,s)):t}function bM(t,u,s,d){return wv(Qet(t,u,s,u.options.declarationDir||u.options.outDir,d),Kj(t))}function Xet(t,u,s,d){if(u.options.emitDeclarationOnly)return;const f=Ml(t,".json"),p=wv(Qet(t,u,s,u.options.outDir,d),pQ(t,u.options));return!f||pv(t,p,H.checkDefined(u.options.configFilePath),s)!==0?p:void 0}function ett(){let t;return{addOutput:u,getOutputs:s};function u(d){d&&(t||(t=[])).push(d)}function s(){return t||_t}}function ttt(t,u){const{jsFilePath:s,sourceMapFilePath:d,declarationFilePath:f,declarationMapPath:p,buildInfoPath:E}=vM(t.options,!1);u(s),u(d),u(f),u(p),u(E)}function itt(t,u,s,d,f){if(e1(u))return;const p=Xet(u,t,s,f);if(d(p),!Ml(u,".json")&&(p&&t.options.sourceMap&&d(`${p}.map`),c4(t.options))){const E=bM(u,t,s,f);d(E),t.options.declarationMap&&d(`${E}.map`)}}function yM(t,u,s,d,f){let p;return t.rootDir?(p=$a(t.rootDir,s),f==null||f(t.rootDir)):t.composite&&t.configFilePath?(p=lr(q1(t.configFilePath)),f==null||f(p)):p=P7e(u(),s,d),p&&p[p.length-1]!==rl&&(p+=rl),p}function kM({options:t,fileNames:u},s){return yM(t,()=>ti(u,d=>!(t.noEmitForJsFiles&&jc(d,_B))&&!e1(d)),lr(q1(H.checkDefined(t.configFilePath))),L1(!s))}function gQ(t,u){const{addOutput:s,getOutputs:d}=ett();if(y0(t.options))ttt(t,s);else{const f=Mh(()=>kM(t,u));for(const p of t.fileNames)itt(t,p,u,s,f);s(f5(t.options))}return d()}function ntt(t,u,s){u=$o(u),H.assert(kt(t.fileNames,u),"Expected fileName to be present in command line");const{addOutput:d,getOutputs:f}=ett();return y0(t.options)?ttt(t,d):itt(t,u,s,d),f()}function h1e(t,u){if(y0(t.options)){const{jsFilePath:f,declarationFilePath:p}=vM(t.options,!1);return H.checkDefined(f||p,`project ${t.options.configFilePath} expected to have at least one output`)}const s=Mh(()=>kM(t,u));for(const f of t.fileNames){if(e1(f))continue;const p=Xet(f,t,u,s);if(p)return p;if(!Ml(f,".json")&&c4(t.options))return bM(f,t,u,s)}const d=f5(t.options);return d||H.fail(`project ${t.options.configFilePath} expected to have at least one output`)}function EQ(t,u,s,{scriptTransformers:d,declarationTransformers:f},p,E,v){var b=u.getCompilerOptions(),B=b.sourceMap||b.inlineSourceMap||Xq(b)?[]:void 0,k=b.listEmittedFiles?[]:void 0,T=rB(),M=a5(b),z=Vj(M),{enter:j,exit:J}=Doe("printTime","beforePrint","afterPrint"),K,Y=!1;return j(),d1e(u,oe,ile(u,s,v),v,E,!s),J(),{emitSkipped:Y,diagnostics:T.getDiagnostics(),emittedFiles:k,sourceMaps:B};function oe({jsFilePath:fe,sourceMapFilePath:xe,declarationFilePath:Be,declarationMapPath:Ge,buildInfoPath:Ae},De){var Ke,Je,ft,Ye,Ve,We;let Gt;Ae&&De&&kce(De)&&(Gt=lr($a(Ae,u.getCurrentDirectory())),K={commonSourceDirectory:Yt(u.getCommonSourceDirectory()),sourceFiles:De.sourceFiles.map(Ie=>Yt($a(Ie.fileName,u.getCurrentDirectory())))}),(Ke=Gn)==null||Ke.push(Gn.Phase.Emit,"emitJsFileOrBundle",{jsFilePath:fe}),ge(De,fe,xe,Yt),(Je=Gn)==null||Je.pop(),(ft=Gn)==null||ft.push(Gn.Phase.Emit,"emitDeclarationFileOrBundle",{declarationFilePath:Be}),ae(De,Be,Ge,Yt),(Ye=Gn)==null||Ye.pop(),(Ve=Gn)==null||Ve.push(Gn.Phase.Emit,"emitBuildInfo",{buildInfoPath:Ae}),se(K,Ae),(We=Gn)==null||We.pop(),!Y&&k&&(p||(fe&&k.push(fe),xe&&k.push(xe),Ae&&k.push(Ae)),p!==0&&(Be&&k.push(Be),Ge&&k.push(Ge)));function Yt(Ie){return h2(JE(Gt,Ie,u.getCanonicalFileName))}}function se(fe,xe){if(!xe||s||Y)return;if(u.isEmitBlocked(xe)){Y=!0;return}const Be=u.getBuildInfo(fe)||gH(void 0,fe);cP(u,T,xe,B7e(Be),!1,void 0,{buildInfo:Be})}function ge(fe,xe,Be,Ge){if(!fe||p||!xe)return;if(u.isEmitBlocked(xe)||b.noEmit){Y=!0;return}const Ae=pH(t,u,q,b,[fe],d,!1),De={removeComments:b.removeComments,newLine:b.newLine,noEmitHelpers:b.noEmitHelpers,module:b.module,target:b.target,sourceMap:b.sourceMap,inlineSourceMap:b.inlineSourceMap,inlineSources:b.inlineSources,extendedDiagnostics:b.extendedDiagnostics,writeBundleFileInfo:!!K,relativeToBuildInfo:Ge},Ke=Gv(De,{hasGlobalName:t.hasGlobalName,onEmitNode:Ae.emitNodeWithNotification,isEmitNotificationEnabled:Ae.isEmitNotificationEnabled,substituteNode:Ae.substituteNode});H.assert(Ae.transformed.length===1,"Should only see one output from the transform"),ne(xe,Be,Ae,Ke,b),Ae.dispose(),K&&(K.js=Ke.bundleFileInfo)}function ae(fe,xe,Be,Ge){if(!fe||p===0)return;if(!xe){(p||b.emitDeclarationOnly)&&(Y=!0);return}const Ae=la(fe)?[fe]:fe.sourceFiles,De=v?Ae:ti(Ae,T0e),Ke=y0(b)?[q.createBundle(De,la(fe)?void 0:fe.prepends)]:De;p&&!c4(b)&&De.forEach(Ce);const Je=pH(t,u,q,b,Ke,f,!1);if(S(Je.diagnostics))for(const We of Je.diagnostics)T.add(We);const ft={removeComments:b.removeComments,newLine:b.newLine,noEmitHelpers:!0,module:b.module,target:b.target,sourceMap:!v&&b.declarationMap,inlineSourceMap:b.inlineSourceMap,extendedDiagnostics:b.extendedDiagnostics,onlyPrintJsDocStyle:!0,omitBraceSourceMapPositions:!0,writeBundleFileInfo:!!K,recordInternalSection:!!K,relativeToBuildInfo:Ge},Ye=Gv(ft,{hasGlobalName:t.hasGlobalName,onEmitNode:Je.emitNodeWithNotification,isEmitNotificationEnabled:Je.isEmitNotificationEnabled,substituteNode:Je.substituteNode}),Ve=!!Je.diagnostics&&!!Je.diagnostics.length||!!u.isEmitBlocked(xe)||!!b.noEmit;Y=Y||Ve,(!Ve||v)&&(H.assert(Je.transformed.length===1,"Should only see one output from the decl transform"),ne(xe,Be,Je,Ye,{sourceMap:ft.sourceMap,sourceRoot:b.sourceRoot,mapRoot:b.mapRoot,extendedDiagnostics:b.extendedDiagnostics})),Je.dispose(),K&&(K.dts=Ye.bundleFileInfo)}function Ce(fe){if(tc(fe)){fe.expression.kind===80&&t.collectLinkedAliases(fe.expression,!0);return}else if(eh(fe)){t.collectLinkedAliases(fe.propertyName||fe.name,!0);return}ao(fe,Ce)}function ne(fe,xe,Be,Ge,Ae){const De=Be.transformed[0],Ke=De.kind===313?De:void 0,Je=De.kind===312?De:void 0,ft=Ke?Ke.sourceFiles:[Je];let Ye;ve(Ae,De)&&(Ye=jAe(u,Ac(q1(fe)),Se(Ae),Ne(Ae,fe,Je),Ae)),Ke?Ge.writeBundle(Ke,z,Ye):Ge.writeFile(Je,z,Ye);let Ve;if(Ye){B&&B.push({inputSourceFileNames:Ye.getSources(),sourceMap:Ye.toJSON()});const Gt=pe(Ae,Ye,fe,xe,Je);if(Gt&&(z.isAtStartOfLine()||z.rawWrite(M),Ve=z.getTextPos(),z.writeComment(`//# sourceMappingURL=${Gt}`)),xe){const Yt=Ye.toString();cP(u,T,xe,Yt,!1,ft),Ge.bundleFileInfo&&(Ge.bundleFileInfo.mapHash=Nk(Yt,u))}}else z.writeLine();const We=z.getText();cP(u,T,fe,We,!!b.emitBOM,ft,{sourceMapUrlPos:Ve,diagnostics:Be.diagnostics}),Ge.bundleFileInfo&&(Ge.bundleFileInfo.hash=Nk(We,u)),z.clear()}function ve(fe,xe){return(fe.sourceMap||fe.inlineSourceMap)&&(xe.kind!==312||!Ml(xe.fileName,".json"))}function Se(fe){const xe=q1(fe.sourceRoot||"");return xe&&zd(xe)}function Ne(fe,xe,Be){if(fe.sourceRoot)return u.getCommonSourceDirectory();if(fe.mapRoot){let Ge=q1(fe.mapRoot);return Be&&(Ge=lr(Iq(Be.fileName,u,Ge))),WE(Ge)===0&&(Ge=cr(u.getCommonSourceDirectory(),Ge)),Ge}return lr($o(xe))}function pe(fe,xe,Be,Ge,Ae){if(fe.inlineSourceMap){const Ke=xe.toString();return`data:application/json;base64,${Oye(c1,Ke)}`}const De=Ac(q1(H.checkDefined(Ge)));if(fe.mapRoot){let Ke=q1(fe.mapRoot);return Ae&&(Ke=lr(Iq(Ae.fileName,u,Ke))),WE(Ke)===0?(Ke=cr(u.getCommonSourceDirectory(),Ke),encodeURI(i7(lr($o(Be)),cr(Ke,De),u.getCurrentDirectory(),u.getCanonicalFileName,!0))):encodeURI(cr(Ke,De))}return encodeURI(De)}}function gH(t,u){return{bundle:u,program:t,version:_}}function B7e(t){return JSON.stringify(t)}function _Q(t,u){return hle(t,u)}function ozt(t,u,s){var d;const f=H.checkDefined(t.js),p=((d=f.sources)==null?void 0:d.prologues)&&lg(f.sources.prologues,E=>E.file);return t.sourceFiles.map((E,v)=>{const b=p==null?void 0:p.get(v),B=b==null?void 0:b.directives.map(M=>{const z=Pt(q.createStringLiteral(M.expression.text),M.expression),j=Pt(q.createExpressionStatement(z),M);return ks(z,j),j}),k=q.createToken(1),T=q.createSourceFile(B??[],k,0);return T.fileName=JE(s.getCurrentDirectory(),$a(E,u),!s.useCaseSensitiveFileNames()),T.text=(b==null?void 0:b.text)??"",wP(T,0,(b==null?void 0:b.text.length)??0),pB(T.statements,T),wP(k,T.end,0),ks(k,T),T})}function w7e(t,u,s,d){var f,p;(f=Gn)==null||f.push(Gn.Phase.Emit,"emitUsingBuildInfo",{},!0),ul("beforeEmit");const E=szt(t,u,s,d);return ul("afterEmit"),Tm("Emit","beforeEmit","afterEmit"),(p=Gn)==null||p.pop(),E}function szt(t,u,s,d){const{buildInfoPath:f,jsFilePath:p,sourceMapFilePath:E,declarationFilePath:v,declarationMapPath:b}=vM(t.options,!1),B=u.getBuildInfo(f,t.options.configFilePath);if(!B||!B.bundle||!B.bundle.js||v&&!B.bundle.dts)return f;const k=u.readFile(H.checkDefined(p));if(!k||Nk(k,u)!==B.bundle.js.hash)return p;const T=E&&u.readFile(E);if(E&&!T||t.options.inlineSourceMap)return E||"inline sourcemap decoding";if(E&&Nk(T,u)!==B.bundle.js.mapHash)return E;const M=v&&u.readFile(v);if(v&&!M||v&&Nk(M,u)!==B.bundle.dts.hash)return v;const z=b&&u.readFile(b);if(b&&!z||t.options.inlineSourceMap)return b||"inline sourcemap decoding";if(b&&Nk(z,u)!==B.bundle.dts.mapHash)return b;const j=lr($a(f,u.getCurrentDirectory())),J=rce(p,k,E,T,v,M,b,z,f,B,!0),K=[],Y=N1e(t.projectReferences,s,Ce=>u.readFile(Ce),u),oe=ozt(B.bundle,j,u);let se,ge;const ae={getPrependNodes:Mh(()=>[...Y,J]),getCanonicalFileName:u.getCanonicalFileName,getCommonSourceDirectory:()=>$a(B.bundle.commonSourceDirectory,j),getCompilerOptions:()=>t.options,getCurrentDirectory:()=>u.getCurrentDirectory(),getSourceFile:hv,getSourceFileByPath:hv,getSourceFiles:()=>oe,getLibFileFromReference:ho,isSourceFileFromExternalLibrary:cg,getResolvedProjectReferenceToRedirect:hv,getProjectReferenceRedirect:hv,isSourceOfProjectReferenceRedirect:cg,writeFile:(Ce,ne,ve,Se,Ne,pe)=>{switch(Ce){case p:if(k===ne)return;break;case E:if(T===ne)return;break;case f:break;case v:if(M===ne)return;se=ne,ge=pe;break;case b:if(z===ne)return;break;default:H.fail(`Unexpected path: ${Ce}`)}K.push({name:Ce,text:ne,writeByteOrderMark:ve,data:pe})},isEmitBlocked:cg,readFile:Ce=>u.readFile(Ce),fileExists:Ce=>u.fileExists(Ce),useCaseSensitiveFileNames:()=>u.useCaseSensitiveFileNames(),getBuildInfo:Ce=>{const ne=B.program;ne&&se!==void 0&&t.options.composite&&(ne.outSignature=Nk(se,u,ge));const{js:ve,dts:Se,sourceFiles:Ne}=B.bundle;return Ce.js.sources=ve.sources,Se&&(Ce.dts.sources=Se.sources),Ce.sourceFiles=Ne,gH(ne,Ce)},getSourceFileFromReference:hv,redirectTargetsMap:wm(),getFileIncludeReasons:ho,createHash:Lo(u,u.createHash)};return EQ(DQ,ae,void 0,l1e(t.options,d)),K}function Gv(t={},u={}){var{hasGlobalName:s,onEmitNode:d=mH,isEmitNotificationEnabled:f,substituteNode:p=xM,onBeforeEmitNode:E,onAfterEmitNode:v,onBeforeEmitNodeArray:b,onAfterEmitNodeArray:B,onBeforeEmitToken:k,onAfterEmitToken:T}=u,M=!!t.extendedDiagnostics,z=!!t.omitBraceSourceMapPositions,j=a5(t),J=m1(t),K=new Map,Y,oe,se,ge,ae,Ce,ne,ve,Se,Ne,pe,fe,xe,Be,Ge,Ae=t.preserveSourceNewlines,De,Ke,Je,ft=lz,Ye,Ve=t.writeBundleFileInfo?{sections:[]}:void 0,We=Ve?H.checkDefined(t.relativeToBuildInfo):void 0,Gt=t.recordInternalSection,Yt=0,Ie="text",st=!0,St,It,ei=-1,ht,Ut=-1,Ni=-1,ji=-1,xn=-1,Jn,an,Pi=!1,Ai=!!t.removeComments,Zu,aa,{enter:yr,exit:Ba}=Lqe(M,"commentTime","beforeComment","afterComment"),bt=q.parenthesizer,jn={select:R=>R===0?bt.parenthesizeLeadingTypeArgument:void 0},Ln=d3();return ni(),{printNode:Si,printList:Dn,printFile:tu,printBundle:Cn,writeNode:Da,writeList:ua,writeFile:Xt,writeBundle:Mt,bundleFileInfo:Ve};function Si(R,be,Ht){switch(R){case 0:H.assert(la(be),"Expected a SourceFile node.");break;case 2:H.assert(at(be),"Expected an Identifier node.");break;case 1:H.assert(Wt(be),"Expected an Expression node.");break}switch(be.kind){case 312:return tu(be);case 313:return Cn(be);case 314:return oa(be)}return Da(R,be,Ht,Pe()),et()}function Dn(R,be,Ht){return ua(R,be,Ht,Pe()),et()}function Cn(R){return Mt(R,Pe(),void 0),et()}function tu(R){return Xt(R,Pe(),void 0),et()}function oa(R){return qt(R,Pe()),et()}function Da(R,be,Ht,Oi){const yu=Ke;me(Oi,void 0),gt(R,be,Ht),ni(),Ke=yu}function ua(R,be,Ht,Oi){const yu=Ke;me(Oi,void 0),Ht&&ii(Ht),B0(void 0,be,R),ni(),Ke=yu}function Ta(){return Ke.getTextPosWithWriteLine?Ke.getTextPosWithWriteLine():Ke.getTextPos()}function Yo(R,be,Ht){const Oi=qu(Ve.sections);Oi&&Oi.kind===Ht?Oi.end=be:Ve.sections.push({pos:R,end:be,kind:Ht})}function bo(R){if(Gt&&Ve&&Y&&(Q1(R)||Jl(R))&&o1e(R,Y)&&Ie!=="internal"){const be=Ie;return Et(Ke.getTextPos()),Yt=Ta(),Ie="internal",be}}function Qe(R){R&&(Et(Ke.getTextPos()),Yt=Ta(),Ie=R)}function Et(R){return YtH.assert(qye(Ao))),Ve.sections.push({pos:Jr,end:Ke.getTextPos(),kind:"prepend",data:We(yu.fileName),texts:Ea}))}}Yt=Ta();for(const yu of R.sourceFiles)gt(0,yu,yu);if(Ve&&R.sourceFiles.length){const yu=Ke.getTextPos();if(Et(yu)){const Jr=Rw(R);Jr&&(Ve.sources||(Ve.sources={}),Ve.sources.prologues=Jr);const br=Li(R);br&&(Ve.sources||(Ve.sources={}),Ve.sources.helpers=br)}}ni(),Ke=Oi}function qt(R,be){const Ht=Ke;me(be,void 0),gt(4,R,void 0),ni(),Ke=Ht}function Xt(R,be,Ht){Ye=!0;const Oi=Ke;me(be,Ht),gb(R),B5(R),gt(0,R,R),ni(),Ke=Oi}function Pe(){return Je||(Je=Vj(j))}function et(){const R=Je.getText();return Je.clear(),R}function gt(R,be,Ht){Ht&&ii(Ht),le(R,be,void 0)}function ii(R){Y=R,Jn=void 0,an=void 0,R&&_C(R)}function me(R,be){R&&t.omitTrailingSemicolon&&(R=ele(R)),Ke=R,St=be,st=!Ke||!St}function ni(){oe=[],se=[],ge=[],ae=new Set,Ce=[],ne=new Map,ve=[],Se=0,Ne=[],pe=0,fe=[],xe=void 0,Be=[],Ge=void 0,Y=void 0,Jn=void 0,an=void 0,me(void 0,void 0)}function vi(){return Jn||(Jn=$3(H.checkDefined(Y)))}function mt(R,be){if(R===void 0)return;const Ht=bo(R);le(4,R,be),Qe(Ht)}function Ot(R){R!==void 0&&le(2,R,void 0)}function Ei(R,be){R!==void 0&&le(1,R,be)}function $i(R){le(us(R)?6:4,R)}function Qi(R){Ae&&Pp(R)&4&&(Ae=!1)}function on(R){Ae=R}function le(R,be,Ht){aa=Ht,de(0,R,be)(R,be),aa=void 0}function te(R){return!Ai&&!la(R)}function we(R){return!st&&!la(R)&&!Dq(R)&&!yk(R)&&!mFe(R)}function de(R,be,Ht){switch(R){case 0:if(d!==mH&&(!f||f(Ht)))return X;case 1:if(p!==xM&&(Zu=p(be,Ht)||Ht)!==Ht)return aa&&(Zu=aa(Zu)),Qt;case 2:if(te(Ht))return P9;case 3:if(we(Ht))return sF;case 4:return it;default:return H.assertNever(R)}}function je(R,be,Ht){return de(R+1,be,Ht)}function X(R,be){const Ht=je(0,R,be);d(R,be,Ht)}function it(R,be){if(E==null||E(be),Ae){const Ht=Ae;Qi(be),Ct(R,be),on(Ht)}else Ct(R,be);v==null||v(be),aa=void 0}function Ct(R,be,Ht=!0){if(Ht){const Oi=sce(be);if(Oi)return ja(R,be,Oi)}if(R===0)return tF(Po(be,la));if(R===2)return as(Po(be,at));if(R===6)return Ru(Po(be,us),!0);if(R===3)return ct(Po(be,Bl));if(R===5)return H.assertNode(be,Cce),ha(!0);if(R===4){switch(be.kind){case 16:case 17:case 18:return Ru(be,!1);case 80:return as(be);case 81:return wo(be);case 166:return Fn(be);case 167:return Ya(be);case 168:return c0(be);case 169:return Ul(be);case 170:return wl(be);case 171:return hd(be);case 172:return vl(be);case 173:return co(be);case 174:return Ho(be);case 175:return id(be);case 176:return Y0(be);case 177:case 178:return Ko(be);case 179:return Tc(be);case 180:return Jp(be);case 181:return Lc(be);case 182:return Ka(be);case 183:return Ri(be);case 184:return dl(be);case 185:return Cc(be);case 186:return $(be);case 187:return tt(be);case 188:return vt(be);case 189:return fn(be);case 190:return uu(be);case 192:return Tu(be);case 193:return Nr(be);case 194:return Vu(be);case 195:return Ss(be);case 196:return ic(be);case 233:return Di(be);case 197:return nd();case 198:return S0(be);case 199:return ud(be);case 200:return m0(be);case 201:return Bd(be);case 202:return Wu(be);case 203:return Oh(be);case 204:return Il(be);case 205:return uh(be);case 206:return h4(be);case 207:return D1(be);case 208:return He(be);case 239:return ki(be);case 240:return cl();case 241:return In(be);case 243:return ir(be);case 242:return ha(!1);case 244:return os(be);case 245:return ss(be);case 246:return x1(be);case 247:return fd(be);case 248:return $m(be);case 249:return _s(be);case 250:return np(be);case 251:return h3(be);case 252:return d_(be);case 253:return b5(be);case 254:return Xe(be);case 255:return Dt(be);case 256:return oi(be);case 257:return Ti(be);case 258:return Xi(be);case 259:return Rn(be);case 260:return tn(be);case 261:return bn(be);case 262:return kr(be);case 263:return eC(be);case 264:return cD(be);case 265:return i6(be);case 266:return Gk(be);case 267:return lb(be);case 268:return Jk(be);case 269:return $k(be);case 270:return qk(be);case 271:return az(be);case 272:return ww(be);case 273:return tC(be);case 274:return x9(be);case 280:return cb(be);case 275:return v9(be);case 276:return Tw(be);case 277:return Uk(be);case 278:return Lw(be);case 279:return db(be);case 281:return iC(be);case 300:return C9(be);case 301:return b9(be);case 282:return;case 283:return fE(be);case 12:return k5(be);case 286:case 289:return n6(be);case 287:case 290:return h_(be);case 291:return Jf(be);case 292:return p4(be);case 293:return Hh(be);case 294:return y9(be);case 295:return Yk(be);case 296:return uC(be);case 297:return Qk(be);case 298:return jd(be);case 299:return F5(be);case 303:return A5(be);case 304:return f3(be);case 305:return pt(be);case 306:return i1(be);case 307:return Xu(be);case 314:case 308:return pr(be);case 309:case 310:return ca(be);case 311:return Ku(be);case 312:return tF(be);case 313:return H.fail("Bundles should be printed using printBundle");case 315:return H.fail("InputFiles should not be printed");case 316:return p3(be);case 317:return S5(be);case 319:return ru("*");case 320:return ru("?");case 321:return Ch(be);case 322:return sf(be);case 323:return Q0(be);case 324:return Uc(be);case 191:case 325:return mi(be);case 326:return;case 327:return g4(be);case 329:return eF(be);case 330:return mb(be);case 334:case 339:case 344:return Xk(be);case 335:case 336:return aC(be);case 337:case 338:return;case 340:case 341:case 342:case 343:return;case 345:return Hs(be);case 346:return yg(be);case 348:case 355:return pb(be);case 347:case 349:case 350:case 351:case 356:case 357:return bh(be);case 352:return m3(be);case 353:return oz(be);case 354:return Mw(be);case 359:return}if(Wt(be)&&(R=1,p!==xM)){const Oi=p(R,be)||be;Oi!==be&&(be=Oi,aa&&(be=aa(be)))}}if(R===1)switch(be.kind){case 9:case 10:return du(be);case 11:case 14:case 15:return Ru(be,!1);case 80:return as(be);case 81:return wo(be);case 209:return di(be);case 210:return Mn(be);case 211:return ba(be);case 212:return To(be);case 213:return nc(be);case 214:return fc(be);case 215:return Cl(be);case 216:return Tl(be);case 217:return bc(be);case 218:return ql(be);case 219:return Nc(be);case 220:return Jm(be);case 221:return jh(be);case 222:return f4(be);case 223:return c3(be);case 224:return c_(be);case 225:return R1(be);case 226:return Ln(be);case 227:return Wf(be);case 228:return m4(be);case 229:return Vh(be);case 230:return Ee(be);case 231:return Bt(be);case 232:return;case 234:return Ci(be);case 235:return Q(be);case 233:return Di(be);case 238:return Me(be);case 236:return wt(be);case 237:return H.fail("SyntheticExpression should never be printed.");case 282:return;case 284:return Vs(be);case 285:return Zk(be);case 288:return Nw(be);case 358:return H.fail("SyntaxList should not be printed");case 359:return;case 360:return ar(be);case 361:return pE(be);case 362:return H.fail("SyntheticReferenceExpression should not be printed")}if(uf(be.kind))return B9(be,Ma);if(Jse(be.kind))return B9(be,ru);H.fail(`Unhandled SyntaxKind: ${H.formatSyntaxKind(be.kind)}.`)}function ct(R){mt(R.name),Un(),Ma("in"),Un(),mt(R.constraint)}function Qt(R,be){const Ht=je(1,R,be);H.assertIsDefined(Zu),be=Zu,Zu=void 0,Ht(R,be)}function Li(R){let be;if(J===0||t.noEmitHelpers)return;const Ht=new Map;for(const Oi of R.sourceFiles){const yu=zV(Oi)!==void 0,Jr=Sn(Oi);if(Jr)for(const br of Jr)!br.scoped&&!yu&&!Ht.get(br.name)&&(Ht.set(br.name,!0),(be||(be=[])).push(br.name))}return be}function Ui(R){let be=!1;const Ht=R.kind===313?R:void 0;if(Ht&&J===0)return;const Oi=Ht?Ht.prepends.length:0,yu=Ht?Ht.sourceFiles.length+Oi:1;for(let Jr=0;Jr"),Un(),mt(R.type),Ff(R)}function Uc(R){Ma("function"),w5(R,R.parameters),ru(":"),mt(R.type)}function Ch(R){ru("?"),mt(R.type)}function sf(R){ru("!"),mt(R.type)}function Q0(R){mt(R.type),ru("=")}function Cc(R){O1(R),dD(R,R.modifiers),Ma("new"),Un(),p_(R,R.typeParameters),w5(R,R.parameters),Un(),ru("=>"),Un(),mt(R.type),Ff(R)}function $(R){Ma("typeof"),Un(),mt(R.exprName),gE(R,R.typeArguments)}function tt(R){_4(0,void 0),ru("{");const be=bs(R)&1?768:32897;B0(R,R.members,be|524288),ru("}"),fC()}function vt(R){mt(R.elementType,bt.parenthesizeNonArrayTypeOfPostfixType),ru("["),ru("]")}function mi(R){ru("..."),mt(R.type)}function fn(R){ta(23,R.pos,ru,R);const be=bs(R)&1?528:657;B0(R,R.elements,be|524288,bt.parenthesizeElementTypeOfTupleType),ta(24,R.elements.end,ru,R)}function Wu(R){mt(R.dotDotDotToken),mt(R.name),mt(R.questionToken),ta(59,R.name.end,ru,R),Un(),mt(R.type)}function uu(R){mt(R.type,bt.parenthesizeTypeOfOptionalType),ru("?")}function Tu(R){B0(R,R.types,516,bt.parenthesizeConstituentTypeOfUnionType)}function Nr(R){B0(R,R.types,520,bt.parenthesizeConstituentTypeOfIntersectionType)}function Vu(R){mt(R.checkType,bt.parenthesizeCheckTypeOfConditionalType),Un(),Ma("extends"),Un(),mt(R.extendsType,bt.parenthesizeExtendsTypeOfConditionalType),Un(),ru("?"),Un(),mt(R.trueType),Un(),ru(":"),Un(),mt(R.falseType)}function Ss(R){Ma("infer"),Un(),mt(R.typeParameter)}function ic(R){ru("("),mt(R.type),ru(")")}function nd(){Ma("this")}function S0(R){hD(R.operator,Ma),Un();const be=R.operator===148?bt.parenthesizeOperandOfReadonlyTypeOperator:bt.parenthesizeOperandOfTypeOperator;mt(R.type,be)}function ud(R){mt(R.objectType,bt.parenthesizeNonArrayTypeOfPostfixType),ru("["),mt(R.indexType),ru("]")}function m0(R){const be=bs(R);ru("{"),be&1?Un():(wd(),_E()),R.readonlyToken&&(mt(R.readonlyToken),R.readonlyToken.kind!==148&&Ma("readonly"),Un()),ru("["),le(3,R.typeParameter),R.nameType&&(Un(),Ma("as"),Un(),mt(R.nameType)),ru("]"),R.questionToken&&(mt(R.questionToken),R.questionToken.kind!==58&&ru("?")),ru(":"),Un(),mt(R.type),v1(),be&1?Un():(wd(),DE()),B0(R,R.members,2),ru("}")}function Bd(R){Ei(R.literal)}function Oh(R){mt(R.head),B0(R,R.templateSpans,262144)}function uh(R){if(R.isTypeOf&&(Ma("typeof"),Un()),Ma("import"),ru("("),mt(R.argument),R.attributes){ru(","),Un(),ru("{"),Un(),Ma(R.attributes.token===132?"assert":"with"),ru(":"),Un();const be=R.attributes.elements;B0(R.attributes,be,526226),Un(),ru("}")}ru(")"),R.qualifier&&(ru("."),mt(R.qualifier)),gE(R,R.typeArguments)}function h4(R){ru("{"),B0(R,R.elements,525136),ru("}")}function D1(R){ru("["),B0(R,R.elements,524880),ru("]")}function He(R){mt(R.dotDotDotToken),R.propertyName&&(mt(R.propertyName),ru(":"),Un()),mt(R.name),g3(R.initializer,R.name.end,R,bt.parenthesizeExpressionForDisallowedComma)}function di(R){const be=R.elements,Ht=R.multiLine?65536:0;Eb(R,be,8914|Ht,bt.parenthesizeExpressionForDisallowedComma)}function Mn(R){_4(0,void 0),L(R.properties,aF);const be=bs(R)&131072;be&&_E();const Ht=R.multiLine?65536:0,Oi=Y&&Y.languageVersion>=1&&!W4(Y)?64:0;B0(R,R.properties,526226|Oi|Ht),be&&DE(),fC()}function ba(R){Ei(R.expression,bt.parenthesizeLeftSideOfAccess);const be=R.questionDotToken||t_(q.createToken(25),R.expression.end,R.name.pos),Ht=E4(R,R.expression,be),Oi=E4(R,be,R.name);_3(Ht,!1),be.kind!==29&&Fo(R.expression)&&!Ke.hasTrailingComment()&&!Ke.hasTrailingWhitespace()&&ru("."),R.questionDotToken?mt(be):ta(be.kind,R.expression.end,ru,R),_3(Oi,!1),mt(R.name),g_(Ht,Oi)}function Fo(R){if(R=Np(R),Of(R)){const be=T9(R,!0,!1);return!(R.numericLiteralFlags&448)&&!be.includes(Uo(25))&&!be.includes("E")&&!be.includes("e")}else if(I0(R)){const be=jke(R);return typeof be=="number"&&isFinite(be)&&be>=0&&Math.floor(be)===be}}function To(R){Ei(R.expression,bt.parenthesizeLeftSideOfAccess),mt(R.questionDotToken),ta(23,R.expression.end,ru,R),Ei(R.argumentExpression),ta(24,R.argumentExpression.end,ru,R)}function nc(R){const be=Pp(R)&16;be&&(ru("("),sC("0"),ru(","),Un()),Ei(R.expression,bt.parenthesizeLeftSideOfAccess),be&&ru(")"),mt(R.questionDotToken),gE(R,R.typeArguments),Eb(R,R.arguments,2576,bt.parenthesizeExpressionForDisallowedComma)}function fc(R){ta(105,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeExpressionOfNew),gE(R,R.typeArguments),Eb(R,R.arguments,18960,bt.parenthesizeExpressionForDisallowedComma)}function Cl(R){const be=Pp(R)&16;be&&(ru("("),sC("0"),ru(","),Un()),Ei(R.tag,bt.parenthesizeLeftSideOfAccess),be&&ru(")"),gE(R,R.typeArguments),Un(),Ei(R.template)}function Tl(R){ru("<"),mt(R.type),ru(">"),Ei(R.expression,bt.parenthesizeOperandOfPrefixUnary)}function bc(R){const be=ta(21,R.pos,ru,R),Ht=w9(R.expression,R);Ei(R.expression,void 0),rF(R.expression,R),g_(Ht),ta(22,R.expression?R.expression.end:be,ru,R)}function ql(R){op(R.name),Cu(R)}function Nc(R){dD(R,R.modifiers),bu(R,ip)}function ip(R){p_(R,R.typeParameters),k9(R,R.parameters),f_(R.type),Un(),mt(R.equalsGreaterThanToken)}function Jm(R){ta(91,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeOperandOfPrefixUnary)}function jh(R){ta(114,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeOperandOfPrefixUnary)}function f4(R){ta(116,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeOperandOfPrefixUnary)}function c3(R){ta(135,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeOperandOfPrefixUnary)}function c_(R){hD(R.operator,lf),C5(R)&&Un(),Ei(R.operand,bt.parenthesizeOperandOfPrefixUnary)}function C5(R){const be=R.operand;return be.kind===224&&(R.operator===40&&(be.operator===40||be.operator===46)||R.operator===41&&(be.operator===41||be.operator===47))}function R1(R){Ei(R.operand,bt.parenthesizeOperandOfPostfixUnary),hD(R.operator,lf)}function d3(){return kY(R,be,Ht,Oi,yu,void 0);function R(br,Ea){if(Ea){Ea.stackIndex++,Ea.preserveSourceNewlinesStack[Ea.stackIndex]=Ae,Ea.containerPosStack[Ea.stackIndex]=Ni,Ea.containerEndStack[Ea.stackIndex]=ji,Ea.declarationListContainerEndStack[Ea.stackIndex]=xn;const Ao=Ea.shouldEmitCommentsStack[Ea.stackIndex]=te(br),Af=Ea.shouldEmitSourceMapsStack[Ea.stackIndex]=we(br);E==null||E(br),Ao&&M9(br),Af&&Jw(br),Qi(br)}else Ea={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return Ea}function be(br,Ea,Ao){return Jr(br,Ao,"left")}function Ht(br,Ea,Ao){const Af=br.kind!==28,Uf=E4(Ao,Ao.left,br),Fr=E4(Ao,br,Ao.right);_3(Uf,Af),Zm(br.pos),B9(br,br.kind===103?Ma:lf),Up(br.end,!0),_3(Fr,!0)}function Oi(br,Ea,Ao){return Jr(br,Ao,"right")}function yu(br,Ea){const Ao=E4(br,br.left,br.operatorToken),Af=E4(br,br.operatorToken,br.right);if(g_(Ao,Af),Ea.stackIndex>0){const Uf=Ea.preserveSourceNewlinesStack[Ea.stackIndex],Fr=Ea.containerPosStack[Ea.stackIndex],vE=Ea.containerEndStack[Ea.stackIndex],gn=Ea.declarationListContainerEndStack[Ea.stackIndex],h6=Ea.shouldEmitCommentsStack[Ea.stackIndex],P5=Ea.shouldEmitSourceMapsStack[Ea.stackIndex];on(Uf),P5&&x4(br),h6&&z9(br,Fr,vE,gn),v==null||v(br),Ea.stackIndex--}}function Jr(br,Ea,Ao){const Af=Ao==="left"?bt.getParenthesizeLeftSideOfBinaryForOperator(Ea.operatorToken.kind):bt.getParenthesizeRightSideOfBinaryForOperator(Ea.operatorToken.kind);let Uf=de(0,1,br);if(Uf===Qt&&(H.assertIsDefined(Zu),br=Af(Po(Zu,Wt)),Uf=je(1,1,br),Zu=void 0),(Uf===P9||Uf===sF||Uf===it)&&Xn(br))return br;aa=Af,Uf(1,br)}}function Wf(R){const be=E4(R,R.condition,R.questionToken),Ht=E4(R,R.questionToken,R.whenTrue),Oi=E4(R,R.whenTrue,R.colonToken),yu=E4(R,R.colonToken,R.whenFalse);Ei(R.condition,bt.parenthesizeConditionOfConditionalExpression),_3(be,!0),mt(R.questionToken),_3(Ht,!0),Ei(R.whenTrue,bt.parenthesizeBranchOfConditionalExpression),g_(be,Ht),_3(Oi,!0),mt(R.colonToken),_3(yu,!0),Ei(R.whenFalse,bt.parenthesizeBranchOfConditionalExpression),g_(Oi,yu)}function m4(R){mt(R.head),B0(R,R.templateSpans,262144)}function Vh(R){ta(127,R.pos,Ma,R),mt(R.asteriskToken),E3(R.expression&&bg(R.expression),sb)}function Ee(R){ta(26,R.pos,ru,R),Ei(R.expression,bt.parenthesizeExpressionForDisallowedComma)}function Bt(R){op(R.name),t6(R)}function Di(R){Ei(R.expression,bt.parenthesizeLeftSideOfAccess),gE(R,R.typeArguments)}function Ci(R){Ei(R.expression,void 0),R.type&&(Un(),Ma("as"),Un(),mt(R.type))}function Q(R){Ei(R.expression,bt.parenthesizeLeftSideOfAccess),lf("!")}function Me(R){Ei(R.expression,void 0),R.type&&(Un(),Ma("satisfies"),Un(),mt(R.type))}function wt(R){u6(R.keywordToken,R.pos,ru),ru("."),mt(R.name)}function ki(R){Ei(R.expression),mt(R.literal)}function In(R){tr(R,!R.multiLine&&hC(R))}function tr(R,be){ta(19,R.pos,ru,R);const Ht=be||bs(R)&1?768:129;B0(R,R.statements,Ht),ta(20,R.statements.end,ru,R,!!(Ht&1))}function ir(R){yh(R,R.modifiers,!1),mt(R.declarationList),v1()}function ha(R){R?ru(";"):v1()}function os(R){Ei(R.expression,bt.parenthesizeExpressionOfExpressionStatement),(!Y||!W4(Y)||sl(R.expression))&&v1()}function ss(R){const be=ta(101,R.pos,Ma,R);Un(),ta(21,be,ru,R),Ei(R.expression),ta(22,R.expression.end,ru,R),m_(R,R.thenStatement),R.elseStatement&&(cC(R,R.thenStatement,R.elseStatement),ta(93,R.thenStatement.end,Ma,R),R.elseStatement.kind===245?(Un(),mt(R.elseStatement)):m_(R,R.elseStatement))}function Rl(R,be){const Ht=ta(117,be,Ma,R);Un(),ta(21,Ht,ru,R),Ei(R.expression),ta(22,R.expression.end,ru,R)}function x1(R){ta(92,R.pos,Ma,R),m_(R,R.statement),po(R.statement)&&!Ae?Un():cC(R,R.statement,R.expression),Rl(R,R.statement.end),v1()}function fd(R){Rl(R,R.pos),m_(R,R.statement)}function $m(R){const be=ta(99,R.pos,Ma,R);Un();let Ht=ta(21,be,ru,R);Um(R.initializer),Ht=ta(27,R.initializer?R.initializer.end:Ht,ru,R),E3(R.condition),Ht=ta(27,R.condition?R.condition.end:Ht,ru,R),E3(R.incrementor),ta(22,R.incrementor?R.incrementor.end:Ht,ru,R),m_(R,R.statement)}function _s(R){const be=ta(99,R.pos,Ma,R);Un(),ta(21,be,ru,R),Um(R.initializer),Un(),ta(103,R.initializer.end,Ma,R),Un(),Ei(R.expression),ta(22,R.expression.end,ru,R),m_(R,R.statement)}function np(R){const be=ta(99,R.pos,Ma,R);Un(),Ow(R.awaitModifier),ta(21,be,ru,R),Um(R.initializer),Un(),ta(165,R.initializer.end,Ma,R),Un(),Ei(R.expression),ta(22,R.expression.end,ru,R),m_(R,R.statement)}function Um(R){R!==void 0&&(R.kind===261?mt(R):Ei(R))}function h3(R){ta(88,R.pos,Ma,R),oC(R.label),v1()}function d_(R){ta(83,R.pos,Ma,R),oC(R.label),v1()}function ta(R,be,Ht,Oi,yu){const Jr=Ua(Oi),br=Jr&&Jr.kind===Oi.kind,Ea=be;if(br&&Y&&(be=gs(Y.text,be)),br&&Oi.pos!==Ea){const Ao=yu&&Y&&!q4(Ea,be,Y);Ao&&_E(),Zm(Ea),Ao&&DE()}if(!z&&(R===19||R===20)?be=u6(R,be,Ht,Oi):be=hD(R,Ht,be),br&&Oi.end!==be){const Ao=Oi.kind===294;Up(be,!Ao,Ao)}return be}function Xx(R){return R.kind===2||!!R.hasTrailingNewLine}function e6(R){return Y?Oe(W_(Y.text,R.pos),Xx)||Oe(DB(R),Xx)?!0:dY(R)?R.pos!==R.expression.pos&&Oe(gv(Y.text,R.expression.pos),Xx)?!0:e6(R.expression):!1:!1}function bg(R){if(!Ai&&dY(R)&&e6(R)){const be=Ua(R);if(be&&Cf(be)){const Ht=q.createParenthesizedExpression(R.expression);return su(Ht,R),Pt(Ht,be),Ht}return q.createParenthesizedExpression(R)}return R}function sb(R){return bg(bt.parenthesizeExpressionForDisallowedComma(R))}function b5(R){ta(107,R.pos,Ma,R),E3(R.expression&&bg(R.expression),bg),v1()}function Xe(R){const be=ta(118,R.pos,Ma,R);Un(),ta(21,be,ru,R),Ei(R.expression),ta(22,R.expression.end,ru,R),m_(R,R.statement)}function Dt(R){const be=ta(109,R.pos,Ma,R);Un(),ta(21,be,ru,R),Ei(R.expression),ta(22,R.expression.end,ru,R),Un(),mt(R.caseBlock)}function oi(R){mt(R.label),ta(59,R.label.end,ru,R),Un(),mt(R.statement)}function Ti(R){ta(111,R.pos,Ma,R),E3(bg(R.expression),bg),v1()}function Xi(R){ta(113,R.pos,Ma,R),Un(),mt(R.tryBlock),R.catchClause&&(cC(R,R.tryBlock,R.catchClause),mt(R.catchClause)),R.finallyBlock&&(cC(R,R.catchClause||R.tryBlock,R.finallyBlock),ta(98,(R.catchClause||R.tryBlock).end,Ma,R),Un(),mt(R.finallyBlock))}function Rn(R){u6(89,R.pos,Ma),v1()}function tn(R){var be,Ht,Oi;mt(R.name),mt(R.exclamationToken),f_(R.type),g3(R.initializer,((be=R.type)==null?void 0:be.end)??((Oi=(Ht=R.name.emitNode)==null?void 0:Ht.typeNode)==null?void 0:Oi.end)??R.name.end,R,bt.parenthesizeExpressionForDisallowedComma)}function bn(R){if(lj(R))Ma("await"),Un(),Ma("using");else{const be=rq(R)?"let":K8(R)?"const":cj(R)?"using":"var";Ma(be)}Un(),B0(R,R.declarations,528)}function kr(R){Cu(R)}function Cu(R){yh(R,R.modifiers,!1),Ma("function"),mt(R.asteriskToken),Un(),Ot(R.name),bu(R,Eu)}function bu(R,be){const Ht=R.body;if(Ht)if(po(Ht)){const Oi=bs(R)&131072;Oi&&_E(),O1(R),L(R.parameters,n1),n1(R.body),be(R),p0(Ht),Ff(R),Oi&&DE()}else be(R),Un(),Ei(Ht,bt.parenthesizeConciseBodyOfArrowFunction);else be(R),v1()}function Eu(R){p_(R,R.typeParameters),w5(R,R.parameters),f_(R.type)}function sa(R){if(bs(R)&1)return!0;if(R.multiLine||!sl(R)&&Y&&!hk(R,Y)||uF(R,Ki(R.statements),2)||r6(R,qu(R.statements),2,R.statements))return!1;let be;for(const Ht of R.statements){if(fD(be,Ht,2)>0)return!1;be=Ht}return!0}function p0(R){E==null||E(R),Un(),ru("{"),_E();const be=sa(R)?o0:Gf;_u(R,R.statements,be),DE(),u6(20,R.statements.end,ru,R),v==null||v(R)}function o0(R){Gf(R,!0)}function Gf(R,be){const Ht=kf(R.statements),Oi=Ke.getTextPos();Ui(R),Ht===0&&Oi===Ke.getTextPos()&&be?(DE(),B0(R,R.statements,768),_E()):B0(R,R.statements,1,void 0,Ht)}function eC(R){t6(R)}function t6(R){_4(0,void 0),L(R.members,aF),yh(R,R.modifiers,!0),ta(86,iE(R).pos,Ma,R),R.name&&(Un(),Ot(R.name));const be=bs(R)&131072;be&&_E(),p_(R,R.typeParameters),B0(R,R.heritageClauses,0),Un(),ru("{"),B0(R,R.members,129),ru("}"),be&&DE(),fC()}function cD(R){_4(0,void 0),yh(R,R.modifiers,!1),Ma("interface"),Un(),mt(R.name),p_(R,R.typeParameters),B0(R,R.heritageClauses,512),Un(),ru("{"),B0(R,R.members,129),ru("}"),fC()}function i6(R){yh(R,R.modifiers,!1),Ma("type"),Un(),mt(R.name),p_(R,R.typeParameters),Un(),ru("="),Un(),mt(R.type),v1()}function Gk(R){yh(R,R.modifiers,!1),Ma("enum"),Un(),mt(R.name),Un(),ru("{"),B0(R,R.members,145),ru("}")}function lb(R){yh(R,R.modifiers,!1),~R.flags&2048&&(Ma(R.flags&32?"namespace":"module"),Un()),mt(R.name);let be=R.body;if(!be)return v1();for(;be&&_c(be);)ru("."),mt(be.name),be=be.body;Un(),mt(be)}function Jk(R){O1(R),L(R.statements,n1),tr(R,hC(R)),Ff(R)}function $k(R){ta(19,R.pos,ru,R),B0(R,R.clauses,129),ta(20,R.clauses.end,ru,R,!0)}function az(R){yh(R,R.modifiers,!1),ta(102,R.modifiers?R.modifiers.end:R.pos,Ma,R),Un(),R.isTypeOnly&&(ta(156,R.pos,Ma,R),Un()),mt(R.name),Un(),ta(64,R.name.end,ru,R),Un(),D9(R.moduleReference),v1()}function D9(R){R.kind===80?Ei(R):mt(R)}function ww(R){yh(R,R.modifiers,!1),ta(102,R.modifiers?R.modifiers.end:R.pos,Ma,R),Un(),R.importClause&&(mt(R.importClause),Un(),ta(161,R.importClause.end,Ma,R),Un()),Ei(R.moduleSpecifier),R.attributes&&oC(R.attributes),v1()}function tC(R){R.isTypeOnly&&(ta(156,R.pos,Ma,R),Un()),mt(R.name),R.name&&R.namedBindings&&(ta(28,R.name.end,ru,R),Un()),mt(R.namedBindings)}function x9(R){const be=ta(42,R.pos,ru,R);Un(),ta(130,be,Ma,R),Un(),mt(R.name)}function v9(R){y5(R)}function Tw(R){hb(R)}function Uk(R){const be=ta(95,R.pos,Ma,R);Un(),R.isExportEquals?ta(64,be,lf,R):ta(90,be,Ma,R),Un(),Ei(R.expression,R.isExportEquals?bt.getParenthesizeRightSideOfBinaryForOperator(64):bt.parenthesizeExpressionOfExportDefault),v1()}function Lw(R){yh(R,R.modifiers,!1);let be=ta(95,R.pos,Ma,R);if(Un(),R.isTypeOnly&&(be=ta(156,be,Ma,R),Un()),R.exportClause?mt(R.exportClause):be=ta(42,be,ru,R),R.moduleSpecifier){Un();const Ht=R.exportClause?R.exportClause.end:be;ta(161,Ht,Ma,R),Un(),Ei(R.moduleSpecifier)}R.attributes&&oC(R.attributes),v1()}function C9(R){ta(R.token,R.pos,Ma,R),Un();const be=R.elements;B0(R,be,526226)}function b9(R){mt(R.name),ru(":"),Un();const be=R.value;if(!(bs(be)&1024)){const Ht=nE(be);Up(Ht.pos)}mt(be)}function qk(R){let be=ta(95,R.pos,Ma,R);Un(),be=ta(130,be,Ma,R),Un(),be=ta(145,be,Ma,R),Un(),mt(R.name),v1()}function cb(R){const be=ta(42,R.pos,ru,R);Un(),ta(130,be,Ma,R),Un(),mt(R.name)}function db(R){y5(R)}function iC(R){hb(R)}function y5(R){ru("{"),B0(R,R.elements,525136),ru("}")}function hb(R){R.isTypeOnly&&(Ma("type"),Un()),R.propertyName&&(mt(R.propertyName),Un(),ta(130,R.propertyName.end,Ma,R),Un()),mt(R.name)}function fE(R){Ma("require"),ru("("),Ei(R.expression),ru(")")}function Vs(R){mt(R.openingElement),B0(R,R.children,262144),mt(R.closingElement)}function Zk(R){ru("<"),fb(R.tagName),gE(R,R.typeArguments),Un(),mt(R.attributes),ru("/>")}function Nw(R){mt(R.openingFragment),B0(R,R.children,262144),mt(R.closingFragment)}function n6(R){if(ru("<"),aE(R)){const be=w9(R.tagName,R);fb(R.tagName),gE(R,R.typeArguments),R.attributes.properties&&R.attributes.properties.length>0&&Un(),mt(R.attributes),rF(R.attributes,R),g_(be)}ru(">")}function k5(R){Ke.writeLiteral(R.text)}function h_(R){ru("")}function p4(R){B0(R,R.properties,262656)}function Jf(R){mt(R.name),$p("=",ru,R.initializer,$i)}function Hh(R){ru("{..."),Ei(R.expression),ru("}")}function Em(R){let be=!1;return PO((Y==null?void 0:Y.text)||"",R+1,()=>be=!0),be}function nC(R){let be=!1;return NO((Y==null?void 0:Y.text)||"",R+1,()=>be=!0),be}function Pw(R){return Em(R)||nC(R)}function y9(R){var be;if(R.expression||!Ai&&!sl(R)&&Pw(R.pos)){const Ht=Y&&!sl(R)&&s0(Y,R.pos).line!==s0(Y,R.end).line;Ht&&Ke.increaseIndent();const Oi=ta(19,R.pos,ru,R);mt(R.dotDotDotToken),Ei(R.expression),ta(20,((be=R.expression)==null?void 0:be.end)||Oi,ru,R),Ht&&Ke.decreaseIndent()}}function Yk(R){Ot(R.namespace),ru(":"),Ot(R.name)}function fb(R){R.kind===80?Ei(R):mt(R)}function uC(R){ta(84,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeExpressionForDisallowedComma),rC(R,R.statements,R.expression.end)}function Qk(R){const be=ta(90,R.pos,Ma,R);rC(R,R.statements,be)}function rC(R,be,Ht){const Oi=be.length===1&&(!Y||sl(R)||sl(be[0])||Gq(R,be[0],Y));let yu=163969;Oi?(u6(59,Ht,ru,R),Un(),yu&=-130):ta(59,Ht,ru,R),B0(R,be,yu)}function jd(R){Un(),hD(R.token,Ma),Un(),B0(R,R.types,528)}function F5(R){const be=ta(85,R.pos,Ma,R);Un(),R.variableDeclaration&&(ta(21,be,ru,R),mt(R.variableDeclaration),ta(22,R.variableDeclaration.end,ru,R),Un()),mt(R.block)}function A5(R){mt(R.name),ru(":"),Un();const be=R.initializer;if(!(bs(be)&1024)){const Ht=nE(be);Up(Ht.pos)}Ei(be,bt.parenthesizeExpressionForDisallowedComma)}function f3(R){mt(R.name),R.objectAssignmentInitializer&&(Un(),ru("="),Un(),Ei(R.objectAssignmentInitializer,bt.parenthesizeExpressionForDisallowedComma))}function pt(R){R.expression&&(ta(26,R.pos,ru,R),Ei(R.expression,bt.parenthesizeExpressionForDisallowedComma))}function i1(R){mt(R.name),g3(R.initializer,R.name.end,R,bt.parenthesizeExpressionForDisallowedComma)}function g4(R){if(ft("/**"),R.comment){const be=KO(R.comment);if(be){const Ht=be.split(/\r\n?|\n/g);for(const Oi of Ht)wd(),Un(),ru("*"),Un(),ft(Oi)}}R.tags&&(R.tags.length===1&&R.tags[0].kind===351&&!R.comment?(Un(),mt(R.tags[0])):B0(R,R.tags,33)),Un(),ft("*/")}function bh(R){up(R.tagName),p3(R.typeExpression),kg(R.comment)}function Mw(R){up(R.tagName),mt(R.name),kg(R.comment)}function S5(R){Un(),ru("{"),mt(R.name),ru("}")}function aC(R){up(R.tagName),Un(),ru("{"),mt(R.class),ru("}"),kg(R.comment)}function m3(R){up(R.tagName),p3(R.constraint),Un(),B0(R,R.typeParameters,528),kg(R.comment)}function oz(R){up(R.tagName),R.typeExpression&&(R.typeExpression.kind===316?p3(R.typeExpression):(Un(),ru("{"),ft("Object"),R.typeExpression.isArrayType&&(ru("["),ru("]")),ru("}"))),R.fullName&&(Un(),mt(R.fullName)),kg(R.comment),R.typeExpression&&R.typeExpression.kind===329&&eF(R.typeExpression)}function Hs(R){up(R.tagName),R.name&&(Un(),mt(R.name)),kg(R.comment),mb(R.typeExpression)}function yg(R){kg(R.comment),mb(R.typeExpression)}function Xk(R){up(R.tagName),kg(R.comment)}function eF(R){B0(R,q.createNodeArray(R.jsDocPropertyTags),33)}function mb(R){R.typeParameters&&B0(R,q.createNodeArray(R.typeParameters),33),R.parameters&&B0(R,q.createNodeArray(R.parameters),33),R.type&&(wd(),Un(),ru("*"),Un(),mt(R.type))}function pb(R){up(R.tagName),p3(R.typeExpression),Un(),R.isBracketed&&ru("["),mt(R.name),R.isBracketed&&ru("]"),kg(R.comment)}function up(R){ru("@"),mt(R)}function kg(R){const be=KO(R);be&&(Un(),ft(be))}function p3(R){R&&(Un(),ru("{"),mt(R.type),ru("}"))}function tF(R){wd();const be=R.statements;if(be.length===0||!Mp(be[0])||sl(be[0])){_u(R,be,Ur);return}Ur(R)}function mE(R){zw(!!R.hasNoDefaultLib,R.syntheticFileReferences||[],R.syntheticTypeReferences||[],R.syntheticLibReferences||[]);for(const be of R.prepends)if(yk(be)&&be.syntheticReferences)for(const Ht of be.syntheticReferences)mt(Ht),wd()}function iF(R){R.isDeclarationFile&&zw(R.hasNoDefaultLib,R.referencedFiles,R.typeReferenceDirectives,R.libReferenceDirectives)}function zw(R,be,Ht,Oi){if(R){const yu=Ke.getTextPos();ap('/// '),Ve&&Ve.sections.push({pos:yu,end:Ke.getTextPos(),kind:"no-default-lib"}),wd()}if(Y&&Y.moduleName&&(ap(`/// `),wd()),Y&&Y.amdDependencies)for(const yu of Y.amdDependencies)yu.name?ap(`/// `):ap(`/// `),wd();for(const yu of be){const Jr=Ke.getTextPos();ap(`/// `),Ve&&Ve.sections.push({pos:Jr,end:Ke.getTextPos(),kind:"reference",data:yu.fileName}),wd()}for(const yu of Ht){const Jr=Ke.getTextPos(),br=yu.resolutionMode&&yu.resolutionMode!==(Y==null?void 0:Y.impliedNodeFormat)?`resolution-mode="${yu.resolutionMode===99?"import":"require"}"`:"";ap(`/// `),Ve&&Ve.sections.push({pos:Jr,end:Ke.getTextPos(),kind:yu.resolutionMode?yu.resolutionMode===99?"type-import":"type-require":"type",data:yu.fileName}),wd()}for(const yu of Oi){const Jr=Ke.getTextPos();ap(`/// `),Ve&&Ve.sections.push({pos:Jr,end:Ke.getTextPos(),kind:"lib",data:yu.fileName}),wd()}}function Ur(R){const be=R.statements;O1(R),L(R.statements,n1),Ui(R);const Ht=Ue(be,Oi=>!Mp(Oi));iF(R),B0(R,be,1,void 0,Ht===-1?be.length:Ht),Ff(R)}function ar(R){const be=bs(R);!(be&1024)&&R.pos!==R.expression.pos&&Up(R.expression.pos),Ei(R.expression),!(be&2048)&&R.end!==R.expression.end&&Zm(R.expression.end)}function pE(R){Eb(R,R.elements,528,void 0)}function kf(R,be,Ht,Oi){let yu=!!be;for(let Jr=0;Jr=Ht.length||br===0;if(Ao&&Oi&32768){b==null||b(Ht),B==null||B(Ht);return}Oi&15360&&(ru(czt(Oi)),Ao&&Ht&&Up(Ht.pos,!0)),b==null||b(Ht),Ao?Oi&1&&!(Ae&&(!be||Y&&hk(be,Y)))?wd():Oi&256&&!(Oi&524288)&&Un():rp(R,be,Ht,Oi,yu,Jr,br,Ht.hasTrailingComma,Ht),B==null||B(Ht),Oi&15360&&(Ao&&Ht&&Zm(Ht.end),ru(dzt(Oi)))}function rp(R,be,Ht,Oi,yu,Jr,br,Ea,Ao){const Af=(Oi&262144)===0;let Uf=Af;const Fr=uF(be,Ht[Jr],Oi);Fr?(wd(Fr),Uf=!1):Oi&256&&Un(),Oi&128&&_E();const vE=pzt(R,yu);let gn,h6,P5=!1;for(let E_=0;E_0){if(Oi&131||(_E(),P5=!0),Uf&&Oi&60&&!pg(M5.pos)){const Uw=nE(M5);Up(Uw.pos,!!(Oi&512),!0)}wd(C3),Uf=!1}else gn&&Oi&512&&Un()}if(h6=bo(M5),Uf){const C3=nE(M5);Up(C3.pos)}else Uf=Af;De=M5.pos,vE(M5,R,yu,E_),P5&&(DE(),P5=!1),gn=M5}const lF=gn?bs(gn):0,DC=Ai||!!(lF&2048),O9=Ea&&Oi&64&&Oi&16;O9&&(gn&&!DC?ta(28,gn.end,ru,gn):ru(",")),gn&&(be?be.end:-1)!==gn.end&&Oi&60&&!DC&&Zm(O9&&(Ao!=null&&Ao.end)?Ao.end:gn.end),Oi&128&&DE(),Qe(h6);const cF=r6(be,Ht[Jr+br-1],Oi,Ao);cF?wd(cF):Oi&2097408&&Un()}function sC(R){Ke.writeLiteral(R)}function S9(R){Ke.writeStringLiteral(R)}function lz(R){Ke.write(R)}function nF(R,be){Ke.writeSymbol(R,be)}function ru(R){Ke.writePunctuation(R)}function v1(){Ke.writeTrailingSemicolon(";")}function Ma(R){Ke.writeKeyword(R)}function lf(R){Ke.writeOperator(R)}function EE(R){Ke.writeParameter(R)}function ap(R){Ke.writeComment(R)}function Un(){Ke.writeSpace(" ")}function _b(R){Ke.writeProperty(R)}function lC(R){Ke.nonEscapingWrite?Ke.nonEscapingWrite(R):Ke.write(R)}function wd(R=1){for(let be=0;be0)}function _E(){Ke.increaseIndent()}function DE(){Ke.decreaseIndent()}function u6(R,be,Ht,Oi){return st?hD(R,Ht,be):v3(Oi,R,Ht,be,hD)}function B9(R,be){k&&k(R),be(Uo(R.kind)),T&&T(R)}function hD(R,be,Ht){const Oi=Uo(R);return be(Oi),Ht<0?Ht:Ht+Oi.length}function cC(R,be,Ht){if(bs(R)&1)Un();else if(Ae){const Oi=E4(R,be,Ht);Oi?wd(Oi):Un()}else wd()}function dC(R){const be=R.split(/\r\n?|\n/g),Ht=Dbe(be);for(const Oi of be){const yu=Ht?Oi.slice(Ht):Oi;yu.length&&(wd(),ft(yu))}}function _3(R,be){R?(_E(),wd(R)):be&&Un()}function g_(R,be){R&&DE(),be&&DE()}function uF(R,be,Ht){if(Ht&2||Ae){if(Ht&65536)return 1;if(be===void 0)return!R||Y&&hk(R,Y)?0:1;if(be.pos===De||be.kind===12)return 0;if(Y&&R&&!pg(R.pos)&&!sl(be)&&(!be.parent||Wl(be.parent)===Wl(R)))return Ae?Db(Oi=>Wye(be.pos,R.pos,Y,Oi)):Gq(R,be,Y)?0:1;if(xb(be,Ht))return 1}return Ht&1?1:0}function fD(R,be,Ht){if(Ht&2||Ae){if(R===void 0||be===void 0||be.kind===12)return 0;if(Y&&!sl(R)&&!sl(be))return Ae&&cf(R,be)?Db(Oi=>mle(R,be,Y,Oi)):!Ae&&Dm(R,be)?qj(R,be,Y)?0:1:Ht&65536?1:0;if(xb(R,Ht)||xb(be,Ht))return 1}else if(RP(be))return 1;return Ht&1?1:0}function r6(R,be,Ht,Oi){if(Ht&2||Ae){if(Ht&65536)return 1;if(be===void 0)return!R||Y&&hk(R,Y)?0:1;if(Y&&R&&!pg(R.pos)&&!sl(be)&&(!be.parent||be.parent===R)){if(Ae){const yu=Oi&&!pg(Oi.end)?Oi.end:be.end;return Db(Jr=>Gye(yu,R.end,Y,Jr))}return Vye(R,be,Y)?0:1}if(xb(be,Ht))return 1}return Ht&1&&!(Ht&131072)?1:0}function Db(R){H.assert(!!Ae);const be=R(!0);return be===0?R(!1):be}function w9(R,be){const Ht=Ae&&uF(be,R,0);return Ht&&_3(Ht,!1),!!Ht}function rF(R,be){const Ht=Ae&&r6(be,R,0,void 0);Ht&&wd(Ht)}function xb(R,be){if(sl(R)){const Ht=RP(R);return Ht===void 0?(be&65536)!==0:Ht}return(be&65536)!==0}function E4(R,be,Ht){return bs(R)&262144?0:(R=yc(R),be=yc(be),Ht=yc(Ht),RP(Ht)?1:Y&&!sl(R)&&!sl(be)&&!sl(Ht)?Ae?Db(Oi=>mle(be,Ht,Y,Oi)):qj(be,Ht,Y)?0:1:0)}function hC(R){return R.statements.length===0&&(!Y||qj(R,R,Y))}function yc(R){for(;R.kind===217&&sl(R);)R=R.expression;return R}function md(R,be){if(al(R)||Uy(R))return a6(R);if(us(R)&&R.textSourceNode)return md(R.textSourceNode,be);const Ht=Y,Oi=!!Ht&&!!R.parent&&!sl(R);if(J_(R)){if(!Oi||zn(R)!==Wl(Ht))return fu(R)}else if(gg(R)){if(!Oi||zn(R)!==Wl(Ht))return zP(R)}else if(H.assertNode(R,E2),!Oi)return R.text;return x2(Ht,R,be)}function T9(R,be,Ht){if(R.kind===11&&R.textSourceNode){const yu=R.textSourceNode;if(at(yu)||Xr(yu)||Of(yu)||gg(yu)){const Jr=Of(yu)?yu.text:md(yu);return Ht?`"${X0e(Jr)}"`:be||bs(R)&16777216?`"${Av(Jr)}"`:`"${jj(Jr)}"`}else return T9(yu,be,Ht)}const Oi=(be?1:0)|(Ht?2:0)|(t.terminateUnterminatedLiterals?4:0)|(t.target&&t.target===99?8:0);return wbe(R,Y,Oi)}function O1(R){R&&bs(R)&1048576||(Ne.push(pe),pe=0,Ce.push(ne),ne=void 0,fe.push(xe))}function Ff(R){R&&bs(R)&1048576||(pe=Ne.pop(),ne=Ce.pop(),xe=fe.pop())}function vb(R){(!xe||xe===qu(fe))&&(xe=new Set),xe.add(R)}function _4(R,be){ve.push(Se),Se=R,Be.push(xe),Ge=be}function fC(){Se=ve.pop(),Ge=Be.pop()}function T5(R){(!Ge||Ge===qu(Be))&&(Ge=new Set),Ge.add(R)}function n1(R){if(R)switch(R.kind){case 241:L(R.statements,n1);break;case 256:case 254:case 246:case 247:n1(R.statement);break;case 245:n1(R.thenStatement),n1(R.elseStatement);break;case 248:case 250:case 249:n1(R.initializer),n1(R.statement);break;case 255:n1(R.caseBlock);break;case 269:L(R.clauses,n1);break;case 296:case 297:L(R.statements,n1);break;case 258:n1(R.tryBlock),n1(R.catchClause),n1(R.finallyBlock);break;case 299:n1(R.variableDeclaration),n1(R.block);break;case 243:n1(R.declarationList);break;case 261:L(R.declarations,n1);break;case 260:case 169:case 208:case 263:op(R.name);break;case 262:op(R.name),bs(R)&1048576&&(L(R.parameters,n1),n1(R.body));break;case 206:case 207:L(R.elements,n1);break;case 272:n1(R.importClause);break;case 273:op(R.name),n1(R.namedBindings);break;case 274:op(R.name);break;case 280:op(R.name);break;case 275:L(R.elements,n1);break;case 276:op(R.propertyName||R.name);break}}function aF(R){if(R)switch(R.kind){case 303:case 304:case 172:case 174:case 177:case 178:op(R.name);break}}function op(R){R&&(al(R)||Uy(R)?a6(R):So(R)&&n1(R))}function a6(R){const be=R.emitNode.autoGenerate;if((be.flags&7)===4)return Hw(jV(R),Xr(R),be.flags,be.prefix,be.suffix);{const Ht=be.id;return ge[Ht]||(ge[Ht]=cz(R))}}function Hw(R,be,Ht,Oi,yu){const Jr=$s(R),br=be?se:oe;return br[Jr]||(br[Jr]=L5(R,be,Ht??0,RB(Oi,a6),RB(yu)))}function R0(R,be){return oF(R)&&!Kw(R,be)&&!ae.has(R)}function Kw(R,be){return be?!!(Ge!=null&&Ge.has(R)):!!(xe!=null&&xe.has(R))}function oF(R,be){return Y?QU(Y,R,s):!0}function mC(R,be){for(let Ht=be;Ht&&S2(Ht,be);Ht=Ht.nextContainer)if(UE(Ht)&&Ht.locals){const Oi=Ht.locals.get(Al(R));if(Oi&&Oi.flags&3257279)return!1}return!0}function L9(R){switch(R){case"":return pe;case"#":return Se;default:return(ne==null?void 0:ne.get(R))??0}}function Kh(R,be){switch(R){case"":pe=be;break;case"#":Se=be;break;default:ne??(ne=new Map),ne.set(R,be);break}}function D3(R,be,Ht,Oi,yu){Oi.length>0&&Oi.charCodeAt(0)===35&&(Oi=Oi.slice(1));const Jr=jv(Ht,Oi,"",yu);let br=L9(Jr);if(R&&!(br&R)){const Ao=jv(Ht,Oi,R===268435456?"_i":"_n",yu);if(R0(Ao,Ht))return br|=R,Ht?T5(Ao):be&&vb(Ao),Kh(Jr,br),Ao}for(;;){const Ea=br&268435455;if(br++,Ea!==8&&Ea!==13){const Ao=Ea<26?"_"+String.fromCharCode(97+Ea):"_"+(Ea-26),Af=jv(Ht,Oi,Ao,yu);if(R0(Af,Ht))return Ht?T5(Af):be&&vb(Af),Kh(Jr,br),Af}}}function mD(R,be=R0,Ht,Oi,yu,Jr,br){if(R.length>0&&R.charCodeAt(0)===35&&(R=R.slice(1)),Jr.length>0&&Jr.charCodeAt(0)===35&&(Jr=Jr.slice(1)),Ht){const Ao=jv(yu,Jr,R,br);if(be(Ao,yu))return yu?T5(Ao):Oi?vb(Ao):ae.add(Ao),Ao}R.charCodeAt(R.length-1)!==95&&(R+="_");let Ea=1;for(;;){const Ao=jv(yu,Jr,R+Ea,br);if(be(Ao,yu))return yu?T5(Ao):Oi?vb(Ao):ae.add(Ao),Ao;Ea++}}function Cb(R){return mD(R,oF,!0,!1,!1,"","")}function _m(R){const be=md(R.name);return mC(be,ur(R,UE))?be:mD(be,R0,!1,!1,!1,"","")}function N9(R){const be=Y8(R),Ht=us(be)?Lbe(be.text):"module";return mD(Ht,R0,!1,!1,!1,"","")}function o6(){return mD("default",R0,!1,!1,!1,"","")}function qm(){return mD("class",R0,!1,!1,!1,"","")}function bb(R,be,Ht,Oi){return at(R.name)?Hw(R.name,be):D3(0,!1,be,Ht,Oi)}function L5(R,be,Ht,Oi,yu){switch(R.kind){case 80:case 81:return mD(md(R),R0,!!(Ht&16),!!(Ht&8),be,Oi,yu);case 267:case 266:return H.assert(!Oi&&!yu&&!be),_m(R);case 272:case 278:return H.assert(!Oi&&!yu&&!be),N9(R);case 262:case 263:{H.assert(!Oi&&!yu&&!be);const Jr=R.name;return Jr&&!al(Jr)?L5(Jr,!1,Ht,Oi,yu):o6()}case 277:return H.assert(!Oi&&!yu&&!be),o6();case 231:return H.assert(!Oi&&!yu&&!be),qm();case 174:case 177:case 178:return bb(R,be,Oi,yu);case 167:return D3(0,!0,be,Oi,yu);default:return D3(0,!1,be,Oi,yu)}}function cz(R){const be=R.emitNode.autoGenerate,Ht=RB(be.prefix,a6),Oi=RB(be.suffix);switch(be.flags&7){case 1:return D3(0,!!(be.flags&8),Xr(R),Ht,Oi);case 2:return H.assertNode(R,at),D3(268435456,!!(be.flags&8),!1,Ht,Oi);case 3:return mD(fu(R),be.flags&32?oF:R0,!!(be.flags&16),!!(be.flags&8),Xr(R),Ht,Oi)}return H.fail(`Unsupported GeneratedIdentifierKind: ${H.formatEnum(be.flags&7,sU,!0)}.`)}function P9(R,be){const Ht=je(2,R,be),Oi=Ni,yu=ji,Jr=xn;M9(be),Ht(R,be),z9(be,Oi,yu,Jr)}function M9(R){const be=bs(R),Ht=nE(R);pC(R,be,Ht.pos,Ht.end),be&4096&&(Ai=!0)}function z9(R,be,Ht,Oi){const yu=bs(R),Jr=nE(R);yu&4096&&(Ai=!1),$f(R,yu,Jr.pos,Jr.end,be,Ht,Oi);const br=Wke(R);br&&$f(R,yu,br.pos,br.end,be,Ht,Oi)}function pC(R,be,Ht,Oi){yr(),Pi=!1;const yu=Ht<0||(be&1024)!==0||R.kind===12,Jr=Oi<0||(be&2048)!==0||R.kind===12;(Ht>0||Oi>0)&&Ht!==Oi&&(yu||yb(Ht,R.kind!==359),(!yu||Ht>=0&&be&1024)&&(Ni=Ht),(!Jr||Oi>=0&&be&2048)&&(ji=Oi,R.kind===261&&(xn=Oi))),L(DB(R),x3),Ba()}function $f(R,be,Ht,Oi,yu,Jr,br){yr();const Ea=Oi<0||(be&2048)!==0||R.kind===12;L(DV(R),I9),(Ht>0||Oi>0)&&Ht!==Oi&&(Ni=yu,ji=Jr,xn=br,!Ea&&R.kind!==359&&sp(Oi)),Ba()}function x3(R){(R.hasLeadingNewline||R.kind===2)&&Ke.writeLine(),R9(R),R.hasTrailingNewLine||R.kind===2?Ke.writeLine():Ke.writeSpace(" ")}function I9(R){Ke.isAtStartOfLine()||Ke.writeSpace(" "),R9(R),R.hasTrailingNewLine&&Ke.writeLine()}function R9(R){const be=Ks(R),Ht=R.kind===3?n7(be):void 0;sB(be,Ht,Ke,0,be.length,j)}function Ks(R){return R.kind===3?`/*${R.text}*/`:`//${R.text}`}function _u(R,be,Ht){yr();const{pos:Oi,end:yu}=be,Jr=bs(R),br=Oi<0||(Jr&1024)!==0,Ea=Ai||yu<0||(Jr&2048)!==0;br||Gw(be),Ba(),Jr&4096&&!Ai?(Ai=!0,Ht(R),Ai=!1):Ht(R),yr(),Ea||(yb(be.end,!0),Pi&&!Ke.isAtStartOfLine()&&Ke.writeLine()),Ba()}function Dm(R,be){return R=Wl(R),R.parent&&R.parent===Wl(be).parent}function cf(R,be){if(be.pos-1&&Oi.indexOf(be)===yu+1}function yb(R,be){Pi=!1,be?R===0&&(Y!=null&&Y.isDeclarationFile)?Fb(R,gC):Fb(R,s6):R===0&&Fb(R,Ww)}function Ww(R,be,Ht,Oi,yu){EC(R,be)&&s6(R,be,Ht,Oi,yu)}function gC(R,be,Ht,Oi,yu){EC(R,be)||s6(R,be,Ht,Oi,yu)}function kb(R,be){return t.onlyPrintJsDocStyle?Jce(R,be)||XU(R,be):!0}function s6(R,be,Ht,Oi,yu){!Y||!kb(Y.text,R)||(Pi||(Fye(vi(),Ke,yu,R),Pi=!0),xE(R),sB(Y.text,vi(),Ke,R,be,j),xE(be),Oi?Ke.writeLine():Ht===3&&Ke.writeSpace(" "))}function Zm(R){Ai||R===-1||yb(R,!0)}function sp(R){Pc(R,l6)}function l6(R,be,Ht,Oi){!Y||!kb(Y.text,R)||(Ke.isAtStartOfLine()||Ke.writeSpace(" "),xE(R),sB(Y.text,vi(),Ke,R,be,j),xE(be),Oi&&Ke.writeLine())}function Up(R,be,Ht){Ai||(yr(),Pc(R,be?l6:Ht?lp:N5),Ba())}function lp(R,be,Ht){Y&&(xE(R),sB(Y.text,vi(),Ke,R,be,j),xE(be),Ht===2&&Ke.writeLine())}function N5(R,be,Ht,Oi){Y&&(xE(R),sB(Y.text,vi(),Ke,R,be,j),xE(be),Oi?Ke.writeLine():Ke.writeSpace(" "))}function Fb(R,be){Y&&(Ni===-1||R!==Ni)&&(dz(R)?D4(be):NO(Y.text,R,be,R))}function Pc(R,be){Y&&(ji===-1||R!==ji&&R!==xn)&&PO(Y.text,R,be)}function dz(R){return an!==void 0&&Cr(an).nodePos===R}function D4(R){if(!Y)return;const be=Cr(an).detachedCommentEndPos;an.length-1?an.pop():an=void 0,NO(Y.text,be,R,be)}function Gw(R){const be=Y&&Sye(Y.text,vi(),Ke,j1,R,j,Ai);be&&(an?an.push(be):an=[be])}function j1(R,be,Ht,Oi,yu,Jr){!Y||!kb(Y.text,Oi)||(xE(Oi),sB(R,be,Ht,Oi,yu,Jr),xE(yu))}function EC(R,be){return!!Y&&c0e(Y.text,R,be)}function Ab(R){return R.parsedSourceMap===void 0&&R.sourceMapText!==void 0&&(R.parsedSourceMap=Wde(R.sourceMapText)||!1),R.parsedSourceMap||void 0}function sF(R,be){const Ht=je(3,R,be);Jw(be),Ht(R,be),x4(be)}function Jw(R){const be=bs(R),Ht=Lv(R);if(Gse(R)){H.assertIsDefined(R.parent,"UnparsedNodes must have parent pointers");const Oi=Ab(R.parent);Oi&&St&&St.appendSourceMap(Ke.getLine(),Ke.getColumn(),Oi,R.parent.sourceMapPath,R.parent.getLineAndCharacterOfPosition(R.pos),R.parent.getLineAndCharacterOfPosition(R.end))}else{const Oi=Ht.source||It;R.kind!==359&&!(be&32)&&Ht.pos>=0&&c6(Ht.source||It,Ol(Oi,Ht.pos)),be&128&&(st=!0)}}function x4(R){const be=bs(R),Ht=Lv(R);Gse(R)||(be&128&&(st=!1),R.kind!==359&&!(be&64)&&Ht.end>=0&&c6(Ht.source||It,Ht.end))}function Ol(R,be){return R.skipTrivia?R.skipTrivia(be):gs(R.text,be)}function xE(R){if(st||pg(R)||d6(It))return;const{line:be,character:Ht}=s0(It,R);St.addMapping(Ke.getLine(),Ke.getColumn(),ei,be,Ht,void 0)}function c6(R,be){if(R!==It){const Ht=It,Oi=ei;_C(R),xE(be),$w(Ht,Oi)}else xE(be)}function v3(R,be,Ht,Oi,yu){if(st||R&&Dq(R))return yu(be,Ht,Oi);const Jr=R&&R.emitNode,br=Jr&&Jr.flags||0,Ea=Jr&&Jr.tokenSourceMapRanges&&Jr.tokenSourceMapRanges[be],Ao=Ea&&Ea.source||It;return Oi=Ol(Ao,Ea?Ea.pos:Oi),!(br&256)&&Oi>=0&&c6(Ao,Oi),Oi=yu(be,Ht,Oi),Ea&&(Oi=Ea.end),!(br&512)&&Oi>=0&&c6(Ao,Oi),Oi}function _C(R){if(!st){if(It=R,R===ht){ei=Ut;return}d6(R)||(ei=St.addSource(R.fileName),t.inlineSources&&St.setSourceContent(ei,R.text),ht=R,Ut=ei)}}function $w(R,be){It=R,ei=be}function d6(R){return Ml(R.fileName,".json")}}function lzt(){const t=[];return t[1024]=["{","}"],t[2048]=["(",")"],t[4096]=["<",">"],t[8192]=["[","]"],t}function czt(t){return T7e[t&15360][0]}function dzt(t){return T7e[t&15360][1]}function hzt(t,u,s,d){u(t)}function fzt(t,u,s,d){u(t,s.select(d))}function mzt(t,u,s,d){u(t,s)}function pzt(t,u){return t.length===1?hzt:typeof u=="object"?fzt:mzt}var T7e,DQ,f1e,X2,m1e,EH,gzt=o({"src/compiler/emitter.ts"(){Bo(),Bo(),Wy(),T7e=lzt(),DQ={hasGlobalName:ho,getReferencedExportContainer:ho,getReferencedImportDeclaration:ho,getReferencedDeclarationWithCollidingName:ho,isDeclarationWithCollidingName:ho,isValueAliasDeclaration:ho,isReferencedAliasDeclaration:ho,isTopLevelValueImportEqualsWithEntityName:ho,getNodeCheckFlags:ho,isDeclarationVisible:ho,isLateBound:t=>!1,collectLinkedAliases:ho,isImplementationOfOverload:ho,isRequiredInitializedParameter:ho,isOptionalUninitializedParameterProperty:ho,isExpandoFunctionDeclaration:ho,getPropertiesOfContainerFunction:ho,createTypeOfDeclaration:ho,createReturnTypeOfSignatureDeclaration:ho,createTypeOfExpression:ho,createLiteralConstValue:ho,isSymbolAccessible:ho,isEntityNameVisible:ho,getConstantValue:ho,getReferencedValueDeclaration:ho,getReferencedValueDeclarations:ho,getTypeReferenceSerializationKind:ho,isOptionalParameter:ho,moduleExportsSomeValue:ho,isArgumentsLocalBinding:ho,getExternalModuleFileFromDeclaration:ho,getTypeReferenceDirectivesForEntityName:ho,getTypeReferenceDirectivesForSymbol:ho,isLiteralConstDeclaration:ho,getJsxFactoryEntity:ho,getJsxFragmentFactoryEntity:ho,getAllAccessorDeclarations:ho,getSymbolOfExternalModuleSpecifier:ho,isBindingCapturedByNode:ho,getDeclarationStatementsForSourceFile:ho,isImportRequiredByAugmentation:ho,tryFindAmbientModule:ho},f1e=Mh(()=>Gv({})),X2=Mh(()=>Gv({removeComments:!0})),m1e=Mh(()=>Gv({removeComments:!0,neverAsciiEscape:!0})),EH=Mh(()=>Gv({removeComments:!0,omitTrailingSemicolon:!0}))}});function xQ(t,u,s){if(!t.getDirectories||!t.readDirectory)return;const d=new Map,f=L1(s);return{useCaseSensitiveFileNames:s,fileExists:z,readFile:(ne,ve)=>t.readFile(ne,ve),directoryExists:t.directoryExists&&j,getDirectories:K,readDirectory:Y,createDirectory:t.createDirectory&&J,writeFile:t.writeFile&&M,addOrDeleteFileOrDirectory:se,addOrDeleteFile:ge,clearCache:Ce,realpath:t.realpath&&oe};function p(ne){return J0(ne,u,f)}function E(ne){return d.get(zd(ne))}function v(ne){const ve=E(lr(ne));return ve&&(ve.sortedAndCanonicalizedFiles||(ve.sortedAndCanonicalizedFiles=ve.files.map(f).sort(),ve.sortedAndCanonicalizedDirectories=ve.directories.map(f).sort()),ve)}function b(ne){return Ac($o(ne))}function B(ne,ve){var Se;if(!t.realpath||zd(p(t.realpath(ne)))===ve){const Ne={files:Vt(t.readDirectory(ne,void 0,void 0,["*.*"]),b)||[],directories:t.getDirectories(ne)||[]};return d.set(zd(ve),Ne),Ne}if((Se=t.directoryExists)!=null&&Se.call(t,ne))return d.set(ve,!1),!1}function k(ne,ve){ve=zd(ve);const Se=E(ve);if(Se)return Se;try{return B(ne,ve)}catch{H.assert(!d.has(zd(ve)));return}}function T(ne,ve){return Kl(ne,ve,il,dh)>=0}function M(ne,ve,Se){const Ne=p(ne),pe=v(Ne);return pe&&ae(pe,b(ne),!0),t.writeFile(ne,ve,Se)}function z(ne){const ve=p(ne),Se=v(ve);return Se&&T(Se.sortedAndCanonicalizedFiles,f(b(ne)))||t.fileExists(ne)}function j(ne){const ve=p(ne);return d.has(zd(ve))||t.directoryExists(ne)}function J(ne){const ve=p(ne),Se=v(ve);if(Se){const Ne=b(ne),pe=f(Ne),fe=Se.sortedAndCanonicalizedDirectories;Tt(fe,pe,dh)&&Se.directories.push(Ne)}t.createDirectory(ne)}function K(ne){const ve=p(ne),Se=k(ne,ve);return Se?Se.directories.slice():t.getDirectories(ne)}function Y(ne,ve,Se,Ne,pe){const fe=p(ne),xe=k(ne,fe);let Be;if(xe!==void 0)return Ale(ne,ve,Se,Ne,s,u,pe,Ge,oe);return t.readDirectory(ne,ve,Se,Ne,pe);function Ge(De){const Ke=p(De);if(Ke===fe)return xe||Ae(De,Ke);const Je=k(De,Ke);return Je!==void 0?Je||Ae(De,Ke):bZ}function Ae(De,Ke){if(Be&&Ke===fe)return Be;const Je={files:Vt(t.readDirectory(De,void 0,void 0,["*.*"]),b)||_t,directories:t.getDirectories(De)||_t};return Ke===fe&&(Be=Je),Je}}function oe(ne){return t.realpath?t.realpath(ne):ne}function se(ne,ve){if(E(ve)!==void 0){Ce();return}const Ne=v(ve);if(!Ne)return;if(!t.directoryExists){Ce();return}const pe=b(ne),fe={fileExists:t.fileExists(ve),directoryExists:t.directoryExists(ve)};return fe.directoryExists||T(Ne.sortedAndCanonicalizedDirectories,f(pe))?Ce():ae(Ne,pe,fe.fileExists),fe}function ge(ne,ve,Se){if(Se===1)return;const Ne=v(ve);Ne&&ae(Ne,b(ne),Se===0)}function ae(ne,ve,Se){const Ne=ne.sortedAndCanonicalizedFiles,pe=f(ve);if(Se)Tt(Ne,pe,dh)&&ne.files.push(ve);else{const fe=Kl(Ne,pe,il,dh);if(fe>=0){Ne.splice(fe,1);const xe=ne.files.findIndex(Be=>f(Be)===pe);ne.files.splice(xe,1)}}}function Ce(){d.clear()}}function vQ(t,u,s,d,f){var p;const E=lg(((p=u==null?void 0:u.configFile)==null?void 0:p.extendedSourceFiles)||_t,f);s.forEach((v,b)=>{E.has(b)||(v.projects.delete(t),v.close())}),E.forEach((v,b)=>{const B=s.get(b);B?B.projects.add(t):s.set(b,{projects:new Set([t]),watcher:d(v,b),close:()=>{const k=s.get(b);!k||k.projects.size!==0||(k.watcher.close(),s.delete(b))}})})}function p1e(t,u){u.forEach(s=>{s.projects.delete(t)&&s.close()})}function CQ(t,u,s){t.delete(u)&&t.forEach(({extendedResult:d},f)=>{var p;(p=d.extendedSourceFiles)!=null&&p.some(E=>s(E)===u)&&CQ(t,f,s)})}function utt(t,u,s){const d=new Map(t);cB(u,d,{createNewValue:s,onDeleteValue:fg})}function g1e(t,u,s){const d=t.getMissingFilePaths(),f=lg(d,il,J3);cB(u,f,{createNewValue:s,onDeleteValue:fg})}function _H(t,u,s){cB(t,u,{createNewValue:d,onDeleteValue:jm,onExistingValue:f});function d(p,E){return{watcher:s(p,E),flags:E}}function f(p,E,v){p.flags!==E&&(p.watcher.close(),t.set(v,d(v,E)))}}function DH({watchedDirPath:t,fileOrDirectory:u,fileOrDirectoryPath:s,configFileName:d,options:f,program:p,extraFileExtensions:E,currentDirectory:v,useCaseSensitiveFileNames:b,writeLog:B,toPath:k,getScriptKind:T}){const M=zQ(s);if(!M)return B(`Project: ${d} Detected ignored path: ${u}`),!0;if(s=M,s===t)return!1;if(t7(s)&&!(hke(u,f,E)||Y()))return B(`Project: ${d} Detected file add/remove of non supported extension: ${u}`),!0;if(QFe(u,f.configFile.configFileSpecs,$a(lr(d),v),b,v))return B(`Project: ${d} Detected excluded file: ${u}`),!0;if(!p||y0(f)||f.outDir)return!1;if(e1(s)){if(f.declarationDir)return!1}else if(!jc(s,_B))return!1;const z=_h(s),j=Ha(p)?void 0:Ezt(p)?p.getProgramOrUndefined():p,J=!j&&!Ha(p)?p:void 0;if(K(z+".ts")||K(z+".tsx"))return B(`Project: ${d} Detected output file: ${u}`),!0;return!1;function K(oe){return j?!!j.getSourceFileByPath(oe):J?J.getState().fileInfos.has(oe):!!Le(p,se=>k(se)===oe)}function Y(){if(!T)return!1;switch(T(u)){case 3:case 4:case 7:case 5:return!0;case 1:case 2:return Bv(f);case 6:return M2(f);case 0:return!1}}}function Ezt(t){return!!t.getState}function L7e(t,u){return t?t.isEmittedFile(u):!1}function E1e(t,u,s,d){g2e(u===2?s:Is);const f={watchFile:(J,K,Y,oe)=>t.watchFile(J,K,Y,oe),watchDirectory:(J,K,Y,oe)=>t.watchDirectory(J,K,(Y&1)!==0,oe)},p=u!==0?{watchFile:z("watchFile"),watchDirectory:z("watchDirectory")}:void 0,E=u===2?{watchFile:T,watchDirectory:M}:p||f,v=u===2?k:iw;return{watchFile:b("watchFile"),watchDirectory:b("watchDirectory")};function b(J){return(K,Y,oe,se,ge,ae)=>{var Ce;return TY(K,J==="watchFile"?se==null?void 0:se.excludeFiles:se==null?void 0:se.excludeDirectories,B(),((Ce=t.getCurrentDirectory)==null?void 0:Ce.call(t))||"")?v(K,oe,se,ge,ae):E[J].call(void 0,K,Y,oe,se,ge,ae)}}function B(){return typeof t.useCaseSensitiveFileNames=="boolean"?t.useCaseSensitiveFileNames:t.useCaseSensitiveFileNames()}function k(J,K,Y,oe,se){return s(`ExcludeWatcher:: Added:: ${j(J,K,Y,oe,se,d)}`),{close:()=>s(`ExcludeWatcher:: Close:: ${j(J,K,Y,oe,se,d)}`)}}function T(J,K,Y,oe,se,ge){s(`FileWatcher:: Added:: ${j(J,Y,oe,se,ge,d)}`);const ae=p.watchFile(J,K,Y,oe,se,ge);return{close:()=>{s(`FileWatcher:: Close:: ${j(J,Y,oe,se,ge,d)}`),ae.close()}}}function M(J,K,Y,oe,se,ge){const ae=`DirectoryWatcher:: Added:: ${j(J,Y,oe,se,ge,d)}`;s(ae);const Ce=G0(),ne=p.watchDirectory(J,K,Y,oe,se,ge),ve=G0()-Ce;return s(`Elapsed:: ${ve}ms ${ae}`),{close:()=>{const Se=`DirectoryWatcher:: Close:: ${j(J,Y,oe,se,ge,d)}`;s(Se);const Ne=G0();ne.close();const pe=G0()-Ne;s(`Elapsed:: ${pe}ms ${Se}`)}}}function z(J){return(K,Y,oe,se,ge,ae)=>f[J].call(void 0,K,(...Ce)=>{const ne=`${J==="watchFile"?"FileWatcher":"DirectoryWatcher"}:: Triggered with ${Ce[0]} ${Ce[1]!==void 0?Ce[1]:""}:: ${j(K,oe,se,ge,ae,d)}`;s(ne);const ve=G0();Y.call(void 0,...Ce);const Se=G0()-ve;s(`Elapsed:: ${Se}ms ${ne}`)},oe,se,ge,ae)}function j(J,K,Y,oe,se,ge){return`WatchInfo: ${J} ${K} ${JSON.stringify(Y)} ${ge?ge(oe,se):se===void 0?oe:`${oe} ${se}`}`}}function xH(t){const u=t==null?void 0:t.fallbackPolling;return{watchFile:u!==void 0?u:1}}function jm(t){t.watcher.close()}var _1e,D1e,_zt=o({"src/compiler/watchUtilities.ts"(){Bo(),_1e=(t=>(t[t.Update=0]="Update",t[t.RootNamesAndUpdate=1]="RootNamesAndUpdate",t[t.Full=2]="Full",t))(_1e||{}),D1e=(t=>(t[t.None=0]="None",t[t.TriggerOnly=1]="TriggerOnly",t[t.Verbose=2]="Verbose",t))(D1e||{})}});function N7e(t,u,s="tsconfig.json"){return Ug(t,d=>{const f=cr(d,s);return u(f)?f:void 0})}function bQ(t,u){const s=lr(u),d=Pf(t)?t:cr(s,t);return $o(d)}function P7e(t,u,s){let d;return L(t,p=>{const E=FO(p,u);if(E.pop(),!d){d=E;return}const v=Math.min(d.length,E.length);for(let b=0;b{let E;try{ul("beforeIORead"),E=t(d,u().charset),ul("afterIORead"),Tm("I/O Read","beforeIORead","afterIORead")}catch(v){p&&p(v.message),E=""}return E!==void 0?KV(d,E,f,s):void 0}}function v1e(t,u,s){return(d,f,p,E)=>{try{ul("beforeIOWrite"),nle(d,f,p,t,u,s),ul("afterIOWrite"),Tm("I/O Write","beforeIOWrite","afterIOWrite")}catch(v){E&&E(v.message)}}}function C1e(t,u,s=c1){const d=new Map,f=L1(s.useCaseSensitiveFileNames);function p(k){return d.has(k)?!0:(B.directoryExists||s.directoryExists)(k)?(d.set(k,!0),!0):!1}function E(){return lr($o(s.getExecutingFilePath()))}const v=a5(t),b=s.realpath&&(k=>s.realpath(k)),B={getSourceFile:x1e(k=>B.readFile(k),()=>t,u),getDefaultLibLocation:E,getDefaultLibFileName:k=>cr(E(),zO(k)),writeFile:v1e((k,T,M)=>s.writeFile(k,T,M),k=>(B.createDirectory||s.createDirectory)(k),k=>p(k)),getCurrentDirectory:Mh(()=>s.getCurrentDirectory()),useCaseSensitiveFileNames:()=>s.useCaseSensitiveFileNames,getCanonicalFileName:f,getNewLine:()=>v,fileExists:k=>s.fileExists(k),readFile:k=>s.readFile(k),trace:k=>s.write(k+v),directoryExists:k=>s.directoryExists(k),getEnvironmentVariable:k=>s.getEnvironmentVariable?s.getEnvironmentVariable(k):"",getDirectories:k=>s.getDirectories(k),realpath:b,readDirectory:(k,T,M,z,j)=>s.readDirectory(k,T,M,z,j),createDirectory:k=>s.createDirectory(k),createHash:Lo(s,s.createHash)};return B}function vH(t,u,s){const d=t.readFile,f=t.fileExists,p=t.directoryExists,E=t.createDirectory,v=t.writeFile,b=new Map,B=new Map,k=new Map,T=new Map,M=J=>{const K=u(J),Y=b.get(K);return Y!==void 0?Y!==!1?Y:void 0:z(K,J)},z=(J,K)=>{const Y=d.call(t,K);return b.set(J,Y!==void 0?Y:!1),Y};t.readFile=J=>{const K=u(J),Y=b.get(K);return Y!==void 0?Y!==!1?Y:void 0:!Ml(J,".json")&&!S7e(J)?d.call(t,J):z(K,J)};const j=s?(J,K,Y,oe)=>{const se=u(J),ge=typeof K=="object"?K.impliedNodeFormat:void 0,ae=T.get(ge),Ce=ae==null?void 0:ae.get(se);if(Ce)return Ce;const ne=s(J,K,Y,oe);return ne&&(e1(J)||Ml(J,".json"))&&T.set(ge,(ae||new Map).set(se,ne)),ne}:void 0;return t.fileExists=J=>{const K=u(J),Y=B.get(K);if(Y!==void 0)return Y;const oe=f.call(t,J);return B.set(K,!!oe),oe},v&&(t.writeFile=(J,K,...Y)=>{const oe=u(J);B.delete(oe);const se=b.get(oe);se!==void 0&&se!==K?(b.delete(oe),T.forEach(ge=>ge.delete(oe))):j&&T.forEach(ge=>{const ae=ge.get(oe);ae&&ae.text!==K&&ge.delete(oe)}),v.call(t,J,K,...Y)}),p&&(t.directoryExists=J=>{const K=u(J),Y=k.get(K);if(Y!==void 0)return Y;const oe=p.call(t,J);return k.set(K,!!oe),oe},E&&(t.createDirectory=J=>{const K=u(J);k.delete(K),E.call(t,J)})),{originalReadFile:d,originalFileExists:f,originalDirectoryExists:p,originalCreateDirectory:E,originalWriteFile:v,getSourceFileWithCache:j,readFileWithCache:M}}function rtt(t,u,s){let d;return d=yn(d,t.getConfigFileParsingDiagnostics()),d=yn(d,t.getOptionsDiagnostics(s)),d=yn(d,t.getSyntacticDiagnostics(u,s)),d=yn(d,t.getGlobalDiagnostics(s)),d=yn(d,t.getSemanticDiagnostics(u,s)),c4(t.getCompilerOptions())&&(d=yn(d,t.getDeclarationDiagnostics(u,s))),A8(d||_t)}function att(t,u){let s="";for(const d of t)s+=b1e(d,u);return s}function b1e(t,u){const s=`${Gy(t)} TS${t.code}: ${lE(t.messageText,u.getNewLine())}${u.getNewLine()}`;if(t.file){const{line:d,character:f}=s0(t.file,t.start),p=t.file.fileName;return`${wN(p,u.getCurrentDirectory(),v=>u.getCanonicalFileName(v))}(${d+1},${f+1}): `+s}return s}function ott(t){switch(t){case 1:return"\x1B[91m";case 0:return"\x1B[93m";case 2:return H.fail("Should never get an Info diagnostic on the command line.");case 3:return"\x1B[94m"}}function eb(t,u){return u+t+O7e}function stt(t,u,s,d,f,p){const{line:E,character:v}=s0(t,u),{line:b,character:B}=s0(t,u+s),k=s0(t,t.text.length).line,T=b-E>=4;let M=(b+1+"").length;T&&(M=Math.max(j7e.length,M));let z="";for(let j=E;j<=b;j++){z+=p.getNewLine(),T&&E+1s.getCanonicalFileName(b)):t.fileName;let v="";return v+=d(E,"\x1B[96m"),v+=":",v+=d(`${f+1}`,"\x1B[93m"),v+=":",v+=d(`${p+1}`,"\x1B[93m"),v}function z7e(t,u){let s="";for(const d of t){if(d.file){const{file:f,start:p}=d;s+=y1e(f,p,u),s+=" - "}if(s+=eb(Gy(d),ott(d.category)),s+=eb(` TS${d.code}: `,"\x1B[90m"),s+=lE(d.messageText,u.getNewLine()),d.file&&d.code!==F.File_appears_to_be_binary.code&&(s+=u.getNewLine(),s+=stt(d.file,d.start,d.length,"",ott(d.category),u)),d.relatedInformation){s+=u.getNewLine();for(const{file:f,start:p,length:E,messageText:v}of d.relatedInformation)f&&(s+=u.getNewLine(),s+=dtt+y1e(f,p,u),s+=stt(f,p,E,V7e,"\x1B[96m",u)),s+=u.getNewLine(),s+=V7e+lE(v,u.getNewLine())}s+=u.getNewLine()}return s}function lE(t,u,s=0){if(Ja(t))return t;if(t===void 0)return"";let d="";if(s){d+=u;for(let f=0;fWB(p,t,s,d,f,u,E)}}function R7e(t){return Ja(t)?t:$g(t.fileName)}function kQ(t,u,s,d,f){return{nameAndMode:LQ,resolve:(p,E)=>hAe(p,t,s,d,u,f,E)}}function CH(t,u,s,d,f,p,E,v){if(t.length===0)return _t;const b=[],B=new Map,k=v(u,s,d,p,E);for(const T of t){const M=k.nameAndMode.getName(T),z=k.nameAndMode.getMode(T,f),j=dM(M,z);let J=B.get(j);J||B.set(j,J=k.resolve(M,z)),b.push(J)}return b}function S1e(t,u){return FQ(void 0,t,(s,d)=>s&&u(s,d))}function FQ(t,u,s,d){let f;return p(t,u,void 0);function p(E,v,b){if(d){const B=d(E,b);if(B)return B}return L(v,(B,k)=>{if(B&&(f!=null&&f.has(B.sourceFile.path)))return;const T=s(B,b,k);return T||!B?T:((f||(f=new Set)).add(B.sourceFile.path),p(B.commandLine.projectReferences,B.references,B))})}}function AQ(t,u,s){const d=t.configFilePath?lr(t.configFilePath):u;return cr(d,`__lib_node_modules_lookup_${s}__.ts`)}function B1e(t){const u=t.split(".");let s=u[1],d=2;for(;u[d]&&u[d]!=="d";)s+=(d===2?"/":"-")+u[d],d++;return"@typescript/lib-"+s}function ltt(t){const u=$g(t.fileName),s=LY.get(u);return{libName:u,libFileName:s}}function Jv(t){switch(t==null?void 0:t.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function ZB(t){return t.pos!==void 0}function FM(t,u){var s,d,f,p;const E=H.checkDefined(t.getSourceFileByPath(u.file)),{kind:v,index:b}=u;let B,k,T,M;switch(v){case 3:const z=TQ(E,b);if(T=(d=(s=t.getResolvedModule(E,z.text,k1e(E,b)))==null?void 0:s.resolvedModule)==null?void 0:d.packageId,z.pos===-1)return{file:E,packageId:T,text:z.text};B=gs(E.text,z.pos),k=z.end;break;case 4:({pos:B,end:k}=E.referencedFiles[b]);break;case 5:({pos:B,end:k,resolutionMode:M}=E.typeReferenceDirectives[b]),T=(p=(f=t.getResolvedTypeReferenceDirective(E,$g(E.typeReferenceDirectives[b].fileName),M||E.impliedNodeFormat))==null?void 0:f.resolvedTypeReferenceDirective)==null?void 0:p.packageId;break;case 7:({pos:B,end:k}=E.libReferenceDirectives[b]);break;default:return H.assertNever(v)}return{file:E,pos:B,end:k,packageId:T}}function w1e(t,u,s,d,f,p,E,v,b,B){if(!t||v!=null&&v()||!On(t.getRootFileNames(),u))return!1;let k;if(!On(t.getProjectReferences(),B,j)||t.getSourceFiles().some(M)||t.getMissingFilePaths().some(f))return!1;const T=t.getCompilerOptions();if(!gle(T,s)||t.resolvedLibReferences&&h1(t.resolvedLibReferences,(K,Y)=>E(Y)))return!1;if(T.configFile&&s.configFile)return T.configFile.text===s.configFile.text;return!0;function M(K){return!z(K)||p(K.path)}function z(K){return K.version===d(K.resolvedPath,K.fileName)}function j(K,Y,oe){return a0e(K,Y)&&J(t.getResolvedProjectReferences()[oe],K)}function J(K,Y){if(K){if(kt(k,K))return!0;const se=YB(Y),ge=b(se);return!ge||K.commandLine.options.configFile!==ge.options.configFile||!On(K.commandLine.fileNames,ge.fileNames)?!1:((k||(k=[])).push(K),!L(K.references,(ae,Ce)=>!J(ae,K.commandLine.projectReferences[Ce])))}const oe=YB(Y);return!b(oe)}}function Lk(t){return t.options.configFile?[...t.options.configFile.parseDiagnostics,...t.errors]:t.errors}function bH(t,u,s,d){const f=T1e(t,u,s,d);return typeof f=="object"?f.impliedNodeFormat:f}function T1e(t,u,s,d){switch(p1(d)){case 3:case 99:return jc(t,[".d.mts",".mts",".mjs"])?99:jc(t,[".d.cts",".cts",".cjs"])?1:jc(t,[".d.ts",".ts",".tsx",".js",".jsx"])?f():void 0;default:return}function f(){const p=rH(u,s,d),E=[];p.failedLookupLocations=E,p.affectingLocations=E;const v=aH(t,p);return{impliedNodeFormat:(v==null?void 0:v.contents.packageJsonContent.type)==="module"?99:1,packageJsonLocations:E,packageJsonScope:v}}}function Dzt(t,u){return t?R8(t.getCompilerOptions(),u,PY):!1}function xzt(t,u,s,d,f,p){return{rootNames:t,options:u,host:s,oldProgram:d,configFileParsingDiagnostics:f,typeScriptVersion:p}}function SQ(t,u,s,d,f){var p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge;const ae=Ha(t)?xzt(t,u,s,d,f):t,{rootNames:Ce,options:ne,configFileParsingDiagnostics:ve,projectReferences:Se,typeScriptVersion:Ne}=ae;let{oldProgram:pe}=ae;const fe=Mh(()=>np("ignoreDeprecations",F.Invalid_value_for_ignoreDeprecations));let xe,Be,Ge,Ae,De,Ke,Je;const ft=new Map;let Ye=wm();const Ve={},We={};let Gt=U7(),Yt,Ie,st,St,It,ei,ht,Ut,Ni,ji;const xn=typeof ne.maxNodeModuleJsDepth=="number"?ne.maxNodeModuleJsDepth:0;let Jn=0;const an=new Map,Pi=new Map;(p=Gn)==null||p.push(Gn.Phase.Program,"createProgram",{configFilePath:ne.configFilePath,rootDir:ne.rootDir},!0),ul("beforeProgram");const Ai=ae.host||M7e(ne),Zu=wQ(Ai);let aa=ne.noLib;const yr=Mh(()=>Ai.getDefaultLibFileName(ne)),Ba=Ai.getDefaultLibLocation?Ai.getDefaultLibLocation():lr(yr()),bt=rB(),jn=Ai.getCurrentDirectory(),Ln=kP(ne),Si=tV(ne,Ln),Dn=new Map;let Cn,tu,oa;const Da=Ai.hasInvalidatedResolutions||cg;Ai.resolveModuleNameLiterals?(oa=Ai.resolveModuleNameLiterals.bind(Ai),tu=(E=Ai.getModuleResolutionCache)==null?void 0:E.call(Ai)):Ai.resolveModuleNames?(oa=(Xe,Dt,oi,Ti,Xi,Rn)=>Ai.resolveModuleNames(Xe.map(I7e),Dt,Rn==null?void 0:Rn.map(I7e),oi,Ti,Xi).map(tn=>tn?tn.extension!==void 0?{resolvedModule:tn}:{resolvedModule:{...tn,extension:y7(tn.resolvedFileName)}}:H7e),tu=(v=Ai.getModuleResolutionCache)==null?void 0:v.call(Ai)):(tu=KB(jn,m4,ne),oa=(Xe,Dt,oi,Ti,Xi)=>CH(Xe,Dt,oi,Ti,Xi,Ai,tu,A1e));let ua;if(Ai.resolveTypeReferenceDirectiveReferences)ua=Ai.resolveTypeReferenceDirectiveReferences.bind(Ai);else if(Ai.resolveTypeReferenceDirectives)ua=(Xe,Dt,oi,Ti,Xi)=>Ai.resolveTypeReferenceDirectives(Xe.map(R7e),Dt,oi,Ti,Xi==null?void 0:Xi.impliedNodeFormat).map(Rn=>({resolvedTypeReferenceDirective:Rn}));else{const Xe=HY(jn,m4,void 0,tu==null?void 0:tu.getPackageJsonInfoCache(),tu==null?void 0:tu.optionsToRedirectsKey);ua=(Dt,oi,Ti,Xi,Rn)=>CH(Dt,oi,Ti,Xi,Rn,Ai,Xe,kQ)}const Ta=Ai.hasInvalidatedLibResolutions||cg;let Yo;if(Ai.resolveLibrary)Yo=Ai.resolveLibrary.bind(Ai);else{const Xe=KB(jn,m4,ne,tu==null?void 0:tu.getPackageJsonInfoCache());Yo=(Dt,oi,Ti)=>KY(Dt,oi,Ti,Ai,Xe)}const bo=new Map;let Qe=new Map,Et=wm(),Mt=!1;const qt=new Map;let Xt;const Pe=Ai.useCaseSensitiveFileNames()?new Map:void 0;let et,gt,ii,me;const ni=!!((b=Ai.useSourceOfProjectReferenceRedirect)!=null&&b.call(Ai))&&!ne.disableSourceOfProjectReferenceRedirect,{onProgramCreateComplete:vi,fileExists:mt,directoryExists:Ot}=vzt({compilerHost:Ai,getSymlinkCache:b5,useSourceOfProjectReferenceRedirect:ni,toPath:Xu,getResolvedProjectReferences:Ya,getSourceOfProjectReferenceRedirect:ip,forEachResolvedProjectReference:Nc}),Ei=Ai.readFile.bind(Ai);(B=Gn)==null||B.push(Gn.Phase.Program,"shouldProgramCreateNewSourceFiles",{hasOldProgram:!!pe});const $i=Dzt(pe,ne);(k=Gn)==null||k.pop();let Qi;if((T=Gn)==null||T.push(Gn.Phase.Program,"tryReuseStructureFromOldProgram",{}),Qi=as(),(M=Gn)==null||M.pop(),Qi!==2){if(xe=[],Be=[],Se&&(et||(et=Se.map(Bt)),Ce.length&&(et==null||et.forEach((Xe,Dt)=>{if(!Xe)return;const oi=y0(Xe.commandLine.options);if(ni){if(oi||m1(Xe.commandLine.options)===0)for(const Ti of Xe.commandLine.fileNames)He(Ti,{kind:1,index:Dt})}else if(oi)He(wv(oi,".d.ts"),{kind:2,index:Dt});else if(m1(Xe.commandLine.options)===0){const Ti=Mh(()=>kM(Xe.commandLine,!Ai.useCaseSensitiveFileNames()));for(const Xi of Xe.commandLine.fileNames)!e1(Xi)&&!Ml(Xi,".json")&&He(bM(Xi,Xe.commandLine,!Ai.useCaseSensitiveFileNames(),Ti),{kind:2,index:Dt})}}))),(z=Gn)==null||z.push(Gn.Phase.Program,"processRootFiles",{count:Ce.length}),L(Ce,(Xe,Dt)=>nd(Xe,!1,!1,{kind:0,index:Dt})),(j=Gn)==null||j.pop(),Ie??(Ie=Ce.length?VY(ne,Ai):_t),st=U7(),Ie.length){(J=Gn)==null||J.push(Gn.Phase.Program,"processTypeReferences",{count:Ie.length});const Xe=ne.configFilePath?lr(ne.configFilePath):jn,Dt=cr(Xe,QB),oi=wn(Ie,Dt);for(let Ti=0;Ti{nd(R1(Dt),!0,!1,{kind:6,index:oi})})}Xt=ga(eo(qt.entries(),([Xe,Dt])=>Dt===void 0?Xe:void 0)),Ge=oc(xe,Ru).concat(Be),xe=void 0,Be=void 0}if(H.assert(!!Xt),pe&&Ai.onReleaseOldSourceFile){const Xe=pe.getSourceFiles();for(const Dt of Xe){const oi=Ko(Dt.resolvedPath);($i||!oi||oi.impliedNodeFormat!==Dt.impliedNodeFormat||Dt.resolvedPath===Dt.path&&oi.resolvedPath!==Dt.path)&&Ai.onReleaseOldSourceFile(Dt,pe.getCompilerOptions(),!!Ko(Dt.path))}Ai.getParsedCommandLine||pe.forEachResolvedProjectReference(Dt=>{jh(Dt.sourceFile.path)||Ai.onReleaseOldSourceFile(Dt.sourceFile,pe.getCompilerOptions(),!1)})}pe&&Ai.onReleaseParsedCommandLine&&FQ(pe.getProjectReferences(),pe.getResolvedProjectReferences(),(Xe,Dt,oi)=>{const Ti=(Dt==null?void 0:Dt.commandLine.projectReferences[oi])||pe.getProjectReferences()[oi],Xi=YB(Ti);gt!=null&>.has(Xu(Xi))||Ai.onReleaseParsedCommandLine(Xi,Xe,pe.getCompilerOptions())}),pe=void 0,It=void 0,ht=void 0,Ni=void 0;const on={getRootFileNames:()=>Ce,getSourceFile:Y0,getSourceFileByPath:Ko,getSourceFiles:()=>Ge,getMissingFilePaths:()=>Xt,getModuleResolutionCache:()=>tu,getFilesByNameMap:()=>qt,getCompilerOptions:()=>ne,getSyntacticDiagnostics:Jp,getOptionsDiagnostics:Nr,getGlobalDiagnostics:Ss,getSemanticDiagnostics:Lc,getCachedSemanticDiagnostics:Il,getSuggestionDiagnostics:tt,getDeclarationDiagnostics:Ri,getBindAndCheckDiagnostics:cl,getProgramDiagnostics:Ka,getTypeChecker:vl,getClassifiableNames:Ku,getCommonSourceDirectory:ca,emit:co,getCurrentDirectory:()=>jn,getNodeCount:()=>vl().getNodeCount(),getIdentifierCount:()=>vl().getIdentifierCount(),getSymbolCount:()=>vl().getSymbolCount(),getTypeCount:()=>vl().getTypeCount(),getInstantiationCount:()=>vl().getInstantiationCount(),getRelationCacheSizes:()=>vl().getRelationCacheSizes(),getFileProcessingDiagnostics:()=>Yt,getResolvedTypeReferenceDirectives:()=>Gt,getAutomaticTypeDirectiveNames:()=>Ie,getAutomaticTypeDirectiveResolutions:()=>st,isSourceFileFromExternalLibrary:wl,isSourceFileDefaultLibrary:hd,getSourceFileFromReference:uh,getLibFileFromReference:Oh,sourceFileToPackageName:Qe,redirectTargetsMap:Et,usesUriStyleNodeCoreModules:Mt,resolvedModules:ei,resolvedTypeReferenceDirectiveNames:Ut,resolvedLibReferences:St,getResolvedModule:le,getResolvedTypeReferenceDirective:te,forEachResolvedModule:we,forEachResolvedTypeReferenceDirective:de,getCurrentPackagesMap:()=>ji,typesPackageExists:it,packageBundlesTypes:Ct,isEmittedFile:bg,getConfigFileParsingDiagnostics:ic,getProjectReferences:c0,getResolvedProjectReferences:Ya,getProjectReferenceRedirect:Cl,getResolvedProjectReferenceToRedirect:ql,getResolvedProjectReferenceByPath:jh,forEachResolvedProjectReference:Nc,isSourceOfProjectReferenceRedirect:Jm,emitBuildInfo:vc,fileExists:mt,readFile:Ei,directoryExists:Ot,getSymlinkCache:b5,realpath:(se=Ai.realpath)==null?void 0:se.bind(Ai),useCaseSensitiveFileNames:()=>Ai.useCaseSensitiveFileNames(),getCanonicalFileName:m4,getFileIncludeReasons:()=>Ye,structureIsReused:Qi,writeFile:Fn};return vi(),Yt==null||Yt.forEach(Xe=>{switch(Xe.kind){case 1:return bt.add(ki(Xe.file&&Ko(Xe.file),Xe.fileProcessingReason,Xe.diagnostic,Xe.args||_t));case 0:const{file:Dt,pos:oi,end:Ti}=FM(on,Xe.reason);return bt.add(Rd(Dt,H.checkDefined(oi),H.checkDefined(Ti)-oi,Xe.diagnostic,...Xe.args||_t));case 2:return Xe.diagnostics.forEach(Xi=>bt.add(Xi));default:H.assertNever(Xe)}}),Di(),ul("afterProgram"),Tm("Program","beforeProgram","afterProgram"),(ge=Gn)==null||ge.pop(),on;function le(Xe,Dt,oi){var Ti;return(Ti=ei==null?void 0:ei.get(Xe.path))==null?void 0:Ti.get(Dt,oi)}function te(Xe,Dt,oi){var Ti;return(Ti=Ut==null?void 0:Ut.get(Xe.path))==null?void 0:Ti.get(Dt,oi)}function we(Xe,Dt){je(ei,Xe,Dt)}function de(Xe,Dt){je(Ut,Xe,Dt)}function je(Xe,Dt,oi){var Ti;oi?(Ti=Xe==null?void 0:Xe.get(oi.path))==null||Ti.forEach((Xi,Rn,tn)=>Dt(Xi,Rn,tn,oi.path)):Xe==null||Xe.forEach((Xi,Rn)=>Xi.forEach((tn,bn,kr)=>Dt(tn,bn,kr,Rn)))}function X(){return ji||(ji=new Map,we(({resolvedModule:Xe})=>{Xe!=null&&Xe.packageId&&ji.set(Xe.packageId.name,Xe.extension===".d.ts"||!!ji.get(Xe.packageId.name))}),ji)}function it(Xe){return X().has($Y(Xe))}function Ct(Xe){return!!X().get(Xe)}function ct(Xe){var Dt;(Dt=Xe.resolutionDiagnostics)!=null&&Dt.length&&(Yt??(Yt=[])).push({kind:2,diagnostics:Xe.resolutionDiagnostics})}function Qt(Xe,Dt,oi,Ti){if(Ai.resolveModuleNameLiterals||!Ai.resolveModuleNames)return ct(oi);if(!tu||Id(Dt))return;const Xi=$a(Xe.originalFileName,jn),Rn=lr(Xi),tn=Sn(Xe),bn=tu.getFromNonRelativeNameCache(Dt,Ti,Rn,tn);bn&&ct(bn)}function Li(Xe,Dt,oi){var Ti,Xi;if(!Xe.length)return _t;const Rn=$a(Dt.originalFileName,jn),tn=Sn(Dt);(Ti=Gn)==null||Ti.push(Gn.Phase.Program,"resolveModuleNamesWorker",{containingFileName:Rn}),ul("beforeResolveModule");const bn=oa(Xe,Rn,tn,ne,Dt,oi);return ul("afterResolveModule"),Tm("ResolveModule","beforeResolveModule","afterResolveModule"),(Xi=Gn)==null||Xi.pop(),bn}function Ui(Xe,Dt,oi){var Ti,Xi;if(!Xe.length)return[];const Rn=Ja(Dt)?void 0:Dt,tn=Ja(Dt)?Dt:$a(Dt.originalFileName,jn),bn=Rn&&Sn(Rn);(Ti=Gn)==null||Ti.push(Gn.Phase.Program,"resolveTypeReferenceDirectiveNamesWorker",{containingFileName:tn}),ul("beforeResolveTypeReference");const kr=ua(Xe,tn,bn,ne,Rn,oi);return ul("afterResolveTypeReference"),Tm("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),(Xi=Gn)==null||Xi.pop(),kr}function Sn(Xe){const Dt=ql(Xe.originalFileName);if(Dt||!e1(Xe.originalFileName))return Dt;const oi=du(Xe.path);if(oi)return oi;if(!Ai.realpath||!ne.preserveSymlinks||!Xe.originalFileName.includes(o_))return;const Ti=Xu(Ai.realpath(Xe.originalFileName));return Ti===Xe.path?void 0:du(Ti)}function du(Xe){const Dt=ip(Xe);if(Ja(Dt))return ql(Dt);if(Dt)return Nc(oi=>{const Ti=y0(oi.commandLine.options);if(Ti)return Xu(Ti)===Xe?oi:void 0})}function Ru(Xe,Dt){return nl(pr(Xe),pr(Dt))}function pr(Xe){if(GE(Ba,Xe.fileName,!1)){const Dt=Ac(Xe.fileName);if(Dt==="lib.d.ts"||Dt==="lib.es6.d.ts")return 0;const oi=D8(yN(Dt,"lib."),".d.ts"),Ti=YV.indexOf(oi);if(Ti!==-1)return Ti+1}return YV.length+2}function Xu(Xe){return J0(Xe,jn,m4)}function ca(){if(De===void 0){const Xe=ti(Ge,Dt=>p7(Dt,on));De=yM(ne,()=>qi(Xe,Dt=>Dt.isDeclarationFile?void 0:Dt.fileName),jn,m4,Dt=>Ee(Xe,Dt))}return De}function Ku(){var Xe;if(!Je){vl(),Je=new Set;for(const Dt of Ge)(Xe=Dt.classifiableNames)==null||Xe.forEach(oi=>Je.add(oi))}return Je}function ja(Xe,Dt){if(Qi===0&&!Dt.ambientModuleNames.length)return Li(Xe,Dt,void 0);let oi,Ti,Xi;const Rn=H7e,tn=pe&&pe.getSourceFile(Dt.fileName);for(let bu=0;bu{const Ti=(Dt?Dt.commandLine.projectReferences:Se)[oi],Xi=Bt(Ti);return Xe?!Xi||Xi.sourceFile!==Xe.sourceFile||!On(Xe.commandLine.fileNames,Xi.commandLine.fileNames):Xi!==void 0},(Xe,Dt)=>{const oi=Dt?jh(Dt.sourceFile.path).commandLine.projectReferences:Se;return!On(Xe,oi,a0e)})}function as(){var Xe;if(!pe)return 0;const Dt=pe.getCompilerOptions();if(UU(Dt,ne))return 0;const oi=pe.getRootFileNames();if(!On(oi,Ce)||!Ir())return 0;Se&&(et=Se.map(Bt));const Ti=[],Xi=[];if(Qi=2,pe.getMissingFilePaths().some(Cu=>Ai.fileExists(Cu)))return 0;const Rn=pe.getSourceFiles();let tn;(Cu=>{Cu[Cu.Exists=0]="Exists",Cu[Cu.Modified=1]="Modified"})(tn||(tn={}));const bn=new Map;for(const Cu of Rn){const bu=Fo(Cu.fileName,tu,Ai,ne);let Eu=Ai.getSourceFileByPath?Ai.getSourceFileByPath(Cu.fileName,Cu.resolvedPath,bu,void 0,$i):Ai.getSourceFile(Cu.fileName,bu,void 0,$i);if(!Eu)return 0;Eu.packageJsonLocations=(Xe=bu.packageJsonLocations)!=null&&Xe.length?bu.packageJsonLocations:void 0,Eu.packageJsonScope=bu.packageJsonScope,H.assert(!Eu.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");let sa;if(Cu.redirectInfo){if(Eu!==Cu.redirectInfo.unredirected)return 0;sa=!1,Eu=Cu}else if(pe.redirectTargetsMap.has(Cu.path)){if(Eu!==Cu)return 0;sa=!1}else sa=Eu!==Cu;Eu.path=Cu.path,Eu.originalFileName=Cu.originalFileName,Eu.resolvedPath=Cu.resolvedPath,Eu.fileName=Cu.fileName;const p0=pe.sourceFileToPackageName.get(Cu.path);if(p0!==void 0){const o0=bn.get(p0),Gf=sa?1:0;if(o0!==void 0&&Gf===1||o0===1)return 0;bn.set(p0,Gf)}if(sa)Cu.impliedNodeFormat!==Eu.impliedNodeFormat?Qi=1:On(Cu.libReferenceDirectives,Eu.libReferenceDirectives,S0)?Cu.hasNoDefaultLib!==Eu.hasNoDefaultLib?Qi=1:On(Cu.referencedFiles,Eu.referencedFiles,S0)?(Bd(Eu),On(Cu.imports,Eu.imports,ud)&&On(Cu.moduleAugmentations,Eu.moduleAugmentations,ud)?(Cu.flags&12582912)!==(Eu.flags&12582912)?Qi=1:On(Cu.typeReferenceDirectives,Eu.typeReferenceDirectives,S0)||(Qi=1):Qi=1):Qi=1:Qi=1,Xi.push(Eu);else if(Da(Cu.path))Qi=1,Xi.push(Eu);else for(const o0 of Cu.ambientModuleNames)ft.set(o0,Cu.fileName);Ti.push(Eu)}if(Qi!==2)return Qi;for(const Cu of Xi){const bu=ctt(Cu),Eu=ja(bu,Cu);(ht??(ht=new Map)).set(Cu.path,Eu),s0e(bu,Cu,Eu,(eC,t6)=>pe.getResolvedModule(Cu,eC,t6),kbe,yH)&&(Qi=1);const p0=Cu.typeReferenceDirectives,o0=wn(p0,Cu);(Ni??(Ni=new Map)).set(Cu.path,o0),s0e(p0,Cu,o0,(eC,t6)=>pe==null?void 0:pe.getResolvedTypeReferenceDirective(Cu,eC,t6),Fbe,LQ)&&(Qi=1)}if(Qi!==2)return Qi;if(bbe(Dt,ne)||pe.resolvedLibReferences&&h1(pe.resolvedLibReferences,(Cu,bu)=>d3(bu).actual!==Cu.actual))return 1;if(Ai.hasChangedAutomaticTypeDirectiveNames){if(Ai.hasChangedAutomaticTypeDirectiveNames())return 1}else if(Ie=VY(ne,Ai),!On(pe.getAutomaticTypeDirectiveNames(),Ie))return 1;Xt=pe.getMissingFilePaths(),H.assert(Ti.length===pe.getSourceFiles().length);for(const Cu of Ti)qt.set(Cu.path,Cu);return pe.getFilesByNameMap().forEach((Cu,bu)=>{if(!Cu){qt.set(bu,Cu);return}if(Cu.path===bu){pe.isSourceFileFromExternalLibrary(Cu)&&Pi.set(Cu.path,!0);return}qt.set(bu,qt.get(Cu.path))}),Ge=Ti,Ye=pe.getFileIncludeReasons(),Yt=pe.getFileProcessingDiagnostics(),Gt=pe.getResolvedTypeReferenceDirectives(),Ie=pe.getAutomaticTypeDirectiveNames(),st=pe.getAutomaticTypeDirectiveResolutions(),Qe=pe.sourceFileToPackageName,Et=pe.redirectTargetsMap,Mt=pe.usesUriStyleNodeCoreModules,ei=pe.resolvedModules,Ut=pe.resolvedTypeReferenceDirectiveNames,St=pe.resolvedLibReferences,ji=pe.getCurrentPackagesMap(),2}function wo(Xe){return{getPrependNodes:Ul,getCanonicalFileName:m4,getCommonSourceDirectory:on.getCommonSourceDirectory,getCompilerOptions:on.getCompilerOptions,getCurrentDirectory:()=>jn,getSourceFile:on.getSourceFile,getSourceFileByPath:on.getSourceFileByPath,getSourceFiles:on.getSourceFiles,getLibFileFromReference:on.getLibFileFromReference,isSourceFileFromExternalLibrary:wl,getResolvedProjectReferenceToRedirect:ql,getProjectReferenceRedirect:Cl,isSourceOfProjectReferenceRedirect:Jm,getSymlinkCache:b5,writeFile:Xe||Fn,isEmitBlocked:Ho,readFile:Dt=>Ai.readFile(Dt),fileExists:Dt=>{const oi=Xu(Dt);return Ko(oi)?!0:kt(Xt,oi)?!1:Ai.fileExists(Dt)},useCaseSensitiveFileNames:()=>Ai.useCaseSensitiveFileNames(),getBuildInfo:Dt=>{var oi;return(oi=on.getBuildInfo)==null?void 0:oi.call(on,Dt)},getSourceFileFromReference:(Dt,oi)=>on.getSourceFileFromReference(Dt,oi),redirectTargetsMap:Et,getFileIncludeReasons:on.getFileIncludeReasons,createHash:Lo(Ai,Ai.createHash)}}function Fn(Xe,Dt,oi,Ti,Xi,Rn){Ai.writeFile(Xe,Dt,oi,Ti,Xi,Rn)}function vc(Xe){var Dt,oi;H.assert(!y0(ne)),(Dt=Gn)==null||Dt.push(Gn.Phase.Emit,"emitBuildInfo",{},!0),ul("beforeEmit");const Ti=EQ(DQ,wo(Xe),void 0,c1e,!1,!0);return ul("afterEmit"),Tm("Emit","beforeEmit","afterEmit"),(oi=Gn)==null||oi.pop(),Ti}function Ya(){return et}function c0(){return Se}function Ul(){return N1e(Se,(Xe,Dt)=>{var oi;return(oi=et[Dt])==null?void 0:oi.commandLine},Xe=>{const Dt=Xu(Xe),oi=Ko(Dt);return oi?oi.text:qt.has(Dt)?void 0:Ai.readFile(Dt)},Ai)}function wl(Xe){return!!Pi.get(Xe.path)}function hd(Xe){if(!Xe.isDeclarationFile)return!1;if(Xe.hasNoDefaultLib)return!0;if(!ne.noLib)return!1;const Dt=Ai.useCaseSensitiveFileNames()?XA:QA;return ne.lib?Oe(ne.lib,oi=>Dt(Xe.fileName,St.get(oi).actual)):Dt(Xe.fileName,yr())}function vl(){return Ke||(Ke=PAe(on))}function co(Xe,Dt,oi,Ti,Xi,Rn){var tn,bn;(tn=Gn)==null||tn.push(Gn.Phase.Emit,"emit",{path:Xe==null?void 0:Xe.path},!0);const kr=Uc(()=>id(on,Xe,Dt,oi,Ti,Xi,Rn));return(bn=Gn)==null||bn.pop(),kr}function Ho(Xe){return Dn.has(Xu(Xe))}function id(Xe,Dt,oi,Ti,Xi,Rn,tn){if(!tn){const Cu=L1e(Xe,Dt,oi,Ti);if(Cu)return Cu}const bn=vl().getEmitResolver(y0(ne)?void 0:Dt,Ti);ul("beforeEmit");const kr=EQ(bn,wo(oi),Dt,l1e(ne,Rn,Xi),Xi,!1,tn);return ul("afterEmit"),Tm("Emit","beforeEmit","afterEmit"),kr}function Y0(Xe){return Ko(Xu(Xe))}function Ko(Xe){return qt.get(Xe)||void 0}function Tc(Xe,Dt,oi){return A8(Xe?Dt(Xe,oi):ju(on.getSourceFiles(),Ti=>(oi&&oi.throwIfCancellationRequested(),Dt(Ti,oi))))}function Jp(Xe,Dt){return Tc(Xe,dl,Dt)}function Lc(Xe,Dt){return Tc(Xe,Ch,Dt)}function Il(Xe){var Dt;return Xe?(Dt=Ve.perFile)==null?void 0:Dt.get(Xe.path):Ve.allDiagnostics}function cl(Xe,Dt){return sf(Xe,Dt)}function Ka(Xe){var Dt;if(AP(Xe,ne,on))return _t;const oi=bt.getDiagnostics(Xe.fileName);return(Dt=Xe.commentDirectives)!=null&&Dt.length?$(Xe,Xe.commentDirectives,oi).diagnostics:oi}function Ri(Xe,Dt){const oi=on.getCompilerOptions();return!Xe||y0(oi)?fn(Xe,Dt):Tc(Xe,Tu,Dt)}function dl(Xe){return gh(Xe)?(Xe.additionalSyntacticDiagnostics||(Xe.additionalSyntacticDiagnostics=mi(Xe)),Hi(Xe.additionalSyntacticDiagnostics,Xe.parseDiagnostics)):Xe.parseDiagnostics}function Uc(Xe){try{return Xe()}catch(Dt){throw Dt instanceof b8&&(Ke=void 0),Dt}}function Ch(Xe,Dt){return Hi(BQ(sf(Xe,Dt),ne),Ka(Xe))}function sf(Xe,Dt){return uu(Xe,Dt,Ve,Q0)}function Q0(Xe,Dt){return Uc(()=>{if(AP(Xe,ne,on))return _t;const oi=vl();H.assert(!!Xe.bindDiagnostics);const Xi=(Xe.scriptKind===1||Xe.scriptKind===2)&&uV(Xe,ne),Rn=nj(Xe,ne.checkJs),bn=!(!!Xe.checkJsDirective&&Xe.checkJsDirective.enabled===!1)&&(Xe.scriptKind===3||Xe.scriptKind===4||Xe.scriptKind===5||Rn||Xi||Xe.scriptKind===7);let kr=bn?Xe.bindDiagnostics:_t,Cu=bn?oi.getDiagnostics(Xe,Dt):_t;return Rn&&(kr=ti(kr,bu=>NQ.has(bu.code)),Cu=ti(Cu,bu=>NQ.has(bu.code))),Cc(Xe,bn&&!Rn,kr,Cu,Xi?Xe.jsDocDiagnostics:void 0)})}function Cc(Xe,Dt,...oi){var Ti;const Xi=Va(oi);if(!Dt||!((Ti=Xe.commentDirectives)!=null&&Ti.length))return Xi;const{diagnostics:Rn,directives:tn}=$(Xe,Xe.commentDirectives,Xi);for(const bn of tn.getUnusedExpectations())Rn.push(Vbe(Xe,bn.range,F.Unused_ts_expect_error_directive));return Rn}function $(Xe,Dt,oi){const Ti=Bbe(Xe,Dt);return{diagnostics:oi.filter(Rn=>vt(Rn,Ti)===-1),directives:Ti}}function tt(Xe,Dt){return Uc(()=>vl().getSuggestionDiagnostics(Xe,Dt))}function vt(Xe,Dt){const{file:oi,start:Ti}=Xe;if(!oi)return-1;const Xi=$3(oi);let Rn=k8(Xi,Ti).line-1;for(;Rn>=0;){if(Dt.markUsed(Rn))return Rn;const tn=oi.text.slice(Xi[Rn],Xi[Rn+1]).trim();if(tn!==""&&!/^(\s*)\/\/(.*)$/.test(tn))return-1;Rn--}return-1}function mi(Xe){return Uc(()=>{const Dt=[];return oi(Xe,Xe),uM(Xe,oi,Ti),Dt;function oi(bn,kr){switch(kr.kind){case 169:case 172:case 174:if(kr.questionToken===bn)return Dt.push(tn(bn,F.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 173:case 176:case 177:case 178:case 218:case 262:case 219:case 260:if(kr.type===bn)return Dt.push(tn(bn,F.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(bn.kind){case 273:if(bn.isTypeOnly)return Dt.push(tn(kr,F._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 278:if(bn.isTypeOnly)return Dt.push(tn(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 276:case 281:if(bn.isTypeOnly)return Dt.push(tn(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,bf(bn)?"import...type":"export...type")),"skip";break;case 271:return Dt.push(tn(bn,F.import_can_only_be_used_in_TypeScript_files)),"skip";case 277:if(bn.isExportEquals)return Dt.push(tn(bn,F.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 298:if(bn.token===119)return Dt.push(tn(bn,F.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 264:const bu=Uo(120);return H.assertIsDefined(bu),Dt.push(tn(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,bu)),"skip";case 267:const Eu=bn.flags&32?Uo(145):Uo(144);return H.assertIsDefined(Eu),Dt.push(tn(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,Eu)),"skip";case 265:return Dt.push(tn(bn,F.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 176:case 174:case 262:return bn.body?void 0:(Dt.push(tn(bn,F.Signature_declarations_can_only_be_used_in_TypeScript_files)),"skip");case 266:const sa=H.checkDefined(Uo(94));return Dt.push(tn(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,sa)),"skip";case 235:return Dt.push(tn(bn,F.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 234:return Dt.push(tn(bn.type,F.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 238:return Dt.push(tn(bn.type,F.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 216:H.fail()}}function Ti(bn,kr){if(Hce(kr)){const Cu=Le(kr.modifiers,g1);Cu&&Dt.push(tn(Cu,F.Decorators_are_not_valid_here))}else if(Ak(kr)&&kr.modifiers){const Cu=Ue(kr.modifiers,g1);if(Cu>=0){if(io(kr)&&!ne.experimentalDecorators)Dt.push(tn(kr.modifiers[Cu],F.Decorators_are_not_valid_here));else if(Wc(kr)){const bu=Ue(kr.modifiers,L7);if(bu>=0){const Eu=Ue(kr.modifiers,rY);if(Cu>bu&&Eu>=0&&Cu=0&&Cu=0&&Dt.push(Es(tn(kr.modifiers[sa],F.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),tn(kr.modifiers[Cu],F.Decorator_used_before_export_here)))}}}}}switch(kr.kind){case 263:case 231:case 174:case 176:case 177:case 178:case 218:case 262:case 219:if(bn===kr.typeParameters)return Dt.push(Rn(bn,F.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 243:if(bn===kr.modifiers)return Xi(kr.modifiers,kr.kind===243),"skip";break;case 172:if(bn===kr.modifiers){for(const Cu of bn)Qo(Cu)&&Cu.kind!==126&&Cu.kind!==129&&Dt.push(tn(Cu,F.The_0_modifier_can_only_be_used_in_TypeScript_files,Uo(Cu.kind)));return"skip"}break;case 169:if(bn===kr.modifiers&&Oe(bn,Qo))return Dt.push(Rn(bn,F.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 213:case 214:case 233:case 285:case 286:case 215:if(bn===kr.typeArguments)return Dt.push(Rn(bn,F.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip";break}}function Xi(bn,kr){for(const Cu of bn)switch(Cu.kind){case 87:if(kr)continue;case 125:case 123:case 124:case 148:case 138:case 128:case 164:case 103:case 147:Dt.push(tn(Cu,F.The_0_modifier_can_only_be_used_in_TypeScript_files,Uo(Cu.kind)));break;case 126:case 95:case 90:case 129:}}function Rn(bn,kr,...Cu){const bu=bn.pos;return Rd(Xe,bu,bn.end-bu,kr,...Cu)}function tn(bn,kr,...Cu){return K4(Xe,bn,kr,...Cu)}})}function fn(Xe,Dt){return uu(Xe,Dt,We,Wu)}function Wu(Xe,Dt){return Uc(()=>{const oi=vl().getEmitResolver(Xe,Dt);return F7e(wo(Is),oi,Xe)||_t})}function uu(Xe,Dt,oi,Ti){var Xi;const Rn=Xe?(Xi=oi.perFile)==null?void 0:Xi.get(Xe.path):oi.allDiagnostics;if(Rn)return Rn;const tn=Ti(Xe,Dt);return Xe?(oi.perFile||(oi.perFile=new Map)).set(Xe.path,tn):oi.allDiagnostics=tn,tn}function Tu(Xe,Dt){return Xe.isDeclarationFile?[]:fn(Xe,Dt)}function Nr(){return A8(Hi(bt.getGlobalDiagnostics(),Vu()))}function Vu(){if(!ne.configFile)return _t;let Xe=bt.getDiagnostics(ne.configFile.fileName);return Nc(Dt=>{Xe=Hi(Xe,bt.getDiagnostics(Dt.sourceFile.fileName))}),Xe}function Ss(){return Ce.length?A8(vl().getGlobalDiagnostics().slice()):_t}function ic(){return ve||_t}function nd(Xe,Dt,oi,Ti){D1($o(Xe),Dt,oi,void 0,Ti)}function S0(Xe,Dt){return Xe.fileName===Dt.fileName}function ud(Xe,Dt){return Xe.kind===80?Dt.kind===80&&Xe.escapedText===Dt.escapedText:Dt.kind===11&&Xe.text===Dt.text}function m0(Xe,Dt){const oi=q.createStringLiteral(Xe),Ti=q.createImportDeclaration(void 0,void 0,oi,void 0);return F7(Ti,2),ks(oi,Ti),ks(Ti,Dt),oi.flags&=-17,Ti.flags&=-17,oi}function Bd(Xe){if(Xe.imports)return;const Dt=gh(Xe),oi=wc(Xe);let Ti,Xi,Rn;if((mg(ne)||oi)&&!Xe.isDeclarationFile){ne.importHelpers&&(Ti=[m0(Hx,Xe)]);const bu=uZ(nZ(ne,Xe),ne);bu&&(Ti||(Ti=[])).push(m0(bu,Xe))}for(const bu of Xe.statements)bn(bu,!1);const tn=Dt&&eZ(ne);(Xe.flags&4194304||tn)&&kr(Xe),Xe.imports=Ti||_t,Xe.moduleAugmentations=Xi||_t,Xe.ambientModuleNames=Rn||_t;return;function bn(bu,Eu){if(aj(bu)){const sa=Y8(bu);sa&&us(sa)&&sa.text&&(!Eu||!Id(sa.text))&&(Vx(bu,!1),Ti=xi(Ti,sa),!Mt&&Jn===0&&!Xe.isDeclarationFile&&(Mt=Pa(sa.text,"node:")))}else if(_c(bu)&&N1(bu)&&(Eu||Yu(bu,128)||Xe.isDeclarationFile)){bu.name.parent=bu;const sa=J4(bu.name);if(oi||Eu&&!Id(sa))(Xi||(Xi=[])).push(bu.name);else if(!Eu){Xe.isDeclarationFile&&(Rn||(Rn=[])).push(sa);const p0=bu.body;if(p0)for(const o0 of p0.statements)bn(o0,!0)}}}function kr(bu){const Eu=/import|require/g;for(;Eu.exec(bu.text)!==null;){const sa=Cu(bu,Eu.lastIndex);tn&&xf(sa,!0)||dm(sa)&&sa.arguments.length>=1&&t0(sa.arguments[0])?(Vx(sa,!1),Ti=xi(Ti,sa.arguments[0])):zx(sa)&&(Vx(sa,!1),Ti=xi(Ti,sa.argument.literal))}}function Cu(bu,Eu){let sa=bu;const p0=o0=>{if(o0.pos<=Eu&&(EuMl(Xi,tn))){oi&&(z2(Xi)?oi(F.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,Xe):oi(F.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,Xe,"'"+Va(Ln).join("', '")+"'"));return}const Rn=Dt(Xe);if(oi)if(Rn)Jv(Ti)&&Xi===Ai.getCanonicalFileName(Ko(Ti.file).fileName)&&oi(F.A_file_cannot_have_a_reference_to_itself);else{const tn=Cl(Xe);tn?oi(F.Output_file_0_has_not_been_built_from_source_file_1,tn,Xe):oi(F.File_0_not_found,Xe)}return Rn}else{const Xi=ne.allowNonTsExtensions&&Dt(Xe);if(Xi)return Xi;if(oi&&ne.allowNonTsExtensions){oi(F.File_0_not_found,Xe);return}const Rn=L(Ln[0],tn=>Dt(Xe+tn));return oi&&!Rn&&oi(F.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,Xe,"'"+Va(Ln).join("', '")+"'"),Rn}}function D1(Xe,Dt,oi,Ti,Xi){h4(Xe,Rn=>ba(Rn,Dt,oi,Xi,Ti),(Rn,...tn)=>In(void 0,Xi,Rn,tn),Xi)}function He(Xe,Dt){return D1(Xe,!1,!1,void 0,Dt)}function di(Xe,Dt,oi){!Jv(oi)&&Oe(Ye.get(Dt.path),Jv)?In(Dt,oi,F.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[Dt.fileName,Xe]):In(Dt,oi,F.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[Xe,Dt.fileName])}function Mn(Xe,Dt,oi,Ti,Xi,Rn,tn){var bn;const kr=a_.createRedirectedSourceFile({redirectTarget:Xe,unredirected:Dt});return kr.fileName=oi,kr.path=Ti,kr.resolvedPath=Xi,kr.originalFileName=Rn,kr.packageJsonLocations=(bn=tn.packageJsonLocations)!=null&&bn.length?tn.packageJsonLocations:void 0,kr.packageJsonScope=tn.packageJsonScope,Pi.set(Ti,Jn>0),kr}function ba(Xe,Dt,oi,Ti,Xi){var Rn,tn;(Rn=Gn)==null||Rn.push(Gn.Phase.Program,"findSourceFile",{fileName:Xe,isDefaultLib:Dt||void 0,fileIncludeKind:lU[Ti.kind]});const bn=To(Xe,Dt,oi,Ti,Xi);return(tn=Gn)==null||tn.pop(),bn}function Fo(Xe,Dt,oi,Ti){const Xi=T1e($a(Xe,jn),Dt==null?void 0:Dt.getPackageJsonInfoCache(),oi,Ti),Rn=Os(Ti),tn=Qj(Ti);return typeof Xi=="object"?{...Xi,languageVersion:Rn,setExternalModuleIndicator:tn,jsDocParsingMode:oi.jsDocParsingMode}:{languageVersion:Rn,impliedNodeFormat:Xi,setExternalModuleIndicator:tn,jsDocParsingMode:oi.jsDocParsingMode}}function To(Xe,Dt,oi,Ti,Xi){var Rn;const tn=Xu(Xe);if(ni){let Eu=ip(tn);if(!Eu&&Ai.realpath&&ne.preserveSymlinks&&e1(Xe)&&Xe.includes(o_)){const sa=Xu(Ai.realpath(Xe));sa!==tn&&(Eu=ip(sa))}if(Eu){const sa=Ja(Eu)?ba(Eu,Dt,oi,Ti,Xi):void 0;return sa&&fc(sa,tn,void 0),sa}}const bn=Xe;if(qt.has(tn)){const Eu=qt.get(tn);if(nc(Eu||void 0,Ti),Eu&&ne.forceConsistentCasingInFileNames!==!1){const sa=Eu.fileName;Xu(sa)!==Xu(Xe)&&(Xe=Cl(Xe)||Xe);const o0=Fse(sa,jn),Gf=Fse(Xe,jn);o0!==Gf&&di(Xe,Eu,Ti)}return Eu&&Pi.get(Eu.path)&&Jn===0?(Pi.set(Eu.path,!1),ne.noResolve||(f4(Eu,Dt),c3(Eu)),ne.noLib||Wf(Eu),an.set(Eu.path,!1),Vh(Eu)):Eu&&an.get(Eu.path)&&JnIn(void 0,Ti,F.Cannot_read_file_0_Colon_1,[Xe,Eu]),$i);if(Xi){const Eu=Px(Xi),sa=bo.get(Eu);if(sa){const p0=Mn(sa,bu,Xe,tn,Xu(Xe),bn,Cu);return Et.add(sa.path,Xe),fc(p0,tn,kr),nc(p0,Ti),Qe.set(tn,ZU(Xi)),Be.push(p0),p0}else bu&&(bo.set(Eu,bu),Qe.set(tn,ZU(Xi)))}if(fc(bu,tn,kr),bu){if(Pi.set(tn,Jn>0),bu.fileName=Xe,bu.path=tn,bu.resolvedPath=Xu(Xe),bu.originalFileName=bn,bu.packageJsonLocations=(Rn=Cu.packageJsonLocations)!=null&&Rn.length?Cu.packageJsonLocations:void 0,bu.packageJsonScope=Cu.packageJsonScope,nc(bu,Ti),Ai.useCaseSensitiveFileNames()){const Eu=$g(tn),sa=Pe.get(Eu);sa?di(Xe,sa,Ti):Pe.set(Eu,bu)}aa=aa||bu.hasNoDefaultLib&&!oi,ne.noResolve||(f4(bu,Dt),c3(bu)),ne.noLib||Wf(bu),Vh(bu),Dt?xe.push(bu):Be.push(bu)}return bu}function nc(Xe,Dt){Xe&&Ye.add(Xe.path,Dt)}function fc(Xe,Dt,oi){oi?(qt.set(oi,Xe),qt.set(Dt,Xe||!1)):qt.set(Dt,Xe)}function Cl(Xe){const Dt=Tl(Xe);return Dt&&bc(Dt,Xe)}function Tl(Xe){if(!(!et||!et.length||e1(Xe)||Ml(Xe,".json")))return ql(Xe)}function bc(Xe,Dt){const oi=y0(Xe.commandLine.options);return oi?wv(oi,".d.ts"):bM(Dt,Xe.commandLine,!Ai.useCaseSensitiveFileNames())}function ql(Xe){ii===void 0&&(ii=new Map,Nc(oi=>{Xu(ne.configFilePath)!==oi.sourceFile.path&&oi.commandLine.fileNames.forEach(Ti=>ii.set(Xu(Ti),oi.sourceFile.path))}));const Dt=ii.get(Xu(Xe));return Dt&&jh(Dt)}function Nc(Xe){return S1e(et,Xe)}function ip(Xe){if(e1(Xe))return me===void 0&&(me=new Map,Nc(Dt=>{const oi=y0(Dt.commandLine.options);if(oi){const Ti=wv(oi,".d.ts");me.set(Xu(Ti),!0)}else{const Ti=Mh(()=>kM(Dt.commandLine,!Ai.useCaseSensitiveFileNames()));L(Dt.commandLine.fileNames,Xi=>{if(!e1(Xi)&&!Ml(Xi,".json")){const Rn=bM(Xi,Dt.commandLine,!Ai.useCaseSensitiveFileNames(),Ti);me.set(Xu(Rn),Xi)}})}})),me.get(Xe)}function Jm(Xe){return ni&&!!ql(Xe)}function jh(Xe){if(gt)return gt.get(Xe)||void 0}function f4(Xe,Dt){L(Xe.referencedFiles,(oi,Ti)=>{D1(bQ(oi.fileName,Xe.fileName),Dt,!1,void 0,{kind:4,file:Xe.path,index:Ti})})}function c3(Xe){const Dt=Xe.typeReferenceDirectives;if(!Dt.length)return;const oi=(Ni==null?void 0:Ni.get(Xe.path))||wn(Dt,Xe),Ti=U7();(Ut??(Ut=new Map)).set(Xe.path,Ti);for(let Xi=0;Xi{const{libName:Ti,libFileName:Xi}=ltt(Dt);if(Xi)nd(R1(Xi),!0,!0,{kind:7,file:Xe.path,index:oi});else{const Rn=D8(yN(Ti,"lib."),".d.ts"),tn=bN(Rn,YV,il),bn=tn?F.Cannot_find_lib_definition_for_0_Did_you_mean_1:F.Cannot_find_lib_definition_for_0,kr=tn?[Ti,tn]:[Ti];(Yt||(Yt=[])).push({kind:0,reason:{kind:7,file:Xe.path,index:oi},diagnostic:bn,args:kr})}})}function m4(Xe){return Ai.getCanonicalFileName(Xe)}function Vh(Xe){var Dt;if(Bd(Xe),Xe.imports.length||Xe.moduleAugmentations.length){const oi=ctt(Xe),Ti=(ht==null?void 0:ht.get(Xe.path))||ja(oi,Xe);H.assert(Ti.length===oi.length);const Xi=(ni?(Dt=Sn(Xe))==null?void 0:Dt.commandLine.options:void 0)||ne,Rn=U7();(ei??(ei=new Map)).set(Xe.path,Rn);for(let tn=0;tnxn,Gf=p0&&!P1e(Xi,bn,Xe)&&!Xi.noResolve&&tnwc(tn)&&!tn.isDeclarationFile);if(ne.isolatedModules||ne.verbatimModuleSyntax)ne.module===0&&Dt<2&&ne.isolatedModules&&_s(F.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),ne.preserveConstEnums===!1&&_s(F.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled,ne.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules","preserveConstEnums");else if(oi&&Dt<2&&ne.module===0){const tn=C2(oi,typeof oi.externalModuleIndicator=="boolean"?oi:oi.externalModuleIndicator);bt.add(Rd(oi,tn.start,tn.length,F.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(Xe&&!ne.emitDeclarationOnly){if(ne.module&&!(ne.module===2||ne.module===4))_s(F.Only_amd_and_system_modules_are_supported_alongside_0,ne.out?"out":"outFile","module");else if(ne.module===void 0&&oi){const tn=C2(oi,typeof oi.externalModuleIndicator=="boolean"?oi:oi.externalModuleIndicator);bt.add(Rd(oi,tn.start,tn.length,F.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,ne.out?"out":"outFile"))}}if(M2(ne)&&(p1(ne)===1?_s(F.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic,"resolveJsonModule"):Qq(ne)||_s(F.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")),ne.outDir||ne.rootDir||ne.sourceRoot||ne.mapRoot){const tn=ca();ne.outDir&&tn===""&&Ge.some(bn=>WE(bn.fileName)>1)&&_s(F.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}ne.useDefineForClassFields&&Dt===0&&_s(F.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),ne.checkJs&&!Bv(ne)&&bt.add(cc(F.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),ne.emitDeclarationOnly&&(c4(ne)||_s(F.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),ne.noEmit&&_s(F.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),ne.emitDecoratorMetadata&&!ne.experimentalDecorators&&_s(F.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),ne.jsxFactory?(ne.reactNamespace&&_s(F.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(ne.jsx===4||ne.jsx===5)&&_s(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",sM.get(""+ne.jsx)),G7(ne.jsxFactory,Dt)||np("jsxFactory",F.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,ne.jsxFactory)):ne.reactNamespace&&!Lm(ne.reactNamespace,Dt)&&np("reactNamespace",F.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,ne.reactNamespace),ne.jsxFragmentFactory&&(ne.jsxFactory||_s(F.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(ne.jsx===4||ne.jsx===5)&&_s(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",sM.get(""+ne.jsx)),G7(ne.jsxFragmentFactory,Dt)||np("jsxFragmentFactory",F.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,ne.jsxFragmentFactory)),ne.reactNamespace&&(ne.jsx===4||ne.jsx===5)&&_s(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",sM.get(""+ne.jsx)),ne.jsxImportSource&&ne.jsx===2&&_s(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",sM.get(""+ne.jsx)),ne.preserveValueImports&&m1(ne)<5&&_s(F.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"preserveValueImports");const Ti=m1(ne);ne.verbatimModuleSyntax&&((Ti===2||Ti===3||Ti===4)&&_s(F.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System,"verbatimModuleSyntax"),ne.preserveValueImports&&Xx("preserveValueImports","verbatimModuleSyntax"),ne.importsNotUsedAsValues&&Xx("importsNotUsedAsValues","verbatimModuleSyntax")),ne.allowImportingTsExtensions&&!(ne.noEmit||ne.emitDeclarationOnly)&&np("allowImportingTsExtensions",F.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);const Xi=p1(ne);if(ne.resolvePackageJsonExports&&!b7(Xi)&&_s(F.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonExports"),ne.resolvePackageJsonImports&&!b7(Xi)&&_s(F.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonImports"),ne.customConditions&&!b7(Xi)&&_s(F.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"customConditions"),Xi===100&&!Yq(Ti)&&np("moduleResolution",F.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"bundler"),FN[Ti]&&100<=Ti&&Ti<=199&&!(3<=Xi&&Xi<=99)){const tn=FN[Ti];np("moduleResolution",F.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1,tn,tn)}else if(y8[Xi]&&3<=Xi&&Xi<=99&&!(100<=Ti&&Ti<=199)){const tn=y8[Xi];np("module",F.Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1,tn,tn)}if(!ne.noEmit&&!ne.suppressOutputPathCheck){const tn=wo(),bn=new Set;d1e(tn,kr=>{ne.emitDeclarationOnly||Rn(kr.jsFilePath,bn),Rn(kr.declarationFilePath,bn)})}function Rn(tn,bn){if(tn){const kr=Xu(tn);if(qt.has(kr)){let bu;ne.configFilePath||(bu=ro(void 0,F.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)),bu=ro(bu,F.Cannot_write_file_0_because_it_would_overwrite_input_file,tn),e6(tn,qq(bu))}const Cu=Ai.useCaseSensitiveFileNames()?kr:$g(kr);bn.has(Cu)?e6(tn,cc(F.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,tn)):bn.add(Cu)}}}function Ci(){const Xe=ne.ignoreDeprecations;if(Xe){if(Xe==="5.0")return new Lp(Xe);fe()}return Lp.zero}function Q(Xe,Dt,oi,Ti){const Xi=new Lp(Xe),Rn=new Lp(Dt),tn=new Lp(Ne||g),bn=Ci(),kr=Rn.compareTo(tn)!==1,Cu=!kr&&bn.compareTo(Xi)===-1;(kr||Cu)&&Ti((bu,Eu,sa)=>{kr?Eu===void 0?oi(bu,Eu,sa,F.Option_0_has_been_removed_Please_remove_it_from_your_configuration,bu):oi(bu,Eu,sa,F.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration,bu,Eu):Eu===void 0?oi(bu,Eu,sa,F.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error,bu,Dt,Xe):oi(bu,Eu,sa,F.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error,bu,Eu,Dt,Xe)})}function Me(){function Xe(Dt,oi,Ti,Xi,...Rn){if(Ti){const tn=ro(void 0,F.Use_0_instead,Ti),bn=ro(tn,Xi,...Rn);h3(!oi,Dt,void 0,bn)}else h3(!oi,Dt,void 0,Xi,...Rn)}Q("5.0","5.5",Xe,Dt=>{ne.target===0&&Dt("target","ES3"),ne.noImplicitUseStrict&&Dt("noImplicitUseStrict"),ne.keyofStringsOnly&&Dt("keyofStringsOnly"),ne.suppressExcessPropertyErrors&&Dt("suppressExcessPropertyErrors"),ne.suppressImplicitAnyIndexErrors&&Dt("suppressImplicitAnyIndexErrors"),ne.noStrictGenericChecks&&Dt("noStrictGenericChecks"),ne.charset&&Dt("charset"),ne.out&&Dt("out",void 0,"outFile"),ne.importsNotUsedAsValues&&Dt("importsNotUsedAsValues",void 0,"verbatimModuleSyntax"),ne.preserveValueImports&&Dt("preserveValueImports",void 0,"verbatimModuleSyntax")})}function wt(Xe,Dt,oi){function Ti(Xi,Rn,tn,bn,...kr){Um(Dt,oi,bn,...kr)}Q("5.0","5.5",Ti,Xi=>{Xe.prepend&&Xi("prepend")})}function ki(Xe,Dt,oi,Ti){var Xi;let Rn,tn,bn=Jv(Dt)?Dt:void 0;Xe&&((Xi=Ye.get(Xe.path))==null||Xi.forEach(sa)),Dt&&sa(Dt),bn&&(Rn==null?void 0:Rn.length)===1&&(Rn=void 0);const kr=bn&&FM(on,bn),Cu=Rn&&ro(Rn,F.The_file_is_in_the_program_because_Colon),bu=Xe&&Y1e(Xe),Eu=ro(bu?Cu?[Cu,...bu]:bu:Cu,oi,...Ti||_t);return kr&&ZB(kr)?nq(kr.file,kr.pos,kr.end-kr.pos,Eu,tn):qq(Eu,tn);function sa(p0){(Rn||(Rn=[])).push(ehe(on,p0)),!bn&&Jv(p0)?bn=p0:bn!==p0&&(tn=xi(tn,ir(p0))),p0===Dt&&(Dt=void 0)}}function In(Xe,Dt,oi,Ti){(Yt||(Yt=[])).push({kind:1,file:Xe&&Xe.path,fileProcessingReason:Dt,diagnostic:oi,args:Ti})}function tr(Xe,Dt,oi){bt.add(ki(Xe,void 0,Dt,oi))}function ir(Xe){if(Jv(Xe)){const Ti=FM(on,Xe);let Xi;switch(Xe.kind){case 3:Xi=F.File_is_included_via_import_here;break;case 4:Xi=F.File_is_included_via_reference_here;break;case 5:Xi=F.File_is_included_via_type_library_reference_here;break;case 7:Xi=F.File_is_included_via_library_reference_here;break;default:H.assertNever(Xe)}return ZB(Ti)?Rd(Ti.file,Ti.pos,Ti.end-Ti.pos,Xi):void 0}if(!ne.configFile)return;let Dt,oi;switch(Xe.kind){case 0:if(!ne.configFile.configFileSpecs)return;const Ti=$a(Ce[Xe.index],jn),Xi=Q1e(on,Ti);if(Xi){Dt=cq(ne.configFile,"files",Xi),oi=F.File_is_matched_by_files_list_specified_here;break}const Rn=X1e(on,Ti);if(!Rn||!Ja(Rn))return;Dt=cq(ne.configFile,"include",Rn),oi=F.File_is_matched_by_include_pattern_specified_here;break;case 1:case 2:const tn=H.checkDefined(et==null?void 0:et[Xe.index]),bn=FQ(Se,et,(sa,p0,o0)=>sa===tn?{sourceFile:(p0==null?void 0:p0.sourceFile)||ne.configFile,index:o0}:void 0);if(!bn)return;const{sourceFile:kr,index:Cu}=bn,bu=hj(kr,"references",sa=>Dh(sa.initializer)?sa.initializer:void 0);return bu&&bu.elements.length>Cu?K4(kr,bu.elements[Cu],Xe.kind===2?F.File_is_output_from_referenced_project_specified_here:F.File_is_source_from_referenced_project_specified_here):void 0;case 8:if(!ne.types)return;Dt=$m("types",Xe.typeReference),oi=F.File_is_entry_point_of_type_library_specified_here;break;case 6:if(Xe.index!==void 0){Dt=$m("lib",ne.lib[Xe.index]),oi=F.File_is_library_specified_here;break}const Eu=h1(XV.type,(sa,p0)=>sa===Os(ne)?p0:void 0);Dt=Eu?fd("target",Eu):void 0,oi=F.File_is_default_library_for_target_specified_here;break;default:H.assertNever(Xe)}return Dt&&K4(ne.configFile,Dt,oi)}function ha(){const Xe=ne.suppressOutputPathCheck?void 0:f5(ne);FQ(Se,et,(Dt,oi,Ti)=>{const Xi=(oi?oi.commandLine.projectReferences:Se)[Ti],Rn=oi&&oi.sourceFile;if(wt(Xi,Rn,Ti),!Dt){Um(Rn,Ti,F.File_0_not_found,Xi.path);return}const tn=Dt.commandLine.options;if((!tn.composite||tn.noEmit)&&(oi?oi.commandLine.fileNames:Ce).length&&(tn.composite||Um(Rn,Ti,F.Referenced_project_0_must_have_setting_composite_Colon_true,Xi.path),tn.noEmit&&Um(Rn,Ti,F.Referenced_project_0_may_not_disable_emit,Xi.path)),Xi.prepend){const bn=y0(tn);bn?Ai.fileExists(bn)||Um(Rn,Ti,F.Output_file_0_from_project_1_does_not_exist,bn,Xi.path):Um(Rn,Ti,F.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,Xi.path)}!oi&&Xe&&Xe===f5(tn)&&(Um(Rn,Ti,F.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,Xe,Xi.path),Dn.set(Xu(Xe),!0))})}function os(Xe,Dt,oi,...Ti){let Xi=!0;x1(Rn=>{ys(Rn.initializer)&&J8(Rn.initializer,Xe,tn=>{const bn=tn.initializer;Dh(bn)&&bn.elements.length>Dt&&(bt.add(K4(ne.configFile,bn.elements[Dt],oi,...Ti)),Xi=!1)})}),Xi&&bt.add(cc(oi,...Ti))}function ss(Xe,Dt,oi,...Ti){let Xi=!0;x1(Rn=>{ys(Rn.initializer)&&ta(Rn.initializer,Xe,Dt,void 0,oi,...Ti)&&(Xi=!1)}),Xi&&bt.add(cc(oi,...Ti))}function Rl(Xe,Dt){return J8(d_(),Xe,Dt)}function x1(Xe){return Rl("paths",Xe)}function fd(Xe,Dt){return Rl(Xe,oi=>us(oi.initializer)&&oi.initializer.text===Dt?oi.initializer:void 0)}function $m(Xe,Dt){const oi=d_();return oi&&Zbe(oi,Xe,Dt)}function _s(Xe,Dt,oi,Ti){h3(!0,Dt,oi,Xe,Dt,oi,Ti)}function np(Xe,Dt,...oi){h3(!1,Xe,void 0,Dt,...oi)}function Um(Xe,Dt,oi,...Ti){const Xi=hj(Xe||ne.configFile,"references",Rn=>Dh(Rn.initializer)?Rn.initializer:void 0);Xi&&Xi.elements.length>Dt?bt.add(K4(Xe||ne.configFile,Xi.elements[Dt],oi,...Ti)):bt.add(cc(oi,...Ti))}function h3(Xe,Dt,oi,Ti,...Xi){const Rn=d_();(!Rn||!ta(Rn,Xe,Dt,oi,Ti,...Xi))&&("messageText"in Ti?bt.add(qq(Ti)):bt.add(cc(Ti,...Xi)))}function d_(){return Cn===void 0&&(Cn=J8(ZN(ne.configFile),"compilerOptions",Xe=>ys(Xe.initializer)?Xe.initializer:void 0)||!1),Cn||void 0}function ta(Xe,Dt,oi,Ti,Xi,...Rn){let tn=!1;return J8(Xe,oi,bn=>{"messageText"in Xi?bt.add(Y3(ne.configFile,Dt?bn.name:bn.initializer,Xi)):bt.add(K4(ne.configFile,Dt?bn.name:bn.initializer,Xi,...Rn)),tn=!0},Ti),tn}function Xx(Xe,Dt){const oi=d_();oi?ta(oi,!0,Xe,void 0,F.Option_0_is_redundant_and_cannot_be_specified_with_option_1,Xe,Dt):_s(F.Option_0_is_redundant_and_cannot_be_specified_with_option_1,Xe,Dt)}function e6(Xe,Dt){Dn.set(Xu(Xe),!0),bt.add(Dt)}function bg(Xe){if(ne.noEmit)return!1;const Dt=Xu(Xe);if(Ko(Dt))return!1;const oi=y0(ne);if(oi)return sb(Dt,oi)||sb(Dt,_h(oi)+".d.ts");if(ne.declarationDir&&GE(ne.declarationDir,Dt,jn,!Ai.useCaseSensitiveFileNames()))return!0;if(ne.outDir)return GE(ne.outDir,Dt,jn,!Ai.useCaseSensitiveFileNames());if(jc(Dt,_B)||e1(Dt)){const Ti=_h(Dt);return!!Ko(Ti+".ts")||!!Ko(Ti+".tsx")}return!1}function sb(Xe,Dt){return pv(Xe,Dt,jn,!Ai.useCaseSensitiveFileNames())===0}function b5(){return Ai.getSymlinkCache?Ai.getSymlinkCache():(Ae||(Ae=ble(jn,m4)),Ge&&!Ae.hasProcessedResolutions()&&Ae.setSymlinksFromResolutions(we,de,st),Ae)}}function vzt(t){let u;const s=t.compilerHost.fileExists,d=t.compilerHost.directoryExists,f=t.compilerHost.getDirectories,p=t.compilerHost.realpath;if(!t.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:Is,fileExists:b};t.compilerHost.fileExists=b;let E;return d&&(E=t.compilerHost.directoryExists=z=>d.call(t.compilerHost,z)?(T(z),!0):t.getResolvedProjectReferences()?(u||(u=new Set,t.forEachResolvedProjectReference(j=>{const J=y0(j.commandLine.options);if(J)u.add(lr(t.toPath(J)));else{const K=j.commandLine.options.declarationDir||j.commandLine.options.outDir;K&&u.add(t.toPath(K))}})),M(z,!1)):!1),f&&(t.compilerHost.getDirectories=z=>!t.getResolvedProjectReferences()||d&&d.call(t.compilerHost,z)?f.call(t.compilerHost,z):[]),p&&(t.compilerHost.realpath=z=>{var j;return((j=t.getSymlinkCache().getSymlinkedFiles())==null?void 0:j.get(t.toPath(z)))||p.call(t.compilerHost,z)}),{onProgramCreateComplete:v,fileExists:b,directoryExists:E};function v(){t.compilerHost.fileExists=s,t.compilerHost.directoryExists=d,t.compilerHost.getDirectories=f}function b(z){return s.call(t.compilerHost,z)?!0:!t.getResolvedProjectReferences()||!e1(z)?!1:M(z,!0)}function B(z){const j=t.getSourceOfProjectReferenceRedirect(t.toPath(z));return j!==void 0?Ja(j)?s.call(t.compilerHost,j):!0:void 0}function k(z){const j=t.toPath(z),J=`${j}${rl}`;return U_(u,K=>j===K||Pa(K,J)||Pa(j,`${K}/`))}function T(z){var j;if(!t.getResolvedProjectReferences()||TP(z)||!p||!z.includes(o_))return;const J=t.getSymlinkCache(),K=zd(t.toPath(z));if((j=J.getSymlinkedDirectories())!=null&&j.has(K))return;const Y=$o(p.call(t.compilerHost,z));let oe;if(Y===z||(oe=zd(t.toPath(Y)))===K){J.setSymlinkedDirectory(K,!1);return}J.setSymlinkedDirectory(z,{real:zd(Y),realPath:oe})}function M(z,j){var J;const K=j?ae=>B(ae):ae=>k(ae),Y=K(z);if(Y!==void 0)return Y;const oe=t.getSymlinkCache(),se=oe.getSymlinkedDirectories();if(!se)return!1;const ge=t.toPath(z);return ge.includes(o_)?j&&((J=oe.getSymlinkedFiles())!=null&&J.has(ge))?!0:ie(se.entries(),([ae,Ce])=>{if(!Ce||!Pa(ge,ae))return;const ne=K(ge.replace(ae,Ce.realPath));if(j&&ne){const ve=$a(z,t.compilerHost.getCurrentDirectory());oe.setSymlinkedFile(ge,`${Ce.real}${ve.replace(new RegExp(ae,"i"),"")}`)}return ne})||!1:!1}}function L1e(t,u,s,d){const f=t.getCompilerOptions();if(f.noEmit)return t.getSemanticDiagnostics(u,d),u||y0(f)?PQ:t.emitBuildInfo(s,d);if(!f.noEmitOnError)return;let p=[...t.getOptionsDiagnostics(d),...t.getSyntacticDiagnostics(u,d),...t.getGlobalDiagnostics(d),...t.getSemanticDiagnostics(u,d)];if(p.length===0&&c4(t.getCompilerOptions())&&(p=t.getDeclarationDiagnostics(void 0,d)),!p.length)return;let E;if(!u&&!y0(f)){const v=t.emitBuildInfo(s,d);v.diagnostics&&(p=[...p,...v.diagnostics]),E=v.emittedFiles}return{diagnostics:p,sourceMaps:void 0,emittedFiles:E,emitSkipped:!0}}function BQ(t,u){return ti(t,s=>!s.skippedOn||!u[s.skippedOn])}function wQ(t,u=t){return{fileExists:s=>u.fileExists(s),readDirectory(s,d,f,p,E){return H.assertIsDefined(u.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),u.readDirectory(s,d,f,p,E)},readFile:s=>u.readFile(s),directoryExists:Lo(u,u.directoryExists),getDirectories:Lo(u,u.getDirectories),realpath:Lo(u,u.realpath),useCaseSensitiveFileNames:t.useCaseSensitiveFileNames(),getCurrentDirectory:()=>t.getCurrentDirectory(),onUnRecoverableConfigFileDiagnostic:t.onUnRecoverableConfigFileDiagnostic||hv,trace:t.trace?s=>t.trace(s):void 0}}function N1e(t,u,s,d){if(!t)return _t;let f;for(let p=0;pd);for(const d of u)d.kind===11&&s.push(d);return s}function TQ({imports:t,moduleAugmentations:u},s){if(s(t.Grey="\x1B[90m",t.Red="\x1B[91m",t.Yellow="\x1B[93m",t.Blue="\x1B[94m",t.Cyan="\x1B[96m",t))(M1e||{}),z1e="\x1B[7m",I1e=" ",O7e="\x1B[0m",j7e="...",dtt=" ",V7e=" ",H7e={resolvedModule:void 0,resolvedTypeReferenceDirective:void 0},yH={getName:I7e,getMode:(t,u)=>xg(u,t)},LQ={getName:R7e,getMode:(t,u)=>yQ(t,u==null?void 0:u.impliedNodeFormat)},QB="__inferred type names__.ts",NQ=new Set([F.Cannot_redeclare_block_scoped_variable_0.code,F.A_module_cannot_have_multiple_default_exports.code,F.Another_export_default_is_here.code,F.The_first_export_default_is_here.code,F.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,F.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,F.constructor_is_a_reserved_word.code,F.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,F.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code,F.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,F.Invalid_use_of_0_in_strict_mode.code,F.A_label_is_not_allowed_here.code,F.with_statements_are_not_allowed_in_strict_mode.code,F.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,F.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,F.A_class_declaration_without_the_default_modifier_must_have_a_name.code,F.A_class_member_cannot_have_the_0_keyword.code,F.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,F.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,F.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,F.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,F.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,F.A_destructuring_declaration_must_have_an_initializer.code,F.A_get_accessor_cannot_have_parameters.code,F.A_rest_element_cannot_contain_a_binding_pattern.code,F.A_rest_element_cannot_have_a_property_name.code,F.A_rest_element_cannot_have_an_initializer.code,F.A_rest_element_must_be_last_in_a_destructuring_pattern.code,F.A_rest_parameter_cannot_have_an_initializer.code,F.A_rest_parameter_must_be_last_in_a_parameter_list.code,F.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,F.A_return_statement_cannot_be_used_inside_a_class_static_block.code,F.A_set_accessor_cannot_have_rest_parameter.code,F.A_set_accessor_must_have_exactly_one_parameter.code,F.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,F.An_export_declaration_cannot_have_modifiers.code,F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,F.An_import_declaration_cannot_have_modifiers.code,F.An_object_member_cannot_be_declared_optional.code,F.Argument_of_dynamic_import_cannot_be_spread_element.code,F.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,F.Cannot_redeclare_identifier_0_in_catch_clause.code,F.Catch_clause_variable_cannot_have_an_initializer.code,F.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,F.Classes_can_only_extend_a_single_class.code,F.Classes_may_not_have_a_field_named_constructor.code,F.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code,F.Duplicate_label_0.code,F.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments.code,F.for_await_loops_cannot_be_used_inside_a_class_static_block.code,F.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,F.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,F.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,F.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,F.Jump_target_cannot_cross_function_boundary.code,F.Line_terminator_not_permitted_before_arrow.code,F.Modifiers_cannot_appear_here.code,F.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,F.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,F.Private_identifiers_are_not_allowed_outside_class_bodies.code,F.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,F.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,F.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,F.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,F.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,F.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,F.Trailing_comma_not_allowed.code,F.Variable_declaration_list_cannot_be_empty.code,F._0_and_1_operations_cannot_be_mixed_without_parentheses.code,F._0_expected.code,F._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,F._0_list_cannot_be_empty.code,F._0_modifier_already_seen.code,F._0_modifier_cannot_appear_on_a_constructor_declaration.code,F._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,F._0_modifier_cannot_appear_on_a_parameter.code,F._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,F._0_modifier_cannot_be_used_here.code,F._0_modifier_must_precede_1_modifier.code,F._0_declarations_can_only_be_declared_inside_a_block.code,F._0_declarations_must_be_initialized.code,F.extends_clause_already_seen.code,F.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,F.Class_constructor_may_not_be_a_generator.code,F.Class_constructor_may_not_be_an_accessor.code,F.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.Private_field_0_must_be_declared_in_an_enclosing_class.code,F.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value.code]),PQ={diagnostics:_t,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}),bzt=o({"src/compiler/builderStatePublic.ts"(){}});function K7e(t,u,s,d,f,p){const E=[],{emitSkipped:v,diagnostics:b}=t.emit(u,B,d,s,f,p);return{outputFiles:E,emitSkipped:v,diagnostics:b};function B(k,T,M){E.push({name:k,writeByteOrderMark:M,text:T})}}var Wp,yzt=o({"src/compiler/builderState.ts"(){Bo(),(t=>{function u(){function pe(fe,xe,Be){const Ge={getKeys:Ae=>xe.get(Ae),getValues:Ae=>fe.get(Ae),keys:()=>fe.keys(),deleteKey:Ae=>{(Be||(Be=new Set)).add(Ae);const De=fe.get(Ae);return De?(De.forEach(Ke=>d(xe,Ke,Ae)),fe.delete(Ae),!0):!1},set:(Ae,De)=>{Be==null||Be.delete(Ae);const Ke=fe.get(Ae);return fe.set(Ae,De),Ke==null||Ke.forEach(Je=>{De.has(Je)||d(xe,Je,Ae)}),De.forEach(Je=>{Ke!=null&&Ke.has(Je)||s(xe,Je,Ae)}),Ge}};return Ge}return pe(new Map,new Map,void 0)}t.createManyToManyPathMap=u;function s(pe,fe,xe){let Be=pe.get(fe);Be||(Be=new Set,pe.set(fe,Be)),Be.add(xe)}function d(pe,fe,xe){const Be=pe.get(fe);return Be!=null&&Be.delete(xe)?(Be.size||pe.delete(fe),!0):!1}function f(pe){return qi(pe.declarations,fe=>{var xe;return(xe=zn(fe))==null?void 0:xe.resolvedPath})}function p(pe,fe){const xe=pe.getSymbolAtLocation(fe);return xe&&f(xe)}function E(pe,fe,xe,Be){return J0(pe.getProjectReferenceRedirect(fe)||fe,xe,Be)}function v(pe,fe,xe){let Be;if(fe.imports&&fe.imports.length>0){const Ke=pe.getTypeChecker();for(const Je of fe.imports){const ft=p(Ke,Je);ft==null||ft.forEach(De)}}const Ge=lr(fe.resolvedPath);if(fe.referencedFiles&&fe.referencedFiles.length>0)for(const Ke of fe.referencedFiles){const Je=E(pe,Ke.fileName,Ge,xe);De(Je)}if(pe.forEachResolvedTypeReferenceDirective(({resolvedTypeReferenceDirective:Ke})=>{if(!Ke)return;const Je=Ke.resolvedFileName,ft=E(pe,Je,Ge,xe);De(ft)},fe),fe.moduleAugmentations.length){const Ke=pe.getTypeChecker();for(const Je of fe.moduleAugmentations){if(!us(Je))continue;const ft=Ke.getSymbolAtLocation(Je);ft&&Ae(ft)}}for(const Ke of pe.getTypeChecker().getAmbientModules())Ke.declarations&&Ke.declarations.length>1&&Ae(Ke);return Be;function Ae(Ke){if(Ke.declarations)for(const Je of Ke.declarations){const ft=zn(Je);ft&&ft!==fe&&De(ft.resolvedPath)}}function De(Ke){(Be||(Be=new Set)).add(Ke)}}function b(pe,fe){return fe&&!fe.referencedMap==!pe}t.canReuseOldState=b;function B(pe,fe,xe){var Be,Ge,Ae;const De=new Map,Ke=pe.getCompilerOptions(),Je=y0(Ke),ft=Ke.module!==0&&!Je?u():void 0,Ye=ft?u():void 0,Ve=b(ft,fe);pe.getTypeChecker();for(const We of pe.getSourceFiles()){const Gt=H.checkDefined(We.version,"Program intended to be used with Builder should have source files with versions set"),Yt=Ve?(Be=fe.oldSignatures)==null?void 0:Be.get(We.resolvedPath):void 0,Ie=Yt===void 0?Ve?(Ge=fe.fileInfos.get(We.resolvedPath))==null?void 0:Ge.signature:void 0:Yt||void 0;if(ft){const st=v(pe,We,pe.getCanonicalFileName);if(st&&ft.set(We.resolvedPath,st),Ve){const St=(Ae=fe.oldExportedModulesMap)==null?void 0:Ae.get(We.resolvedPath),It=St===void 0?fe.exportedModulesMap.getValues(We.resolvedPath):St||void 0;It&&Ye.set(We.resolvedPath,It)}}De.set(We.resolvedPath,{version:Gt,signature:Ie,affectsGlobalScope:Je?void 0:ne(We)||void 0,impliedFormat:We.impliedNodeFormat})}return{fileInfos:De,referencedMap:ft,exportedModulesMap:Ye,useFileVersionAsSignature:!xe&&!Ve}}t.create=B;function k(pe){pe.allFilesExcludingDefaultLibraryFile=void 0,pe.allFileNames=void 0}t.releaseCache=k;function T(pe,fe,xe,Be,Ge){var Ae,De;const Ke=M(pe,fe,xe,Be,Ge);return(Ae=pe.oldSignatures)==null||Ae.clear(),(De=pe.oldExportedModulesMap)==null||De.clear(),Ke}t.getFilesAffectedBy=T;function M(pe,fe,xe,Be,Ge){const Ae=fe.getSourceFileByPath(xe);return Ae?J(pe,fe,Ae,Be,Ge)?(pe.referencedMap?Ne:Se)(pe,fe,Ae,Be,Ge):[Ae]:_t}t.getFilesAffectedByWithOldState=M;function z(pe,fe,xe){pe.fileInfos.get(xe).signature=fe,(pe.hasCalledUpdateShapeSignature||(pe.hasCalledUpdateShapeSignature=new Set)).add(xe)}t.updateSignatureOfFile=z;function j(pe,fe,xe,Be,Ge){pe.emit(fe,(Ae,De,Ke,Je,ft,Ye)=>{H.assert(e1(Ae),`File extension for signature expected to be dts: Got:: ${Ae}`),Ge(O1e(pe,fe,De,Be,Ye),ft)},xe,!0,void 0,!0)}t.computeDtsSignature=j;function J(pe,fe,xe,Be,Ge,Ae=pe.useFileVersionAsSignature){var De;if((De=pe.hasCalledUpdateShapeSignature)!=null&&De.has(xe.resolvedPath))return!1;const Ke=pe.fileInfos.get(xe.resolvedPath),Je=Ke.signature;let ft;if(!xe.isDeclarationFile&&!Ae&&j(fe,xe,Be,Ge,(Ye,Ve)=>{ft=Ye,ft!==Je&&K(pe,xe,Ve[0].exportedModulesFromDeclarationEmit)}),ft===void 0&&(ft=xe.version,pe.exportedModulesMap&&ft!==Je)){(pe.oldExportedModulesMap||(pe.oldExportedModulesMap=new Map)).set(xe.resolvedPath,pe.exportedModulesMap.getValues(xe.resolvedPath)||!1);const Ye=pe.referencedMap?pe.referencedMap.getValues(xe.resolvedPath):void 0;Ye?pe.exportedModulesMap.set(xe.resolvedPath,Ye):pe.exportedModulesMap.deleteKey(xe.resolvedPath)}return(pe.oldSignatures||(pe.oldSignatures=new Map)).set(xe.resolvedPath,Je||!1),(pe.hasCalledUpdateShapeSignature||(pe.hasCalledUpdateShapeSignature=new Set)).add(xe.resolvedPath),Ke.signature=ft,ft!==Je}t.updateShapeSignature=J;function K(pe,fe,xe){if(!pe.exportedModulesMap)return;(pe.oldExportedModulesMap||(pe.oldExportedModulesMap=new Map)).set(fe.resolvedPath,pe.exportedModulesMap.getValues(fe.resolvedPath)||!1);const Be=Y(xe);Be?pe.exportedModulesMap.set(fe.resolvedPath,Be):pe.exportedModulesMap.deleteKey(fe.resolvedPath)}t.updateExportedModules=K;function Y(pe){let fe;return pe==null||pe.forEach(xe=>f(xe).forEach(Be=>(fe??(fe=new Set)).add(Be))),fe}t.getExportedModules=Y;function oe(pe,fe,xe){const Be=fe.getCompilerOptions();if(y0(Be)||!pe.referencedMap||ne(xe))return se(pe,fe);const Ge=new Set,Ae=[xe.resolvedPath];for(;Ae.length;){const De=Ae.pop();if(!Ge.has(De)){Ge.add(De);const Ke=pe.referencedMap.getValues(De);if(Ke)for(const Je of Ke.keys())Ae.push(Je)}}return ga(eo(Ge.keys(),De=>{var Ke;return((Ke=fe.getSourceFileByPath(De))==null?void 0:Ke.fileName)??De}))}t.getAllDependencies=oe;function se(pe,fe){if(!pe.allFileNames){const xe=fe.getSourceFiles();pe.allFileNames=xe===_t?_t:xe.map(Be=>Be.fileName)}return pe.allFileNames}function ge(pe,fe){const xe=pe.referencedMap.getKeys(fe);return xe?ga(xe.keys()):[]}t.getReferencedByPaths=ge;function ae(pe){for(const fe of pe.statements)if(!tq(fe))return!1;return!0}function Ce(pe){return Oe(pe.moduleAugmentations,fe=>Yg(fe.parent))}function ne(pe){return Ce(pe)||!cm(pe)&&!W4(pe)&&!ae(pe)}function ve(pe,fe,xe){if(pe.allFilesExcludingDefaultLibraryFile)return pe.allFilesExcludingDefaultLibraryFile;let Be;xe&&Ge(xe);for(const Ae of fe.getSourceFiles())Ae!==xe&&Ge(Ae);return pe.allFilesExcludingDefaultLibraryFile=Be||_t,pe.allFilesExcludingDefaultLibraryFile;function Ge(Ae){fe.isSourceFileDefaultLibrary(Ae)||(Be||(Be=[])).push(Ae)}}t.getAllFilesExcludingDefaultLibraryFile=ve;function Se(pe,fe,xe){const Be=fe.getCompilerOptions();return Be&&y0(Be)?[xe]:ve(pe,fe,xe)}function Ne(pe,fe,xe,Be,Ge){if(ne(xe))return ve(pe,fe,xe);const Ae=fe.getCompilerOptions();if(Ae&&(mg(Ae)||y0(Ae)))return[xe];const De=new Map;De.set(xe.resolvedPath,xe);const Ke=ge(pe,xe.resolvedPath);for(;Ke.length>0;){const Je=Ke.pop();if(!De.has(Je)){const ft=fe.getSourceFileByPath(Je);De.set(Je,ft),ft&&J(pe,fe,ft,Be,Ge)&&Ke.push(...ge(pe,ft.resolvedPath))}}return ga(eo(De.values(),Je=>Je))}})(Wp||(Wp={}))}});function Ux(t){let u=1;return t.sourceMap&&(u=u|2),t.inlineSourceMap&&(u=u|4),c4(t)&&(u=u|8),t.declarationMap&&(u=u|16),t.emitDeclarationOnly&&(u=u&24),u}function XB(t,u){const s=u&&(UD(u)?u:Ux(u)),d=UD(t)?t:Ux(t);if(s===d)return 0;if(!s||!d)return d;const f=s^d;let p=0;return f&7&&(p=d&7),f&24&&(p=p|d&24),p}function kzt(t,u){return t===u||t!==void 0&&u!==void 0&&t.size===u.size&&!U_(t,s=>!u.has(s))}function Fzt(t,u){var s,d;const f=Wp.create(t,u,!1);f.program=t;const p=t.getCompilerOptions();f.compilerOptions=p;const E=y0(p);E?p.composite&&(u!=null&&u.outSignature)&&E===y0(u==null?void 0:u.compilerOptions)&&(f.outSignature=u.outSignature&&ftt(p,u.compilerOptions,u.outSignature)):f.semanticDiagnosticsPerFile=new Map,f.changedFilesSet=new Set,f.latestChangedDtsFile=p.composite?u==null?void 0:u.latestChangedDtsFile:void 0;const v=Wp.canReuseOldState(f.referencedMap,u),b=v?u.compilerOptions:void 0,B=v&&u.semanticDiagnosticsPerFile&&!!f.semanticDiagnosticsPerFile&&!oke(p,b),k=p.composite&&(u==null?void 0:u.emitSignatures)&&!E&&!lke(p,u.compilerOptions);v?((s=u.changedFilesSet)==null||s.forEach(J=>f.changedFilesSet.add(J)),!E&&((d=u.affectedFilesPendingEmit)!=null&&d.size)&&(f.affectedFilesPendingEmit=new Map(u.affectedFilesPendingEmit),f.seenAffectedFiles=new Set),f.programEmitPending=u.programEmitPending):f.buildInfoEmitPending=!0;const T=f.referencedMap,M=v?u.referencedMap:void 0,z=B&&!p.skipLibCheck==!b.skipLibCheck,j=z&&!p.skipDefaultLibCheck==!b.skipDefaultLibCheck;if(f.fileInfos.forEach((J,K)=>{let Y,oe;if(!v||!(Y=u.fileInfos.get(K))||Y.version!==J.version||Y.impliedFormat!==J.impliedFormat||!kzt(oe=T&&T.getValues(K),M&&M.getValues(K))||oe&&U_(oe,se=>!f.fileInfos.has(se)&&u.fileInfos.has(se)))htt(f,K);else if(B){const se=t.getSourceFileByPath(K);if(se.isDeclarationFile&&!z||se.hasNoDefaultLib&&!j)return;const ge=u.semanticDiagnosticsPerFile.get(K);ge&&(f.semanticDiagnosticsPerFile.set(K,u.hasReusableDiagnostic?Szt(ge,t):Azt(ge,t)),f.semanticDiagnosticsFromOldState||(f.semanticDiagnosticsFromOldState=new Set),f.semanticDiagnosticsFromOldState.add(K))}if(k){const se=u.emitSignatures.get(K);se&&(f.emitSignatures??(f.emitSignatures=new Map)).set(K,ftt(p,u.compilerOptions,se))}}),v&&h1(u.fileInfos,(J,K)=>f.fileInfos.has(K)?!1:E||J.affectsGlobalScope?!0:(f.buildInfoEmitPending=!0,!1)))Wp.getAllFilesExcludingDefaultLibraryFile(f,t,void 0).forEach(J=>htt(f,J.resolvedPath));else if(b){const J=ske(p,b)?Ux(p):XB(p,b);J!==0&&(E?f.programEmitPending=f.programEmitPending?f.programEmitPending|J:J:(t.getSourceFiles().forEach(K=>{f.changedFilesSet.has(K.resolvedPath)||Z7e(f,K.resolvedPath,J)}),H.assert(!f.seenAffectedFiles||!f.seenAffectedFiles.size),f.seenAffectedFiles=f.seenAffectedFiles||new Set,f.buildInfoEmitPending=!0))}return E&&!f.changedFilesSet.size&&(v&&(f.bundle=u.bundle),Oe(t.getProjectReferences(),J=>!!J.prepend)&&(f.programEmitPending=Ux(p))),f}function htt(t,u){t.changedFilesSet.add(u),t.buildInfoEmitPending=!0,t.programEmitPending=void 0}function ftt(t,u,s){return!!t.declarationMap==!!u.declarationMap?s:Ja(s)?[s]:s[0]}function Azt(t,u){return t.length?Lu(t,s=>{if(Ja(s.messageText))return s;const d=W7e(s.messageText,s.file,u,f=>{var p;return(p=f.repopulateInfo)==null?void 0:p.call(f)});return d===s.messageText?s:{...s,messageText:d}}):t}function W7e(t,u,s,d){const f=d(t);if(f)return{...o0e(u,s,f.moduleReference,f.mode,f.packageName||f.moduleReference),next:mtt(t.next,u,s,d)};const p=mtt(t.next,u,s,d);return p===t.next?t:{...t,next:p}}function mtt(t,u,s,d){return Lu(t,f=>W7e(f,u,s,d))}function Szt(t,u){if(!t.length)return _t;let s;return t.map(f=>{const p=ptt(f,u,d);p.reportsUnnecessary=f.reportsUnnecessary,p.reportsDeprecated=f.reportDeprecated,p.source=f.source,p.skippedOn=f.skippedOn;const{relatedInformation:E}=f;return p.relatedInformation=E?E.length?E.map(v=>ptt(v,u,d)):[]:void 0,p});function d(f){return s??(s=lr($a(f5(u.getCompilerOptions()),u.getCurrentDirectory()))),J0(f,s,u.getCanonicalFileName)}}function ptt(t,u,s){const{file:d}=t,f=d?u.getSourceFileByPath(s(d)):void 0;return{...t,file:f,messageText:Ja(t.messageText)?t.messageText:W7e(t.messageText,f,u,p=>p.info)}}function Bzt(t){Wp.releaseCache(t),t.program=void 0}function wzt(t){const u=y0(t.compilerOptions);return H.assert(!t.changedFilesSet.size||u),{affectedFilesPendingEmit:t.affectedFilesPendingEmit&&new Map(t.affectedFilesPendingEmit),seenEmittedFiles:t.seenEmittedFiles&&new Map(t.seenEmittedFiles),programEmitPending:t.programEmitPending,emitSignatures:t.emitSignatures&&new Map(t.emitSignatures),outSignature:t.outSignature,latestChangedDtsFile:t.latestChangedDtsFile,hasChangedEmitSignature:t.hasChangedEmitSignature,changedFilesSet:u?new Set(t.changedFilesSet):void 0}}function Tzt(t,u){t.affectedFilesPendingEmit=u.affectedFilesPendingEmit,t.seenEmittedFiles=u.seenEmittedFiles,t.programEmitPending=u.programEmitPending,t.emitSignatures=u.emitSignatures,t.outSignature=u.outSignature,t.latestChangedDtsFile=u.latestChangedDtsFile,t.hasChangedEmitSignature=u.hasChangedEmitSignature,u.changedFilesSet&&(t.changedFilesSet=u.changedFilesSet)}function gtt(t,u){H.assert(!u||!t.affectedFiles||t.affectedFiles[t.affectedFilesIndex-1]!==u||!t.semanticDiagnosticsPerFile.has(u.resolvedPath))}function Ett(t,u,s){for(var d,f;;){const{affectedFiles:p}=t;if(p){const B=t.seenAffectedFiles;let k=t.affectedFilesIndex;for(;k{const p=d&7;p?t.affectedFilesPendingEmit.set(f,p):t.affectedFilesPendingEmit.delete(f)})}}function Nzt(t,u){var s;if((s=t.affectedFilesPendingEmit)!=null&&s.size)return h1(t.affectedFilesPendingEmit,(d,f)=>{var p;const E=t.program.getSourceFileByPath(f);if(!E||!p7(E,t.program)){t.affectedFilesPendingEmit.delete(f);return}const v=(p=t.seenEmittedFiles)==null?void 0:p.get(E.resolvedPath);let b=XB(d,v);if(u&&(b=b&24),b)return{affectedFile:E,emitKind:b}})}function _tt(t){if(!t.cleanedDiagnosticsOfLibFiles){t.cleanedDiagnosticsOfLibFiles=!0;const u=H.checkDefined(t.program),s=u.getCompilerOptions();L(u.getSourceFiles(),d=>u.isSourceFileDefaultLibrary(d)&&!AP(d,s,u)&&G7e(t,d.resolvedPath))}}function Pzt(t,u,s,d){if(G7e(t,u.resolvedPath),t.allFilesExcludingDefaultLibraryFile===t.affectedFiles){_tt(t),Wp.updateShapeSignature(t,H.checkDefined(t.program),u,s,d);return}t.compilerOptions.assumeChangesOnlyAffectDirectDependencies||Mzt(t,u,s,d)}function R1e(t,u,s,d){if(G7e(t,u),!t.changedFilesSet.has(u)){const f=H.checkDefined(t.program),p=f.getSourceFileByPath(u);p&&(Wp.updateShapeSignature(t,f,p,s,d,!0),c4(t.compilerOptions)&&Z7e(t,u,t.compilerOptions.declarationMap?24:8))}}function G7e(t,u){return t.semanticDiagnosticsFromOldState?(t.semanticDiagnosticsFromOldState.delete(u),t.semanticDiagnosticsPerFile.delete(u),!t.semanticDiagnosticsFromOldState.size):!0}function Dtt(t,u){const s=H.checkDefined(t.oldSignatures).get(u)||void 0;return H.checkDefined(t.fileInfos.get(u)).signature!==s}function J7e(t,u,s,d){var f;return(f=t.fileInfos.get(u))!=null&&f.affectsGlobalScope?(Wp.getAllFilesExcludingDefaultLibraryFile(t,t.program,void 0).forEach(p=>R1e(t,p.resolvedPath,s,d)),_tt(t),!0):!1}function Mzt(t,u,s,d){var f;if(!t.exportedModulesMap||!t.changedFilesSet.has(u.resolvedPath)||!Dtt(t,u.resolvedPath))return;if(mg(t.compilerOptions)){const E=new Map;E.set(u.resolvedPath,!0);const v=Wp.getReferencedByPaths(t,u.resolvedPath);for(;v.length>0;){const b=v.pop();if(!E.has(b)){if(E.set(b,!0),J7e(t,b,s,d))return;if(R1e(t,b,s,d),Dtt(t,b)){const B=H.checkDefined(t.program).getSourceFileByPath(b);v.push(...Wp.getReferencedByPaths(t,B.resolvedPath))}}}}const p=new Set;(f=t.exportedModulesMap.getKeys(u.resolvedPath))==null||f.forEach(E=>{if(J7e(t,E,s,d))return!0;const v=t.referencedMap.getKeys(E);return v&&U_(v,b=>xtt(t,b,p,s,d))})}function xtt(t,u,s,d,f){var p,E;if(r0(s,u)){if(J7e(t,u,d,f))return!0;R1e(t,u,d,f),(p=t.exportedModulesMap.getKeys(u))==null||p.forEach(v=>xtt(t,v,s,d,f)),(E=t.referencedMap.getKeys(u))==null||E.forEach(v=>!s.has(v)&&R1e(t,v,d,f))}}function $7e(t,u,s){return Hi(zzt(t,u,s),H.checkDefined(t.program).getProgramDiagnostics(u))}function zzt(t,u,s){const d=u.resolvedPath;if(t.semanticDiagnosticsPerFile){const p=t.semanticDiagnosticsPerFile.get(d);if(p)return BQ(p,t.compilerOptions)}const f=H.checkDefined(t.program).getBindAndCheckDiagnostics(u,s);return t.semanticDiagnosticsPerFile&&t.semanticDiagnosticsPerFile.set(d,f),BQ(f,t.compilerOptions)}function U7e(t){return!!y0(t.options||{})}function Izt(t,u){var s,d,f;const p=H.checkDefined(t.program).getCurrentDirectory(),E=lr($a(f5(t.compilerOptions),p)),v=t.latestChangedDtsFile?ae(t.latestChangedDtsFile):void 0,b=[],B=new Map,k=[];if(y0(t.compilerOptions)){const pe=ga(t.fileInfos.entries(),([De,Ke])=>{const Je=ne(De);return Se(De,Je),Ke.impliedFormat?{version:Ke.version,impliedFormat:Ke.impliedFormat,signature:void 0,affectsGlobalScope:void 0}:Ke.version}),fe={fileNames:b,fileInfos:pe,root:k,options:Ne(t.compilerOptions),outSignature:t.outSignature,latestChangedDtsFile:v,pendingEmit:t.programEmitPending?t.programEmitPending===Ux(t.compilerOptions)?!1:t.programEmitPending:void 0},{js:xe,dts:Be,commonSourceDirectory:Ge,sourceFiles:Ae}=u;return t.bundle=u={commonSourceDirectory:Ge,sourceFiles:Ae,js:xe||(t.compilerOptions.emitDeclarationOnly||(s=t.bundle)==null?void 0:s.js),dts:Be||(c4(t.compilerOptions)?(d=t.bundle)==null?void 0:d.dts:void 0)},gH(fe,u)}let T,M,z;const j=ga(t.fileInfos.entries(),([pe,fe])=>{var xe,Be;const Ge=ne(pe);Se(pe,Ge),H.assert(b[Ge-1]===Ce(pe));const Ae=(xe=t.oldSignatures)==null?void 0:xe.get(pe),De=Ae!==void 0?Ae||void 0:fe.signature;if(t.compilerOptions.composite){const Ke=t.program.getSourceFileByPath(pe);if(!W4(Ke)&&p7(Ke,t.program)){const Je=(Be=t.emitSignatures)==null?void 0:Be.get(pe);Je!==De&&(z||(z=[])).push(Je===void 0?Ge:[Ge,!Ja(Je)&&Je[0]===De?_t:Je])}}return fe.version===De?fe.affectsGlobalScope||fe.impliedFormat?{version:fe.version,signature:void 0,affectsGlobalScope:fe.affectsGlobalScope,impliedFormat:fe.impliedFormat}:fe.version:De!==void 0?Ae===void 0?fe:{version:fe.version,signature:De,affectsGlobalScope:fe.affectsGlobalScope,impliedFormat:fe.impliedFormat}:{version:fe.version,signature:!1,affectsGlobalScope:fe.affectsGlobalScope,impliedFormat:fe.impliedFormat}});let J;t.referencedMap&&(J=ga(t.referencedMap.keys()).sort(dh).map(pe=>[ne(pe),ve(t.referencedMap.getValues(pe))]));let K;t.exportedModulesMap&&(K=qi(ga(t.exportedModulesMap.keys()).sort(dh),pe=>{var fe;const xe=(fe=t.oldExportedModulesMap)==null?void 0:fe.get(pe);if(xe===void 0)return[ne(pe),ve(t.exportedModulesMap.getValues(pe))];if(xe)return[ne(pe),ve(xe)]}));let Y;if(t.semanticDiagnosticsPerFile)for(const pe of ga(t.semanticDiagnosticsPerFile.keys()).sort(dh)){const fe=t.semanticDiagnosticsPerFile.get(pe);(Y||(Y=[])).push(fe.length?[ne(pe),Ozt(fe,Ce)]:ne(pe))}let oe;if((f=t.affectedFilesPendingEmit)!=null&&f.size){const pe=Ux(t.compilerOptions),fe=new Set;for(const xe of ga(t.affectedFilesPendingEmit.keys()).sort(dh))if(r0(fe,xe)){const Be=t.program.getSourceFileByPath(xe);if(!Be||!p7(Be,t.program))continue;const Ge=ne(xe),Ae=t.affectedFilesPendingEmit.get(xe);(oe||(oe=[])).push(Ae===pe?Ge:Ae===8?[Ge]:[Ge,Ae])}}let se;if(t.changedFilesSet.size)for(const pe of ga(t.changedFilesSet.keys()).sort(dh))(se||(se=[])).push(ne(pe));const ge={fileNames:b,fileInfos:j,root:k,options:Ne(t.compilerOptions),fileIdsList:T,referencedMap:J,exportedModulesMap:K,semanticDiagnosticsPerFile:Y,affectedFilesPendingEmit:oe,changeFileSet:se,emitSignatures:z,latestChangedDtsFile:v};return gH(ge,u);function ae(pe){return Ce($a(pe,p))}function Ce(pe){return h2(JE(E,pe,t.program.getCanonicalFileName))}function ne(pe){let fe=B.get(pe);return fe===void 0&&(b.push(Ce(pe)),B.set(pe,fe=b.length)),fe}function ve(pe){const fe=ga(pe.keys(),ne).sort(nl),xe=fe.join();let Be=M==null?void 0:M.get(xe);return Be===void 0&&((T||(T=[])).push(fe),(M||(M=new Map)).set(xe,Be=T.length)),Be}function Se(pe,fe){const xe=t.program.getSourceFile(pe);if(!t.program.getFileIncludeReasons().get(xe.path).some(De=>De.kind===0))return;if(!k.length)return k.push(fe);const Be=k[k.length-1],Ge=Ha(Be);if(Ge&&Be[1]===fe-1)return Be[1]=fe;if(Ge||k.length===1||Be!==fe-1)return k.push(fe);const Ae=k[k.length-2];return!UD(Ae)||Ae!==Be-1?k.push(fe):(k[k.length-2]=[Ae,fe],k.length=k.length-1)}function Ne(pe){let fe;const{optionsNameMap:xe}=jB();for(const Be of Ns(pe).sort(dh)){const Ge=xe.get(Be.toLowerCase());Ge!=null&&Ge.affectsBuildInfo&&((fe||(fe={}))[Be]=Rzt(Ge,pe[Be],ae))}return fe}}function Rzt(t,u,s){if(t){if(H.assert(t.type!=="listOrElement"),t.type==="list"){const d=u;if(t.element.isFilePath&&d.length)return d.map(s)}else if(t.isFilePath)return s(u)}return u}function Ozt(t,u){return H.assert(!!t.length),t.map(s=>{const d=vtt(s,u);d.reportsUnnecessary=s.reportsUnnecessary,d.reportDeprecated=s.reportsDeprecated,d.source=s.source,d.skippedOn=s.skippedOn;const{relatedInformation:f}=s;return d.relatedInformation=f?f.length?f.map(p=>vtt(p,u)):[]:void 0,d})}function vtt(t,u){const{file:s}=t;return{...t,file:s?u(s.resolvedPath):void 0,messageText:Ja(t.messageText)?t.messageText:q7e(t.messageText)}}function q7e(t){if(t.repopulateInfo)return{info:t.repopulateInfo(),next:Ctt(t.next)};const u=Ctt(t.next);return u===t.next?t:{...t,next:u}}function Ctt(t){return t&&(L(t,(u,s)=>{const d=q7e(u);if(u===d)return;const f=s>0?t.slice(0,s-1):[];f.push(d);for(let p=s+1;p`${b(B)}${vO[B.category]}${B.code}: ${v(B.messageText)}`).join(` + `,pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),dr),ze.flags=Xs,ze.enclosingDeclaration=L0}function $t(ai,Bu,dr){const nr=b4(ai),hr=sn(ai),Qs=Vt(hr,W1=>zt(W1,ze)),zo=Zc(nr),so=S(zo)?Ds(zo):void 0,ts=ju(n0(nr),W1=>BE(W1,so)),Xs=wE(0,nr,so,179),L0=wE(1,nr,so,180),$h=Jb(nr,so),K1=S(zo)?[q.createHeritageClause(96,qi(zo,W1=>nS(W1,111551)))]:void 0;yl(q.createInterfaceDeclaration(void 0,Zf(ai,Bu),Qs,K1,[...$h,...L0,...Xs,...ts]),dr)}function Mi(ai){const Bu=$f(ai);return Bu?ti(ga(Bu.values()),dr=>Qa(dr)&&Lm(dr.escapedName,99)):[]}function Bn(ai){return ye(Mi(ai),Bu=>!(O1(yc(Bu))&111551))}function Du(ai,Bu,dr){const nr=Mi(ai),hr=mO(nr,so=>so.parent&&so.parent===ai?"real":"merged"),Qs=hr.get("real")||_t,zo=hr.get("merged")||_t;if(S(Qs)){const so=Zf(ai,Bu);Br(Qs,so,dr,!!(ai.flags&67108880))}if(S(zo)){const so=zn(ze.enclosingDeclaration),ts=Zf(ai,Bu),Xs=q.createModuleBlock([q.createExportDeclaration(void 0,!1,q.createNamedExports(qi(ti(zo,L0=>L0.escapedName!=="export="),L0=>{var $h,K1;const W1=Qr(L0.escapedName),ml=Zf(L0,W1),y1=L0.declarations&&rp(L0);if(so&&(y1?so!==zn(y1):!Oe(L0.declarations,Yf=>zn(Yf)===so))){(K1=($h=ze.tracker)==null?void 0:$h.reportNonlocalAugmentation)==null||K1.call($h,so,ai,L0);return}const B3=y1&&E4(y1,!0);fl(B3||L0);const k1=B3?Zf(B3,Qr(B3.escapedName)):ml;return q.createExportSpecifier(!1,W1===k1?void 0:k1,W1)})))]);yl(q.createModuleDeclaration(void 0,q.createIdentifier(ts),Xs,32),0)}}function un(ai,Bu,dr){yl(q.createEnumDeclaration(q.createModifiersFromModifierFlags(pze(ai)?4096:0),Zf(ai,Bu),Vt(ti(n0(Wn(ai)),nr=>!!(nr.flags&8)),nr=>{const hr=nr.declarations&&nr.declarations[0]&&J2(nr.declarations[0])?Jze(nr.declarations[0]):void 0;return q.createEnumMember(Qr(nr.escapedName),hr===void 0?void 0:typeof hr=="string"?q.createStringLiteral(hr):q.createNumericLiteral(hr))})),dr)}function lu(ai,Bu,dr,nr){const hr=go(ai,0);for(const Qs of hr){const zo=Te(Qs,262,ze,{name:q.createIdentifier(dr),privateSymbolVisitor:fl,bundledImports:Yn});yl(Pt(zo,_r(Qs)),nr)}if(!(Bu.flags&1536&&Bu.exports&&Bu.exports.size)){const Qs=ti(n0(ai),Qa);Br(Qs,dr,nr,!0)}}function _r(ai){if(ai.declaration&&ai.declaration.parent){if(Xn(ai.declaration.parent)&&Xl(ai.declaration.parent)===5)return ai.declaration.parent;if(ua(ai.declaration.parent)&&ai.declaration.parent.parent)return ai.declaration.parent.parent}return ai.declaration}function Br(ai,Bu,dr,nr){if(S(ai)){const Qs=mO(ai,ml=>!S(ml.declarations)||Oe(ml.declarations,y1=>zn(y1)===zn(ze.enclosingDeclaration))?"local":"remote").get("local")||_t;let zo=a_.createModuleDeclaration(void 0,q.createIdentifier(Bu),q.createModuleBlock([]),32);ks(zo,Mr),zo.locals=Vo(ai),zo.symbol=ai[0].parent;const so=Ou;Ou=[];const ts=yi;yi=!1;const Xs={...ze,enclosingDeclaration:zo},L0=ze;ze=Xs,cs(Vo(Qs),nr,!0),ze=L0,yi=ts;const $h=Ou;Ou=so;const K1=Vt($h,ml=>tc(ml)&&!ml.isExportEquals&&at(ml.expression)?q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,ml.expression,q.createIdentifier("default"))])):ml),W1=ye(K1,ml=>Yu(ml,32))?Vt(K1,La):K1;zo=q.updateModuleDeclaration(zo,zo.modifiers,zo.name,q.createModuleBlock(W1)),yl(zo,dr)}}function Qa(ai){return!!(ai.flags&2887656)||!(ai.flags&4194304||ai.escapedName==="prototype"||ai.valueDeclaration&&No(ai.valueDeclaration)&&mr(ai.valueDeclaration.parent))}function Oo(ai){const Bu=qi(ai,dr=>{const nr=ze.enclosingDeclaration;ze.enclosingDeclaration=dr;let hr=dr.expression;if(ec(hr)){if(at(hr)&&fu(hr)==="")return Qs(void 0);let zo;if({introducesError:zo,node:hr}=kc(hr,ze,fl),zo)return Qs(void 0)}return Qs(q.createExpressionWithTypeArguments(hr,Vt(dr.typeArguments,zo=>el(ze,zo,fl,Yn)||C(Ar(zo),ze))));function Qs(zo){return ze.enclosingDeclaration=nr,zo}});if(Bu.length===ai.length)return Bu}function Wo(ai,Bu,dr){var nr,hr;const Qs=(nr=ai.declarations)==null?void 0:nr.find(mr),zo=ze.enclosingDeclaration;ze.enclosingDeclaration=Qs||zo;const so=sn(ai),ts=Vt(so,LE=>zt(LE,ze)),Xs=xm(b4(ai)),L0=Zc(Xs),$h=Qs&&iB(Qs),K1=$h&&Oo($h)||qi(_D(Xs),BD),W1=Wn(ai),ml=!!((hr=W1.symbol)!=null&&hr.valueDeclaration)&&mr(W1.symbol.valueDeclaration),y1=ml?qc(W1):me,B3=[...S(L0)?[q.createHeritageClause(96,Vt(L0,LE=>xT(LE,y1,Bu)))]:[],...S(K1)?[q.createHeritageClause(119,K1)]:[]],k1=i0i(Xs,L0,n0(Xs)),Yf=ti(k1,LE=>{const $z=LE.valueDeclaration;return!!$z&&!(mh($z)&&ea($z.name))}),TE=Oe(k1,LE=>{const $z=LE.valueDeclaration;return!!$z&&mh($z)&&ea($z.name)})?[q.createPropertyDeclaration(void 0,q.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:_t,L6=ju(Yf,LE=>Er(LE,!1,L0[0])),N6=ju(ti(n0(W1),LE=>!(LE.flags&4194304)&&LE.escapedName!=="prototype"&&!Qa(LE)),LE=>Er(LE,!0,y1)),_ci=!ml&&!!ai.valueDeclaration&&Qn(ai.valueDeclaration)&&!Oe(go(W1,1))?[q.createConstructorDeclaration(q.createModifiersFromModifierFlags(2),[],void 0)]:wE(1,W1,y1,176),Dci=Jb(Xs,L0[0]);ze.enclosingDeclaration=zo,yl(Pt(q.createClassDeclaration(void 0,Bu,ts,B3,[...Dci,...N6,..._ci,...L6,...TE]),ai.declarations&&ti(ai.declarations,LE=>Wc(LE)||Xd(LE))[0]),dr)}function xr(ai){return G(ai,Bu=>{if(bf(Bu)||eh(Bu))return fu(Bu.propertyName||Bu.name);if(Xn(Bu)||tc(Bu)){const dr=tc(Bu)?Bu.expression:Bu.right;if(Iu(dr))return fu(dr.name)}if(sC(Bu)){const dr=Za(Bu);if(dr&&at(dr))return fu(dr)}})}function mo(ai,Bu,dr){var nr,hr,Qs,zo,so;const ts=rp(ai);if(!ts)return H.fail();const Xs=Ks(E4(ts,!0));if(!Xs)return;let L0=$N(Xs)&&xr(ai.declarations)||Qr(Xs.escapedName);L0==="export="&&pe&&(L0="default");const $h=Zf(Xs,L0);switch(fl(Xs),ts.kind){case 208:if(((hr=(nr=ts.parent)==null?void 0:nr.parent)==null?void 0:hr.kind)===260){const ml=_n(Xs.parent||Xs,ze),{propertyName:y1}=ts;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamedImports([q.createImportSpecifier(!1,y1&&at(y1)?q.createIdentifier(fu(y1)):void 0,q.createIdentifier(Bu))])),q.createStringLiteral(ml),void 0),0);break}H.failBadSyntaxKind(((Qs=ts.parent)==null?void 0:Qs.parent)||ts,"Unhandled binding element grandparent kind in declaration serialization");break;case 304:((so=(zo=ts.parent)==null?void 0:zo.parent)==null?void 0:so.kind)===226&&es(Qr(ai.escapedName),$h);break;case 260:if(Iu(ts.initializer)){const ml=ts.initializer,y1=q.createUniqueName(Bu),B3=_n(Xs.parent||Xs,ze);yl(q.createImportEqualsDeclaration(void 0,!1,y1,q.createExternalModuleReference(q.createStringLiteral(B3))),0),yl(q.createImportEqualsDeclaration(void 0,!1,q.createIdentifier(Bu),q.createQualifiedName(y1,ml.name)),dr);break}case 271:if(Xs.escapedName==="export="&&Oe(Xs.declarations,ml=>la(ml)&&W4(ml))){T0(ai);break}const K1=!(Xs.flags&512)&&!ua(ts);yl(q.createImportEqualsDeclaration(void 0,!1,q.createIdentifier(Bu),K1?ka(Xs,ze,67108863,!1):q.createExternalModuleReference(q.createStringLiteral(_n(Xs,ze)))),K1?dr:0);break;case 270:yl(q.createNamespaceExportDeclaration(fu(ts.name)),0);break;case 273:{const ml=_n(Xs.parent||Xs,ze),y1=Yn?q.createStringLiteral(ml):ts.parent.moduleSpecifier;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,q.createIdentifier(Bu),void 0),y1,ts.parent.attributes),0);break}case 274:{const ml=_n(Xs.parent||Xs,ze),y1=Yn?q.createStringLiteral(ml):ts.parent.parent.moduleSpecifier;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamespaceImport(q.createIdentifier(Bu))),y1,ts.parent.attributes),0);break}case 280:yl(q.createExportDeclaration(void 0,!1,q.createNamespaceExport(q.createIdentifier(Bu)),q.createStringLiteral(_n(Xs,ze))),0);break;case 276:{const ml=_n(Xs.parent||Xs,ze),y1=Yn?q.createStringLiteral(ml):ts.parent.parent.parent.moduleSpecifier;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamedImports([q.createImportSpecifier(!1,Bu!==L0?q.createIdentifier(L0):void 0,q.createIdentifier(Bu))])),y1,ts.parent.parent.parent.attributes),0);break}case 281:const W1=ts.parent.parent.moduleSpecifier;es(Qr(ai.escapedName),W1?L0:$h,W1&&t0(W1)?q.createStringLiteral(W1.text):void 0);break;case 277:T0(ai);break;case 226:case 211:case 212:ai.escapedName==="default"||ai.escapedName==="export="?T0(ai):es(Bu,$h);break;default:return H.failBadSyntaxKind(ts,"Unhandled alias declaration kind in symbol serializer!")}}function es(ai,Bu,dr){yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,ai!==Bu?Bu:void 0,ai)]),dr),0)}function T0(ai){var Bu;if(ai.flags&4194304)return!1;const dr=Qr(ai.escapedName),nr=dr==="export=",Qs=nr||dr==="default",zo=ai.declarations&&rp(ai),so=zo&&E4(zo,!0);if(so&&S(so.declarations)&&Oe(so.declarations,ts=>zn(ts)===zn(Mr))){const ts=zo&&(tc(zo)||Xn(zo)?K0e(zo):fye(zo)),Xs=ts&&ec(ts)?g0i(ts):void 0,L0=Xs&&R0(Xs,67108863,!0,!0,Mr);(L0||so)&&fl(L0||so);const $h=ze.tracker.disableTrackSymbol;if(ze.tracker.disableTrackSymbol=!0,Qs)Ou.push(q.createExportAssignment(void 0,nr,ah(so,ze,67108863)));else if(Xs===ts&&Xs)es(dr,fu(Xs));else if(ts&&Xd(ts))es(dr,Zf(so,lc(so)));else{const K1=zC(dr,ai);yl(q.createImportEqualsDeclaration(void 0,!1,q.createIdentifier(K1),ka(so,ze,67108863,!1)),0),es(dr,K1)}return ze.tracker.disableTrackSymbol=$h,!0}else{const ts=zC(dr,ai),Xs=vm(Wn(Ks(ai)));if(Gs(Xs,ai))lu(Xs,ai,ts,Qs?0:32);else{const L0=((Bu=ze.enclosingDeclaration)==null?void 0:Bu.kind)===267&&(!(ai.flags&98304)||ai.flags&65536)?1:2,$h=q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ts,void 0,ad(ze,Xs,ai,Mr,fl,Yn))],L0));yl($h,so&&so.flags&4&&so.escapedName==="export="?128:dr===ts?32:0)}return Qs?(Ou.push(q.createExportAssignment(void 0,nr,q.createIdentifier(ts))),!0):dr!==ts?(es(dr,ts),!0):!1}}function Gs(ai,Bu){const dr=zn(ze.enclosingDeclaration);return Gu(ai)&48&&!S(kh(ai))&&!O9(ai)&&!!(S(ti(n0(ai),Qa))||S(go(ai,0)))&&!S(go(ai,1))&&!$n(Bu,Mr)&&!(ai.symbol&&Oe(ai.symbol.declarations,nr=>zn(nr)!==dr))&&!Oe(n0(ai),nr=>XK(nr.escapedName))&&!Oe(n0(ai),nr=>Oe(nr.declarations,hr=>zn(hr)!==dr))&&ye(n0(ai),nr=>Lm(lc(nr),Ce)?nr.flags&98304?E6(nr)===mF(nr):!0:!1)}function Hd(ai,Bu,dr){return function(hr,Qs,zo){var so,ts,Xs,L0,$h;const K1=l4(hr),W1=!!(K1&2);if(Qs&&hr.flags&2887656)return[];if(hr.flags&4194304||hr.escapedName==="constructor"||zo&&qo(zo,hr.escapedName)&&Ng(qo(zo,hr.escapedName))===Ng(hr)&&(hr.flags&16777216)===(qo(zo,hr.escapedName).flags&16777216)&&CD(Wn(hr),he(zo,hr.escapedName)))return[];const ml=K1&-1025|(Qs?256:0),y1=Kn(hr,ze),B3=(so=hr.declarations)==null?void 0:so.find(dg(ko,wx,ua,Mm,Xn,Iu));if(hr.flags&98304&&dr){const k1=[];if(hr.flags&65536){const Yf=hr.declarations&&L(hr.declarations,TE=>{if(TE.kind===178)return TE;if(Mo(TE)&&rk(TE))return L(TE.arguments[2].properties,L6=>{const N6=Za(L6);if(N6&&at(N6)&&fu(N6)==="set")return L6})});H.assert(!!Yf);const uS=$0(Yf)?dp(Yf).parameters[0]:void 0;k1.push(Pt(q.createSetAccessorDeclaration(q.createModifiersFromModifierFlags(ml),y1,[q.createParameterDeclaration(void 0,void 0,uS?dn(uS,gi(uS),ze):"value",void 0,W1?void 0:ad(ze,Wn(hr),hr,Mr,fl,Yn))],void 0),((ts=hr.declarations)==null?void 0:ts.find(e5))||B3))}if(hr.flags&32768){const Yf=K1&2;k1.push(Pt(q.createGetAccessorDeclaration(q.createModifiersFromModifierFlags(ml),y1,[],Yf?void 0:ad(ze,Wn(hr),hr,Mr,fl,Yn),void 0),((Xs=hr.declarations)==null?void 0:Xs.find(Lx))||B3))}return k1}else if(hr.flags&98311)return Pt(ai(q.createModifiersFromModifierFlags((Ng(hr)?8:0)|ml),y1,hr.flags&16777216?q.createToken(58):void 0,W1?void 0:ad(ze,mF(hr),hr,Mr,fl,Yn),void 0),((L0=hr.declarations)==null?void 0:L0.find(dg(ko,ua)))||B3);if(hr.flags&8208){const k1=Wn(hr),Yf=go(k1,0);if(ml&2)return Pt(ai(q.createModifiersFromModifierFlags((Ng(hr)?8:0)|ml),y1,hr.flags&16777216?q.createToken(58):void 0,void 0,void 0),(($h=hr.declarations)==null?void 0:$h.find($0))||Yf[0]&&Yf[0].declaration||hr.declarations&&hr.declarations[0]);const uS=[];for(const TE of Yf){const L6=Te(TE,Bu,ze,{name:y1,questionToken:hr.flags&16777216?q.createToken(58):void 0,modifiers:ml?q.createModifiersFromModifierFlags(ml):void 0}),N6=TE.declaration&&kj(TE.declaration.parent)?TE.declaration.parent:TE.declaration;uS.push(Pt(L6,N6))}return uS}return H.fail(`Unhandled class member kind! ${hr.__debugFlags||hr.flags}`)}}function BE(ai,Bu){return fr(ai,!1,Bu)}function wE(ai,Bu,dr,nr){const hr=go(Bu,ai);if(ai===1){if(!dr&&ye(hr,so=>S(so.parameters)===0))return[];if(dr){const so=go(dr,1);if(!S(so)&&ye(hr,ts=>S(ts.parameters)===0))return[];if(so.length===hr.length){let ts=!1;for(let Xs=0;XsC(hr,ze)),nr=ah(ai.target.symbol,ze,788968)):ai.symbol&&Ht(ai.symbol,Mr,Bu)&&(nr=ah(ai.symbol,ze,788968)),nr)return q.createExpressionWithTypeArguments(nr,dr)}function BD(ai){const Bu=nS(ai,788968);if(Bu)return Bu;if(ai.symbol)return q.createExpressionWithTypeArguments(ah(ai.symbol,ze,788968),void 0)}function zC(ai,Bu){var dr,nr;const hr=Bu?Zo(Bu):void 0;if(hr&&ze.remappedSymbolNames.has(hr))return ze.remappedSymbolNames.get(hr);Bu&&(ai=Sie(Bu,ai));let Qs=0;const zo=ai;for(;(dr=ze.usedSymbolNames)!=null&&dr.has(ai);)Qs++,ai=`${zo}_${Qs}`;return(nr=ze.usedSymbolNames)==null||nr.add(ai),hr&&ze.remappedSymbolNames.set(hr,ai),ai}function Sie(ai,Bu){if(Bu==="default"||Bu==="__class"||Bu==="__function"){const dr=ze.flags;ze.flags|=16777216;const nr=__(ai,ze);ze.flags=dr,Bu=nr.length>0&&_j(nr.charCodeAt(0))?$4(nr):nr}return Bu==="default"?Bu="_default":Bu==="export="&&(Bu="_exports"),Bu=Lm(Bu,Ce)&&!m7(Bu)?Bu:"_"+Bu.replace(/[^a-zA-Z0-9]/g,"_"),Bu}function Zf(ai,Bu){const dr=Zo(ai);return ze.remappedSymbolNames.has(dr)?ze.remappedSymbolNames.get(dr):(Bu=Sie(ai,Bu),ze.remappedSymbolNames.set(dr,Bu),Bu)}}}function E_(l,m,D=16384,C){return C?A(C).getText():GN(A);function A(w){const I=q.createTypePredicateNode(l.kind===2||l.kind===3?q.createToken(131):void 0,l.kind===1||l.kind===3?q.createIdentifier(l.parameterName):q.createThisTypeNode(),l.type&&Yt.typeToTypeNode(l.type,m,DC(D)|70221824|512)),U=X2(),Z=m&&zn(m);return U.writeNode(4,I,Z,w),w}}function M5(l){const m=[];let D=0;for(let C=0;CZa(I)?I:void 0);const w=A&&Za(A);if(A&&w){if(Mo(A)&&rk(A))return lc(l);if(Ps(w)&&!(Gl(l)&4096)){const I=Ur(l).nameType;if(I&&I.flags&384){const U=hz(l,m);if(U!==void 0)return U}}return b0(w)}if(A||(A=l.declarations[0]),A.parent&&A.parent.kind===260)return b0(A.parent.name);switch(A.kind){case 231:case 218:case 219:return m&&!m.encounteredError&&!(m.flags&131072)&&(m.encounteredError=!0),A.kind===231?"(Anonymous class)":"(Anonymous function)"}}const C=hz(l,m);return C!==void 0?C:lc(l)}function pD(l){if(l){const D=ar(l);return D.isVisible===void 0&&(D.isVisible=!!m()),D.isVisible}return!1;function m(){switch(l.kind){case 345:case 353:case 347:return!!(l.parent&&l.parent.parent&&l.parent.parent.parent&&la(l.parent.parent.parent));case 208:return pD(l.parent.parent);case 260:if(So(l.name)&&!l.name.elements.length)return!1;case 267:case 263:case 264:case 265:case 262:case 266:case 271:if(v2(l))return!0;const D=dF(l);return!(f_e(l)&32)&&!(l.kind!==271&&D.kind!==312&&D.flags&33554432)?pE(D):pD(D);case 172:case 171:case 177:case 178:case 174:case 173:if(Rf(l,6))return!1;case 176:case 180:case 179:case 181:case 169:case 268:case 184:case 185:case 187:case 183:case 188:case 189:case 192:case 193:case 196:case 202:return pD(l.parent);case 273:case 274:case 276:return!1;case 168:case 312:case 270:return!0;case 277:return!1;default:return!1}}}function qw(l,m){let D;l.parent&&l.parent.kind===277?D=uc(l,l.escapedText,2998271,void 0,l,!1):l.parent.kind===281&&(D=Db(l.parent,2998271));let C,A;return D&&(A=new Set,A.add(Zo(D)),w(D.declarations)),C;function w(I){L(I,U=>{const Z=A9(U)||U;if(m?ar(U).isVisible=!0:(C=C||[],xa(C,Z)),U8(U)){const ce=U.moduleReference,Fe=hm(ce),Te=uc(U,Fe.escapedText,901119,void 0,void 0,!1);Te&&A&&r0(A,Zo(Te))&&w(Te.declarations)}})}}function D_(l,m){const D=xC(l,m);if(D>=0){const{length:C}=cD;for(let A=D;A=lb;D--){if(mte(cD[D],Gk[D]))return-1;if(cD[D]===l&&Gk[D]===m)return D}return-1}function mte(l,m){switch(m){case 0:return!!Ur(l).type;case 5:return!!ar(l).resolvedEnumType;case 2:return!!Ur(l).declaredType;case 1:return!!l.resolvedBaseConstructorType;case 3:return!!l.resolvedReturnType;case 4:return!!l.immediateBaseConstraint;case 6:return!!l.resolvedTypeArguments;case 7:return!!l.baseTypesResolved;case 8:return!!Ur(l).writeType;case 9:return ar(l).parameterInitializerContainsUndefined!==void 0}return H.assertNever(m)}function CE(){return cD.pop(),Gk.pop(),i6.pop()}function dF(l){return Tn(XE(l),m=>{switch(m.kind){case 260:case 261:case 276:case 275:case 274:case 273:return!1;default:return!0}}).parent}function YK(l){const m=X0(cf(l));return m.typeParameters?R5(m,Vt(m.typeParameters,D=>me)):m}function he(l,m){const D=qo(l,m);return D?Wn(D):void 0}function Re(l,m){var D;let C;return he(l,m)||(C=(D=G9(l,m))==null?void 0:D.type)&&Vd(C,!0,!0)}function nt(l){return l&&(l.flags&1)!==0}function Nt(l){return l===Ot||!!(l.flags&1&&l.aliasSymbol)}function bi(l,m){if(m!==0)return gD(l,!1,m);const D=_u(l);return D&&Ur(D).type||gD(l,!1,m)}function en(l,m,D){if(l=Ic(l,Z=>!(Z.flags&98304)),l.flags&131072)return Ko;if(l.flags&1048576)return hl(l,Z=>en(Z,m,D));let C=er(Vt(m,j5));const A=[],w=[];for(const Z of n0(l)){const ce=yz(Z,8576);!ms(ce,C)&&!(l4(Z)&6)&&Oge(Z)?A.push(Z):w.push(ce)}if(Lb(l)||AC(C)){if(w.length&&(C=er([C,...w])),C.flags&131072)return l;const Z=Sei();return Z?aT(Z,[l,C]):Ot}const I=Vo();for(const Z of A)I.set(Z.escapedName,APe(Z,!1));const U=Ol(D,I,_t,_t,kh(l));return U.objectFlags|=4194304,U}function zu(l){return!!(l.flags&465829888)&&jl(Wh(l)||on,32768)}function Hr(l){const m=yE(l,zu)?hl(l,D=>D.flags&465829888?xD(D):D):l;return mp(m,524288)}function Lr(l,m){const D=gr(l);return D?w6(D,m):m}function gr(l){const m=fa(l);if(m&&Bj(m)&&m.flowNode){const D=_0(l);if(D){const C=Pt(a_.createStringLiteral(D),l),A=Df(m)?m:a_.createParenthesizedExpression(m),w=Pt(a_.createElementAccessExpression(A,C),l);return ks(C,w),ks(w,l),A!==m&&ks(A,w),w.flowNode=m.flowNode,w}}}function fa(l){const m=l.parent.parent;switch(m.kind){case 208:case 303:return gr(m);case 209:return gr(l.parent);case 260:return m.initializer;case 226:return m.right}}function _0(l){const m=l.parent;return l.kind===208&&m.kind===206?qs(l.propertyName||l.name):l.kind===303||l.kind===304?qs(l.name):""+m.elements.indexOf(l)}function qs(l){const m=j5(l);return m.flags&384?""+m.value:void 0}function Ws(l){const m=l.dotDotDotToken?32:0,D=bi(l.parent.parent,m);return D&&v4(l,D,!1)}function v4(l,m,D){if(nt(m))return m;const C=l.parent;fe&&l.flags&33554432&&w2(l)?m=FD(m):fe&&C.parent.initializer&&!fp(Iht(C.parent.initializer),65536)&&(m=mp(m,524288));let A;if(C.kind===206)if(l.dotDotDotToken){if(m=Sg(m),m.flags&2||!Yte(m))return pt(l,F.Rest_types_may_only_be_created_from_object_types),Ot;const w=[];for(const I of C.elements)I.dotDotDotToken||w.push(I.propertyName||I.name);A=en(m,w,l.symbol)}else{const w=l.propertyName||l.name,I=j5(w),U=qf(m,I,32,w);A=Lr(l,U)}else{const w=G5(65|(l.dotDotDotToken?0:128),m,te,C),I=C.elements.indexOf(l);if(l.dotDotDotToken){const U=hl(m,Z=>Z.flags&58982400?xD(Z):Z);A=e4(U,xs)?hl(U,Z=>bz(Z,I)):V1(w)}else if(H5(m)){const U=wg(I),Z=32|(D||zz(l)?16:0),ce=b6(m,U,Z,l.name)||Ot;A=Lr(l,ce)}else A=w}return l.initializer?f1(S8(l))?fe&&!fp(wW(l,0),16777216)?Hr(A):A:_ze(l,er([Hr(A),wW(l,0)],2)):A}function qp(l){const m=vv(l);if(m)return Ar(m)}function f6(l){const m=l0(l,!0);return m.kind===106||m.kind===80&&Zp(m)===st}function b3(l){const m=l0(l,!0);return m.kind===209&&m.elements.length===0}function Vd(l,m=!1,D=!0){return fe&&D?S6(l,m):l}function gD(l,m,D){if(ua(l)&&l.parent.parent.kind===249){const I=k_(HMe(ya(l.parent.parent.expression,D)));return I.flags&4456448?x1t(I):ct}if(ua(l)&&l.parent.parent.kind===250){const I=l.parent.parent;return Cie(I)||me}if(So(l.parent))return Ws(l);const C=ko(l)&&!eE(l)||Mm(l)||vFe(l),A=m&&PP(l),w=dt(l);if(f0e(l))return w?nt(w)||w===on?w:Ot:Ke?on:me;if(w)return Vd(w,C,A);if((Ae||Qn(l))&&ua(l)&&!So(l.name)&&!(f_e(l)&32)&&!(l.flags&33554432)){if(!(Gb(l)&6)&&(!l.initializer||f6(l.initializer)))return ni;if(l.initializer&&b3(l.initializer))return Nc}if(io(l)){const I=l.parent;if(I.kind===178&&iT(I)){const ce=Sl(_u(l.parent),177);if(ce){const Fe=dp(ce),Te=Qze(I);return Te&&l===Te?(H.assert(!Te.type),Wn(Fe.thisParameter)):Zs(Fe)}}const U=eei(I,l);if(U)return U;const Z=l.symbol.escapedName==="this"?nft(I):uft(l);if(Z)return Vd(Z,!1,A)}if(Qy(l)&&l.initializer){if(Qn(l)&&!io(l)){const U=gz(l,_u(l),xj(l));if(U)return U}const I=_ze(l,wW(l,D));return Vd(I,C,A)}if(ko(l)&&(Ae||Qn(l)))if(Kc(l)){const I=ti(l.parent.members,zl),U=I.length?pte(l.symbol,I):Eh(l)&128?tEe(l.symbol):void 0;return U&&Vd(U,!0,A)}else{const I=Up(l.parent),U=I?pz(l.symbol,I):Eh(l)&128?tEe(l.symbol):void 0;return U&&Vd(U,!0,A)}if(oE(l))return du;if(So(l.name))return V9(l.name,!1,!0)}function fz(l){if(l.valueDeclaration&&Xn(l.valueDeclaration)){const m=Ur(l);return m.isConstructorDeclaredProperty===void 0&&(m.isConstructorDeclaredProperty=!1,m.isConstructorDeclaredProperty=!!Yw(l)&&ye(l.declarations,D=>Xn(D)&&kEe(D)&&(D.left.kind!==212||Pm(D.left.argumentExpression))&&!C4(void 0,D,l,D))),m.isConstructorDeclaredProperty}return!1}function Zw(l){const m=l.valueDeclaration;return m&&ko(m)&&!f1(m)&&!m.initializer&&(Ae||Qn(m))}function Yw(l){if(l.declarations)for(const m of l.declarations){const D=tf(m,!1,!1);if(D&&(D.kind===176||AE(D)))return D}}function mz(l){const m=zn(l.declarations[0]),D=Qr(l.escapedName),C=l.declarations.every(w=>Qn(w)&&I0(w)&&Y_(w.expression)),A=C?q.createPropertyAccessExpression(q.createPropertyAccessExpression(q.createIdentifier("module"),q.createIdentifier("exports")),D):q.createPropertyAccessExpression(q.createIdentifier("exports"),D);return C&&ks(A.expression.expression,A.expression),ks(A.expression,A),ks(A,m),A.flowNode=m.endFlowNode,w6(A,ni,te)}function pte(l,m){const D=Pa(l.escapedName,"__#")?q.createPrivateIdentifier(l.escapedName.split("@")[1]):Qr(l.escapedName);for(const C of m){const A=q.createPropertyAccessExpression(q.createThis(),D);ks(A.expression,A),ks(A,C),A.flowNode=C.returnFlowNode;const w=Ym(A,l);if(Ae&&(w===ni||w===Nc)&&pt(l.valueDeclaration,F.Member_0_implicitly_has_an_1_type,Fr(l),gn(w)),!e4(w,tie))return RW(w)}}function pz(l,m){const D=Pa(l.escapedName,"__#")?q.createPrivateIdentifier(l.escapedName.split("@")[1]):Qr(l.escapedName),C=q.createPropertyAccessExpression(q.createThis(),D);ks(C.expression,C),ks(C,m),C.flowNode=m.returnFlowNode;const A=Ym(C,l);return Ae&&(A===ni||A===Nc)&&pt(l.valueDeclaration,F.Member_0_implicitly_has_an_1_type,Fr(l),gn(A)),e4(A,tie)?void 0:RW(A)}function Ym(l,m){const D=(m==null?void 0:m.valueDeclaration)&&(!Zw(m)||Eh(m.valueDeclaration)&128)&&tEe(m)||te;return w6(l,ni,D)}function ED(l,m){const D=l7(l.valueDeclaration);if(D){const U=Qn(D)?xv(D):void 0;return U&&U.typeExpression?Ar(U.typeExpression):l.valueDeclaration&&gz(l.valueDeclaration,l,D)||Ib(Rc(D))}let C,A=!1,w=!1;if(fz(l)&&(C=pz(l,Yw(l))),!C){let U;if(l.declarations){let Z;for(const ce of l.declarations){const Fe=Xn(ce)||Mo(ce)?ce:I0(ce)?Xn(ce.parent)?ce.parent:ce:void 0;if(!Fe)continue;const Te=I0(Fe)?yj(Fe):Xl(Fe);(Te===4||Xn(Fe)&&kEe(Fe,Te))&&(Mc(Fe)?A=!0:w=!0),Mo(Fe)||(Z=C4(Z,Fe,l,ce)),Z||(U||(U=[])).push(Xn(Fe)||Mo(Fe)?Qw(l,m,Fe,Te):Ku)}C=Z}if(!C){if(!S(U))return Ot;let Z=A&&l.declarations?m6(U,l.declarations):void 0;if(w){const Fe=tEe(l);Fe&&((Z||(Z=[])).push(Fe),A=!0)}const ce=Oe(Z,Fe=>!!(Fe.flags&-98305))?Z:U;C=er(ce)}}const I=vm(Vd(C,!1,w&&!A));return l.valueDeclaration&&Qn(l.valueDeclaration)&&Ic(I,U=>!!(U.flags&-98305))===Ku?(LC(l.valueDeclaration,me),me):I}function gz(l,m,D){var C,A;if(!Qn(l)||!D||!ys(D)||D.properties.length)return;const w=Vo();for(;Xn(l)||Iu(l);){const Z=Dm(l);(C=Z==null?void 0:Z.exports)!=null&&C.size&&mE(w,Z.exports),l=Xn(l)?l.parent:l.parent.parent}const I=Dm(l);(A=I==null?void 0:I.exports)!=null&&A.size&&mE(w,I.exports);const U=Ol(m,w,_t,_t,_t);return U.objectFlags|=4096,U}function C4(l,m,D,C){var A;const w=f1(m.parent);if(w){const I=vm(Ar(w));if(l)!Nt(l)&&!Nt(I)&&!CD(l,I)&&a4t(void 0,l,C,I);else return I}if((A=D.parent)!=null&&A.valueDeclaration){const I=f1(D.parent.valueDeclaration);if(I){const U=qo(Ar(I),D.escapedName);if(U)return E6(U)}}return l}function Qw(l,m,D,C){if(Mo(D)){if(m)return Wn(m);const I=Rc(D.arguments[2]),U=he(I,"value");if(U)return U;const Z=he(I,"get");if(Z){const Fe=wF(Z);if(Fe)return Zs(Fe)}const ce=he(I,"set");if(ce){const Fe=wF(ce);if(Fe)return lze(Fe)}return me}if(Ms(D.left,D.right))return me;const A=C===1&&(Iu(D.left)||U0(D.left))&&(Y_(D.left.expression)||at(D.left.expression)&&uk(D.left.expression)),w=m?Wn(m):A?Jh(Rc(D.right)):Ib(Rc(D.right));if(w.flags&524288&&C===2&&l.escapedName==="export="){const I=Ag(w),U=Vo();qU(I.members,U);const Z=U.size;m&&!m.exports&&(m.exports=Vo()),(m||l).exports.forEach((Fe,Te)=>{var $e;const ut=U.get(Te);if(ut&&ut!==Fe&&!(Fe.flags&2097152))if(Fe.flags&111551&&ut.flags&111551){if(Fe.valueDeclaration&&ut.valueDeclaration&&zn(Fe.valueDeclaration)!==zn(ut.valueDeclaration)){const gi=Qr(Fe.escapedName),Wi=(($e=ur(ut.valueDeclaration,mh))==null?void 0:$e.name)||ut.valueDeclaration;Es(pt(Fe.valueDeclaration,F.Duplicate_identifier_0,gi),Su(Wi,F._0_was_also_declared_here,gi)),Es(pt(Wi,F.Duplicate_identifier_0,gi),Su(Fe.valueDeclaration,F._0_was_also_declared_here,gi))}const zt=Hs(Fe.flags|ut.flags,Te);zt.links.type=er([Wn(Fe),Wn(ut)]),zt.valueDeclaration=ut.valueDeclaration,zt.declarations=Hi(ut.declarations,Fe.declarations),U.set(Te,zt)}else U.set(Te,up(Fe,ut));else U.set(Te,Fe)});const ce=Ol(Z!==U.size?void 0:I.symbol,U,I.callSignatures,I.constructSignatures,I.indexInfos);if(Z===U.size&&(w.aliasSymbol&&(ce.aliasSymbol=w.aliasSymbol,ce.aliasTypeArguments=w.aliasTypeArguments),Gu(w)&4)){ce.aliasSymbol=w.symbol;const Fe=O0(w);ce.aliasTypeArguments=S(Fe)?Fe:void 0}return ce.objectFlags|=Gu(w)&4096,ce.symbol&&ce.symbol.flags&32&&w===b4(ce.symbol)&&(ce.objectFlags|=16777216),ce}return nEe(w)?(LC(D,ql),ql):w}function Ms(l,m){return Iu(l)&&l.expression.kind===110&&uM(m,D=>C1(l,D))}function Mc(l){const m=tf(l,!1,!1);return m.kind===176||m.kind===262||m.kind===218&&!kj(m.parent)}function m6(l,m){return H.assert(l.length===m.length),l.filter((D,C)=>{const A=m[C],w=Xn(A)?A:Xn(A.parent)?A.parent:void 0;return w&&Mc(w)})}function hF(l,m,D){if(l.initializer){const C=So(l.name)?V9(l.name,!0,!1):on;return Vd(_ze(l,wW(l,0,C)))}return So(l.name)?V9(l.name,m,D):(D&&!ke(l)&&LC(l,me),m?$i:me)}function gte(l,m,D){const C=Vo();let A,w=131200;L(l.elements,U=>{const Z=U.propertyName||U.name;if(U.dotDotDotToken){A=y_(ct,me,!1);return}const ce=j5(Z);if(!Y4(ce)){w|=512;return}const Fe=Q4(ce),Te=4|(U.initializer?16777216:0),$e=Hs(Te,Fe);$e.links.type=hF(U,m,D),$e.links.bindingElement=U,C.set($e.escapedName,$e)});const I=Ol(void 0,C,_t,_t,A?[A]:_t);return I.objectFlags|=w,m&&(I.pattern=l,I.objectFlags|=131072),I}function x_(l,m,D){const C=l.elements,A=qu(C),w=A&&A.kind===208&&A.dotDotDotToken?A:void 0;if(C.length===0||C.length===1&&w)return Ce>=2?u1t(me):ql;const I=Vt(C,Fe=>Fd(Fe)?me:hF(Fe,m,D)),U=Ze(C,Fe=>!(Fe===w||Fd(Fe)||zz(Fe)),C.length-1)+1,Z=Vt(C,(Fe,Te)=>Fe===w?4:Te>=U?2:1);let ce=Bg(I,Z);return m&&(ce=Odt(ce),ce.pattern=l,ce.objectFlags|=131072),ce}function V9(l,m=!1,D=!1){return l.kind===206?gte(l,m,D):x_(l,m,D)}function N(l,m){return ee(gD(l,!0,0),l,m)}function W(l){const m=Dm(l),D=gei(!1);return D&&m&&m===D}function ee(l,m,D){return l?(l.flags&4096&&W(m.parent)&&(l=SPe(m)),D&&hEe(m,l),l.flags&8192&&(js(m)||!m.type)&&l.symbol!==_u(m)&&(l=Xu),vm(l)):(l=io(m)&&m.dotDotDotToken?ql:me,D&&(ke(m)||LC(m,l)),l)}function ke(l){const m=XE(l),D=m.kind===169?m.parent:m;return Eie(D)}function dt(l){const m=f1(l);if(m)return Ar(m)}function Bi(l){let m=l.valueDeclaration;return m?(js(m)&&(m=S8(m)),io(m)?Uge(m.parent):!1):!1}function au(l){const m=Ur(l);if(!m.type){const D=za(l);return!m.type&&!Bi(l)&&(m.type=D),D}return m.type}function za(l){if(l.flags&4194304)return YK(l);if(l===ei)return me;if(l.flags&134217728&&l.valueDeclaration){const C=_u(zn(l.valueDeclaration)),A=Hs(C.flags,"exports");A.declarations=C.declarations?C.declarations.slice():[],A.parent=l,A.links.target=C,C.valueDeclaration&&(A.valueDeclaration=C.valueDeclaration),C.members&&(A.members=new Map(C.members)),C.exports&&(A.exports=new Map(C.exports));const w=Vo();return w.set("exports",A),Ol(l,w,_t,_t,_t)}H.assertIsDefined(l.valueDeclaration);const m=l.valueDeclaration;if(la(m)&&W4(m))return m.statements.length?vm(Ib(ya(m.statements[0].expression))):Ko;if(wx(m))return vC(l);if(!D_(l,0))return l.flags&512&&!(l.flags&67108864)?Ez(l):Xw(l);let D;if(m.kind===277)D=ee(dt(m)||Rc(m.expression),m);else if(Xn(m)||Qn(m)&&(Mo(m)||(Iu(m)||yq(m))&&Xn(m.parent)))D=ED(l);else if(Iu(m)||U0(m)||at(m)||t0(m)||Of(m)||Wc(m)||ed(m)||dc(m)&&!zp(m)||n3(m)||la(m)){if(l.flags&9136)return Ez(l);D=Xn(m.parent)?ED(l):dt(m)||me}else if(Jc(m))D=dt(m)||Lmt(m);else if(oE(m))D=dt(m)||gft(m);else if(pm(m))D=dt(m)||Oz(m.name,0);else if(zp(m))D=dt(m)||Nmt(m,0);else if(io(m)||ko(m)||Mm(m)||ua(m)||js(m)||WO(m))D=N(m,!0);else if(Iv(m))D=Ez(l);else if(J2(m))D=xge(l);else return H.fail("Unhandled declaration kind! "+H.formatSyntaxKind(m.kind)+" for "+H.formatSymbol(l));return CE()?D:l.flags&512&&!(l.flags&67108864)?Ez(l):Xw(l)}function i0(l){if(l)switch(l.kind){case 177:return U4(l);case 178:return bye(l);case 172:return H.assert(eE(l)),f1(l)}}function Qm(l){const m=i0(l);return m&&Ar(m)}function p6(l){const m=Qze(l);return m&&m.symbol}function g6(l){return kC(dp(l))}function vC(l){const m=Ur(l);if(!m.type){if(!D_(l,0))return Ot;const D=Sl(l,177),C=Sl(l,178),A=ur(Sl(l,172),ef);let w=D&&Qn(D)&&qp(D)||Qm(D)||Qm(C)||Qm(A)||D&&D.body&&HEe(D)||A&&A.initializer&&N(A,!0);w||(C&&!Eie(C)?g4(Ae,C,F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Fr(l)):D&&!Eie(D)?g4(Ae,D,F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Fr(l)):A&&!Eie(A)&&g4(Ae,A,F.Member_0_implicitly_has_an_1_type,Fr(l),"any"),w=me),CE()||(i0(D)?pt(D,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fr(l)):i0(C)||i0(A)?pt(C,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fr(l)):D&&Ae&&pt(D,F._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,Fr(l)),w=me),m.type=w}return m.type}function Dge(l){const m=Ur(l);if(!m.writeType){if(!D_(l,8))return Ot;const D=Sl(l,178)??ur(Sl(l,172),ef);let C=Qm(D);CE()||(i0(D)&&pt(D,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fr(l)),C=me),m.writeType=C||vC(l)}return m.writeType}function fF(l){const m=qc(b4(l));return m.flags&8650752?m:m.flags&2097152?Le(m.types,D=>!!(D.flags&8650752)):void 0}function Ez(l){let m=Ur(l);const D=m;if(!m.type){const C=l.valueDeclaration&&jEe(l.valueDeclaration,!1);if(C){const A=nze(l,C);A&&(l=A,m=A.links)}D.type=m.type=BNe(l)}return m.type}function BNe(l){const m=l.valueDeclaration;if(l.flags&1536&&$N(l))return me;if(m&&(m.kind===226||I0(m)&&m.parent.kind===226))return ED(l);if(l.flags&512&&m&&la(m)&&m.commonJsModuleIndicator){const C=_m(l);if(C!==l){if(!D_(l,0))return Ot;const A=Ks(l.exports.get("export=")),w=ED(A,A===C?void 0:C);return CE()?w:Xw(l)}}const D=D4(16,l);if(l.flags&32){const C=fF(l);return C?Ds([D,C]):D}else return fe&&l.flags&16777216?S6(D,!0):D}function xge(l){const m=Ur(l);return m.type||(m.type=udt(l))}function Ete(l){const m=Ur(l);if(!m.type){if(!D_(l,0))return Ot;const D=md(l),C=l.declarations&&E4(rp(l),!0),A=G(C==null?void 0:C.declarations,w=>tc(w)?dt(w):void 0);if(m.type=C!=null&&C.declarations&&u_e(C.declarations)&&l.declarations.length?mz(C):u_e(l.declarations)?ni:A||(O1(D)&111551?Wn(D):Ot),!CE())return Xw(C??l),m.type=Ot}return m.type}function wNe(l){const m=Ur(l);return m.type||(m.type=_a(Wn(m.target),m.mapper))}function vge(l){const m=Ur(l);return m.writeType||(m.writeType=_a(mF(m.target),m.mapper))}function Xw(l){const m=l.valueDeclaration;if(m){if(f1(m))return pt(l.valueDeclaration,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fr(l)),Ot;Ae&&(m.kind!==169||m.initializer)&&pt(l.valueDeclaration,F._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Fr(l))}else if(l.flags&2097152){const D=rp(l);D&&pt(D,F.Circular_definition_of_import_alias_0,Fr(l))}return me}function Cge(l){const m=Ur(l);return m.type||(H.assertIsDefined(m.deferralParent),H.assertIsDefined(m.deferralConstituents),m.type=m.deferralParent.flags&1048576?er(m.deferralConstituents):Ds(m.deferralConstituents)),m.type}function TNe(l){const m=Ur(l);return!m.writeType&&m.deferralWriteConstituents&&(H.assertIsDefined(m.deferralParent),H.assertIsDefined(m.deferralConstituents),m.writeType=m.deferralParent.flags&1048576?er(m.deferralWriteConstituents):Ds(m.deferralWriteConstituents)),m.writeType}function mF(l){const m=Gl(l);return l.flags&4?m&2?m&65536?TNe(l)||Cge(l):l.links.writeType||l.links.type:B6(Wn(l),!!(l.flags&16777216)):l.flags&98304?m&1?vge(l):Dge(l):Wn(l)}function Wn(l){const m=Gl(l);return m&65536?Cge(l):m&1?wNe(l):m&262144?MXt(l):m&8192?qii(l):l.flags&7?au(l):l.flags&9136?Ez(l):l.flags&8?xge(l):l.flags&98304?vC(l):l.flags&2097152?Ete(l):Ot}function E6(l){return B6(Wn(l),!!(l.flags&16777216))}function CC(l,m){return l!==void 0&&m!==void 0&&(Gu(l)&4)!==0&&l.target===m}function eT(l){return Gu(l)&4?l.target:l}function H9(l,m){return D(l);function D(C){if(Gu(C)&7){const A=eT(C);return A===m||Oe(Zc(A),D)}else if(C.flags&2097152)return Oe(C.types,D);return!1}}function Sb(l,m){for(const D of m)l=e0(l,gF(_u(D)));return l}function _z(l,m){for(;;){if(l=l.parent,l&&Xn(l)){const D=Xl(l);if(D===6||D===3){const C=_u(l.left);C&&C.parent&&!Tn(C.parent.valueDeclaration,A=>l===A)&&(l=C.parent.valueDeclaration)}}if(!l)return;switch(l.kind){case 263:case 231:case 264:case 179:case 180:case 173:case 184:case 185:case 324:case 262:case 174:case 218:case 219:case 265:case 352:case 353:case 347:case 345:case 200:case 194:{const C=_z(l,m);if(l.kind===200)return xi(C,gF(_u(l.typeParameter)));if(l.kind===194)return Hi(C,w1t(l));const A=Sb(C,Sx(l)),w=m&&(l.kind===263||l.kind===231||l.kind===264||AE(l))&&b4(_u(l)).thisType;return w?xi(A,w):A}case 348:const D=Tj(l);D&&(l=D.valueDeclaration);break;case 327:{const C=_z(l,m);return l.tags?Sb(C,ju(l.tags,A=>_g(A)?A.typeParameters:void 0)):C}}}}function Bb(l){var m;const D=l.flags&32||l.flags&16?l.valueDeclaration:(m=l.declarations)==null?void 0:m.find(C=>{if(C.kind===264)return!0;if(C.kind!==260)return!1;const A=C.initializer;return!!A&&(A.kind===218||A.kind===219)});return H.assert(!!D,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),_z(D)}function sn(l){if(!l.declarations)return;let m;for(const D of l.declarations)(D.kind===264||D.kind===263||D.kind===231||AE(D)||Sj(D))&&(m=Sb(m,Sx(D)));return m}function Qu(l){return Hi(Bb(l),sn(l))}function Hu(l){const m=go(l,1);if(m.length===1){const D=m[0];if(!D.typeParameters&&D.parameters.length===1&&th(D)){const C=lie(D.parameters[0]);return nt(C)||WPe(C)===me}}return!1}function Or(l){if(go(l,1).length>0)return!0;if(l.flags&8650752){const m=Wh(l);return!!m&&Hu(m)}return!1}function Vr(l){const m=tD(l.symbol);return m&&Qg(m)}function Rs(l,m,D){const C=S(m),A=Qn(D);return ti(go(l,1),w=>(A||C>=b_(w.typeParameters))&&C<=S(w.typeParameters))}function D0(l,m,D){const C=Rs(l,m,D),A=Vt(m,Ar);return Lu(C,w=>Oe(w.typeParameters)?rW(w,A,Qn(D)):w)}function qc(l){if(!l.resolvedBaseConstructorType){const m=tD(l.symbol),D=m&&Qg(m),C=Vr(l);if(!C)return l.resolvedBaseConstructorType=te;if(!D_(l,1))return Ot;const A=ya(C.expression);if(D&&C!==D&&(H.assert(!D.typeArguments),ya(D.expression)),A.flags&2621440&&Ag(A),!CE())return pt(l.symbol.valueDeclaration,F._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Fr(l.symbol)),l.resolvedBaseConstructorType=Ot;if(!(A.flags&1)&&A!==Ct&&!Or(A)){const w=pt(C.expression,F.Type_0_is_not_a_constructor_function_type,gn(A));if(A.flags&262144){const I=vz(A);let U=on;if(I){const Z=go(I,1);Z[0]&&(U=Zs(Z[0]))}A.symbol.declarations&&Es(w,Su(A.symbol.declarations[0],F.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Fr(A.symbol),gn(U)))}return l.resolvedBaseConstructorType=Ot}l.resolvedBaseConstructorType=A}return l.resolvedBaseConstructorType}function _D(l){let m=_t;if(l.symbol.declarations)for(const D of l.symbol.declarations){const C=iB(D);if(C)for(const A of C){const w=Ar(A);Nt(w)||(m===_t?m=[w]:m.push(w))}}return m}function v_(l,m){pt(l,F.Type_0_recursively_references_itself_as_a_base_type,gn(m,void 0,2))}function Zc(l){if(!l.baseTypesResolved){if(D_(l,7)&&(l.objectFlags&8?l.resolvedBaseTypes=[z5(l)]:l.symbol.flags&96?(l.symbol.flags&32&&QK(l),l.symbol.flags&64&&dXt(l)):H.fail("type must be class or interface"),!CE()&&l.symbol.declarations))for(const m of l.symbol.declarations)(m.kind===263||m.kind===264)&&v_(m,l);l.baseTypesResolved=!0}return l.resolvedBaseTypes}function z5(l){const m=Lu(l.typeParameters,(D,C)=>l.elementFlags[C]&8?qf(D,Qt):D);return V1(er(m||_t),l.readonly)}function QK(l){l.resolvedBaseTypes=_Z;const m=Gh(qc(l));if(!(m.flags&2621441))return l.resolvedBaseTypes=_t;const D=Vr(l);let C;const A=m.symbol?X0(m.symbol):void 0;if(m.symbol&&m.symbol.flags&32&&tT(A))C=jdt(D,m.symbol);else if(m.flags&1)C=m;else{const I=D0(m,D.typeArguments,D);if(!I.length)return pt(D.expression,F.No_base_constructor_has_the_specified_number_of_type_arguments),l.resolvedBaseTypes=_t;C=Zs(I[0])}if(Nt(C))return l.resolvedBaseTypes=_t;const w=Sg(C);if(!pF(w)){const I=$Ne(void 0,C),U=ro(I,F.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,gn(w));return Vs.add(Y3(zn(D.expression),D.expression,U)),l.resolvedBaseTypes=_t}return l===w||H9(w,l)?(pt(l.symbol.valueDeclaration,F.Type_0_recursively_references_itself_as_a_base_type,gn(l,void 0,2)),l.resolvedBaseTypes=_t):(l.resolvedBaseTypes===_Z&&(l.members=void 0),l.resolvedBaseTypes=[w])}function tT(l){const m=l.outerTypeParameters;if(m){const D=m.length-1,C=O0(l);return m[D].symbol!==C[D].symbol}return!0}function pF(l){if(l.flags&262144){const m=Wh(l);if(m)return pF(m)}return!!(l.flags&67633153&&!Xm(l)||l.flags&2097152&&ye(l.types,pF))}function dXt(l){if(l.resolvedBaseTypes=l.resolvedBaseTypes||_t,l.symbol.declarations){for(const m of l.symbol.declarations)if(m.kind===264&&rP(m))for(const D of rP(m)){const C=Sg(Ar(D));Nt(C)||(pF(C)?l!==C&&!H9(C,l)?l.resolvedBaseTypes===_t?l.resolvedBaseTypes=[C]:l.resolvedBaseTypes.push(C):v_(m,l):pt(D,F.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}function hXt(l){if(!l.declarations)return!0;for(const m of l.declarations)if(m.kind===264){if(m.flags&256)return!1;const D=rP(m);if(D){for(const C of D)if(ec(C.expression)){const A=R0(C.expression,788968,!0);if(!A||!(A.flags&64)||b4(A).thisType)return!1}}}return!0}function b4(l){let m=Ur(l);const D=m;if(!m.declaredType){const C=l.flags&32?1:2,A=nze(l,l.valueDeclaration&&qri(l.valueDeclaration));A&&(l=A,m=A.links);const w=D.declaredType=m.declaredType=D4(C,l),I=Bb(l),U=sn(l);(I||U||C===1||!hXt(l))&&(w.objectFlags|=4,w.typeParameters=Hi(I,U),w.outerTypeParameters=I,w.localTypeParameters=U,w.instantiations=new Map,w.instantiations.set(hp(w.typeParameters),w),w.target=w,w.resolvedTypeArguments=w.typeParameters,w.thisType=j1(l),w.thisType.isThisType=!0,w.thisType.constraint=w)}return m.declaredType}function tdt(l){var m;const D=Ur(l);if(!D.declaredType){if(!D_(l,2))return Ot;const C=H.checkDefined((m=l.declarations)==null?void 0:m.find(Sj),"Type alias symbol with no valid declaration found"),A=G4(C)?C.typeExpression:C.type;let w=A?Ar(A):Ot;if(CE()){const I=sn(l);I&&(D.typeParameters=I,D.instantiations=new Map,D.instantiations.set(hp(I),w))}else w=Ot,C.kind===347?pt(C.typeExpression.type,F.Type_alias_0_circularly_references_itself,Fr(l)):pt(mh(C)&&C.name||C,F.Type_alias_0_circularly_references_itself,Fr(l));D.declaredType=w}return D.declaredType}function bge(l){return l.flags&1056&&l.symbol.flags&8?X0(cf(l.symbol)):l}function idt(l){const m=Ur(l);if(!m.declaredType){const D=[];if(l.declarations){for(const A of l.declarations)if(A.kind===266){for(const w of A.members)if(iT(w)){const I=_u(w),U=jW(w),Z=Z9(U!==void 0?wti(U,Zo(l),I):ndt(I));Ur(I).declaredType=Z,D.push(Jh(Z))}}}const C=D.length?er(D,1,l,void 0):ndt(l);C.flags&1048576&&(C.flags|=1024,C.symbol=l),m.declaredType=C}return m.declaredType}function ndt(l){const m=N5(32,l),D=N5(32,l);return m.regularType=m,m.freshType=D,D.regularType=m,D.freshType=D,m}function udt(l){const m=Ur(l);if(!m.declaredType){const D=idt(cf(l));m.declaredType||(m.declaredType=D)}return m.declaredType}function gF(l){const m=Ur(l);return m.declaredType||(m.declaredType=j1(l))}function fXt(l){const m=Ur(l);return m.declaredType||(m.declaredType=X0(md(l)))}function X0(l){return rdt(l)||Ot}function rdt(l){if(l.flags&96)return b4(l);if(l.flags&524288)return tdt(l);if(l.flags&262144)return gF(l);if(l.flags&384)return idt(l);if(l.flags&8)return udt(l);if(l.flags&2097152)return fXt(l)}function _te(l){switch(l.kind){case 133:case 159:case 154:case 150:case 163:case 136:case 155:case 151:case 116:case 157:case 146:case 201:return!0;case 188:return _te(l.elementType);case 183:return!l.typeArguments||l.typeArguments.every(_te)}return!1}function mXt(l){const m=w8(l);return!m||_te(m)}function adt(l){const m=f1(l);return m?_te(m):!Nx(l)}function pXt(l){const m=U4(l),D=Sx(l);return(l.kind===176||!!m&&_te(m))&&l.parameters.every(adt)&&D.every(mXt)}function gXt(l){if(l.declarations&&l.declarations.length===1){const m=l.declarations[0];if(m)switch(m.kind){case 172:case 171:return adt(m);case 174:case 173:case 176:case 177:case 178:return pXt(m)}}return!1}function odt(l,m,D){const C=Vo();for(const A of l)C.set(A.escapedName,D&&gXt(A)?A:wPe(A,m));return C}function sdt(l,m){for(const D of m){if(ldt(D))continue;const C=l.get(D.escapedName);(!C||C.valueDeclaration&&Xn(C.valueDeclaration)&&!fz(C)&&!Qbe(C.valueDeclaration))&&(l.set(D.escapedName,D),l.set(D.escapedName,D))}}function ldt(l){return!!l.valueDeclaration&&ph(l.valueDeclaration)&&No(l.valueDeclaration)}function LNe(l){if(!l.declaredProperties){const m=l.symbol,D=_6(m);l.declaredProperties=Ab(D),l.declaredCallSignatures=_t,l.declaredConstructSignatures=_t,l.declaredIndexInfos=_t,l.declaredCallSignatures=wb(D.get("__call")),l.declaredConstructSignatures=wb(D.get("__new")),l.declaredIndexInfos=zdt(m)}return l}function NNe(l){if(!Ps(l)&&!U0(l))return!1;const m=Ps(l)?l.expression:l.argumentExpression;return ec(m)&&Y4(Ps(l)?F3(l):Rc(m))}function XK(l){return l.charCodeAt(0)===95&&l.charCodeAt(1)===95&&l.charCodeAt(2)===64}function Dte(l){const m=Za(l);return!!m&&NNe(m)}function iT(l){return!Ix(l)||Dte(l)}function EXt(l){return Lq(l)&&!NNe(l)}function _Xt(l,m,D){H.assert(!!(Gl(l)&4096),"Expected a late-bound symbol."),l.flags|=D,Ur(m.symbol).lateSymbol=l,l.declarations?m.symbol.isReplaceableByMethod||l.declarations.push(m):l.declarations=[m],D&111551&&(!l.valueDeclaration||l.valueDeclaration.kind!==m.kind)&&(l.valueDeclaration=m)}function cdt(l,m,D,C){H.assert(!!C.symbol,"The member is expected to have a symbol.");const A=ar(C);if(!A.resolvedSymbol){A.resolvedSymbol=C.symbol;const w=Xn(C)?C.left:C.name,I=U0(w)?Rc(w.argumentExpression):F3(w);if(Y4(I)){const U=Q4(I),Z=C.symbol.flags;let ce=D.get(U);ce||D.set(U,ce=Hs(0,U,4096));const Fe=m&&m.get(U);if(!(l.flags&32)&&(ce.flags&eF(Z)||Fe)){const Te=Fe?Hi(Fe.declarations,ce.declarations):ce.declarations,$e=!(I.flags&8192)&&Qr(U)||b0(w);L(Te,ut=>pt(Za(ut)||ut,F.Property_0_was_also_declared_here,$e)),pt(w||C,F.Duplicate_property_0,$e),ce=Hs(0,U,4096)}return ce.links.nameType=I,_Xt(ce,C,Z),ce.parent?H.assert(ce.parent===l,"Existing symbol parent should match new one"):ce.parent=l,A.resolvedSymbol=ce}}return A.resolvedSymbol}function PNe(l,m){var D,C,A;const w=Ur(l);if(!w[m]){const I=m==="resolvedExports",U=I?l.flags&1536?R9(l).exports:l.exports:l.members;w[m]=U||se;const Z=Vo();for(const Te of l.declarations||_t){const $e=Wbe(Te);if($e)for(const ut of $e)I===Kc(ut)&&Dte(ut)&&cdt(l,U,Z,ut)}const ce=(((D=l.valueDeclaration)==null?void 0:D.kind)===219||((C=l.valueDeclaration)==null?void 0:C.kind)===218)&&((A=Dm(l.valueDeclaration.parent))==null?void 0:A.assignmentDeclarationMembers)||l.assignmentDeclarationMembers;if(ce){const Te=ga(ce.values());for(const $e of Te){const ut=Xl($e),zt=ut===3||Xn($e)&&kEe($e,ut)||ut===9||ut===6;I===!zt&&Dte($e)&&cdt(l,U,Z,$e)}}let Fe=tF(U,Z);if(l.flags&33554432&&w.cjsExportMerged&&l.declarations)for(const Te of l.declarations){const $e=Ur(Te.symbol)[m];if(!Fe){Fe=$e;continue}$e&&$e.forEach((ut,zt)=>{const gi=Fe.get(zt);if(!gi)Fe.set(zt,ut);else{if(gi===ut)return;Fe.set(zt,up(gi,ut))}})}w[m]=Fe||se}return w[m]}function _6(l){return l.flags&6256?PNe(l,"resolvedMembers"):l.members||se}function yge(l){if(l.flags&106500&&l.escapedName==="__computed"){const m=Ur(l);if(!m.lateSymbol&&Oe(l.declarations,Dte)){const D=Ks(l.parent);Oe(l.declarations,Kc)?$f(D):_6(D)}return m.lateSymbol||(m.lateSymbol=l)}return l}function xm(l,m,D){if(Gu(l)&4){const C=l.target,A=O0(l);return S(C.typeParameters)===S(A)?R5(C,Hi(A,[m||C.thisType])):l}else if(l.flags&2097152){const C=Lu(l.types,A=>xm(A,m,D));return C!==l.types?Ds(C):l}return D?Gh(l):l}function ddt(l,m,D,C){let A,w,I,U,Z;zi(D,C,0,D.length)?(w=m.symbol?_6(m.symbol):Vo(m.declaredProperties),I=m.declaredCallSignatures,U=m.declaredConstructSignatures,Z=m.declaredIndexInfos):(A=Sf(D,C),w=odt(m.declaredProperties,A,D.length===1),I=Kge(m.declaredCallSignatures,A),U=Kge(m.declaredConstructSignatures,A),Z=z1t(m.declaredIndexInfos,A));const ce=Zc(m);if(ce.length){if(m.symbol&&w===_6(m.symbol)){const Te=Vo();for(const $e of w.values())$e.flags&262144||Te.set($e.escapedName,$e);w=Te}x4(l,w,I,U,Z);const Fe=qu(C);for(const Te of ce){const $e=Fe?xm(_a(Te,A),Fe):Te;sdt(w,n0($e)),I=Hi(I,go($e,0)),U=Hi(U,go($e,1));const ut=$e!==me?kh($e):[y_(ct,me,!1)];Z=Hi(Z,ti(ut,zt=>!UNe(Z,zt.keyType)))}}x4(l,w,I,U,Z)}function DXt(l){ddt(l,LNe(l),_t,_t)}function xXt(l){const m=LNe(l.target),D=Hi(m.typeParameters,[m.thisType]),C=O0(l),A=C.length===D.length?C:Hi(C,[l]);ddt(l,m,D,A)}function y3(l,m,D,C,A,w,I,U){const Z=new B(Pi,U);return Z.declaration=l,Z.typeParameters=m,Z.parameters=C,Z.thisParameter=D,Z.resolvedReturnType=A,Z.resolvedTypePredicate=w,Z.minArgumentCount=I,Z.resolvedMinArgumentCount=void 0,Z.target=void 0,Z.mapper=void 0,Z.compositeSignatures=void 0,Z.compositeKind=void 0,Z}function eW(l){const m=y3(l.declaration,l.typeParameters,l.thisParameter,l.parameters,void 0,void 0,l.minArgumentCount,l.flags&167);return m.target=l.target,m.mapper=l.mapper,m.compositeSignatures=l.compositeSignatures,m.compositeKind=l.compositeKind,m}function hdt(l,m){const D=eW(l);return D.compositeSignatures=m,D.compositeKind=1048576,D.target=void 0,D.mapper=void 0,D}function vXt(l,m){if((l.flags&24)===m)return l;l.optionalCallSignatureCache||(l.optionalCallSignatureCache={});const D=m===8?"inner":"outer";return l.optionalCallSignatureCache[D]||(l.optionalCallSignatureCache[D]=CXt(l,m))}function CXt(l,m){H.assert(m===8||m===16,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");const D=eW(l);return D.flags|=m,D}function fdt(l,m){if(th(l)){const A=l.parameters.length-1,w=l.parameters[A].escapedName,I=Wn(l.parameters[A]);if(xs(I))return[D(I,A,w)];if(!m&&I.flags&1048576&&ye(I.types,xs))return Vt(I.types,U=>D(U,A,w))}return[l.parameters];function D(A,w,I){const U=O0(A),Z=C(A,I),ce=Vt(U,(Fe,Te)=>{const $e=Z&&Z[Te]?Z[Te]:Iz(l,w+Te,A),ut=A.target.elementFlags[Te],zt=ut&12?32768:ut&2?16384:0,gi=Hs(1,$e,zt);return gi.links.type=ut&4?V1(Fe):Fe,gi});return Hi(l.parameters.slice(0,w),ce)}function C(A,w){const I=new Map;return Vt(A.target.labeledElementDeclarations,(U,Z)=>{const ce=sze(U,Z,w),Fe=I.get(ce);return Fe===void 0?(I.set(ce,1),ce):(I.set(ce,Fe+1),`${ce}_${Fe}`)})}}function bXt(l){const m=qc(l),D=go(m,1),C=tD(l.symbol),A=!!C&&Yu(C,64);if(D.length===0)return[y3(void 0,l.localTypeParameters,void 0,_t,l,void 0,0,A?4:0)];const w=Vr(l),I=Qn(w),U=kte(w),Z=S(U),ce=[];for(const Fe of D){const Te=b_(Fe.typeParameters),$e=S(Fe.typeParameters);if(I||Z>=Te&&Z<=$e){const ut=$e?Age(Fe,x6(U,Fe.typeParameters,Te,I)):eW(Fe);ut.typeParameters=l.localTypeParameters,ut.resolvedReturnType=l,ut.flags=A?ut.flags|4:ut.flags&-5,ce.push(ut)}}return ce}function MNe(l,m,D,C,A){for(const w of l)if(Rte(w,m,D,C,A,D?qti:hW))return w}function yXt(l,m,D){if(m.typeParameters){if(D>0)return;for(let A=1;A1&&(D=D===void 0?C:-1);for(const A of l[C])if(!m||!MNe(m,A,!1,!1,!0)){const w=yXt(l,A,C);if(w){let I=A;if(w.length>1){let U=A.thisParameter;const Z=L(w,ce=>ce.thisParameter);if(Z){const ce=Ds(qi(w,Fe=>Fe.thisParameter&&Wn(Fe.thisParameter)));U=CF(Z,ce)}I=hdt(A,w),I.thisParameter=U}(m||(m=[])).push(I)}}}if(!S(m)&&D!==-1){const C=l[D!==void 0?D:0];let A=C.slice();for(const w of l)if(w!==C){const I=w[0];if(H.assert(!!I,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),A=I.typeParameters&&Oe(A,U=>!!U.typeParameters&&!mdt(I.typeParameters,U.typeParameters))?void 0:Vt(A,U=>AXt(U,I)),!A)break}m=A}return m||_t}function mdt(l,m){if(S(l)!==S(m))return!1;if(!l||!m)return!0;const D=Sf(m,l);for(let C=0;C=A?l:m,I=w===l?m:l,U=w===l?C:A,Z=F_(l)||F_(m),ce=Z&&!F_(w),Fe=new Array(U+(ce?1:0));for(let Te=0;Te=SE(w)&&Te>=SE(I),dn=Te>=C?void 0:Iz(l,Te),nu=Te>=A?void 0:Iz(m,Te),En=dn===nu?dn:dn?nu?void 0:dn:nu,Ii=Hs(1|(Wi&&!gi?16777216:0),En||`arg${Te}`,gi?32768:Wi?16384:0);Ii.links.type=gi?V1(zt):zt,Fe[Te]=Ii}if(ce){const Te=Hs(1,"args",32768);Te.links.type=V1(Lg(I,U)),I===m&&(Te.links.type=_a(Te.links.type,D)),Fe[U]=Te}return Fe}function AXt(l,m){const D=l.typeParameters||m.typeParameters;let C;l.typeParameters&&m.typeParameters&&(C=Sf(m.typeParameters,l.typeParameters));const A=l.declaration,w=FXt(l,m,C),I=kXt(l.thisParameter,m.thisParameter,C),U=Math.max(l.minArgumentCount,m.minArgumentCount),Z=y3(A,D,I,w,void 0,void 0,U,(l.flags|m.flags)&167);return Z.compositeKind=1048576,Z.compositeSignatures=Hi(l.compositeKind!==2097152&&l.compositeSignatures||[l],[m]),C&&(Z.mapper=l.compositeKind!==2097152&&l.mapper&&l.compositeSignatures?wC(l.mapper,C):C),Z}function pdt(l){const m=kh(l[0]);if(m){const D=[];for(const C of m){const A=C.keyType;ye(l,w=>!!k3(w,A))&&D.push(y_(A,er(Vt(l,w=>yC(w,A))),Oe(l,w=>k3(w,A).isReadonly)))}return D}return _t}function SXt(l){const m=zNe(Vt(l.types,A=>A===di?[fn]:go(A,0))),D=zNe(Vt(l.types,A=>go(A,1))),C=pdt(l.types);x4(l,se,m,D,C)}function xte(l,m){return l?m?Ds([l,m]):l:m}function gdt(l){const m=ui(l,C=>go(C,1).length>0),D=Vt(l,Hu);if(m>0&&m===ui(D,C=>C)){const C=D.indexOf(!0);D[C]=!1}return D}function BXt(l,m,D,C){const A=[];for(let w=0;wU);for(let U=0;U0&&(ce=Vt(ce,Fe=>{const Te=eW(Fe);return Te.resolvedReturnType=BXt(Zs(Fe),A,w,U),Te})),D=Edt(D,ce)}m=Edt(m,go(Z,0)),C=nn(kh(Z),(ce,Fe)=>_dt(ce,Fe,!1),C)}x4(l,se,m||_t,D||_t,C||_t)}function Edt(l,m){for(const D of m)(!l||ye(l,C=>!Rte(C,D,!1,!1,!1,hW)))&&(l=xi(l,D));return l}function _dt(l,m,D){if(l)for(let C=0;C{var Z;!(U.flags&418)&&!(U.flags&512&&((Z=U.declarations)!=null&&Z.length)&&ye(U.declarations,N1))&&I.set(U.escapedName,U)}),D=I}let A;if(x4(l,D,_t,_t,_t),m.flags&32){const I=b4(m),U=qc(I);U.flags&11272192?(D=Vo(Jw(D)),sdt(D,n0(U))):U===me&&(A=y_(ct,me,!1))}const w=Sge(D);if(w?C=tPe(w):(A&&(C=xi(C,A)),m.flags&384&&(X0(m).flags&32||Oe(l.properties,I=>!!(Wn(I).flags&296)))&&(C=xi(C,Tu))),x4(l,D,_t,_t,C||_t),m.flags&8208&&(l.callSignatures=wb(m)),m.flags&32){const I=b4(m);let U=m.members?wb(m.members.get("__constructor")):_t;m.flags&16&&(U=yn(U.slice(),qi(l.callSignatures,Z=>AE(Z.declaration)?y3(Z.declaration,Z.typeParameters,Z.thisParameter,Z.parameters,I,void 0,Z.minArgumentCount,Z.flags&167):void 0))),U.length||(U=bXt(I)),l.constructSignatures=U}}function LXt(l,m,D){return _a(l,Sf([m.indexType,m.objectType],[wg(0),Bg([D])]))}function NXt(l){const m=k3(l.source,ct),D=C_(l.mappedType),C=!(D&1),A=D&4?0:16777216,w=m?[y_(ct,mEe(m.type,l.mappedType,l.constraintType),C&&m.isReadonly)]:_t,I=Vo();for(const U of n0(l.source)){const Z=8192|(C&&Ng(U)?8:0),ce=Hs(4|U.flags&A,U.escapedName,Z);if(ce.declarations=U.declarations,ce.links.nameType=Ur(U).nameType,ce.links.propertyType=Wn(U),l.constraintType.type.flags&8388608&&l.constraintType.type.objectType.flags&262144&&l.constraintType.type.indexType.flags&262144){const Fe=l.constraintType.type.objectType,Te=LXt(l.mappedType,l.constraintType.type,Fe);ce.links.mappedType=Te,ce.links.constraintType=k_(Fe)}else ce.links.mappedType=l.mappedType,ce.links.constraintType=l.constraintType;I.set(U.escapedName,ce)}x4(l,I,_t,_t,w)}function vte(l){if(l.flags&4194304){const m=Gh(l.type);return K5(m)?s1t(m):k_(m)}if(l.flags&16777216){if(l.root.isDistributive){const m=l.checkType,D=vte(m);if(D!==m)return NPe(l,Y9(l.root.checkType,D,l.mapper))}return l}if(l.flags&1048576)return hl(l,vte,!0);if(l.flags&2097152){const m=l.types;return m.length===2&&m[0].flags&76&&m[1]===Lc?l:Ds(Lu(l.types,vte))}return l}function INe(l){return Gl(l)&4096}function RNe(l,m,D,C){for(const A of n0(l))C(yz(A,m));if(l.flags&1)C(ct);else for(const A of kh(l))(!D||A.keyType.flags&134217732)&&C(A.keyType)}function PXt(l){const m=Vo();let D;x4(l,se,_t,_t,_t);const C=Fg(l),A=cp(l),w=l.target||l,I=I5(w),U=!I||vdt(w),Z=DD(w),ce=Gh(K9(l)),Fe=C_(l),Te=Je?128:8576;tW(l)?RNe(ce,Te,Je,$e):FF(vte(A),$e),x4(l,m,_t,_t,D||_t);function $e(zt){const gi=I?_a(I,dW(l.mapper,C,zt)):zt;FF(gi,Wi=>ut(zt,Wi))}function ut(zt,gi){if(Y4(gi)){const Wi=Q4(gi),dn=m.get(Wi);if(dn)dn.links.nameType=er([dn.links.nameType,gi]),dn.links.keyType=er([dn.links.keyType,zt]);else{const nu=Y4(zt)?qo(ce,Q4(zt)):void 0,En=!!(Fe&4||!(Fe&8)&&nu&&nu.flags&16777216),Ii=!!(Fe&1||!(Fe&2)&&nu&&Ng(nu)),Nn=fe&&!En&&nu&&nu.flags&16777216,vn=nu?INe(nu):0,An=Hs(4|(En?16777216:0),Wi,vn|262144|(Ii?8:0)|(Nn?524288:0));An.links.mappedType=l,An.links.nameType=gi,An.links.keyType=zt,nu&&(An.links.syntheticOrigin=nu,An.declarations=U?nu.declarations:void 0),m.set(Wi,An)}}else if(Bge(gi)||gi.flags&33){const Wi=gi.flags&5?ct:gi.flags&40?Qt:gi,dn=_a(Z,dW(l.mapper,C,zt)),nu=nW(ce,gi),En=!!(Fe&1||!(Fe&2)&&(nu!=null&&nu.isReadonly)),Ii=y_(Wi,dn,En);D=_dt(D,Ii,!0)}}}function MXt(l){if(!l.links.type){const m=l.links.mappedType;if(!D_(l,0))return m.containsError=!0,Ot;const D=DD(m.target||m),C=dW(m.mapper,Fg(m),l.links.keyType),A=_a(D,C);let w=fe&&l.flags&16777216&&!jl(A,49152)?S6(A,!0):l.links.checkFlags&524288?lEe(A):A;CE()||(pt(K,F.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Fr(l),gn(m)),w=Ot),l.links.type=w}return l.links.type}function Fg(l){return l.typeParameter||(l.typeParameter=gF(_u(l.declaration.typeParameter)))}function cp(l){return l.constraintType||(l.constraintType=rh(Fg(l))||Ot)}function I5(l){return l.declaration.nameType?l.nameType||(l.nameType=_a(Ar(l.declaration.nameType),l.mapper)):void 0}function DD(l){return l.templateType||(l.templateType=l.declaration.type?_a(Vd(Ar(l.declaration.type),!0,!!(C_(l)&4)),l.mapper):Ot)}function Ddt(l){return w8(l.declaration.typeParameter)}function tW(l){const m=Ddt(l);return m.kind===198&&m.operator===143}function K9(l){if(!l.modifiersType)if(tW(l))l.modifiersType=_a(Ar(Ddt(l).type),l.mapper);else{const m=bPe(l.declaration),D=cp(m),C=D&&D.flags&262144?rh(D):D;l.modifiersType=C&&C.flags&4194304?_a(C.type,l.mapper):on}return l.modifiersType}function C_(l){const m=l.declaration;return(m.readonlyToken?m.readonlyToken.kind===41?2:1:0)|(m.questionToken?m.questionToken.kind===41?8:4:0)}function xdt(l){const m=C_(l);return m&8?-1:m&4?1:0}function ONe(l){const m=xdt(l),D=K9(l);return m||(Xm(D)?xdt(D):0)}function zXt(l){return!!(Gu(l)&32&&C_(l)&4)}function Xm(l){if(Gu(l)&32){const m=cp(l);if(AC(m))return!0;const D=I5(l);if(D&&AC(_a(D,Mb(Fg(l),m))))return!0}return!1}function vdt(l){const m=I5(l);return!!m&&ms(m,Fg(l))}function Ag(l){return l.members||(l.flags&524288?l.objectFlags&4?xXt(l):l.objectFlags&3?DXt(l):l.objectFlags&1024?NXt(l):l.objectFlags&16?TXt(l):l.objectFlags&32?PXt(l):H.fail("Unhandled object type "+H.formatObjectFlags(l.objectFlags)):l.flags&1048576?SXt(l):l.flags&2097152?wXt(l):H.fail("Unhandled type "+H.formatTypeFlags(l.flags))),l}function D6(l){return l.flags&524288?Ag(l).properties:_t}function bC(l,m){if(l.flags&524288){const C=Ag(l).members.get(m);if(C&&l6(C))return C}}function Cte(l){if(!l.resolvedProperties){const m=Vo();for(const D of l.types){for(const C of n0(D))if(!m.has(C.escapedName)){const A=GNe(l,C.escapedName);A&&m.set(C.escapedName,A)}if(l.flags&1048576&&kh(D).length===0)break}l.resolvedProperties=Ab(m)}return l.resolvedProperties}function n0(l){return l=Dz(l),l.flags&3145728?Cte(l):D6(l)}function IXt(l,m){l=Dz(l),l.flags&3670016&&Ag(l).members.forEach((D,C)=>{sF(D,C)&&m(D,C)})}function RXt(l,m){return m.properties.some(C=>{const A=C.name&&(gg(C.name)?df(sV(C.name)):j5(C.name)),w=A&&Y4(A)?Q4(A):void 0,I=w===void 0?void 0:he(l,w);return!!I&&pW(I)&&!ms(tS(C),I)})}function OXt(l){const m=er(l);if(!(m.flags&1048576))return Gze(m);const D=Vo();for(const C of l)for(const{escapedName:A}of Gze(C))if(!D.has(A)){const w=Fdt(m,A);w&&D.set(A,w)}return ga(D.values())}function EF(l){return l.flags&262144?rh(l):l.flags&8388608?jXt(l):l.flags&16777216?ydt(l):Wh(l)}function rh(l){return iW(l)?vz(l):void 0}function W9(l,m=0){var D;return m<5&&!!(l&&(l.flags&262144&&Oe((D=l.symbol)==null?void 0:D.declarations,C=>Yu(C,4096))||l.flags&3145728&&Oe(l.types,C=>W9(C,m))||l.flags&8388608&&W9(l.objectType,m+1)||l.flags&16777216&&W9(ydt(l),m+1)||l.flags&33554432&&W9(l.baseType,m)||K5(l)&&Ue(FC(l),(C,A)=>!!(l.target.elementFlags[A]&8)&&W9(C,m))>=0))}function jXt(l){return iW(l)?VXt(l):void 0}function jNe(l){const m=vD(l,!1);return m!==l?m:EF(l)}function VXt(l){if(WNe(l)||Xm(l.objectType))return Ige(l.objectType,l.indexType);const m=jNe(l.indexType);if(m&&m!==l.indexType){const C=b6(l.objectType,m,l.accessFlags);if(C)return C}const D=jNe(l.objectType);if(D&&D!==l.objectType)return b6(D,l.indexType,l.accessFlags)}function VNe(l){if(!l.resolvedDefaultConstraint){const m=yti(l),D=BC(l);l.resolvedDefaultConstraint=nt(m)?D:nt(D)?m:er([m,D])}return l.resolvedDefaultConstraint}function Cdt(l){if(l.resolvedConstraintOfDistributive!==void 0)return l.resolvedConstraintOfDistributive||void 0;if(l.root.isDistributive&&l.restrictiveInstantiation!==l){const m=vD(l.checkType,!1),D=m===l.checkType?EF(m):m;if(D&&D!==l.checkType){const C=NPe(l,Y9(l.root.checkType,D,l.mapper));if(!(C.flags&131072))return l.resolvedConstraintOfDistributive=C,C}}l.resolvedConstraintOfDistributive=!1}function bdt(l){return Cdt(l)||VNe(l)}function ydt(l){return iW(l)?bdt(l):void 0}function HXt(l,m){let D,C=!1;for(const A of l)if(A.flags&465829888){let w=EF(A);for(;w&&w.flags&21233664;)w=EF(w);w&&(D=xi(D,w),m&&(D=xi(D,A)))}else(A.flags&469892092||yD(A))&&(C=!0);if(D&&(m||C)){if(C)for(const A of l)(A.flags&469892092||yD(A))&&(D=xi(D,A));return Mte(Ds(D),!1)}}function Wh(l){if(l.flags&464781312||K5(l)){const m=HNe(l);return m!==dl&&m!==Uc?m:void 0}return l.flags&4194304?vc:void 0}function xD(l){return Wh(l)||l}function iW(l){return HNe(l)!==Uc}function HNe(l){if(l.resolvedBaseConstraint)return l.resolvedBaseConstraint;const m=[];return l.resolvedBaseConstraint=D(l);function D(w){if(!w.immediateBaseConstraint){if(!D_(w,4))return Uc;let I;const U=iEe(w);if((m.length<10||m.length<50&&!kt(m,U))&&(m.push(U),I=A(vD(w,!1)),m.pop()),!CE()){if(w.flags&262144){const Z=iPe(w);if(Z){const ce=pt(Z,F.Type_parameter_0_has_a_circular_constraint,gn(w));K&&!S2(Z,K)&&!S2(K,Z)&&Es(ce,Su(K,F.Circularity_originates_in_type_at_this_location))}}I=Uc}w.immediateBaseConstraint=I||dl}return w.immediateBaseConstraint}function C(w){const I=D(w);return I!==dl&&I!==Uc?I:void 0}function A(w){if(w.flags&262144){const I=vz(w);return w.isThisType||!I?I:C(I)}if(w.flags&3145728){const I=w.types,U=[];let Z=!1;for(const ce of I){const Fe=C(ce);Fe?(Fe!==ce&&(Z=!0),U.push(Fe)):Z=!0}return Z?w.flags&1048576&&U.length===I.length?er(U):w.flags&2097152&&U.length?Ds(U):void 0:w}if(w.flags&4194304)return vc;if(w.flags&134217728){const I=w.types,U=qi(I,C);return U.length===I.length?xF(w.texts,U):ct}if(w.flags&268435456){const I=C(w.type);return I&&I!==w.type?$9(w.symbol,I):ct}if(w.flags&8388608){if(WNe(w))return C(Ige(w.objectType,w.indexType));const I=C(w.objectType),U=C(w.indexType),Z=I&&U&&b6(I,U,w.accessFlags);return Z&&C(Z)}if(w.flags&16777216){const I=bdt(w);return I&&C(I)}if(w.flags&33554432)return C(rPe(w));if(K5(w)){const I=Vt(FC(w),(U,Z)=>{const ce=U.flags&262144&&w.target.elementFlags[Z]&8&&C(U)||U;return ce!==U&&e4(ce,Fe=>zb(Fe)&&!K5(Fe))?ce:U});return Bg(I,w.target.elementFlags,w.target.readonly,w.target.labeledElementDeclarations)}return w}}function KXt(l,m){return l.resolvedApparentType||(l.resolvedApparentType=xm(l,m,!0))}function KNe(l){if(l.default)l.default===Ch&&(l.default=Uc);else if(l.target){const m=KNe(l.target);l.default=m?_a(m,l.mapper):dl}else{l.default=Ch;const m=l.symbol&&L(l.symbol.declarations,C=>Bl(C)&&C.default),D=m?Ar(m):dl;l.default===Ch&&(l.default=D)}return l.default}function _F(l){const m=KNe(l);return m!==dl&&m!==Uc?m:void 0}function WXt(l){return KNe(l)!==Uc}function kdt(l){return!!(l.symbol&&L(l.symbol.declarations,m=>Bl(m)&&m.default))}function GXt(l){return l.resolvedApparentType||(l.resolvedApparentType=JXt(l))}function JXt(l){const m=Jge(l);if(m&&!l.declaration.nameType){const D=rh(m);if(D&&e4(D,zb))return _a(l,Y9(m,D,l.mapper))}return l}function WNe(l){let m;return!!(l.flags&8388608&&Gu(m=l.objectType)&32&&!Xm(m)&&AC(l.indexType)&&!(C_(m)&8)&&!m.declaration.nameType)}function Gh(l){const m=l.flags&465829888?Wh(l)||on:l,D=Gu(m);return D&32?GXt(m):D&4&&m!==l?xm(m,l):m.flags&2097152?KXt(m,l):m.flags&402653316?nc:m.flags&296?fc:m.flags&2112?Bei():m.flags&528?Cl:m.flags&12288?Xdt():m.flags&67108864?Ko:m.flags&4194304?vc:m.flags&2&&!fe?Ko:m}function Dz(l){return Sg(Gh(Sg(l)))}function Fdt(l,m,D){var C,A,w;let I,U,Z;const ce=l.flags&1048576;let Fe,Te=4,$e=ce?0:8,ut=!1;for(const An of l.types){const _n=Gh(An);if(!(Nt(_n)||_n.flags&131072)){const hu=qo(_n,m,D),oo=hu?l4(hu):0;if(hu){if(hu.flags&106500&&(Fe??(Fe=ce?0:16777216),ce?Fe|=hu.flags&16777216:Fe&=hu.flags),!I)I=hu;else if(hu!==I)if((_T(hu)||hu)===(_T(I)||I)&&KPe(I,hu,(fo,ka)=>fo===ka?-1:0)===-1)ut=!!I.parent&&!!S(sn(I.parent));else{U||(U=new Map,U.set(Zo(I),I));const fo=Zo(hu);U.has(fo)||U.set(fo,hu)}ce&&Ng(hu)?$e|=8:!ce&&!Ng(hu)&&($e&=-9),$e|=(oo&6?0:256)|(oo&4?512:0)|(oo&2?1024:0)|(oo&256?2048:0),jMe(hu)||(Te=2)}else if(ce){const Eo=!XK(m)&&G9(_n,m);Eo?($e|=32|(Eo.isReadonly?8:0),Z=xi(Z,xs(_n)?rEe(_n)||te:Eo.type)):PC(_n)&&!(Gu(_n)&2097152)?($e|=32,Z=xi(Z,te)):$e|=16}}}if(!I||ce&&(U||$e&48)&&$e&1536&&!(U&&$Xt(U.values())))return;if(!U&&!($e&16)&&!Z)if(ut){const An=(C=ur(I,qE))==null?void 0:C.links,_n=CF(I,An==null?void 0:An.type);return _n.parent=(w=(A=I.valueDeclaration)==null?void 0:A.symbol)==null?void 0:w.parent,_n.links.containingType=l,_n.links.mapper=An==null?void 0:An.mapper,_n}else return I;const zt=U?ga(U.values()):[I];let gi,Wi,dn;const nu=[];let En,Ii,Nn=!1;for(const An of zt){Ii?An.valueDeclaration&&An.valueDeclaration!==Ii&&(Nn=!0):Ii=An.valueDeclaration,gi=yn(gi,An.declarations);const _n=Wn(An);Wi||(Wi=_n,dn=Ur(An).nameType);const hu=mF(An);(En||hu!==_n)&&(En=xi(En||nu.slice(),hu)),_n!==Wi&&($e|=64),(pW(_n)||U9(_n))&&($e|=128),_n.flags&131072&&_n!==vl&&($e|=131072),nu.push(_n)}yn(nu,Z);const vn=Hs(4|(Fe??0),m,Te|$e);return vn.links.containingType=l,!Nn&&Ii&&(vn.valueDeclaration=Ii,Ii.symbol.parent&&(vn.parent=Ii.symbol.parent)),vn.declarations=gi,vn.links.nameType=dn,nu.length>2?(vn.links.checkFlags|=65536,vn.links.deferralParent=l,vn.links.deferralConstituents=nu,vn.links.deferralWriteConstituents=En):(vn.links.type=ce?er(nu):Ds(nu),En&&(vn.links.writeType=ce?er(En):Ds(En))),vn}function Adt(l,m,D){var C,A;let w=(C=l.propertyCacheWithoutObjectFunctionPropertyAugment)!=null&&C.get(m)||!D?(A=l.propertyCache)==null?void 0:A.get(m):void 0;return w||(w=Fdt(l,m,D),w&&(D?l.propertyCacheWithoutObjectFunctionPropertyAugment||(l.propertyCacheWithoutObjectFunctionPropertyAugment=Vo()):l.propertyCache||(l.propertyCache=Vo())).set(m,w)),w}function $Xt(l){let m;for(const D of l){if(!D.declarations)return;if(!m){m=new Set(D.declarations);continue}if(m.forEach(C=>{kt(D.declarations,C)||m.delete(C)}),m.size===0)return}return m}function GNe(l,m,D){const C=Adt(l,m,D);return C&&!(Gl(C)&16)?C:void 0}function Sg(l){return l.flags&1048576&&l.objectFlags&16777216?l.resolvedReducedType||(l.resolvedReducedType=UXt(l)):l.flags&2097152?(l.objectFlags&16777216||(l.objectFlags|=16777216|(Oe(Cte(l),qXt)?33554432:0)),l.objectFlags&33554432?Ku:l):l}function UXt(l){const m=Lu(l.types,Sg);if(m===l.types)return l;const D=er(m);return D.flags&1048576&&(D.resolvedReducedType=D),D}function qXt(l){return Sdt(l)||Bdt(l)}function Sdt(l){return!(l.flags&16777216)&&(Gl(l)&131264)===192&&!!(Wn(l).flags&131072)}function Bdt(l){return!l.valueDeclaration&&!!(Gl(l)&1024)}function JNe(l){return!!(l.flags&1048576&&l.objectFlags&16777216&&Oe(l.types,JNe)||l.flags&2097152&&ZXt(l))}function ZXt(l){const m=l.uniqueLiteralFilledInstantiation||(l.uniqueLiteralFilledInstantiation=_a(l,co));return Sg(m)!==m}function $Ne(l,m){if(m.flags&2097152&&Gu(m)&33554432){const D=Le(Cte(m),Sdt);if(D)return ro(l,F.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,gn(m,void 0,536870912),Fr(D));const C=Le(Cte(m),Bdt);if(C)return ro(l,F.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,gn(m,void 0,536870912),Fr(C))}return l}function qo(l,m,D,C){if(l=Dz(l),l.flags&524288){const A=Ag(l),w=A.members.get(m);if(w&&l6(w,C))return w;if(D)return;const I=A===Ri?di:A.callSignatures.length?Mn:A.constructSignatures.length?ba:void 0;if(I){const U=bC(I,m);if(U)return U}return bC(He,m)}if(l.flags&3145728)return GNe(l,m,D)}function bte(l,m){if(l.flags&3670016){const D=Ag(l);return m===0?D.callSignatures:D.constructSignatures}return _t}function go(l,m){const D=bte(Dz(l),m);if(m===0&&!S(D)&&l.flags&1048576){if(l.arrayFallbackSignatures)return l.arrayFallbackSignatures;let C;if(e4(l,A=>{var w;return!!((w=A.symbol)!=null&&w.parent)&&YXt(A.symbol.parent)&&(C?C===A.symbol.escapedName:(C=A.symbol.escapedName,!0))})){const A=hl(l,I=>k6((wdt(I.symbol.parent)?To:Fo).typeParameters[0],I.mapper)),w=V1(A,yE(l,I=>wdt(I.symbol.parent)));return l.arrayFallbackSignatures=go(he(w,C),m)}l.arrayFallbackSignatures=D}return D}function YXt(l){return!l||!Fo.symbol||!To.symbol?!1:!!Zm(l,Fo.symbol)||!!Zm(l,To.symbol)}function wdt(l){return!l||!To.symbol?!1:!!Zm(l,To.symbol)}function UNe(l,m){return Le(l,D=>D.keyType===m)}function qNe(l,m){let D,C,A;for(const w of l)w.keyType===ct?D=w:nT(m,w.keyType)&&(C?(A||(A=[C])).push(w):C=w);return A?y_(on,Ds(Vt(A,w=>w.type)),nn(A,(w,I)=>w&&I.isReadonly,!0)):C||(D&&nT(m,ct)?D:void 0)}function nT(l,m){return ms(l,m)||m===ct&&ms(l,Qt)||m===Qt&&(l===Ul||!!(l.flags&128)&&i3(l.value))}function ZNe(l){return l.flags&3670016?Ag(l).indexInfos:_t}function kh(l){return ZNe(Dz(l))}function k3(l,m){return UNe(kh(l),m)}function yC(l,m){var D;return(D=k3(l,m))==null?void 0:D.type}function YNe(l,m){return kh(l).filter(D=>nT(m,D.keyType))}function nW(l,m){return qNe(kh(l),m)}function G9(l,m){return nW(l,XK(m)?Xu:df(Qr(m)))}function Tdt(l){var m;let D;for(const C of Sx(l))D=e0(D,gF(C.symbol));return D!=null&&D.length?D:ed(l)?(m=xz(l))==null?void 0:m.typeParameters:void 0}function QNe(l){const m=[];return l.forEach((D,C)=>{EC(C)||m.push(D)}),m}function kge(l,m){if(Id(l))return;const D=kf(Ie,'"'+l+'"',512);return D&&m?Ks(D):D}function uW(l){if(d7(l)||aV(l)||oV(l))return!0;if(l.initializer){const D=dp(l.parent),C=l.parent.parameters.indexOf(l);return H.assert(C>=0),C>=SE(D,3)}const m=nk(l.parent);return m?!l.type&&!l.dotDotDotToken&&l.parent.parameters.indexOf(l)>=REe(m).length:!1}function QXt(l){return ko(l)&&!eE(l)&&l.questionToken}function yte(l,m,D,C){return{kind:l,parameterName:m,parameterIndex:D,type:C}}function b_(l){let m=0;if(l)for(let D=0;D=D&&w<=A){const I=l?l.slice():[];for(let Z=w;ZU.arguments.length&&!Wi||oV(zt)||(A=D.length)}if((l.kind===177||l.kind===178)&&iT(l)&&(!I||!w)){const ut=l.kind===177?178:177,zt=Sl(_u(l),ut);zt&&(w=p6(zt))}if(Qn(l)){const ut=LU(l);ut&&ut.typeExpression&&(w=CF(Hs(1,"this"),Ar(ut.typeExpression)))}const Fe=Ov(l)?ok(l):l,Te=Fe&&hc(Fe)?b4(Ks(Fe.parent.symbol)):void 0,$e=Te?Te.localTypeParameters:Tdt(l);(u0e(l)||Qn(l)&&XXt(l,D))&&(C|=1),(WP(l)&&Yu(l,64)||hc(l)&&Yu(l.parent,64))&&(C|=4),m.resolvedSignature=y3(l,$e,w,D,void 0,void 0,A,C)}return m.resolvedSignature}function XXt(l,m){if(Ov(l)||!XNe(l))return!1;const D=qu(l.parameters),C=D?B8(D):Cv(l).filter(Eg),A=G(C,I=>I.typeExpression&&pY(I.typeExpression.type)?I.typeExpression.type:void 0),w=Hs(3,"args",32768);return A?w.links.type=V1(Ar(A.type)):(w.links.checkFlags|=65536,w.links.deferralParent=Ku,w.links.deferralConstituents=[ql],w.links.deferralWriteConstituents=[ql]),A&&m.pop(),m.push(w),!0}function xz(l){if(!(Qn(l)&&$0(l)))return;const m=xv(l);return(m==null?void 0:m.typeExpression)&&wF(Ar(m.typeExpression))}function eei(l,m){const D=xz(l);if(!D)return;const C=l.parameters.indexOf(m);return m.dotDotDotToken?FW(D,C):Lg(D,C)}function tei(l){const m=xz(l);return m&&Zs(m)}function XNe(l){const m=ar(l);return m.containsArgumentsReference===void 0&&(m.flags&512?m.containsArgumentsReference=!0:m.containsArgumentsReference=D(l.body)),m.containsArgumentsReference;function D(C){if(!C)return!1;switch(C.kind){case 80:return C.escapedText===It.escapedName&&VW(C)===It;case 172:case 174:case 177:case 178:return C.name.kind===167&&D(C.name);case 211:case 212:return D(C.expression);case 303:return D(C.initializer);default:return!U0e(C)&&!q_(C)&&!!ao(C,D)}}}function wb(l){if(!l||!l.declarations)return _t;const m=[];for(let D=0;D0&&C.body){const A=l.declarations[D-1];if(C.parent===A.parent&&C.kind===A.kind&&C.pos===A.end)continue}if(Qn(C)&&C.jsDoc){let A=!1;for(const w of C.jsDoc)if(w.tags){for(const I of w.tags)if(NB(I)){const U=I.typeExpression;U.type===void 0&&!hc(C)&&LC(U,me),m.push(dp(U)),A=!0}}if(A)continue}m.push(!R2(C)&&!zp(C)&&xz(C)||dp(C))}}return m}function Ldt(l){const m=Kh(l,l);if(m){const D=_m(m);if(D)return Wn(D)}return me}function kC(l){if(l.thisParameter)return Wn(l.thisParameter)}function y4(l){if(!l.resolvedTypePredicate){if(l.target){const m=y4(l.target);l.resolvedTypePredicate=m?Oti(m,l.mapper):vt}else if(l.compositeSignatures)l.resolvedTypePredicate=Qei(l.compositeSignatures,l.compositeKind)||vt;else{const m=l.declaration&&U4(l.declaration);let D;if(!m){const C=xz(l.declaration);C&&l!==C&&(D=y4(C))}l.resolvedTypePredicate=m&&aY(m)?iei(m,l):D||vt}H.assert(!!l.resolvedTypePredicate)}return l.resolvedTypePredicate===vt?void 0:l.resolvedTypePredicate}function iei(l,m){const D=l.parameterName,C=l.type&&Ar(l.type);return D.kind===197?yte(l.assertsModifier?2:0,void 0,void 0,C):yte(l.assertsModifier?3:1,D.escapedText,Ue(m.parameters,A=>A.escapedName===D.escapedText),C)}function Ndt(l,m,D){return m!==2097152?er(l,D):Ds(l)}function Zs(l){if(!l.resolvedReturnType){if(!D_(l,3))return Ot;let m=l.target?_a(Zs(l.target),l.mapper):l.compositeSignatures?_a(Ndt(Vt(l.compositeSignatures,Zs),l.compositeKind,2),l.mapper):uT(l.declaration)||(Ql(l.declaration.body)?me:HEe(l.declaration));if(l.flags&8?m=mht(m):l.flags&16&&(m=S6(m)),!CE()){if(l.declaration){const D=U4(l.declaration);if(D)pt(D,F.Return_type_annotation_circularly_references_itself);else if(Ae){const C=l.declaration,A=Za(C);A?pt(A,F._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,b0(A)):pt(C,F.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)}}m=me}l.resolvedReturnType=m}return l.resolvedReturnType}function uT(l){if(l.kind===176)return b4(Ks(l.parent.symbol));const m=U4(l);if(Ov(l)){const D=iP(l);if(D&&hc(D.parent)&&!m)return b4(Ks(D.parent.parent.symbol))}if(X8(l))return Ar(l.parameters[0].type);if(m)return Ar(m);if(l.kind===177&&iT(l)){const D=Qn(l)&&qp(l);if(D)return D;const C=Sl(_u(l),178),A=Qm(C);if(A)return A}return tei(l)}function Fge(l){return l.compositeSignatures&&Oe(l.compositeSignatures,Fge)||!l.resolvedReturnType&&xC(l,3)>=0}function nei(l){return Pdt(l)||me}function Pdt(l){if(th(l)){const m=Wn(l.parameters[l.parameters.length-1]),D=xs(m)?rEe(m):m;return D&&yC(D,Qt)}}function rW(l,m,D,C){const A=ePe(l,x6(m,l.typeParameters,b_(l.typeParameters),D));if(C){const w=Kft(Zs(A));if(w){const I=eW(w);I.typeParameters=C;const U=eW(A);return U.resolvedReturnType=DF(I),U}}return A}function ePe(l,m){const D=l.instantiations||(l.instantiations=new Map),C=hp(m);let A=D.get(C);return A||D.set(C,A=Age(l,m)),A}function Age(l,m){return lT(l,uei(l,m),!0)}function uei(l,m){return Sf(l.typeParameters,m)}function aW(l){return l.typeParameters?l.erasedSignatureCache||(l.erasedSignatureCache=rei(l)):l}function rei(l){return lT(l,I1t(l.typeParameters),!0)}function aei(l){return l.typeParameters?l.canonicalSignatureCache||(l.canonicalSignatureCache=oei(l)):l}function oei(l){return rW(l,Vt(l.typeParameters,m=>m.target&&!rh(m.target)?m.target:m),Qn(l.declaration))}function sei(l){const m=l.typeParameters;if(m){if(l.baseSignatureCache)return l.baseSignatureCache;const D=I1t(m),C=Sf(m,Vt(m,w=>rh(w)||on));let A=Vt(m,w=>_a(w,C)||on);for(let w=0;w{Bge(A)&&!UNe(m,A)&&m.push(y_(A,D.type?Ar(D.type):me,Rf(D,8),D))})}return m}return _t}function Bge(l){return!!(l.flags&4108)||U9(l)||!!(l.flags&2097152)&&!kz(l)&&Oe(l.types,Bge)}function iPe(l){return qi(ti(l.symbol&&l.symbol.declarations,Bl),w8)[0]}function Idt(l,m){var D;let C;if((D=l.symbol)!=null&&D.declarations){for(const A of l.symbol.declarations)if(A.parent.kind===195){const[w=A.parent,I]=dye(A.parent.parent);if(I.kind===183&&!m){const U=I,Z=yze(U);if(Z){const ce=U.typeArguments.indexOf(w);if(ce()=>Doi(U,Z,zt))),$e=_a(Fe,Te);$e!==l&&(C=xi(C,$e))}}}}else if(I.kind===169&&I.dotDotDotToken||I.kind===191||I.kind===202&&I.dotDotDotToken)C=xi(C,V1(on));else if(I.kind===204)C=xi(C,ct);else if(I.kind===168&&I.parent.kind===200)C=xi(C,vc);else if(I.kind===200&&I.type&&l0(I.type)===A.parent&&I.parent.kind===194&&I.parent.extendsType===I&&I.parent.checkType.kind===200&&I.parent.checkType.type){const U=I.parent.checkType,Z=Ar(U.type);C=xi(C,_a(Z,Mb(gF(_u(U.typeParameter)),U.typeParameter.constraint?Ar(U.typeParameter.constraint):vc)))}}}return C&&Ds(C)}function vz(l){if(!l.constraint)if(l.target){const m=rh(l.target);l.constraint=m?_a(m,l.mapper):dl}else{const m=iPe(l);if(!m)l.constraint=Idt(l)||dl;else{let D=Ar(m);D.flags&1&&!Nt(D)&&(D=m.parent.parent.kind===200?vc:on),l.constraint=D}}return l.constraint===dl?void 0:l.constraint}function Rdt(l){const m=Sl(l.symbol,168),D=_g(m.parent)?Aq(m.parent):m.parent;return D&&Dm(D)}function hp(l){let m="";if(l){const D=l.length;let C=0;for(;C1&&(m+=":"+w),C+=w}}return m}function J9(l,m){return l?`@${Zo(l)}`+(m?`:${hp(m)}`:""):""}function wge(l,m){let D=0;for(const C of l)(m===void 0||!(C.flags&m))&&(D|=Gu(C));return D&458752}function rT(l,m){return Oe(m)&&l===Ka?on:R5(l,m)}function R5(l,m){const D=hp(m);let C=l.instantiations.get(D);return C||(C=D4(4,l.symbol),l.instantiations.set(D,C),C.objectFlags|=m?wge(m):0,C.target=l,C.resolvedTypeArguments=m),C}function Odt(l){const m=N5(l.flags,l.symbol);return m.objectFlags=l.objectFlags,m.target=l.target,m.resolvedTypeArguments=l.resolvedTypeArguments,m}function nPe(l,m,D,C,A){if(!C){C=q9(m);const I=sT(C);A=D?V5(I,D):I}const w=D4(4,l.symbol);return w.target=l,w.node=m,w.mapper=D,w.aliasSymbol=C,w.aliasTypeArguments=A,w}function O0(l){var m,D;if(!l.resolvedTypeArguments){if(!D_(l,6))return((m=l.target.localTypeParameters)==null?void 0:m.map(()=>Ot))||_t;const C=l.node,A=C?C.kind===183?Hi(l.target.outerTypeParameters,JEe(C,l.target.localTypeParameters)):C.kind===188?[Ar(C.elementType)]:Vt(C.elements,Ar):_t;CE()?l.resolvedTypeArguments=l.mapper?V5(A,l.mapper):A:(l.resolvedTypeArguments=((D=l.target.localTypeParameters)==null?void 0:D.map(()=>Ot))||_t,pt(l.node||K,l.target.symbol?F.Type_arguments_for_0_circularly_reference_themselves:F.Tuple_type_arguments_circularly_reference_themselves,l.target.symbol&&Fr(l.target.symbol)))}return l.resolvedTypeArguments}function O5(l){return S(l.target.typeParameters)}function jdt(l,m){const D=X0(Ks(m)),C=D.localTypeParameters;if(C){const A=S(l.typeArguments),w=b_(C),I=Qn(l);if(!(!Ae&&I)&&(AC.length)){const ce=I&&c5(l)&&!LB(l.parent),Fe=w===C.length?ce?F.Expected_0_type_arguments_provide_these_with_an_extends_tag:F.Generic_type_0_requires_1_type_argument_s:ce?F.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:F.Generic_type_0_requires_between_1_and_2_type_arguments,Te=gn(D,void 0,2);if(pt(l,Fe,Te,w,C.length),!I)return Ot}if(l.kind===183&&a1t(l,S(l.typeArguments)!==C.length))return nPe(D,l,void 0);const Z=Hi(D.outerTypeParameters,x6(kte(l),C,w,I));return R5(D,Z)}return Tb(l,m)?D:Ot}function aT(l,m,D,C){const A=X0(l);if(A===Qi&&tQ.has(l.escapedName)&&m&&m.length===1)return $9(l,m[0]);const w=Ur(l),I=w.typeParameters,U=hp(m)+J9(D,C);let Z=w.instantiations.get(U);return Z||w.instantiations.set(U,Z=j1t(A,Sf(I,x6(m,I,b_(I),Qn(l.valueDeclaration))),D,C)),Z}function lei(l,m){if(Gl(m)&1048576){const A=kte(l),w=J9(m,A);let I=gt.get(w);return I||(I=Pc(1,"error",void 0,`alias ${w}`),I.aliasSymbol=m,I.aliasTypeArguments=A,gt.set(w,I)),I}const D=X0(m),C=Ur(m).typeParameters;if(C){const A=S(l.typeArguments),w=b_(C);if(AC.length)return pt(l,w===C.length?F.Generic_type_0_requires_1_type_argument_s:F.Generic_type_0_requires_between_1_and_2_type_arguments,Fr(m),w,C.length),Ot;const I=q9(l);let U=I&&(Vdt(m)||!Vdt(I))?I:void 0,Z;if(U)Z=sT(U);else if($U(l)){const ce=oT(l,2097152,!0);if(ce&&ce!==Xt){const Fe=md(ce);Fe&&Fe.flags&524288&&(U=Fe,Z=kte(l)||(C?[]:void 0))}}return aT(m,kte(l),U,Z)}return Tb(l,m)?D:Ot}function Vdt(l){var m;const D=(m=l.declarations)==null?void 0:m.find(Sj);return!!(D&&Nm(D))}function cei(l){switch(l.kind){case 183:return l.typeName;case 233:const m=l.expression;if(ec(m))return m}}function Hdt(l){return l.parent?`${Hdt(l.parent)}.${l.escapedName}`:l.escapedName}function Tge(l){const D=(l.kind===166?l.right:l.kind===211?l.name:l).escapedText;if(D){const C=l.kind===166?Tge(l.left):l.kind===211?Tge(l.expression):void 0,A=C?`${Hdt(C)}.${D}`:D;let w=et.get(A);return w||(et.set(A,w=Hs(524288,D,1048576)),w.parent=C,w.links.declaredType=Ei),w}return Xt}function oT(l,m,D){const C=cei(l);if(!C)return Xt;const A=R0(C,m,D);return A&&A!==Xt?A:D?Xt:Tge(C)}function Lge(l,m){if(m===Xt)return Ot;if(m=L9(m)||m,m.flags&96)return jdt(l,m);if(m.flags&524288)return lei(l,m);const D=rdt(m);if(D)return Tb(l,m)?Jh(D):Ot;if(m.flags&111551&&Nge(l)){const C=dei(l,m);return C||(oT(l,788968),Wn(m))}return Ot}function dei(l,m){const D=ar(l);if(!D.resolvedJSDocType){const C=Wn(m);let A=C;if(m.valueDeclaration){const w=l.kind===205&&l.qualifier;C.symbol&&C.symbol!==m&&w&&(A=Lge(l,C.symbol))}D.resolvedJSDocType=A}return D.resolvedJSDocType}function uPe(l,m){if(m.flags&3||m===l||l.flags&1)return l;const D=`${Fh(l)}>${Fh(m)}`,C=Ta.get(D);if(C)return C;const A=lp(33554432);return A.baseType=l,A.constraint=m,Ta.set(D,A),A}function rPe(l){return Ds([l.constraint,l.baseType])}function Kdt(l){return l.kind===189&&l.elements.length===1}function Wdt(l,m,D){return Kdt(m)&&Kdt(D)?Wdt(l,m.elements[0],D.elements[0]):y6(Ar(m))===y6(l)?Ar(D):void 0}function hei(l,m){let D,C=!0;for(;m&&!na(m)&&m.kind!==327;){const A=m.parent;if(A.kind===169&&(C=!C),(C||l.flags&8650752)&&A.kind===194&&m===A.trueType){const w=Wdt(l,A.checkType,A.extendsType);w&&(D=xi(D,w))}else if(l.flags&262144&&A.kind===200&&m===A.type){const w=Ar(A);if(Fg(w)===y6(l)){const I=Jge(w);if(I){const U=rh(I);U&&e4(U,zb)&&(D=xi(D,er([Qt,Ul])))}}}m=A}return D?uPe(l,Ds(D)):l}function Nge(l){return!!(l.flags&16777216)&&(l.kind===183||l.kind===205)}function Tb(l,m){return l.typeArguments?(pt(l,F.Type_0_is_not_generic,m?Fr(m):l.typeName?b0(l.typeName):YY),!1):!0}function Gdt(l){if(at(l.typeName)){const m=l.typeArguments;switch(l.typeName.escapedText){case"String":return Tb(l),ct;case"Number":return Tb(l),Qt;case"Boolean":return Tb(l),pr;case"Void":return Tb(l),ca;case"Undefined":return Tb(l),te;case"Null":return Tb(l),it;case"Function":case"function":return Tb(l),di;case"array":return(!m||!m.length)&&!Ae?ql:void 0;case"promise":return(!m||!m.length)&&!Ae?die(me):void 0;case"Object":if(m&&m.length===2){if(xq(l)){const D=Ar(m[0]),C=Ar(m[1]),A=D===ct||D===Qt?[y_(D,C,!1)]:_t;return Ol(void 0,se,_t,_t,A)}return me}return Tb(l),Ae?void 0:me}}}function fei(l){const m=Ar(l.type);return fe?aEe(m,65536):m}function aPe(l){const m=ar(l);if(!m.resolvedType){if(q3(l)&&Yy(l.parent))return m.resolvedSymbol=Xt,m.resolvedType=Rc(l.parent.expression);let D,C;const A=788968;Nge(l)&&(C=Gdt(l),C||(D=oT(l,A,!0),D===Xt?D=oT(l,A|111551):oT(l,A),C=Lge(l,D))),C||(D=oT(l,A),C=Lge(l,D)),m.resolvedSymbol=D,m.resolvedType=C}return m.resolvedType}function kte(l){return Vt(l.typeArguments,Ar)}function Jdt(l){const m=ar(l);if(!m.resolvedType){const D=lmt(l);m.resolvedType=Jh(vm(D))}return m.resolvedType}function $dt(l,m){function D(A){const w=A.declarations;if(w)for(const I of w)switch(I.kind){case 263:case 264:case 266:return I}}if(!l)return m?Ka:Ko;const C=X0(l);return C.flags&524288?S(C.typeParameters)!==m?(pt(D(l),F.Global_type_0_must_have_1_type_parameter_s,lc(l),m),m?Ka:Ko):C:(pt(D(l),F.Global_type_0_must_be_a_class_or_interface_type,lc(l)),m?Ka:Ko)}function oPe(l,m){return Cz(l,111551,m?F.Cannot_find_global_value_0:void 0)}function Udt(l,m){return Cz(l,788968,m?F.Cannot_find_global_type_0:void 0)}function Pge(l,m,D){const C=Cz(l,788968,D?F.Cannot_find_global_type_0:void 0);if(C&&(X0(C),S(Ur(C).typeParameters)!==m)){const A=C.declarations&&Le(C.declarations,jp);pt(A,F.Global_type_0_must_have_1_type_parameter_s,lc(C),m);return}return C}function Cz(l,m,D){return uc(void 0,l,m,D,l,!1,!1,!1)}function zc(l,m,D){const C=Udt(l,D);return C||D?$dt(C,m):void 0}function mei(){return c_||(c_=zc("TypedPropertyDescriptor",1,!0)||Ka)}function pei(){return In||(In=zc("TemplateStringsArray",0,!0)||Ko)}function qdt(){return tr||(tr=zc("ImportMeta",0,!0)||Ko)}function Zdt(){if(!ir){const l=Hs(0,"ImportMetaExpression"),m=qdt(),D=Hs(4,"meta",8);D.parent=l,D.links.type=m;const C=Vo([D]);l.members=C,ir=Ol(l,C,_t,_t,_t)}return ir}function Ydt(l){return ha||(ha=zc("ImportCallOptions",0,l))||Ko}function Qdt(l){return jh||(jh=oPe("Symbol",l))}function gei(l){return f4||(f4=Udt("SymbolConstructor",l))}function Xdt(){return c3||(c3=zc("Symbol",0,!1))||Ko}function Fte(l){return C5||(C5=zc("Promise",1,l))||Ka}function e1t(l){return R1||(R1=zc("PromiseLike",1,l))||Ka}function sPe(l){return d3||(d3=oPe("Promise",l))}function Eei(l){return Wf||(Wf=zc("PromiseConstructorLike",0,l))||Ko}function Mge(l){return Q||(Q=zc("AsyncIterable",1,l))||Ka}function _ei(l){return Me||(Me=zc("AsyncIterator",3,l))||Ka}function Dei(l){return wt||(wt=zc("AsyncIterableIterator",1,l))||Ka}function xei(l){return ki||(ki=zc("AsyncGenerator",3,l))||Ka}function lPe(l){return m4||(m4=zc("Iterable",1,l))||Ka}function vei(l){return Vh||(Vh=zc("Iterator",3,l))||Ka}function Cei(l){return Ee||(Ee=zc("IterableIterator",1,l))||Ka}function bei(l){return Bt||(Bt=zc("Generator",3,l))||Ka}function yei(l){return Di||(Di=zc("IteratorYieldResult",1,l))||Ka}function kei(l){return Ci||(Ci=zc("IteratorReturnResult",1,l))||Ka}function t1t(l){return os||(os=zc("Disposable",0,l))||Ko}function Fei(l){return ss||(ss=zc("AsyncDisposable",0,l))||Ko}function i1t(l,m=0){const D=Cz(l,788968,void 0);return D&&$dt(D,m)}function Aei(){return Rl||(Rl=Pge("Extract",2,!0)||Xt),Rl===Xt?void 0:Rl}function Sei(){return x1||(x1=Pge("Omit",2,!0)||Xt),x1===Xt?void 0:x1}function cPe(l){return fd||(fd=Pge("Awaited",1,l)||(l?Xt:void 0)),fd===Xt?void 0:fd}function Bei(){return $m||($m=zc("BigInt",0,!1))||Ko}function wei(l){return Um??(Um=zc("ClassDecoratorContext",1,l))??Ka}function Tei(l){return h3??(h3=zc("ClassMethodDecoratorContext",2,l))??Ka}function Lei(l){return d_??(d_=zc("ClassGetterDecoratorContext",2,l))??Ka}function Nei(l){return ia??(ia=zc("ClassSetterDecoratorContext",2,l))??Ka}function Pei(l){return Xx??(Xx=zc("ClassAccessorDecoratorContext",2,l))??Ka}function Mei(l){return e6??(e6=zc("ClassAccessorDecoratorTarget",2,l))??Ka}function zei(l){return bg??(bg=zc("ClassAccessorDecoratorResult",2,l))??Ka}function Iei(l){return sb??(sb=zc("ClassFieldDecoratorContext",2,l))??Ka}function Rei(){return _s||(_s=oPe("NaN",!1))}function Oei(){return np||(np=Pge("Record",2,!0)||Xt),np===Xt?void 0:np}function oW(l,m){return l!==Ka?R5(l,m):Ko}function n1t(l){return oW(mei(),[l])}function u1t(l){return oW(lPe(!0),[l])}function V1(l,m){return oW(m?To:Fo,[l])}function dPe(l){switch(l.kind){case 190:return 2;case 191:return r1t(l);case 202:return l.questionToken?2:l.dotDotDotToken?r1t(l):1;default:return 1}}function r1t(l){return wte(l.type)?4:8}function jei(l){const m=Kei(l.parent);if(wte(l))return m?To:Fo;const C=Vt(l.elements,dPe);return hPe(C,m,Vt(l.elements,Vei))}function Vei(l){return GP(l)||io(l)?l:void 0}function a1t(l,m){return!!q9(l)||o1t(l)&&(l.kind===188?v6(l.elementType):l.kind===189?Oe(l.elements,v6):m||Oe(l.typeArguments,v6))}function o1t(l){const m=l.parent;switch(m.kind){case 196:case 202:case 183:case 192:case 193:case 199:case 194:case 198:case 188:case 189:return o1t(m);case 265:return!0}return!1}function v6(l){switch(l.kind){case 183:return Nge(l)||!!(oT(l,788968).flags&524288);case 186:return!0;case 198:return l.operator!==158&&v6(l.type);case 196:case 190:case 202:case 323:case 321:case 322:case 316:return v6(l.type);case 191:return l.type.kind!==188||v6(l.type.elementType);case 192:case 193:return Oe(l.types,v6);case 199:return v6(l.objectType)||v6(l.indexType);case 194:return v6(l.checkType)||v6(l.extendsType)||v6(l.trueType)||v6(l.falseType)}return!1}function Hei(l){const m=ar(l);if(!m.resolvedType){const D=jei(l);if(D===Ka)m.resolvedType=Ko;else if(!(l.kind===189&&Oe(l.elements,C=>!!(dPe(C)&8)))&&a1t(l))m.resolvedType=l.kind===189&&l.elements.length===0?D:nPe(D,l,void 0);else{const C=l.kind===188?[Ar(l.elementType)]:Vt(l.elements,Ar);m.resolvedType=fPe(D,C)}}return m.resolvedType}function Kei(l){return z7(l)&&l.operator===148}function Bg(l,m,D=!1,C=[]){const A=hPe(m||Vt(l,w=>1),D,C);return A===Ka?Ko:l.length?fPe(A,l):A}function hPe(l,m,D){if(l.length===1&&l[0]&4)return m?To:Fo;const C=Vt(l,w=>w&1?"#":w&2?"?":w&4?".":"*").join()+(m?"R":"")+(Oe(D,w=>!!w)?","+Vt(D,w=>w?$s(w):"_").join(","):"");let A=Ba.get(C);return A||Ba.set(C,A=Wei(l,m,D)),A}function Wei(l,m,D){const C=l.length,A=ui(l,Te=>!!(Te&9));let w;const I=[];let U=0;if(C){w=new Array(C);for(let Te=0;Te!!(l.elementFlags[gi]&8&&zt.flags&1179648));if(ut>=0)return Ate(Vt(m,(zt,gi)=>l.elementFlags[gi]&8?zt:on))?hl(m[ut],zt=>mPe(l,qd(m,ut,zt))):Ot}const w=[],I=[],U=[];let Z=-1,ce=-1,Fe=-1;for(let ut=0;ut=1e4)return pt(K,q_(K)?F.Type_produces_a_tuple_type_that_is_too_large_to_represent:F.Expression_produces_a_tuple_type_that_is_too_large_to_represent),Ot;L(Wi,(dn,nu)=>{var En;return $e(dn,zt.target.elementFlags[nu],(En=zt.target.labeledElementDeclarations)==null?void 0:En[nu])})}else $e(H5(zt)&&yC(zt,Qt)||Ot,4,(C=l.labeledElementDeclarations)==null?void 0:C[ut]);else $e(zt,gi,(A=l.labeledElementDeclarations)==null?void 0:A[ut])}for(let ut=0;ut=0&&ceI[ce+zt]&8?qf(ut,Qt):ut)),w.splice(ce+1,Fe-ce),I.splice(ce+1,Fe-ce),U.splice(ce+1,Fe-ce));const Te=hPe(I,l.readonly,U);return Te===Ka?Ko:I.length?R5(Te,w):Te;function $e(ut,zt,gi){zt&1&&(Z=I.length),zt&4&&ce<0&&(ce=I.length),zt&6&&(Fe=I.length),w.push(zt&2?Vd(ut,!0):ut),I.push(zt),U.push(gi)}}function bz(l,m,D=0){const C=l.target,A=O5(l)-D;return m>C.fixedLength?wii(l)||Bg(_t):Bg(O0(l).slice(m,A),C.elementFlags.slice(m,A),!1,C.labeledElementDeclarations&&C.labeledElementDeclarations.slice(m,A))}function s1t(l){return er(xi(am(l.target.fixedLength,m=>df(""+m)),k_(l.target.readonly?To:Fo)))}function Gei(l,m){const D=Ue(l.elementFlags,C=>!(C&m));return D>=0?D:l.elementFlags.length}function sW(l,m){return l.elementFlags.length-Ze(l.elementFlags,D=>!(D&m))-1}function pPe(l){return l.fixedLength+sW(l,3)}function FC(l){const m=O0(l),D=O5(l);return m.length===D?m:m.slice(0,D)}function Jei(l){return Vd(Ar(l.type),!0)}function Fh(l){return l.id}function C6(l,m){return Kl(l,m,Fh,nl)>=0}function gPe(l,m){const D=Kl(l,m,Fh,nl);return D<0?(l.splice(~D,0,m),!0):!1}function $ei(l,m,D){const C=D.flags;if(!(C&131072))if(m|=C&473694207,C&465829888&&(m|=33554432),D===vi&&(m|=8388608),!fe&&C&98304)Gu(D)&65536||(m|=4194304);else{const A=l.length,w=A&&D.id>l[A-1].id?~A:Kl(l,D,Fh,nl);w<0&&l.splice(~w,0,D)}return m}function l1t(l,m,D){let C;for(const A of D)A!==C&&(m=A.flags&1048576?l1t(l,m|(Yei(A)?1048576:0),A.types):$ei(l,m,A),C=A);return m}function Uei(l,m){var D;if(l.length<2)return l;const C=hp(l),A=Yo.get(C);if(A)return A;const w=m&&Oe(l,ce=>!!(ce.flags&524288)&&!Xm(ce)&&IPe(Ag(ce))),I=l.length;let U=I,Z=0;for(;U>0;){U--;const ce=l[U];if(w||ce.flags&469499904){if(ce.flags&262144&&xD(ce).flags&1048576){bE(ce,er(Vt(l,$e=>$e===ce?Ku:$e)),p4)&&fv(l,U);continue}const Fe=ce.flags&61603840?Le(n0(ce),$e=>Tg(Wn($e))):void 0,Te=Fe&&Jh(Wn(Fe));for(const $e of l)if(ce!==$e){if(Z===1e5&&Z/(I-U)*I>1e6){(D=Gn)==null||D.instant(Gn.Phase.CheckTypes,"removeSubtypes_DepthLimit",{typeIds:l.map(zt=>zt.id)}),pt(K,F.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}if(Z++,Fe&&$e.flags&61603840){const ut=he($e,Fe.escapedName);if(ut&&Tg(ut)&&Jh(ut)!==Te)continue}if(bE(ce,$e,p4)&&(!(Gu(eT(ce))&1)||!(Gu(eT($e))&1)||TC(ce,$e))){fv(l,U);break}}}}return Yo.set(C,l),l}function qei(l,m,D){let C=l.length;for(;C>0;){C--;const A=l[C],w=A.flags;(w&402653312&&m&4||w&256&&m&8||w&2048&&m&64||w&8192&&m&4096||D&&w&32768&&m&16384||Pb(A)&&C6(l,A.regularType))&&fv(l,C)}}function Zei(l){const m=ti(l,D=>!!(D.flags&134217728)&&U9(D));if(m.length){let D=l.length;for(;D>0;){D--;const C=l[D];C.flags&128&&Oe(m,A=>pEe(C,A))&&fv(l,D)}}}function Yei(l){return!!(l.flags&1048576&&(l.aliasSymbol||l.origin))}function c1t(l,m){for(const D of m)if(D.flags&1048576){const C=D.origin;D.aliasSymbol||C&&!(C.flags&1048576)?xa(l,D):C&&C.flags&1048576&&c1t(l,C.types)}}function EPe(l,m){const D=Fb(l);return D.types=m,D}function er(l,m=1,D,C,A){if(l.length===0)return Ku;if(l.length===1)return l[0];if(l.length===2&&!A&&(l[0].flags&1048576||l[1].flags&1048576)){const w=m===0?"N":m===2?"S":"L",I=l[0].id=2&&w[0]===te&&w[1]===de&&fv(w,1),(I&402664352||I&16384&&I&32768)&&qei(w,I,!!(m&2)),I&128&&I&134217728&&Zei(w),m===2&&(w=Uei(w,!!(I&524288)),!w))return Ot;if(w.length===0)return I&65536?I&4194304?it:Ct:I&32768?I&4194304?te:we:Ku}if(!A&&I&1048576){const Z=[];c1t(Z,l);const ce=[];for(const Te of w)Oe(Z,$e=>C6($e.types,Te))||ce.push(Te);if(!D&&Z.length===1&&ce.length===0)return Z[0];if(nn(Z,(Te,$e)=>Te+$e.types.length,0)+ce.length===w.length){for(const Te of Z)gPe(ce,Te);A=EPe(1048576,ce)}}const U=(I&36323331?0:32768)|(I&2097152?16777216:0);return DPe(w,U,D,C,A)}function Qei(l,m){let D;const C=[];for(const w of l){const I=y4(w);if(I){if(I.kind!==0&&I.kind!==1||D&&!_Pe(D,I))return;D=I,C.push(I.type)}else{const U=m!==2097152?Zs(w):void 0;if(U!==Ui&&U!==Sn)return}}if(!D)return;const A=Ndt(C,m);return yte(D.kind,D.parameterName,D.parameterIndex,A)}function _Pe(l,m){return l.kind===m.kind&&l.parameterIndex===m.parameterIndex}function DPe(l,m,D,C,A){if(l.length===0)return Ku;if(l.length===1)return l[0];const I=(A?A.flags&1048576?`|${hp(A.types)}`:A.flags&2097152?`&${hp(A.types)}`:`#${A.type.id}|${hp(l)}`:hp(l))+J9(D,C);let U=bt.get(I);return U||(U=lp(1048576),U.objectFlags=m|wge(l,98304),U.types=l,U.origin=A,U.aliasSymbol=D,U.aliasTypeArguments=C,l.length===2&&l[0].flags&512&&l[1].flags&512&&(U.flags|=16,U.intrinsicName="boolean"),bt.set(I,U)),U}function Xei(l){const m=ar(l);if(!m.resolvedType){const D=q9(l);m.resolvedType=er(Vt(l.types,Ar),1,D,sT(D))}return m.resolvedType}function eti(l,m,D){const C=D.flags;return C&2097152?h1t(l,m,D.types):(yD(D)?m&16777216||(m|=16777216,l.set(D.id.toString(),D)):(C&3?D===vi&&(m|=8388608):(fe||!(C&98304))&&(D===de&&(m|=262144,D=te),l.has(D.id.toString())||(D.flags&109472&&m&109472&&(m|=67108864),l.set(D.id.toString(),D))),m|=C&473694207),m)}function h1t(l,m,D){for(const C of D)m=eti(l,m,Jh(C));return m}function tti(l,m){let D=l.length;for(;D>0;){D--;const C=l[D];(C.flags&4&&m&402653312||C.flags&8&&m&256||C.flags&64&&m&2048||C.flags&4096&&m&8192||C.flags&16384&&m&32768||yD(C)&&m&470302716)&&fv(l,D)}}function iti(l,m){for(const D of l)if(!C6(D.types,m)){const C=m.flags&128?ct:m.flags&288?Qt:m.flags&2048?Li:m.flags&8192?Xu:void 0;if(!C||!C6(D.types,C))return!1}return!0}function nti(l){let m=l.length;const D=ti(l,C=>!!(C.flags&128));for(;m>0;){m--;const C=l[m];if(C.flags&134217728){for(const A of D)if(F6(A,C)){fv(l,m);break}else if(U9(C))return!0}}return!1}function f1t(l,m){for(let D=0;D!(C.flags&m))}function uti(l){let m;const D=Ue(l,I=>!!(Gu(I)&32768));if(D<0)return!1;let C=D+1;for(;C!!(ce.flags&1048576&&ce.types[0].flags&32768))){const ce=Oe(I,EW)?de:te;f1t(I,32768),Z=er([Ds(I),ce],1,m,D)}else if(ye(I,ce=>!!(ce.flags&1048576&&(ce.types[0].flags&65536||ce.types[1].flags&65536))))f1t(I,65536),Z=er([Ds(I),it],1,m,D);else{if(!Ate(I))return Ot;const ce=ati(I),Fe=Oe(ce,Te=>!!(Te.flags&2097152))&&xPe(ce)>xPe(I)?EPe(2097152,I):void 0;Z=er(ce,1,m,D,Fe)}else Z=rti(I,m,D);Ln.set(U,Z)}return Z}function m1t(l){return nn(l,(m,D)=>D.flags&1048576?m*D.types.length:D.flags&131072?0:m,1)}function Ate(l){var m;const D=m1t(l);return D>=1e5?((m=Gn)==null||m.instant(Gn.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:l.map(C=>C.id),size:D}),pt(K,F.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function ati(l){const m=m1t(l),D=[];for(let C=0;C=0;U--)if(l[U].flags&1048576){const Z=l[U].types,ce=Z.length;A[U]=Z[w%ce],w=Math.floor(w/ce)}const I=Ds(A);I.flags&131072||D.push(I)}return D}function p1t(l){return!(l.flags&3145728)||l.aliasSymbol?1:l.flags&1048576&&l.origin?p1t(l.origin):xPe(l.types)}function xPe(l){return nn(l,(m,D)=>m+p1t(D),0)}function oti(l){const m=ar(l);if(!m.resolvedType){const D=q9(l),C=Vt(l.types,Ar),A=C.length===2?C.indexOf(Lc):-1,w=A>=0?C[1-A]:on,I=!!(w.flags&76||w.flags&134217728&&U9(w));m.resolvedType=Ds(C,D,sT(D),I)}return m.resolvedType}function g1t(l,m){const D=lp(4194304);return D.type=l,D.indexFlags=m,D}function sti(l){const m=Fb(4194304);return m.type=l,m}function E1t(l,m){return m&1?l.resolvedStringIndexType||(l.resolvedStringIndexType=g1t(l,1)):l.resolvedIndexType||(l.resolvedIndexType=g1t(l,0))}function lti(l,m){const D=Fg(l),C=cp(l),A=I5(l.target||l);if(!A&&!(m&2))return C;const w=[];if(tW(l)){if(AC(C))return E1t(l,m);{const Z=Gh(K9(l));RNe(Z,8576,!!(m&1),U)}}else FF(vte(C),U);AC(C)&&FF(C,U);const I=m&2?Ic(er(w),Z=>!(Z.flags&5)):er(w);if(I.flags&1048576&&C.flags&1048576&&hp(I.types)===hp(C.types))return C;return I;function U(Z){const ce=A?_a(A,dW(l.mapper,D,Z)):Z;w.push(ce===ct?wo:ce)}}function cti(l){const m=Fg(l);return D(I5(l)||m);function D(C){return C.flags&470810623?!0:C.flags&16777216?C.root.isDistributive&&C.checkType===m:C.flags&137363456?ye(C.types,D):C.flags&8388608?D(C.objectType)&&D(C.indexType):C.flags&33554432?D(C.baseType)&&D(C.constraint):C.flags&268435456?D(C.type):!1}}function j5(l){if(ea(l))return Ku;if(Of(l))return Jh(ya(l));if(Ps(l))return Jh(F3(l));const m=sk(l);return m!==void 0?df(Qr(m)):Wt(l)?Jh(ya(l)):Ku}function yz(l,m,D){if(D||!(l4(l)&6)){let C=Ur(yge(l)).nameType;if(!C){const A=Za(l.valueDeclaration);C=l.escapedName==="default"?df("default"):A&&j5(A)||(Ij(l)?void 0:df(lc(l)))}if(C&&C.flags&m)return C}return Ku}function _1t(l,m){return!!(l.flags&m||l.flags&2097152&&Oe(l.types,D=>_1t(D,m)))}function dti(l,m,D){const C=D&&(Gu(l)&7||l.aliasSymbol)?sti(l):void 0,A=Vt(n0(l),I=>yz(I,m)),w=Vt(kh(l),I=>I!==Tu&&_1t(I.keyType,m)?I.keyType===ct&&m&8?wo:I.keyType:Ku);return er(Hi(A,w),1,void 0,void 0,C)}function D1t(l,m=0){return!!(l.flags&58982400||K5(l)||Xm(l)&&!cti(l)||l.flags&1048576&&!(m&4)&&JNe(l)||l.flags&2097152&&jl(l,465829888)&&Oe(l.types,yD))}function k_(l,m=ft){return l=Sg(l),D1t(l,m)?E1t(l,m):l.flags&1048576?Ds(Vt(l.types,D=>k_(D,m))):l.flags&2097152?er(Vt(l.types,D=>k_(D,m))):Gu(l)&32?lti(l,m):l===vi?vi:l.flags&2?Ku:l.flags&131073?vc:dti(l,(m&2?128:402653316)|(m&1?0:12584),m===ft)}function x1t(l){if(Je)return l;const m=Aei();return m?aT(m,[l,ct]):ct}function hti(l){const m=x1t(k_(l));return m.flags&131072?ct:m}function fti(l){const m=ar(l);if(!m.resolvedType)switch(l.operator){case 143:m.resolvedType=k_(Ar(l.type));break;case 158:m.resolvedType=l.type.kind===155?SPe(Lj(l.parent)):Ot;break;case 148:m.resolvedType=Ar(l.type);break;default:H.assertNever(l.operator)}return m.resolvedType}function mti(l){const m=ar(l);return m.resolvedType||(m.resolvedType=xF([l.head.text,...Vt(l.templateSpans,D=>D.literal.text)],Vt(l.templateSpans,D=>Ar(D.type)))),m.resolvedType}function xF(l,m){const D=Ue(m,ce=>!!(ce.flags&1179648));if(D>=0)return Ate(m)?hl(m[D],ce=>xF(l,qd(m,D,ce))):Ot;if(kt(m,vi))return vi;const C=[],A=[];let w=l[0];if(!Z(l,m))return ct;if(C.length===0)return df(w);if(A.push(w),ye(A,ce=>ce==="")){if(ye(C,ce=>!!(ce.flags&4)))return ct;if(C.length===1&&U9(C[0]))return C[0]}const I=`${hp(C)}|${Vt(A,ce=>ce.length).join(",")}|${A.join("")}`;let U=Da.get(I);return U||Da.set(I,U=gti(A,C)),U;function Z(ce,Fe){for(let Te=0;Te$9(l,D)):m.flags&128?df(v1t(l,m.value)):m.flags&134217728?xF(...Eti(l,m.texts,m.types)):m.flags&268435456&&l===m.symbol?m:m.flags&268435461||AC(m)?C1t(l,m):Ste(m)?C1t(l,xF(["",""],[m])):m}function v1t(l,m){switch(tQ.get(l.escapedName)){case 0:return m.toUpperCase();case 1:return m.toLowerCase();case 2:return m.charAt(0).toUpperCase()+m.slice(1);case 3:return m.charAt(0).toLowerCase()+m.slice(1)}return m}function Eti(l,m,D){switch(tQ.get(l.escapedName)){case 0:return[m.map(C=>C.toUpperCase()),D.map(C=>$9(l,C))];case 1:return[m.map(C=>C.toLowerCase()),D.map(C=>$9(l,C))];case 2:return[m[0]===""?m:[m[0].charAt(0).toUpperCase()+m[0].slice(1),...m.slice(1)],m[0]===""?[$9(l,D[0]),...D.slice(1)]:D];case 3:return[m[0]===""?m:[m[0].charAt(0).toLowerCase()+m[0].slice(1),...m.slice(1)],m[0]===""?[$9(l,D[0]),...D.slice(1)]:D]}return[m,D]}function C1t(l,m){const D=`${Zo(l)},${Fh(m)}`;let C=ra.get(D);return C||ra.set(D,C=_ti(l,m)),C}function _ti(l,m){const D=N5(268435456,l);return D.type=m,D}function Dti(l,m,D,C,A){const w=lp(8388608);return w.objectType=l,w.indexType=m,w.accessFlags=D,w.aliasSymbol=C,w.aliasTypeArguments=A,w}function lW(l){if(Ae)return!1;if(Gu(l)&4096)return!0;if(l.flags&1048576)return ye(l.types,lW);if(l.flags&2097152)return Oe(l.types,lW);if(l.flags&465829888){const m=HNe(l);return m!==l&&lW(m)}return!1}function zge(l,m){return Y4(l)?Q4(l):m&&Sc(m)?sk(m):void 0}function vPe(l,m){if(m.flags&8208){const D=Tn(l.parent,C=>!I0(C))||l.parent;return D2(D)?$E(D)&&at(l)&&Tht(D,l):ye(m.declarations,C=>!Co(C)||aC(C))}return!0}function b1t(l,m,D,C,A,w){const I=A&&A.kind===212?A:void 0,U=A&&ea(A)?void 0:zge(D,A);if(U!==void 0){if(w&256)return Ob(m,U)||me;const ce=qo(m,U);if(ce){if(w&64&&A&&ce.declarations&&S5(ce)&&vPe(A,ce)){const Te=(I==null?void 0:I.argumentExpression)??(I7(A)?A.indexType:A);m3(Te,ce.declarations,U)}if(I){if(nie(ce,I,Rft(I.expression,m.symbol)),kmt(I,ce,f7(I))){pt(I.argumentExpression,F.Cannot_assign_to_0_because_it_is_a_read_only_property,Fr(ce));return}if(w&8&&(ar(A).resolvedSymbol=ce),Tft(I,ce))return ni}const Fe=w&4?mF(ce):Wn(ce);return I&&f7(I)!==1?w6(I,Fe):A&&I7(A)&&EW(Fe)?er([Fe,te]):Fe}if(e4(m,xs)&&i3(U)){const Fe=+U;if(A&&e4(m,Te=>!Te.target.hasRestElement)&&!(w&16)){const Te=CPe(A);if(xs(m)){if(Fe<0)return pt(Te,F.A_tuple_type_cannot_be_indexed_with_a_negative_value),te;pt(Te,F.Tuple_type_0_of_length_1_has_no_element_at_index_2,gn(m),O5(m),Qr(U))}else pt(Te,F.Property_0_does_not_exist_on_type_1,Qr(U),gn(m))}if(Fe>=0)return Z(k3(m,Qt)),dht(m,Fe,w&1?de:void 0)}}if(!(D.flags&98304)&&u1(D,402665900)){if(m.flags&131073)return m;const ce=nW(m,D)||k3(m,ct);if(ce){if(w&2&&ce.keyType!==Qt){I&&(w&4?pt(I,F.Type_0_is_generic_and_can_only_be_indexed_for_reading,gn(l)):pt(I,F.Type_0_cannot_be_used_to_index_type_1,gn(D),gn(l)));return}if(A&&ce.keyType===ct&&!u1(D,12)){const Fe=CPe(A);return pt(Fe,F.Type_0_cannot_be_used_as_an_index_type,gn(D)),w&1?er([ce.type,de]):ce.type}return Z(ce),w&1&&!(m.symbol&&m.symbol.flags&384&&D.symbol&&D.flags&1024&&cf(D.symbol)===m.symbol)?er([ce.type,de]):ce.type}if(D.flags&131072)return Ku;if(lW(m))return me;if(I&&!WEe(m)){if(PC(m)){if(Ae&&D.flags&384)return Vs.add(Su(I,F.Property_0_does_not_exist_on_type_1,D.value,gn(m))),te;if(D.flags&12){const Fe=Vt(m.properties,Te=>Wn(Te));return er(xi(Fe,te))}}if(m.symbol===St&&U!==void 0&&St.exports.has(U)&&St.exports.get(U).flags&418)pt(I,F.Property_0_does_not_exist_on_type_1,Qr(U),gn(m));else if(Ae&&!ae.suppressImplicitAnyIndexErrors&&!(w&128))if(U!==void 0&&Mft(U,m)){const Fe=gn(m);pt(I,F.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,U,Fe,Fe+"["+Hc(I.argumentExpression)+"]")}else if(yC(m,Qt))pt(I.argumentExpression,F.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{let Fe;if(U!==void 0&&(Fe=$Me(U,m)))Fe!==void 0&&pt(I.argumentExpression,F.Property_0_does_not_exist_on_type_1_Did_you_mean_2,U,gn(m),Fe);else{const Te=pri(m,I,D);if(Te!==void 0)pt(I,F.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,gn(m),Te);else{let $e;if(D.flags&1024)$e=ro(void 0,F.Property_0_does_not_exist_on_type_1,"["+gn(D)+"]",gn(m));else if(D.flags&8192){const ut=op(D.symbol,I);$e=ro(void 0,F.Property_0_does_not_exist_on_type_1,"["+ut+"]",gn(m))}else D.flags&128||D.flags&256?$e=ro(void 0,F.Property_0_does_not_exist_on_type_1,D.value,gn(m)):D.flags&12&&($e=ro(void 0,F.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,gn(D),gn(m)));$e=ro($e,F.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,gn(C),gn(m)),Vs.add(Y3(zn(I),I,$e))}}}return}}if(lW(m))return me;if(A){const ce=CPe(A);D.flags&384?pt(ce,F.Property_0_does_not_exist_on_type_1,""+D.value,gn(m)):D.flags&12?pt(ce,F.Type_0_has_no_matching_index_signature_for_type_1,gn(m),gn(D)):pt(ce,F.Type_0_cannot_be_used_as_an_index_type,gn(D))}if(nt(D))return D;return;function Z(ce){ce&&ce.isReadonly&&I&&(Q_(I)||V0e(I))&&pt(I,F.Index_signature_in_type_0_only_permits_reading,gn(m))}}function CPe(l){return l.kind===212?l.argumentExpression:l.kind===199?l.indexType:l.kind===167?l.expression:l}function Ste(l){if(l.flags&2097152){let m=!1;for(const D of l.types)if(D.flags&101248||Ste(D))m=!0;else if(!(D.flags&524288))return!1;return m}return!!(l.flags&77)||U9(l)}function U9(l){return!!(l.flags&134217728)&&ye(l.types,Ste)||!!(l.flags&268435456)&&Ste(l.type)}function kz(l){return!!cW(l)}function Lb(l){return!!(cW(l)&4194304)}function AC(l){return!!(cW(l)&8388608)}function cW(l){return l.flags&3145728?(l.objectFlags&2097152||(l.objectFlags|=2097152|nn(l.types,(m,D)=>m|cW(D),0)),l.objectFlags&12582912):l.flags&33554432?(l.objectFlags&2097152||(l.objectFlags|=2097152|cW(l.baseType)|cW(l.constraint)),l.objectFlags&12582912):(l.flags&58982400||Xm(l)||K5(l)?4194304:0)|(l.flags&465829888&&!U9(l)?8388608:0)}function vD(l,m){return l.flags&8388608?vti(l,m):l.flags&16777216?Cti(l,m):l}function y1t(l,m,D){if(l.flags&1048576||l.flags&2097152&&!D1t(l)){const C=Vt(l.types,A=>vD(qf(A,m),D));return l.flags&2097152||D?Ds(C):er(C)}}function xti(l,m,D){if(m.flags&1048576){const C=Vt(m.types,A=>vD(qf(l,A),D));return D?Ds(C):er(C)}}function vti(l,m){const D=m?"simplifiedForWriting":"simplifiedForReading";if(l[D])return l[D]===Uc?l:l[D];l[D]=Uc;const C=vD(l.objectType,m),A=vD(l.indexType,m),w=xti(C,A,m);if(w)return l[D]=w;if(!(A.flags&465829888)){const I=y1t(C,A,m);if(I)return l[D]=I}if(K5(C)&&A.flags&296){const I=wz(C,A.flags&8?0:C.target.fixedLength,0,m);if(I)return l[D]=I}return Xm(C)&&(!I5(C)||vdt(C))?l[D]=hl(Ige(C,l.indexType),I=>vD(I,m)):l[D]=l}function Cti(l,m){const D=l.checkType,C=l.extendsType,A=SC(l),w=BC(l);if(w.flags&131072&&y6(A)===y6(D)){if(D.flags&1||ms(vF(D),vF(C)))return vD(A,m);if(k1t(D,C))return Ku}else if(A.flags&131072&&y6(w)===y6(D)){if(!(D.flags&1)&&ms(vF(D),vF(C)))return Ku;if(D.flags&1||k1t(D,C))return vD(w,m)}return l}function k1t(l,m){return!!(er([xte(l,m),Ku]).flags&131072)}function Ige(l,m){const D=Sf([Fg(l)],[m]),C=wC(l.mapper,D);return _a(DD(l.target||l),C)}function qf(l,m,D=0,C,A,w){return b6(l,m,D,C,A,w)||(C?Ot:on)}function F1t(l,m){return e4(l,D=>{if(D.flags&384){const C=Q4(D);if(i3(C)){const A=+C;return A>=0&&A0&&!Oe(l.elements,m=>Dce(m)||xce(m)||GP(m)&&!!(m.questionToken||m.dotDotDotToken))}function B1t(l,m){return kz(l)||m&&xs(l)&&Oe(FC(l),kz)}function yPe(l,m,D,C){let A,w,I=0;for(;;){if(I===1e3)return pt(K,F.Type_instantiation_is_excessively_deep_and_possibly_infinite),Ot;const Z=_a(y6(l.checkType),m),ce=_a(l.extendsType,m);if(Z===Ot||ce===Ot)return Ot;if(Z===vi||ce===vi)return vi;const Fe=S1t(l.node.checkType)&&S1t(l.node.extendsType)&&S(l.node.checkType.elements)===S(l.node.extendsType.elements),Te=B1t(Z,Fe);let $e;if(l.inferTypeParameters){const zt=Lu(l.inferTypeParameters,bti),gi=zt!==l.inferTypeParameters?Sf(l.inferTypeParameters,zt):void 0,Wi=DW(zt,void 0,0);if(gi){const nu=wC(m,gi);for(let En=0;Enk6(gi,Te)),ut=Sf(Fe.outerTypeParameters,$e),zt=Fe.isDistributive?k6(Fe.checkType,ut):void 0;if(!zt||zt===Fe.checkType||!(zt.flags&1179648))return l=Fe,m=ut,D=void 0,C=void 0,Fe.aliasSymbol&&I++,!0}}return!1}}function SC(l){return l.resolvedTrueType||(l.resolvedTrueType=_a(Ar(l.root.node.trueType),l.mapper))}function BC(l){return l.resolvedFalseType||(l.resolvedFalseType=_a(Ar(l.root.node.falseType),l.mapper))}function yti(l){return l.resolvedInferredTrueType||(l.resolvedInferredTrueType=l.combinedMapper?_a(Ar(l.root.node.trueType),l.combinedMapper):SC(l))}function w1t(l){let m;return l.locals&&l.locals.forEach(D=>{D.flags&262144&&(m=xi(m,X0(D)))}),m}function kti(l){return l.isDistributive&&(Lte(l.checkType,l.node.trueType)||Lte(l.checkType,l.node.falseType))}function Fti(l){const m=ar(l);if(!m.resolvedType){const D=Ar(l.checkType),C=q9(l),A=sT(C),w=_z(l,!0),I=A?w:ti(w,Z=>Lte(Z,l)),U={node:l,checkType:D,extendsType:Ar(l.extendsType),isDistributive:!!(D.flags&262144),inferTypeParameters:w1t(l),outerTypeParameters:I,instantiations:void 0,aliasSymbol:C,aliasTypeArguments:A};m.resolvedType=yPe(U,void 0),I&&(U.instantiations=new Map,U.instantiations.set(hp(I),m.resolvedType))}return m.resolvedType}function Ati(l){const m=ar(l);return m.resolvedType||(m.resolvedType=gF(_u(l.typeParameter))),m.resolvedType}function T1t(l){return at(l)?[l]:xi(T1t(l.left),l.right)}function Sti(l){var m;const D=ar(l);if(!D.resolvedType){if(!zx(l))return pt(l.argument,F.String_literal_expected),D.resolvedSymbol=Xt,D.resolvedType=Ot;const C=l.isTypeOf?111551:l.flags&16777216?900095:788968,A=Kh(l,l.argument.literal);if(!A)return D.resolvedSymbol=Xt,D.resolvedType=Ot;const w=!!((m=A.exports)!=null&&m.get("export=")),I=_m(A,!1);if(Ql(l.qualifier))if(I.flags&C)D.resolvedType=L1t(l,D,I,C);else{const U=C===111551?F.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:F.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0;pt(l,U,l.argument.literal.text),D.resolvedSymbol=Xt,D.resolvedType=Ot}else{const U=T1t(l.qualifier);let Z=I,ce;for(;ce=U.shift();){const Fe=U.length?1920:C,Te=Ks(yc(Z)),$e=l.isTypeOf||Qn(l)&&w?qo(Wn(Te),ce.escapedText,!1,!0):void 0,zt=(l.isTypeOf?void 0:kf($f(Te),ce.escapedText,Fe))??$e;if(!zt)return pt(ce,F.Namespace_0_has_no_exported_member_1,op(Z),b0(ce)),D.resolvedType=Ot;ar(ce).resolvedSymbol=zt,ar(ce.parent).resolvedSymbol=zt,Z=zt}D.resolvedType=L1t(l,D,Z,C)}}return D.resolvedType}function L1t(l,m,D,C){const A=yc(D);return m.resolvedSymbol=A,C===111551?cmt(Wn(D),l):Lge(l,A)}function N1t(l){const m=ar(l);if(!m.resolvedType){const D=q9(l);if(_6(l.symbol).size===0&&!D)m.resolvedType=Lc;else{let C=D4(16,l.symbol);C.aliasSymbol=D,C.aliasTypeArguments=sT(D),K7(l)&&l.isArrayType&&(C=V1(C)),m.resolvedType=C}}return m.resolvedType}function q9(l){let m=l.parent;for(;M7(m)||kk(m)||z7(m)&&m.operator===148;)m=m.parent;return Sj(m)?_u(m):void 0}function sT(l){return l?sn(l):void 0}function Rge(l){return!!(l.flags&524288)&&!Xm(l)}function kPe(l){return bD(l)||!!(l.flags&474058748)}function FPe(l,m){if(!(l.flags&1048576))return l;if(ye(l.types,kPe))return Le(l.types,bD)||Ko;const D=Le(l.types,w=>!kPe(w));if(!D||Le(l.types,w=>w!==D&&!kPe(w)))return l;return A(D);function A(w){const I=Vo();for(const Z of n0(w))if(!(l4(Z)&6)){if(Oge(Z)){const ce=Z.flags&65536&&!(Z.flags&32768),Te=Hs(16777220,Z.escapedName,INe(Z)|(m?8:0));Te.links.type=ce?te:Vd(Wn(Z),!0),Te.declarations=Z.declarations,Te.links.nameType=Ur(Z).nameType,Te.links.syntheticOrigin=Z,I.set(Z.escapedName,Te)}}const U=Ol(w.symbol,I,_t,_t,kh(w));return U.objectFlags|=131200,U}}function Nb(l,m,D,C,A){if(l.flags&1||m.flags&1)return me;if(l.flags&2||m.flags&2)return on;if(l.flags&131072)return m;if(m.flags&131072)return l;if(l=FPe(l,A),l.flags&1048576)return Ate([l,m])?hl(l,ce=>Nb(ce,m,D,C,A)):Ot;if(m=FPe(m,A),m.flags&1048576)return Ate([l,m])?hl(m,ce=>Nb(l,ce,D,C,A)):Ot;if(m.flags&473960444)return l;if(Lb(l)||Lb(m)){if(bD(l))return m;if(l.flags&2097152){const ce=l.types,Fe=ce[ce.length-1];if(Rge(Fe)&&Rge(m))return Ds(Hi(ce.slice(0,ce.length-1),[Nb(Fe,m,D,C,A)]))}return Ds([l,m])}const w=Vo(),I=new Set,U=l===Ko?kh(m):pdt([l,m]);for(const ce of n0(m))l4(ce)&6?I.add(ce.escapedName):Oge(ce)&&w.set(ce.escapedName,APe(ce,A));for(const ce of n0(l))if(!(I.has(ce.escapedName)||!Oge(ce)))if(w.has(ce.escapedName)){const Fe=w.get(ce.escapedName),Te=Wn(Fe);if(Fe.flags&16777216){const $e=Hi(ce.declarations,Fe.declarations),ut=4|ce.flags&16777216,zt=Hs(ut,ce.escapedName),gi=Wn(ce),Wi=lEe(gi),dn=lEe(Te);zt.links.type=Wi===dn?gi:er([gi,dn],2),zt.links.leftSpread=ce,zt.links.rightSpread=Fe,zt.declarations=$e,zt.links.nameType=Ur(ce).nameType,w.set(ce.escapedName,zt)}}else w.set(ce.escapedName,APe(ce,A));const Z=Ol(D,w,_t,_t,Lu(U,ce=>Bti(ce,A)));return Z.objectFlags|=2228352|C,Z}function Oge(l){var m;return!Oe(l.declarations,ph)&&(!(l.flags&106496)||!((m=l.declarations)!=null&&m.some(D=>mr(D.parent))))}function APe(l,m){const D=l.flags&65536&&!(l.flags&32768);if(!D&&m===Ng(l))return l;const C=4|l.flags&16777216,A=Hs(C,l.escapedName,INe(l)|(m?8:0));return A.links.type=D?te:Wn(l),A.declarations=l.declarations,A.links.nameType=Ur(l).nameType,A.links.syntheticOrigin=l,A}function Bti(l,m){return l.isReadonly!==m?y_(l.keyType,l.type,m,l.declaration):l}function Bte(l,m,D,C){const A=N5(l,D);return A.value=m,A.regularType=C||A,A}function Z9(l){if(l.flags&2976){if(!l.freshType){const m=Bte(l.flags,l.value,l.symbol,l);m.freshType=m,l.freshType=m}return l.freshType}return l}function Jh(l){return l.flags&2976?l.regularType:l.flags&1048576?l.regularType||(l.regularType=hl(l,Jh)):l}function Pb(l){return!!(l.flags&2976)&&l.freshType===l}function df(l){let m;return Si.get(l)||(Si.set(l,m=Bte(128,l)),m)}function wg(l){let m;return Dn.get(l)||(Dn.set(l,m=Bte(256,l)),m)}function jge(l){let m;const D=I2(l);return Cn.get(D)||(Cn.set(D,m=Bte(2048,l)),m)}function wti(l,m,D){let C;const A=`${m}${typeof l=="string"?"@":"#"}${l}`,w=1024|(typeof l=="string"?128:256);return tu.get(A)||(tu.set(A,C=Bte(w,l,D)),C)}function Tti(l){if(l.literal.kind===106)return it;const m=ar(l);return m.resolvedType||(m.resolvedType=Jh(ya(l.literal))),m.resolvedType}function Lti(l){const m=N5(8192,l);return m.escapedName=`__@${m.symbol.escapedName}@${Zo(m.symbol)}`,m}function SPe(l){if($be(l)){const m=sq(l)?Dm(l.left):Dm(l);if(m){const D=Ur(m);return D.uniqueESSymbolType||(D.uniqueESSymbolType=Lti(m))}}return Xu}function Nti(l){const m=tf(l,!1,!1),D=m&&m.parent;if(D&&(mr(D)||D.kind===264)&&!No(m)&&(!hc(m)||S2(l,m.body)))return b4(_u(D)).thisType;if(D&&ys(D)&&Xn(D.parent)&&Xl(D.parent)===6)return b4(Dm(D.parent.left).parent).thisType;const C=l.flags&16777216?kv(l):void 0;return C&&A0(C)&&Xn(C.parent)&&Xl(C.parent)===3?b4(Dm(C.parent.left).parent).thisType:AE(m)&&S2(l,m.body)?b4(_u(m)).thisType:(pt(l,F.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),Ot)}function Vge(l){const m=ar(l);return m.resolvedType||(m.resolvedType=Nti(l)),m.resolvedType}function P1t(l){return Ar(wte(l.type)||l.type)}function wte(l){switch(l.kind){case 196:return wte(l.type);case 189:if(l.elements.length===1&&(l=l.elements[0],l.kind===191||l.kind===202&&l.dotDotDotToken))return wte(l.type);break;case 188:return l.elementType}}function Pti(l){const m=ar(l);return m.resolvedType||(m.resolvedType=l.dotDotDotToken?P1t(l):Vd(Ar(l.type),!0,!!l.questionToken))}function Ar(l){return hei(M1t(l),l)}function M1t(l){switch(l.kind){case 133:case 319:case 320:return me;case 159:return on;case 154:return ct;case 150:return Qt;case 163:return Li;case 136:return pr;case 155:return Xu;case 116:return ca;case 157:return te;case 106:return it;case 146:return Ku;case 151:return l.flags&524288&&!Ae?me:as;case 141:return Qi;case 197:case 110:return Vge(l);case 201:return Tti(l);case 183:return aPe(l);case 182:return l.assertsModifier?ca:pr;case 233:return aPe(l);case 186:return Jdt(l);case 188:case 189:return Hei(l);case 190:return Jei(l);case 192:return Xei(l);case 193:return oti(l);case 321:return fei(l);case 323:return Vd(Ar(l.type));case 202:return Pti(l);case 196:case 322:case 316:return Ar(l.type);case 191:return P1t(l);case 325:return T0i(l);case 184:case 185:case 187:case 329:case 324:case 330:return N1t(l);case 198:return fti(l);case 199:return A1t(l);case 200:return bPe(l);case 194:return Fti(l);case 195:return Ati(l);case 203:return mti(l);case 205:return Sti(l);case 80:case 166:case 211:const m=Yp(l);return m?X0(m):Ot;default:return Ot}}function Hge(l,m,D){if(l&&l.length)for(let C=0;CC.typeParameter),Vt(D,()=>on))}function wC(l,m){return l?Wge(4,l,m):m}function Iti(l,m){return l?Wge(5,l,m):m}function Y9(l,m,D){return D?Wge(5,Mb(l,m),D):Mb(l,m)}function dW(l,m,D){return l?Wge(5,l,Mb(m,D)):Mb(m,D)}function Rti(l){return!l.constraint&&!iPe(l)||l.constraint===dl?l:l.restrictiveInstantiation||(l.restrictiveInstantiation=j1(l.symbol),l.restrictiveInstantiation.constraint=dl,l.restrictiveInstantiation)}function Gge(l){const m=j1(l.symbol);return m.target=l,m}function Oti(l,m){return yte(l.kind,l.parameterName,l.parameterIndex,_a(l.type,m))}function lT(l,m,D){let C;if(l.typeParameters&&!D){C=Vt(l.typeParameters,Gge),m=wC(Sf(l.typeParameters,C),m);for(const w of C)w.mapper=m}const A=y3(l.declaration,C,l.thisParameter&&wPe(l.thisParameter,m),Hge(l.parameters,m,wPe),void 0,void 0,l.minArgumentCount,l.flags&167);return A.target=l,A.mapper=m,A}function wPe(l,m){const D=Ur(l);if(D.type&&!NC(D.type)&&(!(l.flags&65536)||D.writeType&&!NC(D.writeType)))return l;Gl(l)&1&&(l=D.target,m=wC(D.mapper,m));const C=Hs(l.flags,l.escapedName,1|Gl(l)&53256);return C.declarations=l.declarations,C.parent=l.parent,C.links.target=l,C.links.mapper=m,l.valueDeclaration&&(C.valueDeclaration=l.valueDeclaration),D.nameType&&(C.links.nameType=D.nameType),C}function jti(l,m,D,C){const A=l.objectFlags&4||l.objectFlags&8388608?l.node:l.symbol.declarations[0],w=ar(A),I=l.objectFlags&4?w.resolvedType:l.objectFlags&64?l.target:l;let U=w.outerTypeParameters;if(!U){let Z=_z(A,!0);if(AE(A)){const Fe=Tdt(A);Z=yn(Z,Fe)}U=Z||_t;const ce=l.objectFlags&8388612?[A]:l.symbol.declarations;U=(I.objectFlags&8388612||I.symbol.flags&8192||I.symbol.flags&2048)&&!I.aliasTypeArguments?ti(U,Fe=>Oe(ce,Te=>Lte(Fe,Te))):U,w.outerTypeParameters=U}if(U.length){const Z=wC(l.mapper,m),ce=Vt(U,zt=>k6(zt,Z)),Fe=D||l.aliasSymbol,Te=D?C:V5(l.aliasTypeArguments,m),$e=hp(ce)+J9(Fe,Te);I.instantiations||(I.instantiations=new Map,I.instantiations.set(hp(U)+J9(I.aliasSymbol,I.aliasTypeArguments),I));let ut=I.instantiations.get($e);if(!ut){const zt=Sf(U,ce);ut=I.objectFlags&4?nPe(l.target,l.node,zt,Fe,Te):I.objectFlags&32?R1t(I,zt,Fe,Te):LPe(I,zt,Fe,Te),I.instantiations.set($e,ut);const gi=Gu(ut);if(ut.flags&3899393&&!(gi&524288)){const Wi=Oe(ce,NC);Gu(ut)&524288||(gi&52?ut.objectFlags|=524288|(Wi?1048576:0):ut.objectFlags|=Wi?0:524288)}}return ut}return l}function Vti(l){return!(l.parent.kind===183&&l.parent.typeArguments&&l===l.parent.typeName||l.parent.kind===205&&l.parent.typeArguments&&l===l.parent.qualifier)}function Lte(l,m){if(l.symbol&&l.symbol.declarations&&l.symbol.declarations.length===1){const C=l.symbol.declarations[0].parent;for(let A=m;A!==C;A=A.parent)if(!A||A.kind===241||A.kind===194&&ao(A.extendsType,D))return!0;return D(m)}return!0;function D(C){switch(C.kind){case 197:return!!l.isThisType;case 80:return!l.isThisType&&q_(C)&&Vti(C)&&M1t(C)===l;case 186:const A=C.exprName,w=hm(A);if(!N2(w)){const I=Zp(w),U=l.symbol.declarations[0],Z=U.kind===168?U.parent:l.isThisType?U:void 0;if(I.declarations&&Z)return Oe(I.declarations,ce=>S2(ce,Z))||Oe(C.typeArguments,D)}return!0;case 174:case 173:return!C.type&&!!C.body||Oe(C.typeParameters,D)||Oe(C.parameters,D)||!!C.type&&D(C.type)}return!!ao(C,D)}}function Jge(l){const m=cp(l);if(m.flags&4194304){const D=y6(m.type);if(D.flags&262144)return D}}function R1t(l,m,D,C){const A=Jge(l);if(A){const w=_a(A,m);if(A!==w)return Vht(Sg(w),I=>{if(I.flags&61603843&&I!==vi&&!Nt(I)){if(!l.declaration.nameType){let U;if(A4(I)||I.flags&1&&xC(A,4)<0&&(U=rh(A))&&e4(U,zb))return Kti(I,l,Y9(A,I,m));if(K5(I))return Hti(I,l,A,m);if(xs(I))return Wti(I,l,Y9(A,I,m))}return LPe(l,Y9(A,I,m))}return I},D,C)}return _a(cp(l),m)===vi?vi:LPe(l,m,D,C)}function TPe(l,m){return m&1?!0:m&2?!1:l}function Hti(l,m,D,C){const A=l.target.elementFlags,w=Vt(FC(l),(U,Z)=>{const ce=A[Z]&8?U:A[Z]&4?V1(U):Bg([U],[A[Z]]);return ce===D?m:R1t(m,Y9(D,ce,C))}),I=TPe(l.target.readonly,C_(m));return Bg(w,Vt(w,U=>8),I)}function Kti(l,m,D){const C=O1t(m,Qt,!0,D);return Nt(C)?Ot:V1(C,TPe(Sz(l),C_(m)))}function Wti(l,m,D){const C=l.target.elementFlags,A=Vt(FC(l),(Z,ce)=>O1t(m,df(""+ce),!!(C[ce]&2),D)),w=C_(m),I=w&4?Vt(C,Z=>Z&1?2:Z):w&8?Vt(C,Z=>Z&2?1:Z):C,U=TPe(l.target.readonly,w);return kt(A,Ot)?Ot:Bg(A,I,U,l.target.labeledElementDeclarations)}function O1t(l,m,D,C){const A=dW(C,Fg(l),m),w=_a(DD(l.target||l),A),I=C_(l);return fe&&I&4&&!jl(w,49152)?S6(w,!0):fe&&I&8&&D?mp(w,524288):w}function LPe(l,m,D,C){const A=D4(l.objectFlags&-1572865|64,l.symbol);if(l.objectFlags&32){A.declaration=l.declaration;const w=Fg(l),I=Gge(w);A.typeParameter=I,m=wC(Mb(w,I),m),I.mapper=m}return l.objectFlags&8388608&&(A.node=l.node),A.target=l,A.mapper=m,A.aliasSymbol=D||l.aliasSymbol,A.aliasTypeArguments=D?C:V5(l.aliasTypeArguments,m),A.objectFlags|=A.aliasTypeArguments?wge(A.aliasTypeArguments):0,A}function NPe(l,m,D,C){const A=l.root;if(A.outerTypeParameters){const w=Vt(A.outerTypeParameters,Z=>k6(Z,m)),I=hp(w)+J9(D,C);let U=A.instantiations.get(I);if(!U){const Z=Sf(A.outerTypeParameters,w),ce=A.checkType,Fe=A.isDistributive?k6(ce,Z):void 0;U=Fe&&ce!==Fe&&Fe.flags&1179648?Vht(Sg(Fe),Te=>yPe(A,Y9(ce,Te,Z)),D,C):yPe(A,Z,D,C),A.instantiations.set(I,U)}return U}return l}function _a(l,m){return l&&m?j1t(l,m,void 0,void 0):l}function j1t(l,m,D,C){var A;if(!NC(l))return l;if(j===100||z>=5e6)return(A=Gn)==null||A.instant(Gn.Phase.CheckTypes,"instantiateType_DepthLimit",{typeId:l.id,instantiationDepth:j,instantiationCount:z}),pt(K,F.Type_instantiation_is_excessively_deep_and_possibly_infinite),Ot;M++,z++,j++;const w=Gti(l,m,D,C);return j--,w}function Gti(l,m,D,C){const A=l.flags;if(A&262144)return k6(l,m);if(A&524288){const w=l.objectFlags;if(w&52){if(w&4&&!l.node){const I=l.resolvedTypeArguments,U=V5(I,m);return U!==I?fPe(l.target,U):l}return w&1024?Jti(l,m):jti(l,m,D,C)}return l}if(A&3145728){const w=l.flags&1048576?l.origin:void 0,I=w&&w.flags&3145728?w.types:l.types,U=V5(I,m);if(U===I&&D===l.aliasSymbol)return l;const Z=D||l.aliasSymbol,ce=D?C:V5(l.aliasTypeArguments,m);return A&2097152||w&&w.flags&2097152?Ds(U,Z,ce):er(U,1,Z,ce)}if(A&4194304)return k_(_a(l.type,m));if(A&134217728)return xF(l.texts,V5(l.types,m));if(A&268435456)return $9(l.symbol,_a(l.type,m));if(A&8388608){const w=D||l.aliasSymbol,I=D?C:V5(l.aliasTypeArguments,m);return qf(_a(l.objectType,m),_a(l.indexType,m),l.accessFlags,void 0,w,I)}if(A&16777216)return NPe(l,wC(l.mapper,m),D,C);if(A&33554432){const w=_a(l.baseType,m),I=_a(l.constraint,m);return w.flags&8650752&&kz(I)?uPe(w,I):I.flags&3||ms(vF(w),vF(I))?w:w.flags&8650752?uPe(w,I):Ds([I,w])}return l}function Jti(l,m){const D=_a(l.mappedType,m);if(!(Gu(D)&32))return l;const C=_a(l.constraintType,m);if(!(C.flags&4194304))return l;const A=Dht(_a(l.source,m),D,C);return A||l}function $ge(l){return l.flags&402915327?l:l.permissiveInstantiation||(l.permissiveInstantiation=_a(l,hd))}function vF(l){return l.flags&402915327?l:(l.restrictiveInstantiation||(l.restrictiveInstantiation=_a(l,wl),l.restrictiveInstantiation.restrictiveInstantiation=l.restrictiveInstantiation),l.restrictiveInstantiation)}function $ti(l,m){return y_(l.keyType,_a(l.type,m),l.isReadonly,l.declaration)}function k4(l){switch(H.assert(l.kind!==174||zp(l)),l.kind){case 218:case 219:case 174:case 262:return V1t(l);case 210:return Oe(l.properties,k4);case 209:return Oe(l.elements,k4);case 227:return k4(l.whenTrue)||k4(l.whenFalse);case 226:return(l.operatorToken.kind===57||l.operatorToken.kind===61)&&(k4(l.left)||k4(l.right));case 303:return k4(l.initializer);case 217:return k4(l.expression);case 292:return Oe(l.properties,k4)||aE(l.parent)&&Oe(l.parent.parent.children,k4);case 291:{const{initializer:m}=l;return!!m&&k4(m)}case 294:{const{expression:m}=l;return!!m&&k4(m)}}return!1}function V1t(l){return fZ(l)||Uti(l)}function Uti(l){return l.typeParameters||U4(l)||!l.body?!1:l.body.kind!==241?k4(l.body):!!y2(l.body,m=>!!m.expression&&k4(m.expression))}function Uge(l){return(R2(l)||zp(l))&&V1t(l)}function H1t(l){if(l.flags&524288){const m=Ag(l);if(m.constructSignatures.length||m.callSignatures.length){const D=D4(16,l.symbol);return D.members=m.members,D.properties=m.properties,D.callSignatures=_t,D.constructSignatures=_t,D.indexInfos=_t,D}}else if(l.flags&2097152)return Ds(Vt(l.types,H1t));return l}function CD(l,m){return bE(l,m,Em)}function hW(l,m){return bE(l,m,Em)?-1:0}function PPe(l,m){return bE(l,m,Jf)?-1:0}function qti(l,m){return bE(l,m,h_)?-1:0}function F6(l,m){return bE(l,m,h_)}function K1t(l,m){return bE(l,m,p4)}function ms(l,m){return bE(l,m,Jf)}function TC(l,m){return l.flags&1048576?ye(l.types,D=>TC(D,m)):m.flags&1048576?Oe(m.types,D=>TC(l,D)):l.flags&2097152?Oe(l.types,D=>TC(D,m)):l.flags&58982400?TC(Wh(l)||on,m):yD(m)?!!(l.flags&67633152):m===He?!!(l.flags&67633152)&&!yD(l):m===di?!!(l.flags&524288)&&pMe(l):H9(l,eT(m))||A4(m)&&!Sz(m)&&TC(l,To)}function qge(l,m){return bE(l,m,Hh)}function Nte(l,m){return qge(l,m)||qge(m,l)}function Ah(l,m,D,C,A,w){return F4(l,m,Jf,D,C,A,w)}function A6(l,m,D,C,A,w){return MPe(l,m,Jf,D,C,A,w,void 0)}function MPe(l,m,D,C,A,w,I,U){return bE(l,m,D)?!0:!C||!fW(A,l,m,D,w,I,U)?F4(l,m,D,C,w,I,U):!1}function W1t(l){return!!(l.flags&16777216||l.flags&2097152&&Oe(l.types,W1t))}function fW(l,m,D,C,A,w,I){if(!l||W1t(D))return!1;if(!F4(m,D,C,void 0)&&Zti(l,m,D,C,A,w,I))return!0;switch(l.kind){case 234:if(!gb(l))break;case 294:case 217:return fW(l.expression,m,D,C,A,w,I);case 226:switch(l.operatorToken.kind){case 64:case 28:return fW(l.right,m,D,C,A,w,I)}break;case 210:return uii(l,m,D,C,w,I);case 209:return iii(l,m,D,C,w,I);case 292:return tii(l,m,D,C,w,I);case 219:return Yti(l,m,D,C,w,I)}return!1}function Zti(l,m,D,C,A,w,I){const U=go(m,0),Z=go(m,1);for(const ce of[Z,U])if(Oe(ce,Fe=>{const Te=Zs(Fe);return!(Te.flags&131073)&&F4(Te,D,C,void 0)})){const Fe=I||{};Ah(m,D,l,A,w,Fe);const Te=Fe.errors[Fe.errors.length-1];return Es(Te,Su(l,ce===Z?F.Did_you_mean_to_use_new_with_this_expression:F.Did_you_mean_to_call_this_expression)),!0}return!1}function Yti(l,m,D,C,A,w){if(po(l.body)||Oe(l.parameters,JU))return!1;const I=wF(m);if(!I)return!1;const U=go(D,0);if(!S(U))return!1;const Z=l.body,ce=Zs(I),Fe=er(Vt(U,Zs));if(!F4(ce,Fe,C,void 0)){const Te=Z&&fW(Z,ce,Fe,C,void 0,A,w);if(Te)return Te;const $e=w||{};if(F4(ce,Fe,C,Z,void 0,A,$e),$e.errors)return D.symbol&&S(D.symbol.declarations)&&Es($e.errors[$e.errors.length-1],Su(D.symbol.declarations[0],F.The_expected_type_comes_from_the_return_type_of_this_signature)),!(kd(l)&2)&&!he(ce,"then")&&F4(die(ce),Fe,C,void 0)&&Es($e.errors[$e.errors.length-1],Su(l,F.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}function G1t(l,m,D){const C=b6(m,D);if(C)return C;if(m.flags&1048576){const A=X1t(l,m);if(A)return b6(A,D)}}function J1t(l,m){Zte(l,m,!1);const D=Oz(l,1);return bW(),D}function Pte(l,m,D,C,A,w){let I=!1;for(const U of l){const{errorNode:Z,innerExpression:ce,nameType:Fe,errorMessage:Te}=U;let $e=G1t(m,D,Fe);if(!$e||$e.flags&8388608)continue;let ut=b6(m,Fe);if(!ut)continue;const zt=zge(Fe,void 0);if(!F4(ut,$e,C,void 0)){const gi=ce&&fW(ce,ut,$e,C,void 0,A,w);if(I=!0,!gi){const Wi=w||{},dn=ce?J1t(ce,ut):ut;if(Ve&&Yge(dn,$e)){const nu=Su(Z,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,gn(dn),gn($e));Vs.add(nu),Wi.errors=[nu]}else{const nu=!!(zt&&(qo(D,zt)||Xt).flags&16777216),En=!!(zt&&(qo(m,zt)||Xt).flags&16777216);$e=B6($e,nu),ut=B6(ut,nu&&En),F4(dn,$e,C,Z,Te,A,Wi)&&dn!==ut&&F4(ut,$e,C,Z,Te,A,Wi)}if(Wi.errors){const nu=Wi.errors[Wi.errors.length-1],En=Y4(Fe)?Q4(Fe):void 0,Ii=En!==void 0?qo(D,En):void 0;let Nn=!1;if(!Ii){const vn=nW(D,Fe);vn&&vn.declaration&&!zn(vn.declaration).hasNoDefaultLib&&(Nn=!0,Es(nu,Su(vn.declaration,F.The_expected_type_comes_from_this_index_signature)))}if(!Nn&&(Ii&&S(Ii.declarations)||D.symbol&&S(D.symbol.declarations))){const vn=Ii&&S(Ii.declarations)?Ii.declarations[0]:D.symbol.declarations[0];zn(vn).hasNoDefaultLib||Es(nu,Su(vn,F.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,En&&!(Fe.flags&8192)?Qr(En):gn(Fe),gn(D)))}}}}}return I}function Qti(l,m,D,C,A,w){const I=Ic(D,uEe),U=Ic(D,Fe=>!uEe(Fe)),Z=U!==Ku?Nze(13,0,U,void 0):void 0;let ce=!1;for(let Fe=l.next();!Fe.done;Fe=l.next()){const{errorNode:Te,innerExpression:$e,nameType:ut,errorMessage:zt}=Fe.value;let gi=Z;const Wi=I!==Ku?G1t(m,I,ut):void 0;if(Wi&&!(Wi.flags&8388608)&&(gi=Z?er([Z,Wi]):Wi),!gi)continue;let dn=b6(m,ut);if(!dn)continue;const nu=zge(ut,void 0);if(!F4(dn,gi,C,void 0)){const En=$e&&fW($e,dn,gi,C,void 0,A,w);if(ce=!0,!En){const Ii=w||{},Nn=$e?J1t($e,dn):dn;if(Ve&&Yge(Nn,gi)){const vn=Su(Te,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,gn(Nn),gn(gi));Vs.add(vn),Ii.errors=[vn]}else{const vn=!!(nu&&(qo(I,nu)||Xt).flags&16777216),An=!!(nu&&(qo(m,nu)||Xt).flags&16777216);gi=B6(gi,vn),dn=B6(dn,vn&&An),F4(Nn,gi,C,Te,zt,A,Ii)&&Nn!==dn&&F4(dn,gi,C,Te,zt,A,Ii)}}}}return ce}function*Xti(l){if(S(l.properties))for(const m of l.properties)H7(m)||MMe(sV(m.name))||(yield{errorNode:m.name,innerExpression:m.initializer,nameType:df(sV(m.name))})}function*eii(l,m){if(!S(l.children))return;let D=0;for(let C=0;C1;let Wi,dn;if(lPe(!1)!==Ka){const En=u1t(me);Wi=Ic(ut,Ii=>ms(Ii,En)),dn=Ic(ut,Ii=>!ms(Ii,En))}else Wi=Ic(ut,uEe),dn=Ic(ut,En=>!uEe(En));if(gi){if(Wi!==Ku){const En=Bg(BEe(ce,0)),Ii=eii(ce,Z);I=Qti(Ii,En,Wi,C,A,w)||I}else if(!bE(qf(m,$e),ut,C)){I=!0;const En=pt(ce.openingElement.tagName,F.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Te,gn(ut));w&&w.skipLogging&&(w.errors||(w.errors=[])).push(En)}}else if(dn!==Ku){const En=zt[0],Ii=$1t(En,$e,Z);Ii&&(I=Pte(function*(){yield Ii}(),m,D,C,A,w)||I)}else if(!bE(qf(m,$e),ut,C)){I=!0;const En=pt(ce.openingElement.tagName,F.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Te,gn(ut));w&&w.skipLogging&&(w.errors||(w.errors=[])).push(En)}}return I;function Z(){if(!U){const ce=Hc(l.parent.tagName),Fe=Qte(SF(l)),Te=Fe===void 0?"children":Qr(Fe),$e=qf(D,df(Te)),ut=F._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;U={...ut,key:"!!ALREADY FORMATTED!!",message:Dle(ut,ce,Te,gn($e))}}return U}}function*U1t(l,m){const D=S(l.elements);if(D)for(let C=0;CZ:SE(l)>Z))return C&&!(D&8)&&A(F.Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1,SE(l),Z),0;l.typeParameters&&l.typeParameters!==m.typeParameters&&(m=aei(m),l=Wft(l,m,void 0,I));const Fe=Cm(l),Te=SW(l),$e=SW(m);(Te||$e)&&_a(Te||$e,U);const ut=m.declaration?m.declaration.kind:0,zt=!(D&3)&&xe&&ut!==174&&ut!==173&&ut!==176;let gi=-1;const Wi=kC(l);if(Wi&&Wi!==ca){const En=kC(m);if(En){const Ii=!zt&&I(Wi,En,!1)||I(En,Wi,C);if(!Ii)return C&&A(F.The_this_types_of_each_signature_are_incompatible),0;gi&=Ii}}const dn=Te||$e?Math.min(Fe,Z):Math.max(Fe,Z),nu=Te||$e?dn-1:-1;for(let En=0;En=SE(l)&&En=3&&m[0].flags&32768&&m[1].flags&65536&&Oe(m,yD)?67108864:0)}return!!(l.objectFlags&67108864)}return!1}function Fz(l){return!!((l.flags&1048576?l.types[0]:l).flags&32768)}function Z1t(l){return l.flags&524288&&!Xm(l)&&n0(l).length===0&&kh(l).length===1&&!!k3(l,ct)||l.flags&3145728&&ye(l.types,Z1t)||!1}function RPe(l,m,D){const C=l.flags&8?cf(l):l,A=m.flags&8?cf(m):m;if(C===A)return!0;if(C.escapedName!==A.escapedName||!(C.flags&256)||!(A.flags&256))return!1;const w=Zo(C)+","+Zo(A),I=nC.get(w);if(I!==void 0&&!(!(I&4)&&I&2&&D))return!!(I&1);const U=Wn(A);for(const Z of n0(Wn(C)))if(Z.flags&8){const ce=qo(U,Z.escapedName);if(!ce||!(ce.flags&8))return D?(D(F.Property_0_is_missing_in_type_1,lc(Z),gn(X0(A),void 0,64)),nC.set(w,6)):nC.set(w,2),!1}return nC.set(w,1),!0}function mW(l,m,D,C){const A=l.flags,w=m.flags;return w&1||A&131072||l===vi||w&2&&!(D===p4&&A&1)?!0:w&131072?!1:!!(A&402653316&&w&4||A&128&&A&1024&&w&128&&!(w&1024)&&l.value===m.value||A&296&&w&8||A&256&&A&1024&&w&256&&!(w&1024)&&l.value===m.value||A&2112&&w&64||A&528&&w&16||A&12288&&w&4096||A&32&&w&32&&l.symbol.escapedName===m.symbol.escapedName&&RPe(l.symbol,m.symbol,C)||A&1024&&w&1024&&(A&1048576&&w&1048576&&RPe(l.symbol,m.symbol,C)||A&2944&&w&2944&&l.value===m.value&&RPe(l.symbol,m.symbol,C))||A&32768&&(!fe&&!(w&3145728)||w&49152)||A&65536&&(!fe&&!(w&3145728)||w&65536)||A&524288&&w&67108864&&!(D===p4&&yD(l)&&!(Gu(l)&8192))||(D===Jf||D===Hh)&&(A&1||A&8&&(w&32||w&256&&w&1024)||A&256&&!(A&1024)&&(w&32||w&256&&w&1024&&l.value===m.value)||sii(m)))}function bE(l,m,D){if(Pb(l)&&(l=l.regularType),Pb(m)&&(m=m.regularType),l===m)return!0;if(D!==Em){if(D===Hh&&!(m.flags&131072)&&mW(m,l,D)||mW(l,m,D))return!0}else if(!((l.flags|m.flags)&61865984)){if(l.flags!==m.flags)return!1;if(l.flags&67358815)return!0}if(l.flags&524288&&m.flags&524288){const C=D.get(eEe(l,m,0,D,!1));if(C!==void 0)return!!(C&1)}return l.flags&469499904||m.flags&469499904?F4(l,m,D,void 0):!1}function Y1t(l,m){return Gu(l)&2048&&MMe(m.escapedName)}function Mte(l,m){for(;;){const D=Pb(l)?l.regularType:K5(l)?cii(l,m):Gu(l)&4?l.node?R5(l.target,O0(l)):JPe(l)||l:l.flags&3145728?lii(l,m):l.flags&33554432?m?l.baseType:rPe(l):l.flags&25165824?vD(l,m):l;if(D===l)return D;l=D}}function lii(l,m){const D=Sg(l);if(D!==l)return D;if(l.flags&2097152&&Oe(l.types,yD)){const C=Lu(l.types,A=>Mte(A,m));if(C!==l.types)return Ds(C)}return l}function cii(l,m){const D=FC(l),C=Lu(D,A=>A.flags&25165824?vD(A,m):A);return D!==C?mPe(l.target,C):l}function F4(l,m,D,C,A,w,I){var U;let Z,ce,Fe,Te,$e,ut,zt=0,gi=0,Wi=0,dn=0,nu=!1,En=0,Ii=0,Nn,vn,An=16e6-D.size>>3;H.assert(D!==Em||!C,"no error reporting in identity checking");const _n=$n(l,m,3,!!C,A);if(vn&&fo(),nu){const Ft=eEe(l,m,0,D,!1);D.set(Ft,6),(U=Gn)==null||U.instant(Gn.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:l.id,targetId:m.id,depth:gi,targetDepth:Wi});const $t=An<=0?F.Excessive_complexity_comparing_types_0_and_1:F.Excessive_stack_depth_comparing_types_0_and_1,Mi=pt(C||K,$t,gn(l),gn(m));I&&(I.errors||(I.errors=[])).push(Mi)}else if(Z){if(w){const Mi=w();Mi&&(ike(Mi,Z),Z=Mi)}let Ft;if(A&&C&&!_n&&l.symbol){const Mi=Ur(l.symbol);if(Mi.originatingImport&&!dm(Mi.originatingImport)&&F4(Wn(Mi.target),m,D,void 0)){const Du=Su(Mi.originatingImport,F.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);Ft=xi(Ft,Du)}}const $t=Y3(zn(C),C,Z,Ft);ce&&Es($t,...ce),I&&(I.errors||(I.errors=[])).push($t),(!I||!I.skipLogging)&&Vs.add($t)}return C&&I&&I.skipLogging&&_n===0&&H.assert(!!I.errors,"missed opportunity to interact with error."),_n!==0;function hu(Ft){Z=Ft.errorInfo,Nn=Ft.lastSkippedInfo,vn=Ft.incompatibleStack,En=Ft.overrideNextErrorInfo,Ii=Ft.skipParentCounter,ce=Ft.relatedInfo}function oo(){return{errorInfo:Z,lastSkippedInfo:Nn,incompatibleStack:vn==null?void 0:vn.slice(),overrideNextErrorInfo:En,skipParentCounter:Ii,relatedInfo:ce==null?void 0:ce.slice()}}function Eo(Ft,...$t){En++,Nn=void 0,(vn||(vn=[])).push([Ft,...$t])}function fo(){const Ft=vn||[];vn=void 0;const $t=Nn;if(Nn=void 0,Ft.length===1){ka(...Ft[0]),$t&&hn(void 0,...$t);return}let Mi="";const Bn=[];for(;Ft.length;){const[Du,...un]=Ft.pop();switch(Du.code){case F.Types_of_property_0_are_incompatible.code:{Mi.indexOf("new ")===0&&(Mi=`(${Mi})`);const lu=""+un[0];Mi.length===0?Mi=`${lu}`:Lm(lu,Os(ae))?Mi=`${Mi}.${lu}`:lu[0]==="["&&lu[lu.length-1]==="]"?Mi=`${Mi}${lu}`:Mi=`${Mi}[${lu}]`;break}case F.Call_signature_return_types_0_and_1_are_incompatible.code:case F.Construct_signature_return_types_0_and_1_are_incompatible.code:case F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:{if(Mi.length===0){let lu=Du;Du.code===F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?lu=F.Call_signature_return_types_0_and_1_are_incompatible:Du.code===F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(lu=F.Construct_signature_return_types_0_and_1_are_incompatible),Bn.unshift([lu,un[0],un[1]])}else{const lu=Du.code===F.Construct_signature_return_types_0_and_1_are_incompatible.code||Du.code===F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"",_r=Du.code===F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||Du.code===F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...";Mi=`${lu}${Mi}(${_r})`}break}case F.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:{Bn.unshift([F.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,un[0],un[1]]);break}case F.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:{Bn.unshift([F.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,un[0],un[1],un[2]]);break}default:return H.fail(`Unhandled Diagnostic: ${Du.code}`)}}Mi?ka(Mi[Mi.length-1]===")"?F.The_types_returned_by_0_are_incompatible_between_these_types:F.The_types_of_0_are_incompatible_between_these_types,Mi):Bn.shift();for(const[Du,...un]of Bn){const lu=Du.elidedInCompatabilityPyramid;Du.elidedInCompatabilityPyramid=!1,ka(Du,...un),Du.elidedInCompatabilityPyramid=lu}$t&&hn(void 0,...$t)}function ka(Ft,...$t){H.assert(!!C),vn&&fo(),!Ft.elidedInCompatabilityPyramid&&(Ii===0?Z=ro(Z,Ft,...$t):Ii--)}function ah(Ft,...$t){ka(Ft,...$t),Ii++}function t4(Ft){H.assert(!!Z),ce?ce.push(Ft):ce=[Ft]}function hn(Ft,$t,Mi){vn&&fo();const[Bn,Du]=h6($t,Mi);let un=$t,lu=Bn;if(pW($t)&&!OPe(Mi)&&(un=kD($t),H.assert(!ms(un,Mi),"generalized source shouldn't be assignable"),lu=P5(un)),(Mi.flags&8388608&&!($t.flags&8388608)?Mi.objectType.flags:Mi.flags)&262144&&Mi!==$&&Mi!==tt){const Br=Wh(Mi);let Qa;Br&&(ms(un,Br)||(Qa=ms($t,Br)))?ka(F._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,Qa?Bn:lu,Du,gn(Br)):(Z=void 0,ka(F._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,Du,lu))}if(Ft)Ft===F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&Ve&&Q1t($t,Mi).length&&(Ft=F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties);else if(D===Hh)Ft=F.Type_0_is_not_comparable_to_type_1;else if(Bn===Du)Ft=F.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(Ve&&Q1t($t,Mi).length)Ft=F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;else{if($t.flags&128&&Mi.flags&1048576){const Br=gri($t,Mi);if(Br){ka(F.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,lu,Du,gn(Br));return}}Ft=F.Type_0_is_not_assignable_to_type_1}ka(Ft,lu,Du)}function Kn(Ft,$t){const Mi=lF(Ft.symbol)?gn(Ft,Ft.symbol.valueDeclaration):gn(Ft),Bn=lF($t.symbol)?gn($t,$t.symbol.valueDeclaration):gn($t);(nc===Ft&&ct===$t||fc===Ft&&Qt===$t||Cl===Ft&&pr===$t||Xdt()===Ft&&Xu===$t)&&ka(F._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,Bn,Mi)}function Yr(Ft,$t,Mi){return xs(Ft)?Ft.target.readonly&&Ote($t)?(Mi&&ka(F.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,gn(Ft),gn($t)),!1):zb($t):Sz(Ft)&&Ote($t)?(Mi&&ka(F.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,gn(Ft),gn($t)),!1):xs($t)?A4(Ft):!0}function yo(Ft,$t,Mi){return $n(Ft,$t,3,Mi)}function $n(Ft,$t,Mi=3,Bn=!1,Du,un=0){if(Ft===$t)return-1;if(Ft.flags&524288&&$t.flags&402784252)return D===Hh&&!($t.flags&131072)&&mW($t,Ft,D)||mW(Ft,$t,D,Bn?ka:void 0)?-1:(Bn&&Bs(Ft,$t,Ft,$t,Du),0);const lu=Mte(Ft,!1);let _r=Mte($t,!0);if(lu===_r)return-1;if(D===Em)return lu.flags!==_r.flags?0:lu.flags&67358815?-1:(w0(lu,_r),fr(lu,_r,!1,0,Mi));if(lu.flags&262144&&EF(lu)===_r)return-1;if(lu.flags&470302716&&_r.flags&1048576){const Br=_r.types,Qa=Br.length===2&&Br[0].flags&98304?Br[1]:Br.length===3&&Br[0].flags&98304&&Br[1].flags&98304?Br[2]:void 0;if(Qa&&!(Qa.flags&98304)&&(_r=Mte(Qa,!0),lu===_r))return-1}if(D===Hh&&!(_r.flags&131072)&&mW(_r,lu,D)||mW(lu,_r,D,Bn?ka:void 0))return-1;if(lu.flags&469499904||_r.flags&469499904){if(!(un&2)&&PC(lu)&&Gu(lu)&8192&&Ys(lu,_r,Bn))return Bn&&hn(Du,lu,$t.aliasSymbol?$t:_r),0;const Qa=(D!==Hh||Tg(lu))&&!(un&2)&&lu.flags&405405692&&lu!==He&&_r.flags&2621440&&eht(_r)&&(n0(lu).length>0||o_e(lu)),Oo=!!(Gu(lu)&2048);if(Qa&&!hii(lu,_r,Oo)){if(Bn){const mo=gn(Ft.aliasSymbol?Ft:lu),es=gn($t.aliasSymbol?$t:_r),T0=go(lu,0),Gs=go(lu,1);T0.length>0&&$n(Zs(T0[0]),_r,1,!1)||Gs.length>0&&$n(Zs(Gs[0]),_r,1,!1)?ka(F.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,mo,es):ka(F.Type_0_has_no_properties_in_common_with_type_1,mo,es)}return 0}w0(lu,_r);const xr=lu.flags&1048576&&lu.types.length<4&&!(_r.flags&1048576)||_r.flags&1048576&&_r.types.length<4&&!(lu.flags&469499904)?kc(lu,_r,Bn,un):fr(lu,_r,Bn,un,Mi);if(xr)return xr}return Bn&&Bs(Ft,$t,lu,_r,Du),0}function Bs(Ft,$t,Mi,Bn,Du){var un,lu;const _r=!!JPe(Ft),Br=!!JPe($t);Mi=Ft.aliasSymbol||_r?Ft:Mi,Bn=$t.aliasSymbol||Br?$t:Bn;let Qa=En>0;if(Qa&&En--,Mi.flags&524288&&Bn.flags&524288){const Oo=Z;Yr(Mi,Bn,!0),Z!==Oo&&(Qa=!!Z)}if(Mi.flags&524288&&Bn.flags&402784252)Kn(Mi,Bn);else if(Mi.symbol&&Mi.flags&524288&&He===Mi)ka(F.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(Gu(Mi)&2048&&Bn.flags&2097152){const Oo=Bn.types,Wo=Vb(Rm.IntrinsicAttributes,C),xr=Vb(Rm.IntrinsicClassAttributes,C);if(!Nt(Wo)&&!Nt(xr)&&(kt(Oo,Wo)||kt(Oo,xr)))return}else Z=$Ne(Z,$t);if(!Du&&Qa){Nn=[Mi,Bn];return}if(hn(Du,Mi,Bn),Mi.flags&262144&&((lu=(un=Mi.symbol)==null?void 0:un.declarations)!=null&&lu[0])&&!EF(Mi)){const Oo=Gge(Mi);if(Oo.constraint=_a(Bn,Mb(Mi,Oo)),iW(Oo)){const Wo=gn(Bn,Mi.symbol.declarations[0]);t4(Su(Mi.symbol.declarations[0],F.This_type_parameter_might_need_an_extends_0_constraint,Wo))}}}function w0(Ft,$t){if(Gn&&Ft.flags&3145728&&$t.flags&3145728){const Mi=Ft,Bn=$t;if(Mi.objectFlags&Bn.objectFlags&32768)return;const Du=Mi.types.length,un=Bn.types.length;Du*un>1e6&&Gn.instant(Gn.Phase.CheckTypes,"traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:Ft.id,sourceSize:Du,targetId:$t.id,targetSize:un,pos:C==null?void 0:C.pos,end:C==null?void 0:C.end})}}function ad(Ft,$t){return er(nn(Ft,(Bn,Du)=>{var un;Du=Gh(Du);const lu=Du.flags&3145728?GNe(Du,$t):bC(Du,$t),_r=lu&&Wn(lu)||((un=G9(Du,$t))==null?void 0:un.type)||te;return xi(Bn,_r)},void 0)||_t)}function Ys(Ft,$t,Mi){var Bn;if(!eie($t)||!Ae&&Gu($t)&4096)return!1;const Du=!!(Gu(Ft)&2048);if((D===Jf||D===Hh)&&(Nz(He,$t)||!Du&&bD($t)))return!1;let un=$t,lu;$t.flags&1048576&&(un=hpt(Ft,$t,$n)||Eci($t),lu=un.flags&1048576?un.types:[un]);for(const _r of n0(Ft))if(Td(_r,Ft.symbol)&&!Y1t(Ft,_r)){if(!RMe(un,_r.escapedName,Du)){if(Mi){const Br=Ic(un,eie);if(!C)return H.fail();if(W2(C)||zh(C)||zh(C.parent)){_r.valueDeclaration&&oE(_r.valueDeclaration)&&zn(C)===zn(_r.valueDeclaration.name)&&(C=_r.valueDeclaration.name);const Qa=Fr(_r),Oo=Ift(Qa,Br),Wo=Oo?Fr(Oo):void 0;Wo?ka(F.Property_0_does_not_exist_on_type_1_Did_you_mean_2,Qa,gn(Br),Wo):ka(F.Property_0_does_not_exist_on_type_1,Qa,gn(Br))}else{const Qa=((Bn=Ft.symbol)==null?void 0:Bn.declarations)&&Ki(Ft.symbol.declarations);let Oo;if(_r.valueDeclaration&&Tn(_r.valueDeclaration,Wo=>Wo===Qa)&&zn(Qa)===zn(C)){const Wo=_r.valueDeclaration;H.assertNode(Wo,Z3);const xr=Wo.name;C=xr,at(xr)&&(Oo=$Me(xr,Br))}Oo!==void 0?ah(F.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Fr(_r),gn(Br),Oo):ah(F.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Fr(_r),gn(Br))}}return!0}if(lu&&!$n(Wn(_r),ad(lu,_r.escapedName),3,Mi))return Mi&&Eo(F.Types_of_property_0_are_incompatible,Fr(_r)),!0}return!1}function Td(Ft,$t){return Ft.valueDeclaration&&$t.valueDeclaration&&Ft.valueDeclaration.parent===$t.valueDeclaration}function kc(Ft,$t,Mi,Bn){if(Ft.flags&1048576){if($t.flags&1048576){const Du=Ft.origin;if(Du&&Du.flags&2097152&&$t.aliasSymbol&&kt(Du.types,$t))return-1;const un=$t.origin;if(un&&un.flags&1048576&&Ft.aliasSymbol&&kt(un.types,Ft))return-1}return D===Hh?ze(Ft,$t,Mi&&!(Ft.flags&402784252),Bn):Fu(Ft,$t,Mi&&!(Ft.flags&402784252),Bn)}if($t.flags&1048576)return bm(_W(Ft),$t,Mi&&!(Ft.flags&402784252)&&!($t.flags&402784252));if($t.flags&2097152)return At(Ft,$t,Mi,2);if(D===Hh&&$t.flags&402784252){const Du=Lu(Ft.types,un=>un.flags&465829888?Wh(un)||on:un);if(Du!==Ft.types){if(Ft=Ds(Du),Ft.flags&131072)return 0;if(!(Ft.flags&2097152))return $n(Ft,$t,1,!1)||$n($t,Ft,1,!1)}}return ze(Ft,$t,!1,1)}function el(Ft,$t){let Mi=-1;const Bn=Ft.types;for(const Du of Bn){const un=bm(Du,$t,!1);if(!un)return 0;Mi&=un}return Mi}function bm(Ft,$t,Mi){const Bn=$t.types;if($t.flags&1048576){if(C6(Bn,Ft))return-1;if(D!==Hh&&Gu($t)&32768&&!(Ft.flags&1024)&&(Ft.flags&2688||(D===h_||D===p4)&&Ft.flags&256)){const un=Ft===Ft.regularType?Ft.freshType:Ft.regularType,lu=Ft.flags&128?ct:Ft.flags&256?Qt:Ft.flags&2048?Li:void 0;return lu&&C6(Bn,lu)||un&&C6(Bn,un)?-1:0}const Du=Bht($t,Ft);if(Du){const un=$n(Ft,Du,2,!1);if(un)return un}}for(const Du of Bn){const un=$n(Ft,Du,2,!1);if(un)return un}if(Mi){const Du=X1t(Ft,$t,$n);Du&&$n(Ft,Du,2,!0)}return 0}function At(Ft,$t,Mi,Bn){let Du=-1;const un=$t.types;for(const lu of un){const _r=$n(Ft,lu,2,Mi,void 0,Bn);if(!_r)return 0;Du&=_r}return Du}function ze(Ft,$t,Mi,Bn){const Du=Ft.types;if(Ft.flags&1048576&&C6(Du,$t))return-1;const un=Du.length;for(let lu=0;lu=lu.types.length&&un.length%lu.types.length===0){const Oo=$n(Br,lu.types[_r%lu.types.length],3,!1,void 0,Bn);if(Oo){Du&=Oo;continue}}const Qa=$n(Br,$t,1,Mi,void 0,Bn);if(!Qa)return 0;Du&=Qa}return Du}function Er(Ft=_t,$t=_t,Mi=_t,Bn,Du){if(Ft.length!==$t.length&&D===Em)return 0;const un=Ft.length<=$t.length?Ft.length:$t.length;let lu=-1;for(let _r=0;_r(mo|=Gs?16:8,xr(Gs)));let es;return dn===3?((un=Gn)==null||un.instant(Gn.Phase.CheckTypes,"recursiveTypeRelatedTo_DepthLimit",{sourceId:Ft.id,sourceIdStack:$e.map(Gs=>Gs.id),targetId:$t.id,targetIdStack:ut.map(Gs=>Gs.id),depth:gi,targetDepth:Wi}),es=3):((lu=Gn)==null||lu.push(Gn.Phase.CheckTypes,"structuredTypeRelatedTo",{sourceId:Ft.id,targetId:$t.id}),es=Mr(Ft,$t,Mi,Bn),(_r=Gn)==null||_r.pop()),Ho&&(Ho=xr),Du&1&&gi--,Du&2&&Wi--,dn=Wo,es?(es===-1||gi===0&&Wi===0)&&T0(es===-1||es===3):(D.set(Br,(Mi?4:0)|2|mo),An--,T0(!1)),es;function T0(Gs){for(let Hd=Oo;Hd_r!==Ft)&&(un=$n(lu,$t,1,!1,void 0,Bn))}un&&!(Bn&2)&&$t.flags&2097152&&!Lb($t)&&Ft.flags&2621440?(un&=mn(Ft,$t,Mi,void 0,!1,0),un&&PC(Ft)&&Gu(Ft)&8192&&(un&=bl(Ft,$t,!1,Mi,0))):un&&Rge($t)&&!zb($t)&&Ft.flags&2097152&&Gh(Ft).flags&3670016&&!Oe(Ft.types,lu=>lu===$t||!!(Gu(lu)&262144))&&(un&=mn(Ft,$t,Mi,void 0,!0,Bn))}return un&&hu(Du),un}function Ou(Ft,$t,Mi,Bn,Du){let un,lu,_r=!1,Br=Ft.flags;const Qa=$t.flags;if(D===Em){if(Br&3145728){let xr=el(Ft,$t);return xr&&(xr&=el($t,Ft)),xr}if(Br&4194304)return $n(Ft.type,$t.type,3,!1);if(Br&8388608&&(un=$n(Ft.objectType,$t.objectType,3,!1))&&(un&=$n(Ft.indexType,$t.indexType,3,!1))||Br&16777216&&Ft.root.isDistributive===$t.root.isDistributive&&(un=$n(Ft.checkType,$t.checkType,3,!1))&&(un&=$n(Ft.extendsType,$t.extendsType,3,!1))&&(un&=$n(SC(Ft),SC($t),3,!1))&&(un&=$n(BC(Ft),BC($t),3,!1))||Br&33554432&&(un=$n(Ft.baseType,$t.baseType,3,!1))&&(un&=$n(Ft.constraint,$t.constraint,3,!1)))return un;if(!(Br&524288))return 0}else if(Br&3145728||Qa&3145728){if(un=kc(Ft,$t,Mi,Bn))return un;if(!(Br&465829888||Br&524288&&Qa&1048576||Br&2097152&&Qa&467402752))return 0}if(Br&17301504&&Ft.aliasSymbol&&Ft.aliasTypeArguments&&Ft.aliasSymbol===$t.aliasSymbol&&!(Qge(Ft)||Qge($t))){const xr=tht(Ft.aliasSymbol);if(xr===_t)return 1;const mo=Ur(Ft.aliasSymbol).typeParameters,es=b_(mo),T0=x6(Ft.aliasTypeArguments,mo,es,Qn(Ft.aliasSymbol.valueDeclaration)),Gs=x6($t.aliasTypeArguments,mo,es,Qn(Ft.aliasSymbol.valueDeclaration)),Hd=Wo(T0,Gs,xr,Bn);if(Hd!==void 0)return Hd}if(cht(Ft)&&!Ft.target.readonly&&(un=$n(O0(Ft)[0],$t,1))||cht($t)&&($t.target.readonly||Ote(Wh(Ft)||Ft))&&(un=$n(Ft,O0($t)[0],2)))return un;if(Qa&262144){if(Gu(Ft)&32&&!Ft.declaration.nameType&&$n(k_($t),cp(Ft),3)&&!(C_(Ft)&4)){const xr=DD(Ft),mo=qf($t,Fg(Ft));if(un=$n(xr,mo,3,Mi))return un}if(D===Hh&&Br&262144){let xr=rh(Ft);if(xr&&iW(Ft))for(;xr&&yE(xr,mo=>!!(mo.flags&262144));){if(un=$n(xr,$t,1,!1))return un;xr=rh(xr)}return 0}}else if(Qa&4194304){const xr=$t.type;if(Br&4194304&&(un=$n(xr,Ft.type,3,!1)))return un;if(xs(xr)){if(un=$n(Ft,s1t(xr),2,Mi))return un}else{const mo=jNe(xr);if(mo){if($n(Ft,k_(mo,$t.indexFlags|4),2,Mi)===-1)return-1}else if(Xm(xr)){const es=I5(xr),T0=cp(xr);let Gs;if(es&&tW(xr)){const Hd=Gh(K9(xr)),BE=[];RNe(Hd,8576,!1,wE=>void BE.push(_a(es,dW(xr.mapper,Fg(xr),wE)))),Gs=er([...BE,es])}else Gs=es||T0;if($n(Ft,Gs,2,Mi)===-1)return-1}}}else if(Qa&8388608){if(Br&8388608){if((un=$n(Ft.objectType,$t.objectType,3,Mi))&&(un&=$n(Ft.indexType,$t.indexType,3,Mi)),un)return un;Mi&&(lu=Z)}if(D===Jf||D===Hh){const xr=$t.objectType,mo=$t.indexType,es=Wh(xr)||xr,T0=Wh(mo)||mo;if(!Lb(es)&&!AC(T0)){const Gs=4|(es!==xr?2:0),Hd=b6(es,T0,Gs);if(Hd){if(Mi&&lu&&hu(Du),un=$n(Ft,Hd,2,Mi,void 0,Bn))return un;Mi&&lu&&Z&&(Z=Oo([lu])<=Oo([Z])?lu:Z)}}}Mi&&(lu=void 0)}else if(Xm($t)&&D!==Em){const xr=!!$t.declaration.nameType,mo=DD($t),es=C_($t);if(!(es&8)){if(!xr&&mo.flags&8388608&&mo.objectType===Ft&&mo.indexType===Fg($t))return-1;if(!Xm(Ft)){const T0=xr?I5($t):cp($t),Gs=k_(Ft,2),Hd=es&4,BE=Hd?xte(T0,Gs):void 0;if(Hd?!(BE.flags&131072):$n(T0,Gs,3)){const wE=DD($t),Jb=Fg($t),xT=Pz(wE,-98305);if(!xr&&xT.flags&8388608&&xT.indexType===Jb){if(un=$n(Ft,xT.objectType,2,Mi))return un}else{const nS=xr?BE||T0:BE?Ds([BE,Jb]):Jb,BD=qf(Ft,nS);if(un=$n(BD,wE,3,Mi))return un}}lu=Z,hu(Du)}}}else if(Qa&16777216){if(Az($t,ut,Wi,10))return 3;const xr=$t;if(!xr.root.inferTypeParameters&&!kti(xr.root)&&!(Ft.flags&16777216&&Ft.root===xr.root)){const mo=!ms($ge(xr.checkType),$ge(xr.extendsType)),es=!mo&&ms(vF(xr.checkType),vF(xr.extendsType));if((un=mo?-1:$n(Ft,SC(xr),2,!1,void 0,Bn))&&(un&=es?-1:$n(Ft,BC(xr),2,!1,void 0,Bn),un))return un}}else if(Qa&134217728){if(Br&134217728){if(D===Hh)return Qii(Ft,$t)?0:-1;_a(Ft,id)}if(pEe(Ft,$t))return-1}else if($t.flags&268435456&&!(Ft.flags&268435456)&&oMe(Ft,$t))return-1;if(Br&8650752){if(!(Br&8388608&&Qa&8388608)){const xr=EF(Ft)||on;if(un=$n(xr,$t,1,!1,void 0,Bn))return un;if(un=$n(xm(xr,Ft),$t,1,Mi&&xr!==on&&!(Qa&Br&262144),void 0,Bn))return un;if(WNe(Ft)){const mo=EF(Ft.indexType);if(mo&&(un=$n(qf(Ft.objectType,mo),$t,1,Mi)))return un}}}else if(Br&4194304){if(un=$n(vc,$t,1,Mi))return un}else if(Br&134217728&&!(Qa&524288)){if(!(Qa&134217728)){const xr=Wh(Ft);if(xr&&xr!==Ft&&(un=$n(xr,$t,1,Mi)))return un}}else if(Br&268435456)if(Qa&268435456){if(Ft.symbol!==$t.symbol)return 0;if(un=$n(Ft.type,$t.type,3,Mi))return un}else{const xr=Wh(Ft);if(xr&&(un=$n(xr,$t,1,Mi)))return un}else if(Br&16777216){if(Az(Ft,$e,gi,10))return 3;if(Qa&16777216){const mo=Ft.root.inferTypeParameters;let es=Ft.extendsType,T0;if(mo){const Gs=DW(mo,void 0,0,yo);AD(Gs.inferences,$t.extendsType,es,1536),es=_a(es,Gs.mapper),T0=Gs.mapper}if(CD(es,$t.extendsType)&&($n(Ft.checkType,$t.checkType,3)||$n($t.checkType,Ft.checkType,3))&&((un=$n(_a(SC(Ft),T0),SC($t),3,Mi))&&(un&=$n(BC(Ft),BC($t),3,Mi)),un))return un}else{const mo=iW(Ft)?Cdt(Ft):void 0;if(mo&&(un=$n(mo,$t,1,Mi)))return un}const xr=VNe(Ft);if(xr&&(un=$n(xr,$t,1,Mi)))return un}else{if(D!==h_&&D!==p4&&zXt($t)&&bD(Ft))return-1;if(Xm($t))return Xm(Ft)&&(un=xu(Ft,$t,Mi))?un:0;const xr=!!(Br&402784252);if(D!==Em)Ft=Gh(Ft),Br=Ft.flags;else if(Xm(Ft))return 0;if(Gu(Ft)&4&&Gu($t)&4&&Ft.target===$t.target&&!xs(Ft)&&!(Qge(Ft)||Qge($t))){if(nEe(Ft))return-1;const mo=VPe(Ft.target);if(mo===_t)return 1;const es=Wo(O0(Ft),O0($t),mo,Bn);if(es!==void 0)return es}else{if(Sz($t)?e4(Ft,zb):A4($t)&&e4(Ft,mo=>xs(mo)&&!mo.target.readonly))return D!==Em?$n(yC(Ft,Qt)||me,yC($t,Qt)||me,3,Mi):0;if(K5(Ft)&&xs($t)&&!K5($t)){const mo=xD(Ft);if(mo!==Ft)return $n(mo,$t,1,Mi)}else if((D===h_||D===p4)&&bD($t)&&Gu($t)&8192&&!bD(Ft))return 0}if(Br&2621440&&Qa&524288){const mo=Mi&&Z===Du.errorInfo&&!xr;if(un=mn(Ft,$t,mo,void 0,!1,Bn),un&&(un&=ku(Ft,$t,0,mo,Bn),un&&(un&=ku(Ft,$t,1,mo,Bn),un&&(un&=bl(Ft,$t,xr,mo,Bn)))),_r&&un)Z=lu||Z||Du.errorInfo;else if(un)return un}if(Br&2621440&&Qa&1048576){const mo=Pz($t,36175872);if(mo.flags&1048576){const es=Lt(Ft,mo);if(es)return es}}}return 0;function Oo(xr){return xr?nn(xr,(mo,es)=>mo+1+Oo(es.next),0):0}function Wo(xr,mo,es,T0){if(un=Er(xr,mo,es,Mi,T0))return un;if(Oe(es,Hd=>!!(Hd&24))){lu=void 0,hu(Du);return}const Gs=mo&&fii(mo,es);if(_r=!Gs,es!==_t&&!Gs){if(_r&&!(Mi&&Oe(es,Hd=>(Hd&7)===0)))return 0;lu=Z,hu(Du)}}}function xu(Ft,$t,Mi){if(D===Hh||(D===Em?C_(Ft)===C_($t):ONe(Ft)<=ONe($t))){let Du;const un=cp($t),lu=_a(cp(Ft),ONe(Ft)<0?Y0:id);if(Du=$n(un,lu,3,Mi)){const _r=Sf([Fg(Ft)],[Fg($t)]);if(_a(I5(Ft),_r)===_a(I5($t),_r))return Du&$n(_a(DD(Ft),_r),DD($t),3,Mi)}}return 0}function Lt(Ft,$t){var Mi;const Bn=n0(Ft),Du=Sht(Bn,$t);if(!Du)return 0;let un=1;for(const Wo of Du)if(un*=Fni(E6(Wo)),un>25)return(Mi=Gn)==null||Mi.instant(Gn.Phase.CheckTypes,"typeRelatedToDiscriminatedType_DepthLimit",{sourceId:Ft.id,targetId:$t.id,numCombinations:un}),0;const lu=new Array(Du.length),_r=new Set;for(let Wo=0;WoWo[es],!1,0,fe||D===Hh))continue e}xa(Qa,mo,Cx),xr=!0}if(!xr)return 0}let Oo=-1;for(const Wo of Qa)if(Oo&=mn(Ft,Wo,!1,_r,!1,0),Oo&&(Oo&=ku(Ft,Wo,0,!1,0),Oo&&(Oo&=ku(Ft,Wo,1,!1,0),Oo&&!(xs(Ft)&&xs(Wo))&&(Oo&=bl(Ft,Wo,!1,!1,0)))),!Oo)return Oo;return Oo}function li(Ft,$t){if(!$t||Ft.length===0)return Ft;let Mi;for(let Bn=0;Bn5?ka(F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,gn(Ft),gn($t),Vt(un.slice(0,4),lu=>Fr(lu)).join(", "),un.length-4):ka(F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,gn(Ft),gn($t),Vt(un,lu=>Fr(lu)).join(", ")),Du&&Z&&En++)}function mn(Ft,$t,Mi,Bn,Du,un){if(D===Em)return Kr(Ft,$t,Bn);let lu=-1;if(xs($t)){if(zb(Ft)){if(!$t.target.readonly&&(Sz(Ft)||xs(Ft)&&Ft.target.readonly))return 0;const Wo=O5(Ft),xr=O5($t),mo=xs(Ft)?Ft.target.combinedFlags&4:4,es=$t.target.combinedFlags&4,T0=xs(Ft)?Ft.target.minLength:0,Gs=$t.target.minLength;if(!mo&&Wo=wE?xr-1-Math.min(Sie,Jb):BD,ai=$t.target.elementFlags[Zf];if(ai&8&&!(zC&8))return Mi&&ka(F.Source_provides_no_match_for_variadic_element_at_position_0_in_target,Zf),0;if(zC&8&&!(ai&12))return Mi&&ka(F.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,BD,Zf),0;if(ai&1&&!(zC&1))return Mi&&ka(F.Source_provides_no_match_for_required_element_at_position_0_in_target,Zf),0;if(nS&&((zC&12||ai&12)&&(nS=!1),nS&&(Bn!=null&&Bn.has(""+BD))))continue;const Bu=B6(Hd[BD],!!(zC&ai&2)),dr=BE[Zf],nr=zC&8&&ai&4?V1(dr):B6(dr,!!(ai&2)),hr=$n(Bu,nr,3,Mi,void 0,un);if(!hr)return Mi&&(xr>1||Wo>1)&&(xT&&BD>=wE&&Sie>=Jb&&wE!==Wo-Jb-1?Eo(F.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,wE,Wo-Jb-1,Zf):Eo(F.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,BD,Zf)),0;lu&=hr}return lu}if($t.target.combinedFlags&12)return 0}const _r=(D===h_||D===p4)&&!PC(Ft)&&!nEe(Ft)&&!xs(Ft),Br=rMe(Ft,$t,_r,!1);if(Br)return Mi&&_o(Ft,$t)&&Ji(Ft,$t,Br,_r),0;if(PC($t)){for(const Wo of li(n0(Ft),Bn))if(!bC($t,Wo.escapedName)&&!(Wn(Wo).flags&32768))return Mi&&ka(F.Property_0_does_not_exist_on_type_1,Fr(Wo),gn($t)),0}const Qa=n0($t),Oo=xs(Ft)&&xs($t);for(const Wo of li(Qa,Bn)){const xr=Wo.escapedName;if(!(Wo.flags&4194304)&&(!Oo||i3(xr)||xr==="length")&&(!Du||Wo.flags&16777216)){const mo=qo(Ft,xr);if(mo&&mo!==Wo){const es=yi(Ft,$t,mo,Wo,E6,Mi,un,D===Hh);if(!es)return 0;lu&=es}}}return lu}function Kr(Ft,$t,Mi){if(!(Ft.flags&524288&&$t.flags&524288))return 0;const Bn=li(D6(Ft),Mi),Du=li(D6($t),Mi);if(Bn.length!==Du.length)return 0;let un=-1;for(const lu of Bn){const _r=bC($t,lu.escapedName);if(!_r)return 0;const Br=KPe(lu,_r,$n);if(!Br)return 0;un&=Br}return un}function ku(Ft,$t,Mi,Bn,Du){var un,lu;if(D===Em)return La(Ft,$t,Mi);if($t===Ri||Ft===Ri)return-1;const _r=Ft.symbol&&AE(Ft.symbol.valueDeclaration),Br=$t.symbol&&AE($t.symbol.valueDeclaration),Qa=go(Ft,_r&&Mi===1?0:Mi),Oo=go($t,Br&&Mi===1?0:Mi);if(Mi===1&&Qa.length&&Oo.length){const T0=!!(Qa[0].flags&4),Gs=!!(Oo[0].flags&4);if(T0&&!Gs)return Bn&&ka(F.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!yl(Qa[0],Oo[0],Bn))return 0}let Wo=-1;const xr=Mi===1?or:pn,mo=Gu(Ft),es=Gu($t);if(mo&64&&es&64&&Ft.symbol===$t.symbol||mo&4&&es&4&&Ft.target===$t.target)for(let T0=0;T0vE(wE,void 0,262144,Mi);return ka(F.Type_0_is_not_assignable_to_type_1,BE(Gs),BE(Hd)),ka(F.Types_of_construct_signatures_are_incompatible),Wo}}else e:for(const T0 of Oo){const Gs=oo();let Hd=Bn;for(const BE of Qa){const wE=qr(BE,T0,!0,Hd,Du,xr(BE,T0));if(wE){Wo&=wE,hu(Gs);continue e}Hd=!1}return Hd&&ka(F.Type_0_provides_no_match_for_the_signature_1,gn(Ft),vE(T0,void 0,void 0,Mi)),0}return Wo}function _o(Ft,$t){const Mi=bte(Ft,0),Bn=bte(Ft,1),Du=D6(Ft);return(Mi.length||Bn.length)&&!Du.length?!!(go($t,0).length&&Mi.length||go($t,1).length&&Bn.length):!0}function pn(Ft,$t){return Ft.parameters.length===0&&$t.parameters.length===0?(Mi,Bn)=>Eo(F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,gn(Mi),gn(Bn)):(Mi,Bn)=>Eo(F.Call_signature_return_types_0_and_1_are_incompatible,gn(Mi),gn(Bn))}function or(Ft,$t){return Ft.parameters.length===0&&$t.parameters.length===0?(Mi,Bn)=>Eo(F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,gn(Mi),gn(Bn)):(Mi,Bn)=>Eo(F.Construct_signature_return_types_0_and_1_are_incompatible,gn(Mi),gn(Bn))}function qr(Ft,$t,Mi,Bn,Du,un){const lu=D===h_?16:D===p4?24:0;return zPe(Mi?aW(Ft):Ft,Mi?aW($t):$t,lu,Bn,ka,un,_r,id);function _r(Br,Qa,Oo){return $n(Br,Qa,3,Oo,void 0,Du)}}function La(Ft,$t,Mi){const Bn=go(Ft,Mi),Du=go($t,Mi);if(Bn.length!==Du.length)return 0;let un=-1;for(let lu=0;luBr.keyType===ct);let _r=-1;for(const Br of un){const Qa=D!==p4&&!Mi&&lu&&Br.type.flags&1?-1:Xm(Ft)&&lu?$n(DD(Ft),Br.type,3,Bn):fl(Ft,Br,Bn,Du);if(!Qa)return 0;_r&=Qa}return _r}function fl(Ft,$t,Mi,Bn){const Du=nW(Ft,$t.keyType);return Du?pd(Du,$t,Mi,Bn):!(Bn&1)&&(D!==p4||Gu(Ft)&8192)&&cEe(Ft)?cs(Ft,$t,Mi,Bn):(Mi&&ka(F.Index_signature_for_type_0_is_missing_in_type_1,gn($t.keyType),gn(Ft)),0)}function H1(Ft,$t){const Mi=kh(Ft),Bn=kh($t);if(Mi.length!==Bn.length)return 0;for(const Du of Bn){const un=k3(Ft,Du.keyType);if(!(un&&$n(un.type,Du.type,3)&&un.isReadonly===Du.isReadonly))return 0}return-1}function yl(Ft,$t,Mi){if(!Ft.declaration||!$t.declaration)return!0;const Bn=E7(Ft.declaration,6),Du=E7($t.declaration,6);return Du===2||Du===4&&Bn!==2||Du!==4&&!Bn?!0:(Mi&&ka(F.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,C3(Bn),C3(Du)),!1)}}function OPe(l){if(l.flags&16)return!1;if(l.flags&3145728)return!!L(l.types,OPe);if(l.flags&465829888){const m=EF(l);if(m&&m!==l)return OPe(m)}return Tg(l)||!!(l.flags&134217728)||!!(l.flags&268435456)}function Q1t(l,m){return xs(l)&&xs(m)?_t:n0(m).filter(D=>Yge(he(l,D.escapedName),Wn(D)))}function Yge(l,m){return!!l&&!!m&&jl(l,32768)&&!!EW(m)}function dii(l){return n0(l).filter(m=>EW(Wn(m)))}function X1t(l,m,D=PPe){return hpt(l,m,D)||fci(l,m)||mci(l,m)||pci(l,m)||gci(l,m)}function jPe(l,m,D){const C=l.types,A=C.map(I=>I.flags&402784252?0:-1);for(const[I,U]of m){let Z=!1;for(let ce=0;ceA[U]),0):l;return w.flags&131072?l:w}function eht(l){if(l.flags&524288){const m=Ag(l);return m.callSignatures.length===0&&m.constructSignatures.length===0&&m.indexInfos.length===0&&m.properties.length>0&&ye(m.properties,D=>!!(D.flags&16777216))}return l.flags&2097152?ye(l.types,eht):!1}function hii(l,m,D){for(const C of n0(l))if(RMe(m,C.escapedName,D))return!0;return!1}function VPe(l){return l===Fo||l===To||l.objectFlags&8?ge:iht(l.symbol,l.typeParameters)}function tht(l){return iht(l,Ur(l).typeParameters)}function iht(l,m=_t){var D,C;const A=Ur(l);if(!A.variances){(D=Gn)==null||D.push(Gn.Phase.CheckTypes,"getVariancesWorker",{arity:m.length,id:Fh(X0(l))});const w=Jk;Jk||(Jk=!0,lb=cD.length),A.variances=_t;const I=[];for(const U of m){const Z=HPe(U);let ce=Z&16384?Z&8192?0:1:Z&8192?2:void 0;if(ce===void 0){let Fe=!1,Te=!1;const $e=Ho;Ho=gi=>gi?Te=!0:Fe=!0;const ut=zte(l,U,sf),zt=zte(l,U,Q0);ce=(ms(zt,ut)?1:0)|(ms(ut,zt)?2:0),ce===3&&ms(zte(l,U,Cc),ut)&&(ce=4),Ho=$e,(Fe||Te)&&(Fe&&(ce|=8),Te&&(ce|=16))}I.push(ce)}w||(Jk=!1,lb=0),A.variances=I,(C=Gn)==null||C.pop({variances:I.map(H.formatVariance)})}return A.variances}function zte(l,m,D){const C=Mb(m,D),A=X0(l);if(Nt(A))return A;const w=l.flags&524288?aT(l,V5(Ur(l).typeParameters,C)):R5(A,V5(A.typeParameters,C));return qt.add(Fh(w)),w}function Qge(l){return qt.has(Fh(l))}function HPe(l){var m;return nn((m=l.symbol)==null?void 0:m.declarations,(D,C)=>D|Eh(C),0)&28672}function fii(l,m){for(let D=0;D!!(m.flags&262144)||Xge(m))}function gii(l,m,D,C){const A=[];let w="";const I=Z(l,0),U=Z(m,0);return`${w}${I},${U}${D}`;function Z(ce,Fe=0){let Te=""+ce.target.id;for(const $e of O0(ce)){if($e.flags&262144){if(C||mii($e)){let ut=A.indexOf($e);ut<0&&(ut=A.length,A.push($e)),Te+="="+ut;continue}w="*"}else if(Fe<4&&Xge($e)){Te+="<"+Z($e,Fe+1)+">";continue}Te+="-"+$e.id}return Te}}function eEe(l,m,D,C,A){if(C===Em&&l.id>m.id){const I=l;l=m,m=I}const w=D?":"+D:"";return Xge(l)&&Xge(m)?gii(l,m,w,A):`${l.id},${m.id}${w}`}function Ite(l,m){if(Gl(l)&6){for(const D of l.links.containingType.types){const C=qo(D,l.escapedName),A=C&&Ite(C,m);if(A)return A}return}return m(l)}function Q9(l){return l.parent&&l.parent.flags&32?X0(cf(l)):void 0}function tEe(l){const m=Q9(l),D=m&&Zc(m)[0];return D&&he(D,l.escapedName)}function Eii(l,m){return Ite(l,D=>{const C=Q9(D);return C?H9(C,m):!1})}function _ii(l,m){return!Ite(m,D=>l4(D)&4?!Eii(l,Q9(D)):!1)}function nht(l,m,D){return Ite(m,C=>l4(C,D)&4?!H9(l,Q9(C)):!1)?void 0:l}function Az(l,m,D,C=3){if(D>=C){if((Gu(l)&96)===96&&(l=uht(l)),l.flags&2097152)return Oe(l.types,U=>Az(U,m,D,C));const A=iEe(l);let w=0,I=0;for(let U=0;U=I&&(w++,w>=C))return!0;I=Z.id}}}return!1}function uht(l){let m;for(;(Gu(l)&96)===96&&(m=K9(l))&&(m.symbol||m.flags&2097152&&Oe(m.types,D=>!!D.symbol));)l=m;return l}function rht(l,m){return(Gu(l)&96)===96&&(l=uht(l)),l.flags&2097152?Oe(l.types,D=>rht(D,m)):iEe(l)===m}function iEe(l){if(l.flags&524288&&!sMe(l)){if(Gu(l)&4&&l.node)return l.node;if(l.symbol&&!(Gu(l)&16&&l.symbol.flags&32))return l.symbol;if(xs(l))return l.target}if(l.flags&262144)return l.symbol;if(l.flags&8388608){do l=l.objectType;while(l.flags&8388608);return l}return l.flags&16777216?l.root:l}function Dii(l,m){return KPe(l,m,hW)!==0}function KPe(l,m,D){if(l===m)return-1;const C=l4(l)&6,A=l4(m)&6;if(C!==A)return 0;if(C){if(_T(l)!==_T(m))return 0}else if((l.flags&16777216)!==(m.flags&16777216))return 0;return Ng(l)!==Ng(m)?0:D(Wn(l),Wn(m))}function xii(l,m,D){const C=Cm(l),A=Cm(m),w=SE(l),I=SE(m),U=F_(l),Z=F_(m);return!!(C===A&&w===I&&U===Z||D&&w<=I)}function Rte(l,m,D,C,A,w){if(l===m)return-1;if(!xii(l,m,D)||S(l.typeParameters)!==S(m.typeParameters))return 0;if(m.typeParameters){const Z=Sf(l.typeParameters,m.typeParameters);for(let ce=0;cem|(D.flags&1048576?aht(D.types):D.flags),0)}function bii(l){if(l.length===1)return l[0];const m=fe?Lu(l,C=>Ic(C,A=>!(A.flags&98304))):l,D=Cii(m)?er(m):nn(m,(C,A)=>F6(C,A)?A:C);return m===l?D:aEe(D,aht(l)&98304)}function yii(l){return nn(l,(m,D)=>F6(D,m)?D:m)}function A4(l){return!!(Gu(l)&4)&&(l.target===Fo||l.target===To)}function Sz(l){return!!(Gu(l)&4)&&l.target===To}function zb(l){return A4(l)||xs(l)}function Ote(l){return A4(l)&&!Sz(l)||xs(l)&&!l.target.readonly}function WPe(l){return A4(l)?O0(l)[0]:void 0}function H5(l){return A4(l)||!(l.flags&98304)&&ms(l,ip)}function GPe(l){return Ote(l)||!(l.flags&98305)&&ms(l,ql)}function JPe(l){if(!(Gu(l)&4)||!(Gu(l.target)&3))return;if(Gu(l)&33554432)return Gu(l)&67108864?l.cachedEquivalentBaseType:void 0;l.objectFlags|=33554432;const m=l.target;if(Gu(m)&1){const A=Vr(m);if(A&&A.expression.kind!==80&&A.expression.kind!==211)return}const D=Zc(m);if(D.length!==1||_6(l.symbol).size)return;let C=S(m.typeParameters)?_a(D[0],Sf(m.typeParameters,O0(l).slice(0,m.typeParameters.length))):D[0];return S(O0(l))>S(m.typeParameters)&&(C=xm(C,Cr(O0(l)))),l.objectFlags|=67108864,l.cachedEquivalentBaseType=C}function oht(l){return fe?l===wn:l===we}function nEe(l){const m=WPe(l);return!!m&&oht(m)}function Bz(l){let m;return xs(l)||!!qo(l,"0")||H5(l)&&!!(m=he(l,"length"))&&e4(m,D=>!!(D.flags&256))}function uEe(l){return H5(l)||Bz(l)}function kii(l,m){const D=he(l,""+m);if(D)return D;if(e4(l,xs))return dht(l,m,ae.noUncheckedIndexedAccess?te:void 0)}function Fii(l){return!(l.flags&240544)}function Tg(l){return!!(l.flags&109472)}function sht(l){const m=xD(l);return m.flags&2097152?Oe(m.types,Tg):Tg(m)}function Aii(l){return l.flags&2097152&&Le(l.types,Tg)||l}function pW(l){return l.flags&16?!0:l.flags&1048576?l.flags&1024?!0:ye(l.types,Tg):Tg(l)}function kD(l){return l.flags&1056?bge(l):l.flags&402653312?ct:l.flags&256?Qt:l.flags&2048?Li:l.flags&512?pr:l.flags&1048576?Sii(l):l}function Sii(l){const m=`B${Fh(l)}`;return Yk(m)??fb(m,hl(l,kD))}function $Pe(l){return l.flags&402653312?ct:l.flags&288?Qt:l.flags&2048?Li:l.flags&512?pr:l.flags&1048576?hl(l,$Pe):l}function Ib(l){return l.flags&1056&&Pb(l)?bge(l):l.flags&128&&Pb(l)?ct:l.flags&256&&Pb(l)?Qt:l.flags&2048&&Pb(l)?Li:l.flags&512&&Pb(l)?pr:l.flags&1048576?hl(l,Ib):l}function lht(l){return l.flags&8192?Xu:l.flags&1048576?hl(l,lht):l}function UPe(l,m){return GEe(l,m)||(l=lht(Ib(l))),Jh(l)}function Bii(l,m,D){if(l&&Tg(l)){const C=m?D?NW(m):m:void 0;l=UPe(l,C)}return l}function qPe(l,m,D,C){if(l&&Tg(l)){const A=m?Hb(D,m,C):void 0;l=UPe(l,A)}return l}function xs(l){return!!(Gu(l)&4&&l.target.objectFlags&8)}function K5(l){return xs(l)&&!!(l.target.combinedFlags&8)}function cht(l){return K5(l)&&l.target.elementFlags.length===1}function rEe(l){return wz(l,l.target.fixedLength)}function dht(l,m,D){return hl(l,C=>{const A=C,w=rEe(A);return w?D&&m>=pPe(A.target)?er([w,D]):w:te})}function wii(l){const m=rEe(l);return m&&V1(m)}function wz(l,m,D=0,C=!1,A=!1){const w=O5(l)-D;if(m(D&12)===(m.target.elementFlags[C]&12))}function hht({value:l}){return l.base10Value==="0"}function fht(l){return Ic(l,m=>fp(m,4194304))}function Lii(l){return hl(l,Nii)}function Nii(l){return l.flags&4?Gf:l.flags&8?eC:l.flags&64?t6:l===Sn||l===Ui||l.flags&114691||l.flags&128&&l.value===""||l.flags&256&&l.value===0||l.flags&2048&&hht(l)?l:Ku}function aEe(l,m){const D=m&~l.flags&98304;return D===0?l:er(D===32768?[l,te]:D===65536?[l,it]:[l,te,it])}function S6(l,m=!1){H.assert(fe);const D=m?je:te;return l===D||l.flags&1048576&&l.types[0]===D?l:er([l,D])}function Pii(l){return Jm||(Jm=Cz("NonNullable",524288,void 0)||Xt),Jm!==Xt?aT(Jm,[l]):Ds([l,Ko])}function FD(l){return fe?kF(l,2097152):l}function mht(l){return fe?er([l,X]):l}function oEe(l){return fe?_Ee(l,X):l}function sEe(l,m,D){return D?RN(m)?S6(l):mht(l):l}function gW(l,m){return MU(m)?FD(l):Y1(m)?oEe(l):l}function B6(l,m){return Ve&&m?_Ee(l,de):l}function EW(l){return l===de||!!(l.flags&1048576)&&l.types[0]===de}function lEe(l){return Ve?_Ee(l,de):mp(l,524288)}function Mii(l,m){return(l.flags&524)!==0&&(m.flags&28)!==0}function cEe(l){const m=Gu(l);return l.flags&2097152?ye(l.types,cEe):!!(l.symbol&&l.symbol.flags&7040&&!(l.symbol.flags&32)&&!o_e(l))||!!(m&4194304)||!!(m&1024&&cEe(l.source))}function CF(l,m){const D=Hs(l.flags,l.escapedName,Gl(l)&8);D.declarations=l.declarations,D.parent=l.parent,D.links.type=m,D.links.target=l,l.valueDeclaration&&(D.valueDeclaration=l.valueDeclaration);const C=Ur(l).nameType;return C&&(D.links.nameType=C),D}function zii(l,m){const D=Vo();for(const C of D6(l)){const A=Wn(C),w=m(A);D.set(C.escapedName,w===A?C:CF(C,w))}return D}function _W(l){if(!(PC(l)&&Gu(l)&8192))return l;const m=l.regularType;if(m)return m;const D=l,C=zii(l,_W),A=Ol(D.symbol,C,D.callSignatures,D.constructSignatures,D.indexInfos);return A.flags=D.flags,A.objectFlags|=D.objectFlags&-8193,l.regularType=A,A}function pht(l,m,D){return{parent:l,propertyName:m,siblings:D,resolvedProperties:void 0}}function ght(l){if(!l.siblings){const m=[];for(const D of ght(l.parent))if(PC(D)){const C=bC(D,l.propertyName);C&&FF(Wn(C),A=>{m.push(A)})}l.siblings=m}return l.siblings}function Iii(l){if(!l.resolvedProperties){const m=new Map;for(const D of ght(l))if(PC(D)&&!(Gu(D)&2097152))for(const C of n0(D))m.set(C.escapedName,C);l.resolvedProperties=ga(m.values())}return l.resolvedProperties}function Rii(l,m){if(!(l.flags&4))return l;const D=Wn(l),C=m&&pht(m,l.escapedName,void 0),A=ZPe(D,C);return A===D?l:CF(l,A)}function Oii(l){const m=Mt.get(l.escapedName);if(m)return m;const D=CF(l,je);return D.flags|=16777216,Mt.set(l.escapedName,D),D}function jii(l,m){const D=Vo();for(const A of D6(l))D.set(A.escapedName,Rii(A,m));if(m)for(const A of Iii(m))D.has(A.escapedName)||D.set(A.escapedName,Oii(A));const C=Ol(l.symbol,D,_t,_t,Lu(kh(l),A=>y_(A.keyType,vm(A.type),A.isReadonly)));return C.objectFlags|=Gu(l)&266240,C}function vm(l){return ZPe(l,void 0)}function ZPe(l,m){if(Gu(l)&196608){if(m===void 0&&l.widened)return l.widened;let D;if(l.flags&98305)D=me;else if(PC(l))D=jii(l,m);else if(l.flags&1048576){const C=m||pht(void 0,void 0,l.types),A=Lu(l.types,w=>w.flags&98304?w:ZPe(w,C));D=er(A,Oe(A,bD)?2:1)}else l.flags&2097152?D=Ds(Lu(l.types,vm)):zb(l)&&(D=R5(l.target,Lu(O0(l),vm)));return D&&m===void 0&&(l.widened=D),D||l}return l}function dEe(l){let m=!1;if(Gu(l)&65536){if(l.flags&1048576)if(Oe(l.types,bD))m=!0;else for(const D of l.types)dEe(D)&&(m=!0);if(zb(l))for(const D of O0(l))dEe(D)&&(m=!0);if(PC(l))for(const D of D6(l)){const C=Wn(D);Gu(C)&65536&&(dEe(C)||pt(D.valueDeclaration,F.Object_literal_s_property_0_implicitly_has_an_1_type,Fr(D),gn(vm(C))),m=!0)}}return m}function LC(l,m,D){const C=gn(vm(m));if(Qn(l)&&!uV(zn(l),ae))return;let A;switch(l.kind){case 226:case 172:case 171:A=Ae?F.Member_0_implicitly_has_an_1_type:F.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 169:const w=l;if(at(w.name)){const I=Dv(w.name);if((CB(w.parent)||n3(w.parent)||u3(w.parent))&&w.parent.parameters.includes(w)&&(uc(w,w.name.escapedText,788968,void 0,w.name.escapedText,!0)||I&&_le(I))){const U="arg"+w.parent.parameters.indexOf(w),Z=b0(w.name)+(w.dotDotDotToken?"[]":"");g4(Ae,l,F.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,U,Z);return}}A=l.dotDotDotToken?Ae?F.Rest_parameter_0_implicitly_has_an_any_type:F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Ae?F.Parameter_0_implicitly_has_an_1_type:F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 208:if(A=F.Binding_element_0_implicitly_has_an_1_type,!Ae)return;break;case 324:pt(l,F.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,C);return;case 330:Ae&&NB(l.parent)&&pt(l.parent.tagName,F.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation,C);return;case 262:case 174:case 173:case 177:case 178:case 218:case 219:if(Ae&&!l.name){D===3?pt(l,F.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,C):pt(l,F.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,C);return}A=Ae?D===3?F._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:F._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 200:Ae&&pt(l,F.Mapped_object_type_implicitly_has_an_any_template_type);return;default:A=Ae?F.Variable_0_implicitly_has_an_1_type:F.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}g4(Ae,l,A,b0(Za(l)),C)}function hEe(l,m,D){s(()=>{Ae&&Gu(m)&65536&&(!D||!LMe(l))&&(dEe(m)||LC(l,m,D))})}function YPe(l,m,D){const C=Cm(l),A=Cm(m),w=AW(l),I=AW(m),U=I?A-1:A,Z=w?U:Math.min(C,U),ce=kC(l);if(ce){const Fe=kC(m);Fe&&D(ce,Fe)}for(let Fe=0;Fem.typeParameter),Vt(l.inferences,(m,D)=>()=>(m.isFixed||(Wii(l),fEe(l.inferences),m.isFixed=!0),lMe(l,D))))}function Kii(l){return BPe(Vt(l.inferences,m=>m.typeParameter),Vt(l.inferences,(m,D)=>()=>lMe(l,D)))}function fEe(l){for(const m of l)m.isFixed||(m.inferredType=void 0)}function eMe(l,m,D){(l.intraExpressionInferenceSites??(l.intraExpressionInferenceSites=[])).push({node:m,type:D})}function Wii(l){if(l.intraExpressionInferenceSites){for(const{node:m,type:D}of l.intraExpressionInferenceSites){const C=m.kind===174?sft(m,2):hf(m,2);C&&AD(l.inferences,D,C)}l.intraExpressionInferenceSites=void 0}}function tMe(l){return{typeParameter:l,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function Eht(l){return{typeParameter:l.typeParameter,candidates:l.candidates&&l.candidates.slice(),contraCandidates:l.contraCandidates&&l.contraCandidates.slice(),inferredType:l.inferredType,priority:l.priority,topLevel:l.topLevel,isFixed:l.isFixed,impliedArity:l.impliedArity}}function Gii(l){const m=ti(l.inferences,gT);return m.length?XPe(Vt(m,Eht),l.signature,l.flags,l.compareTypes):void 0}function iMe(l){return l&&l.mapper}function NC(l){const m=Gu(l);if(m&524288)return!!(m&1048576);const D=!!(l.flags&465829888||l.flags&524288&&!_ht(l)&&(m&4&&(l.node||Oe(O0(l),NC))||m&16&&l.symbol&&l.symbol.flags&14384&&l.symbol.declarations||m&12583968)||l.flags&3145728&&!(l.flags&1024)&&!_ht(l)&&Oe(l.types,NC));return l.flags&3899393&&(l.objectFlags|=524288|(D?1048576:0)),D}function _ht(l){if(l.aliasSymbol&&!l.aliasTypeArguments){const m=Sl(l.aliasSymbol,265);return!!(m&&Tn(m.parent,D=>D.kind===312?!0:D.kind===267?!1:"quit"))}return!1}function xW(l,m,D=0){return!!(l===m||l.flags&3145728&&Oe(l.types,C=>xW(C,m,D))||D<3&&l.flags&16777216&&(xW(SC(l),m,D+1)||xW(BC(l),m,D+1)))}function Jii(l,m){const D=y4(l);return D?!!D.type&&xW(D.type,m):xW(Zs(l),m)}function $ii(l){const m=Vo();FF(l,C=>{if(!(C.flags&128))return;const A=Al(C.value),w=Hs(4,A);w.links.type=me,C.symbol&&(w.declarations=C.symbol.declarations,w.valueDeclaration=C.symbol.valueDeclaration),m.set(A,w)});const D=l.flags&4?[y_(ct,Ko,!1)]:_t;return Ol(void 0,m,_t,_t,D)}function Dht(l,m,D){const C=l.id+","+m.id+","+D.id;if(Bd.has(C))return Bd.get(C);const A=l.id+","+(m.target||m).id;if(kt(Oh,A))return;Oh.push(A);const w=Uii(l,m,D);return Oh.pop(),Bd.set(C,w),w}function nMe(l){return!(Gu(l)&262144)||PC(l)&&Oe(n0(l),m=>nMe(Wn(m)))||xs(l)&&Oe(FC(l),nMe)}function Uii(l,m,D){if(!(k3(l,ct)||n0(l).length!==0&&nMe(l)))return;if(A4(l))return V1(mEe(O0(l)[0],m,D),Sz(l));if(xs(l)){const A=Vt(FC(l),I=>mEe(I,m,D)),w=C_(m)&4?Lu(l.target.elementFlags,I=>I&2?1:I):l.target.elementFlags;return Bg(A,w,l.target.readonly,l.target.labeledElementDeclarations)}const C=D4(1040,void 0);return C.source=l,C.mappedType=m,C.constraintType=D,C}function qii(l){const m=Ur(l);return m.type||(m.type=mEe(l.links.propertyType,l.links.mappedType,l.links.constraintType)),m.type}function mEe(l,m,D){const C=qf(D.type,Fg(m)),A=DD(m),w=tMe(C);return AD([w],l,A),xht(w)||on}function*uMe(l,m,D,C){const A=n0(m);for(const w of A)if(!ldt(w)&&(D||!(w.flags&16777216||Gl(w)&48))){const I=qo(l,w.escapedName);if(!I)yield w;else if(C){const U=Wn(w);if(U.flags&109472){const Z=Wn(I);Z.flags&1||Jh(Z)===Jh(U)||(yield w)}}}}function rMe(l,m,D,C){return Hn(uMe(l,m,D,C))}function Zii(l,m){return!(m.target.combinedFlags&8)&&m.target.minLength>l.target.minLength||!m.target.hasRestElement&&(l.target.hasRestElement||m.target.fixedLength$9(w,A),l)===l&&oMe(l,m)}return!1}function bht(l,m){if(l===m||m.flags&5)return!0;if(m.flags&2097152)return ye(m.types,D=>D===Lc||bht(l,D));if(l.flags&128){const D=l.value;return!!(m.flags&8&&Cht(D,!1)||m.flags&64&&hZ(D,!1)||m.flags&98816&&D===m.intrinsicName||m.flags&268435456&&oMe(df(D),m)||m.flags&134217728&&pEe(l,m))}if(l.flags&134217728){const D=l.texts;return D.length===2&&D[0]===""&&D[1]===""&&ms(l.types[0],m)}return ms(l,m)}function yht(l,m){return l.flags&128?kht([l.value],_t,m):l.flags&134217728?Zt(l.texts,m.texts)?Vt(l.types,eni):kht(l.texts,l.types,m):void 0}function pEe(l,m){const D=yht(l,m);return!!D&&ye(D,(C,A)=>bht(C,m.types[A]))}function eni(l){return l.flags&402653317?l:xF(["",""],[l])}function kht(l,m,D){const C=l.length-1,A=l[0],w=l[C],I=D.texts,U=I.length-1,Z=I[0],ce=I[U];if(C===0&&A.length0){let nu=$e,En=ut;for(;En=zt(nu).indexOf(dn,En),!(En>=0);){if(nu++,nu===l.length)return;En=0}gi(nu,En),ut+=dn.length}else if(ut!kt(yo,Bs)):hn,$n?ti(Kn,Bs=>!kt($n,Bs)):Kn]}function nu(hn,Kn,Yr){const yo=hn.length!!Nn($n));if(!yo||Kn&&yo!==Kn)return;Kn=yo}return Kn}function An(hn,Kn,Yr){let yo=0;if(Yr&1048576){let $n;const Bs=hn.flags&1048576?hn.types:[hn],w0=new Array(Bs.length);let ad=!1;for(const Ys of Kn)if(Nn(Ys))$n=Ys,yo++;else for(let Td=0;Tdw0[kc]?void 0:Td);if(Ys.length){$e(er(Ys),$n);return}}}else for(const $n of Kn)Nn($n)?yo++:$e(hn,$n);if(Yr&2097152?yo===1:yo>0)for(const $n of Kn)Nn($n)&&ut(hn,$n,1)}function _n(hn,Kn,Yr){if(Yr.flags&1048576){let yo=!1;for(const $n of Yr.types)yo=_n(hn,Kn,$n)||yo;return yo}if(Yr.flags&4194304){const yo=Nn(Yr.type);if(yo&&!yo.isFixed&&!vht(hn)){const $n=Dht(hn,Kn,Yr);$n&&ut($n,yo.typeParameter,Gu(hn)&262144?16:8)}return!0}if(Yr.flags&262144){ut(k_(hn,hn.pattern?2:0),Yr,32);const yo=EF(Yr);if(yo&&_n(hn,Kn,yo))return!0;const $n=Vt(n0(hn),Wn),Bs=Vt(kh(hn),w0=>w0!==Tu?w0.type:Ku);return $e(er(Hi($n,Bs)),DD(Kn)),!0}return!1}function hu(hn,Kn){if(hn.flags&16777216)$e(hn.checkType,Kn.checkType),$e(hn.extendsType,Kn.extendsType),$e(SC(hn),SC(Kn)),$e(BC(hn),BC(Kn));else{const Yr=[SC(Kn),BC(Kn)];gi(hn,Yr,Kn.flags,A?64:0)}}function oo(hn,Kn){const Yr=yht(hn,Kn),yo=Kn.types;if(Yr||ye(Kn.texts,$n=>$n.length===0))for(let $n=0;$nel|bm.flags,0);if(!(kc&4)){const el=Bs.value;kc&296&&!Cht(el,!0)&&(kc&=-297),kc&2112&&!hZ(el,!0)&&(kc&=-2113);const bm=nn(Td,(At,ze)=>ze.flags&kc?At.flags&4?At:ze.flags&4?Bs:At.flags&134217728?At:ze.flags&134217728&&pEe(Bs,ze)?Bs:At.flags&268435456?At:ze.flags&268435456&&el===v1t(ze.symbol,el)?Bs:At.flags&128?At:ze.flags&128&&ze.value===el?ze:At.flags&8?At:ze.flags&8?wg(+el):At.flags&32?At:ze.flags&32?wg(+el):At.flags&256?At:ze.flags&256&&ze.value===+el?ze:At.flags&64?At:ze.flags&64?Xii(el):At.flags&2048?At:ze.flags&2048&&I2(ze.value)===el?ze:At.flags&16?At:ze.flags&16?el==="true"?du:el==="false"?Ui:pr:At.flags&512?At:ze.flags&512&&ze.intrinsicName===el?ze:At.flags&32768?At:ze.flags&32768&&ze.intrinsicName===el?ze:At.flags&65536?At:ze.flags&65536&&ze.intrinsicName===el?ze:At:At,Ku);if(!(bm.flags&131072)){$e(bm,w0);continue}}}}$e(Bs,w0)}}function Eo(hn,Kn){var Yr,yo;if(Gu(hn)&4&&Gu(Kn)&4&&(hn.target===Kn.target||A4(hn)&&A4(Kn))){nu(O0(hn),O0(Kn),VPe(hn.target));return}if(Xm(hn)&&Xm(Kn)){$e(cp(hn),cp(Kn)),$e(DD(hn),DD(Kn));const $n=I5(hn),Bs=I5(Kn);$n&&Bs&&$e($n,Bs)}if(Gu(Kn)&32&&!Kn.declaration.nameType){const $n=cp(Kn);if(_n(hn,Kn,$n))return}if(!Yii(hn,Kn)){if(zb(hn)){if(xs(Kn)){const $n=O5(hn),Bs=O5(Kn),w0=O0(Kn),ad=Kn.target.elementFlags;if(xs(hn)&&Tii(hn,Kn)){for(let kc=0;kc0){const Bs=go(Kn,Yr),w0=Bs.length;for(let ad=0;ad1){const m=ti(l,sMe);if(m.length){const D=er(m,2);return Hi(ti(l,C=>!sMe(C)),[D])}}return l}function rni(l){return l.priority&416?Ds(l.contraCandidates):yii(l.contraCandidates)}function ani(l,m){const D=uni(l.candidates),C=nni(l.typeParameter)||W9(l.typeParameter),A=!C&&l.topLevel&&(l.isFixed||!Jii(m,l.typeParameter)),w=C?Lu(D,Jh):A?Lu(D,Ib):D,I=l.priority&416?er(w,2):bii(w);return vm(I)}function lMe(l,m){const D=l.inferences[m];if(!D.inferredType){let C,A;if(l.signature){const I=D.candidates?ani(D,l.signature):void 0,U=D.contraCandidates?rni(D):void 0;if(I||U){const Z=I&&(!U||!(I.flags&131072)&&Oe(D.contraCandidates,ce=>F6(I,ce))&&ye(l.inferences,ce=>ce!==D&&rh(ce.typeParameter)!==D.typeParameter||ye(ce.candidates,Fe=>F6(Fe,I))));C=Z?I:U,A=Z?U:I}else if(l.flags&1)C=ja;else{const Z=_F(D.typeParameter);Z&&(C=_a(Z,Iti(zti(l,m),l.nonFixingMapper)))}}else C=xht(D);D.inferredType=C||cMe(!!(l.flags&2));const w=rh(D.typeParameter);if(w){const I=_a(w,l.nonFixingMapper);(!C||!l.compareTypes(C,xm(I,C)))&&(D.inferredType=A&&l.compareTypes(A,xm(I,A))?A:I)}}return D.inferredType}function cMe(l){return l?me:on}function dMe(l){const m=[];for(let D=0;Dxh(m)||jp(m)||fm(m)))}function gEe(l,m,D,C){switch(l.kind){case 80:if(!g7(l)){const I=Zp(l);return I!==Xt?`${C?$s(C):"-1"}|${Fh(m)}|${Fh(D)}|${Zo(I)}`:void 0}case 110:return`0|${C?$s(C):"-1"}|${Fh(m)}|${Fh(D)}`;case 235:case 217:return gEe(l.expression,m,D,C);case 166:const A=gEe(l.left,m,D,C);return A&&A+"."+l.right.escapedText;case 211:case 212:const w=bF(l);if(w!==void 0){const I=gEe(l.expression,m,D,C);return I&&I+"."+w}break;case 206:case 207:case 262:case 218:case 219:case 174:return`${$s(l)}#${Fh(m)}`}}function C1(l,m){switch(m.kind){case 217:case 235:return C1(l,m.expression);case 226:return ld(m)&&C1(l,m.left)||Xn(m)&&m.operatorToken.kind===28&&C1(l,m.right)}switch(l.kind){case 236:return m.kind===236&&l.keywordToken===m.keywordToken&&l.name.escapedText===m.name.escapedText;case 80:case 81:return g7(l)?m.kind===110:m.kind===80&&Zp(l)===Zp(m)||(ua(m)||js(m))&&sp(Zp(l))===_u(m);case 110:return m.kind===110;case 108:return m.kind===108;case 235:case 217:return C1(l.expression,m);case 211:case 212:const D=bF(l),C=I0(m)?bF(m):void 0;return D!==void 0&&C!==void 0&&C===D&&C1(l.expression,m.expression);case 166:return I0(m)&&l.right.escapedText===bF(m)&&C1(l.left,m.expression);case 226:return Xn(l)&&l.operatorToken.kind===28&&C1(l.right,m)}return!1}function bF(l){if(Iu(l))return l.name.escapedText;if(U0(l))return oni(l);if(js(l)){const m=_0(l);return m?Al(m):void 0}if(io(l))return""+l.parent.parameters.indexOf(l)}function fMe(l){return l.flags&8192?l.escapedName:l.flags&384?Al(""+l.value):void 0}function oni(l){return Pm(l.argumentExpression)?Al(l.argumentExpression.text):ec(l.argumentExpression)?sni(l.argumentExpression):void 0}function sni(l){const m=R0(l,111551,!0);if(!m||!(Mz(m)||m.flags&8))return;const D=m.valueDeclaration;if(D===void 0)return;const C=dt(D);if(C){const A=fMe(C);if(A!==void 0)return A}if(Qy(D)&&B5(D,l)){const A=Dj(D);if(A)return fMe(b1(A));if(J2(D))return V8(D.name)}}function Aht(l,m){for(;I0(l);)if(l=l.expression,C1(l,m))return!0;return!1}function yF(l,m){for(;Y1(l);)if(l=l.expression,C1(l,m))return!0;return!1}function Tz(l,m){if(l&&l.flags&1048576){const D=Adt(l,m);if(D&&Gl(D)&2)return D.links.isDiscriminantProperty===void 0&&(D.links.isDiscriminantProperty=(D.links.checkFlags&192)===192&&!kz(Wn(D))),!!D.links.isDiscriminantProperty}return!1}function Sht(l,m){let D;for(const C of l)if(Tz(m,C.escapedName)){if(D){D.push(C);continue}D=[C]}return D}function lni(l,m){const D=new Map;let C=0;for(const A of l)if(A.flags&61603840){const w=he(A,m);if(w){if(!pW(w))return;let I=!1;FF(w,U=>{const Z=Fh(Jh(U)),ce=D.get(Z);ce?ce!==on&&(D.set(Z,on),I=!0):D.set(Z,A)}),I||C++}}return C>=10&&C*2>=l.length?D:void 0}function jte(l){const m=l.types;if(!(m.length<10||Gu(l)&32768||ui(m,D=>!!(D.flags&59506688))<10)){if(l.keyPropertyName===void 0){const D=L(m,A=>A.flags&59506688?L(n0(A),w=>Tg(Wn(w))?w.escapedName:void 0):void 0),C=D&&lni(m,D);l.keyPropertyName=C?D:"",l.constituentMap=C}return l.keyPropertyName.length?l.keyPropertyName:void 0}}function Vte(l,m){var D;const C=(D=l.constituentMap)==null?void 0:D.get(Fh(Jh(m)));return C!==on?C:void 0}function Bht(l,m){const D=jte(l),C=D&&he(m,D);return C&&Vte(l,C)}function cni(l,m){const D=jte(l),C=D&&Le(m.properties,w=>w.symbol&&w.kind===303&&w.symbol.escapedName===D&&qte(w.initializer)),A=C&&gie(C.initializer);return A&&Vte(l,A)}function wht(l,m){return C1(l,m)||Aht(l,m)}function Tht(l,m){if(l.arguments){for(const D of l.arguments)if(wht(m,D)||yF(D,m))return!0}return!!(l.expression.kind===211&&wht(m,l.expression.expression))}function mMe(l){return(!l.id||l.id<0)&&(l.id=RAe,RAe++),l.id}function dni(l,m){if(!(l.flags&1048576))return ms(l,m);for(const D of l.types)if(ms(D,m))return!0;return!1}function hni(l,m){if(l===m)return l;if(m.flags&131072)return m;const D=`A${Fh(l)},${Fh(m)}`;return Yk(D)??fb(D,fni(l,m))}function fni(l,m){const D=Ic(l,A=>dni(m,A)),C=m.flags&512&&Pb(m)?hl(D,Z9):D;return ms(m,C)?C:l}function pMe(l){const m=Ag(l);return!!(m.callSignatures.length||m.constructSignatures.length||m.members.get("bind")&&F6(l,di))}function Lz(l,m){return gMe(l,m)&m}function fp(l,m){return Lz(l,m)!==0}function gMe(l,m){l.flags&467927040&&(l=Wh(l)||on);const D=l.flags;if(D&268435460)return fe?16317953:16776705;if(D&134217856){const C=D&128&&l.value==="";return fe?C?12123649:7929345:C?12582401:16776705}if(D&40)return fe?16317698:16776450;if(D&256){const C=l.value===0;return fe?C?12123394:7929090:C?12582146:16776450}if(D&64)return fe?16317188:16775940;if(D&2048){const C=hht(l);return fe?C?12122884:7928580:C?12581636:16775940}return D&16?fe?16316168:16774920:D&528?fe?l===Ui||l===Sn?12121864:7927560:l===Ui||l===Sn?12580616:16774920:D&524288?m&(fe?83427327:83886079)?Gu(l)&16&&bD(l)?fe?83427327:83886079:pMe(l)?fe?7880640:16728e3:fe?7888800:16736160:0:D&16384?9830144:D&32768?26607360:D&65536?42917664:D&12288?fe?7925520:16772880:D&67108864?fe?7888800:16736160:D&131072?0:D&1048576?nn(l.types,(C,A)=>C|gMe(A,m),0):D&2097152?mni(l,m):83886079}function mni(l,m){const D=jl(l,402784252);let C=0,A=134217727;for(const w of l.types)if(!(D&&w.flags&524288)){const I=gMe(w,m);C|=I,A&=I}return C&8256|A&134209471}function mp(l,m){return Ic(l,D=>fp(D,m))}function kF(l,m){const D=Lht(mp(fe&&l.flags&2?cl:l,m));if(fe)switch(m){case 524288:return hl(D,C=>fp(C,65536)?Ds([C,fp(C,131072)&&!jl(D,65536)?er([Ko,it]):Ko]):C);case 1048576:return hl(D,C=>fp(C,131072)?Ds([C,fp(C,65536)&&!jl(D,32768)?er([Ko,te]):Ko]):C);case 2097152:case 4194304:return hl(D,C=>fp(C,262144)?Pii(C):C)}return D}function Lht(l){return l===cl?on:l}function EMe(l,m){return m?er([Hr(l),b1(m)]):l}function Nht(l,m){var D;const C=j5(m);if(!Y4(C))return Ot;const A=Q4(C);return he(l,A)||vW((D=G9(l,A))==null?void 0:D.type)||Ot}function Pht(l,m){return e4(l,Bz)&&kii(l,m)||vW(G5(65,l,te,void 0))||Ot}function vW(l){return l&&(ae.noUncheckedIndexedAccess?er([l,de]):l)}function Mht(l){return V1(G5(65,l,te,void 0)||Ot)}function pni(l){return l.parent.kind===209&&_Me(l.parent)||l.parent.kind===303&&_Me(l.parent.parent)?EMe(Hte(l),l.right):b1(l.right)}function _Me(l){return l.parent.kind===226&&l.parent.left===l||l.parent.kind===250&&l.parent.initializer===l}function gni(l,m){return Pht(Hte(l),l.elements.indexOf(m))}function Eni(l){return Mht(Hte(l.parent))}function zht(l){return Nht(Hte(l.parent),l.name)}function _ni(l){return EMe(zht(l),l.objectAssignmentInitializer)}function Hte(l){const{parent:m}=l;switch(m.kind){case 249:return ct;case 250:return Cie(m)||Ot;case 226:return pni(m);case 220:return te;case 209:return gni(m,l);case 230:return Eni(m);case 303:return zht(m);case 304:return _ni(m)}return Ot}function Dni(l){const m=l.parent,D=Rht(m.parent),C=m.kind===206?Nht(D,l.propertyName||l.name):l.dotDotDotToken?Mht(D):Pht(D,m.elements.indexOf(l));return EMe(C,l.initializer)}function Iht(l){return ar(l).resolvedType||b1(l)}function xni(l){return l.initializer?Iht(l.initializer):l.parent.parent.kind===249?ct:l.parent.parent.kind===250&&Cie(l.parent.parent)||Ot}function Rht(l){return l.kind===260?xni(l):Dni(l)}function vni(l){return l.kind===260&&l.initializer&&b3(l.initializer)||l.kind!==208&&l.parent.kind===226&&b3(l.parent.right)}function Rb(l){switch(l.kind){case 217:return Rb(l.expression);case 226:switch(l.operatorToken.kind){case 64:case 76:case 77:case 78:return Rb(l.left);case 28:return Rb(l.right)}}return l}function Oht(l){const{parent:m}=l;return m.kind===217||m.kind===226&&m.operatorToken.kind===64&&m.left===l||m.kind===226&&m.operatorToken.kind===28&&m.right===l?Oht(m):l}function Cni(l){return l.kind===296?Jh(b1(l.expression)):Ku}function EEe(l){const m=ar(l);if(!m.switchTypes){m.switchTypes=[];for(const D of l.caseBlock.clauses)m.switchTypes.push(Cni(D))}return m.switchTypes}function jht(l){if(Oe(l.caseBlock.clauses,D=>D.kind===296&&!t0(D.expression)))return;const m=[];for(const D of l.caseBlock.clauses){const C=D.kind===296?D.expression.text:void 0;m.push(C&&!kt(m,C)?C:void 0)}return m}function bni(l,m){return l.flags&1048576?!L(l.types,D=>!kt(m,D)):kt(m,l)}function Nz(l,m){return!!(l===m||l.flags&131072||m.flags&1048576&&yni(l,m))}function yni(l,m){if(l.flags&1048576){for(const D of l.types)if(!C6(m.types,D))return!1;return!0}return l.flags&1056&&bge(l)===m?!0:C6(m.types,l)}function FF(l,m){return l.flags&1048576?L(l.types,m):m(l)}function yE(l,m){return l.flags&1048576?Oe(l.types,m):m(l)}function e4(l,m){return l.flags&1048576?ye(l.types,m):m(l)}function kni(l,m){return l.flags&3145728?ye(l.types,m):m(l)}function Ic(l,m){if(l.flags&1048576){const D=l.types,C=ti(D,m);if(C===D)return l;const A=l.origin;let w;if(A&&A.flags&1048576){const I=A.types,U=ti(I,Z=>!!(Z.flags&1048576)||m(Z));if(I.length-U.length===D.length-C.length){if(U.length===1)return U[0];w=EPe(1048576,U)}}return DPe(C,l.objectFlags&16809984,void 0,void 0,w)}return l.flags&131072||m(l)?l:Ku}function _Ee(l,m){return Ic(l,D=>D!==m)}function Fni(l){return l.flags&1048576?l.types.length:1}function hl(l,m,D){if(l.flags&131072)return l;if(!(l.flags&1048576))return m(l);const C=l.origin,A=C&&C.flags&1048576?C.types:l.types;let w,I=!1;for(const U of A){const Z=U.flags&1048576?hl(U,m,D):m(U);I||(I=U!==Z),Z&&(w?w.push(Z):w=[Z])}return I?w&&er(w,D?0:1):l}function Vht(l,m,D,C){return l.flags&1048576&&D?er(Vt(l.types,m),1,D,C):hl(l,m)}function Pz(l,m){return Ic(l,D=>(D.flags&m)!==0)}function Hht(l,m){return jl(l,134217804)&&jl(m,402655616)?hl(l,D=>D.flags&4?Pz(m,402653316):U9(D)&&!jl(m,402653188)?Pz(m,128):D.flags&8?Pz(m,264):D.flags&64?Pz(m,2112):D):l}function cT(l){return l.flags===0}function AF(l){return l.flags===0?l.type:l}function dT(l,m){return m?{flags:0,type:l.flags&131072?ja:l}:l}function Ani(l){const m=D4(256);return m.elementType=l,m}function DMe(l){return Et[l.id]||(Et[l.id]=Ani(l))}function Kht(l,m){const D=_W(kD(gie(m)));return Nz(D,l.elementType)?l:DMe(er([l.elementType,D]))}function Sni(l){return l.flags&131072?Nc:V1(l.flags&1048576?er(l.types,2):l)}function Bni(l){return l.finalArrayType||(l.finalArrayType=Sni(l.elementType))}function Kte(l){return Gu(l)&256?Bni(l):l}function wni(l){return Gu(l)&256?l.elementType:Ku}function Tni(l){let m=!1;for(const D of l)if(!(D.flags&131072)){if(!(Gu(D)&256))return!1;m=!0}return m}function Wht(l){const m=Oht(l),D=m.parent,C=Iu(D)&&(D.name.escapedText==="length"||D.parent.kind===213&&at(D.name)&&$0e(D.name)),A=D.kind===212&&D.expression===m&&D.parent.kind===226&&D.parent.operatorToken.kind===64&&D.parent.left===D&&!Q_(D.parent)&&u1(b1(D.argumentExpression),296);return C||A}function Lni(l){return(ua(l)||ko(l)||Mm(l)||io(l))&&!!(f1(l)||Qn(l)&&Nx(l)&&l.initializer&&R2(l.initializer)&&U4(l.initializer))}function DEe(l,m){if(l=yc(l),l.flags&8752)return Wn(l);if(l.flags&7){if(Gl(l)&262144){const C=l.links.syntheticOrigin;if(C&&DEe(C))return Wn(l)}const D=l.valueDeclaration;if(D){if(Lni(D))return Wn(l);if(ua(D)&&D.parent.parent.kind===250){const C=D.parent.parent,A=Wte(C.expression,void 0);if(A){const w=C.awaitModifier?15:13;return G5(w,A,te,void 0)}}m&&Es(m,Su(D,F._0_needs_an_explicit_type_annotation,Fr(l)))}}}function Wte(l,m){if(!(l.flags&67108864))switch(l.kind){case 80:const D=sp(Zp(l));return DEe(D,m);case 110:return Yni(l);case 108:return kMe(l);case 211:{const C=Wte(l.expression,m);if(C){const A=l.name;let w;if(ea(A)){if(!C.symbol)return;w=qo(C,zj(C.symbol,A.escapedText))}else w=qo(C,A.escapedText);return w&&DEe(w,m)}return}case 217:return Wte(l.expression,m)}}function Gte(l){const m=ar(l);let D=m.effectsSignature;if(D===void 0){let C;if(Xn(l)){const I=hT(l.right);C=gze(I)}else l.parent.kind===244?C=Wte(l.expression,void 0):l.expression.kind!==108&&(Y1(l)?C=kE(gW(ya(l.expression),l.expression),l.expression):C=hT(l.expression));const A=go(C&&Gh(C)||on,0),w=A.length===1&&!A[0].typeParameters?A[0]:Oe(A,Ght)?mT(l):void 0;D=m.effectsSignature=w&&Ght(w)?w:fn}return D===fn?void 0:D}function Ght(l){return!!(y4(l)||l.declaration&&(uT(l.declaration)||on).flags&131072)}function Nni(l,m){if(l.kind===1||l.kind===3)return m.arguments[l.parameterIndex];const D=l0(m.expression);return I0(D)?l0(D.expression):void 0}function Pni(l){const m=Tn(l,Zse),D=zn(l),C=QE(D,m.statements.pos);Vs.add(Rd(D,C.start,C.length,F.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}function Jte(l){const m=xEe(l,!1);return Rn=l,tn=m,m}function $te(l){const m=l0(l,!0);return m.kind===97||m.kind===226&&(m.operatorToken.kind===56&&($te(m.left)||$te(m.right))||m.operatorToken.kind===57&&$te(m.left)&&$te(m.right))}function xEe(l,m){for(;;){if(l===Rn)return tn;const D=l.flags;if(D&4096){if(!m){const C=mMe(l),A=b9[C];return A!==void 0?A:b9[C]=xEe(l,!0)}m=!1}if(D&368)l=l.antecedent;else if(D&512){const C=Gte(l.node);if(C){const A=y4(C);if(A&&A.kind===3&&!A.type){const w=l.node.arguments[A.parameterIndex];if(w&&$te(w))return!1}if(Zs(C).flags&131072)return!1}l=l.antecedent}else{if(D&4)return Oe(l.antecedents,C=>xEe(C,!1));if(D&8){const C=l.antecedents;if(C===void 0||C.length===0)return!1;l=C[0]}else if(D&128){if(l.clauseStart===l.clauseEnd&&vmt(l.switchStatement))return!1;l=l.antecedent}else if(D&1024){Rn=void 0;const C=l.target,A=C.antecedents;C.antecedents=l.antecedents;const w=xEe(l.antecedent,!1);return C.antecedents=A,w}else return!(D&1)}}}function vEe(l,m){for(;;){const D=l.flags;if(D&4096){if(!m){const C=mMe(l),A=qk[C];return A!==void 0?A:qk[C]=vEe(l,!0)}m=!1}if(D&496)l=l.antecedent;else if(D&512){if(l.node.expression.kind===108)return!0;l=l.antecedent}else{if(D&4)return ye(l.antecedents,C=>vEe(C,!1));if(D&8)l=l.antecedents[0];else if(D&1024){const C=l.target,A=C.antecedents;C.antecedents=l.antecedents;const w=vEe(l.antecedent,!1);return C.antecedents=A,w}else return!!(D&1)}}}function Jht(l){switch(l.kind){case 110:return!0;case 80:if(!g7(l)){const m=Zp(l);return Mz(m)||Mle(m)&&!CEe(m)}break;case 211:case 212:return Jht(l.expression)&&Ng(ar(l).resolvedSymbol||Xt)}return!1}function w6(l,m,D=m,C,A=(w=>(w=ur(l,Bj))==null?void 0:w.flowNode)()){let w,I=!1,U=0;if(Ti)return Ot;if(!A)return m;Xi++;const Z=oi,ce=AF($e(A));oi=Z;const Fe=Gu(ce)&256&&Wht(l)?Nc:Kte(ce);if(Fe===Ir||l.parent&&l.parent.kind===235&&!(Fe.flags&131072)&&mp(Fe,2097152).flags&131072)return m;return Fe===le?on:Fe;function Te(){return I?w:(I=!0,w=gEe(l,m,D,C))}function $e(Lt){var li;if(U===2e3)return(li=Gn)==null||li.instant(Gn.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:Lt.id}),Ti=!0,Pni(l),Ot;U++;let Gi;for(;;){const yi=Lt.flags;if(yi&4096){for(let mn=Z;mn=0&&Gi.parameterIndex!(mn.flags&163840)):li.kind===221&&yF(li.expression,l)&&(yi=w0(yi,Lt.switchStatement,Lt.clauseStart,Lt.clauseEnd,mn=>!(mn.flags&131072||mn.flags&128&&mn.value==="undefined"))));const Ji=_n(li,yi);Ji&&(yi=Eo(yi,Ji,Lt.switchStatement,Lt.clauseStart,Lt.clauseEnd))}return dT(yi,cT(Gi))}function Ii(Lt){const li=[];let Gi=!1,yi=!1,Ji;for(const mn of Lt.antecedents){if(!Ji&&mn.flags&128&&mn.clauseStart===mn.clauseEnd){Ji=mn;continue}const Kr=$e(mn),ku=AF(Kr);if(ku===m&&m===D)return ku;xa(li,ku),Nz(ku,D)||(Gi=!0),cT(Kr)&&(yi=!0)}if(Ji){const mn=$e(Ji),Kr=AF(mn);if(!(Kr.flags&131072)&&!kt(li,Kr)&&!vmt(Ji.switchStatement)){if(Kr===m&&m===D)return Kr;li.push(Kr),Nz(Kr,D)||(Gi=!0),cT(mn)&&(yi=!0)}}return dT(vn(li,Gi?2:1),yi)}function Nn(Lt){const li=mMe(Lt),Gi=x9[li]||(x9[li]=new Map),yi=Te();if(!yi)return m;const Ji=Gi.get(yi);if(Ji)return Ji;for(let pn=Xe;pn{const pn=Re(_o,yi)||on;return!(pn.flags&131072)&&!(ku.flags&131072)&&Nte(ku,pn)})}function oo(Lt,li,Gi,yi,Ji){if((Gi===37||Gi===38)&&Lt.flags&1048576){const mn=jte(Lt);if(mn&&mn===bF(li)){const Kr=Vte(Lt,b1(yi));if(Kr)return Gi===(Ji?37:38)?Kr:Tg(he(Kr,mn)||on)?_Ee(Lt,Kr):Lt}}return hu(Lt,li,mn=>yo(mn,Gi,yi,Ji))}function Eo(Lt,li,Gi,yi,Ji){if(yiVte(Lt,ku)||on));if(Kr!==on)return Kr}return hu(Lt,li,mn=>ad(mn,Gi,yi,Ji))}function fo(Lt,li,Gi){if(C1(l,li))return kF(Lt,Gi?4194304:8388608);fe&&Gi&&yF(li,l)&&(Lt=kF(Lt,2097152));const yi=_n(li,Lt);return yi?hu(Lt,yi,Ji=>mp(Ji,Gi?4194304:8388608)):Lt}function ka(Lt,li,Gi){const yi=qo(Lt,li);return yi?!!(yi.flags&16777216||Gl(yi)&48)||Gi:!!G9(Lt,li)||!Gi}function ah(Lt,li,Gi){const yi=Q4(li);if(yE(Lt,mn=>ka(mn,yi,!0)))return Ic(Lt,mn=>ka(mn,yi,Gi));if(Gi){const mn=Oei();if(mn)return Ds([Lt,aT(mn,[li,on])])}return Lt}function t4(Lt,li,Gi,yi,Ji){return Ji=Ji!==(Gi.kind===112)!=(yi!==38&&yi!==36),Ou(Lt,li,Ji)}function hn(Lt,li,Gi){switch(li.operatorToken.kind){case 64:case 76:case 77:case 78:return fo(Ou(Lt,li.right,Gi),li.left,Gi);case 35:case 36:case 37:case 38:const yi=li.operatorToken.kind,Ji=Rb(li.left),mn=Rb(li.right);if(Ji.kind===221&&t0(mn))return $n(Lt,Ji,yi,mn,Gi);if(mn.kind===221&&t0(Ji))return $n(Lt,mn,yi,Ji,Gi);if(C1(l,Ji))return yo(Lt,yi,mn,Gi);if(C1(l,mn))return yo(Lt,yi,Ji,Gi);fe&&(yF(Ji,l)?Lt=Yr(Lt,yi,mn,Gi):yF(mn,l)&&(Lt=Yr(Lt,yi,Ji,Gi)));const Kr=_n(Ji,Lt);if(Kr)return oo(Lt,Kr,yi,mn,Gi);const ku=_n(mn,Lt);if(ku)return oo(Lt,ku,yi,Ji,Gi);if(bm(Ji))return At(Lt,yi,mn,Gi);if(bm(mn))return At(Lt,yi,Ji,Gi);if(HN(mn)&&!I0(Ji))return t4(Lt,Ji,mn,yi,Gi);if(HN(Ji)&&!I0(mn))return t4(Lt,mn,Ji,yi,Gi);break;case 104:return ze(Lt,li,Gi);case 103:if(ea(li.left))return Kn(Lt,li,Gi);const _o=Rb(li.right);if(EW(Lt)&&I0(l)&&C1(l.expression,_o)){const pn=b1(li.left);if(Y4(pn)&&bF(l)===Q4(pn))return mp(Lt,Gi?524288:65536)}if(C1(l,_o)){const pn=b1(li.left);if(Y4(pn))return ah(Lt,pn,Gi)}break;case 28:return Ou(Lt,li.right,Gi);case 56:return Gi?Ou(Ou(Lt,li.left,!0),li.right,!0):er([Ou(Lt,li.left,!1),Ou(Lt,li.right,!1)]);case 57:return Gi?er([Ou(Lt,li.left,!0),Ou(Lt,li.right,!0)]):Ou(Ou(Lt,li.left,!1),li.right,!1)}return Lt}function Kn(Lt,li,Gi){const yi=Rb(li.right);if(!C1(l,yi))return Lt;H.assertNode(li.left,ea);const Ji=NEe(li.left);if(Ji===void 0)return Lt;const mn=Ji.parent,Kr=Kc(H.checkDefined(Ji.valueDeclaration,"should always have a declaration"))?Wn(mn):X0(mn);return Fu(Lt,Kr,Gi,!0)}function Yr(Lt,li,Gi,yi){const Ji=li===35||li===37,mn=li===35||li===36?98304:32768,Kr=b1(Gi);return Ji!==yi&&e4(Kr,_o=>!!(_o.flags&mn))||Ji===yi&&e4(Kr,_o=>!(_o.flags&(3|mn)))?kF(Lt,2097152):Lt}function yo(Lt,li,Gi,yi){if(Lt.flags&1)return Lt;(li===36||li===38)&&(yi=!yi);const Ji=b1(Gi),mn=li===35||li===36;if(Ji.flags&98304){if(!fe)return Lt;const Kr=mn?yi?262144:2097152:Ji.flags&65536?yi?131072:1048576:yi?65536:524288;return kF(Lt,Kr)}if(yi){if(!mn&&(Lt.flags&2||yE(Lt,yD))){if(Ji.flags&469893116||yD(Ji))return Ji;if(Ji.flags&524288)return as}const Kr=Ic(Lt,ku=>Nte(ku,Ji)||mn&&Mii(ku,Ji));return Hht(Kr,Ji)}return Tg(Ji)?Ic(Lt,Kr=>!(sht(Kr)&&Nte(Kr,Ji))):Lt}function $n(Lt,li,Gi,yi,Ji){(Gi===36||Gi===38)&&(Ji=!Ji);const mn=Rb(li.expression);if(!C1(l,mn)){fe&&yF(mn,l)&&Ji===(yi.text!=="undefined")&&(Lt=kF(Lt,2097152));const Kr=_n(mn,Lt);return Kr?hu(Lt,Kr,ku=>Bs(ku,yi,Ji)):Lt}return Bs(Lt,yi,Ji)}function Bs(Lt,li,Gi){return Gi?Ys(Lt,li.text):kF(Lt,Vde.get(li.text)||32768)}function w0(Lt,li,Gi,yi,Ji){return Gi!==yi&&ye(EEe(li).slice(Gi,yi),Ji)?mp(Lt,2097152):Lt}function ad(Lt,li,Gi,yi){const Ji=EEe(li);if(!Ji.length)return Lt;const mn=Ji.slice(Gi,yi),Kr=Gi===yi||kt(mn,Ku);if(Lt.flags&2&&!Kr){let or;for(let qr=0;qrNte(ku,or)),ku);if(!Kr)return _o;const pn=Ic(Lt,or=>!(sht(or)&&kt(Ji,Jh(Aii(or)))));return _o.flags&131072?pn:er([_o,pn])}function Ys(Lt,li){switch(li){case"string":return Td(Lt,ct,1);case"number":return Td(Lt,Qt,2);case"bigint":return Td(Lt,Li,4);case"boolean":return Td(Lt,pr,8);case"symbol":return Td(Lt,Xu,16);case"object":return Lt.flags&1?Lt:er([Td(Lt,as,32),Td(Lt,it,131072)]);case"function":return Lt.flags&1?Lt:Td(Lt,di,64);case"undefined":return Td(Lt,te,65536)}return Td(Lt,as,128)}function Td(Lt,li,Gi){return hl(Lt,yi=>bE(yi,li,p4)?fp(yi,Gi)?yi:Ku:F6(li,yi)?li:fp(yi,Gi)?Ds([yi,li]):Ku)}function kc(Lt,li,Gi,yi){const Ji=jht(li);if(!Ji)return Lt;const mn=Ue(li.caseBlock.clauses,_o=>_o.kind===297);if(Gi===yi||mn>=Gi&&mnLz(pn,_o)===_o)}const ku=Ji.slice(Gi,yi);return er(Vt(ku,_o=>_o?Ys(Lt,_o):Ku))}function el(Lt,li,Gi,yi){const Ji=Ue(li.caseBlock.clauses,ku=>ku.kind===297),mn=Gi===yi||Ji>=Gi&&Jiku.kind===296?Ou(Lt,ku.expression,!0):Ku))}function bm(Lt){return(Iu(Lt)&&fu(Lt.name)==="constructor"||U0(Lt)&&t0(Lt.argumentExpression)&&Lt.argumentExpression.text==="constructor")&&C1(l,Lt.expression)}function At(Lt,li,Gi,yi){if(yi?li!==35&&li!==37:li!==36&&li!==38)return Lt;const Ji=b1(Gi);if(!$ze(Ji)&&!Or(Ji))return Lt;const mn=qo(Ji,"prototype");if(!mn)return Lt;const Kr=Wn(mn),ku=nt(Kr)?void 0:Kr;if(!ku||ku===He||ku===di)return Lt;if(nt(Lt))return ku;return Ic(Lt,pn=>_o(pn,ku));function _o(pn,or){return pn.flags&524288&&Gu(pn)&1||or.flags&524288&&Gu(or)&1?pn.symbol===or.symbol:F6(pn,or)}}function ze(Lt,li,Gi){const yi=Rb(li.left);if(!C1(l,yi))return Gi&&fe&&yF(yi,l)?kF(Lt,2097152):Lt;const Ji=li.right,mn=b1(Ji);if(!TC(mn,He))return Lt;const Kr=Gte(li),ku=Kr&&y4(Kr);if(ku&&ku.kind===1&&ku.parameterIndex===0)return Fu(Lt,ku.type,Gi,!0);if(!TC(mn,di))return Lt;const _o=hl(mn,Yn);return nt(Lt)&&(_o===He||_o===di)||!Gi&&!(_o.flags&524288&&!yD(_o))?Lt:Fu(Lt,_o,Gi,!0)}function Yn(Lt){const li=he(Lt,"prototype");if(li&&!nt(li))return li;const Gi=go(Lt,1);return Gi.length?er(Vt(Gi,yi=>Zs(aW(yi)))):Ko}function Fu(Lt,li,Gi,yi){const Ji=Lt.flags&1048576?`N${Fh(Lt)},${Fh(li)},${(Gi?1:0)|(yi?2:0)}`:void 0;return Yk(Ji)??fb(Ji,Er(Lt,li,Gi,yi))}function Er(Lt,li,Gi,yi){if(!Gi){if(yi)return Ic(Lt,_o=>!TC(_o,li));const ku=Fu(Lt,li,!0,!1);return Ic(Lt,_o=>!Nz(_o,ku))}if(Lt.flags&3)return li;const Ji=yi?TC:F6,mn=Lt.flags&1048576?jte(Lt):void 0,Kr=hl(li,ku=>{const _o=mn&&he(ku,mn),pn=_o&&Vte(Lt,_o),or=hl(pn||Lt,yi?qr=>TC(qr,ku)?qr:TC(ku,qr)?ku:Ku:qr=>K1t(qr,ku)?qr:K1t(ku,qr)?ku:F6(qr,ku)?qr:F6(ku,qr)?ku:Ku);return or.flags&131072?hl(Lt,qr=>jl(qr,465829888)&&Ji(ku,Wh(qr)||on)?Ds([qr,ku]):Ku):or});return Kr.flags&131072?F6(li,Lt)?li:ms(Lt,li)?Lt:ms(li,Lt)?li:Ds([Lt,li]):Kr}function fr(Lt,li,Gi){if(Tht(li,l)){const yi=Gi||!$y(li)?Gte(li):void 0,Ji=yi&&y4(yi);if(Ji&&(Ji.kind===0||Ji.kind===1))return Mr(Lt,Ji,li,Gi)}if(EW(Lt)&&I0(l)&&Iu(li.expression)){const yi=li.expression;if(C1(l.expression,Rb(yi.expression))&&at(yi.name)&&yi.name.escapedText==="hasOwnProperty"&&li.arguments.length===1){const Ji=li.arguments[0];if(t0(Ji)&&bF(l)===Al(Ji.text))return mp(Lt,Gi?524288:65536)}}return Lt}function Mr(Lt,li,Gi,yi){if(li.type&&!(nt(Lt)&&(li.type===He||li.type===di))){const Ji=Nni(li,Gi);if(Ji){if(C1(l,Ji))return Fu(Lt,li.type,yi,!1);fe&&yF(Ji,l)&&(yi&&!fp(li.type,65536)||!yi&&e4(li.type,tie))&&(Lt=kF(Lt,2097152));const mn=_n(Ji,Lt);if(mn)return hu(Lt,mn,Kr=>Fu(Kr,li.type,yi,!1))}}return Lt}function Ou(Lt,li,Gi){if(MU(li)||Xn(li.parent)&&(li.parent.operatorToken.kind===61||li.parent.operatorToken.kind===78)&&li.parent.left===li)return xu(Lt,li,Gi);switch(li.kind){case 80:if(!C1(l,li)&&J<5){const yi=Zp(li);if(Mz(yi)){const Ji=yi.valueDeclaration;if(Ji&&ua(Ji)&&!Ji.type&&Ji.initializer&&Jht(l)){J++;const mn=Ou(Lt,Ji.initializer,Gi);return J--,mn}}}case 110:case 108:case 211:case 212:return fo(Lt,li,Gi);case 213:return fr(Lt,li,Gi);case 217:case 235:return Ou(Lt,li.expression,Gi);case 226:return hn(Lt,li,Gi);case 224:if(li.operator===54)return Ou(Lt,li.operand,!Gi);break}return Lt}function xu(Lt,li,Gi){if(C1(l,li))return kF(Lt,Gi?2097152:262144);const yi=_n(li,Lt);return yi?hu(Lt,yi,Ji=>mp(Ji,Gi?2097152:262144)):Lt}}function Mni(l,m){if(l=sp(l),(m.kind===80||m.kind===81)&&(gP(m)&&(m=m.parent),Z_(m)&&(!Q_(m)||D7(m)))){const D=oEe(D7(m)&&m.kind===211?TEe(m,void 0,!0):b1(m));if(sp(ar(m).resolvedSymbol)===l)return D}return X3(m)&&e5(m.parent)&&i0(m.parent)?Dge(m.parent.symbol):cle(m)&&D7(m.parent)?mF(l):E6(l)}function CW(l){return Tn(l.parent,m=>Co(m)&&!nk(m)||m.kind===268||m.kind===312||m.kind===172)}function CEe(l){if(!l.valueDeclaration)return!1;const m=XE(l.valueDeclaration).parent,D=ar(m);return D.flags&131072||(D.flags|=131072,zni(m)||$ht(m)),l.isAssigned||!1}function zni(l){return!!Tn(l.parent,m=>(Co(m)||G2(m))&&!!(ar(m).flags&131072))}function $ht(l){if(l.kind===80){if(Q_(l)){const m=Zp(l);Mle(m)&&(m.isAssigned=!0)}}else ao(l,$ht)}function Mz(l){return l.flags&3&&(OMe(l)&6)!==0}function Ini(l){const m=ar(l);if(m.parameterInitializerContainsUndefined===void 0){if(!D_(l,9))return Xw(l.symbol),!0;const D=!!fp(wW(l,0),16777216);if(!CE())return Xw(l.symbol),!0;m.parameterInitializerContainsUndefined=D}return m.parameterInitializerContainsUndefined}function Rni(l,m){return fe&&m.kind===169&&m.initializer&&fp(l,16777216)&&!Ini(m)?mp(l,524288):l}function Oni(l,m){const D=m.parent;return D.kind===211||D.kind===166||D.kind===213&&D.expression===m||D.kind===212&&D.expression===m&&!(yE(l,qht)&&AC(b1(D.argumentExpression)))}function Uht(l){return l.flags&2097152?Oe(l.types,Uht):!!(l.flags&465829888&&xD(l).flags&1146880)}function qht(l){return l.flags&2097152?Oe(l.types,qht):!!(l.flags&465829888&&!jl(xD(l),98304))}function jni(l,m){const D=(at(l)||Iu(l)||U0(l))&&!((aE(l.parent)||bk(l.parent))&&l.parent.tagName===l)&&(m&&m&32?hf(l,8):hf(l,void 0));return D&&!kz(D)}function xMe(l,m,D){return!(D&&D&2)&&yE(l,Uht)&&(Oni(l,m)||jni(m,D))?hl(l,xD):l}function Zht(l){return!!Tn(l,m=>{const D=m.parent;return D===void 0?"quit":tc(D)?D.expression===m&&ec(m):eh(D)?D.name===m||D.propertyName===m:!1})}function bEe(l,m){if(Ut&&hC(l,111551)&&!ck(m)){const D=md(l);O1(l,!0)&1160127&&(mg(ae)||fk(ae)&&Zht(m)||!OW(sp(D))?T5(l):n1(l))}}function Vni(l,m){var D;const C=Wn(l),A=l.valueDeclaration;if(A){if(js(A)&&!A.initializer&&!A.dotDotDotToken&&A.parent.elements.length>=2){const w=A.parent.parent;if(w.kind===260&&Gb(A)&6||w.kind===169){const I=ar(w);if(!(I.flags&4194304)){I.flags|=4194304;const U=bi(w,0),Z=U&&hl(U,xD);if(I.flags&=-4194305,Z&&Z.flags&1048576&&!(w.kind===169&&CEe(l))){const ce=A.parent,Fe=w6(ce,Z,Z,void 0,m.flowNode);return Fe.flags&131072?Ku:v4(A,Fe,!0)}}}}if(io(A)&&!A.type&&!A.initializer&&!A.dotDotDotToken){const w=A.parent;if(w.parameters.length>=2&&Uge(w)){const I=yW(w);if(I&&I.parameters.length===1&&th(I)){const U=Dz(_a(Wn(I.parameters[0]),(D=jb(w))==null?void 0:D.nonFixingMapper));if(U.flags&1048576&&e4(U,xs)&&!CEe(l)){const Z=w6(w,U,U,void 0,m.flowNode),ce=w.parameters.indexOf(A)-(T2(w)?1:0);return qf(Z,wg(ce))}}}}}return C}function Hni(l,m){if(g7(l))return Ute(l);const D=Zp(l);if(D===Xt)return Ot;if(D===It){if(Nft(l))return pt(l,F.arguments_cannot_be_referenced_in_property_initializers),Ot;const Ii=Nm(l);return Ce<2&&(Ii.kind===219?pt(l,F.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):Yu(Ii,1024)&&pt(l,F.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),ar(Ii).flags|=512,Wn(D)}Wni(l)&&bEe(D,l);const C=sp(D),A=Vze(C,l);S5(A)&&vPe(l,A)&&A.declarations&&m3(l,A.declarations,l.escapedText);let w=C.valueDeclaration;if(w&&C.flags&32&&mr(w)&&w.name!==l){let Ii=tf(l,!1,!1);for(;Ii.kind!==312&&Ii.parent!==w;)Ii=tf(Ii,!1,!1);Ii.kind!==312&&(ar(w).flags|=262144,ar(Ii).flags|=262144,ar(l).flags|=536870912)}$ni(l,D);let I=Vni(C,l);const U=f7(l);if(U){if(!(C.flags&3)&&!(Qn(l)&&C.flags&512)){const Ii=C.flags&384?F.Cannot_assign_to_0_because_it_is_an_enum:C.flags&32?F.Cannot_assign_to_0_because_it_is_a_class:C.flags&1536?F.Cannot_assign_to_0_because_it_is_a_namespace:C.flags&16?F.Cannot_assign_to_0_because_it_is_a_function:C.flags&2097152?F.Cannot_assign_to_0_because_it_is_an_import:F.Cannot_assign_to_0_because_it_is_not_a_variable;return pt(l,Ii,Fr(D)),Ot}if(Ng(C))return C.flags&3?pt(l,F.Cannot_assign_to_0_because_it_is_a_constant,Fr(D)):pt(l,F.Cannot_assign_to_0_because_it_is_a_read_only_property,Fr(D)),Ot}const Z=C.flags&2097152;if(C.flags&3){if(U===1)return O0e(l)?kD(I):I}else if(Z)w=rp(D);else return I;if(!w)return I;I=xMe(I,l,m);const ce=XE(w).kind===169,Fe=CW(w);let Te=CW(l);const $e=Te!==Fe,ut=l.parent&&l.parent.parent&&d5(l.parent)&&_Me(l.parent.parent),zt=D.flags&134217728,gi=I===ni||I===Nc,Wi=gi&&l.parent.kind===235;for(;Te!==Fe&&(Te.kind===218||Te.kind===219||lq(Te))&&(Mz(C)&&I!==Nc||ce&&!CEe(C));)Te=CW(Te);const dn=ce||Z||$e||ut||zt||Kni(l,w)||I!==ni&&I!==Nc&&(!fe||(I.flags&16387)!==0||ck(l)||hMe(l)||l.parent.kind===281)||l.parent.kind===235||w.kind===260&&w.exclamationToken||w.flags&33554432,nu=Wi?te:dn?ce?Rni(I,w):I:gi?te:S6(I),En=Wi?FD(w6(l,I,nu,Te)):w6(l,I,nu,Te);if(!Wht(l)&&(I===ni||I===Nc)){if(En===ni||En===Nc)return Ae&&(pt(Za(w),F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Fr(D),gn(En)),pt(l,F.Variable_0_implicitly_has_an_1_type,Fr(D),gn(En))),RW(En)}else if(!dn&&!Fz(I)&&Fz(En))return pt(l,F.Variable_0_is_used_before_being_assigned,Fr(D)),I;return U?kD(En):En}function Kni(l,m){if(js(m)){const D=Tn(l,js);return D&&XE(D)===XE(m)}}function Wni(l){var m;const D=l.parent;if(D){if(Iu(D)&&D.expression===l||eh(D)&&D.isTypeOnly)return!1;const C=(m=D.parent)==null?void 0:m.parent;if(C&&Gc(C)&&C.isTypeOnly)return!1}return!0}function Gni(l,m){return!!Tn(l,D=>D===m?"quit":Co(D)||D.parent&&ko(D.parent)&&!Kc(D.parent)&&D.parent.initializer===D)}function Jni(l,m){return Tn(l,D=>D===m?"quit":D===m.initializer||D===m.condition||D===m.incrementor||D===m.statement)}function vMe(l){return Tn(l,m=>!m||U0e(m)?"quit":Tx(m,!1))}function $ni(l,m){if(Ce>=2||!(m.flags&34)||!m.valueDeclaration||la(m.valueDeclaration)||m.valueDeclaration.parent.kind===299)return;const D=YE(m.valueDeclaration),C=Gni(l,D),A=vMe(D);if(A){if(C){let w=!0;if(vk(D)){const I=Fv(m.valueDeclaration,261);if(I&&I.parent===D){const U=Jni(l.parent,D);if(U){const Z=ar(U);Z.flags|=8192;const ce=Z.capturedBlockScopeBindings||(Z.capturedBlockScopeBindings=[]);xa(ce,m),U===D.initializer&&(w=!1)}}}w&&(ar(A).flags|=4096)}if(vk(D)){const w=Fv(m.valueDeclaration,261);w&&w.parent===D&&qni(l,D)&&(ar(m.valueDeclaration).flags|=65536)}ar(m.valueDeclaration).flags|=32768}C&&(ar(m.valueDeclaration).flags|=16384)}function Uni(l,m){const D=ar(l);return!!D&&kt(D.capturedBlockScopeBindings,_u(m))}function qni(l,m){let D=l;for(;D.parent.kind===217;)D=D.parent;let C=!1;if(Q_(D))C=!0;else if(D.parent.kind===224||D.parent.kind===225){const A=D.parent;C=A.operator===46||A.operator===47}return C?!!Tn(D,A=>A===m?"quit":A===m.statement):!1}function CMe(l,m){if(ar(l).flags|=2,m.kind===172||m.kind===176){const D=m.parent;ar(D).flags|=4}else ar(m).flags|=4}function Yht(l){return ik(l)?l:Co(l)?void 0:ao(l,Yht)}function bMe(l){const m=_u(l),D=X0(m);return qc(D)===Ct}function Qht(l,m,D){const C=m.parent;B2(C)&&!bMe(C)&&Bj(l)&&l.flowNode&&!vEe(l.flowNode,!1)&&pt(l,D)}function Zni(l,m){ko(m)&&Kc(m)&&ve&&m.initializer&&IO(m.initializer,l.pos)&&o4(m.parent)&&pt(l,F.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function Ute(l){const m=ck(l);let D=tf(l,!0,!0),C=!1,A=!1;for(D.kind===176&&Qht(l,D,F.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);;){if(D.kind===219&&(D=tf(D,!1,!A),C=!0),D.kind===167){D=tf(D,!C,!1),A=!0;continue}break}if(Zni(l,D),A)pt(l,F.this_cannot_be_referenced_in_a_computed_property_name);else switch(D.kind){case 267:pt(l,F.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 266:pt(l,F.this_cannot_be_referenced_in_current_location);break;case 176:Xht(l,D)&&pt(l,F.this_cannot_be_referenced_in_constructor_arguments);break}!m&&C&&Ce<2&&CMe(l,D);const w=yMe(l,!0,D);if(De){const I=Wn(St);if(w===I&&C)pt(l,F.The_containing_arrow_function_captures_the_global_value_of_this);else if(!w){const U=pt(l,F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!la(D)){const Z=yMe(D);Z&&Z!==I&&Es(U,Su(D,F.An_outer_value_of_this_is_shadowed_by_this_container))}}}return w||me}function yMe(l,m=!0,D=tf(l,!1,!1)){const C=Qn(l);if(Co(D)&&(!AMe(l)||T2(D))){let A=g6(D)||C&&Xni(D);if(!A){const w=Qni(D);if(C&&w){const I=ya(w).symbol;I&&I.members&&I.flags&16&&(A=X0(I).thisType)}else AE(D)&&(A=X0(Ks(D.symbol)).thisType);A||(A=nft(D))}if(A)return w6(l,A)}if(mr(D.parent)){const A=_u(D.parent),w=No(D)?Wn(A):X0(A).thisType;return w6(l,w)}if(la(D))if(D.commonJsModuleIndicator){const A=_u(D);return A&&Wn(A)}else{if(D.externalModuleIndicator)return te;if(m)return Wn(St)}}function Yni(l){const m=tf(l,!1,!1);if(Co(m)){const D=dp(m);if(D.thisParameter)return DEe(D.thisParameter)}if(mr(m.parent)){const D=_u(m.parent);return No(m)?Wn(D):X0(D).thisType}}function Qni(l){if(l.kind===218&&Xn(l.parent)&&Xl(l.parent)===3)return l.parent.left.expression.expression;if(l.kind===174&&l.parent.kind===210&&Xn(l.parent.parent)&&Xl(l.parent.parent)===6)return l.parent.parent.left.expression;if(l.kind===218&&l.parent.kind===303&&l.parent.parent.kind===210&&Xn(l.parent.parent.parent)&&Xl(l.parent.parent.parent)===6)return l.parent.parent.parent.left.expression;if(l.kind===218&&Jc(l.parent)&&at(l.parent.name)&&(l.parent.name.escapedText==="value"||l.parent.name.escapedText==="get"||l.parent.name.escapedText==="set")&&ys(l.parent.parent)&&Mo(l.parent.parent.parent)&&l.parent.parent.parent.arguments[2]===l.parent.parent&&Xl(l.parent.parent.parent)===9)return l.parent.parent.parent.arguments[0].expression;if(dc(l)&&at(l.name)&&(l.name.escapedText==="value"||l.name.escapedText==="get"||l.name.escapedText==="set")&&ys(l.parent)&&Mo(l.parent.parent)&&l.parent.parent.arguments[2]===l.parent&&Xl(l.parent.parent)===9)return l.parent.parent.arguments[0].expression}function Xni(l){const m=LU(l);if(m&&m.typeExpression)return Ar(m.typeExpression);const D=xz(l);if(D)return kC(D)}function Xht(l,m){return!!Tn(l,D=>$0(D)?"quit":D.kind===169&&D.parent===m)}function kMe(l){const m=l.parent.kind===213&&l.parent.expression===l,D=fj(l,!0);let C=D,A=!1,w=!1;if(!m){for(;C&&C.kind===219;)Yu(C,1024)&&(w=!0),C=fj(C,!0),A=Ce<2;C&&Yu(C,1024)&&(w=!0)}let I=0;if(!C||!Fe(C)){const Te=Tn(l,$e=>$e===C?"quit":$e.kind===167);return Te&&Te.kind===167?pt(l,F.super_cannot_be_referenced_in_a_computed_property_name):m?pt(l,F.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!C||!C.parent||!(mr(C.parent)||C.parent.kind===210)?pt(l,F.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):pt(l,F.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),Ot}if(!m&&D.kind===176&&Qht(l,C,F.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),No(C)||m?(I=32,!m&&Ce>=2&&Ce<=8&&(ko(C)||zl(C))&&Ibe(l.parent,Te=>{(!la(Te)||cm(Te))&&(ar(Te).flags|=2097152)})):I=16,ar(l).flags|=I,C.kind===174&&w&&(nf(l.parent)&&Q_(l.parent)?ar(C).flags|=256:ar(C).flags|=128),A&&CMe(l.parent,C),C.parent.kind===210)return Ce<2?(pt(l,F.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Ot):me;const U=C.parent;if(!B2(U))return pt(l,F.super_can_only_be_referenced_in_a_derived_class),Ot;if(bMe(U))return m?Ot:Ct;const Z=X0(_u(U)),ce=Z&&Zc(Z)[0];if(!ce)return Ot;if(C.kind===176&&Xht(l,C))return pt(l,F.super_cannot_be_referenced_in_constructor_arguments),Ot;return I===32?qc(Z):xm(ce,Z.thisType);function Fe(Te){return m?Te.kind===176:mr(Te.parent)||Te.parent.kind===210?No(Te)?Te.kind===174||Te.kind===173||Te.kind===177||Te.kind===178||Te.kind===172||Te.kind===175:Te.kind===174||Te.kind===173||Te.kind===177||Te.kind===178||Te.kind===172||Te.kind===171||Te.kind===176:!1}}function eft(l){return(l.kind===174||l.kind===177||l.kind===178)&&l.parent.kind===210?l.parent:l.kind===218&&l.parent.kind===303?l.parent.parent:void 0}function tft(l){return Gu(l)&4&&l.target===bc?O0(l)[0]:void 0}function eui(l){return hl(l,m=>m.flags&2097152?L(m.types,tft):tft(m))}function ift(l,m){let D=l,C=m;for(;C;){const A=eui(C);if(A)return A;if(D.parent.kind!==303)break;D=D.parent.parent,C=MC(D,void 0)}}function nft(l){if(l.kind===219)return;if(Uge(l)){const D=yW(l);if(D){const C=D.thisParameter;if(C)return Wn(C)}}const m=Qn(l);if(De||m){const D=eft(l);if(D){const A=MC(D,void 0),w=ift(D,A);return w?_a(w,iMe(jb(D))):vm(A?FD(A):Rc(D))}const C=i5(l.parent);if(ld(C)){const A=C.left;if(I0(A)){const{expression:w}=A;if(m&&at(w)){const I=zn(C);if(I.commonJsModuleIndicator&&Zp(w)===I.symbol)return}return vm(Rc(w))}}}}function uft(l){const m=l.parent;if(!Uge(m))return;const D=nk(m);if(D&&D.arguments){const A=REe(D),w=m.parameters.indexOf(l);if(l.dotDotDotToken)return XMe(A,w,A.length,me,void 0,0);const I=ar(D),U=I.resolvedSignature;I.resolvedSignature=mi;const Z=w0)return V9(D.name,!0,!1)}}function uui(l,m){const D=Nm(l);if(D){let C=yEe(D,m);if(C){const A=kd(D);if(A&1){const w=(A&2)!==0;C.flags&1048576&&(C=Ic(C,U=>!!Hb(1,U,w)));const I=Hb(1,C,(A&2)!==0);if(!I)return;C=I}if(A&2){const w=hl(C,W5);return w&&er([w,Emt(w)])}return C}}}function rui(l,m){const D=hf(l,m);if(D){const C=W5(D);return C&&er([C,Emt(C)])}}function aui(l,m){const D=Nm(l);if(D){const C=kd(D);let A=yEe(D,m);if(A){const w=(C&2)!==0;return!l.asteriskToken&&A.flags&1048576&&(A=Ic(A,I=>!!Hb(1,I,w))),l.asteriskToken?A:Hb(0,A,w)}}}function AMe(l){let m=!1;for(;l.parent&&!Co(l.parent);){if(io(l.parent)&&(m||l.parent.initializer===l))return!0;js(l.parent)&&l.parent.initializer===l&&(m=!0),l=l.parent}return!1}function rft(l,m){const D=!!(kd(m)&2),C=yEe(m,void 0);if(C)return Hb(l,C,D)||void 0}function yEe(l,m){const D=uT(l);if(D)return D;const C=LMe(l);if(C&&!Fge(C)){const w=Zs(C),I=kd(l);return I&1?Ic(w,U=>!!(U.flags&58998787)||vze(U,I,void 0)):I&2?Ic(w,U=>!!(U.flags&58998787)||!!jz(U)):w}const A=nk(l);if(A)return hf(A,m)}function aft(l,m){const C=REe(l).indexOf(m);return C===-1?void 0:SMe(l,C)}function SMe(l,m){if(dm(l))return m===0?ct:m===1?Ydt(!1):me;const D=ar(l).resolvedSignature===Wu?Wu:mT(l);if(zh(l)&&m===0)return SEe(D,l);const C=D.parameters.length-1;return th(D)&&m>=C?qf(Wn(D.parameters[C]),wg(m-C),256):Lg(D,m)}function oui(l){const m=hze(l);return m?DF(m):void 0}function sui(l,m){if(l.parent.kind===215)return aft(l.parent,m)}function lui(l,m){const D=l.parent,{left:C,operatorToken:A,right:w}=D;switch(A.kind){case 64:case 77:case 76:case 78:return l===w?dui(D):void 0;case 57:case 61:const I=hf(D,m);return l===w&&(I&&I.pattern||!I&&!uye(D))?b1(C):I;case 56:case 28:return l===w?hf(D,m):void 0;default:return}}function cui(l){if(Zg(l)&&l.symbol)return l.symbol;if(at(l))return Zp(l);if(Iu(l)){const D=b1(l.expression);return ea(l.name)?m(D,l.name):qo(D,l.name.escapedText)}if(U0(l)){const D=Rc(l.argumentExpression);if(!Y4(D))return;const C=b1(l.expression);return qo(C,Q4(D))}return;function m(D,C){const A=LEe(C.escapedText,C);return A&&KMe(D,A)}}function dui(l){var m,D;const C=Xl(l);switch(C){case 0:case 4:const A=cui(l.left),w=A&&A.valueDeclaration;if(w&&(ko(w)||Mm(w))){const Z=f1(w);return Z&&_a(Ar(Z),Ur(A).mapper)||(ko(w)?w.initializer&&b1(l.left):void 0)}return C===0?b1(l.left):oft(l);case 5:if(kEe(l,C))return oft(l);if(!Zg(l.left)||!l.left.symbol)return b1(l.left);{const Z=l.left.symbol.valueDeclaration;if(!Z)return;const ce=Po(l.left,I0),Fe=f1(Z);if(Fe)return Ar(Fe);if(at(ce.expression)){const Te=ce.expression,$e=uc(Te,Te.escapedText,111551,void 0,Te.escapedText,!0);if($e){const ut=$e.valueDeclaration&&f1($e.valueDeclaration);if(ut){const zt=Q3(ce);if(zt!==void 0)return Ob(Ar(ut),zt)}return}}return Qn(Z)||Z===l.left?void 0:b1(l.left)}case 1:case 6:case 3:case 2:let I;C!==2&&(I=Zg(l.left)?(m=l.left.symbol)==null?void 0:m.valueDeclaration:void 0),I||(I=(D=l.symbol)==null?void 0:D.valueDeclaration);const U=I&&f1(I);return U?Ar(U):void 0;case 7:case 8:case 9:return H.fail("Does not apply");default:return H.assertNever(C)}}function kEe(l,m=Xl(l)){if(m===4)return!0;if(!Qn(l)||m!==5||!at(l.left.expression))return!1;const D=l.left.expression.escapedText,C=uc(l.left,D,111551,void 0,void 0,!0,!0);return mq(C==null?void 0:C.valueDeclaration)}function oft(l){if(!l.symbol)return b1(l.left);if(l.symbol.valueDeclaration){const A=f1(l.symbol.valueDeclaration);if(A){const w=Ar(A);if(w)return w}}const m=Po(l.left,I0);if(!zp(tf(m.expression,!1,!1)))return;const D=Ute(m.expression),C=Q3(m);return C!==void 0&&Ob(D,C)||void 0}function hui(l){return!!(Gl(l)&262144&&!l.links.type&&xC(l,0)>=0)}function Ob(l,m,D){return hl(l,C=>{var A;if(Xm(C)&&!C.declaration.nameType){const w=cp(C),I=Wh(w)||w,U=D||df(Qr(m));if(ms(U,I))return Ige(C,U)}else if(C.flags&3670016){const w=qo(C,m);if(w)return hui(w)?void 0:B6(Wn(w),!!(w&&w.flags&16777216));if(xs(C)&&i3(m)&&+m>=0){const I=wz(C,C.target.fixedLength,0,!1,!0);if(I)return I}return(A=qNe(ZNe(C),D||df(Qr(m))))==null?void 0:A.type}},!0)}function sft(l,m){if(H.assert(zp(l)),!(l.flags&67108864))return BMe(l,m)}function BMe(l,m){const D=l.parent,C=Jc(l)&&FMe(l,m);if(C)return C;const A=MC(D,m);if(A){if(iT(l)){const w=_u(l);return Ob(A,w.escapedName,Ur(w).nameType)}if(Ix(l)){const w=Za(l);if(w&&Ps(w)){const I=ya(w.expression),U=Y4(I)&&Ob(A,Q4(I));if(U)return U}}if(l.name){const w=j5(l.name);return hl(A,I=>{var U;return(U=qNe(ZNe(I),w))==null?void 0:U.type},!0)}}}function fui(l){let m,D;for(let C=0;C{if(xs(w)){if((C===void 0||mA)?D-m:0,U=I>0&&w.target.hasRestElement?sW(w.target,3):0;return I>0&&I<=U?O0(w)[O5(w)-I]:wz(w,C===void 0?w.target.fixedLength:Math.min(w.target.fixedLength,C),D===void 0||A===void 0?U:Math.min(U,D-A),!1,!0)}return(!C||mH5(Z)?qf(Z,wg(I)):Z,!0))}function gui(l,m){const D=l.parent;return KU(D)?hf(l,m):r3(D)?pui(D,l,m):void 0}function lft(l,m){if(oE(l)){const D=MC(l.parent,m);return!D||nt(D)?void 0:Ob(D,MP(l.name))}else return hf(l.parent,m)}function qte(l){switch(l.kind){case 11:case 9:case 10:case 15:case 228:case 112:case 97:case 106:case 80:case 157:return!0;case 211:case 217:return qte(l.expression);case 294:return!l.expression||qte(l.expression)}return!1}function Eui(l,m){return cni(m,l)||jPe(m,Hi(Vt(ti(l.properties,D=>D.symbol?D.kind===303?qte(D.initializer)&&Tz(m,D.symbol.escapedName):D.kind===304?Tz(m,D.symbol.escapedName):!1:!1),D=>[()=>gie(D.kind===303?D.initializer:D.name),D.symbol.escapedName]),Vt(ti(n0(m),D=>{var C;return!!(D.flags&16777216)&&!!((C=l==null?void 0:l.symbol)!=null&&C.members)&&!l.symbol.members.has(D.escapedName)&&Tz(m,D.escapedName)}),D=>[()=>te,D.escapedName])),ms)}function _ui(l,m){const D=Qte(SF(l));return jPe(m,Hi(Vt(ti(l.properties,C=>!!C.symbol&&C.kind===291&&Tz(m,C.symbol.escapedName)&&(!C.initializer||qte(C.initializer))),C=>[C.initializer?()=>gie(C.initializer):()=>du,C.symbol.escapedName]),Vt(ti(n0(m),C=>{var A;if(!(C.flags&16777216)||!((A=l==null?void 0:l.symbol)!=null&&A.members))return!1;const w=l.parent.parent;return C.escapedName===D&&r3(w)&&uB(w.children).length?!1:!l.symbol.members.has(C.escapedName)&&Tz(m,C.escapedName)}),C=>[()=>te,C.escapedName])),ms)}function MC(l,m){const D=zp(l)?sft(l,m):hf(l,m),C=FEe(D,l,m);if(C&&!(m&&m&2&&C.flags&8650752)){const A=hl(C,w=>Gu(w)&32?w:Gh(w),!0);return A.flags&1048576&&ys(l)?Eui(l,A):A.flags&1048576&&W2(l)?_ui(l,A):A}}function FEe(l,m,D){if(l&&jl(l,465829888)){const C=jb(m);if(C&&D&1&&Oe(C.inferences,Xai))return AEe(l,C.nonFixingMapper);if(C!=null&&C.returnMapper){const A=AEe(l,C.returnMapper);return A.flags&1048576&&C6(A.types,Sn)&&C6(A.types,Ru)?Ic(A,w=>w!==Sn&&w!==Ru):A}}return l}function AEe(l,m){return l.flags&465829888?_a(l,m):l.flags&1048576?er(Vt(l.types,D=>AEe(D,m)),0):l.flags&2097152?Ds(Vt(l.types,D=>AEe(D,m))):l}function hf(l,m){var D;if(l.flags&67108864)return;const C=dft(l,!m);if(C>=0)return Cu[C];const{parent:A}=l;switch(A.kind){case 260:case 169:case 172:case 171:case 208:return nui(l,m);case 219:case 253:return uui(l,m);case 229:return aui(A,m);case 223:return rui(A,m);case 213:case 214:return aft(A,l);case 170:return oui(A);case 216:case 234:return q3(A.type)?hf(A,m):Ar(A.type);case 226:return lui(l,m);case 303:case 304:return BMe(A,m);case 305:return hf(A.parent,m);case 209:{const w=A,I=MC(w,m),U=j8(w.elements,l),Z=(D=ar(w)).spreadIndices??(D.spreadIndices=fui(w.elements));return wMe(I,U,w.elements.length,Z.first,Z.last)}case 227:return mui(l,m);case 239:return H.assert(A.parent.kind===228),sui(A.parent,l);case 217:{if(Qn(A)){if(Ile(A))return Ar(Rle(A));const w=xv(A);if(w&&!q3(w.typeExpression.type))return Ar(w.typeExpression.type)}return hf(A,m)}case 235:return hf(A,m);case 238:return Ar(A.type);case 277:return dt(A);case 294:return gui(A,m);case 291:case 293:return lft(A,m);case 286:case 285:return vui(A,m)}}function cft(l){Zte(l,hf(l,void 0),!0)}function Zte(l,m,D){kr[Eu]=l,Cu[Eu]=m,bu[Eu]=D,Eu++}function bW(){Eu--}function dft(l,m){for(let D=Eu-1;D>=0;D--)if(l===kr[D]&&(m||!bu[D]))return D;return-1}function Dui(l,m){sa[o0]=l,p0[o0]=m,o0++}function xui(){o0--}function jb(l){for(let m=o0-1;m>=0;m--)if(S2(l,sa[m]))return p0[m]}function vui(l,m){if(aE(l)&&m!==4){const D=dft(l.parent,!m);if(D>=0)return Cu[D]}return SMe(l,0)}function SEe(l,m){return $ft(m)!==0?Cui(l,m):kui(l,m)}function Cui(l,m){let D=cze(l,on);D=hft(m,SF(m),D);const C=Vb(Rm.IntrinsicAttributes,m);return Nt(C)||(D=xte(C,D)),D}function bui(l,m){if(l.compositeSignatures){const C=[];for(const A of l.compositeSignatures){const w=Zs(A);if(nt(w))return w;const I=he(w,m);if(!I)return;C.push(I)}return Ds(C)}const D=Zs(l);return nt(D)?D:he(D,m)}function yui(l){if(X9(l.tagName)){const D=vft(l),C=OEe(l,D);return DF(C)}const m=Rc(l.tagName);if(m.flags&128){const D=xft(m,l);if(!D)return Ot;const C=OEe(l,D);return DF(C)}return m}function hft(l,m,D){const C=Gui(m);if(C){const A=yui(l),w=yft(C,Qn(l),A,D);if(w)return w}return D}function kui(l,m){const D=SF(m),C=$ui(D);let A=C===void 0?cze(l,on):C===""?Zs(l):bui(l,C);if(!A)return C&&S(m.attributes.properties)&&pt(m,F.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,Qr(C)),on;if(A=hft(m,D,A),nt(A))return A;{let w=A;const I=Vb(Rm.IntrinsicClassAttributes,m);if(!Nt(I)){const Z=sn(I.symbol),ce=Zs(l);let Fe;if(Z){const Te=x6([ce],Z,b_(Z),Qn(m));Fe=_a(I,Sf(Z,Te))}else Fe=I;w=xte(Fe,w)}const U=Vb(Rm.IntrinsicAttributes,m);return Nt(U)||(w=xte(U,w)),w}}function Fui(l){return Z4(ae,"noImplicitAny")?nn(l,(m,D)=>m===D||!m?m:mdt(m.typeParameters,D.typeParameters)?Bui(m,D):void 0):void 0}function Aui(l,m,D){if(!l||!m)return l||m;const C=er([Wn(l),_a(Wn(m),D)]);return CF(l,C)}function Sui(l,m,D){const C=Cm(l),A=Cm(m),w=C>=A?l:m,I=w===l?m:l,U=w===l?C:A,Z=F_(l)||F_(m),ce=Z&&!F_(w),Fe=new Array(U+(ce?1:0));for(let Te=0;Te=SE(w)&&Te>=SE(I),dn=Te>=C?void 0:Iz(l,Te),nu=Te>=A?void 0:Iz(m,Te),En=dn===nu?dn:dn?nu?void 0:dn:nu,Ii=Hs(1|(Wi&&!gi?16777216:0),En||`arg${Te}`);Ii.links.type=gi?V1(zt):zt,Fe[Te]=Ii}if(ce){const Te=Hs(1,"args");Te.links.type=V1(Lg(I,U)),I===m&&(Te.links.type=_a(Te.links.type,D)),Fe[U]=Te}return Fe}function Bui(l,m){const D=l.typeParameters||m.typeParameters;let C;l.typeParameters&&m.typeParameters&&(C=Sf(m.typeParameters,l.typeParameters));const A=l.declaration,w=Sui(l,m,C),I=Aui(l.thisParameter,m.thisParameter,C),U=Math.max(l.minArgumentCount,m.minArgumentCount),Z=y3(A,D,I,w,void 0,void 0,U,(l.flags|m.flags)&167);return Z.compositeKind=2097152,Z.compositeSignatures=Hi(l.compositeKind===2097152&&l.compositeSignatures||[l],[m]),C&&(Z.mapper=l.compositeKind===2097152&&l.mapper&&l.compositeSignatures?wC(l.mapper,C):C),Z}function TMe(l,m){const D=go(l,0),C=ti(D,A=>!wui(A,m));return C.length===1?C[0]:Fui(C)}function wui(l,m){let D=0;for(;DI[ut]&8?b6($e,Qt)||me:$e),2):fe?wn:we,Z))}function mft(l){if(!(Gu(l)&4))return l;let m=l.literalType;return m||(m=l.literalType=Odt(l),m.objectFlags|=147456),m}function Pui(l){switch(l.kind){case 167:return Mui(l);case 80:return i3(l.escapedText);case 9:case 11:return i3(l.text);default:return!1}}function Mui(l){return u1(F3(l),296)}function F3(l){const m=ar(l.expression);if(!m.resolvedType){if((fm(l.parent.parent)||mr(l.parent.parent)||xh(l.parent.parent))&&Xn(l.expression)&&l.expression.operatorToken.kind===103&&l.parent.kind!==177&&l.parent.kind!==178)return m.resolvedType=Ot;if(m.resolvedType=ya(l.expression),ko(l.parent)&&!Kc(l.parent)&&Xd(l.parent.parent)){const D=YE(l.parent.parent),C=vMe(D);C&&(ar(C).flags|=4096,ar(l).flags|=32768,ar(l.parent.parent).flags|=32768)}(m.resolvedType.flags&98304||!u1(m.resolvedType,402665900)&&!ms(m.resolvedType,Fn))&&pt(l,F.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return m.resolvedType}function zui(l){var m;const D=(m=l.declarations)==null?void 0:m[0];return i3(l.escapedName)||D&&mh(D)&&Pui(D.name)}function pft(l){var m;const D=(m=l.declarations)==null?void 0:m[0];return Ij(l)||D&&mh(D)&&Ps(D.name)&&u1(F3(D.name),4096)}function NMe(l,m,D,C){const A=[];for(let I=m;I0&&(U=Nb(U,Nn(),l.symbol,gi,Fe),I=[],w=Vo(),dn=!1,nu=!1,En=!1);const hu=Sg(ya(vn.expression,m&2));if(Yte(hu)){const oo=FPe(hu,Fe);if(A&&Eft(oo,A,vn),Ii=I.length,Nt(U))continue;U=Nb(U,oo,l.symbol,gi,Fe)}else pt(vn,F.Spread_types_may_only_be_created_from_object_types),U=Ot;continue}else H.assert(vn.kind===177||vn.kind===178),eS(vn);_n&&!(_n.flags&8576)?ms(_n,Fn)&&(ms(_n,Qt)?nu=!0:ms(_n,Xu)?En=!0:dn=!0,C&&(Wi=!0)):w.set(An.escapedName,An),I.push(An)}if(bW(),ce){const vn=Tn(Z.pattern.parent,_n=>_n.kind===260||_n.kind===226||_n.kind===169);if(Tn(l,_n=>_n===vn||_n.kind===305).kind!==305)for(const _n of n0(Z))!w.get(_n.escapedName)&&!qo(U,_n.escapedName)&&(_n.flags&16777216||pt(_n.valueDeclaration||((D=ur(_n,qE))==null?void 0:D.links.bindingElement),F.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),w.set(_n.escapedName,_n),I.push(_n))}if(Nt(U))return Ot;if(U!==Ko)return I.length>0&&(U=Nb(U,Nn(),l.symbol,gi,Fe),I=[],w=Vo(),dn=!1,nu=!1),hl(U,vn=>vn===Ko?Nn():vn);return Nn();function Nn(){const vn=[];dn&&vn.push(NMe(l,Ii,I,ct)),nu&&vn.push(NMe(l,Ii,I,Qt)),En&&vn.push(NMe(l,Ii,I,Xu));const An=Ol(l.symbol,w,_t,_t,vn);return An.objectFlags|=gi|128|131072,zt&&(An.objectFlags|=4096),Wi&&(An.objectFlags|=512),C&&(An.pattern=l),An}}function Yte(l){const m=fht(hl(l,xD));return!!(m.flags&126615553||m.flags&3145728&&ye(m.types,Yte))}function Rui(l){IMe(l)}function Oui(l,m){return eS(l),Xte(l)||me}function jui(l){IMe(l.openingElement),X9(l.closingElement.tagName)?wEe(l.closingElement):ya(l.closingElement.tagName),BEe(l)}function Vui(l,m){return eS(l),Xte(l)||me}function Hui(l){IMe(l.openingFragment);const m=zn(l);return iZ(ae)&&(ae.jsxFactory||m.pragmas.has("jsx"))&&!ae.jsxFragmentFactory&&!m.pragmas.has("jsxfrag")&&pt(l,ae.jsxFactory?F.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:F.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),BEe(l),Xte(l)||me}function MMe(l){return l.includes("-")}function X9(l){return at(l)&&aB(l.escapedText)||gg(l)}function gft(l,m){return l.initializer?Oz(l.initializer,m):du}function Kui(l,m=0){const D=l.attributes,C=hf(D,0),A=fe?Vo():void 0;let w=Vo(),I=Tc,U=!1,Z,ce=!1,Fe=2048;const Te=Qte(SF(l));for(const zt of D.properties){const gi=zt.symbol;if(oE(zt)){const Wi=gft(zt,m);Fe|=Gu(Wi)&458752;const dn=Hs(4|gi.flags,gi.escapedName);if(dn.declarations=gi.declarations,dn.parent=gi.parent,gi.valueDeclaration&&(dn.valueDeclaration=gi.valueDeclaration),dn.links.type=Wi,dn.links.target=gi,w.set(dn.escapedName,dn),A==null||A.set(dn.escapedName,dn),MP(zt.name)===Te&&(ce=!0),C){const nu=qo(C,gi.escapedName);nu&&nu.declarations&&S5(nu)&&at(zt.name)&&m3(zt.name,nu.declarations,zt.name.escapedText)}if(C&&m&2&&!(m&4)&&k4(zt)){const nu=jb(D);H.assert(nu);const En=zt.initializer.expression;eMe(nu,En,Wi)}}else{H.assert(zt.kind===293),w.size>0&&(I=Nb(I,ut(),D.symbol,Fe,!1),w=Vo());const Wi=Sg(ya(zt.expression,m&2));nt(Wi)&&(U=!0),Yte(Wi)?(I=Nb(I,Wi,D.symbol,Fe,!1),A&&Eft(Wi,A,zt)):(pt(zt.expression,F.Spread_types_may_only_be_created_from_object_types),Z=Z?Ds([Z,Wi]):Wi)}}U||w.size>0&&(I=Nb(I,ut(),D.symbol,Fe,!1));const $e=l.parent.kind===284?l.parent:void 0;if($e&&$e.openingElement===l&&uB($e.children).length>0){const zt=BEe($e,m);if(!U&&Te&&Te!==""){ce&&pt(D,F._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,Qr(Te));const gi=MC(l.attributes,void 0),Wi=gi&&Ob(gi,Te),dn=Hs(4,Te);dn.links.type=zt.length===1?zt[0]:Wi&&yE(Wi,Bz)?Bg(zt):V1(er(zt)),dn.valueDeclaration=q.createPropertySignature(void 0,Qr(Te),void 0,void 0),ks(dn.valueDeclaration,D),dn.valueDeclaration.symbol=dn;const nu=Vo();nu.set(Te,dn),I=Nb(I,Ol(D.symbol,nu,_t,_t,_t),D.symbol,Fe,!1)}}if(U)return me;if(Z&&I!==Tc)return Ds([Z,I]);return Z||(I===Tc?ut():I);function ut(){Fe|=Ye;const zt=Ol(D.symbol,w,_t,_t,_t);return zt.objectFlags|=Fe|128|131072,zt}}function BEe(l,m){const D=[];for(const C of l.children)if(C.kind===12)C.containsOnlyTriviaWhiteSpaces||D.push(ct);else{if(C.kind===294&&!C.expression)continue;D.push(Oz(C,m))}return D}function Eft(l,m,D){for(const C of n0(l))if(!(C.flags&16777216)){const A=m.get(C.escapedName);if(A){const w=pt(A.valueDeclaration,F._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,Qr(A.escapedName));Es(w,Su(D,F.This_spread_always_overwrites_this_property))}}}function Wui(l,m){return Kui(l.parent,m)}function Vb(l,m){const D=SF(m),C=D&&$f(D),A=C&&kf(C,l,788968);return A?X0(A):Ot}function wEe(l){const m=ar(l);if(!m.resolvedSymbol){const D=Vb(Rm.IntrinsicElements,l);if(Nt(D))return Ae&&pt(l,F.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,Qr(Rm.IntrinsicElements)),m.resolvedSymbol=Xt;{if(!at(l.tagName)&&!gg(l.tagName))return H.fail();const C=gg(l.tagName)?k7(l.tagName):l.tagName.escapedText,A=qo(D,C);if(A)return m.jsxFlags|=1,m.resolvedSymbol=A;const w=K4t(D,df(Qr(C)));return w?(m.jsxFlags|=2,m.resolvedSymbol=w):Re(D,C)?(m.jsxFlags|=2,m.resolvedSymbol=D.symbol):(pt(l,F.Property_0_does_not_exist_on_type_1,Ole(l.tagName),"JSX."+Rm.IntrinsicElements),m.resolvedSymbol=Xt)}}return m.resolvedSymbol}function zMe(l){const m=l&&zn(l),D=m&&ar(m);if(D&&D.jsxImplicitImportContainer===!1)return;if(D&&D.jsxImplicitImportContainer)return D.jsxImplicitImportContainer;const C=uZ(nZ(ae,m),ae);if(!C)return;const w=p1(ae)===1?F.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:F.Cannot_find_module_0_or_its_corresponding_type_declarations,I=mD(l,C,w,l),U=I&&I!==Xt?Ks(yc(I)):void 0;return D&&(D.jsxImplicitImportContainer=U||!1),U}function SF(l){const m=l&&ar(l);if(m&&m.jsxNamespace)return m.jsxNamespace;if(!m||m.jsxNamespace!==!1){let C=zMe(l);if(!C||C===Xt){const A=uC(l);C=uc(l,A,1920,void 0,A,!1)}if(C){const A=yc(kf($f(yc(C)),Rm.JSX,1920));if(A&&A!==Xt)return m&&(m.jsxNamespace=A),A}m&&(m.jsxNamespace=!1)}const D=yc(Cz(Rm.JSX,1920,void 0));if(D!==Xt)return D}function _ft(l,m){const D=m&&kf(m.exports,l,788968),C=D&&X0(D),A=C&&n0(C);if(A){if(A.length===0)return"";if(A.length===1)return A[0].escapedName;A.length>1&&D.declarations&&pt(D.declarations[0],F.The_global_type_JSX_0_may_not_have_more_than_one_property,Qr(l))}}function Gui(l){return l&&kf(l.exports,Rm.LibraryManagedAttributes,788968)}function Jui(l){return l&&kf(l.exports,Rm.ElementType,788968)}function $ui(l){return _ft(Rm.ElementAttributesPropertyNameContainer,l)}function Qte(l){return _ft(Rm.ElementChildrenAttributeNameContainer,l)}function Dft(l,m){if(l.flags&4)return[mi];if(l.flags&128){const A=xft(l,m);return A?[OEe(m,A)]:(pt(m,F.Property_0_does_not_exist_on_type_1,l.value,"JSX."+Rm.IntrinsicElements),_t)}const D=Gh(l);let C=go(D,1);return C.length===0&&(C=go(D,0)),C.length===0&&D.flags&1048576&&(C=zNe(Vt(D.types,A=>Dft(A,m)))),C}function xft(l,m){const D=Vb(Rm.IntrinsicElements,m);if(!Nt(D)){const C=l.value,A=qo(D,Al(C));if(A)return Wn(A);const w=yC(D,ct);return w||void 0}return me}function Uui(l,m,D){if(l===1){const A=bft(D);A&&F4(m,A,Jf,D.tagName,F.Its_return_type_0_is_not_a_valid_JSX_element,C)}else if(l===0){const A=Cft(D);A&&F4(m,A,Jf,D.tagName,F.Its_instance_type_0_is_not_a_valid_JSX_element,C)}else{const A=bft(D),w=Cft(D);if(!A||!w)return;const I=er([A,w]);F4(m,I,Jf,D.tagName,F.Its_element_type_0_is_not_a_valid_JSX_element,C)}function C(){const A=Hc(D.tagName);return ro(void 0,F._0_cannot_be_used_as_a_JSX_component,A)}}function vft(l){var m;H.assert(X9(l.tagName));const D=ar(l);if(!D.resolvedJsxElementAttributesType){const C=wEe(l);if(D.jsxFlags&1)return D.resolvedJsxElementAttributesType=Wn(C)||Ot;if(D.jsxFlags&2){const A=gg(l.tagName)?k7(l.tagName):l.tagName.escapedText;return D.resolvedJsxElementAttributesType=((m=G9(Vb(Rm.IntrinsicElements,l),A))==null?void 0:m.type)||Ot}else return D.resolvedJsxElementAttributesType=Ot}return D.resolvedJsxElementAttributesType}function Cft(l){const m=Vb(Rm.ElementClass,l);if(!Nt(m))return m}function Xte(l){return Vb(Rm.Element,l)}function bft(l){const m=Xte(l);if(m)return er([m,it])}function qui(l){const m=SF(l);if(!m)return;const D=Jui(m);if(!D)return;const C=yft(D,Qn(l));if(!(!C||Nt(C)))return C}function yft(l,m,...D){const C=X0(l);if(l.flags&524288){const A=Ur(l).typeParameters;if(S(A)>=D.length){const w=x6(D,A,D.length,m);return S(w)===0?C:aT(l,w)}}if(S(C.typeParameters)>=D.length){const A=x6(D,C.typeParameters,D.length,m);return R5(C,A)}}function Zui(l){const m=Vb(Rm.IntrinsicElements,l);return m?n0(m):_t}function Yui(l){(ae.jsx||0)===0&&pt(l,F.Cannot_use_JSX_unless_the_jsx_flag_is_provided),Xte(l)===void 0&&Ae&&pt(l,F.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function IMe(l){const m=zh(l);if(m&&Hli(l),Yui(l),!zMe(l)){const D=Vs&&ae.jsx===2?F.Cannot_find_name_0:void 0,C=uC(l),A=m?l.tagName:l;let w;if(V7(l)&&C==="null"||(w=uc(A,C,111551,D,C,!0)),w&&(w.isReferenced=67108863,Ut&&w.flags&2097152&&!_4(w)&&T5(w)),V7(l)){const I=zn(l),U=Qk(I);U&&uc(A,U,111551,D,U,!0)}}if(m){const D=l,C=mT(D);VEe(C,l);const A=qui(D);if(A!==void 0){const w=D.tagName,I=X9(w)?df(Ole(w)):ya(w);F4(I,A,Jf,w,F.Its_type_0_is_not_a_valid_JSX_element_type,()=>{const U=Hc(w);return ro(void 0,F._0_cannot_be_used_as_a_JSX_component,U)})}else Uui($ft(D),Zs(C),D)}}function RMe(l,m,D){if(l.flags&524288){if(bC(l,m)||G9(l,m)||XK(m)&&k3(l,ct)||D&&MMe(m))return!0}else if(l.flags&3145728&&eie(l)){for(const C of l.types)if(RMe(C,m,D))return!0}return!1}function eie(l){return!!(l.flags&524288&&!(Gu(l)&512)||l.flags&67108864||l.flags&1048576&&Oe(l.types,eie)||l.flags&2097152&&ye(l.types,eie))}function Qui(l,m){if(Wli(l),l.expression){const D=ya(l.expression,m);return l.dotDotDotToken&&D!==me&&!A4(D)&&pt(l,F.JSX_spread_child_must_be_an_array_type),D}else return Ot}function OMe(l){return l.valueDeclaration?Gb(l.valueDeclaration):0}function jMe(l){if(l.flags&8192||Gl(l)&4)return!0;if(Qn(l.valueDeclaration)){const m=l.valueDeclaration.parent;return m&&Xn(m)&&Xl(m)===3}}function VMe(l,m,D,C,A,w=!0){const I=w?l.kind===166?l.right:l.kind===205?l:l.kind===208&&l.propertyName?l.propertyName:l.name:void 0;return kft(l,m,D,C,A,I)}function kft(l,m,D,C,A,w){var I;const U=l4(A,D);if(m){if(Ce<2&&Fft(A))return w&&pt(w,F.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(U&64)return w&&pt(w,F.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Fr(A),gn(Q9(A))),!1;if(!(U&256)&&((I=A.declarations)!=null&&I.some(ibe)))return w&&pt(w,F.Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super,Fr(A)),!1}if(U&64&&Fft(A)&&(mj(l)||tye(l)||Rp(l.parent)&&mq(l.parent.parent))){const ce=tD(cf(A));if(ce&&V0i(l))return w&&pt(w,F.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Fr(A),J4(ce.name)),!1}if(!(U&6))return!0;if(U&2){const ce=tD(cf(A));return Wze(l,ce)?!0:(w&&pt(w,F.Property_0_is_private_and_only_accessible_within_class_1,Fr(A),gn(Q9(A))),!1)}if(m)return!0;let Z=V4t(l,ce=>{const Fe=X0(_u(ce));return nht(Fe,A,D)});return!Z&&(Z=Xui(l),Z=Z&&nht(Z,A,D),U&256||!Z)?(w&&pt(w,F.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Fr(A),gn(Q9(A)||C)),!1):U&256?!0:(C.flags&262144&&(C=C.isThisType?rh(C):Wh(C)),!C||!H9(C,Z)?(w&&pt(w,F.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,Fr(A),gn(Z),gn(C)),!1):!0)}function Xui(l){const m=eri(l);let D=(m==null?void 0:m.type)&&Ar(m.type);if(D&&D.flags&262144&&(D=rh(D)),D&&Gu(D)&7)return eT(D)}function eri(l){const m=tf(l,!1,!1);return m&&Co(m)?T2(m):void 0}function Fft(l){return!!Ite(l,m=>!(m.flags&8192))}function hT(l){return kE(ya(l),l)}function tie(l){return fp(l,50331648)}function HMe(l){return tie(l)?FD(l):l}function tri(l,m){const D=ec(l)?zf(l):void 0;if(l.kind===106){pt(l,F.The_value_0_cannot_be_used_here,"null");return}if(D!==void 0&&D.length<100){if(at(l)&&D==="undefined"){pt(l,F.The_value_0_cannot_be_used_here,"undefined");return}pt(l,m&16777216?m&33554432?F._0_is_possibly_null_or_undefined:F._0_is_possibly_undefined:F._0_is_possibly_null,D)}else pt(l,m&16777216?m&33554432?F.Object_is_possibly_null_or_undefined:F.Object_is_possibly_undefined:F.Object_is_possibly_null)}function iri(l,m){pt(l,m&16777216?m&33554432?F.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:F.Cannot_invoke_an_object_which_is_possibly_undefined:F.Cannot_invoke_an_object_which_is_possibly_null)}function Aft(l,m,D){if(fe&&l.flags&2){if(ec(m)){const A=zf(m);if(A.length<100)return pt(m,F._0_is_of_type_unknown,A),Ot}return pt(m,F.Object_is_of_type_unknown),Ot}const C=Lz(l,50331648);if(C&50331648){D(m,C);const A=FD(l);return A.flags&229376?Ot:A}return l}function kE(l,m){return Aft(l,m,tri)}function Sft(l,m){const D=kE(l,m);if(D.flags&16384){if(ec(m)){const C=zf(m);if(at(m)&&C==="undefined")return pt(m,F.The_value_0_cannot_be_used_here,C),D;if(C.length<100)return pt(m,F._0_is_possibly_undefined,C),D}pt(m,F.Object_is_possibly_undefined)}return D}function TEe(l,m,D){return l.flags&64?nri(l,m):WMe(l,l.expression,hT(l.expression),l.name,m,D)}function nri(l,m){const D=ya(l.expression),C=gW(D,l.expression);return sEe(WMe(l,l.expression,kE(C,l.expression),l.name,m),l,C!==D)}function Bft(l,m){const D=_q(l)&&N2(l.left)?kE(Ute(l.left),l.left):hT(l.left);return WMe(l,l.left,D,l.right,m)}function wft(l){for(;l.parent.kind===217;)l=l.parent;return $E(l.parent)&&l.parent.expression===l}function LEe(l,m){for(let D=hq(m);D;D=Yd(D)){const{symbol:C}=D,A=zj(C,l),w=C.members&&C.members.get(A)||C.exports&&C.exports.get(A);if(w)return w}}function uri(l){if(!Yd(l))return Zi(l,F.Private_identifiers_are_not_allowed_outside_class_bodies);if(!hY(l.parent)){if(!Z_(l))return Zi(l,F.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);const m=Xn(l.parent)&&l.parent.operatorToken.kind===103;if(!NEe(l)&&!m)return Zi(l,F.Cannot_find_name_0,fu(l))}return!1}function rri(l){uri(l);const m=NEe(l);return m&&nie(m,void 0,!1),me}function NEe(l){if(!Z_(l))return;const m=ar(l);return m.resolvedSymbol===void 0&&(m.resolvedSymbol=LEe(l.escapedText,l)),m.resolvedSymbol}function KMe(l,m){return qo(l,m.escapedName)}function ari(l,m,D){let C;const A=n0(l);A&&L(A,I=>{const U=I.valueDeclaration;if(U&&mh(U)&&ea(U.name)&&U.name.escapedText===m.escapedText)return C=I,!0});const w=$p(m);if(C){const I=H.checkDefined(C.valueDeclaration),U=H.checkDefined(Yd(I));if(D!=null&&D.valueDeclaration){const Z=D.valueDeclaration,ce=Yd(Z);if(H.assert(!!ce),Tn(ce,Fe=>U===Fe)){const Fe=pt(m,F.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,w,gn(l));return Es(Fe,Su(Z,F.The_shadowing_declaration_of_0_is_defined_here,w),Su(I,F.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,w)),!0}}return pt(m,F.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,w,$p(U.name||YY)),!0}return!1}function Tft(l,m){return(fz(m)||mj(l)&&Zw(m))&&tf(l,!0,!1)===Yw(m)}function WMe(l,m,D,C,A,w){const I=ar(m).resolvedSymbol,U=f7(l),Z=Gh(U!==0||wft(l)?vm(D):D),ce=nt(Z)||Z===ja;let Fe;if(ea(C)){Ce<99&&(U!==0&&rd(l,1048576),U!==1&&rd(l,524288));const $e=LEe(C.escapedText,C);if(U&&$e&&$e.valueDeclaration&&dc($e.valueDeclaration)&&Zi(C,F.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,fu(C)),ce){if($e)return Nt(Z)?Ot:Z;if(hq(C)===void 0)return Zi(C,F.Private_identifiers_are_not_allowed_outside_class_bodies),me}if(Fe=$e&&KMe(D,$e),Fe===void 0){if(ari(D,C,$e))return Ot;const ut=hq(C);ut&&nj(zn(ut),ae.checkJs)&&Zi(C,F.Private_field_0_must_be_declared_in_an_enclosing_class,fu(C))}else Fe.flags&65536&&!(Fe.flags&32768)&&U!==1&&pt(l,F.Private_accessor_was_defined_without_a_getter)}else{if(ce)return at(m)&&I&&bEe(I,l),Nt(Z)?Ot:Z;Fe=qo(Z,C.escapedText,WEe(Z),l.kind===166)}at(m)&&I&&(mg(ae)||!(Fe&&(OW(Fe)||Fe.flags&8&&l.parent.kind===306))||fk(ae)&&Zht(l))&&bEe(I,l);let Te;if(Fe){const $e=Vze(Fe,C);if(S5($e)&&vPe(l,$e)&&$e.declarations&&m3(C,$e.declarations,C.escapedText),ori(Fe,l,C),nie(Fe,l,Rft(m,I)),ar(l).resolvedSymbol=Fe,VMe(l,m.kind===108,D7(l),Z,Fe),kmt(l,Fe,U))return pt(C,F.Cannot_assign_to_0_because_it_is_a_read_only_property,fu(C)),Ot;Te=Tft(l,Fe)?ni:w||Jq(l)?mF(Fe):Wn(Fe)}else{const $e=!ea(C)&&(U===0||!Lb(D)||NP(D))?G9(Z,C.escapedText):void 0;if(!($e&&$e.type)){const ut=GMe(l,D.symbol,!0);return!ut&&lW(D)?me:D.symbol===St?(St.exports.has(C.escapedText)&&St.exports.get(C.escapedText).flags&418?pt(C,F.Property_0_does_not_exist_on_type_1,Qr(C.escapedText),gn(D)):Ae&&pt(C,F.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,gn(D)),me):(C.escapedText&&!Ow(l)&&Pft(C,NP(D)?Z:D,ut),Ot)}$e.isReadonly&&(Q_(l)||V0e(l))&&pt(l,F.Index_signature_in_type_0_only_permits_reading,gn(Z)),Te=ae.noUncheckedIndexedAccess&&!Q_(l)?er([$e.type,de]):$e.type,ae.noPropertyAccessFromIndexSignature&&Iu(l)&&pt(C,F.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,Qr(C.escapedText)),$e.declaration&&aC($e.declaration)&&m3(C,[$e.declaration],C.escapedText)}return Lft(l,Fe,Te,C,A)}function GMe(l,m,D){var C;const A=zn(l);if(A&&ae.checkJs===void 0&&A.checkJsDirective===void 0&&(A.scriptKind===1||A.scriptKind===2)){const w=L(m==null?void 0:m.declarations,zn),I=!(m!=null&&m.valueDeclaration)||!mr(m.valueDeclaration)||((C=m.valueDeclaration.heritageClauses)==null?void 0:C.length)||t5(!1,m.valueDeclaration);return!(A!==w&&w&&pE(w))&&!(D&&m&&m.flags&32&&I)&&!(l&&D&&Iu(l)&&l.expression.kind===110&&I)}return!1}function Lft(l,m,D,C,A){const w=f7(l);if(w===1)return B6(D,!!(m&&m.flags&16777216));if(m&&!(m.flags&98311)&&!(m.flags&8192&&D.flags&1048576)&&!u_e(m.declarations))return D;if(D===ni)return Ym(l,m);D=xMe(D,l,A);let I=!1;if(fe&&Ge&&I0(l)&&l.expression.kind===110){const Z=m&&m.valueDeclaration;if(Z&&S4t(Z)&&!No(Z)){const ce=CW(l);ce.kind===176&&ce.parent===Z.parent&&!(Z.flags&33554432)&&(I=!0)}}else fe&&m&&m.valueDeclaration&&Iu(m.valueDeclaration)&&yj(m.valueDeclaration)&&CW(l)===CW(m.valueDeclaration)&&(I=!0);const U=w6(l,D,I?S6(D):D);return I&&!Fz(D)&&Fz(U)?(pt(C,F.Property_0_is_used_before_being_assigned,Fr(m)),D):w?kD(U):U}function ori(l,m,D){const{valueDeclaration:C}=l;if(!C||zn(m).isDeclarationFile)return;let A;const w=fu(D);Nft(m)&&!QXt(C)&&!(I0(m)&&I0(m.expression))&&!B5(C,D)&&!(dc(C)&&f_e(C)&256)&&(Se||!sri(l))?A=pt(D,F.Property_0_is_used_before_its_initialization,w):C.kind===263&&m.parent.kind!==183&&!(C.flags&33554432)&&!B5(C,D)&&(A=pt(D,F.Class_0_used_before_its_declaration,w)),A&&Es(A,Su(C,F._0_is_declared_here,w))}function Nft(l){return!!Tn(l,m=>{switch(m.kind){case 172:return!0;case 303:case 174:case 177:case 178:case 305:case 167:case 239:case 294:case 291:case 292:case 293:case 286:case 233:case 298:return!1;case 219:case 244:return po(m.parent)&&zl(m.parent.parent)?!0:"quit";default:return Z_(m)?!1:"quit"}})}function sri(l){if(!(l.parent.flags&32))return!1;let m=Wn(l.parent);for(;;){if(m=m.symbol&&lri(m),!m)return!1;const D=qo(m,l.escapedName);if(D&&D.valueDeclaration)return!0}}function lri(l){const m=Zc(l);if(m.length!==0)return Ds(m)}function Pft(l,m,D){let C,A;if(!ea(l)&&m.flags&1048576&&!(m.flags&402784252)){for(const I of m.types)if(!qo(I,l.escapedText)&&!G9(I,l.escapedText)){C=ro(C,F.Property_0_does_not_exist_on_type_1,b0(l),gn(I));break}}if(Mft(l.escapedText,m)){const I=b0(l),U=gn(m);C=ro(C,F.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,I,U,U+"."+I)}else{const I=NW(m);if(I&&qo(I,l.escapedText))C=ro(C,F.Property_0_does_not_exist_on_type_1,b0(l),gn(m)),A=Su(l,F.Did_you_forget_to_use_await);else{const U=b0(l),Z=gn(m),ce=hri(U,m);if(ce!==void 0)C=ro(C,F.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,U,Z,ce);else{const Fe=JMe(l,m);if(Fe!==void 0){const Te=lc(Fe),$e=D?F.Property_0_may_not_exist_on_type_1_Did_you_mean_2:F.Property_0_does_not_exist_on_type_1_Did_you_mean_2;C=ro(C,$e,U,Z,Te),A=Fe.valueDeclaration&&Su(Fe.valueDeclaration,F._0_is_declared_here,Te)}else{const Te=cri(m)?F.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:F.Property_0_does_not_exist_on_type_1;C=ro($Ne(C,m),Te,U,Z)}}}}const w=Y3(zn(l),l,C);A&&Es(w,A),i1(!D||C.code!==F.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,w)}function cri(l){return ae.lib&&!ae.lib.includes("dom")&&kni(l,m=>m.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(Qr(m.symbol.escapedName)))&&bD(l)}function Mft(l,m){const D=m.symbol&&qo(Wn(m.symbol),l);return D!==void 0&&!!D.valueDeclaration&&No(D.valueDeclaration)}function dri(l){const m=$p(l),C=xZ().get(m);return C&&Oa(C.keys())}function hri(l,m){const D=Gh(m).symbol;if(!D)return;const C=lc(D),w=xZ().get(C);if(w){for(const[I,U]of w)if(kt(U,l))return I}}function zft(l,m){return iie(l,n0(m),106500)}function JMe(l,m){let D=n0(m);if(typeof l!="string"){const C=l.parent;Iu(C)&&(D=ti(D,A=>Oft(C,m,A))),l=fu(l)}return iie(l,D,111551)}function Ift(l,m){const D=Ja(l)?l:fu(l),C=n0(m);return(D==="for"?Le(C,w=>lc(w)==="htmlFor"):D==="class"?Le(C,w=>lc(w)==="className"):void 0)??iie(D,C,111551)}function $Me(l,m){const D=JMe(l,m);return D&&lc(D)}function UMe(l,m,D){return H.assert(m!==void 0,"outername should always be defined"),yh(l,m,D,void 0,m,!1,!1,!0,(A,w,I)=>{H.assertEqual(m,w,"name should equal outerName");const U=kf(A,w,I);if(U)return U;let Z;return A===Ie?Z=qi(["string","number","boolean","object","bigint","symbol"],Fe=>A.has(Fe.charAt(0).toUpperCase()+Fe.slice(1))?Hs(524288,Fe):void 0).concat(ga(A.values())):Z=ga(A.values()),iie(Qr(w),Z,I)})}function fri(l,m,D){const C=UMe(l,m,D);return C&&lc(C)}function PEe(l,m){return m.exports&&iie(fu(l),L5(m),2623475)}function mri(l,m){const D=PEe(l,m);return D&&lc(D)}function pri(l,m,D){function C(I){const U=bC(l,I);if(U){const Z=wF(Wn(U));return!!Z&&SE(Z)>=1&&ms(D,Lg(Z,0))}return!1}const A=Q_(m)?"set":"get";if(!C(A))return;let w=Uj(m.expression);return w===void 0?w=A:w+="."+A,w}function gri(l,m){const D=m.types.filter(C=>!!(C.flags&128));return bN(l.value,D,C=>C.value)}function iie(l,m,D){return bN(l,m,C);function C(A){const w=lc(A);if(!Pa(w,'"')){if(A.flags&D)return w;if(A.flags&2097152){const I=T9(A);if(I&&I.flags&D)return w}}}}function nie(l,m,D){const C=l&&l.flags&106500&&l.valueDeclaration;if(!C)return;const A=Rf(C,2),w=l.valueDeclaration&&mh(l.valueDeclaration)&&ea(l.valueDeclaration.name);if(!(!A&&!w)&&!(m&&Jq(m)&&!(l.flags&65536))){if(D){const I=Tn(m,$0);if(I&&I.symbol===l)return}(Gl(l)&1?Ur(l).target:l).isReferenced=67108863}}function Rft(l,m){return l.kind===110||!!m&&ec(l)&&m===Zp(hm(l))}function Eri(l,m){switch(l.kind){case 211:return qMe(l,l.expression.kind===108,m,vm(ya(l.expression)));case 166:return qMe(l,!1,m,vm(ya(l.left)));case 205:return qMe(l,!1,m,Ar(l))}}function Oft(l,m,D){return ZMe(l,l.kind===211&&l.expression.kind===108,!1,m,D)}function qMe(l,m,D,C){if(nt(C))return!0;const A=qo(C,D);return!!A&&ZMe(l,m,!1,C,A)}function ZMe(l,m,D,C,A){if(nt(C))return!0;if(A.valueDeclaration&&ph(A.valueDeclaration)){const w=Yd(A.valueDeclaration);return!Y1(l)&&!!Tn(l,I=>I===w)}return kft(l,m,D,C,A)}function _ri(l){const m=l.initializer;if(m.kind===261){const D=m.declarations[0];if(D&&!So(D.name))return _u(D)}else if(m.kind===80)return Zp(m)}function Dri(l){return kh(l).length===1&&!!k3(l,Qt)}function xri(l){const m=l0(l);if(m.kind===80){const D=Zp(m);if(D.flags&3){let C=l,A=l.parent;for(;A;){if(A.kind===249&&C===A.statement&&_ri(A)===D&&Dri(b1(A.expression)))return!0;C=A,A=A.parent}}}return!1}function vri(l,m){return l.flags&64?Cri(l,m):jft(l,hT(l.expression),m)}function Cri(l,m){const D=ya(l.expression),C=gW(D,l.expression);return sEe(jft(l,kE(C,l.expression),m),l,C!==D)}function jft(l,m,D){const C=f7(l)!==0||wft(l)?vm(m):m,A=l.argumentExpression,w=ya(A);if(Nt(C)||C===ja)return C;if(WEe(C)&&!t0(A))return pt(A,F.A_const_enum_member_can_only_be_accessed_using_a_string_literal),Ot;const I=xri(A)?Qt:w,U=Q_(l)?4|(Lb(C)&&!NP(C)?2:0):32,Z=b6(C,I,U,l)||Ot;return Jmt(Lft(l,ar(l).resolvedSymbol,Z,A,D),l)}function Vft(l){return $E(l)||Dk(l)||zh(l)}function BF(l){return Vft(l)&&L(l.typeArguments,ls),l.kind===215?ya(l.template):zh(l)?ya(l.attributes):Xn(l)?ya(l.left):$E(l)&&L(l.arguments,m=>{ya(m)}),mi}function FE(l){return BF(l),fn}function bri(l,m,D){let C,A,w=0,I,U=-1,Z;H.assert(!m.length);for(const ce of l){const Fe=ce.declaration&&_u(ce.declaration),Te=ce.declaration&&ce.declaration.parent;!A||Fe===A?C&&Te===C?I=I+1:(C=Te,I=w):(I=w=m.length,C=Te),A=Fe,Ode(ce)?(U++,Z=U,w++):Z=I,m.splice(Z,0,D?vXt(ce,D):ce)}}function MEe(l){return!!l&&(l.kind===230||l.kind===237&&l.isSpread)}function zEe(l){return Ue(l,MEe)}function Hft(l){return!!(l.flags&16384)}function yri(l){return!!(l.flags&49155)}function IEe(l,m,D,C=!1){let A,w=!1,I=Cm(D),U=SE(D);if(l.kind===215)if(A=m.length,l.template.kind===228){const Z=Cr(l.template.templateSpans);w=Ql(Z.literal)||!!Z.literal.isUnterminated}else{const Z=l.template;H.assert(Z.kind===15),w=!!Z.isUnterminated}else if(l.kind===170)A=qft(l,D);else if(l.kind===226)A=1;else if(zh(l)){if(w=l.attributes.end===l.end,w)return!0;A=U===0?m.length:1,I=m.length===0?I:1,U=Math.min(U,1)}else if(l.arguments){A=C?m.length+1:m.length,w=l.arguments.end===l.end;const Z=zEe(m);if(Z>=0)return Z>=SE(D)&&(F_(D)||ZI)return!1;if(w||A>=U)return!0;for(let Z=A;Z=C&&m.length<=D}function wF(l){return kW(l,0,!1)}function Kft(l){return kW(l,0,!1)||kW(l,1,!1)}function kW(l,m,D){if(l.flags&524288){const C=Ag(l);if(D||C.properties.length===0&&C.indexInfos.length===0){if(m===0&&C.callSignatures.length===1&&C.constructSignatures.length===0)return C.callSignatures[0];if(m===1&&C.constructSignatures.length===1&&C.callSignatures.length===0)return C.constructSignatures[0]}}}function Wft(l,m,D,C){const A=DW(l.typeParameters,l,0,C),w=AW(m),I=D&&(w&&w.flags&262144?D.nonFixingMapper:D.mapper),U=I?lT(m,I):m;return YPe(U,l,(Z,ce)=>{AD(A.inferences,Z,ce)}),D||QPe(m,l,(Z,ce)=>{AD(A.inferences,Z,ce,128)}),rW(l,dMe(A),Qn(m.declaration))}function kri(l,m,D,C){const A=SEe(m,l),w=pT(l.attributes,A,C,D);return AD(C.inferences,w,A),dMe(C)}function Gft(l){if(!l)return ca;const m=ya(l);return zye(l)?m:IN(l.parent)?FD(m):Y1(l.parent)?oEe(m):m}function QMe(l,m,D,C,A){if(zh(l))return kri(l,m,C,A);if(l.kind!==170&&l.kind!==226){const Z=ye(m.typeParameters,Fe=>!!_F(Fe)),ce=hf(l,Z?8:0);if(ce){const Fe=Zs(m);if(NC(Fe)){const Te=jb(l);if(!(!Z&&hf(l,8)!==ce)){const gi=iMe(Vii(Te,1)),Wi=_a(ce,gi),dn=wF(Wi),nu=dn&&dn.typeParameters?DF(ePe(dn,dn.typeParameters)):Wi;AD(A.inferences,nu,Fe,128)}const ut=DW(m.typeParameters,m,A.flags),zt=_a(ce,Te&&Te.returnMapper);AD(ut.inferences,zt,Fe),A.returnMapper=Oe(ut.inferences,gT)?iMe(Gii(ut)):void 0}}}const w=SW(m),I=w?Math.min(Cm(m)-1,D.length):D.length;if(w&&w.flags&262144){const Z=Le(A.inferences,ce=>ce.typeParameter===w);Z&&(Z.impliedArity=Ue(D,MEe,I)<0?D.length-I:void 0)}const U=kC(m);if(U&&NC(U)){const Z=Uft(l);AD(A.inferences,Gft(Z),U)}for(let Z=0;Z=D-1){const Fe=l[D-1];if(MEe(Fe)){const Te=Fe.kind===237?Fe.type:pT(Fe.expression,C,A,w);return H5(Te)?Jft(Te):V1(G5(33,Te,te,Fe.kind===230?Fe.expression:Fe),I)}}const U=[],Z=[],ce=[];for(let Fe=m;Fero(void 0,F.Type_0_does_not_satisfy_the_constraint_1):void 0,Te=C||F.Type_0_does_not_satisfy_the_constraint_1;U||(U=Sf(w,I));const $e=I[Z];if(!Ah($e,xm(_a(ce,U),$e),D?m[Z]:void 0,Te,Fe))return}}return I}function $ft(l){if(X9(l.tagName))return 2;const m=Gh(ya(l.tagName));return S(go(m,1))?0:S(go(m,0))?1:2}function Fri(l,m,D,C,A,w,I){const U=SEe(m,l),Z=pT(l.attributes,U,void 0,C),ce=C&4?_W(Z):Z;return Fe()&&MPe(ce,U,D,A?l.tagName:void 0,l.attributes,void 0,w,I);function Fe(){var Te;if(zMe(l))return!0;const $e=(aE(l)||bk(l))&&!(X9(l.tagName)||gg(l.tagName))?ya(l.tagName):void 0;if(!$e)return!0;const ut=go($e,0);if(!S(ut))return!0;const zt=X4t(l);if(!zt)return!0;const gi=R0(zt,111551,!0,!1,l);if(!gi)return!0;const Wi=Wn(gi),dn=go(Wi,0);if(!S(dn))return!0;let nu=!1,En=0;for(const Nn of dn){const vn=Lg(Nn,0),An=go(vn,0);if(S(An))for(const _n of An){if(nu=!0,F_(_n))return!0;const hu=Cm(_n);hu>En&&(En=hu)}}if(!nu)return!0;let Ii=1/0;for(const Nn of ut){const vn=SE(Nn);vn{A.push(w.expression)}),A}if(l.kind===170)return Ari(l);if(l.kind===226)return[l.left];if(zh(l))return l.attributes.properties.length>0||aE(l)&&l.parent.children.length>0?[l.attributes]:_t;const m=l.arguments||_t,D=zEe(m);if(D>=0){const C=m.slice(0,D);for(let A=D;A{var ce;const Fe=I.target.elementFlags[Z],Te=rie(w,Fe&4?V1(U):U,!!(Fe&12),(ce=I.target.labeledElementDeclarations)==null?void 0:ce[Z]);C.push(Te)}):C.push(w)}return C}return m}function Ari(l){const m=l.expression,D=hze(l);if(D){const C=[];for(const A of D.parameters){const w=Wn(A);C.push(rie(m,w))}return C}return H.fail()}function qft(l,m){return ae.experimentalDecorators?Sri(l,m):2}function Sri(l,m){switch(l.parent.kind){case 263:case 231:return 1;case 172:return eE(l.parent)?3:2;case 174:case 177:case 178:return Ce===0||m.parameters.length<=2?2:3;case 169:return 3;default:return H.fail()}}function Zft(l,m){let D,C;const A=zn(l);if(Iu(l.expression)){const w=C2(A,l.expression.name);D=w.start,C=m?w.length:l.end-D}else{const w=C2(A,l.expression);D=w.start,C=m?w.length:l.end-D}return{start:D,length:C,sourceFile:A}}function aie(l,m,...D){if(Mo(l)){const{sourceFile:C,start:A,length:w}=Zft(l);return"message"in m?Rd(C,A,w,m,...D):b0e(C,m)}else return"message"in m?Su(l,m,...D):Y3(zn(l),l,m)}function Bri(l){if(!Mo(l)||!at(l.expression))return!1;const m=uc(l.expression,l.expression.escapedText,111551,void 0,void 0,!1),D=m==null?void 0:m.valueDeclaration;if(!D||!io(D)||!R2(D.parent)||!j2(D.parent.parent)||!at(D.parent.parent.expression))return!1;const C=sPe(!1);return C?Yp(D.parent.parent.expression,!0)===C:!1}function Yft(l,m,D,C){var A;const w=zEe(D);if(w>-1)return Su(D[w],F.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);let I=Number.POSITIVE_INFINITY,U=Number.NEGATIVE_INFINITY,Z=Number.NEGATIVE_INFINITY,ce=Number.POSITIVE_INFINITY,Fe;for(const gi of m){const Wi=SE(gi),dn=Cm(gi);WiZ&&(Z=Wi),D.lengthA?I=Math.min(I,Z):ce1&&(En=vn($e,h_,zt,Ii)),En||(En=vn($e,Jf,zt,Ii)),En)return En;if(En=Tri(l,$e,ut,!!D,C),ar(l).resolvedSignature=En,Fe)if(!w&&ce&&(w=F.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method),Wi)if(Wi.length===1||Wi.length>3){const An=Wi[Wi.length-1];let _n;Wi.length>3&&(_n=ro(_n,F.The_last_overload_gave_the_following_error),_n=ro(_n,F.No_overload_matches_this_call)),w&&(_n=ro(_n,w));const hu=uie(l,ut,An,Jf,0,!0,()=>_n);if(hu)for(const oo of hu)An.declaration&&Wi.length>3&&Es(oo,Su(An.declaration,F.The_last_overload_is_declared_here)),Nn(An,oo),Vs.add(oo);else H.fail("No error for last overload signature")}else{const An=[];let _n=0,hu=Number.MAX_VALUE,oo=0,Eo=0;for(const hn of Wi){const Yr=uie(l,ut,hn,Jf,0,!0,()=>ro(void 0,F.Overload_0_of_1_2_gave_the_following_error,Eo+1,$e.length,vE(hn)));Yr?(Yr.length<=hu&&(hu=Yr.length,oo=Eo),_n=Math.max(_n,Yr.length),An.push(Yr)):H.fail("No error for 3 or fewer overload signatures"),Eo++}const fo=_n>1?An[oo]:Va(An);H.assert(fo.length>0,"No errors reported for 3 or fewer overload signatures");let ka=ro(Vt(fo,jbe),F.No_overload_matches_this_call);w&&(ka=ro(ka,w));const ah=[...ju(fo,hn=>hn.relatedInformation)];let t4;if(ye(fo,hn=>hn.start===fo[0].start&&hn.length===fo[0].length&&hn.file===fo[0].file)){const{file:hn,start:Kn,length:Yr}=fo[0];t4={file:hn,start:Kn,length:Yr,code:ka.code,category:ka.category,messageText:ka,relatedInformation:ah}}else t4=Y3(zn(l),l,ka,ah);Nn(Wi[0],t4),Vs.add(t4)}else if(dn)Vs.add(Yft(l,[dn],ut,w));else if(nu)eze(nu,l.typeArguments,!0,w);else{const An=ti(m,_n=>YMe(_n,Te));An.length===0?Vs.add(wri(l,m,Te,w)):Vs.add(Yft(l,An,ut,w))}return En;function Nn(An,_n){var hu,oo;const Eo=Wi,fo=dn,ka=nu,ah=((oo=(hu=An.declaration)==null?void 0:hu.symbol)==null?void 0:oo.declarations)||_t,hn=ah.length>1?Le(ah,Kn=>$0(Kn)&&H4(Kn.body)):void 0;if(hn){const Kn=dp(hn),Yr=!Kn.typeParameters;vn([Kn],Jf,Yr)&&Es(_n,Su(hn,F.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}Wi=Eo,dn=fo,nu=ka}function vn(An,_n,hu,oo=!1){if(Wi=void 0,dn=void 0,nu=void 0,hu){const Eo=An[0];if(Oe(Te)||!IEe(l,ut,Eo,oo))return;if(uie(l,ut,Eo,_n,0,!1,void 0)){Wi=[Eo];return}return Eo}for(let Eo=0;Eo0),eS(l),C||m.length===1||m.some(w=>!!w.typeParameters)?Pri(l,m,D,A):Lri(m)}function Lri(l){const m=qi(l,Z=>Z.thisParameter);let D;m.length&&(D=Qft(m,m.map(lie)));const{min:C,max:A}=mke(l,Nri),w=[];for(let Z=0;Zth(Fe)?ZTF(Fe,Z))))}const I=qi(l,Z=>th(Z)?Cr(Z.parameters):void 0);let U=128;if(I.length!==0){const Z=V1(er(qi(l,Pdt),2));w.push(Xft(I,Z)),U|=1}return l.some(Ode)&&(U|=2),y3(l[0].declaration,void 0,D,w,Ds(l.map(Zs)),void 0,C,U)}function Nri(l){const m=l.parameters.length;return th(l)?m-1:m}function Qft(l,m){return Xft(l,er(m,2))}function Xft(l,m){return CF(Pn(l),m)}function Pri(l,m,D,C){const A=Iri(m,Ni===void 0?D.length:Ni),w=m[A],{typeParameters:I}=w;if(!I)return w;const U=Vft(l)?l.typeArguments:void 0,Z=U?Age(w,Mri(U,I,Qn(l))):zri(l,I,w,D,C);return m[A]=Z,Z}function Mri(l,m,D){const C=l.map(tS);for(;C.length>m.length;)C.pop();for(;C.length=m)return A;I>C&&(C=I,D=A)}return D}function Rri(l,m,D){if(l.expression.kind===108){const Z=kMe(l.expression);if(nt(Z)){for(const ce of l.arguments)ya(ce);return mi}if(!Nt(Z)){const ce=Qg(Yd(l));if(ce){const Fe=D0(Z,ce.typeArguments,ce);return fT(l,Fe,m,D,0)}}return BF(l)}let C,A=ya(l.expression);if($y(l)){const Z=gW(A,l.expression);C=Z===A?0:RN(l)?16:8,A=Z}else C=0;if(A=Aft(A,l.expression,iri),A===ja)return uu;const w=Gh(A);if(Nt(w))return FE(l);const I=go(w,0),U=go(w,1).length;if(oie(A,w,I.length,U))return!Nt(A)&&l.typeArguments&&pt(l,F.Untyped_function_calls_may_not_accept_type_arguments),BF(l);if(!I.length){if(U)pt(l,F.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,gn(A));else{let Z;if(l.arguments.length===1){const ce=zn(l).text;Z1(ce.charCodeAt(gs(ce,l.expression.end,!0)-1))&&(Z=Su(l.expression,F.Are_you_missing_a_semicolon))}ize(l.expression,w,0,Z)}return FE(l)}return D&8&&!l.typeArguments&&I.some(Ori)?(Mmt(l,D),Wu):I.some(Z=>Qn(Z.declaration)&&!!Ise(Z.declaration))?(pt(l,F.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,gn(A)),FE(l)):fT(l,I,m,D,C)}function Ori(l){return!!(l.typeParameters&&$ze(Zs(l)))}function oie(l,m,D,C){return nt(l)||nt(m)&&!!(l.flags&262144)||!D&&!C&&!(m.flags&1048576)&&!(Sg(m).flags&131072)&&ms(l,di)}function jri(l,m,D){if(l.arguments&&Ce<1){const I=zEe(l.arguments);I>=0&&pt(l.arguments[I],F.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}let C=hT(l.expression);if(C===ja)return uu;if(C=Gh(C),Nt(C))return FE(l);if(nt(C))return l.typeArguments&&pt(l,F.Untyped_function_calls_may_not_accept_type_arguments),BF(l);const A=go(C,1);if(A.length){if(!Vri(l,A[0]))return FE(l);if(emt(A,U=>!!(U.flags&4)))return pt(l,F.Cannot_create_an_instance_of_an_abstract_class),FE(l);const I=C.symbol&&tD(C.symbol);return I&&Yu(I,64)?(pt(l,F.Cannot_create_an_instance_of_an_abstract_class),FE(l)):fT(l,A,m,D,0)}const w=go(C,0);if(w.length){const I=fT(l,w,m,D,0);return Ae||(I.declaration&&!AE(I.declaration)&&Zs(I)!==ca&&pt(l,F.Only_a_void_function_can_be_called_with_the_new_keyword),kC(I)===ca&&pt(l,F.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),I}return ize(l.expression,C,1),FE(l)}function emt(l,m){return Ha(l)?Oe(l,D=>emt(D,m)):l.compositeKind===1048576?Oe(l.compositeSignatures,m):m(l)}function tze(l,m){const D=Zc(m);if(!S(D))return!1;const C=D[0];if(C.flags&2097152){const A=C.types,w=gdt(A);let I=0;for(const U of C.types){if(!w[I]&&Gu(U)&3&&(U.symbol===l||tze(l,U)))return!0;I++}return!1}return C.symbol===l?!0:tze(l,C)}function Vri(l,m){if(!m||!m.declaration)return!0;const D=m.declaration,C=E7(D,6);if(!C||D.kind!==176)return!0;const A=tD(D.parent.symbol),w=X0(D.parent.symbol);if(!Wze(l,A)){const I=Yd(l);if(I&&C&4){const U=tS(I);if(tze(D.parent.symbol,U))return!0}return C&2&&pt(l,F.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,gn(w)),C&4&&pt(l,F.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,gn(w)),!1}return!0}function tmt(l,m,D){let C;const A=D===0,w=NF(m),I=w&&go(w,D).length>0;if(m.flags&1048576){const Z=m.types;let ce=!1;for(const Fe of Z)if(go(Fe,D).length!==0){if(ce=!0,C)break}else if(C||(C=ro(C,A?F.Type_0_has_no_call_signatures:F.Type_0_has_no_construct_signatures,gn(Fe)),C=ro(C,A?F.Not_all_constituents_of_type_0_are_callable:F.Not_all_constituents_of_type_0_are_constructable,gn(m))),ce)break;ce||(C=ro(void 0,A?F.No_constituent_of_type_0_is_callable:F.No_constituent_of_type_0_is_constructable,gn(m))),C||(C=ro(C,A?F.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:F.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,gn(m)))}else C=ro(C,A?F.Type_0_has_no_call_signatures:F.Type_0_has_no_construct_signatures,gn(m));let U=A?F.This_expression_is_not_callable:F.This_expression_is_not_constructable;if(Mo(l.parent)&&l.parent.arguments.length===0){const{resolvedSymbol:Z}=ar(l);Z&&Z.flags&32768&&(U=F.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:ro(C,U),relatedMessage:I?F.Did_you_forget_to_use_await:void 0}}function ize(l,m,D,C){const{messageChain:A,relatedMessage:w}=tmt(l,m,D),I=Y3(zn(l),l,A);if(w&&Es(I,Su(l,w)),Mo(l.parent)){const{start:U,length:Z}=Zft(l.parent,!0);I.start=U,I.length=Z}Vs.add(I),imt(m,D,C?Es(I,C):I)}function imt(l,m,D){if(!l.symbol)return;const C=Ur(l.symbol).originatingImport;if(C&&!dm(C)){const A=go(Wn(Ur(l.symbol).target),m);if(!A||!A.length)return;Es(D,Su(C,F.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))}}function Hri(l,m,D){const C=ya(l.tag),A=Gh(C);if(Nt(A))return FE(l);const w=go(A,0),I=go(A,1).length;if(oie(C,A,w.length,I))return BF(l);if(!w.length){if(Dh(l.parent)){const U=Su(l.tag,F.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);return Vs.add(U),FE(l)}return ize(l.tag,A,0),FE(l)}return fT(l,w,m,D,0)}function Kri(l){switch(l.parent.kind){case 263:case 231:return F.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 169:return F.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 172:return F.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 174:case 177:case 178:return F.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return H.fail()}}function Wri(l,m,D){const C=ya(l.expression),A=Gh(C);if(Nt(A))return FE(l);const w=go(A,0),I=go(A,1).length;if(oie(C,A,w.length,I))return BF(l);if($ri(l,w)&&!Cf(l.expression)){const Z=Hc(l.expression,!1);return pt(l,F._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,Z),FE(l)}const U=Kri(l);if(!w.length){const Z=tmt(l.expression,A,0),ce=ro(Z.messageChain,U),Fe=Y3(zn(l.expression),l.expression,ce);return Z.relatedMessage&&Es(Fe,Su(l.expression,Z.relatedMessage)),Vs.add(Fe),imt(A,0,Fe),FE(l)}return fT(l,w,m,D,0,U)}function OEe(l,m){const D=SF(l),C=D&&$f(D),A=C&&kf(C,Rm.Element,788968),w=A&&Yt.symbolToEntityName(A,788968,l),I=q.createFunctionTypeNode(void 0,[q.createParameterDeclaration(void 0,void 0,"props",void 0,Yt.typeToTypeNode(m,l))],w?q.createTypeReferenceNode(w,void 0):q.createKeywordTypeNode(133)),U=Hs(1,"props");return U.links.type=m,y3(I,void 0,void 0,[U],A?X0(A):Ot,void 0,1,0)}function Gri(l,m,D){if(X9(l.tagName)){const I=vft(l),U=OEe(l,I);return A6(pT(l.attributes,SEe(U,l),void 0,0),I,l.tagName,l.attributes),S(l.typeArguments)&&(L(l.typeArguments,ls),Vs.add(H8(zn(l),l.typeArguments,F.Expected_0_type_arguments_but_got_1,0,S(l.typeArguments)))),U}const C=ya(l.tagName),A=Gh(C);if(Nt(A))return FE(l);const w=Dft(C,l);return oie(C,A,w.length,0)?BF(l):w.length===0?(pt(l.tagName,F.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,Hc(l.tagName)),FE(l)):fT(l,w,m,D,0)}function Jri(l,m,D){const C=ya(l.right);if(!nt(C)){const A=gze(C);if(A){const w=Gh(A);if(Nt(w))return FE(l);const I=go(w,0),U=go(w,1);if(oie(A,w,I.length,U.length))return BF(l);if(I.length)return fT(l,I,m,D,0)}else if(!(o_e(C)||F6(C,di)))return pt(l.right,F.The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method),FE(l)}return mi}function $ri(l,m){return m.length&&ye(m,D=>D.minArgumentCount===0&&!th(D)&&D.parameters.length1?Rc(l.arguments[1]):void 0;for(let w=2;w{const I=vm(A);qge(w,I)||q1t(A,w,D,F.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)})}function iai(l){const m=ya(l.expression),D=gW(m,l.expression);return sEe(FD(D),l,D!==m)}function nai(l){return l.flags&64?iai(l):FD(ya(l.expression))}function lmt(l){if(ipt(l),L(l.typeArguments,ls),l.kind===233){const D=i5(l.parent);D.kind===226&&D.operatorToken.kind===104&&S2(l,D.right)&&pt(l,F.The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression)}const m=l.kind===233?ya(l.expression):N2(l.exprName)?Ute(l.exprName):ya(l.exprName);return cmt(m,l)}function cmt(l,m){const D=m.typeArguments;if(l===ja||Nt(l)||!Oe(D))return l;let C=!1,A;const w=U(l),I=C?A:l;return I&&Vs.add(H8(zn(m),D,F.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable,gn(I))),w;function U(ce){let Fe=!1,Te=!1;const $e=ut(ce);return C||(C=Te),Fe&&!Te&&(A??(A=ce)),$e;function ut(zt){if(zt.flags&524288){const gi=Ag(zt),Wi=Z(gi.callSignatures),dn=Z(gi.constructSignatures);if(Fe||(Fe=gi.callSignatures.length!==0||gi.constructSignatures.length!==0),Te||(Te=Wi.length!==0||dn.length!==0),Wi!==gi.callSignatures||dn!==gi.constructSignatures){const nu=Ol(void 0,gi.members,Wi,dn,gi.indexInfos);return nu.objectFlags|=8388608,nu.node=m,nu}}else if(zt.flags&58982400){const gi=Wh(zt);if(gi){const Wi=ut(gi);if(Wi!==gi)return Wi}}else{if(zt.flags&1048576)return hl(zt,U);if(zt.flags&2097152)return Ds(Lu(zt.types,ut))}return zt}}function Z(ce){const Fe=ti(ce,Te=>!!Te.typeParameters&&YMe(Te,D));return Lu(Fe,Te=>{const $e=eze(Te,D,!0);return $e?rW(Te,$e,Qn(Te.declaration)):Te})}}function uai(l){return ls(l.type),aze(l.expression,l.type)}function aze(l,m,D){const C=ya(l,D),A=Ar(m);if(Nt(A))return A;const w=Tn(m.parent,I=>I.kind===238||I.kind===357);return A6(C,A,w,l,F.Type_0_does_not_satisfy_the_expected_type_1),C}function rai(l){return eci(l),l.keywordToken===105?oze(l):l.keywordToken===102?aai(l):H.assertNever(l.keywordToken)}function dmt(l){switch(l.keywordToken){case 102:return Zdt();case 105:const m=oze(l);return Nt(m)?Ot:bai(m);default:H.assertNever(l.keywordToken)}}function oze(l){const m=eye(l);if(m)if(m.kind===176){const D=_u(m.parent);return Wn(D)}else{const D=_u(m);return Wn(D)}else return pt(l,F.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),Ot}function aai(l){ne===100||ne===199?zn(l).impliedNodeFormat!==99&&pt(l,F.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):ne<6&&ne!==4&&pt(l,F.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);const m=zn(l);return H.assert(!!(m.flags&8388608),"Containing file is missing import meta node flag."),l.name.escapedText==="meta"?qdt():Ot}function lie(l){const m=l.valueDeclaration;return Vd(Wn(l),!1,!!m&&(Nx(m)||PP(m)))}function sze(l,m,D="arg"){return l?(H.assert(at(l.name)),l.name.escapedText):`${D}_${m}`}function Iz(l,m,D){const C=l.parameters.length-(th(l)?1:0);if(m=C-1)return m===C-1?w:V1(qf(w,Qt));const I=[],U=[],Z=[];for(let ce=m;ce!(Z&1)),U=I<0?w.target.fixedLength:I;U>0&&(A=l.parameters.length-1+U)}}if(A===void 0){if(!D&&l.flags&32)return 0;A=l.minArgumentCount}if(C)return A;for(let w=A-1;w>=0;w--){const I=Lg(l,w);if(Ic(I,Hft).flags&131072)break;A=w}l.resolvedMinArgumentCount=A}return l.resolvedMinArgumentCount}function F_(l){if(th(l)){const m=Wn(l.parameters[l.parameters.length-1]);return!xs(m)||m.target.hasRestElement}return!1}function AW(l){if(th(l)){const m=Wn(l.parameters[l.parameters.length-1]);if(!xs(m))return m;if(m.target.hasRestElement)return bz(m,m.target.fixedLength)}}function SW(l){const m=AW(l);return m&&!A4(m)&&!nt(m)?m:void 0}function lze(l){return cze(l,Ku)}function cze(l,m){return l.parameters.length>0?Lg(l,0):m}function mmt(l,m,D){const C=l.parameters.length-(th(l)?1:0);for(let A=0;A=0);const w=hc(C.parent)?Wn(_u(C.parent.parent)):G4t(C.parent),I=hc(C.parent)?te:J4t(C.parent),U=wg(A),Z=yg("target",w),ce=yg("propertyKey",I),Fe=yg("parameterIndex",U);D.decoratorSignature=MW(void 0,void 0,[Z,ce,Fe],ca);break}case 174:case 177:case 178:case 172:{const C=m;if(!mr(C.parent))break;const A=G4t(C),w=yg("target",A),I=J4t(C),U=yg("propertyKey",I),Z=ko(C)?ca:n1t(tS(C));if(Ce!==0&&(!ko(m)||eE(m))){const Fe=n1t(tS(C)),Te=yg("descriptor",Fe);D.decoratorSignature=MW(void 0,void 0,[w,U,Te],er([Z,ca]))}else D.decoratorSignature=MW(void 0,void 0,[w,U],er([Z,ca]));break}}return D.decoratorSignature===mi?void 0:D.decoratorSignature}function hze(l){return ve?Cai(l):vai(l)}function die(l){const m=Fte(!0);return m!==Ka?(l=W5(Vz(l))||on,R5(m,[l])):on}function Emt(l){const m=e1t(!0);return m!==Ka?(l=W5(Vz(l))||on,R5(m,[l])):on}function hie(l,m){const D=die(m);return D===on?(pt(l,dm(l)?F.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:F.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),Ot):(sPe(!0)||pt(l,dm(l)?F.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:F.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),D)}function bai(l){const m=Hs(0,"NewTargetExpression"),D=Hs(4,"target",8);D.parent=m,D.links.type=l;const C=Vo([D]);return m.members=C,Ol(m,C,_t,_t,_t)}function HEe(l,m){if(!l.body)return Ot;const D=kd(l),C=(D&2)!==0,A=(D&1)!==0;let w,I,U,Z=ca;if(l.body.kind!==241)w=Rc(l.body,m&&m&-9),C&&(w=Vz(PW(w,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(A){const ce=bmt(l,m);ce?ce.length>0&&(w=er(ce,2)):Z=Ku;const{yieldTypes:Fe,nextTypes:Te}=yai(l,m);I=Oe(Fe)?er(Fe,2):void 0,U=Oe(Te)?Ds(Te):void 0}else{const ce=bmt(l,m);if(!ce)return D&2?hie(l,Ku):Ku;if(ce.length===0){const Fe=yEe(l,void 0),Te=Fe&&(bie(Fe,D)||ca).flags&32768?te:ca;return D&2?hie(l,Te):Te}w=er(ce,2)}if(w||I||U){if(I&&hEe(l,I,3),w&&hEe(l,w,1),U&&hEe(l,U,2),w&&Tg(w)||I&&Tg(I)||U&&Tg(U)){const ce=LMe(l),Fe=ce?ce===dp(l)?A?void 0:w:FEe(Zs(ce),l,void 0):void 0;A?(I=qPe(I,Fe,0,C),w=qPe(w,Fe,1,C),U=qPe(U,Fe,2,C)):w=Bii(w,Fe,C)}I&&(I=vm(I)),w&&(w=vm(w)),U&&(U=vm(U))}return A?_mt(I||Ku,w||Z,U||rft(2,l)||on,C):C?die(w||Z):w||Z}function _mt(l,m,D,C){const A=C?S0:ud,w=A.getGlobalGeneratorType(!1);if(l=A.resolveIterationType(l,void 0)||on,m=A.resolveIterationType(m,void 0)||on,D=A.resolveIterationType(D,void 0)||on,w===Ka){const I=A.getGlobalIterableIteratorType(!1),U=I!==Ka?c4t(I,A):void 0,Z=U?U.returnType:me,ce=U?U.nextType:te;return ms(m,Z)&&ms(ce,D)?I!==Ka?oW(I,[l]):(A.getGlobalIterableIteratorType(!0),Ko):(A.getGlobalGeneratorType(!0),Ko)}return oW(w,[l,m,D])}function yai(l,m){const D=[],C=[],A=(kd(l)&2)!==0;return Kbe(l.body,w=>{const I=w.expression?ya(w.expression,m):we;xa(D,Dmt(w,I,me,A));let U;if(w.asteriskToken){const Z=e_e(I,A?19:17,w.expression);U=Z&&Z.nextType}else U=hf(w,void 0);U&&xa(C,U)}),{yieldTypes:D,nextTypes:C}}function Dmt(l,m,D,C){const A=l.expression||l,w=l.asteriskToken?G5(C?19:17,m,D,A):m;return C?NF(w,A,l.asteriskToken?F.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:F.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):w}function xmt(l,m,D){let C=0;for(let A=0;A=m?D[A]:void 0;C|=w!==void 0?Vde.get(w)||32768:0}return C}function vmt(l){const m=ar(l);if(m.isExhaustive===void 0){m.isExhaustive=0;const D=kai(l);m.isExhaustive===0&&(m.isExhaustive=D)}else m.isExhaustive===0&&(m.isExhaustive=!1);return m.isExhaustive}function kai(l){if(l.expression.kind===221){const C=jht(l);if(!C)return!1;const A=xD(Rc(l.expression.expression)),w=xmt(0,0,C);return A.flags&3?(556800&w)===556800:!yE(A,I=>Lz(I,w)===w)}const m=Rc(l.expression);if(!pW(m))return!1;const D=EEe(l);return!D.length||Oe(D,Fii)?!1:bni(hl(m,Jh),D)}function Cmt(l){return l.endFlowNode&&Jte(l.endFlowNode)}function bmt(l,m){const D=kd(l),C=[];let A=Cmt(l),w=!1;if(y2(l.body,I=>{let U=I.expression;if(U){if(U=l0(U,!0),D&2&&U.kind===223&&(U=l0(U.expression,!0)),U.kind===213&&U.expression.kind===80&&Rc(U.expression).symbol===l.symbol){w=!0;return}let Z=Rc(U,m&&m&-9);D&2&&(Z=Vz(PW(Z,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),Z.flags&131072&&(w=!0),xa(C,Z)}else A=!0}),!(C.length===0&&!A&&(w||Fai(l))))return fe&&C.length&&A&&!(AE(l)&&C.some(I=>I.symbol===l.symbol))&&xa(C,te),C}function Fai(l){switch(l.kind){case 218:case 219:return!0;case 174:return l.parent.kind===210;default:return!1}}function fze(l,m){s(D);return;function D(){const C=kd(l),A=m&&bie(m,C);if(A&&(jl(A,16384)||A.flags&32769)||l.kind===173||Ql(l.body)||l.body.kind!==241||!Cmt(l))return;const w=l.flags&1024,I=U4(l)||l;if(A&&A.flags&131072)pt(I,F.A_function_returning_never_cannot_have_a_reachable_end_point);else if(A&&!w)pt(I,F.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value);else if(A&&fe&&!ms(te,A))pt(I,F.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(ae.noImplicitReturns){if(!A){if(!w)return;const U=Zs(dp(l));if(_4t(l,U))return}pt(I,F.Not_all_code_paths_return_a_value)}}}function ymt(l,m){if(H.assert(l.kind!==174||zp(l)),eS(l),A0(l)&&Hz(l,l.name),m&&m&4&&k4(l)){if(!U4(l)&&!fZ(l)){const C=yW(l);if(C&&NC(Zs(C))){const A=ar(l);if(A.contextFreeType)return A.contextFreeType;const w=HEe(l,m),I=y3(void 0,void 0,void 0,_t,w,void 0,0,64),U=Ol(l.symbol,se,[I],_t,_t);return U.objectFlags|=262144,A.contextFreeType=U}}return Ri}return!d_e(l)&&l.kind===218&&Zze(l),Aai(l,m),Wn(_u(l))}function Aai(l,m){const D=ar(l);if(!(D.flags&64)){const C=yW(l);if(!(D.flags&64)){D.flags|=64;const A=Ki(go(Wn(_u(l)),0));if(!A)return;if(k4(l))if(C){const w=jb(l);let I;if(m&&m&2){mmt(A,C,w);const U=AW(C);U&&U.flags&262144&&(I=lT(C,w.nonFixingMapper))}I||(I=w?lT(C,w.mapper):C),lai(A,I)}else cai(A);else if(C&&!l.typeParameters&&C.parameters.length>l.parameters.length){const w=jb(l);m&&m&2&&mmt(A,C,w)}if(C&&!uT(l)&&!A.resolvedReturnType){const w=HEe(l,m);A.resolvedReturnType||(A.resolvedReturnType=w)}TW(l)}}}function Sai(l){H.assert(l.kind!==174||zp(l));const m=kd(l),D=uT(l);if(fze(l,D),l.body)if(U4(l)||Zs(dp(l)),l.body.kind===241)ls(l.body);else{const C=ya(l.body),A=D&&bie(D,m);if(A)if((m&3)===2){const w=PW(C,!1,l.body,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);A6(w,A,l.body,l.body)}else A6(C,A,l.body,l.body)}}function KEe(l,m,D,C=!1){if(!ms(m,Ya)){const A=C&&jz(m);return bh(l,!!A&&ms(A,Ya),D),!1}return!0}function Bai(l){if(!Mo(l)||!rk(l))return!1;const m=Rc(l.arguments[2]);if(he(m,"value")){const A=qo(m,"writable"),w=A&&Wn(A);if(!w||w===Ui||w===Sn)return!0;if(A&&A.valueDeclaration&&Jc(A.valueDeclaration)){const I=A.valueDeclaration.initializer,U=ya(I);if(U===Ui||U===Sn)return!0}return!1}return!qo(m,"set")}function Ng(l){return!!(Gl(l)&8||l.flags&4&&l4(l)&8||l.flags&3&&OMe(l)&6||l.flags&98304&&!(l.flags&65536)||l.flags&8||Oe(l.declarations,Bai))}function kmt(l,m,D){var C,A;if(D===0)return!1;if(Ng(m)){if(m.flags&4&&I0(l)&&l.expression.kind===110){const w=Nm(l);if(!(w&&(w.kind===176||AE(w))))return!0;if(m.valueDeclaration){const I=Xn(m.valueDeclaration),U=w.parent===m.valueDeclaration.parent,Z=w===m.valueDeclaration.parent,ce=I&&((C=m.parent)==null?void 0:C.valueDeclaration)===w.parent,Fe=I&&((A=m.parent)==null?void 0:A.valueDeclaration)===w;return!(U||Z||ce||Fe)}}return!0}if(I0(l)){const w=l0(l.expression);if(w.kind===80){const I=ar(w).resolvedSymbol;if(I.flags&2097152){const U=rp(I);return!!U&&U.kind===274}}}return!1}function BW(l,m,D){const C=Dc(l,7);return C.kind!==80&&!I0(C)?(pt(l,m),!1):C.flags&64?(pt(l,D),!1):!0}function wai(l){ya(l.expression);const m=l0(l.expression);if(!I0(m))return pt(m,F.The_operand_of_a_delete_operator_must_be_a_property_reference),pr;Iu(m)&&ea(m.name)&&pt(m,F.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);const D=ar(m),C=sp(D.resolvedSymbol);return C&&(Ng(C)?pt(m,F.The_operand_of_a_delete_operator_cannot_be_a_read_only_property):Tai(m,C)),pr}function Tai(l,m){const D=Wn(m);fe&&!(D.flags&131075)&&!(Ve?m.flags&16777216:fp(D,16777216))&&pt(l,F.The_operand_of_a_delete_operator_must_be_optional)}function Lai(l){return ya(l.expression),Nw}function Nai(l){return eS(l),we}function Fmt(l){let m=!1;const D=dq(l);if(D&&zl(D)){const C=Gx(l)?F.await_expression_cannot_be_used_inside_a_class_static_block:F.await_using_statements_cannot_be_used_inside_a_class_static_block;pt(l,C),m=!0}else if(!(l.flags&65536))if(fq(l)){const C=zn(l);if(!Kb(C)){let A;if(!s7(C,ae)){A??(A=QE(C,l.pos));const w=Gx(l)?F.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:F.await_using_statements_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,I=Rd(C,A.start,A.length,w);Vs.add(I),m=!0}switch(ne){case 100:case 199:if(C.impliedNodeFormat===1){A??(A=QE(C,l.pos)),Vs.add(Rd(C,A.start,A.length,F.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)),m=!0;break}case 7:case 99:case 4:if(Ce>=4)break;default:A??(A=QE(C,l.pos));const w=Gx(l)?F.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:F.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher;Vs.add(Rd(C,A.start,A.length,w)),m=!0;break}}}else{const C=zn(l);if(!Kb(C)){const A=QE(C,l.pos),w=Gx(l)?F.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:F.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules,I=Rd(C,A.start,A.length,w);if(D&&D.kind!==176&&!(kd(D)&2)){const U=Su(D,F.Did_you_mean_to_mark_this_function_as_async);Es(I,U)}Vs.add(I),m=!0}}return Gx(l)&&AMe(l)&&(pt(l,F.await_expressions_cannot_be_used_in_a_parameter_initializer),m=!0),m}function Pai(l){s(()=>Fmt(l));const m=ya(l.expression),D=PW(m,!0,l,F.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return D===m&&!Nt(D)&&!(m.flags&3)&&i1(!1,Su(l,F.await_has_no_effect_on_the_type_of_this_expression)),D}function Mai(l){const m=ya(l.operand);if(m===ja)return ja;switch(l.operand.kind){case 9:switch(l.operator){case 41:return Z9(wg(-l.operand.text));case 40:return Z9(wg(+l.operand.text))}break;case 10:if(l.operator===41)return Z9(jge({negative:!0,base10Value:SP(l.operand.text)}))}switch(l.operator){case 40:case 41:case 55:return kE(m,l.operand),fie(m,12288)&&pt(l.operand,F.The_0_operator_cannot_be_applied_to_type_symbol,Uo(l.operator)),l.operator===40?(fie(m,2112)&&pt(l.operand,F.Operator_0_cannot_be_applied_to_type_1,Uo(l.operator),gn(kD(m))),Qt):mze(m);case 54:Tze(m,l.operand);const D=Lz(m,12582912);return D===4194304?Ui:D===8388608?du:pr;case 46:case 47:return KEe(l.operand,kE(m,l.operand),F.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&BW(l.operand,F.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,F.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),mze(m)}return Ot}function zai(l){const m=ya(l.operand);return m===ja?ja:(KEe(l.operand,kE(m,l.operand),F.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&BW(l.operand,F.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,F.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),mze(m))}function mze(l){return jl(l,2112)?u1(l,3)||jl(l,296)?Ya:Li:Qt}function fie(l,m){if(jl(l,m))return!0;const D=xD(l);return!!D&&jl(D,m)}function jl(l,m){if(l.flags&m)return!0;if(l.flags&3145728){const D=l.types;for(const C of D)if(jl(C,m))return!0}return!1}function u1(l,m,D){return l.flags&m?!0:D&&l.flags&114691?!1:!!(m&296)&&ms(l,Qt)||!!(m&2112)&&ms(l,Li)||!!(m&402653316)&&ms(l,ct)||!!(m&528)&&ms(l,pr)||!!(m&16384)&&ms(l,ca)||!!(m&131072)&&ms(l,Ku)||!!(m&65536)&&ms(l,it)||!!(m&32768)&&ms(l,te)||!!(m&4096)&&ms(l,Xu)||!!(m&67108864)&&ms(l,as)}function mie(l,m,D){return l.flags&1048576?ye(l.types,C=>mie(C,m,D)):u1(l,m,D)}function WEe(l){return!!(Gu(l)&16)&&!!l.symbol&&pze(l.symbol)}function pze(l){return(l.flags&128)!==0}function gze(l){const m=h4t("hasInstance"),D=bC(l,m);if(D){const C=Wn(D);if(C&&go(C,0).length!==0)return C}}function Iai(l,m,D,C,A){if(D===ja||C===ja)return ja;!nt(D)&&mie(D,402784252)&&pt(l,F.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),H.assert(Hq(l.parent));const w=mT(l.parent,void 0,A);if(w===Wu)return ja;const I=Zs(w);return Ah(I,pr,m,F.An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression),pr}function Rai(l){return yE(l,m=>m===Il||!!(m.flags&2097152)&&yD(xD(m)))}function Oai(l,m,D,C){if(D===ja||C===ja)return ja;if(ea(l)){if(Ce<99&&rd(l,2097152),!ar(l).resolvedSymbol&&Yd(l)){const A=GMe(l,C.symbol,!0);Pft(l,C,A)}}else Ah(kE(D,l),Fn,l);return Ah(kE(C,m),as,m)&&Rai(C)&&pt(m,F.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,gn(C)),pr}function jai(l,m,D){const C=l.properties;if(fe&&C.length===0)return kE(m,l);for(let A=0;Abz(ce,D)):V1(C);return LF(U,Z,A)}}}}function LF(l,m,D,C){let A;if(l.kind===304){const w=l;w.objectAssignmentInitializer&&(fe&&!fp(ya(w.objectAssignmentInitializer),16777216)&&(m=mp(m,524288)),Gai(w.name,w.equalsToken,w.objectAssignmentInitializer,D)),A=l.name}else A=l;return A.kind===226&&A.operatorToken.kind===64&&(We(A,D),A=A.left,fe&&(m=mp(m,524288))),A.kind===210?jai(A,m,C):A.kind===209?Vai(A,m,D):Hai(A,m,D)}function Hai(l,m,D){const C=ya(l,D),A=l.parent.kind===305?F.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:F.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,w=l.parent.kind===305?F.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:F.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;return BW(l,A,w)&&A6(m,C,l,l),T8(l)&&rd(l.parent,1048576),m}function pie(l){switch(l=l0(l),l.kind){case 80:case 11:case 14:case 215:case 228:case 15:case 9:case 10:case 112:case 97:case 106:case 157:case 218:case 231:case 219:case 209:case 210:case 221:case 235:case 285:case 284:return!0;case 227:return pie(l.whenTrue)&&pie(l.whenFalse);case 226:return u5(l.operatorToken.kind)?!1:pie(l.left)&&pie(l.right);case 224:case 225:switch(l.operator){case 54:case 40:case 41:case 55:return!0}return!1;case 222:case 216:case 234:default:return!1}}function Eze(l,m){return(m.flags&98304)!==0||qge(l,m)}function Kai(){const l=kY(m,D,C,A,w,I);return($e,ut)=>{const zt=l($e,ut);return H.assertIsDefined(zt),zt};function m($e,ut,zt){return ut?(ut.stackIndex++,ut.skip=!1,ce(ut,void 0),Te(ut,void 0)):ut={checkMode:zt,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},Qn($e)&&l7($e)?(ut.skip=!0,Te(ut,ya($e.right,zt)),ut):(Wai($e),$e.operatorToken.kind===64&&($e.left.kind===210||$e.left.kind===209)&&(ut.skip=!0,Te(ut,LF($e.left,ya($e.right,zt),zt,$e.right.kind===110))),ut)}function D($e,ut,zt){if(!ut.skip)return U(ut,$e)}function C($e,ut,zt){if(!ut.skip){const gi=Fe(ut);H.assertIsDefined(gi),ce(ut,gi),Te(ut,void 0);const Wi=$e.kind;if(Wj(Wi)){let dn=zt.parent;for(;dn.kind===217||Gj(dn);)dn=dn.parent;(Wi===56||xk(dn))&&wze(zt.left,gi,xk(dn)?dn.thenStatement:void 0),Tze(gi,zt.left)}}}function A($e,ut,zt){if(!ut.skip)return U(ut,$e)}function w($e,ut){let zt;if(ut.skip)zt=Fe(ut);else{const gi=Z(ut);H.assertIsDefined(gi);const Wi=Fe(ut);H.assertIsDefined(Wi),zt=Bmt($e.left,$e.operatorToken,$e.right,gi,Wi,ut.checkMode,$e)}return ut.skip=!1,ce(ut,void 0),Te(ut,void 0),ut.stackIndex--,zt}function I($e,ut,zt){return Te($e,ut),$e}function U($e,ut){if(Xn(ut))return ut;Te($e,ya(ut,$e.checkMode))}function Z($e){return $e.typeStack[$e.stackIndex]}function ce($e,ut){$e.typeStack[$e.stackIndex]=ut}function Fe($e){return $e.typeStack[$e.stackIndex+1]}function Te($e,ut){$e.typeStack[$e.stackIndex+1]=ut}}function Wai(l){const{left:m,operatorToken:D,right:C}=l;D.kind===61&&(Xn(m)&&(m.operatorToken.kind===57||m.operatorToken.kind===56)&&Zi(m,F._0_and_1_operations_cannot_be_mixed_without_parentheses,Uo(m.operatorToken.kind),Uo(D.kind)),Xn(C)&&(C.operatorToken.kind===57||C.operatorToken.kind===56)&&Zi(C,F._0_and_1_operations_cannot_be_mixed_without_parentheses,Uo(C.operatorToken.kind),Uo(D.kind)))}function Gai(l,m,D,C,A){const w=m.kind;if(w===64&&(l.kind===210||l.kind===209))return LF(l,ya(D,C),C,D.kind===110);let I;Wj(w)?I=Kz(l,C):I=ya(l,C);const U=ya(D,C);return Bmt(l,m,D,I,U,C,A)}function Bmt(l,m,D,C,A,w,I){const U=m.kind;switch(U){case 42:case 43:case 67:case 68:case 44:case 69:case 45:case 70:case 41:case 66:case 48:case 71:case 49:case 72:case 50:case 73:case 52:case 75:case 53:case 79:case 51:case 74:if(C===ja||A===ja)return ja;C=kE(C,l),A=kE(A,D);let Ii;if(C.flags&528&&A.flags&528&&(Ii=$e(m.kind))!==void 0)return pt(I||m,F.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,Uo(m.kind),Uo(Ii)),Qt;{const An=KEe(l,C,F.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),_n=KEe(D,A,F.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);let hu;if(u1(C,3)&&u1(A,3)||!(jl(C,2112)||jl(A,2112)))hu=Qt;else if(Z(C,A)){switch(U){case 50:case 73:Wi();break;case 43:case 68:Ce<3&&pt(I,F.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}hu=Li}else Wi(Z),hu=Ot;return An&&_n&&ut(hu),hu}case 40:case 65:if(C===ja||A===ja)return ja;!u1(C,402653316)&&!u1(A,402653316)&&(C=kE(C,l),A=kE(A,D));let Nn;return u1(C,296,!0)&&u1(A,296,!0)?Nn=Qt:u1(C,2112,!0)&&u1(A,2112,!0)?Nn=Li:u1(C,402653316,!0)||u1(A,402653316,!0)?Nn=ct:(nt(C)||nt(A))&&(Nn=Nt(C)||Nt(A)?Ot:me),Nn&&!Te(U)?Nn:Nn?(U===65&&ut(Nn),Nn):(Wi((_n,hu)=>u1(_n,402655727)&&u1(hu,402655727)),me);case 30:case 32:case 33:case 34:return Te(U)&&(C=$Pe(kE(C,l)),A=$Pe(kE(A,D)),gi((An,_n)=>{if(nt(An)||nt(_n))return!0;const hu=ms(An,Ya),oo=ms(_n,Ya);return hu&&oo||!hu&&!oo&&Nte(An,_n)})),pr;case 35:case 36:case 37:case 38:if(!(w&&w&64)){if(($se(l)||$se(D))&&(!Qn(l)||U===37||U===38)){const An=U===35||U===37;pt(I,F.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value,An?"false":"true")}nu(I,U,l,D),gi((An,_n)=>Eze(An,_n)||Eze(_n,An))}return pr;case 104:return Iai(l,D,C,A,w);case 103:return Oai(l,D,C,A);case 56:case 77:{const An=fp(C,4194304)?er([Lii(fe?C:kD(A)),A]):C;return U===77&&ut(A),An}case 57:case 76:{const An=fp(C,8388608)?er([FD(fht(C)),A],2):C;return U===76&&ut(A),An}case 61:case 78:{const An=fp(C,262144)?er([FD(C),A],2):C;return U===78&&ut(A),An}case 64:const vn=Xn(l.parent)?Xl(l.parent):0;return ce(vn,A),zt(vn)?((!(A.flags&524288)||vn!==2&&vn!==6&&!bD(A)&&!pMe(A)&&!(Gu(A)&1))&&ut(A),C):(ut(A),A);case 28:if(!ae.allowUnreachableCode&&pie(l)&&!Fe(l.parent)){const An=zn(l),_n=An.text,hu=gs(_n,l.pos);An.parseDiagnostics.some(Eo=>Eo.code!==F.JSX_expressions_must_have_one_parent_element.code?!1:Nse(Eo,hu))||pt(l,F.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return A;default:return H.fail()}function Z(Ii,Nn){return u1(Ii,2112)&&u1(Nn,2112)}function ce(Ii,Nn){if(Ii===2)for(const vn of D6(Nn)){const An=Wn(vn);if(An.symbol&&An.symbol.flags&32){const _n=vn.escapedName,hu=uc(vn.valueDeclaration,_n,788968,void 0,_n,!1);hu!=null&&hu.declarations&&hu.declarations.some(PB)&&(kg(hu,F.Duplicate_identifier_0,Qr(_n),vn),kg(vn,F.Duplicate_identifier_0,Qr(_n),hu))}}}function Fe(Ii){return Ii.parent.kind===217&&Of(Ii.left)&&Ii.left.text==="0"&&(Mo(Ii.parent.parent)&&Ii.parent.parent.expression===Ii.parent||Ii.parent.parent.kind===215)&&(I0(Ii.right)||at(Ii.right)&&Ii.right.escapedText==="eval")}function Te(Ii){const Nn=fie(C,12288)?l:fie(A,12288)?D:void 0;return Nn?(pt(Nn,F.The_0_operator_cannot_be_applied_to_type_symbol,Uo(Ii)),!1):!0}function $e(Ii){switch(Ii){case 52:case 75:return 57;case 53:case 79:return 38;case 51:case 74:return 56;default:return}}function ut(Ii){u5(U)&&s(Nn);function Nn(){let vn=C;if(mM(m.kind)&&l.kind===211&&(vn=TEe(l,void 0,!0)),BW(l,F.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,F.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)){let An;if(Ve&&Iu(l)&&jl(Ii,32768)){const _n=he(b1(l.expression),l.name.escapedText);Yge(Ii,_n)&&(An=F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target)}A6(Ii,vn,l,D,An)}}}function zt(Ii){var Nn;switch(Ii){case 2:return!0;case 1:case 5:case 6:case 3:case 4:const vn=Dm(l),An=l7(D);return!!An&&ys(An)&&!!((Nn=vn==null?void 0:vn.exports)!=null&&Nn.size);default:return!1}}function gi(Ii){return Ii(C,A)?!1:(Wi(Ii),!0)}function Wi(Ii){let Nn=!1;const vn=I||m;if(Ii){const Eo=W5(C),fo=W5(A);Nn=!(Eo===C&&fo===A)&&!!(Eo&&fo)&&Ii(Eo,fo)}let An=C,_n=A;!Nn&&Ii&&([An,_n]=Jai(C,A,Ii));const[hu,oo]=h6(An,_n);dn(vn,Nn,hu,oo)||bh(vn,Nn,F.Operator_0_cannot_be_applied_to_types_1_and_2,Uo(m.kind),hu,oo)}function dn(Ii,Nn,vn,An){switch(m.kind){case 37:case 35:case 38:case 36:return bh(Ii,Nn,F.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,vn,An);default:return}}function nu(Ii,Nn,vn,An){const _n=En(l0(vn)),hu=En(l0(An));if(_n||hu){const oo=pt(Ii,F.This_condition_will_always_return_0,Uo(Nn===37||Nn===35?97:112));if(_n&&hu)return;const Eo=Nn===38||Nn===36?Uo(54):"",fo=_n?An:vn,ka=l0(fo);Es(oo,Su(fo,F.Did_you_mean_0,`${Eo}Number.isNaN(${ec(ka)?zf(ka):"..."})`))}}function En(Ii){if(at(Ii)&&Ii.escapedText==="NaN"){const Nn=Rei();return!!Nn&&Nn===Zp(Ii)}return!1}}function Jai(l,m,D){let C=l,A=m;const w=kD(l),I=kD(m);return D(w,I)||(C=w,A=I),[C,A]}function $ai(l){s($e);const m=Nm(l);if(!m)return me;const D=kd(m);if(!(D&1))return me;const C=(D&2)!==0;l.asteriskToken&&(C&&Ce<99&&rd(l,26624),!C&&Ce<2&&ae.downlevelIteration&&rd(l,256));let A=uT(m);A&&A.flags&1048576&&(A=Ic(A,ut=>vze(ut,D,void 0)));const w=A&&E4t(A,C),I=w&&w.yieldType||me,U=w&&w.nextType||me,Z=C?NF(U)||me:U,ce=l.expression?ya(l.expression):we,Fe=Dmt(l,ce,Z,C);if(A&&Fe&&A6(Fe,I,l.expression||l,l.expression),l.asteriskToken)return Nze(C?19:17,1,ce,l.expression)||me;if(A)return Hb(2,A,C)||me;let Te=rft(2,m);return Te||(Te=me,s(()=>{if(Ae&&!Dke(l)){const ut=hf(l,void 0);(!ut||nt(ut))&&pt(l,F.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}})),Te;function $e(){l.flags&16384||r1(l,F.A_yield_expression_is_only_allowed_in_a_generator_body),AMe(l)&&pt(l,F.yield_expressions_cannot_be_used_in_a_parameter_initializer)}}function Uai(l,m){const D=Kz(l.condition,m);wze(l.condition,D,l.whenTrue);const C=ya(l.whenTrue,m),A=ya(l.whenFalse,m);return er([C,A],2)}function wmt(l){const m=l.parent;return Cf(m)&&wmt(m)||U0(m)&&m.argumentExpression===l}function qai(l){const m=[l.head.text],D=[];for(const A of l.templateSpans){const w=ya(A.expression);fie(w,12288)&&pt(A.expression,F.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),m.push(A.literal.text),D.push(ms(w,c0)?w:ct)}if(Rz(l)||wmt(l)||yE(hf(l,void 0)||on,Zai))return xF(m,D);const C=l.parent.kind!==215&&L4t(l);return C?Z9(df(C)):ct}function Zai(l){return!!(l.flags&134217856||l.flags&58982400&&jl(Wh(l)||on,402653316))}function Yai(l){return W2(l)&&!bk(l.parent)?l.parent.parent:l}function pT(l,m,D,C){const A=Yai(l);Zte(A,m,!1),Dui(A,D);const w=ya(l,C|1|(D?2:0));D&&D.intraExpressionInferenceSites&&(D.intraExpressionInferenceSites=void 0);const I=jl(w,2944)&&GEe(w,FEe(m,l,void 0))?Jh(w):w;return xui(),bW(),I}function Rc(l,m){if(m)return ya(l,m);const D=ar(l);if(!D.resolvedType){const C=Xe,A=bn;Xe=Dt,bn=void 0,D.resolvedType=ya(l,m),bn=A,Xe=C}return D.resolvedType}function Tmt(l){return l=l0(l,!0),l.kind===216||l.kind===234||tM(l)}function wW(l,m,D){const C=Dj(l);if(Qn(l)){const w=gZ(l);if(w)return aze(C,w,m)}const A=xze(C)||(D?pT(C,D,void 0,m||0):Rc(C,m));return io(l)&&l.name.kind===207&&xs(A)&&!A.target.hasRestElement&&O5(A)GEe(l,C))}if(m.flags&58982400){const D=Wh(m)||on;return jl(D,4)&&jl(l,128)||jl(D,8)&&jl(l,256)||jl(D,64)&&jl(l,2048)||jl(D,4096)&&jl(l,8192)||GEe(l,D)}return!!(m.flags&406847616&&jl(l,128)||m.flags&256&&jl(l,256)||m.flags&2048&&jl(l,2048)||m.flags&512&&jl(l,512)||m.flags&8192&&jl(l,8192))}return!1}function Rz(l){const m=l.parent;return Yy(m)&&q3(m.type)||tM(m)&&q3(vY(m))||rze(l)&&W9(hf(l,0))||(Cf(m)||Dh(m)||uE(m))&&Rz(m)||(Jc(m)||pm(m)||qP(m))&&Rz(m.parent)}function Oz(l,m,D){const C=ya(l,m,D);return Rz(l)||Jbe(l)?Jh(C):Tmt(l)?C:UPe(C,FEe(hf(l,void 0),l,void 0))}function Lmt(l,m){return l.name.kind===167&&F3(l.name),Oz(l.initializer,m)}function Nmt(l,m){rpt(l),l.name.kind===167&&F3(l.name);const D=ymt(l,m);return Pmt(l,D,m)}function Pmt(l,m,D){if(D&&D&10){const C=kW(m,0,!0),A=kW(m,1,!0),w=C||A;if(w&&w.typeParameters){const I=MC(l,2);if(I){const U=kW(FD(I),C?0:1,!1);if(U&&!U.typeParameters){if(D&8)return Mmt(l,D),Ri;const Z=jb(l),ce=Z.signature&&Zs(Z.signature),Fe=ce&&Kft(ce);if(Fe&&!Fe.typeParameters&&!ye(Z.inferences,gT)){const Te=ioi(Z,w.typeParameters),$e=ePe(w,Te),ut=Vt(Z.inferences,zt=>tMe(zt.typeParameter));if(YPe($e,U,(zt,gi)=>{AD(ut,zt,gi,0,!0)}),Oe(ut,gT)&&(QPe($e,U,(zt,gi)=>{AD(ut,zt,gi)}),!eoi(Z.inferences,ut)))return toi(Z.inferences,ut),Z.inferredTypeParameters=Hi(Z.inferredTypeParameters,Te),DF($e)}return DF(Wft(w,U,Z))}}}}return m}function Mmt(l,m){if(m&2){const D=jb(l);D.flags|=4}}function gT(l){return!!(l.candidates||l.contraCandidates)}function Xai(l){return!!(l.candidates||l.contraCandidates||kdt(l.typeParameter))}function eoi(l,m){for(let D=0;DD.symbol.escapedName===m)}function noi(l,m){let D=m.length;for(;D>1&&m.charCodeAt(D-1)>=48&&m.charCodeAt(D-1)<=57;)D--;const C=m.slice(0,D);for(let A=1;;A++){const w=C+A;if(!Dze(l,w))return w}}function zmt(l){const m=wF(l);if(m&&!m.typeParameters)return Zs(m)}function uoi(l){const m=ya(l.expression),D=gW(m,l.expression),C=zmt(m);return C&&sEe(C,l,D!==m)}function b1(l){const m=xze(l);if(m)return m;if(l.flags&268435456&&bn){const A=bn[$s(l)];if(A)return A}const D=Xi,C=ya(l,64);if(Xi!==D){const A=bn||(bn=[]);A[$s(l)]=C,_ke(l,l.flags|268435456)}return C}function xze(l){let m=l0(l,!0);if(tM(m)){const D=vY(m);if(!q3(D))return Ar(D)}if(m=l0(l),Gx(m)){const D=xze(m.expression);return D?NF(D):void 0}if(Mo(m)&&m.expression.kind!==108&&!xf(m,!0)&&!nmt(m))return $y(m)?uoi(m):zmt(hT(m.expression));if(Yy(m)&&!q3(m.type))return Ar(m.type);if(E2(l)||HN(l))return ya(l)}function gie(l){const m=ar(l);if(m.contextFreeType)return m.contextFreeType;Zte(l,me,!1);const D=m.contextFreeType=ya(l,4);return bW(),D}function ya(l,m,D){var C,A;(C=Gn)==null||C.push(Gn.Phase.Check,"checkExpression",{kind:l.kind,pos:l.pos,end:l.end,path:l.tracingPath});const w=K;K=l,z=0;const I=ooi(l,m,D),U=Pmt(l,I,m);return WEe(U)&&roi(l,U),K=w,(A=Gn)==null||A.pop(),U}function roi(l,m){l.parent.kind===211&&l.parent.expression===l||l.parent.kind===212&&l.parent.expression===l||(l.kind===80||l.kind===166)&&r_e(l)||l.parent.kind===186&&l.parent.exprName===l||l.parent.kind===281||pt(l,F.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),mg(ae)&&(H.assert(!!(m.symbol.flags&128)),m.symbol.valueDeclaration.flags&33554432&&!Tv(l)&&pt(l,F.Cannot_access_ambient_const_enums_when_0_is_enabled,ht))}function aoi(l,m){if(lm(l)){if(Ile(l))return aze(l.expression,Rle(l),m);if(tM(l))return omt(l,m)}return ya(l.expression,m)}function ooi(l,m,D){const C=l.kind;if(d)switch(C){case 231:case 218:case 219:d.throwIfCancellationRequested()}switch(C){case 80:return Hni(l,m);case 81:return rri(l);case 110:return Ute(l);case 108:return kMe(l);case 106:return Ct;case 15:case 11:return aMe(l)?mt:Z9(df(l.text));case 9:return eIe(l),Z9(wg(+l.text));case 10:return sci(l),Z9(jge({negative:!1,base10Value:SP(l.text)}));case 112:return du;case 97:return Ui;case 228:return qai(l);case 14:return Tl;case 209:return fft(l,m,D);case 210:return Iui(l,m);case 211:return TEe(l,m);case 166:return Bft(l,m);case 212:return vri(l,m);case 213:if(l.expression.kind===102)return Qri(l);case 214:return Yri(l,m);case 215:return Xri(l);case 217:return aoi(l,m);case 231:return Usi(l);case 218:case 219:return ymt(l,m);case 221:return Lai(l);case 216:case 234:return eai(l,m);case 235:return nai(l);case 233:return lmt(l);case 238:return uai(l);case 236:return rai(l);case 220:return wai(l);case 222:return Nai(l);case 223:return Pai(l);case 224:return Mai(l);case 225:return zai(l);case 226:return We(l,m);case 227:return Uai(l,m);case 230:return Tui(l,m);case 232:return we;case 229:return $ai(l);case 237:return Lui(l);case 294:return Qui(l,m);case 284:return Vui(l);case 285:return Oui(l);case 288:return Hui(l);case 292:return Wui(l,m);case 286:H.fail("Shouldn't ever directly check a JsxOpeningElement")}return Ot}function Imt(l){S3(l),l.expression&&r1(l.expression,F.Type_expected),ls(l.constraint),ls(l.default);const m=gF(_u(l));Wh(m),WXt(m)||pt(l.default,F.Type_parameter_0_has_a_circular_default,gn(m));const D=rh(m),C=_F(m);D&&C&&Ah(C,xm(_a(D,Mb(m,C)),C),l.default,F.Type_0_does_not_satisfy_the_constraint_1),eS(l),s(()=>Wz(l.name,F.Type_parameter_name_cannot_be_0))}function soi(l){var m,D;if(xh(l.parent)||mr(l.parent)||jp(l.parent)){const C=gF(_u(l)),A=HPe(C)&24576;if(A){const w=_u(l.parent);if(jp(l.parent)&&!(Gu(X0(w))&48))pt(l,F.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);else if(A===8192||A===16384){(m=Gn)==null||m.push(Gn.Phase.CheckTypes,"checkTypeParameterDeferred",{parent:Fh(X0(w)),id:Fh(C)});const I=zte(w,C,A===16384?tt:$),U=zte(w,C,A===16384?$:tt),Z=C;Y=C,Ah(I,U,l,F.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),Y=Z,(D=Gn)==null||D.pop()}}}}function Rmt(l){S3(l),vie(l);const m=Nm(l);Yu(l,31)&&(m.kind===176&&H4(m.body)||pt(l,F.A_parameter_property_is_only_allowed_in_a_constructor_implementation),m.kind===176&&at(l.name)&&l.name.escapedText==="constructor"&&pt(l.name,F.constructor_cannot_be_used_as_a_parameter_property_name)),!l.initializer&&PP(l)&&So(l.name)&&m.body&&pt(l,F.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),l.name&&at(l.name)&&(l.name.escapedText==="this"||l.name.escapedText==="new")&&(m.parameters.indexOf(l)!==0&&pt(l,F.A_0_parameter_must_be_the_first_parameter,l.name.escapedText),(m.kind===176||m.kind===180||m.kind===185)&&pt(l,F.A_constructor_cannot_have_a_this_parameter),m.kind===219&&pt(l,F.An_arrow_function_cannot_have_a_this_parameter),(m.kind===177||m.kind===178)&&pt(l,F.get_and_set_accessors_cannot_declare_this_parameters)),l.dotDotDotToken&&!So(l.name)&&!ms(Sg(Wn(l.symbol)),ip)&&pt(l,F.A_rest_parameter_must_be_of_an_array_type)}function loi(l){const m=coi(l);if(!m){pt(l,F.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}const D=dp(m),C=y4(D);if(!C)return;ls(l.type);const{parameterName:A}=l;if(C.kind===0||C.kind===2)Vge(A);else if(C.parameterIndex>=0){if(th(D)&&C.parameterIndex===D.parameters.length-1)pt(A,F.A_type_predicate_cannot_reference_a_rest_parameter);else if(C.type){const w=()=>ro(void 0,F.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);Ah(C.type,Wn(D.parameters[C.parameterIndex]),l.type,void 0,w)}}else if(A){let w=!1;for(const{name:I}of m.parameters)if(So(I)&&Omt(I,A,C.parameterName)){w=!0;break}w||pt(l.parameterName,F.Cannot_find_parameter_0,C.parameterName)}}function coi(l){switch(l.parent.kind){case 219:case 179:case 262:case 218:case 184:case 174:case 173:const m=l.parent;if(l===m.type)return m}}function Omt(l,m,D){for(const C of l.elements){if(Fd(C))continue;const A=C.name;if(A.kind===80&&A.escapedText===D)return pt(m,F.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,D),!0;if((A.kind===207||A.kind===206)&&Omt(A,m,D))return!0}}function TW(l){l.kind===181?zli(l):(l.kind===184||l.kind===262||l.kind===185||l.kind===179||l.kind===176||l.kind===180)&&d_e(l);const m=kd(l);m&4||((m&3)===3&&Ce<99&&rd(l,6144),(m&3)===2&&Ce<4&&rd(l,64),m&3&&Ce<2&&rd(l,128)),yie(Sx(l)),Gsi(l),L(l.parameters,Rmt),l.type&&ls(l.type),s(D);function D(){ssi(l);let C=U4(l),A=C;if(Qn(l)){const w=xv(l);if(w&&w.typeExpression&&X4(w.typeExpression.type)){const I=wF(Ar(w.typeExpression));I&&I.declaration&&(C=U4(I.declaration),A=w.typeExpression.type)}}if(Ae&&!C)switch(l.kind){case 180:pt(l,F.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 179:pt(l,F.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break}if(C&&A){const w=kd(l);if((w&5)===1){const I=Ar(C);I===ca?pt(A,F.A_generator_cannot_have_a_void_type_annotation):vze(I,w,A)}else(w&3)===2&&Voi(l,C,A)}l.kind!==181&&l.kind!==324&&T6(l)}}function vze(l,m,D){const C=Hb(0,l,(m&2)!==0)||me,A=Hb(1,l,(m&2)!==0)||C,w=Hb(2,l,(m&2)!==0)||on,I=_mt(C,A,w,!!(m&2));return Ah(I,l,D)}function doi(l){const m=new Map,D=new Map,C=new Map;for(const w of l.members)if(w.kind===176)for(const I of w.parameters)Mf(I,w)&&!So(I.name)&&A(m,I.name,I.name.escapedText,3);else{const I=No(w),U=w.name;if(!U)continue;const Z=ea(U),ce=Z&&I?16:0,Fe=Z?C:I?D:m,Te=U&&tIe(U);if(Te)switch(w.kind){case 177:A(Fe,U,Te,1|ce);break;case 178:A(Fe,U,Te,2|ce);break;case 172:A(Fe,U,Te,3|ce);break;case 174:A(Fe,U,Te,8|ce);break}}function A(w,I,U,Z){const ce=w.get(U);if(ce)if((ce&16)!==(Z&16))pt(I,F.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,Hc(I));else{const Fe=!!(ce&8),Te=!!(Z&8);Fe||Te?Fe!==Te&&pt(I,F.Duplicate_identifier_0,Hc(I)):ce&Z&-17?pt(I,F.Duplicate_identifier_0,Hc(I)):w.set(U,ce|Z)}else w.set(U,Z)}}function hoi(l){for(const m of l.members){const D=m.name;if(No(m)&&D){const A=tIe(D);switch(A){case"name":case"length":case"caller":case"arguments":if(Se)break;case"prototype":const w=F.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,I=__(_u(l));pt(D,w,A,I);break}}}}function jmt(l){const m=new Map;for(const D of l.members)if(D.kind===171){let C;const A=D.name;switch(A.kind){case 11:case 9:C=A.text;break;case 80:C=fu(A);break;default:continue}m.get(C)?(pt(Za(D.symbol.valueDeclaration),F.Duplicate_identifier_0,C),pt(D.name,F.Duplicate_identifier_0,C)):m.set(C,!0)}}function Cze(l){if(l.kind===264){const D=_u(l);if(D.declarations&&D.declarations.length>0&&D.declarations[0]!==l)return}const m=Mdt(_u(l));if(m!=null&&m.declarations){const D=new Map;for(const C of m.declarations)C.parameters.length===1&&C.parameters[0].type&&FF(Ar(C.parameters[0].type),A=>{const w=D.get(Fh(A));w?w.declarations.push(C):D.set(Fh(A),{type:A,declarations:[C]})});D.forEach(C=>{if(C.declarations.length>1)for(const A of C.declarations)pt(A,F.Duplicate_index_signature_for_type_0,gn(C.type))})}}function Vmt(l){!S3(l)&&!uci(l)&&h_e(l.name),vie(l),bze(l),Yu(l,64)&&l.kind===172&&l.initializer&&pt(l,F.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,b0(l.name))}function foi(l){return ea(l.name)&&pt(l,F.Private_identifiers_are_not_allowed_outside_class_bodies),Vmt(l)}function moi(l){rpt(l)||h_e(l.name),dc(l)&&l.asteriskToken&&at(l.name)&&fu(l.name)==="constructor"&&pt(l.name,F.Class_constructor_may_not_be_a_generator),e4t(l),Yu(l,64)&&l.kind===174&&l.body&&pt(l,F.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,b0(l.name)),ea(l.name)&&!Yd(l)&&pt(l,F.Private_identifiers_are_not_allowed_outside_class_bodies),bze(l)}function bze(l){if(ea(l.name)&&Ce<99){for(let m=YE(l);m;m=YE(m))ar(m).flags|=1048576;if(Xd(l.parent)){const m=vMe(l.parent);m&&(ar(l.name).flags|=32768,ar(m).flags|=4096)}}}function poi(l){S3(l),ao(l,ls)}function goi(l){TW(l),ici(l)||nci(l),ls(l.body);const m=_u(l),D=Sl(m,l.kind);if(l===D&&UEe(m),Ql(l.body))return;s(A);return;function C(w){return ph(w)?!0:w.kind===172&&!No(w)&&!!w.initializer}function A(){const w=l.parent;if(B2(w)){CMe(l.parent,w);const I=bMe(w),U=Yht(l.body);if(U){if(I&&pt(U,F.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),!Ne&&(Oe(l.parent.members,C)||Oe(l.parameters,ce=>Yu(ce,31))))if(!Eoi(U,l.body))pt(U,F.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers);else{let ce;for(const Fe of l.body.statements){if(Od(Fe)&&ik(Dc(Fe.expression))){ce=Fe;break}if(Hmt(Fe))break}ce===void 0&&pt(l,F.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}}else I||pt(l,F.Constructors_for_derived_classes_must_contain_a_super_call)}}}function Eoi(l,m){const D=i5(l.parent);return Od(D)&&D.parent===m}function Hmt(l){return l.kind===108||l.kind===110?!0:Xbe(l)?!1:!!ao(l,Hmt)}function Kmt(l){at(l.name)&&fu(l.name)==="constructor"&&mr(l.parent)&&pt(l.name,F.Class_constructor_may_not_be_an_accessor),s(m),ls(l.body),bze(l);function m(){if(!d_e(l)&&!Gli(l)&&h_e(l.name),_ie(l),TW(l),l.kind===177&&!(l.flags&33554432)&&H4(l.body)&&l.flags&512&&(l.flags&1024||pt(l.name,F.A_get_accessor_must_return_a_value)),l.name.kind===167&&F3(l.name),iT(l)){const C=_u(l),A=Sl(C,177),w=Sl(C,178);if(A&&w&&!(DT(A)&1)){ar(A).flags|=1;const I=Eh(A),U=Eh(w);(I&64)!==(U&64)&&(pt(A.name,F.Accessors_must_both_be_abstract_or_non_abstract),pt(w.name,F.Accessors_must_both_be_abstract_or_non_abstract)),(I&4&&!(U&6)||I&2&&!(U&2))&&(pt(A.name,F.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),pt(w.name,F.A_get_accessor_must_be_at_least_as_accessible_as_the_setter))}}const D=vC(_u(l));l.kind===177&&fze(l,D)}}function _oi(l){_ie(l)}function Doi(l,m,D){return l.typeArguments&&D{const C=yze(l);C&&Wmt(l,C)});const D=ar(l).resolvedSymbol;D&&Oe(D.declarations,C=>gB(C)&&!!(C.flags&536870912))&&m3(sie(l),D.declarations,D.escapedName)}}function voi(l){const m=ur(l.parent,$U);if(!m)return;const D=yze(m);if(!D)return;const C=rh(D[m.typeArguments.indexOf(l)]);return C&&_a(C,Sf(D,JEe(m,D)))}function Coi(l){Jdt(l)}function boi(l){L(l.members,ls),s(m);function m(){const D=N1t(l);t_e(D,D.symbol),Cze(l),jmt(l)}}function yoi(l){ls(l.elementType)}function koi(l){const m=l.elements;let D=!1,C=!1;for(const A of m){const w=dPe(A);if(w&8){const I=Ar(A.type);if(!H5(I)){pt(A,F.A_rest_element_type_must_be_an_array_type);break}(A4(I)||xs(I)&&I.target.combinedFlags&4)&&(C=!0)}else if(w&4){if(C){Zi(A,F.A_rest_element_cannot_follow_another_rest_element);break}C=!0}else if(w&2){if(C){Zi(A,F.An_optional_element_cannot_follow_a_rest_element);break}D=!0}else if(D){Zi(A,F.A_required_element_cannot_follow_an_optional_element);break}}L(l.elements,ls),Ar(l)}function Foi(l){L(l.types,ls),Ar(l)}function Jmt(l,m){if(!(l.flags&8388608))return l;const D=l.objectType,C=l.indexType;if(ms(C,k_(D,0)))return m.kind===212&&Q_(m)&&Gu(D)&32&&C_(D)&1&&pt(m,F.Index_signature_in_type_0_only_permits_reading,gn(D)),l;const A=Gh(D);if(k3(A,Qt)&&u1(C,296))return l;if(Lb(D)){const w=zge(C,m);if(w){const I=FF(A,U=>qo(U,w));if(I&&l4(I)&6)return pt(m,F.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,Qr(w)),Ot}}return pt(m,F.Type_0_cannot_be_used_to_index_type_1,gn(C),gn(D)),Ot}function Aoi(l){ls(l.objectType),ls(l.indexType),Jmt(A1t(l),l)}function Soi(l){Boi(l),ls(l.typeParameter),ls(l.nameType),ls(l.type),l.type||LC(l,me);const m=bPe(l),D=I5(m);if(D)Ah(D,vc,l.nameType);else{const C=cp(m);Ah(C,vc,w8(l.typeParameter))}}function Boi(l){var m;if((m=l.members)!=null&&m.length)return Zi(l.members[0],F.A_mapped_type_may_not_declare_properties_or_methods)}function woi(l){Vge(l)}function Toi(l){$li(l),ls(l.type)}function Loi(l){ao(l,ls)}function Noi(l){Tn(l,D=>D.parent&&D.parent.kind===194&&D.parent.extendsType===D)||Zi(l,F.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),ls(l.typeParameter);const m=_u(l.typeParameter);if(m.declarations&&m.declarations.length>1){const D=Ur(m);if(!D.typeParametersChecked){D.typeParametersChecked=!0;const C=gF(m),A=vbe(m,168);if(!v4t(A,[C],w=>[w])){const w=Fr(m);for(const I of A)pt(I.name,F.All_declarations_of_0_must_have_identical_constraints,w)}}}T6(l)}function Poi(l){for(const m of l.templateSpans){ls(m.type);const D=Ar(m.type);Ah(D,c0,m.type)}Ar(l)}function Moi(l){ls(l.argument),l.attributes&&qB(l.attributes,Zi),Gmt(l)}function zoi(l){l.dotDotDotToken&&l.questionToken&&Zi(l,F.A_tuple_member_cannot_be_both_optional_and_rest),l.type.kind===190&&Zi(l.type,F.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),l.type.kind===191&&Zi(l.type,F.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),ls(l.type),Ar(l)}function Eie(l){return(Rf(l,2)||ph(l))&&!!(l.flags&33554432)}function $Ee(l,m){let D=f_e(l);if(l.parent.kind!==264&&l.parent.kind!==263&&l.parent.kind!==231&&l.flags&33554432){const C=C0e(l);C&&C.flags&128&&!(D&128)&&!(rE(l.parent)&&_c(l.parent.parent)&&Yg(l.parent.parent))&&(D|=32),D|=128}return D&m}function UEe(l){s(()=>Ioi(l))}function Ioi(l){function m(Ii,Nn){return Nn!==void 0&&Nn.parent===Ii[0].parent?Nn:Ii[0]}function D(Ii,Nn,vn,An,_n){if((An^_n)!==0){const oo=$Ee(m(Ii,Nn),vn);L(Ii,Eo=>{const fo=$Ee(Eo,vn)^oo;fo&32?pt(Za(Eo),F.Overload_signatures_must_all_be_exported_or_non_exported):fo&128?pt(Za(Eo),F.Overload_signatures_must_all_be_ambient_or_non_ambient):fo&6?pt(Za(Eo)||Eo,F.Overload_signatures_must_all_be_public_private_or_protected):fo&64&&pt(Za(Eo),F.Overload_signatures_must_all_be_abstract_or_non_abstract)})}}function C(Ii,Nn,vn,An){if(vn!==An){const _n=d7(m(Ii,Nn));L(Ii,hu=>{d7(hu)!==_n&&pt(Za(hu),F.Overload_signatures_must_all_be_optional_or_required)})}}const A=230;let w=0,I=A,U=!1,Z=!0,ce=!1,Fe,Te,$e;const ut=l.declarations,zt=(l.flags&16384)!==0;function gi(Ii){if(Ii.name&&Ql(Ii.name))return;let Nn=!1;const vn=ao(Ii.parent,_n=>{if(Nn)return _n;Nn=_n===Ii});if(vn&&vn.pos===Ii.end&&vn.kind===Ii.kind){const _n=vn.name||vn,hu=vn.name;if(Ii.name&&hu&&(ea(Ii.name)&&ea(hu)&&Ii.name.escapedText===hu.escapedText||Ps(Ii.name)&&Ps(hu)&&CD(F3(Ii.name),F3(hu))||Xg(Ii.name)&&Xg(hu)&&oP(Ii.name)===oP(hu))){if((Ii.kind===174||Ii.kind===173)&&No(Ii)!==No(vn)){const Eo=No(Ii)?F.Function_overload_must_be_static:F.Function_overload_must_not_be_static;pt(_n,Eo)}return}if(H4(vn.body)){pt(_n,F.Function_implementation_name_must_be_0,b0(Ii.name));return}}const An=Ii.name||Ii;zt?pt(An,F.Constructor_implementation_is_missing):Yu(Ii,64)?pt(An,F.All_declarations_of_an_abstract_method_must_be_consecutive):pt(An,F.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}let Wi=!1,dn=!1,nu=!1;const En=[];if(ut)for(const Ii of ut){const Nn=Ii,vn=Nn.flags&33554432,An=Nn.parent&&(Nn.parent.kind===264||Nn.parent.kind===187)||vn;if(An&&($e=void 0),(Nn.kind===263||Nn.kind===231)&&!vn&&(nu=!0),Nn.kind===262||Nn.kind===174||Nn.kind===173||Nn.kind===176){En.push(Nn);const _n=$Ee(Nn,A);w|=_n,I&=_n,U=U||d7(Nn),Z=Z&&d7(Nn);const hu=H4(Nn.body);hu&&Fe?zt?dn=!0:Wi=!0:($e==null?void 0:$e.parent)===Nn.parent&&$e.end!==Nn.pos&&gi($e),hu?Fe||(Fe=Nn):ce=!0,$e=Nn,An||(Te=Nn)}if(Qn(Ii)&&Co(Ii)&&Ii.jsDoc){for(const _n of Ii.jsDoc)if(_n.tags)for(const hu of _n.tags)NB(hu)&&(ce=!0)}}if(dn&&L(En,Ii=>{pt(Ii,F.Multiple_constructor_implementations_are_not_allowed)}),Wi&&L(En,Ii=>{pt(Za(Ii)||Ii,F.Duplicate_function_implementation)}),nu&&!zt&&l.flags&16&&ut){const Ii=ti(ut,Nn=>Nn.kind===263).map(Nn=>Su(Nn,F.Consider_adding_a_declare_modifier_to_this_class));L(ut,Nn=>{const vn=Nn.kind===263?F.Class_declaration_cannot_implement_overload_list_for_0:Nn.kind===262?F.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;vn&&Es(pt(Za(Nn)||Nn,vn,lc(l)),...Ii)})}if(Te&&!Te.body&&!Yu(Te,64)&&!Te.questionToken&&gi(Te),ce&&(ut&&(D(ut,Fe,A,w,I),C(ut,Fe,U,Z)),Fe)){const Ii=wb(l),Nn=dp(Fe);for(const vn of Ii)if(!oii(Nn,vn)){const An=vn.declaration&&Ov(vn.declaration)?vn.declaration.parent.tagName:vn.declaration;Es(pt(An,F.This_overload_signature_is_not_compatible_with_its_implementation_signature),Su(Fe,F.The_implementation_signature_is_declared_here));break}}}function LW(l){s(()=>Roi(l))}function Roi(l){let m=l.localSymbol;if(!m&&(m=_u(l),!m.exportSymbol)||Sl(m,l.kind)!==l)return;let D=0,C=0,A=0;for(const ce of m.declarations){const Fe=Z(ce),Te=$Ee(ce,2080);Te&32?Te&2048?A|=Fe:D|=Fe:C|=Fe}const w=D|C,I=D&C,U=A&w;if(I||U)for(const ce of m.declarations){const Fe=Z(ce),Te=Za(ce);Fe&U?pt(Te,F.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,b0(Te)):Fe&I&&pt(Te,F.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,b0(Te))}function Z(ce){let Fe=ce;switch(Fe.kind){case 264:case 265:case 353:case 345:case 347:return 2;case 267:return N1(Fe)||oD(Fe)!==0?5:4;case 263:case 266:case 306:return 3;case 312:return 7;case 277:case 226:const Te=Fe,$e=tc(Te)?Te.expression:Te.right;if(!ec($e))return 1;Fe=$e;case 271:case 274:case 273:let ut=0;const zt=md(_u(Fe));return L(zt.declarations,gi=>{ut|=Z(gi)}),ut;case 260:case 208:case 262:case 276:case 80:return 1;case 173:case 171:return 2;default:return H.failBadSyntaxKind(Fe)}}}function jz(l,m,D,...C){const A=NW(l,m);return A&&NF(A,m,D,...C)}function NW(l,m,D){if(nt(l))return;const C=l;if(C.promisedTypeOfPromise)return C.promisedTypeOfPromise;if(CC(l,Fte(!1)))return C.promisedTypeOfPromise=O0(l)[0];if(mie(xD(l),402915324))return;const A=he(l,"then");if(nt(A))return;const w=A?go(A,0):_t;if(w.length===0){m&&pt(m,F.A_promise_must_have_a_then_method);return}let I,U;for(const Fe of w){const Te=kC(Fe);Te&&Te!==ca&&!bE(l,Te,h_)?I=Te:U=xi(U,Fe)}if(!U){H.assertIsDefined(I),D&&(D.value=I),m&&pt(m,F.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,gn(l),gn(I));return}const Z=mp(er(Vt(U,lze)),2097152);if(nt(Z))return;const ce=go(Z,0);if(ce.length===0){m&&pt(m,F.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback);return}return C.promisedTypeOfPromise=er(Vt(ce,lze),2)}function PW(l,m,D,C,...A){return(m?NF(l,D,C,...A):W5(l,D,C,...A))||Ot}function $mt(l){if(mie(xD(l),402915324))return!1;const m=he(l,"then");return!!m&&go(mp(m,2097152),0).length>0}function qEe(l){var m;if(l.flags&16777216){const D=cPe(!1);return!!D&&l.aliasSymbol===D&&((m=l.aliasTypeArguments)==null?void 0:m.length)===1}return!1}function Vz(l){return l.flags&1048576?hl(l,Vz):qEe(l)?l.aliasTypeArguments[0]:l}function Umt(l){if(nt(l)||qEe(l))return!1;if(Lb(l)){const m=Wh(l);if(m?m.flags&3||bD(m)||yE(m,$mt):jl(l,8650752))return!0}return!1}function Ooi(l){const m=cPe(!0);if(m)return aT(m,[Vz(l)])}function joi(l){if(Umt(l)){const m=Ooi(l);if(m)return m}return H.assert(qEe(l)||NW(l)===void 0,"type provided should not be a non-generic 'promise'-like."),l}function NF(l,m,D,...C){const A=W5(l,m,D,...C);return A&&joi(A)}function W5(l,m,D,...C){if(nt(l)||qEe(l))return l;const A=l;if(A.awaitedTypeOfType)return A.awaitedTypeOfType;if(l.flags&1048576){if(fE.lastIndexOf(l.id)>=0){m&&pt(m,F.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}const U=m?ce=>W5(ce,m,D,...C):W5;fE.push(l.id);const Z=hl(l,U);return fE.pop(),A.awaitedTypeOfType=Z}if(Umt(l))return A.awaitedTypeOfType=l;const w={value:void 0},I=NW(l,void 0,w);if(I){if(l.id===I.id||fE.lastIndexOf(I.id)>=0){m&&pt(m,F.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}fE.push(l.id);const U=W5(I,m,D,...C);return fE.pop(),U?A.awaitedTypeOfType=U:void 0}if($mt(l)){if(m){H.assertIsDefined(D);let U;w.value&&(U=ro(U,F.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,gn(l),gn(w.value))),U=ro(U,D,...C),Vs.add(Y3(zn(m),m,U))}return}return A.awaitedTypeOfType=l}function Voi(l,m,D){const C=Ar(m);if(Ce>=2){if(Nt(C))return;const w=Fte(!0);if(w!==Ka&&!CC(C,w)){A(F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,m,D,gn(W5(C)||ca));return}}else{if(Koi(m),Nt(C))return;const w=pj(m);if(w===void 0){A(F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,m,D,gn(C));return}const I=R0(w,111551,!0),U=I?Wn(I):Ot;if(Nt(U)){w.kind===80&&w.escapedText==="Promise"&&eT(C)===Fte(!1)?pt(D,F.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):A(F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,m,D,zf(w));return}const Z=Eei(!0);if(Z===Ko){A(F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,m,D,zf(w));return}const ce=F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value;if(!Ah(U,Z,D,ce,()=>m===D?void 0:ro(void 0,F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type)))return;const Te=w&&hm(w),$e=kf(l.locals,Te.escapedText,111551);if($e){pt($e.valueDeclaration,F.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,fu(Te),zf(w));return}}PW(C,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);function A(w,I,U,Z){if(I===U)pt(U,w,Z);else{const ce=pt(U,F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type);Es(ce,Su(I,w,Z))}}}function Hoi(l){const m=mT(l);VEe(m,l);const D=Zs(m);if(D.flags&1)return;const C=hze(l);if(!(C!=null&&C.resolvedReturnType))return;let A;const w=C.resolvedReturnType;switch(l.parent.kind){case 263:case 231:A=F.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;case 172:if(!ve){A=F.Decorator_function_return_type_0_is_not_assignable_to_type_1;break}case 169:A=F.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;break;case 174:case 177:case 178:A=F.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;default:return H.failBadSyntaxKind(l.parent)}Ah(D,w,l.expression,A)}function MW(l,m,D,C,A,w=D.length,I=0){const U=q.createFunctionTypeNode(void 0,_t,q.createKeywordTypeNode(133));return y3(U,l,m,D,C,A,w,I)}function Fze(l,m,D,C,A,w,I){const U=MW(l,m,D,C,A,w,I);return DF(U)}function qmt(l){return Fze(void 0,void 0,_t,l)}function Zmt(l){const m=yg("value",l);return Fze(void 0,void 0,[m],ca)}function Koi(l){Ymt(l&&pj(l),!1)}function Ymt(l,m){if(!l)return;const D=hm(l),C=(l.kind===80?788968:1920)|2097152,A=uc(D,D.escapedText,C,void 0,void 0,!0);if(A&&A.flags&2097152){if(Ut&&l6(A)&&!OW(md(A))&&!_4(A))T5(A);else if(m&&mg(ae)&&m1(ae)>=5&&!l6(A)&&!Oe(A.declarations,_2)){const w=pt(l,F.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled),I=Le(A.declarations||_t,sC);I&&Es(w,Su(I,F._0_was_imported_here,fu(D)))}}}function ET(l){const m=Aze(l);m&&sm(m)&&Ymt(m,!0)}function Aze(l){if(l)switch(l.kind){case 193:case 192:return Qmt(l.types);case 194:return Qmt([l.trueType,l.falseType]);case 196:case 202:return Aze(l.type);case 183:return l.typeName}}function Qmt(l){let m;for(let D of l){for(;D.kind===196||D.kind===202;)D=D.type;if(D.kind===146||!fe&&(D.kind===201&&D.literal.kind===106||D.kind===157))continue;const C=Aze(D);if(!C)return;if(m){if(!at(m)||!at(C)||m.escapedText!==C.escapedText)return}else m=C}return m}function ZEe(l){const m=f1(l);return $_(l)?F0e(m):m}function _ie(l){if(!Ak(l)||!o4(l)||!l.modifiers||!gq(ve,l,l.parent,l.parent.parent))return;const m=Le(l.modifiers,g1);if(m){if(ve?(rd(m,8),l.kind===169&&rd(m,32)):Ce<99&&(rd(m,8),Wc(l)?l.name?C4t(l)&&rd(m,8388608):rd(m,8388608):Xd(l)||(ea(l.name)&&(dc(l)||wx(l)||ef(l))&&rd(m,8388608),Ps(l.name)&&rd(m,16777216))),ae.emitDecoratorMetadata)switch(rd(m,16),l.kind){case 263:const D=X_(l);if(D)for(const I of D.parameters)ET(ZEe(I));break;case 177:case 178:const C=l.kind===177?178:177,A=Sl(_u(l),C);ET(i0(l)||A&&i0(A));break;case 174:for(const I of l.parameters)ET(ZEe(I));ET(U4(l));break;case 172:ET(f1(l));break;case 169:ET(ZEe(l));const w=l.parent;for(const I of w.parameters)ET(ZEe(I));ET(U4(w));break}for(const D of l.modifiers)g1(D)&&Hoi(D)}}function Woi(l){s(m);function m(){e4t(l),Zze(l),Hz(l,l.name)}}function Goi(l){l.typeExpression||pt(l.name,F.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),l.name&&Wz(l.name,F.Type_alias_name_cannot_be_0),ls(l.typeExpression),yie(Sx(l))}function Joi(l){ls(l.constraint);for(const m of l.typeParameters)ls(m)}function $oi(l){ls(l.typeExpression)}function Uoi(l){ls(l.typeExpression);const m=ok(l);if(m){const D=Vse(m,_Y);if(S(D)>1)for(let C=1;C0),D.length>1&&pt(D[1],F.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);const C=Xmt(l.class.expression),A=B2(m);if(A){const w=Xmt(A.expression);w&&C.escapedText!==w.escapedText&&pt(C,F.JSDoc_0_1_does_not_match_the_extends_2_clause,fu(l.tagName),fu(C),fu(w))}}function isi(l){const m=h7(l);m&&ph(m)&&pt(l,F.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function Xmt(l){switch(l.kind){case 80:return l;case 211:return l.name;default:return}}function e4t(l){var m;_ie(l),TW(l);const D=kd(l);if(l.name&&l.name.kind===167&&F3(l.name),iT(l)){const w=_u(l),I=l.localSymbol||w,U=(m=I.declarations)==null?void 0:m.find(Z=>Z.kind===l.kind&&!(Z.flags&524288));l===U&&UEe(I),w.parent&&UEe(w)}const C=l.kind===173?void 0:l.body;if(ls(C),fze(l,uT(l)),s(A),Qn(l)){const w=xv(l);w&&w.typeExpression&&!TMe(Ar(w.typeExpression),l)&&pt(w.typeExpression.type,F.The_type_of_a_function_declaration_must_match_the_function_s_signature)}function A(){U4(l)||(Ql(C)&&!Eie(l)&&LC(l,me),D&1&&H4(C)&&Zs(dp(l)))}}function T6(l){s(m);function m(){const D=zn(l);let C=b5.get(D.path);C||(C=[],b5.set(D.path,C)),C.push(l)}}function t4t(l,m){for(const D of l)switch(D.kind){case 263:case 231:nsi(D,m),Sze(D,m);break;case 312:case 267:case 241:case 269:case 248:case 249:case 250:u4t(D,m);break;case 176:case 218:case 262:case 219:case 174:case 177:case 178:D.body&&u4t(D,m),Sze(D,m);break;case 173:case 179:case 180:case 184:case 185:case 265:case 264:Sze(D,m);break;case 195:usi(D,m);break;default:H.assertNever(D,"Node should not have been registered for unused identifiers check")}}function i4t(l,m,D){const C=Za(l)||l,A=gB(l)?F._0_is_declared_but_never_used:F._0_is_declared_but_its_value_is_never_read;D(l,0,Su(C,A,m))}function zW(l){return at(l)&&fu(l).charCodeAt(0)===95}function nsi(l,m){for(const D of l.members)switch(D.kind){case 174:case 172:case 177:case 178:if(D.kind===178&&D.symbol.flags&32768)break;const C=_u(D);!C.isReferenced&&(Rf(D,2)||mh(D)&&ea(D.name))&&!(D.flags&33554432)&&m(D,0,Su(D.name,F._0_is_declared_but_its_value_is_never_read,Fr(C)));break;case 176:for(const A of D.parameters)!A.symbol.isReferenced&&Yu(A,2)&&m(A,0,Su(A.name,F.Property_0_is_declared_but_its_value_is_never_read,lc(A.symbol)));break;case 181:case 240:case 175:break;default:H.fail("Unexpected class member")}}function usi(l,m){const{typeParameter:D}=l;Bze(D)&&m(l,1,Su(l,F._0_is_declared_but_its_value_is_never_read,fu(D.name)))}function Sze(l,m){const D=_u(l).declarations;if(!D||Cr(D)!==l)return;const C=Sx(l),A=new Set;for(const w of C){if(!Bze(w))continue;const I=fu(w.name),{parent:U}=w;if(U.kind!==195&&U.typeParameters.every(Bze)){if(r0(A,U)){const Z=zn(U),ce=_g(U)?Tle(U):Lle(Z,U.typeParameters),Te=U.typeParameters.length===1?[F._0_is_declared_but_its_value_is_never_read,I]:[F.All_type_parameters_are_unused];m(w,1,Rd(Z,ce.pos,ce.end-ce.pos,...Te))}}else m(w,1,Su(w,F._0_is_declared_but_its_value_is_never_read,I))}}function Bze(l){return!(Ks(l.symbol).isReferenced&262144)&&!zW(l.name)}function Die(l,m,D,C){const A=String(C(m)),w=l.get(A);w?w[1].push(D):l.set(A,[m,[D]])}function n4t(l){return ur(XE(l),io)}function rsi(l){return js(l)?Rp(l.parent)?!!(l.propertyName&&zW(l.name)):zW(l.name):N1(l)||(ua(l)&&M8(l.parent.parent)||r4t(l))&&zW(l.name)}function u4t(l,m){const D=new Map,C=new Map,A=new Map;l.locals.forEach(w=>{if(!(w.flags&262144?!(w.flags&3&&!(w.isReferenced&3)):w.isReferenced||w.exportSymbol)&&w.declarations){for(const I of w.declarations)if(!rsi(I))if(r4t(I))Die(D,osi(I),I,$s);else if(js(I)&&Rp(I.parent)){const U=Cr(I.parent.elements);(I===U||!Cr(I.parent.elements).dotDotDotToken)&&Die(C,I.parent,I,$s)}else if(ua(I)){const U=Gb(I)&7,Z=Za(I);(U!==4&&U!==6||!Z||!zW(Z))&&Die(A,I.parent,I,$s)}else{const U=w.valueDeclaration&&n4t(w.valueDeclaration),Z=w.valueDeclaration&&Za(w.valueDeclaration);U&&Z?!Mf(U,U.parent)&&!L2(U)&&!zW(Z)&&(js(I)&&_k(I.parent)?Die(C,I.parent,I,$s):m(U,1,Su(Z,F._0_is_declared_but_its_value_is_never_read,lc(w)))):i4t(I,lc(w),m)}}}),D.forEach(([w,I])=>{const U=w.parent;if((w.name?1:0)+(w.namedBindings?w.namedBindings.kind===274?1:w.namedBindings.elements.length:0)===I.length)m(U,0,I.length===1?Su(U,F._0_is_declared_but_its_value_is_never_read,fu(Pn(I).name)):Su(U,F.All_imports_in_import_declaration_are_unused));else for(const ce of I)i4t(ce,fu(ce.name),m)}),C.forEach(([w,I])=>{const U=n4t(w.parent)?1:0;if(w.elements.length===I.length)I.length===1&&w.parent.kind===260&&w.parent.parent.kind===261?Die(A,w.parent.parent,w.parent,$s):m(w,U,I.length===1?Su(w,F._0_is_declared_but_its_value_is_never_read,xie(Pn(I).name)):Su(w,F.All_destructured_elements_are_unused));else for(const Z of I)m(Z,U,Su(Z,F._0_is_declared_but_its_value_is_never_read,xie(Z.name)))}),A.forEach(([w,I])=>{if(w.declarations.length===I.length)m(w,0,I.length===1?Su(Pn(I).name,F._0_is_declared_but_its_value_is_never_read,xie(Pn(I).name)):Su(w.parent.kind===243?w.parent:w,F.All_variables_are_unused));else for(const U of I)m(U,0,Su(U,F._0_is_declared_but_its_value_is_never_read,xie(U.name)))})}function asi(){var l;for(const m of hb)if(!((l=_u(m))!=null&&l.isReferenced)){const D=S8(m);H.assert(w2(D),"Only parameter declaration should be checked here");const C=Su(m.name,F._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation,b0(m.name),b0(m.propertyName));D.type||Es(C,Rd(zn(D),D.end,1,F.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here,b0(m.propertyName))),Vs.add(C)}}function xie(l){switch(l.kind){case 80:return fu(l);case 207:case 206:return xie(Po(Pn(l.elements),js).name);default:return H.assertNever(l)}}function r4t(l){return l.kind===273||l.kind===276||l.kind===274}function osi(l){return l.kind===273?l:l.kind===274?l.parent:l.parent.parent}function YEe(l){if(l.kind===241&&SD(l),Zse(l)){const m=Ti;L(l.statements,ls),Ti=m}else L(l.statements,ls);l.locals&&T6(l)}function ssi(l){Ce>=2||!u0e(l)||l.flags&33554432||Ql(l.body)||L(l.parameters,m=>{m.name&&!So(m.name)&&m.name.escapedText===It.escapedName&&A5("noEmit",m,F.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function IW(l,m,D){if((m==null?void 0:m.escapedText)!==D||l.kind===172||l.kind===171||l.kind===174||l.kind===173||l.kind===177||l.kind===178||l.kind===303||l.flags&33554432||(n_(l)||E1(l)||bf(l))&&_2(l))return!1;const C=XE(l);return!(io(C)&&Ql(C.parent.body))}function lsi(l){Tn(l,m=>DT(m)&4?(l.kind!==80?pt(Za(l),F.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):pt(l,F.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0):!1)}function csi(l){Tn(l,m=>DT(m)&8?(l.kind!==80?pt(Za(l),F.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):pt(l,F.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0):!1)}function dsi(l,m){if(ne>=5&&!(ne>=100&&zn(l).impliedNodeFormat===1)||!m||!IW(l,m,"require")&&!IW(l,m,"exports")||_c(l)&&oD(l)!==1)return;const D=dF(l);D.kind===312&&cm(D)&&A5("noEmit",m,F.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,b0(m),b0(m))}function hsi(l,m){if(!m||Ce>=4||!IW(l,m,"Promise")||_c(l)&&oD(l)!==1)return;const D=dF(l);D.kind===312&&cm(D)&&D.flags&4096&&A5("noEmit",m,F.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,b0(m),b0(m))}function fsi(l,m){Ce<=8&&(IW(l,m,"WeakMap")||IW(l,m,"WeakSet"))&&iC.push(l)}function msi(l){const m=YE(l);DT(m)&1048576&&(H.assert(mh(l)&&at(l.name)&&typeof l.name.escapedText=="string","The target of a WeakMap/WeakSet collision check should be an identifier"),A5("noEmit",l,F.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,l.name.escapedText))}function psi(l,m){m&&Ce>=2&&Ce<=8&&IW(l,m,"Reflect")&&y5.push(l)}function gsi(l){let m=!1;if(Xd(l)){for(const D of l.members)if(DT(D)&2097152){m=!0;break}}else if(A0(l))DT(l)&2097152&&(m=!0);else{const D=YE(l);D&&DT(D)&2097152&&(m=!0)}m&&(H.assert(mh(l)&&at(l.name),"The target of a Reflect collision check should be an identifier"),A5("noEmit",l,F.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,b0(l.name),"Reflect"))}function Hz(l,m){m&&(dsi(l,m),hsi(l,m),fsi(l,m),psi(l,m),mr(l)?(Wz(m,F.Class_name_cannot_be_0),l.flags&33554432||Wsi(m)):Iv(l)&&Wz(m,F.Enum_name_cannot_be_0))}function Esi(l){if(Gb(l)&7||w2(l))return;const m=_u(l);if(m.flags&1){if(!at(l.name))return H.fail();const D=uc(l,l.name.escapedText,3,void 0,void 0,!1);if(D&&D!==m&&D.flags&2&&OMe(D)&7){const C=Fv(D.valueDeclaration,261),A=C.parent.kind===243&&C.parent.parent?C.parent.parent:void 0;if(!(A&&(A.kind===241&&Co(A.parent)||A.kind===268||A.kind===267||A.kind===312))){const I=Fr(D);pt(l,F.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,I,I)}}}}function RW(l){return l===ni?me:l===Nc?ql:l}function vie(l){var m;if(_ie(l),js(l)||ls(l.type),!l.name)return;if(l.name.kind===167&&(F3(l.name),Qy(l)&&l.initializer&&Rc(l.initializer)),js(l)){if(l.propertyName&&at(l.name)&&w2(l)&&Ql(Nm(l).body)){hb.push(l);return}Rp(l.parent)&&l.dotDotDotToken&&Ce<5&&rd(l,4),l.propertyName&&l.propertyName.kind===167&&F3(l.propertyName);const A=l.parent.parent,w=l.dotDotDotToken?32:0,I=bi(A,w),U=l.propertyName||l.name;if(I&&!So(U)){const Z=j5(U);if(Y4(Z)){const ce=Q4(Z),Fe=qo(I,ce);Fe&&(nie(Fe,void 0,!1),VMe(l,!!A.initializer&&A.initializer.kind===108,!1,I,Fe))}}}if(So(l.name)&&(l.name.kind===207&&Ce<2&&ae.downlevelIteration&&rd(l,512),L(l.name.elements,ls)),l.initializer&&w2(l)&&Ql(Nm(l).body)){pt(l,F.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(So(l.name)){if(hMe(l))return;const A=Qy(l)&&l.initializer&&l.parent.parent.kind!==249,w=!Oe(l.name.elements,X$(Fd));if(A||w){const I=N(l);if(A){const U=Rc(l.initializer);fe&&w?Sft(U,l):A6(U,N(l),l,l.initializer)}w&&(_k(l.name)?G5(65,I,te,l):fe&&Sft(I,l))}return}const D=_u(l);if(D.flags&2097152&&(F2(l)||nye(l))){i_e(l);return}const C=RW(Wn(D));if(l===D.valueDeclaration){const A=Qy(l)&&Dj(l);if(A&&!(Qn(l)&&ys(A)&&(A.properties.length===0||Ox(l.name))&&!!((m=D.exports)!=null&&m.size))&&l.parent.parent.kind!==249){const I=Rc(A);A6(I,C,l,A,void 0);const U=Gb(l)&7;if(U===6){const Z=Fei(!0),ce=t1t(!0);if(Z!==Ko&&ce!==Ko){const Fe=er([Z,ce,it,te]);Ah(I,Fe,A,F.The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined)}}else if(U===4){const Z=t1t(!0);if(Z!==Ko){const ce=er([Z,it,te]);Ah(I,ce,A,F.The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined)}}}D.declarations&&D.declarations.length>1&&Oe(D.declarations,w=>w!==l&&G8(w)&&!o4t(w,l))&&pt(l.name,F.All_declarations_of_0_must_have_identical_modifiers,b0(l.name))}else{const A=RW(N(l));!Nt(C)&&!Nt(A)&&!CD(C,A)&&!(D.flags&67108864)&&a4t(D.valueDeclaration,C,l,A),Qy(l)&&l.initializer&&A6(Rc(l.initializer),A,l,l.initializer,void 0),D.valueDeclaration&&!o4t(l,D.valueDeclaration)&&pt(l.name,F.All_declarations_of_0_must_have_identical_modifiers,b0(l.name))}l.kind!==172&&l.kind!==171&&(LW(l),(l.kind===260||l.kind===208)&&Esi(l),Hz(l,l.name))}function a4t(l,m,D,C){const A=Za(D),w=D.kind===172||D.kind===171?F.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:F.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,I=b0(A),U=pt(A,w,I,gn(m),gn(C));l&&Es(U,Su(l,F._0_was_also_declared_here,I))}function o4t(l,m){if(l.kind===169&&m.kind===260||l.kind===260&&m.kind===169)return!0;if(d7(l)!==d7(m))return!1;const D=1358;return E7(l,D)===E7(m,D)}function _si(l){var m,D;(m=Gn)==null||m.push(Gn.Phase.Check,"checkVariableDeclaration",{kind:l.kind,pos:l.pos,end:l.end,path:l.tracingPath}),Qli(l),vie(l),(D=Gn)==null||D.pop()}function Dsi(l){return qli(l),vie(l)}function QEe(l){const m=QD(l)&7;(m===4||m===6)&&rd(l,33554432),L(l.declarations,ls)}function xsi(l){!S3(l)&&!Xze(l.declarationList)&&Xli(l),QEe(l.declarationList)}function vsi(l){SD(l),ya(l.expression)}function Csi(l){SD(l);const m=Kz(l.expression);wze(l.expression,m,l.thenStatement),ls(l.thenStatement),l.thenStatement.kind===242&&pt(l.thenStatement,F.The_body_of_an_if_statement_cannot_be_the_empty_statement),ls(l.elseStatement)}function wze(l,m,D){if(!fe)return;C(l,D);function C(w,I){for(w=l0(w),A(w,I);Xn(w)&&(w.operatorToken.kind===57||w.operatorToken.kind===61);)w=l0(w.left),A(w,I)}function A(w,I){const U=Gj(w)?l0(w.right):w;if(Y_(U))return;if(Gj(U)){C(U,I);return}const Z=U===w?m:Kz(U),ce=Iu(U)&&Tmt(U.expression);if(!fp(Z,4194304)||ce)return;const Fe=go(Z,0),Te=!!jz(Z);if(Fe.length===0&&!Te)return;const $e=at(U)?U:Iu(U)?U.name:void 0,ut=$e&&Yp($e);if(!ut&&!Te)return;ut&&Xn(w.parent)&&ysi(w.parent,ut)||ut&&I&&bsi(w,I,$e,ut)||(Te?bh(U,!0,F.This_condition_will_always_return_true_since_this_0_is_always_defined,P5(Z)):pt(U,F.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}function bsi(l,m,D,C){return!!ao(m,function A(w){if(at(w)){const I=Yp(w);if(I&&I===C){if(at(l)||at(D)&&Xn(D.parent))return!0;let U=D.parent,Z=w.parent;for(;U&&Z;){if(at(U)&&at(Z)||U.kind===110&&Z.kind===110)return Yp(U)===Yp(Z);if(Iu(U)&&Iu(Z)){if(Yp(U.name)!==Yp(Z.name))return!1;Z=Z.expression,U=U.expression}else if(Mo(U)&&Mo(Z))Z=Z.expression,U=U.expression;else return!1}}}return ao(w,A)})}function ysi(l,m){for(;Xn(l)&&l.operatorToken.kind===56;){if(ao(l.right,function C(A){if(at(A)){const w=Yp(A);if(w&&w===m)return!0}return ao(A,C)}))return!0;l=l.parent}return!1}function ksi(l){SD(l),ls(l.statement),Kz(l.expression)}function Fsi(l){SD(l),Kz(l.expression),ls(l.statement)}function Tze(l,m){return l.flags&16384&&pt(m,F.An_expression_of_type_void_cannot_be_tested_for_truthiness),l}function Kz(l,m){return Tze(ya(l,m),l)}function Asi(l){SD(l)||l.initializer&&l.initializer.kind===261&&Xze(l.initializer),l.initializer&&(l.initializer.kind===261?QEe(l.initializer):ya(l.initializer)),l.condition&&Kz(l.condition),l.incrementor&&ya(l.incrementor),ls(l.statement),l.locals&&T6(l)}function Ssi(l){upt(l);const m=dq(l);if(l.awaitModifier?m&&zl(m)?Zi(l.awaitModifier,F.for_await_loops_cannot_be_used_inside_a_class_static_block):(kd(m)&6)===2&&Ce<99&&rd(l,16384):ae.downlevelIteration&&Ce<2&&rd(l,256),l.initializer.kind===261)QEe(l.initializer);else{const D=l.initializer,C=Cie(l);if(D.kind===209||D.kind===210)LF(D,C||Ot);else{const A=ya(D);BW(D,F.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,F.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),C&&A6(C,A,D,l.expression)}}ls(l.statement),l.locals&&T6(l)}function Bsi(l){upt(l);const m=HMe(ya(l.expression));if(l.initializer.kind===261){const D=l.initializer.declarations[0];D&&So(D.name)&&pt(D.name,F.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),QEe(l.initializer)}else{const D=l.initializer,C=ya(D);D.kind===209||D.kind===210?pt(D,F.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):ms(hti(m),C)?BW(D,F.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,F.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):pt(D,F.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(m===Ku||!u1(m,126091264))&&pt(l.expression,F.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,gn(m)),ls(l.statement),l.locals&&T6(l)}function Cie(l){const m=l.awaitModifier?15:13;return G5(m,hT(l.expression),te,l.expression)}function G5(l,m,D,C){return nt(m)?m:Lze(l,m,D,C,!0)||me}function Lze(l,m,D,C,A){const w=(l&2)!==0;if(m===Ku){Ize(C,m,w);return}const I=Ce>=2,U=!I&&ae.downlevelIteration,Z=ae.noUncheckedIndexedAccess&&!!(l&128);if(I||U||w){const zt=e_e(m,l,I?C:void 0);if(A&&zt){const gi=l&8?F.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:l&32?F.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:l&64?F.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:l&16?F.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;gi&&Ah(D,zt.nextType,C,gi)}if(zt||I)return Z?vW(zt&&zt.yieldType):zt&&zt.yieldType}let ce=m,Fe=!1,Te=!1;if(l&4){if(ce.flags&1048576){const zt=m.types,gi=ti(zt,Wi=>!(Wi.flags&402653316));gi!==zt&&(ce=er(gi,2))}else ce.flags&402653316&&(ce=Ku);if(Te=ce!==m,Te&&(Ce<1&&C&&(pt(C,F.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),Fe=!0),ce.flags&131072))return Z?vW(ct):ct}if(!H5(ce)){if(C&&!Fe){const zt=!!(l&4)&&!Te,[gi,Wi]=ut(zt,U);bh(C,Wi&&!!jz(ce),gi,gn(ce))}return Te?Z?vW(ct):ct:void 0}const $e=yC(ce,Qt);if(Te&&$e)return $e.flags&402653316&&!ae.noUncheckedIndexedAccess?ct:er(Z?[$e,ct,te]:[$e,ct],2);return l&128?vW($e):$e;function ut(zt,gi){var Wi;return gi?zt?[F.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[F.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:Nze(l,0,m,void 0)?[F.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!1]:wsi((Wi=m.symbol)==null?void 0:Wi.escapedName)?[F.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:zt?[F.Type_0_is_not_an_array_type_or_a_string_type,!0]:[F.Type_0_is_not_an_array_type,!0]}}function wsi(l){switch(l){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}function Nze(l,m,D,C){if(nt(D))return;const A=e_e(D,l,C);return A&&A[Bet(m)]}function J5(l=Ku,m=Ku,D=on){if(l.flags&67359327&&m.flags&180227&&D.flags&180227){const C=hp([l,m,D]);let A=Nr.get(C);return A||(A={yieldType:l,returnType:m,nextType:D},Nr.set(C,A)),A}return{yieldType:l,returnType:m,nextType:D}}function s4t(l){let m,D,C;for(const A of l)if(!(A===void 0||A===Vu)){if(A===Ss)return Ss;m=xi(m,A.yieldType),D=xi(D,A.returnType),C=xi(C,A.nextType)}return m||D||C?J5(m&&er(m),D&&er(D),C&&Ds(C)):Vu}function XEe(l,m){return l[m]}function A3(l,m,D){return l[m]=D}function e_e(l,m,D){var C,A;if(nt(l))return Ss;if(!(l.flags&1048576)){const ce=D?{errors:void 0}:void 0,Fe=l4t(l,m,D,ce);if(Fe===Vu){if(D){const Te=Ize(D,l,!!(m&2));ce!=null&&ce.errors&&Es(Te,...ce.errors)}return}else if((C=ce==null?void 0:ce.errors)!=null&&C.length)for(const Te of ce.errors)Vs.add(Te);return Fe}const w=m&2?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",I=XEe(l,w);if(I)return I===Vu?void 0:I;let U;for(const ce of l.types){const Fe=D?{errors:void 0}:void 0,Te=l4t(ce,m,D,Fe);if(Te===Vu){if(D){const $e=Ize(D,l,!!(m&2));Fe!=null&&Fe.errors&&Es($e,...Fe.errors)}A3(l,w,Vu);return}else if((A=Fe==null?void 0:Fe.errors)!=null&&A.length)for(const $e of Fe.errors)Vs.add($e);U=xi(U,Te)}const Z=U?s4t(U):Vu;return A3(l,w,Z),Z===Vu?void 0:Z}function Pze(l,m){if(l===Vu)return Vu;if(l===Ss)return Ss;const{yieldType:D,returnType:C,nextType:A}=l;return m&&cPe(!0),J5(NF(D,m)||me,NF(C,m)||me,A)}function l4t(l,m,D,C){if(nt(l))return Ss;let A=!1;if(m&2){const w=Mze(l,S0)||d4t(l,S0);if(w)if(w===Vu&&D)A=!0;else return m&8?Pze(w,D):w}if(m&1){let w=Mze(l,ud)||d4t(l,ud);if(w)if(w===Vu&&D)A=!0;else if(m&2){if(w!==Vu)return w=Pze(w,D),A?w:A3(l,"iterationTypesOfAsyncIterable",w)}else return w}if(m&2){const w=zze(l,S0,D,C,A);if(w!==Vu)return w}if(m&1){let w=zze(l,ud,D,C,A);if(w!==Vu)return m&2?(w=Pze(w,D),A?w:A3(l,"iterationTypesOfAsyncIterable",w)):w}return Vu}function Mze(l,m){return XEe(l,m.iterableCacheKey)}function c4t(l,m){const D=Mze(l,m)||zze(l,m,void 0,void 0,!1);return D===Vu?nd:D}function d4t(l,m){let D;if(CC(l,D=m.getGlobalIterableType(!1))||CC(l,D=m.getGlobalIterableIteratorType(!1))){const[C]=O0(l),{returnType:A,nextType:w}=c4t(D,m);return A3(l,m.iterableCacheKey,J5(m.resolveIterationType(C,void 0)||C,m.resolveIterationType(A,void 0)||A,w))}if(CC(l,m.getGlobalGeneratorType(!1))){const[C,A,w]=O0(l);return A3(l,m.iterableCacheKey,J5(m.resolveIterationType(C,void 0)||C,m.resolveIterationType(A,void 0)||A,w))}}function h4t(l){const m=Qdt(!1),D=m&&he(Wn(m),Al(l));return D&&Y4(D)?Q4(D):`__@${l}`}function zze(l,m,D,C,A){const w=qo(l,h4t(m.iteratorSymbolName)),I=w&&!(w.flags&16777216)?Wn(w):void 0;if(nt(I))return A?Ss:A3(l,m.iterableCacheKey,Ss);const U=I?go(I,0):void 0;if(!Oe(U))return A?Vu:A3(l,m.iterableCacheKey,Vu);const Z=Ds(Vt(U,Zs)),ce=f4t(Z,m,D,C,A)??Vu;return A?ce:A3(l,m.iterableCacheKey,ce)}function Ize(l,m,D){const C=D?F.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:F.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator,A=!!jz(m)||!D&&SV(l.parent)&&l.parent.expression===l&&Mge(!1)!==Ka&&ms(m,Mge(!1));return bh(l,A,C,gn(m))}function Tsi(l,m,D,C){return f4t(l,m,D,C,!1)}function f4t(l,m,D,C,A){if(nt(l))return Ss;let w=m4t(l,m)||Lsi(l,m);return w===Vu&&D&&(w=void 0,A=!0),w??(w=g4t(l,m,D,C,A)),w===Vu?void 0:w}function m4t(l,m){return XEe(l,m.iteratorCacheKey)}function Lsi(l,m){const D=m.getGlobalIterableIteratorType(!1);if(CC(l,D)){const[C]=O0(l),A=m4t(D,m)||g4t(D,m,void 0,void 0,!1),{returnType:w,nextType:I}=A===Vu?nd:A;return A3(l,m.iteratorCacheKey,J5(C,w,I))}if(CC(l,m.getGlobalIteratorType(!1))||CC(l,m.getGlobalGeneratorType(!1))){const[C,A,w]=O0(l);return A3(l,m.iteratorCacheKey,J5(C,A,w))}}function p4t(l,m){const D=he(l,"done")||Ui;return ms(m===0?Ui:du,D)}function Nsi(l){return p4t(l,0)}function Psi(l){return p4t(l,1)}function Msi(l){if(nt(l))return Ss;const m=XEe(l,"iterationTypesOfIteratorResult");if(m)return m;if(CC(l,yei(!1))){const I=O0(l)[0];return A3(l,"iterationTypesOfIteratorResult",J5(I,void 0,void 0))}if(CC(l,kei(!1))){const I=O0(l)[0];return A3(l,"iterationTypesOfIteratorResult",J5(void 0,I,void 0))}const D=Ic(l,Nsi),C=D!==Ku?he(D,"value"):void 0,A=Ic(l,Psi),w=A!==Ku?he(A,"value"):void 0;return!C&&!w?A3(l,"iterationTypesOfIteratorResult",Vu):A3(l,"iterationTypesOfIteratorResult",J5(C,w||ca,void 0))}function Rze(l,m,D,C,A){var w,I,U,Z;const ce=qo(l,D);if(!ce&&D!=="next")return;const Fe=ce&&!(D==="next"&&ce.flags&16777216)?D==="next"?Wn(ce):mp(Wn(ce),2097152):void 0;if(nt(Fe))return D==="next"?Ss:ic;const Te=Fe?go(Fe,0):_t;if(Te.length===0){if(C){const Ii=D==="next"?m.mustHaveANextMethodDiagnostic:m.mustBeAMethodDiagnostic;A?(A.errors??(A.errors=[]),A.errors.push(Su(C,Ii,D))):pt(C,Ii,D)}return D==="next"?Vu:void 0}if(Fe!=null&&Fe.symbol&&Te.length===1){const Ii=m.getGlobalGeneratorType(!1),Nn=m.getGlobalIteratorType(!1),vn=((I=(w=Ii.symbol)==null?void 0:w.members)==null?void 0:I.get(D))===Fe.symbol,An=!vn&&((Z=(U=Nn.symbol)==null?void 0:U.members)==null?void 0:Z.get(D))===Fe.symbol;if(vn||An){const _n=vn?Ii:Nn,{mapper:hu}=Fe;return J5(k6(_n.typeParameters[0],hu),k6(_n.typeParameters[1],hu),D==="next"?k6(_n.typeParameters[2],hu):void 0)}}let $e,ut;for(const Ii of Te)D!=="throw"&&Oe(Ii.parameters)&&($e=xi($e,Lg(Ii,0))),ut=xi(ut,Zs(Ii));let zt,gi;if(D!=="throw"){const Ii=$e?er($e):on;if(D==="next")gi=Ii;else if(D==="return"){const Nn=m.resolveIterationType(Ii,C)||me;zt=xi(zt,Nn)}}let Wi;const dn=ut?Ds(ut):Ku,nu=m.resolveIterationType(dn,C)||me,En=Msi(nu);return En===Vu?(C&&(A?(A.errors??(A.errors=[]),A.errors.push(Su(C,m.mustHaveAValueDiagnostic,D))):pt(C,m.mustHaveAValueDiagnostic,D)),Wi=me,zt=xi(zt,me)):(Wi=En.yieldType,zt=xi(zt,En.returnType)),J5(Wi,er(zt),gi)}function g4t(l,m,D,C,A){const w=s4t([Rze(l,m,"next",D,C),Rze(l,m,"return",D,C),Rze(l,m,"throw",D,C)]);return A?w:A3(l,m.iteratorCacheKey,w)}function Hb(l,m,D){if(nt(m))return;const C=E4t(m,D);return C&&C[Bet(l)]}function E4t(l,m){if(nt(l))return Ss;const D=m?2:1,C=m?S0:ud;return e_e(l,D,void 0)||Tsi(l,C,void 0,void 0)}function zsi(l){SD(l)||Uli(l)}function bie(l,m){const D=!!(m&1),C=!!(m&2);if(D){const A=Hb(1,l,C);return A?C?W5(Vz(A)):A:Ot}return C?W5(l)||Ot:l}function _4t(l,m){const D=bie(m,kd(l));return!!(D&&(jl(D,16384)||D.flags&32769))}function Isi(l){if(SD(l))return;const m=dq(l);if(m&&zl(m)){r1(l,F.A_return_statement_cannot_be_used_inside_a_class_static_block);return}if(!m){r1(l,F.A_return_statement_can_only_be_used_within_a_function_body);return}const D=dp(m),C=Zs(D),A=kd(m);if(fe||l.expression||C.flags&131072){const w=l.expression?Rc(l.expression):te;if(m.kind===178)l.expression&&pt(l,F.Setters_cannot_return_a_value);else if(m.kind===176)l.expression&&!A6(w,C,l,l.expression)&&pt(l,F.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(uT(m)){const I=bie(C,A)??C,U=A&2?PW(w,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):w;I&&A6(U,I,l,l.expression)}}else m.kind!==176&&ae.noImplicitReturns&&!_4t(m,C)&&pt(l,F.Not_all_code_paths_return_a_value)}function Rsi(l){SD(l)||l.flags&65536&&r1(l,F.with_statements_are_not_allowed_in_an_async_function_block),ya(l.expression);const m=zn(l);if(!Kb(m)){const D=QE(m,l.pos).start,C=l.statement.pos;Wb(m,D,C-D,F.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function Osi(l){SD(l);let m,D=!1;const C=ya(l.expression);L(l.caseBlock.clauses,A=>{A.kind===297&&!D&&(m===void 0?m=A:(Zi(A,F.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),D=!0)),A.kind===296&&s(w(A)),L(A.statements,ls),ae.noFallthroughCasesInSwitch&&A.fallthroughFlowNode&&Jte(A.fallthroughFlowNode)&&pt(A,F.Fallthrough_case_in_switch);function w(I){return()=>{const U=ya(I.expression);Eze(C,U)||q1t(U,C,I.expression,void 0)}}}),l.caseBlock.locals&&T6(l.caseBlock)}function jsi(l){SD(l)||Tn(l.parent,m=>Co(m)?"quit":m.kind===256&&m.label.escapedText===l.label.escapedText?(Zi(l.label,F.Duplicate_label_0,Hc(l.label)),!0):!1),ls(l.statement)}function Vsi(l){SD(l)||at(l.expression)&&!l.expression.escapedText&&lci(l,F.Line_break_not_permitted_here),l.expression&&ya(l.expression)}function Hsi(l){SD(l),YEe(l.tryBlock);const m=l.catchClause;if(m){if(m.variableDeclaration){const D=m.variableDeclaration;vie(D);const C=f1(D);if(C){const A=Ar(C);A&&!(A.flags&3)&&r1(C,F.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(D.initializer)r1(D.initializer,F.Catch_clause_variable_cannot_have_an_initializer);else{const A=m.block.locals;A&&U_(m.locals,w=>{const I=A.get(w);I!=null&&I.valueDeclaration&&I.flags&2&&Zi(I.valueDeclaration,F.Cannot_redeclare_identifier_0_in_catch_clause,Qr(w))})}}YEe(m.block)}l.finallyBlock&&YEe(l.finallyBlock)}function t_e(l,m,D){const C=kh(l);if(C.length===0)return;for(const w of D6(l))D&&w.flags&4194304||D4t(l,w,yz(w,8576,!0),E6(w));const A=m.valueDeclaration;if(A&&mr(A)){for(const w of A.members)if(!No(w)&&!iT(w)){const I=_u(w);D4t(l,I,b1(w.name.expression),E6(I))}}if(C.length>1)for(const w of C)Ksi(l,w)}function D4t(l,m,D,C){const A=m.valueDeclaration,w=Za(A);if(w&&ea(w))return;const I=YNe(l,D),U=Gu(l)&2?Sl(l.symbol,264):void 0,Z=A&&A.kind===226||w&&w.kind===167?A:void 0,ce=cf(m)===l.symbol?A:void 0;for(const Fe of I){const Te=Fe.declaration&&cf(_u(Fe.declaration))===l.symbol?Fe.declaration:void 0,$e=ce||Te||(U&&!Oe(Zc(l),ut=>!!bC(ut,m.escapedName)&&!!yC(ut,Fe.keyType))?U:void 0);if($e&&!ms(C,Fe.type)){const ut=f3($e,F.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,Fr(m),gn(C),gn(Fe.keyType),gn(Fe.type));Z&&$e!==Z&&Es(ut,Su(Z,F._0_is_declared_here,Fr(m))),Vs.add(ut)}}}function Ksi(l,m){const D=m.declaration,C=YNe(l,m.keyType),A=Gu(l)&2?Sl(l.symbol,264):void 0,w=D&&cf(_u(D))===l.symbol?D:void 0;for(const I of C){if(I===m)continue;const U=I.declaration&&cf(_u(I.declaration))===l.symbol?I.declaration:void 0,Z=w||U||(A&&!Oe(Zc(l),ce=>!!k3(ce,m.keyType)&&!!yC(ce,I.keyType))?A:void 0);Z&&!ms(m.type,I.type)&&pt(Z,F._0_index_type_1_is_not_assignable_to_2_index_type_3,gn(m.keyType),gn(m.type),gn(I.keyType),gn(I.type))}}function Wz(l,m){switch(l.escapedText){case"any":case"unknown":case"never":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":pt(l,m,l.escapedText)}}function Wsi(l){Ce>=1&&l.escapedText==="Object"&&(ne<5||zn(l).impliedNodeFormat===1)&&pt(l,F.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,FN[ne])}function Gsi(l){const m=ti(Cv(l),Eg);if(!S(m))return;const D=Qn(l),C=new Set,A=new Set;if(L(l.parameters,({name:I},U)=>{at(I)&&C.add(I.escapedText),So(I)&&A.add(U)}),XNe(l)){const I=m.length-1,U=m[I];D&&U&&at(U.name)&&U.typeExpression&&U.typeExpression.type&&!C.has(U.name.escapedText)&&!A.has(I)&&!A4(Ar(U.typeExpression.type))&&pt(U.name,F.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,fu(U.name))}else L(m,({name:I,isNameFirst:U},Z)=>{A.has(Z)||at(I)&&C.has(I.escapedText)||(vf(I)?D&&pt(I,F.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,zf(I),zf(I.left)):U||g4(D,I,F.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,fu(I)))})}function yie(l){let m=!1;if(l)for(let C=0;C{C.default?(m=!0,Jsi(C.default,l,A)):m&&pt(C,F.Required_type_parameters_may_not_follow_optional_type_parameters);for(let w=0;wC)return!1;for(let Z=0;ZKc(D)&&ph(D))&&Zi(m,F.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),!l.name&&!Yu(l,2048)&&r1(l,F.A_class_declaration_without_the_default_modifier_must_have_a_name),b4t(l),L(l.members,ls),T6(l)}function b4t(l){Nli(l),_ie(l),Hz(l,l.name),yie(Sx(l)),LW(l);const m=_u(l),D=X0(m),C=xm(D),A=Wn(m);x4t(m),UEe(m),doi(l),!!(l.flags&33554432)||hoi(l);const I=Qg(l);if(I){L(I.typeArguments,ls),Ce<2&&rd(I.parent,1);const ce=B2(l);ce&&ce!==I&&ya(ce.expression);const Fe=Zc(D);Fe.length&&s(()=>{const Te=Fe[0],$e=qc(D),ut=Gh($e);if(Qsi(ut,I),ls(I.expression),Oe(I.typeArguments)){L(I.typeArguments,ls);for(const gi of Rs(ut,I.typeArguments,I))if(!Wmt(I,gi.typeParameters))break}const zt=xm(Te,D.thisType);if(Ah(C,zt,void 0)?Ah(A,H1t(ut),l.name||l,F.Class_static_side_0_incorrectly_extends_base_class_static_side_1):F4t(l,C,zt,F.Class_0_incorrectly_extends_base_class_1),$e.flags&8650752&&(Hu(A)?go($e,1).some(Wi=>Wi.flags&4)&&!Yu(l,64)&&pt(l.name||l,F.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):pt(l.name||l,F.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),!(ut.symbol&&ut.symbol.flags&32)&&!($e.flags&8650752)){const gi=D0(ut,I.typeArguments,I);L(gi,Wi=>!AE(Wi.declaration)&&!CD(Zs(Wi),Te))&&pt(I.expression,F.Base_constructors_must_all_have_the_same_return_type)}t0i(D,Te)})}Ysi(l,D,C,A);const U=iB(l);if(U)for(const ce of U)(!ec(ce.expression)||Y1(ce.expression))&&pt(ce.expression,F.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),kze(ce),s(Z(ce));s(()=>{t_e(D,m),t_e(A,m,!0),Cze(l),u0i(l)});function Z(ce){return()=>{const Fe=Sg(Ar(ce));if(!Nt(Fe))if(pF(Fe)){const Te=Fe.symbol&&Fe.symbol.flags&32?F.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:F.Class_0_incorrectly_implements_interface_1,$e=xm(Fe,D.thisType);Ah(C,$e,void 0)||F4t(l,C,$e,Te)}else pt(ce,F.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}}function Ysi(l,m,D,C){const w=Qg(l)&&Zc(m),I=w!=null&&w.length?xm(Pn(w),m.thisType):void 0,U=qc(m);for(const Z of l.members)rle(Z)||(hc(Z)&&L(Z.parameters,ce=>{Mf(ce,Z)&&y4t(l,C,U,I,m,D,ce,!0)}),y4t(l,C,U,I,m,D,Z,!1))}function y4t(l,m,D,C,A,w,I,U,Z=!0){const ce=I.name&&Yp(I.name)||Yp(I);return ce?k4t(l,m,D,C,A,w,Vq(I),P2(I),No(I),U,lc(ce),Z?I:void 0):0}function k4t(l,m,D,C,A,w,I,U,Z,ce,Fe,Te){const $e=Qn(l),ut=!!(l.flags&33554432);if(C&&(I||ae.noImplicitOverride)){const zt=Al(Fe),gi=Z?m:w,Wi=Z?D:C,dn=qo(gi,zt),nu=qo(Wi,zt),En=gn(C);if(dn&&!nu&&I){if(Te){const Ii=zft(Fe,Wi);Ii?pt(Te,$e?F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,En,Fr(Ii)):pt(Te,$e?F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,En)}return 2}else if(dn&&(nu!=null&&nu.declarations)&&ae.noImplicitOverride&&!ut){const Ii=Oe(nu.declarations,P2);if(I)return 0;if(Ii){if(U&&Ii)return Te&&pt(Te,F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,En),1}else{if(Te){const Nn=ce?$e?F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:$e?F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0;pt(Te,Nn,En)}return 1}}}else if(I){if(Te){const zt=gn(A);pt(Te,$e?F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,zt)}return 2}return 0}function F4t(l,m,D,C){let A=!1;for(const w of l.members){if(No(w))continue;const I=w.name&&Yp(w.name)||Yp(w);if(I){const U=qo(m,I.escapedName),Z=qo(D,I.escapedName);if(U&&Z){const ce=()=>ro(void 0,F.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Fr(I),gn(m),gn(D));Ah(Wn(U),Wn(Z),w.name||w,void 0,ce)||(A=!0)}}}A||Ah(m,D,l.name||l,C)}function Qsi(l,m){const D=go(l,1);if(D.length){const C=D[0].declaration;if(C&&Rf(C,2)){const A=tD(l.symbol);Wze(m,A)||pt(m,F.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,op(l.symbol))}}}function Xsi(l,m,D){if(!m.name)return 0;const C=_u(l),A=X0(C),w=xm(A),I=Wn(C),Z=Qg(l)&&Zc(A),ce=Z!=null&&Z.length?xm(Pn(Z),A.thisType):void 0,Fe=qc(A),Te=m.parent?Vq(m):Yu(m,16);return k4t(l,I,Fe,ce,A,w,Te,P2(m),No(m),!1,lc(D))}function _T(l){return Gl(l)&1?l.links.target:l}function e0i(l){return ti(l.declarations,m=>m.kind===263||m.kind===264)}function t0i(l,m){var D,C,A,w;const I=n0(m);let U;e:for(const Z of I){const ce=_T(Z);if(ce.flags&4194304)continue;const Fe=bC(l,ce.escapedName);if(!Fe)continue;const Te=_T(Fe),$e=l4(ce);if(H.assert(!!Te,"derived should point to something, even if it is the base class' declaration."),Te===ce){const ut=tD(l.symbol);if($e&64&&(!ut||!Yu(ut,64))){for(const zt of Zc(l)){if(zt===m)continue;const gi=bC(zt,ce.escapedName),Wi=gi&&_T(gi);if(Wi&&Wi!==ce)continue e}U||(U=pt(ut,F.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1,gn(l),gn(m))),ut.kind===231?Es(U,Su(Z.valueDeclaration??(Z.declarations&&Pn(Z.declarations))??ut,F.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Fr(Z),gn(m))):Es(U,Su(Z.valueDeclaration??(Z.declarations&&Pn(Z.declarations))??ut,F.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,gn(l),Fr(Z),gn(m)))}}else{const ut=l4(Te);if($e&2||ut&2)continue;let zt;const gi=ce.flags&98308,Wi=Te.flags&98308;if(gi&&Wi){if((Gl(ce)&6?(D=ce.declarations)!=null&&D.some(En=>A4t(En,$e)):(C=ce.declarations)!=null&&C.every(En=>A4t(En,$e)))||Gl(ce)&262144||Te.valueDeclaration&&Xn(Te.valueDeclaration))continue;const dn=gi!==4&&Wi===4;if(dn||gi===4&&Wi!==4){const En=dn?F._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:F._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;pt(Za(Te.valueDeclaration)||Te.valueDeclaration,En,Fr(ce),gn(m),gn(l))}else if(Se){const En=(A=Te.declarations)==null?void 0:A.find(Ii=>Ii.kind===172&&!Ii.initializer);if(En&&!(Te.flags&33554432)&&!($e&64)&&!(ut&64)&&!((w=Te.declarations)!=null&&w.some(Ii=>!!(Ii.flags&33554432)))){const Ii=Up(tD(l.symbol)),Nn=En.name;if(En.exclamationToken||!Ii||!at(Nn)||!fe||!B4t(Nn,l,Ii)){const vn=F.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;pt(Za(Te.valueDeclaration)||Te.valueDeclaration,vn,Fr(ce),gn(m))}}}continue}else if(jMe(ce)){if(jMe(Te)||Te.flags&4)continue;H.assert(!!(Te.flags&98304)),zt=F.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else ce.flags&98304?zt=F.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:zt=F.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;pt(Za(Te.valueDeclaration)||Te.valueDeclaration,zt,gn(m),Fr(ce),gn(l))}}}function A4t(l,m){return m&64&&(!ko(l)||!l.initializer)||xh(l.parent)}function i0i(l,m,D){if(!S(m))return D;const C=new Map;L(D,A=>{C.set(A.escapedName,A)});for(const A of m){const w=n0(xm(A,l.thisType));for(const I of w){const U=C.get(I.escapedName);U&&I.parent===U.parent&&C.delete(I.escapedName)}}return ga(C.values())}function n0i(l,m){const D=Zc(l);if(D.length<2)return!0;const C=new Map;L(LNe(l).declaredProperties,w=>{C.set(w.escapedName,{prop:w,containingType:l})});let A=!0;for(const w of D){const I=n0(xm(w,l.thisType));for(const U of I){const Z=C.get(U.escapedName);if(!Z)C.set(U.escapedName,{prop:U,containingType:w});else if(Z.containingType!==l&&!Dii(Z.prop,U)){A=!1;const Fe=gn(Z.containingType),Te=gn(w);let $e=ro(void 0,F.Named_property_0_of_types_1_and_2_are_not_identical,Fr(U),Fe,Te);$e=ro($e,F.Interface_0_cannot_simultaneously_extend_types_1_and_2,gn(l),Fe,Te),Vs.add(Y3(zn(m),m,$e))}}}return A}function u0i(l){if(!fe||!Ge||l.flags&33554432)return;const m=Up(l);for(const D of l.members)if(!(Eh(D)&128)&&!No(D)&&S4t(D)){const C=D.name;if(at(C)||ea(C)||Ps(C)){const A=Wn(_u(D));A.flags&3||Fz(A)||(!m||!B4t(C,A,m))&&pt(D.name,F.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,b0(C))}}}function S4t(l){return l.kind===172&&!P2(l)&&!l.exclamationToken&&!l.initializer}function r0i(l,m,D,C,A){for(const w of D)if(w.pos>=C&&w.pos<=A){const I=q.createPropertyAccessExpression(q.createThis(),l);ks(I.expression,I),ks(I,w),I.flowNode=w.returnFlowNode;const U=w6(I,m,S6(m));if(!Fz(U))return!0}return!1}function B4t(l,m,D){const C=Ps(l)?q.createElementAccessExpression(q.createThis(),l.expression):q.createPropertyAccessExpression(q.createThis(),l);ks(C.expression,C),ks(C,D),C.flowNode=D.returnFlowNode;const A=w6(C,m,S6(m));return!Fz(A)}function a0i(l){S3(l)||jli(l),yie(l.typeParameters),s(()=>{Wz(l.name,F.Interface_name_cannot_be_0),LW(l);const m=_u(l);x4t(m);const D=Sl(m,264);if(l===D){const C=X0(m),A=xm(C);if(n0i(C,l.name)){for(const w of Zc(C))Ah(A,xm(w,C.thisType),l.name,F.Interface_0_incorrectly_extends_interface_1);t_e(C,m)}}jmt(l)}),L(rP(l),m=>{(!ec(m.expression)||Y1(m.expression))&&pt(m.expression,F.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),kze(m)}),L(l.members,ls),s(()=>{Cze(l),T6(l)})}function o0i(l){S3(l),Wz(l.name,F.Type_alias_name_cannot_be_0),LW(l),yie(l.typeParameters),l.type.kind===141?(!tQ.has(l.name.escapedText)||S(l.typeParameters)!==1)&&pt(l.type,F.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(ls(l.type),T6(l))}function w4t(l){const m=ar(l);if(!(m.flags&1024)){m.flags|=1024;let D=0;for(const C of l.members){const A=s0i(C,D);ar(C).enumMemberValue=A,D=typeof A=="number"?A+1:void 0}}}function s0i(l,m){if(oj(l.name))pt(l.name,F.Computed_property_names_are_not_allowed_in_enums);else{const D=V8(l.name);i3(D)&&!LP(D)&&pt(l.name,F.An_enum_member_cannot_have_a_numeric_name)}if(l.initializer)return l0i(l);if(!(l.parent.flags&33554432&&!b2(l.parent))){if(m!==void 0)return m;pt(l.name,F.Enum_member_must_have_initializer)}}function l0i(l){const m=b2(l.parent),D=l.initializer,C=Gz(D,l);return C!==void 0?m&&typeof C=="number"&&!isFinite(C)&&pt(D,isNaN(C)?F.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:F.const_enum_member_initializer_was_evaluated_to_a_non_finite_value):m?pt(D,F.const_enum_member_initializers_must_be_constant_expressions):l.parent.flags&33554432?pt(D,F.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):Ah(ya(D),Qt,D,F.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values),C}function Gz(l,m){switch(l.kind){case 224:const D=Gz(l.operand,m);if(typeof D=="number")switch(l.operator){case 40:return D;case 41:return-D;case 55:return~D}break;case 226:const C=Gz(l.left,m),A=Gz(l.right,m);if(typeof C=="number"&&typeof A=="number")switch(l.operatorToken.kind){case 52:return C|A;case 51:return C&A;case 49:return C>>A;case 50:return C>>>A;case 48:return C<d0i(l))}function d0i(l){S3(l),Hz(l,l.name),LW(l),l.members.forEach(h0i),w4t(l);const m=_u(l),D=Sl(m,l.kind);if(l===D){if(m.declarations&&m.declarations.length>1){const A=b2(l);L(m.declarations,w=>{Iv(w)&&b2(w)!==A&&pt(Za(w),F.Enum_declarations_must_all_be_const_or_non_const)})}let C=!1;L(m.declarations,A=>{if(A.kind!==266)return!1;const w=A;if(!w.members.length)return!1;const I=w.members[0];I.initializer||(C?pt(I.name,F.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):C=!0)})}}function h0i(l){ea(l.name)&&pt(l,F.An_enum_member_cannot_be_named_with_a_private_identifier),l.initializer&&ya(l.initializer)}function f0i(l){const m=l.declarations;if(m){for(const D of m)if((D.kind===263||D.kind===262&&H4(D.body))&&!(D.flags&33554432))return D}}function m0i(l,m){const D=YE(l),C=YE(m);return pE(D)?pE(C):pE(C)?!1:D===C}function p0i(l){l.body&&(ls(l.body),Yg(l)||T6(l)),s(m);function m(){var D,C;const A=Yg(l),w=l.flags&33554432;A&&!w&&pt(l.name,F.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);const I=N1(l),U=I?F.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:F.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;if(kie(l,U))return;S3(l)||!w&&l.name.kind===11&&Zi(l.name,F.Only_ambient_modules_can_use_quoted_names),at(l.name)&&Hz(l,l.name),LW(l);const Z=_u(l);if(Z.flags&512&&!w&&Rde(l,fk(ae))){if(mg(ae)&&!zn(l).externalModuleIndicator&&pt(l.name,F.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement,ht),((D=Z.declarations)==null?void 0:D.length)>1){const ce=f0i(Z);ce&&(zn(l)!==zn(ce)?pt(l.name,F.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):l.posFe.kind===95);ce&&pt(ce,F.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}}if(I)if(v2(l)){if((A||_u(l).flags&33554432)&&l.body)for(const Fe of l.body.statements)Oze(Fe,A)}else pE(l.parent)?A?pt(l.name,F.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):Id(J4(l.name))&&pt(l.name,F.Ambient_module_declaration_cannot_specify_relative_module_name):A?pt(l.name,F.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):pt(l.name,F.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}}function Oze(l,m){switch(l.kind){case 243:for(const C of l.declarationList.declarations)Oze(C,m);break;case 277:case 278:r1(l,F.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 271:case 272:r1(l,F.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 208:case 260:const D=l.name;if(So(D)){for(const C of D.elements)Oze(C,m);break}case 263:case 266:case 262:case 264:case 267:case 265:if(m)return;break}}function g0i(l){switch(l.kind){case 80:return l;case 166:do l=l.left;while(l.kind!==80);return l;case 211:do{if(Y_(l.expression)&&!ea(l.name))return l.name;l=l.expression}while(l.kind!==80);return l}}function jze(l){const m=Y8(l);if(!m||Ql(m))return!1;if(!us(m))return pt(m,F.String_literal_expected),!1;const D=l.parent.kind===268&&N1(l.parent.parent);if(l.parent.kind!==312&&!D)return pt(m,l.kind===278?F.Export_declarations_are_not_permitted_in_a_namespace:F.Import_declarations_in_a_namespace_cannot_reference_a_module),!1;if(D&&Id(m.text)&&!j9(l))return pt(l,F.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1;if(!E1(l)&&l.attributes){const C=l.attributes.token===118?F.Import_attribute_values_must_be_string_literal_expressions:F.Import_assertion_values_must_be_string_literal_expressions;let A=!1;for(const w of l.attributes.elements)us(w.value)||(A=!0,pt(w.value,C));return!A}return!0}function i_e(l){var m,D,C,A;let w=_u(l);const I=md(w);if(I!==Xt){if(w=Ks(w.exportSymbol||w),Qn(l)&&!(I.flags&111551)&&!_2(l)){const ce=r7(l)?l.propertyName||l.name:mh(l)?l.name:l;if(H.assert(l.kind!==280),l.kind===281){const Fe=pt(ce,F.Types_cannot_appear_in_export_declarations_in_JavaScript_files),Te=(D=(m=zn(l).symbol)==null?void 0:m.exports)==null?void 0:D.get((l.propertyName||l.name).escapedText);if(Te===I){const $e=(C=Te.declarations)==null?void 0:C.find(z8);$e&&Es(Fe,Su($e,F._0_is_automatically_exported_here,Qr(Te.escapedName)))}}else{H.assert(l.kind!==260);const Fe=Tn(l,dg(Sd,E1)),Te=(Fe&&((A=Z8(Fe))==null?void 0:A.text))??"...",$e=Qr(at(ce)?ce.escapedText:w.escapedName);pt(ce,F._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,$e,`import("${Te}").${$e}`)}return}const U=O1(I),Z=(w.flags&1160127?111551:0)|(w.flags&788968?788968:0)|(w.flags&1920?1920:0);if(U&Z){const ce=l.kind===281?F.Export_declaration_conflicts_with_exported_declaration_of_0:F.Import_declaration_conflicts_with_local_declaration_of_0;pt(l,ce,Fr(w))}if(mg(ae)&&!_2(l)&&!(l.flags&33554432)){const ce=_4(w),Fe=!(U&111551);if(Fe||ce)switch(l.kind){case 273:case 276:case 271:{if(ae.preserveValueImports||ae.verbatimModuleSyntax){H.assertIsDefined(l.name,"An ImportClause with a symbol should have a name");const Te=ae.verbatimModuleSyntax&&U8(l)?F.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:Fe?ae.verbatimModuleSyntax?F._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:F._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:ae.verbatimModuleSyntax?F._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:F._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled,$e=fu(l.kind===276&&l.propertyName||l.name);dD(pt(l,Te,$e),Fe?void 0:ce,$e)}Fe&&l.kind===271&&Rf(l,32)&&pt(l,F.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled,ht);break}case 281:if(ae.verbatimModuleSyntax||zn(ce)!==zn(l)){const Te=fu(l.propertyName||l.name),$e=Fe?pt(l,F.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type,ht):pt(l,F._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled,Te,ht);dD($e,Fe?void 0:ce,Te);break}}ae.verbatimModuleSyntax&&l.kind!==271&&!Qn(l)&&(ne===1||zn(l).impliedNodeFormat===1)&&pt(l,F.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}if(bf(l)){const ce=Vze(w,l);S5(ce)&&ce.declarations&&m3(l,ce.declarations,ce.escapedName)}}}function Vze(l,m){if(!(l.flags&2097152)||S5(l)||!rp(l))return l;const D=md(l);if(D===Xt)return D;for(;l.flags&2097152;){const C=PMe(l);if(C){if(C===D)break;if(C.declarations&&S(C.declarations))if(S5(C)){m3(m,C.declarations,C.escapedName);break}else{if(l===D)break;l=C}}else break}return D}function n_e(l){Hz(l,l.name),i_e(l),l.kind===276&&fu(l.propertyName||l.name)==="default"&&e_(ae)&&ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&rd(l,131072)}function N4t(l){var m;const D=l.attributes;if(D){const C=F1e(l),A=qB(D,C?Zi:void 0),w=l.attributes.token===118;if(C&&A)return;if((ne===199&&l.moduleSpecifier&&Ma(l.moduleSpecifier))!==99&&ne!==99){const U=w?ne===199?F.Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:F.Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:ne===199?F.Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:F.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext;return Zi(D,U)}if(Sd(l)?(m=l.importClause)!=null&&m.isTypeOnly:l.isTypeOnly)return Zi(D,w?F.Import_attributes_cannot_be_used_with_type_only_imports_or_exports:F.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);if(A)return Zi(D,F.resolution_mode_can_only_be_set_for_type_only_imports)}}function E0i(l){if(!kie(l,Qn(l)?F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!S3(l)&&jq(l)&&r1(l,F.An_import_declaration_cannot_have_modifiers),jze(l)){const m=l.importClause;m&&!dci(m)&&(m.name&&n_e(m),m.namedBindings&&(m.namedBindings.kind===274?(n_e(m.namedBindings),ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&e_(ae)&&rd(l,65536)):Kh(l,l.moduleSpecifier)&&L(m.namedBindings.elements,n_e)))}N4t(l)}}function _0i(l){if(!kie(l,Qn(l)?F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)&&(S3(l),U8(l)||jze(l)))if(n_e(l),Yu(l,32)&&fC(l),l.moduleReference.kind!==283){const m=md(_u(l));if(m!==Xt){const D=O1(m);if(D&111551){const C=hm(l.moduleReference);R0(C,112575).flags&1920||pt(C,F.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,b0(C))}D&788968&&Wz(l.name,F.Import_name_cannot_be_0)}l.isTypeOnly&&Zi(l,F.An_import_alias_cannot_use_import_type)}else ne>=5&&zn(l).impliedNodeFormat===void 0&&!l.isTypeOnly&&!(l.flags&33554432)&&Zi(l,F.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}function D0i(l){if(!kie(l,Qn(l)?F.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:F.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!S3(l)&&Bye(l)&&r1(l,F.An_export_declaration_cannot_have_modifiers),l.moduleSpecifier&&l.exportClause&&ep(l.exportClause)&&S(l.exportClause.elements)&&Ce===0&&rd(l,4194304),x0i(l),!l.moduleSpecifier||jze(l))if(l.exportClause&&!u_(l.exportClause)){L(l.exportClause.elements,F0i);const m=l.parent.kind===268&&N1(l.parent.parent),D=!m&&l.parent.kind===268&&!l.moduleSpecifier&&l.flags&33554432;l.parent.kind!==312&&!m&&!D&&pt(l,F.Export_declarations_are_not_permitted_in_a_namespace)}else{const m=Kh(l,l.moduleSpecifier);m&&bb(m)?pt(l.moduleSpecifier,F.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Fr(m)):l.exportClause&&i_e(l.exportClause),ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&(l.exportClause?e_(ae)&&rd(l,65536):rd(l,32768))}N4t(l)}}function x0i(l){var m;return l.isTypeOnly&&((m=l.exportClause)==null?void 0:m.kind)===279?dpt(l.exportClause):!1}function kie(l,m){const D=l.parent.kind===312||l.parent.kind===268||l.parent.kind===267;return D||r1(l,m),!D}function v0i(l){return Fq(l,m=>!!_u(m).isReferenced)}function C0i(l){return Fq(l,m=>!!Ur(_u(m)).constEnumReferenced)}function b0i(l){return Sd(l)&&l.importClause&&!l.importClause.isTypeOnly&&v0i(l.importClause)&&!l_e(l.importClause,!0)&&!C0i(l.importClause)}function y0i(l){return E1(l)&&r_(l.moduleReference)&&!l.isTypeOnly&&_u(l).isReferenced&&!l_e(l,!1)&&!Ur(_u(l)).constEnumReferenced}function k0i(l){if(Ut)for(const m of l.statements)(b0i(m)||y0i(m))&&pt(m,F.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}function F0i(l){if(i_e(l),c4(ae)&&qw(l.propertyName||l.name,!0),l.parent.parent.moduleSpecifier)e_(ae)&&ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&fu(l.propertyName||l.name)==="default"&&rd(l,131072);else{const m=l.propertyName||l.name,D=uc(m,m.escapedText,2998271,void 0,void 0,!0);if(D&&(D===st||D===St||D.declarations&&pE(dF(D.declarations[0]))))pt(m,F.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,fu(m));else{!l.isTypeOnly&&!l.parent.parent.isTypeOnly&&fC(l);const C=D&&(D.flags&2097152?md(D):D);(!C||O1(C)&111551)&&Rc(l.propertyName||l.name)}}}function A0i(l){const m=l.isExportEquals?F.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:F.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration;if(kie(l,m))return;const D=l.parent.kind===312?l.parent:l.parent.parent;if(D.kind===267&&!N1(D)){l.isExportEquals?pt(l,F.An_export_assignment_cannot_be_used_in_a_namespace):pt(l,F.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);return}!S3(l)&&jq(l)&&r1(l,F.An_export_assignment_cannot_have_modifiers);const C=f1(l);C&&Ah(Rc(l.expression),Ar(C),l.expression);const A=!l.isExportEquals&&!(l.flags&33554432)&&ae.verbatimModuleSyntax&&(ne===1||zn(l).impliedNodeFormat===1);if(l.expression.kind===80){const w=l.expression,I=sp(R0(w,67108863,!0,!0,l));I?(bEe(I,w),O1(I)&111551?(Rc(w),!A&&!(l.flags&33554432)&&ae.verbatimModuleSyntax&&_4(I,111551)&&pt(w,l.isExportEquals?F.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:F.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration,fu(w))):!A&&!(l.flags&33554432)&&ae.verbatimModuleSyntax&&pt(w,l.isExportEquals?F.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:F.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,fu(w))):Rc(w),c4(ae)&&qw(w,!0)}else Rc(l.expression);A&&pt(l,F.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled),P4t(D),l.flags&33554432&&!ec(l.expression)&&Zi(l.expression,F.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),l.isExportEquals&&(ne>=5&&(l.flags&33554432&&zn(l).impliedNodeFormat===99||!(l.flags&33554432)&&zn(l).impliedNodeFormat!==1)?Zi(l,F.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):ne===4&&!(l.flags&33554432)&&Zi(l,F.Export_assignment_is_not_supported_when_module_flag_is_system))}function S0i(l){return h1(l.exports,(m,D)=>D!=="export=")}function P4t(l){const m=_u(l),D=Ur(m);if(!D.exportsChecked){const C=m.exports.get("export=");if(C&&S0i(m)){const w=rp(C)||C.valueDeclaration;w&&!j9(w)&&!Qn(w)&&pt(w,F.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}const A=x3(m);A&&A.forEach(({declarations:w,flags:I},U)=>{if(U==="__export"||I&1920)return;const Z=ui(w,Q$(wet,X$(xh)));if(!(I&524288&&Z<=2)&&Z>1&&!u_e(w))for(const ce of w)Fet(ce)&&Vs.add(Su(ce,F.Cannot_redeclare_exported_variable_0,Qr(U)))}),D.exportsChecked=!0}}function u_e(l){return l&&l.length>1&&l.every(m=>Qn(m)&&I0(m)&&(uk(m.expression)||Y_(m.expression)))}function ls(l){if(l){const m=K;K=l,z=0,B0i(l),K=m}}function B0i(l){wj(l)&&L(l.jsDoc,({comment:D,tags:C})=>{M4t(D),L(C,A=>{M4t(A.comment),Qn(l)&&ls(A)})});const m=l.kind;if(d)switch(m){case 267:case 263:case 264:case 262:d.throwIfCancellationRequested()}switch(m>=243&&m<=259&&Bj(l)&&l.flowNode&&!Jte(l.flowNode)&&g4(ae.allowUnreachableCode===!1,l,F.Unreachable_code_detected),m){case 168:return Imt(l);case 169:return Rmt(l);case 172:return Vmt(l);case 171:return foi(l);case 185:case 184:case 179:case 180:case 181:return TW(l);case 174:case 173:return moi(l);case 175:return poi(l);case 176:return goi(l);case 177:case 178:return Kmt(l);case 183:return kze(l);case 182:return loi(l);case 186:return Coi(l);case 187:return boi(l);case 188:return yoi(l);case 189:return koi(l);case 192:case 193:return Foi(l);case 196:case 190:case 191:return ls(l.type);case 197:return woi(l);case 198:return Toi(l);case 194:return Loi(l);case 195:return Noi(l);case 203:return Poi(l);case 205:return Moi(l);case 202:return zoi(l);case 335:return tsi(l);case 336:return esi(l);case 353:case 345:case 347:return Goi(l);case 352:return Joi(l);case 351:return $oi(l);case 331:case 332:case 333:return qoi(l);case 348:return Zoi(l);case 355:return Yoi(l);case 324:Qoi(l);case 322:case 321:case 319:case 320:case 329:z4t(l),ao(l,ls);return;case 325:w0i(l);return;case 316:return ls(l.type);case 340:case 342:case 341:return isi(l);case 357:return Uoi(l);case 350:return Xoi(l);case 199:return Aoi(l);case 200:return Soi(l);case 262:return Woi(l);case 241:case 268:return YEe(l);case 243:return xsi(l);case 244:return vsi(l);case 245:return Csi(l);case 246:return ksi(l);case 247:return Fsi(l);case 248:return Asi(l);case 249:return Bsi(l);case 250:return Ssi(l);case 251:case 252:return zsi(l);case 253:return Isi(l);case 254:return Rsi(l);case 255:return Osi(l);case 256:return jsi(l);case 257:return Vsi(l);case 258:return Hsi(l);case 260:return _si(l);case 208:return Dsi(l);case 263:return Zsi(l);case 264:return a0i(l);case 265:return o0i(l);case 266:return c0i(l);case 267:return p0i(l);case 272:return E0i(l);case 271:return _0i(l);case 278:return D0i(l);case 277:return A0i(l);case 242:case 259:SD(l);return;case 282:return _oi(l)}}function M4t(l){Ha(l)&&L(l,m=>{o7(m)&&ls(m)})}function z4t(l){if(!Qn(l))if(mY(l)||wB(l)){const m=Uo(mY(l)?54:58),D=l.postfix?F._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:F._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1,C=l.type,A=Ar(C);Zi(l,D,m,gn(wB(l)&&!(A===Ku||A===ca)?er(xi([A,te],l.postfix?void 0:it)):A))}else Zi(l,F.JSDoc_types_can_only_be_used_inside_documentation_comments)}function w0i(l){z4t(l),ls(l.type);const{parent:m}=l;if(io(m)&&TB(m.parent)){Cr(m.parent.parameters)!==m&&pt(l,F.A_rest_parameter_must_be_last_in_a_parameter_list);return}kk(m)||pt(l,F.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);const D=l.parent.parent;if(!Eg(D)){pt(l,F.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}const C=Tj(D);if(!C)return;const A=kv(D);(!A||Cr(A.parameters).symbol!==C)&&pt(l,F.A_rest_parameter_must_be_last_in_a_parameter_list)}function T0i(l){const m=Ar(l.type),{parent:D}=l,C=l.parent.parent;if(kk(l.parent)&&Eg(C)){const A=kv(C),w=Ace(C.parent.parent);if(A||w){const I=qu(w?C.parent.parent.typeExpression.parameters:A.parameters),U=Tj(C);if(!I||U&&I.symbol===U&&$_(I))return V1(m)}}return io(D)&&TB(D.parent)?V1(m):Vd(m)}function eS(l){const m=zn(l),D=ar(m);D.flags&1?H.assert(!D.deferredNodes,"A type-checked file should have no deferred nodes."):(D.deferredNodes||(D.deferredNodes=new Set),D.deferredNodes.add(l))}function L0i(l){const m=ar(l);m.deferredNodes&&m.deferredNodes.forEach(N0i),m.deferredNodes=void 0}function N0i(l){var m,D;(m=Gn)==null||m.push(Gn.Phase.Check,"checkDeferredNode",{kind:l.kind,pos:l.pos,end:l.end,path:l.tracingPath});const C=K;switch(K=l,z=0,l.kind){case 213:case 214:case 215:case 170:case 286:BF(l);break;case 218:case 219:case 174:case 173:Sai(l);break;case 177:case 178:Kmt(l);break;case 231:qsi(l);break;case 168:soi(l);break;case 285:Rui(l);break;case 284:jui(l);break;case 216:case 234:case 217:tai(l);break;case 222:ya(l.expression);break;case 226:Hq(l)&&BF(l);break}K=C,(D=Gn)==null||D.pop()}function P0i(l){var m,D;(m=Gn)==null||m.push(Gn.Phase.Check,"checkSourceFile",{path:l.path},!0),ul("beforeCheck"),M0i(l),ul("afterCheck"),Tm("Check","beforeCheck","afterCheck"),(D=Gn)==null||D.pop()}function I4t(l,m){if(m)return!1;switch(l){case 0:return!!ae.noUnusedLocals;case 1:return!!ae.noUnusedParameters;default:return H.assertNever(l)}}function R4t(l){return b5.get(l.path)||_t}function M0i(l){const m=ar(l);if(!(m.flags&1)){if(AP(l,ae,t))return;oci(l),pu(cb),pu(db),pu(iC),pu(y5),pu(hb),L(l.statements,ls),ls(l.endOfFileToken),L0i(l),cm(l)&&T6(l),s(()=>{!l.isDeclarationFile&&(ae.noUnusedLocals||ae.noUnusedParameters)&&t4t(R4t(l),(D,C,A)=>{!O8(D)&&I4t(C,!!(D.flags&33554432))&&Vs.add(A)}),l.isDeclarationFile||asi()}),ae.importsNotUsedAsValues===2&&!l.isDeclarationFile&&wc(l)&&k0i(l),cm(l)&&P4t(l),cb.length&&(L(cb,lsi),pu(cb)),db.length&&(L(db,csi),pu(db)),iC.length&&(L(iC,msi),pu(iC)),y5.length&&(L(y5,gsi),pu(y5)),m.flags|=1}}function O4t(l,m){try{return d=m,z0i(l)}finally{d=void 0}}function Hze(){for(const l of u)l();u=[]}function Kze(l){Hze();const m=s;s=D=>D(),P0i(l),s=m}function z0i(l){if(l){Hze();const m=Vs.getGlobalDiagnostics(),D=m.length;Kze(l);const C=Vs.getDiagnostics(l.fileName),A=Vs.getGlobalDiagnostics();if(A!==m){const w=Wr(m,A,bP);return Hi(w,C)}else if(D===0&&A.length>0)return Hi(A,C);return C}return L(t.getSourceFiles(),Kze),Vs.getDiagnostics()}function I0i(){return Hze(),Vs.getGlobalDiagnostics()}function R0i(l,m){if(l.flags&67108864)return[];const D=Vo();let C=!1;return A(),D.delete("this"),QNe(D);function A(){for(;l;){switch(UE(l)&&l.locals&&!pE(l)&&I(l.locals,m),l.kind){case 312:if(!wc(l))break;case 267:U(_u(l).exports,m&2623475);break;case 266:I(_u(l).exports,m&8);break;case 231:l.name&&w(l.symbol,m);case 263:case 264:C||I(_6(_u(l)),m&788968);break;case 218:l.name&&w(l.symbol,m);break}Ube(l)&&w(It,m),C=No(l),l=l.parent}I(Ie,m)}function w(Z,ce){if(xP(Z)&ce){const Fe=Z.escapedName;D.has(Fe)||D.set(Fe,Z)}}function I(Z,ce){ce&&Z.forEach(Fe=>{w(Fe,ce)})}function U(Z,ce){ce&&Z.forEach(Fe=>{!Sl(Fe,281)&&!Sl(Fe,280)&&Fe.escapedName!=="default"&&w(Fe,ce)})}}function O0i(l){return l.kind===80&&gB(l.parent)&&Za(l.parent)===l}function j4t(l){for(;l.parent.kind===166;)l=l.parent;return l.parent.kind===183}function j0i(l){for(;l.parent.kind===211;)l=l.parent;return l.parent.kind===233}function V4t(l,m){let D,C=Yd(l);for(;C&&!(D=m(C));)C=Yd(C);return D}function V0i(l){return!!Tn(l,m=>hc(m)&&H4(m.body)||ko(m)?!0:mr(m)||$0(m)?"quit":!1)}function Wze(l,m){return!!V4t(l,D=>D===m)}function H0i(l){for(;l.parent.kind===166;)l=l.parent;if(l.parent.kind===271)return l.parent.moduleReference===l?l.parent:void 0;if(l.parent.kind===277)return l.parent.expression===l?l.parent:void 0}function r_e(l){return H0i(l)!==void 0}function K0i(l){switch(Xl(l.parent.parent)){case 1:case 3:return Dm(l.parent);case 4:case 2:case 5:return _u(l.parent.parent)}}function W0i(l){let m=l.parent;for(;vf(m);)l=m,m=m.parent;if(m&&m.kind===205&&m.qualifier===l)return m}function G0i(l){if(l.expression.kind===110){const m=tf(l,!1,!1);if(Co(m)){const D=eft(m);if(D){const C=MC(D,void 0),A=ift(D,C);return A&&!nt(A)}}}}function H4t(l){if(X3(l))return Dm(l.parent);if(Qn(l)&&l.parent.kind===211&&l.parent===l.parent.parent.left&&!ea(l)&&!Rv(l)&&!G0i(l.parent)){const m=K0i(l);if(m)return m}if(l.parent.kind===277&&ec(l)){const m=R0(l,2998271,!0);if(m&&m!==Xt)return m}else if(sm(l)&&r_e(l)){const m=Fv(l,271);return H.assert(m!==void 0),aF(l,!0)}if(sm(l)){const m=W0i(l);if(m){Ar(m);const D=ar(l).resolvedSymbol;return D===Xt?void 0:D}}for(;Mye(l);)l=l.parent;if(j0i(l)){let m=0;l.parent.kind===233?(m=q_(l)?788968:111551,Jj(l.parent)&&(m|=111551)):m=1920,m|=2097152;const D=ec(l)?R0(l,m,!0):void 0;if(D)return D}if(l.parent.kind===348)return Tj(l.parent);if(l.parent.kind===168&&l.parent.parent.kind===352){H.assert(!Qn(l));const m=oye(l.parent);return m&&m.symbol}if(Z_(l)){if(Ql(l))return;const m=Tn(l,dg(o7,QP,Rv)),D=m?901119:111551;if(l.kind===80){if($8(l)&&X9(l)){const A=wEe(l.parent);return A===Xt?void 0:A}const C=R0(l,D,!0,!0,kv(l));if(!C&&m){const A=Tn(l,dg(mr,xh));if(A)return Fie(l,!0,_u(A))}if(C&&m){const A=h7(l);if(A&&J2(A)&&A===C.valueDeclaration)return R0(l,D,!0,!0,zn(A))||C}return C}else{if(ea(l))return NEe(l);if(l.kind===211||l.kind===166){const C=ar(l);return C.resolvedSymbol?C.resolvedSymbol:(l.kind===211?(TEe(l,0),C.resolvedSymbol||(C.resolvedSymbol=K4t(Rc(l.expression),j5(l.name)))):Bft(l,0),!C.resolvedSymbol&&m&&vf(l)?Fie(l):C.resolvedSymbol)}else if(Rv(l))return Fie(l)}}else if(j4t(l)){const m=l.parent.kind===183?788968:1920,D=R0(l,m,!1,!0);return D&&D!==Xt?D:Tge(l)}if(l.parent.kind===182)return R0(l,1)}function K4t(l,m){const D=YNe(l,m);if(D.length&&l.members){const C=Sge(Ag(l).members);if(D===kh(l))return C;if(C){const A=Ur(C),w=qi(D,U=>U.declaration),I=Vt(w,$s).join(",");if(A.filteredIndexSymbolCache||(A.filteredIndexSymbolCache=new Map),A.filteredIndexSymbolCache.has(I))return A.filteredIndexSymbolCache.get(I);{const U=Hs(131072,"__index");return U.declarations=qi(D,Z=>Z.declaration),U.parent=l.aliasSymbol?l.aliasSymbol:l.symbol?l.symbol:Yp(U.declarations[0].parent),A.filteredIndexSymbolCache.set(I,U),U}}}}function Fie(l,m,D){if(sm(l)){let I=R0(l,901119,m,!0,kv(l));if(!I&&at(l)&&D&&(I=Ks(kf($f(D),l.escapedText,901119))),I)return I}const C=at(l)?D:Fie(l.left,m,D),A=at(l)?l.escapedText:l.right.escapedText;if(C){const w=C.flags&111551&&qo(Wn(C),"prototype"),I=w?Wn(w):X0(C);return qo(I,A)}}function Yp(l,m){if(la(l))return wc(l)?Ks(l.symbol):void 0;const{parent:D}=l,C=D.parent;if(!(l.flags&67108864)){if(Aet(l)){const A=_u(D);return r7(l.parent)&&l.parent.propertyName===l?PMe(A):A}else if(Nj(l))return _u(D.parent);if(l.kind===80){if(r_e(l))return H4t(l);if(D.kind===208&&C.kind===206&&l===D.propertyName){const A=tS(C),w=qo(A,l.escapedText);if(w)return w}else if($P(D)&&D.name===l)return D.keywordToken===105&&fu(l)==="target"?oze(D).symbol:D.keywordToken===102&&fu(l)==="meta"?Zdt().members.get("meta"):void 0}switch(l.kind){case 80:case 81:case 211:case 166:if(!g7(l))return H4t(l);case 110:const A=tf(l,!1,!1);if(Co(A)){const U=dp(A);if(U.thisParameter)return U.thisParameter}if(Eq(l))return ya(l).symbol;case 197:return Vge(l).symbol;case 108:return ya(l).symbol;case 137:const w=l.parent;return w&&w.kind===176?w.parent.symbol:void 0;case 11:case 15:if(bv(l.parent.parent)&&XN(l.parent.parent)===l||(l.parent.kind===272||l.parent.kind===278)&&l.parent.moduleSpecifier===l||Qn(l)&&p1(ae)!==100&&xf(l.parent,!1)||dm(l.parent)||Mv(l.parent)&&zx(l.parent.parent)&&l.parent.parent.argument===l.parent)return Kh(l,l,m);if(Mo(D)&&rk(D)&&D.arguments[1]===l)return _u(D);case 9:const I=U0(D)?D.argumentExpression===l?b1(D.expression):void 0:Mv(D)&&I7(C)?Ar(C.objectType):void 0;return I&&qo(I,Al(l.text));case 90:case 100:case 39:case 86:return Dm(l.parent);case 205:return zx(l)?Yp(l.argument.literal,m):void 0;case 95:return tc(l.parent)?H.checkDefined(l.parent.symbol):void 0;case 102:case 105:return $P(l.parent)?dmt(l.parent).symbol:void 0;case 104:if(Xn(l.parent)){const U=b1(l.parent.right),Z=gze(U);return(Z==null?void 0:Z.symbol)??U.symbol}return;case 236:return ya(l).symbol;case 295:if($8(l)&&X9(l)){const U=wEe(l.parent);return U===Xt?void 0:U}default:return}}}function J0i(l){if(at(l)&&Iu(l.parent)&&l.parent.name===l){const m=j5(l),D=b1(l.parent.expression),C=D.flags&1048576?D.types:[D];return ju(C,A=>ti(kh(A),w=>nT(m,w.keyType)))}}function $0i(l){if(l&&l.kind===304)return R0(l.name,2208703)}function U0i(l){return eh(l)?l.parent.parent.moduleSpecifier?cC(l.parent.parent,l):R0(l.propertyName||l.name,2998271):R0(l,2998271)}function tS(l){if(la(l)&&!wc(l)||l.flags&67108864)return Ot;const m=lle(l),D=m&&b4(_u(m.class));if(q_(l)){const C=Ar(l);return D?xm(C,D.thisType):C}if(Z_(l))return W4t(l);if(D&&!m.isImplements){const C=Ki(Zc(D));return C?xm(C,D.thisType):Ot}if(gB(l)){const C=_u(l);return X0(C)}if(O0i(l)){const C=Yp(l);return C?X0(C):Ot}if(js(l))return gD(l,!0,0)||Ot;if(Q1(l)){const C=_u(l);return C?Wn(C):Ot}if(Aet(l)){const C=Yp(l);return C?Wn(C):Ot}if(So(l))return gD(l.parent,!0,0)||Ot;if(r_e(l)){const C=Yp(l);if(C){const A=X0(C);return Nt(A)?Wn(C):A}}return $P(l.parent)&&l.parent.keywordToken===l.kind?dmt(l.parent):Ot}function a_e(l){if(H.assert(l.kind===210||l.kind===209),l.parent.kind===250){const A=Cie(l.parent);return LF(l,A||Ot)}if(l.parent.kind===226){const A=b1(l.parent.right);return LF(l,A||Ot)}if(l.parent.kind===303){const A=Po(l.parent.parent,ys),w=a_e(A)||Ot,I=j8(A.properties,l.parent);return Amt(A,w,I)}const m=Po(l.parent,Dh),D=a_e(m)||Ot,C=G5(65,D,te,l.parent)||Ot;return Smt(m,D,m.elements.indexOf(l),C)}function q0i(l){const m=a_e(Po(l.parent.parent,KN));return m&&qo(m,l.escapedText)}function W4t(l){return gP(l)&&(l=l.parent),Jh(b1(l))}function G4t(l){const m=Dm(l.parent);return No(l)?Wn(m):X0(m)}function J4t(l){const m=l.name;switch(m.kind){case 80:return df(fu(m));case 9:case 11:return df(m.text);case 167:const D=F3(m);return u1(D,12288)?D:ct;default:return H.fail("Unsupported property name.")}}function Gze(l){l=Gh(l);const m=Vo(n0(l)),D=go(l,0).length?Mn:go(l,1).length?ba:void 0;return D&&L(n0(D),C=>{m.has(C.escapedName)||m.set(C.escapedName,C)}),Ab(m)}function o_e(l){return go(l,0).length!==0||go(l,1).length!==0}function $4t(l){const m=Z0i(l);return m?ju(m,$4t):[l]}function Z0i(l){if(Gl(l)&6)return qi(Ur(l).containingType.types,m=>qo(m,l.escapedName));if(l.flags&33554432){const{links:{leftSpread:m,rightSpread:D,syntheticOrigin:C}}=l;return m?[m,D]:C?[C]:Hy(Y0i(l))}}function Y0i(l){let m,D=l;for(;D=Ur(D).target;)m=D;return m}function Q0i(l){if(al(l))return!1;const m=Ua(l,at);if(!m)return!1;const D=m.parent;return D?!((Iu(D)||Jc(D))&&D.name===m)&&VW(m)===It:!1}function X0i(l){let m=Kh(l.parent,l);if(!m||$N(m))return!0;const D=bb(m);m=_m(m);const C=Ur(m);return C.exportsSomeValue===void 0&&(C.exportsSomeValue=D?!!(m.flags&111551):h1(x3(m),A)),C.exportsSomeValue;function A(w){return w=yc(w),w&&!!(O1(w)&111551)}}function eli(l){return QO(l.parent)&&l===l.parent.name}function tli(l,m){var D;const C=Ua(l,at);if(C){let A=VW(C,eli(C));if(A){if(A.flags&1048576){const I=Ks(A.exportSymbol);if(!m&&I.flags&944&&!(I.flags&3))return;A=I}const w=cf(A);if(w){if(w.flags&512&&((D=w.valueDeclaration)==null?void 0:D.kind)===312){const I=w.valueDeclaration,U=zn(C);return I!==U?void 0:I}return Tn(C.parent,I=>QO(I)&&_u(I)===w)}}}}function ili(l){const m=Jke(l);if(m)return m;const D=Ua(l,at);if(D){const C=pli(D);if(hC(C,111551)&&!_4(C,111551))return rp(C)}}function nli(l){return l.valueDeclaration&&js(l.valueDeclaration)&&S8(l.valueDeclaration).parent.kind===299}function U4t(l){if(l.flags&418&&l.valueDeclaration&&!la(l.valueDeclaration)){const m=Ur(l);if(m.isDeclarationWithCollidingName===void 0){const D=YE(l.valueDeclaration);if(Abe(D)||nli(l)){const C=ar(l.valueDeclaration);if(uc(D.parent,l.escapedName,111551,void 0,void 0,!1))m.isDeclarationWithCollidingName=!0;else if(C.flags&16384){const A=C.flags&32768,w=Tx(D,!1),I=D.kind===241&&Tx(D.parent,!1);m.isDeclarationWithCollidingName=!Pbe(D)&&(!A||!w&&!I)}else m.isDeclarationWithCollidingName=!1}}return m.isDeclarationWithCollidingName}return!1}function uli(l){if(!al(l)){const m=Ua(l,at);if(m){const D=VW(m);if(D&&U4t(D))return D.valueDeclaration}}}function rli(l){const m=Ua(l,Q1);if(m){const D=_u(m);if(D)return U4t(D)}return!1}function q4t(l){switch(H.assert(Ut),l.kind){case 271:return s_e(_u(l));case 273:case 274:case 276:case 281:const m=_u(l);return!!m&&s_e(m,!0);case 278:const D=l.exportClause;return!!D&&(u_(D)||Oe(D.elements,q4t));case 277:return l.expression&&l.expression.kind===80?s_e(_u(l)):!0}return!1}function ali(l){const m=Ua(l,E1);return m===void 0||m.parent.kind!==312||!U8(m)?!1:s_e(_u(m))&&m.moduleReference&&!Ql(m.moduleReference)}function s_e(l,m){if(!l)return!1;const D=sp(md(l));return D===Xt?!m||!_4(l):!!(O1(l,m,!0)&111551)&&(fk(ae)||!OW(D))}function OW(l){return pze(l)||!!l.constEnumOnlyModule}function l_e(l,m){if(H.assert(Ut),sC(l)){const D=_u(l),C=D&&Ur(D);if(C!=null&&C.referenced)return!0;const A=Ur(D).aliasTarget;if(A&&Eh(l)&32&&O1(A)&111551&&(fk(ae)||!OW(A)))return!0}return m?!!ao(l,D=>l_e(D,m)):!1}function Z4t(l){if(H4(l.body)){if(Lx(l)||e5(l))return!1;const m=_u(l),D=wb(m);return D.length>1||D.length===1&&D[0].declaration!==l}return!1}function Y4t(l){return!!fe&&!uW(l)&&!Eg(l)&&!!l.initializer&&!Yu(l,31)}function oli(l){return fe&&uW(l)&&!l.initializer&&Yu(l,31)}function sli(l){const m=Ua(l,ed);if(!m)return!1;const D=_u(m);return!D||!(D.flags&16)?!1:!!h1($f(D),C=>C.flags&111551&&EZ(C.valueDeclaration))}function lli(l){const m=Ua(l,ed);if(!m)return _t;const D=_u(m);return D&&n0(Wn(D))||_t}function DT(l){var m;const D=l.id||0;return D<0||D>=tC.length?0:((m=tC[D])==null?void 0:m.flags)||0}function jW(l){return w4t(l.parent),ar(l).enumMemberValue}function Q4t(l){switch(l.kind){case 306:case 211:case 212:return!0}return!1}function Jze(l){if(l.kind===306)return jW(l);const m=ar(l).resolvedSymbol;if(m&&m.flags&8){const D=m.valueDeclaration;if(b2(D.parent))return jW(D)}}function $ze(l){return!!(l.flags&524288)&&go(l,0).length>0}function cli(l,m){var D;const C=Ua(l,sm);if(!C||m&&(m=Ua(m),!m))return 0;let A=!1;if(vf(C)){const ce=R0(hm(C),111551,!0,!0,m);A=!!((D=ce==null?void 0:ce.declarations)!=null&&D.every(_2))}const w=R0(C,111551,!0,!0,m),I=w&&w.flags&2097152?md(w):w;A||(A=!!(w&&_4(w,111551)));const U=R0(C,788968,!0,!1,m);if(I&&I===U){const ce=sPe(!1);if(ce&&I===ce)return 9;const Fe=Wn(I);if(Fe&&Or(Fe))return A?10:1}if(!U)return A?11:0;const Z=X0(U);return Nt(Z)?A?11:0:Z.flags&3?11:u1(Z,245760)?2:u1(Z,528)?6:u1(Z,296)?3:u1(Z,2112)?4:u1(Z,402653316)?5:xs(Z)?7:u1(Z,12288)?8:$ze(Z)?10:A4(Z)?7:11}function dli(l,m,D,C,A){const w=Ua(l,Gbe);if(!w)return q.createToken(133);const I=_u(w);let U=I&&!(I.flags&133120)?Ib(Wn(I)):Ot;return U.flags&8192&&U.symbol===I&&(D|=1048576),A&&(U=S6(U)),Yt.typeToTypeNode(U,m,D|1024,C)}function hli(l,m,D,C){const A=Ua(l,Co);if(!A)return q.createToken(133);const w=dp(A);return Yt.typeToTypeNode(Zs(w),m,D|1024,C)}function fli(l,m,D,C){const A=Ua(l,Wt);if(!A)return q.createToken(133);const w=vm(W4t(A));return Yt.typeToTypeNode(w,m,D|1024,C)}function mli(l){return Ie.has(Al(l))}function VW(l,m){const D=ar(l).resolvedSymbol;if(D)return D;let C=l;if(m){const A=l.parent;Q1(A)&&l===A.name&&(C=dF(A))}return uc(C,l.escapedText,3257279,void 0,void 0,!0)}function pli(l){const m=ar(l).resolvedSymbol;return m&&m!==Xt?m:uc(l,l.escapedText,3257279,void 0,void 0,!0,void 0,void 0)}function gli(l){if(!al(l)){const m=Ua(l,at);if(m){const D=VW(m);if(D)return sp(D).valueDeclaration}}}function Eli(l){if(!al(l)){const m=Ua(l,at);if(m){const D=VW(m);if(D)return ti(sp(D).declarations,C=>{switch(C.kind){case 260:case 169:case 208:case 172:case 303:case 304:case 306:case 210:case 262:case 218:case 219:case 263:case 231:case 266:case 174:case 177:case 178:case 267:return!0}return!1})}}}function _li(l){return uq(l)||ua(l)&&m_e(l)?Pb(Wn(_u(l))):!1}function Dli(l,m,D){const C=l.flags&1056?Yt.symbolToExpression(l.symbol,111551,m,void 0,D):l===du?q.createTrue():l===Ui&&q.createFalse();if(C)return C;const A=l.value;return typeof A=="object"?q.createBigIntLiteral(A):typeof A=="number"?q.createNumericLiteral(A):q.createStringLiteral(A)}function xli(l,m){const D=Wn(_u(l));return Dli(D,l,m)}function X4t(l){return l?(uC(l),zn(l).localJsxFactory||k5):k5}function Uze(l){if(l){const m=zn(l);if(m){if(m.localJsxFragmentFactory)return m.localJsxFragmentFactory;const D=m.pragmas.get("jsxfrag"),C=Ha(D)?D[0]:D;if(C)return m.localJsxFragmentFactory=G7(C.arguments.factory,Ce),m.localJsxFragmentFactory}}if(ae.jsxFragmentFactory)return G7(ae.jsxFragmentFactory,Ce)}function vli(){const l=t.getResolvedTypeReferenceDirectives();let m;return l&&(m=new Map,l.forEach(({resolvedTypeReferenceDirective:Z},ce,Fe)=>{if(!(Z!=null&&Z.resolvedFileName))return;const Te=t.getSourceFile(Z.resolvedFileName);Te&&U(Te,ce,Fe)})),{getReferencedExportContainer:tli,getReferencedImportDeclaration:ili,getReferencedDeclarationWithCollidingName:uli,isDeclarationWithCollidingName:rli,isValueAliasDeclaration:Z=>{const ce=Ua(Z);return ce&&Ut?q4t(ce):!0},hasGlobalName:mli,isReferencedAliasDeclaration:(Z,ce)=>{const Fe=Ua(Z);return Fe&&Ut?l_e(Fe,ce):!0},getNodeCheckFlags:Z=>{const ce=Ua(Z);return ce?DT(ce):0},isTopLevelValueImportEqualsWithEntityName:ali,isDeclarationVisible:pD,isImplementationOfOverload:Z4t,isRequiredInitializedParameter:Y4t,isOptionalUninitializedParameterProperty:oli,isExpandoFunctionDeclaration:sli,getPropertiesOfContainerFunction:lli,createTypeOfDeclaration:dli,createReturnTypeOfSignatureDeclaration:hli,createTypeOfExpression:fli,createLiteralConstValue:xli,isSymbolAccessible:yu,isEntityNameVisible:Uf,getConstantValue:Z=>{const ce=Ua(Z,Q4t);return ce?Jze(ce):void 0},collectLinkedAliases:qw,getReferencedValueDeclaration:gli,getReferencedValueDeclarations:Eli,getTypeReferenceSerializationKind:cli,isOptionalParameter:uW,moduleExportsSomeValue:X0i,isArgumentsLocalBinding:Q0i,getExternalModuleFileFromDeclaration:Z=>{const ce=Ua(Z,zbe);return ce&&qze(ce)},getTypeReferenceDirectivesForEntityName:A,getTypeReferenceDirectivesForSymbol:w,isLiteralConstDeclaration:_li,isLateBound:Z=>{const ce=Ua(Z,Q1),Fe=ce&&_u(ce);return!!(Fe&&Gl(Fe)&4096)},getJsxFactoryEntity:X4t,getJsxFragmentFactoryEntity:Uze,getAllAccessorDeclarations(Z){Z=Ua(Z,NU);const ce=Z.kind===178?177:178,Fe=Sl(_u(Z),ce),Te=Fe&&Fe.posD3(Z,Z,void 0),isBindingCapturedByNode:(Z,ce)=>{const Fe=Ua(Z),Te=Ua(ce);return!!Fe&&!!Te&&(ua(Te)||js(Te))&&Uni(Fe,Te)},getDeclarationStatementsForSourceFile:(Z,ce,Fe,Te)=>{const $e=Ua(Z);H.assert($e&&$e.kind===312,"Non-sourcefile node passed into getDeclarationsForSourceFile");const ut=_u(Z);return ut?ut.exports?Yt.symbolTableToDeclarationStatements(ut.exports,Z,ce,Fe,Te):[]:Z.locals?Yt.symbolTableToDeclarationStatements(Z.locals,Z,ce,Fe,Te):[]},isImportRequiredByAugmentation:D,tryFindAmbientModule:Z=>{const ce=Ua(Z),Fe=ce&&t0(ce)?ce.text:void 0;return Fe!==void 0?kge(Fe,!0):void 0}};function D(Z){const ce=zn(Z);if(!ce.symbol)return!1;const Fe=qze(Z);if(!Fe||Fe===ce)return!1;const Te=x3(ce.symbol);for(const $e of ga(Te.values()))if($e.mergeId){const ut=Ks($e);if(ut.declarations){for(const zt of ut.declarations)if(zn(zt)===Fe)return!0}}return!1}function C(Z){return Z.parent&&Z.parent.kind===233&&Z.parent.parent&&Z.parent.parent.kind===298}function A(Z){if(!m)return;let ce;Z.parent.kind===167?ce=1160127:(ce=790504,(Z.kind===80&&ck(Z)||Z.kind===211&&!C(Z))&&(ce=1160127));const Fe=R0(Z,ce,!0);return Fe&&Fe!==Xt?w(Fe,ce):void 0}function w(Z,ce){if(!m||!I(Z))return;let Fe;for(const Te of Z.declarations)if(Te.symbol&&Te.symbol.flags&ce){const $e=zn(Te),ut=m.get($e.path);if(ut)(Fe||(Fe=[])).push(ut);else return}return Fe}function I(Z){if(!Z.declarations)return!1;let ce=Z;for(;;){const Fe=cf(ce);if(Fe)ce=Fe;else break}if(ce.valueDeclaration&&ce.valueDeclaration.kind===312&&ce.flags&512)return!1;for(const Fe of Z.declarations){const Te=zn(Fe);if(m.has(Te.path))return!0}return!1}function U(Z,ce,Fe){if(!m.has(Z.path)){m.set(Z.path,[ce,Fe]);for(const{fileName:Te}of Z.referencedFiles){const $e=bQ(Te,Z.fileName),ut=t.getSourceFile($e);ut&&U(ut,ce,Fe||Z.impliedNodeFormat)}}}}function qze(l){const m=l.kind===267?ur(l.name,us):Y8(l),D=D3(m,m,void 0);if(D)return Sl(D,312)}function Cli(){for(const m of t.getSourceFiles())SAe(m,ae);m0=new Map;let l;for(const m of t.getSourceFiles())if(!m.redirectInfo){if(!cm(m)){const D=m.locals.get("globalThis");if(D!=null&&D.declarations)for(const C of D.declarations)Vs.add(Su(C,F.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"));mE(Ie,m.locals)}m.jsGlobalAugmentations&&mE(Ie,m.jsGlobalAugmentations),m.patternAmbientModules&&m.patternAmbientModules.length&&(h4=Hi(h4,m.patternAmbientModules)),m.moduleAugmentations.length&&(l||(l=[])).push(m.moduleAugmentations),m.symbol&&m.symbol.globalExports&&m.symbol.globalExports.forEach((C,A)=>{Ie.has(A)||Ie.set(A,C)})}if(l)for(const m of l)for(const D of m)Yg(D.parent)&&iF(D);if(zw(Ie,Pw,F.Declaration_name_conflicts_with_built_in_global_identifier_0),Ur(st).type=we,Ur(It).type=zc("IArguments",0,!0),Ur(Xt).type=Ot,Ur(St).type=D4(16,St),Fo=zc("Array",1,!0),He=zc("Object",0,!0),di=zc("Function",0,!0),Mn=Be&&zc("CallableFunction",0,!0)||di,ba=Be&&zc("NewableFunction",0,!0)||di,nc=zc("String",0,!0),fc=zc("Number",0,!0),Cl=zc("Boolean",0,!0),Tl=zc("RegExp",0,!0),ql=V1(me),Nc=V1(ni),Nc===Ko&&(Nc=Ol(void 0,se,_t,_t,_t)),To=i1t("ReadonlyArray",1)||Fo,ip=To?oW(To,[me]):ql,bc=i1t("ThisType",1),l)for(const m of l)for(const D of m)Yg(D.parent)||iF(D);m0.forEach(({firstFile:m,secondFile:D,conflictingSymbols:C})=>{if(C.size<8)C.forEach(({isBlockScoped:A,firstFileLocations:w,secondFileLocations:I},U)=>{const Z=A?F.Cannot_redeclare_block_scoped_variable_0:F.Duplicate_identifier_0;for(const ce of w)p3(ce,Z,U,I);for(const ce of I)p3(ce,Z,U,w)});else{const A=ga(C.keys()).join(", ");Vs.add(Es(Su(m,F.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,A),Su(D,F.Conflicts_are_in_this_file))),Vs.add(Es(Su(D,F.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,A),Su(m,F.Conflicts_are_in_this_file)))}}),m0=void 0}function rd(l,m){if((p&m)!==m&&ae.importHelpers){const D=zn(l);if(s7(D,ae)&&!(l.flags&33554432)){const C=yli(D,l);if(C!==Xt){const A=m&~p;for(let w=1;w<=33554432;w<<=1)if(A&w)for(const I of bli(w)){if(f.has(I))continue;f.add(I);const U=yc(kf(x3(C),Al(I),111551));U?w&524288?Oe(wb(U),Z=>Cm(Z)>3)||pt(l,F.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Hx,I,4):w&1048576?Oe(wb(U),Z=>Cm(Z)>4)||pt(l,F.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Hx,I,5):w&1024&&(Oe(wb(U),Z=>Cm(Z)>2)||pt(l,F.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Hx,I,3)):pt(l,F.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,Hx,I)}}p|=m}}}function bli(l){switch(l){case 1:return["__extends"];case 2:return["__assign"];case 4:return["__rest"];case 8:return ve?["__decorate"]:["__esDecorate","__runInitializers"];case 16:return["__metadata"];case 32:return["__param"];case 64:return["__awaiter"];case 128:return["__generator"];case 256:return["__values"];case 512:return["__read"];case 1024:return["__spreadArray"];case 2048:return["__await"];case 4096:return["__asyncGenerator"];case 8192:return["__asyncDelegator"];case 16384:return["__asyncValues"];case 32768:return["__exportStar"];case 65536:return["__importStar"];case 131072:return["__importDefault"];case 262144:return["__makeTemplateObject"];case 524288:return["__classPrivateFieldGet"];case 1048576:return["__classPrivateFieldSet"];case 2097152:return["__classPrivateFieldIn"];case 4194304:return["__createBinding"];case 8388608:return["__setFunctionName"];case 16777216:return["__propKey"];case 33554432:return["__addDisposableResource","__disposeResources"];default:return H.fail("Unrecognized helper")}}function yli(l,m){return E||(E=mD(l,Hx,F.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,m)||Xt),E}function S3(l){const m=Ali(l)||kli(l);if(m!==void 0)return m;if(io(l)&&L2(l))return r1(l,F.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);const D=Jl(l)?l.declarationList.flags&7:0;let C,A,w,I,U,Z=0,ce=!1,Fe=!1;for(const Te of l.modifiers)if(g1(Te)){if(gq(ve,l,l.parent,l.parent.parent)){if(ve&&(l.kind===177||l.kind===178)){const $e=dk(l.parent.members,l);if(o4($e.firstAccessor)&&l===$e.secondAccessor)return r1(l,F.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return l.kind===174&&!H4(l.body)?r1(l,F.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):r1(l,F.Decorators_are_not_valid_here);if(Z&-34849)return Zi(Te,F.Decorators_are_not_valid_here);if(Fe&&Z&98303){H.assertIsDefined(U);const $e=zn(Te);return Kb($e)?!1:(Es(pt(Te,F.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),Su(U,F.Decorator_used_before_export_here)),!0)}Z|=32768,Z&98303?Z&32&&(ce=!0):Fe=!0,U??(U=Te)}else{if(Te.kind!==148){if(l.kind===171||l.kind===173)return Zi(Te,F._0_modifier_cannot_appear_on_a_type_member,Uo(Te.kind));if(l.kind===181&&(Te.kind!==126||!mr(l.parent)))return Zi(Te,F._0_modifier_cannot_appear_on_an_index_signature,Uo(Te.kind))}if(Te.kind!==103&&Te.kind!==147&&Te.kind!==87&&l.kind===168)return Zi(Te,F._0_modifier_cannot_appear_on_a_type_parameter,Uo(Te.kind));switch(Te.kind){case 87:if(l.kind!==266&&l.kind!==168)return Zi(l,F.A_class_member_cannot_have_the_0_keyword,Uo(87));const $e=l.parent;if(l.kind===168&&!($0($e)||mr($e)||u3($e)||WP($e)||CB($e)||FV($e)||n3($e)))return Zi(Te,F._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class,Uo(Te.kind));break;case 164:if(Z&16)return Zi(Te,F._0_modifier_already_seen,"override");if(Z&128)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(Z&8)return Zi(Te,F._0_modifier_must_precede_1_modifier,"override","readonly");if(Z&512)return Zi(Te,F._0_modifier_must_precede_1_modifier,"override","accessor");if(Z&1024)return Zi(Te,F._0_modifier_must_precede_1_modifier,"override","async");Z|=16,I=Te;break;case 125:case 124:case 123:const ut=C3(_7(Te.kind));if(Z&7)return Zi(Te,F.Accessibility_modifier_already_seen);if(Z&16)return Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"override");if(Z&256)return Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"static");if(Z&512)return Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"accessor");if(Z&8)return Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"readonly");if(Z&1024)return Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"async");if(l.parent.kind===268||l.parent.kind===312)return Zi(Te,F._0_modifier_cannot_appear_on_a_module_or_namespace_element,ut);if(Z&64)return Te.kind===123?Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,ut,"abstract"):Zi(Te,F._0_modifier_must_precede_1_modifier,ut,"abstract");if(ph(l))return Zi(Te,F.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);Z|=_7(Te.kind);break;case 126:if(Z&256)return Zi(Te,F._0_modifier_already_seen,"static");if(Z&8)return Zi(Te,F._0_modifier_must_precede_1_modifier,"static","readonly");if(Z&1024)return Zi(Te,F._0_modifier_must_precede_1_modifier,"static","async");if(Z&512)return Zi(Te,F._0_modifier_must_precede_1_modifier,"static","accessor");if(l.parent.kind===268||l.parent.kind===312)return Zi(Te,F._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(l.kind===169)return Zi(Te,F._0_modifier_cannot_appear_on_a_parameter,"static");if(Z&64)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(Z&16)return Zi(Te,F._0_modifier_must_precede_1_modifier,"static","override");Z|=256,C=Te;break;case 129:if(Z&512)return Zi(Te,F._0_modifier_already_seen,"accessor");if(Z&8)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"accessor","readonly");if(Z&128)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"accessor","declare");if(l.kind!==172)return Zi(Te,F.accessor_modifier_can_only_appear_on_a_property_declaration);Z|=512;break;case 148:if(Z&8)return Zi(Te,F._0_modifier_already_seen,"readonly");if(l.kind!==172&&l.kind!==171&&l.kind!==181&&l.kind!==169)return Zi(Te,F.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);if(Z&512)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"readonly","accessor");Z|=8;break;case 95:if(ae.verbatimModuleSyntax&&!(l.flags&33554432)&&l.kind!==265&&l.kind!==264&&l.kind!==267&&l.parent.kind===312&&(ne===1||zn(l).impliedNodeFormat===1))return Zi(Te,F.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(Z&32)return Zi(Te,F._0_modifier_already_seen,"export");if(Z&128)return Zi(Te,F._0_modifier_must_precede_1_modifier,"export","declare");if(Z&64)return Zi(Te,F._0_modifier_must_precede_1_modifier,"export","abstract");if(Z&1024)return Zi(Te,F._0_modifier_must_precede_1_modifier,"export","async");if(mr(l.parent))return Zi(Te,F._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(l.kind===169)return Zi(Te,F._0_modifier_cannot_appear_on_a_parameter,"export");if(D===4)return Zi(Te,F._0_modifier_cannot_appear_on_a_using_declaration,"export");if(D===6)return Zi(Te,F._0_modifier_cannot_appear_on_an_await_using_declaration,"export");Z|=32;break;case 90:const zt=l.parent.kind===312?l.parent:l.parent.parent;if(zt.kind===267&&!N1(zt))return Zi(Te,F.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(D===4)return Zi(Te,F._0_modifier_cannot_appear_on_a_using_declaration,"default");if(D===6)return Zi(Te,F._0_modifier_cannot_appear_on_an_await_using_declaration,"default");if(Z&32){if(ce)return Zi(U,F.Decorators_are_not_valid_here)}else return Zi(Te,F._0_modifier_must_precede_1_modifier,"export","default");Z|=2048;break;case 138:if(Z&128)return Zi(Te,F._0_modifier_already_seen,"declare");if(Z&1024)return Zi(Te,F._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(Z&16)return Zi(Te,F._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(mr(l.parent)&&!ko(l))return Zi(Te,F._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(l.kind===169)return Zi(Te,F._0_modifier_cannot_appear_on_a_parameter,"declare");if(D===4)return Zi(Te,F._0_modifier_cannot_appear_on_a_using_declaration,"declare");if(D===6)return Zi(Te,F._0_modifier_cannot_appear_on_an_await_using_declaration,"declare");if(l.parent.flags&33554432&&l.parent.kind===268)return Zi(Te,F.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(ph(l))return Zi(Te,F._0_modifier_cannot_be_used_with_a_private_identifier,"declare");if(Z&512)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"declare","accessor");Z|=128,A=Te;break;case 128:if(Z&64)return Zi(Te,F._0_modifier_already_seen,"abstract");if(l.kind!==263&&l.kind!==185){if(l.kind!==174&&l.kind!==172&&l.kind!==177&&l.kind!==178)return Zi(Te,F.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(!(l.parent.kind===263&&Yu(l.parent,64))){const dn=l.kind===172?F.Abstract_properties_can_only_appear_within_an_abstract_class:F.Abstract_methods_can_only_appear_within_an_abstract_class;return Zi(Te,dn)}if(Z&256)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(Z&2)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(Z&1024&&w)return Zi(w,F._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(Z&16)return Zi(Te,F._0_modifier_must_precede_1_modifier,"abstract","override");if(Z&512)return Zi(Te,F._0_modifier_must_precede_1_modifier,"abstract","accessor")}if(mh(l)&&l.name.kind===81)return Zi(Te,F._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");Z|=64;break;case 134:if(Z&1024)return Zi(Te,F._0_modifier_already_seen,"async");if(Z&128||l.parent.flags&33554432)return Zi(Te,F._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(l.kind===169)return Zi(Te,F._0_modifier_cannot_appear_on_a_parameter,"async");if(Z&64)return Zi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");Z|=1024,w=Te;break;case 103:case 147:const gi=Te.kind===103?8192:16384,Wi=Te.kind===103?"in":"out";if(l.kind!==168||!(xh(l.parent)||mr(l.parent)||jp(l.parent)))return Zi(Te,F._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias,Wi);if(Z&gi)return Zi(Te,F._0_modifier_already_seen,Wi);if(gi&8192&&Z&16384)return Zi(Te,F._0_modifier_must_precede_1_modifier,"in","out");Z|=gi;break}}return l.kind===176?Z&256?Zi(C,F._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):Z&16?Zi(I,F._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):Z&1024?Zi(w,F._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):!1:(l.kind===272||l.kind===271)&&Z&128?Zi(A,F.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):l.kind===169&&Z&31&&So(l.name)?Zi(l,F.A_parameter_property_may_not_be_declared_using_a_binding_pattern):l.kind===169&&Z&31&&l.dotDotDotToken?Zi(l,F.A_parameter_property_cannot_be_declared_using_a_rest_parameter):Z&1024?Bli(l,w):!1}function kli(l){if(!l.modifiers)return!1;const m=Fli(l);return m&&r1(m,F.Modifiers_cannot_appear_here)}function c_e(l,m){const D=Le(l.modifiers,Qo);return D&&D.kind!==m?D:void 0}function Fli(l){switch(l.kind){case 177:case 178:case 176:case 172:case 171:case 174:case 173:case 181:case 267:case 272:case 271:case 278:case 277:case 218:case 219:case 169:case 168:return;case 175:case 303:case 304:case 270:case 282:return Le(l.modifiers,Qo);default:if(l.parent.kind===268||l.parent.kind===312)return;switch(l.kind){case 262:return c_e(l,134);case 263:case 185:return c_e(l,128);case 231:case 264:case 265:return Le(l.modifiers,Qo);case 243:return l.declarationList.flags&4?c_e(l,135):Le(l.modifiers,Qo);case 266:return c_e(l,87);default:H.assertNever(l)}}}function Ali(l){const m=Sli(l);return m&&r1(m,F.Decorators_are_not_valid_here)}function Sli(l){return Hce(l)?Le(l.modifiers,g1):void 0}function Bli(l,m){switch(l.kind){case 174:case 262:case 218:case 219:return!1}return Zi(m,F._0_modifier_cannot_be_used_here,"async")}function iS(l,m=F.Trailing_comma_not_allowed){return l&&l.hasTrailingComma?Wb(l[0],l.end-1,1,m):!1}function ept(l,m){if(l&&l.length===0){const D=l.pos-1,C=gs(m.text,l.end)+1;return Wb(m,D,C-D,F.Type_parameter_list_cannot_be_empty)}return!1}function wli(l){let m=!1;const D=l.length;for(let C=0;C!!m.initializer||So(m.name)||$_(m))}function Lli(l){if(Ce>=3){const m=l.body&&po(l.body)&&Rce(l.body.statements);if(m){const D=Tli(l.parameters);if(S(D)){L(D,A=>{Es(pt(A,F.This_parameter_is_not_allowed_with_use_strict_directive),Su(m,F.use_strict_directive_used_here))});const C=D.map((A,w)=>w===0?Su(A,F.Non_simple_parameter_declared_here):Su(A,F.and_here));return Es(pt(m,F.use_strict_directive_cannot_be_used_with_non_simple_parameter_list),...C),!0}}}return!1}function d_e(l){const m=zn(l);return S3(l)||ept(l.typeParameters,m)||wli(l.parameters)||Pli(l,m)||$0(l)&&Lli(l)}function Nli(l){const m=zn(l);return Oli(l)||ept(l.typeParameters,m)}function Pli(l,m){if(!q0(l))return!1;l.typeParameters&&!(S(l.typeParameters)>1||l.typeParameters.hasTrailingComma||l.typeParameters[0].constraint)&&m&&jc(m.fileName,[".mts",".cts"])&&Zi(l.typeParameters[0],F.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);const{equalsGreaterThanToken:D}=l,C=s0(m,D.pos).line,A=s0(m,D.end).line;return C!==A&&Zi(D,F.Line_terminator_not_permitted_before_arrow)}function Mli(l){const m=l.parameters[0];if(l.parameters.length!==1)return Zi(m?m.name:l,F.An_index_signature_must_have_exactly_one_parameter);if(iS(l.parameters,F.An_index_signature_cannot_have_a_trailing_comma),m.dotDotDotToken)return Zi(m.dotDotDotToken,F.An_index_signature_cannot_have_a_rest_parameter);if(jq(m))return Zi(m.name,F.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(m.questionToken)return Zi(m.questionToken,F.An_index_signature_parameter_cannot_have_a_question_mark);if(m.initializer)return Zi(m.name,F.An_index_signature_parameter_cannot_have_an_initializer);if(!m.type)return Zi(m.name,F.An_index_signature_parameter_must_have_a_type_annotation);const D=Ar(m.type);return yE(D,C=>!!(C.flags&8576))||kz(D)?Zi(m.name,F.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):e4(D,Bge)?l.type?!1:Zi(l,F.An_index_signature_must_have_a_type_annotation):Zi(m.name,F.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function zli(l){return S3(l)||Mli(l)}function Ili(l,m){if(m&&m.length===0){const D=zn(l),C=m.pos-1,A=gs(D.text,m.end)+1;return Wb(D,C,A-C,F.Type_argument_list_cannot_be_empty)}return!1}function Aie(l,m){return iS(m)||Ili(l,m)}function Rli(l){return l.questionDotToken||l.flags&64?Zi(l.template,F.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function tpt(l){const m=l.types;if(iS(m))return!0;if(m&&m.length===0){const D=Uo(l.token);return Wb(l,m.pos,0,F._0_list_cannot_be_empty,D)}return Oe(m,ipt)}function ipt(l){return c5(l)&&KP(l.expression)&&l.typeArguments?Zi(l,F.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):Aie(l,l.typeArguments)}function Oli(l){let m=!1,D=!1;if(!S3(l)&&l.heritageClauses)for(const C of l.heritageClauses){if(C.token===96){if(m)return r1(C,F.extends_clause_already_seen);if(D)return r1(C,F.extends_clause_must_precede_implements_clause);if(C.types.length>1)return r1(C.types[1],F.Classes_can_only_extend_a_single_class);m=!0}else{if(H.assert(C.token===119),D)return r1(C,F.implements_clause_already_seen);D=!0}tpt(C)}}function jli(l){let m=!1;if(l.heritageClauses)for(const D of l.heritageClauses){if(D.token===96){if(m)return r1(D,F.extends_clause_already_seen);m=!0}else return H.assert(D.token===119),r1(D,F.Interface_declaration_cannot_have_implements_clause);tpt(D)}return!1}function h_e(l){if(l.kind!==167)return!1;const m=l;return m.expression.kind===226&&m.expression.operatorToken.kind===28?Zi(m.expression,F.A_comma_expression_is_not_allowed_in_a_computed_property_name):!1}function Zze(l){if(l.asteriskToken){if(H.assert(l.kind===262||l.kind===218||l.kind===174),l.flags&33554432)return Zi(l.asteriskToken,F.Generators_are_not_allowed_in_an_ambient_context);if(!l.body)return Zi(l.asteriskToken,F.An_overload_signature_cannot_be_declared_as_a_generator)}}function Yze(l,m){return!!l&&Zi(l,m)}function npt(l,m){return!!l&&Zi(l,m)}function Vli(l,m){const D=new Map;for(const C of l.properties){if(C.kind===305){if(m){const I=l0(C.expression);if(Dh(I)||ys(I))return Zi(C.expression,F.A_rest_element_cannot_contain_a_binding_pattern)}continue}const A=C.name;if(A.kind===167&&h_e(A),C.kind===304&&!m&&C.objectAssignmentInitializer&&Zi(C.equalsToken,F.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),A.kind===81&&Zi(A,F.Private_identifiers_are_not_allowed_outside_class_bodies),Hp(C)&&C.modifiers)for(const I of C.modifiers)Qo(I)&&(I.kind!==134||C.kind!==174)&&Zi(I,F._0_modifier_cannot_be_used_here,Hc(I));else if(LFe(C)&&C.modifiers)for(const I of C.modifiers)Qo(I)&&Zi(I,F._0_modifier_cannot_be_used_here,Hc(I));let w;switch(C.kind){case 304:case 303:npt(C.exclamationToken,F.A_definite_assignment_assertion_is_not_permitted_in_this_context),Yze(C.questionToken,F.An_object_member_cannot_be_declared_optional),A.kind===9&&eIe(A),w=4;break;case 174:w=8;break;case 177:w=1;break;case 178:w=2;break;default:H.assertNever(C,"Unexpected syntax kind:"+C.kind)}if(!m){const I=tIe(A);if(I===void 0)continue;const U=D.get(I);if(!U)D.set(I,w);else if(w&8&&U&8)Zi(A,F.Duplicate_identifier_0,Hc(A));else if(w&4&&U&4)Zi(A,F.An_object_literal_cannot_have_multiple_properties_with_the_same_name,Hc(A));else if(w&3&&U&3)if(U!==3&&w!==U)D.set(I,w|U);else return Zi(A,F.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);else return Zi(A,F.An_object_literal_cannot_have_property_and_accessor_with_the_same_name)}}}function Hli(l){Kli(l.tagName),Aie(l,l.typeArguments);const m=new Map;for(const D of l.attributes.properties){if(D.kind===293)continue;const{name:C,initializer:A}=D,w=MP(C);if(!m.get(w))m.set(w,!0);else return Zi(C,F.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(A&&A.kind===294&&!A.expression)return Zi(A,F.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}function Kli(l){if(Iu(l)&&gg(l.expression))return Zi(l.expression,F.JSX_property_access_expressions_cannot_include_JSX_namespace_names);if(gg(l)&&iZ(ae)&&!aB(l.namespace.escapedText))return Zi(l,F.React_components_cannot_include_JSX_namespace_names)}function Wli(l){if(l.expression&&eM(l.expression))return Zi(l.expression,F.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}function upt(l){if(SD(l))return!0;if(l.kind===250&&l.awaitModifier&&!(l.flags&65536)){const m=zn(l);if(fq(l)){if(!Kb(m))switch(s7(m,ae)||Vs.add(Su(l.awaitModifier,F.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)),ne){case 100:case 199:if(m.impliedNodeFormat===1){Vs.add(Su(l.awaitModifier,F.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 4:if(Ce>=4)break;default:Vs.add(Su(l.awaitModifier,F.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher));break}}else if(!Kb(m)){const D=Su(l.awaitModifier,F.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),C=Nm(l);if(C&&C.kind!==176){H.assert((kd(C)&2)===0,"Enclosing function should never be an async function.");const A=Su(C,F.Did_you_mean_to_mark_this_function_as_async);Es(D,A)}return Vs.add(D),!0}return!1}if(SV(l)&&!(l.flags&65536)&&at(l.initializer)&&l.initializer.escapedText==="async")return Zi(l.initializer,F.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(l.initializer.kind===261){const m=l.initializer;if(!Xze(m)){const D=m.declarations;if(!D.length)return!1;if(D.length>1){const A=l.kind===249?F.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:F.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return r1(m.declarations[1],A)}const C=D[0];if(C.initializer){const A=l.kind===249?F.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:F.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return Zi(C.name,A)}if(C.type){const A=l.kind===249?F.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:F.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return Zi(C,A)}}}return!1}function Gli(l){if(!(l.flags&33554432)&&l.parent.kind!==187&&l.parent.kind!==264){if(Ce<1)return Zi(l.name,F.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(Ce<2&&ea(l.name))return Zi(l.name,F.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(l.body===void 0&&!Yu(l,64))return Wb(l,l.end-1,1,F._0_expected,"{")}if(l.body){if(Yu(l,64))return Zi(l,F.An_abstract_accessor_cannot_have_an_implementation);if(l.parent.kind===187||l.parent.kind===264)return Zi(l.body,F.An_implementation_cannot_be_declared_in_ambient_contexts)}if(l.typeParameters)return Zi(l.name,F.An_accessor_cannot_have_type_parameters);if(!Jli(l))return Zi(l.name,l.kind===177?F.A_get_accessor_cannot_have_parameters:F.A_set_accessor_must_have_exactly_one_parameter);if(l.kind===178){if(l.type)return Zi(l.name,F.A_set_accessor_cannot_have_a_return_type_annotation);const m=H.checkDefined(hP(l),"Return value does not match parameter count assertion.");if(m.dotDotDotToken)return Zi(m.dotDotDotToken,F.A_set_accessor_cannot_have_rest_parameter);if(m.questionToken)return Zi(m.questionToken,F.A_set_accessor_cannot_have_an_optional_parameter);if(m.initializer)return Zi(l.name,F.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function Jli(l){return Qze(l)||l.parameters.length===(l.kind===177?0:1)}function Qze(l){if(l.parameters.length===(l.kind===177?1:2))return T2(l)}function $li(l){if(l.operator===158){if(l.type.kind!==155)return Zi(l.type,F._0_expected,Uo(155));let m=Lj(l.parent);if(Qn(m)&&kk(m)){const D=h7(m);D&&(m=eB(D)||D)}switch(m.kind){case 260:const D=m;if(D.name.kind!==80)return Zi(l,F.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!qN(D))return Zi(l,F.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(D.parent.flags&2))return Zi(m.name,F.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 172:if(!No(m)||!fP(m))return Zi(m.name,F.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 171:if(!Yu(m,8))return Zi(m.name,F.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return Zi(l,F.unique_symbol_types_are_not_allowed_here)}}else if(l.operator===148&&l.type.kind!==188&&l.type.kind!==189)return r1(l,F.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,Uo(155))}function Jz(l,m){if(EXt(l))return Zi(l,m)}function rpt(l){if(d_e(l))return!0;if(l.kind===174){if(l.parent.kind===210){if(l.modifiers&&!(l.modifiers.length===1&&Pn(l.modifiers).kind===134))return r1(l,F.Modifiers_cannot_appear_here);if(Yze(l.questionToken,F.An_object_member_cannot_be_declared_optional))return!0;if(npt(l.exclamationToken,F.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(l.body===void 0)return Wb(l,l.end-1,1,F._0_expected,"{")}if(Zze(l))return!0}if(mr(l.parent)){if(Ce<2&&ea(l.name))return Zi(l.name,F.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(l.flags&33554432)return Jz(l.name,F.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(l.kind===174&&!l.body)return Jz(l.name,F.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(l.parent.kind===264)return Jz(l.name,F.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(l.parent.kind===187)return Jz(l.name,F.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function Uli(l){let m=l;for(;m;){if(L8(m))return Zi(l,F.Jump_target_cannot_cross_function_boundary);switch(m.kind){case 256:if(l.label&&m.label.escapedText===l.label.escapedText)return l.kind===251&&!Tx(m.statement,!0)?Zi(l,F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1;break;case 255:if(l.kind===252&&!l.label)return!1;break;default:if(Tx(m,!1)&&!l.label)return!1;break}m=m.parent}if(l.label){const D=l.kind===252?F.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return Zi(l,D)}else{const D=l.kind===252?F.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:F.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return Zi(l,D)}}function qli(l){if(l.dotDotDotToken){const m=l.parent.elements;if(l!==Cr(m))return Zi(l,F.A_rest_element_must_be_last_in_a_destructuring_pattern);if(iS(m,F.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),l.propertyName)return Zi(l.name,F.A_rest_element_cannot_have_a_property_name)}if(l.dotDotDotToken&&l.initializer)return Wb(l,l.initializer.pos-1,1,F.A_rest_element_cannot_have_an_initializer)}function apt(l){return Pm(l)||l.kind===224&&l.operator===41&&l.operand.kind===9}function Zli(l){return l.kind===10||l.kind===224&&l.operator===41&&l.operand.kind===10}function Yli(l){if((Iu(l)||U0(l)&&apt(l.argumentExpression))&&ec(l.expression))return!!(Rc(l).flags&1056)}function opt(l){const m=l.initializer;if(m){const D=!(apt(m)||Yli(m)||m.kind===112||m.kind===97||Zli(m));if((uq(l)||ua(l)&&m_e(l))&&!l.type){if(D)return Zi(m,F.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return Zi(m,F.Initializers_are_not_allowed_in_ambient_contexts)}}function Qli(l){const m=Gb(l),D=m&7;if(So(l.name))switch(D){case 6:return Zi(l,F._0_declarations_may_not_have_binding_patterns,"await using");case 4:return Zi(l,F._0_declarations_may_not_have_binding_patterns,"using")}if(l.parent.parent.kind!==249&&l.parent.parent.kind!==250){if(m&33554432)opt(l);else if(!l.initializer){if(So(l.name)&&!So(l.parent))return Zi(l,F.A_destructuring_declaration_must_have_an_initializer);switch(D){case 6:return Zi(l,F._0_declarations_must_be_initialized,"await using");case 4:return Zi(l,F._0_declarations_must_be_initialized,"using");case 2:return Zi(l,F._0_declarations_must_be_initialized,"const")}}}if(l.exclamationToken&&(l.parent.parent.kind!==243||!l.type||l.initializer||m&33554432)){const C=l.initializer?F.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:l.type?F.A_definite_assignment_assertion_is_not_permitted_in_this_context:F.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Zi(l.exclamationToken,C)}return(ne<5||zn(l).impliedNodeFormat===1)&&ne!==4&&!(l.parent.parent.flags&33554432)&&Yu(l.parent.parent,32)&&spt(l.name),!!D&&lpt(l.name)}function spt(l){if(l.kind===80){if(fu(l)==="__esModule")return tci("noEmit",l,F.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else{const m=l.elements;for(const D of m)if(!Fd(D))return spt(D.name)}return!1}function lpt(l){if(l.kind===80){if(l.escapedText==="let")return Zi(l,F.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else{const m=l.elements;for(const D of m)Fd(D)||lpt(D.name)}return!1}function Xze(l){const m=l.declarations;if(iS(l.declarations))return!0;if(!l.declarations.length)return Wb(l,m.pos,m.end-m.pos,F.Variable_declaration_list_cannot_be_empty);const D=l.flags&7;return(D===4||D===6)&&hY(l.parent)?Zi(l,D===4?F.The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:F.The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration):D===6?Fmt(l):!1}function cpt(l){switch(l.kind){case 245:case 246:case 247:case 254:case 248:case 249:case 250:return!1;case 256:return cpt(l.parent)}return!0}function Xli(l){if(!cpt(l.parent)){const m=Gb(l.declarationList)&7;if(m){const D=m===1?"let":m===2?"const":m===4?"using":m===6?"await using":H.fail("Unknown BlockScope flag");return Zi(l,F._0_declarations_can_only_be_declared_inside_a_block,D)}}}function eci(l){const m=l.name.escapedText;switch(l.keywordToken){case 105:if(m!=="target")return Zi(l.name,F._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,Qr(l.name.escapedText),Uo(l.keywordToken),"target");break;case 102:if(m!=="meta")return Zi(l.name,F._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,Qr(l.name.escapedText),Uo(l.keywordToken),"meta");break}}function Kb(l){return l.parseDiagnostics.length>0}function r1(l,m,...D){const C=zn(l);if(!Kb(C)){const A=QE(C,l.pos);return Vs.add(Rd(C,A.start,A.length,m,...D)),!0}return!1}function Wb(l,m,D,C,...A){const w=zn(l);return Kb(w)?!1:(Vs.add(Rd(w,m,D,C,...A)),!0)}function tci(l,m,D,...C){const A=zn(m);return Kb(A)?!1:(A5(l,m,D,...C),!0)}function Zi(l,m,...D){const C=zn(l);return Kb(C)?!1:(Vs.add(Su(l,m,...D)),!0)}function ici(l){const m=Qn(l)?Oq(l):void 0,D=l.typeParameters||m&&Ki(m);if(D){const C=D.pos===D.end?D.pos:gs(zn(l).text,D.pos);return Wb(l,C,D.end-C,F.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function nci(l){const m=l.type||U4(l);if(m)return Zi(m,F.Type_annotation_cannot_appear_on_a_constructor_declaration)}function uci(l){if(Ps(l.name)&&Xn(l.name.expression)&&l.name.expression.operatorToken.kind===103)return Zi(l.parent.members[0],F.A_mapped_type_may_not_declare_properties_or_methods);if(mr(l.parent)){if(us(l.name)&&l.name.text==="constructor")return Zi(l.name,F.Classes_may_not_have_a_field_named_constructor);if(Jz(l.name,F.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(Ce<2&&ea(l.name))return Zi(l.name,F.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(Ce<2&&ef(l))return Zi(l.name,F.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(ef(l)&&Yze(l.questionToken,F.An_accessor_property_cannot_be_declared_optional))return!0}else if(l.parent.kind===264){if(Jz(l.name,F.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(H.assertNode(l,Mm),l.initializer)return Zi(l.initializer,F.An_interface_property_cannot_have_an_initializer)}else if(fm(l.parent)){if(Jz(l.name,F.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(H.assertNode(l,Mm),l.initializer)return Zi(l.initializer,F.A_type_literal_property_cannot_have_an_initializer)}if(l.flags&33554432&&opt(l),ko(l)&&l.exclamationToken&&(!mr(l.parent)||!l.type||l.initializer||l.flags&33554432||No(l)||P2(l))){const m=l.initializer?F.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:l.type?F.A_definite_assignment_assertion_is_not_permitted_in_this_context:F.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Zi(l.exclamationToken,m)}}function rci(l){return l.kind===264||l.kind===265||l.kind===272||l.kind===271||l.kind===278||l.kind===277||l.kind===270||Yu(l,2208)?!1:r1(l,F.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function aci(l){for(const m of l.statements)if((Q1(m)||m.kind===243)&&rci(m))return!0;return!1}function oci(l){return!!(l.flags&33554432)&&aci(l)}function SD(l){if(l.flags&33554432){if(!ar(l).hasReportedStatementInAmbientContext&&(Co(l.parent)||wx(l.parent)))return ar(l).hasReportedStatementInAmbientContext=r1(l,F.An_implementation_cannot_be_declared_in_ambient_contexts);if(l.parent.kind===241||l.parent.kind===268||l.parent.kind===312){const D=ar(l.parent);if(!D.hasReportedStatementInAmbientContext)return D.hasReportedStatementInAmbientContext=r1(l,F.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function eIe(l){const m=Hc(l).includes("."),D=l.numericLiteralFlags&16;m||D||+l.text<=9007199254740991||i1(!1,Su(l,F.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function sci(l){return!!(!(Mv(l.parent)||zv(l.parent)&&Mv(l.parent.parent))&&Ce<7&&Zi(l,F.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function lci(l,m,...D){const C=zn(l);if(!Kb(C)){const A=QE(C,l.pos);return Vs.add(Rd(C,Ec(A),0,m,...D)),!0}return!1}function cci(){return uh||(uh=[],Ie.forEach((l,m)=>{jde.test(m)&&uh.push(l)})),uh}function dci(l){var m;return l.isTypeOnly&&l.name&&l.namedBindings?Zi(l,F.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):l.isTypeOnly&&((m=l.namedBindings)==null?void 0:m.kind)===275?dpt(l.namedBindings):!1}function dpt(l){return!!L(l.elements,m=>{if(m.isTypeOnly)return r1(m,m.kind===276?F.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:F.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)})}function hci(l){if(ae.verbatimModuleSyntax&&ne===1)return Zi(l,F.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(ne===5)return Zi(l,F.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);if(l.typeArguments)return Zi(l,F.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);const m=l.arguments;if(ne!==99&&ne!==199&&ne!==100&&(iS(m),m.length>1)){const C=m[1];return Zi(C,F.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext)}if(m.length===0||m.length>2)return Zi(l,F.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments);const D=Le(m,uE);return D?Zi(D,F.Argument_of_dynamic_import_cannot_be_spread_element):!1}function fci(l,m){const D=Gu(l);if(D&20&&m.flags&1048576)return Le(m.types,C=>{if(C.flags&524288){const A=D&Gu(C);if(A&4)return l.target===C.target;if(A&16)return!!l.aliasSymbol&&l.aliasSymbol===C.aliasSymbol}return!1})}function mci(l,m){if(Gu(l)&128&&yE(m,H5))return Le(m.types,D=>!H5(D))}function pci(l,m){let D=0;if(go(l,D).length>0||(D=1,go(l,D).length>0))return Le(m.types,A=>go(A,D).length>0)}function gci(l,m){let D;if(!(l.flags&406978556)){let C=0;for(const A of m.types)if(!(A.flags&406978556)){const w=Ds([k_(l),k_(A)]);if(w.flags&4194304)return A;if(Tg(w)||w.flags&1048576){const I=w.flags&1048576?ui(w.types,Tg):1;I>=C&&(D=A,C=I)}}}return D}function Eci(l){if(jl(l,67108864)){const m=Ic(l,D=>!(D.flags&402784252));if(!(m.flags&131072))return m}return l}function hpt(l,m,D){if(m.flags&1048576&&l.flags&2621440){const C=Bht(m,l);if(C)return C;const A=n0(l);if(A){const w=Sht(A,m);if(w){const I=jPe(m,Vt(w,U=>[()=>Wn(U),U.escapedName]),D);if(I!==m)return I}}}}function tIe(l){const m=sk(l);return m||(Ps(l)?fMe(b1(l.expression)):void 0)}function f_e(l){return Jn===l||(Jn=l,an=m2(l)),an}function Gb(l){return ji===l||(ji=l,xn=QD(l)),xn}function m_e(l){const m=Gb(l)&7;return m===2||m===4||m===6}}function kPt(t){return!wx(t)}function Fet(t){return t.kind!==262&&t.kind!==174||!!t.body}function Aet(t){switch(t.parent.kind){case 276:case 281:return at(t);default:return X3(t)}}function Bet(t){switch(t){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function th(t){return!!(t.flags&1)}function Ode(t){return!!(t.flags&2)}function FPt(t){return{getCommonSourceDirectory:t.getCommonSourceDirectory?()=>t.getCommonSourceDirectory():()=>"",getCurrentDirectory:()=>t.getCurrentDirectory(),getSymlinkCache:Lo(t,t.getSymlinkCache),getPackageJsonInfoCache:()=>{var u;return(u=t.getPackageJsonInfoCache)==null?void 0:u.call(t)},useCaseSensitiveFileNames:Lo(t,t.useCaseSensitiveFileNames),redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:u=>t.getProjectReferenceRedirect(u),isSourceOfProjectReferenceRedirect:u=>t.isSourceOfProjectReferenceRedirect(u),fileExists:u=>t.fileExists(u),getFileIncludeReasons:()=>t.getFileIncludeReasons(),readFile:t.readFile?u=>t.readFile(u):void 0}}var jde,YY,MAe,zAe,IAe,RAe,QY,Vde,XY,eQ,wet,tQ,OAe,Rm,Hde,APt=o({"src/compiler/checker.ts"(){Bo(),NAe(),Wy(),jde=/^".+"$/,YY="(anonymous)",MAe=1,zAe=1,IAe=1,RAe=1,QY=(t=>(t[t.None=0]="None",t[t.TypeofEQString=1]="TypeofEQString",t[t.TypeofEQNumber=2]="TypeofEQNumber",t[t.TypeofEQBigInt=4]="TypeofEQBigInt",t[t.TypeofEQBoolean=8]="TypeofEQBoolean",t[t.TypeofEQSymbol=16]="TypeofEQSymbol",t[t.TypeofEQObject=32]="TypeofEQObject",t[t.TypeofEQFunction=64]="TypeofEQFunction",t[t.TypeofEQHostObject=128]="TypeofEQHostObject",t[t.TypeofNEString=256]="TypeofNEString",t[t.TypeofNENumber=512]="TypeofNENumber",t[t.TypeofNEBigInt=1024]="TypeofNEBigInt",t[t.TypeofNEBoolean=2048]="TypeofNEBoolean",t[t.TypeofNESymbol=4096]="TypeofNESymbol",t[t.TypeofNEObject=8192]="TypeofNEObject",t[t.TypeofNEFunction=16384]="TypeofNEFunction",t[t.TypeofNEHostObject=32768]="TypeofNEHostObject",t[t.EQUndefined=65536]="EQUndefined",t[t.EQNull=131072]="EQNull",t[t.EQUndefinedOrNull=262144]="EQUndefinedOrNull",t[t.NEUndefined=524288]="NEUndefined",t[t.NENull=1048576]="NENull",t[t.NEUndefinedOrNull=2097152]="NEUndefinedOrNull",t[t.Truthy=4194304]="Truthy",t[t.Falsy=8388608]="Falsy",t[t.IsUndefined=16777216]="IsUndefined",t[t.IsNull=33554432]="IsNull",t[t.IsUndefinedOrNull=50331648]="IsUndefinedOrNull",t[t.All=134217727]="All",t[t.BaseStringStrictFacts=3735041]="BaseStringStrictFacts",t[t.BaseStringFacts=12582401]="BaseStringFacts",t[t.StringStrictFacts=16317953]="StringStrictFacts",t[t.StringFacts=16776705]="StringFacts",t[t.EmptyStringStrictFacts=12123649]="EmptyStringStrictFacts",t[t.EmptyStringFacts=12582401]="EmptyStringFacts",t[t.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",t[t.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",t[t.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",t[t.BaseNumberFacts=12582146]="BaseNumberFacts",t[t.NumberStrictFacts=16317698]="NumberStrictFacts",t[t.NumberFacts=16776450]="NumberFacts",t[t.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",t[t.ZeroNumberFacts=12582146]="ZeroNumberFacts",t[t.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",t[t.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",t[t.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",t[t.BaseBigIntFacts=12581636]="BaseBigIntFacts",t[t.BigIntStrictFacts=16317188]="BigIntStrictFacts",t[t.BigIntFacts=16775940]="BigIntFacts",t[t.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",t[t.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",t[t.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",t[t.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",t[t.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",t[t.BaseBooleanFacts=12580616]="BaseBooleanFacts",t[t.BooleanStrictFacts=16316168]="BooleanStrictFacts",t[t.BooleanFacts=16774920]="BooleanFacts",t[t.FalseStrictFacts=12121864]="FalseStrictFacts",t[t.FalseFacts=12580616]="FalseFacts",t[t.TrueStrictFacts=7927560]="TrueStrictFacts",t[t.TrueFacts=16774920]="TrueFacts",t[t.SymbolStrictFacts=7925520]="SymbolStrictFacts",t[t.SymbolFacts=16772880]="SymbolFacts",t[t.ObjectStrictFacts=7888800]="ObjectStrictFacts",t[t.ObjectFacts=16736160]="ObjectFacts",t[t.FunctionStrictFacts=7880640]="FunctionStrictFacts",t[t.FunctionFacts=16728e3]="FunctionFacts",t[t.VoidFacts=9830144]="VoidFacts",t[t.UndefinedFacts=26607360]="UndefinedFacts",t[t.NullFacts=42917664]="NullFacts",t[t.EmptyObjectStrictFacts=83427327]="EmptyObjectStrictFacts",t[t.EmptyObjectFacts=83886079]="EmptyObjectFacts",t[t.UnknownFacts=83886079]="UnknownFacts",t[t.AllTypeofNE=556800]="AllTypeofNE",t[t.OrFactsMask=8256]="OrFactsMask",t[t.AndFactsMask=134209471]="AndFactsMask",t))(QY||{}),Vde=new Map(Object.entries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),XY=(t=>(t[t.Normal=0]="Normal",t[t.Contextual=1]="Contextual",t[t.Inferential=2]="Inferential",t[t.SkipContextSensitive=4]="SkipContextSensitive",t[t.SkipGenericFunctions=8]="SkipGenericFunctions",t[t.IsForSignatureHelp=16]="IsForSignatureHelp",t[t.RestBindingElement=32]="RestBindingElement",t[t.TypeOnly=64]="TypeOnly",t))(XY||{}),eQ=(t=>(t[t.None=0]="None",t[t.BivariantCallback=1]="BivariantCallback",t[t.StrictCallback=2]="StrictCallback",t[t.IgnoreReturnTypes=4]="IgnoreReturnTypes",t[t.StrictArity=8]="StrictArity",t[t.StrictTopSignature=16]="StrictTopSignature",t[t.Callback=3]="Callback",t))(eQ||{}),wet=Q$(Fet,kPt),tQ=new Map(Object.entries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3})),OAe=class{},(t=>{t.JSX="JSX",t.IntrinsicElements="IntrinsicElements",t.ElementClass="ElementClass",t.ElementAttributesPropertyNameContainer="ElementAttributesProperty",t.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",t.Element="Element",t.ElementType="ElementType",t.IntrinsicAttributes="IntrinsicAttributes",t.IntrinsicClassAttributes="IntrinsicClassAttributes",t.LibraryManagedAttributes="LibraryManagedAttributes"})(Rm||(Rm={})),Hde=class V6t{constructor(u,s,d){this.moduleResolverHost=void 0,this.inner=void 0,this.disableTrackSymbol=!1;for(var f;s instanceof V6t;)s=s.inner;this.inner=s,this.moduleResolverHost=d,this.context=u,this.canTrackSymbol=!!((f=this.inner)!=null&&f.trackSymbol)}trackSymbol(u,s,d){var f,p;if((f=this.inner)!=null&&f.trackSymbol&&!this.disableTrackSymbol){if(this.inner.trackSymbol(u,s,d))return this.onDiagnosticReported(),!0;u.flags&262144||((p=this.context).trackedSymbols??(p.trackedSymbols=[])).push([u,s,d])}return!1}reportInaccessibleThisError(){var u;(u=this.inner)!=null&&u.reportInaccessibleThisError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleThisError())}reportPrivateInBaseOfClassExpression(u){var s;(s=this.inner)!=null&&s.reportPrivateInBaseOfClassExpression&&(this.onDiagnosticReported(),this.inner.reportPrivateInBaseOfClassExpression(u))}reportInaccessibleUniqueSymbolError(){var u;(u=this.inner)!=null&&u.reportInaccessibleUniqueSymbolError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleUniqueSymbolError())}reportCyclicStructureError(){var u;(u=this.inner)!=null&&u.reportCyclicStructureError&&(this.onDiagnosticReported(),this.inner.reportCyclicStructureError())}reportLikelyUnsafeImportRequiredError(u){var s;(s=this.inner)!=null&&s.reportLikelyUnsafeImportRequiredError&&(this.onDiagnosticReported(),this.inner.reportLikelyUnsafeImportRequiredError(u))}reportTruncationError(){var u;(u=this.inner)!=null&&u.reportTruncationError&&(this.onDiagnosticReported(),this.inner.reportTruncationError())}trackReferencedAmbientModule(u,s){var d;(d=this.inner)!=null&&d.trackReferencedAmbientModule&&(this.onDiagnosticReported(),this.inner.trackReferencedAmbientModule(u,s))}trackExternalModuleSymbolOfImportTypeNode(u){var s;(s=this.inner)!=null&&s.trackExternalModuleSymbolOfImportTypeNode&&(this.onDiagnosticReported(),this.inner.trackExternalModuleSymbolOfImportTypeNode(u))}reportNonlocalAugmentation(u,s,d){var f;(f=this.inner)!=null&&f.reportNonlocalAugmentation&&(this.onDiagnosticReported(),this.inner.reportNonlocalAugmentation(u,s,d))}reportNonSerializableProperty(u){var s;(s=this.inner)!=null&&s.reportNonSerializableProperty&&(this.onDiagnosticReported(),this.inner.reportNonSerializableProperty(u))}onDiagnosticReported(){this.context.reportedDiagnostic=!0}}}});function yt(t,u,s,d){if(t===void 0)return t;const f=u(t);let p;if(f!==void 0)return Ha(f)?p=(d||LPt)(f):p=f,H.assertNode(p,s),p}function kn(t,u,s,d,f){if(t===void 0)return t;const p=t.length;(d===void 0||d<0)&&(d=0),(f===void 0||f>p-d)&&(f=p-d);let E,v=-1,b=-1;d>0||fp-d)&&(f=p-d),Tet(t,u,s,d,f)}function Tet(t,u,s,d,f){let p;const E=t.length;(d>0||f=2&&(f=SPt(f,s)),s.setLexicalEnvironmentFlags(1,!1)),s.suspendLexicalEnvironment(),f}function SPt(t,u){let s;for(let d=0;d{const E=dv,addSource:Ge,setSourceContent:Ae,addName:De,addMapping:ft,appendSourceMap:Ye,toJSON:Ie,toString:()=>JSON.stringify(Ie())};function Ge(St){p();const It=i7(d,St,t.getCurrentDirectory(),t.getCanonicalFileName,!0);let ei=B.get(It);return ei===void 0&&(ei=b.length,b.push(It),v.push(St),B.set(It,ei)),E(),ei}function Ae(St,It){if(p(),It!==null){for(k||(k=[]);k.lengthIt||Se===It&&Ne>ei)}function ft(St,It,ei,ht,Ut,Ni){H.assert(St>=Ce,"generatedLine cannot backtrack"),H.assert(It>=0,"generatedCharacter cannot be negative"),H.assert(ei===void 0||ei>=0,"sourceIndex cannot be negative"),H.assert(ht===void 0||ht>=0,"sourceLine cannot be negative"),H.assert(Ut===void 0||Ut>=0,"sourceCharacter cannot be negative"),p(),(Ke(St,It)||Je(ei,ht,Ut))&&(Gt(),Ce=St,ne=It,xe=!1,Be=!1,fe=!0),ei!==void 0&&ht!==void 0&&Ut!==void 0&&(ve=ei,Se=ht,Ne=Ut,xe=!0,Ni!==void 0&&(pe=Ni,Be=!0)),E()}function Ye(St,It,ei,ht,Ut,Ni){H.assert(St>=Ce,"generatedLine cannot backtrack"),H.assert(It>=0,"generatedCharacter cannot be negative"),p();const ji=[];let xn;const Jn=Gde(ei.mappings);for(const an of Jn){if(Ni&&(an.generatedLine>Ni.line||an.generatedLine===Ni.line&&an.generatedCharacter>Ni.character))break;if(Ut&&(an.generatedLine=1024&&Yt()}function Gt(){if(!(!fe||!Ve())){if(p(),J0&&(j+=String.fromCharCode.apply(void 0,z),z.length=0)}function Ie(){return Gt(),Yt(),{version:3,file:u,sourceRoot:s,sources:b,names:T,mappings:j,sourcesContent:k}}function st(St){St<0?St=(-St<<1)+1:St=St<<1;do{let It=St&31;St=St>>5,St>0&&(It=It|32),We(MPt(It))}while(St>0)}}function Kde(t,u){return{getLineCount:()=>u.length,getLineText:s=>t.substring(u[s],u[s+1])}}function VAe(t){for(let u=t.getLineCount()-1;u>=0;u--){const s=t.getLineText(u),d=nQ.exec(s);if(d)return d[1].trimEnd();if(!s.match(uQ))break}}function PPt(t){return typeof t=="string"||t===null}function HAe(t){return t!==null&&typeof t=="object"&&t.version===3&&typeof t.file=="string"&&typeof t.mappings=="string"&&Ha(t.sources)&&ye(t.sources,Ja)&&(t.sourceRoot===void 0||t.sourceRoot===null||typeof t.sourceRoot=="string")&&(t.sourcesContent===void 0||t.sourcesContent===null||Ha(t.sourcesContent)&&ye(t.sourcesContent,PPt))&&(t.names===void 0||t.names===null||Ha(t.names)&&ye(t.names,Ja))}function Wde(t){try{const u=JSON.parse(t);if(HAe(u))return u}catch{}}function Gde(t){let u=!1,s=0,d=0,f=0,p=0,E=0,v=0,b=0,B;return{get pos(){return s},get error(){return B},get state(){return k(!0,!0)},next(){for(;!u&&s=t.length)return M("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;const ge=zPt(t.charCodeAt(s));if(ge===-1)return M("Invalid character in VLQ"),-1;Y=(ge&32)!==0,se=se|(ge&31)<>1,se=-se):se=se>>1,se}}function Net(t,u){return t===u||t.generatedLine===u.generatedLine&&t.generatedCharacter===u.generatedCharacter&&t.sourceIndex===u.sourceIndex&&t.sourceLine===u.sourceLine&&t.sourceCharacter===u.sourceCharacter&&t.nameIndex===u.nameIndex}function KAe(t){return t.sourceIndex!==void 0&&t.sourceLine!==void 0&&t.sourceCharacter!==void 0}function MPt(t){return t>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:t===62?43:t===63?47:H.fail(`${t}: not a base64 value`)}function zPt(t){return t>=65&&t<=90?t-65:t>=97&&t<=122?t-97+26:t>=48&&t<=57?t-48+52:t===43?62:t===47?63:-1}function Pet(t){return t.sourceIndex!==void 0&&t.sourcePosition!==void 0}function Met(t,u){return t.generatedPosition===u.generatedPosition&&t.sourceIndex===u.sourceIndex&&t.sourcePosition===u.sourcePosition}function IPt(t,u){return H.assert(t.sourceIndex===u.sourceIndex),nl(t.sourcePosition,u.sourcePosition)}function RPt(t,u){return nl(t.generatedPosition,u.generatedPosition)}function OPt(t){return t.sourcePosition}function jPt(t){return t.generatedPosition}function WAe(t,u,s){const d=lr(s),f=u.sourceRoot?$a(u.sourceRoot,d):d,p=$a(u.file,d),E=t.getSourceFileLike(p),v=u.sources.map(oe=>$a(oe,f)),b=new Map(v.map((oe,se)=>[t.getCanonicalFileName(oe),se]));let B,k,T;return{getSourcePosition:Y,getGeneratedPosition:K};function M(oe){const se=E!==void 0?TO(E,oe.generatedLine,oe.generatedCharacter,!0):-1;let ge,ae;if(KAe(oe)){const Ce=t.getSourceFileLike(v[oe.sourceIndex]);ge=u.sources[oe.sourceIndex],ae=Ce!==void 0?TO(Ce,oe.sourceLine,oe.sourceCharacter,!0):-1}return{generatedPosition:se,source:ge,sourceIndex:oe.sourceIndex,sourcePosition:ae,nameIndex:oe.nameIndex}}function z(){if(B===void 0){const oe=Gde(u.mappings),se=ga(oe,M);oe.error!==void 0?(t.log&&t.log(`Encountered error while decoding sourcemap: ${oe.error}`),B=_t):B=se}return B}function j(oe){if(T===void 0){const se=[];for(const ge of z()){if(!Pet(ge))continue;let ae=se[ge.sourceIndex];ae||(se[ge.sourceIndex]=ae=[]),ae.push(ge)}T=se.map(ge=>pi(ge,IPt,Met))}return T[oe]}function J(){if(k===void 0){const oe=[];for(const se of z())oe.push(se);k=pi(oe,RPt,Met)}return k}function K(oe){const se=b.get(t.getCanonicalFileName(oe.fileName));if(se===void 0)return oe;const ge=j(se);if(!Oe(ge))return oe;let ae=va(ge,oe.pos,OPt,nl);ae<0&&(ae=~ae);const Ce=ge[ae];return Ce===void 0||Ce.sourceIndex!==se?oe:{fileName:p,pos:Ce.generatedPosition}}function Y(oe){const se=J();if(!Oe(se))return oe;let ge=va(se,oe.pos,jPt,nl);ge<0&&(ge=~ge);const ae=se[ge];return ae===void 0||!Pet(ae)?oe:{fileName:v[ae.sourceIndex],pos:ae.sourcePosition}}}var Jde,nQ,uQ,rQ,VPt=o({"src/compiler/sourcemap.ts"(){Bo(),Wy(),Jde=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,nQ=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,uQ=/^\s*(\/\/[@#] .*)?$/,rQ={getSourcePosition:il,getGeneratedPosition:il}}});function M1(t){return t=Wl(t),t?$s(t):0}function HPt(t){return!t||!uD(t)?!1:Oe(t.elements,zet)}function zet(t){return t.propertyName!==void 0&&t.propertyName.escapedText==="default"}function Kp(t,u){return s;function s(f){return f.kind===312?u(f):d(f)}function d(f){return t.factory.createBundle(Vt(f.sourceFiles,u),f.prepends)}}function GAe(t){return!!Q8(t)}function aQ(t){if(Q8(t))return!0;const u=t.importClause&&t.importClause.namedBindings;if(!u||!uD(u))return!1;let s=0;for(const d of u.elements)zet(d)&&s++;return s>0&&s!==u.elements.length||!!(u.elements.length-s)&&c7(t)}function $de(t){return!aQ(t)&&(c7(t)||!!t.importClause&&uD(t.importClause.namedBindings)&&HPt(t.importClause.namedBindings))}function Ude(t,u){const s=t.getEmitResolver(),d=t.getCompilerOptions(),f=[],p=new Qde,E=[],v=new Map;let b,B=!1,k,T=!1,M=!1,z=!1;for(const K of u.statements)switch(K.kind){case 272:f.push(K),!M&&aQ(K)&&(M=!0),!z&&$de(K)&&(z=!0);break;case 271:K.moduleReference.kind===283&&f.push(K);break;case 278:if(K.moduleSpecifier)if(!K.exportClause)f.push(K),T=!0;else if(f.push(K),ep(K.exportClause))J(K);else{const Y=K.exportClause.name;v.get(fu(Y))||(fM(E,M1(K),Y),v.set(fu(Y),!0),b=xi(b,Y)),M=!0}else J(K);break;case 277:K.isExportEquals&&!k&&(k=K);break;case 243:if(Yu(K,32))for(const Y of K.declarationList.declarations)b=Iet(Y,v,b,E);break;case 262:if(Yu(K,32))if(Yu(K,2048))B||(fM(E,M1(K),t.factory.getDeclarationName(K)),B=!0);else{const Y=K.name;v.get(fu(Y))||(fM(E,M1(K),Y),v.set(fu(Y),!0),b=xi(b,Y))}break;case 263:if(Yu(K,32))if(Yu(K,2048))B||(fM(E,M1(K),t.factory.getDeclarationName(K)),B=!0);else{const Y=K.name;Y&&!v.get(fu(Y))&&(fM(E,M1(K),Y),v.set(fu(Y),!0),b=xi(b,Y))}break}const j=Oce(t.factory,t.getEmitHelperFactory(),u,d,T,M,z);return j&&f.unshift(j),{externalImports:f,exportSpecifiers:p,exportEquals:k,hasExportStarsToExportValues:T,exportedBindings:E,exportedNames:b,externalHelpersImportDeclaration:j};function J(K){for(const Y of Po(K.exportClause,ep).elements)if(!v.get(fu(Y.name))){const oe=Y.propertyName||Y.name;K.moduleSpecifier||p.add(oe,Y);const se=s.getReferencedImportDeclaration(oe)||s.getReferencedValueDeclaration(oe);se&&fM(E,M1(se),Y.name),v.set(fu(Y.name),!0),b=xi(b,Y.name)}}}function Iet(t,u,s,d){if(So(t.name))for(const f of t.name.elements)Fd(f)||(s=Iet(f,u,s,d));else if(!al(t.name)){const f=fu(t.name);u.get(f)||(u.set(f,!0),s=xi(s,t.name),rD(t.name)&&fM(d,M1(t),t.name))}return s}function fM(t,u,s){let d=t[u];return d?d.push(s):t[u]=d=[s],d}function Y2(t){return t0(t)||t.kind===9||uf(t.kind)||at(t)}function sE(t){return!at(t)&&Y2(t)}function mM(t){return t>=65&&t<=79}function pM(t){switch(t){case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 45;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 75:return 52;case 79:return 53;case 76:return 57;case 77:return 56;case 78:return 61}}function oQ(t){if(!Od(t))return;const u=l0(t.expression);return ik(u)?u:void 0}function Ret(t,u,s){for(let d=u;dWPt(d,u,s))}function KPt(t){return GPt(t)||zl(t)}function lQ(t){return ti(t.members,KPt)}function WPt(t,u,s){return ko(t)&&(!!t.initializer||!u)&&Kc(t)===s}function GPt(t){return ko(t)&&Kc(t)}function fH(t){return t.kind===172&&t.initializer!==void 0}function JAe(t){return!No(t)&&(N8(t)||ef(t))&&ea(t.name)}function $Ae(t){let u;if(t){const s=t.parameters,d=s.length>0&&L2(s[0]),f=d?1:0,p=d?s.length-1:s.length;for(let E=0;EYde(s.privateEnv,u))}var Y7,Qde,UPt=o({"src/compiler/transformers/utilities.ts"(){Bo(),Y7=class LT{constructor(){this._map=new Map}get size(){return this._map.size}has(u){return this._map.has(LT.toKey(u))}get(u){return this._map.get(LT.toKey(u))}set(u,s){return this._map.set(LT.toKey(u),s),this}delete(u){var s;return((s=this._map)==null?void 0:s.delete(LT.toKey(u)))??!1}clear(){this._map.clear()}values(){return this._map.values()}static toKey(u){if(Uy(u)||al(u)){const s=u.emitNode.autoGenerate;if((s.flags&7)===4){const d=jV(u),f=J_(d)&&d!==u?LT.toKey(d):`(generated@${$s(d)})`;return jv(!1,s.prefix,f,s.suffix,LT.toKey)}else{const d=`(auto@${s.id})`;return jv(!1,s.prefix,d,s.suffix,LT.toKey)}}return ea(u)?fu(u).slice(1):fu(u)}},Qde=class extends Y7{add(t,u){let s=this.get(t);return s?s.push(u):this.set(t,s=[u]),s}remove(t,u){const s=this.get(t);s&&(Vy(s,u),s.length||this.delete(t))}}}});function wk(t,u,s,d,f,p){let E=t,v;if(r5(t))for(v=t.right;Iye(t.left)||dle(t.left);)if(r5(v))E=t=v,v=t.right;else return H.checkDefined(yt(v,u,Wt));let b;const B={context:s,level:d,downlevelIteration:!!s.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:k,emitBindingOrAssignment:T,createArrayBindingOrAssignmentPattern:M=>iMt(s.factory,M),createObjectBindingOrAssignmentPattern:M=>uMt(s.factory,M),createArrayBindingOrAssignmentElement:aMt,visitor:u};if(v&&(v=yt(v,u,Wt),H.assert(v),at(v)&&YAe(t,v.escapedText)||QAe(t)?v=Q7(B,v,!1,E):f?v=Q7(B,v,!0,E):sl(t)&&(E=v)),gM(B,t,v,E,r5(t)),v&&f){if(!Oe(b))return v;b.push(v)}return s.factory.inlineExpressions(b)||s.factory.createOmittedExpression();function k(M){b=xi(b,M)}function T(M,z,j,J){H.assertNode(M,p?at:Wt);const K=p?p(M,z,j):Pt(s.factory.createAssignment(H.checkDefined(yt(M,u,Wt)),z),j);K.original=J,k(K)}}function YAe(t,u){const s=$x(t);return UO(s)?qPt(s,u):at(s)?s.escapedText===u:!1}function qPt(t,u){const s=IB(t);for(const d of s)if(YAe(d,u))return!0;return!1}function QAe(t){const u=yY(t);if(u&&Ps(u)&&!E2(u.expression))return!0;const s=$x(t);return!!s&&UO(s)&&ZPt(s)}function ZPt(t){return!!L(IB(t),QAe)}function Q2(t,u,s,d,f,p=!1,E){let v;const b=[],B=[],k={context:s,level:d,downlevelIteration:!!s.getCompilerOptions().downlevelIteration,hoistTempVariables:p,emitExpression:T,emitBindingOrAssignment:M,createArrayBindingOrAssignmentPattern:z=>tMt(s.factory,z),createObjectBindingOrAssignmentPattern:z=>nMt(s.factory,z),createArrayBindingOrAssignmentElement:z=>rMt(s.factory,z),visitor:u};if(ua(t)){let z=RV(t);z&&(at(z)&&YAe(t,z.escapedText)||QAe(t))&&(z=Q7(k,H.checkDefined(yt(z,k.visitor,Wt)),!1,z),t=s.factory.updateVariableDeclaration(t,t.name,void 0,void 0,z))}if(gM(k,t,f,t,E),v){const z=s.factory.createTempVariable(void 0);if(p){const j=s.factory.inlineExpressions(v);v=void 0,M(z,j,void 0,void 0)}else{s.hoistVariableDeclaration(z);const j=Cr(b);j.pendingExpressions=xi(j.pendingExpressions,s.factory.createAssignment(z,j.value)),yn(j.pendingExpressions,v),j.value=z}}for(const{pendingExpressions:z,name:j,value:J,location:K,original:Y}of b){const oe=s.factory.createVariableDeclaration(j,void 0,void 0,z?s.factory.inlineExpressions(xi(z,J)):J);oe.original=Y,Pt(oe,K),B.push(oe)}return B;function T(z){v=xi(v,z)}function M(z,j,J,K){H.assertNode(z,qy),v&&(j=s.factory.inlineExpressions(xi(v,j)),v=void 0),b.push({pendingExpressions:v,name:z,value:j,location:J,original:K})}}function gM(t,u,s,d,f){const p=$x(u);if(!f){const E=yt(RV(u),t.visitor,Wt);E?s?(s=XPt(t,s,E,d),!sE(E)&&UO(p)&&(s=Q7(t,s,!0,d))):s=E:s||(s=t.context.factory.createVoidZero())}Yse(p)?YPt(t,u,p,s,d):Qse(p)?QPt(t,u,p,s,d):t.emitBindingOrAssignment(p,s,d,u)}function YPt(t,u,s,d,f){const p=IB(s),E=p.length;if(E!==1){const B=!$O(u)||E!==0;d=Q7(t,d,B,f)}let v,b;for(let B=0;B=1&&!(k.transformFlags&98304)&&!($x(k).transformFlags&98304)&&!Ps(T))v=xi(v,yt(k,t.visitor,rbe));else{v&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(v),d,f,s),v=void 0);const M=eMt(t,d,T);Ps(T)&&(b=xi(b,M.argumentExpression)),gM(t,k,M,k)}}}v&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(v),d,f,s)}function QPt(t,u,s,d,f){const p=IB(s),E=p.length;if(t.level<1&&t.downlevelIteration)d=Q7(t,Pt(t.context.getEmitHelperFactory().createReadHelper(d,E>0&&bY(p[E-1])?void 0:E),f),!1,f);else if(E!==1&&(t.level<1||E===0)||ye(p,Fd)){const B=!$O(u)||E!==0;d=Q7(t,d,B,f)}let v,b;for(let B=0;B=1)if(k.transformFlags&65536||t.hasTransformedPriorElement&&!jet(k)){t.hasTransformedPriorElement=!0;const T=t.context.factory.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(T),b=xi(b,[T,k]),v=xi(v,t.createArrayBindingOrAssignmentElement(T))}else v=xi(v,k);else{if(Fd(k))continue;if(bY(k)){if(B===E-1){const T=t.context.factory.createArraySliceCall(d,B);gM(t,k,T,k)}}else{const T=t.context.factory.createElementAccessExpression(d,B);gM(t,k,T,k)}}}if(v&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(v),d,f,s),b)for(const[B,k]of b)gM(t,k,B,k)}function jet(t){const u=$x(t);if(!u||Fd(u))return!0;const s=yY(t);if(s&&!Xg(s))return!1;const d=RV(t);return d&&!sE(d)?!1:UO(u)?ye(IB(u),jet):at(u)}function XPt(t,u,s,d){return u=Q7(t,u,!0,d),t.context.factory.createConditionalExpression(t.context.factory.createTypeCheck(u,"undefined"),void 0,s,void 0,u)}function eMt(t,u,s){const{factory:d}=t.context;if(Ps(s)){const f=Q7(t,H.checkDefined(yt(s.expression,t.visitor,Wt)),!1,s);return t.context.factory.createElementAccessExpression(u,f)}else if(Pm(s)){const f=d.cloneNode(s);return t.context.factory.createElementAccessExpression(u,f)}else{const f=t.context.factory.createIdentifier(fu(s));return t.context.factory.createPropertyAccessExpression(u,f)}}function Q7(t,u,s,d){if(at(u)&&s)return u;{const f=t.context.factory.createTempVariable(void 0);return t.hoistTempVariables?(t.context.hoistVariableDeclaration(f),t.emitExpression(Pt(t.context.factory.createAssignment(f,u),d))):t.emitBindingOrAssignment(f,u,d,void 0),f}}function tMt(t,u){return H.assertEachNode(u,jU),t.createArrayBindingPattern(u)}function iMt(t,u){return H.assertEachNode(u,ZO),t.createArrayLiteralExpression(Vt(u,t.converters.convertToArrayAssignmentElement))}function nMt(t,u){return H.assertEachNode(u,js),t.createObjectBindingPattern(u)}function uMt(t,u){return H.assertEachNode(u,qO),t.createObjectLiteralExpression(Vt(u,t.converters.convertToObjectAssignmentElement))}function rMt(t,u){return t.createBindingElement(void 0,void 0,u)}function aMt(t){return t}var Xde,oMt=o({"src/compiler/transformers/destructuring.ts"(){Bo(),Xde=(t=>(t[t.All=0]="All",t[t.ObjectRest=1]="ObjectRest",t))(Xde||{})}});function XAe(t,u,s=t.createThis()){const d=t.createAssignment(u,s),f=t.createExpressionStatement(d),p=t.createBlock([f],!1),E=t.createClassStaticBlockDeclaration(p);return P1(E).classThis=u,E}function EM(t){var u;if(!zl(t)||t.body.statements.length!==1)return!1;const s=t.body.statements[0];return Od(s)&&ld(s.expression,!0)&&at(s.expression.left)&&((u=t.emitNode)==null?void 0:u.classThis)===s.expression.left&&s.expression.right.kind===110}function e1e(t){var u;return!!((u=t.emitNode)!=null&&u.classThis)&&Oe(t.members,EM)}function e7e(t,u,s,d){if(e1e(u))return u;const f=XAe(t,s,d);u.name&&As(f.body.statements[0],u.name);const p=t.createNodeArray([f,...u.members]);Pt(p,u.members);const E=Wc(u)?t.updateClassDeclaration(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,p):t.updateClassExpression(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,p);return P1(E).classThis=s,E}var sMt=o({"src/compiler/transformers/classThis.ts"(){Bo()}});function _M(t,u,s){const d=Wl(Dc(s));return(Wc(d)||ed(d))&&!d.name&&Yu(d,2048)?t.createStringLiteral("default"):t.createStringLiteralFromNode(u)}function Vet(t,u,s){const{factory:d}=t;if(s!==void 0)return{assignedName:d.createStringLiteral(s),name:u};if(Xg(u)||ea(u))return{assignedName:d.createStringLiteralFromNode(u),name:u};if(Xg(u.expression)&&!at(u.expression))return{assignedName:d.createStringLiteralFromNode(u.expression),name:u};const f=d.getGeneratedNameForNode(u);t.hoistVariableDeclaration(f);const p=t.getEmitHelperFactory().createPropKeyHelper(u.expression),E=d.createAssignment(f,p),v=d.updateComputedPropertyName(u,E);return{assignedName:f,name:v}}function t7e(t,u,s=t.factory.createThis()){const{factory:d}=t,f=t.getEmitHelperFactory().createSetFunctionNameHelper(s,u),p=d.createExpressionStatement(f),E=d.createBlock([p],!1),v=d.createClassStaticBlockDeclaration(E);return P1(v).assignedName=u,v}function X7(t){var u;if(!zl(t)||t.body.statements.length!==1)return!1;const s=t.body.statements[0];return Od(s)&&jP(s.expression,"___setFunctionName")&&s.expression.arguments.length>=2&&s.expression.arguments[1]===((u=t.emitNode)==null?void 0:u.assignedName)}function dQ(t){var u;return!!((u=t.emitNode)!=null&&u.assignedName)&&Oe(t.members,X7)}function t1e(t){return!!t.name||dQ(t)}function hQ(t,u,s,d){if(dQ(u))return u;const{factory:f}=t,p=t7e(t,s,d);u.name&&As(p.body.statements[0],u.name);const E=Ue(u.members,EM)+1,v=u.members.slice(0,E),b=u.members.slice(E),B=f.createNodeArray([...v,p,...b]);return Pt(B,u.members),u=Wc(u)?f.updateClassDeclaration(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,B):f.updateClassExpression(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,B),P1(u).assignedName=s,u}function UB(t,u,s,d){if(d&&us(s)&&B0e(s))return u;const{factory:f}=t,p=Dc(u),E=Xd(p)?Po(hQ(t,p,s),Xd):t.getEmitHelperFactory().createSetFunctionNameHelper(p,s);return f.restoreOuterExpressions(u,E)}function lMt(t,u,s,d){const{factory:f}=t,{assignedName:p,name:E}=Vet(t,u.name,d),v=UB(t,u.initializer,p,s);return f.updatePropertyAssignment(u,E,v)}function cMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):_M(f,u.name,u.objectAssignmentInitializer),E=UB(t,u.objectAssignmentInitializer,p,s);return f.updateShorthandPropertyAssignment(u,u.name,E)}function dMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):_M(f,u.name,u.initializer),E=UB(t,u.initializer,p,s);return f.updateVariableDeclaration(u,u.name,u.exclamationToken,u.type,E)}function hMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):_M(f,u.name,u.initializer),E=UB(t,u.initializer,p,s);return f.updateParameterDeclaration(u,u.modifiers,u.dotDotDotToken,u.name,u.questionToken,u.type,E)}function fMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):_M(f,u.name,u.initializer),E=UB(t,u.initializer,p,s);return f.updateBindingElement(u,u.dotDotDotToken,u.propertyName,u.name,E)}function mMt(t,u,s,d){const{factory:f}=t,{assignedName:p,name:E}=Vet(t,u.name,d),v=UB(t,u.initializer,p,s);return f.updatePropertyDeclaration(u,u.modifiers,E,u.questionToken??u.exclamationToken,u.type,v)}function pMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):_M(f,u.left,u.right),E=UB(t,u.right,p,s);return f.updateBinaryExpression(u,u.left,u.operatorToken,E)}function gMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):f.createStringLiteral(u.isExportEquals?"":"default"),E=UB(t,u.expression,p,s);return f.updateExportAssignment(u,u.modifiers,E)}function Vf(t,u,s,d){switch(u.kind){case 303:return lMt(t,u,s,d);case 304:return cMt(t,u,s,d);case 260:return dMt(t,u,s,d);case 169:return hMt(t,u,s,d);case 208:return fMt(t,u,s,d);case 172:return mMt(t,u,s,d);case 226:return pMt(t,u,s,d);case 277:return gMt(t,u,s,d)}}var EMt=o({"src/compiler/transformers/namedEvaluation.ts"(){Bo()}});function i1e(t,u,s,d,f,p){const E=yt(u.tag,s,Wt);H.assert(E);const v=[void 0],b=[],B=[],k=u.template;if(p===0&&!Q0e(k))return rn(u,s,t);const{factory:T}=t;if(T7(k))b.push(i7e(T,k)),B.push(n7e(T,k,d));else{b.push(i7e(T,k.head)),B.push(n7e(T,k.head,d));for(const z of k.templateSpans)b.push(i7e(T,z.literal)),B.push(n7e(T,z.literal,d)),v.push(H.checkDefined(yt(z.expression,s,Wt)))}const M=t.getEmitHelperFactory().createTemplateObjectHelper(T.createArrayLiteralExpression(b),T.createArrayLiteralExpression(B));if(wc(d)){const z=T.createUniqueName("templateObject");f(z),v[0]=T.createLogicalOr(z,T.createAssignment(z,M))}else v[0]=M;return T.createCallExpression(E,void 0,v)}function i7e(t,u){return u.templateFlags&26656?t.createVoidZero():t.createStringLiteral(u.text)}function n7e(t,u,s){let d=u.rawText;if(d===void 0){H.assertIsDefined(s,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),d=x2(s,u);const f=u.kind===15||u.kind===18;d=d.substring(1,d.length-(f?1:2))}return d=d.replace(/\r\n?/g,` +`),Pt(t.createStringLiteral(d),u)}var n1e,_Mt=o({"src/compiler/transformers/taggedTemplate.ts"(){Bo(),n1e=(t=>(t[t.LiftRestriction=0]="LiftRestriction",t[t.All=1]="All",t))(n1e||{})}});function u7e(t){const{factory:u,getEmitHelperFactory:s,startLexicalEnvironment:d,resumeLexicalEnvironment:f,endLexicalEnvironment:p,hoistVariableDeclaration:E}=t,v=t.getEmitResolver(),b=t.getCompilerOptions(),B=Os(b),k=m1(b),T=!!b.experimentalDecorators,M=b.emitDecoratorMetadata?a7e(t):void 0,z=t.onEmitNode,j=t.onSubstituteNode;t.onEmitNode=Jp,t.onSubstituteNode=Lc,t.enableSubstitution(211),t.enableSubstitution(212);let J,K,Y,oe,se,ge,ae,Ce;return ne;function ne($){return $.kind===313?ve($):Se($)}function ve($){return u.createBundle($.sourceFiles.map(Se),qi($.prepends,tt=>tt.kind===315?nce(tt,"js"):tt))}function Se($){if($.isDeclarationFile)return $;J=$;const tt=Ne($,st);return iD(tt,t.readEmitHelpers()),J=void 0,tt}function Ne($,tt){const vt=oe,mi=se,fn=ge;pe($);const Wu=tt($);return oe!==vt&&(se=mi),oe=vt,ge=fn,Wu}function pe($){switch($.kind){case 312:case 269:case 268:case 241:oe=$,se=void 0;break;case 263:case 262:if(Yu($,128))break;$.name?je($):H.assert($.kind===263||Yu($,2048));break}}function fe($){return Ne($,xe)}function xe($){return $.transformFlags&1?Ie($):$}function Be($){return Ne($,Ge)}function Ge($){switch($.kind){case 272:case 271:case 277:case 278:return Ae($);default:return xe($)}}function Ae($){if(Ua($)!==$)return $.transformFlags&1?rn($,fe,t):$;switch($.kind){case 272:return Ui($);case 271:return as($);case 277:return pr($);case 278:return Xu($);default:H.fail("Unhandled ellided statement")}}function De($){return Ne($,Ke)}function Ke($){if(!($.kind===278||$.kind===272||$.kind===273||$.kind===271&&$.moduleReference.kind===283))return $.transformFlags&1||Yu($,32)?Ie($):$}function Je($){return tt=>Ne(tt,vt=>ft(vt,$))}function ft($,tt){switch($.kind){case 176:return Cn($);case 172:return Dn($,tt);case 177:return Yo($,tt);case 178:return bo($,tt);case 174:return ra($,tt);case 175:return rn($,fe,t);case 240:return $;case 181:return;default:return H.failBadSyntaxKind($)}}function Ye($){return tt=>Ne(tt,vt=>Ve(vt,$))}function Ve($,tt){switch($.kind){case 303:case 304:case 305:return fe($);case 177:return Yo($,tt);case 178:return bo($,tt);case 174:return ra($,tt);default:return H.failBadSyntaxKind($)}}function We($){return g1($)?void 0:fe($)}function Gt($){return Qo($)?void 0:fe($)}function Yt($){if(!g1($)&&!(_7($.kind)&28895)&&!(K&&$.kind===95))return $}function Ie($){if(na($)&&Yu($,128))return u.createNotEmittedStatement($);switch($.kind){case 95:case 90:return K?void 0:$;case 125:case 123:case 124:case 128:case 164:case 87:case 138:case 148:case 103:case 147:case 188:case 189:case 190:case 191:case 187:case 182:case 168:case 133:case 159:case 136:case 154:case 150:case 146:case 116:case 155:case 185:case 184:case 186:case 183:case 192:case 193:case 194:case 196:case 197:case 198:case 199:case 200:case 201:case 181:return;case 265:return u.createNotEmittedStatement($);case 270:return;case 264:return u.createNotEmittedStatement($);case 263:return Ut($);case 231:return Ni($);case 298:return jn($);case 233:return Ln($);case 210:return St($);case 176:case 172:case 174:case 177:case 178:case 175:return H.fail("Class and object literal elements must be visited with their respective visitors");case 262:return Qe($);case 218:return Et($);case 219:return Mt($);case 169:return qt($);case 217:return gt($);case 216:case 234:return ii($);case 238:return ni($);case 213:return vi($);case 214:return mt($);case 215:return Ot($);case 235:return me($);case 266:return on($);case 243:return Xt($);case 260:return et($);case 267:return ct($);case 271:return as($);case 285:return Ei($);case 286:return $i($);default:return rn($,fe,t)}}function st($){const tt=Z4(b,"alwaysStrict")&&!(wc($)&&k>=5)&&!W4($);return u.updateSourceFile($,iQ($.statements,Be,t,0,tt))}function St($){return u.updateObjectLiteralExpression($,kn($.properties,Ye($),Z3))}function It($){let tt=0;Oe(qde($,!0,!0))&&(tt|=1);const vt=Qg($);return vt&&Dc(vt.expression).kind!==106&&(tt|=64),t5(T,$)&&(tt|=2),QN(T,$)&&(tt|=4),wo($)?tt|=8:Ya($)?tt|=32:vc($)&&(tt|=16),tt}function ei($){return!!($.transformFlags&8192)}function ht($){return o4($)||Oe($.typeParameters)||Oe($.heritageClauses,ei)||Oe($.members,ei)}function Ut($){const tt=It($),vt=B<=1&&!!(tt&7);if(!ht($)&&!t5(T,$)&&!wo($))return u.updateClassDeclaration($,kn($.modifiers,Yt,Qo),$.name,void 0,kn($.heritageClauses,fe,mm),kn($.members,Je($),Zd));vt&&t.startLexicalEnvironment();const mi=vt||tt&8;let fn=mi?kn($.modifiers,Gt,ol):kn($.modifiers,fe,ol);tt&2&&(fn=xn(fn,$));const uu=mi&&!$.name||tt&4||tt&1?$.name??u.getGeneratedNameForNode($):$.name,Tu=u.updateClassDeclaration($,fn,uu,void 0,kn($.heritageClauses,fe,mm),ji($));let Nr=bs($);tt&1&&(Nr|=64),Zn(Tu,Nr);let Vu;if(vt){const Ss=[Tu],ic=fle(gs(J.text,$.members.end),20),nd=u.getInternalName($),S0=u.createPartiallyEmittedExpression(nd);mB(S0,ic.end),Zn(S0,3072);const ud=u.createReturnStatement(S0);BP(ud,ic.pos),Zn(ud,3840),Ss.push(ud),ZE(Ss,t.endLexicalEnvironment());const m0=u.createImmediatelyInvokedArrowFunction(Ss);_V(m0,1);const Bd=u.createVariableDeclaration(u.getLocalName($,!1,!1),void 0,void 0,m0);su(Bd,$);const Oh=u.createVariableStatement(void 0,u.createVariableDeclarationList([Bd],1));su(Oh,$),Bc(Oh,$),As(Oh,o5($)),vh(Oh),Vu=Oh}else Vu=Tu;if(mi){if(tt&8)return[Vu,c0($)];if(tt&32)return[Vu,u.createExportDefault(u.getLocalName($,!1,!0))];if(tt&16)return[Vu,u.createExternalModuleExport(u.getDeclarationName($,!1,!0))]}return Vu}function Ni($){let tt=kn($.modifiers,Gt,ol);return t5(T,$)&&(tt=xn(tt,$)),u.updateClassExpression($,tt,$.name,void 0,kn($.heritageClauses,fe,mm),ji($))}function ji($){const tt=kn($.members,Je($),Zd);let vt;const mi=X_($),fn=mi&&ti(mi.parameters,Wu=>Mf(Wu,mi));if(fn)for(const Wu of fn){const uu=u.createPropertyDeclaration(void 0,Wu.name,void 0,void 0,void 0);su(uu,Wu),vt=xi(vt,uu)}return vt?(vt=yn(vt,tt),Pt(u.createNodeArray(vt),$.members)):tt}function xn($,tt){const vt=an(tt,tt);if(Oe(vt)){const mi=[];yn(mi,tU($,OV)),yn(mi,ti($,g1)),yn(mi,vt),yn(mi,ti(n2e($,OV),Qo)),$=Pt(u.createNodeArray(mi),$)}return $}function Jn($,tt,vt){if(mr(vt)&&S0e(T,tt,vt)){const mi=an(tt,vt);if(Oe(mi)){const fn=[];yn(fn,ti($,g1)),yn(fn,mi),yn(fn,ti($,Qo)),$=Pt(u.createNodeArray(fn),$)}}return $}function an($,tt){if(T)return Het?Ai($,tt):Pi($,tt)}function Pi($,tt){if(M){let vt;if(Zu($)){const mi=s().createMetadataHelper("design:type",M.serializeTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$));vt=xi(vt,u.createDecorator(mi))}if(yr($)){const mi=s().createMetadataHelper("design:paramtypes",M.serializeParameterTypesOfNode({currentLexicalScope:oe,currentNameScope:tt},$,tt));vt=xi(vt,u.createDecorator(mi))}if(aa($)){const mi=s().createMetadataHelper("design:returntype",M.serializeReturnTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$));vt=xi(vt,u.createDecorator(mi))}return vt}}function Ai($,tt){if(M){let vt;if(Zu($)){const mi=u.createPropertyAssignment("type",u.createArrowFunction(void 0,void 0,[],void 0,u.createToken(39),M.serializeTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$)));vt=xi(vt,mi)}if(yr($)){const mi=u.createPropertyAssignment("paramTypes",u.createArrowFunction(void 0,void 0,[],void 0,u.createToken(39),M.serializeParameterTypesOfNode({currentLexicalScope:oe,currentNameScope:tt},$,tt)));vt=xi(vt,mi)}if(aa($)){const mi=u.createPropertyAssignment("returnType",u.createArrowFunction(void 0,void 0,[],void 0,u.createToken(39),M.serializeReturnTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$)));vt=xi(vt,mi)}if(vt){const mi=s().createMetadataHelper("design:typeinfo",u.createObjectLiteralExpression(vt,!0));return[u.createDecorator(mi)]}}}function Zu($){const tt=$.kind;return tt===174||tt===177||tt===178||tt===172}function aa($){return $.kind===174}function yr($){switch($.kind){case 263:case 231:return X_($)!==void 0;case 174:case 177:case 178:return!0}return!1}function Ba($,tt){const vt=$.name;return ea(vt)?u.createIdentifier(""):Ps(vt)?tt&&!sE(vt.expression)?u.getGeneratedNameForNode(vt):vt.expression:at(vt)?u.createStringLiteral(fu(vt)):u.cloneNode(vt)}function bt($){const tt=$.name;if(Ps(tt)&&(!Kc($)&&ge||o4($)&&T)){const vt=yt(tt.expression,fe,Wt);H.assert(vt);const mi=Np(vt);if(!sE(mi)){const fn=u.getGeneratedNameForNode(tt);return E(fn),u.updateComputedPropertyName(tt,u.createAssignment(fn,vt))}}return H.checkDefined(yt(tt,fe,Sc))}function jn($){if($.token!==119)return rn($,fe,t)}function Ln($){return u.updateExpressionWithTypeArguments($,H.checkDefined(yt($.expression,fe,Df)),void 0)}function Si($){return!Ql($.body)}function Dn($,tt){const vt=$.flags&33554432||Yu($,64);if(vt&&!(T&&o4($)))return;let mi=mr(tt)?vt?kn($.modifiers,Gt,ol):kn($.modifiers,fe,ol):kn($.modifiers,We,ol);return mi=Jn(mi,$,tt),vt?u.updatePropertyDeclaration($,Hi(mi,u.createModifiersFromModifierFlags(128)),H.checkDefined(yt($.name,fe,Sc)),void 0,void 0,void 0):u.updatePropertyDeclaration($,mi,bt($),void 0,void 0,yt($.initializer,fe,Wt))}function Cn($){if(Si($))return u.updateConstructorDeclaration($,void 0,xc($.parameters,fe,t),oa($.body,$))}function tu($,tt,vt,mi,fn,Wu){const uu=mi[fn],Tu=tt[uu];if(yn($,kn(tt,fe,na,vt,uu-vt)),Ck(Tu)){const Nr=[];tu(Nr,Tu.tryBlock.statements,0,mi,fn+1,Wu);const Vu=u.createNodeArray(Nr);Pt(Vu,Tu.tryBlock.statements),$.push(u.updateTryStatement(Tu,u.updateBlock(Tu.tryBlock,Nr),yt(Tu.catchClause,fe,G2),yt(Tu.finallyBlock,fe,po)))}else yn($,kn(tt,fe,na,uu,1)),yn($,Wu);yn($,kn(tt,fe,na,uu+1))}function oa($,tt){const vt=tt&&ti(tt.parameters,Nr=>Mf(Nr,tt));if(!Oe(vt))return Om($,fe,t);let mi=[];f();const fn=u.copyPrologue($.statements,mi,!1,fe),Wu=sQ($.statements,fn),uu=qi(vt,Da);Wu.length?tu(mi,$.statements,fn,Wu,0,uu):(yn(mi,uu),yn(mi,kn($.statements,fe,na,fn))),mi=u.mergeLexicalEnvironment(mi,p());const Tu=u.createBlock(Pt(u.createNodeArray(mi),$.statements),!0);return Pt(Tu,$),su(Tu,$),Tu}function Da($){const tt=$.name;if(!at(tt))return;const vt=ks(Pt(u.cloneNode(tt),tt),tt.parent);Zn(vt,3168);const mi=ks(Pt(u.cloneNode(tt),tt),tt.parent);return Zn(mi,3072),vh(EV(Pt(su(u.createExpressionStatement(u.createAssignment(Pt(u.createPropertyAccessExpression(u.createThis(),vt),$.name),mi)),$),Sv($,-1))))}function ra($,tt){if(!($.transformFlags&1))return $;if(!Si($))return;let vt=mr(tt)?kn($.modifiers,fe,ol):kn($.modifiers,We,ol);return vt=Jn(vt,$,tt),u.updateMethodDeclaration($,vt,$.asteriskToken,bt($),void 0,void 0,xc($.parameters,fe,t),void 0,Om($.body,fe,t))}function Ta($){return!(Ql($.body)&&Yu($,64))}function Yo($,tt){if(!($.transformFlags&1))return $;if(!Ta($))return;let vt=mr(tt)?kn($.modifiers,fe,ol):kn($.modifiers,We,ol);return vt=Jn(vt,$,tt),u.updateGetAccessorDeclaration($,vt,bt($),xc($.parameters,fe,t),void 0,Om($.body,fe,t)||u.createBlock([]))}function bo($,tt){if(!($.transformFlags&1))return $;if(!Ta($))return;let vt=mr(tt)?kn($.modifiers,fe,ol):kn($.modifiers,We,ol);return vt=Jn(vt,$,tt),u.updateSetAccessorDeclaration($,vt,bt($),xc($.parameters,fe,t),Om($.body,fe,t)||u.createBlock([]))}function Qe($){if(!Si($))return u.createNotEmittedStatement($);const tt=u.updateFunctionDeclaration($,kn($.modifiers,Yt,Qo),$.asteriskToken,$.name,void 0,xc($.parameters,fe,t),void 0,Om($.body,fe,t)||u.createBlock([]));if(wo($)){const vt=[tt];return Ul(vt,$),vt}return tt}function Et($){return Si($)?u.updateFunctionExpression($,kn($.modifiers,Yt,Qo),$.asteriskToken,$.name,void 0,xc($.parameters,fe,t),void 0,Om($.body,fe,t)||u.createBlock([])):u.createOmittedExpression()}function Mt($){return u.updateArrowFunction($,kn($.modifiers,Yt,Qo),void 0,xc($.parameters,fe,t),void 0,$.equalsGreaterThanToken,Om($.body,fe,t))}function qt($){if(L2($))return;const tt=u.updateParameterDeclaration($,kn($.modifiers,vt=>g1(vt)?fe(vt):void 0,ol),$.dotDotDotToken,H.checkDefined(yt($.name,fe,qy)),void 0,void 0,yt($.initializer,fe,Wt));return tt!==$&&(Bc(tt,$),Pt(tt,iE($)),As(tt,iE($)),Zn(tt.name,64)),tt}function Xt($){if(wo($)){const tt=DP($.declarationList);return tt.length===0?void 0:Pt(u.createExpressionStatement(u.inlineExpressions(Vt(tt,Pe))),$)}else return rn($,fe,t)}function Pe($){const tt=$.name;return So(tt)?wk($,fe,t,0,!1,hd):Pt(u.createAssignment(vl(tt),H.checkDefined(yt($.initializer,fe,Wt))),$)}function et($){const tt=u.updateVariableDeclaration($,H.checkDefined(yt($.name,fe,qy)),void 0,void 0,yt($.initializer,fe,Wt));return $.type&&Kke(tt.name,$.type),tt}function gt($){const tt=Dc($.expression,-7);if(Yy(tt)){const vt=yt($.expression,fe,Wt);return H.assert(vt),u.createPartiallyEmittedExpression(vt,$)}return rn($,fe,t)}function ii($){const tt=yt($.expression,fe,Wt);return H.assert(tt),u.createPartiallyEmittedExpression(tt,$)}function me($){const tt=yt($.expression,fe,Df);return H.assert(tt),u.createPartiallyEmittedExpression(tt,$)}function ni($){const tt=yt($.expression,fe,Wt);return H.assert(tt),u.createPartiallyEmittedExpression(tt,$)}function vi($){return u.updateCallExpression($,H.checkDefined(yt($.expression,fe,Wt)),void 0,kn($.arguments,fe,Wt))}function mt($){return u.updateNewExpression($,H.checkDefined(yt($.expression,fe,Wt)),void 0,kn($.arguments,fe,Wt))}function Ot($){return u.updateTaggedTemplateExpression($,H.checkDefined(yt($.tag,fe,Wt)),void 0,H.checkDefined(yt($.template,fe,P8)))}function Ei($){return u.updateJsxSelfClosingElement($,H.checkDefined(yt($.tagName,fe,WN)),void 0,H.checkDefined(yt($.attributes,fe,W2)))}function $i($){return u.updateJsxOpeningElement($,H.checkDefined(yt($.tagName,fe,WN)),void 0,H.checkDefined(yt($.attributes,fe,W2)))}function Qi($){return!b2($)||fk(b)}function on($){if(!Qi($))return u.createNotEmittedStatement($);const tt=[];let vt=4;const mi=Ct(tt,$);mi&&(k!==4||oe!==J)&&(vt|=1024);const fn=co($),Wu=Ho($),uu=wo($)?u.getExternalModuleOrNamespaceExportName(Y,$,!1,!0):u.getDeclarationName($,!1,!0);let Tu=u.createLogicalOr(uu,u.createAssignment(uu,u.createObjectLiteralExpression()));if(wo($)){const Vu=u.getLocalName($,!1,!0);Tu=u.createAssignment(Vu,Tu)}const Nr=u.createExpressionStatement(u.createCallExpression(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,fn)],void 0,le($,Wu)),void 0,[Tu]));return su(Nr,$),mi&&(Nv(Nr,void 0),A7(Nr,void 0)),Pt(Nr,$),i_(Nr,vt),tt.push(Nr),tt}function le($,tt){const vt=Y;Y=tt;const mi=[];d();const fn=Vt($.members,te);return ZE(mi,p()),yn(mi,fn),Y=vt,u.createBlock(Pt(u.createNodeArray(mi),$.members),!0)}function te($){const tt=Ba($,!1),vt=we($),mi=u.createAssignment(u.createElementAccessExpression(Y,tt),vt),fn=vt.kind===11?mi:u.createAssignment(u.createElementAccessExpression(Y,mi),tt);return Pt(u.createExpressionStatement(Pt(fn,$)),$)}function we($){const tt=v.getConstantValue($);return tt!==void 0?typeof tt=="string"?u.createStringLiteral(tt):u.createNumericLiteral(tt):(id(),$.initializer?H.checkDefined(yt($.initializer,fe,Wt)):u.createVoidZero())}function de($){const tt=Ua($,_c);return tt?Rde(tt,fk(b)):!0}function je($){se||(se=new Map);const tt=it($);se.has(tt)||se.set(tt,$)}function X($){if(se){const tt=it($);return se.get(tt)===$}return!0}function it($){return H.assertNode($.name,at),$.name.escapedText}function Ct($,tt){const vt=u.createVariableDeclaration(u.getLocalName(tt,!1,!0)),mi=oe.kind===312?0:1,fn=u.createVariableStatement(kn(tt.modifiers,Yt,Qo),u.createVariableDeclarationList([vt],mi));return su(vt,tt),Nv(vt,void 0),A7(vt,void 0),su(fn,tt),je(tt),X(tt)?(tt.kind===266?As(fn.declarationList,tt):As(fn,tt),Bc(fn,tt),i_(fn,2048),$.push(fn),!0):!1}function ct($){if(!de($))return u.createNotEmittedStatement($);H.assertNode($.name,at,"A TypeScript namespace should have an Identifier name."),Y0();const tt=[];let vt=4;const mi=Ct(tt,$);mi&&(k!==4||oe!==J)&&(vt|=1024);const fn=co($),Wu=Ho($),uu=wo($)?u.getExternalModuleOrNamespaceExportName(Y,$,!1,!0):u.getDeclarationName($,!1,!0);let Tu=u.createLogicalOr(uu,u.createAssignment(uu,u.createObjectLiteralExpression()));if(wo($)){const Vu=u.getLocalName($,!1,!0);Tu=u.createAssignment(Vu,Tu)}const Nr=u.createExpressionStatement(u.createCallExpression(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,fn)],void 0,Qt($,Wu)),void 0,[Tu]));return su(Nr,$),mi&&(Nv(Nr,void 0),A7(Nr,void 0)),Pt(Nr,$),i_(Nr,vt),tt.push(Nr),tt}function Qt($,tt){const vt=Y,mi=K,fn=se;Y=tt,K=$,se=void 0;const Wu=[];d();let uu,Tu;if($.body)if($.body.kind===268)Ne($.body,Vu=>yn(Wu,kn(Vu.statements,De,na))),uu=$.body.statements,Tu=$.body;else{const Vu=ct($.body);Vu&&(Ha(Vu)?yn(Wu,Vu):Wu.push(Vu));const Ss=Li($).body;uu=Sv(Ss.statements,-1)}ZE(Wu,p()),Y=vt,K=mi,se=fn;const Nr=u.createBlock(Pt(u.createNodeArray(Wu),uu),!0);return Pt(Nr,Tu),(!$.body||$.body.kind!==268)&&Zn(Nr,bs(Nr)|3072),Nr}function Li($){if($.body.kind===267)return Li($.body)||$.body}function Ui($){if(!$.importClause)return $;if($.importClause.isTypeOnly)return;const tt=yt($.importClause,Sn,n_);return tt||b.importsNotUsedAsValues===1||b.importsNotUsedAsValues===2?u.updateImportDeclaration($,void 0,tt,$.moduleSpecifier,$.attributes):void 0}function Sn($){H.assert(!$.isTypeOnly);const tt=Cc($)?$.name:void 0,vt=yt($.namedBindings,du,i0e);return tt||vt?u.updateImportClause($,!1,tt,vt):void 0}function du($){if($.kind===274)return Cc($)?$:void 0;{const tt=b.verbatimModuleSyntax||b.preserveValueImports&&(b.importsNotUsedAsValues===1||b.importsNotUsedAsValues===2),vt=kn($.elements,Ru,bf);return tt||Oe(vt)?u.updateNamedImports($,vt):void 0}}function Ru($){return!$.isTypeOnly&&Cc($)?$:void 0}function pr($){return b.verbatimModuleSyntax||v.isValueAliasDeclaration($)?rn($,fe,t):void 0}function Xu($){if($.isTypeOnly)return;if(!$.exportClause||u_($.exportClause))return $;const tt=b.verbatimModuleSyntax||!!$.moduleSpecifier&&(b.importsNotUsedAsValues===1||b.importsNotUsedAsValues===2),vt=yt($.exportClause,mi=>ja(mi,tt),Wse);return vt?u.updateExportDeclaration($,void 0,$.isTypeOnly,vt,$.moduleSpecifier,$.attributes):void 0}function ca($,tt){const vt=kn($.elements,wn,eh);return tt||Oe(vt)?u.updateNamedExports($,vt):void 0}function Ku($){return u.updateNamespaceExport($,H.checkDefined(yt($.name,fe,at)))}function ja($,tt){return u_($)?Ku($):ca($,tt)}function wn($){return!$.isTypeOnly&&(b.verbatimModuleSyntax||v.isValueAliasDeclaration($))?$:void 0}function Ir($){return Cc($)||!wc(J)&&v.isTopLevelValueImportEqualsWithEntityName($)}function as($){if($.isTypeOnly)return;if(bv($)){const vt=Cc($);return!vt&&b.importsNotUsedAsValues===1?su(Pt(u.createImportDeclaration(void 0,void 0,$.moduleReference.expression,void 0),$),$):vt?rn($,fe,t):void 0}if(!Ir($))return;const tt=PV(u,$.moduleReference);return Zn(tt,7168),vc($)||!wo($)?su(Pt(u.createVariableStatement(kn($.modifiers,Yt,Qo),u.createVariableDeclarationList([su(u.createVariableDeclaration($.name,void 0,void 0,tt),$)])),$),$):su(wl($.name,tt,$),$)}function wo($){return K!==void 0&&Yu($,32)}function Fn($){return K===void 0&&Yu($,32)}function vc($){return Fn($)&&!Yu($,2048)}function Ya($){return Fn($)&&Yu($,2048)}function c0($){const tt=u.createAssignment(u.getExternalModuleOrNamespaceExportName(Y,$,!1,!0),u.getLocalName($));As(tt,s4($.name?$.name.pos:$.pos,$.end));const vt=u.createExpressionStatement(tt);return As(vt,s4(-1,$.end)),vt}function Ul($,tt){$.push(c0(tt))}function wl($,tt,vt){return Pt(u.createExpressionStatement(u.createAssignment(u.getNamespaceMemberName(Y,$,!1,!0),tt)),vt)}function hd($,tt,vt){return Pt(u.createAssignment(vl($),tt),vt)}function vl($){return u.getNamespaceMemberName(Y,$,!1,!0)}function co($){const tt=u.getGeneratedNameForNode($);return As(tt,$.name),tt}function Ho($){return u.getGeneratedNameForNode($)}function id(){ae&8||(ae|=8,t.enableSubstitution(80))}function Y0(){ae&2||(ae|=2,t.enableSubstitution(80),t.enableSubstitution(304),t.enableEmitNotification(267))}function Ko($){return Wl($).kind===267}function Tc($){return Wl($).kind===266}function Jp($,tt,vt){const mi=Ce,fn=J;la(tt)&&(J=tt),ae&2&&Ko(tt)&&(Ce|=2),ae&8&&Tc(tt)&&(Ce|=8),z($,tt,vt),Ce=mi,J=fn}function Lc($,tt){return tt=j($,tt),$===1?cl(tt):pm(tt)?Il(tt):tt}function Il($){if(ae&2){const tt=$.name,vt=Ri(tt);if(vt){if($.objectAssignmentInitializer){const mi=u.createAssignment(vt,$.objectAssignmentInitializer);return Pt(u.createPropertyAssignment(tt,mi),$)}return Pt(u.createPropertyAssignment(tt,vt),$)}}return $}function cl($){switch($.kind){case 80:return Ka($);case 211:return dl($);case 212:return Uc($)}return $}function Ka($){return Ri($)||$}function Ri($){if(ae&Ce&&!al($)&&!rD($)){const tt=v.getReferencedExportContainer($,!1);if(tt&&tt.kind!==312&&(Ce&2&&tt.kind===267||Ce&8&&tt.kind===266))return Pt(u.createPropertyAccessExpression(u.getGeneratedNameForNode(tt),$),$)}}function dl($){return sf($)}function Uc($){return sf($)}function Ch($){return $.replace(/\*\//g,"*_/")}function sf($){const tt=Q0($);if(tt!==void 0){Vke($,tt);const vt=typeof tt=="string"?u.createStringLiteral(tt):tt<0?u.createPrefixUnaryExpression(41,u.createNumericLiteral(Math.abs(tt))):u.createNumericLiteral(tt);if(!b.removeComments){const mi=Wl($,I0);AZ(vt,3,` ${Ch(Hc(mi))} `)}return vt}return $}function Q0($){if(!mg(b))return Iu($)||U0($)?v.getConstantValue($):void 0}function Cc($){return b.verbatimModuleSyntax||Qn($)||(b.preserveValueImports?v.isValueAliasDeclaration($):v.isReferencedAliasDeclaration($))}}var Het,DMt=o({"src/compiler/transformers/ts.ts"(){Bo(),Het=!1}});function r7e(t){const{factory:u,getEmitHelperFactory:s,hoistVariableDeclaration:d,endLexicalEnvironment:f,startLexicalEnvironment:p,resumeLexicalEnvironment:E,addBlockScopedVariable:v}=t,b=t.getEmitResolver(),B=t.getCompilerOptions(),k=Os(B),T=eV(B),M=!!B.experimentalDecorators,z=!T,j=T&&k<9,J=z||j,K=k<9,Y=k<99?-1:T?0:3,oe=k<9,se=oe&&k>=2,ge=J||K||Y===-1,ae=t.onSubstituteNode;t.onSubstituteNode=Uc;const Ce=t.onEmitNode;t.onEmitNode=dl;let ne=!1,ve,Se,Ne,pe,fe;const xe=new Map,Be=new Set;let Ge,Ae,De=!1,Ke=!1;return Kp(t,Je);function Je($){if($.isDeclarationFile||(fe=void 0,ne=!!(Pp($)&32),!ge&&!ne))return $;const tt=rn($,Ye,t);return iD(tt,t.readEmitHelpers()),tt}function ft($){switch($.kind){case 129:return Cn()?void 0:$;default:return ur($,Qo)}}function Ye($){if(!($.transformFlags&16777216)&&!($.transformFlags&134234112))return $;switch($.kind){case 129:return H.fail("Use `modifierVisitor` instead.");case 263:return Qi($);case 231:return le($);case 175:case 172:return H.fail("Use `classElementVisitor` instead.");case 303:return ht($);case 243:return Ut($);case 260:return Ni($);case 169:return ji($);case 208:return xn($);case 277:return Jn($);case 81:return It($);case 211:return Yo($);case 212:return bo($);case 224:case 225:return Qe($,!1);case 226:return ii($,!1);case 217:return ni($,!1);case 213:return Xt($);case 244:return Mt($);case 215:return Pe($);case 248:return Et($);case 110:return de($);case 262:case 218:return yr(void 0,Ve,$);case 176:case 174:case 177:case 178:return yr($,Ve,$);default:return Ve($)}}function Ve($){return rn($,Ye,t)}function We($){switch($.kind){case 224:case 225:return Qe($,!0);case 226:return ii($,!0);case 361:return me($,!0);case 217:return ni($,!0);default:return Ye($)}}function Gt($){switch($.kind){case 298:return rn($,Gt,t);case 233:return Ei($);default:return Ye($)}}function Yt($){switch($.kind){case 210:case 209:return Ri($);default:return Ye($)}}function Ie($){switch($.kind){case 176:return yr($,Ai,$);case 177:case 178:case 174:return yr($,aa,$);case 172:return yr($,tu,$);case 175:return yr($,we,$);case 167:return Pi($);case 240:return $;default:return ol($)?ft($):Ye($)}}function st($){switch($.kind){case 167:return Pi($);default:return Ye($)}}function St($){switch($.kind){case 172:return Dn($);case 177:case 178:return Ie($);default:H.assertMissingNode($,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration");break}}function It($){return!K||na($.parent)?$:su(u.createIdentifier(""),$)}function ei($){const tt=Ho($.left);if(tt){const vt=yt($.right,Ye,Wt);return su(s().createClassPrivateFieldInHelper(tt.brandCheckIdentifier,vt),$)}return rn($,Ye,t)}function ht($){return If($,gt)&&($=Vf(t,$)),rn($,Ye,t)}function Ut($){const tt=pe;pe=[];const vt=rn($,Ye,t),mi=Oe(pe)?[vt,...pe]:vt;return pe=tt,mi}function Ni($){return If($,gt)&&($=Vf(t,$)),rn($,Ye,t)}function ji($){return If($,gt)&&($=Vf(t,$)),rn($,Ye,t)}function xn($){return If($,gt)&&($=Vf(t,$)),rn($,Ye,t)}function Jn($){return If($,gt)&&($=Vf(t,$,!0,$.isExportEquals?"":"default")),rn($,Ye,t)}function an($){return Oe(Ne)&&(Cf($)?(Ne.push($.expression),$=u.updateParenthesizedExpression($,u.inlineExpressions(Ne))):(Ne.push($),$=u.inlineExpressions(Ne)),Ne=void 0),$}function Pi($){const tt=yt($.expression,Ye,Wt);return u.updateComputedPropertyName($,an(tt))}function Ai($){return Ge?it($,Ge):Ve($)}function Zu($){return!!(K||Kc($)&&Pp($)&32)}function aa($){if(H.assert(!o4($)),!ph($)||!Zu($))return rn($,Ie,t);const tt=Ho($.name);if(H.assert(tt,"Undeclared private name for property declaration."),!tt.isValid)return $;const vt=Ba($);vt&&wo().push(u.createAssignment(vt,u.createFunctionExpression(ti($.modifiers,mi=>Qo(mi)&&!N7(mi)&&!nFe(mi)),$.asteriskToken,vt,void 0,xc($.parameters,Ye,t),void 0,Om($.body,Ye,t))))}function yr($,tt,vt){if($!==Ae){const mi=Ae;Ae=$;const fn=tt(vt);return Ae=mi,fn}return tt(vt)}function Ba($){H.assert(ea($.name));const tt=Ho($.name);if(H.assert(tt,"Undeclared private name for property declaration."),tt.kind==="m")return tt.methodName;if(tt.kind==="a"){if(Lx($))return tt.getterName;if(e5($))return tt.setterName}}function bt(){const $=Ir(),tt=$.classThis??$.classConstructor??(Ge==null?void 0:Ge.name);return H.checkDefined(tt)}function jn($){const tt=nE($),vt=Lv($),mi=$.name;let fn=mi,Wu=mi;if(Ps(mi)&&!sE(mi.expression)){const nd=FY(mi);if(nd)fn=u.updateComputedPropertyName(mi,yt(mi.expression,Ye,Wt)),Wu=u.updateComputedPropertyName(mi,nd.left);else{const S0=u.createTempVariable(d);As(S0,mi.expression);const ud=yt(mi.expression,Ye,Wt),m0=u.createAssignment(S0,ud);As(m0,mi.expression),fn=u.updateComputedPropertyName(mi,m0),Wu=u.updateComputedPropertyName(mi,S0)}}const uu=kn($.modifiers,ft,Qo),Tu=Wce(u,$,uu,$.initializer);su(Tu,$),Zn(Tu,3072),As(Tu,vt);const Nr=No($)?bt():u.createThis(),Vu=jFe(u,$,uu,fn,Nr);su(Vu,$),Bc(Vu,tt),As(Vu,vt);const Ss=u.createModifiersFromModifierFlags(tE(uu)),ic=VFe(u,$,Ss,Wu,Nr);return su(ic,$),Zn(ic,3072),As(ic,vt),dH([Tu,Vu,ic],St,Zd)}function Ln($){if(Zu($)){const tt=Ho($.name);if(H.assert(tt,"Undeclared private name for property declaration."),!tt.isValid)return $;if(tt.isStatic&&!K){const vt=Li($,u.createThis());if(vt)return u.createClassStaticBlockDeclaration(u.createBlock([vt],!0))}return}return z&&!No($)&&(fe!=null&&fe.data)&&fe.data.facts&16?u.updatePropertyDeclaration($,kn($.modifiers,Ye,ol),$.name,void 0,void 0,void 0):(If($,gt)&&($=Vf(t,$)),u.updatePropertyDeclaration($,kn($.modifiers,ft,Qo),yt($.name,st,Sc),void 0,void 0,yt($.initializer,Ye,Wt)))}function Si($){if(J&&!ef($)){const tt=Ku($.name,!!$.initializer||T);if(tt&&wo().push(...HFe(tt)),No($)&&!K){const vt=Li($,u.createThis());if(vt){const mi=u.createClassStaticBlockDeclaration(u.createBlock([vt]));return su(mi,$),Bc(mi,$),Bc(vt,{pos:-1,end:-1}),Nv(vt,void 0),A7(vt,void 0),mi}}return}return u.updatePropertyDeclaration($,kn($.modifiers,ft,Qo),yt($.name,st,Sc),void 0,void 0,yt($.initializer,Ye,Wt))}function Dn($){return H.assert(!o4($),"Decorators should already have been transformed and elided."),ph($)?Ln($):Si($)}function Cn(){return Y===-1||Y===3&&!!(fe!=null&&fe.data)&&!!(fe.data.facts&16)}function tu($){return ef($)&&(Cn()||Kc($)&&Pp($)&32)?jn($):Dn($)}function oa(){return!!Ae&&Kc(Ae)&&wx(Ae)&&ef(Wl(Ae))}function Da($){if(oa()){const tt=Dc($);tt.kind===110&&Be.add(tt)}}function ra($,tt){return tt=yt(tt,Ye,Wt),Da(tt),Ta($,tt)}function Ta($,tt){switch(Bc(tt,Sv(tt,-1)),$.kind){case"a":return s().createClassPrivateFieldGetHelper(tt,$.brandCheckIdentifier,$.kind,$.getterName);case"m":return s().createClassPrivateFieldGetHelper(tt,$.brandCheckIdentifier,$.kind,$.methodName);case"f":return s().createClassPrivateFieldGetHelper(tt,$.brandCheckIdentifier,$.kind,$.isStatic?$.variableName:void 0);case"untransformed":return H.fail("Access helpers should not be created for untransformed private elements");default:H.assertNever($,"Unknown private element type")}}function Yo($){if(ea($.name)){const tt=Ho($.name);if(tt)return Pt(su(ra(tt,$.expression),$),$)}if(se&&Ae&&nf($)&&at($.name)&&DM(Ae)&&(fe!=null&&fe.data)){const{classConstructor:tt,superClassReference:vt,facts:mi}=fe.data;if(mi&1)return ca($);if(tt&&vt){const fn=u.createReflectGetCall(vt,u.createStringLiteralFromNode($.name),tt);return su(fn,$.expression),Pt(fn,$.expression),fn}}return rn($,Ye,t)}function bo($){if(se&&Ae&&nf($)&&DM(Ae)&&(fe!=null&&fe.data)){const{classConstructor:tt,superClassReference:vt,facts:mi}=fe.data;if(mi&1)return ca($);if(tt&&vt){const fn=u.createReflectGetCall(vt,yt($.argumentExpression,Ye,Wt),tt);return su(fn,$.expression),Pt(fn,$.expression),fn}}return rn($,Ye,t)}function Qe($,tt){if($.operator===46||$.operator===47){const vt=l0($.operand);if(T8(vt)){let mi;if(mi=Ho(vt.name)){const fn=yt(vt.expression,Ye,Wt);Da(fn);const{readExpression:Wu,initializeExpression:uu}=qt(fn);let Tu=ra(mi,Wu);const Nr=zv($)||tt?void 0:u.createTempVariable(d);return Tu=DY(u,$,Tu,d,Nr),Tu=vi(mi,uu||Wu,Tu,64),su(Tu,$),Pt(Tu,$),Nr&&(Tu=u.createComma(Tu,Nr),Pt(Tu,$)),Tu}}else if(se&&Ae&&nf(vt)&&DM(Ae)&&(fe!=null&&fe.data)){const{classConstructor:mi,superClassReference:fn,facts:Wu}=fe.data;if(Wu&1){const uu=ca(vt);return zv($)?u.updatePrefixUnaryExpression($,uu):u.updatePostfixUnaryExpression($,uu)}if(mi&&fn){let uu,Tu;if(Iu(vt)?at(vt.name)&&(Tu=uu=u.createStringLiteralFromNode(vt.name)):sE(vt.argumentExpression)?Tu=uu=vt.argumentExpression:(Tu=u.createTempVariable(d),uu=u.createAssignment(Tu,yt(vt.argumentExpression,Ye,Wt))),uu&&Tu){let Nr=u.createReflectGetCall(fn,Tu,mi);Pt(Nr,vt);const Vu=tt?void 0:u.createTempVariable(d);return Nr=DY(u,$,Nr,d,Vu),Nr=u.createReflectSetCall(fn,uu,Nr,mi),su(Nr,$),Pt(Nr,$),Vu&&(Nr=u.createComma(Nr,Vu),Pt(Nr,$)),Nr}}}}return rn($,Ye,t)}function Et($){return u.updateForStatement($,yt($.initializer,We,a4),yt($.condition,Ye,Wt),yt($.incrementor,We,Wt),Ih($.statement,Ye,t))}function Mt($){return u.updateExpressionStatement($,yt($.expression,We,Wt))}function qt($){const tt=sl($)?$:u.cloneNode($);if($.kind===110&&Be.has($)&&Be.add(tt),sE($))return{readExpression:tt,initializeExpression:void 0};const vt=u.createTempVariable(d),mi=u.createAssignment(vt,tt);return{readExpression:vt,initializeExpression:mi}}function Xt($){var tt;if(T8($.expression)&&Ho($.expression.name)){const{thisArg:vt,target:mi}=u.createCallBinding($.expression,d,k);return $y($)?u.updateCallChain($,u.createPropertyAccessChain(yt(mi,Ye,Wt),$.questionDotToken,"call"),void 0,void 0,[yt(vt,Ye,Wt),...kn($.arguments,Ye,Wt)]):u.updateCallExpression($,u.createPropertyAccessExpression(yt(mi,Ye,Wt),"call"),void 0,[yt(vt,Ye,Wt),...kn($.arguments,Ye,Wt)])}if(se&&Ae&&nf($.expression)&&DM(Ae)&&((tt=fe==null?void 0:fe.data)!=null&&tt.classConstructor)){const vt=u.createFunctionCallCall(yt($.expression,Ye,Wt),fe.data.classConstructor,kn($.arguments,Ye,Wt));return su(vt,$),Pt(vt,$),vt}return rn($,Ye,t)}function Pe($){var tt;if(T8($.tag)&&Ho($.tag.name)){const{thisArg:vt,target:mi}=u.createCallBinding($.tag,d,k);return u.updateTaggedTemplateExpression($,u.createCallExpression(u.createPropertyAccessExpression(yt(mi,Ye,Wt),"bind"),void 0,[yt(vt,Ye,Wt)]),void 0,yt($.template,Ye,P8))}if(se&&Ae&&nf($.tag)&&DM(Ae)&&((tt=fe==null?void 0:fe.data)!=null&&tt.classConstructor)){const vt=u.createFunctionBindCall(yt($.tag,Ye,Wt),fe.data.classConstructor,[]);return su(vt,$),Pt(vt,$),u.updateTaggedTemplateExpression($,vt,void 0,yt($.template,Ye,P8))}return rn($,Ye,t)}function et($){if(fe&&xe.set(Wl($),fe),K){if(EM($)){const mi=yt($.body.statements[0].expression,Ye,Wt);return ld(mi,!0)&&mi.left===mi.right?void 0:mi}if(X7($))return yt($.body.statements[0].expression,Ye,Wt);p();let tt=yr($,mi=>kn(mi,Ye,na),$.body.statements);tt=u.mergeLexicalEnvironment(tt,f());const vt=u.createImmediatelyInvokedArrowFunction(tt);return su(l0(vt.expression),$),i_(l0(vt.expression),4),su(vt,$),Pt(vt,$),vt}}function gt($){if(Xd($)&&!$.name){const tt=lQ($);return Oe(tt,X7)?!1:(K||!!Pp($))&&Oe(tt,mi=>zl(mi)||ph(mi)||J&&fH(mi))}return!1}function ii($,tt){if(r5($)){const vt=Ne;Ne=void 0,$=u.updateBinaryExpression($,yt($.left,Yt,Wt),$.operatorToken,yt($.right,Ye,Wt));const mi=Oe(Ne)?u.inlineExpressions(Dr([...Ne,$])):$;return Ne=vt,mi}if(ld($)){If($,gt)&&($=Vf(t,$),H.assertNode($,ld));const vt=Dc($.left,9);if(T8(vt)){const mi=Ho(vt.name);if(mi)return Pt(su(vi(mi,vt.expression,$.right,$.operatorToken.kind),$),$)}else if(se&&Ae&&nf($.left)&&DM(Ae)&&(fe!=null&&fe.data)){const{classConstructor:mi,superClassReference:fn,facts:Wu}=fe.data;if(Wu&1)return u.updateBinaryExpression($,ca($.left),$.operatorToken,yt($.right,Ye,Wt));if(mi&&fn){let uu=U0($.left)?yt($.left.argumentExpression,Ye,Wt):at($.left.name)?u.createStringLiteralFromNode($.left.name):void 0;if(uu){let Tu=yt($.right,Ye,Wt);if(mM($.operatorToken.kind)){let Vu=uu;sE(uu)||(Vu=u.createTempVariable(d),uu=u.createAssignment(Vu,uu));const Ss=u.createReflectGetCall(fn,Vu,mi);su(Ss,$.left),Pt(Ss,$.left),Tu=u.createBinaryExpression(Ss,pM($.operatorToken.kind),Tu),Pt(Tu,$)}const Nr=tt?void 0:u.createTempVariable(d);return Nr&&(Tu=u.createAssignment(Nr,Tu),Pt(Nr,$)),Tu=u.createReflectSetCall(fn,uu,Tu,mi),su(Tu,$),Pt(Tu,$),Nr&&(Tu=u.createComma(Tu,Nr),Pt(Tu,$)),Tu}}}}return yMt($)?ei($):rn($,Ye,t)}function me($,tt){const vt=tt?hH($.elements,We):hH($.elements,Ye,We);return u.updateCommaListExpression($,vt)}function ni($,tt){const vt=tt?We:Ye,mi=yt($.expression,vt,Wt);return u.updateParenthesizedExpression($,mi)}function vi($,tt,vt,mi){if(tt=yt(tt,Ye,Wt),vt=yt(vt,Ye,Wt),Da(tt),mM(mi)){const{readExpression:fn,initializeExpression:Wu}=qt(tt);tt=Wu||fn,vt=u.createBinaryExpression(Ta($,fn),pM(mi),vt)}switch(Bc(tt,Sv(tt,-1)),$.kind){case"a":return s().createClassPrivateFieldSetHelper(tt,$.brandCheckIdentifier,vt,$.kind,$.setterName);case"m":return s().createClassPrivateFieldSetHelper(tt,$.brandCheckIdentifier,vt,$.kind,void 0);case"f":return s().createClassPrivateFieldSetHelper(tt,$.brandCheckIdentifier,vt,$.kind,$.isStatic?$.variableName:void 0);case"untransformed":return H.fail("Access helpers should not be created for untransformed private elements");default:H.assertNever($,"Unknown private element type")}}function mt($){return ti($.members,JAe)}function Ot($){var tt;let vt=0;const mi=Wl($);Wc(mi)&&t5(M,mi)&&(vt|=1),K&&(e1e($)||dQ($))&&(vt|=2);let fn=!1,Wu=!1,uu=!1,Tu=!1;for(const Vu of $.members)No(Vu)?((Vu.name&&(ea(Vu.name)||ef(Vu))&&K||ef(Vu)&&Y===-1&&!$.name&&!((tt=$.emitNode)!=null&&tt.classThis))&&(vt|=2),(ko(Vu)||zl(Vu))&&(oe&&Vu.transformFlags&16384&&(vt|=8,vt&1||(vt|=2)),se&&Vu.transformFlags&134217728&&(vt&1||(vt|=6)))):P2(Wl(Vu))||(ef(Vu)?(Tu=!0,uu||(uu=ph(Vu))):ph(Vu)?(uu=!0,b.getNodeCheckFlags(Vu)&262144&&(vt|=2)):ko(Vu)&&(fn=!0,Wu||(Wu=!!Vu.initializer)));return(j&&fn||z&&Wu||K&&uu||K&&Tu&&Y===-1)&&(vt|=16),vt}function Ei($){var tt;if((((tt=fe==null?void 0:fe.data)==null?void 0:tt.facts)||0)&4){const mi=u.createTempVariable(d,!0);return Ir().superClassReference=mi,u.updateExpressionWithTypeArguments($,u.createAssignment(mi,yt($.expression,Ye,Wt)),void 0)}return rn($,Ye,t)}function $i($,tt){var vt;const mi=Ge,fn=Ne,Wu=fe;Ge=$,Ne=void 0,ja();const uu=Pp($)&32;if(K||uu){const Vu=Za($);if(Vu&&at(Vu))as().data.className=Vu;else if((vt=$.emitNode)!=null&&vt.assignedName&&us($.emitNode.assignedName)){if($.emitNode.assignedName.textSourceNode&&at($.emitNode.assignedName.textSourceNode))as().data.className=$.emitNode.assignedName.textSourceNode;else if(Lm($.emitNode.assignedName.text,k)){const Ss=u.createIdentifier($.emitNode.assignedName.text);as().data.className=Ss}}}if(K){const Vu=mt($);Oe(Vu)&&(as().data.weakSetName=vl("instances",Vu[0].name))}const Tu=Ot($);Tu&&(Ir().facts=Tu),Tu&8&&pr();const Nr=tt($,Tu);return wn(),H.assert(fe===Wu),Ge=mi,Ne=fn,Nr}function Qi($){return $i($,on)}function on($,tt){var vt,mi;let fn;if(tt&2)if(K&&((vt=$.emitNode)!=null&&vt.classThis))Ir().classConstructor=$.emitNode.classThis,fn=u.createAssignment($.emitNode.classThis,u.getInternalName($));else{const m0=u.createTempVariable(d,!0);Ir().classConstructor=u.cloneNode(m0),fn=u.createAssignment(m0,u.getInternalName($))}(mi=$.emitNode)!=null&&mi.classThis&&(Ir().classThis=$.emitNode.classThis);const Wu=b.getNodeCheckFlags($)&262144,uu=Yu($,32),Tu=Yu($,2048);let Nr=kn($.modifiers,ft,Qo);const Vu=kn($.heritageClauses,Gt,mm),{members:Ss,prologue:ic}=je($),nd=[];if(fn&&wo().unshift(fn),Oe(Ne)&&nd.push(u.createExpressionStatement(u.inlineExpressions(Ne))),z||K||Pp($)&32){const m0=lQ($);Oe(m0)&&Qt(nd,m0,u.getInternalName($))}nd.length>0&&uu&&Tu&&(Nr=kn(Nr,m0=>OV(m0)?void 0:m0,Qo),nd.push(u.createExportAssignment(void 0,!1,u.getLocalName($,!1,!0))));const S0=Ir().classConstructor;Wu&&S0&&(Ru(),Se[M1($)]=S0);const ud=u.updateClassDeclaration($,Nr,$.name,void 0,Vu,Ss);return nd.unshift(ud),ic&&nd.unshift(u.createExpressionStatement(ic)),nd}function le($){return $i($,te)}function te($,tt){var vt,mi,fn;const Wu=!!(tt&1),uu=lQ($),Tu=b.getNodeCheckFlags($),Nr=Tu&262144;let Vu;function Ss(){var uh;if(K&&((uh=$.emitNode)!=null&&uh.classThis))return Ir().classConstructor=$.emitNode.classThis;const h4=Tu&32768,D1=u.createTempVariable(h4?v:d,!0);return Ir().classConstructor=u.cloneNode(D1),D1}(vt=$.emitNode)!=null&&vt.classThis&&(Ir().classThis=$.emitNode.classThis),tt&2&&(Vu??(Vu=Ss()));const ic=kn($.modifiers,ft,Qo),nd=kn($.heritageClauses,Gt,mm),{members:S0,prologue:ud}=je($),m0=u.updateClassExpression($,ic,$.name,void 0,nd,S0),Bd=[];if(ud&&Bd.push(ud),(K||Pp($)&32)&&Oe(uu,uh=>zl(uh)||ph(uh)||J&&fH(uh))||Oe(Ne))if(Wu)H.assertIsDefined(pe,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),Oe(Ne)&&yn(pe,Vt(Ne,u.createExpressionStatement)),Oe(uu)&&Qt(pe,uu,((mi=$.emitNode)==null?void 0:mi.classThis)??u.getInternalName($)),Vu?Bd.push(u.createAssignment(Vu,m0)):K&&((fn=$.emitNode)!=null&&fn.classThis)?Bd.push(u.createAssignment($.emitNode.classThis,m0)):Bd.push(m0);else{if(Vu??(Vu=Ss()),Nr){Ru();const uh=u.cloneNode(Vu);uh.emitNode.autoGenerate.flags&=-9,Se[M1($)]=uh}Bd.push(u.createAssignment(Vu,m0)),yn(Bd,Ne),yn(Bd,Ui(uu,Vu)),Bd.push(u.cloneNode(Vu))}else Bd.push(m0);return Bd.length>1&&(i_(m0,131072),Bd.forEach(vh)),u.inlineExpressions(Bd)}function we($){if(!K)return rn($,Ye,t)}function de($){if(oe&&Ae&&zl(Ae)&&(fe!=null&&fe.data)){const{classThis:tt,classConstructor:vt}=fe.data;return tt??vt??$}return $}function je($){const tt=!!(Pp($)&32);if(K||ne){for(const uu of $.members)if(ph(uu))if(Zu(uu))hd(uu,uu.name,Fn);else{const Tu=as();Bk(Tu,uu.name,{kind:"untransformed"})}if(K&&Oe(mt($))&&X(),Cn()){for(const uu of $.members)if(ef(uu)){const Tu=u.getGeneratedPrivateNameForNode(uu.name,void 0,"_accessor_storage");if(K||tt&&Kc(uu))hd(uu,Tu,vc);else{const Nr=as();Bk(Nr,Tu,{kind:"untransformed"})}}}}let vt=kn($.members,Ie,Zd),mi;Oe(vt,hc)||(mi=it(void 0,$));let fn,Wu;if(!K&&Oe(Ne)){let uu=u.createExpressionStatement(u.inlineExpressions(Ne));if(uu.transformFlags&134234112){const Nr=u.createTempVariable(d),Vu=u.createArrowFunction(void 0,void 0,[],void 0,void 0,u.createBlock([uu]));fn=u.createAssignment(Nr,Vu),uu=u.createExpressionStatement(u.createCallExpression(Nr,void 0,[]))}const Tu=u.createBlock([uu]);Wu=u.createClassStaticBlockDeclaration(Tu),Ne=void 0}if(mi||Wu){let uu;const Tu=Le(vt,EM),Nr=Le(vt,X7);uu=xi(uu,Tu),uu=xi(uu,Nr),uu=xi(uu,mi),uu=xi(uu,Wu);const Vu=Tu||Nr?ti(vt,Ss=>Ss!==Tu&&Ss!==Nr):vt;uu=yn(uu,Vu),vt=Pt(u.createNodeArray(uu),$.members)}return{members:vt,prologue:fn}}function X(){const{weakSetName:$}=as().data;H.assert($,"weakSetName should be set in private identifier environment"),wo().push(u.createAssignment($,u.createNewExpression(u.createIdentifier("WeakSet"),void 0,[])))}function it($,tt){if($=yt($,Ye,hc),!(fe!=null&&fe.data)||!(fe.data.facts&16))return $;const vt=Qg(tt),mi=!!(vt&&Dc(vt.expression).kind!==106),fn=xc($?$.parameters:void 0,Ye,t),Wu=ct(tt,$,mi);return Wu?$?(H.assert(fn),u.updateConstructorDeclaration($,void 0,fn,Wu)):vh(su(Pt(u.createConstructorDeclaration(void 0,fn??[],Wu),$||tt),$)):$}function Ct($,tt,vt,mi,fn,Wu,uu){const Tu=mi[fn],Nr=tt[Tu];if(yn($,kn(tt,Ye,na,vt,Tu-vt)),vt=Tu+1,Ck(Nr)){const Vu=[];Ct(Vu,Nr.tryBlock.statements,0,mi,fn+1,Wu,uu);const Ss=u.createNodeArray(Vu);Pt(Ss,Nr.tryBlock.statements),$.push(u.updateTryStatement(Nr,u.updateBlock(Nr.tryBlock,Vu),yt(Nr.catchClause,Ye,G2),yt(Nr.finallyBlock,Ye,po)))}else{for(yn($,kn(tt,Ye,na,Tu,1));vt!!S0.initializer||ea(S0.name)||eE(S0)));const Wu=mt($),uu=Oe(fn)||Oe(Wu);if(!tt&&!uu)return Om(void 0,Ye,t);E();const Tu=!tt&&vt;let Nr=0,Vu=[];const Ss=[],ic=u.createThis();if(Xu(Ss,Wu,ic),tt){const S0=ti(mi,m0=>Mf(Wl(m0),tt)),ud=ti(fn,m0=>!Mf(Wl(m0),tt));Qt(Ss,S0,ic),Qt(Ss,ud,ic)}else Qt(Ss,fn,ic);if(tt!=null&&tt.body){Nr=u.copyPrologue(tt.body.statements,Vu,!1,Ye);const S0=sQ(tt.body.statements,Nr);if(S0.length)Ct(Vu,tt.body.statements,Nr,S0,0,Ss,tt);else{for(;Nr=Vu.length?tt.body.multiLine??Vu.length>0:Vu.length>0;return Pt(u.createBlock(Pt(u.createNodeArray(Vu),tt?tt.body.statements:$.members),nd),tt?tt.body:void 0)}function Qt($,tt,vt){for(const mi of tt){if(No(mi)&&!K)continue;const fn=Li(mi,vt);fn&&$.push(fn)}}function Li($,tt){const vt=zl($)?yr($,et,$):Sn($,tt);if(!vt)return;const mi=u.createExpressionStatement(vt);su(mi,$),i_(mi,bs($)&3072),Bc(mi,$);const fn=Wl($);return io(fn)?(As(mi,fn),EV(mi)):As(mi,iE($)),Nv(vt,void 0),A7(vt,void 0),eE(fn)&&i_(mi,3072),mi}function Ui($,tt){const vt=[];for(const mi of $){const fn=zl(mi)?yr(mi,et,mi):yr(mi,()=>Sn(mi,tt),void 0);fn&&(vh(fn),su(fn,mi),i_(fn,bs(mi)&3072),As(fn,iE(mi)),Bc(fn,mi),vt.push(fn))}return vt}function Sn($,tt){var vt;const mi=Ae,fn=du($,tt);return fn&&Kc($)&&((vt=fe==null?void 0:fe.data)!=null&&vt.facts)&&(su(fn,$),i_(fn,4),As(fn,Lv($.name)),xe.set(Wl($),fe)),Ae=mi,fn}function du($,tt){const vt=!T;If($,gt)&&($=Vf(t,$));const mi=eE($)?u.getGeneratedPrivateNameForNode($.name):Ps($.name)&&!sE($.name.expression)?u.updateComputedPropertyName($.name,u.getGeneratedNameForNode($.name)):$.name;if(Kc($)&&(Ae=$),ea(mi)&&Zu($)){const uu=Ho(mi);if(uu)return uu.kind==="f"?uu.isStatic?xMt(u,uu.variableName,yt($.initializer,Ye,Wt)):vMt(u,tt,yt($.initializer,Ye,Wt),uu.brandCheckIdentifier):void 0;H.fail("Undeclared private name for property declaration.")}if((ea(mi)||Kc($))&&!$.initializer)return;const fn=Wl($);if(Yu(fn,64))return;let Wu=yt($.initializer,Ye,Wt);if(Mf(fn,fn.parent)&&at(mi)){const uu=u.cloneNode(mi);Wu?(Cf(Wu)&&MV(Wu.expression)&&jP(Wu.expression.left,"___runInitializers")&&R7(Wu.expression.right)&&Of(Wu.expression.right.expression)&&(Wu=Wu.expression.left),Wu=u.inlineExpressions([Wu,uu])):Wu=uu,Zn(mi,3168),As(uu,fn.name),Zn(uu,3072)}else Wu??(Wu=u.createVoidZero());if(vt||ea(mi)){const uu=Fk(u,tt,mi,mi);return i_(uu,1024),u.createAssignment(uu,Wu)}else{const uu=Ps(mi)?mi.expression:at(mi)?u.createStringLiteral(Qr(mi.escapedText)):mi,Tu=u.createPropertyDescriptor({value:Wu,configurable:!0,writable:!0,enumerable:!0});return u.createObjectDefinePropertyCall(tt,uu,Tu)}}function Ru(){ve&1||(ve|=1,t.enableSubstitution(80),Se=[])}function pr(){ve&2||(ve|=2,t.enableSubstitution(110),t.enableEmitNotification(262),t.enableEmitNotification(218),t.enableEmitNotification(176),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(174),t.enableEmitNotification(172),t.enableEmitNotification(167))}function Xu($,tt,vt){if(!K||!Oe(tt))return;const{weakSetName:mi}=as().data;H.assert(mi,"weakSetName should be set in private identifier environment"),$.push(u.createExpressionStatement(CMt(u,vt,mi)))}function ca($){return Iu($)?u.updatePropertyAccessExpression($,u.createVoidZero(),$.name):u.updateElementAccessExpression($,u.createVoidZero(),yt($.argumentExpression,Ye,Wt))}function Ku($,tt){if(Ps($)){const vt=FY($),mi=yt($.expression,Ye,Wt),fn=Np(mi),Wu=sE(fn);if(!(!!vt||ld(fn)&&al(fn.left))&&!Wu&&tt){const Tu=u.getGeneratedNameForNode($);return b.getNodeCheckFlags($)&32768?v(Tu):d(Tu),u.createAssignment(Tu,mi)}return Wu||at(fn)?void 0:mi}}function ja(){fe={previous:fe,data:void 0}}function wn(){fe=fe==null?void 0:fe.previous}function Ir(){return H.assert(fe),fe.data??(fe.data={facts:0,classConstructor:void 0,classThis:void 0,superClassReference:void 0})}function as(){return H.assert(fe),fe.privateEnv??(fe.privateEnv=qAe({className:void 0,weakSetName:void 0}))}function wo(){return Ne??(Ne=[])}function Fn($,tt,vt,mi,fn,Wu,uu){ef($)?wl($,tt,vt,mi,fn,Wu):ko($)?vc($,tt,vt,mi,fn,Wu):dc($)?Ya($,tt,vt,mi,fn,Wu):zm($)?c0($,tt,vt,mi,fn,Wu,uu):jf($)&&Ul($,tt,vt,mi,fn,Wu,uu)}function vc($,tt,vt,mi,fn,Wu,uu){if(fn){const Tu=H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"),Nr=co(tt);Bk(mi,tt,{kind:"f",isStatic:!0,brandCheckIdentifier:Tu,variableName:Nr,isValid:Wu})}else{const Tu=co(tt);Bk(mi,tt,{kind:"f",isStatic:!1,brandCheckIdentifier:Tu,isValid:Wu}),wo().push(u.createAssignment(Tu,u.createNewExpression(u.createIdentifier("WeakMap"),void 0,[])))}}function Ya($,tt,vt,mi,fn,Wu,uu){const Tu=co(tt),Nr=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(mi.data.weakSetName,"weakSetName should be set in private identifier environment");Bk(mi,tt,{kind:"m",methodName:Tu,brandCheckIdentifier:Nr,isStatic:fn,isValid:Wu})}function c0($,tt,vt,mi,fn,Wu,uu){const Tu=co(tt,"_get"),Nr=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(mi.data.weakSetName,"weakSetName should be set in private identifier environment");(uu==null?void 0:uu.kind)==="a"&&uu.isStatic===fn&&!uu.getterName?uu.getterName=Tu:Bk(mi,tt,{kind:"a",getterName:Tu,setterName:void 0,brandCheckIdentifier:Nr,isStatic:fn,isValid:Wu})}function Ul($,tt,vt,mi,fn,Wu,uu){const Tu=co(tt,"_set"),Nr=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(mi.data.weakSetName,"weakSetName should be set in private identifier environment");(uu==null?void 0:uu.kind)==="a"&&uu.isStatic===fn&&!uu.setterName?uu.setterName=Tu:Bk(mi,tt,{kind:"a",getterName:void 0,setterName:Tu,brandCheckIdentifier:Nr,isStatic:fn,isValid:Wu})}function wl($,tt,vt,mi,fn,Wu,uu){const Tu=co(tt,"_get"),Nr=co(tt,"_set"),Vu=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(mi.data.weakSetName,"weakSetName should be set in private identifier environment");Bk(mi,tt,{kind:"a",getterName:Tu,setterName:Nr,brandCheckIdentifier:Vu,isStatic:fn,isValid:Wu})}function hd($,tt,vt){const mi=Ir(),fn=as(),Wu=Yde(fn,tt),uu=Kc($),Tu=!bMt(tt)&&Wu===void 0;vt($,tt,mi,fn,uu,Tu,Wu)}function vl($,tt,vt){const{className:mi}=as().data,fn=mi?{prefix:"_",node:mi,suffix:"_"}:"_",Wu=typeof $=="object"?u.getGeneratedNameForNode($,24,fn,vt):typeof $=="string"?u.createUniqueName($,16,fn,vt):u.createTempVariable(void 0,!0,fn,vt);return b.getNodeCheckFlags(tt)&32768?v(Wu):d(Wu),Wu}function co($,tt){const vt=UN($);return vl((vt==null?void 0:vt.substring(1))??$,$,tt)}function Ho($){const tt=ZAe(fe,$);return(tt==null?void 0:tt.kind)==="untransformed"?void 0:tt}function id($){const tt=u.getGeneratedNameForNode($),vt=Ho($.name);if(!vt)return rn($,Ye,t);let mi=$.expression;return(mj($)||nf($)||!Y2($.expression))&&(mi=u.createTempVariable(d,!0),wo().push(u.createBinaryExpression(mi,64,yt($.expression,Ye,Wt)))),u.createAssignmentTargetWrapper(tt,vi(vt,mi,tt,64))}function Y0($){if(ys($)||Dh($))return Ri($);if(T8($))return id($);if(se&&Ae&&nf($)&&DM(Ae)&&(fe!=null&&fe.data)){const{classConstructor:tt,superClassReference:vt,facts:mi}=fe.data;if(mi&1)return ca($);if(tt&&vt){const fn=U0($)?yt($.argumentExpression,Ye,Wt):at($.name)?u.createStringLiteralFromNode($.name):void 0;if(fn){const Wu=u.createTempVariable(void 0);return u.createAssignmentTargetWrapper(Wu,u.createReflectSetCall(vt,fn,Wu,tt))}}}return rn($,Ye,t)}function Ko($){if(If($,gt)&&($=Vf(t,$)),ld($,!0)){const tt=Y0($.left),vt=yt($.right,Ye,Wt);return u.updateBinaryExpression($,tt,$.operatorToken,vt)}return Y0($)}function Tc($){if(Df($.expression)){const tt=Y0($.expression);return u.updateSpreadElement($,tt)}return rn($,Ye,t)}function Jp($){if(ZO($)){if(uE($))return Tc($);if(!Fd($))return Ko($)}return rn($,Ye,t)}function Lc($){const tt=yt($.name,Ye,Sc);if(ld($.initializer,!0)){const vt=Ko($.initializer);return u.updatePropertyAssignment($,tt,vt)}if(Df($.initializer)){const vt=Y0($.initializer);return u.updatePropertyAssignment($,tt,vt)}return rn($,Ye,t)}function Il($){return If($,gt)&&($=Vf(t,$)),rn($,Ye,t)}function cl($){if(Df($.expression)){const tt=Y0($.expression);return u.updateSpreadAssignment($,tt)}return rn($,Ye,t)}function Ka($){return H.assertNode($,qO),d5($)?cl($):pm($)?Il($):Jc($)?Lc($):rn($,Ye,t)}function Ri($){return Dh($)?u.updateArrayLiteralExpression($,kn($.elements,Jp,Wt)):u.updateObjectLiteralExpression($,kn($.properties,Ka,Z3))}function dl($,tt,vt){const mi=Wl(tt),fn=xe.get(mi);if(fn){const Wu=fe,uu=Ke;fe=fn,Ke=De,De=!zl(mi)||!(Pp(mi)&32),Ce($,tt,vt),De=Ke,Ke=uu,fe=Wu;return}switch(tt.kind){case 218:if(q0(mi)||bs(tt)&524288)break;case 262:case 176:case 177:case 178:case 174:case 172:{const Wu=fe,uu=Ke;fe=void 0,Ke=De,De=!1,Ce($,tt,vt),De=Ke,Ke=uu,fe=Wu;return}case 167:{const Wu=fe,uu=De;fe=fe==null?void 0:fe.previous,De=Ke,Ce($,tt,vt),De=uu,fe=Wu;return}}Ce($,tt,vt)}function Uc($,tt){return tt=ae($,tt),$===1?Ch(tt):tt}function Ch($){switch($.kind){case 80:return Q0($);case 110:return sf($)}return $}function sf($){if(ve&2&&(fe!=null&&fe.data)&&!Be.has($)){const{facts:tt,classConstructor:vt,classThis:mi}=fe.data,fn=De?mi??vt:vt;if(fn)return Pt(su(u.cloneNode(fn),$),$);if(tt&1&&M)return u.createParenthesizedExpression(u.createVoidZero())}return $}function Q0($){return Cc($)||$}function Cc($){if(ve&1&&b.getNodeCheckFlags($)&536870912){const tt=b.getReferencedValueDeclaration($);if(tt){const vt=Se[tt.id];if(vt){const mi=u.cloneNode(vt);return As(mi,$),Bc(mi,$),mi}}}}}function xMt(t,u,s){return t.createAssignment(u,t.createObjectLiteralExpression([t.createPropertyAssignment("value",s||t.createVoidZero())]))}function vMt(t,u,s,d){return t.createCallExpression(t.createPropertyAccessExpression(d,"set"),void 0,[u,s||t.createVoidZero()])}function CMt(t,u,s){return t.createCallExpression(t.createPropertyAccessExpression(s,"add"),void 0,[u])}function bMt(t){return!Uy(t)&&t.escapedText==="#constructor"}function yMt(t){return ea(t.left)&&t.operatorToken.kind===103}function kMt(t){return ko(t)&&Kc(t)}function DM(t){return zl(t)||kMt(t)}var FMt=o({"src/compiler/transformers/classFields.ts"(){Bo()}});function a7e(t){const{factory:u,hoistVariableDeclaration:s}=t,d=t.getEmitResolver(),f=t.getCompilerOptions(),p=Os(f),E=Z4(f,"strictNullChecks");let v,b;return{serializeTypeNode:(Ne,pe)=>B(Ne,J,pe),serializeTypeOfNode:(Ne,pe)=>B(Ne,T,pe),serializeParameterTypesOfNode:(Ne,pe,fe)=>B(Ne,M,pe,fe),serializeReturnTypeOfNode:(Ne,pe)=>B(Ne,j,pe)};function B(Ne,pe,fe,xe){const Be=v,Ge=b;v=Ne.currentLexicalScope,b=Ne.currentNameScope;const Ae=xe===void 0?pe(fe):pe(fe,xe);return v=Be,b=Ge,Ae}function k(Ne){const pe=d.getAllAccessorDeclarations(Ne);return pe.setAccessor&&vye(pe.setAccessor)||pe.getAccessor&&U4(pe.getAccessor)}function T(Ne){switch(Ne.kind){case 172:case 169:return J(Ne.type);case 178:case 177:return J(k(Ne));case 263:case 231:case 174:return u.createIdentifier("Function");default:return u.createVoidZero()}}function M(Ne,pe){const fe=mr(Ne)?X_(Ne):Co(Ne)&&H4(Ne.body)?Ne:void 0,xe=[];if(fe){const Be=z(fe,pe),Ge=Be.length;for(let Ae=0;AeBe.parent&&FB(Be.parent)&&(Be.parent.trueType===Be||Be.parent.falseType===Be)))return u.createIdentifier("Object");const fe=ae(Ne.typeName),xe=u.createTempVariable(s);return u.createConditionalExpression(u.createTypeCheck(u.createAssignment(xe,fe),"function"),void 0,xe,void 0,u.createIdentifier("Object"));case 1:return Ce(Ne.typeName);case 2:return u.createVoidZero();case 4:return Se("BigInt",7);case 6:return u.createIdentifier("Boolean");case 3:return u.createIdentifier("Number");case 5:return u.createIdentifier("String");case 7:return u.createIdentifier("Array");case 8:return Se("Symbol",2);case 10:return u.createIdentifier("Function");case 9:return u.createIdentifier("Promise");case 11:return u.createIdentifier("Object");default:return H.assertNever(pe)}}function ge(Ne,pe){return u.createLogicalAnd(u.createStrictInequality(u.createTypeOfExpression(Ne),u.createStringLiteral("undefined")),pe)}function ae(Ne){if(Ne.kind===80){const xe=Ce(Ne);return ge(xe,xe)}if(Ne.left.kind===80)return ge(Ce(Ne.left),Ce(Ne));const pe=ae(Ne.left),fe=u.createTempVariable(s);return u.createLogicalAnd(u.createLogicalAnd(pe.left,u.createStrictInequality(u.createAssignment(fe,pe.right),u.createVoidZero())),u.createPropertyAccessExpression(fe,Ne.right))}function Ce(Ne){switch(Ne.kind){case 80:const pe=ks(Pt(a_.cloneNode(Ne),Ne),Ne.parent);return pe.original=void 0,ks(pe,Ua(v)),pe;case 166:return ne(Ne)}}function ne(Ne){return u.createPropertyAccessExpression(Ce(Ne.left),Ne.right)}function ve(Ne){return u.createConditionalExpression(u.createTypeCheck(u.createIdentifier(Ne),"function"),void 0,u.createIdentifier(Ne),void 0,u.createIdentifier("Object"))}function Se(Ne,pe){return pOV(Cn)||g1(Cn)?void 0:Cn,ol),Jn=iE(ht),an=Gt(ht),Pi=E<2?u.getInternalName(ht,!1,!0):u.getLocalName(ht,!1,!0),Ai=kn(ht.heritageClauses,T,mm);let Zu=kn(ht.members,T,Zd),aa=[];({members:Zu,decorationStatements:aa}=K(ht,Zu));const yr=E>=9&&!!an&&Oe(Zu,Cn=>ko(Cn)&&Yu(Cn,256)||zl(Cn));yr&&(Zu=Pt(u.createNodeArray([u.createClassStaticBlockDeclaration(u.createBlock([u.createExpressionStatement(u.createAssignment(an,u.createThis()))])),...Zu]),Zu));const Ba=u.createClassExpression(xn,Ut&&al(Ut)?void 0:Ut,void 0,Ai,Zu);su(Ba,ht),Pt(Ba,Jn);const bt=an&&!yr?u.createAssignment(an,Ba):Ba,jn=u.createVariableDeclaration(Pi,void 0,void 0,bt);su(jn,ht);const Ln=u.createVariableDeclarationList([jn],1),Si=u.createVariableStatement(void 0,Ln);su(Si,ht),Pt(Si,Jn),Bc(Si,ht);const Dn=[Si];if(yn(Dn,aa),Ke(Dn,ht),Ni)if(ji){const Cn=u.createExportDefault(Pi);Dn.push(Cn)}else{const Cn=u.createExternalModuleExport(u.getDeclarationName(ht));Dn.push(Cn)}return Dn}function se(ht){return u.updateClassExpression(ht,kn(ht.modifiers,k,Qo),ht.name,void 0,kn(ht.heritageClauses,T,mm),kn(ht.members,T,Zd))}function ge(ht){return u.updateConstructorDeclaration(ht,kn(ht.modifiers,k,Qo),kn(ht.parameters,T,io),yt(ht.body,T,po))}function ae(ht,Ut){return ht!==Ut&&(Bc(ht,Ut),As(ht,iE(Ut))),ht}function Ce(ht){return ae(u.updateMethodDeclaration(ht,kn(ht.modifiers,k,Qo),ht.asteriskToken,H.checkDefined(yt(ht.name,T,Sc)),void 0,void 0,kn(ht.parameters,T,io),void 0,yt(ht.body,T,po)),ht)}function ne(ht){return ae(u.updateGetAccessorDeclaration(ht,kn(ht.modifiers,k,Qo),H.checkDefined(yt(ht.name,T,Sc)),kn(ht.parameters,T,io),void 0,yt(ht.body,T,po)),ht)}function ve(ht){return ae(u.updateSetAccessorDeclaration(ht,kn(ht.modifiers,k,Qo),H.checkDefined(yt(ht.name,T,Sc)),kn(ht.parameters,T,io),yt(ht.body,T,po)),ht)}function Se(ht){if(!(ht.flags&33554432||Yu(ht,128)))return ae(u.updatePropertyDeclaration(ht,kn(ht.modifiers,k,Qo),H.checkDefined(yt(ht.name,T,Sc)),void 0,void 0,yt(ht.initializer,T,Wt)),ht)}function Ne(ht){const Ut=u.updateParameterDeclaration(ht,OFe(u,ht.modifiers),ht.dotDotDotToken,H.checkDefined(yt(ht.name,T,qy)),void 0,void 0,yt(ht.initializer,T,Wt));return Ut!==ht&&(Bc(Ut,ht),Pt(Ut,iE(ht)),As(Ut,iE(ht)),Zn(Ut.name,64)),Ut}function pe(ht){return jP(ht.expression,"___metadata")}function fe(ht){if(!ht)return;const{false:Ut,true:Ni}=JCe(ht.decorators,pe),ji=[];return yn(ji,Vt(Ut,ft)),yn(ji,ju(ht.parameters,Ye)),yn(ji,Vt(Ni,ft)),ji}function xe(ht,Ut,Ni){yn(ht,Vt(Ae(Ut,Ni),ji=>u.createExpressionStatement(ji)))}function Be(ht,Ut,Ni){return gj(!0,ht,Ni)&&Ut===No(ht)}function Ge(ht,Ut){return ti(ht.members,Ni=>Be(Ni,Ut,ht))}function Ae(ht,Ut){const Ni=Ge(ht,Ut);let ji;for(const xn of Ni)ji=xi(ji,De(ht,xn));return ji}function De(ht,Ut){const Ni=cQ(Ut,ht,!0),ji=fe(Ni);if(!ji)return;const xn=Ie(ht,Ut),Jn=Ve(Ut,!Yu(Ut,128)),an=E>0?ko(Ut)&&!eE(Ut)?u.createVoidZero():u.createNull():void 0,Pi=s().createDecorateHelper(ji,xn,Jn,an);return Zn(Pi,3072),As(Pi,iE(Ut)),Pi}function Ke(ht,Ut){const Ni=Je(Ut);Ni&&ht.push(su(u.createExpressionStatement(Ni),Ut))}function Je(ht){const Ut=Zde(ht),Ni=fe(Ut);if(!Ni)return;const ji=b&&b[M1(ht)],xn=E<2?u.getInternalName(ht,!1,!0):u.getDeclarationName(ht,!1,!0),Jn=s().createDecorateHelper(Ni,xn),an=u.createAssignment(xn,ji?u.createAssignment(ji,Jn):Jn);return Zn(an,3072),As(an,iE(ht)),an}function ft(ht){return H.checkDefined(yt(ht.expression,T,Wt))}function Ye(ht,Ut){let Ni;if(ht){Ni=[];for(const ji of ht){const xn=s().createParamHelper(ft(ji),Ut);Pt(xn,ji.expression),Zn(xn,3072),Ni.push(xn)}}return Ni}function Ve(ht,Ut){const Ni=ht.name;return ea(Ni)?u.createIdentifier(""):Ps(Ni)?Ut&&!sE(Ni.expression)?u.getGeneratedNameForNode(Ni):Ni.expression:at(Ni)?u.createStringLiteral(fu(Ni)):u.cloneNode(Ni)}function We(){b||(t.enableSubstitution(80),b=[])}function Gt(ht){if(f.getNodeCheckFlags(ht)&262144){We();const Ut=u.createUniqueName(ht.name&&!al(ht.name)?fu(ht.name):"default");return b[M1(ht)]=Ut,d(Ut),Ut}}function Yt(ht){return u.createPropertyAccessExpression(u.getDeclarationName(ht),"prototype")}function Ie(ht,Ut){return No(Ut)?u.getDeclarationName(ht):Yt(ht)}function st(ht,Ut){return Ut=v(ht,Ut),ht===1?St(Ut):Ut}function St(ht){switch(ht.kind){case 80:return It(ht)}return ht}function It(ht){return ei(ht)??ht}function ei(ht){if(b&&f.getNodeCheckFlags(ht)&536870912){const Ut=f.getReferencedValueDeclaration(ht);if(Ut){const Ni=b[Ut.id];if(Ni){const ji=u.cloneNode(Ni);return As(ji,ht),Bc(ji,ht),ji}}}}}var SMt=o({"src/compiler/transformers/legacyDecorators.ts"(){Bo()}});function s7e(t){const{factory:u,getEmitHelperFactory:s,startLexicalEnvironment:d,endLexicalEnvironment:f,hoistVariableDeclaration:p}=t,E=Os(t.getCompilerOptions());let v,b,B,k,T,M;return Kp(t,z);function z(te){v=void 0,M=!1;const we=rn(te,ve,t);return iD(we,t.readEmitHelpers()),M&&(F7(we,32),M=!1),we}function j(){switch(b=void 0,B=void 0,k=void 0,v==null?void 0:v.kind){case"class":b=v.classInfo;break;case"class-element":b=v.next.classInfo,B=v.classThis,k=v.classSuper;break;case"name":const te=v.next.next.next;(te==null?void 0:te.kind)==="class-element"&&(b=te.next.classInfo,B=te.classThis,k=te.classSuper);break}}function J(te){v={kind:"class",next:v,classInfo:te,savedPendingExpressions:T},T=void 0,j()}function K(){H.assert((v==null?void 0:v.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${v==null?void 0:v.kind}' instead.`),T=v.savedPendingExpressions,v=v.next,j()}function Y(te){var we,de;H.assert((v==null?void 0:v.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${v==null?void 0:v.kind}' instead.`),v={kind:"class-element",next:v},(zl(te)||ko(te)&&Kc(te))&&(v.classThis=(we=v.next.classInfo)==null?void 0:we.classThis,v.classSuper=(de=v.next.classInfo)==null?void 0:de.classSuper),j()}function oe(){var te;H.assert((v==null?void 0:v.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${v==null?void 0:v.kind}' instead.`),H.assert(((te=v.next)==null?void 0:te.kind)==="class","Incorrect value for top.next.kind.",()=>{var we;return`Expected top.next.kind to be 'class' but got '${(we=v.next)==null?void 0:we.kind}' instead.`}),v=v.next,j()}function se(){H.assert((v==null?void 0:v.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${v==null?void 0:v.kind}' instead.`),v={kind:"name",next:v},j()}function ge(){H.assert((v==null?void 0:v.kind)==="name","Incorrect value for top.kind.",()=>`Expected top.kind to be 'name' but got '${v==null?void 0:v.kind}' instead.`),v=v.next,j()}function ae(){(v==null?void 0:v.kind)==="other"?(H.assert(!T),v.depth++):(v={kind:"other",next:v,depth:0,savedPendingExpressions:T},T=void 0,j())}function Ce(){H.assert((v==null?void 0:v.kind)==="other","Incorrect value for top.kind.",()=>`Expected top.kind to be 'other' but got '${v==null?void 0:v.kind}' instead.`),v.depth>0?(H.assert(!T),v.depth--):(T=v.savedPendingExpressions,v=v.next,j())}function ne(te){return!!(te.transformFlags&33554432)||!!B&&!!(te.transformFlags&16384)||!!B&&!!k&&!!(te.transformFlags&134217728)}function ve(te){if(!ne(te))return te;switch(te.kind){case 170:return H.fail("Use `modifierVisitor` instead.");case 263:return Je(te);case 231:return ft(te);case 176:case 172:case 175:return H.fail("Not supported outside of a class. Use 'classElementVisitor' instead.");case 169:return Jn(te);case 226:return aa(te,!1);case 303:return Si(te);case 260:return Dn(te);case 208:return Cn(te);case 277:return Mt(te);case 110:return ht(te);case 248:return Ai(te);case 244:return Zu(te);case 361:return Ba(te,!1);case 217:return qt(te,!1);case 360:return Xt(te,!1);case 213:return Ut(te);case 215:return Ni(te);case 224:case 225:return yr(te,!1);case 211:return ji(te);case 212:return xn(te);case 167:return Ln(te);case 174:case 178:case 177:case 218:case 262:{ae();const we=rn(te,Se,t);return Ce(),we}default:return rn(te,Se,t)}}function Se(te){switch(te.kind){case 170:return;default:return ve(te)}}function Ne(te){switch(te.kind){case 170:return;default:return te}}function pe(te){switch(te.kind){case 176:return We(te);case 174:return Ie(te);case 177:return st(te);case 178:return St(te);case 172:return ei(te);case 175:return It(te);default:return ve(te)}}function fe(te){switch(te.kind){case 224:case 225:return yr(te,!0);case 226:return aa(te,!0);case 361:return Ba(te,!0);case 217:return qt(te,!0);default:return ve(te)}}function xe(te){let we=te.name&&at(te.name)&&!al(te.name)?fu(te.name):te.name&&ea(te.name)&&!al(te.name)?fu(te.name).slice(1):te.name&&us(te.name)&&Lm(te.name.text,99)?te.name.text:mr(te)?"class":"member";return Lx(te)&&(we=`get_${we}`),e5(te)&&(we=`set_${we}`),te.name&&ea(te.name)&&(we=`private_${we}`),No(te)&&(we=`static_${we}`),"_"+we}function Be(te,we){return u.createUniqueName(`${xe(te)}_${we}`,24)}function Ge(te,we){return u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(te,void 0,void 0,we)],1))}function Ae(te){const we=u.createUniqueName("_metadata",48);let de,je,X=!1,it=!1,Ct=!1;for(const ct of te.members)if(nbe(ct)&&gj(!1,ct,te)&&(Kc(ct)?je??(je=u.createUniqueName("_staticExtraInitializers",48)):de??(de=u.createUniqueName("_instanceExtraInitializers",48))),zl(ct)?X7(ct)||(X=!0):ko(ct)&&(Kc(ct)?X||(X=!!ct.initializer||o4(ct)):it||(it=!_0e(ct))),(ph(ct)||ef(ct))&&Kc(ct)&&(Ct=!0),je&&de&&X&&it&&Ct)break;return{class:te,metadataReference:we,instanceExtraInitializersName:de,staticExtraInitializersName:je,hasStaticInitializers:X,hasNonAmbientInstanceFields:it,hasStaticPrivateClassElements:Ct}}function De(te){d(),!t1e(te)&&t5(!1,te)&&(te=hQ(t,te,u.createStringLiteral("")));const we=u.getLocalName(te,!1,!1,!0),de=Ae(te),je=[];let X,it,Ct,ct,Qt=!1;const Li=et(Zde(te));if(Li){de.classDecoratorsName=u.createUniqueName("_classDecorators",48),de.classDescriptorName=u.createUniqueName("_classDescriptor",48),de.classExtraInitializersName=u.createUniqueName("_classExtraInitializers",48);const wn=Oe(te.members,Ir=>(ph(Ir)||ef(Ir))&&Kc(Ir));de.classThis=u.createUniqueName("_classThis",wn?24:48),je.push(Ge(de.classDecoratorsName,u.createArrayLiteralExpression(Li)),Ge(de.classDescriptorName),Ge(de.classExtraInitializersName,u.createArrayLiteralExpression()),Ge(de.classThis)),de.hasStaticPrivateClassElements&&(Qt=!0,M=!0)}const Ui=Mj(te.heritageClauses,96),Sn=Ui&&Ki(Ui.types),du=Sn&&yt(Sn.expression,ve,Wt);if(du){de.classSuper=u.createUniqueName("_classSuper",48);const wn=Dc(du),Ir=Xd(wn)&&!wn.name||A0(wn)&&!wn.name||q0(wn)?u.createComma(u.createNumericLiteral(0),du):du;je.push(Ge(de.classSuper,Ir));const as=u.updateExpressionWithTypeArguments(Sn,de.classSuper,void 0),wo=u.updateHeritageClause(Ui,[as]);ct=u.createNodeArray([wo])}const Ru=de.classThis??u.createThis();J(de),X=xi(X,Qi(de.metadataReference,de.classSuper));let pr=kn(te.members,pe,Zd);if(T){let wn;for(let Ir of T){Ir=yt(Ir,function wo(Fn){if(!(Fn.transformFlags&16384))return Fn;switch(Fn.kind){case 110:return wn||(wn=u.createUniqueName("_outerThis",16),je.unshift(Ge(wn,u.createThis()))),wn;default:return rn(Fn,wo,t)}},Wt);const as=u.createExpressionStatement(Ir);X=xi(X,as)}T=void 0}if(K(),de.instanceExtraInitializersName&&!X_(te)){const wn=Ye(te,de);if(wn){const Ir=Qg(te),as=!!(Ir&&Dc(Ir.expression).kind!==106),wo=[];if(as){const vc=u.createSpreadElement(u.createIdentifier("arguments")),Ya=u.createCallExpression(u.createSuper(),void 0,[vc]);wo.push(u.createExpressionStatement(Ya))}yn(wo,wn);const Fn=u.createBlock(wo,!0);Ct=u.createConstructorDeclaration(void 0,[],Fn)}}if(de.staticExtraInitializersName&&je.push(Ge(de.staticExtraInitializersName,u.createArrayLiteralExpression())),de.instanceExtraInitializersName&&je.push(Ge(de.instanceExtraInitializersName,u.createArrayLiteralExpression())),de.memberInfos&&h1(de.memberInfos,(wn,Ir)=>{No(Ir)&&(je.push(Ge(wn.memberDecoratorsName)),wn.memberInitializersName&&je.push(Ge(wn.memberInitializersName,u.createArrayLiteralExpression())),wn.memberDescriptorName&&je.push(Ge(wn.memberDescriptorName)))}),de.memberInfos&&h1(de.memberInfos,(wn,Ir)=>{No(Ir)||(je.push(Ge(wn.memberDecoratorsName)),wn.memberInitializersName&&je.push(Ge(wn.memberInitializersName,u.createArrayLiteralExpression())),wn.memberDescriptorName&&je.push(Ge(wn.memberDescriptorName)))}),X=yn(X,de.staticNonFieldDecorationStatements),X=yn(X,de.nonStaticNonFieldDecorationStatements),X=yn(X,de.staticFieldDecorationStatements),X=yn(X,de.nonStaticFieldDecorationStatements),de.classDescriptorName&&de.classDecoratorsName&&de.classExtraInitializersName&&de.classThis){X??(X=[]);const wn=u.createPropertyAssignment("value",Ru),Ir=u.createObjectLiteralExpression([wn]),as=u.createAssignment(de.classDescriptorName,Ir),wo=u.createPropertyAccessExpression(Ru,"name"),Fn=s().createESDecorateHelper(u.createNull(),as,de.classDecoratorsName,{kind:"class",name:wo,metadata:de.metadataReference},u.createNull(),de.classExtraInitializersName),vc=u.createExpressionStatement(Fn);As(vc,o5(te)),X.push(vc);const Ya=u.createPropertyAccessExpression(de.classDescriptorName,"value"),c0=u.createAssignment(de.classThis,Ya),Ul=u.createAssignment(we,c0);X.push(u.createExpressionStatement(Ul))}if(X.push(on(Ru,de.metadataReference)),de.staticExtraInitializersName){const wn=s().createRunInitializersHelper(Ru,de.staticExtraInitializersName),Ir=u.createExpressionStatement(wn);As(Ir,te.name??o5(te)),X=xi(X,Ir)}if(de.classExtraInitializersName){const wn=s().createRunInitializersHelper(Ru,de.classExtraInitializersName),Ir=u.createExpressionStatement(wn);As(Ir,te.name??o5(te)),it=xi(it,Ir)}X&&it&&!de.hasStaticInitializers&&(yn(X,it),it=void 0);const Xu=X&&u.createClassStaticBlockDeclaration(u.createBlock(X,!0));Xu&&Qt&&_V(Xu,32);const ca=it&&u.createClassStaticBlockDeclaration(u.createBlock(it,!0));if(Xu||Ct||ca){const wn=[],Ir=pr.findIndex(X7);Xu?(yn(wn,pr,0,Ir+1),wn.push(Xu),yn(wn,pr,Ir+1)):yn(wn,pr),Ct&&wn.push(Ct),ca&&wn.push(ca),pr=Pt(u.createNodeArray(wn),pr)}const Ku=f();let ja;if(Li){ja=u.createClassExpression(void 0,void 0,void 0,ct,pr),de.classThis&&(ja=e7e(u,ja,de.classThis));const wn=u.createVariableDeclaration(we,void 0,void 0,ja),Ir=u.createVariableDeclarationList([wn]),as=de.classThis?u.createAssignment(we,de.classThis):we;je.push(u.createVariableStatement(void 0,Ir),u.createReturnStatement(as))}else ja=u.createClassExpression(void 0,te.name,void 0,ct,pr),je.push(u.createReturnStatement(ja));if(Qt){F7(ja,32);for(const wn of ja.members)(ph(wn)||ef(wn))&&Kc(wn)&&F7(wn,32)}return su(ja,te),u.createImmediatelyInvokedArrowFunction(u.mergeLexicalEnvironment(je,Ku))}function Ke(te){return t5(!1,te)||QN(!1,te)}function Je(te){if(Ke(te)){const we=[],de=Wl(te,mr)??te,je=de.name?u.createStringLiteralFromNode(de.name):u.createStringLiteral("default"),X=Yu(te,32),it=Yu(te,2048);if(te.name||(te=hQ(t,te,je)),X&&it){const Ct=De(te);if(te.name){const ct=u.createVariableDeclaration(u.getLocalName(te),void 0,void 0,Ct);su(ct,te);const Qt=u.createVariableDeclarationList([ct],1),Li=u.createVariableStatement(void 0,Qt);we.push(Li);const Ui=u.createExportDefault(u.getDeclarationName(te));su(Ui,te),Bc(Ui,nE(te)),As(Ui,o5(te)),we.push(Ui)}else{const ct=u.createExportDefault(Ct);su(ct,te),Bc(ct,nE(te)),As(ct,o5(te)),we.push(ct)}}else{H.assertIsDefined(te.name,"A class declaration that is not a default export must have a name.");const Ct=De(te),ct=X?Ru=>L7(Ru)?void 0:Ne(Ru):Ne,Qt=kn(te.modifiers,ct,Qo),Li=u.getLocalName(te,!1,!0),Ui=u.createVariableDeclaration(Li,void 0,void 0,Ct);su(Ui,te);const Sn=u.createVariableDeclarationList([Ui],1),du=u.createVariableStatement(Qt,Sn);if(su(du,te),Bc(du,nE(te)),we.push(du),X){const Ru=u.createExternalModuleExport(Li);su(Ru,te),we.push(Ru)}}return F0(we)}else{const we=kn(te.modifiers,Ne,Qo),de=kn(te.heritageClauses,ve,mm);J(void 0);const je=kn(te.members,pe,Zd);return K(),u.updateClassDeclaration(te,we,te.name,void 0,de,je)}}function ft(te){if(Ke(te)){const we=De(te);return su(we,te),we}else{const we=kn(te.modifiers,Ne,Qo),de=kn(te.heritageClauses,ve,mm);J(void 0);const je=kn(te.members,pe,Zd);return K(),u.updateClassExpression(te,we,te.name,void 0,de,je)}}function Ye(te,we){if(we.instanceExtraInitializersName&&!we.hasNonAmbientInstanceFields){const de=[];return de.push(u.createExpressionStatement(s().createRunInitializersHelper(u.createThis(),we.instanceExtraInitializersName))),de}}function Ve(te,we,de,je,X,it){const Ct=je[X],ct=we[Ct];if(yn(te,kn(we,ve,na,de,Ct-de)),Ck(ct)){const Qt=[];Ve(Qt,ct.tryBlock.statements,0,je,X+1,it);const Li=u.createNodeArray(Qt);Pt(Li,ct.tryBlock.statements),te.push(u.updateTryStatement(ct,u.updateBlock(ct.tryBlock,Qt),yt(ct.catchClause,ve,G2),yt(ct.finallyBlock,ve,po)))}else yn(te,kn(we,ve,na,Ct,1)),yn(te,it);yn(te,kn(we,ve,na,Ct+1))}function We(te){Y(te);const we=kn(te.modifiers,Ne,Qo),de=kn(te.parameters,ve,io);let je;if(te.body&&b){const X=Ye(b.class,b);if(X){const it=[],Ct=u.copyPrologue(te.body.statements,it,!1,ve),ct=sQ(te.body.statements,Ct);ct.length>0?Ve(it,te.body.statements,Ct,ct,0,X):(yn(it,X),yn(it,kn(te.body.statements,ve,na))),je=u.createBlock(it,!0),su(je,te.body),Pt(je,te.body)}}return je??(je=yt(te.body,ve,po)),oe(),u.updateConstructorDeclaration(te,we,de,je)}function Gt(te,we){return te!==we&&(Bc(te,we),As(te,o5(we))),te}function Yt(te,we,de){let je,X,it,Ct,ct;if(!we){const Ui=kn(te.modifiers,Ne,Qo);return se(),X=jn(te.name),ge(),{modifiers:Ui,referencedName:je,name:X,initializersName:it,descriptorName:ct,thisArg:Ct}}const Qt=et(cQ(te,we.class,!1)),Li=kn(te.modifiers,Ne,Qo);if(Qt){const Ui=Be(te,"decorators"),Sn=u.createArrayLiteralExpression(Qt),du=u.createAssignment(Ui,Sn),Ru={memberDecoratorsName:Ui};we.memberInfos??(we.memberInfos=new Map),we.memberInfos.set(te,Ru),T??(T=[]),T.push(du);const pr=N8(te)||ef(te)?No(te)?we.staticNonFieldDecorationStatements??(we.staticNonFieldDecorationStatements=[]):we.nonStaticNonFieldDecorationStatements??(we.nonStaticNonFieldDecorationStatements=[]):ko(te)&&!ef(te)?No(te)?we.staticFieldDecorationStatements??(we.staticFieldDecorationStatements=[]):we.nonStaticFieldDecorationStatements??(we.nonStaticFieldDecorationStatements=[]):H.fail(),Xu=zm(te)?"getter":jf(te)?"setter":dc(te)?"method":ef(te)?"accessor":ko(te)?"field":H.fail();let ca;if(at(te.name)||ea(te.name))ca={computed:!1,name:te.name};else if(Xg(te.name))ca={computed:!0,name:u.createStringLiteralFromNode(te.name)};else{const wn=te.name.expression;Xg(wn)&&!at(wn)?ca={computed:!0,name:u.createStringLiteralFromNode(wn)}:(se(),{referencedName:je,name:X}=bt(te.name),ca={computed:!0,name:je},ge())}const Ku={kind:Xu,name:ca,static:No(te),private:ea(te.name),access:{get:ko(te)||zm(te)||dc(te),set:ko(te)||jf(te)},metadata:we.metadataReference},ja=No(te)?we.staticExtraInitializersName??(we.staticExtraInitializersName=u.createUniqueName("_staticExtraInitializers",48)):we.instanceExtraInitializersName??(we.instanceExtraInitializersName=u.createUniqueName("_instanceExtraInitializers",48));if(N8(te)){let wn;ph(te)&&de&&(wn=de(te,kn(Li,wo=>ur(wo,VP),Qo)),Ru.memberDescriptorName=ct=Be(te,"descriptor"),wn=u.createAssignment(ct,wn));const Ir=s().createESDecorateHelper(u.createThis(),wn??u.createNull(),Ui,Ku,u.createNull(),ja),as=u.createExpressionStatement(Ir);As(as,o5(te)),pr.push(as)}else if(ko(te)){it=Ru.memberInitializersName??(Ru.memberInitializersName=Be(te,"initializers")),No(te)&&(Ct=we.classThis);let wn;ph(te)&&eE(te)&&de&&(wn=de(te,void 0),Ru.memberDescriptorName=ct=Be(te,"descriptor"),wn=u.createAssignment(ct,wn));const Ir=s().createESDecorateHelper(ef(te)?u.createThis():u.createNull(),wn??u.createNull(),Ui,Ku,it,ja),as=u.createExpressionStatement(Ir);As(as,o5(te)),pr.push(as)}}return X===void 0&&(se(),X=jn(te.name),ge()),!Oe(Li)&&(dc(te)||ko(te))&&Zn(X,1024),{modifiers:Li,referencedName:je,name:X,initializersName:it,descriptorName:ct,thisArg:Ct}}function Ie(te){Y(te);const{modifiers:we,name:de,descriptorName:je}=Yt(te,b,me);if(je)return oe(),Gt(Ot(we,de,je),te);{const X=kn(te.parameters,ve,io),it=yt(te.body,ve,po);return oe(),Gt(u.updateMethodDeclaration(te,we,te.asteriskToken,de,void 0,void 0,X,void 0,it),te)}}function st(te){Y(te);const{modifiers:we,name:de,descriptorName:je}=Yt(te,b,ni);if(je)return oe(),Gt(Ei(we,de,je),te);{const X=kn(te.parameters,ve,io),it=yt(te.body,ve,po);return oe(),Gt(u.updateGetAccessorDeclaration(te,we,de,X,void 0,it),te)}}function St(te){Y(te);const{modifiers:we,name:de,descriptorName:je}=Yt(te,b,vi);if(je)return oe(),Gt($i(we,de,je),te);{const X=kn(te.parameters,ve,io),it=yt(te.body,ve,po);return oe(),Gt(u.updateSetAccessorDeclaration(te,we,de,X,it),te)}}function It(te){Y(te);let we;if(X7(te))we=rn(te,ve,t);else if(EM(te)){const de=B;B=void 0,we=rn(te,ve,t),B=de}else b&&(b.hasStaticInitializers=!0),we=rn(te,ve,t);return oe(),we}function ei(te){If(te,an)&&(te=Vf(t,te,Pi(te.initializer))),Y(te),H.assert(!_0e(te),"Not yet implemented.");const{modifiers:we,name:de,initializersName:je,descriptorName:X,thisArg:it}=Yt(te,b,eE(te)?mt:void 0);d();let Ct=yt(te.initializer,ve,Wt);je&&(Ct=s().createRunInitializersHelper(it??u.createThis(),je,Ct??u.createVoidZero())),!No(te)&&(b!=null&&b.instanceExtraInitializersName)&&!(b!=null&&b.hasInjectedInstanceInitializers)&&(b.hasInjectedInstanceInitializers=!0,Ct??(Ct=u.createVoidZero()),Ct=u.createParenthesizedExpression(u.createComma(s().createRunInitializersHelper(u.createThis(),b.instanceExtraInitializersName),Ct))),No(te)&&b&&Ct&&(b.hasStaticInitializers=!0);const ct=f();if(Oe(ct)&&(Ct=u.createImmediatelyInvokedArrowFunction([...ct,u.createReturnStatement(Ct)])),oe(),eE(te)&&X){const Qt=nE(te),Li=Lv(te),Ui=te.name;let Sn=Ui,du=Ui;if(Ps(Ui)&&!sE(Ui.expression)){const Ku=FY(Ui);if(Ku)Sn=u.updateComputedPropertyName(Ui,yt(Ui.expression,ve,Wt)),du=u.updateComputedPropertyName(Ui,Ku.left);else{const ja=u.createTempVariable(p);As(ja,Ui.expression);const wn=yt(Ui.expression,ve,Wt),Ir=u.createAssignment(ja,wn);As(Ir,Ui.expression),Sn=u.updateComputedPropertyName(Ui,Ir),du=u.updateComputedPropertyName(Ui,ja)}}const Ru=kn(we,Ku=>Ku.kind!==129?Ku:void 0,Qo),pr=Wce(u,te,Ru,Ct);su(pr,te),Zn(pr,3072),As(pr,Li),As(pr.name,te.name);const Xu=Ei(Ru,Sn,X);su(Xu,te),Bc(Xu,Qt),As(Xu,Li);const ca=$i(Ru,du,X);return su(ca,te),Zn(ca,3072),As(ca,Li),[pr,Xu,ca]}return Gt(u.updatePropertyDeclaration(te,we,de,void 0,void 0,Ct),te)}function ht(te){return B??te}function Ut(te){if(nf(te.expression)&&B){const we=yt(te.expression,ve,Wt),de=kn(te.arguments,ve,Wt),je=u.createFunctionCallCall(we,B,de);return su(je,te),Pt(je,te),je}return rn(te,ve,t)}function Ni(te){if(nf(te.tag)&&B){const we=yt(te.tag,ve,Wt),de=u.createFunctionBindCall(we,B,[]);su(de,te),Pt(de,te);const je=yt(te.template,ve,P8);return u.updateTaggedTemplateExpression(te,de,void 0,je)}return rn(te,ve,t)}function ji(te){if(nf(te)&&at(te.name)&&B&&k){const we=u.createStringLiteralFromNode(te.name),de=u.createReflectGetCall(k,we,B);return su(de,te.expression),Pt(de,te.expression),de}return rn(te,ve,t)}function xn(te){if(nf(te)&&B&&k){const we=yt(te.argumentExpression,ve,Wt),de=u.createReflectGetCall(k,we,B);return su(de,te.expression),Pt(de,te.expression),de}return rn(te,ve,t)}function Jn(te){If(te,an)&&(te=Vf(t,te,Pi(te.initializer)));const we=u.updateParameterDeclaration(te,void 0,te.dotDotDotToken,yt(te.name,ve,qy),void 0,void 0,yt(te.initializer,ve,Wt));return we!==te&&(Bc(we,te),Pt(we,iE(te)),As(we,iE(te)),Zn(we.name,64)),we}function an(te){return Xd(te)&&!te.name&&Ke(te)}function Pi(te){const we=Dc(te);return Xd(we)&&!we.name&&!t5(!1,we)}function Ai(te){return u.updateForStatement(te,yt(te.initializer,fe,a4),yt(te.condition,ve,Wt),yt(te.incrementor,fe,Wt),Ih(te.statement,ve,t))}function Zu(te){return rn(te,fe,t)}function aa(te,we){if(r5(te)){const de=Et(te.left),je=yt(te.right,ve,Wt);return u.updateBinaryExpression(te,de,te.operatorToken,je)}if(ld(te)){if(If(te,an))return te=Vf(t,te,Pi(te.right)),rn(te,ve,t);if(nf(te.left)&&B&&k){let de=U0(te.left)?yt(te.left.argumentExpression,ve,Wt):at(te.left.name)?u.createStringLiteralFromNode(te.left.name):void 0;if(de){let je=yt(te.right,ve,Wt);if(mM(te.operatorToken.kind)){let it=de;sE(de)||(it=u.createTempVariable(p),de=u.createAssignment(it,de));const Ct=u.createReflectGetCall(k,it,B);su(Ct,te.left),Pt(Ct,te.left),je=u.createBinaryExpression(Ct,pM(te.operatorToken.kind),je),Pt(je,te)}const X=we?void 0:u.createTempVariable(p);return X&&(je=u.createAssignment(X,je),Pt(X,te)),je=u.createReflectSetCall(k,de,je,B),su(je,te),Pt(je,te),X&&(je=u.createComma(je,X),Pt(je,te)),je}}}if(te.operatorToken.kind===28){const de=yt(te.left,fe,Wt),je=yt(te.right,we?fe:ve,Wt);return u.updateBinaryExpression(te,de,te.operatorToken,je)}return rn(te,ve,t)}function yr(te,we){if(te.operator===46||te.operator===47){const de=l0(te.operand);if(nf(de)&&B&&k){let je=U0(de)?yt(de.argumentExpression,ve,Wt):at(de.name)?u.createStringLiteralFromNode(de.name):void 0;if(je){let X=je;sE(je)||(X=u.createTempVariable(p),je=u.createAssignment(X,je));let it=u.createReflectGetCall(k,X,B);su(it,te),Pt(it,te);const Ct=we?void 0:u.createTempVariable(p);return it=DY(u,te,it,p,Ct),it=u.createReflectSetCall(k,je,it,B),su(it,te),Pt(it,te),Ct&&(it=u.createComma(it,Ct),Pt(it,te)),it}}}return rn(te,ve,t)}function Ba(te,we){const de=we?hH(te.elements,fe):hH(te.elements,ve,fe);return u.updateCommaListExpression(te,de)}function bt(te){if(Xg(te)||ea(te)){const it=u.createStringLiteralFromNode(te),Ct=yt(te,ve,Sc);return{referencedName:it,name:Ct}}if(Xg(te.expression)&&!at(te.expression)){const it=u.createStringLiteralFromNode(te.expression),Ct=yt(te,ve,Sc);return{referencedName:it,name:Ct}}const we=u.getGeneratedNameForNode(te);p(we);const de=s().createPropKeyHelper(yt(te.expression,ve,Wt)),je=u.createAssignment(we,de),X=u.updateComputedPropertyName(te,Pe(je));return{referencedName:we,name:X}}function jn(te){return Ps(te)?Ln(te):yt(te,ve,Sc)}function Ln(te){let we=yt(te.expression,ve,Wt);return sE(we)||(we=Pe(we)),u.updateComputedPropertyName(te,we)}function Si(te){return If(te,an)&&(te=Vf(t,te,Pi(te.initializer))),rn(te,ve,t)}function Dn(te){return If(te,an)&&(te=Vf(t,te,Pi(te.initializer))),rn(te,ve,t)}function Cn(te){return If(te,an)&&(te=Vf(t,te,Pi(te.initializer))),rn(te,ve,t)}function tu(te){if(ys(te)||Dh(te))return Et(te);if(nf(te)&&B&&k){const we=U0(te)?yt(te.argumentExpression,ve,Wt):at(te.name)?u.createStringLiteralFromNode(te.name):void 0;if(we){const de=u.createTempVariable(void 0),je=u.createAssignmentTargetWrapper(de,u.createReflectSetCall(k,we,de,B));return su(je,te),Pt(je,te),je}}return rn(te,ve,t)}function oa(te){if(ld(te,!0)){If(te,an)&&(te=Vf(t,te,Pi(te.right)));const we=tu(te.left),de=yt(te.right,ve,Wt);return u.updateBinaryExpression(te,we,te.operatorToken,de)}else return tu(te)}function Da(te){if(Df(te.expression)){const we=tu(te.expression);return u.updateSpreadElement(te,we)}return rn(te,ve,t)}function ra(te){return H.assertNode(te,ZO),uE(te)?Da(te):Fd(te)?rn(te,ve,t):oa(te)}function Ta(te){const we=yt(te.name,ve,Sc);if(ld(te.initializer,!0)){const de=oa(te.initializer);return u.updatePropertyAssignment(te,we,de)}if(Df(te.initializer)){const de=tu(te.initializer);return u.updatePropertyAssignment(te,we,de)}return rn(te,ve,t)}function Yo(te){return If(te,an)&&(te=Vf(t,te,Pi(te.objectAssignmentInitializer))),rn(te,ve,t)}function bo(te){if(Df(te.expression)){const we=tu(te.expression);return u.updateSpreadAssignment(te,we)}return rn(te,ve,t)}function Qe(te){return H.assertNode(te,qO),d5(te)?bo(te):pm(te)?Yo(te):Jc(te)?Ta(te):rn(te,ve,t)}function Et(te){if(Dh(te)){const we=kn(te.elements,ra,Wt);return u.updateArrayLiteralExpression(te,we)}else{const we=kn(te.properties,Qe,Z3);return u.updateObjectLiteralExpression(te,we)}}function Mt(te){return If(te,an)&&(te=Vf(t,te,Pi(te.expression))),rn(te,ve,t)}function qt(te,we){const de=we?fe:ve,je=yt(te.expression,de,Wt);return u.updateParenthesizedExpression(te,je)}function Xt(te,we){const de=we?fe:ve,je=yt(te.expression,de,Wt);return u.updatePartiallyEmittedExpression(te,je)}function Pe(te){return Oe(T)&&(Cf(te)?(T.push(te.expression),te=u.updateParenthesizedExpression(te,u.inlineExpressions(T))):(T.push(te),te=u.inlineExpressions(T)),T=void 0),te}function et(te){if(!te)return;const we=[];return yn(we,Vt(te.decorators,gt)),we}function gt(te){const we=yt(te.expression,ve,Wt);Zn(we,3072);const de=Dc(we);if(I0(de)){const{target:je,thisArg:X}=u.createCallBinding(we,p,E,!0);return u.restoreOuterExpressions(we,u.createFunctionBindCall(je,X,[]))}return we}function ii(te,we,de,je,X,it,Ct){const ct=u.createFunctionExpression(de,je,void 0,void 0,it,void 0,Ct??u.createBlock([]));su(ct,te),As(ct,o5(te)),Zn(ct,3072);const Qt=X==="get"||X==="set"?X:void 0,Li=u.createStringLiteralFromNode(we,void 0),Ui=s().createSetFunctionNameHelper(ct,Li,Qt),Sn=u.createPropertyAssignment(u.createIdentifier(X),Ui);return su(Sn,te),As(Sn,o5(te)),Zn(Sn,3072),Sn}function me(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,te.asteriskToken,"value",kn(te.parameters,ve,io),yt(te.body,ve,po))])}function ni(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,void 0,"get",[],yt(te.body,ve,po))])}function vi(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,void 0,"set",kn(te.parameters,ve,io),yt(te.body,ve,po))])}function mt(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,void 0,"get",[],u.createBlock([u.createReturnStatement(u.createPropertyAccessExpression(u.createThis(),u.getGeneratedPrivateNameForNode(te.name)))])),ii(te,te.name,we,void 0,"set",[u.createParameterDeclaration(void 0,void 0,"value")],u.createBlock([u.createExpressionStatement(u.createAssignment(u.createPropertyAccessExpression(u.createThis(),u.getGeneratedPrivateNameForNode(te.name)),u.createIdentifier("value")))]))])}function Ot(te,we,de){return te=kn(te,je=>N7(je)?je:void 0,Qo),u.createGetAccessorDeclaration(te,we,[],void 0,u.createBlock([u.createReturnStatement(u.createPropertyAccessExpression(de,u.createIdentifier("value")))]))}function Ei(te,we,de){return te=kn(te,je=>N7(je)?je:void 0,Qo),u.createGetAccessorDeclaration(te,we,[],void 0,u.createBlock([u.createReturnStatement(u.createFunctionCallCall(u.createPropertyAccessExpression(de,u.createIdentifier("get")),u.createThis(),[]))]))}function $i(te,we,de){return te=kn(te,je=>N7(je)?je:void 0,Qo),u.createSetAccessorDeclaration(te,we,[u.createParameterDeclaration(void 0,void 0,"value")],u.createBlock([u.createReturnStatement(u.createFunctionCallCall(u.createPropertyAccessExpression(de,u.createIdentifier("set")),u.createThis(),[u.createIdentifier("value")]))]))}function Qi(te,we){const de=u.createVariableDeclaration(te,void 0,void 0,u.createConditionalExpression(u.createLogicalAnd(u.createTypeCheck(u.createIdentifier("Symbol"),"function"),u.createPropertyAccessExpression(u.createIdentifier("Symbol"),"metadata")),u.createToken(58),u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("Object"),"create"),void 0,[we?le(we):u.createNull()]),u.createToken(59),u.createVoidZero()));return u.createVariableStatement(void 0,u.createVariableDeclarationList([de],2))}function on(te,we){const de=u.createObjectDefinePropertyCall(te,u.createPropertyAccessExpression(u.createIdentifier("Symbol"),"metadata"),u.createPropertyDescriptor({configurable:!0,writable:!0,enumerable:!0,value:we},!0));return Zn(u.createIfStatement(we,u.createExpressionStatement(de)),1)}function le(te){return u.createBinaryExpression(u.createElementAccessExpression(te,u.createPropertyAccessExpression(u.createIdentifier("Symbol"),"metadata")),61,u.createNull())}}var BMt=o({"src/compiler/transformers/esDecorators.ts"(){Bo()}});function l7e(t){const{factory:u,getEmitHelperFactory:s,resumeLexicalEnvironment:d,endLexicalEnvironment:f,hoistVariableDeclaration:p}=t,E=t.getEmitResolver(),v=t.getCompilerOptions(),b=Os(v);let B,k=0,T,M,z;const j=[];let J=0;const K=t.onEmitNode,Y=t.onSubstituteNode;return t.onEmitNode=Jn,t.onSubstituteNode=an,Kp(t,oe);function oe(bt){if(bt.isDeclarationFile)return bt;se(1,!1),se(2,!E0e(bt,v));const jn=rn(bt,Se,t);return iD(jn,t.readEmitHelpers()),jn}function se(bt,jn){J=jn?J|bt:J&~bt}function ge(bt){return(J&bt)!==0}function ae(){return!ge(1)}function Ce(){return ge(2)}function ne(bt,jn,Ln){const Si=bt&~J;if(Si){se(Si,!0);const Dn=jn(Ln);return se(Si,!1),Dn}return jn(Ln)}function ve(bt){return rn(bt,Se,t)}function Se(bt){if(!(bt.transformFlags&256))return bt;switch(bt.kind){case 134:return;case 223:return Ae(bt);case 174:return ne(3,Ke,bt);case 262:return ne(3,Ye,bt);case 218:return ne(3,Ve,bt);case 219:return ne(1,We,bt);case 211:return M&&Iu(bt)&&bt.expression.kind===108&&M.add(bt.name.escapedText),rn(bt,Se,t);case 212:return M&&bt.expression.kind===108&&(z=!0),rn(bt,Se,t);case 177:return ne(3,Je,bt);case 178:return ne(3,ft,bt);case 176:return ne(3,De,bt);case 263:case 231:return ne(3,ve,bt);default:return rn(bt,Se,t)}}function Ne(bt){if(lye(bt))switch(bt.kind){case 243:return fe(bt);case 248:return Ge(bt);case 249:return xe(bt);case 250:return Be(bt);case 299:return pe(bt);case 241:case 255:case 269:case 296:case 297:case 258:case 246:case 247:case 245:case 254:case 256:return rn(bt,Ne,t);default:return H.assertNever(bt,"Unhandled node.")}return Se(bt)}function pe(bt){const jn=new Set;Gt(bt.variableDeclaration,jn);let Ln;if(jn.forEach((Si,Dn)=>{T.has(Dn)&&(Ln||(Ln=new Set(T)),Ln.delete(Dn))}),Ln){const Si=T;T=Ln;const Dn=rn(bt,Ne,t);return T=Si,Dn}else return rn(bt,Ne,t)}function fe(bt){if(Yt(bt.declarationList)){const jn=Ie(bt.declarationList,!1);return jn?u.createExpressionStatement(jn):void 0}return rn(bt,Se,t)}function xe(bt){return u.updateForInStatement(bt,Yt(bt.initializer)?Ie(bt.initializer,!0):H.checkDefined(yt(bt.initializer,Se,a4)),H.checkDefined(yt(bt.expression,Se,Wt)),Ih(bt.statement,Ne,t))}function Be(bt){return u.updateForOfStatement(bt,yt(bt.awaitModifier,Se,_ce),Yt(bt.initializer)?Ie(bt.initializer,!0):H.checkDefined(yt(bt.initializer,Se,a4)),H.checkDefined(yt(bt.expression,Se,Wt)),Ih(bt.statement,Ne,t))}function Ge(bt){const jn=bt.initializer;return u.updateForStatement(bt,Yt(jn)?Ie(jn,!1):yt(bt.initializer,Se,a4),yt(bt.condition,Se,Wt),yt(bt.incrementor,Se,Wt),Ih(bt.statement,Ne,t))}function Ae(bt){return ae()?rn(bt,Se,t):su(Pt(u.createYieldExpression(void 0,yt(bt.expression,Se,Wt)),bt),bt)}function De(bt){return u.updateConstructorDeclaration(bt,kn(bt.modifiers,Se,Qo),xc(bt.parameters,Se,t),ht(bt))}function Ke(bt){return u.updateMethodDeclaration(bt,kn(bt.modifiers,Se,ol),bt.asteriskToken,bt.name,void 0,void 0,xc(bt.parameters,Se,t),void 0,kd(bt)&2?Ut(bt):ht(bt))}function Je(bt){return u.updateGetAccessorDeclaration(bt,kn(bt.modifiers,Se,ol),bt.name,xc(bt.parameters,Se,t),void 0,ht(bt))}function ft(bt){return u.updateSetAccessorDeclaration(bt,kn(bt.modifiers,Se,ol),bt.name,xc(bt.parameters,Se,t),ht(bt))}function Ye(bt){return u.updateFunctionDeclaration(bt,kn(bt.modifiers,Se,ol),bt.asteriskToken,bt.name,void 0,xc(bt.parameters,Se,t),void 0,kd(bt)&2?Ut(bt):Om(bt.body,Se,t))}function Ve(bt){return u.updateFunctionExpression(bt,kn(bt.modifiers,Se,Qo),bt.asteriskToken,bt.name,void 0,xc(bt.parameters,Se,t),void 0,kd(bt)&2?Ut(bt):Om(bt.body,Se,t))}function We(bt){return u.updateArrowFunction(bt,kn(bt.modifiers,Se,Qo),void 0,xc(bt.parameters,Se,t),void 0,bt.equalsGreaterThanToken,kd(bt)&2?Ut(bt):Om(bt.body,Se,t))}function Gt({name:bt},jn){if(at(bt))jn.add(bt.escapedText);else for(const Ln of bt.elements)Fd(Ln)||Gt(Ln,jn)}function Yt(bt){return!!bt&&Ad(bt)&&!(bt.flags&7)&&bt.declarations.some(ei)}function Ie(bt,jn){st(bt);const Ln=DP(bt);return Ln.length===0?jn?yt(u.converters.convertToAssignmentElementTarget(bt.declarations[0].name),Se,Wt):void 0:u.inlineExpressions(Vt(Ln,It))}function st(bt){L(bt.declarations,St)}function St({name:bt}){if(at(bt))p(bt);else for(const jn of bt.elements)Fd(jn)||St(jn)}function It(bt){const jn=As(u.createAssignment(u.converters.convertToAssignmentElementTarget(bt.name),bt.initializer),bt);return H.checkDefined(yt(jn,Se,Wt))}function ei({name:bt}){if(at(bt))return T.has(bt.escapedText);for(const jn of bt.elements)if(!Fd(jn)&&ei(jn))return!0;return!1}function ht(bt){H.assertIsDefined(bt.body);const jn=M,Ln=z;M=new Set,z=!1;let Si=Om(bt.body,Se,t);const Dn=Wl(bt,$0);if(b>=2&&E.getNodeCheckFlags(bt)&384&&(kd(Dn)&3)!==3){if(xn(),M.size){const tu=fQ(u,E,bt,M);j[$s(tu)]=!0;const oa=Si.statements.slice();ZE(oa,[tu]),Si=u.updateBlock(Si,oa)}z&&(E.getNodeCheckFlags(bt)&256?S7(Si,bV):E.getNodeCheckFlags(bt)&128&&S7(Si,CV))}return M=jn,z=Ln,Si}function Ut(bt){d();const Ln=Wl(bt,Co).type,Si=b<2?ji(Ln):void 0,Dn=bt.kind===219,Cn=(E.getNodeCheckFlags(bt)&512)!==0,tu=T;T=new Set;for(const Ta of bt.parameters)Gt(Ta,T);const oa=M,Da=z;Dn||(M=new Set,z=!1);let ra;if(Dn){const Ta=s().createAwaiterHelper(Ce(),Cn,Si,Ni(bt.body)),Yo=f();if(Oe(Yo)){const bo=u.converters.convertToFunctionBlock(Ta);ra=u.updateBlock(bo,Pt(u.createNodeArray(Hi(Yo,bo.statements)),bo.statements))}else ra=Ta}else{const Ta=[],Yo=u.copyPrologue(bt.body.statements,Ta,!1,Se);Ta.push(u.createReturnStatement(s().createAwaiterHelper(Ce(),Cn,Si,Ni(bt.body,Yo)))),ZE(Ta,f());const bo=b>=2&&E.getNodeCheckFlags(bt)&384;if(bo&&(xn(),M.size)){const Et=fQ(u,E,bt,M);j[$s(Et)]=!0,ZE(Ta,[Et])}const Qe=u.createBlock(Ta,!0);Pt(Qe,bt.body),bo&&z&&(E.getNodeCheckFlags(bt)&256?S7(Qe,bV):E.getNodeCheckFlags(bt)&128&&S7(Qe,CV)),ra=Qe}return T=tu,Dn||(M=oa,z=Da),ra}function Ni(bt,jn){return po(bt)?u.updateBlock(bt,kn(bt.statements,Ne,na,jn)):u.converters.convertToFunctionBlock(H.checkDefined(yt(bt,Ne,HU)))}function ji(bt){const jn=bt&&pj(bt);if(jn&&sm(jn)){const Ln=E.getTypeReferenceSerializationKind(jn);if(Ln===1||Ln===0)return jn}}function xn(){B&1||(B|=1,t.enableSubstitution(213),t.enableSubstitution(211),t.enableSubstitution(212),t.enableEmitNotification(263),t.enableEmitNotification(174),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(176),t.enableEmitNotification(243))}function Jn(bt,jn,Ln){if(B&1&&yr(jn)){const Si=E.getNodeCheckFlags(jn)&384;if(Si!==k){const Dn=k;k=Si,K(bt,jn,Ln),k=Dn;return}}else if(B&&j[$s(jn)]){const Si=k;k=0,K(bt,jn,Ln),k=Si;return}K(bt,jn,Ln)}function an(bt,jn){return jn=Y(bt,jn),bt===1&&k?Pi(jn):jn}function Pi(bt){switch(bt.kind){case 211:return Ai(bt);case 212:return Zu(bt);case 213:return aa(bt)}return bt}function Ai(bt){return bt.expression.kind===108?Pt(u.createPropertyAccessExpression(u.createUniqueName("_super",48),bt.name),bt):bt}function Zu(bt){return bt.expression.kind===108?Ba(bt.argumentExpression,bt):bt}function aa(bt){const jn=bt.expression;if(nf(jn)){const Ln=Iu(jn)?Ai(jn):Zu(jn);return u.createCallExpression(u.createPropertyAccessExpression(Ln,"call"),void 0,[u.createThis(),...bt.arguments])}return bt}function yr(bt){const jn=bt.kind;return jn===263||jn===176||jn===174||jn===177||jn===178}function Ba(bt,jn){return k&256?Pt(u.createPropertyAccessExpression(u.createCallExpression(u.createUniqueName("_superIndex",48),void 0,[bt]),"value"),jn):Pt(u.createCallExpression(u.createUniqueName("_superIndex",48),void 0,[bt]),jn)}}function fQ(t,u,s,d){const f=(u.getNodeCheckFlags(s)&256)!==0,p=[];return d.forEach((E,v)=>{const b=Qr(v),B=[];B.push(t.createPropertyAssignment("get",t.createArrowFunction(void 0,void 0,[],void 0,void 0,Zn(t.createPropertyAccessExpression(Zn(t.createSuper(),8),b),8)))),f&&B.push(t.createPropertyAssignment("set",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,t.createAssignment(Zn(t.createPropertyAccessExpression(Zn(t.createSuper(),8),b),8),t.createIdentifier("v"))))),p.push(t.createPropertyAssignment(b,t.createObjectLiteralExpression(B)))}),t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createUniqueName("_super",48),void 0,void 0,t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"create"),void 0,[t.createNull(),t.createObjectLiteralExpression(p,!0)]))],2))}var wMt=o({"src/compiler/transformers/es2017.ts"(){Bo()}});function c7e(t){const{factory:u,getEmitHelperFactory:s,resumeLexicalEnvironment:d,endLexicalEnvironment:f,hoistVariableDeclaration:p}=t,E=t.getEmitResolver(),v=t.getCompilerOptions(),b=Os(v),B=t.onEmitNode;t.onEmitNode=Ta;const k=t.onSubstituteNode;t.onSubstituteNode=Yo;let T=!1,M,z,j,J=0,K=0,Y,oe,se,ge;const ae=[];return Kp(t,Ne);function Ce(Pe,et){return K!==(K&~Pe|et)}function ne(Pe,et){const gt=K;return K=(K&~Pe|et)&3,gt}function ve(Pe){K=Pe}function Se(Pe){oe=xi(oe,u.createVariableDeclaration(Pe))}function Ne(Pe){if(Pe.isDeclarationFile)return Pe;Y=Pe;const et=Yt(Pe);return iD(et,t.readEmitHelpers()),Y=void 0,oe=void 0,et}function pe(Pe){return Ae(Pe,!1)}function fe(Pe){return Ae(Pe,!0)}function xe(Pe){if(Pe.kind!==134)return Pe}function Be(Pe,et,gt,ii){if(Ce(gt,ii)){const me=ne(gt,ii),ni=Pe(et);return ve(me),ni}return Pe(et)}function Ge(Pe){return rn(Pe,pe,t)}function Ae(Pe,et){if(!(Pe.transformFlags&128))return Pe;switch(Pe.kind){case 223:return De(Pe);case 229:return Ke(Pe);case 253:return Je(Pe);case 256:return ft(Pe);case 210:return Ve(Pe);case 226:return st(Pe,et);case 361:return St(Pe,et);case 299:return It(Pe);case 243:return ei(Pe);case 260:return ht(Pe);case 246:case 247:case 249:return Be(Ge,Pe,0,2);case 250:return xn(Pe,void 0);case 248:return Be(Ni,Pe,0,2);case 222:return ji(Pe);case 176:return Be(Ba,Pe,2,1);case 174:return Be(Ln,Pe,2,1);case 177:return Be(bt,Pe,2,1);case 178:return Be(jn,Pe,2,1);case 262:return Be(Si,Pe,2,1);case 218:return Be(Cn,Pe,2,1);case 219:return Be(Dn,Pe,2,0);case 169:return aa(Pe);case 244:return We(Pe);case 217:return Gt(Pe,et);case 215:return Ie(Pe);case 211:return se&&Iu(Pe)&&Pe.expression.kind===108&&se.add(Pe.name.escapedText),rn(Pe,pe,t);case 212:return se&&Pe.expression.kind===108&&(ge=!0),rn(Pe,pe,t);case 263:case 231:return Be(Ge,Pe,2,1);default:return rn(Pe,pe,t)}}function De(Pe){return z&2&&z&1?su(Pt(u.createYieldExpression(void 0,s().createAwaitHelper(yt(Pe.expression,pe,Wt))),Pe),Pe):rn(Pe,pe,t)}function Ke(Pe){if(z&2&&z&1){if(Pe.asteriskToken){const et=yt(H.checkDefined(Pe.expression),pe,Wt);return su(Pt(u.createYieldExpression(void 0,s().createAwaitHelper(u.updateYieldExpression(Pe,Pe.asteriskToken,Pt(s().createAsyncDelegatorHelper(Pt(s().createAsyncValuesHelper(et),et)),et)))),Pe),Pe)}return su(Pt(u.createYieldExpression(void 0,Pi(Pe.expression?yt(Pe.expression,pe,Wt):u.createVoidZero())),Pe),Pe)}return rn(Pe,pe,t)}function Je(Pe){return z&2&&z&1?u.updateReturnStatement(Pe,Pi(Pe.expression?yt(Pe.expression,pe,Wt):u.createVoidZero())):rn(Pe,pe,t)}function ft(Pe){if(z&2){const et=A0e(Pe);return et.kind===250&&et.awaitModifier?xn(et,Pe):u.restoreEnclosingLabel(yt(et,pe,na,u.liftToBlock),Pe)}return rn(Pe,pe,t)}function Ye(Pe){let et;const gt=[];for(const ii of Pe)if(ii.kind===305){et&&(gt.push(u.createObjectLiteralExpression(et)),et=void 0);const me=ii.expression;gt.push(yt(me,pe,Wt))}else et=xi(et,ii.kind===303?u.createPropertyAssignment(ii.name,yt(ii.initializer,pe,Wt)):yt(ii,pe,Z3));return et&>.push(u.createObjectLiteralExpression(et)),gt}function Ve(Pe){if(Pe.transformFlags&65536){const et=Ye(Pe.properties);et.length&&et[0].kind!==210&&et.unshift(u.createObjectLiteralExpression());let gt=et[0];if(et.length>1){for(let ii=1;ii=2&&E.getNodeCheckFlags(Pe)&384;if(vi){ra();const Ot=fQ(u,E,Pe,se);ae[$s(Ot)]=!0,ZE(et,[Ot])}et.push(ni),ZE(et,f());const mt=u.updateBlock(Pe.body,et);return vi&&ge&&(E.getNodeCheckFlags(Pe)&256?S7(mt,bV):E.getNodeCheckFlags(Pe)&128&&S7(mt,CV)),se=ii,ge=me,mt}function oa(Pe){d();let et=0;const gt=[],ii=yt(Pe.body,pe,HU)??u.createBlock([]);po(ii)&&(et=u.copyPrologue(ii.statements,gt,!1,pe)),yn(gt,Da(void 0,Pe));const me=f();if(et>0||Oe(gt)||Oe(me)){const ni=u.converters.convertToFunctionBlock(ii,!0);return ZE(gt,me),yn(gt,ni.statements.slice(et)),u.updateBlock(ni,Pt(u.createNodeArray(gt),ni.statements))}return ii}function Da(Pe,et){let gt=!1;for(const ii of et.parameters)if(gt){if(So(ii.name)){if(ii.name.elements.length>0){const me=Q2(ii,pe,t,0,u.getGeneratedNameForNode(ii));if(Oe(me)){const ni=u.createVariableDeclarationList(me),vi=u.createVariableStatement(void 0,ni);Zn(vi,2097152),Pe=xi(Pe,vi)}}else if(ii.initializer){const me=u.getGeneratedNameForNode(ii),ni=yt(ii.initializer,pe,Wt),vi=u.createAssignment(me,ni),mt=u.createExpressionStatement(vi);Zn(mt,2097152),Pe=xi(Pe,mt)}}else if(ii.initializer){const me=u.cloneNode(ii.name);Pt(me,ii.name),Zn(me,96);const ni=yt(ii.initializer,pe,Wt);i_(ni,3168);const vi=u.createAssignment(me,ni);Pt(vi,ii),Zn(vi,3072);const mt=u.createBlock([u.createExpressionStatement(vi)]);Pt(mt,ii),Zn(mt,3905);const Ot=u.createTypeCheck(u.cloneNode(ii.name),"undefined"),Ei=u.createIfStatement(Ot,mt);vh(Ei),Pt(Ei,ii),Zn(Ei,2101056),Pe=xi(Pe,Ei)}}else if(ii.transformFlags&65536){gt=!0;const me=Q2(ii,pe,t,1,u.getGeneratedNameForNode(ii),!1,!0);if(Oe(me)){const ni=u.createVariableDeclarationList(me),vi=u.createVariableStatement(void 0,ni);Zn(vi,2097152),Pe=xi(Pe,vi)}}return Pe}function ra(){M&1||(M|=1,t.enableSubstitution(213),t.enableSubstitution(211),t.enableSubstitution(212),t.enableEmitNotification(263),t.enableEmitNotification(174),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(176),t.enableEmitNotification(243))}function Ta(Pe,et,gt){if(M&1&&qt(et)){const ii=E.getNodeCheckFlags(et)&384;if(ii!==J){const me=J;J=ii,B(Pe,et,gt),J=me;return}}else if(M&&ae[$s(et)]){const ii=J;J=0,B(Pe,et,gt),J=ii;return}B(Pe,et,gt)}function Yo(Pe,et){return et=k(Pe,et),Pe===1&&J?bo(et):et}function bo(Pe){switch(Pe.kind){case 211:return Qe(Pe);case 212:return Et(Pe);case 213:return Mt(Pe)}return Pe}function Qe(Pe){return Pe.expression.kind===108?Pt(u.createPropertyAccessExpression(u.createUniqueName("_super",48),Pe.name),Pe):Pe}function Et(Pe){return Pe.expression.kind===108?Xt(Pe.argumentExpression,Pe):Pe}function Mt(Pe){const et=Pe.expression;if(nf(et)){const gt=Iu(et)?Qe(et):Et(et);return u.createCallExpression(u.createPropertyAccessExpression(gt,"call"),void 0,[u.createThis(),...Pe.arguments])}return Pe}function qt(Pe){const et=Pe.kind;return et===263||et===176||et===174||et===177||et===178}function Xt(Pe,et){return J&256?Pt(u.createPropertyAccessExpression(u.createCallExpression(u.createIdentifier("_superIndex"),void 0,[Pe]),"value"),et):Pt(u.createCallExpression(u.createIdentifier("_superIndex"),void 0,[Pe]),et)}}var TMt=o({"src/compiler/transformers/es2018.ts"(){Bo()}});function d7e(t){const u=t.factory;return Kp(t,s);function s(p){return p.isDeclarationFile?p:rn(p,d,t)}function d(p){if(!(p.transformFlags&64))return p;switch(p.kind){case 299:return f(p);default:return rn(p,d,t)}}function f(p){return p.variableDeclaration?rn(p,d,t):u.updateCatchClause(p,u.createVariableDeclaration(u.createTempVariable(void 0)),yt(p.block,d,po))}}var LMt=o({"src/compiler/transformers/es2019.ts"(){Bo()}});function h7e(t){const{factory:u,hoistVariableDeclaration:s}=t;return Kp(t,d);function d(j){return j.isDeclarationFile?j:rn(j,f,t)}function f(j){if(!(j.transformFlags&32))return j;switch(j.kind){case 213:{const J=b(j,!1);return H.assertNotNode(J,j7),J}case 211:case 212:if(Y1(j)){const J=k(j,!1,!1);return H.assertNotNode(J,j7),J}return rn(j,f,t);case 226:return j.operatorToken.kind===61?M(j):rn(j,f,t);case 220:return z(j);default:return rn(j,f,t)}}function p(j){H.assertNotNode(j,zU);const J=[j];for(;!j.questionDotToken&&!Dk(j);)j=Po(Np(j.expression),Y1),H.assertNotNode(j,zU),J.unshift(j);return{expression:j.expression,chain:J}}function E(j,J,K){const Y=B(j.expression,J,K);return j7(Y)?u.createSyntheticReferenceExpression(u.updateParenthesizedExpression(j,Y.expression),Y.thisArg):u.updateParenthesizedExpression(j,Y)}function v(j,J,K){if(Y1(j))return k(j,J,K);let Y=yt(j.expression,f,Wt);H.assertNotNode(Y,j7);let oe;return J&&(Y2(Y)?oe=Y:(oe=u.createTempVariable(s),Y=u.createAssignment(oe,Y))),Y=j.kind===211?u.updatePropertyAccessExpression(j,Y,yt(j.name,f,at)):u.updateElementAccessExpression(j,Y,yt(j.argumentExpression,f,Wt)),oe?u.createSyntheticReferenceExpression(Y,oe):Y}function b(j,J){if(Y1(j))return k(j,J,!1);if(Cf(j.expression)&&Y1(l0(j.expression))){const K=E(j.expression,!0,!1),Y=kn(j.arguments,f,Wt);return j7(K)?Pt(u.createFunctionCallCall(K.expression,K.thisArg,Y),j):u.updateCallExpression(j,K,void 0,Y)}return rn(j,f,t)}function B(j,J,K){switch(j.kind){case 217:return E(j,J,K);case 211:case 212:return v(j,J,K);case 213:return b(j,J);default:return yt(j,f,Wt)}}function k(j,J,K){const{expression:Y,chain:oe}=p(j),se=B(Np(Y),$y(oe[0]),!1);let ge=j7(se)?se.thisArg:void 0,ae=j7(se)?se.expression:se,Ce=u.restoreOuterExpressions(Y,ae,8);Y2(ae)||(ae=u.createTempVariable(s),Ce=u.createAssignment(ae,Ce));let ne=ae,ve;for(let Ne=0;NeAe&&yn(De,kn(Be.statements,T,na,Ae,Ke-Ae));break}Ke++}H.assert(KeK(De,Ae))))],Ae,Ge===2)}return rn(Be,T,t)}function oe(Be,Ge,Ae,De,Ke){const Je=[];for(let Ve=Ge;Veu&&(u=d)}return u}function zMt(t){let u=0;for(const s of t){const d=u1e(s.statements);if(d===2)return 2;d>u&&(u=d)}return u}var IMt=o({"src/compiler/transformers/esnext.ts"(){Bo()}});function _7e(t){const{factory:u,getEmitHelperFactory:s}=t,d=t.getCompilerOptions();let f,p;return Kp(t,T);function E(){if(p.filenameDeclaration)return p.filenameDeclaration.name;const Ie=u.createVariableDeclaration(u.createUniqueName("_jsxFileName",48),void 0,void 0,u.createStringLiteral(f.fileName));return p.filenameDeclaration=Ie,p.filenameDeclaration.name}function v(Ie){return d.jsx===5?"jsxDEV":Ie?"jsxs":"jsx"}function b(Ie){const st=v(Ie);return k(st)}function B(){return k("Fragment")}function k(Ie){var st,St;const It=Ie==="createElement"?p.importSpecifier:uZ(p.importSpecifier,d),ei=(St=(st=p.utilizedImplicitRuntimeImports)==null?void 0:st.get(It))==null?void 0:St.get(Ie);if(ei)return ei.name;p.utilizedImplicitRuntimeImports||(p.utilizedImplicitRuntimeImports=new Map);let ht=p.utilizedImplicitRuntimeImports.get(It);ht||(ht=new Map,p.utilizedImplicitRuntimeImports.set(It,ht));const Ut=u.createUniqueName(`_${Ie}`,112),Ni=u.createImportSpecifier(!1,u.createIdentifier(Ie),Ut);return Gke(Ut,Ni),ht.set(Ie,Ni),Ut}function T(Ie){if(Ie.isDeclarationFile)return Ie;f=Ie,p={},p.importSpecifier=nZ(d,Ie);let st=rn(Ie,M,t);iD(st,t.readEmitHelpers());let St=st.statements;if(p.filenameDeclaration&&(St=Xy(St.slice(),u.createVariableStatement(void 0,u.createVariableDeclarationList([p.filenameDeclaration],2)))),p.utilizedImplicitRuntimeImports){for(const[It,ei]of ga(p.utilizedImplicitRuntimeImports.entries()))if(wc(Ie)){const ht=u.createImportDeclaration(void 0,u.createImportClause(!1,void 0,u.createNamedImports(ga(ei.values()))),u.createStringLiteral(It),void 0);Vx(ht,!1),St=Xy(St.slice(),ht)}else if(cm(Ie)){const ht=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(u.createObjectBindingPattern(ga(ei.values(),Ut=>u.createBindingElement(void 0,Ut.propertyName,Ut.name))),void 0,void 0,u.createCallExpression(u.createIdentifier("require"),void 0,[u.createStringLiteral(It)]))],2));Vx(ht,!1),St=Xy(St.slice(),ht)}}return St!==st.statements&&(st=u.updateSourceFile(st,St)),p=void 0,st}function M(Ie){return Ie.transformFlags&2?z(Ie):Ie}function z(Ie){switch(Ie.kind){case 284:return oe(Ie,!1);case 285:return se(Ie,!1);case 288:return ge(Ie,!1);case 294:return Yt(Ie);default:return rn(Ie,M,t)}}function j(Ie){switch(Ie.kind){case 12:return Ke(Ie);case 294:return Yt(Ie);case 284:return oe(Ie,!0);case 285:return se(Ie,!0);case 288:return ge(Ie,!0);default:return H.failBadSyntaxKind(Ie)}}function J(Ie){return Ie.properties.some(st=>Jc(st)&&(at(st.name)&&fu(st.name)==="__proto__"||us(st.name)&&st.name.text==="__proto__"))}function K(Ie){let st=!1;for(const St of Ie.attributes.properties)if(H7(St)&&(!ys(St.expression)||St.expression.properties.some(d5)))st=!0;else if(st&&oE(St)&&at(St.name)&&St.name.escapedText==="key")return!0;return!1}function Y(Ie){return p.importSpecifier===void 0||K(Ie)}function oe(Ie,st){return(Y(Ie.openingElement)?Se:ne)(Ie.openingElement,Ie.children,st,Ie)}function se(Ie,st){return(Y(Ie)?Se:ne)(Ie,void 0,st,Ie)}function ge(Ie,st){return(p.importSpecifier===void 0?pe:Ne)(Ie.openingFragment,Ie.children,st,Ie)}function ae(Ie){const st=Ce(Ie);return st&&u.createObjectLiteralExpression([st])}function Ce(Ie){const st=uB(Ie);if(S(st)===1&&!st[0].dotDotDotToken){const It=j(st[0]);return It&&u.createPropertyAssignment("children",It)}const St=qi(Ie,j);return S(St)?u.createPropertyAssignment("children",u.createArrayLiteralExpression(St)):void 0}function ne(Ie,st,St,It){const ei=We(Ie),ht=st&&st.length?Ce(st):void 0,Ut=Le(Ie.attributes.properties,xn=>!!xn.name&&at(xn.name)&&xn.name.escapedText==="key"),Ni=Ut?ti(Ie.attributes.properties,xn=>xn!==Ut):Ie.attributes.properties,ji=S(Ni)?xe(Ni,ht):u.createObjectLiteralExpression(ht?[ht]:_t);return ve(ei,ji,Ut,st||_t,St,It)}function ve(Ie,st,St,It,ei,ht){var Ut;const Ni=uB(It),ji=S(Ni)>1||!!((Ut=Ni[0])!=null&&Ut.dotDotDotToken),xn=[Ie,st];if(St&&xn.push(De(St.initializer)),d.jsx===5){const an=Wl(f);if(an&&la(an)){St===void 0&&xn.push(u.createVoidZero()),xn.push(ji?u.createTrue():u.createFalse());const Pi=s0(an,ht.pos);xn.push(u.createObjectLiteralExpression([u.createPropertyAssignment("fileName",E()),u.createPropertyAssignment("lineNumber",u.createNumericLiteral(Pi.line+1)),u.createPropertyAssignment("columnNumber",u.createNumericLiteral(Pi.character+1))])),xn.push(u.createThis())}}const Jn=Pt(u.createCallExpression(b(ji),void 0,xn),ht);return ei&&vh(Jn),Jn}function Se(Ie,st,St,It){const ei=We(Ie),ht=Ie.attributes.properties,Ut=S(ht)?xe(ht):u.createNull(),Ni=p.importSpecifier===void 0?Pce(u,t.getEmitResolver().getJsxFactoryEntity(f),d.reactNamespace,Ie):k("createElement"),ji=yFe(u,Ni,ei,Ut,qi(st,j),It);return St&&vh(ji),ji}function Ne(Ie,st,St,It){let ei;if(st&&st.length){const ht=ae(st);ht&&(ei=ht)}return ve(B(),ei||u.createObjectLiteralExpression([]),void 0,st,St,It)}function pe(Ie,st,St,It){const ei=kFe(u,t.getEmitResolver().getJsxFactoryEntity(f),t.getEmitResolver().getJsxFragmentFactoryEntity(f),d.reactNamespace,qi(st,j),Ie,It);return St&&vh(ei),ei}function fe(Ie){return ys(Ie.expression)&&!J(Ie.expression)?Lu(Ie.expression.properties,st=>H.checkDefined(yt(st,M,Z3))):u.createSpreadAssignment(H.checkDefined(yt(Ie.expression,M,Wt)))}function xe(Ie,st){const St=Os(d);return St&&St>=5?u.createObjectLiteralExpression(Be(Ie,st)):Ge(Ie,st)}function Be(Ie,st){const St=Va(Hl(Ie,H7,(It,ei)=>Va(Vt(It,ht=>ei?fe(ht):Ae(ht)))));return st&&St.push(st),St}function Ge(Ie,st){const St=[];let It=[];for(const ht of Ie){if(H7(ht)){if(ys(ht.expression)&&!J(ht.expression)){for(const Ut of ht.expression.properties){if(d5(Ut)){ei(),St.push(H.checkDefined(yt(Ut.expression,M,Wt)));continue}It.push(H.checkDefined(yt(Ut,M)))}continue}ei(),St.push(H.checkDefined(yt(ht.expression,M,Wt)));continue}It.push(Ae(ht))}return st&&It.push(st),ei(),St.length&&!ys(St[0])&&St.unshift(u.createObjectLiteralExpression()),Aa(St)||s().createAssignHelper(St);function ei(){It.length&&(St.push(u.createObjectLiteralExpression(It)),It=[])}}function Ae(Ie){const st=Gt(Ie),St=De(Ie.initializer);return u.createPropertyAssignment(st,St)}function De(Ie){if(Ie===void 0)return u.createTrue();if(Ie.kind===11){const st=Ie.singleQuote!==void 0?Ie.singleQuote:!Cq(Ie,f),St=u.createStringLiteral(Ve(Ie.text)||Ie.text,st);return Pt(St,Ie)}return Ie.kind===294?Ie.expression===void 0?u.createTrue():H.checkDefined(yt(Ie.expression,M,Wt)):r3(Ie)?oe(Ie,!1):bk(Ie)?se(Ie,!1):K2(Ie)?ge(Ie,!1):H.failBadSyntaxKind(Ie)}function Ke(Ie){const st=Je(Ie.text);return st===void 0?void 0:u.createStringLiteral(st)}function Je(Ie){let st,St=0,It=-1;for(let ei=0;ei{if(ht)return F8(parseInt(ht,10));if(Ut)return F8(parseInt(Ut,16));{const ji=Wet.get(Ni);return ji?F8(ji):st}})}function Ve(Ie){const st=Ye(Ie);return st===Ie?void 0:st}function We(Ie){if(Ie.kind===284)return We(Ie.openingElement);{const st=Ie.tagName;return at(st)&&aB(st.escapedText)?u.createStringLiteral(fu(st)):gg(st)?u.createStringLiteral(fu(st.namespace)+":"+fu(st.name)):PV(u,st)}}function Gt(Ie){const st=Ie.name;if(at(st)){const St=fu(st);return/^[A-Za-z_]\w*$/.test(St)?st:u.createStringLiteral(St)}return u.createStringLiteral(fu(st.namespace)+":"+fu(st.name))}function Yt(Ie){const st=yt(Ie.expression,M,Wt);return Ie.dotDotDotToken?u.createSpreadElement(st):st}}var Wet,RMt=o({"src/compiler/transformers/jsx.ts"(){Bo(),Wet=new Map(Object.entries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}))}});function D7e(t){const{factory:u,hoistVariableDeclaration:s}=t;return Kp(t,d);function d(b){return b.isDeclarationFile?b:rn(b,f,t)}function f(b){if(!(b.transformFlags&512))return b;switch(b.kind){case 226:return p(b);default:return rn(b,f,t)}}function p(b){switch(b.operatorToken.kind){case 68:return E(b);case 43:return v(b);default:return rn(b,f,t)}}function E(b){let B,k;const T=yt(b.left,f,Wt),M=yt(b.right,f,Wt);if(U0(T)){const z=u.createTempVariable(s),j=u.createTempVariable(s);B=Pt(u.createElementAccessExpression(Pt(u.createAssignment(z,T.expression),T.expression),Pt(u.createAssignment(j,T.argumentExpression),T.argumentExpression)),T),k=Pt(u.createElementAccessExpression(z,j),T)}else if(Iu(T)){const z=u.createTempVariable(s);B=Pt(u.createPropertyAccessExpression(Pt(u.createAssignment(z,T.expression),T.expression),T.name),T),k=Pt(u.createPropertyAccessExpression(z,T.name),T)}else B=T,k=T;return Pt(u.createAssignment(B,Pt(u.createGlobalMethodCall("Math","pow",[k,M]),b)),b)}function v(b){const B=yt(b.left,f,Wt),k=yt(b.right,f,Wt);return Pt(u.createGlobalMethodCall("Math","pow",[B,k]),b)}}var OMt=o({"src/compiler/transformers/es2016.ts"(){Bo()}});function Get(t,u){return{kind:t,expression:u}}function x7e(t){const{factory:u,getEmitHelperFactory:s,startLexicalEnvironment:d,resumeLexicalEnvironment:f,endLexicalEnvironment:p,hoistVariableDeclaration:E}=t,v=t.getCompilerOptions(),b=t.getEmitResolver(),B=t.onSubstituteNode,k=t.onEmitNode;t.onEmitNode=ip,t.onSubstituteNode=f4;let T,M,z,j;function J(Ee){j=xi(j,u.createVariableDeclaration(Ee))}let K,Y;return Kp(t,oe);function oe(Ee){if(Ee.isDeclarationFile)return Ee;T=Ee,M=Ee.text;const Bt=xe(Ee);return iD(Bt,t.readEmitHelpers()),T=void 0,M=void 0,j=void 0,z=0,Bt}function se(Ee,Bt){const Di=z;return z=(z&~Ee|Bt)&32767,Di}function ge(Ee,Bt,Di){z=(z&~Bt|Di)&-32768|Ee}function ae(Ee){return(z&8192)!==0&&Ee.kind===253&&!Ee.expression}function Ce(Ee){return Ee.transformFlags&4194304&&(Op(Ee)||xk(Ee)||cFe(Ee)||BV(Ee)||ZP(Ee)||BB(Ee)||TV(Ee)||Ck(Ee)||G2(Ee)||V2(Ee)||Tx(Ee,!1)||po(Ee))}function ne(Ee){return(Ee.transformFlags&1024)!==0||K!==void 0||z&8192&&Ce(Ee)||Tx(Ee,!1)&&co(Ee)||(Pp(Ee)&1)!==0}function ve(Ee){return ne(Ee)?fe(Ee,!1):Ee}function Se(Ee){return ne(Ee)?fe(Ee,!0):Ee}function Ne(Ee){if(ne(Ee)){const Bt=Wl(Ee);if(ko(Bt)&&Kc(Bt)){const Di=se(32670,16449),Ci=fe(Ee,!1);return ge(Di,229376,0),Ci}return fe(Ee,!1)}return Ee}function pe(Ee){return Ee.kind===108?ql(Ee,!0):ve(Ee)}function fe(Ee,Bt){switch(Ee.kind){case 126:return;case 263:return We(Ee);case 231:return Gt(Ee);case 169:return bo(Ee);case 262:return Qi(Ee);case 219:return Ei(Ee);case 218:return $i(Ee);case 260:return Sn(Ee);case 80:return Ye(Ee);case 261:return ct(Ee);case 255:return Be(Ee);case 269:return Ge(Ee);case 241:return te(Ee,!1);case 252:case 251:return Ve(Ee);case 256:return pr(Ee);case 246:case 247:return Ku(Ee,void 0);case 248:return ja(Ee,void 0);case 249:return Ir(Ee,void 0);case 250:return as(Ee,void 0);case 244:return we(Ee);case 210:return c0(Ee);case 299:return Nr(Ee);case 304:return nd(Ee);case 167:return S0(Ee);case 209:return m0(Ee);case 213:return Bd(Ee);case 214:return h4(Ee);case 217:return de(Ee,Bt);case 226:return je(Ee,Bt);case 361:return X(Ee,Bt);case 15:case 16:case 17:case 18:return To(Ee);case 11:return nc(Ee);case 9:return fc(Ee);case 215:return Cl(Ee);case 228:return Tl(Ee);case 229:return ud(Ee);case 230:return Fo(Ee);case 108:return ql(Ee,!1);case 110:return Je(Ee);case 236:return Nc(Ee);case 174:return Ss(Ee);case 177:case 178:return ic(Ee);case 243:return Ct(Ee);case 253:return Ke(Ee);case 222:return ft(Ee);default:return rn(Ee,ve,t)}}function xe(Ee){const Bt=se(8064,64),Di=[],Ci=[];d();const Q=u.copyPrologue(Ee.statements,Di,!1,ve);return yn(Ci,kn(Ee.statements,ve,na,Q)),j&&Ci.push(u.createVariableStatement(void 0,u.createVariableDeclarationList(j))),u.mergeLexicalEnvironment(Di,p()),et(Di,Ee),ge(Bt,0,0),u.updateSourceFile(Ee,Pt(u.createNodeArray(Hi(Di,Ci)),Ee.statements))}function Be(Ee){if(K!==void 0){const Bt=K.allowedNonLabeledJumps;K.allowedNonLabeledJumps|=2;const Di=rn(Ee,ve,t);return K.allowedNonLabeledJumps=Bt,Di}return rn(Ee,ve,t)}function Ge(Ee){const Bt=se(7104,0),Di=rn(Ee,ve,t);return ge(Bt,0,0),Di}function Ae(Ee){return su(u.createReturnStatement(De()),Ee)}function De(){return u.createUniqueName("_this",48)}function Ke(Ee){return K?(K.nonLocalJumps|=8,ae(Ee)&&(Ee=Ae(Ee)),u.createReturnStatement(u.createObjectLiteralExpression([u.createPropertyAssignment(u.createIdentifier("value"),Ee.expression?H.checkDefined(yt(Ee.expression,ve,Wt)):u.createVoidZero())]))):ae(Ee)?Ae(Ee):rn(Ee,ve,t)}function Je(Ee){return z|=65536,z&2&&!(z&16384)&&(z|=131072),K?z&2?(K.containsLexicalThis=!0,Ee):K.thisName||(K.thisName=u.createUniqueName("this")):Ee}function ft(Ee){return rn(Ee,Se,t)}function Ye(Ee){return K&&b.isArgumentsLocalBinding(Ee)?K.argumentsName||(K.argumentsName=u.createUniqueName("arguments")):Ee.flags&256?su(Pt(u.createIdentifier(Qr(Ee.escapedText)),Ee),Ee):Ee}function Ve(Ee){if(K){const Bt=Ee.kind===252?2:4;if(!(Ee.label&&K.labels&&K.labels.get(fu(Ee.label))||!Ee.label&&K.allowedNonLabeledJumps&Bt)){let Ci;const Q=Ee.label;Q?Ee.kind===252?(Ci=`break-${Q.escapedText}`,tt(K,!0,fu(Q),Ci)):(Ci=`continue-${Q.escapedText}`,tt(K,!1,fu(Q),Ci)):Ee.kind===252?(K.nonLocalJumps|=2,Ci="break"):(K.nonLocalJumps|=4,Ci="continue");let Me=u.createStringLiteral(Ci);if(K.loopOutParameters.length){const wt=K.loopOutParameters;let ki;for(let In=0;Inat(Bt.name)&&!Bt.initializer)}function Ut(Ee){if(ik(Ee))return!0;if(!(Ee.transformFlags&134217728))return!1;switch(Ee.kind){case 219:case 218:case 262:case 176:case 175:return!1;case 177:case 178:case 174:case 172:{const Bt=Ee;return Ps(Bt.name)?!!ao(Bt.name,Ut):!1}}return!!ao(Ee,Ut)}function Ni(Ee,Bt,Di,Ci){const Q=!!Di&&Dc(Di.expression).kind!==106;if(!Ee)return ei(Bt,Q);const Me=[],wt=[];f();const ki=u.copyStandardPrologue(Ee.body.statements,Me,0);(Ci||Ut(Ee.body))&&(z|=8192),yn(wt,kn(Ee.body.statements,ve,na,ki));const In=Q||z&8192;Et(Me,Ee),Pe(Me,Ee,Ci),ii(Me,Ee),In?gt(Me,Ee,Ta()):et(Me,Ee),u.mergeLexicalEnvironment(Me,p()),In&&!ra(Ee.body)&&wt.push(u.createReturnStatement(De()));const tr=u.createBlock(Pt(u.createNodeArray([...Me,...wt]),Ee.body.statements),!0);return Pt(tr,Ee.body),Da(tr,Ee.body,Ci)}function ji(Ee){return al(Ee)&&fu(Ee)==="_this"}function xn(Ee){return al(Ee)&&fu(Ee)==="_super"}function Jn(Ee){return Jl(Ee)&&Ee.declarationList.declarations.length===1&&an(Ee.declarationList.declarations[0])}function an(Ee){return ua(Ee)&&ji(Ee.name)&&!!Ee.initializer}function Pi(Ee){return ld(Ee,!0)&&ji(Ee.left)}function Ai(Ee){return Mo(Ee)&&Iu(Ee.expression)&&xn(Ee.expression.expression)&&at(Ee.expression.name)&&(fu(Ee.expression.name)==="call"||fu(Ee.expression.name)==="apply")&&Ee.arguments.length>=1&&Ee.arguments[0].kind===110}function Zu(Ee){return Xn(Ee)&&Ee.operatorToken.kind===57&&Ee.right.kind===110&&Ai(Ee.left)}function aa(Ee){return Xn(Ee)&&Ee.operatorToken.kind===56&&Xn(Ee.left)&&Ee.left.operatorToken.kind===38&&xn(Ee.left.left)&&Ee.left.right.kind===106&&Ai(Ee.right)&&fu(Ee.right.expression.name)==="apply"}function yr(Ee){return Xn(Ee)&&Ee.operatorToken.kind===57&&Ee.right.kind===110&&aa(Ee.left)}function Ba(Ee){return Pi(Ee)&&Zu(Ee.right)}function bt(Ee){return Pi(Ee)&&yr(Ee.right)}function jn(Ee){return Ai(Ee)||Zu(Ee)||Ba(Ee)||aa(Ee)||yr(Ee)||bt(Ee)}function Ln(Ee){for(let Bt=0;Bt0;Ci--){const Q=Ee.statements[Ci];if(Op(Q)&&Q.expression&&ji(Q.expression)){const Me=Ee.statements[Ci-1];let wt;if(Od(Me)&&Ba(Dc(Me.expression)))wt=Me.expression;else if(Di&&Jn(Me)){const tr=Me.declarationList.declarations[0];jn(Dc(tr.initializer))&&(wt=u.createAssignment(De(),tr.initializer))}if(!wt)break;const ki=u.createReturnStatement(wt);su(ki,Me),Pt(ki,Me);const In=u.createNodeArray([...Ee.statements.slice(0,Ci-1),ki,...Ee.statements.slice(Ci+1)]);return Pt(In,Ee.statements),u.updateBlock(Ee,In)}}return Ee}function Dn(Ee){if(Jn(Ee)){if(Ee.declarationList.declarations[0].initializer.kind===110)return}else if(Pi(Ee))return u.createPartiallyEmittedExpression(Ee.right,Ee);switch(Ee.kind){case 219:case 218:case 262:case 176:case 175:return Ee;case 177:case 178:case 174:case 172:{const Bt=Ee;return Ps(Bt.name)?u.replacePropertyName(Bt,rn(Bt.name,Dn,Dg)):Ee}}return rn(Ee,Dn,Dg)}function Cn(Ee,Bt){if(Bt.transformFlags&16384||z&65536||z&131072)return Ee;for(const Di of Bt.statements)if(Di.transformFlags&134217728&&!oQ(Di))return Ee;return u.updateBlock(Ee,kn(Ee.statements,Dn,na))}function tu(Ee){if(Ai(Ee)&&Ee.arguments.length===2&&at(Ee.arguments[1])&&fu(Ee.arguments[1])==="arguments")return u.createLogicalAnd(u.createStrictInequality(bc(),u.createNull()),Ee);switch(Ee.kind){case 219:case 218:case 262:case 176:case 175:return Ee;case 177:case 178:case 174:case 172:{const Bt=Ee;return Ps(Bt.name)?u.replacePropertyName(Bt,rn(Bt.name,tu,Dg)):Ee}}return rn(Ee,tu,Dg)}function oa(Ee){return u.updateBlock(Ee,kn(Ee.statements,tu,na))}function Da(Ee,Bt,Di){const Ci=Ee;return Ee=Ln(Ee),Ee=Si(Ee,Bt),Ee!==Ci&&(Ee=Cn(Ee,Bt)),Di&&(Ee=oa(Ee)),Ee}function ra(Ee){if(Ee.kind===253)return!0;if(Ee.kind===245){const Bt=Ee;if(Bt.elseStatement)return ra(Bt.thenStatement)&&ra(Bt.elseStatement)}else if(Ee.kind===241){const Bt=qu(Ee.statements);if(Bt&&ra(Bt))return!0}return!1}function Ta(){return Zn(u.createThis(),8)}function Yo(){return u.createLogicalOr(u.createLogicalAnd(u.createStrictInequality(bc(),u.createNull()),u.createFunctionApplyCall(bc(),Ta(),u.createIdentifier("arguments"))),Ta())}function bo(Ee){if(!Ee.dotDotDotToken)return So(Ee.name)?su(Pt(u.createParameterDeclaration(void 0,void 0,u.getGeneratedNameForNode(Ee),void 0,void 0,void 0),Ee),Ee):Ee.initializer?su(Pt(u.createParameterDeclaration(void 0,void 0,Ee.name,void 0,void 0,void 0),Ee),Ee):Ee}function Qe(Ee){return Ee.initializer!==void 0||So(Ee.name)}function Et(Ee,Bt){if(!Oe(Bt.parameters,Qe))return!1;let Di=!1;for(const Ci of Bt.parameters){const{name:Q,initializer:Me,dotDotDotToken:wt}=Ci;wt||(So(Q)?Di=Mt(Ee,Ci,Q,Me)||Di:Me&&(qt(Ee,Ci,Q,Me),Di=!0))}return Di}function Mt(Ee,Bt,Di,Ci){return Di.elements.length>0?(Xy(Ee,Zn(u.createVariableStatement(void 0,u.createVariableDeclarationList(Q2(Bt,ve,t,0,u.getGeneratedNameForNode(Bt)))),2097152)),!0):Ci?(Xy(Ee,Zn(u.createExpressionStatement(u.createAssignment(u.getGeneratedNameForNode(Bt),H.checkDefined(yt(Ci,ve,Wt)))),2097152)),!0):!1}function qt(Ee,Bt,Di,Ci){Ci=H.checkDefined(yt(Ci,ve,Wt));const Q=u.createIfStatement(u.createTypeCheck(u.cloneNode(Di),"undefined"),Zn(Pt(u.createBlock([u.createExpressionStatement(Zn(Pt(u.createAssignment(Zn(ks(Pt(u.cloneNode(Di),Di),Di.parent),96),Zn(Ci,96|bs(Ci)|3072)),Bt),3072))]),Bt),3905));vh(Q),Pt(Q,Bt),Zn(Q,2101056),Xy(Ee,Q)}function Xt(Ee,Bt){return!!(Ee&&Ee.dotDotDotToken&&!Bt)}function Pe(Ee,Bt,Di){const Ci=[],Q=qu(Bt.parameters);if(!Xt(Q,Di))return!1;const Me=Q.name.kind===80?ks(Pt(u.cloneNode(Q.name),Q.name),Q.name.parent):u.createTempVariable(void 0);Zn(Me,96);const wt=Q.name.kind===80?u.cloneNode(Q.name):Me,ki=Bt.parameters.length-1,In=u.createLoopVariable();Ci.push(Zn(Pt(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(Me,void 0,void 0,u.createArrayLiteralExpression([]))])),Q),2097152));const tr=u.createForStatement(Pt(u.createVariableDeclarationList([u.createVariableDeclaration(In,void 0,void 0,u.createNumericLiteral(ki))]),Q),Pt(u.createLessThan(In,u.createPropertyAccessExpression(u.createIdentifier("arguments"),"length")),Q),Pt(u.createPostfixIncrement(In),Q),u.createBlock([vh(Pt(u.createExpressionStatement(u.createAssignment(u.createElementAccessExpression(wt,ki===0?In:u.createSubtract(In,u.createNumericLiteral(ki))),u.createElementAccessExpression(u.createIdentifier("arguments"),In))),Q))]));return Zn(tr,2097152),vh(tr),Ci.push(tr),Q.name.kind!==80&&Ci.push(Zn(Pt(u.createVariableStatement(void 0,u.createVariableDeclarationList(Q2(Q,ve,t,0,wt))),Q),2097152)),l0e(Ee,Ci),!0}function et(Ee,Bt){return z&131072&&Bt.kind!==219?(gt(Ee,Bt,u.createThis()),!0):!1}function gt(Ee,Bt,Di){jh();const Ci=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(De(),void 0,void 0,Di)]));Zn(Ci,2100224),As(Ci,Bt),Xy(Ee,Ci)}function ii(Ee,Bt){if(z&32768){let Di;switch(Bt.kind){case 219:return Ee;case 174:case 177:case 178:Di=u.createVoidZero();break;case 176:Di=u.createPropertyAccessExpression(Zn(u.createThis(),8),"constructor");break;case 262:case 218:Di=u.createConditionalExpression(u.createLogicalAnd(Zn(u.createThis(),8),u.createBinaryExpression(Zn(u.createThis(),8),104,u.getLocalName(Bt))),void 0,u.createPropertyAccessExpression(Zn(u.createThis(),8),"constructor"),void 0,u.createVoidZero());break;default:return H.failBadSyntaxKind(Bt)}const Ci=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(u.createUniqueName("_newTarget",48),void 0,void 0,Di)]));Zn(Ci,2100224),Xy(Ee,Ci)}return Ee}function me(Ee,Bt){for(const Di of Bt.members)switch(Di.kind){case 240:Ee.push(ni(Di));break;case 174:Ee.push(vi(m4(Bt,Di),Di,Bt));break;case 177:case 178:const Ci=dk(Bt.members,Di);Di===Ci.firstAccessor&&Ee.push(mt(m4(Bt,Di),Ci,Bt));break;case 176:case 175:break;default:H.failBadSyntaxKind(Di,T&&T.fileName);break}}function ni(Ee){return Pt(u.createEmptyStatement(),Ee)}function vi(Ee,Bt,Di){const Ci=nE(Bt),Q=Lv(Bt),Me=on(Bt,Bt,void 0,Di),wt=yt(Bt.name,ve,Sc);H.assert(wt);let ki;if(!ea(wt)&&eV(t.getCompilerOptions())){const tr=Ps(wt)?wt.expression:at(wt)?u.createStringLiteral(Qr(wt.escapedText)):wt;ki=u.createObjectDefinePropertyCall(Ee,tr,u.createPropertyDescriptor({value:Me,enumerable:!1,writable:!0,configurable:!0}))}else{const tr=Fk(u,Ee,wt,Bt.name);ki=u.createAssignment(tr,Me)}Zn(Me,3072),As(Me,Q);const In=Pt(u.createExpressionStatement(ki),Bt);return su(In,Bt),Bc(In,Ci),Zn(In,96),In}function mt(Ee,Bt,Di){const Ci=u.createExpressionStatement(Ot(Ee,Bt,Di,!1));return Zn(Ci,3072),As(Ci,Lv(Bt.firstAccessor)),Ci}function Ot(Ee,{firstAccessor:Bt,getAccessor:Di,setAccessor:Ci},Q,Me){const wt=ks(Pt(u.cloneNode(Ee),Ee),Ee.parent);Zn(wt,3136),As(wt,Bt.name);const ki=yt(Bt.name,ve,Sc);if(H.assert(ki),ea(ki))return H.failBadSyntaxKind(ki,"Encountered unhandled private identifier while transforming ES2015.");const In=zce(u,ki);Zn(In,3104),As(In,Bt.name);const tr=[];if(Di){const ha=on(Di,void 0,void 0,Q);As(ha,Lv(Di)),Zn(ha,1024);const os=u.createPropertyAssignment("get",ha);Bc(os,nE(Di)),tr.push(os)}if(Ci){const ha=on(Ci,void 0,void 0,Q);As(ha,Lv(Ci)),Zn(ha,1024);const os=u.createPropertyAssignment("set",ha);Bc(os,nE(Ci)),tr.push(os)}tr.push(u.createPropertyAssignment("enumerable",Di||Ci?u.createFalse():u.createTrue()),u.createPropertyAssignment("configurable",u.createTrue()));const ir=u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("Object"),"defineProperty"),void 0,[wt,In,u.createObjectLiteralExpression(tr,!0)]);return Me&&vh(ir),ir}function Ei(Ee){Ee.transformFlags&16384&&!(z&16384)&&(z|=131072);const Bt=K;K=void 0;const Di=se(15232,66),Ci=u.createFunctionExpression(void 0,void 0,void 0,void 0,xc(Ee.parameters,ve,t),void 0,le(Ee));return Pt(Ci,Ee),su(Ci,Ee),Zn(Ci,16),ge(Di,0,0),K=Bt,Ci}function $i(Ee){const Bt=bs(Ee)&524288?se(32662,69):se(32670,65),Di=K;K=void 0;const Ci=xc(Ee.parameters,ve,t),Q=le(Ee),Me=z&32768?u.getLocalName(Ee):Ee.name;return ge(Bt,229376,0),K=Di,u.updateFunctionExpression(Ee,void 0,Ee.asteriskToken,Me,void 0,Ci,void 0,Q)}function Qi(Ee){const Bt=K;K=void 0;const Di=se(32670,65),Ci=xc(Ee.parameters,ve,t),Q=le(Ee),Me=z&32768?u.getLocalName(Ee):Ee.name;return ge(Di,229376,0),K=Bt,u.updateFunctionDeclaration(Ee,kn(Ee.modifiers,ve,Qo),Ee.asteriskToken,Me,void 0,Ci,void 0,Q)}function on(Ee,Bt,Di,Ci){const Q=K;K=void 0;const Me=Ci&&mr(Ci)&&!No(Ee)?se(32670,73):se(32670,65),wt=xc(Ee.parameters,ve,t),ki=le(Ee);return z&32768&&!Di&&(Ee.kind===262||Ee.kind===218)&&(Di=u.getGeneratedNameForNode(Ee)),ge(Me,229376,0),K=Q,su(Pt(u.createFunctionExpression(void 0,Ee.asteriskToken,Di,void 0,wt,void 0,ki),Bt),Ee)}function le(Ee){let Bt=!1,Di=!1,Ci,Q;const Me=[],wt=[],ki=Ee.body;let In;if(f(),po(ki)&&(In=u.copyStandardPrologue(ki.statements,Me,0,!1),In=u.copyCustomPrologue(ki.statements,wt,In,ve,aq),In=u.copyCustomPrologue(ki.statements,wt,In,ve,oq)),Bt=Et(wt,Ee)||Bt,Bt=Pe(wt,Ee,!1)||Bt,po(ki))In=u.copyCustomPrologue(ki.statements,wt,In,ve),Ci=ki.statements,yn(wt,kn(ki.statements,ve,na,In)),!Bt&&ki.multiLine&&(Bt=!0);else{H.assert(Ee.kind===219),Ci=Wq(ki,-1);const ir=Ee.equalsGreaterThanToken;!sl(ir)&&!sl(ki)&&(qj(ir,ki,T)?Di=!0:Bt=!0);const ha=yt(ki,ve,Wt),os=u.createReturnStatement(ha);Pt(os,ki),Oke(os,ki),Zn(os,2880),wt.push(os),Q=ki}if(u.mergeLexicalEnvironment(Me,p()),ii(Me,Ee),et(Me,Ee),Oe(Me)&&(Bt=!0),wt.unshift(...Me),po(ki)&&On(wt,ki.statements))return ki;const tr=u.createBlock(Pt(u.createNodeArray(wt),Ci),Bt);return Pt(tr,Ee.body),!Bt&&Di&&Zn(tr,1),Q&&Rke(tr,20,Q),su(tr,Ee.body),tr}function te(Ee,Bt){if(Bt)return rn(Ee,ve,t);const Di=z&256?se(7104,512):se(6976,128),Ci=rn(Ee,ve,t);return ge(Di,0,0),Ci}function we(Ee){return rn(Ee,Se,t)}function de(Ee,Bt){return rn(Ee,Bt?Se:ve,t)}function je(Ee,Bt){return r5(Ee)?wk(Ee,ve,t,0,!Bt):Ee.operatorToken.kind===28?u.updateBinaryExpression(Ee,H.checkDefined(yt(Ee.left,Se,Wt)),Ee.operatorToken,H.checkDefined(yt(Ee.right,Bt?Se:ve,Wt))):rn(Ee,ve,t)}function X(Ee,Bt){if(Bt)return rn(Ee,Se,t);let Di;for(let Q=0;QIn.name)),ki=Ci?u.createYieldExpression(u.createToken(42),Zn(wt,8388608)):wt;if(Me)Q.push(u.createExpressionStatement(ki)),Q0(Bt.loopOutParameters,1,0,Q);else{const In=u.createUniqueName("state"),tr=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(In,void 0,void 0,ki)]));if(Q.push(tr),Q0(Bt.loopOutParameters,1,0,Q),Bt.nonLocalJumps&8){let ir;Di?(Di.nonLocalJumps|=8,ir=u.createReturnStatement(In)):ir=u.createReturnStatement(u.createPropertyAccessExpression(In,"value")),Q.push(u.createIfStatement(u.createTypeCheck(In,"object"),ir))}if(Bt.nonLocalJumps&2&&Q.push(u.createIfStatement(u.createStrictEquality(In,u.createStringLiteral("break")),u.createBreakStatement())),Bt.labeledNonLocalBreaks||Bt.labeledNonLocalContinues){const ir=[];vt(Bt.labeledNonLocalBreaks,!0,In,Di,ir),vt(Bt.labeledNonLocalContinues,!1,In,Di,ir),Q.push(u.createSwitchStatement(In,u.createCaseBlock(ir)))}}return Q}function tt(Ee,Bt,Di,Ci){Bt?(Ee.labeledNonLocalBreaks||(Ee.labeledNonLocalBreaks=new Map),Ee.labeledNonLocalBreaks.set(Di,Ci)):(Ee.labeledNonLocalContinues||(Ee.labeledNonLocalContinues=new Map),Ee.labeledNonLocalContinues.set(Di,Ci))}function vt(Ee,Bt,Di,Ci,Q){Ee&&Ee.forEach((Me,wt)=>{const ki=[];if(!Ci||Ci.labels&&Ci.labels.get(wt)){const In=u.createIdentifier(wt);ki.push(Bt?u.createBreakStatement(In):u.createContinueStatement(In))}else tt(Ci,Bt,wt,Me),ki.push(u.createReturnStatement(Di));Q.push(u.createCaseClause(u.createStringLiteral(Me),ki))})}function mi(Ee,Bt,Di,Ci,Q){const Me=Bt.name;if(So(Me))for(const wt of Me.elements)Fd(wt)||mi(Ee,wt,Di,Ci,Q);else{Di.push(u.createParameterDeclaration(void 0,void 0,Me));const wt=b.getNodeCheckFlags(Bt);if(wt&65536||Q){const ki=u.createUniqueName("out_"+fu(Me));let In=0;wt&65536&&(In|=1),vk(Ee)&&(Ee.initializer&&b.isBindingCapturedByNode(Ee.initializer,Bt)&&(In|=2),(Ee.condition&&b.isBindingCapturedByNode(Ee.condition,Bt)||Ee.incrementor&&b.isBindingCapturedByNode(Ee.incrementor,Bt))&&(In|=1)),Ci.push({flags:In,originalName:Me,outParamName:ki})}}}function fn(Ee,Bt,Di,Ci){const Q=Bt.properties,Me=Q.length;for(let wt=Ci;wtJl(_s)&&!!Pn(_s.declarationList.declarations).initializer,Ci=K;K=void 0;const Q=kn(Bt.statements,Ne,na);K=Ci;const Me=ti(Q,Di),wt=ti(Q,_s=>!Di(_s)),In=Po(Pn(Me),Jl).declarationList.declarations[0],tr=Dc(In.initializer);let ir=ur(tr,ld);!ir&&Xn(tr)&&tr.operatorToken.kind===28&&(ir=ur(tr.left,ld));const ha=Po(ir?Dc(ir.right):tr,Mo),os=Po(Dc(ha.expression),A0),ss=os.body.statements;let Rl=0,x1=-1;const fd=[];if(ir){const _s=ur(ss[Rl],Od);_s&&(fd.push(_s),Rl++),fd.push(ss[Rl]),Rl++,fd.push(u.createExpressionStatement(u.createAssignment(ir.left,Po(In.name,at))))}for(;!Op(qD(ss,x1));)x1--;yn(fd,ss,Rl,x1),x1<-1&&yn(fd,ss,x1+1);const $m=ur(qD(ss,x1),Op);for(const _s of wt)Op(_s)&&($m!=null&&$m.expression)&&!at($m.expression)?fd.push($m):fd.push(_s);return yn(fd,Me,1),u.restoreOuterExpressions(Ee.expression,u.restoreOuterExpressions(In.initializer,u.restoreOuterExpressions(ir&&ir.right,u.updateCallExpression(ha,u.restoreOuterExpressions(ha.expression,u.updateFunctionExpression(os,void 0,void 0,void 0,void 0,os.parameters,void 0,u.updateBlock(os.body,fd))),void 0,ha.arguments))))}function uh(Ee,Bt){if(Ee.transformFlags&32768||Ee.expression.kind===108||nf(Dc(Ee.expression))){const{target:Di,thisArg:Ci}=u.createCallBinding(Ee.expression,E);Ee.expression.kind===108&&Zn(Ci,8);let Q;if(Ee.transformFlags&32768?Q=u.createFunctionApplyCall(H.checkDefined(yt(Di,pe,Wt)),Ee.expression.kind===108?Ci:H.checkDefined(yt(Ci,ve,Wt)),D1(Ee.arguments,!0,!1,!1)):Q=Pt(u.createFunctionCallCall(H.checkDefined(yt(Di,pe,Wt)),Ee.expression.kind===108?Ci:H.checkDefined(yt(Ci,ve,Wt)),kn(Ee.arguments,ve,Wt)),Ee),Ee.expression.kind===108){const Me=u.createLogicalOr(Q,Ta());Q=Bt?u.createAssignment(De(),Me):Me}return su(Q,Ee)}return ik(Ee)&&(z|=131072),rn(Ee,ve,t)}function h4(Ee){if(Oe(Ee.arguments,uE)){const{target:Bt,thisArg:Di}=u.createCallBinding(u.createPropertyAccessExpression(Ee.expression,"bind"),E);return u.createNewExpression(u.createFunctionApplyCall(H.checkDefined(yt(Bt,ve,Wt)),Di,D1(u.createNodeArray([u.createVoidZero(),...Ee.arguments]),!0,!1,!1)),void 0,[])}return rn(Ee,ve,t)}function D1(Ee,Bt,Di,Ci){const Q=Ee.length,Me=Va(Hl(Ee,He,(tr,ir,ha,os)=>ir(tr,Di,Ci&&os===Q)));if(Me.length===1){const tr=Me[0];if(Bt&&!v.downlevelIteration||Ple(tr.expression)||jP(tr.expression,"___spreadArray"))return tr.expression}const wt=s(),ki=Me[0].kind!==0;let In=ki?u.createArrayLiteralExpression():Me[0].expression;for(let tr=ki?0:1;tr0&&Ci.push(u.createStringLiteral(Di.literal.text)),Bt=u.createCallExpression(u.createPropertyAccessExpression(Bt,"concat"),void 0,Ci)}return Pt(Bt,Ee)}function bc(){return u.createUniqueName("_super",48)}function ql(Ee,Bt){const Di=z&8&&!Bt?u.createPropertyAccessExpression(su(bc(),Ee),"prototype"):bc();return su(Di,Ee),Bc(Di,Ee),As(Di,Ee),Di}function Nc(Ee){return Ee.keywordToken===105&&Ee.name.escapedText==="target"?(z|=32768,u.createUniqueName("_newTarget",48)):Ee}function ip(Ee,Bt,Di){if(Y&1&&Co(Bt)){const Ci=se(32670,bs(Bt)&16?81:65);k(Ee,Bt,Di),ge(Ci,0,0);return}k(Ee,Bt,Di)}function Jm(){Y&2||(Y|=2,t.enableSubstitution(80))}function jh(){Y&1||(Y|=1,t.enableSubstitution(110),t.enableEmitNotification(176),t.enableEmitNotification(174),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(219),t.enableEmitNotification(218),t.enableEmitNotification(262))}function f4(Ee,Bt){return Bt=B(Ee,Bt),Ee===1?C5(Bt):at(Bt)?c3(Bt):Bt}function c3(Ee){if(Y&2&&!Ice(Ee)){const Bt=Ua(Ee,at);if(Bt&&c_(Bt))return Pt(u.getGeneratedNameForNode(Bt),Ee)}return Ee}function c_(Ee){switch(Ee.parent.kind){case 208:case 263:case 266:case 260:return Ee.parent.name===Ee&&b.isDeclarationWithCollidingName(Ee.parent)}return!1}function C5(Ee){switch(Ee.kind){case 80:return R1(Ee);case 110:return Wf(Ee)}return Ee}function R1(Ee){if(Y&2&&!Ice(Ee)){const Bt=b.getReferencedDeclarationWithCollidingName(Ee);if(Bt&&!(mr(Bt)&&d3(Bt,Ee)))return Pt(u.getGeneratedNameForNode(Za(Bt)),Ee)}return Ee}function d3(Ee,Bt){let Di=Ua(Bt);if(!Di||Di===Ee||Di.end<=Ee.pos||Di.pos>=Ee.end)return!1;const Ci=YE(Ee);for(;Di;){if(Di===Ci||Di===Ee)return!1;if(Zd(Di)&&Di.parent===Ee)return!0;Di=Di.parent}return!1}function Wf(Ee){return Y&1&&z&16?Pt(De(),Ee):Ee}function m4(Ee,Bt){return No(Bt)?u.getInternalName(Ee):u.createPropertyAccessExpression(u.getInternalName(Ee),"prototype")}function Vh(Ee,Bt){if(!Ee||!Bt||Oe(Ee.parameters))return!1;const Di=Ki(Ee.body.statements);if(!Di||!sl(Di)||Di.kind!==244)return!1;const Ci=Di.expression;if(!sl(Ci)||Ci.kind!==213)return!1;const Q=Ci.expression;if(!sl(Q)||Q.kind!==108)return!1;const Me=Aa(Ci.arguments);if(!Me||!sl(Me)||Me.kind!==230)return!1;const wt=Me.expression;return at(wt)&&wt.escapedText==="arguments"}}var jMt=o({"src/compiler/transformers/es2015.ts"(){Bo()}});function v7e(t){const{factory:u}=t,s=t.getCompilerOptions();let d,f;(s.jsx===1||s.jsx===3)&&(d=t.onEmitNode,t.onEmitNode=v,t.enableEmitNotification(286),t.enableEmitNotification(287),t.enableEmitNotification(285),f=[]);const p=t.onSubstituteNode;return t.onSubstituteNode=b,t.enableSubstitution(211),t.enableSubstitution(303),Kp(t,E);function E(M){return M}function v(M,z,j){switch(z.kind){case 286:case 287:case 285:const J=z.tagName;f[M1(J)]=!0;break}d(M,z,j)}function b(M,z){return z.id&&f&&f[z.id]?p(M,z):(z=p(M,z),Iu(z)?B(z):Jc(z)?k(z):z)}function B(M){if(ea(M.name))return M;const z=T(M.name);return z?Pt(u.createElementAccessExpression(M.expression,z),M):M}function k(M){const z=at(M.name)&&T(M.name);return z?u.updatePropertyAssignment(M,z,M.initializer):M}function T(M){const z=Dv(M);if(z!==void 0&&z>=83&&z<=118)return Pt(u.createStringLiteralFromNode(M),M)}}var VMt=o({"src/compiler/transformers/es5.ts"(){Bo()}});function HMt(t){switch(t){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}function C7e(t){const{factory:u,getEmitHelperFactory:s,resumeLexicalEnvironment:d,endLexicalEnvironment:f,hoistFunctionDeclaration:p,hoistVariableDeclaration:E}=t,v=t.getCompilerOptions(),b=Os(v),B=t.getEmitResolver(),k=t.onSubstituteNode;t.onSubstituteNode=we;let T,M,z,j,J,K,Y,oe,se,ge,ae=1,Ce,ne,ve,Se,Ne=0,pe=0,fe,xe,Be,Ge,Ae,De,Ke,Je;return Kp(t,ft);function ft(He){if(He.isDeclarationFile||!(He.transformFlags&2048))return He;const di=rn(He,Ye,t);return iD(di,t.readEmitHelpers()),di}function Ye(He){const di=He.transformFlags;return j?Ve(He):z?We(He):$0(He)&&He.asteriskToken?Yt(He):di&2048?rn(He,Ye,t):He}function Ve(He){switch(He.kind){case 246:return Yo(He);case 247:return Qe(He);case 255:return Ot(He);case 256:return $i(He);default:return We(He)}}function We(He){switch(He.kind){case 262:return Ie(He);case 218:return st(He);case 177:case 178:return St(He);case 243:return ei(He);case 248:return Mt(He);case 249:return Xt(He);case 252:return ii(He);case 251:return et(He);case 253:return ni(He);default:return He.transformFlags&1048576?Gt(He):He.transformFlags&4196352?rn(He,Ye,t):He}}function Gt(He){switch(He.kind){case 226:return ht(He);case 361:return xn(He);case 227:return an(He);case 229:return Pi(He);case 209:return Ai(He);case 210:return aa(He);case 212:return yr(He);case 213:return Ba(He);case 214:return bt(He);default:return rn(He,Ye,t)}}function Yt(He){switch(He.kind){case 262:return Ie(He);case 218:return st(He);default:return H.failBadSyntaxKind(He)}}function Ie(He){if(He.asteriskToken)He=su(Pt(u.createFunctionDeclaration(He.modifiers,void 0,He.name,void 0,xc(He.parameters,Ye,t),void 0,It(He.body)),He),He);else{const di=z,Mn=j;z=!1,j=!1,He=rn(He,Ye,t),z=di,j=Mn}if(z){p(He);return}else return He}function st(He){if(He.asteriskToken)He=su(Pt(u.createFunctionExpression(void 0,void 0,He.name,void 0,xc(He.parameters,Ye,t),void 0,It(He.body)),He),He);else{const di=z,Mn=j;z=!1,j=!1,He=rn(He,Ye,t),z=di,j=Mn}return He}function St(He){const di=z,Mn=j;return z=!1,j=!1,He=rn(He,Ye,t),z=di,j=Mn,He}function It(He){const di=[],Mn=z,ba=j,Fo=J,To=K,nc=Y,fc=oe,Cl=se,Tl=ge,bc=ae,ql=Ce,Nc=ne,ip=ve,Jm=Se;z=!0,j=!1,J=void 0,K=void 0,Y=void 0,oe=void 0,se=void 0,ge=void 0,ae=1,Ce=void 0,ne=void 0,ve=void 0,Se=u.createTempVariable(void 0),d();const jh=u.copyPrologue(He.statements,di,!1,Ye);jn(He.statements,jh);const f4=tt();return ZE(di,f()),di.push(u.createReturnStatement(f4)),z=Mn,j=ba,J=Fo,K=To,Y=nc,oe=fc,se=Cl,ge=Tl,ae=bc,Ce=ql,ne=Nc,ve=ip,Se=Jm,Pt(u.createBlock(di,He.multiLine),He)}function ei(He){if(He.transformFlags&1048576){oa(He.declarationList);return}else{if(bs(He)&2097152)return He;for(const Mn of He.declarationList.declarations)E(Mn.name);const di=DP(He.declarationList);return di.length===0?void 0:As(u.createExpressionStatement(u.inlineExpressions(Vt(di,Da))),He)}}function ht(He){const di=q0e(He);switch(di){case 0:return Ni(He);case 1:return Ut(He);default:return H.assertNever(di)}}function Ut(He){const{left:di,right:Mn}=He;if(le(Mn)){let ba;switch(di.kind){case 211:ba=u.updatePropertyAccessExpression(di,X(H.checkDefined(yt(di.expression,Ye,Df))),di.name);break;case 212:ba=u.updateElementAccessExpression(di,X(H.checkDefined(yt(di.expression,Ye,Df))),X(H.checkDefined(yt(di.argumentExpression,Ye,Wt))));break;default:ba=H.checkDefined(yt(di,Ye,Wt));break}const Fo=He.operatorToken.kind;return mM(Fo)?Pt(u.createAssignment(ba,Pt(u.createBinaryExpression(X(ba),pM(Fo),H.checkDefined(yt(Mn,Ye,Wt))),He)),He):u.updateBinaryExpression(He,ba,He.operatorToken,H.checkDefined(yt(Mn,Ye,Wt)))}return rn(He,Ye,t)}function Ni(He){return le(He.right)?Pye(He.operatorToken.kind)?Jn(He):He.operatorToken.kind===28?ji(He):u.updateBinaryExpression(He,X(H.checkDefined(yt(He.left,Ye,Wt))),He.operatorToken,H.checkDefined(yt(He.right,Ye,Wt))):rn(He,Ye,t)}function ji(He){let di=[];return Mn(He.left),Mn(He.right),u.inlineExpressions(di);function Mn(ba){Xn(ba)&&ba.operatorToken.kind===28?(Mn(ba.left),Mn(ba.right)):(le(ba)&&di.length>0&&($(1,[u.createExpressionStatement(u.inlineExpressions(di))]),di=[]),di.push(H.checkDefined(yt(ba,Ye,Wt))))}}function xn(He){let di=[];for(const Mn of He.elements)Xn(Mn)&&Mn.operatorToken.kind===28?di.push(ji(Mn)):(le(Mn)&&di.length>0&&($(1,[u.createExpressionStatement(u.inlineExpressions(di))]),di=[]),di.push(H.checkDefined(yt(Mn,Ye,Wt))));return u.inlineExpressions(di)}function Jn(He){const di=Ct(),Mn=it();return cl(Mn,H.checkDefined(yt(He.left,Ye,Wt)),He.left),He.operatorToken.kind===56?dl(di,Mn,He.left):Ri(di,Mn,He.left),cl(Mn,H.checkDefined(yt(He.right,Ye,Wt)),He.right),ct(di),Mn}function an(He){if(le(He.whenTrue)||le(He.whenFalse)){const di=Ct(),Mn=Ct(),ba=it();return dl(di,H.checkDefined(yt(He.condition,Ye,Wt)),He.condition),cl(ba,H.checkDefined(yt(He.whenTrue,Ye,Wt)),He.whenTrue),Ka(Mn),ct(di),cl(ba,H.checkDefined(yt(He.whenFalse,Ye,Wt)),He.whenFalse),ct(Mn),ba}return rn(He,Ye,t)}function Pi(He){const di=Ct(),Mn=yt(He.expression,Ye,Wt);if(He.asteriskToken){const ba=bs(He.expression)&8388608?Mn:Pt(s().createValuesHelper(Mn),He);Uc(ba,He)}else Ch(Mn,He);return ct(di),Jp(He)}function Ai(He){return Zu(He.elements,void 0,void 0,He.multiLine)}function Zu(He,di,Mn,ba){const Fo=te(He);let To;if(Fo>0){To=it();const Cl=kn(He,Ye,Wt,0,Fo);cl(To,u.createArrayLiteralExpression(di?[di,...Cl]:Cl)),di=void 0}const nc=nn(He,fc,[],Fo);return To?u.createArrayConcatCall(To,[u.createArrayLiteralExpression(nc,ba)]):Pt(u.createArrayLiteralExpression(di?[di,...nc]:nc,ba),Mn);function fc(Cl,Tl){if(le(Tl)&&Cl.length>0){const bc=To!==void 0;To||(To=it()),cl(To,bc?u.createArrayConcatCall(To,[u.createArrayLiteralExpression(Cl,ba)]):u.createArrayLiteralExpression(di?[di,...Cl]:Cl,ba)),di=void 0,Cl=[]}return Cl.push(H.checkDefined(yt(Tl,Ye,Wt))),Cl}}function aa(He){const di=He.properties,Mn=He.multiLine,ba=te(di),Fo=it();cl(Fo,u.createObjectLiteralExpression(kn(di,Ye,Z3,0,ba),Mn));const To=nn(di,nc,[],ba);return To.push(Mn?vh(ks(Pt(u.cloneNode(Fo),Fo),Fo.parent)):Fo),u.inlineExpressions(To);function nc(fc,Cl){le(Cl)&&fc.length>0&&(Il(u.createExpressionStatement(u.inlineExpressions(fc))),fc=[]);const Tl=FFe(u,He,Cl,Fo),bc=yt(Tl,Ye,Wt);return bc&&(Mn&&vh(bc),fc.push(bc)),fc}}function yr(He){return le(He.argumentExpression)?u.updateElementAccessExpression(He,X(H.checkDefined(yt(He.expression,Ye,Df))),H.checkDefined(yt(He.argumentExpression,Ye,Wt))):rn(He,Ye,t)}function Ba(He){if(!dm(He)&&L(He.arguments,le)){const{target:di,thisArg:Mn}=u.createCallBinding(He.expression,E,b,!0);return su(Pt(u.createFunctionApplyCall(X(H.checkDefined(yt(di,Ye,Df))),Mn,Zu(He.arguments)),He),He)}return rn(He,Ye,t)}function bt(He){if(L(He.arguments,le)){const{target:di,thisArg:Mn}=u.createCallBinding(u.createPropertyAccessExpression(He.expression,"bind"),E);return su(Pt(u.createNewExpression(u.createFunctionApplyCall(X(H.checkDefined(yt(di,Ye,Wt))),Mn,Zu(He.arguments,u.createVoidZero())),void 0,[]),He),He)}return rn(He,Ye,t)}function jn(He,di=0){const Mn=He.length;for(let ba=di;ba0)break;Fo.push(Da(nc))}Fo.length&&(Il(u.createExpressionStatement(u.inlineExpressions(Fo))),ba+=Fo.length,Fo=[])}}function Da(He){return As(u.createAssignment(As(u.cloneNode(He.name),He.name),H.checkDefined(yt(He.initializer,Ye,Wt))),He)}function ra(He){if(le(He))if(le(He.thenStatement)||le(He.elseStatement)){const di=Ct(),Mn=He.elseStatement?Ct():void 0;dl(He.elseStatement?Mn:di,H.checkDefined(yt(He.expression,Ye,Wt)),He.expression),Ln(He.thenStatement),He.elseStatement&&(Ka(di),ct(Mn),Ln(He.elseStatement)),ct(di)}else Il(yt(He,Ye,na));else Il(yt(He,Ye,na))}function Ta(He){if(le(He)){const di=Ct(),Mn=Ct();wn(di),ct(Mn),Ln(He.statement),ct(di),Ri(Mn,H.checkDefined(yt(He.expression,Ye,Wt))),Ir()}else Il(yt(He,Ye,na))}function Yo(He){return j?(ja(),He=rn(He,Ye,t),Ir(),He):rn(He,Ye,t)}function bo(He){if(le(He)){const di=Ct(),Mn=wn(di);ct(di),dl(Mn,H.checkDefined(yt(He.expression,Ye,Wt))),Ln(He.statement),Ka(di),Ir()}else Il(yt(He,Ye,na))}function Qe(He){return j?(ja(),He=rn(He,Ye,t),Ir(),He):rn(He,Ye,t)}function Et(He){if(le(He)){const di=Ct(),Mn=Ct(),ba=wn(Mn);if(He.initializer){const Fo=He.initializer;Ad(Fo)?oa(Fo):Il(Pt(u.createExpressionStatement(H.checkDefined(yt(Fo,Ye,Wt))),Fo))}ct(di),He.condition&&dl(ba,H.checkDefined(yt(He.condition,Ye,Wt))),Ln(He.statement),ct(Mn),He.incrementor&&Il(Pt(u.createExpressionStatement(H.checkDefined(yt(He.incrementor,Ye,Wt))),He.incrementor)),Ka(di),Ir()}else Il(yt(He,Ye,na))}function Mt(He){j&&ja();const di=He.initializer;if(di&&Ad(di)){for(const ba of di.declarations)E(ba.name);const Mn=DP(di);He=u.updateForStatement(He,Mn.length>0?u.inlineExpressions(Vt(Mn,Da)):void 0,yt(He.condition,Ye,Wt),yt(He.incrementor,Ye,Wt),Ih(He.statement,Ye,t))}else He=rn(He,Ye,t);return j&&Ir(),He}function qt(He){if(le(He)){const di=it(),Mn=it(),ba=it(),Fo=u.createLoopVariable(),To=He.initializer;E(Fo),cl(di,H.checkDefined(yt(He.expression,Ye,Wt))),cl(Mn,u.createArrayLiteralExpression()),Il(u.createForInStatement(ba,di,u.createExpressionStatement(u.createCallExpression(u.createPropertyAccessExpression(Mn,"push"),void 0,[ba])))),cl(Fo,u.createNumericLiteral(0));const nc=Ct(),fc=Ct(),Cl=wn(fc);ct(nc),dl(Cl,u.createLessThan(Fo,u.createPropertyAccessExpression(Mn,"length"))),cl(ba,u.createElementAccessExpression(Mn,Fo)),dl(fc,u.createBinaryExpression(ba,103,di));let Tl;if(Ad(To)){for(const bc of To.declarations)E(bc.name);Tl=u.cloneNode(To.declarations[0].name)}else Tl=H.checkDefined(yt(To,Ye,Wt)),H.assert(Df(Tl));cl(Tl,ba),Ln(He.statement),ct(fc),Il(u.createExpressionStatement(u.createPostfixIncrement(Fo))),Ka(nc),Ir()}else Il(yt(He,Ye,na))}function Xt(He){j&&ja();const di=He.initializer;if(Ad(di)){for(const Mn of di.declarations)E(Mn.name);He=u.updateForInStatement(He,di.declarations[0].name,H.checkDefined(yt(He.expression,Ye,Wt)),H.checkDefined(yt(He.statement,Ye,na,u.liftToBlock)))}else He=rn(He,Ye,t);return j&&Ir(),He}function Pe(He){const di=Ho(He.label?fu(He.label):void 0);di>0?Ka(di,He):Il(He)}function et(He){if(j){const di=Ho(He.label&&fu(He.label));if(di>0)return Ko(di,He)}return rn(He,Ye,t)}function gt(He){const di=co(He.label?fu(He.label):void 0);di>0?Ka(di,He):Il(He)}function ii(He){if(j){const di=co(He.label&&fu(He.label));if(di>0)return Ko(di,He)}return rn(He,Ye,t)}function me(He){sf(yt(He.expression,Ye,Wt),He)}function ni(He){return Tc(yt(He.expression,Ye,Wt),He)}function vi(He){le(He)?(du(X(H.checkDefined(yt(He.expression,Ye,Wt)))),Ln(He.statement),Ru()):Il(yt(He,Ye,na))}function mt(He){if(le(He.caseBlock)){const di=He.caseBlock,Mn=di.clauses.length,ba=wo(),Fo=X(H.checkDefined(yt(He.expression,Ye,Wt))),To=[];let nc=-1;for(let Tl=0;Tl0)break;Cl.push(u.createCaseClause(H.checkDefined(yt(ql.expression,Ye,Wt)),[Ko(To[bc],ql.expression)]))}else Tl++}Cl.length&&(Il(u.createSwitchStatement(Fo,u.createCaseBlock(Cl))),fc+=Cl.length,Cl=[]),Tl>0&&(fc+=Tl,Tl=0)}nc>=0?Ka(To[nc]):Ka(ba);for(let Tl=0;Tl=0;Mn--){const ba=oe[Mn];if(wl(ba)){if(ba.labelText===He)return!0}else break}return!1}function co(He){if(oe)if(He)for(let di=oe.length-1;di>=0;di--){const Mn=oe[di];if(wl(Mn)&&Mn.labelText===He)return Mn.breakLabel;if(Ul(Mn)&&vl(He,di-1))return Mn.breakLabel}else for(let di=oe.length-1;di>=0;di--){const Mn=oe[di];if(Ul(Mn))return Mn.breakLabel}return 0}function Ho(He){if(oe)if(He)for(let di=oe.length-1;di>=0;di--){const Mn=oe[di];if(hd(Mn)&&vl(He,di-1))return Mn.continueLabel}else for(let di=oe.length-1;di>=0;di--){const Mn=oe[di];if(hd(Mn))return Mn.continueLabel}return 0}function id(He){if(He!==void 0&&He>0){ge===void 0&&(ge=[]);const di=u.createNumericLiteral(-1);return ge[He]===void 0?ge[He]=[di]:ge[He].push(di),di}return u.createOmittedExpression()}function Y0(He){const di=u.createNumericLiteral(He);return AZ(di,3,HMt(He)),di}function Ko(He,di){return H.assertLessThan(0,He,"Invalid label"),Pt(u.createReturnStatement(u.createArrayLiteralExpression([Y0(3),id(He)])),di)}function Tc(He,di){return Pt(u.createReturnStatement(u.createArrayLiteralExpression(He?[Y0(2),He]:[Y0(2)])),di)}function Jp(He){return Pt(u.createCallExpression(u.createPropertyAccessExpression(Se,"sent"),void 0,[]),He)}function Lc(){$(0)}function Il(He){He?$(1,[He]):Lc()}function cl(He,di,Mn){$(2,[He,di],Mn)}function Ka(He,di){$(3,[He],di)}function Ri(He,di,Mn){$(4,[He,di],Mn)}function dl(He,di,Mn){$(5,[He,di],Mn)}function Uc(He,di){$(7,[He],di)}function Ch(He,di){$(6,[He],di)}function sf(He,di){$(8,[He],di)}function Q0(He,di){$(9,[He],di)}function Cc(){$(10)}function $(He,di,Mn){Ce===void 0&&(Ce=[],ne=[],ve=[]),se===void 0&&ct(Ct());const ba=Ce.length;Ce[ba]=He,ne[ba]=di,ve[ba]=Mn}function tt(){Ne=0,pe=0,fe=void 0,xe=!1,Be=!1,Ge=void 0,Ae=void 0,De=void 0,Ke=void 0,Je=void 0;const He=vt();return s().createGeneratorHelper(Zn(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,Se)],void 0,u.createBlock(He,He.length>0)),1048576))}function vt(){if(Ce){for(let He=0;He=0;di--){const Mn=Je[di];Ae=[u.createWithStatement(Mn.expression,u.createBlock(Ae))]}if(Ke){const{startLabel:di,catchLabel:Mn,finallyLabel:ba,endLabel:Fo}=Ke;Ae.unshift(u.createExpressionStatement(u.createCallExpression(u.createPropertyAccessExpression(u.createPropertyAccessExpression(Se,"trys"),"push"),void 0,[u.createArrayLiteralExpression([id(di),id(Mn),id(ba),id(Fo)])]))),Ke=void 0}He&&Ae.push(u.createExpressionStatement(u.createAssignment(u.createPropertyAccessExpression(Se,"label"),u.createNumericLiteral(pe+1))))}Ge.push(u.createCaseClause(u.createNumericLiteral(pe),Ae||[])),Ae=void 0}function Tu(He){if(se)for(let di=0;dis.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.createIdentifier(fu(ct))),Ct),s.createVoidZero())));xi(te,yt(K.externalHelpersImportDeclaration,fe,na)),yn(te,kn(le.statements,fe,na,de)),pe(te,!1),ZE(te,p());const je=s.updateSourceFile(le,Pt(s.createNodeArray(te),le.statements));return iD(je,t.readEmitHelpers()),je}function Ce(le){const te=s.createIdentifier("define"),we=IV(s,le,B,v),de=W4(le)&&le,{aliasedModuleNames:je,unaliasedModuleNames:X,importAliasNames:it}=ve(le,!0),Ct=s.updateSourceFile(le,Pt(s.createNodeArray([s.createExpressionStatement(s.createCallExpression(te,void 0,[...we?[we]:[],s.createArrayLiteralExpression(de?_t:[s.createStringLiteral("require"),s.createStringLiteral("exports"),...je,...X]),de?de.statements.length?de.statements[0].expression:s.createObjectLiteralExpression():s.createFunctionExpression(void 0,void 0,void 0,void 0,[s.createParameterDeclaration(void 0,void 0,"require"),s.createParameterDeclaration(void 0,void 0,"exports"),...it],void 0,Ne(le))]))]),le.statements));return iD(Ct,t.readEmitHelpers()),Ct}function ne(le){const{aliasedModuleNames:te,unaliasedModuleNames:we,importAliasNames:de}=ve(le,!1),je=IV(s,le,B,v),X=s.createFunctionExpression(void 0,void 0,void 0,void 0,[s.createParameterDeclaration(void 0,void 0,"factory")],void 0,Pt(s.createBlock([s.createIfStatement(s.createLogicalAnd(s.createTypeCheck(s.createIdentifier("module"),"object"),s.createTypeCheck(s.createPropertyAccessExpression(s.createIdentifier("module"),"exports"),"object")),s.createBlock([s.createVariableStatement(void 0,[s.createVariableDeclaration("v",void 0,void 0,s.createCallExpression(s.createIdentifier("factory"),void 0,[s.createIdentifier("require"),s.createIdentifier("exports")]))]),Zn(s.createIfStatement(s.createStrictInequality(s.createIdentifier("v"),s.createIdentifier("undefined")),s.createExpressionStatement(s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("module"),"exports"),s.createIdentifier("v")))),1)]),s.createIfStatement(s.createLogicalAnd(s.createTypeCheck(s.createIdentifier("define"),"function"),s.createPropertyAccessExpression(s.createIdentifier("define"),"amd")),s.createBlock([s.createExpressionStatement(s.createCallExpression(s.createIdentifier("define"),void 0,[...je?[je]:[],s.createArrayLiteralExpression([s.createStringLiteral("require"),s.createStringLiteral("exports"),...te,...we]),s.createIdentifier("factory")]))])))],!0),void 0)),it=s.updateSourceFile(le,Pt(s.createNodeArray([s.createExpressionStatement(s.createCallExpression(X,void 0,[s.createFunctionExpression(void 0,void 0,void 0,void 0,[s.createParameterDeclaration(void 0,void 0,"require"),s.createParameterDeclaration(void 0,void 0,"exports"),...de],void 0,Ne(le))]))]),le.statements));return iD(it,t.readEmitHelpers()),it}function ve(le,te){const we=[],de=[],je=[];for(const X of le.amdDependencies)X.name?(we.push(s.createStringLiteral(X.path)),je.push(s.createParameterDeclaration(void 0,void 0,X.name))):de.push(s.createStringLiteral(X.path));for(const X of K.externalImports){const it=W7(s,X,J,B,b,v),Ct=zB(s,X,J);it&&(te&&Ct?(Zn(Ct,8),we.push(it),je.push(s.createParameterDeclaration(void 0,void 0,Ct))):de.push(it))}return{aliasedModuleNames:we,unaliasedModuleNames:de,importAliasNames:je}}function Se(le){if(E1(le)||Gc(le)||!W7(s,le,J,B,b,v))return;const te=zB(s,le,J),we=Ba(le,te);if(we!==te)return s.createExpressionStatement(s.createAssignment(te,we))}function Ne(le){f();const te=[],we=s.copyPrologue(le.statements,te,!v.noImplicitUseStrict,fe);ge()&&xi(te,Pe()),S(K.exportedNames)&&xi(te,s.createExpressionStatement(nn(K.exportedNames,(je,X)=>s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.createIdentifier(fu(X))),je),s.createVoidZero()))),xi(te,yt(K.externalHelpersImportDeclaration,fe,na)),T===2&&yn(te,qi(K.externalImports,Se)),yn(te,kn(le.statements,fe,na,we)),pe(te,!0),ZE(te,p());const de=s.createBlock(te,!0);return oe&&S7(de,Jet),de}function pe(le,te){if(K.exportEquals){const we=yt(K.exportEquals.expression,Ge,Wt);if(we)if(te){const de=s.createReturnStatement(we);Pt(de,K.exportEquals),Zn(de,3840),le.push(de)}else{const de=s.createExpressionStatement(s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("module"),"exports"),we));Pt(de,K.exportEquals),Zn(de,3072),le.push(de)}}}function fe(le){switch(le.kind){case 272:return bt(le);case 271:return Ln(le);case 278:return Si(le);case 277:return Dn(le);default:return xe(le)}}function xe(le){switch(le.kind){case 243:return oa(le);case 262:return Cn(le);case 263:return tu(le);case 248:return Je(le,!0);case 249:return ft(le);case 250:return Ye(le);case 246:return Ve(le);case 247:return We(le);case 256:return Gt(le);case 254:return Yt(le);case 245:return Ie(le);case 255:return st(le);case 269:return St(le);case 296:return It(le);case 297:return ei(le);case 258:return ht(le);case 299:return Ut(le);case 241:return Ni(le);default:return Ge(le)}}function Be(le,te){if(!(le.transformFlags&276828160))return le;switch(le.kind){case 248:return Je(le,!1);case 244:return ji(le);case 217:return xn(le,te);case 360:return Jn(le,te);case 213:if(dm(le)&&J.impliedNodeFormat===void 0)return Pi(le);break;case 226:if(r5(le))return Ke(le,te);break;case 224:case 225:return an(le,te)}return rn(le,Ge,t)}function Ge(le){return Be(le,!1)}function Ae(le){return Be(le,!0)}function De(le){if(ys(le))for(const te of le.properties)switch(te.kind){case 303:if(De(te.initializer))return!0;break;case 304:if(De(te.name))return!0;break;case 305:if(De(te.expression))return!0;break;case 174:case 177:case 178:return!1;default:H.assertNever(te,"Unhandled object member kind")}else if(Dh(le)){for(const te of le.elements)if(uE(te)){if(De(te.expression))return!0}else if(De(te))return!0}else if(at(le))return S(on(le))>(xY(le)?1:0);return!1}function Ke(le,te){return De(le.left)?wk(le,Ge,t,0,!te,Da):rn(le,Ge,t)}function Je(le,te){if(te&&le.initializer&&Ad(le.initializer)&&!(le.initializer.flags&7)){const we=Qe(void 0,le.initializer,!1);if(we){const de=[],je=yt(le.initializer,Ae,Ad),X=s.createVariableStatement(void 0,je);de.push(X),yn(de,we);const it=yt(le.condition,Ge,Wt),Ct=yt(le.incrementor,Ae,Wt),ct=Ih(le.statement,te?xe:Ge,t);return de.push(s.updateForStatement(le,void 0,it,Ct,ct)),de}}return s.updateForStatement(le,yt(le.initializer,Ae,a4),yt(le.condition,Ge,Wt),yt(le.incrementor,Ae,Wt),Ih(le.statement,te?xe:Ge,t))}function ft(le){if(Ad(le.initializer)&&!(le.initializer.flags&7)){const te=Qe(void 0,le.initializer,!0);if(Oe(te)){const we=yt(le.initializer,Ae,a4),de=yt(le.expression,Ge,Wt),je=Ih(le.statement,xe,t),X=po(je)?s.updateBlock(je,[...te,...je.statements]):s.createBlock([...te,je],!0);return s.updateForInStatement(le,we,de,X)}}return s.updateForInStatement(le,yt(le.initializer,Ae,a4),yt(le.expression,Ge,Wt),Ih(le.statement,xe,t))}function Ye(le){if(Ad(le.initializer)&&!(le.initializer.flags&7)){const te=Qe(void 0,le.initializer,!0),we=yt(le.initializer,Ae,a4),de=yt(le.expression,Ge,Wt);let je=Ih(le.statement,xe,t);return Oe(te)&&(je=po(je)?s.updateBlock(je,[...te,...je.statements]):s.createBlock([...te,je],!0)),s.updateForOfStatement(le,le.awaitModifier,we,de,je)}return s.updateForOfStatement(le,le.awaitModifier,yt(le.initializer,Ae,a4),yt(le.expression,Ge,Wt),Ih(le.statement,xe,t))}function Ve(le){return s.updateDoStatement(le,Ih(le.statement,xe,t),yt(le.expression,Ge,Wt))}function We(le){return s.updateWhileStatement(le,yt(le.expression,Ge,Wt),Ih(le.statement,xe,t))}function Gt(le){return s.updateLabeledStatement(le,le.label,H.checkDefined(yt(le.statement,xe,na,s.liftToBlock)))}function Yt(le){return s.updateWithStatement(le,yt(le.expression,Ge,Wt),H.checkDefined(yt(le.statement,xe,na,s.liftToBlock)))}function Ie(le){return s.updateIfStatement(le,yt(le.expression,Ge,Wt),H.checkDefined(yt(le.thenStatement,xe,na,s.liftToBlock)),yt(le.elseStatement,xe,na,s.liftToBlock))}function st(le){return s.updateSwitchStatement(le,yt(le.expression,Ge,Wt),H.checkDefined(yt(le.caseBlock,xe,ZP)))}function St(le){return s.updateCaseBlock(le,kn(le.clauses,xe,WU))}function It(le){return s.updateCaseClause(le,yt(le.expression,Ge,Wt),kn(le.statements,xe,na))}function ei(le){return rn(le,xe,t)}function ht(le){return rn(le,xe,t)}function Ut(le){return s.updateCatchClause(le,le.variableDeclaration,H.checkDefined(yt(le.block,xe,po)))}function Ni(le){return le=rn(le,xe,t),le}function ji(le){return s.updateExpressionStatement(le,yt(le.expression,Ae,Wt))}function xn(le,te){return s.updateParenthesizedExpression(le,yt(le.expression,te?Ae:Ge,Wt))}function Jn(le,te){return s.updatePartiallyEmittedExpression(le,yt(le.expression,te?Ae:Ge,Wt))}function an(le,te){if((le.operator===46||le.operator===47)&&at(le.operand)&&!al(le.operand)&&!rD(le.operand)&&!ple(le.operand)){const we=on(le.operand);if(we){let de,je=yt(le.operand,Ge,Wt);zv(le)?je=s.updatePrefixUnaryExpression(le,je):(je=s.updatePostfixUnaryExpression(le,je),te||(de=s.createTempVariable(E),je=s.createAssignment(de,je),Pt(je,le)),je=s.createComma(je,s.cloneNode(le.operand)),Pt(je,le));for(const X of we)Y[$s(je)]=!0,je=gt(X,je),Pt(je,le);return de&&(Y[$s(je)]=!0,je=s.createComma(je,de),Pt(je,le)),je}}return rn(le,Ge,t)}function Pi(le){if(T===0&&k>=7)return rn(le,Ge,t);const te=W7(s,le,J,B,b,v),we=yt(Ki(le.arguments),Ge,Wt),de=te&&(!we||!us(we)||we.text!==te.text)?te:we,je=!!(le.transformFlags&16384);switch(v.module){case 2:return Zu(de,je);case 3:return Ai(de??s.createVoidZero(),je);case 1:default:return aa(de)}}function Ai(le,te){if(oe=!0,Y2(le)){const we=al(le)?le:us(le)?s.createStringLiteralFromNode(le):Zn(Pt(s.cloneNode(le),le),3072);return s.createConditionalExpression(s.createIdentifier("__syncRequire"),void 0,aa(le),void 0,Zu(we,te))}else{const we=s.createTempVariable(E);return s.createComma(s.createAssignment(we,le),s.createConditionalExpression(s.createIdentifier("__syncRequire"),void 0,aa(we,!0),void 0,Zu(we,te)))}}function Zu(le,te){const we=s.createUniqueName("resolve"),de=s.createUniqueName("reject"),je=[s.createParameterDeclaration(void 0,void 0,we),s.createParameterDeclaration(void 0,void 0,de)],X=s.createBlock([s.createExpressionStatement(s.createCallExpression(s.createIdentifier("require"),void 0,[s.createArrayLiteralExpression([le||s.createOmittedExpression()]),we,de]))]);let it;k>=2?it=s.createArrowFunction(void 0,void 0,je,void 0,void 0,X):(it=s.createFunctionExpression(void 0,void 0,void 0,void 0,je,void 0,X),te&&Zn(it,16));const Ct=s.createNewExpression(s.createIdentifier("Promise"),void 0,[it]);return e_(v)?s.createCallExpression(s.createPropertyAccessExpression(Ct,s.createIdentifier("then")),void 0,[d().createImportStarCallbackHelper()]):Ct}function aa(le,te){const we=le&&!sE(le)&&!te,de=s.createCallExpression(s.createPropertyAccessExpression(s.createIdentifier("Promise"),"resolve"),void 0,we?k>=2?[s.createTemplateExpression(s.createTemplateHead(""),[s.createTemplateSpan(le,s.createTemplateTail(""))])]:[s.createCallExpression(s.createPropertyAccessExpression(s.createStringLiteral(""),"concat"),void 0,[le])]:[]);let je=s.createCallExpression(s.createIdentifier("require"),void 0,we?[s.createIdentifier("s")]:le?[le]:[]);e_(v)&&(je=d().createImportStarHelper(je));const X=we?[s.createParameterDeclaration(void 0,void 0,"s")]:[];let it;return k>=2?it=s.createArrowFunction(void 0,void 0,X,void 0,void 0,je):it=s.createFunctionExpression(void 0,void 0,void 0,void 0,X,void 0,s.createBlock([s.createReturnStatement(je)])),s.createCallExpression(s.createPropertyAccessExpression(de,"then"),void 0,[it])}function yr(le,te){return!e_(v)||Pp(le)&2?te:GAe(le)?d().createImportStarHelper(te):te}function Ba(le,te){return!e_(v)||Pp(le)&2?te:aQ(le)?d().createImportStarHelper(te):$de(le)?d().createImportDefaultHelper(te):te}function bt(le){let te;const we=Q8(le);if(T!==2)if(le.importClause){const de=[];we&&!c7(le)?de.push(s.createVariableDeclaration(s.cloneNode(we.name),void 0,void 0,Ba(le,jn(le)))):(de.push(s.createVariableDeclaration(s.getGeneratedNameForNode(le),void 0,void 0,Ba(le,jn(le)))),we&&c7(le)&&de.push(s.createVariableDeclaration(s.cloneNode(we.name),void 0,void 0,s.getGeneratedNameForNode(le)))),te=xi(te,su(Pt(s.createVariableStatement(void 0,s.createVariableDeclarationList(de,k>=2?2:0)),le),le))}else return su(Pt(s.createExpressionStatement(jn(le)),le),le);else we&&c7(le)&&(te=xi(te,s.createVariableStatement(void 0,s.createVariableDeclarationList([su(Pt(s.createVariableDeclaration(s.cloneNode(we.name),void 0,void 0,s.getGeneratedNameForNode(le)),le),le)],k>=2?2:0))));return te=Ta(te,le),F0(te)}function jn(le){const te=W7(s,le,J,B,b,v),we=[];return te&&we.push(te),s.createCallExpression(s.createIdentifier("require"),void 0,we)}function Ln(le){H.assert(bv(le),"import= for internal module references should be handled in an earlier transformer.");let te;return T!==2?Yu(le,32)?te=xi(te,su(Pt(s.createExpressionStatement(gt(le.name,jn(le))),le),le)):te=xi(te,su(Pt(s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(s.cloneNode(le.name),void 0,void 0,jn(le))],k>=2?2:0)),le),le)):Yu(le,32)&&(te=xi(te,su(Pt(s.createExpressionStatement(gt(s.getExportName(le),s.getLocalName(le))),le),le))),te=Yo(te,le),F0(te)}function Si(le){if(!le.moduleSpecifier)return;const te=s.getGeneratedNameForNode(le);if(le.exportClause&&ep(le.exportClause)){const we=[];T!==2&&we.push(su(Pt(s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(te,void 0,void 0,jn(le))])),le),le));for(const de of le.exportClause.elements)if(k===0)we.push(su(Pt(s.createExpressionStatement(d().createCreateBindingHelper(te,s.createStringLiteralFromNode(de.propertyName||de.name),de.propertyName?s.createStringLiteralFromNode(de.name):void 0)),de),de));else{const je=!!e_(v)&&!(Pp(le)&2)&&fu(de.propertyName||de.name)==="default",X=s.createPropertyAccessExpression(je?d().createImportDefaultHelper(te):te,de.propertyName||de.name);we.push(su(Pt(s.createExpressionStatement(gt(s.getExportName(de),X,void 0,!0)),de),de))}return F0(we)}else if(le.exportClause){const we=[];return we.push(su(Pt(s.createExpressionStatement(gt(s.cloneNode(le.exportClause.name),yr(le,T!==2?jn(le):eq(le)?te:s.createIdentifier(fu(le.exportClause.name))))),le),le)),F0(we)}else return su(Pt(s.createExpressionStatement(d().createExportStarHelper(T!==2?jn(le):te)),le),le)}function Dn(le){if(!le.isExportEquals)return et(s.createIdentifier("default"),yt(le.expression,Ge,Wt),le,!0)}function Cn(le){let te;return Yu(le,32)?te=xi(te,su(Pt(s.createFunctionDeclaration(kn(le.modifiers,ii,Qo),le.asteriskToken,s.getDeclarationName(le,!0,!0),void 0,kn(le.parameters,Ge,io),void 0,rn(le.body,Ge,t)),le),le)):te=xi(te,rn(le,Ge,t)),te=Mt(te,le),F0(te)}function tu(le){let te;return Yu(le,32)?te=xi(te,su(Pt(s.createClassDeclaration(kn(le.modifiers,ii,ol),s.getDeclarationName(le,!0,!0),void 0,kn(le.heritageClauses,Ge,mm),kn(le.members,Ge,Zd)),le),le)):te=xi(te,rn(le,Ge,t)),te=Mt(te,le),F0(te)}function oa(le){let te,we,de;if(Yu(le,32)){let je,X=!1;for(const it of le.declarationList.declarations)if(at(it.name)&&rD(it.name))if(je||(je=kn(le.modifiers,ii,Qo)),it.initializer){const Ct=s.updateVariableDeclaration(it,it.name,void 0,void 0,gt(it.name,yt(it.initializer,Ge,Wt)));we=xi(we,Ct)}else we=xi(we,it);else if(it.initializer)if(!So(it.name)&&(q0(it.initializer)||A0(it.initializer)||Xd(it.initializer))){const Ct=s.createAssignment(Pt(s.createPropertyAccessExpression(s.createIdentifier("exports"),it.name),it.name),s.createIdentifier(J4(it.name))),ct=s.createVariableDeclaration(it.name,it.exclamationToken,it.type,yt(it.initializer,Ge,Wt));we=xi(we,ct),de=xi(de,Ct),X=!0}else de=xi(de,ra(it));if(we&&(te=xi(te,s.updateVariableStatement(le,je,s.updateVariableDeclarationList(le.declarationList,we)))),de){const it=su(Pt(s.createExpressionStatement(s.inlineExpressions(de)),le),le);X&&EV(it),te=xi(te,it)}}else te=xi(te,rn(le,Ge,t));return te=bo(te,le),F0(te)}function Da(le,te,we){const de=on(le);if(de){let je=xY(le)?te:s.createAssignment(le,te);for(const X of de)Zn(je,8),je=gt(X,je,we);return je}return s.createAssignment(le,te)}function ra(le){return So(le.name)?wk(yt(le,Ge,Zj),Ge,t,0,!1,Da):s.createAssignment(Pt(s.createPropertyAccessExpression(s.createIdentifier("exports"),le.name),le.name),le.initializer?yt(le.initializer,Ge,Wt):s.createVoidZero())}function Ta(le,te){if(K.exportEquals)return le;const we=te.importClause;if(!we)return le;const de=new Y7;we.name&&(le=qt(le,de,we));const je=we.namedBindings;if(je)switch(je.kind){case 274:le=qt(le,de,je);break;case 275:for(const X of je.elements)le=qt(le,de,X,!0);break}return le}function Yo(le,te){return K.exportEquals?le:qt(le,new Y7,te)}function bo(le,te){return Qe(le,te.declarationList,!1)}function Qe(le,te,we){if(K.exportEquals)return le;for(const de of te.declarations)le=Et(le,de,we);return le}function Et(le,te,we){if(K.exportEquals)return le;if(So(te.name))for(const de of te.name.elements)Fd(de)||(le=Et(le,de,we));else!al(te.name)&&(!ua(te)||te.initializer||we)&&(le=qt(le,new Y7,te));return le}function Mt(le,te){if(K.exportEquals)return le;const we=new Y7;if(Yu(te,32)){const de=Yu(te,2048)?s.createIdentifier("default"):s.getDeclarationName(te);le=Xt(le,we,de,s.getLocalName(te),te)}return te.name&&(le=qt(le,we,te)),le}function qt(le,te,we,de){const je=s.getDeclarationName(we),X=K.exportSpecifiers.get(je);if(X)for(const it of X)le=Xt(le,te,it.name,je,it.name,void 0,de);return le}function Xt(le,te,we,de,je,X,it){return te.has(we)||(te.set(we,!0),le=xi(le,et(we,de,je,X,it))),le}function Pe(){let le;return k===0?le=s.createExpressionStatement(gt(s.createIdentifier("__esModule"),s.createTrue())):le=s.createExpressionStatement(s.createCallExpression(s.createPropertyAccessExpression(s.createIdentifier("Object"),"defineProperty"),void 0,[s.createIdentifier("exports"),s.createStringLiteral("__esModule"),s.createObjectLiteralExpression([s.createPropertyAssignment("value",s.createTrue())])])),Zn(le,2097152),le}function et(le,te,we,de,je){const X=Pt(s.createExpressionStatement(gt(le,te,void 0,je)),we);return vh(X),de||Zn(X,3072),X}function gt(le,te,we,de){return Pt(de&&k!==0?s.createCallExpression(s.createPropertyAccessExpression(s.createIdentifier("Object"),"defineProperty"),void 0,[s.createIdentifier("exports"),s.createStringLiteralFromNode(le),s.createObjectLiteralExpression([s.createPropertyAssignment("enumerable",s.createTrue()),s.createPropertyAssignment("get",s.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,s.createBlock([s.createReturnStatement(te)])))])]):s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.cloneNode(le)),te),we)}function ii(le){switch(le.kind){case 95:case 90:return}return le}function me(le,te,we){te.kind===312?(J=te,K=j[M1(J)],z(le,te,we),J=void 0,K=void 0):z(le,te,we)}function ni(le,te){return te=M(le,te),te.id&&Y[te.id]?te:le===1?mt(te):pm(te)?vi(te):te}function vi(le){const te=le.name,we=$i(te);if(we!==te){if(le.objectAssignmentInitializer){const de=s.createAssignment(we,le.objectAssignmentInitializer);return Pt(s.createPropertyAssignment(te,de),le)}return Pt(s.createPropertyAssignment(te,we),le)}return le}function mt(le){switch(le.kind){case 80:return $i(le);case 213:return Ot(le);case 215:return Ei(le);case 226:return Qi(le)}return le}function Ot(le){if(at(le.expression)){const te=$i(le.expression);if(Y[$s(te)]=!0,!at(te)&&!(bs(le.expression)&8192))return F7(s.updateCallExpression(le,te,void 0,le.arguments),16)}return le}function Ei(le){if(at(le.tag)){const te=$i(le.tag);if(Y[$s(te)]=!0,!at(te)&&!(bs(le.tag)&8192))return F7(s.updateTaggedTemplateExpression(le,te,void 0,le.template),16)}return le}function $i(le){var te,we;if(bs(le)&8192){const de=zV(J);return de?s.createPropertyAccessExpression(de,le):le}else if(!(al(le)&&!(le.emitNode.autoGenerate.flags&64))&&!rD(le)){const de=b.getReferencedExportContainer(le,xY(le));if(de&&de.kind===312)return Pt(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.cloneNode(le)),le);const je=b.getReferencedImportDeclaration(le);if(je){if(n_(je))return Pt(s.createPropertyAccessExpression(s.getGeneratedNameForNode(je.parent),s.createIdentifier("default")),le);if(bf(je)){const X=je.propertyName||je.name;return Pt(s.createPropertyAccessExpression(s.getGeneratedNameForNode(((we=(te=je.parent)==null?void 0:te.parent)==null?void 0:we.parent)||je),s.cloneNode(X)),le)}}}return le}function Qi(le){if(u5(le.operatorToken.kind)&&at(le.left)&&(!al(le.left)||JO(le.left))&&!rD(le.left)){const te=on(le.left);if(te){let we=le;for(const de of te)Y[$s(we)]=!0,we=gt(de,we,le);return we}}return le}function on(le){if(al(le)){if(JO(le)){const te=K==null?void 0:K.exportSpecifiers.get(le);if(te){const we=[];for(const de of te)we.push(de.name);return we}}}else{const te=b.getReferencedImportDeclaration(le);if(te)return K==null?void 0:K.exportedBindings[M1(te)];const we=new Set,de=b.getReferencedValueDeclarations(le);if(de){for(const je of de){const X=K==null?void 0:K.exportedBindings[M1(je)];if(X)for(const it of X)we.add(it)}if(we.size)return ga(we)}}}}var Jet,WMt=o({"src/compiler/transformers/module/module.ts"(){Bo(),Jet={name:"typescript:dynamicimport-sync-require",scoped:!0,text:` + var __syncRequire = typeof module === "object" && typeof module.exports === "object";`}}});function b7e(t){const{factory:u,startLexicalEnvironment:s,endLexicalEnvironment:d,hoistVariableDeclaration:f}=t,p=t.getCompilerOptions(),E=t.getEmitResolver(),v=t.getEmitHost(),b=t.onSubstituteNode,B=t.onEmitNode;t.onSubstituteNode=gt,t.onEmitNode=et,t.enableSubstitution(80),t.enableSubstitution(304),t.enableSubstitution(226),t.enableSubstitution(236),t.enableEmitNotification(312);const k=[],T=[],M=[],z=[];let j,J,K,Y,oe,se,ge;return Kp(t,ae);function ae(le){if(le.isDeclarationFile||!(s7(le,p)||le.transformFlags&8388608))return le;const te=M1(le);j=le,se=le,J=k[te]=Ude(t,le),K=u.createUniqueName("exports"),T[te]=K,Y=z[te]=u.createUniqueName("context");const we=Ce(J.externalImports),de=ne(le,we),je=u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,K),u.createParameterDeclaration(void 0,void 0,Y)],void 0,de),X=IV(u,le,v,p),it=u.createArrayLiteralExpression(Vt(we,ct=>ct.name)),Ct=Zn(u.updateSourceFile(le,Pt(u.createNodeArray([u.createExpressionStatement(u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("System"),"register"),void 0,X?[X,it,je]:[it,je]))]),le.statements)),2048);return y0(p)||Hke(Ct,de,ct=>!ct.scoped),ge&&(M[te]=ge,ge=void 0),j=void 0,J=void 0,K=void 0,Y=void 0,oe=void 0,se=void 0,Ct}function Ce(le){const te=new Map,we=[];for(const de of le){const je=W7(u,de,j,v,E,p);if(je){const X=je.text,it=te.get(X);it!==void 0?we[it].externalImports.push(de):(te.set(X,we.length),we.push({name:je,externalImports:[de]}))}}return we}function ne(le,te){const we=[];s();const de=Z4(p,"alwaysStrict")||!p.noImplicitUseStrict&&wc(j),je=u.copyPrologue(le.statements,we,de,pe);we.push(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration("__moduleName",void 0,void 0,u.createLogicalAnd(Y,u.createPropertyAccessExpression(Y,"id")))]))),yt(J.externalHelpersImportDeclaration,pe,na);const X=kn(le.statements,pe,na,je);yn(we,oe),ZE(we,d());const it=ve(we),Ct=le.transformFlags&2097152?u.createModifiersFromModifierFlags(1024):void 0,ct=u.createObjectLiteralExpression([u.createPropertyAssignment("setters",Ne(it,te)),u.createPropertyAssignment("execute",u.createFunctionExpression(Ct,void 0,void 0,void 0,[],void 0,u.createBlock(X,!0)))],!0);return we.push(u.createReturnStatement(ct)),u.createBlock(we,!0)}function ve(le){if(!J.hasExportStarsToExportValues)return;if(!J.exportedNames&&J.exportSpecifiers.size===0){let je=!1;for(const X of J.externalImports)if(X.kind===278&&X.exportClause){je=!0;break}if(!je){const X=Se(void 0);return le.push(X),X.name}}const te=[];if(J.exportedNames)for(const je of J.exportedNames)je.escapedText!=="default"&&te.push(u.createPropertyAssignment(u.createStringLiteralFromNode(je),u.createTrue()));const we=u.createUniqueName("exportedNames");le.push(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(we,void 0,void 0,u.createObjectLiteralExpression(te,!0))])));const de=Se(we);return le.push(de),de.name}function Se(le){const te=u.createUniqueName("exportStar"),we=u.createIdentifier("m"),de=u.createIdentifier("n"),je=u.createIdentifier("exports");let X=u.createStrictInequality(de,u.createStringLiteral("default"));return le&&(X=u.createLogicalAnd(X,u.createLogicalNot(u.createCallExpression(u.createPropertyAccessExpression(le,"hasOwnProperty"),void 0,[de])))),u.createFunctionDeclaration(void 0,void 0,te,void 0,[u.createParameterDeclaration(void 0,void 0,we)],void 0,u.createBlock([u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(je,void 0,void 0,u.createObjectLiteralExpression([]))])),u.createForInStatement(u.createVariableDeclarationList([u.createVariableDeclaration(de)]),we,u.createBlock([Zn(u.createIfStatement(X,u.createExpressionStatement(u.createAssignment(u.createElementAccessExpression(je,de),u.createElementAccessExpression(we,de)))),1)])),u.createExpressionStatement(u.createCallExpression(K,void 0,[je]))],!0))}function Ne(le,te){const we=[];for(const de of te){const je=L(de.externalImports,Ct=>zB(u,Ct,j)),X=je?u.getGeneratedNameForNode(je):u.createUniqueName(""),it=[];for(const Ct of de.externalImports){const ct=zB(u,Ct,j);switch(Ct.kind){case 272:if(!Ct.importClause)break;case 271:H.assert(ct!==void 0),it.push(u.createExpressionStatement(u.createAssignment(ct,X))),Yu(Ct,32)&&it.push(u.createExpressionStatement(u.createCallExpression(K,void 0,[u.createStringLiteral(fu(ct)),X])));break;case 278:if(H.assert(ct!==void 0),Ct.exportClause)if(ep(Ct.exportClause)){const Qt=[];for(const Li of Ct.exportClause.elements)Qt.push(u.createPropertyAssignment(u.createStringLiteral(fu(Li.name)),u.createElementAccessExpression(X,u.createStringLiteral(fu(Li.propertyName||Li.name)))));it.push(u.createExpressionStatement(u.createCallExpression(K,void 0,[u.createObjectLiteralExpression(Qt,!0)])))}else it.push(u.createExpressionStatement(u.createCallExpression(K,void 0,[u.createStringLiteral(fu(Ct.exportClause.name)),X])));else it.push(u.createExpressionStatement(u.createCallExpression(le,void 0,[X])));break}}we.push(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,X)],void 0,u.createBlock(it,!0)))}return u.createArrayLiteralExpression(we,!0)}function pe(le){switch(le.kind){case 272:return fe(le);case 271:return Be(le);case 278:return xe(le);case 277:return Ge(le);default:return ji(le)}}function fe(le){let te;return le.importClause&&f(zB(u,le,j)),F0(Yt(te,le))}function xe(le){H.assertIsDefined(le)}function Be(le){H.assert(bv(le),"import= for internal module references should be handled in an earlier transformer.");let te;return f(zB(u,le,j)),F0(Ie(te,le))}function Ge(le){if(le.isExportEquals)return;const te=yt(le.expression,ra,Wt);return Ut(u.createIdentifier("default"),te,!0)}function Ae(le){Yu(le,32)?oe=xi(oe,u.updateFunctionDeclaration(le,kn(le.modifiers,Pe,ol),le.asteriskToken,u.getDeclarationName(le,!0,!0),void 0,kn(le.parameters,ra,io),void 0,yt(le.body,ra,po))):oe=xi(oe,rn(le,ra,t)),oe=It(oe,le)}function De(le){let te;const we=u.getLocalName(le);return f(we),te=xi(te,Pt(u.createExpressionStatement(u.createAssignment(we,Pt(u.createClassExpression(kn(le.modifiers,Pe,ol),le.name,void 0,kn(le.heritageClauses,ra,mm),kn(le.members,ra,Zd)),le))),le)),te=It(te,le),F0(te)}function Ke(le){if(!ft(le.declarationList))return yt(le,ra,na);let te;if(cj(le.declarationList)||lj(le.declarationList)){const we=kn(le.modifiers,Pe,ol),de=[];for(const X of le.declarationList.declarations)de.push(u.updateVariableDeclaration(X,u.getGeneratedNameForNode(X.name),void 0,void 0,Ye(X,!1)));const je=u.updateVariableDeclarationList(le.declarationList,de);te=xi(te,u.updateVariableStatement(le,we,je))}else{let we;const de=Yu(le,32);for(const je of le.declarationList.declarations)je.initializer?we=xi(we,Ye(je,de)):Je(je);we&&(te=xi(te,Pt(u.createExpressionStatement(u.inlineExpressions(we)),le)))}return te=st(te,le,!1),F0(te)}function Je(le){if(So(le.name))for(const te of le.name.elements)Fd(te)||Je(te);else f(u.cloneNode(le.name))}function ft(le){return(bs(le)&4194304)===0&&(se.kind===312||(Wl(le).flags&7)===0)}function Ye(le,te){const we=te?Ve:We;return So(le.name)?wk(le,ra,t,0,!1,we):le.initializer?we(le.name,yt(le.initializer,ra,Wt)):le.name}function Ve(le,te,we){return Gt(le,te,we,!0)}function We(le,te,we){return Gt(le,te,we,!1)}function Gt(le,te,we,de){return f(u.cloneNode(le)),de?Ni(le,Qi(Pt(u.createAssignment(le,te),we))):Qi(Pt(u.createAssignment(le,te),we))}function Yt(le,te){if(J.exportEquals)return le;const we=te.importClause;if(!we)return le;we.name&&(le=ei(le,we));const de=we.namedBindings;if(de)switch(de.kind){case 274:le=ei(le,de);break;case 275:for(const je of de.elements)le=ei(le,je);break}return le}function Ie(le,te){return J.exportEquals?le:ei(le,te)}function st(le,te,we){if(J.exportEquals)return le;for(const de of te.declarationList.declarations)(de.initializer||we)&&(le=St(le,de,we));return le}function St(le,te,we){if(J.exportEquals)return le;if(So(te.name))for(const de of te.name.elements)Fd(de)||(le=St(le,de,we));else if(!al(te.name)){let de;we&&(le=ht(le,te.name,u.getLocalName(te)),de=fu(te.name)),le=ei(le,te,de)}return le}function It(le,te){if(J.exportEquals)return le;let we;if(Yu(te,32)){const de=Yu(te,2048)?u.createStringLiteral("default"):te.name;le=ht(le,de,u.getLocalName(te)),we=J4(de)}return te.name&&(le=ei(le,te,we)),le}function ei(le,te,we){if(J.exportEquals)return le;const de=u.getDeclarationName(te),je=J.exportSpecifiers.get(de);if(je)for(const X of je)X.name.escapedText!==we&&(le=ht(le,X.name,de));return le}function ht(le,te,we,de){return le=xi(le,Ut(te,we,de)),le}function Ut(le,te,we){const de=u.createExpressionStatement(Ni(le,te));return vh(de),we||Zn(de,3072),de}function Ni(le,te){const we=at(le)?u.createStringLiteralFromNode(le):le;return Zn(te,bs(te)|3072),Bc(u.createCallExpression(K,void 0,[we,te]),te)}function ji(le){switch(le.kind){case 243:return Ke(le);case 262:return Ae(le);case 263:return De(le);case 248:return xn(le,!0);case 249:return Jn(le);case 250:return an(le);case 246:return Zu(le);case 247:return aa(le);case 256:return yr(le);case 254:return Ba(le);case 245:return bt(le);case 255:return jn(le);case 269:return Ln(le);case 296:return Si(le);case 297:return Dn(le);case 258:return Cn(le);case 299:return tu(le);case 241:return oa(le);default:return ra(le)}}function xn(le,te){const we=se;return se=le,le=u.updateForStatement(le,yt(le.initializer,te?Ai:Ta,a4),yt(le.condition,ra,Wt),yt(le.incrementor,Ta,Wt),Ih(le.statement,te?ji:ra,t)),se=we,le}function Jn(le){const te=se;return se=le,le=u.updateForInStatement(le,Ai(le.initializer),yt(le.expression,ra,Wt),Ih(le.statement,ji,t)),se=te,le}function an(le){const te=se;return se=le,le=u.updateForOfStatement(le,le.awaitModifier,Ai(le.initializer),yt(le.expression,ra,Wt),Ih(le.statement,ji,t)),se=te,le}function Pi(le){return Ad(le)&&ft(le)}function Ai(le){if(Pi(le)){let te;for(const we of le.declarations)te=xi(te,Ye(we,!1)),we.initializer||Je(we);return te?u.inlineExpressions(te):u.createOmittedExpression()}else return yt(le,Ta,a4)}function Zu(le){return u.updateDoStatement(le,Ih(le.statement,ji,t),yt(le.expression,ra,Wt))}function aa(le){return u.updateWhileStatement(le,yt(le.expression,ra,Wt),Ih(le.statement,ji,t))}function yr(le){return u.updateLabeledStatement(le,le.label,H.checkDefined(yt(le.statement,ji,na,u.liftToBlock)))}function Ba(le){return u.updateWithStatement(le,yt(le.expression,ra,Wt),H.checkDefined(yt(le.statement,ji,na,u.liftToBlock)))}function bt(le){return u.updateIfStatement(le,yt(le.expression,ra,Wt),H.checkDefined(yt(le.thenStatement,ji,na,u.liftToBlock)),yt(le.elseStatement,ji,na,u.liftToBlock))}function jn(le){return u.updateSwitchStatement(le,yt(le.expression,ra,Wt),H.checkDefined(yt(le.caseBlock,ji,ZP)))}function Ln(le){const te=se;return se=le,le=u.updateCaseBlock(le,kn(le.clauses,ji,WU)),se=te,le}function Si(le){return u.updateCaseClause(le,yt(le.expression,ra,Wt),kn(le.statements,ji,na))}function Dn(le){return rn(le,ji,t)}function Cn(le){return rn(le,ji,t)}function tu(le){const te=se;return se=le,le=u.updateCatchClause(le,le.variableDeclaration,H.checkDefined(yt(le.block,ji,po))),se=te,le}function oa(le){const te=se;return se=le,le=rn(le,ji,t),se=te,le}function Da(le,te){if(!(le.transformFlags&276828160))return le;switch(le.kind){case 248:return xn(le,!1);case 244:return Yo(le);case 217:return bo(le,te);case 360:return Qe(le,te);case 226:if(r5(le))return Mt(le,te);break;case 213:if(dm(le))return Et(le);break;case 224:case 225:return Xt(le,te)}return rn(le,ra,t)}function ra(le){return Da(le,!1)}function Ta(le){return Da(le,!0)}function Yo(le){return u.updateExpressionStatement(le,yt(le.expression,Ta,Wt))}function bo(le,te){return u.updateParenthesizedExpression(le,yt(le.expression,te?Ta:ra,Wt))}function Qe(le,te){return u.updatePartiallyEmittedExpression(le,yt(le.expression,te?Ta:ra,Wt))}function Et(le){const te=W7(u,le,j,v,E,p),we=yt(Ki(le.arguments),ra,Wt),de=te&&(!we||!us(we)||we.text!==te.text)?te:we;return u.createCallExpression(u.createPropertyAccessExpression(Y,u.createIdentifier("import")),void 0,de?[de]:[])}function Mt(le,te){return qt(le.left)?wk(le,ra,t,0,!te):rn(le,ra,t)}function qt(le){if(ld(le,!0))return qt(le.left);if(uE(le))return qt(le.expression);if(ys(le))return Oe(le.properties,qt);if(Dh(le))return Oe(le.elements,qt);if(pm(le))return qt(le.name);if(Jc(le))return qt(le.initializer);if(at(le)){const te=E.getReferencedExportContainer(le);return te!==void 0&&te.kind===312}else return!1}function Xt(le,te){if((le.operator===46||le.operator===47)&&at(le.operand)&&!al(le.operand)&&!rD(le.operand)&&!ple(le.operand)){const we=Ei(le.operand);if(we){let de,je=yt(le.operand,ra,Wt);zv(le)?je=u.updatePrefixUnaryExpression(le,je):(je=u.updatePostfixUnaryExpression(le,je),te||(de=u.createTempVariable(f),je=u.createAssignment(de,je),Pt(je,le)),je=u.createComma(je,u.cloneNode(le.operand)),Pt(je,le));for(const X of we)je=Ni(X,Qi(je));return de&&(je=u.createComma(je,de),Pt(je,le)),je}}return rn(le,ra,t)}function Pe(le){switch(le.kind){case 95:case 90:return}return le}function et(le,te,we){if(te.kind===312){const de=M1(te);j=te,J=k[de],K=T[de],ge=M[de],Y=z[de],ge&&delete M[de],B(le,te,we),j=void 0,J=void 0,K=void 0,Y=void 0,ge=void 0}else B(le,te,we)}function gt(le,te){return te=b(le,te),on(te)?te:le===1?ni(te):le===4?ii(te):te}function ii(le){switch(le.kind){case 304:return me(le)}return le}function me(le){var te,we;const de=le.name;if(!al(de)&&!rD(de)){const je=E.getReferencedImportDeclaration(de);if(je){if(n_(je))return Pt(u.createPropertyAssignment(u.cloneNode(de),u.createPropertyAccessExpression(u.getGeneratedNameForNode(je.parent),u.createIdentifier("default"))),le);if(bf(je))return Pt(u.createPropertyAssignment(u.cloneNode(de),u.createPropertyAccessExpression(u.getGeneratedNameForNode(((we=(te=je.parent)==null?void 0:te.parent)==null?void 0:we.parent)||je),u.cloneNode(je.propertyName||je.name))),le)}}return le}function ni(le){switch(le.kind){case 80:return vi(le);case 226:return mt(le);case 236:return Ot(le)}return le}function vi(le){var te,we;if(bs(le)&8192){const de=zV(j);return de?u.createPropertyAccessExpression(de,le):le}if(!al(le)&&!rD(le)){const de=E.getReferencedImportDeclaration(le);if(de){if(n_(de))return Pt(u.createPropertyAccessExpression(u.getGeneratedNameForNode(de.parent),u.createIdentifier("default")),le);if(bf(de))return Pt(u.createPropertyAccessExpression(u.getGeneratedNameForNode(((we=(te=de.parent)==null?void 0:te.parent)==null?void 0:we.parent)||de),u.cloneNode(de.propertyName||de.name)),le)}}return le}function mt(le){if(u5(le.operatorToken.kind)&&at(le.left)&&(!al(le.left)||JO(le.left))&&!rD(le.left)){const te=Ei(le.left);if(te){let we=le;for(const de of te)we=Ni(de,Qi(we));return we}}return le}function Ot(le){return W8(le)?u.createPropertyAccessExpression(Y,u.createIdentifier("meta")):le}function Ei(le){let te;const we=$i(le);if(we){const de=E.getReferencedExportContainer(le,!1);de&&de.kind===312&&(te=xi(te,u.getDeclarationName(we))),te=yn(te,J==null?void 0:J.exportedBindings[M1(we)])}else if(al(le)&&JO(le)){const de=J==null?void 0:J.exportSpecifiers.get(le);if(de){const je=[];for(const X of de)je.push(X.name);return je}}return te}function $i(le){if(!al(le)){const te=E.getReferencedImportDeclaration(le);if(te)return te;const we=E.getReferencedValueDeclaration(le);if(we&&(J!=null&&J.exportedBindings[M1(we)]))return we;const de=E.getReferencedValueDeclarations(le);if(de){for(const je of de)if(je!==we&&(J!=null&&J.exportedBindings[M1(je)]))return je}return we}}function Qi(le){return ge===void 0&&(ge=[]),ge[$s(le)]=!0,le}function on(le){return ge&&le.id&&ge[le.id]}}var GMt=o({"src/compiler/transformers/module/system.ts"(){Bo()}});function a1e(t){const{factory:u,getEmitHelperFactory:s}=t,d=t.getEmitHost(),f=t.getEmitResolver(),p=t.getCompilerOptions(),E=Os(p),v=t.onEmitNode,b=t.onSubstituteNode;t.onEmitNode=ge,t.onSubstituteNode=ae,t.enableEmitNotification(312),t.enableSubstitution(80);let B,k,T;return Kp(t,M);function M(ne){if(ne.isDeclarationFile)return ne;if(wc(ne)||mg(p)){k=ne,T=void 0;let ve=z(ne);return k=void 0,T&&(ve=u.updateSourceFile(ve,Pt(u.createNodeArray(l0e(ve.statements.slice(),T)),ve.statements))),!wc(ne)||Oe(ve.statements,YO)?ve:u.updateSourceFile(ve,Pt(u.createNodeArray([...ve.statements,NV(u)]),ve.statements))}return ne}function z(ne){const ve=Oce(u,s(),ne,p);if(ve){const Se=[],Ne=u.copyPrologue(ne.statements,Se);return xi(Se,ve),yn(Se,kn(ne.statements,j,na,Ne)),u.updateSourceFile(ne,Pt(u.createNodeArray(Se),ne.statements))}else return rn(ne,j,t)}function j(ne){switch(ne.kind){case 271:return m1(p)>=100?K(ne):void 0;case 277:return oe(ne);case 278:return se(ne)}return ne}function J(ne){const ve=W7(u,ne,H.checkDefined(k),d,f,p),Se=[];if(ve&&Se.push(ve),!T){const pe=u.createUniqueName("_createRequire",48),fe=u.createImportDeclaration(void 0,u.createImportClause(!1,void 0,u.createNamedImports([u.createImportSpecifier(!1,u.createIdentifier("createRequire"),pe)])),u.createStringLiteral("module"),void 0),xe=u.createUniqueName("__require",48),Be=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(xe,void 0,void 0,u.createCallExpression(u.cloneNode(pe),void 0,[u.createPropertyAccessExpression(u.createMetaProperty(102,u.createIdentifier("meta")),u.createIdentifier("url"))]))],E>=2?2:0));T=[fe,Be]}const Ne=T[1].declarationList.declarations[0].name;return H.assertNode(Ne,at),u.createCallExpression(u.cloneNode(Ne),void 0,Se)}function K(ne){H.assert(bv(ne),"import= for internal module references should be handled in an earlier transformer.");let ve;return ve=xi(ve,su(Pt(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(u.cloneNode(ne.name),void 0,void 0,J(ne))],E>=2?2:0)),ne),ne)),ve=Y(ve,ne),F0(ve)}function Y(ne,ve){return Yu(ve,32)&&(ne=xi(ne,u.createExportDeclaration(void 0,ve.isTypeOnly,u.createNamedExports([u.createExportSpecifier(!1,void 0,fu(ve.name))])))),ne}function oe(ne){return ne.isExportEquals?void 0:ne}function se(ne){if(p.module!==void 0&&p.module>5||!ne.exportClause||!u_(ne.exportClause)||!ne.moduleSpecifier)return ne;const ve=ne.exportClause.name,Se=u.getGeneratedNameForNode(ve),Ne=u.createImportDeclaration(void 0,u.createImportClause(!1,void 0,u.createNamespaceImport(Se)),ne.moduleSpecifier,ne.attributes);su(Ne,ne.exportClause);const pe=eq(ne)?u.createExportDefault(Se):u.createExportDeclaration(void 0,!1,u.createNamedExports([u.createExportSpecifier(!1,Se,ve)]));return su(pe,ne),[Ne,pe]}function ge(ne,ve,Se){la(ve)?((wc(ve)||mg(p))&&p.importHelpers&&(B=new Map),v(ne,ve,Se),B=void 0):v(ne,ve,Se)}function ae(ne,ve){return ve=b(ne,ve),B&&at(ve)&&bs(ve)&8192?Ce(ve):ve}function Ce(ne){const ve=fu(ne);let Se=B.get(ve);return Se||B.set(ve,Se=u.createUniqueName(ve,48)),Se}}var JMt=o({"src/compiler/transformers/module/esnextAnd2015.ts"(){Bo()}});function y7e(t){const u=t.onSubstituteNode,s=t.onEmitNode,d=a1e(t),f=t.onSubstituteNode,p=t.onEmitNode;t.onSubstituteNode=u,t.onEmitNode=s;const E=r1e(t),v=t.onSubstituteNode,b=t.onEmitNode;t.onSubstituteNode=k,t.onEmitNode=T,t.enableSubstitution(312),t.enableEmitNotification(312);let B;return j;function k(K,Y){return la(Y)?(B=Y,u(K,Y)):B?B.impliedNodeFormat===99?f(K,Y):v(K,Y):u(K,Y)}function T(K,Y,oe){return la(Y)&&(B=Y),B?B.impliedNodeFormat===99?p(K,Y,oe):b(K,Y,oe):s(K,Y,oe)}function M(K){return K.impliedNodeFormat===99?d:E}function z(K){if(K.isDeclarationFile)return K;B=K;const Y=M(K)(K);return B=void 0,H.assert(la(Y)),Y}function j(K){return K.kind===312?z(K):J(K)}function J(K){return t.factory.createBundle(Vt(K.sourceFiles,z),K.prepends)}}var $Mt=o({"src/compiler/transformers/module/node.ts"(){Bo()}});function mQ(t){return ua(t)||ko(t)||Mm(t)||js(t)||e5(t)||Lx(t)||FV(t)||CB(t)||dc(t)||n3(t)||ed(t)||io(t)||Bl(t)||c5(t)||E1(t)||jp(t)||hc(t)||Ek(t)||Iu(t)||U0(t)||Xn(t)||G4(t)}function k7e(t){if(e5(t)||Lx(t))return u;return n3(t)||dc(t)?d:h5(t);function u(p){const E=s(p);return E!==void 0?{diagnosticMessage:E,errorNode:t,typeName:t.name}:void 0}function s(p){return No(t)?p.errorModuleName?p.accessibility===2?F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:t.parent.kind===263?p.errorModuleName?p.accessibility===2?F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_property_0_of_exported_class_has_or_is_using_private_name_1:p.errorModuleName?F.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Property_0_of_exported_interface_has_or_is_using_private_name_1}function d(p){const E=f(p);return E!==void 0?{diagnosticMessage:E,errorNode:t,typeName:t.name}:void 0}function f(p){return No(t)?p.errorModuleName?p.accessibility===2?F.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:t.parent.kind===263?p.errorModuleName?p.accessibility===2?F.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_method_0_of_exported_class_has_or_is_using_private_name_1:p.errorModuleName?F.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Method_0_of_exported_interface_has_or_is_using_private_name_1}}function h5(t){if(ua(t)||ko(t)||Mm(t)||Iu(t)||U0(t)||Xn(t)||js(t)||hc(t))return s;return e5(t)||Lx(t)?d:FV(t)||CB(t)||dc(t)||n3(t)||ed(t)||Ek(t)?f:io(t)?Mf(t,t.parent)&&Yu(t.parent,2)?s:p:Bl(t)?v:c5(t)?b:E1(t)?B:jp(t)||G4(t)?k:H.assertNever(t,`Attempted to set a declaration diagnostic context for unhandled node kind: ${H.formatSyntaxKind(t.kind)}`);function u(T){if(t.kind===260||t.kind===208)return T.errorModuleName?T.accessibility===2?F.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:F.Exported_variable_0_has_or_is_using_private_name_1;if(t.kind===172||t.kind===211||t.kind===212||t.kind===226||t.kind===171||t.kind===169&&Yu(t.parent,2))return No(t)?T.errorModuleName?T.accessibility===2?F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:t.parent.kind===263||t.kind===169?T.errorModuleName?T.accessibility===2?F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_property_0_of_exported_class_has_or_is_using_private_name_1:T.errorModuleName?F.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Property_0_of_exported_interface_has_or_is_using_private_name_1}function s(T){const M=u(T);return M!==void 0?{diagnosticMessage:M,errorNode:t,typeName:t.name}:void 0}function d(T){let M;return t.kind===178?No(t)?M=T.errorModuleName?F.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:M=T.errorModuleName?F.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:No(t)?M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:M,errorNode:t.name,typeName:t.name}}function f(T){let M;switch(t.kind){case 180:M=T.errorModuleName?F.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 179:M=T.errorModuleName?F.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 181:M=T.errorModuleName?F.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 174:case 173:No(t)?M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:F.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:t.parent.kind===263?M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:F.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:M=T.errorModuleName?F.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 262:M=T.errorModuleName?T.accessibility===2?F.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:F.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return H.fail("This is unknown kind for signature: "+t.kind)}return{diagnosticMessage:M,errorNode:t.name||t}}function p(T){const M=E(T);return M!==void 0?{diagnosticMessage:M,errorNode:t,typeName:t.name}:void 0}function E(T){switch(t.parent.kind){case 176:return T.errorModuleName?T.accessibility===2?F.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 180:case 185:return T.errorModuleName?F.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 179:return T.errorModuleName?F.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 181:return T.errorModuleName?F.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 174:case 173:return No(t.parent)?T.errorModuleName?T.accessibility===2?F.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:t.parent.parent.kind===263?T.errorModuleName?T.accessibility===2?F.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:T.errorModuleName?F.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 262:case 184:return T.errorModuleName?T.accessibility===2?F.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 178:case 177:return T.errorModuleName?T.accessibility===2?F.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return H.fail(`Unknown parent for parameter: ${H.formatSyntaxKind(t.parent.kind)}`)}}function v(){let T;switch(t.parent.kind){case 263:T=F.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 264:T=F.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 200:T=F.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 185:case 180:T=F.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 179:T=F.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 174:case 173:No(t.parent)?T=F.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:t.parent.parent.kind===263?T=F.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:T=F.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 184:case 262:T=F.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 195:T=F.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 265:T=F.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return H.fail("This is unknown parent for type parameter: "+t.parent.kind)}return{diagnosticMessage:T,errorNode:t,typeName:t.name}}function b(){let T;return Wc(t.parent.parent)?T=mm(t.parent)&&t.parent.token===119?F.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:t.parent.parent.name?F.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:F.extends_clause_of_exported_class_has_or_is_using_private_name_0:T=F.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:T,errorNode:t,typeName:Za(t.parent.parent)}}function B(){return{diagnosticMessage:F.Import_declaration_0_is_using_private_name_1,errorNode:t,typeName:t.name}}function k(T){return{diagnosticMessage:T.errorModuleName?F.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:F.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:G4(t)?H.checkDefined(t.typeExpression):t.type,typeName:G4(t)?Za(t):t.name}}}var UMt=o({"src/compiler/transformers/declarations/diagnostics.ts"(){Bo()}});function F7e(t,u,s){const d=t.getCompilerOptions();return pH(u,t,q,d,s?[s]:ti(t.getSourceFiles(),T0e),[s1e],!1).diagnostics}function $et(t,u){return u.text.substring(t.pos,t.end).includes("@internal")}function o1e(t,u){const s=Ua(t);if(s&&s.kind===169){const f=s.parent.parameters.indexOf(s),p=f>0?s.parent.parameters[f-1]:void 0,E=u.text,v=p?Hi(gv(E,gs(E,p.end+1,!1,!0)),W_(E,t.pos)):gv(E,gs(E,t.pos,!1,!0));return v&&v.length&&$et(Cr(v),u)}const d=s&&y0e(s,u);return!!L(d,f=>$et(f,u))}function s1e(t){const u=()=>H.fail("Diagnostic emitted without context");let s=u,d=!0,f=!1,p=!1,E=!1,v=!1,b,B,k,T,M,z;const{factory:j}=t,J=t.getEmitHost(),K={trackSymbol:Ae,reportInaccessibleThisError:Ye,reportInaccessibleUniqueSymbolError:Je,reportCyclicStructureError:ft,reportPrivateInBaseOfClassExpression:De,reportLikelyUnsafeImportRequiredError:Ve,reportTruncationError:We,moduleResolverHost:J,trackReferencedAmbientModule:fe,trackExternalModuleSymbolOfImportTypeNode:Ge,reportNonlocalAugmentation:Gt,reportNonSerializableProperty:Yt};let Y,oe,se,ge,ae,Ce;const ne=t.getEmitResolver(),ve=t.getCompilerOptions(),{noResolve:Se,stripInternal:Ne}=ve;return st;function pe(me){if(me){B=B||new Set;for(const ni of me)B.add(ni)}}function fe(me,ni){const vi=ne.getTypeReferenceDirectivesForSymbol(ni,67108863);if(S(vi))return pe(vi);const mt=zn(me);ge.set(M1(mt),mt)}function xe(me){const ni=Z8(me),vi=ni&&ne.tryFindAmbientModule(ni);if(vi!=null&&vi.declarations)for(const mt of vi.declarations)N1(mt)&&zn(mt)!==se&&fe(mt,vi)}function Be(me){if(me.accessibility===0){if(me&&me.aliasesToMakeVisible)if(!k)k=me.aliasesToMakeVisible;else for(const ni of me.aliasesToMakeVisible)xa(k,ni)}else{const ni=s(me);if(ni)return ni.typeName?t.addDiagnostic(Su(me.errorNode||ni.errorNode,ni.diagnosticMessage,Hc(ni.typeName),me.errorSymbolName,me.errorModuleName)):t.addDiagnostic(Su(me.errorNode||ni.errorNode,ni.diagnosticMessage,me.errorSymbolName,me.errorModuleName)),!0}return!1}function Ge(me){f||(z||(z=[])).push(me)}function Ae(me,ni,vi){if(me.flags&262144)return!1;const mt=Be(ne.isSymbolAccessible(me,ni,vi,!0));return pe(ne.getTypeReferenceDirectivesForSymbol(me,vi)),mt}function De(me){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.Property_0_of_exported_class_expression_may_not_be_private_or_protected,me))}function Ke(){return Y?b0(Y):oe&&Za(oe)?b0(Za(oe)):oe&&tc(oe)?oe.isExportEquals?"export=":"default":"(Missing)"}function Je(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,Ke(),"unique symbol"))}function ft(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,Ke()))}function Ye(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,Ke(),"this"))}function Ve(me){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,Ke(),me))}function We(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))}function Gt(me,ni,vi){var mt;const Ot=(mt=ni.declarations)==null?void 0:mt.find($i=>zn($i)===me),Ei=ti(vi.declarations,$i=>zn($i)!==me);if(Ot&&Ei)for(const $i of Ei)t.addDiagnostic(Es(Su($i,F.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),Su(Ot,F.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}function Yt(me){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,me))}function Ie(me,ni){const vi=s;s=Ot=>Ot.errorNode&&mQ(Ot.errorNode)?h5(Ot.errorNode)(Ot):{diagnosticMessage:Ot.errorModuleName?F.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:F.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:Ot.errorNode||me};const mt=ne.getDeclarationStatementsForSourceFile(me,Tk,K,ni);return s=vi,mt}function st(me){if(me.kind===312&&me.isDeclarationFile)return me;if(me.kind===313){f=!0,ge=new Map,ae=new Map;let te=!1;const we=j.createBundle(Vt(me.sourceFiles,X=>{if(X.isDeclarationFile)return;if(te=te||X.hasNoDefaultLib,se=X,b=X,k=void 0,M=!1,T=new Map,s=u,E=!1,v=!1,St(X,ge),It(X,ae),cm(X)||W4(X)){p=!1,d=!1;const Ct=gh(X)?j.createNodeArray(Ie(X,!0)):kn(X.statements,oa,na);return j.updateSourceFile(X,[j.createModuleDeclaration([j.createModifier(138)],j.createStringLiteral(Pq(t.getEmitHost(),X)),j.createModuleBlock(Pt(j.createNodeArray(Dn(Ct)),X.statements)))],!0,[],[],!1,[])}d=!0;const it=gh(X)?j.createNodeArray(Ie(X)):kn(X.statements,oa,na);return j.updateSourceFile(X,Dn(it),!0,[],[],!1,[])}),qi(me.prepends,X=>{if(X.kind===315){const it=nce(X,"dts",Ne);return te=te||!!it.hasNoDefaultLib,St(it,ge),pe(Vt(it.typeReferenceDirectives,Ct=>[Ct.fileName,Ct.resolutionMode])),It(it,ae),it}return X}));we.syntheticFileReferences=[],we.syntheticTypeReferences=Qi(),we.syntheticLibReferences=$i(),we.hasNoDefaultLib=te;const de=lr(q1(CM(me,J,!0).declarationFilePath)),je=le(we.syntheticFileReferences,de);return ge.forEach(je),we}d=!0,E=!1,v=!1,b=me,se=me,s=u,f=!1,p=!1,M=!1,k=void 0,T=new Map,B=void 0,ge=St(se,new Map),ae=It(se,new Map);const ni=[],vi=lr(q1(CM(me,J,!0).declarationFilePath)),mt=le(ni,vi);let Ot;if(gh(se))Ot=j.createNodeArray(Ie(me)),ge.forEach(mt),Ce=ti(Ot,tk);else{const te=kn(me.statements,oa,na);Ot=Pt(j.createNodeArray(Dn(te)),me.statements),ge.forEach(mt),Ce=ti(Ot,tk),wc(me)&&(!p||E&&!v)&&(Ot=Pt(j.createNodeArray([...Ot,NV(j)]),Ot))}const Ei=j.updateSourceFile(me,Ot,!0,ni,Qi(),me.hasNoDefaultLib,$i());return Ei.exportedModulesFromDeclarationEmit=z,Ei;function $i(){return ga(ae.keys(),te=>({fileName:te,pos:-1,end:-1}))}function Qi(){return B?qi(ga(B.keys()),on):[]}function on([te,we]){if(Ce){for(const de of Ce)if(E1(de)&&r_(de.moduleReference)){const je=de.moduleReference.expression;if(t0(je)&&je.text===te)return}else if(Sd(de)&&us(de.moduleSpecifier)&&de.moduleSpecifier.text===te)return}return{fileName:te,pos:-1,end:-1,...we?{resolutionMode:we}:void 0}}function le(te,we){return de=>{let je;if(de.isDeclarationFile)je=de.fileName;else{if(f&&kt(me.sourceFiles,de))return;const X=CM(de,J,!0);je=X.declarationFilePath||X.jsFilePath||de.fileName}if(je){const X=qY(ve,se,J0(we,J.getCurrentDirectory(),J.getCanonicalFileName),J0(je,J.getCurrentDirectory(),J.getCanonicalFileName),J);if(!om(X)){pe([[X,void 0]]);return}let it=i7(we,je,J.getCurrentDirectory(),J.getCanonicalFileName,!1);if(Pa(it,"./")&&t7(it)&&(it=it.substring(2)),Pa(it,"node_modules/")||q7(it))return;te.push({pos:-1,end:-1,fileName:it})}}}}function St(me,ni){return Se||!yk(me)&&gh(me)||L(me.referencedFiles,vi=>{const mt=J.getSourceFileFromReference(me,vi);mt&&ni.set(M1(mt),mt)}),ni}function It(me,ni){return L(me.libReferenceDirectives,vi=>{J.getLibFileFromReference(vi)&&ni.set($g(vi.fileName),!0)}),ni}function ei(me){if(me.kind===80)return me;return me.kind===207?j.updateArrayBindingPattern(me,kn(me.elements,ni,jU)):j.updateObjectBindingPattern(me,kn(me.elements,ni,js));function ni(vi){return vi.kind===232?vi:(vi.propertyName&&Ps(vi.propertyName)&&ec(vi.propertyName.expression)&&yr(vi.propertyName.expression,b),vi.propertyName&&at(vi.propertyName)&&at(vi.name)&&!vi.symbol.isReferenced&&!wq(vi.propertyName)?j.updateBindingElement(vi,vi.dotDotDotToken,void 0,vi.propertyName,Ut(vi)?vi.initializer:void 0):j.updateBindingElement(vi,vi.dotDotDotToken,vi.propertyName,ei(vi.name),Ut(vi)?vi.initializer:void 0))}}function ht(me,ni,vi){let mt;M||(mt=s,s=h5(me));const Ot=j.updateParameterDeclaration(me,ZMt(j,me,ni),me.dotDotDotToken,ei(me.name),ne.isOptionalParameter(me)?me.questionToken||j.createToken(58):void 0,ji(me,vi||me.type,!0),Ni(me));return M||(s=mt),Ot}function Ut(me){return YMt(me)&&ne.isLiteralConstDeclaration(Ua(me))}function Ni(me){if(Ut(me))return ne.createLiteralConstValue(Ua(me),K)}function ji(me,ni,vi){if(!vi&&Rf(me,2)||Ut(me))return;const mt=me.kind===169&&(ne.isRequiredInitializedParameter(me)||ne.isOptionalUninitializedParameterProperty(me));if(ni&&!mt)return yt(ni,Cn,Xr);if(!Ua(me))return ni?yt(ni,Cn,Xr):j.createKeywordTypeNode(133);if(me.kind===178)return j.createKeywordTypeNode(133);Y=me.name;let Ot;if(M||(Ot=s,s=h5(me)),me.kind===260||me.kind===208)return Ei(ne.createTypeOfDeclaration(me,b,Tk,K));if(me.kind===169||me.kind===172||me.kind===171)return Mm(me)||!me.initializer?Ei(ne.createTypeOfDeclaration(me,b,Tk,K,mt)):Ei(ne.createTypeOfDeclaration(me,b,Tk,K,mt)||ne.createTypeOfExpression(me.initializer,b,Tk,K));return Ei(ne.createReturnTypeOfSignatureDeclaration(me,b,Tk,K));function Ei($i){return Y=void 0,M||(s=Ot),$i||j.createKeywordTypeNode(133)}}function xn(me){switch(me=Ua(me),me.kind){case 262:case 267:case 264:case 263:case 265:case 266:return!ne.isDeclarationVisible(me);case 260:return!an(me);case 271:case 272:case 278:case 277:return!1;case 175:return!0}return!1}function Jn(me){var ni;if(me.body)return!0;const vi=(ni=me.symbol.declarations)==null?void 0:ni.filter(mt=>ed(mt)&&!mt.body);return!vi||vi.indexOf(me)===vi.length-1}function an(me){return Fd(me)?!1:So(me.name)?Oe(me.name.elements,an):ne.isDeclarationVisible(me)}function Pi(me,ni,vi){if(Rf(me,2))return j.createNodeArray();const mt=Vt(ni,Ot=>ht(Ot,vi));return mt?j.createNodeArray(mt,ni.hasTrailingComma):j.createNodeArray()}function Ai(me,ni){let vi;if(!ni){const mt=T2(me);mt&&(vi=[ht(mt)])}if(jf(me)){let mt;if(!ni){const Ot=hP(me);if(Ot){const Ei=gt(me,ne.getAllAccessorDeclarations(me));mt=ht(Ot,void 0,Ei)}}mt||(mt=j.createParameterDeclaration(void 0,void 0,"value")),vi=xi(vi,mt)}return j.createNodeArray(vi||_t)}function Zu(me,ni){return Rf(me,2)?void 0:kn(ni,Cn,Bl)}function aa(me){return la(me)||jp(me)||_c(me)||Wc(me)||xh(me)||Co(me)||Ek(me)||JP(me)}function yr(me,ni){const vi=ne.isEntityNameVisible(me,ni);Be(vi),pe(ne.getTypeReferenceDirectivesForEntityName(me))}function Ba(me,ni){return lm(me)&&lm(ni)&&(me.jsDoc=ni.jsDoc),Bc(me,nE(ni))}function bt(me,ni){if(ni){if(p=p||me.kind!==267&&me.kind!==205,t0(ni))if(f){const vi=Eye(t.getEmitHost(),ne,me);if(vi)return j.createStringLiteral(vi)}else{const vi=ne.getSymbolOfExternalModuleSpecifier(ni);vi&&(z||(z=[])).push(vi)}return ni}}function jn(me){if(ne.isDeclarationVisible(me))if(me.moduleReference.kind===283){const ni=XN(me);return j.updateImportEqualsDeclaration(me,me.modifiers,me.isTypeOnly,me.name,j.updateExternalModuleReference(me.moduleReference,bt(me,ni)))}else{const ni=s;return s=h5(me),yr(me.moduleReference,b),s=ni,me}}function Ln(me){if(!me.importClause)return j.updateImportDeclaration(me,me.modifiers,me.importClause,bt(me,me.moduleSpecifier),Si(me.attributes));const ni=me.importClause&&me.importClause.name&&ne.isDeclarationVisible(me.importClause)?me.importClause.name:void 0;if(!me.importClause.namedBindings)return ni&&j.updateImportDeclaration(me,me.modifiers,j.updateImportClause(me.importClause,me.importClause.isTypeOnly,ni,void 0),bt(me,me.moduleSpecifier),Si(me.attributes));if(me.importClause.namedBindings.kind===274){const mt=ne.isDeclarationVisible(me.importClause.namedBindings)?me.importClause.namedBindings:void 0;return ni||mt?j.updateImportDeclaration(me,me.modifiers,j.updateImportClause(me.importClause,me.importClause.isTypeOnly,ni,mt),bt(me,me.moduleSpecifier),Si(me.attributes)):void 0}const vi=qi(me.importClause.namedBindings.elements,mt=>ne.isDeclarationVisible(mt)?mt:void 0);if(vi&&vi.length||ni)return j.updateImportDeclaration(me,me.modifiers,j.updateImportClause(me.importClause,me.importClause.isTypeOnly,ni,vi&&vi.length?j.updateNamedImports(me.importClause.namedBindings,vi):void 0),bt(me,me.moduleSpecifier),Si(me.attributes));if(ne.isImportRequiredByAugmentation(me))return j.updateImportDeclaration(me,me.modifiers,void 0,bt(me,me.moduleSpecifier),Si(me.attributes))}function Si(me){const ni=qB(me);return me&&ni!==void 0?me:void 0}function Dn(me){for(;S(k);){const vi=k.shift();if(!iq(vi))return H.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${H.formatSyntaxKind(vi.kind)}`);const mt=d;d=vi.parent&&la(vi.parent)&&!(wc(vi.parent)&&f);const Ot=Ta(vi);d=mt,T.set(M1(vi),Ot)}return kn(me,ni,na);function ni(vi){if(iq(vi)){const mt=M1(vi);if(T.has(mt)){const Ot=T.get(mt);return T.delete(mt),Ot&&((Ha(Ot)?Oe(Ot,VU):VU(Ot))&&(E=!0),la(vi.parent)&&(Ha(Ot)?Oe(Ot,YO):YO(Ot))&&(p=!0)),Ot}}return vi}}function Cn(me){if(Mt(me)||Q1(me)&&(xn(me)||Ix(me)&&!ne.isLateBound(Ua(me)))||Co(me)&&ne.isImplementationOfOverload(me)||lFe(me))return;let ni;aa(me)&&(ni=b,b=me);const vi=s,mt=mQ(me),Ot=M;let Ei=(me.kind===187||me.kind===200)&&me.parent.kind!==265;if((dc(me)||n3(me))&&Rf(me,2))return me.symbol&&me.symbol.declarations&&me.symbol.declarations[0]!==me?void 0:$i(j.createPropertyDeclaration(Pe(me),me.name,void 0,void 0,void 0));if(mt&&!M&&(s=h5(me)),bB(me)&&yr(me.exprName,b),Ei&&(M=!0),XMt(me))switch(me.kind){case 233:{(sm(me.expression)||ec(me.expression))&&yr(me.expression,b);const Qi=rn(me,Cn,t);return $i(j.updateExpressionWithTypeArguments(Qi,Qi.expression,Qi.typeArguments))}case 183:{yr(me.typeName,b);const Qi=rn(me,Cn,t);return $i(j.updateTypeReferenceNode(Qi,Qi.typeName,Qi.typeArguments))}case 180:return $i(j.updateConstructSignature(me,Zu(me,me.typeParameters),Pi(me,me.parameters),ji(me,me.type)));case 176:{const Qi=j.createConstructorDeclaration(Pe(me),Pi(me,me.parameters,0),void 0);return $i(Qi)}case 174:{if(ea(me.name))return $i(void 0);const Qi=j.createMethodDeclaration(Pe(me),void 0,me.name,me.questionToken,Zu(me,me.typeParameters),Pi(me,me.parameters),ji(me,me.type),void 0);return $i(Qi)}case 177:{if(ea(me.name))return $i(void 0);const Qi=gt(me,ne.getAllAccessorDeclarations(me));return $i(j.updateGetAccessorDeclaration(me,Pe(me),me.name,Ai(me,Rf(me,2)),ji(me,Qi),void 0))}case 178:return ea(me.name)?$i(void 0):$i(j.updateSetAccessorDeclaration(me,Pe(me),me.name,Ai(me,Rf(me,2)),void 0));case 172:return ea(me.name)?$i(void 0):$i(j.updatePropertyDeclaration(me,Pe(me),me.name,me.questionToken,ji(me,me.type),Ni(me)));case 171:return ea(me.name)?$i(void 0):$i(j.updatePropertySignature(me,Pe(me),me.name,me.questionToken,ji(me,me.type)));case 173:return ea(me.name)?$i(void 0):$i(j.updateMethodSignature(me,Pe(me),me.name,me.questionToken,Zu(me,me.typeParameters),Pi(me,me.parameters),ji(me,me.type)));case 179:return $i(j.updateCallSignature(me,Zu(me,me.typeParameters),Pi(me,me.parameters),ji(me,me.type)));case 181:return $i(j.updateIndexSignature(me,Pe(me),Pi(me,me.parameters),yt(me.type,Cn,Xr)||j.createKeywordTypeNode(133)));case 260:return So(me.name)?bo(me.name):(Ei=!0,M=!0,$i(j.updateVariableDeclaration(me,me.name,void 0,ji(me,me.type),Ni(me))));case 168:return tu(me)&&(me.default||me.constraint)?$i(j.updateTypeParameterDeclaration(me,me.modifiers,me.name,void 0,void 0)):$i(rn(me,Cn,t));case 194:{const Qi=yt(me.checkType,Cn,Xr),on=yt(me.extendsType,Cn,Xr),le=b;b=me.trueType;const te=yt(me.trueType,Cn,Xr);b=le;const we=yt(me.falseType,Cn,Xr);return H.assert(Qi),H.assert(on),H.assert(te),H.assert(we),$i(j.updateConditionalTypeNode(me,Qi,on,te,we))}case 184:return $i(j.updateFunctionTypeNode(me,kn(me.typeParameters,Cn,Bl),Pi(me,me.parameters),H.checkDefined(yt(me.type,Cn,Xr))));case 185:return $i(j.updateConstructorTypeNode(me,Pe(me),kn(me.typeParameters,Cn,Bl),Pi(me,me.parameters),H.checkDefined(yt(me.type,Cn,Xr))));case 205:return zx(me)?(xe(me),$i(j.updateImportTypeNode(me,j.updateLiteralTypeNode(me.argument,bt(me,me.argument.literal)),me.attributes,me.qualifier,kn(me.typeArguments,Cn,Xr),me.isTypeOf))):$i(me);default:H.assertNever(me,`Attempted to process unhandled node kind: ${H.formatSyntaxKind(me.kind)}`)}return yB(me)&&s0(se,me.pos).line===s0(se,me.end).line&&Zn(me,1),$i(rn(me,Cn,t));function $i(Qi){return Qi&&mt&&Ix(me)&&Et(me),aa(me)&&(b=ni),mt&&!M&&(s=vi),Ei&&(M=Ot),Qi===me?Qi:Qi&&su(Ba(Qi,me),me)}}function tu(me){return me.parent.kind===174&&Rf(me.parent,2)}function oa(me){if(!QMt(me)||Mt(me))return;switch(me.kind){case 278:return la(me.parent)&&(p=!0),v=!0,xe(me),j.updateExportDeclaration(me,me.modifiers,me.isTypeOnly,me.exportClause,bt(me,me.moduleSpecifier),Si(me.attributes));case 277:{if(la(me.parent)&&(p=!0),v=!0,me.expression.kind===80)return me;{const vi=j.createUniqueName("_default",16);s=()=>({diagnosticMessage:F.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:me}),oe=me;const mt=j.createVariableDeclaration(vi,void 0,ne.createTypeOfExpression(me.expression,me,Tk,K),void 0);oe=void 0;const Ot=j.createVariableStatement(d?[j.createModifier(138)]:[],j.createVariableDeclarationList([mt],2));return Ba(Ot,me),EV(me),[Ot,j.updateExportAssignment(me,me.modifiers,vi)]}}}const ni=Ta(me);return T.set(M1(me),ni),me}function Da(me){if(E1(me)||Rf(me,2048)||!Hp(me))return me;const ni=j.createModifiersFromModifierFlags(Eh(me)&131039);return j.replaceModifiers(me,ni)}function ra(me,ni,vi,mt){const Ot=j.updateModuleDeclaration(me,ni,vi,mt);if(N1(Ot)||Ot.flags&32)return Ot;const Ei=j.createModuleDeclaration(Ot.modifiers,Ot.name,Ot.body,Ot.flags|32);return su(Ei,Ot),Pt(Ei,Ot),Ei}function Ta(me){if(k)for(;gO(k,me););if(Mt(me))return;switch(me.kind){case 271:{const $i=jn(me);return $i&&xe(me),$i}case 272:{const $i=Ln(me);return $i&&xe(me),$i}}if(Q1(me)&&xn(me)||Co(me)&&ne.isImplementationOfOverload(me))return;let ni;aa(me)&&(ni=b,b=me);const vi=mQ(me),mt=s;vi&&(s=h5(me));const Ot=d;switch(me.kind){case 265:{d=!1;const $i=Ei(j.updateTypeAliasDeclaration(me,Pe(me),me.name,kn(me.typeParameters,Cn,Bl),H.checkDefined(yt(me.type,Cn,Xr))));return d=Ot,$i}case 264:return Ei(j.updateInterfaceDeclaration(me,Pe(me),me.name,Zu(me,me.typeParameters),ii(me.heritageClauses),kn(me.members,Cn,Zy)));case 262:{const $i=Ei(j.updateFunctionDeclaration(me,Pe(me),void 0,me.name,Zu(me,me.typeParameters),Pi(me,me.parameters),ji(me,me.type),void 0));if($i&&ne.isExpandoFunctionDeclaration(me)&&Jn(me)){const Qi=ne.getPropertiesOfContainerFunction(me),on=a_.createModuleDeclaration(void 0,$i.name||j.createIdentifier("_default"),j.createModuleBlock([]),32);ks(on,b),on.locals=Vo(Qi),on.symbol=Qi[0].parent;const le=[];let te=qi(Qi,Ct=>{if(!EZ(Ct.valueDeclaration))return;const ct=Qr(Ct.escapedName);if(!Lm(ct,99))return;s=h5(Ct.valueDeclaration);const Qt=ne.createTypeOfDeclaration(Ct.valueDeclaration,on,Tk,K);s=mt;const Li=m7(ct),Ui=Li?j.getGeneratedNameForNode(Ct.valueDeclaration):j.createIdentifier(ct);Li&&le.push([Ui,ct]);const Sn=j.createVariableDeclaration(Ui,void 0,Qt,void 0);return j.createVariableStatement(Li?void 0:[j.createToken(95)],j.createVariableDeclarationList([Sn]))});le.length?te.push(j.createExportDeclaration(void 0,!1,j.createNamedExports(Vt(le,([Ct,ct])=>j.createExportSpecifier(!1,Ct,ct))))):te=qi(te,Ct=>j.replaceModifiers(Ct,0));const we=j.createModuleDeclaration(Pe(me),me.name,j.createModuleBlock(te),32);if(!Rf($i,2048))return[$i,we];const de=j.createModifiersFromModifierFlags(Eh($i)&-2081|128),je=j.updateFunctionDeclaration($i,de,void 0,$i.name,$i.typeParameters,$i.parameters,$i.type,void 0),X=j.updateModuleDeclaration(we,de,we.name,we.body),it=j.createExportAssignment(void 0,!1,we.name);return la(me.parent)&&(p=!0),v=!0,[je,X,it]}else return $i}case 267:{d=!1;const $i=me.body;if($i&&$i.kind===268){const Qi=E,on=v;v=!1,E=!1;const le=kn($i.statements,oa,na);let te=Dn(le);me.flags&33554432&&(E=!1),!Yg(me)&&!Xt(te)&&!v&&(E?te=j.createNodeArray([...te,NV(j)]):te=kn(te,Da,na));const we=j.updateModuleBlock($i,te);d=Ot,E=Qi,v=on;const de=Pe(me);return Ei(ra(me,de,v2(me)?bt(me,me.name):me.name,we))}else{d=Ot;const Qi=Pe(me);d=!1,yt($i,oa);const on=M1($i),le=T.get(on);return T.delete(on),Ei(ra(me,Qi,me.name,le))}}case 263:{Y=me.name,oe=me;const $i=j.createNodeArray(Pe(me)),Qi=Zu(me,me.typeParameters),on=X_(me);let le;if(on){const it=s;le=Dr(ju(on.parameters,Ct=>{if(!Yu(Ct,31)||Mt(Ct))return;if(s=h5(Ct),Ct.name.kind===80)return Ba(j.createPropertyDeclaration(Pe(Ct),Ct.name,Ct.questionToken,ji(Ct,Ct.type),Ni(Ct)),Ct);return ct(Ct.name);function ct(Qt){let Li;for(const Ui of Qt.elements)Fd(Ui)||(So(Ui.name)&&(Li=Hi(Li,ct(Ui.name))),Li=Li||[],Li.push(j.createPropertyDeclaration(Pe(Ct),Ui.name,void 0,ji(Ui,void 0),void 0)));return Li}})),s=it}const we=Oe(me.members,it=>!!it.name&&ea(it.name))?[j.createPropertyDeclaration(void 0,j.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,de=Hi(Hi(we,le),kn(me.members,Cn,Zd)),je=j.createNodeArray(de),X=Qg(me);if(X&&!ec(X.expression)&&X.expression.kind!==106){const it=me.name?Qr(me.name.escapedText):"default",Ct=j.createUniqueName(`${it}_base`,16);s=()=>({diagnosticMessage:F.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:X,typeName:me.name});const ct=j.createVariableDeclaration(Ct,void 0,ne.createTypeOfExpression(X.expression,me,Tk,K),void 0),Qt=j.createVariableStatement(d?[j.createModifier(138)]:[],j.createVariableDeclarationList([ct],2)),Li=j.createNodeArray(Vt(me.heritageClauses,Ui=>{if(Ui.token===96){const Sn=s;s=h5(Ui.types[0]);const du=j.updateHeritageClause(Ui,Vt(Ui.types,Ru=>j.updateExpressionWithTypeArguments(Ru,Ct,kn(Ru.typeArguments,Cn,Xr))));return s=Sn,du}return j.updateHeritageClause(Ui,kn(j.createNodeArray(ti(Ui.types,Sn=>ec(Sn.expression)||Sn.expression.kind===106)),Cn,c5))}));return[Qt,Ei(j.updateClassDeclaration(me,$i,me.name,Qi,Li,je))]}else{const it=ii(me.heritageClauses);return Ei(j.updateClassDeclaration(me,$i,me.name,Qi,it,je))}}case 243:return Ei(Yo(me));case 266:return Ei(j.updateEnumDeclaration(me,j.createNodeArray(Pe(me)),me.name,j.createNodeArray(qi(me.members,$i=>{if(Mt($i))return;const Qi=ne.getConstantValue($i);return Ba(j.updateEnumMember($i,$i.name,Qi!==void 0?typeof Qi=="string"?j.createStringLiteral(Qi):j.createNumericLiteral(Qi):void 0),$i)}))))}return H.assertNever(me,`Unhandled top-level node in declaration emit: ${H.formatSyntaxKind(me.kind)}`);function Ei($i){return aa(me)&&(b=ni),vi&&(s=mt),me.kind===267&&(d=Ot),$i===me?$i:(oe=void 0,Y=void 0,$i&&su(Ba($i,me),me))}}function Yo(me){if(!L(me.declarationList.declarations,an))return;const ni=kn(me.declarationList.declarations,Cn,ua);if(!S(ni))return;const vi=j.createNodeArray(Pe(me));let mt;return cj(me.declarationList)||lj(me.declarationList)?(mt=j.createVariableDeclarationList(ni,2),su(mt,me.declarationList),Pt(mt,me.declarationList),Bc(mt,me.declarationList)):mt=j.updateVariableDeclarationList(me.declarationList,ni),j.updateVariableStatement(me,vi,mt)}function bo(me){return Va(qi(me.elements,ni=>Qe(ni)))}function Qe(me){if(me.kind!==232&&me.name)return an(me)?So(me.name)?bo(me.name):j.createVariableDeclaration(me.name,void 0,ji(me,void 0),void 0):void 0}function Et(me){let ni;M||(ni=s,s=k7e(me)),Y=me.name,H.assert(ne.isLateBound(Ua(me)));const mt=me.name.expression;yr(mt,b),M||(s=ni),Y=void 0}function Mt(me){return!!Ne&&!!me&&o1e(me,se)}function qt(me){return tc(me)||Gc(me)}function Xt(me){return Oe(me,qt)}function Pe(me){const ni=Eh(me),vi=et(me);return ni===vi?dH(me.modifiers,mt=>ur(mt,Qo),Qo):j.createModifiersFromModifierFlags(vi)}function et(me){let ni=130030,vi=d&&!qMt(me)?128:0;const mt=me.parent.kind===312;return(!mt||f&&mt&&wc(me.parent))&&(ni^=128,vi=0),Uet(me,ni,vi)}function gt(me,ni){let vi=A7e(me);return!vi&&me!==ni.firstAccessor&&(vi=A7e(ni.firstAccessor),s=h5(ni.firstAccessor)),!vi&&ni.secondAccessor&&me!==ni.secondAccessor&&(vi=A7e(ni.secondAccessor),s=h5(ni.secondAccessor)),vi}function ii(me){return j.createNodeArray(ti(Vt(me,ni=>j.updateHeritageClause(ni,kn(j.createNodeArray(ti(ni.types,vi=>ec(vi.expression)||ni.token===96&&vi.expression.kind===106)),Cn,c5))),ni=>ni.types&&!!ni.types.length))}}function qMt(t){return t.kind===264}function ZMt(t,u,s,d){return t.createModifiersFromModifierFlags(Uet(u,s,d))}function Uet(t,u=131070,s=0){let d=Eh(t)&u|s;return d&2048&&!(d&32)&&(d^=32),d&2048&&d&128&&(d^=128),d}function A7e(t){if(t)return t.kind===177?t.type:t.parameters.length>0?t.parameters[0].type:void 0}function YMt(t){switch(t.kind){case 172:case 171:return!Rf(t,2);case 169:case 260:return!0}return!1}function QMt(t){switch(t.kind){case 262:case 267:case 271:case 264:case 263:case 265:case 266:case 243:case 272:case 278:case 277:return!0}return!1}function XMt(t){switch(t.kind){case 180:case 176:case 174:case 177:case 178:case 172:case 171:case 173:case 179:case 181:case 260:case 168:case 233:case 183:case 194:case 184:case 185:case 205:return!0}return!1}var Tk,ezt=o({"src/compiler/transformers/declarations.ts"(){Bo(),NAe(),Tk=531469}});function tzt(t){switch(t){case 99:case 7:case 6:case 5:return a1e;case 4:return b7e;case 100:case 199:return y7e;default:return r1e}}function l1e(t,u,s){return{scriptTransformers:izt(t,u,s),declarationTransformers:nzt(u)}}function izt(t,u,s){if(s)return _t;const d=Os(t),f=m1(t),p=eV(t),E=[];return yn(E,u&&Vt(u.before,Zet)),E.push(u7e),t.experimentalDecorators&&E.push(o7e),iZ(t)&&E.push(_7e),d<99&&E.push(m7e),!t.experimentalDecorators&&(d<99||!p)&&E.push(s7e),E.push(r7e),d<8&&E.push(f7e),d<7&&E.push(h7e),d<6&&E.push(d7e),d<5&&E.push(c7e),d<4&&E.push(l7e),d<3&&E.push(D7e),d<2&&(E.push(x7e),E.push(C7e)),E.push(tzt(f)),d<1&&E.push(v7e),yn(E,u&&Vt(u.after,Zet)),E}function nzt(t){const u=[];return u.push(s1e),yn(u,t&&Vt(t.afterDeclarations,rzt)),u}function uzt(t){return u=>kce(u)?t.transformBundle(u):t.transformSourceFile(u)}function qet(t,u){return s=>{const d=t(s);return typeof d=="function"?u(s,d):uzt(d)}}function Zet(t){return qet(t,Kp)}function rzt(t){return qet(t,(u,s)=>s)}function xM(t,u){return u}function mH(t,u,s){s(t,u)}function pH(t,u,s,d,f,p,E){var v,b;const B=new Array(363);let k,T,M,z=0,j=[],J=[],K=[],Y=[],oe=0,se=!1,ge=[],ae=0,Ce,ne,ve=xM,Se=mH,Ne=0;const pe=[],fe={factory:s,getCompilerOptions:()=>d,getEmitResolver:()=>t,getEmitHost:()=>u,getEmitHelperFactory:Mh(()=>$ke(fe)),startLexicalEnvironment:Ie,suspendLexicalEnvironment:st,resumeLexicalEnvironment:St,endLexicalEnvironment:It,setLexicalEnvironmentFlags:ei,getLexicalEnvironmentFlags:ht,hoistVariableDeclaration:We,hoistFunctionDeclaration:Gt,addInitializationStatement:Yt,startBlockScope:Ut,endBlockScope:Ni,addBlockScopedVariable:ji,requestEmitHelper:xn,readEmitHelpers:Jn,enableSubstitution:De,enableEmitNotification:ft,isSubstitutionEnabled:Ke,isEmitNotificationEnabled:Ye,get onSubstituteNode(){return ve},set onSubstituteNode(Pi){H.assert(Ne<1,"Cannot modify transformation hooks after initialization has completed."),H.assert(Pi!==void 0,"Value must not be 'undefined'"),ve=Pi},get onEmitNode(){return Se},set onEmitNode(Pi){H.assert(Ne<1,"Cannot modify transformation hooks after initialization has completed."),H.assert(Pi!==void 0,"Value must not be 'undefined'"),Se=Pi},addDiagnostic(Pi){pe.push(Pi)}};for(const Pi of f)oce(zn(Ua(Pi)));ul("beforeTransform");const xe=p.map(Pi=>Pi(fe)),Be=Pi=>{for(const Ai of xe)Pi=Ai(Pi);return Pi};Ne=1;const Ge=[];for(const Pi of f)(v=Gn)==null||v.push(Gn.Phase.Emit,"transformNodes",Pi.kind===312?{path:Pi.path}:{kind:Pi.kind,pos:Pi.pos,end:Pi.end}),Ge.push((E?Be:Ae)(Pi)),(b=Gn)==null||b.pop();return Ne=2,ul("afterTransform"),Tm("transformTime","beforeTransform","afterTransform"),{transformed:Ge,substituteNode:Je,emitNodeWithNotification:Ve,isEmitNotificationEnabled:Ye,dispose:an,diagnostics:pe};function Ae(Pi){return Pi&&(!la(Pi)||!Pi.isDeclarationFile)?Be(Pi):Pi}function De(Pi){H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed."),B[Pi]|=1}function Ke(Pi){return(B[Pi.kind]&1)!==0&&(bs(Pi)&8)===0}function Je(Pi,Ai){return H.assert(Ne<3,"Cannot substitute a node after the result is disposed."),Ai&&Ke(Ai)&&ve(Pi,Ai)||Ai}function ft(Pi){H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed."),B[Pi]|=2}function Ye(Pi){return(B[Pi.kind]&2)!==0||(bs(Pi)&4)!==0}function Ve(Pi,Ai,Zu){H.assert(Ne<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),Ai&&(Ye(Ai)?Se(Pi,Ai,Zu):Zu(Pi,Ai))}function We(Pi){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed.");const Ai=Zn(s.createVariableDeclaration(Pi),128);k?k.push(Ai):k=[Ai],z&1&&(z|=2)}function Gt(Pi){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),Zn(Pi,2097152),T?T.push(Pi):T=[Pi]}function Yt(Pi){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),Zn(Pi,2097152),M?M.push(Pi):M=[Pi]}function Ie(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(!se,"Lexical environment is suspended."),j[oe]=k,J[oe]=T,K[oe]=M,Y[oe]=z,oe++,k=void 0,T=void 0,M=void 0,z=0}function st(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(!se,"Lexical environment is already suspended."),se=!0}function St(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(se,"Lexical environment is not suspended."),se=!1}function It(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(!se,"Lexical environment is suspended.");let Pi;if(k||T||M){if(T&&(Pi=[...T]),k){const Ai=s.createVariableStatement(void 0,s.createVariableDeclarationList(k));Zn(Ai,2097152),Pi?Pi.push(Ai):Pi=[Ai]}M&&(Pi?Pi=[...Pi,...M]:Pi=[...M])}return oe--,k=j[oe],T=J[oe],M=K[oe],z=Y[oe],oe===0&&(j=[],J=[],K=[],Y=[]),Pi}function ei(Pi,Ai){z=Ai?z|Pi:z&~Pi}function ht(){return z}function Ut(){H.assert(Ne>0,"Cannot start a block scope during initialization."),H.assert(Ne<2,"Cannot start a block scope after transformation has completed."),ge[ae]=Ce,ae++,Ce=void 0}function Ni(){H.assert(Ne>0,"Cannot end a block scope during initialization."),H.assert(Ne<2,"Cannot end a block scope after transformation has completed.");const Pi=Oe(Ce)?[s.createVariableStatement(void 0,s.createVariableDeclarationList(Ce.map(Ai=>s.createVariableDeclaration(Ai)),1))]:void 0;return ae--,Ce=ge[ae],ae===0&&(ge=[]),Pi}function ji(Pi){H.assert(ae>0,"Cannot add a block scoped variable outside of an iteration body."),(Ce||(Ce=[])).push(Pi)}function xn(Pi){if(H.assert(Ne>0,"Cannot modify the transformation context during initialization."),H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed."),H.assert(!Pi.scoped,"Cannot request a scoped emit helper."),Pi.dependencies)for(const Ai of Pi.dependencies)xn(Ai);ne=xi(ne,Pi)}function Jn(){H.assert(Ne>0,"Cannot modify the transformation context during initialization."),H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed.");const Pi=ne;return ne=void 0,Pi}function an(){if(Ne<3){for(const Pi of f)oce(zn(Ua(Pi)));k=void 0,j=void 0,T=void 0,J=void 0,ve=void 0,Se=void 0,ne=void 0,Ne=3}}}var c1e,Dg,azt=o({"src/compiler/transformer.ts"(){Bo(),Wy(),c1e={scriptTransformers:_t,declarationTransformers:_t},Dg={factory:q,getCompilerOptions:()=>({}),getEmitResolver:ho,getEmitHost:ho,getEmitHelperFactory:ho,startLexicalEnvironment:Is,resumeLexicalEnvironment:Is,suspendLexicalEnvironment:Is,endLexicalEnvironment:hv,setLexicalEnvironmentFlags:Is,getLexicalEnvironmentFlags:()=>0,hoistVariableDeclaration:Is,hoistFunctionDeclaration:Is,addInitializationStatement:Is,startBlockScope:Is,endBlockScope:hv,addBlockScopedVariable:Is,requestEmitHelper:Is,readEmitHelpers:ho,enableSubstitution:Is,enableEmitNotification:Is,isSubstitutionEnabled:ho,isEmitNotificationEnabled:ho,onSubstituteNode:xM,onEmitNode:mH,addDiagnostic:Is}}});function S7e(t){return Ml(t,".tsbuildinfo")}function d1e(t,u,s,d=!1,f,p){const E=Ha(s)?s:ile(t,s,d),v=t.getCompilerOptions();if(y0(v)){const b=t.getPrependNodes();if(E.length||b.length){const B=q.createBundle(E,b),k=u(CM(B,t,d),B);if(k)return k}}else{if(!f)for(const b of E){const B=u(CM(b,t,d),b);if(B)return B}if(p){const b=f5(v);if(b)return u({buildInfoPath:b},void 0)}}}function f5(t){const u=t.configFilePath;if(!Xj(t))return;if(t.tsBuildInfoFile)return t.tsBuildInfoFile;const s=y0(t);let d;if(s)d=_h(s);else{if(!u)return;const f=_h(u);d=t.outDir?t.rootDir?kx(t.outDir,JE(t.rootDir,f,!0)):cr(t.outDir,Ac(f)):f}return d+".tsbuildinfo"}function vM(t,u){const s=y0(t),d=t.emitDeclarationOnly?void 0:s,f=d&&Yet(d,t),p=u||c4(t)?_h(s)+".d.ts":void 0,E=p&&Xq(t)?p+".map":void 0,v=f5(t);return{jsFilePath:d,sourceMapFilePath:f,declarationFilePath:p,declarationMapPath:E,buildInfoPath:v}}function CM(t,u,s){const d=u.getCompilerOptions();if(t.kind===313)return vM(d,s);{const f=_ye(t.fileName,u,pQ(t.fileName,d)),p=W4(t),E=p&&pv(t.fileName,f,u.getCurrentDirectory(),!u.useCaseSensitiveFileNames())===0,v=d.emitDeclarationOnly||E?void 0:f,b=!v||W4(t)?void 0:Yet(v,d),B=s||c4(d)&&!p?Dye(t.fileName,u):void 0,k=B&&Xq(d)?B+".map":void 0;return{jsFilePath:v,sourceMapFilePath:b,declarationFilePath:B,declarationMapPath:k,buildInfoPath:void 0}}}function Yet(t,u){return u.sourceMap&&!u.inlineSourceMap?t+".map":void 0}function pQ(t,u){return Ml(t,".json")?".json":u.jsx===1&&jc(t,[".jsx",".tsx"])?".jsx":jc(t,[".mts",".mjs"])?".mjs":jc(t,[".cts",".cjs"])?".cjs":".js"}function Qet(t,u,s,d,f){return d?kx(d,JE(f?f():kM(u,s),t,s)):t}function bM(t,u,s,d){return wv(Qet(t,u,s,u.options.declarationDir||u.options.outDir,d),Kj(t))}function Xet(t,u,s,d){if(u.options.emitDeclarationOnly)return;const f=Ml(t,".json"),p=wv(Qet(t,u,s,u.options.outDir,d),pQ(t,u.options));return!f||pv(t,p,H.checkDefined(u.options.configFilePath),s)!==0?p:void 0}function ett(){let t;return{addOutput:u,getOutputs:s};function u(d){d&&(t||(t=[])).push(d)}function s(){return t||_t}}function ttt(t,u){const{jsFilePath:s,sourceMapFilePath:d,declarationFilePath:f,declarationMapPath:p,buildInfoPath:E}=vM(t.options,!1);u(s),u(d),u(f),u(p),u(E)}function itt(t,u,s,d,f){if(e1(u))return;const p=Xet(u,t,s,f);if(d(p),!Ml(u,".json")&&(p&&t.options.sourceMap&&d(`${p}.map`),c4(t.options))){const E=bM(u,t,s,f);d(E),t.options.declarationMap&&d(`${E}.map`)}}function yM(t,u,s,d,f){let p;return t.rootDir?(p=$a(t.rootDir,s),f==null||f(t.rootDir)):t.composite&&t.configFilePath?(p=lr(q1(t.configFilePath)),f==null||f(p)):p=P7e(u(),s,d),p&&p[p.length-1]!==rl&&(p+=rl),p}function kM({options:t,fileNames:u},s){return yM(t,()=>ti(u,d=>!(t.noEmitForJsFiles&&jc(d,_B))&&!e1(d)),lr(q1(H.checkDefined(t.configFilePath))),L1(!s))}function gQ(t,u){const{addOutput:s,getOutputs:d}=ett();if(y0(t.options))ttt(t,s);else{const f=Mh(()=>kM(t,u));for(const p of t.fileNames)itt(t,p,u,s,f);s(f5(t.options))}return d()}function ntt(t,u,s){u=$o(u),H.assert(kt(t.fileNames,u),"Expected fileName to be present in command line");const{addOutput:d,getOutputs:f}=ett();return y0(t.options)?ttt(t,d):itt(t,u,s,d),f()}function h1e(t,u){if(y0(t.options)){const{jsFilePath:f,declarationFilePath:p}=vM(t.options,!1);return H.checkDefined(f||p,`project ${t.options.configFilePath} expected to have at least one output`)}const s=Mh(()=>kM(t,u));for(const f of t.fileNames){if(e1(f))continue;const p=Xet(f,t,u,s);if(p)return p;if(!Ml(f,".json")&&c4(t.options))return bM(f,t,u,s)}const d=f5(t.options);return d||H.fail(`project ${t.options.configFilePath} expected to have at least one output`)}function EQ(t,u,s,{scriptTransformers:d,declarationTransformers:f},p,E,v){var b=u.getCompilerOptions(),B=b.sourceMap||b.inlineSourceMap||Xq(b)?[]:void 0,k=b.listEmittedFiles?[]:void 0,T=rB(),M=a5(b),z=Vj(M),{enter:j,exit:J}=Doe("printTime","beforePrint","afterPrint"),K,Y=!1;return j(),d1e(u,oe,ile(u,s,v),v,E,!s),J(),{emitSkipped:Y,diagnostics:T.getDiagnostics(),emittedFiles:k,sourceMaps:B};function oe({jsFilePath:fe,sourceMapFilePath:xe,declarationFilePath:Be,declarationMapPath:Ge,buildInfoPath:Ae},De){var Ke,Je,ft,Ye,Ve,We;let Gt;Ae&&De&&kce(De)&&(Gt=lr($a(Ae,u.getCurrentDirectory())),K={commonSourceDirectory:Yt(u.getCommonSourceDirectory()),sourceFiles:De.sourceFiles.map(Ie=>Yt($a(Ie.fileName,u.getCurrentDirectory())))}),(Ke=Gn)==null||Ke.push(Gn.Phase.Emit,"emitJsFileOrBundle",{jsFilePath:fe}),ge(De,fe,xe,Yt),(Je=Gn)==null||Je.pop(),(ft=Gn)==null||ft.push(Gn.Phase.Emit,"emitDeclarationFileOrBundle",{declarationFilePath:Be}),ae(De,Be,Ge,Yt),(Ye=Gn)==null||Ye.pop(),(Ve=Gn)==null||Ve.push(Gn.Phase.Emit,"emitBuildInfo",{buildInfoPath:Ae}),se(K,Ae),(We=Gn)==null||We.pop(),!Y&&k&&(p||(fe&&k.push(fe),xe&&k.push(xe),Ae&&k.push(Ae)),p!==0&&(Be&&k.push(Be),Ge&&k.push(Ge)));function Yt(Ie){return h2(JE(Gt,Ie,u.getCanonicalFileName))}}function se(fe,xe){if(!xe||s||Y)return;if(u.isEmitBlocked(xe)){Y=!0;return}const Be=u.getBuildInfo(fe)||gH(void 0,fe);cP(u,T,xe,B7e(Be),!1,void 0,{buildInfo:Be})}function ge(fe,xe,Be,Ge){if(!fe||p||!xe)return;if(u.isEmitBlocked(xe)||b.noEmit){Y=!0;return}const Ae=pH(t,u,q,b,[fe],d,!1),De={removeComments:b.removeComments,newLine:b.newLine,noEmitHelpers:b.noEmitHelpers,module:b.module,target:b.target,sourceMap:b.sourceMap,inlineSourceMap:b.inlineSourceMap,inlineSources:b.inlineSources,extendedDiagnostics:b.extendedDiagnostics,writeBundleFileInfo:!!K,relativeToBuildInfo:Ge},Ke=Gv(De,{hasGlobalName:t.hasGlobalName,onEmitNode:Ae.emitNodeWithNotification,isEmitNotificationEnabled:Ae.isEmitNotificationEnabled,substituteNode:Ae.substituteNode});H.assert(Ae.transformed.length===1,"Should only see one output from the transform"),ne(xe,Be,Ae,Ke,b),Ae.dispose(),K&&(K.js=Ke.bundleFileInfo)}function ae(fe,xe,Be,Ge){if(!fe||p===0)return;if(!xe){(p||b.emitDeclarationOnly)&&(Y=!0);return}const Ae=la(fe)?[fe]:fe.sourceFiles,De=v?Ae:ti(Ae,T0e),Ke=y0(b)?[q.createBundle(De,la(fe)?void 0:fe.prepends)]:De;p&&!c4(b)&&De.forEach(Ce);const Je=pH(t,u,q,b,Ke,f,!1);if(S(Je.diagnostics))for(const We of Je.diagnostics)T.add(We);const ft={removeComments:b.removeComments,newLine:b.newLine,noEmitHelpers:!0,module:b.module,target:b.target,sourceMap:!v&&b.declarationMap,inlineSourceMap:b.inlineSourceMap,extendedDiagnostics:b.extendedDiagnostics,onlyPrintJsDocStyle:!0,omitBraceSourceMapPositions:!0,writeBundleFileInfo:!!K,recordInternalSection:!!K,relativeToBuildInfo:Ge},Ye=Gv(ft,{hasGlobalName:t.hasGlobalName,onEmitNode:Je.emitNodeWithNotification,isEmitNotificationEnabled:Je.isEmitNotificationEnabled,substituteNode:Je.substituteNode}),Ve=!!Je.diagnostics&&!!Je.diagnostics.length||!!u.isEmitBlocked(xe)||!!b.noEmit;Y=Y||Ve,(!Ve||v)&&(H.assert(Je.transformed.length===1,"Should only see one output from the decl transform"),ne(xe,Be,Je,Ye,{sourceMap:ft.sourceMap,sourceRoot:b.sourceRoot,mapRoot:b.mapRoot,extendedDiagnostics:b.extendedDiagnostics})),Je.dispose(),K&&(K.dts=Ye.bundleFileInfo)}function Ce(fe){if(tc(fe)){fe.expression.kind===80&&t.collectLinkedAliases(fe.expression,!0);return}else if(eh(fe)){t.collectLinkedAliases(fe.propertyName||fe.name,!0);return}ao(fe,Ce)}function ne(fe,xe,Be,Ge,Ae){const De=Be.transformed[0],Ke=De.kind===313?De:void 0,Je=De.kind===312?De:void 0,ft=Ke?Ke.sourceFiles:[Je];let Ye;ve(Ae,De)&&(Ye=jAe(u,Ac(q1(fe)),Se(Ae),Ne(Ae,fe,Je),Ae)),Ke?Ge.writeBundle(Ke,z,Ye):Ge.writeFile(Je,z,Ye);let Ve;if(Ye){B&&B.push({inputSourceFileNames:Ye.getSources(),sourceMap:Ye.toJSON()});const Gt=pe(Ae,Ye,fe,xe,Je);if(Gt&&(z.isAtStartOfLine()||z.rawWrite(M),Ve=z.getTextPos(),z.writeComment(`//# sourceMappingURL=${Gt}`)),xe){const Yt=Ye.toString();cP(u,T,xe,Yt,!1,ft),Ge.bundleFileInfo&&(Ge.bundleFileInfo.mapHash=Nk(Yt,u))}}else z.writeLine();const We=z.getText();cP(u,T,fe,We,!!b.emitBOM,ft,{sourceMapUrlPos:Ve,diagnostics:Be.diagnostics}),Ge.bundleFileInfo&&(Ge.bundleFileInfo.hash=Nk(We,u)),z.clear()}function ve(fe,xe){return(fe.sourceMap||fe.inlineSourceMap)&&(xe.kind!==312||!Ml(xe.fileName,".json"))}function Se(fe){const xe=q1(fe.sourceRoot||"");return xe&&zd(xe)}function Ne(fe,xe,Be){if(fe.sourceRoot)return u.getCommonSourceDirectory();if(fe.mapRoot){let Ge=q1(fe.mapRoot);return Be&&(Ge=lr(Iq(Be.fileName,u,Ge))),WE(Ge)===0&&(Ge=cr(u.getCommonSourceDirectory(),Ge)),Ge}return lr($o(xe))}function pe(fe,xe,Be,Ge,Ae){if(fe.inlineSourceMap){const Ke=xe.toString();return`data:application/json;base64,${Oye(c1,Ke)}`}const De=Ac(q1(H.checkDefined(Ge)));if(fe.mapRoot){let Ke=q1(fe.mapRoot);return Ae&&(Ke=lr(Iq(Ae.fileName,u,Ke))),WE(Ke)===0?(Ke=cr(u.getCommonSourceDirectory(),Ke),encodeURI(i7(lr($o(Be)),cr(Ke,De),u.getCurrentDirectory(),u.getCanonicalFileName,!0))):encodeURI(cr(Ke,De))}return encodeURI(De)}}function gH(t,u){return{bundle:u,program:t,version:_}}function B7e(t){return JSON.stringify(t)}function _Q(t,u){return hle(t,u)}function ozt(t,u,s){var d;const f=H.checkDefined(t.js),p=((d=f.sources)==null?void 0:d.prologues)&&lg(f.sources.prologues,E=>E.file);return t.sourceFiles.map((E,v)=>{const b=p==null?void 0:p.get(v),B=b==null?void 0:b.directives.map(M=>{const z=Pt(q.createStringLiteral(M.expression.text),M.expression),j=Pt(q.createExpressionStatement(z),M);return ks(z,j),j}),k=q.createToken(1),T=q.createSourceFile(B??[],k,0);return T.fileName=JE(s.getCurrentDirectory(),$a(E,u),!s.useCaseSensitiveFileNames()),T.text=(b==null?void 0:b.text)??"",wP(T,0,(b==null?void 0:b.text.length)??0),pB(T.statements,T),wP(k,T.end,0),ks(k,T),T})}function w7e(t,u,s,d){var f,p;(f=Gn)==null||f.push(Gn.Phase.Emit,"emitUsingBuildInfo",{},!0),ul("beforeEmit");const E=szt(t,u,s,d);return ul("afterEmit"),Tm("Emit","beforeEmit","afterEmit"),(p=Gn)==null||p.pop(),E}function szt(t,u,s,d){const{buildInfoPath:f,jsFilePath:p,sourceMapFilePath:E,declarationFilePath:v,declarationMapPath:b}=vM(t.options,!1),B=u.getBuildInfo(f,t.options.configFilePath);if(!B||!B.bundle||!B.bundle.js||v&&!B.bundle.dts)return f;const k=u.readFile(H.checkDefined(p));if(!k||Nk(k,u)!==B.bundle.js.hash)return p;const T=E&&u.readFile(E);if(E&&!T||t.options.inlineSourceMap)return E||"inline sourcemap decoding";if(E&&Nk(T,u)!==B.bundle.js.mapHash)return E;const M=v&&u.readFile(v);if(v&&!M||v&&Nk(M,u)!==B.bundle.dts.hash)return v;const z=b&&u.readFile(b);if(b&&!z||t.options.inlineSourceMap)return b||"inline sourcemap decoding";if(b&&Nk(z,u)!==B.bundle.dts.mapHash)return b;const j=lr($a(f,u.getCurrentDirectory())),J=rce(p,k,E,T,v,M,b,z,f,B,!0),K=[],Y=N1e(t.projectReferences,s,Ce=>u.readFile(Ce),u),oe=ozt(B.bundle,j,u);let se,ge;const ae={getPrependNodes:Mh(()=>[...Y,J]),getCanonicalFileName:u.getCanonicalFileName,getCommonSourceDirectory:()=>$a(B.bundle.commonSourceDirectory,j),getCompilerOptions:()=>t.options,getCurrentDirectory:()=>u.getCurrentDirectory(),getSourceFile:hv,getSourceFileByPath:hv,getSourceFiles:()=>oe,getLibFileFromReference:ho,isSourceFileFromExternalLibrary:cg,getResolvedProjectReferenceToRedirect:hv,getProjectReferenceRedirect:hv,isSourceOfProjectReferenceRedirect:cg,writeFile:(Ce,ne,ve,Se,Ne,pe)=>{switch(Ce){case p:if(k===ne)return;break;case E:if(T===ne)return;break;case f:break;case v:if(M===ne)return;se=ne,ge=pe;break;case b:if(z===ne)return;break;default:H.fail(`Unexpected path: ${Ce}`)}K.push({name:Ce,text:ne,writeByteOrderMark:ve,data:pe})},isEmitBlocked:cg,readFile:Ce=>u.readFile(Ce),fileExists:Ce=>u.fileExists(Ce),useCaseSensitiveFileNames:()=>u.useCaseSensitiveFileNames(),getBuildInfo:Ce=>{const ne=B.program;ne&&se!==void 0&&t.options.composite&&(ne.outSignature=Nk(se,u,ge));const{js:ve,dts:Se,sourceFiles:Ne}=B.bundle;return Ce.js.sources=ve.sources,Se&&(Ce.dts.sources=Se.sources),Ce.sourceFiles=Ne,gH(ne,Ce)},getSourceFileFromReference:hv,redirectTargetsMap:wm(),getFileIncludeReasons:ho,createHash:Lo(u,u.createHash)};return EQ(DQ,ae,void 0,l1e(t.options,d)),K}function Gv(t={},u={}){var{hasGlobalName:s,onEmitNode:d=mH,isEmitNotificationEnabled:f,substituteNode:p=xM,onBeforeEmitNode:E,onAfterEmitNode:v,onBeforeEmitNodeArray:b,onAfterEmitNodeArray:B,onBeforeEmitToken:k,onAfterEmitToken:T}=u,M=!!t.extendedDiagnostics,z=!!t.omitBraceSourceMapPositions,j=a5(t),J=m1(t),K=new Map,Y,oe,se,ge,ae,Ce,ne,ve,Se,Ne,pe,fe,xe,Be,Ge,Ae=t.preserveSourceNewlines,De,Ke,Je,ft=lz,Ye,Ve=t.writeBundleFileInfo?{sections:[]}:void 0,We=Ve?H.checkDefined(t.relativeToBuildInfo):void 0,Gt=t.recordInternalSection,Yt=0,Ie="text",st=!0,St,It,ei=-1,ht,Ut=-1,Ni=-1,ji=-1,xn=-1,Jn,an,Pi=!1,Ai=!!t.removeComments,Zu,aa,{enter:yr,exit:Ba}=Lqe(M,"commentTime","beforeComment","afterComment"),bt=q.parenthesizer,jn={select:R=>R===0?bt.parenthesizeLeadingTypeArgument:void 0},Ln=d3();return ni(),{printNode:Si,printList:Dn,printFile:tu,printBundle:Cn,writeNode:Da,writeList:ra,writeFile:Xt,writeBundle:Mt,bundleFileInfo:Ve};function Si(R,be,Ht){switch(R){case 0:H.assert(la(be),"Expected a SourceFile node.");break;case 2:H.assert(at(be),"Expected an Identifier node.");break;case 1:H.assert(Wt(be),"Expected an Expression node.");break}switch(be.kind){case 312:return tu(be);case 313:return Cn(be);case 314:return oa(be)}return Da(R,be,Ht,Pe()),et()}function Dn(R,be,Ht){return ra(R,be,Ht,Pe()),et()}function Cn(R){return Mt(R,Pe(),void 0),et()}function tu(R){return Xt(R,Pe(),void 0),et()}function oa(R){return qt(R,Pe()),et()}function Da(R,be,Ht,Oi){const yu=Ke;me(Oi,void 0),gt(R,be,Ht),ni(),Ke=yu}function ra(R,be,Ht,Oi){const yu=Ke;me(Oi,void 0),Ht&&ii(Ht),B0(void 0,be,R),ni(),Ke=yu}function Ta(){return Ke.getTextPosWithWriteLine?Ke.getTextPosWithWriteLine():Ke.getTextPos()}function Yo(R,be,Ht){const Oi=qu(Ve.sections);Oi&&Oi.kind===Ht?Oi.end=be:Ve.sections.push({pos:R,end:be,kind:Ht})}function bo(R){if(Gt&&Ve&&Y&&(Q1(R)||Jl(R))&&o1e(R,Y)&&Ie!=="internal"){const be=Ie;return Et(Ke.getTextPos()),Yt=Ta(),Ie="internal",be}}function Qe(R){R&&(Et(Ke.getTextPos()),Yt=Ta(),Ie=R)}function Et(R){return YtH.assert(qye(Ao))),Ve.sections.push({pos:Jr,end:Ke.getTextPos(),kind:"prepend",data:We(yu.fileName),texts:Ea}))}}Yt=Ta();for(const yu of R.sourceFiles)gt(0,yu,yu);if(Ve&&R.sourceFiles.length){const yu=Ke.getTextPos();if(Et(yu)){const Jr=Rw(R);Jr&&(Ve.sources||(Ve.sources={}),Ve.sources.prologues=Jr);const br=Li(R);br&&(Ve.sources||(Ve.sources={}),Ve.sources.helpers=br)}}ni(),Ke=Oi}function qt(R,be){const Ht=Ke;me(be,void 0),gt(4,R,void 0),ni(),Ke=Ht}function Xt(R,be,Ht){Ye=!0;const Oi=Ke;me(be,Ht),gb(R),B5(R),gt(0,R,R),ni(),Ke=Oi}function Pe(){return Je||(Je=Vj(j))}function et(){const R=Je.getText();return Je.clear(),R}function gt(R,be,Ht){Ht&&ii(Ht),le(R,be,void 0)}function ii(R){Y=R,Jn=void 0,an=void 0,R&&_C(R)}function me(R,be){R&&t.omitTrailingSemicolon&&(R=ele(R)),Ke=R,St=be,st=!Ke||!St}function ni(){oe=[],se=[],ge=[],ae=new Set,Ce=[],ne=new Map,ve=[],Se=0,Ne=[],pe=0,fe=[],xe=void 0,Be=[],Ge=void 0,Y=void 0,Jn=void 0,an=void 0,me(void 0,void 0)}function vi(){return Jn||(Jn=$3(H.checkDefined(Y)))}function mt(R,be){if(R===void 0)return;const Ht=bo(R);le(4,R,be),Qe(Ht)}function Ot(R){R!==void 0&&le(2,R,void 0)}function Ei(R,be){R!==void 0&&le(1,R,be)}function $i(R){le(us(R)?6:4,R)}function Qi(R){Ae&&Pp(R)&4&&(Ae=!1)}function on(R){Ae=R}function le(R,be,Ht){aa=Ht,de(0,R,be)(R,be),aa=void 0}function te(R){return!Ai&&!la(R)}function we(R){return!st&&!la(R)&&!Dq(R)&&!yk(R)&&!mFe(R)}function de(R,be,Ht){switch(R){case 0:if(d!==mH&&(!f||f(Ht)))return X;case 1:if(p!==xM&&(Zu=p(be,Ht)||Ht)!==Ht)return aa&&(Zu=aa(Zu)),Qt;case 2:if(te(Ht))return P9;case 3:if(we(Ht))return sF;case 4:return it;default:return H.assertNever(R)}}function je(R,be,Ht){return de(R+1,be,Ht)}function X(R,be){const Ht=je(0,R,be);d(R,be,Ht)}function it(R,be){if(E==null||E(be),Ae){const Ht=Ae;Qi(be),Ct(R,be),on(Ht)}else Ct(R,be);v==null||v(be),aa=void 0}function Ct(R,be,Ht=!0){if(Ht){const Oi=sce(be);if(Oi)return ja(R,be,Oi)}if(R===0)return tF(Po(be,la));if(R===2)return as(Po(be,at));if(R===6)return Ru(Po(be,us),!0);if(R===3)return ct(Po(be,Bl));if(R===5)return H.assertNode(be,Cce),ha(!0);if(R===4){switch(be.kind){case 16:case 17:case 18:return Ru(be,!1);case 80:return as(be);case 81:return wo(be);case 166:return Fn(be);case 167:return Ya(be);case 168:return c0(be);case 169:return Ul(be);case 170:return wl(be);case 171:return hd(be);case 172:return vl(be);case 173:return co(be);case 174:return Ho(be);case 175:return id(be);case 176:return Y0(be);case 177:case 178:return Ko(be);case 179:return Tc(be);case 180:return Jp(be);case 181:return Lc(be);case 182:return Ka(be);case 183:return Ri(be);case 184:return dl(be);case 185:return Cc(be);case 186:return $(be);case 187:return tt(be);case 188:return vt(be);case 189:return fn(be);case 190:return uu(be);case 192:return Tu(be);case 193:return Nr(be);case 194:return Vu(be);case 195:return Ss(be);case 196:return ic(be);case 233:return Di(be);case 197:return nd();case 198:return S0(be);case 199:return ud(be);case 200:return m0(be);case 201:return Bd(be);case 202:return Wu(be);case 203:return Oh(be);case 204:return Il(be);case 205:return uh(be);case 206:return h4(be);case 207:return D1(be);case 208:return He(be);case 239:return ki(be);case 240:return cl();case 241:return In(be);case 243:return ir(be);case 242:return ha(!1);case 244:return os(be);case 245:return ss(be);case 246:return x1(be);case 247:return fd(be);case 248:return $m(be);case 249:return _s(be);case 250:return np(be);case 251:return h3(be);case 252:return d_(be);case 253:return b5(be);case 254:return Xe(be);case 255:return Dt(be);case 256:return oi(be);case 257:return Ti(be);case 258:return Xi(be);case 259:return Rn(be);case 260:return tn(be);case 261:return bn(be);case 262:return kr(be);case 263:return eC(be);case 264:return cD(be);case 265:return i6(be);case 266:return Gk(be);case 267:return lb(be);case 268:return Jk(be);case 269:return $k(be);case 270:return qk(be);case 271:return az(be);case 272:return ww(be);case 273:return tC(be);case 274:return x9(be);case 280:return cb(be);case 275:return v9(be);case 276:return Tw(be);case 277:return Uk(be);case 278:return Lw(be);case 279:return db(be);case 281:return iC(be);case 300:return C9(be);case 301:return b9(be);case 282:return;case 283:return fE(be);case 12:return k5(be);case 286:case 289:return n6(be);case 287:case 290:return h_(be);case 291:return Jf(be);case 292:return p4(be);case 293:return Hh(be);case 294:return y9(be);case 295:return Yk(be);case 296:return uC(be);case 297:return Qk(be);case 298:return jd(be);case 299:return F5(be);case 303:return A5(be);case 304:return f3(be);case 305:return pt(be);case 306:return i1(be);case 307:return Xu(be);case 314:case 308:return pr(be);case 309:case 310:return ca(be);case 311:return Ku(be);case 312:return tF(be);case 313:return H.fail("Bundles should be printed using printBundle");case 315:return H.fail("InputFiles should not be printed");case 316:return p3(be);case 317:return S5(be);case 319:return ru("*");case 320:return ru("?");case 321:return Ch(be);case 322:return sf(be);case 323:return Q0(be);case 324:return Uc(be);case 191:case 325:return mi(be);case 326:return;case 327:return g4(be);case 329:return eF(be);case 330:return mb(be);case 334:case 339:case 344:return Xk(be);case 335:case 336:return aC(be);case 337:case 338:return;case 340:case 341:case 342:case 343:return;case 345:return Hs(be);case 346:return yg(be);case 348:case 355:return pb(be);case 347:case 349:case 350:case 351:case 356:case 357:return bh(be);case 352:return m3(be);case 353:return oz(be);case 354:return Mw(be);case 359:return}if(Wt(be)&&(R=1,p!==xM)){const Oi=p(R,be)||be;Oi!==be&&(be=Oi,aa&&(be=aa(be)))}}if(R===1)switch(be.kind){case 9:case 10:return du(be);case 11:case 14:case 15:return Ru(be,!1);case 80:return as(be);case 81:return wo(be);case 209:return di(be);case 210:return Mn(be);case 211:return ba(be);case 212:return To(be);case 213:return nc(be);case 214:return fc(be);case 215:return Cl(be);case 216:return Tl(be);case 217:return bc(be);case 218:return ql(be);case 219:return Nc(be);case 220:return Jm(be);case 221:return jh(be);case 222:return f4(be);case 223:return c3(be);case 224:return c_(be);case 225:return R1(be);case 226:return Ln(be);case 227:return Wf(be);case 228:return m4(be);case 229:return Vh(be);case 230:return Ee(be);case 231:return Bt(be);case 232:return;case 234:return Ci(be);case 235:return Q(be);case 233:return Di(be);case 238:return Me(be);case 236:return wt(be);case 237:return H.fail("SyntheticExpression should never be printed.");case 282:return;case 284:return Vs(be);case 285:return Zk(be);case 288:return Nw(be);case 358:return H.fail("SyntaxList should not be printed");case 359:return;case 360:return ar(be);case 361:return pE(be);case 362:return H.fail("SyntheticReferenceExpression should not be printed")}if(uf(be.kind))return B9(be,Ma);if(Jse(be.kind))return B9(be,ru);H.fail(`Unhandled SyntaxKind: ${H.formatSyntaxKind(be.kind)}.`)}function ct(R){mt(R.name),Un(),Ma("in"),Un(),mt(R.constraint)}function Qt(R,be){const Ht=je(1,R,be);H.assertIsDefined(Zu),be=Zu,Zu=void 0,Ht(R,be)}function Li(R){let be;if(J===0||t.noEmitHelpers)return;const Ht=new Map;for(const Oi of R.sourceFiles){const yu=zV(Oi)!==void 0,Jr=Sn(Oi);if(Jr)for(const br of Jr)!br.scoped&&!yu&&!Ht.get(br.name)&&(Ht.set(br.name,!0),(be||(be=[])).push(br.name))}return be}function Ui(R){let be=!1;const Ht=R.kind===313?R:void 0;if(Ht&&J===0)return;const Oi=Ht?Ht.prepends.length:0,yu=Ht?Ht.sourceFiles.length+Oi:1;for(let Jr=0;Jr"),Un(),mt(R.type),Ff(R)}function Uc(R){Ma("function"),w5(R,R.parameters),ru(":"),mt(R.type)}function Ch(R){ru("?"),mt(R.type)}function sf(R){ru("!"),mt(R.type)}function Q0(R){mt(R.type),ru("=")}function Cc(R){O1(R),dD(R,R.modifiers),Ma("new"),Un(),p_(R,R.typeParameters),w5(R,R.parameters),Un(),ru("=>"),Un(),mt(R.type),Ff(R)}function $(R){Ma("typeof"),Un(),mt(R.exprName),gE(R,R.typeArguments)}function tt(R){_4(0,void 0),ru("{");const be=bs(R)&1?768:32897;B0(R,R.members,be|524288),ru("}"),fC()}function vt(R){mt(R.elementType,bt.parenthesizeNonArrayTypeOfPostfixType),ru("["),ru("]")}function mi(R){ru("..."),mt(R.type)}function fn(R){ia(23,R.pos,ru,R);const be=bs(R)&1?528:657;B0(R,R.elements,be|524288,bt.parenthesizeElementTypeOfTupleType),ia(24,R.elements.end,ru,R)}function Wu(R){mt(R.dotDotDotToken),mt(R.name),mt(R.questionToken),ia(59,R.name.end,ru,R),Un(),mt(R.type)}function uu(R){mt(R.type,bt.parenthesizeTypeOfOptionalType),ru("?")}function Tu(R){B0(R,R.types,516,bt.parenthesizeConstituentTypeOfUnionType)}function Nr(R){B0(R,R.types,520,bt.parenthesizeConstituentTypeOfIntersectionType)}function Vu(R){mt(R.checkType,bt.parenthesizeCheckTypeOfConditionalType),Un(),Ma("extends"),Un(),mt(R.extendsType,bt.parenthesizeExtendsTypeOfConditionalType),Un(),ru("?"),Un(),mt(R.trueType),Un(),ru(":"),Un(),mt(R.falseType)}function Ss(R){Ma("infer"),Un(),mt(R.typeParameter)}function ic(R){ru("("),mt(R.type),ru(")")}function nd(){Ma("this")}function S0(R){hD(R.operator,Ma),Un();const be=R.operator===148?bt.parenthesizeOperandOfReadonlyTypeOperator:bt.parenthesizeOperandOfTypeOperator;mt(R.type,be)}function ud(R){mt(R.objectType,bt.parenthesizeNonArrayTypeOfPostfixType),ru("["),mt(R.indexType),ru("]")}function m0(R){const be=bs(R);ru("{"),be&1?Un():(wd(),_E()),R.readonlyToken&&(mt(R.readonlyToken),R.readonlyToken.kind!==148&&Ma("readonly"),Un()),ru("["),le(3,R.typeParameter),R.nameType&&(Un(),Ma("as"),Un(),mt(R.nameType)),ru("]"),R.questionToken&&(mt(R.questionToken),R.questionToken.kind!==58&&ru("?")),ru(":"),Un(),mt(R.type),v1(),be&1?Un():(wd(),DE()),B0(R,R.members,2),ru("}")}function Bd(R){Ei(R.literal)}function Oh(R){mt(R.head),B0(R,R.templateSpans,262144)}function uh(R){if(R.isTypeOf&&(Ma("typeof"),Un()),Ma("import"),ru("("),mt(R.argument),R.attributes){ru(","),Un(),ru("{"),Un(),Ma(R.attributes.token===132?"assert":"with"),ru(":"),Un();const be=R.attributes.elements;B0(R.attributes,be,526226),Un(),ru("}")}ru(")"),R.qualifier&&(ru("."),mt(R.qualifier)),gE(R,R.typeArguments)}function h4(R){ru("{"),B0(R,R.elements,525136),ru("}")}function D1(R){ru("["),B0(R,R.elements,524880),ru("]")}function He(R){mt(R.dotDotDotToken),R.propertyName&&(mt(R.propertyName),ru(":"),Un()),mt(R.name),g3(R.initializer,R.name.end,R,bt.parenthesizeExpressionForDisallowedComma)}function di(R){const be=R.elements,Ht=R.multiLine?65536:0;Eb(R,be,8914|Ht,bt.parenthesizeExpressionForDisallowedComma)}function Mn(R){_4(0,void 0),L(R.properties,aF);const be=bs(R)&131072;be&&_E();const Ht=R.multiLine?65536:0,Oi=Y&&Y.languageVersion>=1&&!W4(Y)?64:0;B0(R,R.properties,526226|Oi|Ht),be&&DE(),fC()}function ba(R){Ei(R.expression,bt.parenthesizeLeftSideOfAccess);const be=R.questionDotToken||t_(q.createToken(25),R.expression.end,R.name.pos),Ht=E4(R,R.expression,be),Oi=E4(R,be,R.name);_3(Ht,!1),be.kind!==29&&Fo(R.expression)&&!Ke.hasTrailingComment()&&!Ke.hasTrailingWhitespace()&&ru("."),R.questionDotToken?mt(be):ia(be.kind,R.expression.end,ru,R),_3(Oi,!1),mt(R.name),g_(Ht,Oi)}function Fo(R){if(R=Np(R),Of(R)){const be=T9(R,!0,!1);return!(R.numericLiteralFlags&448)&&!be.includes(Uo(25))&&!be.includes("E")&&!be.includes("e")}else if(I0(R)){const be=jke(R);return typeof be=="number"&&isFinite(be)&&be>=0&&Math.floor(be)===be}}function To(R){Ei(R.expression,bt.parenthesizeLeftSideOfAccess),mt(R.questionDotToken),ia(23,R.expression.end,ru,R),Ei(R.argumentExpression),ia(24,R.argumentExpression.end,ru,R)}function nc(R){const be=Pp(R)&16;be&&(ru("("),sC("0"),ru(","),Un()),Ei(R.expression,bt.parenthesizeLeftSideOfAccess),be&&ru(")"),mt(R.questionDotToken),gE(R,R.typeArguments),Eb(R,R.arguments,2576,bt.parenthesizeExpressionForDisallowedComma)}function fc(R){ia(105,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeExpressionOfNew),gE(R,R.typeArguments),Eb(R,R.arguments,18960,bt.parenthesizeExpressionForDisallowedComma)}function Cl(R){const be=Pp(R)&16;be&&(ru("("),sC("0"),ru(","),Un()),Ei(R.tag,bt.parenthesizeLeftSideOfAccess),be&&ru(")"),gE(R,R.typeArguments),Un(),Ei(R.template)}function Tl(R){ru("<"),mt(R.type),ru(">"),Ei(R.expression,bt.parenthesizeOperandOfPrefixUnary)}function bc(R){const be=ia(21,R.pos,ru,R),Ht=w9(R.expression,R);Ei(R.expression,void 0),rF(R.expression,R),g_(Ht),ia(22,R.expression?R.expression.end:be,ru,R)}function ql(R){op(R.name),Cu(R)}function Nc(R){dD(R,R.modifiers),bu(R,ip)}function ip(R){p_(R,R.typeParameters),k9(R,R.parameters),f_(R.type),Un(),mt(R.equalsGreaterThanToken)}function Jm(R){ia(91,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeOperandOfPrefixUnary)}function jh(R){ia(114,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeOperandOfPrefixUnary)}function f4(R){ia(116,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeOperandOfPrefixUnary)}function c3(R){ia(135,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeOperandOfPrefixUnary)}function c_(R){hD(R.operator,lf),C5(R)&&Un(),Ei(R.operand,bt.parenthesizeOperandOfPrefixUnary)}function C5(R){const be=R.operand;return be.kind===224&&(R.operator===40&&(be.operator===40||be.operator===46)||R.operator===41&&(be.operator===41||be.operator===47))}function R1(R){Ei(R.operand,bt.parenthesizeOperandOfPostfixUnary),hD(R.operator,lf)}function d3(){return kY(R,be,Ht,Oi,yu,void 0);function R(br,Ea){if(Ea){Ea.stackIndex++,Ea.preserveSourceNewlinesStack[Ea.stackIndex]=Ae,Ea.containerPosStack[Ea.stackIndex]=Ni,Ea.containerEndStack[Ea.stackIndex]=ji,Ea.declarationListContainerEndStack[Ea.stackIndex]=xn;const Ao=Ea.shouldEmitCommentsStack[Ea.stackIndex]=te(br),Af=Ea.shouldEmitSourceMapsStack[Ea.stackIndex]=we(br);E==null||E(br),Ao&&M9(br),Af&&Jw(br),Qi(br)}else Ea={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return Ea}function be(br,Ea,Ao){return Jr(br,Ao,"left")}function Ht(br,Ea,Ao){const Af=br.kind!==28,Uf=E4(Ao,Ao.left,br),Fr=E4(Ao,br,Ao.right);_3(Uf,Af),Zm(br.pos),B9(br,br.kind===103?Ma:lf),Up(br.end,!0),_3(Fr,!0)}function Oi(br,Ea,Ao){return Jr(br,Ao,"right")}function yu(br,Ea){const Ao=E4(br,br.left,br.operatorToken),Af=E4(br,br.operatorToken,br.right);if(g_(Ao,Af),Ea.stackIndex>0){const Uf=Ea.preserveSourceNewlinesStack[Ea.stackIndex],Fr=Ea.containerPosStack[Ea.stackIndex],vE=Ea.containerEndStack[Ea.stackIndex],gn=Ea.declarationListContainerEndStack[Ea.stackIndex],h6=Ea.shouldEmitCommentsStack[Ea.stackIndex],P5=Ea.shouldEmitSourceMapsStack[Ea.stackIndex];on(Uf),P5&&x4(br),h6&&z9(br,Fr,vE,gn),v==null||v(br),Ea.stackIndex--}}function Jr(br,Ea,Ao){const Af=Ao==="left"?bt.getParenthesizeLeftSideOfBinaryForOperator(Ea.operatorToken.kind):bt.getParenthesizeRightSideOfBinaryForOperator(Ea.operatorToken.kind);let Uf=de(0,1,br);if(Uf===Qt&&(H.assertIsDefined(Zu),br=Af(Po(Zu,Wt)),Uf=je(1,1,br),Zu=void 0),(Uf===P9||Uf===sF||Uf===it)&&Xn(br))return br;aa=Af,Uf(1,br)}}function Wf(R){const be=E4(R,R.condition,R.questionToken),Ht=E4(R,R.questionToken,R.whenTrue),Oi=E4(R,R.whenTrue,R.colonToken),yu=E4(R,R.colonToken,R.whenFalse);Ei(R.condition,bt.parenthesizeConditionOfConditionalExpression),_3(be,!0),mt(R.questionToken),_3(Ht,!0),Ei(R.whenTrue,bt.parenthesizeBranchOfConditionalExpression),g_(be,Ht),_3(Oi,!0),mt(R.colonToken),_3(yu,!0),Ei(R.whenFalse,bt.parenthesizeBranchOfConditionalExpression),g_(Oi,yu)}function m4(R){mt(R.head),B0(R,R.templateSpans,262144)}function Vh(R){ia(127,R.pos,Ma,R),mt(R.asteriskToken),E3(R.expression&&bg(R.expression),sb)}function Ee(R){ia(26,R.pos,ru,R),Ei(R.expression,bt.parenthesizeExpressionForDisallowedComma)}function Bt(R){op(R.name),t6(R)}function Di(R){Ei(R.expression,bt.parenthesizeLeftSideOfAccess),gE(R,R.typeArguments)}function Ci(R){Ei(R.expression,void 0),R.type&&(Un(),Ma("as"),Un(),mt(R.type))}function Q(R){Ei(R.expression,bt.parenthesizeLeftSideOfAccess),lf("!")}function Me(R){Ei(R.expression,void 0),R.type&&(Un(),Ma("satisfies"),Un(),mt(R.type))}function wt(R){u6(R.keywordToken,R.pos,ru),ru("."),mt(R.name)}function ki(R){Ei(R.expression),mt(R.literal)}function In(R){tr(R,!R.multiLine&&hC(R))}function tr(R,be){ia(19,R.pos,ru,R);const Ht=be||bs(R)&1?768:129;B0(R,R.statements,Ht),ia(20,R.statements.end,ru,R,!!(Ht&1))}function ir(R){yh(R,R.modifiers,!1),mt(R.declarationList),v1()}function ha(R){R?ru(";"):v1()}function os(R){Ei(R.expression,bt.parenthesizeExpressionOfExpressionStatement),(!Y||!W4(Y)||sl(R.expression))&&v1()}function ss(R){const be=ia(101,R.pos,Ma,R);Un(),ia(21,be,ru,R),Ei(R.expression),ia(22,R.expression.end,ru,R),m_(R,R.thenStatement),R.elseStatement&&(cC(R,R.thenStatement,R.elseStatement),ia(93,R.thenStatement.end,Ma,R),R.elseStatement.kind===245?(Un(),mt(R.elseStatement)):m_(R,R.elseStatement))}function Rl(R,be){const Ht=ia(117,be,Ma,R);Un(),ia(21,Ht,ru,R),Ei(R.expression),ia(22,R.expression.end,ru,R)}function x1(R){ia(92,R.pos,Ma,R),m_(R,R.statement),po(R.statement)&&!Ae?Un():cC(R,R.statement,R.expression),Rl(R,R.statement.end),v1()}function fd(R){Rl(R,R.pos),m_(R,R.statement)}function $m(R){const be=ia(99,R.pos,Ma,R);Un();let Ht=ia(21,be,ru,R);Um(R.initializer),Ht=ia(27,R.initializer?R.initializer.end:Ht,ru,R),E3(R.condition),Ht=ia(27,R.condition?R.condition.end:Ht,ru,R),E3(R.incrementor),ia(22,R.incrementor?R.incrementor.end:Ht,ru,R),m_(R,R.statement)}function _s(R){const be=ia(99,R.pos,Ma,R);Un(),ia(21,be,ru,R),Um(R.initializer),Un(),ia(103,R.initializer.end,Ma,R),Un(),Ei(R.expression),ia(22,R.expression.end,ru,R),m_(R,R.statement)}function np(R){const be=ia(99,R.pos,Ma,R);Un(),Ow(R.awaitModifier),ia(21,be,ru,R),Um(R.initializer),Un(),ia(165,R.initializer.end,Ma,R),Un(),Ei(R.expression),ia(22,R.expression.end,ru,R),m_(R,R.statement)}function Um(R){R!==void 0&&(R.kind===261?mt(R):Ei(R))}function h3(R){ia(88,R.pos,Ma,R),oC(R.label),v1()}function d_(R){ia(83,R.pos,Ma,R),oC(R.label),v1()}function ia(R,be,Ht,Oi,yu){const Jr=Ua(Oi),br=Jr&&Jr.kind===Oi.kind,Ea=be;if(br&&Y&&(be=gs(Y.text,be)),br&&Oi.pos!==Ea){const Ao=yu&&Y&&!q4(Ea,be,Y);Ao&&_E(),Zm(Ea),Ao&&DE()}if(!z&&(R===19||R===20)?be=u6(R,be,Ht,Oi):be=hD(R,Ht,be),br&&Oi.end!==be){const Ao=Oi.kind===294;Up(be,!Ao,Ao)}return be}function Xx(R){return R.kind===2||!!R.hasTrailingNewLine}function e6(R){return Y?Oe(W_(Y.text,R.pos),Xx)||Oe(DB(R),Xx)?!0:dY(R)?R.pos!==R.expression.pos&&Oe(gv(Y.text,R.expression.pos),Xx)?!0:e6(R.expression):!1:!1}function bg(R){if(!Ai&&dY(R)&&e6(R)){const be=Ua(R);if(be&&Cf(be)){const Ht=q.createParenthesizedExpression(R.expression);return su(Ht,R),Pt(Ht,be),Ht}return q.createParenthesizedExpression(R)}return R}function sb(R){return bg(bt.parenthesizeExpressionForDisallowedComma(R))}function b5(R){ia(107,R.pos,Ma,R),E3(R.expression&&bg(R.expression),bg),v1()}function Xe(R){const be=ia(118,R.pos,Ma,R);Un(),ia(21,be,ru,R),Ei(R.expression),ia(22,R.expression.end,ru,R),m_(R,R.statement)}function Dt(R){const be=ia(109,R.pos,Ma,R);Un(),ia(21,be,ru,R),Ei(R.expression),ia(22,R.expression.end,ru,R),Un(),mt(R.caseBlock)}function oi(R){mt(R.label),ia(59,R.label.end,ru,R),Un(),mt(R.statement)}function Ti(R){ia(111,R.pos,Ma,R),E3(bg(R.expression),bg),v1()}function Xi(R){ia(113,R.pos,Ma,R),Un(),mt(R.tryBlock),R.catchClause&&(cC(R,R.tryBlock,R.catchClause),mt(R.catchClause)),R.finallyBlock&&(cC(R,R.catchClause||R.tryBlock,R.finallyBlock),ia(98,(R.catchClause||R.tryBlock).end,Ma,R),Un(),mt(R.finallyBlock))}function Rn(R){u6(89,R.pos,Ma),v1()}function tn(R){var be,Ht,Oi;mt(R.name),mt(R.exclamationToken),f_(R.type),g3(R.initializer,((be=R.type)==null?void 0:be.end)??((Oi=(Ht=R.name.emitNode)==null?void 0:Ht.typeNode)==null?void 0:Oi.end)??R.name.end,R,bt.parenthesizeExpressionForDisallowedComma)}function bn(R){if(lj(R))Ma("await"),Un(),Ma("using");else{const be=rq(R)?"let":K8(R)?"const":cj(R)?"using":"var";Ma(be)}Un(),B0(R,R.declarations,528)}function kr(R){Cu(R)}function Cu(R){yh(R,R.modifiers,!1),Ma("function"),mt(R.asteriskToken),Un(),Ot(R.name),bu(R,Eu)}function bu(R,be){const Ht=R.body;if(Ht)if(po(Ht)){const Oi=bs(R)&131072;Oi&&_E(),O1(R),L(R.parameters,n1),n1(R.body),be(R),p0(Ht),Ff(R),Oi&&DE()}else be(R),Un(),Ei(Ht,bt.parenthesizeConciseBodyOfArrowFunction);else be(R),v1()}function Eu(R){p_(R,R.typeParameters),w5(R,R.parameters),f_(R.type)}function sa(R){if(bs(R)&1)return!0;if(R.multiLine||!sl(R)&&Y&&!hk(R,Y)||uF(R,Ki(R.statements),2)||r6(R,qu(R.statements),2,R.statements))return!1;let be;for(const Ht of R.statements){if(fD(be,Ht,2)>0)return!1;be=Ht}return!0}function p0(R){E==null||E(R),Un(),ru("{"),_E();const be=sa(R)?o0:Gf;_u(R,R.statements,be),DE(),u6(20,R.statements.end,ru,R),v==null||v(R)}function o0(R){Gf(R,!0)}function Gf(R,be){const Ht=kf(R.statements),Oi=Ke.getTextPos();Ui(R),Ht===0&&Oi===Ke.getTextPos()&&be?(DE(),B0(R,R.statements,768),_E()):B0(R,R.statements,1,void 0,Ht)}function eC(R){t6(R)}function t6(R){_4(0,void 0),L(R.members,aF),yh(R,R.modifiers,!0),ia(86,iE(R).pos,Ma,R),R.name&&(Un(),Ot(R.name));const be=bs(R)&131072;be&&_E(),p_(R,R.typeParameters),B0(R,R.heritageClauses,0),Un(),ru("{"),B0(R,R.members,129),ru("}"),be&&DE(),fC()}function cD(R){_4(0,void 0),yh(R,R.modifiers,!1),Ma("interface"),Un(),mt(R.name),p_(R,R.typeParameters),B0(R,R.heritageClauses,512),Un(),ru("{"),B0(R,R.members,129),ru("}"),fC()}function i6(R){yh(R,R.modifiers,!1),Ma("type"),Un(),mt(R.name),p_(R,R.typeParameters),Un(),ru("="),Un(),mt(R.type),v1()}function Gk(R){yh(R,R.modifiers,!1),Ma("enum"),Un(),mt(R.name),Un(),ru("{"),B0(R,R.members,145),ru("}")}function lb(R){yh(R,R.modifiers,!1),~R.flags&2048&&(Ma(R.flags&32?"namespace":"module"),Un()),mt(R.name);let be=R.body;if(!be)return v1();for(;be&&_c(be);)ru("."),mt(be.name),be=be.body;Un(),mt(be)}function Jk(R){O1(R),L(R.statements,n1),tr(R,hC(R)),Ff(R)}function $k(R){ia(19,R.pos,ru,R),B0(R,R.clauses,129),ia(20,R.clauses.end,ru,R,!0)}function az(R){yh(R,R.modifiers,!1),ia(102,R.modifiers?R.modifiers.end:R.pos,Ma,R),Un(),R.isTypeOnly&&(ia(156,R.pos,Ma,R),Un()),mt(R.name),Un(),ia(64,R.name.end,ru,R),Un(),D9(R.moduleReference),v1()}function D9(R){R.kind===80?Ei(R):mt(R)}function ww(R){yh(R,R.modifiers,!1),ia(102,R.modifiers?R.modifiers.end:R.pos,Ma,R),Un(),R.importClause&&(mt(R.importClause),Un(),ia(161,R.importClause.end,Ma,R),Un()),Ei(R.moduleSpecifier),R.attributes&&oC(R.attributes),v1()}function tC(R){R.isTypeOnly&&(ia(156,R.pos,Ma,R),Un()),mt(R.name),R.name&&R.namedBindings&&(ia(28,R.name.end,ru,R),Un()),mt(R.namedBindings)}function x9(R){const be=ia(42,R.pos,ru,R);Un(),ia(130,be,Ma,R),Un(),mt(R.name)}function v9(R){y5(R)}function Tw(R){hb(R)}function Uk(R){const be=ia(95,R.pos,Ma,R);Un(),R.isExportEquals?ia(64,be,lf,R):ia(90,be,Ma,R),Un(),Ei(R.expression,R.isExportEquals?bt.getParenthesizeRightSideOfBinaryForOperator(64):bt.parenthesizeExpressionOfExportDefault),v1()}function Lw(R){yh(R,R.modifiers,!1);let be=ia(95,R.pos,Ma,R);if(Un(),R.isTypeOnly&&(be=ia(156,be,Ma,R),Un()),R.exportClause?mt(R.exportClause):be=ia(42,be,ru,R),R.moduleSpecifier){Un();const Ht=R.exportClause?R.exportClause.end:be;ia(161,Ht,Ma,R),Un(),Ei(R.moduleSpecifier)}R.attributes&&oC(R.attributes),v1()}function C9(R){ia(R.token,R.pos,Ma,R),Un();const be=R.elements;B0(R,be,526226)}function b9(R){mt(R.name),ru(":"),Un();const be=R.value;if(!(bs(be)&1024)){const Ht=nE(be);Up(Ht.pos)}mt(be)}function qk(R){let be=ia(95,R.pos,Ma,R);Un(),be=ia(130,be,Ma,R),Un(),be=ia(145,be,Ma,R),Un(),mt(R.name),v1()}function cb(R){const be=ia(42,R.pos,ru,R);Un(),ia(130,be,Ma,R),Un(),mt(R.name)}function db(R){y5(R)}function iC(R){hb(R)}function y5(R){ru("{"),B0(R,R.elements,525136),ru("}")}function hb(R){R.isTypeOnly&&(Ma("type"),Un()),R.propertyName&&(mt(R.propertyName),Un(),ia(130,R.propertyName.end,Ma,R),Un()),mt(R.name)}function fE(R){Ma("require"),ru("("),Ei(R.expression),ru(")")}function Vs(R){mt(R.openingElement),B0(R,R.children,262144),mt(R.closingElement)}function Zk(R){ru("<"),fb(R.tagName),gE(R,R.typeArguments),Un(),mt(R.attributes),ru("/>")}function Nw(R){mt(R.openingFragment),B0(R,R.children,262144),mt(R.closingFragment)}function n6(R){if(ru("<"),aE(R)){const be=w9(R.tagName,R);fb(R.tagName),gE(R,R.typeArguments),R.attributes.properties&&R.attributes.properties.length>0&&Un(),mt(R.attributes),rF(R.attributes,R),g_(be)}ru(">")}function k5(R){Ke.writeLiteral(R.text)}function h_(R){ru("")}function p4(R){B0(R,R.properties,262656)}function Jf(R){mt(R.name),$p("=",ru,R.initializer,$i)}function Hh(R){ru("{..."),Ei(R.expression),ru("}")}function Em(R){let be=!1;return PO((Y==null?void 0:Y.text)||"",R+1,()=>be=!0),be}function nC(R){let be=!1;return NO((Y==null?void 0:Y.text)||"",R+1,()=>be=!0),be}function Pw(R){return Em(R)||nC(R)}function y9(R){var be;if(R.expression||!Ai&&!sl(R)&&Pw(R.pos)){const Ht=Y&&!sl(R)&&s0(Y,R.pos).line!==s0(Y,R.end).line;Ht&&Ke.increaseIndent();const Oi=ia(19,R.pos,ru,R);mt(R.dotDotDotToken),Ei(R.expression),ia(20,((be=R.expression)==null?void 0:be.end)||Oi,ru,R),Ht&&Ke.decreaseIndent()}}function Yk(R){Ot(R.namespace),ru(":"),Ot(R.name)}function fb(R){R.kind===80?Ei(R):mt(R)}function uC(R){ia(84,R.pos,Ma,R),Un(),Ei(R.expression,bt.parenthesizeExpressionForDisallowedComma),rC(R,R.statements,R.expression.end)}function Qk(R){const be=ia(90,R.pos,Ma,R);rC(R,R.statements,be)}function rC(R,be,Ht){const Oi=be.length===1&&(!Y||sl(R)||sl(be[0])||Gq(R,be[0],Y));let yu=163969;Oi?(u6(59,Ht,ru,R),Un(),yu&=-130):ia(59,Ht,ru,R),B0(R,be,yu)}function jd(R){Un(),hD(R.token,Ma),Un(),B0(R,R.types,528)}function F5(R){const be=ia(85,R.pos,Ma,R);Un(),R.variableDeclaration&&(ia(21,be,ru,R),mt(R.variableDeclaration),ia(22,R.variableDeclaration.end,ru,R),Un()),mt(R.block)}function A5(R){mt(R.name),ru(":"),Un();const be=R.initializer;if(!(bs(be)&1024)){const Ht=nE(be);Up(Ht.pos)}Ei(be,bt.parenthesizeExpressionForDisallowedComma)}function f3(R){mt(R.name),R.objectAssignmentInitializer&&(Un(),ru("="),Un(),Ei(R.objectAssignmentInitializer,bt.parenthesizeExpressionForDisallowedComma))}function pt(R){R.expression&&(ia(26,R.pos,ru,R),Ei(R.expression,bt.parenthesizeExpressionForDisallowedComma))}function i1(R){mt(R.name),g3(R.initializer,R.name.end,R,bt.parenthesizeExpressionForDisallowedComma)}function g4(R){if(ft("/**"),R.comment){const be=KO(R.comment);if(be){const Ht=be.split(/\r\n?|\n/g);for(const Oi of Ht)wd(),Un(),ru("*"),Un(),ft(Oi)}}R.tags&&(R.tags.length===1&&R.tags[0].kind===351&&!R.comment?(Un(),mt(R.tags[0])):B0(R,R.tags,33)),Un(),ft("*/")}function bh(R){up(R.tagName),p3(R.typeExpression),kg(R.comment)}function Mw(R){up(R.tagName),mt(R.name),kg(R.comment)}function S5(R){Un(),ru("{"),mt(R.name),ru("}")}function aC(R){up(R.tagName),Un(),ru("{"),mt(R.class),ru("}"),kg(R.comment)}function m3(R){up(R.tagName),p3(R.constraint),Un(),B0(R,R.typeParameters,528),kg(R.comment)}function oz(R){up(R.tagName),R.typeExpression&&(R.typeExpression.kind===316?p3(R.typeExpression):(Un(),ru("{"),ft("Object"),R.typeExpression.isArrayType&&(ru("["),ru("]")),ru("}"))),R.fullName&&(Un(),mt(R.fullName)),kg(R.comment),R.typeExpression&&R.typeExpression.kind===329&&eF(R.typeExpression)}function Hs(R){up(R.tagName),R.name&&(Un(),mt(R.name)),kg(R.comment),mb(R.typeExpression)}function yg(R){kg(R.comment),mb(R.typeExpression)}function Xk(R){up(R.tagName),kg(R.comment)}function eF(R){B0(R,q.createNodeArray(R.jsDocPropertyTags),33)}function mb(R){R.typeParameters&&B0(R,q.createNodeArray(R.typeParameters),33),R.parameters&&B0(R,q.createNodeArray(R.parameters),33),R.type&&(wd(),Un(),ru("*"),Un(),mt(R.type))}function pb(R){up(R.tagName),p3(R.typeExpression),Un(),R.isBracketed&&ru("["),mt(R.name),R.isBracketed&&ru("]"),kg(R.comment)}function up(R){ru("@"),mt(R)}function kg(R){const be=KO(R);be&&(Un(),ft(be))}function p3(R){R&&(Un(),ru("{"),mt(R.type),ru("}"))}function tF(R){wd();const be=R.statements;if(be.length===0||!Mp(be[0])||sl(be[0])){_u(R,be,Ur);return}Ur(R)}function mE(R){zw(!!R.hasNoDefaultLib,R.syntheticFileReferences||[],R.syntheticTypeReferences||[],R.syntheticLibReferences||[]);for(const be of R.prepends)if(yk(be)&&be.syntheticReferences)for(const Ht of be.syntheticReferences)mt(Ht),wd()}function iF(R){R.isDeclarationFile&&zw(R.hasNoDefaultLib,R.referencedFiles,R.typeReferenceDirectives,R.libReferenceDirectives)}function zw(R,be,Ht,Oi){if(R){const yu=Ke.getTextPos();ap('/// '),Ve&&Ve.sections.push({pos:yu,end:Ke.getTextPos(),kind:"no-default-lib"}),wd()}if(Y&&Y.moduleName&&(ap(`/// `),wd()),Y&&Y.amdDependencies)for(const yu of Y.amdDependencies)yu.name?ap(`/// `):ap(`/// `),wd();for(const yu of be){const Jr=Ke.getTextPos();ap(`/// `),Ve&&Ve.sections.push({pos:Jr,end:Ke.getTextPos(),kind:"reference",data:yu.fileName}),wd()}for(const yu of Ht){const Jr=Ke.getTextPos(),br=yu.resolutionMode&&yu.resolutionMode!==(Y==null?void 0:Y.impliedNodeFormat)?`resolution-mode="${yu.resolutionMode===99?"import":"require"}"`:"";ap(`/// `),Ve&&Ve.sections.push({pos:Jr,end:Ke.getTextPos(),kind:yu.resolutionMode?yu.resolutionMode===99?"type-import":"type-require":"type",data:yu.fileName}),wd()}for(const yu of Oi){const Jr=Ke.getTextPos();ap(`/// `),Ve&&Ve.sections.push({pos:Jr,end:Ke.getTextPos(),kind:"lib",data:yu.fileName}),wd()}}function Ur(R){const be=R.statements;O1(R),L(R.statements,n1),Ui(R);const Ht=Ue(be,Oi=>!Mp(Oi));iF(R),B0(R,be,1,void 0,Ht===-1?be.length:Ht),Ff(R)}function ar(R){const be=bs(R);!(be&1024)&&R.pos!==R.expression.pos&&Up(R.expression.pos),Ei(R.expression),!(be&2048)&&R.end!==R.expression.end&&Zm(R.expression.end)}function pE(R){Eb(R,R.elements,528,void 0)}function kf(R,be,Ht,Oi){let yu=!!be;for(let Jr=0;Jr=Ht.length||br===0;if(Ao&&Oi&32768){b==null||b(Ht),B==null||B(Ht);return}Oi&15360&&(ru(czt(Oi)),Ao&&Ht&&Up(Ht.pos,!0)),b==null||b(Ht),Ao?Oi&1&&!(Ae&&(!be||Y&&hk(be,Y)))?wd():Oi&256&&!(Oi&524288)&&Un():rp(R,be,Ht,Oi,yu,Jr,br,Ht.hasTrailingComma,Ht),B==null||B(Ht),Oi&15360&&(Ao&&Ht&&Zm(Ht.end),ru(dzt(Oi)))}function rp(R,be,Ht,Oi,yu,Jr,br,Ea,Ao){const Af=(Oi&262144)===0;let Uf=Af;const Fr=uF(be,Ht[Jr],Oi);Fr?(wd(Fr),Uf=!1):Oi&256&&Un(),Oi&128&&_E();const vE=pzt(R,yu);let gn,h6,P5=!1;for(let E_=0;E_0){if(Oi&131||(_E(),P5=!0),Uf&&Oi&60&&!pg(M5.pos)){const Uw=nE(M5);Up(Uw.pos,!!(Oi&512),!0)}wd(C3),Uf=!1}else gn&&Oi&512&&Un()}if(h6=bo(M5),Uf){const C3=nE(M5);Up(C3.pos)}else Uf=Af;De=M5.pos,vE(M5,R,yu,E_),P5&&(DE(),P5=!1),gn=M5}const lF=gn?bs(gn):0,DC=Ai||!!(lF&2048),O9=Ea&&Oi&64&&Oi&16;O9&&(gn&&!DC?ia(28,gn.end,ru,gn):ru(",")),gn&&(be?be.end:-1)!==gn.end&&Oi&60&&!DC&&Zm(O9&&(Ao!=null&&Ao.end)?Ao.end:gn.end),Oi&128&&DE(),Qe(h6);const cF=r6(be,Ht[Jr+br-1],Oi,Ao);cF?wd(cF):Oi&2097408&&Un()}function sC(R){Ke.writeLiteral(R)}function S9(R){Ke.writeStringLiteral(R)}function lz(R){Ke.write(R)}function nF(R,be){Ke.writeSymbol(R,be)}function ru(R){Ke.writePunctuation(R)}function v1(){Ke.writeTrailingSemicolon(";")}function Ma(R){Ke.writeKeyword(R)}function lf(R){Ke.writeOperator(R)}function EE(R){Ke.writeParameter(R)}function ap(R){Ke.writeComment(R)}function Un(){Ke.writeSpace(" ")}function _b(R){Ke.writeProperty(R)}function lC(R){Ke.nonEscapingWrite?Ke.nonEscapingWrite(R):Ke.write(R)}function wd(R=1){for(let be=0;be0)}function _E(){Ke.increaseIndent()}function DE(){Ke.decreaseIndent()}function u6(R,be,Ht,Oi){return st?hD(R,Ht,be):v3(Oi,R,Ht,be,hD)}function B9(R,be){k&&k(R),be(Uo(R.kind)),T&&T(R)}function hD(R,be,Ht){const Oi=Uo(R);return be(Oi),Ht<0?Ht:Ht+Oi.length}function cC(R,be,Ht){if(bs(R)&1)Un();else if(Ae){const Oi=E4(R,be,Ht);Oi?wd(Oi):Un()}else wd()}function dC(R){const be=R.split(/\r\n?|\n/g),Ht=Dbe(be);for(const Oi of be){const yu=Ht?Oi.slice(Ht):Oi;yu.length&&(wd(),ft(yu))}}function _3(R,be){R?(_E(),wd(R)):be&&Un()}function g_(R,be){R&&DE(),be&&DE()}function uF(R,be,Ht){if(Ht&2||Ae){if(Ht&65536)return 1;if(be===void 0)return!R||Y&&hk(R,Y)?0:1;if(be.pos===De||be.kind===12)return 0;if(Y&&R&&!pg(R.pos)&&!sl(be)&&(!be.parent||Wl(be.parent)===Wl(R)))return Ae?Db(Oi=>Wye(be.pos,R.pos,Y,Oi)):Gq(R,be,Y)?0:1;if(xb(be,Ht))return 1}return Ht&1?1:0}function fD(R,be,Ht){if(Ht&2||Ae){if(R===void 0||be===void 0||be.kind===12)return 0;if(Y&&!sl(R)&&!sl(be))return Ae&&cf(R,be)?Db(Oi=>mle(R,be,Y,Oi)):!Ae&&Dm(R,be)?qj(R,be,Y)?0:1:Ht&65536?1:0;if(xb(R,Ht)||xb(be,Ht))return 1}else if(RP(be))return 1;return Ht&1?1:0}function r6(R,be,Ht,Oi){if(Ht&2||Ae){if(Ht&65536)return 1;if(be===void 0)return!R||Y&&hk(R,Y)?0:1;if(Y&&R&&!pg(R.pos)&&!sl(be)&&(!be.parent||be.parent===R)){if(Ae){const yu=Oi&&!pg(Oi.end)?Oi.end:be.end;return Db(Jr=>Gye(yu,R.end,Y,Jr))}return Vye(R,be,Y)?0:1}if(xb(be,Ht))return 1}return Ht&1&&!(Ht&131072)?1:0}function Db(R){H.assert(!!Ae);const be=R(!0);return be===0?R(!1):be}function w9(R,be){const Ht=Ae&&uF(be,R,0);return Ht&&_3(Ht,!1),!!Ht}function rF(R,be){const Ht=Ae&&r6(be,R,0,void 0);Ht&&wd(Ht)}function xb(R,be){if(sl(R)){const Ht=RP(R);return Ht===void 0?(be&65536)!==0:Ht}return(be&65536)!==0}function E4(R,be,Ht){return bs(R)&262144?0:(R=yc(R),be=yc(be),Ht=yc(Ht),RP(Ht)?1:Y&&!sl(R)&&!sl(be)&&!sl(Ht)?Ae?Db(Oi=>mle(be,Ht,Y,Oi)):qj(be,Ht,Y)?0:1:0)}function hC(R){return R.statements.length===0&&(!Y||qj(R,R,Y))}function yc(R){for(;R.kind===217&&sl(R);)R=R.expression;return R}function md(R,be){if(al(R)||Uy(R))return a6(R);if(us(R)&&R.textSourceNode)return md(R.textSourceNode,be);const Ht=Y,Oi=!!Ht&&!!R.parent&&!sl(R);if(J_(R)){if(!Oi||zn(R)!==Wl(Ht))return fu(R)}else if(gg(R)){if(!Oi||zn(R)!==Wl(Ht))return zP(R)}else if(H.assertNode(R,E2),!Oi)return R.text;return x2(Ht,R,be)}function T9(R,be,Ht){if(R.kind===11&&R.textSourceNode){const yu=R.textSourceNode;if(at(yu)||ea(yu)||Of(yu)||gg(yu)){const Jr=Of(yu)?yu.text:md(yu);return Ht?`"${X0e(Jr)}"`:be||bs(R)&16777216?`"${Av(Jr)}"`:`"${jj(Jr)}"`}else return T9(yu,be,Ht)}const Oi=(be?1:0)|(Ht?2:0)|(t.terminateUnterminatedLiterals?4:0)|(t.target&&t.target===99?8:0);return wbe(R,Y,Oi)}function O1(R){R&&bs(R)&1048576||(Ne.push(pe),pe=0,Ce.push(ne),ne=void 0,fe.push(xe))}function Ff(R){R&&bs(R)&1048576||(pe=Ne.pop(),ne=Ce.pop(),xe=fe.pop())}function vb(R){(!xe||xe===qu(fe))&&(xe=new Set),xe.add(R)}function _4(R,be){ve.push(Se),Se=R,Be.push(xe),Ge=be}function fC(){Se=ve.pop(),Ge=Be.pop()}function T5(R){(!Ge||Ge===qu(Be))&&(Ge=new Set),Ge.add(R)}function n1(R){if(R)switch(R.kind){case 241:L(R.statements,n1);break;case 256:case 254:case 246:case 247:n1(R.statement);break;case 245:n1(R.thenStatement),n1(R.elseStatement);break;case 248:case 250:case 249:n1(R.initializer),n1(R.statement);break;case 255:n1(R.caseBlock);break;case 269:L(R.clauses,n1);break;case 296:case 297:L(R.statements,n1);break;case 258:n1(R.tryBlock),n1(R.catchClause),n1(R.finallyBlock);break;case 299:n1(R.variableDeclaration),n1(R.block);break;case 243:n1(R.declarationList);break;case 261:L(R.declarations,n1);break;case 260:case 169:case 208:case 263:op(R.name);break;case 262:op(R.name),bs(R)&1048576&&(L(R.parameters,n1),n1(R.body));break;case 206:case 207:L(R.elements,n1);break;case 272:n1(R.importClause);break;case 273:op(R.name),n1(R.namedBindings);break;case 274:op(R.name);break;case 280:op(R.name);break;case 275:L(R.elements,n1);break;case 276:op(R.propertyName||R.name);break}}function aF(R){if(R)switch(R.kind){case 303:case 304:case 172:case 174:case 177:case 178:op(R.name);break}}function op(R){R&&(al(R)||Uy(R)?a6(R):So(R)&&n1(R))}function a6(R){const be=R.emitNode.autoGenerate;if((be.flags&7)===4)return Hw(jV(R),ea(R),be.flags,be.prefix,be.suffix);{const Ht=be.id;return ge[Ht]||(ge[Ht]=cz(R))}}function Hw(R,be,Ht,Oi,yu){const Jr=$s(R),br=be?se:oe;return br[Jr]||(br[Jr]=L5(R,be,Ht??0,RB(Oi,a6),RB(yu)))}function R0(R,be){return oF(R)&&!Kw(R,be)&&!ae.has(R)}function Kw(R,be){return be?!!(Ge!=null&&Ge.has(R)):!!(xe!=null&&xe.has(R))}function oF(R,be){return Y?QU(Y,R,s):!0}function mC(R,be){for(let Ht=be;Ht&&S2(Ht,be);Ht=Ht.nextContainer)if(UE(Ht)&&Ht.locals){const Oi=Ht.locals.get(Al(R));if(Oi&&Oi.flags&3257279)return!1}return!0}function L9(R){switch(R){case"":return pe;case"#":return Se;default:return(ne==null?void 0:ne.get(R))??0}}function Kh(R,be){switch(R){case"":pe=be;break;case"#":Se=be;break;default:ne??(ne=new Map),ne.set(R,be);break}}function D3(R,be,Ht,Oi,yu){Oi.length>0&&Oi.charCodeAt(0)===35&&(Oi=Oi.slice(1));const Jr=jv(Ht,Oi,"",yu);let br=L9(Jr);if(R&&!(br&R)){const Ao=jv(Ht,Oi,R===268435456?"_i":"_n",yu);if(R0(Ao,Ht))return br|=R,Ht?T5(Ao):be&&vb(Ao),Kh(Jr,br),Ao}for(;;){const Ea=br&268435455;if(br++,Ea!==8&&Ea!==13){const Ao=Ea<26?"_"+String.fromCharCode(97+Ea):"_"+(Ea-26),Af=jv(Ht,Oi,Ao,yu);if(R0(Af,Ht))return Ht?T5(Af):be&&vb(Af),Kh(Jr,br),Af}}}function mD(R,be=R0,Ht,Oi,yu,Jr,br){if(R.length>0&&R.charCodeAt(0)===35&&(R=R.slice(1)),Jr.length>0&&Jr.charCodeAt(0)===35&&(Jr=Jr.slice(1)),Ht){const Ao=jv(yu,Jr,R,br);if(be(Ao,yu))return yu?T5(Ao):Oi?vb(Ao):ae.add(Ao),Ao}R.charCodeAt(R.length-1)!==95&&(R+="_");let Ea=1;for(;;){const Ao=jv(yu,Jr,R+Ea,br);if(be(Ao,yu))return yu?T5(Ao):Oi?vb(Ao):ae.add(Ao),Ao;Ea++}}function Cb(R){return mD(R,oF,!0,!1,!1,"","")}function _m(R){const be=md(R.name);return mC(be,ur(R,UE))?be:mD(be,R0,!1,!1,!1,"","")}function N9(R){const be=Y8(R),Ht=us(be)?Lbe(be.text):"module";return mD(Ht,R0,!1,!1,!1,"","")}function o6(){return mD("default",R0,!1,!1,!1,"","")}function qm(){return mD("class",R0,!1,!1,!1,"","")}function bb(R,be,Ht,Oi){return at(R.name)?Hw(R.name,be):D3(0,!1,be,Ht,Oi)}function L5(R,be,Ht,Oi,yu){switch(R.kind){case 80:case 81:return mD(md(R),R0,!!(Ht&16),!!(Ht&8),be,Oi,yu);case 267:case 266:return H.assert(!Oi&&!yu&&!be),_m(R);case 272:case 278:return H.assert(!Oi&&!yu&&!be),N9(R);case 262:case 263:{H.assert(!Oi&&!yu&&!be);const Jr=R.name;return Jr&&!al(Jr)?L5(Jr,!1,Ht,Oi,yu):o6()}case 277:return H.assert(!Oi&&!yu&&!be),o6();case 231:return H.assert(!Oi&&!yu&&!be),qm();case 174:case 177:case 178:return bb(R,be,Oi,yu);case 167:return D3(0,!0,be,Oi,yu);default:return D3(0,!1,be,Oi,yu)}}function cz(R){const be=R.emitNode.autoGenerate,Ht=RB(be.prefix,a6),Oi=RB(be.suffix);switch(be.flags&7){case 1:return D3(0,!!(be.flags&8),ea(R),Ht,Oi);case 2:return H.assertNode(R,at),D3(268435456,!!(be.flags&8),!1,Ht,Oi);case 3:return mD(fu(R),be.flags&32?oF:R0,!!(be.flags&16),!!(be.flags&8),ea(R),Ht,Oi)}return H.fail(`Unsupported GeneratedIdentifierKind: ${H.formatEnum(be.flags&7,sU,!0)}.`)}function P9(R,be){const Ht=je(2,R,be),Oi=Ni,yu=ji,Jr=xn;M9(be),Ht(R,be),z9(be,Oi,yu,Jr)}function M9(R){const be=bs(R),Ht=nE(R);pC(R,be,Ht.pos,Ht.end),be&4096&&(Ai=!0)}function z9(R,be,Ht,Oi){const yu=bs(R),Jr=nE(R);yu&4096&&(Ai=!1),$f(R,yu,Jr.pos,Jr.end,be,Ht,Oi);const br=Wke(R);br&&$f(R,yu,br.pos,br.end,be,Ht,Oi)}function pC(R,be,Ht,Oi){yr(),Pi=!1;const yu=Ht<0||(be&1024)!==0||R.kind===12,Jr=Oi<0||(be&2048)!==0||R.kind===12;(Ht>0||Oi>0)&&Ht!==Oi&&(yu||yb(Ht,R.kind!==359),(!yu||Ht>=0&&be&1024)&&(Ni=Ht),(!Jr||Oi>=0&&be&2048)&&(ji=Oi,R.kind===261&&(xn=Oi))),L(DB(R),x3),Ba()}function $f(R,be,Ht,Oi,yu,Jr,br){yr();const Ea=Oi<0||(be&2048)!==0||R.kind===12;L(DV(R),I9),(Ht>0||Oi>0)&&Ht!==Oi&&(Ni=yu,ji=Jr,xn=br,!Ea&&R.kind!==359&&sp(Oi)),Ba()}function x3(R){(R.hasLeadingNewline||R.kind===2)&&Ke.writeLine(),R9(R),R.hasTrailingNewLine||R.kind===2?Ke.writeLine():Ke.writeSpace(" ")}function I9(R){Ke.isAtStartOfLine()||Ke.writeSpace(" "),R9(R),R.hasTrailingNewLine&&Ke.writeLine()}function R9(R){const be=Ks(R),Ht=R.kind===3?n7(be):void 0;sB(be,Ht,Ke,0,be.length,j)}function Ks(R){return R.kind===3?`/*${R.text}*/`:`//${R.text}`}function _u(R,be,Ht){yr();const{pos:Oi,end:yu}=be,Jr=bs(R),br=Oi<0||(Jr&1024)!==0,Ea=Ai||yu<0||(Jr&2048)!==0;br||Gw(be),Ba(),Jr&4096&&!Ai?(Ai=!0,Ht(R),Ai=!1):Ht(R),yr(),Ea||(yb(be.end,!0),Pi&&!Ke.isAtStartOfLine()&&Ke.writeLine()),Ba()}function Dm(R,be){return R=Wl(R),R.parent&&R.parent===Wl(be).parent}function cf(R,be){if(be.pos-1&&Oi.indexOf(be)===yu+1}function yb(R,be){Pi=!1,be?R===0&&(Y!=null&&Y.isDeclarationFile)?Fb(R,gC):Fb(R,s6):R===0&&Fb(R,Ww)}function Ww(R,be,Ht,Oi,yu){EC(R,be)&&s6(R,be,Ht,Oi,yu)}function gC(R,be,Ht,Oi,yu){EC(R,be)||s6(R,be,Ht,Oi,yu)}function kb(R,be){return t.onlyPrintJsDocStyle?Jce(R,be)||XU(R,be):!0}function s6(R,be,Ht,Oi,yu){!Y||!kb(Y.text,R)||(Pi||(Fye(vi(),Ke,yu,R),Pi=!0),xE(R),sB(Y.text,vi(),Ke,R,be,j),xE(be),Oi?Ke.writeLine():Ht===3&&Ke.writeSpace(" "))}function Zm(R){Ai||R===-1||yb(R,!0)}function sp(R){Pc(R,l6)}function l6(R,be,Ht,Oi){!Y||!kb(Y.text,R)||(Ke.isAtStartOfLine()||Ke.writeSpace(" "),xE(R),sB(Y.text,vi(),Ke,R,be,j),xE(be),Oi&&Ke.writeLine())}function Up(R,be,Ht){Ai||(yr(),Pc(R,be?l6:Ht?lp:N5),Ba())}function lp(R,be,Ht){Y&&(xE(R),sB(Y.text,vi(),Ke,R,be,j),xE(be),Ht===2&&Ke.writeLine())}function N5(R,be,Ht,Oi){Y&&(xE(R),sB(Y.text,vi(),Ke,R,be,j),xE(be),Oi?Ke.writeLine():Ke.writeSpace(" "))}function Fb(R,be){Y&&(Ni===-1||R!==Ni)&&(dz(R)?D4(be):NO(Y.text,R,be,R))}function Pc(R,be){Y&&(ji===-1||R!==ji&&R!==xn)&&PO(Y.text,R,be)}function dz(R){return an!==void 0&&Cr(an).nodePos===R}function D4(R){if(!Y)return;const be=Cr(an).detachedCommentEndPos;an.length-1?an.pop():an=void 0,NO(Y.text,be,R,be)}function Gw(R){const be=Y&&Sye(Y.text,vi(),Ke,j1,R,j,Ai);be&&(an?an.push(be):an=[be])}function j1(R,be,Ht,Oi,yu,Jr){!Y||!kb(Y.text,Oi)||(xE(Oi),sB(R,be,Ht,Oi,yu,Jr),xE(yu))}function EC(R,be){return!!Y&&c0e(Y.text,R,be)}function Ab(R){return R.parsedSourceMap===void 0&&R.sourceMapText!==void 0&&(R.parsedSourceMap=Wde(R.sourceMapText)||!1),R.parsedSourceMap||void 0}function sF(R,be){const Ht=je(3,R,be);Jw(be),Ht(R,be),x4(be)}function Jw(R){const be=bs(R),Ht=Lv(R);if(Gse(R)){H.assertIsDefined(R.parent,"UnparsedNodes must have parent pointers");const Oi=Ab(R.parent);Oi&&St&&St.appendSourceMap(Ke.getLine(),Ke.getColumn(),Oi,R.parent.sourceMapPath,R.parent.getLineAndCharacterOfPosition(R.pos),R.parent.getLineAndCharacterOfPosition(R.end))}else{const Oi=Ht.source||It;R.kind!==359&&!(be&32)&&Ht.pos>=0&&c6(Ht.source||It,Ol(Oi,Ht.pos)),be&128&&(st=!0)}}function x4(R){const be=bs(R),Ht=Lv(R);Gse(R)||(be&128&&(st=!1),R.kind!==359&&!(be&64)&&Ht.end>=0&&c6(Ht.source||It,Ht.end))}function Ol(R,be){return R.skipTrivia?R.skipTrivia(be):gs(R.text,be)}function xE(R){if(st||pg(R)||d6(It))return;const{line:be,character:Ht}=s0(It,R);St.addMapping(Ke.getLine(),Ke.getColumn(),ei,be,Ht,void 0)}function c6(R,be){if(R!==It){const Ht=It,Oi=ei;_C(R),xE(be),$w(Ht,Oi)}else xE(be)}function v3(R,be,Ht,Oi,yu){if(st||R&&Dq(R))return yu(be,Ht,Oi);const Jr=R&&R.emitNode,br=Jr&&Jr.flags||0,Ea=Jr&&Jr.tokenSourceMapRanges&&Jr.tokenSourceMapRanges[be],Ao=Ea&&Ea.source||It;return Oi=Ol(Ao,Ea?Ea.pos:Oi),!(br&256)&&Oi>=0&&c6(Ao,Oi),Oi=yu(be,Ht,Oi),Ea&&(Oi=Ea.end),!(br&512)&&Oi>=0&&c6(Ao,Oi),Oi}function _C(R){if(!st){if(It=R,R===ht){ei=Ut;return}d6(R)||(ei=St.addSource(R.fileName),t.inlineSources&&St.setSourceContent(ei,R.text),ht=R,Ut=ei)}}function $w(R,be){It=R,ei=be}function d6(R){return Ml(R.fileName,".json")}}function lzt(){const t=[];return t[1024]=["{","}"],t[2048]=["(",")"],t[4096]=["<",">"],t[8192]=["[","]"],t}function czt(t){return T7e[t&15360][0]}function dzt(t){return T7e[t&15360][1]}function hzt(t,u,s,d){u(t)}function fzt(t,u,s,d){u(t,s.select(d))}function mzt(t,u,s,d){u(t,s)}function pzt(t,u){return t.length===1?hzt:typeof u=="object"?fzt:mzt}var T7e,DQ,f1e,X2,m1e,EH,gzt=o({"src/compiler/emitter.ts"(){Bo(),Bo(),Wy(),T7e=lzt(),DQ={hasGlobalName:ho,getReferencedExportContainer:ho,getReferencedImportDeclaration:ho,getReferencedDeclarationWithCollidingName:ho,isDeclarationWithCollidingName:ho,isValueAliasDeclaration:ho,isReferencedAliasDeclaration:ho,isTopLevelValueImportEqualsWithEntityName:ho,getNodeCheckFlags:ho,isDeclarationVisible:ho,isLateBound:t=>!1,collectLinkedAliases:ho,isImplementationOfOverload:ho,isRequiredInitializedParameter:ho,isOptionalUninitializedParameterProperty:ho,isExpandoFunctionDeclaration:ho,getPropertiesOfContainerFunction:ho,createTypeOfDeclaration:ho,createReturnTypeOfSignatureDeclaration:ho,createTypeOfExpression:ho,createLiteralConstValue:ho,isSymbolAccessible:ho,isEntityNameVisible:ho,getConstantValue:ho,getReferencedValueDeclaration:ho,getReferencedValueDeclarations:ho,getTypeReferenceSerializationKind:ho,isOptionalParameter:ho,moduleExportsSomeValue:ho,isArgumentsLocalBinding:ho,getExternalModuleFileFromDeclaration:ho,getTypeReferenceDirectivesForEntityName:ho,getTypeReferenceDirectivesForSymbol:ho,isLiteralConstDeclaration:ho,getJsxFactoryEntity:ho,getJsxFragmentFactoryEntity:ho,getAllAccessorDeclarations:ho,getSymbolOfExternalModuleSpecifier:ho,isBindingCapturedByNode:ho,getDeclarationStatementsForSourceFile:ho,isImportRequiredByAugmentation:ho,tryFindAmbientModule:ho},f1e=Mh(()=>Gv({})),X2=Mh(()=>Gv({removeComments:!0})),m1e=Mh(()=>Gv({removeComments:!0,neverAsciiEscape:!0})),EH=Mh(()=>Gv({removeComments:!0,omitTrailingSemicolon:!0}))}});function xQ(t,u,s){if(!t.getDirectories||!t.readDirectory)return;const d=new Map,f=L1(s);return{useCaseSensitiveFileNames:s,fileExists:z,readFile:(ne,ve)=>t.readFile(ne,ve),directoryExists:t.directoryExists&&j,getDirectories:K,readDirectory:Y,createDirectory:t.createDirectory&&J,writeFile:t.writeFile&&M,addOrDeleteFileOrDirectory:se,addOrDeleteFile:ge,clearCache:Ce,realpath:t.realpath&&oe};function p(ne){return J0(ne,u,f)}function E(ne){return d.get(zd(ne))}function v(ne){const ve=E(lr(ne));return ve&&(ve.sortedAndCanonicalizedFiles||(ve.sortedAndCanonicalizedFiles=ve.files.map(f).sort(),ve.sortedAndCanonicalizedDirectories=ve.directories.map(f).sort()),ve)}function b(ne){return Ac($o(ne))}function B(ne,ve){var Se;if(!t.realpath||zd(p(t.realpath(ne)))===ve){const Ne={files:Vt(t.readDirectory(ne,void 0,void 0,["*.*"]),b)||[],directories:t.getDirectories(ne)||[]};return d.set(zd(ve),Ne),Ne}if((Se=t.directoryExists)!=null&&Se.call(t,ne))return d.set(ve,!1),!1}function k(ne,ve){ve=zd(ve);const Se=E(ve);if(Se)return Se;try{return B(ne,ve)}catch{H.assert(!d.has(zd(ve)));return}}function T(ne,ve){return Kl(ne,ve,il,dh)>=0}function M(ne,ve,Se){const Ne=p(ne),pe=v(Ne);return pe&&ae(pe,b(ne),!0),t.writeFile(ne,ve,Se)}function z(ne){const ve=p(ne),Se=v(ve);return Se&&T(Se.sortedAndCanonicalizedFiles,f(b(ne)))||t.fileExists(ne)}function j(ne){const ve=p(ne);return d.has(zd(ve))||t.directoryExists(ne)}function J(ne){const ve=p(ne),Se=v(ve);if(Se){const Ne=b(ne),pe=f(Ne),fe=Se.sortedAndCanonicalizedDirectories;Tt(fe,pe,dh)&&Se.directories.push(Ne)}t.createDirectory(ne)}function K(ne){const ve=p(ne),Se=k(ne,ve);return Se?Se.directories.slice():t.getDirectories(ne)}function Y(ne,ve,Se,Ne,pe){const fe=p(ne),xe=k(ne,fe);let Be;if(xe!==void 0)return Ale(ne,ve,Se,Ne,s,u,pe,Ge,oe);return t.readDirectory(ne,ve,Se,Ne,pe);function Ge(De){const Ke=p(De);if(Ke===fe)return xe||Ae(De,Ke);const Je=k(De,Ke);return Je!==void 0?Je||Ae(De,Ke):bZ}function Ae(De,Ke){if(Be&&Ke===fe)return Be;const Je={files:Vt(t.readDirectory(De,void 0,void 0,["*.*"]),b)||_t,directories:t.getDirectories(De)||_t};return Ke===fe&&(Be=Je),Je}}function oe(ne){return t.realpath?t.realpath(ne):ne}function se(ne,ve){if(E(ve)!==void 0){Ce();return}const Ne=v(ve);if(!Ne)return;if(!t.directoryExists){Ce();return}const pe=b(ne),fe={fileExists:t.fileExists(ve),directoryExists:t.directoryExists(ve)};return fe.directoryExists||T(Ne.sortedAndCanonicalizedDirectories,f(pe))?Ce():ae(Ne,pe,fe.fileExists),fe}function ge(ne,ve,Se){if(Se===1)return;const Ne=v(ve);Ne&&ae(Ne,b(ne),Se===0)}function ae(ne,ve,Se){const Ne=ne.sortedAndCanonicalizedFiles,pe=f(ve);if(Se)Tt(Ne,pe,dh)&&ne.files.push(ve);else{const fe=Kl(Ne,pe,il,dh);if(fe>=0){Ne.splice(fe,1);const xe=ne.files.findIndex(Be=>f(Be)===pe);ne.files.splice(xe,1)}}}function Ce(){d.clear()}}function vQ(t,u,s,d,f){var p;const E=lg(((p=u==null?void 0:u.configFile)==null?void 0:p.extendedSourceFiles)||_t,f);s.forEach((v,b)=>{E.has(b)||(v.projects.delete(t),v.close())}),E.forEach((v,b)=>{const B=s.get(b);B?B.projects.add(t):s.set(b,{projects:new Set([t]),watcher:d(v,b),close:()=>{const k=s.get(b);!k||k.projects.size!==0||(k.watcher.close(),s.delete(b))}})})}function p1e(t,u){u.forEach(s=>{s.projects.delete(t)&&s.close()})}function CQ(t,u,s){t.delete(u)&&t.forEach(({extendedResult:d},f)=>{var p;(p=d.extendedSourceFiles)!=null&&p.some(E=>s(E)===u)&&CQ(t,f,s)})}function utt(t,u,s){const d=new Map(t);cB(u,d,{createNewValue:s,onDeleteValue:fg})}function g1e(t,u,s){const d=t.getMissingFilePaths(),f=lg(d,il,J3);cB(u,f,{createNewValue:s,onDeleteValue:fg})}function _H(t,u,s){cB(t,u,{createNewValue:d,onDeleteValue:jm,onExistingValue:f});function d(p,E){return{watcher:s(p,E),flags:E}}function f(p,E,v){p.flags!==E&&(p.watcher.close(),t.set(v,d(v,E)))}}function DH({watchedDirPath:t,fileOrDirectory:u,fileOrDirectoryPath:s,configFileName:d,options:f,program:p,extraFileExtensions:E,currentDirectory:v,useCaseSensitiveFileNames:b,writeLog:B,toPath:k,getScriptKind:T}){const M=zQ(s);if(!M)return B(`Project: ${d} Detected ignored path: ${u}`),!0;if(s=M,s===t)return!1;if(t7(s)&&!(hke(u,f,E)||Y()))return B(`Project: ${d} Detected file add/remove of non supported extension: ${u}`),!0;if(QFe(u,f.configFile.configFileSpecs,$a(lr(d),v),b,v))return B(`Project: ${d} Detected excluded file: ${u}`),!0;if(!p||y0(f)||f.outDir)return!1;if(e1(s)){if(f.declarationDir)return!1}else if(!jc(s,_B))return!1;const z=_h(s),j=Ha(p)?void 0:Ezt(p)?p.getProgramOrUndefined():p,J=!j&&!Ha(p)?p:void 0;if(K(z+".ts")||K(z+".tsx"))return B(`Project: ${d} Detected output file: ${u}`),!0;return!1;function K(oe){return j?!!j.getSourceFileByPath(oe):J?J.getState().fileInfos.has(oe):!!Le(p,se=>k(se)===oe)}function Y(){if(!T)return!1;switch(T(u)){case 3:case 4:case 7:case 5:return!0;case 1:case 2:return Bv(f);case 6:return M2(f);case 0:return!1}}}function Ezt(t){return!!t.getState}function L7e(t,u){return t?t.isEmittedFile(u):!1}function E1e(t,u,s,d){g2e(u===2?s:Is);const f={watchFile:(J,K,Y,oe)=>t.watchFile(J,K,Y,oe),watchDirectory:(J,K,Y,oe)=>t.watchDirectory(J,K,(Y&1)!==0,oe)},p=u!==0?{watchFile:z("watchFile"),watchDirectory:z("watchDirectory")}:void 0,E=u===2?{watchFile:T,watchDirectory:M}:p||f,v=u===2?k:iw;return{watchFile:b("watchFile"),watchDirectory:b("watchDirectory")};function b(J){return(K,Y,oe,se,ge,ae)=>{var Ce;return TY(K,J==="watchFile"?se==null?void 0:se.excludeFiles:se==null?void 0:se.excludeDirectories,B(),((Ce=t.getCurrentDirectory)==null?void 0:Ce.call(t))||"")?v(K,oe,se,ge,ae):E[J].call(void 0,K,Y,oe,se,ge,ae)}}function B(){return typeof t.useCaseSensitiveFileNames=="boolean"?t.useCaseSensitiveFileNames:t.useCaseSensitiveFileNames()}function k(J,K,Y,oe,se){return s(`ExcludeWatcher:: Added:: ${j(J,K,Y,oe,se,d)}`),{close:()=>s(`ExcludeWatcher:: Close:: ${j(J,K,Y,oe,se,d)}`)}}function T(J,K,Y,oe,se,ge){s(`FileWatcher:: Added:: ${j(J,Y,oe,se,ge,d)}`);const ae=p.watchFile(J,K,Y,oe,se,ge);return{close:()=>{s(`FileWatcher:: Close:: ${j(J,Y,oe,se,ge,d)}`),ae.close()}}}function M(J,K,Y,oe,se,ge){const ae=`DirectoryWatcher:: Added:: ${j(J,Y,oe,se,ge,d)}`;s(ae);const Ce=G0(),ne=p.watchDirectory(J,K,Y,oe,se,ge),ve=G0()-Ce;return s(`Elapsed:: ${ve}ms ${ae}`),{close:()=>{const Se=`DirectoryWatcher:: Close:: ${j(J,Y,oe,se,ge,d)}`;s(Se);const Ne=G0();ne.close();const pe=G0()-Ne;s(`Elapsed:: ${pe}ms ${Se}`)}}}function z(J){return(K,Y,oe,se,ge,ae)=>f[J].call(void 0,K,(...Ce)=>{const ne=`${J==="watchFile"?"FileWatcher":"DirectoryWatcher"}:: Triggered with ${Ce[0]} ${Ce[1]!==void 0?Ce[1]:""}:: ${j(K,oe,se,ge,ae,d)}`;s(ne);const ve=G0();Y.call(void 0,...Ce);const Se=G0()-ve;s(`Elapsed:: ${Se}ms ${ne}`)},oe,se,ge,ae)}function j(J,K,Y,oe,se,ge){return`WatchInfo: ${J} ${K} ${JSON.stringify(Y)} ${ge?ge(oe,se):se===void 0?oe:`${oe} ${se}`}`}}function xH(t){const u=t==null?void 0:t.fallbackPolling;return{watchFile:u!==void 0?u:1}}function jm(t){t.watcher.close()}var _1e,D1e,_zt=o({"src/compiler/watchUtilities.ts"(){Bo(),_1e=(t=>(t[t.Update=0]="Update",t[t.RootNamesAndUpdate=1]="RootNamesAndUpdate",t[t.Full=2]="Full",t))(_1e||{}),D1e=(t=>(t[t.None=0]="None",t[t.TriggerOnly=1]="TriggerOnly",t[t.Verbose=2]="Verbose",t))(D1e||{})}});function N7e(t,u,s="tsconfig.json"){return Ug(t,d=>{const f=cr(d,s);return u(f)?f:void 0})}function bQ(t,u){const s=lr(u),d=Pf(t)?t:cr(s,t);return $o(d)}function P7e(t,u,s){let d;return L(t,p=>{const E=FO(p,u);if(E.pop(),!d){d=E;return}const v=Math.min(d.length,E.length);for(let b=0;b{let E;try{ul("beforeIORead"),E=t(d,u().charset),ul("afterIORead"),Tm("I/O Read","beforeIORead","afterIORead")}catch(v){p&&p(v.message),E=""}return E!==void 0?KV(d,E,f,s):void 0}}function v1e(t,u,s){return(d,f,p,E)=>{try{ul("beforeIOWrite"),nle(d,f,p,t,u,s),ul("afterIOWrite"),Tm("I/O Write","beforeIOWrite","afterIOWrite")}catch(v){E&&E(v.message)}}}function C1e(t,u,s=c1){const d=new Map,f=L1(s.useCaseSensitiveFileNames);function p(k){return d.has(k)?!0:(B.directoryExists||s.directoryExists)(k)?(d.set(k,!0),!0):!1}function E(){return lr($o(s.getExecutingFilePath()))}const v=a5(t),b=s.realpath&&(k=>s.realpath(k)),B={getSourceFile:x1e(k=>B.readFile(k),()=>t,u),getDefaultLibLocation:E,getDefaultLibFileName:k=>cr(E(),zO(k)),writeFile:v1e((k,T,M)=>s.writeFile(k,T,M),k=>(B.createDirectory||s.createDirectory)(k),k=>p(k)),getCurrentDirectory:Mh(()=>s.getCurrentDirectory()),useCaseSensitiveFileNames:()=>s.useCaseSensitiveFileNames,getCanonicalFileName:f,getNewLine:()=>v,fileExists:k=>s.fileExists(k),readFile:k=>s.readFile(k),trace:k=>s.write(k+v),directoryExists:k=>s.directoryExists(k),getEnvironmentVariable:k=>s.getEnvironmentVariable?s.getEnvironmentVariable(k):"",getDirectories:k=>s.getDirectories(k),realpath:b,readDirectory:(k,T,M,z,j)=>s.readDirectory(k,T,M,z,j),createDirectory:k=>s.createDirectory(k),createHash:Lo(s,s.createHash)};return B}function vH(t,u,s){const d=t.readFile,f=t.fileExists,p=t.directoryExists,E=t.createDirectory,v=t.writeFile,b=new Map,B=new Map,k=new Map,T=new Map,M=J=>{const K=u(J),Y=b.get(K);return Y!==void 0?Y!==!1?Y:void 0:z(K,J)},z=(J,K)=>{const Y=d.call(t,K);return b.set(J,Y!==void 0?Y:!1),Y};t.readFile=J=>{const K=u(J),Y=b.get(K);return Y!==void 0?Y!==!1?Y:void 0:!Ml(J,".json")&&!S7e(J)?d.call(t,J):z(K,J)};const j=s?(J,K,Y,oe)=>{const se=u(J),ge=typeof K=="object"?K.impliedNodeFormat:void 0,ae=T.get(ge),Ce=ae==null?void 0:ae.get(se);if(Ce)return Ce;const ne=s(J,K,Y,oe);return ne&&(e1(J)||Ml(J,".json"))&&T.set(ge,(ae||new Map).set(se,ne)),ne}:void 0;return t.fileExists=J=>{const K=u(J),Y=B.get(K);if(Y!==void 0)return Y;const oe=f.call(t,J);return B.set(K,!!oe),oe},v&&(t.writeFile=(J,K,...Y)=>{const oe=u(J);B.delete(oe);const se=b.get(oe);se!==void 0&&se!==K?(b.delete(oe),T.forEach(ge=>ge.delete(oe))):j&&T.forEach(ge=>{const ae=ge.get(oe);ae&&ae.text!==K&&ge.delete(oe)}),v.call(t,J,K,...Y)}),p&&(t.directoryExists=J=>{const K=u(J),Y=k.get(K);if(Y!==void 0)return Y;const oe=p.call(t,J);return k.set(K,!!oe),oe},E&&(t.createDirectory=J=>{const K=u(J);k.delete(K),E.call(t,J)})),{originalReadFile:d,originalFileExists:f,originalDirectoryExists:p,originalCreateDirectory:E,originalWriteFile:v,getSourceFileWithCache:j,readFileWithCache:M}}function rtt(t,u,s){let d;return d=yn(d,t.getConfigFileParsingDiagnostics()),d=yn(d,t.getOptionsDiagnostics(s)),d=yn(d,t.getSyntacticDiagnostics(u,s)),d=yn(d,t.getGlobalDiagnostics(s)),d=yn(d,t.getSemanticDiagnostics(u,s)),c4(t.getCompilerOptions())&&(d=yn(d,t.getDeclarationDiagnostics(u,s))),A8(d||_t)}function att(t,u){let s="";for(const d of t)s+=b1e(d,u);return s}function b1e(t,u){const s=`${Gy(t)} TS${t.code}: ${lE(t.messageText,u.getNewLine())}${u.getNewLine()}`;if(t.file){const{line:d,character:f}=s0(t.file,t.start),p=t.file.fileName;return`${wN(p,u.getCurrentDirectory(),v=>u.getCanonicalFileName(v))}(${d+1},${f+1}): `+s}return s}function ott(t){switch(t){case 1:return"\x1B[91m";case 0:return"\x1B[93m";case 2:return H.fail("Should never get an Info diagnostic on the command line.");case 3:return"\x1B[94m"}}function eb(t,u){return u+t+O7e}function stt(t,u,s,d,f,p){const{line:E,character:v}=s0(t,u),{line:b,character:B}=s0(t,u+s),k=s0(t,t.text.length).line,T=b-E>=4;let M=(b+1+"").length;T&&(M=Math.max(j7e.length,M));let z="";for(let j=E;j<=b;j++){z+=p.getNewLine(),T&&E+1s.getCanonicalFileName(b)):t.fileName;let v="";return v+=d(E,"\x1B[96m"),v+=":",v+=d(`${f+1}`,"\x1B[93m"),v+=":",v+=d(`${p+1}`,"\x1B[93m"),v}function z7e(t,u){let s="";for(const d of t){if(d.file){const{file:f,start:p}=d;s+=y1e(f,p,u),s+=" - "}if(s+=eb(Gy(d),ott(d.category)),s+=eb(` TS${d.code}: `,"\x1B[90m"),s+=lE(d.messageText,u.getNewLine()),d.file&&d.code!==F.File_appears_to_be_binary.code&&(s+=u.getNewLine(),s+=stt(d.file,d.start,d.length,"",ott(d.category),u)),d.relatedInformation){s+=u.getNewLine();for(const{file:f,start:p,length:E,messageText:v}of d.relatedInformation)f&&(s+=u.getNewLine(),s+=dtt+y1e(f,p,u),s+=stt(f,p,E,V7e,"\x1B[96m",u)),s+=u.getNewLine(),s+=V7e+lE(v,u.getNewLine())}s+=u.getNewLine()}return s}function lE(t,u,s=0){if(Ja(t))return t;if(t===void 0)return"";let d="";if(s){d+=u;for(let f=0;fWB(p,t,s,d,f,u,E)}}function R7e(t){return Ja(t)?t:$g(t.fileName)}function kQ(t,u,s,d,f){return{nameAndMode:LQ,resolve:(p,E)=>hAe(p,t,s,d,u,f,E)}}function CH(t,u,s,d,f,p,E,v){if(t.length===0)return _t;const b=[],B=new Map,k=v(u,s,d,p,E);for(const T of t){const M=k.nameAndMode.getName(T),z=k.nameAndMode.getMode(T,f),j=dM(M,z);let J=B.get(j);J||B.set(j,J=k.resolve(M,z)),b.push(J)}return b}function S1e(t,u){return FQ(void 0,t,(s,d)=>s&&u(s,d))}function FQ(t,u,s,d){let f;return p(t,u,void 0);function p(E,v,b){if(d){const B=d(E,b);if(B)return B}return L(v,(B,k)=>{if(B&&(f!=null&&f.has(B.sourceFile.path)))return;const T=s(B,b,k);return T||!B?T:((f||(f=new Set)).add(B.sourceFile.path),p(B.commandLine.projectReferences,B.references,B))})}}function AQ(t,u,s){const d=t.configFilePath?lr(t.configFilePath):u;return cr(d,`__lib_node_modules_lookup_${s}__.ts`)}function B1e(t){const u=t.split(".");let s=u[1],d=2;for(;u[d]&&u[d]!=="d";)s+=(d===2?"/":"-")+u[d],d++;return"@typescript/lib-"+s}function ltt(t){const u=$g(t.fileName),s=LY.get(u);return{libName:u,libFileName:s}}function Jv(t){switch(t==null?void 0:t.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function ZB(t){return t.pos!==void 0}function FM(t,u){var s,d,f,p;const E=H.checkDefined(t.getSourceFileByPath(u.file)),{kind:v,index:b}=u;let B,k,T,M;switch(v){case 3:const z=TQ(E,b);if(T=(d=(s=t.getResolvedModule(E,z.text,k1e(E,b)))==null?void 0:s.resolvedModule)==null?void 0:d.packageId,z.pos===-1)return{file:E,packageId:T,text:z.text};B=gs(E.text,z.pos),k=z.end;break;case 4:({pos:B,end:k}=E.referencedFiles[b]);break;case 5:({pos:B,end:k,resolutionMode:M}=E.typeReferenceDirectives[b]),T=(p=(f=t.getResolvedTypeReferenceDirective(E,$g(E.typeReferenceDirectives[b].fileName),M||E.impliedNodeFormat))==null?void 0:f.resolvedTypeReferenceDirective)==null?void 0:p.packageId;break;case 7:({pos:B,end:k}=E.libReferenceDirectives[b]);break;default:return H.assertNever(v)}return{file:E,pos:B,end:k,packageId:T}}function w1e(t,u,s,d,f,p,E,v,b,B){if(!t||v!=null&&v()||!On(t.getRootFileNames(),u))return!1;let k;if(!On(t.getProjectReferences(),B,j)||t.getSourceFiles().some(M)||t.getMissingFilePaths().some(f))return!1;const T=t.getCompilerOptions();if(!gle(T,s)||t.resolvedLibReferences&&h1(t.resolvedLibReferences,(K,Y)=>E(Y)))return!1;if(T.configFile&&s.configFile)return T.configFile.text===s.configFile.text;return!0;function M(K){return!z(K)||p(K.path)}function z(K){return K.version===d(K.resolvedPath,K.fileName)}function j(K,Y,oe){return a0e(K,Y)&&J(t.getResolvedProjectReferences()[oe],K)}function J(K,Y){if(K){if(kt(k,K))return!0;const se=YB(Y),ge=b(se);return!ge||K.commandLine.options.configFile!==ge.options.configFile||!On(K.commandLine.fileNames,ge.fileNames)?!1:((k||(k=[])).push(K),!L(K.references,(ae,Ce)=>!J(ae,K.commandLine.projectReferences[Ce])))}const oe=YB(Y);return!b(oe)}}function Lk(t){return t.options.configFile?[...t.options.configFile.parseDiagnostics,...t.errors]:t.errors}function bH(t,u,s,d){const f=T1e(t,u,s,d);return typeof f=="object"?f.impliedNodeFormat:f}function T1e(t,u,s,d){switch(p1(d)){case 3:case 99:return jc(t,[".d.mts",".mts",".mjs"])?99:jc(t,[".d.cts",".cts",".cjs"])?1:jc(t,[".d.ts",".ts",".tsx",".js",".jsx"])?f():void 0;default:return}function f(){const p=rH(u,s,d),E=[];p.failedLookupLocations=E,p.affectingLocations=E;const v=aH(t,p);return{impliedNodeFormat:(v==null?void 0:v.contents.packageJsonContent.type)==="module"?99:1,packageJsonLocations:E,packageJsonScope:v}}}function Dzt(t,u){return t?R8(t.getCompilerOptions(),u,PY):!1}function xzt(t,u,s,d,f,p){return{rootNames:t,options:u,host:s,oldProgram:d,configFileParsingDiagnostics:f,typeScriptVersion:p}}function SQ(t,u,s,d,f){var p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge;const ae=Ha(t)?xzt(t,u,s,d,f):t,{rootNames:Ce,options:ne,configFileParsingDiagnostics:ve,projectReferences:Se,typeScriptVersion:Ne}=ae;let{oldProgram:pe}=ae;const fe=Mh(()=>np("ignoreDeprecations",F.Invalid_value_for_ignoreDeprecations));let xe,Be,Ge,Ae,De,Ke,Je;const ft=new Map;let Ye=wm();const Ve={},We={};let Gt=U7(),Yt,Ie,st,St,It,ei,ht,Ut,Ni,ji;const xn=typeof ne.maxNodeModuleJsDepth=="number"?ne.maxNodeModuleJsDepth:0;let Jn=0;const an=new Map,Pi=new Map;(p=Gn)==null||p.push(Gn.Phase.Program,"createProgram",{configFilePath:ne.configFilePath,rootDir:ne.rootDir},!0),ul("beforeProgram");const Ai=ae.host||M7e(ne),Zu=wQ(Ai);let aa=ne.noLib;const yr=Mh(()=>Ai.getDefaultLibFileName(ne)),Ba=Ai.getDefaultLibLocation?Ai.getDefaultLibLocation():lr(yr()),bt=rB(),jn=Ai.getCurrentDirectory(),Ln=kP(ne),Si=tV(ne,Ln),Dn=new Map;let Cn,tu,oa;const Da=Ai.hasInvalidatedResolutions||cg;Ai.resolveModuleNameLiterals?(oa=Ai.resolveModuleNameLiterals.bind(Ai),tu=(E=Ai.getModuleResolutionCache)==null?void 0:E.call(Ai)):Ai.resolveModuleNames?(oa=(Xe,Dt,oi,Ti,Xi,Rn)=>Ai.resolveModuleNames(Xe.map(I7e),Dt,Rn==null?void 0:Rn.map(I7e),oi,Ti,Xi).map(tn=>tn?tn.extension!==void 0?{resolvedModule:tn}:{resolvedModule:{...tn,extension:y7(tn.resolvedFileName)}}:H7e),tu=(v=Ai.getModuleResolutionCache)==null?void 0:v.call(Ai)):(tu=KB(jn,m4,ne),oa=(Xe,Dt,oi,Ti,Xi)=>CH(Xe,Dt,oi,Ti,Xi,Ai,tu,A1e));let ra;if(Ai.resolveTypeReferenceDirectiveReferences)ra=Ai.resolveTypeReferenceDirectiveReferences.bind(Ai);else if(Ai.resolveTypeReferenceDirectives)ra=(Xe,Dt,oi,Ti,Xi)=>Ai.resolveTypeReferenceDirectives(Xe.map(R7e),Dt,oi,Ti,Xi==null?void 0:Xi.impliedNodeFormat).map(Rn=>({resolvedTypeReferenceDirective:Rn}));else{const Xe=HY(jn,m4,void 0,tu==null?void 0:tu.getPackageJsonInfoCache(),tu==null?void 0:tu.optionsToRedirectsKey);ra=(Dt,oi,Ti,Xi,Rn)=>CH(Dt,oi,Ti,Xi,Rn,Ai,Xe,kQ)}const Ta=Ai.hasInvalidatedLibResolutions||cg;let Yo;if(Ai.resolveLibrary)Yo=Ai.resolveLibrary.bind(Ai);else{const Xe=KB(jn,m4,ne,tu==null?void 0:tu.getPackageJsonInfoCache());Yo=(Dt,oi,Ti)=>KY(Dt,oi,Ti,Ai,Xe)}const bo=new Map;let Qe=new Map,Et=wm(),Mt=!1;const qt=new Map;let Xt;const Pe=Ai.useCaseSensitiveFileNames()?new Map:void 0;let et,gt,ii,me;const ni=!!((b=Ai.useSourceOfProjectReferenceRedirect)!=null&&b.call(Ai))&&!ne.disableSourceOfProjectReferenceRedirect,{onProgramCreateComplete:vi,fileExists:mt,directoryExists:Ot}=vzt({compilerHost:Ai,getSymlinkCache:b5,useSourceOfProjectReferenceRedirect:ni,toPath:Xu,getResolvedProjectReferences:Ya,getSourceOfProjectReferenceRedirect:ip,forEachResolvedProjectReference:Nc}),Ei=Ai.readFile.bind(Ai);(B=Gn)==null||B.push(Gn.Phase.Program,"shouldProgramCreateNewSourceFiles",{hasOldProgram:!!pe});const $i=Dzt(pe,ne);(k=Gn)==null||k.pop();let Qi;if((T=Gn)==null||T.push(Gn.Phase.Program,"tryReuseStructureFromOldProgram",{}),Qi=as(),(M=Gn)==null||M.pop(),Qi!==2){if(xe=[],Be=[],Se&&(et||(et=Se.map(Bt)),Ce.length&&(et==null||et.forEach((Xe,Dt)=>{if(!Xe)return;const oi=y0(Xe.commandLine.options);if(ni){if(oi||m1(Xe.commandLine.options)===0)for(const Ti of Xe.commandLine.fileNames)He(Ti,{kind:1,index:Dt})}else if(oi)He(wv(oi,".d.ts"),{kind:2,index:Dt});else if(m1(Xe.commandLine.options)===0){const Ti=Mh(()=>kM(Xe.commandLine,!Ai.useCaseSensitiveFileNames()));for(const Xi of Xe.commandLine.fileNames)!e1(Xi)&&!Ml(Xi,".json")&&He(bM(Xi,Xe.commandLine,!Ai.useCaseSensitiveFileNames(),Ti),{kind:2,index:Dt})}}))),(z=Gn)==null||z.push(Gn.Phase.Program,"processRootFiles",{count:Ce.length}),L(Ce,(Xe,Dt)=>nd(Xe,!1,!1,{kind:0,index:Dt})),(j=Gn)==null||j.pop(),Ie??(Ie=Ce.length?VY(ne,Ai):_t),st=U7(),Ie.length){(J=Gn)==null||J.push(Gn.Phase.Program,"processTypeReferences",{count:Ie.length});const Xe=ne.configFilePath?lr(ne.configFilePath):jn,Dt=cr(Xe,QB),oi=wn(Ie,Dt);for(let Ti=0;Ti{nd(R1(Dt),!0,!1,{kind:6,index:oi})})}Xt=ga(eo(qt.entries(),([Xe,Dt])=>Dt===void 0?Xe:void 0)),Ge=oc(xe,Ru).concat(Be),xe=void 0,Be=void 0}if(H.assert(!!Xt),pe&&Ai.onReleaseOldSourceFile){const Xe=pe.getSourceFiles();for(const Dt of Xe){const oi=Ko(Dt.resolvedPath);($i||!oi||oi.impliedNodeFormat!==Dt.impliedNodeFormat||Dt.resolvedPath===Dt.path&&oi.resolvedPath!==Dt.path)&&Ai.onReleaseOldSourceFile(Dt,pe.getCompilerOptions(),!!Ko(Dt.path))}Ai.getParsedCommandLine||pe.forEachResolvedProjectReference(Dt=>{jh(Dt.sourceFile.path)||Ai.onReleaseOldSourceFile(Dt.sourceFile,pe.getCompilerOptions(),!1)})}pe&&Ai.onReleaseParsedCommandLine&&FQ(pe.getProjectReferences(),pe.getResolvedProjectReferences(),(Xe,Dt,oi)=>{const Ti=(Dt==null?void 0:Dt.commandLine.projectReferences[oi])||pe.getProjectReferences()[oi],Xi=YB(Ti);gt!=null&>.has(Xu(Xi))||Ai.onReleaseParsedCommandLine(Xi,Xe,pe.getCompilerOptions())}),pe=void 0,It=void 0,ht=void 0,Ni=void 0;const on={getRootFileNames:()=>Ce,getSourceFile:Y0,getSourceFileByPath:Ko,getSourceFiles:()=>Ge,getMissingFilePaths:()=>Xt,getModuleResolutionCache:()=>tu,getFilesByNameMap:()=>qt,getCompilerOptions:()=>ne,getSyntacticDiagnostics:Jp,getOptionsDiagnostics:Nr,getGlobalDiagnostics:Ss,getSemanticDiagnostics:Lc,getCachedSemanticDiagnostics:Il,getSuggestionDiagnostics:tt,getDeclarationDiagnostics:Ri,getBindAndCheckDiagnostics:cl,getProgramDiagnostics:Ka,getTypeChecker:vl,getClassifiableNames:Ku,getCommonSourceDirectory:ca,emit:co,getCurrentDirectory:()=>jn,getNodeCount:()=>vl().getNodeCount(),getIdentifierCount:()=>vl().getIdentifierCount(),getSymbolCount:()=>vl().getSymbolCount(),getTypeCount:()=>vl().getTypeCount(),getInstantiationCount:()=>vl().getInstantiationCount(),getRelationCacheSizes:()=>vl().getRelationCacheSizes(),getFileProcessingDiagnostics:()=>Yt,getResolvedTypeReferenceDirectives:()=>Gt,getAutomaticTypeDirectiveNames:()=>Ie,getAutomaticTypeDirectiveResolutions:()=>st,isSourceFileFromExternalLibrary:wl,isSourceFileDefaultLibrary:hd,getSourceFileFromReference:uh,getLibFileFromReference:Oh,sourceFileToPackageName:Qe,redirectTargetsMap:Et,usesUriStyleNodeCoreModules:Mt,resolvedModules:ei,resolvedTypeReferenceDirectiveNames:Ut,resolvedLibReferences:St,getResolvedModule:le,getResolvedTypeReferenceDirective:te,forEachResolvedModule:we,forEachResolvedTypeReferenceDirective:de,getCurrentPackagesMap:()=>ji,typesPackageExists:it,packageBundlesTypes:Ct,isEmittedFile:bg,getConfigFileParsingDiagnostics:ic,getProjectReferences:c0,getResolvedProjectReferences:Ya,getProjectReferenceRedirect:Cl,getResolvedProjectReferenceToRedirect:ql,getResolvedProjectReferenceByPath:jh,forEachResolvedProjectReference:Nc,isSourceOfProjectReferenceRedirect:Jm,emitBuildInfo:vc,fileExists:mt,readFile:Ei,directoryExists:Ot,getSymlinkCache:b5,realpath:(se=Ai.realpath)==null?void 0:se.bind(Ai),useCaseSensitiveFileNames:()=>Ai.useCaseSensitiveFileNames(),getCanonicalFileName:m4,getFileIncludeReasons:()=>Ye,structureIsReused:Qi,writeFile:Fn};return vi(),Yt==null||Yt.forEach(Xe=>{switch(Xe.kind){case 1:return bt.add(ki(Xe.file&&Ko(Xe.file),Xe.fileProcessingReason,Xe.diagnostic,Xe.args||_t));case 0:const{file:Dt,pos:oi,end:Ti}=FM(on,Xe.reason);return bt.add(Rd(Dt,H.checkDefined(oi),H.checkDefined(Ti)-oi,Xe.diagnostic,...Xe.args||_t));case 2:return Xe.diagnostics.forEach(Xi=>bt.add(Xi));default:H.assertNever(Xe)}}),Di(),ul("afterProgram"),Tm("Program","beforeProgram","afterProgram"),(ge=Gn)==null||ge.pop(),on;function le(Xe,Dt,oi){var Ti;return(Ti=ei==null?void 0:ei.get(Xe.path))==null?void 0:Ti.get(Dt,oi)}function te(Xe,Dt,oi){var Ti;return(Ti=Ut==null?void 0:Ut.get(Xe.path))==null?void 0:Ti.get(Dt,oi)}function we(Xe,Dt){je(ei,Xe,Dt)}function de(Xe,Dt){je(Ut,Xe,Dt)}function je(Xe,Dt,oi){var Ti;oi?(Ti=Xe==null?void 0:Xe.get(oi.path))==null||Ti.forEach((Xi,Rn,tn)=>Dt(Xi,Rn,tn,oi.path)):Xe==null||Xe.forEach((Xi,Rn)=>Xi.forEach((tn,bn,kr)=>Dt(tn,bn,kr,Rn)))}function X(){return ji||(ji=new Map,we(({resolvedModule:Xe})=>{Xe!=null&&Xe.packageId&&ji.set(Xe.packageId.name,Xe.extension===".d.ts"||!!ji.get(Xe.packageId.name))}),ji)}function it(Xe){return X().has($Y(Xe))}function Ct(Xe){return!!X().get(Xe)}function ct(Xe){var Dt;(Dt=Xe.resolutionDiagnostics)!=null&&Dt.length&&(Yt??(Yt=[])).push({kind:2,diagnostics:Xe.resolutionDiagnostics})}function Qt(Xe,Dt,oi,Ti){if(Ai.resolveModuleNameLiterals||!Ai.resolveModuleNames)return ct(oi);if(!tu||Id(Dt))return;const Xi=$a(Xe.originalFileName,jn),Rn=lr(Xi),tn=Sn(Xe),bn=tu.getFromNonRelativeNameCache(Dt,Ti,Rn,tn);bn&&ct(bn)}function Li(Xe,Dt,oi){var Ti,Xi;if(!Xe.length)return _t;const Rn=$a(Dt.originalFileName,jn),tn=Sn(Dt);(Ti=Gn)==null||Ti.push(Gn.Phase.Program,"resolveModuleNamesWorker",{containingFileName:Rn}),ul("beforeResolveModule");const bn=oa(Xe,Rn,tn,ne,Dt,oi);return ul("afterResolveModule"),Tm("ResolveModule","beforeResolveModule","afterResolveModule"),(Xi=Gn)==null||Xi.pop(),bn}function Ui(Xe,Dt,oi){var Ti,Xi;if(!Xe.length)return[];const Rn=Ja(Dt)?void 0:Dt,tn=Ja(Dt)?Dt:$a(Dt.originalFileName,jn),bn=Rn&&Sn(Rn);(Ti=Gn)==null||Ti.push(Gn.Phase.Program,"resolveTypeReferenceDirectiveNamesWorker",{containingFileName:tn}),ul("beforeResolveTypeReference");const kr=ra(Xe,tn,bn,ne,Rn,oi);return ul("afterResolveTypeReference"),Tm("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),(Xi=Gn)==null||Xi.pop(),kr}function Sn(Xe){const Dt=ql(Xe.originalFileName);if(Dt||!e1(Xe.originalFileName))return Dt;const oi=du(Xe.path);if(oi)return oi;if(!Ai.realpath||!ne.preserveSymlinks||!Xe.originalFileName.includes(o_))return;const Ti=Xu(Ai.realpath(Xe.originalFileName));return Ti===Xe.path?void 0:du(Ti)}function du(Xe){const Dt=ip(Xe);if(Ja(Dt))return ql(Dt);if(Dt)return Nc(oi=>{const Ti=y0(oi.commandLine.options);if(Ti)return Xu(Ti)===Xe?oi:void 0})}function Ru(Xe,Dt){return nl(pr(Xe),pr(Dt))}function pr(Xe){if(GE(Ba,Xe.fileName,!1)){const Dt=Ac(Xe.fileName);if(Dt==="lib.d.ts"||Dt==="lib.es6.d.ts")return 0;const oi=D8(yN(Dt,"lib."),".d.ts"),Ti=YV.indexOf(oi);if(Ti!==-1)return Ti+1}return YV.length+2}function Xu(Xe){return J0(Xe,jn,m4)}function ca(){if(De===void 0){const Xe=ti(Ge,Dt=>p7(Dt,on));De=yM(ne,()=>qi(Xe,Dt=>Dt.isDeclarationFile?void 0:Dt.fileName),jn,m4,Dt=>Ee(Xe,Dt))}return De}function Ku(){var Xe;if(!Je){vl(),Je=new Set;for(const Dt of Ge)(Xe=Dt.classifiableNames)==null||Xe.forEach(oi=>Je.add(oi))}return Je}function ja(Xe,Dt){if(Qi===0&&!Dt.ambientModuleNames.length)return Li(Xe,Dt,void 0);let oi,Ti,Xi;const Rn=H7e,tn=pe&&pe.getSourceFile(Dt.fileName);for(let bu=0;bu{const Ti=(Dt?Dt.commandLine.projectReferences:Se)[oi],Xi=Bt(Ti);return Xe?!Xi||Xi.sourceFile!==Xe.sourceFile||!On(Xe.commandLine.fileNames,Xi.commandLine.fileNames):Xi!==void 0},(Xe,Dt)=>{const oi=Dt?jh(Dt.sourceFile.path).commandLine.projectReferences:Se;return!On(Xe,oi,a0e)})}function as(){var Xe;if(!pe)return 0;const Dt=pe.getCompilerOptions();if(UU(Dt,ne))return 0;const oi=pe.getRootFileNames();if(!On(oi,Ce)||!Ir())return 0;Se&&(et=Se.map(Bt));const Ti=[],Xi=[];if(Qi=2,pe.getMissingFilePaths().some(Cu=>Ai.fileExists(Cu)))return 0;const Rn=pe.getSourceFiles();let tn;(Cu=>{Cu[Cu.Exists=0]="Exists",Cu[Cu.Modified=1]="Modified"})(tn||(tn={}));const bn=new Map;for(const Cu of Rn){const bu=Fo(Cu.fileName,tu,Ai,ne);let Eu=Ai.getSourceFileByPath?Ai.getSourceFileByPath(Cu.fileName,Cu.resolvedPath,bu,void 0,$i):Ai.getSourceFile(Cu.fileName,bu,void 0,$i);if(!Eu)return 0;Eu.packageJsonLocations=(Xe=bu.packageJsonLocations)!=null&&Xe.length?bu.packageJsonLocations:void 0,Eu.packageJsonScope=bu.packageJsonScope,H.assert(!Eu.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");let sa;if(Cu.redirectInfo){if(Eu!==Cu.redirectInfo.unredirected)return 0;sa=!1,Eu=Cu}else if(pe.redirectTargetsMap.has(Cu.path)){if(Eu!==Cu)return 0;sa=!1}else sa=Eu!==Cu;Eu.path=Cu.path,Eu.originalFileName=Cu.originalFileName,Eu.resolvedPath=Cu.resolvedPath,Eu.fileName=Cu.fileName;const p0=pe.sourceFileToPackageName.get(Cu.path);if(p0!==void 0){const o0=bn.get(p0),Gf=sa?1:0;if(o0!==void 0&&Gf===1||o0===1)return 0;bn.set(p0,Gf)}if(sa)Cu.impliedNodeFormat!==Eu.impliedNodeFormat?Qi=1:On(Cu.libReferenceDirectives,Eu.libReferenceDirectives,S0)?Cu.hasNoDefaultLib!==Eu.hasNoDefaultLib?Qi=1:On(Cu.referencedFiles,Eu.referencedFiles,S0)?(Bd(Eu),On(Cu.imports,Eu.imports,ud)&&On(Cu.moduleAugmentations,Eu.moduleAugmentations,ud)?(Cu.flags&12582912)!==(Eu.flags&12582912)?Qi=1:On(Cu.typeReferenceDirectives,Eu.typeReferenceDirectives,S0)||(Qi=1):Qi=1):Qi=1:Qi=1,Xi.push(Eu);else if(Da(Cu.path))Qi=1,Xi.push(Eu);else for(const o0 of Cu.ambientModuleNames)ft.set(o0,Cu.fileName);Ti.push(Eu)}if(Qi!==2)return Qi;for(const Cu of Xi){const bu=ctt(Cu),Eu=ja(bu,Cu);(ht??(ht=new Map)).set(Cu.path,Eu),s0e(bu,Cu,Eu,(eC,t6)=>pe.getResolvedModule(Cu,eC,t6),kbe,yH)&&(Qi=1);const p0=Cu.typeReferenceDirectives,o0=wn(p0,Cu);(Ni??(Ni=new Map)).set(Cu.path,o0),s0e(p0,Cu,o0,(eC,t6)=>pe==null?void 0:pe.getResolvedTypeReferenceDirective(Cu,eC,t6),Fbe,LQ)&&(Qi=1)}if(Qi!==2)return Qi;if(bbe(Dt,ne)||pe.resolvedLibReferences&&h1(pe.resolvedLibReferences,(Cu,bu)=>d3(bu).actual!==Cu.actual))return 1;if(Ai.hasChangedAutomaticTypeDirectiveNames){if(Ai.hasChangedAutomaticTypeDirectiveNames())return 1}else if(Ie=VY(ne,Ai),!On(pe.getAutomaticTypeDirectiveNames(),Ie))return 1;Xt=pe.getMissingFilePaths(),H.assert(Ti.length===pe.getSourceFiles().length);for(const Cu of Ti)qt.set(Cu.path,Cu);return pe.getFilesByNameMap().forEach((Cu,bu)=>{if(!Cu){qt.set(bu,Cu);return}if(Cu.path===bu){pe.isSourceFileFromExternalLibrary(Cu)&&Pi.set(Cu.path,!0);return}qt.set(bu,qt.get(Cu.path))}),Ge=Ti,Ye=pe.getFileIncludeReasons(),Yt=pe.getFileProcessingDiagnostics(),Gt=pe.getResolvedTypeReferenceDirectives(),Ie=pe.getAutomaticTypeDirectiveNames(),st=pe.getAutomaticTypeDirectiveResolutions(),Qe=pe.sourceFileToPackageName,Et=pe.redirectTargetsMap,Mt=pe.usesUriStyleNodeCoreModules,ei=pe.resolvedModules,Ut=pe.resolvedTypeReferenceDirectiveNames,St=pe.resolvedLibReferences,ji=pe.getCurrentPackagesMap(),2}function wo(Xe){return{getPrependNodes:Ul,getCanonicalFileName:m4,getCommonSourceDirectory:on.getCommonSourceDirectory,getCompilerOptions:on.getCompilerOptions,getCurrentDirectory:()=>jn,getSourceFile:on.getSourceFile,getSourceFileByPath:on.getSourceFileByPath,getSourceFiles:on.getSourceFiles,getLibFileFromReference:on.getLibFileFromReference,isSourceFileFromExternalLibrary:wl,getResolvedProjectReferenceToRedirect:ql,getProjectReferenceRedirect:Cl,isSourceOfProjectReferenceRedirect:Jm,getSymlinkCache:b5,writeFile:Xe||Fn,isEmitBlocked:Ho,readFile:Dt=>Ai.readFile(Dt),fileExists:Dt=>{const oi=Xu(Dt);return Ko(oi)?!0:kt(Xt,oi)?!1:Ai.fileExists(Dt)},useCaseSensitiveFileNames:()=>Ai.useCaseSensitiveFileNames(),getBuildInfo:Dt=>{var oi;return(oi=on.getBuildInfo)==null?void 0:oi.call(on,Dt)},getSourceFileFromReference:(Dt,oi)=>on.getSourceFileFromReference(Dt,oi),redirectTargetsMap:Et,getFileIncludeReasons:on.getFileIncludeReasons,createHash:Lo(Ai,Ai.createHash)}}function Fn(Xe,Dt,oi,Ti,Xi,Rn){Ai.writeFile(Xe,Dt,oi,Ti,Xi,Rn)}function vc(Xe){var Dt,oi;H.assert(!y0(ne)),(Dt=Gn)==null||Dt.push(Gn.Phase.Emit,"emitBuildInfo",{},!0),ul("beforeEmit");const Ti=EQ(DQ,wo(Xe),void 0,c1e,!1,!0);return ul("afterEmit"),Tm("Emit","beforeEmit","afterEmit"),(oi=Gn)==null||oi.pop(),Ti}function Ya(){return et}function c0(){return Se}function Ul(){return N1e(Se,(Xe,Dt)=>{var oi;return(oi=et[Dt])==null?void 0:oi.commandLine},Xe=>{const Dt=Xu(Xe),oi=Ko(Dt);return oi?oi.text:qt.has(Dt)?void 0:Ai.readFile(Dt)},Ai)}function wl(Xe){return!!Pi.get(Xe.path)}function hd(Xe){if(!Xe.isDeclarationFile)return!1;if(Xe.hasNoDefaultLib)return!0;if(!ne.noLib)return!1;const Dt=Ai.useCaseSensitiveFileNames()?XA:QA;return ne.lib?Oe(ne.lib,oi=>Dt(Xe.fileName,St.get(oi).actual)):Dt(Xe.fileName,yr())}function vl(){return Ke||(Ke=PAe(on))}function co(Xe,Dt,oi,Ti,Xi,Rn){var tn,bn;(tn=Gn)==null||tn.push(Gn.Phase.Emit,"emit",{path:Xe==null?void 0:Xe.path},!0);const kr=Uc(()=>id(on,Xe,Dt,oi,Ti,Xi,Rn));return(bn=Gn)==null||bn.pop(),kr}function Ho(Xe){return Dn.has(Xu(Xe))}function id(Xe,Dt,oi,Ti,Xi,Rn,tn){if(!tn){const Cu=L1e(Xe,Dt,oi,Ti);if(Cu)return Cu}const bn=vl().getEmitResolver(y0(ne)?void 0:Dt,Ti);ul("beforeEmit");const kr=EQ(bn,wo(oi),Dt,l1e(ne,Rn,Xi),Xi,!1,tn);return ul("afterEmit"),Tm("Emit","beforeEmit","afterEmit"),kr}function Y0(Xe){return Ko(Xu(Xe))}function Ko(Xe){return qt.get(Xe)||void 0}function Tc(Xe,Dt,oi){return A8(Xe?Dt(Xe,oi):ju(on.getSourceFiles(),Ti=>(oi&&oi.throwIfCancellationRequested(),Dt(Ti,oi))))}function Jp(Xe,Dt){return Tc(Xe,dl,Dt)}function Lc(Xe,Dt){return Tc(Xe,Ch,Dt)}function Il(Xe){var Dt;return Xe?(Dt=Ve.perFile)==null?void 0:Dt.get(Xe.path):Ve.allDiagnostics}function cl(Xe,Dt){return sf(Xe,Dt)}function Ka(Xe){var Dt;if(AP(Xe,ne,on))return _t;const oi=bt.getDiagnostics(Xe.fileName);return(Dt=Xe.commentDirectives)!=null&&Dt.length?$(Xe,Xe.commentDirectives,oi).diagnostics:oi}function Ri(Xe,Dt){const oi=on.getCompilerOptions();return!Xe||y0(oi)?fn(Xe,Dt):Tc(Xe,Tu,Dt)}function dl(Xe){return gh(Xe)?(Xe.additionalSyntacticDiagnostics||(Xe.additionalSyntacticDiagnostics=mi(Xe)),Hi(Xe.additionalSyntacticDiagnostics,Xe.parseDiagnostics)):Xe.parseDiagnostics}function Uc(Xe){try{return Xe()}catch(Dt){throw Dt instanceof b8&&(Ke=void 0),Dt}}function Ch(Xe,Dt){return Hi(BQ(sf(Xe,Dt),ne),Ka(Xe))}function sf(Xe,Dt){return uu(Xe,Dt,Ve,Q0)}function Q0(Xe,Dt){return Uc(()=>{if(AP(Xe,ne,on))return _t;const oi=vl();H.assert(!!Xe.bindDiagnostics);const Xi=(Xe.scriptKind===1||Xe.scriptKind===2)&&uV(Xe,ne),Rn=nj(Xe,ne.checkJs),bn=!(!!Xe.checkJsDirective&&Xe.checkJsDirective.enabled===!1)&&(Xe.scriptKind===3||Xe.scriptKind===4||Xe.scriptKind===5||Rn||Xi||Xe.scriptKind===7);let kr=bn?Xe.bindDiagnostics:_t,Cu=bn?oi.getDiagnostics(Xe,Dt):_t;return Rn&&(kr=ti(kr,bu=>NQ.has(bu.code)),Cu=ti(Cu,bu=>NQ.has(bu.code))),Cc(Xe,bn&&!Rn,kr,Cu,Xi?Xe.jsDocDiagnostics:void 0)})}function Cc(Xe,Dt,...oi){var Ti;const Xi=Va(oi);if(!Dt||!((Ti=Xe.commentDirectives)!=null&&Ti.length))return Xi;const{diagnostics:Rn,directives:tn}=$(Xe,Xe.commentDirectives,Xi);for(const bn of tn.getUnusedExpectations())Rn.push(Vbe(Xe,bn.range,F.Unused_ts_expect_error_directive));return Rn}function $(Xe,Dt,oi){const Ti=Bbe(Xe,Dt);return{diagnostics:oi.filter(Rn=>vt(Rn,Ti)===-1),directives:Ti}}function tt(Xe,Dt){return Uc(()=>vl().getSuggestionDiagnostics(Xe,Dt))}function vt(Xe,Dt){const{file:oi,start:Ti}=Xe;if(!oi)return-1;const Xi=$3(oi);let Rn=k8(Xi,Ti).line-1;for(;Rn>=0;){if(Dt.markUsed(Rn))return Rn;const tn=oi.text.slice(Xi[Rn],Xi[Rn+1]).trim();if(tn!==""&&!/^(\s*)\/\/(.*)$/.test(tn))return-1;Rn--}return-1}function mi(Xe){return Uc(()=>{const Dt=[];return oi(Xe,Xe),uM(Xe,oi,Ti),Dt;function oi(bn,kr){switch(kr.kind){case 169:case 172:case 174:if(kr.questionToken===bn)return Dt.push(tn(bn,F.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 173:case 176:case 177:case 178:case 218:case 262:case 219:case 260:if(kr.type===bn)return Dt.push(tn(bn,F.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(bn.kind){case 273:if(bn.isTypeOnly)return Dt.push(tn(kr,F._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 278:if(bn.isTypeOnly)return Dt.push(tn(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 276:case 281:if(bn.isTypeOnly)return Dt.push(tn(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,bf(bn)?"import...type":"export...type")),"skip";break;case 271:return Dt.push(tn(bn,F.import_can_only_be_used_in_TypeScript_files)),"skip";case 277:if(bn.isExportEquals)return Dt.push(tn(bn,F.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 298:if(bn.token===119)return Dt.push(tn(bn,F.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 264:const bu=Uo(120);return H.assertIsDefined(bu),Dt.push(tn(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,bu)),"skip";case 267:const Eu=bn.flags&32?Uo(145):Uo(144);return H.assertIsDefined(Eu),Dt.push(tn(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,Eu)),"skip";case 265:return Dt.push(tn(bn,F.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 176:case 174:case 262:return bn.body?void 0:(Dt.push(tn(bn,F.Signature_declarations_can_only_be_used_in_TypeScript_files)),"skip");case 266:const sa=H.checkDefined(Uo(94));return Dt.push(tn(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,sa)),"skip";case 235:return Dt.push(tn(bn,F.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 234:return Dt.push(tn(bn.type,F.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 238:return Dt.push(tn(bn.type,F.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 216:H.fail()}}function Ti(bn,kr){if(Hce(kr)){const Cu=Le(kr.modifiers,g1);Cu&&Dt.push(tn(Cu,F.Decorators_are_not_valid_here))}else if(Ak(kr)&&kr.modifiers){const Cu=Ue(kr.modifiers,g1);if(Cu>=0){if(io(kr)&&!ne.experimentalDecorators)Dt.push(tn(kr.modifiers[Cu],F.Decorators_are_not_valid_here));else if(Wc(kr)){const bu=Ue(kr.modifiers,L7);if(bu>=0){const Eu=Ue(kr.modifiers,rY);if(Cu>bu&&Eu>=0&&Cu=0&&Cu=0&&Dt.push(Es(tn(kr.modifiers[sa],F.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),tn(kr.modifiers[Cu],F.Decorator_used_before_export_here)))}}}}}switch(kr.kind){case 263:case 231:case 174:case 176:case 177:case 178:case 218:case 262:case 219:if(bn===kr.typeParameters)return Dt.push(Rn(bn,F.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 243:if(bn===kr.modifiers)return Xi(kr.modifiers,kr.kind===243),"skip";break;case 172:if(bn===kr.modifiers){for(const Cu of bn)Qo(Cu)&&Cu.kind!==126&&Cu.kind!==129&&Dt.push(tn(Cu,F.The_0_modifier_can_only_be_used_in_TypeScript_files,Uo(Cu.kind)));return"skip"}break;case 169:if(bn===kr.modifiers&&Oe(bn,Qo))return Dt.push(Rn(bn,F.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 213:case 214:case 233:case 285:case 286:case 215:if(bn===kr.typeArguments)return Dt.push(Rn(bn,F.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip";break}}function Xi(bn,kr){for(const Cu of bn)switch(Cu.kind){case 87:if(kr)continue;case 125:case 123:case 124:case 148:case 138:case 128:case 164:case 103:case 147:Dt.push(tn(Cu,F.The_0_modifier_can_only_be_used_in_TypeScript_files,Uo(Cu.kind)));break;case 126:case 95:case 90:case 129:}}function Rn(bn,kr,...Cu){const bu=bn.pos;return Rd(Xe,bu,bn.end-bu,kr,...Cu)}function tn(bn,kr,...Cu){return K4(Xe,bn,kr,...Cu)}})}function fn(Xe,Dt){return uu(Xe,Dt,We,Wu)}function Wu(Xe,Dt){return Uc(()=>{const oi=vl().getEmitResolver(Xe,Dt);return F7e(wo(Is),oi,Xe)||_t})}function uu(Xe,Dt,oi,Ti){var Xi;const Rn=Xe?(Xi=oi.perFile)==null?void 0:Xi.get(Xe.path):oi.allDiagnostics;if(Rn)return Rn;const tn=Ti(Xe,Dt);return Xe?(oi.perFile||(oi.perFile=new Map)).set(Xe.path,tn):oi.allDiagnostics=tn,tn}function Tu(Xe,Dt){return Xe.isDeclarationFile?[]:fn(Xe,Dt)}function Nr(){return A8(Hi(bt.getGlobalDiagnostics(),Vu()))}function Vu(){if(!ne.configFile)return _t;let Xe=bt.getDiagnostics(ne.configFile.fileName);return Nc(Dt=>{Xe=Hi(Xe,bt.getDiagnostics(Dt.sourceFile.fileName))}),Xe}function Ss(){return Ce.length?A8(vl().getGlobalDiagnostics().slice()):_t}function ic(){return ve||_t}function nd(Xe,Dt,oi,Ti){D1($o(Xe),Dt,oi,void 0,Ti)}function S0(Xe,Dt){return Xe.fileName===Dt.fileName}function ud(Xe,Dt){return Xe.kind===80?Dt.kind===80&&Xe.escapedText===Dt.escapedText:Dt.kind===11&&Xe.text===Dt.text}function m0(Xe,Dt){const oi=q.createStringLiteral(Xe),Ti=q.createImportDeclaration(void 0,void 0,oi,void 0);return F7(Ti,2),ks(oi,Ti),ks(Ti,Dt),oi.flags&=-17,Ti.flags&=-17,oi}function Bd(Xe){if(Xe.imports)return;const Dt=gh(Xe),oi=wc(Xe);let Ti,Xi,Rn;if((mg(ne)||oi)&&!Xe.isDeclarationFile){ne.importHelpers&&(Ti=[m0(Hx,Xe)]);const bu=uZ(nZ(ne,Xe),ne);bu&&(Ti||(Ti=[])).push(m0(bu,Xe))}for(const bu of Xe.statements)bn(bu,!1);const tn=Dt&&eZ(ne);(Xe.flags&4194304||tn)&&kr(Xe),Xe.imports=Ti||_t,Xe.moduleAugmentations=Xi||_t,Xe.ambientModuleNames=Rn||_t;return;function bn(bu,Eu){if(aj(bu)){const sa=Y8(bu);sa&&us(sa)&&sa.text&&(!Eu||!Id(sa.text))&&(Vx(bu,!1),Ti=xi(Ti,sa),!Mt&&Jn===0&&!Xe.isDeclarationFile&&(Mt=Pa(sa.text,"node:")))}else if(_c(bu)&&N1(bu)&&(Eu||Yu(bu,128)||Xe.isDeclarationFile)){bu.name.parent=bu;const sa=J4(bu.name);if(oi||Eu&&!Id(sa))(Xi||(Xi=[])).push(bu.name);else if(!Eu){Xe.isDeclarationFile&&(Rn||(Rn=[])).push(sa);const p0=bu.body;if(p0)for(const o0 of p0.statements)bn(o0,!0)}}}function kr(bu){const Eu=/import|require/g;for(;Eu.exec(bu.text)!==null;){const sa=Cu(bu,Eu.lastIndex);tn&&xf(sa,!0)||dm(sa)&&sa.arguments.length>=1&&t0(sa.arguments[0])?(Vx(sa,!1),Ti=xi(Ti,sa.arguments[0])):zx(sa)&&(Vx(sa,!1),Ti=xi(Ti,sa.argument.literal))}}function Cu(bu,Eu){let sa=bu;const p0=o0=>{if(o0.pos<=Eu&&(EuMl(Xi,tn))){oi&&(z2(Xi)?oi(F.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,Xe):oi(F.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,Xe,"'"+Va(Ln).join("', '")+"'"));return}const Rn=Dt(Xe);if(oi)if(Rn)Jv(Ti)&&Xi===Ai.getCanonicalFileName(Ko(Ti.file).fileName)&&oi(F.A_file_cannot_have_a_reference_to_itself);else{const tn=Cl(Xe);tn?oi(F.Output_file_0_has_not_been_built_from_source_file_1,tn,Xe):oi(F.File_0_not_found,Xe)}return Rn}else{const Xi=ne.allowNonTsExtensions&&Dt(Xe);if(Xi)return Xi;if(oi&&ne.allowNonTsExtensions){oi(F.File_0_not_found,Xe);return}const Rn=L(Ln[0],tn=>Dt(Xe+tn));return oi&&!Rn&&oi(F.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,Xe,"'"+Va(Ln).join("', '")+"'"),Rn}}function D1(Xe,Dt,oi,Ti,Xi){h4(Xe,Rn=>ba(Rn,Dt,oi,Xi,Ti),(Rn,...tn)=>In(void 0,Xi,Rn,tn),Xi)}function He(Xe,Dt){return D1(Xe,!1,!1,void 0,Dt)}function di(Xe,Dt,oi){!Jv(oi)&&Oe(Ye.get(Dt.path),Jv)?In(Dt,oi,F.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[Dt.fileName,Xe]):In(Dt,oi,F.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[Xe,Dt.fileName])}function Mn(Xe,Dt,oi,Ti,Xi,Rn,tn){var bn;const kr=a_.createRedirectedSourceFile({redirectTarget:Xe,unredirected:Dt});return kr.fileName=oi,kr.path=Ti,kr.resolvedPath=Xi,kr.originalFileName=Rn,kr.packageJsonLocations=(bn=tn.packageJsonLocations)!=null&&bn.length?tn.packageJsonLocations:void 0,kr.packageJsonScope=tn.packageJsonScope,Pi.set(Ti,Jn>0),kr}function ba(Xe,Dt,oi,Ti,Xi){var Rn,tn;(Rn=Gn)==null||Rn.push(Gn.Phase.Program,"findSourceFile",{fileName:Xe,isDefaultLib:Dt||void 0,fileIncludeKind:lU[Ti.kind]});const bn=To(Xe,Dt,oi,Ti,Xi);return(tn=Gn)==null||tn.pop(),bn}function Fo(Xe,Dt,oi,Ti){const Xi=T1e($a(Xe,jn),Dt==null?void 0:Dt.getPackageJsonInfoCache(),oi,Ti),Rn=Os(Ti),tn=Qj(Ti);return typeof Xi=="object"?{...Xi,languageVersion:Rn,setExternalModuleIndicator:tn,jsDocParsingMode:oi.jsDocParsingMode}:{languageVersion:Rn,impliedNodeFormat:Xi,setExternalModuleIndicator:tn,jsDocParsingMode:oi.jsDocParsingMode}}function To(Xe,Dt,oi,Ti,Xi){var Rn;const tn=Xu(Xe);if(ni){let Eu=ip(tn);if(!Eu&&Ai.realpath&&ne.preserveSymlinks&&e1(Xe)&&Xe.includes(o_)){const sa=Xu(Ai.realpath(Xe));sa!==tn&&(Eu=ip(sa))}if(Eu){const sa=Ja(Eu)?ba(Eu,Dt,oi,Ti,Xi):void 0;return sa&&fc(sa,tn,void 0),sa}}const bn=Xe;if(qt.has(tn)){const Eu=qt.get(tn);if(nc(Eu||void 0,Ti),Eu&&ne.forceConsistentCasingInFileNames!==!1){const sa=Eu.fileName;Xu(sa)!==Xu(Xe)&&(Xe=Cl(Xe)||Xe);const o0=Fse(sa,jn),Gf=Fse(Xe,jn);o0!==Gf&&di(Xe,Eu,Ti)}return Eu&&Pi.get(Eu.path)&&Jn===0?(Pi.set(Eu.path,!1),ne.noResolve||(f4(Eu,Dt),c3(Eu)),ne.noLib||Wf(Eu),an.set(Eu.path,!1),Vh(Eu)):Eu&&an.get(Eu.path)&&JnIn(void 0,Ti,F.Cannot_read_file_0_Colon_1,[Xe,Eu]),$i);if(Xi){const Eu=Px(Xi),sa=bo.get(Eu);if(sa){const p0=Mn(sa,bu,Xe,tn,Xu(Xe),bn,Cu);return Et.add(sa.path,Xe),fc(p0,tn,kr),nc(p0,Ti),Qe.set(tn,ZU(Xi)),Be.push(p0),p0}else bu&&(bo.set(Eu,bu),Qe.set(tn,ZU(Xi)))}if(fc(bu,tn,kr),bu){if(Pi.set(tn,Jn>0),bu.fileName=Xe,bu.path=tn,bu.resolvedPath=Xu(Xe),bu.originalFileName=bn,bu.packageJsonLocations=(Rn=Cu.packageJsonLocations)!=null&&Rn.length?Cu.packageJsonLocations:void 0,bu.packageJsonScope=Cu.packageJsonScope,nc(bu,Ti),Ai.useCaseSensitiveFileNames()){const Eu=$g(tn),sa=Pe.get(Eu);sa?di(Xe,sa,Ti):Pe.set(Eu,bu)}aa=aa||bu.hasNoDefaultLib&&!oi,ne.noResolve||(f4(bu,Dt),c3(bu)),ne.noLib||Wf(bu),Vh(bu),Dt?xe.push(bu):Be.push(bu)}return bu}function nc(Xe,Dt){Xe&&Ye.add(Xe.path,Dt)}function fc(Xe,Dt,oi){oi?(qt.set(oi,Xe),qt.set(Dt,Xe||!1)):qt.set(Dt,Xe)}function Cl(Xe){const Dt=Tl(Xe);return Dt&&bc(Dt,Xe)}function Tl(Xe){if(!(!et||!et.length||e1(Xe)||Ml(Xe,".json")))return ql(Xe)}function bc(Xe,Dt){const oi=y0(Xe.commandLine.options);return oi?wv(oi,".d.ts"):bM(Dt,Xe.commandLine,!Ai.useCaseSensitiveFileNames())}function ql(Xe){ii===void 0&&(ii=new Map,Nc(oi=>{Xu(ne.configFilePath)!==oi.sourceFile.path&&oi.commandLine.fileNames.forEach(Ti=>ii.set(Xu(Ti),oi.sourceFile.path))}));const Dt=ii.get(Xu(Xe));return Dt&&jh(Dt)}function Nc(Xe){return S1e(et,Xe)}function ip(Xe){if(e1(Xe))return me===void 0&&(me=new Map,Nc(Dt=>{const oi=y0(Dt.commandLine.options);if(oi){const Ti=wv(oi,".d.ts");me.set(Xu(Ti),!0)}else{const Ti=Mh(()=>kM(Dt.commandLine,!Ai.useCaseSensitiveFileNames()));L(Dt.commandLine.fileNames,Xi=>{if(!e1(Xi)&&!Ml(Xi,".json")){const Rn=bM(Xi,Dt.commandLine,!Ai.useCaseSensitiveFileNames(),Ti);me.set(Xu(Rn),Xi)}})}})),me.get(Xe)}function Jm(Xe){return ni&&!!ql(Xe)}function jh(Xe){if(gt)return gt.get(Xe)||void 0}function f4(Xe,Dt){L(Xe.referencedFiles,(oi,Ti)=>{D1(bQ(oi.fileName,Xe.fileName),Dt,!1,void 0,{kind:4,file:Xe.path,index:Ti})})}function c3(Xe){const Dt=Xe.typeReferenceDirectives;if(!Dt.length)return;const oi=(Ni==null?void 0:Ni.get(Xe.path))||wn(Dt,Xe),Ti=U7();(Ut??(Ut=new Map)).set(Xe.path,Ti);for(let Xi=0;Xi{const{libName:Ti,libFileName:Xi}=ltt(Dt);if(Xi)nd(R1(Xi),!0,!0,{kind:7,file:Xe.path,index:oi});else{const Rn=D8(yN(Ti,"lib."),".d.ts"),tn=bN(Rn,YV,il),bn=tn?F.Cannot_find_lib_definition_for_0_Did_you_mean_1:F.Cannot_find_lib_definition_for_0,kr=tn?[Ti,tn]:[Ti];(Yt||(Yt=[])).push({kind:0,reason:{kind:7,file:Xe.path,index:oi},diagnostic:bn,args:kr})}})}function m4(Xe){return Ai.getCanonicalFileName(Xe)}function Vh(Xe){var Dt;if(Bd(Xe),Xe.imports.length||Xe.moduleAugmentations.length){const oi=ctt(Xe),Ti=(ht==null?void 0:ht.get(Xe.path))||ja(oi,Xe);H.assert(Ti.length===oi.length);const Xi=(ni?(Dt=Sn(Xe))==null?void 0:Dt.commandLine.options:void 0)||ne,Rn=U7();(ei??(ei=new Map)).set(Xe.path,Rn);for(let tn=0;tnxn,Gf=p0&&!P1e(Xi,bn,Xe)&&!Xi.noResolve&&tnwc(tn)&&!tn.isDeclarationFile);if(ne.isolatedModules||ne.verbatimModuleSyntax)ne.module===0&&Dt<2&&ne.isolatedModules&&_s(F.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),ne.preserveConstEnums===!1&&_s(F.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled,ne.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules","preserveConstEnums");else if(oi&&Dt<2&&ne.module===0){const tn=C2(oi,typeof oi.externalModuleIndicator=="boolean"?oi:oi.externalModuleIndicator);bt.add(Rd(oi,tn.start,tn.length,F.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(Xe&&!ne.emitDeclarationOnly){if(ne.module&&!(ne.module===2||ne.module===4))_s(F.Only_amd_and_system_modules_are_supported_alongside_0,ne.out?"out":"outFile","module");else if(ne.module===void 0&&oi){const tn=C2(oi,typeof oi.externalModuleIndicator=="boolean"?oi:oi.externalModuleIndicator);bt.add(Rd(oi,tn.start,tn.length,F.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,ne.out?"out":"outFile"))}}if(M2(ne)&&(p1(ne)===1?_s(F.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic,"resolveJsonModule"):Qq(ne)||_s(F.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")),ne.outDir||ne.rootDir||ne.sourceRoot||ne.mapRoot){const tn=ca();ne.outDir&&tn===""&&Ge.some(bn=>WE(bn.fileName)>1)&&_s(F.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}ne.useDefineForClassFields&&Dt===0&&_s(F.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),ne.checkJs&&!Bv(ne)&&bt.add(cc(F.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),ne.emitDeclarationOnly&&(c4(ne)||_s(F.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),ne.noEmit&&_s(F.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),ne.emitDecoratorMetadata&&!ne.experimentalDecorators&&_s(F.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),ne.jsxFactory?(ne.reactNamespace&&_s(F.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(ne.jsx===4||ne.jsx===5)&&_s(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",sM.get(""+ne.jsx)),G7(ne.jsxFactory,Dt)||np("jsxFactory",F.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,ne.jsxFactory)):ne.reactNamespace&&!Lm(ne.reactNamespace,Dt)&&np("reactNamespace",F.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,ne.reactNamespace),ne.jsxFragmentFactory&&(ne.jsxFactory||_s(F.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(ne.jsx===4||ne.jsx===5)&&_s(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",sM.get(""+ne.jsx)),G7(ne.jsxFragmentFactory,Dt)||np("jsxFragmentFactory",F.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,ne.jsxFragmentFactory)),ne.reactNamespace&&(ne.jsx===4||ne.jsx===5)&&_s(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",sM.get(""+ne.jsx)),ne.jsxImportSource&&ne.jsx===2&&_s(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",sM.get(""+ne.jsx)),ne.preserveValueImports&&m1(ne)<5&&_s(F.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"preserveValueImports");const Ti=m1(ne);ne.verbatimModuleSyntax&&((Ti===2||Ti===3||Ti===4)&&_s(F.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System,"verbatimModuleSyntax"),ne.preserveValueImports&&Xx("preserveValueImports","verbatimModuleSyntax"),ne.importsNotUsedAsValues&&Xx("importsNotUsedAsValues","verbatimModuleSyntax")),ne.allowImportingTsExtensions&&!(ne.noEmit||ne.emitDeclarationOnly)&&np("allowImportingTsExtensions",F.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);const Xi=p1(ne);if(ne.resolvePackageJsonExports&&!b7(Xi)&&_s(F.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonExports"),ne.resolvePackageJsonImports&&!b7(Xi)&&_s(F.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonImports"),ne.customConditions&&!b7(Xi)&&_s(F.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"customConditions"),Xi===100&&!Yq(Ti)&&np("moduleResolution",F.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"bundler"),FN[Ti]&&100<=Ti&&Ti<=199&&!(3<=Xi&&Xi<=99)){const tn=FN[Ti];np("moduleResolution",F.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1,tn,tn)}else if(y8[Xi]&&3<=Xi&&Xi<=99&&!(100<=Ti&&Ti<=199)){const tn=y8[Xi];np("module",F.Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1,tn,tn)}if(!ne.noEmit&&!ne.suppressOutputPathCheck){const tn=wo(),bn=new Set;d1e(tn,kr=>{ne.emitDeclarationOnly||Rn(kr.jsFilePath,bn),Rn(kr.declarationFilePath,bn)})}function Rn(tn,bn){if(tn){const kr=Xu(tn);if(qt.has(kr)){let bu;ne.configFilePath||(bu=ro(void 0,F.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)),bu=ro(bu,F.Cannot_write_file_0_because_it_would_overwrite_input_file,tn),e6(tn,qq(bu))}const Cu=Ai.useCaseSensitiveFileNames()?kr:$g(kr);bn.has(Cu)?e6(tn,cc(F.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,tn)):bn.add(Cu)}}}function Ci(){const Xe=ne.ignoreDeprecations;if(Xe){if(Xe==="5.0")return new Lp(Xe);fe()}return Lp.zero}function Q(Xe,Dt,oi,Ti){const Xi=new Lp(Xe),Rn=new Lp(Dt),tn=new Lp(Ne||g),bn=Ci(),kr=Rn.compareTo(tn)!==1,Cu=!kr&&bn.compareTo(Xi)===-1;(kr||Cu)&&Ti((bu,Eu,sa)=>{kr?Eu===void 0?oi(bu,Eu,sa,F.Option_0_has_been_removed_Please_remove_it_from_your_configuration,bu):oi(bu,Eu,sa,F.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration,bu,Eu):Eu===void 0?oi(bu,Eu,sa,F.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error,bu,Dt,Xe):oi(bu,Eu,sa,F.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error,bu,Eu,Dt,Xe)})}function Me(){function Xe(Dt,oi,Ti,Xi,...Rn){if(Ti){const tn=ro(void 0,F.Use_0_instead,Ti),bn=ro(tn,Xi,...Rn);h3(!oi,Dt,void 0,bn)}else h3(!oi,Dt,void 0,Xi,...Rn)}Q("5.0","5.5",Xe,Dt=>{ne.target===0&&Dt("target","ES3"),ne.noImplicitUseStrict&&Dt("noImplicitUseStrict"),ne.keyofStringsOnly&&Dt("keyofStringsOnly"),ne.suppressExcessPropertyErrors&&Dt("suppressExcessPropertyErrors"),ne.suppressImplicitAnyIndexErrors&&Dt("suppressImplicitAnyIndexErrors"),ne.noStrictGenericChecks&&Dt("noStrictGenericChecks"),ne.charset&&Dt("charset"),ne.out&&Dt("out",void 0,"outFile"),ne.importsNotUsedAsValues&&Dt("importsNotUsedAsValues",void 0,"verbatimModuleSyntax"),ne.preserveValueImports&&Dt("preserveValueImports",void 0,"verbatimModuleSyntax")})}function wt(Xe,Dt,oi){function Ti(Xi,Rn,tn,bn,...kr){Um(Dt,oi,bn,...kr)}Q("5.0","5.5",Ti,Xi=>{Xe.prepend&&Xi("prepend")})}function ki(Xe,Dt,oi,Ti){var Xi;let Rn,tn,bn=Jv(Dt)?Dt:void 0;Xe&&((Xi=Ye.get(Xe.path))==null||Xi.forEach(sa)),Dt&&sa(Dt),bn&&(Rn==null?void 0:Rn.length)===1&&(Rn=void 0);const kr=bn&&FM(on,bn),Cu=Rn&&ro(Rn,F.The_file_is_in_the_program_because_Colon),bu=Xe&&Y1e(Xe),Eu=ro(bu?Cu?[Cu,...bu]:bu:Cu,oi,...Ti||_t);return kr&&ZB(kr)?nq(kr.file,kr.pos,kr.end-kr.pos,Eu,tn):qq(Eu,tn);function sa(p0){(Rn||(Rn=[])).push(ehe(on,p0)),!bn&&Jv(p0)?bn=p0:bn!==p0&&(tn=xi(tn,ir(p0))),p0===Dt&&(Dt=void 0)}}function In(Xe,Dt,oi,Ti){(Yt||(Yt=[])).push({kind:1,file:Xe&&Xe.path,fileProcessingReason:Dt,diagnostic:oi,args:Ti})}function tr(Xe,Dt,oi){bt.add(ki(Xe,void 0,Dt,oi))}function ir(Xe){if(Jv(Xe)){const Ti=FM(on,Xe);let Xi;switch(Xe.kind){case 3:Xi=F.File_is_included_via_import_here;break;case 4:Xi=F.File_is_included_via_reference_here;break;case 5:Xi=F.File_is_included_via_type_library_reference_here;break;case 7:Xi=F.File_is_included_via_library_reference_here;break;default:H.assertNever(Xe)}return ZB(Ti)?Rd(Ti.file,Ti.pos,Ti.end-Ti.pos,Xi):void 0}if(!ne.configFile)return;let Dt,oi;switch(Xe.kind){case 0:if(!ne.configFile.configFileSpecs)return;const Ti=$a(Ce[Xe.index],jn),Xi=Q1e(on,Ti);if(Xi){Dt=cq(ne.configFile,"files",Xi),oi=F.File_is_matched_by_files_list_specified_here;break}const Rn=X1e(on,Ti);if(!Rn||!Ja(Rn))return;Dt=cq(ne.configFile,"include",Rn),oi=F.File_is_matched_by_include_pattern_specified_here;break;case 1:case 2:const tn=H.checkDefined(et==null?void 0:et[Xe.index]),bn=FQ(Se,et,(sa,p0,o0)=>sa===tn?{sourceFile:(p0==null?void 0:p0.sourceFile)||ne.configFile,index:o0}:void 0);if(!bn)return;const{sourceFile:kr,index:Cu}=bn,bu=hj(kr,"references",sa=>Dh(sa.initializer)?sa.initializer:void 0);return bu&&bu.elements.length>Cu?K4(kr,bu.elements[Cu],Xe.kind===2?F.File_is_output_from_referenced_project_specified_here:F.File_is_source_from_referenced_project_specified_here):void 0;case 8:if(!ne.types)return;Dt=$m("types",Xe.typeReference),oi=F.File_is_entry_point_of_type_library_specified_here;break;case 6:if(Xe.index!==void 0){Dt=$m("lib",ne.lib[Xe.index]),oi=F.File_is_library_specified_here;break}const Eu=h1(XV.type,(sa,p0)=>sa===Os(ne)?p0:void 0);Dt=Eu?fd("target",Eu):void 0,oi=F.File_is_default_library_for_target_specified_here;break;default:H.assertNever(Xe)}return Dt&&K4(ne.configFile,Dt,oi)}function ha(){const Xe=ne.suppressOutputPathCheck?void 0:f5(ne);FQ(Se,et,(Dt,oi,Ti)=>{const Xi=(oi?oi.commandLine.projectReferences:Se)[Ti],Rn=oi&&oi.sourceFile;if(wt(Xi,Rn,Ti),!Dt){Um(Rn,Ti,F.File_0_not_found,Xi.path);return}const tn=Dt.commandLine.options;if((!tn.composite||tn.noEmit)&&(oi?oi.commandLine.fileNames:Ce).length&&(tn.composite||Um(Rn,Ti,F.Referenced_project_0_must_have_setting_composite_Colon_true,Xi.path),tn.noEmit&&Um(Rn,Ti,F.Referenced_project_0_may_not_disable_emit,Xi.path)),Xi.prepend){const bn=y0(tn);bn?Ai.fileExists(bn)||Um(Rn,Ti,F.Output_file_0_from_project_1_does_not_exist,bn,Xi.path):Um(Rn,Ti,F.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,Xi.path)}!oi&&Xe&&Xe===f5(tn)&&(Um(Rn,Ti,F.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,Xe,Xi.path),Dn.set(Xu(Xe),!0))})}function os(Xe,Dt,oi,...Ti){let Xi=!0;x1(Rn=>{ys(Rn.initializer)&&J8(Rn.initializer,Xe,tn=>{const bn=tn.initializer;Dh(bn)&&bn.elements.length>Dt&&(bt.add(K4(ne.configFile,bn.elements[Dt],oi,...Ti)),Xi=!1)})}),Xi&&bt.add(cc(oi,...Ti))}function ss(Xe,Dt,oi,...Ti){let Xi=!0;x1(Rn=>{ys(Rn.initializer)&&ia(Rn.initializer,Xe,Dt,void 0,oi,...Ti)&&(Xi=!1)}),Xi&&bt.add(cc(oi,...Ti))}function Rl(Xe,Dt){return J8(d_(),Xe,Dt)}function x1(Xe){return Rl("paths",Xe)}function fd(Xe,Dt){return Rl(Xe,oi=>us(oi.initializer)&&oi.initializer.text===Dt?oi.initializer:void 0)}function $m(Xe,Dt){const oi=d_();return oi&&Zbe(oi,Xe,Dt)}function _s(Xe,Dt,oi,Ti){h3(!0,Dt,oi,Xe,Dt,oi,Ti)}function np(Xe,Dt,...oi){h3(!1,Xe,void 0,Dt,...oi)}function Um(Xe,Dt,oi,...Ti){const Xi=hj(Xe||ne.configFile,"references",Rn=>Dh(Rn.initializer)?Rn.initializer:void 0);Xi&&Xi.elements.length>Dt?bt.add(K4(Xe||ne.configFile,Xi.elements[Dt],oi,...Ti)):bt.add(cc(oi,...Ti))}function h3(Xe,Dt,oi,Ti,...Xi){const Rn=d_();(!Rn||!ia(Rn,Xe,Dt,oi,Ti,...Xi))&&("messageText"in Ti?bt.add(qq(Ti)):bt.add(cc(Ti,...Xi)))}function d_(){return Cn===void 0&&(Cn=J8(ZN(ne.configFile),"compilerOptions",Xe=>ys(Xe.initializer)?Xe.initializer:void 0)||!1),Cn||void 0}function ia(Xe,Dt,oi,Ti,Xi,...Rn){let tn=!1;return J8(Xe,oi,bn=>{"messageText"in Xi?bt.add(Y3(ne.configFile,Dt?bn.name:bn.initializer,Xi)):bt.add(K4(ne.configFile,Dt?bn.name:bn.initializer,Xi,...Rn)),tn=!0},Ti),tn}function Xx(Xe,Dt){const oi=d_();oi?ia(oi,!0,Xe,void 0,F.Option_0_is_redundant_and_cannot_be_specified_with_option_1,Xe,Dt):_s(F.Option_0_is_redundant_and_cannot_be_specified_with_option_1,Xe,Dt)}function e6(Xe,Dt){Dn.set(Xu(Xe),!0),bt.add(Dt)}function bg(Xe){if(ne.noEmit)return!1;const Dt=Xu(Xe);if(Ko(Dt))return!1;const oi=y0(ne);if(oi)return sb(Dt,oi)||sb(Dt,_h(oi)+".d.ts");if(ne.declarationDir&&GE(ne.declarationDir,Dt,jn,!Ai.useCaseSensitiveFileNames()))return!0;if(ne.outDir)return GE(ne.outDir,Dt,jn,!Ai.useCaseSensitiveFileNames());if(jc(Dt,_B)||e1(Dt)){const Ti=_h(Dt);return!!Ko(Ti+".ts")||!!Ko(Ti+".tsx")}return!1}function sb(Xe,Dt){return pv(Xe,Dt,jn,!Ai.useCaseSensitiveFileNames())===0}function b5(){return Ai.getSymlinkCache?Ai.getSymlinkCache():(Ae||(Ae=ble(jn,m4)),Ge&&!Ae.hasProcessedResolutions()&&Ae.setSymlinksFromResolutions(we,de,st),Ae)}}function vzt(t){let u;const s=t.compilerHost.fileExists,d=t.compilerHost.directoryExists,f=t.compilerHost.getDirectories,p=t.compilerHost.realpath;if(!t.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:Is,fileExists:b};t.compilerHost.fileExists=b;let E;return d&&(E=t.compilerHost.directoryExists=z=>d.call(t.compilerHost,z)?(T(z),!0):t.getResolvedProjectReferences()?(u||(u=new Set,t.forEachResolvedProjectReference(j=>{const J=y0(j.commandLine.options);if(J)u.add(lr(t.toPath(J)));else{const K=j.commandLine.options.declarationDir||j.commandLine.options.outDir;K&&u.add(t.toPath(K))}})),M(z,!1)):!1),f&&(t.compilerHost.getDirectories=z=>!t.getResolvedProjectReferences()||d&&d.call(t.compilerHost,z)?f.call(t.compilerHost,z):[]),p&&(t.compilerHost.realpath=z=>{var j;return((j=t.getSymlinkCache().getSymlinkedFiles())==null?void 0:j.get(t.toPath(z)))||p.call(t.compilerHost,z)}),{onProgramCreateComplete:v,fileExists:b,directoryExists:E};function v(){t.compilerHost.fileExists=s,t.compilerHost.directoryExists=d,t.compilerHost.getDirectories=f}function b(z){return s.call(t.compilerHost,z)?!0:!t.getResolvedProjectReferences()||!e1(z)?!1:M(z,!0)}function B(z){const j=t.getSourceOfProjectReferenceRedirect(t.toPath(z));return j!==void 0?Ja(j)?s.call(t.compilerHost,j):!0:void 0}function k(z){const j=t.toPath(z),J=`${j}${rl}`;return U_(u,K=>j===K||Pa(K,J)||Pa(j,`${K}/`))}function T(z){var j;if(!t.getResolvedProjectReferences()||TP(z)||!p||!z.includes(o_))return;const J=t.getSymlinkCache(),K=zd(t.toPath(z));if((j=J.getSymlinkedDirectories())!=null&&j.has(K))return;const Y=$o(p.call(t.compilerHost,z));let oe;if(Y===z||(oe=zd(t.toPath(Y)))===K){J.setSymlinkedDirectory(K,!1);return}J.setSymlinkedDirectory(z,{real:zd(Y),realPath:oe})}function M(z,j){var J;const K=j?ae=>B(ae):ae=>k(ae),Y=K(z);if(Y!==void 0)return Y;const oe=t.getSymlinkCache(),se=oe.getSymlinkedDirectories();if(!se)return!1;const ge=t.toPath(z);return ge.includes(o_)?j&&((J=oe.getSymlinkedFiles())!=null&&J.has(ge))?!0:ie(se.entries(),([ae,Ce])=>{if(!Ce||!Pa(ge,ae))return;const ne=K(ge.replace(ae,Ce.realPath));if(j&&ne){const ve=$a(z,t.compilerHost.getCurrentDirectory());oe.setSymlinkedFile(ge,`${Ce.real}${ve.replace(new RegExp(ae,"i"),"")}`)}return ne})||!1:!1}}function L1e(t,u,s,d){const f=t.getCompilerOptions();if(f.noEmit)return t.getSemanticDiagnostics(u,d),u||y0(f)?PQ:t.emitBuildInfo(s,d);if(!f.noEmitOnError)return;let p=[...t.getOptionsDiagnostics(d),...t.getSyntacticDiagnostics(u,d),...t.getGlobalDiagnostics(d),...t.getSemanticDiagnostics(u,d)];if(p.length===0&&c4(t.getCompilerOptions())&&(p=t.getDeclarationDiagnostics(void 0,d)),!p.length)return;let E;if(!u&&!y0(f)){const v=t.emitBuildInfo(s,d);v.diagnostics&&(p=[...p,...v.diagnostics]),E=v.emittedFiles}return{diagnostics:p,sourceMaps:void 0,emittedFiles:E,emitSkipped:!0}}function BQ(t,u){return ti(t,s=>!s.skippedOn||!u[s.skippedOn])}function wQ(t,u=t){return{fileExists:s=>u.fileExists(s),readDirectory(s,d,f,p,E){return H.assertIsDefined(u.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),u.readDirectory(s,d,f,p,E)},readFile:s=>u.readFile(s),directoryExists:Lo(u,u.directoryExists),getDirectories:Lo(u,u.getDirectories),realpath:Lo(u,u.realpath),useCaseSensitiveFileNames:t.useCaseSensitiveFileNames(),getCurrentDirectory:()=>t.getCurrentDirectory(),onUnRecoverableConfigFileDiagnostic:t.onUnRecoverableConfigFileDiagnostic||hv,trace:t.trace?s=>t.trace(s):void 0}}function N1e(t,u,s,d){if(!t)return _t;let f;for(let p=0;pd);for(const d of u)d.kind===11&&s.push(d);return s}function TQ({imports:t,moduleAugmentations:u},s){if(s(t.Grey="\x1B[90m",t.Red="\x1B[91m",t.Yellow="\x1B[93m",t.Blue="\x1B[94m",t.Cyan="\x1B[96m",t))(M1e||{}),z1e="\x1B[7m",I1e=" ",O7e="\x1B[0m",j7e="...",dtt=" ",V7e=" ",H7e={resolvedModule:void 0,resolvedTypeReferenceDirective:void 0},yH={getName:I7e,getMode:(t,u)=>xg(u,t)},LQ={getName:R7e,getMode:(t,u)=>yQ(t,u==null?void 0:u.impliedNodeFormat)},QB="__inferred type names__.ts",NQ=new Set([F.Cannot_redeclare_block_scoped_variable_0.code,F.A_module_cannot_have_multiple_default_exports.code,F.Another_export_default_is_here.code,F.The_first_export_default_is_here.code,F.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,F.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,F.constructor_is_a_reserved_word.code,F.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,F.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code,F.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,F.Invalid_use_of_0_in_strict_mode.code,F.A_label_is_not_allowed_here.code,F.with_statements_are_not_allowed_in_strict_mode.code,F.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,F.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,F.A_class_declaration_without_the_default_modifier_must_have_a_name.code,F.A_class_member_cannot_have_the_0_keyword.code,F.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,F.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,F.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,F.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,F.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,F.A_destructuring_declaration_must_have_an_initializer.code,F.A_get_accessor_cannot_have_parameters.code,F.A_rest_element_cannot_contain_a_binding_pattern.code,F.A_rest_element_cannot_have_a_property_name.code,F.A_rest_element_cannot_have_an_initializer.code,F.A_rest_element_must_be_last_in_a_destructuring_pattern.code,F.A_rest_parameter_cannot_have_an_initializer.code,F.A_rest_parameter_must_be_last_in_a_parameter_list.code,F.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,F.A_return_statement_cannot_be_used_inside_a_class_static_block.code,F.A_set_accessor_cannot_have_rest_parameter.code,F.A_set_accessor_must_have_exactly_one_parameter.code,F.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,F.An_export_declaration_cannot_have_modifiers.code,F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,F.An_import_declaration_cannot_have_modifiers.code,F.An_object_member_cannot_be_declared_optional.code,F.Argument_of_dynamic_import_cannot_be_spread_element.code,F.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,F.Cannot_redeclare_identifier_0_in_catch_clause.code,F.Catch_clause_variable_cannot_have_an_initializer.code,F.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,F.Classes_can_only_extend_a_single_class.code,F.Classes_may_not_have_a_field_named_constructor.code,F.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code,F.Duplicate_label_0.code,F.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments.code,F.for_await_loops_cannot_be_used_inside_a_class_static_block.code,F.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,F.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,F.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,F.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,F.Jump_target_cannot_cross_function_boundary.code,F.Line_terminator_not_permitted_before_arrow.code,F.Modifiers_cannot_appear_here.code,F.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,F.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,F.Private_identifiers_are_not_allowed_outside_class_bodies.code,F.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,F.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,F.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,F.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,F.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,F.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,F.Trailing_comma_not_allowed.code,F.Variable_declaration_list_cannot_be_empty.code,F._0_and_1_operations_cannot_be_mixed_without_parentheses.code,F._0_expected.code,F._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,F._0_list_cannot_be_empty.code,F._0_modifier_already_seen.code,F._0_modifier_cannot_appear_on_a_constructor_declaration.code,F._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,F._0_modifier_cannot_appear_on_a_parameter.code,F._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,F._0_modifier_cannot_be_used_here.code,F._0_modifier_must_precede_1_modifier.code,F._0_declarations_can_only_be_declared_inside_a_block.code,F._0_declarations_must_be_initialized.code,F.extends_clause_already_seen.code,F.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,F.Class_constructor_may_not_be_a_generator.code,F.Class_constructor_may_not_be_an_accessor.code,F.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.Private_field_0_must_be_declared_in_an_enclosing_class.code,F.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value.code]),PQ={diagnostics:_t,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}),bzt=o({"src/compiler/builderStatePublic.ts"(){}});function K7e(t,u,s,d,f,p){const E=[],{emitSkipped:v,diagnostics:b}=t.emit(u,B,d,s,f,p);return{outputFiles:E,emitSkipped:v,diagnostics:b};function B(k,T,M){E.push({name:k,writeByteOrderMark:M,text:T})}}var Wp,yzt=o({"src/compiler/builderState.ts"(){Bo(),(t=>{function u(){function pe(fe,xe,Be){const Ge={getKeys:Ae=>xe.get(Ae),getValues:Ae=>fe.get(Ae),keys:()=>fe.keys(),deleteKey:Ae=>{(Be||(Be=new Set)).add(Ae);const De=fe.get(Ae);return De?(De.forEach(Ke=>d(xe,Ke,Ae)),fe.delete(Ae),!0):!1},set:(Ae,De)=>{Be==null||Be.delete(Ae);const Ke=fe.get(Ae);return fe.set(Ae,De),Ke==null||Ke.forEach(Je=>{De.has(Je)||d(xe,Je,Ae)}),De.forEach(Je=>{Ke!=null&&Ke.has(Je)||s(xe,Je,Ae)}),Ge}};return Ge}return pe(new Map,new Map,void 0)}t.createManyToManyPathMap=u;function s(pe,fe,xe){let Be=pe.get(fe);Be||(Be=new Set,pe.set(fe,Be)),Be.add(xe)}function d(pe,fe,xe){const Be=pe.get(fe);return Be!=null&&Be.delete(xe)?(Be.size||pe.delete(fe),!0):!1}function f(pe){return qi(pe.declarations,fe=>{var xe;return(xe=zn(fe))==null?void 0:xe.resolvedPath})}function p(pe,fe){const xe=pe.getSymbolAtLocation(fe);return xe&&f(xe)}function E(pe,fe,xe,Be){return J0(pe.getProjectReferenceRedirect(fe)||fe,xe,Be)}function v(pe,fe,xe){let Be;if(fe.imports&&fe.imports.length>0){const Ke=pe.getTypeChecker();for(const Je of fe.imports){const ft=p(Ke,Je);ft==null||ft.forEach(De)}}const Ge=lr(fe.resolvedPath);if(fe.referencedFiles&&fe.referencedFiles.length>0)for(const Ke of fe.referencedFiles){const Je=E(pe,Ke.fileName,Ge,xe);De(Je)}if(pe.forEachResolvedTypeReferenceDirective(({resolvedTypeReferenceDirective:Ke})=>{if(!Ke)return;const Je=Ke.resolvedFileName,ft=E(pe,Je,Ge,xe);De(ft)},fe),fe.moduleAugmentations.length){const Ke=pe.getTypeChecker();for(const Je of fe.moduleAugmentations){if(!us(Je))continue;const ft=Ke.getSymbolAtLocation(Je);ft&&Ae(ft)}}for(const Ke of pe.getTypeChecker().getAmbientModules())Ke.declarations&&Ke.declarations.length>1&&Ae(Ke);return Be;function Ae(Ke){if(Ke.declarations)for(const Je of Ke.declarations){const ft=zn(Je);ft&&ft!==fe&&De(ft.resolvedPath)}}function De(Ke){(Be||(Be=new Set)).add(Ke)}}function b(pe,fe){return fe&&!fe.referencedMap==!pe}t.canReuseOldState=b;function B(pe,fe,xe){var Be,Ge,Ae;const De=new Map,Ke=pe.getCompilerOptions(),Je=y0(Ke),ft=Ke.module!==0&&!Je?u():void 0,Ye=ft?u():void 0,Ve=b(ft,fe);pe.getTypeChecker();for(const We of pe.getSourceFiles()){const Gt=H.checkDefined(We.version,"Program intended to be used with Builder should have source files with versions set"),Yt=Ve?(Be=fe.oldSignatures)==null?void 0:Be.get(We.resolvedPath):void 0,Ie=Yt===void 0?Ve?(Ge=fe.fileInfos.get(We.resolvedPath))==null?void 0:Ge.signature:void 0:Yt||void 0;if(ft){const st=v(pe,We,pe.getCanonicalFileName);if(st&&ft.set(We.resolvedPath,st),Ve){const St=(Ae=fe.oldExportedModulesMap)==null?void 0:Ae.get(We.resolvedPath),It=St===void 0?fe.exportedModulesMap.getValues(We.resolvedPath):St||void 0;It&&Ye.set(We.resolvedPath,It)}}De.set(We.resolvedPath,{version:Gt,signature:Ie,affectsGlobalScope:Je?void 0:ne(We)||void 0,impliedFormat:We.impliedNodeFormat})}return{fileInfos:De,referencedMap:ft,exportedModulesMap:Ye,useFileVersionAsSignature:!xe&&!Ve}}t.create=B;function k(pe){pe.allFilesExcludingDefaultLibraryFile=void 0,pe.allFileNames=void 0}t.releaseCache=k;function T(pe,fe,xe,Be,Ge){var Ae,De;const Ke=M(pe,fe,xe,Be,Ge);return(Ae=pe.oldSignatures)==null||Ae.clear(),(De=pe.oldExportedModulesMap)==null||De.clear(),Ke}t.getFilesAffectedBy=T;function M(pe,fe,xe,Be,Ge){const Ae=fe.getSourceFileByPath(xe);return Ae?J(pe,fe,Ae,Be,Ge)?(pe.referencedMap?Ne:Se)(pe,fe,Ae,Be,Ge):[Ae]:_t}t.getFilesAffectedByWithOldState=M;function z(pe,fe,xe){pe.fileInfos.get(xe).signature=fe,(pe.hasCalledUpdateShapeSignature||(pe.hasCalledUpdateShapeSignature=new Set)).add(xe)}t.updateSignatureOfFile=z;function j(pe,fe,xe,Be,Ge){pe.emit(fe,(Ae,De,Ke,Je,ft,Ye)=>{H.assert(e1(Ae),`File extension for signature expected to be dts: Got:: ${Ae}`),Ge(O1e(pe,fe,De,Be,Ye),ft)},xe,!0,void 0,!0)}t.computeDtsSignature=j;function J(pe,fe,xe,Be,Ge,Ae=pe.useFileVersionAsSignature){var De;if((De=pe.hasCalledUpdateShapeSignature)!=null&&De.has(xe.resolvedPath))return!1;const Ke=pe.fileInfos.get(xe.resolvedPath),Je=Ke.signature;let ft;if(!xe.isDeclarationFile&&!Ae&&j(fe,xe,Be,Ge,(Ye,Ve)=>{ft=Ye,ft!==Je&&K(pe,xe,Ve[0].exportedModulesFromDeclarationEmit)}),ft===void 0&&(ft=xe.version,pe.exportedModulesMap&&ft!==Je)){(pe.oldExportedModulesMap||(pe.oldExportedModulesMap=new Map)).set(xe.resolvedPath,pe.exportedModulesMap.getValues(xe.resolvedPath)||!1);const Ye=pe.referencedMap?pe.referencedMap.getValues(xe.resolvedPath):void 0;Ye?pe.exportedModulesMap.set(xe.resolvedPath,Ye):pe.exportedModulesMap.deleteKey(xe.resolvedPath)}return(pe.oldSignatures||(pe.oldSignatures=new Map)).set(xe.resolvedPath,Je||!1),(pe.hasCalledUpdateShapeSignature||(pe.hasCalledUpdateShapeSignature=new Set)).add(xe.resolvedPath),Ke.signature=ft,ft!==Je}t.updateShapeSignature=J;function K(pe,fe,xe){if(!pe.exportedModulesMap)return;(pe.oldExportedModulesMap||(pe.oldExportedModulesMap=new Map)).set(fe.resolvedPath,pe.exportedModulesMap.getValues(fe.resolvedPath)||!1);const Be=Y(xe);Be?pe.exportedModulesMap.set(fe.resolvedPath,Be):pe.exportedModulesMap.deleteKey(fe.resolvedPath)}t.updateExportedModules=K;function Y(pe){let fe;return pe==null||pe.forEach(xe=>f(xe).forEach(Be=>(fe??(fe=new Set)).add(Be))),fe}t.getExportedModules=Y;function oe(pe,fe,xe){const Be=fe.getCompilerOptions();if(y0(Be)||!pe.referencedMap||ne(xe))return se(pe,fe);const Ge=new Set,Ae=[xe.resolvedPath];for(;Ae.length;){const De=Ae.pop();if(!Ge.has(De)){Ge.add(De);const Ke=pe.referencedMap.getValues(De);if(Ke)for(const Je of Ke.keys())Ae.push(Je)}}return ga(eo(Ge.keys(),De=>{var Ke;return((Ke=fe.getSourceFileByPath(De))==null?void 0:Ke.fileName)??De}))}t.getAllDependencies=oe;function se(pe,fe){if(!pe.allFileNames){const xe=fe.getSourceFiles();pe.allFileNames=xe===_t?_t:xe.map(Be=>Be.fileName)}return pe.allFileNames}function ge(pe,fe){const xe=pe.referencedMap.getKeys(fe);return xe?ga(xe.keys()):[]}t.getReferencedByPaths=ge;function ae(pe){for(const fe of pe.statements)if(!tq(fe))return!1;return!0}function Ce(pe){return Oe(pe.moduleAugmentations,fe=>Yg(fe.parent))}function ne(pe){return Ce(pe)||!cm(pe)&&!W4(pe)&&!ae(pe)}function ve(pe,fe,xe){if(pe.allFilesExcludingDefaultLibraryFile)return pe.allFilesExcludingDefaultLibraryFile;let Be;xe&&Ge(xe);for(const Ae of fe.getSourceFiles())Ae!==xe&&Ge(Ae);return pe.allFilesExcludingDefaultLibraryFile=Be||_t,pe.allFilesExcludingDefaultLibraryFile;function Ge(Ae){fe.isSourceFileDefaultLibrary(Ae)||(Be||(Be=[])).push(Ae)}}t.getAllFilesExcludingDefaultLibraryFile=ve;function Se(pe,fe,xe){const Be=fe.getCompilerOptions();return Be&&y0(Be)?[xe]:ve(pe,fe,xe)}function Ne(pe,fe,xe,Be,Ge){if(ne(xe))return ve(pe,fe,xe);const Ae=fe.getCompilerOptions();if(Ae&&(mg(Ae)||y0(Ae)))return[xe];const De=new Map;De.set(xe.resolvedPath,xe);const Ke=ge(pe,xe.resolvedPath);for(;Ke.length>0;){const Je=Ke.pop();if(!De.has(Je)){const ft=fe.getSourceFileByPath(Je);De.set(Je,ft),ft&&J(pe,fe,ft,Be,Ge)&&Ke.push(...ge(pe,ft.resolvedPath))}}return ga(eo(De.values(),Je=>Je))}})(Wp||(Wp={}))}});function Ux(t){let u=1;return t.sourceMap&&(u=u|2),t.inlineSourceMap&&(u=u|4),c4(t)&&(u=u|8),t.declarationMap&&(u=u|16),t.emitDeclarationOnly&&(u=u&24),u}function XB(t,u){const s=u&&(UD(u)?u:Ux(u)),d=UD(t)?t:Ux(t);if(s===d)return 0;if(!s||!d)return d;const f=s^d;let p=0;return f&7&&(p=d&7),f&24&&(p=p|d&24),p}function kzt(t,u){return t===u||t!==void 0&&u!==void 0&&t.size===u.size&&!U_(t,s=>!u.has(s))}function Fzt(t,u){var s,d;const f=Wp.create(t,u,!1);f.program=t;const p=t.getCompilerOptions();f.compilerOptions=p;const E=y0(p);E?p.composite&&(u!=null&&u.outSignature)&&E===y0(u==null?void 0:u.compilerOptions)&&(f.outSignature=u.outSignature&&ftt(p,u.compilerOptions,u.outSignature)):f.semanticDiagnosticsPerFile=new Map,f.changedFilesSet=new Set,f.latestChangedDtsFile=p.composite?u==null?void 0:u.latestChangedDtsFile:void 0;const v=Wp.canReuseOldState(f.referencedMap,u),b=v?u.compilerOptions:void 0,B=v&&u.semanticDiagnosticsPerFile&&!!f.semanticDiagnosticsPerFile&&!oke(p,b),k=p.composite&&(u==null?void 0:u.emitSignatures)&&!E&&!lke(p,u.compilerOptions);v?((s=u.changedFilesSet)==null||s.forEach(J=>f.changedFilesSet.add(J)),!E&&((d=u.affectedFilesPendingEmit)!=null&&d.size)&&(f.affectedFilesPendingEmit=new Map(u.affectedFilesPendingEmit),f.seenAffectedFiles=new Set),f.programEmitPending=u.programEmitPending):f.buildInfoEmitPending=!0;const T=f.referencedMap,M=v?u.referencedMap:void 0,z=B&&!p.skipLibCheck==!b.skipLibCheck,j=z&&!p.skipDefaultLibCheck==!b.skipDefaultLibCheck;if(f.fileInfos.forEach((J,K)=>{let Y,oe;if(!v||!(Y=u.fileInfos.get(K))||Y.version!==J.version||Y.impliedFormat!==J.impliedFormat||!kzt(oe=T&&T.getValues(K),M&&M.getValues(K))||oe&&U_(oe,se=>!f.fileInfos.has(se)&&u.fileInfos.has(se)))htt(f,K);else if(B){const se=t.getSourceFileByPath(K);if(se.isDeclarationFile&&!z||se.hasNoDefaultLib&&!j)return;const ge=u.semanticDiagnosticsPerFile.get(K);ge&&(f.semanticDiagnosticsPerFile.set(K,u.hasReusableDiagnostic?Szt(ge,t):Azt(ge,t)),f.semanticDiagnosticsFromOldState||(f.semanticDiagnosticsFromOldState=new Set),f.semanticDiagnosticsFromOldState.add(K))}if(k){const se=u.emitSignatures.get(K);se&&(f.emitSignatures??(f.emitSignatures=new Map)).set(K,ftt(p,u.compilerOptions,se))}}),v&&h1(u.fileInfos,(J,K)=>f.fileInfos.has(K)?!1:E||J.affectsGlobalScope?!0:(f.buildInfoEmitPending=!0,!1)))Wp.getAllFilesExcludingDefaultLibraryFile(f,t,void 0).forEach(J=>htt(f,J.resolvedPath));else if(b){const J=ske(p,b)?Ux(p):XB(p,b);J!==0&&(E?f.programEmitPending=f.programEmitPending?f.programEmitPending|J:J:(t.getSourceFiles().forEach(K=>{f.changedFilesSet.has(K.resolvedPath)||Z7e(f,K.resolvedPath,J)}),H.assert(!f.seenAffectedFiles||!f.seenAffectedFiles.size),f.seenAffectedFiles=f.seenAffectedFiles||new Set,f.buildInfoEmitPending=!0))}return E&&!f.changedFilesSet.size&&(v&&(f.bundle=u.bundle),Oe(t.getProjectReferences(),J=>!!J.prepend)&&(f.programEmitPending=Ux(p))),f}function htt(t,u){t.changedFilesSet.add(u),t.buildInfoEmitPending=!0,t.programEmitPending=void 0}function ftt(t,u,s){return!!t.declarationMap==!!u.declarationMap?s:Ja(s)?[s]:s[0]}function Azt(t,u){return t.length?Lu(t,s=>{if(Ja(s.messageText))return s;const d=W7e(s.messageText,s.file,u,f=>{var p;return(p=f.repopulateInfo)==null?void 0:p.call(f)});return d===s.messageText?s:{...s,messageText:d}}):t}function W7e(t,u,s,d){const f=d(t);if(f)return{...o0e(u,s,f.moduleReference,f.mode,f.packageName||f.moduleReference),next:mtt(t.next,u,s,d)};const p=mtt(t.next,u,s,d);return p===t.next?t:{...t,next:p}}function mtt(t,u,s,d){return Lu(t,f=>W7e(f,u,s,d))}function Szt(t,u){if(!t.length)return _t;let s;return t.map(f=>{const p=ptt(f,u,d);p.reportsUnnecessary=f.reportsUnnecessary,p.reportsDeprecated=f.reportDeprecated,p.source=f.source,p.skippedOn=f.skippedOn;const{relatedInformation:E}=f;return p.relatedInformation=E?E.length?E.map(v=>ptt(v,u,d)):[]:void 0,p});function d(f){return s??(s=lr($a(f5(u.getCompilerOptions()),u.getCurrentDirectory()))),J0(f,s,u.getCanonicalFileName)}}function ptt(t,u,s){const{file:d}=t,f=d?u.getSourceFileByPath(s(d)):void 0;return{...t,file:f,messageText:Ja(t.messageText)?t.messageText:W7e(t.messageText,f,u,p=>p.info)}}function Bzt(t){Wp.releaseCache(t),t.program=void 0}function wzt(t){const u=y0(t.compilerOptions);return H.assert(!t.changedFilesSet.size||u),{affectedFilesPendingEmit:t.affectedFilesPendingEmit&&new Map(t.affectedFilesPendingEmit),seenEmittedFiles:t.seenEmittedFiles&&new Map(t.seenEmittedFiles),programEmitPending:t.programEmitPending,emitSignatures:t.emitSignatures&&new Map(t.emitSignatures),outSignature:t.outSignature,latestChangedDtsFile:t.latestChangedDtsFile,hasChangedEmitSignature:t.hasChangedEmitSignature,changedFilesSet:u?new Set(t.changedFilesSet):void 0}}function Tzt(t,u){t.affectedFilesPendingEmit=u.affectedFilesPendingEmit,t.seenEmittedFiles=u.seenEmittedFiles,t.programEmitPending=u.programEmitPending,t.emitSignatures=u.emitSignatures,t.outSignature=u.outSignature,t.latestChangedDtsFile=u.latestChangedDtsFile,t.hasChangedEmitSignature=u.hasChangedEmitSignature,u.changedFilesSet&&(t.changedFilesSet=u.changedFilesSet)}function gtt(t,u){H.assert(!u||!t.affectedFiles||t.affectedFiles[t.affectedFilesIndex-1]!==u||!t.semanticDiagnosticsPerFile.has(u.resolvedPath))}function Ett(t,u,s){for(var d,f;;){const{affectedFiles:p}=t;if(p){const B=t.seenAffectedFiles;let k=t.affectedFilesIndex;for(;k{const p=d&7;p?t.affectedFilesPendingEmit.set(f,p):t.affectedFilesPendingEmit.delete(f)})}}function Nzt(t,u){var s;if((s=t.affectedFilesPendingEmit)!=null&&s.size)return h1(t.affectedFilesPendingEmit,(d,f)=>{var p;const E=t.program.getSourceFileByPath(f);if(!E||!p7(E,t.program)){t.affectedFilesPendingEmit.delete(f);return}const v=(p=t.seenEmittedFiles)==null?void 0:p.get(E.resolvedPath);let b=XB(d,v);if(u&&(b=b&24),b)return{affectedFile:E,emitKind:b}})}function _tt(t){if(!t.cleanedDiagnosticsOfLibFiles){t.cleanedDiagnosticsOfLibFiles=!0;const u=H.checkDefined(t.program),s=u.getCompilerOptions();L(u.getSourceFiles(),d=>u.isSourceFileDefaultLibrary(d)&&!AP(d,s,u)&&G7e(t,d.resolvedPath))}}function Pzt(t,u,s,d){if(G7e(t,u.resolvedPath),t.allFilesExcludingDefaultLibraryFile===t.affectedFiles){_tt(t),Wp.updateShapeSignature(t,H.checkDefined(t.program),u,s,d);return}t.compilerOptions.assumeChangesOnlyAffectDirectDependencies||Mzt(t,u,s,d)}function R1e(t,u,s,d){if(G7e(t,u),!t.changedFilesSet.has(u)){const f=H.checkDefined(t.program),p=f.getSourceFileByPath(u);p&&(Wp.updateShapeSignature(t,f,p,s,d,!0),c4(t.compilerOptions)&&Z7e(t,u,t.compilerOptions.declarationMap?24:8))}}function G7e(t,u){return t.semanticDiagnosticsFromOldState?(t.semanticDiagnosticsFromOldState.delete(u),t.semanticDiagnosticsPerFile.delete(u),!t.semanticDiagnosticsFromOldState.size):!0}function Dtt(t,u){const s=H.checkDefined(t.oldSignatures).get(u)||void 0;return H.checkDefined(t.fileInfos.get(u)).signature!==s}function J7e(t,u,s,d){var f;return(f=t.fileInfos.get(u))!=null&&f.affectsGlobalScope?(Wp.getAllFilesExcludingDefaultLibraryFile(t,t.program,void 0).forEach(p=>R1e(t,p.resolvedPath,s,d)),_tt(t),!0):!1}function Mzt(t,u,s,d){var f;if(!t.exportedModulesMap||!t.changedFilesSet.has(u.resolvedPath)||!Dtt(t,u.resolvedPath))return;if(mg(t.compilerOptions)){const E=new Map;E.set(u.resolvedPath,!0);const v=Wp.getReferencedByPaths(t,u.resolvedPath);for(;v.length>0;){const b=v.pop();if(!E.has(b)){if(E.set(b,!0),J7e(t,b,s,d))return;if(R1e(t,b,s,d),Dtt(t,b)){const B=H.checkDefined(t.program).getSourceFileByPath(b);v.push(...Wp.getReferencedByPaths(t,B.resolvedPath))}}}}const p=new Set;(f=t.exportedModulesMap.getKeys(u.resolvedPath))==null||f.forEach(E=>{if(J7e(t,E,s,d))return!0;const v=t.referencedMap.getKeys(E);return v&&U_(v,b=>xtt(t,b,p,s,d))})}function xtt(t,u,s,d,f){var p,E;if(r0(s,u)){if(J7e(t,u,d,f))return!0;R1e(t,u,d,f),(p=t.exportedModulesMap.getKeys(u))==null||p.forEach(v=>xtt(t,v,s,d,f)),(E=t.referencedMap.getKeys(u))==null||E.forEach(v=>!s.has(v)&&R1e(t,v,d,f))}}function $7e(t,u,s){return Hi(zzt(t,u,s),H.checkDefined(t.program).getProgramDiagnostics(u))}function zzt(t,u,s){const d=u.resolvedPath;if(t.semanticDiagnosticsPerFile){const p=t.semanticDiagnosticsPerFile.get(d);if(p)return BQ(p,t.compilerOptions)}const f=H.checkDefined(t.program).getBindAndCheckDiagnostics(u,s);return t.semanticDiagnosticsPerFile&&t.semanticDiagnosticsPerFile.set(d,f),BQ(f,t.compilerOptions)}function U7e(t){return!!y0(t.options||{})}function Izt(t,u){var s,d,f;const p=H.checkDefined(t.program).getCurrentDirectory(),E=lr($a(f5(t.compilerOptions),p)),v=t.latestChangedDtsFile?ae(t.latestChangedDtsFile):void 0,b=[],B=new Map,k=[];if(y0(t.compilerOptions)){const pe=ga(t.fileInfos.entries(),([De,Ke])=>{const Je=ne(De);return Se(De,Je),Ke.impliedFormat?{version:Ke.version,impliedFormat:Ke.impliedFormat,signature:void 0,affectsGlobalScope:void 0}:Ke.version}),fe={fileNames:b,fileInfos:pe,root:k,options:Ne(t.compilerOptions),outSignature:t.outSignature,latestChangedDtsFile:v,pendingEmit:t.programEmitPending?t.programEmitPending===Ux(t.compilerOptions)?!1:t.programEmitPending:void 0},{js:xe,dts:Be,commonSourceDirectory:Ge,sourceFiles:Ae}=u;return t.bundle=u={commonSourceDirectory:Ge,sourceFiles:Ae,js:xe||(t.compilerOptions.emitDeclarationOnly||(s=t.bundle)==null?void 0:s.js),dts:Be||(c4(t.compilerOptions)?(d=t.bundle)==null?void 0:d.dts:void 0)},gH(fe,u)}let T,M,z;const j=ga(t.fileInfos.entries(),([pe,fe])=>{var xe,Be;const Ge=ne(pe);Se(pe,Ge),H.assert(b[Ge-1]===Ce(pe));const Ae=(xe=t.oldSignatures)==null?void 0:xe.get(pe),De=Ae!==void 0?Ae||void 0:fe.signature;if(t.compilerOptions.composite){const Ke=t.program.getSourceFileByPath(pe);if(!W4(Ke)&&p7(Ke,t.program)){const Je=(Be=t.emitSignatures)==null?void 0:Be.get(pe);Je!==De&&(z||(z=[])).push(Je===void 0?Ge:[Ge,!Ja(Je)&&Je[0]===De?_t:Je])}}return fe.version===De?fe.affectsGlobalScope||fe.impliedFormat?{version:fe.version,signature:void 0,affectsGlobalScope:fe.affectsGlobalScope,impliedFormat:fe.impliedFormat}:fe.version:De!==void 0?Ae===void 0?fe:{version:fe.version,signature:De,affectsGlobalScope:fe.affectsGlobalScope,impliedFormat:fe.impliedFormat}:{version:fe.version,signature:!1,affectsGlobalScope:fe.affectsGlobalScope,impliedFormat:fe.impliedFormat}});let J;t.referencedMap&&(J=ga(t.referencedMap.keys()).sort(dh).map(pe=>[ne(pe),ve(t.referencedMap.getValues(pe))]));let K;t.exportedModulesMap&&(K=qi(ga(t.exportedModulesMap.keys()).sort(dh),pe=>{var fe;const xe=(fe=t.oldExportedModulesMap)==null?void 0:fe.get(pe);if(xe===void 0)return[ne(pe),ve(t.exportedModulesMap.getValues(pe))];if(xe)return[ne(pe),ve(xe)]}));let Y;if(t.semanticDiagnosticsPerFile)for(const pe of ga(t.semanticDiagnosticsPerFile.keys()).sort(dh)){const fe=t.semanticDiagnosticsPerFile.get(pe);(Y||(Y=[])).push(fe.length?[ne(pe),Ozt(fe,Ce)]:ne(pe))}let oe;if((f=t.affectedFilesPendingEmit)!=null&&f.size){const pe=Ux(t.compilerOptions),fe=new Set;for(const xe of ga(t.affectedFilesPendingEmit.keys()).sort(dh))if(r0(fe,xe)){const Be=t.program.getSourceFileByPath(xe);if(!Be||!p7(Be,t.program))continue;const Ge=ne(xe),Ae=t.affectedFilesPendingEmit.get(xe);(oe||(oe=[])).push(Ae===pe?Ge:Ae===8?[Ge]:[Ge,Ae])}}let se;if(t.changedFilesSet.size)for(const pe of ga(t.changedFilesSet.keys()).sort(dh))(se||(se=[])).push(ne(pe));const ge={fileNames:b,fileInfos:j,root:k,options:Ne(t.compilerOptions),fileIdsList:T,referencedMap:J,exportedModulesMap:K,semanticDiagnosticsPerFile:Y,affectedFilesPendingEmit:oe,changeFileSet:se,emitSignatures:z,latestChangedDtsFile:v};return gH(ge,u);function ae(pe){return Ce($a(pe,p))}function Ce(pe){return h2(JE(E,pe,t.program.getCanonicalFileName))}function ne(pe){let fe=B.get(pe);return fe===void 0&&(b.push(Ce(pe)),B.set(pe,fe=b.length)),fe}function ve(pe){const fe=ga(pe.keys(),ne).sort(nl),xe=fe.join();let Be=M==null?void 0:M.get(xe);return Be===void 0&&((T||(T=[])).push(fe),(M||(M=new Map)).set(xe,Be=T.length)),Be}function Se(pe,fe){const xe=t.program.getSourceFile(pe);if(!t.program.getFileIncludeReasons().get(xe.path).some(De=>De.kind===0))return;if(!k.length)return k.push(fe);const Be=k[k.length-1],Ge=Ha(Be);if(Ge&&Be[1]===fe-1)return Be[1]=fe;if(Ge||k.length===1||Be!==fe-1)return k.push(fe);const Ae=k[k.length-2];return!UD(Ae)||Ae!==Be-1?k.push(fe):(k[k.length-2]=[Ae,fe],k.length=k.length-1)}function Ne(pe){let fe;const{optionsNameMap:xe}=jB();for(const Be of Ns(pe).sort(dh)){const Ge=xe.get(Be.toLowerCase());Ge!=null&&Ge.affectsBuildInfo&&((fe||(fe={}))[Be]=Rzt(Ge,pe[Be],ae))}return fe}}function Rzt(t,u,s){if(t){if(H.assert(t.type!=="listOrElement"),t.type==="list"){const d=u;if(t.element.isFilePath&&d.length)return d.map(s)}else if(t.isFilePath)return s(u)}return u}function Ozt(t,u){return H.assert(!!t.length),t.map(s=>{const d=vtt(s,u);d.reportsUnnecessary=s.reportsUnnecessary,d.reportDeprecated=s.reportsDeprecated,d.source=s.source,d.skippedOn=s.skippedOn;const{relatedInformation:f}=s;return d.relatedInformation=f?f.length?f.map(p=>vtt(p,u)):[]:void 0,d})}function vtt(t,u){const{file:s}=t;return{...t,file:s?u(s.resolvedPath):void 0,messageText:Ja(t.messageText)?t.messageText:q7e(t.messageText)}}function q7e(t){if(t.repopulateInfo)return{info:t.repopulateInfo(),next:Ctt(t.next)};const u=Ctt(t.next);return u===t.next?t:{...t,next:u}}function Ctt(t){return t&&(L(t,(u,s)=>{const d=q7e(u);if(u===d)return;const f=s>0?t.slice(0,s-1):[];f.push(d);for(let p=s+1;p`${b(B)}${vO[B.category]}${B.code}: ${v(B.messageText)}`).join(` `)),(d.createHash??AN)(s);function v(B){return Ja(B)?B:B===void 0?"":B.next?B.messageText+B.next.map(v).join(` -`):B.messageText}function b(B){return B.file.resolvedPath===u.resolvedPath?`(${B.start},${B.length})`:(E===void 0&&(E=lr(u.resolvedPath)),`${h2(JE(E,B.file.resolvedPath,t.getCanonicalFileName))}(${B.start},${B.length})`)}}function Nk(t,u,s){return(u.createHash??AN)(btt(t,s))}function j1e(t,{newProgram:u,host:s,oldProgram:d,configFileParsingDiagnostics:f}){let p=d&&d.getState();if(p&&u===p.program&&f===u.getConfigFileParsingDiagnostics())return u=void 0,p=void 0,d;const E=Fzt(u,p);u.getBuildInfo=J=>Izt(E,J),u=void 0,d=void 0,p=void 0;const v=()=>E,b=H1e(v,f);return b.getState=v,b.saveEmitState=()=>wzt(E),b.restoreEmitState=J=>Tzt(E,J),b.hasChangedEmitSignature=()=>!!E.hasChangedEmitSignature,b.getAllDependencies=J=>Wp.getAllDependencies(E,H.checkDefined(E.program),J),b.getSemanticDiagnostics=j,b.emit=M,b.releaseProgram=()=>Bzt(E),t===0?b.getSemanticDiagnosticsOfNextAffectedFile=z:t===1?(b.getSemanticDiagnosticsOfNextAffectedFile=z,b.emitNextAffectedFile=k,b.emitBuildInfo=B):ho(),b;function B(J,K){if(E.buildInfoEmitPending){const Y=H.checkDefined(E.program).emitBuildInfo(J||Lo(s,s.writeFile),K);return E.buildInfoEmitPending=!1,Y}return PQ}function k(J,K,Y,oe){var se,ge,ae;let Ce=Ett(E,K,s);const ne=Ux(E.compilerOptions);let ve=Y?ne&24:ne;if(!Ce)if(y0(E.compilerOptions)){if(!E.programEmitPending||(ve=E.programEmitPending,Y&&(ve=ve&24),!ve))return;Ce=E.program}else{const pe=Nzt(E,Y);if(!pe){if(!E.buildInfoEmitPending)return;const fe=E.program,xe=fe.emitBuildInfo(J||Lo(s,s.writeFile),K);return E.buildInfoEmitPending=!1,{result:xe,affected:fe}}({affectedFile:Ce,emitKind:ve}=pe)}let Se;ve&7&&(Se=0),ve&24&&(Se=Se===void 0?1:void 0),Ce===E.program&&(E.programEmitPending=E.changedFilesSet.size?XB(ne,ve):E.programEmitPending?XB(E.programEmitPending,ve):void 0);const Ne=E.program.emit(Ce===E.program?void 0:Ce,T(J,oe),K,Se,oe);if(Ce!==E.program){const pe=Ce;E.seenAffectedFiles.add(pe.resolvedPath),E.affectedFilesIndex!==void 0&&E.affectedFilesIndex++,E.buildInfoEmitPending=!0;const fe=((se=E.seenEmittedFiles)==null?void 0:se.get(pe.resolvedPath))||0;(E.seenEmittedFiles??(E.seenEmittedFiles=new Map)).set(pe.resolvedPath,ve|fe);const xe=((ge=E.affectedFilesPendingEmit)==null?void 0:ge.get(pe.resolvedPath))||ne,Be=XB(xe,ve|fe);Be?(E.affectedFilesPendingEmit??(E.affectedFilesPendingEmit=new Map)).set(pe.resolvedPath,Be):(ae=E.affectedFilesPendingEmit)==null||ae.delete(pe.resolvedPath)}else E.changedFilesSet.clear();return{result:Ne,affected:Ce}}function T(J,K){return c4(E.compilerOptions)?(Y,oe,se,ge,ae,Ce)=>{var ne,ve,Se,Ne;if(e1(Y))if(y0(E.compilerOptions)){if(E.compilerOptions.composite){const fe=pe(E.outSignature,void 0);if(!fe)return;E.outSignature=fe}}else{H.assert((ae==null?void 0:ae.length)===1);let fe;if(!K){const xe=ae[0],Be=E.fileInfos.get(xe.resolvedPath);if(Be.signature===xe.version){const Ge=O1e(E.program,xe,oe,s,Ce);(ne=Ce==null?void 0:Ce.diagnostics)!=null&&ne.length||(fe=Ge),Ge!==xe.version&&(s.storeFilesChangingSignatureDuringEmit&&(E.filesChangingSignature??(E.filesChangingSignature=new Set)).add(xe.resolvedPath),E.exportedModulesMap&&Wp.updateExportedModules(E,xe,xe.exportedModulesFromDeclarationEmit),E.affectedFiles?(((ve=E.oldSignatures)==null?void 0:ve.get(xe.resolvedPath))===void 0&&(E.oldSignatures??(E.oldSignatures=new Map)).set(xe.resolvedPath,Be.signature||!1),Be.signature=Ge):(Be.signature=Ge,(Se=E.oldExportedModulesMap)==null||Se.clear()))}}if(E.compilerOptions.composite){const xe=ae[0].resolvedPath;if(fe=pe((Ne=E.emitSignatures)==null?void 0:Ne.get(xe),fe),!fe)return;(E.emitSignatures??(E.emitSignatures=new Map)).set(xe,fe)}}J?J(Y,oe,se,ge,ae,Ce):s.writeFile?s.writeFile(Y,oe,se,ge,ae,Ce):E.program.writeFile(Y,oe,se,ge,ae,Ce);function pe(fe,xe){const Be=!fe||Ja(fe)?fe:fe[0];if(xe??(xe=Nk(oe,s,Ce)),xe===Be){if(fe===Be)return;Ce?Ce.differsOnlyInMap=!0:Ce={differsOnlyInMap:!0}}else E.hasChangedEmitSignature=!0,E.latestChangedDtsFile=Y;return xe}}:J||Lo(s,s.writeFile)}function M(J,K,Y,oe,se){t===1&>t(E,J);const ge=L1e(b,J,K,Y);if(ge)return ge;if(!J)if(t===1){let ae=[],Ce=!1,ne,ve=[],Se;for(;Se=k(K,Y,oe,se);)Ce=Ce||Se.result.emitSkipped,ne=yn(ne,Se.result.diagnostics),ve=yn(ve,Se.result.emittedFiles),ae=yn(ae,Se.result.sourceMaps);return{emitSkipped:Ce,diagnostics:ne||_t,emittedFiles:ve,sourceMaps:ae}}else Lzt(E,oe);return H.checkDefined(E.program).emit(J,T(K,se),Y,oe,se)}function z(J,K){for(;;){const Y=Ett(E,J,s);let oe;if(Y)if(Y!==E.program){const se=Y;if((!K||!K(se))&&(oe=$7e(E,se,J)),E.seenAffectedFiles.add(se.resolvedPath),E.affectedFilesIndex++,E.buildInfoEmitPending=!0,!oe)continue}else oe=E.program.getSemanticDiagnostics(void 0,J),E.changedFilesSet.clear(),E.programEmitPending=Ux(E.compilerOptions);else return;return{result:oe,affected:Y}}}function j(J,K){gtt(E,J);const Y=H.checkDefined(E.program).getCompilerOptions();if(y0(Y))return H.assert(!E.semanticDiagnosticsPerFile),H.checkDefined(E.program).getSemanticDiagnostics(J,K);if(J)return $7e(E,J,K);for(;z(K););let oe;for(const se of H.checkDefined(E.program).getSourceFiles())oe=yn(oe,$7e(E,se,K));return oe||_t}}function Z7e(t,u,s){var d;const f=((d=t.affectedFilesPendingEmit)==null?void 0:d.get(u))||0;(t.affectedFilesPendingEmit??(t.affectedFilesPendingEmit=new Map)).set(u,f|s)}function Y7e(t){return Ja(t)?{version:t,signature:t,affectsGlobalScope:void 0,impliedFormat:void 0}:Ja(t.signature)?t:{version:t.version,signature:t.signature===!1?void 0:t.version,affectsGlobalScope:t.affectsGlobalScope,impliedFormat:t.impliedFormat}}function Q7e(t,u){return UD(t)?u:t[1]||8}function X7e(t,u){return t||Ux(u||{})}function e9e(t,u,s){var d,f,p,E;const v=t.program,b=lr($a(u,s.getCurrentDirectory())),B=L1(s.useCaseSensitiveFileNames());let k;const T=(d=v.fileNames)==null?void 0:d.map(j);let M;const z=v.latestChangedDtsFile?J(v.latestChangedDtsFile):void 0;if(U7e(v)){const se=new Map;v.fileInfos.forEach((ge,ae)=>{const Ce=K(ae+1);se.set(Ce,Ja(ge)?{version:ge,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:ge)}),k={fileInfos:se,compilerOptions:v.options?ode(v.options,J):{},latestChangedDtsFile:z,outSignature:v.outSignature,programEmitPending:v.pendingEmit===void 0?void 0:X7e(v.pendingEmit,v.options),bundle:t.bundle}}else{M=(f=v.fileIdsList)==null?void 0:f.map(Ce=>new Set(Ce.map(K)));const se=new Map,ge=(p=v.options)!=null&&p.composite&&!y0(v.options)?new Map:void 0;v.fileInfos.forEach((Ce,ne)=>{const ve=K(ne+1),Se=Y7e(Ce);se.set(ve,Se),ge&&Se.signature&&ge.set(ve,Se.signature)}),(E=v.emitSignatures)==null||E.forEach(Ce=>{if(UD(Ce))ge.delete(K(Ce));else{const ne=K(Ce[0]);ge.set(ne,!Ja(Ce[1])&&!Ce[1].length?[ge.get(ne)]:Ce[1])}});const ae=v.affectedFilesPendingEmit?Ux(v.options||{}):void 0;k={fileInfos:se,compilerOptions:v.options?ode(v.options,J):{},referencedMap:oe(v.referencedMap),exportedModulesMap:oe(v.exportedModulesMap),semanticDiagnosticsPerFile:v.semanticDiagnosticsPerFile&&lg(v.semanticDiagnosticsPerFile,Ce=>K(UD(Ce)?Ce:Ce[0]),Ce=>UD(Ce)?_t:Ce[1]),hasReusableDiagnostic:!0,affectedFilesPendingEmit:v.affectedFilesPendingEmit&&lg(v.affectedFilesPendingEmit,Ce=>K(UD(Ce)?Ce:Ce[0]),Ce=>Q7e(Ce,ae)),changedFilesSet:new Set(Vt(v.changeFileSet,K)),latestChangedDtsFile:z,emitSignatures:ge!=null&&ge.size?ge:void 0}}return{getState:()=>k,saveEmitState:Is,restoreEmitState:Is,getProgram:ho,getProgramOrUndefined:hv,releaseProgram:Is,getCompilerOptions:()=>k.compilerOptions,getSourceFile:ho,getSourceFiles:ho,getOptionsDiagnostics:ho,getGlobalDiagnostics:ho,getConfigFileParsingDiagnostics:ho,getSyntacticDiagnostics:ho,getDeclarationDiagnostics:ho,getSemanticDiagnostics:ho,emit:ho,getAllDependencies:ho,getCurrentDirectory:ho,emitNextAffectedFile:ho,getSemanticDiagnosticsOfNextAffectedFile:ho,emitBuildInfo:ho,close:Is,hasChangedEmitSignature:cg};function j(se){return J0(se,b,B)}function J(se){return $a(se,b)}function K(se){return T[se-1]}function Y(se){return M[se-1]}function oe(se){if(!se)return;const ge=Wp.createManyToManyPathMap();return se.forEach(([ae,Ce])=>ge.set(K(ae),Y(Ce))),ge}}function V1e(t,u,s){const d=lr($a(u,s.getCurrentDirectory())),f=L1(s.useCaseSensitiveFileNames()),p=new Map;let E=0;const v=[];return t.fileInfos.forEach((b,B)=>{const k=J0(t.fileNames[B],d,f),T=Ja(b)?b:b.version;if(p.set(k,T),Et().program,releaseProgram:()=>t().program=void 0,getCompilerOptions:()=>t().compilerOptions,getSourceFile:d=>s().getSourceFile(d),getSourceFiles:()=>s().getSourceFiles(),getOptionsDiagnostics:d=>s().getOptionsDiagnostics(d),getGlobalDiagnostics:d=>s().getGlobalDiagnostics(d),getConfigFileParsingDiagnostics:()=>u,getSyntacticDiagnostics:(d,f)=>s().getSyntacticDiagnostics(d,f),getDeclarationDiagnostics:(d,f)=>s().getDeclarationDiagnostics(d,f),getSemanticDiagnostics:(d,f)=>s().getSemanticDiagnostics(d,f),emit:(d,f,p,E,v)=>s().emit(d,f,p,E,v),emitBuildInfo:(d,f)=>s().emitBuildInfo(d,f),getAllDependencies:ho,getCurrentDirectory:()=>s().getCurrentDirectory(),close:Is};function s(){return H.checkDefined(t().program)}}var K1e,W1e,jzt=o({"src/compiler/builder.ts"(){Bo(),K1e=(t=>(t[t.None=0]="None",t[t.Js=1]="Js",t[t.JsMap=2]="JsMap",t[t.JsInlineMap=4]="JsInlineMap",t[t.Dts=8]="Dts",t[t.DtsMap=16]="DtsMap",t[t.AllJs=7]="AllJs",t[t.AllDts=24]="AllDts",t[t.All=31]="All",t))(K1e||{}),W1e=(t=>(t[t.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",t[t.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",t))(W1e||{})}});function ytt(t,u,s,d,f,p){return j1e(0,MQ(t,u,s,d,f,p))}function G1e(t,u,s,d,f,p){return j1e(1,MQ(t,u,s,d,f,p))}function ktt(t,u,s,d,f,p){const{newProgram:E,configFileParsingDiagnostics:v}=MQ(t,u,s,d,f,p);return H1e(()=>({program:E,compilerOptions:E.getCompilerOptions()}),v)}var Vzt=o({"src/compiler/builderPublic.ts"(){Bo()}});function zQ(t){return sc(t,"/node_modules/.staging")?D8(t,"/.staging"):Oe(kO,u=>t.includes(u))?void 0:t}function t9e(t,u){if(u<=1)return 1;let s=1,d=t[0].search(/[a-zA-Z]:/)===0;if(t[0]!==rl&&!d&&t[1].search(/[a-zA-Z]\$$/)===0){if(u===2)return 2;s=2,d=!0}return d&&!t[s].match(/^users$/i)?s:t[s].match(/^workspaces$/i)?s+1:s+2}function IQ(t,u){if(u===void 0&&(u=t.length),u<=2)return!1;const s=t9e(t,u);return u>s+1}function i9e(t){return Att(lr(t))}function Ftt(t,u){if(u.lengthf.length+1?u9e(v,E,Math.max(f.length+1,b+1)):{dir:s,dirPath:d,nonRecursive:!0}:Stt(v,E,E.length-1,b,B,f)}function Stt(t,u,s,d,f,p){if(f!==-1)return u9e(t,u,f+1);let E=!0,v=s;for(let b=0;bHzt(d,f,p,t,s,u,E)}}function Hzt(t,u,s,d,f,p,E){const v=RQ(t),b=WB(s,d,f,v,u,p,E);if(!t.getGlobalCache)return b;const B=t.getGlobalCache();if(B!==void 0&&!Id(s)&&!(b.resolvedModule&&cZ(b.resolvedModule.extension))){const{resolvedModule:k,failedLookupLocations:T,affectingLocations:M,resolutionDiagnostics:z}=kAe(H.checkDefined(t.globalCacheResolutionModuleName)(s),t.projectName,f,v,B,u);if(k)return b.resolvedModule=k,b.failedLookupLocations=HB(b.failedLookupLocations,T),b.affectingLocations=HB(b.affectingLocations,M),b.resolutionDiagnostics=HB(b.resolutionDiagnostics,z),b}return b}function $1e(t,u,s){let d,f,p;const E=wm(),v=new Set,b=new Set,B=new Map,k=new Map;let T=!1,M,z,j,J,K,Y=!1;const oe=Mh(()=>t.getCurrentDirectory()),se=t.getCachedDirectoryStructureHost(),ge=new Map,ae=KB(oe(),t.getCanonicalFileName,t.getCompilationSettings()),Ce=new Map,ne=HY(oe(),t.getCanonicalFileName,t.getCompilationSettings(),ae.getPackageJsonInfoCache(),ae.optionsToRedirectsKey),ve=new Map,Se=KB(oe(),t.getCanonicalFileName,bde(t.getCompilationSettings()),ae.getPackageJsonInfoCache()),Ne=new Map,pe=new Map,fe=a9e(u,oe),xe=t.toPath(fe),Be=yd(xe),Ge=new Map;return{rootDirForResolution:u,resolvedModuleNames:ge,resolvedTypeReferenceDirectives:Ce,resolvedLibraries:ve,resolvedFileToResolution:B,resolutionsWithFailedLookups:v,resolutionsWithOnlyAffectingLocations:b,directoryWatchesOfFailedLookups:Ne,fileWatchesOfAffectingLocations:pe,watchFailedLookupLocationsOfExternalModuleResolutions:xn,getModuleResolutionCache:()=>ae,startRecordingFilesWithChangedResolutions:ft,finishRecordingFilesWithChangedResolutions:Ye,startCachingPerDirectoryResolution:Gt,finishCachingPerDirectoryResolution:Ie,resolveModuleNameLiterals:ht,resolveTypeReferenceDirectiveReferences:ei,resolveLibrary:Ut,resolveSingleModuleNameWithoutWatching:Ni,removeResolutionsFromProjectReferenceRedirects:Dn,removeResolutionsOfFile:Cn,hasChangedAutomaticTypeDirectiveNames:()=>T,invalidateResolutionOfFile:oa,invalidateResolutionsOfFailedLookupLocations:Yo,setFilesWithInvalidatedNonRelativeUnresolvedImports:Da,createHasInvalidatedResolutions:We,isFileWithInvalidatedNonRelativeUnresolvedImports:Ve,updateTypeRootsWatch:Xt,closeTypeRootsWatch:Mt,clear:Ke,onChangesAffectModuleResolution:Je};function Ae(et){return et.resolvedModule}function De(et){return et.resolvedTypeReferenceDirective}function Ke(){rf(Ne,jm),rf(pe,jm),E.clear(),Mt(),ge.clear(),Ce.clear(),B.clear(),v.clear(),b.clear(),j=void 0,J=void 0,K=void 0,z=void 0,M=void 0,Y=!1,ae.clear(),ne.clear(),ae.update(t.getCompilationSettings()),ne.update(t.getCompilationSettings()),Se.clear(),k.clear(),ve.clear(),T=!1}function Je(){Y=!0,ae.clearAllExceptPackageJsonInfoCache(),ne.clearAllExceptPackageJsonInfoCache(),ae.update(t.getCompilationSettings()),ne.update(t.getCompilationSettings())}function ft(){d=[]}function Ye(){const et=d;return d=void 0,et}function Ve(et){if(!p)return!1;const gt=p.get(et);return!!gt&&!!gt.length}function We(et,gt){Yo();const ii=f;return f=void 0,{hasInvalidatedResolutions:me=>et(me)||Y||!!(ii!=null&&ii.has(me))||Ve(me),hasInvalidatedLibResolutions:me=>{var ni;return gt(me)||!!((ni=ve==null?void 0:ve.get(me))!=null&&ni.isInvalidated)}}}function Gt(){ae.isReadonly=void 0,ne.isReadonly=void 0,Se.isReadonly=void 0,ae.getPackageJsonInfoCache().isReadonly=void 0,ae.clearAllExceptPackageJsonInfoCache(),ne.clearAllExceptPackageJsonInfoCache(),Se.clearAllExceptPackageJsonInfoCache(),E.forEach(aa),E.clear()}function Yt(et){ve.forEach((gt,ii)=>{var me;(me=et==null?void 0:et.resolvedLibReferences)!=null&&me.has(ii)||(bt(gt,t.toPath(AQ(t.getCompilationSettings(),oe(),ii)),Ae),ve.delete(ii))})}function Ie(et,gt){p=void 0,Y=!1,E.forEach(aa),E.clear(),et!==gt&&(Yt(et),et==null||et.getSourceFiles().forEach(ii=>{var me;const ni=cm(ii)?((me=ii.packageJsonLocations)==null?void 0:me.length)??0:0,vi=k.get(ii.path)??_t;for(let mt=vi.length;mtni)for(let mt=ni;mt{et!=null&&et.getSourceFileByPath(me)||(ii.forEach(ni=>pe.get(ni).files--),k.delete(me))})),Ne.forEach(st),pe.forEach(St),T=!1,ae.isReadonly=!0,ne.isReadonly=!0,Se.isReadonly=!0,ae.getPackageJsonInfoCache().isReadonly=!0}function st(et,gt){et.refCount===0&&(Ne.delete(gt),et.watcher.close())}function St(et,gt){var ii;et.files===0&&et.resolutions===0&&!((ii=et.symlinks)!=null&&ii.size)&&(pe.delete(gt),et.watcher.close())}function It({entries:et,containingFile:gt,containingSourceFile:ii,redirectedReference:me,options:ni,perFileCache:vi,reusedNames:mt,loader:Ot,getResolutionWithResolvedFileName:Ei,deferWatchingNonRelativeResolution:$i,shouldRetryResolution:Qi,logChanges:on}){const le=t.toPath(gt),te=vi.get(le)||vi.set(le,U7()).get(le),we=[],de=on&&Ve(le),je=t.getCurrentProgram(),X=je&&je.getResolvedProjectReferenceToRedirect(gt),it=X?!me||me.sourceFile.path!==X.sourceFile.path:!!me,Ct=U7();for(const Qt of et){const Li=Ot.nameAndMode.getName(Qt),Ui=Ot.nameAndMode.getMode(Qt,ii);let Sn=te.get(Li,Ui);if(!Ct.has(Li,Ui)&&(Y||it||!Sn||Sn.isInvalidated||de&&!Id(Li)&&Qi(Sn))){const du=Sn;Sn=Ot.resolve(Li,Ui),t.onDiscoveredSymlink&&Kzt(Sn)&&t.onDiscoveredSymlink(),te.set(Li,Ui,Sn),Sn!==du&&(xn(Li,Sn,le,Ei,$i),du&&bt(du,le,Ei)),on&&d&&!ct(du,Sn)&&(d.push(le),on=!1)}else{const du=RQ(t);if(aD(ni,du)&&!Ct.has(Li,Ui)){const Ru=Ei(Sn);Sa(du,vi===ge?Ru!=null&&Ru.resolvedFileName?Ru.packageId?F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:Ru!=null&&Ru.resolvedFileName?Ru.packageId?F.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:F.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:F.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,Li,gt,Ru==null?void 0:Ru.resolvedFileName,(Ru==null?void 0:Ru.packageId)&&Px(Ru.packageId))}}H.assert(Sn!==void 0&&!Sn.isInvalidated),Ct.set(Li,Ui,!0),we.push(Sn)}return mt==null||mt.forEach(Qt=>Ct.set(Ot.nameAndMode.getName(Qt),Ot.nameAndMode.getMode(Qt,ii),!0)),te.size()!==Ct.size()&&te.forEach((Qt,Li,Ui)=>{Ct.has(Li,Ui)||(bt(Qt,le,Ei),te.delete(Li,Ui))}),we;function ct(Qt,Li){if(Qt===Li)return!0;if(!Qt||!Li)return!1;const Ui=Ei(Qt),Sn=Ei(Li);return Ui===Sn?!0:!Ui||!Sn?!1:Ui.resolvedFileName===Sn.resolvedFileName}}function ei(et,gt,ii,me,ni,vi){return It({entries:et,containingFile:gt,containingSourceFile:ni,redirectedReference:ii,options:me,reusedNames:vi,perFileCache:Ce,loader:kQ(gt,ii,me,RQ(t),ne),getResolutionWithResolvedFileName:De,shouldRetryResolution:mt=>mt.resolvedTypeReferenceDirective===void 0,deferWatchingNonRelativeResolution:!1})}function ht(et,gt,ii,me,ni,vi){return It({entries:et,containingFile:gt,containingSourceFile:ni,redirectedReference:ii,options:me,reusedNames:vi,perFileCache:ge,loader:o9e(gt,ii,me,t,ae),getResolutionWithResolvedFileName:Ae,shouldRetryResolution:mt=>!mt.resolvedModule||!FP(mt.resolvedModule.extension),logChanges:s,deferWatchingNonRelativeResolution:!0})}function Ut(et,gt,ii,me){const ni=RQ(t);let vi=ve==null?void 0:ve.get(me);if(!vi||vi.isInvalidated){const mt=vi;vi=KY(et,gt,ii,ni,Se);const Ot=t.toPath(gt);xn(et,vi,Ot,Ae,!1),ve.set(me,vi),mt&&bt(mt,Ot,Ae)}else if(aD(ii,ni)){const mt=Ae(vi);Sa(ni,mt!=null&&mt.resolvedFileName?mt.packageId?F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved,et,gt,mt==null?void 0:mt.resolvedFileName,(mt==null?void 0:mt.packageId)&&Px(mt.packageId))}return vi}function Ni(et,gt){var ii,me;const ni=t.toPath(gt),vi=ge.get(ni),mt=vi==null?void 0:vi.get(et,void 0);if(mt&&!mt.isInvalidated)return mt;const Ot=(ii=t.beforeResolveSingleModuleNameWithoutWatching)==null?void 0:ii.call(t,ae),Ei=RQ(t),$i=WB(et,gt,t.getCompilationSettings(),Ei,ae);return(me=t.afterResolveSingleModuleNameWithoutWatching)==null||me.call(t,ae,et,gt,$i,Ot),$i}function ji(et){return sc(et,"/node_modules/@types")}function xn(et,gt,ii,me,ni){var vi;if(gt.refCount)gt.refCount++,H.assertIsDefined(gt.files);else{gt.refCount=1,H.assert(!((vi=gt.files)!=null&&vi.size)),!ni||Id(et)?an(gt):E.add(et,gt);const mt=me(gt);if(mt&&mt.resolvedFileName){const Ot=t.toPath(mt.resolvedFileName);let Ei=B.get(Ot);Ei||B.set(Ot,Ei=new Set),Ei.add(gt)}}(gt.files??(gt.files=new Set)).add(ii)}function Jn(et,gt){const ii=t.toPath(et),me=J1e(et,ii,fe,xe,Be,oe);if(me){const{dir:ni,dirPath:vi,nonRecursive:mt}=me;vi===xe?(H.assert(mt),gt=!0):yr(ni,vi,mt)}return gt}function an(et){H.assert(!!et.refCount);const{failedLookupLocations:gt,affectingLocations:ii,node10Result:me}=et;if(!(gt!=null&>.length)&&!(ii!=null&&ii.length)&&!me)return;(gt!=null&>.length||me)&&v.add(et);let ni=!1;if(gt)for(const vi of gt)ni=Jn(vi,ni);me&&(ni=Jn(me,ni)),ni&&yr(fe,xe,!0),Pi(et,!(gt!=null&>.length)&&!me)}function Pi(et,gt){H.assert(!!et.refCount);const{affectingLocations:ii}=et;if(ii!=null&&ii.length){gt&&b.add(et);for(const me of ii)Ai(me,!0)}}function Ai(et,gt){const ii=pe.get(et);if(ii){gt?ii.resolutions++:ii.files++;return}let me=et,ni=!1,vi;t.realpath&&(me=t.realpath(et),et!==me&&(ni=!0,vi=pe.get(me)));const mt=gt?1:0,Ot=gt?0:1;if(!ni||!vi){const Ei={watcher:n9e(t.toPath(me))?t.watchAffectingFileLocation(me,($i,Qi)=>{se==null||se.addOrDeleteFile($i,t.toPath(me),Qi),Zu(me,ae.getPackageJsonInfoCache().getInternalMap()),t.scheduleInvalidateResolutionsOfFailedLookupLocations()}):tw,resolutions:ni?0:mt,files:ni?0:Ot,symlinks:void 0};pe.set(me,Ei),ni&&(vi=Ei)}if(ni){H.assert(!!vi);const Ei={watcher:{close:()=>{var $i;const Qi=pe.get(me);($i=Qi==null?void 0:Qi.symlinks)!=null&&$i.delete(et)&&!Qi.symlinks.size&&!Qi.resolutions&&!Qi.files&&(pe.delete(me),Qi.watcher.close())}},resolutions:mt,files:Ot,symlinks:void 0};pe.set(et,Ei),(vi.symlinks??(vi.symlinks=new Set)).add(et)}}function Zu(et,gt){var ii;const me=pe.get(et);me!=null&&me.resolutions&&(z??(z=new Set)).add(et),me!=null&&me.files&&(M??(M=new Set)).add(et),(ii=me==null?void 0:me.symlinks)==null||ii.forEach(ni=>Zu(ni,gt)),gt==null||gt.delete(t.toPath(et))}function aa(et,gt){const ii=t.getCurrentProgram();!ii||!ii.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(gt)?et.forEach(an):et.forEach(me=>Pi(me,!0))}function yr(et,gt,ii){const me=Ne.get(gt);me?(H.assert(!!ii==!!me.nonRecursive),me.refCount++):Ne.set(gt,{watcher:Ln(et,gt,ii),refCount:1,nonRecursive:ii})}function Ba(et,gt,ii){const me=t.toPath(et),ni=J1e(et,me,fe,xe,Be,oe);if(ni){const{dirPath:vi}=ni;vi===xe?gt=!0:jn(vi,ii)}return gt}function bt(et,gt,ii,me){if(H.checkDefined(et.files).delete(gt),et.refCount--,et.refCount)return;const ni=ii(et);if(ni&&ni.resolvedFileName){const Ei=t.toPath(ni.resolvedFileName),$i=B.get(Ei);$i!=null&&$i.delete(et)&&!$i.size&&B.delete(Ei)}const{failedLookupLocations:vi,affectingLocations:mt,node10Result:Ot}=et;if(v.delete(et)){let Ei=!1;if(vi)for(const $i of vi)Ei=Ba($i,Ei,me);Ot&&(Ei=Ba(Ot,Ei,me)),Ei&&jn(xe,me)}else mt!=null&&mt.length&&b.delete(et);if(mt)for(const Ei of mt){const $i=pe.get(Ei);$i.resolutions--,me&&St($i,Ei)}}function jn(et,gt){const ii=Ne.get(et);ii.refCount--,gt&&st(ii,et)}function Ln(et,gt,ii){return t.watchDirectoryOfFailedLookupLocation(et,me=>{const ni=t.toPath(me);se&&se.addOrDeleteFileOrDirectory(me,ni),ua(ni,gt===ni)},ii?0:1)}function Si(et,gt,ii,me){const ni=et.get(gt);ni&&(ni.forEach(vi=>bt(vi,gt,ii,me)),et.delete(gt))}function Dn(et){if(!Ml(et,".json"))return;const gt=t.getCurrentProgram();if(!gt)return;const ii=gt.getResolvedProjectReferenceByPath(et);ii&&ii.commandLine.fileNames.forEach(me=>Cn(t.toPath(me)))}function Cn(et,gt){Si(ge,et,Ae,gt),Si(Ce,et,De,gt)}function tu(et,gt){if(!et)return!1;let ii=!1;return et.forEach(me=>{if(!(me.isInvalidated||!gt(me))){me.isInvalidated=ii=!0;for(const ni of H.checkDefined(me.files))(f??(f=new Set)).add(ni),T=T||sc(ni,QB)}}),ii}function oa(et){Cn(et);const gt=T;tu(B.get(et),J3)&&T&&!gt&&t.onChangedAutomaticTypeDirectiveNames()}function Da(et){H.assert(p===et||p===void 0),p=et}function ua(et,gt){if(gt)(K||(K=new Set)).add(et);else{const ii=zQ(et);if(!ii||(et=ii,t.fileIsOpen(et)))return!1;const me=lr(et);if(ji(et)||bU(et)||ji(me)||bU(me))(j||(j=new Set)).add(et),(J||(J=new Set)).add(et);else{if(L7e(t.getCurrentProgram(),et)||Ml(et,".map"))return!1;(j||(j=new Set)).add(et);const ni=uH(et,!0);ni&&(J||(J=new Set)).add(ni)}}t.scheduleInvalidateResolutionsOfFailedLookupLocations()}function Ta(){const et=ae.getPackageJsonInfoCache().getInternalMap();et&&(j||J||K)&&et.forEach((gt,ii)=>Qe(ii)?et.delete(ii):void 0)}function Yo(){var et;if(Y)return M=void 0,Ta(),(j||J||K||z)&&tu(ve,bo),j=void 0,J=void 0,K=void 0,z=void 0,!0;let gt=!1;return M&&((et=t.getCurrentProgram())==null||et.getSourceFiles().forEach(ii=>{Oe(ii.packageJsonLocations,me=>M.has(me))&&((f??(f=new Set)).add(ii.path),gt=!0)}),M=void 0),!j&&!J&&!K&&!z||(gt=tu(v,bo)||gt,Ta(),j=void 0,J=void 0,K=void 0,gt=tu(b,Et)||gt,z=void 0),gt}function bo(et){var gt;return Et(et)?!0:!j&&!J&&!K?!1:((gt=et.failedLookupLocations)==null?void 0:gt.some(ii=>Qe(t.toPath(ii))))||!!et.node10Result&&Qe(t.toPath(et.node10Result))}function Qe(et){return(j==null?void 0:j.has(et))||ie((J==null?void 0:J.keys())||[],gt=>Pa(et,gt)?!0:void 0)||ie((K==null?void 0:K.keys())||[],gt=>et.length>gt.length&&Pa(et,gt)&&(yse(gt)||et[gt.length]===rl)?!0:void 0)}function Et(et){var gt;return!!z&&((gt=et.affectingLocations)==null?void 0:gt.some(ii=>z.has(ii)))}function Mt(){rf(Ge,fg)}function qt(et,gt){return Pe(et)?t.watchTypeRootsDirectory(gt,ii=>{const me=t.toPath(ii);se&&se.addOrDeleteFileOrDirectory(ii,me),T=!0,t.onChangedAutomaticTypeDirectiveNames();const ni=r9e(gt,et,xe,Be,oe,vi=>Ne.has(vi));ni&&ua(me,ni===me)},1):tw}function Xt(){const et=t.getCompilationSettings();if(et.types){Mt();return}const gt=cM(et,{getCurrentDirectory:oe});gt?cB(Ge,lg(gt,ii=>t.toPath(ii)),{createNewValue:qt,onDeleteValue:fg}):Mt()}function Pe(et){return t.getCompilationSettings().typeRoots?!0:i9e(t.toPath(et))}}function Kzt(t){var u,s;return!!((u=t.resolvedModule)!=null&&u.originalPath||(s=t.resolvedTypeReferenceDirective)!=null&&s.originalPath)}var Wzt=o({"src/compiler/resolutionCache.ts"(){Bo()}});function kH(t,u){const s=t===c1&&m9e?m9e:{getCurrentDirectory:()=>t.getCurrentDirectory(),getNewLine:()=>t.newLine,getCanonicalFileName:L1(t.useCaseSensitiveFileNames)};if(!u)return f=>t.write(b1e(f,s));const d=new Array(1);return f=>{d[0]=f,t.write(z7e(d,s)+s.getNewLine()),d[0]=void 0}}function wtt(t,u,s){return t.clearScreen&&!s.preserveWatchOutput&&!s.extendedDiagnostics&&!s.diagnostics&&kt(WQ,u.code)?(t.clearScreen(),!0):!1}function Gzt(t,u){return kt(WQ,t.code)?u+u:u}function FH(t){return t.now?t.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(" "," "):new Date().toLocaleTimeString()}function s9e(t,u){return u?(s,d,f)=>{wtt(t,s,f);let p=`[${eb(FH(t),"\x1B[90m")}] `;p+=`${lE(s.messageText,t.newLine)}${d+d}`,t.write(p)}:(s,d,f)=>{let p="";wtt(t,s,f)||(p+=d),p+=`${FH(t)} - `,p+=`${lE(s.messageText,t.newLine)}${Gzt(s,d)}`,t.write(p)}}function Ttt(t,u,s,d,f,p){const E=f;E.onUnRecoverableConfigFileDiagnostic=b=>Ptt(f,p,b);const v=GV(t,u,E,s,d);return E.onUnRecoverableConfigFileDiagnostic=void 0,v}function OQ(t){return ui(t,u=>u.category===1)}function jQ(t){return ti(t,s=>s.category===1).map(s=>{if(s.file!==void 0)return`${s.file.fileName}`}).map(s=>{if(s===void 0)return;const d=Le(t,f=>f.file!==void 0&&f.file.fileName===s);if(d!==void 0){const{line:f}=s0(d.file,d.start);return{fileName:s,line:f+1}}})}function U1e(t){return t===1?F.Found_1_error_Watching_for_file_changes:F.Found_0_errors_Watching_for_file_changes}function Ltt(t,u){const s=eb(":"+t.line,"\x1B[90m");return SN(t.fileName)&&SN(u)?JE(u,t.fileName,!1)+s:t.fileName+s}function l9e(t,u,s,d){if(t===0)return"";const f=u.filter(k=>k!==void 0),p=f.map(k=>`${k.fileName}:${k.line}`).filter((k,T,M)=>M.indexOf(k)===T),E=f[0]&&Ltt(f[0],d.getCurrentDirectory());let v;t===1?v=u[0]!==void 0?[F.Found_1_error_in_0,E]:[F.Found_1_error]:v=p.length===0?[F.Found_0_errors,t]:p.length===1?[F.Found_0_errors_in_the_same_file_starting_at_Colon_1,t,E]:[F.Found_0_errors_in_1_files,t,p.length];const b=cc(...v),B=p.length>1?Jzt(f,d):"";return`${s}${lE(b.messageText,s)}${s}${s}${B}`}function Jzt(t,u){const s=t.filter((T,M,z)=>M===z.findIndex(j=>(j==null?void 0:j.fileName)===(T==null?void 0:T.fileName)));if(s.length===0)return"";const d=T=>Math.log(T)*Math.LOG10E+1,f=s.map(T=>[T,ui(t,M=>M.fileName===T.fileName)]),p=f.reduce((T,M)=>Math.max(T,M[1]||0),0),E=F.Errors_Files.message,v=E.split(" ")[0].length,b=Math.max(v,d(p)),B=Math.max(d(p)-v,0);let k="";return k+=" ".repeat(B)+E+` +`):B.messageText}function b(B){return B.file.resolvedPath===u.resolvedPath?`(${B.start},${B.length})`:(E===void 0&&(E=lr(u.resolvedPath)),`${h2(JE(E,B.file.resolvedPath,t.getCanonicalFileName))}(${B.start},${B.length})`)}}function Nk(t,u,s){return(u.createHash??AN)(btt(t,s))}function j1e(t,{newProgram:u,host:s,oldProgram:d,configFileParsingDiagnostics:f}){let p=d&&d.getState();if(p&&u===p.program&&f===u.getConfigFileParsingDiagnostics())return u=void 0,p=void 0,d;const E=Fzt(u,p);u.getBuildInfo=J=>Izt(E,J),u=void 0,d=void 0,p=void 0;const v=()=>E,b=H1e(v,f);return b.getState=v,b.saveEmitState=()=>wzt(E),b.restoreEmitState=J=>Tzt(E,J),b.hasChangedEmitSignature=()=>!!E.hasChangedEmitSignature,b.getAllDependencies=J=>Wp.getAllDependencies(E,H.checkDefined(E.program),J),b.getSemanticDiagnostics=j,b.emit=M,b.releaseProgram=()=>Bzt(E),t===0?b.getSemanticDiagnosticsOfNextAffectedFile=z:t===1?(b.getSemanticDiagnosticsOfNextAffectedFile=z,b.emitNextAffectedFile=k,b.emitBuildInfo=B):ho(),b;function B(J,K){if(E.buildInfoEmitPending){const Y=H.checkDefined(E.program).emitBuildInfo(J||Lo(s,s.writeFile),K);return E.buildInfoEmitPending=!1,Y}return PQ}function k(J,K,Y,oe){var se,ge,ae;let Ce=Ett(E,K,s);const ne=Ux(E.compilerOptions);let ve=Y?ne&24:ne;if(!Ce)if(y0(E.compilerOptions)){if(!E.programEmitPending||(ve=E.programEmitPending,Y&&(ve=ve&24),!ve))return;Ce=E.program}else{const pe=Nzt(E,Y);if(!pe){if(!E.buildInfoEmitPending)return;const fe=E.program,xe=fe.emitBuildInfo(J||Lo(s,s.writeFile),K);return E.buildInfoEmitPending=!1,{result:xe,affected:fe}}({affectedFile:Ce,emitKind:ve}=pe)}let Se;ve&7&&(Se=0),ve&24&&(Se=Se===void 0?1:void 0),Ce===E.program&&(E.programEmitPending=E.changedFilesSet.size?XB(ne,ve):E.programEmitPending?XB(E.programEmitPending,ve):void 0);const Ne=E.program.emit(Ce===E.program?void 0:Ce,T(J,oe),K,Se,oe);if(Ce!==E.program){const pe=Ce;E.seenAffectedFiles.add(pe.resolvedPath),E.affectedFilesIndex!==void 0&&E.affectedFilesIndex++,E.buildInfoEmitPending=!0;const fe=((se=E.seenEmittedFiles)==null?void 0:se.get(pe.resolvedPath))||0;(E.seenEmittedFiles??(E.seenEmittedFiles=new Map)).set(pe.resolvedPath,ve|fe);const xe=((ge=E.affectedFilesPendingEmit)==null?void 0:ge.get(pe.resolvedPath))||ne,Be=XB(xe,ve|fe);Be?(E.affectedFilesPendingEmit??(E.affectedFilesPendingEmit=new Map)).set(pe.resolvedPath,Be):(ae=E.affectedFilesPendingEmit)==null||ae.delete(pe.resolvedPath)}else E.changedFilesSet.clear();return{result:Ne,affected:Ce}}function T(J,K){return c4(E.compilerOptions)?(Y,oe,se,ge,ae,Ce)=>{var ne,ve,Se,Ne;if(e1(Y))if(y0(E.compilerOptions)){if(E.compilerOptions.composite){const fe=pe(E.outSignature,void 0);if(!fe)return;E.outSignature=fe}}else{H.assert((ae==null?void 0:ae.length)===1);let fe;if(!K){const xe=ae[0],Be=E.fileInfos.get(xe.resolvedPath);if(Be.signature===xe.version){const Ge=O1e(E.program,xe,oe,s,Ce);(ne=Ce==null?void 0:Ce.diagnostics)!=null&&ne.length||(fe=Ge),Ge!==xe.version&&(s.storeFilesChangingSignatureDuringEmit&&(E.filesChangingSignature??(E.filesChangingSignature=new Set)).add(xe.resolvedPath),E.exportedModulesMap&&Wp.updateExportedModules(E,xe,xe.exportedModulesFromDeclarationEmit),E.affectedFiles?(((ve=E.oldSignatures)==null?void 0:ve.get(xe.resolvedPath))===void 0&&(E.oldSignatures??(E.oldSignatures=new Map)).set(xe.resolvedPath,Be.signature||!1),Be.signature=Ge):(Be.signature=Ge,(Se=E.oldExportedModulesMap)==null||Se.clear()))}}if(E.compilerOptions.composite){const xe=ae[0].resolvedPath;if(fe=pe((Ne=E.emitSignatures)==null?void 0:Ne.get(xe),fe),!fe)return;(E.emitSignatures??(E.emitSignatures=new Map)).set(xe,fe)}}J?J(Y,oe,se,ge,ae,Ce):s.writeFile?s.writeFile(Y,oe,se,ge,ae,Ce):E.program.writeFile(Y,oe,se,ge,ae,Ce);function pe(fe,xe){const Be=!fe||Ja(fe)?fe:fe[0];if(xe??(xe=Nk(oe,s,Ce)),xe===Be){if(fe===Be)return;Ce?Ce.differsOnlyInMap=!0:Ce={differsOnlyInMap:!0}}else E.hasChangedEmitSignature=!0,E.latestChangedDtsFile=Y;return xe}}:J||Lo(s,s.writeFile)}function M(J,K,Y,oe,se){t===1&>t(E,J);const ge=L1e(b,J,K,Y);if(ge)return ge;if(!J)if(t===1){let ae=[],Ce=!1,ne,ve=[],Se;for(;Se=k(K,Y,oe,se);)Ce=Ce||Se.result.emitSkipped,ne=yn(ne,Se.result.diagnostics),ve=yn(ve,Se.result.emittedFiles),ae=yn(ae,Se.result.sourceMaps);return{emitSkipped:Ce,diagnostics:ne||_t,emittedFiles:ve,sourceMaps:ae}}else Lzt(E,oe);return H.checkDefined(E.program).emit(J,T(K,se),Y,oe,se)}function z(J,K){for(;;){const Y=Ett(E,J,s);let oe;if(Y)if(Y!==E.program){const se=Y;if((!K||!K(se))&&(oe=$7e(E,se,J)),E.seenAffectedFiles.add(se.resolvedPath),E.affectedFilesIndex++,E.buildInfoEmitPending=!0,!oe)continue}else oe=E.program.getSemanticDiagnostics(void 0,J),E.changedFilesSet.clear(),E.programEmitPending=Ux(E.compilerOptions);else return;return{result:oe,affected:Y}}}function j(J,K){gtt(E,J);const Y=H.checkDefined(E.program).getCompilerOptions();if(y0(Y))return H.assert(!E.semanticDiagnosticsPerFile),H.checkDefined(E.program).getSemanticDiagnostics(J,K);if(J)return $7e(E,J,K);for(;z(K););let oe;for(const se of H.checkDefined(E.program).getSourceFiles())oe=yn(oe,$7e(E,se,K));return oe||_t}}function Z7e(t,u,s){var d;const f=((d=t.affectedFilesPendingEmit)==null?void 0:d.get(u))||0;(t.affectedFilesPendingEmit??(t.affectedFilesPendingEmit=new Map)).set(u,f|s)}function Y7e(t){return Ja(t)?{version:t,signature:t,affectsGlobalScope:void 0,impliedFormat:void 0}:Ja(t.signature)?t:{version:t.version,signature:t.signature===!1?void 0:t.version,affectsGlobalScope:t.affectsGlobalScope,impliedFormat:t.impliedFormat}}function Q7e(t,u){return UD(t)?u:t[1]||8}function X7e(t,u){return t||Ux(u||{})}function e9e(t,u,s){var d,f,p,E;const v=t.program,b=lr($a(u,s.getCurrentDirectory())),B=L1(s.useCaseSensitiveFileNames());let k;const T=(d=v.fileNames)==null?void 0:d.map(j);let M;const z=v.latestChangedDtsFile?J(v.latestChangedDtsFile):void 0;if(U7e(v)){const se=new Map;v.fileInfos.forEach((ge,ae)=>{const Ce=K(ae+1);se.set(Ce,Ja(ge)?{version:ge,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:ge)}),k={fileInfos:se,compilerOptions:v.options?ode(v.options,J):{},latestChangedDtsFile:z,outSignature:v.outSignature,programEmitPending:v.pendingEmit===void 0?void 0:X7e(v.pendingEmit,v.options),bundle:t.bundle}}else{M=(f=v.fileIdsList)==null?void 0:f.map(Ce=>new Set(Ce.map(K)));const se=new Map,ge=(p=v.options)!=null&&p.composite&&!y0(v.options)?new Map:void 0;v.fileInfos.forEach((Ce,ne)=>{const ve=K(ne+1),Se=Y7e(Ce);se.set(ve,Se),ge&&Se.signature&&ge.set(ve,Se.signature)}),(E=v.emitSignatures)==null||E.forEach(Ce=>{if(UD(Ce))ge.delete(K(Ce));else{const ne=K(Ce[0]);ge.set(ne,!Ja(Ce[1])&&!Ce[1].length?[ge.get(ne)]:Ce[1])}});const ae=v.affectedFilesPendingEmit?Ux(v.options||{}):void 0;k={fileInfos:se,compilerOptions:v.options?ode(v.options,J):{},referencedMap:oe(v.referencedMap),exportedModulesMap:oe(v.exportedModulesMap),semanticDiagnosticsPerFile:v.semanticDiagnosticsPerFile&&lg(v.semanticDiagnosticsPerFile,Ce=>K(UD(Ce)?Ce:Ce[0]),Ce=>UD(Ce)?_t:Ce[1]),hasReusableDiagnostic:!0,affectedFilesPendingEmit:v.affectedFilesPendingEmit&&lg(v.affectedFilesPendingEmit,Ce=>K(UD(Ce)?Ce:Ce[0]),Ce=>Q7e(Ce,ae)),changedFilesSet:new Set(Vt(v.changeFileSet,K)),latestChangedDtsFile:z,emitSignatures:ge!=null&&ge.size?ge:void 0}}return{getState:()=>k,saveEmitState:Is,restoreEmitState:Is,getProgram:ho,getProgramOrUndefined:hv,releaseProgram:Is,getCompilerOptions:()=>k.compilerOptions,getSourceFile:ho,getSourceFiles:ho,getOptionsDiagnostics:ho,getGlobalDiagnostics:ho,getConfigFileParsingDiagnostics:ho,getSyntacticDiagnostics:ho,getDeclarationDiagnostics:ho,getSemanticDiagnostics:ho,emit:ho,getAllDependencies:ho,getCurrentDirectory:ho,emitNextAffectedFile:ho,getSemanticDiagnosticsOfNextAffectedFile:ho,emitBuildInfo:ho,close:Is,hasChangedEmitSignature:cg};function j(se){return J0(se,b,B)}function J(se){return $a(se,b)}function K(se){return T[se-1]}function Y(se){return M[se-1]}function oe(se){if(!se)return;const ge=Wp.createManyToManyPathMap();return se.forEach(([ae,Ce])=>ge.set(K(ae),Y(Ce))),ge}}function V1e(t,u,s){const d=lr($a(u,s.getCurrentDirectory())),f=L1(s.useCaseSensitiveFileNames()),p=new Map;let E=0;const v=[];return t.fileInfos.forEach((b,B)=>{const k=J0(t.fileNames[B],d,f),T=Ja(b)?b:b.version;if(p.set(k,T),Et().program,releaseProgram:()=>t().program=void 0,getCompilerOptions:()=>t().compilerOptions,getSourceFile:d=>s().getSourceFile(d),getSourceFiles:()=>s().getSourceFiles(),getOptionsDiagnostics:d=>s().getOptionsDiagnostics(d),getGlobalDiagnostics:d=>s().getGlobalDiagnostics(d),getConfigFileParsingDiagnostics:()=>u,getSyntacticDiagnostics:(d,f)=>s().getSyntacticDiagnostics(d,f),getDeclarationDiagnostics:(d,f)=>s().getDeclarationDiagnostics(d,f),getSemanticDiagnostics:(d,f)=>s().getSemanticDiagnostics(d,f),emit:(d,f,p,E,v)=>s().emit(d,f,p,E,v),emitBuildInfo:(d,f)=>s().emitBuildInfo(d,f),getAllDependencies:ho,getCurrentDirectory:()=>s().getCurrentDirectory(),close:Is};function s(){return H.checkDefined(t().program)}}var K1e,W1e,jzt=o({"src/compiler/builder.ts"(){Bo(),K1e=(t=>(t[t.None=0]="None",t[t.Js=1]="Js",t[t.JsMap=2]="JsMap",t[t.JsInlineMap=4]="JsInlineMap",t[t.Dts=8]="Dts",t[t.DtsMap=16]="DtsMap",t[t.AllJs=7]="AllJs",t[t.AllDts=24]="AllDts",t[t.All=31]="All",t))(K1e||{}),W1e=(t=>(t[t.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",t[t.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",t))(W1e||{})}});function ytt(t,u,s,d,f,p){return j1e(0,MQ(t,u,s,d,f,p))}function G1e(t,u,s,d,f,p){return j1e(1,MQ(t,u,s,d,f,p))}function ktt(t,u,s,d,f,p){const{newProgram:E,configFileParsingDiagnostics:v}=MQ(t,u,s,d,f,p);return H1e(()=>({program:E,compilerOptions:E.getCompilerOptions()}),v)}var Vzt=o({"src/compiler/builderPublic.ts"(){Bo()}});function zQ(t){return sc(t,"/node_modules/.staging")?D8(t,"/.staging"):Oe(kO,u=>t.includes(u))?void 0:t}function t9e(t,u){if(u<=1)return 1;let s=1,d=t[0].search(/[a-zA-Z]:/)===0;if(t[0]!==rl&&!d&&t[1].search(/[a-zA-Z]\$$/)===0){if(u===2)return 2;s=2,d=!0}return d&&!t[s].match(/^users$/i)?s:t[s].match(/^workspaces$/i)?s+1:s+2}function IQ(t,u){if(u===void 0&&(u=t.length),u<=2)return!1;const s=t9e(t,u);return u>s+1}function i9e(t){return Att(lr(t))}function Ftt(t,u){if(u.lengthf.length+1?u9e(v,E,Math.max(f.length+1,b+1)):{dir:s,dirPath:d,nonRecursive:!0}:Stt(v,E,E.length-1,b,B,f)}function Stt(t,u,s,d,f,p){if(f!==-1)return u9e(t,u,f+1);let E=!0,v=s;for(let b=0;bHzt(d,f,p,t,s,u,E)}}function Hzt(t,u,s,d,f,p,E){const v=RQ(t),b=WB(s,d,f,v,u,p,E);if(!t.getGlobalCache)return b;const B=t.getGlobalCache();if(B!==void 0&&!Id(s)&&!(b.resolvedModule&&cZ(b.resolvedModule.extension))){const{resolvedModule:k,failedLookupLocations:T,affectingLocations:M,resolutionDiagnostics:z}=kAe(H.checkDefined(t.globalCacheResolutionModuleName)(s),t.projectName,f,v,B,u);if(k)return b.resolvedModule=k,b.failedLookupLocations=HB(b.failedLookupLocations,T),b.affectingLocations=HB(b.affectingLocations,M),b.resolutionDiagnostics=HB(b.resolutionDiagnostics,z),b}return b}function $1e(t,u,s){let d,f,p;const E=wm(),v=new Set,b=new Set,B=new Map,k=new Map;let T=!1,M,z,j,J,K,Y=!1;const oe=Mh(()=>t.getCurrentDirectory()),se=t.getCachedDirectoryStructureHost(),ge=new Map,ae=KB(oe(),t.getCanonicalFileName,t.getCompilationSettings()),Ce=new Map,ne=HY(oe(),t.getCanonicalFileName,t.getCompilationSettings(),ae.getPackageJsonInfoCache(),ae.optionsToRedirectsKey),ve=new Map,Se=KB(oe(),t.getCanonicalFileName,bde(t.getCompilationSettings()),ae.getPackageJsonInfoCache()),Ne=new Map,pe=new Map,fe=a9e(u,oe),xe=t.toPath(fe),Be=yd(xe),Ge=new Map;return{rootDirForResolution:u,resolvedModuleNames:ge,resolvedTypeReferenceDirectives:Ce,resolvedLibraries:ve,resolvedFileToResolution:B,resolutionsWithFailedLookups:v,resolutionsWithOnlyAffectingLocations:b,directoryWatchesOfFailedLookups:Ne,fileWatchesOfAffectingLocations:pe,watchFailedLookupLocationsOfExternalModuleResolutions:xn,getModuleResolutionCache:()=>ae,startRecordingFilesWithChangedResolutions:ft,finishRecordingFilesWithChangedResolutions:Ye,startCachingPerDirectoryResolution:Gt,finishCachingPerDirectoryResolution:Ie,resolveModuleNameLiterals:ht,resolveTypeReferenceDirectiveReferences:ei,resolveLibrary:Ut,resolveSingleModuleNameWithoutWatching:Ni,removeResolutionsFromProjectReferenceRedirects:Dn,removeResolutionsOfFile:Cn,hasChangedAutomaticTypeDirectiveNames:()=>T,invalidateResolutionOfFile:oa,invalidateResolutionsOfFailedLookupLocations:Yo,setFilesWithInvalidatedNonRelativeUnresolvedImports:Da,createHasInvalidatedResolutions:We,isFileWithInvalidatedNonRelativeUnresolvedImports:Ve,updateTypeRootsWatch:Xt,closeTypeRootsWatch:Mt,clear:Ke,onChangesAffectModuleResolution:Je};function Ae(et){return et.resolvedModule}function De(et){return et.resolvedTypeReferenceDirective}function Ke(){rf(Ne,jm),rf(pe,jm),E.clear(),Mt(),ge.clear(),Ce.clear(),B.clear(),v.clear(),b.clear(),j=void 0,J=void 0,K=void 0,z=void 0,M=void 0,Y=!1,ae.clear(),ne.clear(),ae.update(t.getCompilationSettings()),ne.update(t.getCompilationSettings()),Se.clear(),k.clear(),ve.clear(),T=!1}function Je(){Y=!0,ae.clearAllExceptPackageJsonInfoCache(),ne.clearAllExceptPackageJsonInfoCache(),ae.update(t.getCompilationSettings()),ne.update(t.getCompilationSettings())}function ft(){d=[]}function Ye(){const et=d;return d=void 0,et}function Ve(et){if(!p)return!1;const gt=p.get(et);return!!gt&&!!gt.length}function We(et,gt){Yo();const ii=f;return f=void 0,{hasInvalidatedResolutions:me=>et(me)||Y||!!(ii!=null&&ii.has(me))||Ve(me),hasInvalidatedLibResolutions:me=>{var ni;return gt(me)||!!((ni=ve==null?void 0:ve.get(me))!=null&&ni.isInvalidated)}}}function Gt(){ae.isReadonly=void 0,ne.isReadonly=void 0,Se.isReadonly=void 0,ae.getPackageJsonInfoCache().isReadonly=void 0,ae.clearAllExceptPackageJsonInfoCache(),ne.clearAllExceptPackageJsonInfoCache(),Se.clearAllExceptPackageJsonInfoCache(),E.forEach(aa),E.clear()}function Yt(et){ve.forEach((gt,ii)=>{var me;(me=et==null?void 0:et.resolvedLibReferences)!=null&&me.has(ii)||(bt(gt,t.toPath(AQ(t.getCompilationSettings(),oe(),ii)),Ae),ve.delete(ii))})}function Ie(et,gt){p=void 0,Y=!1,E.forEach(aa),E.clear(),et!==gt&&(Yt(et),et==null||et.getSourceFiles().forEach(ii=>{var me;const ni=cm(ii)?((me=ii.packageJsonLocations)==null?void 0:me.length)??0:0,vi=k.get(ii.path)??_t;for(let mt=vi.length;mtni)for(let mt=ni;mt{et!=null&&et.getSourceFileByPath(me)||(ii.forEach(ni=>pe.get(ni).files--),k.delete(me))})),Ne.forEach(st),pe.forEach(St),T=!1,ae.isReadonly=!0,ne.isReadonly=!0,Se.isReadonly=!0,ae.getPackageJsonInfoCache().isReadonly=!0}function st(et,gt){et.refCount===0&&(Ne.delete(gt),et.watcher.close())}function St(et,gt){var ii;et.files===0&&et.resolutions===0&&!((ii=et.symlinks)!=null&&ii.size)&&(pe.delete(gt),et.watcher.close())}function It({entries:et,containingFile:gt,containingSourceFile:ii,redirectedReference:me,options:ni,perFileCache:vi,reusedNames:mt,loader:Ot,getResolutionWithResolvedFileName:Ei,deferWatchingNonRelativeResolution:$i,shouldRetryResolution:Qi,logChanges:on}){const le=t.toPath(gt),te=vi.get(le)||vi.set(le,U7()).get(le),we=[],de=on&&Ve(le),je=t.getCurrentProgram(),X=je&&je.getResolvedProjectReferenceToRedirect(gt),it=X?!me||me.sourceFile.path!==X.sourceFile.path:!!me,Ct=U7();for(const Qt of et){const Li=Ot.nameAndMode.getName(Qt),Ui=Ot.nameAndMode.getMode(Qt,ii);let Sn=te.get(Li,Ui);if(!Ct.has(Li,Ui)&&(Y||it||!Sn||Sn.isInvalidated||de&&!Id(Li)&&Qi(Sn))){const du=Sn;Sn=Ot.resolve(Li,Ui),t.onDiscoveredSymlink&&Kzt(Sn)&&t.onDiscoveredSymlink(),te.set(Li,Ui,Sn),Sn!==du&&(xn(Li,Sn,le,Ei,$i),du&&bt(du,le,Ei)),on&&d&&!ct(du,Sn)&&(d.push(le),on=!1)}else{const du=RQ(t);if(aD(ni,du)&&!Ct.has(Li,Ui)){const Ru=Ei(Sn);Sa(du,vi===ge?Ru!=null&&Ru.resolvedFileName?Ru.packageId?F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:Ru!=null&&Ru.resolvedFileName?Ru.packageId?F.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:F.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:F.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,Li,gt,Ru==null?void 0:Ru.resolvedFileName,(Ru==null?void 0:Ru.packageId)&&Px(Ru.packageId))}}H.assert(Sn!==void 0&&!Sn.isInvalidated),Ct.set(Li,Ui,!0),we.push(Sn)}return mt==null||mt.forEach(Qt=>Ct.set(Ot.nameAndMode.getName(Qt),Ot.nameAndMode.getMode(Qt,ii),!0)),te.size()!==Ct.size()&&te.forEach((Qt,Li,Ui)=>{Ct.has(Li,Ui)||(bt(Qt,le,Ei),te.delete(Li,Ui))}),we;function ct(Qt,Li){if(Qt===Li)return!0;if(!Qt||!Li)return!1;const Ui=Ei(Qt),Sn=Ei(Li);return Ui===Sn?!0:!Ui||!Sn?!1:Ui.resolvedFileName===Sn.resolvedFileName}}function ei(et,gt,ii,me,ni,vi){return It({entries:et,containingFile:gt,containingSourceFile:ni,redirectedReference:ii,options:me,reusedNames:vi,perFileCache:Ce,loader:kQ(gt,ii,me,RQ(t),ne),getResolutionWithResolvedFileName:De,shouldRetryResolution:mt=>mt.resolvedTypeReferenceDirective===void 0,deferWatchingNonRelativeResolution:!1})}function ht(et,gt,ii,me,ni,vi){return It({entries:et,containingFile:gt,containingSourceFile:ni,redirectedReference:ii,options:me,reusedNames:vi,perFileCache:ge,loader:o9e(gt,ii,me,t,ae),getResolutionWithResolvedFileName:Ae,shouldRetryResolution:mt=>!mt.resolvedModule||!FP(mt.resolvedModule.extension),logChanges:s,deferWatchingNonRelativeResolution:!0})}function Ut(et,gt,ii,me){const ni=RQ(t);let vi=ve==null?void 0:ve.get(me);if(!vi||vi.isInvalidated){const mt=vi;vi=KY(et,gt,ii,ni,Se);const Ot=t.toPath(gt);xn(et,vi,Ot,Ae,!1),ve.set(me,vi),mt&&bt(mt,Ot,Ae)}else if(aD(ii,ni)){const mt=Ae(vi);Sa(ni,mt!=null&&mt.resolvedFileName?mt.packageId?F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved,et,gt,mt==null?void 0:mt.resolvedFileName,(mt==null?void 0:mt.packageId)&&Px(mt.packageId))}return vi}function Ni(et,gt){var ii,me;const ni=t.toPath(gt),vi=ge.get(ni),mt=vi==null?void 0:vi.get(et,void 0);if(mt&&!mt.isInvalidated)return mt;const Ot=(ii=t.beforeResolveSingleModuleNameWithoutWatching)==null?void 0:ii.call(t,ae),Ei=RQ(t),$i=WB(et,gt,t.getCompilationSettings(),Ei,ae);return(me=t.afterResolveSingleModuleNameWithoutWatching)==null||me.call(t,ae,et,gt,$i,Ot),$i}function ji(et){return sc(et,"/node_modules/@types")}function xn(et,gt,ii,me,ni){var vi;if(gt.refCount)gt.refCount++,H.assertIsDefined(gt.files);else{gt.refCount=1,H.assert(!((vi=gt.files)!=null&&vi.size)),!ni||Id(et)?an(gt):E.add(et,gt);const mt=me(gt);if(mt&&mt.resolvedFileName){const Ot=t.toPath(mt.resolvedFileName);let Ei=B.get(Ot);Ei||B.set(Ot,Ei=new Set),Ei.add(gt)}}(gt.files??(gt.files=new Set)).add(ii)}function Jn(et,gt){const ii=t.toPath(et),me=J1e(et,ii,fe,xe,Be,oe);if(me){const{dir:ni,dirPath:vi,nonRecursive:mt}=me;vi===xe?(H.assert(mt),gt=!0):yr(ni,vi,mt)}return gt}function an(et){H.assert(!!et.refCount);const{failedLookupLocations:gt,affectingLocations:ii,node10Result:me}=et;if(!(gt!=null&>.length)&&!(ii!=null&&ii.length)&&!me)return;(gt!=null&>.length||me)&&v.add(et);let ni=!1;if(gt)for(const vi of gt)ni=Jn(vi,ni);me&&(ni=Jn(me,ni)),ni&&yr(fe,xe,!0),Pi(et,!(gt!=null&>.length)&&!me)}function Pi(et,gt){H.assert(!!et.refCount);const{affectingLocations:ii}=et;if(ii!=null&&ii.length){gt&&b.add(et);for(const me of ii)Ai(me,!0)}}function Ai(et,gt){const ii=pe.get(et);if(ii){gt?ii.resolutions++:ii.files++;return}let me=et,ni=!1,vi;t.realpath&&(me=t.realpath(et),et!==me&&(ni=!0,vi=pe.get(me)));const mt=gt?1:0,Ot=gt?0:1;if(!ni||!vi){const Ei={watcher:n9e(t.toPath(me))?t.watchAffectingFileLocation(me,($i,Qi)=>{se==null||se.addOrDeleteFile($i,t.toPath(me),Qi),Zu(me,ae.getPackageJsonInfoCache().getInternalMap()),t.scheduleInvalidateResolutionsOfFailedLookupLocations()}):tw,resolutions:ni?0:mt,files:ni?0:Ot,symlinks:void 0};pe.set(me,Ei),ni&&(vi=Ei)}if(ni){H.assert(!!vi);const Ei={watcher:{close:()=>{var $i;const Qi=pe.get(me);($i=Qi==null?void 0:Qi.symlinks)!=null&&$i.delete(et)&&!Qi.symlinks.size&&!Qi.resolutions&&!Qi.files&&(pe.delete(me),Qi.watcher.close())}},resolutions:mt,files:Ot,symlinks:void 0};pe.set(et,Ei),(vi.symlinks??(vi.symlinks=new Set)).add(et)}}function Zu(et,gt){var ii;const me=pe.get(et);me!=null&&me.resolutions&&(z??(z=new Set)).add(et),me!=null&&me.files&&(M??(M=new Set)).add(et),(ii=me==null?void 0:me.symlinks)==null||ii.forEach(ni=>Zu(ni,gt)),gt==null||gt.delete(t.toPath(et))}function aa(et,gt){const ii=t.getCurrentProgram();!ii||!ii.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(gt)?et.forEach(an):et.forEach(me=>Pi(me,!0))}function yr(et,gt,ii){const me=Ne.get(gt);me?(H.assert(!!ii==!!me.nonRecursive),me.refCount++):Ne.set(gt,{watcher:Ln(et,gt,ii),refCount:1,nonRecursive:ii})}function Ba(et,gt,ii){const me=t.toPath(et),ni=J1e(et,me,fe,xe,Be,oe);if(ni){const{dirPath:vi}=ni;vi===xe?gt=!0:jn(vi,ii)}return gt}function bt(et,gt,ii,me){if(H.checkDefined(et.files).delete(gt),et.refCount--,et.refCount)return;const ni=ii(et);if(ni&&ni.resolvedFileName){const Ei=t.toPath(ni.resolvedFileName),$i=B.get(Ei);$i!=null&&$i.delete(et)&&!$i.size&&B.delete(Ei)}const{failedLookupLocations:vi,affectingLocations:mt,node10Result:Ot}=et;if(v.delete(et)){let Ei=!1;if(vi)for(const $i of vi)Ei=Ba($i,Ei,me);Ot&&(Ei=Ba(Ot,Ei,me)),Ei&&jn(xe,me)}else mt!=null&&mt.length&&b.delete(et);if(mt)for(const Ei of mt){const $i=pe.get(Ei);$i.resolutions--,me&&St($i,Ei)}}function jn(et,gt){const ii=Ne.get(et);ii.refCount--,gt&&st(ii,et)}function Ln(et,gt,ii){return t.watchDirectoryOfFailedLookupLocation(et,me=>{const ni=t.toPath(me);se&&se.addOrDeleteFileOrDirectory(me,ni),ra(ni,gt===ni)},ii?0:1)}function Si(et,gt,ii,me){const ni=et.get(gt);ni&&(ni.forEach(vi=>bt(vi,gt,ii,me)),et.delete(gt))}function Dn(et){if(!Ml(et,".json"))return;const gt=t.getCurrentProgram();if(!gt)return;const ii=gt.getResolvedProjectReferenceByPath(et);ii&&ii.commandLine.fileNames.forEach(me=>Cn(t.toPath(me)))}function Cn(et,gt){Si(ge,et,Ae,gt),Si(Ce,et,De,gt)}function tu(et,gt){if(!et)return!1;let ii=!1;return et.forEach(me=>{if(!(me.isInvalidated||!gt(me))){me.isInvalidated=ii=!0;for(const ni of H.checkDefined(me.files))(f??(f=new Set)).add(ni),T=T||sc(ni,QB)}}),ii}function oa(et){Cn(et);const gt=T;tu(B.get(et),J3)&&T&&!gt&&t.onChangedAutomaticTypeDirectiveNames()}function Da(et){H.assert(p===et||p===void 0),p=et}function ra(et,gt){if(gt)(K||(K=new Set)).add(et);else{const ii=zQ(et);if(!ii||(et=ii,t.fileIsOpen(et)))return!1;const me=lr(et);if(ji(et)||bU(et)||ji(me)||bU(me))(j||(j=new Set)).add(et),(J||(J=new Set)).add(et);else{if(L7e(t.getCurrentProgram(),et)||Ml(et,".map"))return!1;(j||(j=new Set)).add(et);const ni=uH(et,!0);ni&&(J||(J=new Set)).add(ni)}}t.scheduleInvalidateResolutionsOfFailedLookupLocations()}function Ta(){const et=ae.getPackageJsonInfoCache().getInternalMap();et&&(j||J||K)&&et.forEach((gt,ii)=>Qe(ii)?et.delete(ii):void 0)}function Yo(){var et;if(Y)return M=void 0,Ta(),(j||J||K||z)&&tu(ve,bo),j=void 0,J=void 0,K=void 0,z=void 0,!0;let gt=!1;return M&&((et=t.getCurrentProgram())==null||et.getSourceFiles().forEach(ii=>{Oe(ii.packageJsonLocations,me=>M.has(me))&&((f??(f=new Set)).add(ii.path),gt=!0)}),M=void 0),!j&&!J&&!K&&!z||(gt=tu(v,bo)||gt,Ta(),j=void 0,J=void 0,K=void 0,gt=tu(b,Et)||gt,z=void 0),gt}function bo(et){var gt;return Et(et)?!0:!j&&!J&&!K?!1:((gt=et.failedLookupLocations)==null?void 0:gt.some(ii=>Qe(t.toPath(ii))))||!!et.node10Result&&Qe(t.toPath(et.node10Result))}function Qe(et){return(j==null?void 0:j.has(et))||ie((J==null?void 0:J.keys())||[],gt=>Pa(et,gt)?!0:void 0)||ie((K==null?void 0:K.keys())||[],gt=>et.length>gt.length&&Pa(et,gt)&&(yse(gt)||et[gt.length]===rl)?!0:void 0)}function Et(et){var gt;return!!z&&((gt=et.affectingLocations)==null?void 0:gt.some(ii=>z.has(ii)))}function Mt(){rf(Ge,fg)}function qt(et,gt){return Pe(et)?t.watchTypeRootsDirectory(gt,ii=>{const me=t.toPath(ii);se&&se.addOrDeleteFileOrDirectory(ii,me),T=!0,t.onChangedAutomaticTypeDirectiveNames();const ni=r9e(gt,et,xe,Be,oe,vi=>Ne.has(vi));ni&&ra(me,ni===me)},1):tw}function Xt(){const et=t.getCompilationSettings();if(et.types){Mt();return}const gt=cM(et,{getCurrentDirectory:oe});gt?cB(Ge,lg(gt,ii=>t.toPath(ii)),{createNewValue:qt,onDeleteValue:fg}):Mt()}function Pe(et){return t.getCompilationSettings().typeRoots?!0:i9e(t.toPath(et))}}function Kzt(t){var u,s;return!!((u=t.resolvedModule)!=null&&u.originalPath||(s=t.resolvedTypeReferenceDirective)!=null&&s.originalPath)}var Wzt=o({"src/compiler/resolutionCache.ts"(){Bo()}});function kH(t,u){const s=t===c1&&m9e?m9e:{getCurrentDirectory:()=>t.getCurrentDirectory(),getNewLine:()=>t.newLine,getCanonicalFileName:L1(t.useCaseSensitiveFileNames)};if(!u)return f=>t.write(b1e(f,s));const d=new Array(1);return f=>{d[0]=f,t.write(z7e(d,s)+s.getNewLine()),d[0]=void 0}}function wtt(t,u,s){return t.clearScreen&&!s.preserveWatchOutput&&!s.extendedDiagnostics&&!s.diagnostics&&kt(WQ,u.code)?(t.clearScreen(),!0):!1}function Gzt(t,u){return kt(WQ,t.code)?u+u:u}function FH(t){return t.now?t.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(" "," "):new Date().toLocaleTimeString()}function s9e(t,u){return u?(s,d,f)=>{wtt(t,s,f);let p=`[${eb(FH(t),"\x1B[90m")}] `;p+=`${lE(s.messageText,t.newLine)}${d+d}`,t.write(p)}:(s,d,f)=>{let p="";wtt(t,s,f)||(p+=d),p+=`${FH(t)} - `,p+=`${lE(s.messageText,t.newLine)}${Gzt(s,d)}`,t.write(p)}}function Ttt(t,u,s,d,f,p){const E=f;E.onUnRecoverableConfigFileDiagnostic=b=>Ptt(f,p,b);const v=GV(t,u,E,s,d);return E.onUnRecoverableConfigFileDiagnostic=void 0,v}function OQ(t){return ui(t,u=>u.category===1)}function jQ(t){return ti(t,s=>s.category===1).map(s=>{if(s.file!==void 0)return`${s.file.fileName}`}).map(s=>{if(s===void 0)return;const d=Le(t,f=>f.file!==void 0&&f.file.fileName===s);if(d!==void 0){const{line:f}=s0(d.file,d.start);return{fileName:s,line:f+1}}})}function U1e(t){return t===1?F.Found_1_error_Watching_for_file_changes:F.Found_0_errors_Watching_for_file_changes}function Ltt(t,u){const s=eb(":"+t.line,"\x1B[90m");return SN(t.fileName)&&SN(u)?JE(u,t.fileName,!1)+s:t.fileName+s}function l9e(t,u,s,d){if(t===0)return"";const f=u.filter(k=>k!==void 0),p=f.map(k=>`${k.fileName}:${k.line}`).filter((k,T,M)=>M.indexOf(k)===T),E=f[0]&&Ltt(f[0],d.getCurrentDirectory());let v;t===1?v=u[0]!==void 0?[F.Found_1_error_in_0,E]:[F.Found_1_error]:v=p.length===0?[F.Found_0_errors,t]:p.length===1?[F.Found_0_errors_in_the_same_file_starting_at_Colon_1,t,E]:[F.Found_0_errors_in_1_files,t,p.length];const b=cc(...v),B=p.length>1?Jzt(f,d):"";return`${s}${lE(b.messageText,s)}${s}${s}${B}`}function Jzt(t,u){const s=t.filter((T,M,z)=>M===z.findIndex(j=>(j==null?void 0:j.fileName)===(T==null?void 0:T.fileName)));if(s.length===0)return"";const d=T=>Math.log(T)*Math.LOG10E+1,f=s.map(T=>[T,ui(t,M=>M.fileName===T.fileName)]),p=f.reduce((T,M)=>Math.max(T,M[1]||0),0),E=F.Errors_Files.message,v=E.split(" ")[0].length,b=Math.max(v,d(p)),B=Math.max(d(p)-v,0);let k="";return k+=" ".repeat(B)+E+` `,f.forEach(T=>{const[M,z]=T,j=Math.log(z)*Math.LOG10E+1|0,J=j{u(d.fileName)})}function Z1e(t,u){var s,d;const f=t.getFileIncludeReasons(),p=E=>wN(E,t.getCurrentDirectory(),t.getCanonicalFileName);for(const E of t.getSourceFiles())u(`${ew(E,p)}`),(s=f.get(E.path))==null||s.forEach(v=>u(` ${ehe(t,v,p).messageText}`)),(d=Y1e(E,p))==null||d.forEach(v=>u(` ${v.messageText}`))}function Y1e(t,u){var s;let d;if(t.path!==t.resolvedPath&&(d??(d=[])).push(ro(void 0,F.File_is_output_of_project_reference_source_0,ew(t.originalFileName,u))),t.redirectInfo&&(d??(d=[])).push(ro(void 0,F.File_redirects_to_file_0,ew(t.redirectInfo.redirectTarget,u))),cm(t))switch(t.impliedNodeFormat){case 99:t.packageJsonScope&&(d??(d=[])).push(ro(void 0,F.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,ew(Cr(t.packageJsonLocations),u)));break;case 1:t.packageJsonScope?(d??(d=[])).push(ro(void 0,t.packageJsonScope.contents.packageJsonContent.type?F.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:F.File_is_CommonJS_module_because_0_does_not_have_field_type,ew(Cr(t.packageJsonLocations),u))):(s=t.packageJsonLocations)!=null&&s.length&&(d??(d=[])).push(ro(void 0,F.File_is_CommonJS_module_because_package_json_was_not_found));break}return d}function Q1e(t,u){var s;const d=t.getCompilerOptions().configFile;if(!((s=d==null?void 0:d.configFileSpecs)!=null&&s.validatedFilesSpec))return;const f=t.getCanonicalFileName(u),p=lr($a(d.fileName,t.getCurrentDirectory()));return Le(d.configFileSpecs.validatedFilesSpec,E=>t.getCanonicalFileName($a(E,p))===f)}function X1e(t,u){var s,d;const f=t.getCompilerOptions().configFile;if(!((s=f==null?void 0:f.configFileSpecs)!=null&&s.validatedIncludeSpecs))return;if(f.configFileSpecs.isDefaultIncludeSpec)return!0;const p=Ml(u,".json"),E=lr($a(f.fileName,t.getCurrentDirectory())),v=t.useCaseSensitiveFileNames();return Le((d=f==null?void 0:f.configFileSpecs)==null?void 0:d.validatedIncludeSpecs,b=>{if(p&&!sc(b,".json"))return!1;const B=Fle(b,E,"files");return!!B&&jx(`(${B})$`,v).test(u)})}function ehe(t,u,s){var d,f;const p=t.getCompilerOptions();if(Jv(u)){const E=FM(t,u),v=ZB(E)?E.file.text.substring(E.pos,E.end):`"${E.text}"`;let b;switch(H.assert(ZB(E)||u.kind===3,"Only synthetic references are imports"),u.kind){case 3:ZB(E)?b=E.packageId?F.Imported_via_0_from_file_1_with_packageId_2:F.Imported_via_0_from_file_1:E.text===Hx?b=E.packageId?F.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:F.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:b=E.packageId?F.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:F.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case 4:H.assert(!E.packageId),b=F.Referenced_via_0_from_file_1;break;case 5:b=E.packageId?F.Type_library_referenced_via_0_from_file_1_with_packageId_2:F.Type_library_referenced_via_0_from_file_1;break;case 7:H.assert(!E.packageId),b=F.Library_referenced_via_0_from_file_1;break;default:H.assertNever(u)}return ro(void 0,b,v,ew(E.file,s),E.packageId&&Px(E.packageId))}switch(u.kind){case 0:if(!((d=p.configFile)!=null&&d.configFileSpecs))return ro(void 0,F.Root_file_specified_for_compilation);const E=$a(t.getRootFileNames()[u.index],t.getCurrentDirectory());if(Q1e(t,E))return ro(void 0,F.Part_of_files_list_in_tsconfig_json);const b=X1e(t,E);return Ja(b)?ro(void 0,F.Matched_by_include_pattern_0_in_1,b,ew(p.configFile,s)):ro(void 0,b?F.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:F.Root_file_specified_for_compilation);case 1:case 2:const B=u.kind===2,k=H.checkDefined((f=t.getResolvedProjectReferences())==null?void 0:f[u.index]);return ro(void 0,y0(p)?B?F.Output_from_referenced_project_0_included_because_1_specified:F.Source_from_referenced_project_0_included_because_1_specified:B?F.Output_from_referenced_project_0_included_because_module_is_specified_as_none:F.Source_from_referenced_project_0_included_because_module_is_specified_as_none,ew(k.sourceFile.fileName,s),p.outFile?"--outFile":"--out");case 8:{const T=p.types?u.packageId?[F.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1,u.typeReference,Px(u.packageId)]:[F.Entry_point_of_type_library_0_specified_in_compilerOptions,u.typeReference]:u.packageId?[F.Entry_point_for_implicit_type_library_0_with_packageId_1,u.typeReference,Px(u.packageId)]:[F.Entry_point_for_implicit_type_library_0,u.typeReference];return ro(void 0,...T)}case 6:{if(u.index!==void 0)return ro(void 0,F.Library_0_specified_in_compilerOptions,p.lib[u.index]);const T=h1(XV.type,(z,j)=>z===Os(p)?j:void 0),M=T?[F.Default_library_for_target_0,T]:[F.Default_library];return ro(void 0,...M)}default:H.assertNever(u)}}function ew(t,u){const s=Ja(t)?t:t.fileName;return u?u(s):s}function VQ(t,u,s,d,f,p,E,v){const b=!!t.getCompilerOptions().listFilesOnly,B=t.getConfigFileParsingDiagnostics().slice(),k=B.length;yn(B,t.getSyntacticDiagnostics(void 0,p)),B.length===k&&(yn(B,t.getOptionsDiagnostics(p)),b||(yn(B,t.getGlobalDiagnostics(p)),B.length===k&&yn(B,t.getSemanticDiagnostics(void 0,p))));const T=b?{emitSkipped:!0,diagnostics:_t}:t.emit(void 0,f,p,E,v),{emittedFiles:M,diagnostics:z}=T;yn(B,z);const j=A8(B);if(j.forEach(u),s){const J=t.getCurrentDirectory();L(M,K=>{const Y=$a(K,J);s(`TSFILE: ${Y}`)}),q1e(t,s)}return d&&d(OQ(j),jQ(j)),{emitResult:T,diagnostics:j}}function d9e(t,u,s,d,f,p,E,v){const{emitResult:b,diagnostics:B}=VQ(t,u,s,d,f,p,E,v);return b.emitSkipped&&B.length>0?1:B.length>0?2:0}function the(t=c1,u){return{onWatchStatusChange:u||s9e(t),watchFile:Lo(t,t.watchFile)||iw,watchDirectory:Lo(t,t.watchDirectory)||iw,setTimeout:Lo(t,t.setTimeout)||Is,clearTimeout:Lo(t,t.clearTimeout)||Is}}function ihe(t,u){const s=t.trace?u.extendedDiagnostics?2:u.diagnostics?1:0:0,d=s!==0?p=>t.trace(p):Is,f=E1e(t,s,d);return f.writeLog=d,f}function nhe(t,u,s=t){const d=t.useCaseSensitiveFileNames(),f={getSourceFile:x1e((p,E)=>E?t.readFile(p,E):f.readFile(p),u,void 0),getDefaultLibLocation:Lo(t,t.getDefaultLibLocation),getDefaultLibFileName:p=>t.getDefaultLibFileName(p),writeFile:v1e((p,E,v)=>t.writeFile(p,E,v),p=>t.createDirectory(p),p=>t.directoryExists(p)),getCurrentDirectory:Mh(()=>t.getCurrentDirectory()),useCaseSensitiveFileNames:()=>d,getCanonicalFileName:L1(d),getNewLine:()=>a5(u()),fileExists:p=>t.fileExists(p),readFile:p=>t.readFile(p),trace:Lo(t,t.trace),directoryExists:Lo(s,s.directoryExists),getDirectories:Lo(s,s.getDirectories),realpath:Lo(t,t.realpath),getEnvironmentVariable:Lo(t,t.getEnvironmentVariable)||(()=>""),createHash:Lo(t,t.createHash),readDirectory:Lo(t,t.readDirectory),storeFilesChangingSignatureDuringEmit:t.storeFilesChangingSignatureDuringEmit,jsDocParsingMode:t.jsDocParsingMode};return f}function HQ(t,u){if(u.match(Jde)){let s=u.length,d=s;for(let f=s-1;f>=0;f--){const p=u.charCodeAt(f);switch(p){case 10:f&&u.charCodeAt(f-1)===13&&f--;case 13:break;default:if(p<127||!Z1(p)){d=f;continue}break}const E=u.substring(d,s);if(E.match(nQ)){u=u.substring(0,d);break}else if(!E.match(uQ))break;s=d}}return(t.createHash||AN)(u)}function KQ(t){const u=t.getSourceFile;t.getSourceFile=(...s)=>{const d=u.call(t,...s);return d&&(d.version=HQ(t,d.text)),d}}function uhe(t,u){const s=Mh(()=>lr($o(t.getExecutingFilePath())));return{useCaseSensitiveFileNames:()=>t.useCaseSensitiveFileNames,getNewLine:()=>t.newLine,getCurrentDirectory:Mh(()=>t.getCurrentDirectory()),getDefaultLibLocation:s,getDefaultLibFileName:d=>cr(s(),zO(d)),fileExists:d=>t.fileExists(d),readFile:(d,f)=>t.readFile(d,f),directoryExists:d=>t.directoryExists(d),getDirectories:d=>t.getDirectories(d),readDirectory:(d,f,p,E,v)=>t.readDirectory(d,f,p,E,v),realpath:Lo(t,t.realpath),getEnvironmentVariable:Lo(t,t.getEnvironmentVariable),trace:d=>t.write(d+t.newLine),createDirectory:d=>t.createDirectory(d),writeFile:(d,f,p)=>t.writeFile(d,f,p),createHash:Lo(t,t.createHash),createProgram:u||G1e,storeFilesChangingSignatureDuringEmit:t.storeFilesChangingSignatureDuringEmit,now:Lo(t,t.now)}}function Ntt(t=c1,u,s,d){const f=E=>t.write(E+t.newLine),p=uhe(t,u);return roe(p,the(t,d)),p.afterProgramCreate=E=>{const v=E.getCompilerOptions(),b=a5(v);VQ(E,s,f,B=>p.onWatchStatusChange(cc(U1e(B),B),b,v,B))},p}function Ptt(t,u,s){u(s),t.exit(1)}function h9e({configFileName:t,optionsToExtend:u,watchOptionsToExtend:s,extraFileExtensions:d,system:f,createProgram:p,reportDiagnostic:E,reportWatchStatus:v}){const b=E||kH(f),B=Ntt(f,p,b,v);return B.onUnRecoverableConfigFileDiagnostic=k=>Ptt(f,b,k),B.configFileName=t,B.optionsToExtend=u,B.watchOptionsToExtend=s,B.extraFileExtensions=d,B}function f9e({rootFiles:t,options:u,watchOptions:s,projectReferences:d,system:f,createProgram:p,reportDiagnostic:E,reportWatchStatus:v}){const b=Ntt(f,p,E||kH(f),v);return b.rootFiles=t,b.options=u,b.watchOptions=s,b.projectReferences=d,b}function Mtt(t){const u=t.system||c1,s=t.host||(t.host=rhe(t.options,u)),d=p9e(t),f=d9e(d,t.reportDiagnostic||kH(u),p=>s.trace&&s.trace(p),t.reportErrorSummary||t.options.pretty?(p,E)=>u.write(l9e(p,E,u.newLine,s)):void 0);return t.afterProgramEmitAndDiagnostics&&t.afterProgramEmitAndDiagnostics(d),f}var m9e,WQ,tw,iw,cd,$zt=o({"src/compiler/watch.ts"(){Bo(),m9e=c1?{getCurrentDirectory:()=>c1.getCurrentDirectory(),getNewLine:()=>c1.newLine,getCanonicalFileName:L1(c1.useCaseSensitiveFileNames)}:void 0,WQ=[F.Starting_compilation_in_watch_mode.code,F.File_change_detected_Starting_incremental_compilation.code],tw={close:Is},iw=()=>tw,cd={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",AffectingFileLocation:"File location affecting resolution",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file",ClosedScriptInfo:"Closed Script info",ConfigFileForInferredRoot:"Config file for the inferred project root",NodeModules:"node_modules for closed script infos and package.jsons affecting module specifier cache",MissingSourceMapFile:"Missing source map file",NoopConfigFileForInferredRoot:"Noop Config file for the inferred project root",MissingGeneratedFile:"Missing generated file",NodeModulesForModuleSpecifierCache:"node_modules for module specifier cache invalidation",TypingInstallerLocationFile:"File location for typing installer",TypingInstallerLocationDirectory:"Directory location for typing installer"}}});function GQ(t,u){const s=f5(t);if(!s)return;let d;if(u.getBuildInfo)d=u.getBuildInfo(s,t.configFilePath);else{const f=u.readFile(s);if(!f)return;d=_Q(s,f)}if(!(!d||d.version!==_||!d.program))return e9e(d,s,u)}function rhe(t,u=c1){const s=C1e(t,void 0,u);return s.createHash=Lo(u,u.createHash),s.storeFilesChangingSignatureDuringEmit=u.storeFilesChangingSignatureDuringEmit,KQ(s),vH(s,d=>J0(d,s.getCurrentDirectory(),s.getCanonicalFileName)),s}function p9e({rootNames:t,options:u,configFileParsingDiagnostics:s,projectReferences:d,host:f,createProgram:p}){f=f||rhe(u),p=p||G1e;const E=GQ(u,f);return p(t,u,f,E,s,d)}function ztt(t,u,s,d,f,p,E,v){return Ha(t)?f9e({rootFiles:t,options:u,watchOptions:v,projectReferences:E,system:s,createProgram:d,reportDiagnostic:f,reportWatchStatus:p}):h9e({configFileName:t,optionsToExtend:u,watchOptionsToExtend:E,extraFileExtensions:v,system:s,createProgram:d,reportDiagnostic:f,reportWatchStatus:p})}function Itt(t){let u,s,d,f,p,E,v,b,B=t.extendedConfigCache,k=!1;const T=new Map;let M,z=!1;const j=t.useCaseSensitiveFileNames(),J=t.getCurrentDirectory(),{configFileName:K,optionsToExtend:Y={},watchOptionsToExtend:oe,extraFileExtensions:se,createProgram:ge}=t;let{rootFiles:ae,options:Ce,watchOptions:ne,projectReferences:ve}=t,Se,Ne,pe=!1,fe=!1;const xe=K===void 0?void 0:xQ(t,J,j),Be=xe||t,Ge=wQ(t,Be);let Ae=xn();K&&t.configFileParsingResult&&(bo(t.configFileParsingResult),Ae=xn()),bt(F.Starting_compilation_in_watch_mode),K&&!t.configFileParsingResult&&(Ae=a5(Y),H.assert(!ae),Yo(),Ae=xn()),H.assert(Ce),H.assert(ae);const{watchFile:De,watchDirectory:Ke,writeLog:Je}=ihe(t,Ce),ft=L1(j);Je(`Current directory: ${J} CaseSensitiveFileNames: ${j}`);let Ye;K&&(Ye=De(K,tu,2e3,ne,cd.ConfigFile));const Ve=nhe(t,()=>Ce,Be);KQ(Ve);const We=Ve.getSourceFile;Ve.getSourceFile=(mt,...Ot)=>Zu(mt,Jn(mt),...Ot),Ve.getSourceFileByPath=Zu,Ve.getNewLine=()=>Ae,Ve.fileExists=Ai,Ve.onReleaseOldSourceFile=Ba,Ve.onReleaseParsedCommandLine=Mt,Ve.toPath=Jn,Ve.getCompilationSettings=()=>Ce,Ve.useSourceOfProjectReferenceRedirect=Lo(t,t.useSourceOfProjectReferenceRedirect),Ve.watchDirectoryOfFailedLookupLocation=(mt,Ot,Ei)=>Ke(mt,Ot,Ei,ne,cd.FailedLookupLocations),Ve.watchAffectingFileLocation=(mt,Ot)=>De(mt,Ot,2e3,ne,cd.AffectingFileLocation),Ve.watchTypeRootsDirectory=(mt,Ot,Ei)=>Ke(mt,Ot,Ei,ne,cd.TypeRoots),Ve.getCachedDirectoryStructureHost=()=>xe,Ve.scheduleInvalidateResolutionsOfFailedLookupLocations=Si,Ve.onInvalidatedResolution=Cn,Ve.onChangedAutomaticTypeDirectiveNames=Cn,Ve.fileIsOpen=cg,Ve.getCurrentProgram=ht,Ve.writeLog=Je,Ve.getParsedCommandLine=Qe;const Gt=$1e(Ve,K?lr($a(K,J)):J,!1);Ve.resolveModuleNameLiterals=Lo(t,t.resolveModuleNameLiterals),Ve.resolveModuleNames=Lo(t,t.resolveModuleNames),!Ve.resolveModuleNameLiterals&&!Ve.resolveModuleNames&&(Ve.resolveModuleNameLiterals=Gt.resolveModuleNameLiterals.bind(Gt)),Ve.resolveTypeReferenceDirectiveReferences=Lo(t,t.resolveTypeReferenceDirectiveReferences),Ve.resolveTypeReferenceDirectives=Lo(t,t.resolveTypeReferenceDirectives),!Ve.resolveTypeReferenceDirectiveReferences&&!Ve.resolveTypeReferenceDirectives&&(Ve.resolveTypeReferenceDirectiveReferences=Gt.resolveTypeReferenceDirectiveReferences.bind(Gt)),Ve.resolveLibrary=t.resolveLibrary?t.resolveLibrary.bind(t):Gt.resolveLibrary.bind(Gt),Ve.getModuleResolutionCache=t.resolveModuleNameLiterals||t.resolveModuleNames?Lo(t,t.getModuleResolutionCache):()=>Gt.getModuleResolutionCache();const Ie=!!t.resolveModuleNameLiterals||!!t.resolveTypeReferenceDirectiveReferences||!!t.resolveModuleNames||!!t.resolveTypeReferenceDirectives?Lo(t,t.hasInvalidatedResolutions)||J3:cg,st=t.resolveLibrary?Lo(t,t.hasInvalidatedLibResolutions)||J3:cg;return u=GQ(Ce,Ve),Ut(),ii(),K&&ni(Jn(K),Ce,ne,cd.ExtendedConfigFile),K?{getCurrentProgram:ei,getProgram:Da,close:St,getResolutionCache:It}:{getCurrentProgram:ei,getProgram:Da,updateRootFileNames:ji,close:St,getResolutionCache:It};function St(){Ln(),Gt.clear(),rf(T,mt=>{mt&&mt.fileWatcher&&(mt.fileWatcher.close(),mt.fileWatcher=void 0)}),Ye&&(Ye.close(),Ye=void 0),B==null||B.clear(),B=void 0,b&&(rf(b,jm),b=void 0),f&&(rf(f,jm),f=void 0),d&&(rf(d,fg),d=void 0),v&&(rf(v,mt=>{var Ot;(Ot=mt.watcher)==null||Ot.close(),mt.watcher=void 0,mt.watchedDirectories&&rf(mt.watchedDirectories,jm),mt.watchedDirectories=void 0}),v=void 0)}function It(){return Gt}function ei(){return u}function ht(){return u&&u.getProgramOrUndefined()}function Ut(){Je("Synchronizing program"),H.assert(Ce),H.assert(ae),Ln();const mt=ei();z&&(Ae=xn(),mt&&UU(mt.getCompilerOptions(),Ce)&&Gt.onChangesAffectModuleResolution());const{hasInvalidatedResolutions:Ot,hasInvalidatedLibResolutions:Ei}=Gt.createHasInvalidatedResolutions(Ie,st),{originalReadFile:$i,originalFileExists:Qi,originalDirectoryExists:on,originalCreateDirectory:le,originalWriteFile:te,readFileWithCache:we}=vH(Ve,Jn);return w1e(ht(),ae,Ce,de=>yr(de,we),de=>Ve.fileExists(de),Ot,Ei,jn,Qe,ve)?fe&&(k&&bt(F.File_change_detected_Starting_incremental_compilation),u=ge(void 0,void 0,Ve,u,Ne,ve),fe=!1):(k&&bt(F.File_change_detected_Starting_incremental_compilation),Ni(Ot,Ei)),k=!1,t.afterProgramCreate&&mt!==u&&t.afterProgramCreate(u),Ve.readFile=$i,Ve.fileExists=Qi,Ve.directoryExists=on,Ve.createDirectory=le,Ve.writeFile=te,u}function Ni(mt,Ot){Je("CreatingProgramWith::"),Je(` roots: ${JSON.stringify(ae)}`),Je(` options: ${JSON.stringify(Ce)}`),ve&&Je(` projectReferences: ${JSON.stringify(ve)}`);const Ei=z||!ht();z=!1,fe=!1,Gt.startCachingPerDirectoryResolution(),Ve.hasInvalidatedResolutions=mt,Ve.hasInvalidatedLibResolutions=Ot,Ve.hasChangedAutomaticTypeDirectiveNames=jn;const $i=ht();if(u=ge(ae,Ce,Ve,u,Ne,ve),Gt.finishCachingPerDirectoryResolution(u.getProgram(),$i),g1e(u.getProgram(),d||(d=new Map),et),Ei&&Gt.updateTypeRootsWatch(),M){for(const Qi of M)d.has(Qi)||T.delete(Qi);M=void 0}}function ji(mt){H.assert(!K,"Cannot update root file names with config file watch mode"),ae=mt,Cn()}function xn(){return a5(Ce||Y)}function Jn(mt){return J0(mt,J,ft)}function an(mt){return typeof mt=="boolean"}function Pi(mt){return typeof mt.version=="boolean"}function Ai(mt){const Ot=Jn(mt);return an(T.get(Ot))?!1:Be.fileExists(mt)}function Zu(mt,Ot,Ei,$i,Qi){const on=T.get(Ot);if(an(on))return;const le=typeof Ei=="object"?Ei.impliedNodeFormat:void 0;if(on===void 0||Qi||Pi(on)||on.sourceFile.impliedNodeFormat!==le){const te=We(mt,Ei,$i);if(on)te?(on.sourceFile=te,on.version=te.version,on.fileWatcher||(on.fileWatcher=qt(Ot,mt,Xt,250,ne,cd.SourceFile))):(on.fileWatcher&&on.fileWatcher.close(),T.set(Ot,!1));else if(te){const we=qt(Ot,mt,Xt,250,ne,cd.SourceFile);T.set(Ot,{sourceFile:te,version:te.version,fileWatcher:we})}else T.set(Ot,!1);return te}return on.sourceFile}function aa(mt){const Ot=T.get(mt);Ot!==void 0&&(an(Ot)?T.set(mt,{version:!1}):Ot.version=!1)}function yr(mt,Ot){const Ei=T.get(mt);if(!Ei)return;if(Ei.version)return Ei.version;const $i=Ot(mt);return $i!==void 0?HQ(Ve,$i):void 0}function Ba(mt,Ot,Ei){const $i=T.get(mt.resolvedPath);$i!==void 0&&(an($i)?(M||(M=[])).push(mt.path):$i.sourceFile===mt&&($i.fileWatcher&&$i.fileWatcher.close(),T.delete(mt.resolvedPath),Ei||Gt.removeResolutionsOfFile(mt.path)))}function bt(mt){t.onWatchStatusChange&&t.onWatchStatusChange(cc(mt),Ae,Ce||Y)}function jn(){return Gt.hasChangedAutomaticTypeDirectiveNames()}function Ln(){return E?(t.clearTimeout(E),E=void 0,!0):!1}function Si(){if(!t.setTimeout||!t.clearTimeout)return Gt.invalidateResolutionsOfFailedLookupLocations();const mt=Ln();Je(`Scheduling invalidateFailedLookup${mt?", Cancelled earlier one":""}`),E=t.setTimeout(Dn,250,"timerToInvalidateFailedLookupResolutions")}function Dn(){E=void 0,Gt.invalidateResolutionsOfFailedLookupLocations()&&Cn()}function Cn(){!t.setTimeout||!t.clearTimeout||(p&&t.clearTimeout(p),Je("Scheduling update"),p=t.setTimeout(oa,250,"timerToUpdateProgram"))}function tu(){H.assert(!!K),s=2,Cn()}function oa(){p=void 0,k=!0,Da()}function Da(){var mt,Ot,Ei,$i;switch(s){case 1:(mt=hh)==null||mt.logStartUpdateProgram("PartialConfigReload"),ua();break;case 2:(Ot=hh)==null||Ot.logStartUpdateProgram("FullConfigReload"),Ta();break;default:(Ei=hh)==null||Ei.logStartUpdateProgram("SynchronizeProgram"),Ut();break}return($i=hh)==null||$i.logStopUpdateProgram("Done"),ei()}function ua(){Je("Reloading new file names and options"),H.assert(Ce),H.assert(K),s=0,ae=oM(Ce.configFile.configFileSpecs,$a(lr(K),J),Ce,Ge,se),wY(ae,$a(K,J),Ce.configFile.configFileSpecs,Ne,pe)&&(fe=!0),Ut()}function Ta(){H.assert(K),Je(`Reloading config file: ${K}`),s=0,xe&&xe.clearCache(),Yo(),z=!0,Ut(),ii(),ni(Jn(K),Ce,ne,cd.ExtendedConfigFile)}function Yo(){H.assert(K),bo(GV(K,Y,Ge,B||(B=new Map),oe,se))}function bo(mt){ae=mt.fileNames,Ce=mt.options,ne=mt.watchOptions,ve=mt.projectReferences,Se=mt.wildcardDirectories,Ne=Lk(mt).slice(),pe=aM(mt.raw),fe=!0}function Qe(mt){const Ot=Jn(mt);let Ei=v==null?void 0:v.get(Ot);if(Ei){if(!Ei.updateLevel)return Ei.parsedCommandLine;if(Ei.parsedCommandLine&&Ei.updateLevel===1&&!t.getParsedCommandLine){Je("Reloading new file names and options"),H.assert(Ce);const Qi=oM(Ei.parsedCommandLine.options.configFile.configFileSpecs,$a(lr(mt),J),Ce,Ge);return Ei.parsedCommandLine={...Ei.parsedCommandLine,fileNames:Qi},Ei.updateLevel=void 0,Ei.parsedCommandLine}}Je(`Loading config file: ${mt}`);const $i=t.getParsedCommandLine?t.getParsedCommandLine(mt):Et(mt);return Ei?(Ei.parsedCommandLine=$i,Ei.updateLevel=void 0):(v||(v=new Map)).set(Ot,Ei={parsedCommandLine:$i}),vi(mt,Ot,Ei),$i}function Et(mt){const Ot=Ge.onUnRecoverableConfigFileDiagnostic;Ge.onUnRecoverableConfigFileDiagnostic=Is;const Ei=GV(mt,void 0,Ge,B||(B=new Map),oe);return Ge.onUnRecoverableConfigFileDiagnostic=Ot,Ei}function Mt(mt){var Ot;const Ei=Jn(mt),$i=v==null?void 0:v.get(Ei);$i&&(v.delete(Ei),$i.watchedDirectories&&rf($i.watchedDirectories,jm),(Ot=$i.watcher)==null||Ot.close(),p1e(Ei,b))}function qt(mt,Ot,Ei,$i,Qi,on){return De(Ot,(le,te)=>Ei(le,te,mt),$i,Qi,on)}function Xt(mt,Ot,Ei){Pe(mt,Ei,Ot),Ot===2&&T.has(Ei)&&Gt.invalidateResolutionOfFile(Ei),aa(Ei),Cn()}function Pe(mt,Ot,Ei){xe&&xe.addOrDeleteFile(mt,Ot,Ei)}function et(mt){return v!=null&&v.has(mt)?tw:qt(mt,mt,gt,500,ne,cd.MissingFile)}function gt(mt,Ot,Ei){Pe(mt,Ei,Ot),Ot===0&&d.has(Ei)&&(d.get(Ei).close(),d.delete(Ei),aa(Ei),Cn())}function ii(){Se?_H(f||(f=new Map),new Map(Object.entries(Se)),me):f&&rf(f,jm)}function me(mt,Ot){return Ke(mt,Ei=>{H.assert(K),H.assert(Ce);const $i=Jn(Ei);xe&&xe.addOrDeleteFileOrDirectory(Ei,$i),aa($i),!DH({watchedDirPath:Jn(mt),fileOrDirectory:Ei,fileOrDirectoryPath:$i,configFileName:K,extraFileExtensions:se,options:Ce,program:ei()||ae,currentDirectory:J,useCaseSensitiveFileNames:j,writeLog:Je,toPath:Jn})&&s!==2&&(s=1,Cn())},Ot,ne,cd.WildcardDirectory)}function ni(mt,Ot,Ei,$i){vQ(mt,Ot,b||(b=new Map),(Qi,on)=>De(Qi,(le,te)=>{var we;Pe(Qi,on,te),B&&CQ(B,on,Jn);const de=(we=b.get(on))==null?void 0:we.projects;de!=null&&de.size&&de.forEach(je=>{if(K&&Jn(K)===je)s=2;else{const X=v==null?void 0:v.get(je);X&&(X.updateLevel=2),Gt.removeResolutionsFromProjectReferenceRedirects(je)}Cn()})},2e3,Ei,$i),Jn)}function vi(mt,Ot,Ei){var $i,Qi,on,le,te;Ei.watcher||(Ei.watcher=De(mt,(we,de)=>{Pe(mt,Ot,de);const je=v==null?void 0:v.get(Ot);je&&(je.updateLevel=2),Gt.removeResolutionsFromProjectReferenceRedirects(Ot),Cn()},2e3,(($i=Ei.parsedCommandLine)==null?void 0:$i.watchOptions)||ne,cd.ConfigFileOfReferencedProject)),(Qi=Ei.parsedCommandLine)!=null&&Qi.wildcardDirectories?_H(Ei.watchedDirectories||(Ei.watchedDirectories=new Map),new Map(Object.entries((on=Ei.parsedCommandLine)==null?void 0:on.wildcardDirectories)),(we,de)=>{var je;return Ke(we,X=>{const it=Jn(X);xe&&xe.addOrDeleteFileOrDirectory(X,it),aa(it);const Ct=v==null?void 0:v.get(Ot);Ct!=null&&Ct.parsedCommandLine&&(DH({watchedDirPath:Jn(we),fileOrDirectory:X,fileOrDirectoryPath:it,configFileName:mt,options:Ct.parsedCommandLine.options,program:Ct.parsedCommandLine.fileNames,currentDirectory:J,useCaseSensitiveFileNames:j,writeLog:Je,toPath:Jn})||Ct.updateLevel!==2&&(Ct.updateLevel=1,Cn()))},de,((je=Ei.parsedCommandLine)==null?void 0:je.watchOptions)||ne,cd.WildcardDirectoryOfReferencedProject)}):Ei.watchedDirectories&&(rf(Ei.watchedDirectories,jm),Ei.watchedDirectories=void 0),ni(Ot,(le=Ei.parsedCommandLine)==null?void 0:le.options,((te=Ei.parsedCommandLine)==null?void 0:te.watchOptions)||ne,cd.ExtendedConfigOfReferencedProject)}}var Uzt=o({"src/compiler/watchPublic.ts"(){Bo()}});function ahe(t){return Ml(t,".json")?t:cr(t,"tsconfig.json")}var ohe,qzt=o({"src/compiler/tsbuild.ts"(){Bo(),ohe=(t=>(t[t.Unbuildable=0]="Unbuildable",t[t.UpToDate=1]="UpToDate",t[t.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",t[t.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",t[t.OutputMissing=4]="OutputMissing",t[t.ErrorReadingFile=5]="ErrorReadingFile",t[t.OutOfDateWithSelf=6]="OutOfDateWithSelf",t[t.OutOfDateWithUpstream=7]="OutOfDateWithUpstream",t[t.OutOfDateBuildInfo=8]="OutOfDateBuildInfo",t[t.OutOfDateOptions=9]="OutOfDateOptions",t[t.OutOfDateRoots=10]="OutOfDateRoots",t[t.UpstreamOutOfDate=11]="UpstreamOutOfDate",t[t.UpstreamBlocked=12]="UpstreamBlocked",t[t.ComputingUpstream=13]="ComputingUpstream",t[t.TsVersionOutputOfDate=14]="TsVersionOutputOfDate",t[t.UpToDateWithInputFileText=15]="UpToDateWithInputFileText",t[t.ContainerOnly=16]="ContainerOnly",t[t.ForceBuild=17]="ForceBuild",t))(ohe||{})}});function Zzt(t,u,s){const d=t.get(u);let f;return d||(f=s(),t.set(u,f)),d||f}function g9e(t,u){return Zzt(t,u,()=>new Map)}function AH(t){return t.now?t.now():new Date}function e9(t){return!!t&&!!t.buildOrder}function JQ(t){return e9(t)?t.buildOrder:t}function E9e(t,u){return s=>{let d=u?`[${eb(FH(t),"\x1B[90m")}] `:`${FH(t)} - `;d+=`${lE(s.messageText,t.newLine)}${t.newLine+t.newLine}`,t.write(d)}}function Rtt(t,u,s,d){const f=uhe(t,u);return f.getModifiedTime=t.getModifiedTime?p=>t.getModifiedTime(p):hv,f.setModifiedTime=t.setModifiedTime?(p,E)=>t.setModifiedTime(p,E):Is,f.deleteFile=t.deleteFile?p=>t.deleteFile(p):Is,f.reportDiagnostic=s||kH(t),f.reportSolutionBuilderStatus=d||E9e(t),f.now=Lo(t,t.now),f}function Ott(t=c1,u,s,d,f){const p=Rtt(t,u,s,d);return p.reportErrorSummary=f,p}function jtt(t=c1,u,s,d,f){const p=Rtt(t,u,s,d),E=the(t,f);return roe(p,E),p}function Yzt(t){const u={};return QV.forEach(s=>{gu(t,s.name)&&(u[s.name]=t[s.name])}),u}function Vtt(t,u,s){return dit(!1,t,u,s)}function Htt(t,u,s,d){return dit(!0,t,u,s,d)}function Qzt(t,u,s,d,f){const p=u,E=u,v=Yzt(d),b=nhe(p,()=>J.projectCompilerOptions);KQ(b),b.getParsedCommandLine=K=>t9(J,K,cE(J,K)),b.resolveModuleNameLiterals=Lo(p,p.resolveModuleNameLiterals),b.resolveTypeReferenceDirectiveReferences=Lo(p,p.resolveTypeReferenceDirectiveReferences),b.resolveLibrary=Lo(p,p.resolveLibrary),b.resolveModuleNames=Lo(p,p.resolveModuleNames),b.resolveTypeReferenceDirectives=Lo(p,p.resolveTypeReferenceDirectives),b.getModuleResolutionCache=Lo(p,p.getModuleResolutionCache);let B,k;!b.resolveModuleNameLiterals&&!b.resolveModuleNames&&(B=KB(b.getCurrentDirectory(),b.getCanonicalFileName),b.resolveModuleNameLiterals=(K,Y,oe,se,ge)=>CH(K,Y,oe,se,ge,p,B,A1e),b.getModuleResolutionCache=()=>B),!b.resolveTypeReferenceDirectiveReferences&&!b.resolveTypeReferenceDirectives&&(k=HY(b.getCurrentDirectory(),b.getCanonicalFileName,void 0,B==null?void 0:B.getPackageJsonInfoCache(),B==null?void 0:B.optionsToRedirectsKey),b.resolveTypeReferenceDirectiveReferences=(K,Y,oe,se,ge)=>CH(K,Y,oe,se,ge,p,k,kQ));let T;b.resolveLibrary||(T=KB(b.getCurrentDirectory(),b.getCanonicalFileName,void 0,B==null?void 0:B.getPackageJsonInfoCache()),b.resolveLibrary=(K,Y,oe)=>KY(K,Y,oe,p,T)),b.getBuildInfo=(K,Y)=>iit(J,K,cE(J,Y),void 0);const{watchFile:M,watchDirectory:z,writeLog:j}=ihe(E,d),J={host:p,hostWithWatch:E,parseConfigFileHost:wQ(p),write:Lo(p,p.trace),options:d,baseCompilerOptions:v,rootNames:s,baseWatchOptions:f,resolvedConfigFilePaths:new Map,configFileCache:new Map,projectStatus:new Map,extendedConfigCache:new Map,buildInfoCache:new Map,outputTimeStamps:new Map,builderPrograms:new Map,diagnostics:new Map,projectPendingBuild:new Map,projectErrorsReported:new Map,compilerHost:b,moduleResolutionCache:B,typeReferenceDirectiveResolutionCache:k,libraryResolutionCache:T,buildOrder:void 0,readFileWithCache:K=>p.readFile(K),projectCompilerOptions:v,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:t,watch:t,allWatchedWildcardDirectories:new Map,allWatchedInputFiles:new Map,allWatchedConfigFiles:new Map,allWatchedExtendedConfigFiles:new Map,allWatchedPackageJsonFiles:new Map,filesWatched:new Map,lastCachedPackageJsonLookups:new Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:M,watchDirectory:z,writeLog:j};return J}function gm(t,u){return J0(u,t.compilerHost.getCurrentDirectory(),t.compilerHost.getCanonicalFileName)}function cE(t,u){const{resolvedConfigFilePaths:s}=t,d=s.get(u);if(d!==void 0)return d;const f=gm(t,u);return s.set(u,f),f}function Ktt(t){return!!t.options}function Xzt(t,u){const s=t.configFileCache.get(u);return s&&Ktt(s)?s:void 0}function t9(t,u,s){const{configFileCache:d}=t,f=d.get(s);if(f)return Ktt(f)?f:void 0;ul("SolutionBuilder::beforeConfigFileParsing");let p;const{parseConfigFileHost:E,baseCompilerOptions:v,baseWatchOptions:b,extendedConfigCache:B,host:k}=t;let T;return k.getParsedCommandLine?(T=k.getParsedCommandLine(u),T||(p=cc(F.File_0_not_found,u))):(E.onUnRecoverableConfigFileDiagnostic=M=>p=M,T=GV(u,v,E,B,b),E.onUnRecoverableConfigFileDiagnostic=Is),d.set(s,T||p),ul("SolutionBuilder::afterConfigFileParsing"),Tm("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),T}function AM(t,u){return ahe(kx(t.compilerHost.getCurrentDirectory(),u))}function Wtt(t,u){const s=new Map,d=new Map,f=[];let p,E;for(const b of u)v(b);return E?{buildOrder:p||_t,circularDiagnostics:E}:p||_t;function v(b,B){const k=cE(t,b);if(d.has(k))return;if(s.has(k)){B||(E||(E=[])).push(cc(F.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,f.join(`\r +`}),k}function c9e(t){return!!t.getState}function q1e(t,u){const s=t.getCompilerOptions();s.explainFiles?Z1e(c9e(t)?t.getProgram():t,u):(s.listFiles||s.listFilesOnly)&&L(t.getSourceFiles(),d=>{u(d.fileName)})}function Z1e(t,u){var s,d;const f=t.getFileIncludeReasons(),p=E=>wN(E,t.getCurrentDirectory(),t.getCanonicalFileName);for(const E of t.getSourceFiles())u(`${ew(E,p)}`),(s=f.get(E.path))==null||s.forEach(v=>u(` ${ehe(t,v,p).messageText}`)),(d=Y1e(E,p))==null||d.forEach(v=>u(` ${v.messageText}`))}function Y1e(t,u){var s;let d;if(t.path!==t.resolvedPath&&(d??(d=[])).push(ro(void 0,F.File_is_output_of_project_reference_source_0,ew(t.originalFileName,u))),t.redirectInfo&&(d??(d=[])).push(ro(void 0,F.File_redirects_to_file_0,ew(t.redirectInfo.redirectTarget,u))),cm(t))switch(t.impliedNodeFormat){case 99:t.packageJsonScope&&(d??(d=[])).push(ro(void 0,F.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,ew(Cr(t.packageJsonLocations),u)));break;case 1:t.packageJsonScope?(d??(d=[])).push(ro(void 0,t.packageJsonScope.contents.packageJsonContent.type?F.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:F.File_is_CommonJS_module_because_0_does_not_have_field_type,ew(Cr(t.packageJsonLocations),u))):(s=t.packageJsonLocations)!=null&&s.length&&(d??(d=[])).push(ro(void 0,F.File_is_CommonJS_module_because_package_json_was_not_found));break}return d}function Q1e(t,u){var s;const d=t.getCompilerOptions().configFile;if(!((s=d==null?void 0:d.configFileSpecs)!=null&&s.validatedFilesSpec))return;const f=t.getCanonicalFileName(u),p=lr($a(d.fileName,t.getCurrentDirectory()));return Le(d.configFileSpecs.validatedFilesSpec,E=>t.getCanonicalFileName($a(E,p))===f)}function X1e(t,u){var s,d;const f=t.getCompilerOptions().configFile;if(!((s=f==null?void 0:f.configFileSpecs)!=null&&s.validatedIncludeSpecs))return;if(f.configFileSpecs.isDefaultIncludeSpec)return!0;const p=Ml(u,".json"),E=lr($a(f.fileName,t.getCurrentDirectory())),v=t.useCaseSensitiveFileNames();return Le((d=f==null?void 0:f.configFileSpecs)==null?void 0:d.validatedIncludeSpecs,b=>{if(p&&!sc(b,".json"))return!1;const B=Fle(b,E,"files");return!!B&&jx(`(${B})$`,v).test(u)})}function ehe(t,u,s){var d,f;const p=t.getCompilerOptions();if(Jv(u)){const E=FM(t,u),v=ZB(E)?E.file.text.substring(E.pos,E.end):`"${E.text}"`;let b;switch(H.assert(ZB(E)||u.kind===3,"Only synthetic references are imports"),u.kind){case 3:ZB(E)?b=E.packageId?F.Imported_via_0_from_file_1_with_packageId_2:F.Imported_via_0_from_file_1:E.text===Hx?b=E.packageId?F.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:F.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:b=E.packageId?F.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:F.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case 4:H.assert(!E.packageId),b=F.Referenced_via_0_from_file_1;break;case 5:b=E.packageId?F.Type_library_referenced_via_0_from_file_1_with_packageId_2:F.Type_library_referenced_via_0_from_file_1;break;case 7:H.assert(!E.packageId),b=F.Library_referenced_via_0_from_file_1;break;default:H.assertNever(u)}return ro(void 0,b,v,ew(E.file,s),E.packageId&&Px(E.packageId))}switch(u.kind){case 0:if(!((d=p.configFile)!=null&&d.configFileSpecs))return ro(void 0,F.Root_file_specified_for_compilation);const E=$a(t.getRootFileNames()[u.index],t.getCurrentDirectory());if(Q1e(t,E))return ro(void 0,F.Part_of_files_list_in_tsconfig_json);const b=X1e(t,E);return Ja(b)?ro(void 0,F.Matched_by_include_pattern_0_in_1,b,ew(p.configFile,s)):ro(void 0,b?F.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:F.Root_file_specified_for_compilation);case 1:case 2:const B=u.kind===2,k=H.checkDefined((f=t.getResolvedProjectReferences())==null?void 0:f[u.index]);return ro(void 0,y0(p)?B?F.Output_from_referenced_project_0_included_because_1_specified:F.Source_from_referenced_project_0_included_because_1_specified:B?F.Output_from_referenced_project_0_included_because_module_is_specified_as_none:F.Source_from_referenced_project_0_included_because_module_is_specified_as_none,ew(k.sourceFile.fileName,s),p.outFile?"--outFile":"--out");case 8:{const T=p.types?u.packageId?[F.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1,u.typeReference,Px(u.packageId)]:[F.Entry_point_of_type_library_0_specified_in_compilerOptions,u.typeReference]:u.packageId?[F.Entry_point_for_implicit_type_library_0_with_packageId_1,u.typeReference,Px(u.packageId)]:[F.Entry_point_for_implicit_type_library_0,u.typeReference];return ro(void 0,...T)}case 6:{if(u.index!==void 0)return ro(void 0,F.Library_0_specified_in_compilerOptions,p.lib[u.index]);const T=h1(XV.type,(z,j)=>z===Os(p)?j:void 0),M=T?[F.Default_library_for_target_0,T]:[F.Default_library];return ro(void 0,...M)}default:H.assertNever(u)}}function ew(t,u){const s=Ja(t)?t:t.fileName;return u?u(s):s}function VQ(t,u,s,d,f,p,E,v){const b=!!t.getCompilerOptions().listFilesOnly,B=t.getConfigFileParsingDiagnostics().slice(),k=B.length;yn(B,t.getSyntacticDiagnostics(void 0,p)),B.length===k&&(yn(B,t.getOptionsDiagnostics(p)),b||(yn(B,t.getGlobalDiagnostics(p)),B.length===k&&yn(B,t.getSemanticDiagnostics(void 0,p))));const T=b?{emitSkipped:!0,diagnostics:_t}:t.emit(void 0,f,p,E,v),{emittedFiles:M,diagnostics:z}=T;yn(B,z);const j=A8(B);if(j.forEach(u),s){const J=t.getCurrentDirectory();L(M,K=>{const Y=$a(K,J);s(`TSFILE: ${Y}`)}),q1e(t,s)}return d&&d(OQ(j),jQ(j)),{emitResult:T,diagnostics:j}}function d9e(t,u,s,d,f,p,E,v){const{emitResult:b,diagnostics:B}=VQ(t,u,s,d,f,p,E,v);return b.emitSkipped&&B.length>0?1:B.length>0?2:0}function the(t=c1,u){return{onWatchStatusChange:u||s9e(t),watchFile:Lo(t,t.watchFile)||iw,watchDirectory:Lo(t,t.watchDirectory)||iw,setTimeout:Lo(t,t.setTimeout)||Is,clearTimeout:Lo(t,t.clearTimeout)||Is}}function ihe(t,u){const s=t.trace?u.extendedDiagnostics?2:u.diagnostics?1:0:0,d=s!==0?p=>t.trace(p):Is,f=E1e(t,s,d);return f.writeLog=d,f}function nhe(t,u,s=t){const d=t.useCaseSensitiveFileNames(),f={getSourceFile:x1e((p,E)=>E?t.readFile(p,E):f.readFile(p),u,void 0),getDefaultLibLocation:Lo(t,t.getDefaultLibLocation),getDefaultLibFileName:p=>t.getDefaultLibFileName(p),writeFile:v1e((p,E,v)=>t.writeFile(p,E,v),p=>t.createDirectory(p),p=>t.directoryExists(p)),getCurrentDirectory:Mh(()=>t.getCurrentDirectory()),useCaseSensitiveFileNames:()=>d,getCanonicalFileName:L1(d),getNewLine:()=>a5(u()),fileExists:p=>t.fileExists(p),readFile:p=>t.readFile(p),trace:Lo(t,t.trace),directoryExists:Lo(s,s.directoryExists),getDirectories:Lo(s,s.getDirectories),realpath:Lo(t,t.realpath),getEnvironmentVariable:Lo(t,t.getEnvironmentVariable)||(()=>""),createHash:Lo(t,t.createHash),readDirectory:Lo(t,t.readDirectory),storeFilesChangingSignatureDuringEmit:t.storeFilesChangingSignatureDuringEmit,jsDocParsingMode:t.jsDocParsingMode};return f}function HQ(t,u){if(u.match(Jde)){let s=u.length,d=s;for(let f=s-1;f>=0;f--){const p=u.charCodeAt(f);switch(p){case 10:f&&u.charCodeAt(f-1)===13&&f--;case 13:break;default:if(p<127||!Z1(p)){d=f;continue}break}const E=u.substring(d,s);if(E.match(nQ)){u=u.substring(0,d);break}else if(!E.match(uQ))break;s=d}}return(t.createHash||AN)(u)}function KQ(t){const u=t.getSourceFile;t.getSourceFile=(...s)=>{const d=u.call(t,...s);return d&&(d.version=HQ(t,d.text)),d}}function uhe(t,u){const s=Mh(()=>lr($o(t.getExecutingFilePath())));return{useCaseSensitiveFileNames:()=>t.useCaseSensitiveFileNames,getNewLine:()=>t.newLine,getCurrentDirectory:Mh(()=>t.getCurrentDirectory()),getDefaultLibLocation:s,getDefaultLibFileName:d=>cr(s(),zO(d)),fileExists:d=>t.fileExists(d),readFile:(d,f)=>t.readFile(d,f),directoryExists:d=>t.directoryExists(d),getDirectories:d=>t.getDirectories(d),readDirectory:(d,f,p,E,v)=>t.readDirectory(d,f,p,E,v),realpath:Lo(t,t.realpath),getEnvironmentVariable:Lo(t,t.getEnvironmentVariable),trace:d=>t.write(d+t.newLine),createDirectory:d=>t.createDirectory(d),writeFile:(d,f,p)=>t.writeFile(d,f,p),createHash:Lo(t,t.createHash),createProgram:u||G1e,storeFilesChangingSignatureDuringEmit:t.storeFilesChangingSignatureDuringEmit,now:Lo(t,t.now)}}function Ntt(t=c1,u,s,d){const f=E=>t.write(E+t.newLine),p=uhe(t,u);return roe(p,the(t,d)),p.afterProgramCreate=E=>{const v=E.getCompilerOptions(),b=a5(v);VQ(E,s,f,B=>p.onWatchStatusChange(cc(U1e(B),B),b,v,B))},p}function Ptt(t,u,s){u(s),t.exit(1)}function h9e({configFileName:t,optionsToExtend:u,watchOptionsToExtend:s,extraFileExtensions:d,system:f,createProgram:p,reportDiagnostic:E,reportWatchStatus:v}){const b=E||kH(f),B=Ntt(f,p,b,v);return B.onUnRecoverableConfigFileDiagnostic=k=>Ptt(f,b,k),B.configFileName=t,B.optionsToExtend=u,B.watchOptionsToExtend=s,B.extraFileExtensions=d,B}function f9e({rootFiles:t,options:u,watchOptions:s,projectReferences:d,system:f,createProgram:p,reportDiagnostic:E,reportWatchStatus:v}){const b=Ntt(f,p,E||kH(f),v);return b.rootFiles=t,b.options=u,b.watchOptions=s,b.projectReferences=d,b}function Mtt(t){const u=t.system||c1,s=t.host||(t.host=rhe(t.options,u)),d=p9e(t),f=d9e(d,t.reportDiagnostic||kH(u),p=>s.trace&&s.trace(p),t.reportErrorSummary||t.options.pretty?(p,E)=>u.write(l9e(p,E,u.newLine,s)):void 0);return t.afterProgramEmitAndDiagnostics&&t.afterProgramEmitAndDiagnostics(d),f}var m9e,WQ,tw,iw,cd,$zt=o({"src/compiler/watch.ts"(){Bo(),m9e=c1?{getCurrentDirectory:()=>c1.getCurrentDirectory(),getNewLine:()=>c1.newLine,getCanonicalFileName:L1(c1.useCaseSensitiveFileNames)}:void 0,WQ=[F.Starting_compilation_in_watch_mode.code,F.File_change_detected_Starting_incremental_compilation.code],tw={close:Is},iw=()=>tw,cd={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",AffectingFileLocation:"File location affecting resolution",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file",ClosedScriptInfo:"Closed Script info",ConfigFileForInferredRoot:"Config file for the inferred project root",NodeModules:"node_modules for closed script infos and package.jsons affecting module specifier cache",MissingSourceMapFile:"Missing source map file",NoopConfigFileForInferredRoot:"Noop Config file for the inferred project root",MissingGeneratedFile:"Missing generated file",NodeModulesForModuleSpecifierCache:"node_modules for module specifier cache invalidation",TypingInstallerLocationFile:"File location for typing installer",TypingInstallerLocationDirectory:"Directory location for typing installer"}}});function GQ(t,u){const s=f5(t);if(!s)return;let d;if(u.getBuildInfo)d=u.getBuildInfo(s,t.configFilePath);else{const f=u.readFile(s);if(!f)return;d=_Q(s,f)}if(!(!d||d.version!==_||!d.program))return e9e(d,s,u)}function rhe(t,u=c1){const s=C1e(t,void 0,u);return s.createHash=Lo(u,u.createHash),s.storeFilesChangingSignatureDuringEmit=u.storeFilesChangingSignatureDuringEmit,KQ(s),vH(s,d=>J0(d,s.getCurrentDirectory(),s.getCanonicalFileName)),s}function p9e({rootNames:t,options:u,configFileParsingDiagnostics:s,projectReferences:d,host:f,createProgram:p}){f=f||rhe(u),p=p||G1e;const E=GQ(u,f);return p(t,u,f,E,s,d)}function ztt(t,u,s,d,f,p,E,v){return Ha(t)?f9e({rootFiles:t,options:u,watchOptions:v,projectReferences:E,system:s,createProgram:d,reportDiagnostic:f,reportWatchStatus:p}):h9e({configFileName:t,optionsToExtend:u,watchOptionsToExtend:E,extraFileExtensions:v,system:s,createProgram:d,reportDiagnostic:f,reportWatchStatus:p})}function Itt(t){let u,s,d,f,p,E,v,b,B=t.extendedConfigCache,k=!1;const T=new Map;let M,z=!1;const j=t.useCaseSensitiveFileNames(),J=t.getCurrentDirectory(),{configFileName:K,optionsToExtend:Y={},watchOptionsToExtend:oe,extraFileExtensions:se,createProgram:ge}=t;let{rootFiles:ae,options:Ce,watchOptions:ne,projectReferences:ve}=t,Se,Ne,pe=!1,fe=!1;const xe=K===void 0?void 0:xQ(t,J,j),Be=xe||t,Ge=wQ(t,Be);let Ae=xn();K&&t.configFileParsingResult&&(bo(t.configFileParsingResult),Ae=xn()),bt(F.Starting_compilation_in_watch_mode),K&&!t.configFileParsingResult&&(Ae=a5(Y),H.assert(!ae),Yo(),Ae=xn()),H.assert(Ce),H.assert(ae);const{watchFile:De,watchDirectory:Ke,writeLog:Je}=ihe(t,Ce),ft=L1(j);Je(`Current directory: ${J} CaseSensitiveFileNames: ${j}`);let Ye;K&&(Ye=De(K,tu,2e3,ne,cd.ConfigFile));const Ve=nhe(t,()=>Ce,Be);KQ(Ve);const We=Ve.getSourceFile;Ve.getSourceFile=(mt,...Ot)=>Zu(mt,Jn(mt),...Ot),Ve.getSourceFileByPath=Zu,Ve.getNewLine=()=>Ae,Ve.fileExists=Ai,Ve.onReleaseOldSourceFile=Ba,Ve.onReleaseParsedCommandLine=Mt,Ve.toPath=Jn,Ve.getCompilationSettings=()=>Ce,Ve.useSourceOfProjectReferenceRedirect=Lo(t,t.useSourceOfProjectReferenceRedirect),Ve.watchDirectoryOfFailedLookupLocation=(mt,Ot,Ei)=>Ke(mt,Ot,Ei,ne,cd.FailedLookupLocations),Ve.watchAffectingFileLocation=(mt,Ot)=>De(mt,Ot,2e3,ne,cd.AffectingFileLocation),Ve.watchTypeRootsDirectory=(mt,Ot,Ei)=>Ke(mt,Ot,Ei,ne,cd.TypeRoots),Ve.getCachedDirectoryStructureHost=()=>xe,Ve.scheduleInvalidateResolutionsOfFailedLookupLocations=Si,Ve.onInvalidatedResolution=Cn,Ve.onChangedAutomaticTypeDirectiveNames=Cn,Ve.fileIsOpen=cg,Ve.getCurrentProgram=ht,Ve.writeLog=Je,Ve.getParsedCommandLine=Qe;const Gt=$1e(Ve,K?lr($a(K,J)):J,!1);Ve.resolveModuleNameLiterals=Lo(t,t.resolveModuleNameLiterals),Ve.resolveModuleNames=Lo(t,t.resolveModuleNames),!Ve.resolveModuleNameLiterals&&!Ve.resolveModuleNames&&(Ve.resolveModuleNameLiterals=Gt.resolveModuleNameLiterals.bind(Gt)),Ve.resolveTypeReferenceDirectiveReferences=Lo(t,t.resolveTypeReferenceDirectiveReferences),Ve.resolveTypeReferenceDirectives=Lo(t,t.resolveTypeReferenceDirectives),!Ve.resolveTypeReferenceDirectiveReferences&&!Ve.resolveTypeReferenceDirectives&&(Ve.resolveTypeReferenceDirectiveReferences=Gt.resolveTypeReferenceDirectiveReferences.bind(Gt)),Ve.resolveLibrary=t.resolveLibrary?t.resolveLibrary.bind(t):Gt.resolveLibrary.bind(Gt),Ve.getModuleResolutionCache=t.resolveModuleNameLiterals||t.resolveModuleNames?Lo(t,t.getModuleResolutionCache):()=>Gt.getModuleResolutionCache();const Ie=!!t.resolveModuleNameLiterals||!!t.resolveTypeReferenceDirectiveReferences||!!t.resolveModuleNames||!!t.resolveTypeReferenceDirectives?Lo(t,t.hasInvalidatedResolutions)||J3:cg,st=t.resolveLibrary?Lo(t,t.hasInvalidatedLibResolutions)||J3:cg;return u=GQ(Ce,Ve),Ut(),ii(),K&&ni(Jn(K),Ce,ne,cd.ExtendedConfigFile),K?{getCurrentProgram:ei,getProgram:Da,close:St,getResolutionCache:It}:{getCurrentProgram:ei,getProgram:Da,updateRootFileNames:ji,close:St,getResolutionCache:It};function St(){Ln(),Gt.clear(),rf(T,mt=>{mt&&mt.fileWatcher&&(mt.fileWatcher.close(),mt.fileWatcher=void 0)}),Ye&&(Ye.close(),Ye=void 0),B==null||B.clear(),B=void 0,b&&(rf(b,jm),b=void 0),f&&(rf(f,jm),f=void 0),d&&(rf(d,fg),d=void 0),v&&(rf(v,mt=>{var Ot;(Ot=mt.watcher)==null||Ot.close(),mt.watcher=void 0,mt.watchedDirectories&&rf(mt.watchedDirectories,jm),mt.watchedDirectories=void 0}),v=void 0)}function It(){return Gt}function ei(){return u}function ht(){return u&&u.getProgramOrUndefined()}function Ut(){Je("Synchronizing program"),H.assert(Ce),H.assert(ae),Ln();const mt=ei();z&&(Ae=xn(),mt&&UU(mt.getCompilerOptions(),Ce)&&Gt.onChangesAffectModuleResolution());const{hasInvalidatedResolutions:Ot,hasInvalidatedLibResolutions:Ei}=Gt.createHasInvalidatedResolutions(Ie,st),{originalReadFile:$i,originalFileExists:Qi,originalDirectoryExists:on,originalCreateDirectory:le,originalWriteFile:te,readFileWithCache:we}=vH(Ve,Jn);return w1e(ht(),ae,Ce,de=>yr(de,we),de=>Ve.fileExists(de),Ot,Ei,jn,Qe,ve)?fe&&(k&&bt(F.File_change_detected_Starting_incremental_compilation),u=ge(void 0,void 0,Ve,u,Ne,ve),fe=!1):(k&&bt(F.File_change_detected_Starting_incremental_compilation),Ni(Ot,Ei)),k=!1,t.afterProgramCreate&&mt!==u&&t.afterProgramCreate(u),Ve.readFile=$i,Ve.fileExists=Qi,Ve.directoryExists=on,Ve.createDirectory=le,Ve.writeFile=te,u}function Ni(mt,Ot){Je("CreatingProgramWith::"),Je(` roots: ${JSON.stringify(ae)}`),Je(` options: ${JSON.stringify(Ce)}`),ve&&Je(` projectReferences: ${JSON.stringify(ve)}`);const Ei=z||!ht();z=!1,fe=!1,Gt.startCachingPerDirectoryResolution(),Ve.hasInvalidatedResolutions=mt,Ve.hasInvalidatedLibResolutions=Ot,Ve.hasChangedAutomaticTypeDirectiveNames=jn;const $i=ht();if(u=ge(ae,Ce,Ve,u,Ne,ve),Gt.finishCachingPerDirectoryResolution(u.getProgram(),$i),g1e(u.getProgram(),d||(d=new Map),et),Ei&&Gt.updateTypeRootsWatch(),M){for(const Qi of M)d.has(Qi)||T.delete(Qi);M=void 0}}function ji(mt){H.assert(!K,"Cannot update root file names with config file watch mode"),ae=mt,Cn()}function xn(){return a5(Ce||Y)}function Jn(mt){return J0(mt,J,ft)}function an(mt){return typeof mt=="boolean"}function Pi(mt){return typeof mt.version=="boolean"}function Ai(mt){const Ot=Jn(mt);return an(T.get(Ot))?!1:Be.fileExists(mt)}function Zu(mt,Ot,Ei,$i,Qi){const on=T.get(Ot);if(an(on))return;const le=typeof Ei=="object"?Ei.impliedNodeFormat:void 0;if(on===void 0||Qi||Pi(on)||on.sourceFile.impliedNodeFormat!==le){const te=We(mt,Ei,$i);if(on)te?(on.sourceFile=te,on.version=te.version,on.fileWatcher||(on.fileWatcher=qt(Ot,mt,Xt,250,ne,cd.SourceFile))):(on.fileWatcher&&on.fileWatcher.close(),T.set(Ot,!1));else if(te){const we=qt(Ot,mt,Xt,250,ne,cd.SourceFile);T.set(Ot,{sourceFile:te,version:te.version,fileWatcher:we})}else T.set(Ot,!1);return te}return on.sourceFile}function aa(mt){const Ot=T.get(mt);Ot!==void 0&&(an(Ot)?T.set(mt,{version:!1}):Ot.version=!1)}function yr(mt,Ot){const Ei=T.get(mt);if(!Ei)return;if(Ei.version)return Ei.version;const $i=Ot(mt);return $i!==void 0?HQ(Ve,$i):void 0}function Ba(mt,Ot,Ei){const $i=T.get(mt.resolvedPath);$i!==void 0&&(an($i)?(M||(M=[])).push(mt.path):$i.sourceFile===mt&&($i.fileWatcher&&$i.fileWatcher.close(),T.delete(mt.resolvedPath),Ei||Gt.removeResolutionsOfFile(mt.path)))}function bt(mt){t.onWatchStatusChange&&t.onWatchStatusChange(cc(mt),Ae,Ce||Y)}function jn(){return Gt.hasChangedAutomaticTypeDirectiveNames()}function Ln(){return E?(t.clearTimeout(E),E=void 0,!0):!1}function Si(){if(!t.setTimeout||!t.clearTimeout)return Gt.invalidateResolutionsOfFailedLookupLocations();const mt=Ln();Je(`Scheduling invalidateFailedLookup${mt?", Cancelled earlier one":""}`),E=t.setTimeout(Dn,250,"timerToInvalidateFailedLookupResolutions")}function Dn(){E=void 0,Gt.invalidateResolutionsOfFailedLookupLocations()&&Cn()}function Cn(){!t.setTimeout||!t.clearTimeout||(p&&t.clearTimeout(p),Je("Scheduling update"),p=t.setTimeout(oa,250,"timerToUpdateProgram"))}function tu(){H.assert(!!K),s=2,Cn()}function oa(){p=void 0,k=!0,Da()}function Da(){var mt,Ot,Ei,$i;switch(s){case 1:(mt=hh)==null||mt.logStartUpdateProgram("PartialConfigReload"),ra();break;case 2:(Ot=hh)==null||Ot.logStartUpdateProgram("FullConfigReload"),Ta();break;default:(Ei=hh)==null||Ei.logStartUpdateProgram("SynchronizeProgram"),Ut();break}return($i=hh)==null||$i.logStopUpdateProgram("Done"),ei()}function ra(){Je("Reloading new file names and options"),H.assert(Ce),H.assert(K),s=0,ae=oM(Ce.configFile.configFileSpecs,$a(lr(K),J),Ce,Ge,se),wY(ae,$a(K,J),Ce.configFile.configFileSpecs,Ne,pe)&&(fe=!0),Ut()}function Ta(){H.assert(K),Je(`Reloading config file: ${K}`),s=0,xe&&xe.clearCache(),Yo(),z=!0,Ut(),ii(),ni(Jn(K),Ce,ne,cd.ExtendedConfigFile)}function Yo(){H.assert(K),bo(GV(K,Y,Ge,B||(B=new Map),oe,se))}function bo(mt){ae=mt.fileNames,Ce=mt.options,ne=mt.watchOptions,ve=mt.projectReferences,Se=mt.wildcardDirectories,Ne=Lk(mt).slice(),pe=aM(mt.raw),fe=!0}function Qe(mt){const Ot=Jn(mt);let Ei=v==null?void 0:v.get(Ot);if(Ei){if(!Ei.updateLevel)return Ei.parsedCommandLine;if(Ei.parsedCommandLine&&Ei.updateLevel===1&&!t.getParsedCommandLine){Je("Reloading new file names and options"),H.assert(Ce);const Qi=oM(Ei.parsedCommandLine.options.configFile.configFileSpecs,$a(lr(mt),J),Ce,Ge);return Ei.parsedCommandLine={...Ei.parsedCommandLine,fileNames:Qi},Ei.updateLevel=void 0,Ei.parsedCommandLine}}Je(`Loading config file: ${mt}`);const $i=t.getParsedCommandLine?t.getParsedCommandLine(mt):Et(mt);return Ei?(Ei.parsedCommandLine=$i,Ei.updateLevel=void 0):(v||(v=new Map)).set(Ot,Ei={parsedCommandLine:$i}),vi(mt,Ot,Ei),$i}function Et(mt){const Ot=Ge.onUnRecoverableConfigFileDiagnostic;Ge.onUnRecoverableConfigFileDiagnostic=Is;const Ei=GV(mt,void 0,Ge,B||(B=new Map),oe);return Ge.onUnRecoverableConfigFileDiagnostic=Ot,Ei}function Mt(mt){var Ot;const Ei=Jn(mt),$i=v==null?void 0:v.get(Ei);$i&&(v.delete(Ei),$i.watchedDirectories&&rf($i.watchedDirectories,jm),(Ot=$i.watcher)==null||Ot.close(),p1e(Ei,b))}function qt(mt,Ot,Ei,$i,Qi,on){return De(Ot,(le,te)=>Ei(le,te,mt),$i,Qi,on)}function Xt(mt,Ot,Ei){Pe(mt,Ei,Ot),Ot===2&&T.has(Ei)&&Gt.invalidateResolutionOfFile(Ei),aa(Ei),Cn()}function Pe(mt,Ot,Ei){xe&&xe.addOrDeleteFile(mt,Ot,Ei)}function et(mt){return v!=null&&v.has(mt)?tw:qt(mt,mt,gt,500,ne,cd.MissingFile)}function gt(mt,Ot,Ei){Pe(mt,Ei,Ot),Ot===0&&d.has(Ei)&&(d.get(Ei).close(),d.delete(Ei),aa(Ei),Cn())}function ii(){Se?_H(f||(f=new Map),new Map(Object.entries(Se)),me):f&&rf(f,jm)}function me(mt,Ot){return Ke(mt,Ei=>{H.assert(K),H.assert(Ce);const $i=Jn(Ei);xe&&xe.addOrDeleteFileOrDirectory(Ei,$i),aa($i),!DH({watchedDirPath:Jn(mt),fileOrDirectory:Ei,fileOrDirectoryPath:$i,configFileName:K,extraFileExtensions:se,options:Ce,program:ei()||ae,currentDirectory:J,useCaseSensitiveFileNames:j,writeLog:Je,toPath:Jn})&&s!==2&&(s=1,Cn())},Ot,ne,cd.WildcardDirectory)}function ni(mt,Ot,Ei,$i){vQ(mt,Ot,b||(b=new Map),(Qi,on)=>De(Qi,(le,te)=>{var we;Pe(Qi,on,te),B&&CQ(B,on,Jn);const de=(we=b.get(on))==null?void 0:we.projects;de!=null&&de.size&&de.forEach(je=>{if(K&&Jn(K)===je)s=2;else{const X=v==null?void 0:v.get(je);X&&(X.updateLevel=2),Gt.removeResolutionsFromProjectReferenceRedirects(je)}Cn()})},2e3,Ei,$i),Jn)}function vi(mt,Ot,Ei){var $i,Qi,on,le,te;Ei.watcher||(Ei.watcher=De(mt,(we,de)=>{Pe(mt,Ot,de);const je=v==null?void 0:v.get(Ot);je&&(je.updateLevel=2),Gt.removeResolutionsFromProjectReferenceRedirects(Ot),Cn()},2e3,(($i=Ei.parsedCommandLine)==null?void 0:$i.watchOptions)||ne,cd.ConfigFileOfReferencedProject)),(Qi=Ei.parsedCommandLine)!=null&&Qi.wildcardDirectories?_H(Ei.watchedDirectories||(Ei.watchedDirectories=new Map),new Map(Object.entries((on=Ei.parsedCommandLine)==null?void 0:on.wildcardDirectories)),(we,de)=>{var je;return Ke(we,X=>{const it=Jn(X);xe&&xe.addOrDeleteFileOrDirectory(X,it),aa(it);const Ct=v==null?void 0:v.get(Ot);Ct!=null&&Ct.parsedCommandLine&&(DH({watchedDirPath:Jn(we),fileOrDirectory:X,fileOrDirectoryPath:it,configFileName:mt,options:Ct.parsedCommandLine.options,program:Ct.parsedCommandLine.fileNames,currentDirectory:J,useCaseSensitiveFileNames:j,writeLog:Je,toPath:Jn})||Ct.updateLevel!==2&&(Ct.updateLevel=1,Cn()))},de,((je=Ei.parsedCommandLine)==null?void 0:je.watchOptions)||ne,cd.WildcardDirectoryOfReferencedProject)}):Ei.watchedDirectories&&(rf(Ei.watchedDirectories,jm),Ei.watchedDirectories=void 0),ni(Ot,(le=Ei.parsedCommandLine)==null?void 0:le.options,((te=Ei.parsedCommandLine)==null?void 0:te.watchOptions)||ne,cd.ExtendedConfigOfReferencedProject)}}var Uzt=o({"src/compiler/watchPublic.ts"(){Bo()}});function ahe(t){return Ml(t,".json")?t:cr(t,"tsconfig.json")}var ohe,qzt=o({"src/compiler/tsbuild.ts"(){Bo(),ohe=(t=>(t[t.Unbuildable=0]="Unbuildable",t[t.UpToDate=1]="UpToDate",t[t.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",t[t.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",t[t.OutputMissing=4]="OutputMissing",t[t.ErrorReadingFile=5]="ErrorReadingFile",t[t.OutOfDateWithSelf=6]="OutOfDateWithSelf",t[t.OutOfDateWithUpstream=7]="OutOfDateWithUpstream",t[t.OutOfDateBuildInfo=8]="OutOfDateBuildInfo",t[t.OutOfDateOptions=9]="OutOfDateOptions",t[t.OutOfDateRoots=10]="OutOfDateRoots",t[t.UpstreamOutOfDate=11]="UpstreamOutOfDate",t[t.UpstreamBlocked=12]="UpstreamBlocked",t[t.ComputingUpstream=13]="ComputingUpstream",t[t.TsVersionOutputOfDate=14]="TsVersionOutputOfDate",t[t.UpToDateWithInputFileText=15]="UpToDateWithInputFileText",t[t.ContainerOnly=16]="ContainerOnly",t[t.ForceBuild=17]="ForceBuild",t))(ohe||{})}});function Zzt(t,u,s){const d=t.get(u);let f;return d||(f=s(),t.set(u,f)),d||f}function g9e(t,u){return Zzt(t,u,()=>new Map)}function AH(t){return t.now?t.now():new Date}function e9(t){return!!t&&!!t.buildOrder}function JQ(t){return e9(t)?t.buildOrder:t}function E9e(t,u){return s=>{let d=u?`[${eb(FH(t),"\x1B[90m")}] `:`${FH(t)} - `;d+=`${lE(s.messageText,t.newLine)}${t.newLine+t.newLine}`,t.write(d)}}function Rtt(t,u,s,d){const f=uhe(t,u);return f.getModifiedTime=t.getModifiedTime?p=>t.getModifiedTime(p):hv,f.setModifiedTime=t.setModifiedTime?(p,E)=>t.setModifiedTime(p,E):Is,f.deleteFile=t.deleteFile?p=>t.deleteFile(p):Is,f.reportDiagnostic=s||kH(t),f.reportSolutionBuilderStatus=d||E9e(t),f.now=Lo(t,t.now),f}function Ott(t=c1,u,s,d,f){const p=Rtt(t,u,s,d);return p.reportErrorSummary=f,p}function jtt(t=c1,u,s,d,f){const p=Rtt(t,u,s,d),E=the(t,f);return roe(p,E),p}function Yzt(t){const u={};return QV.forEach(s=>{gu(t,s.name)&&(u[s.name]=t[s.name])}),u}function Vtt(t,u,s){return dit(!1,t,u,s)}function Htt(t,u,s,d){return dit(!0,t,u,s,d)}function Qzt(t,u,s,d,f){const p=u,E=u,v=Yzt(d),b=nhe(p,()=>J.projectCompilerOptions);KQ(b),b.getParsedCommandLine=K=>t9(J,K,cE(J,K)),b.resolveModuleNameLiterals=Lo(p,p.resolveModuleNameLiterals),b.resolveTypeReferenceDirectiveReferences=Lo(p,p.resolveTypeReferenceDirectiveReferences),b.resolveLibrary=Lo(p,p.resolveLibrary),b.resolveModuleNames=Lo(p,p.resolveModuleNames),b.resolveTypeReferenceDirectives=Lo(p,p.resolveTypeReferenceDirectives),b.getModuleResolutionCache=Lo(p,p.getModuleResolutionCache);let B,k;!b.resolveModuleNameLiterals&&!b.resolveModuleNames&&(B=KB(b.getCurrentDirectory(),b.getCanonicalFileName),b.resolveModuleNameLiterals=(K,Y,oe,se,ge)=>CH(K,Y,oe,se,ge,p,B,A1e),b.getModuleResolutionCache=()=>B),!b.resolveTypeReferenceDirectiveReferences&&!b.resolveTypeReferenceDirectives&&(k=HY(b.getCurrentDirectory(),b.getCanonicalFileName,void 0,B==null?void 0:B.getPackageJsonInfoCache(),B==null?void 0:B.optionsToRedirectsKey),b.resolveTypeReferenceDirectiveReferences=(K,Y,oe,se,ge)=>CH(K,Y,oe,se,ge,p,k,kQ));let T;b.resolveLibrary||(T=KB(b.getCurrentDirectory(),b.getCanonicalFileName,void 0,B==null?void 0:B.getPackageJsonInfoCache()),b.resolveLibrary=(K,Y,oe)=>KY(K,Y,oe,p,T)),b.getBuildInfo=(K,Y)=>iit(J,K,cE(J,Y),void 0);const{watchFile:M,watchDirectory:z,writeLog:j}=ihe(E,d),J={host:p,hostWithWatch:E,parseConfigFileHost:wQ(p),write:Lo(p,p.trace),options:d,baseCompilerOptions:v,rootNames:s,baseWatchOptions:f,resolvedConfigFilePaths:new Map,configFileCache:new Map,projectStatus:new Map,extendedConfigCache:new Map,buildInfoCache:new Map,outputTimeStamps:new Map,builderPrograms:new Map,diagnostics:new Map,projectPendingBuild:new Map,projectErrorsReported:new Map,compilerHost:b,moduleResolutionCache:B,typeReferenceDirectiveResolutionCache:k,libraryResolutionCache:T,buildOrder:void 0,readFileWithCache:K=>p.readFile(K),projectCompilerOptions:v,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:t,watch:t,allWatchedWildcardDirectories:new Map,allWatchedInputFiles:new Map,allWatchedConfigFiles:new Map,allWatchedExtendedConfigFiles:new Map,allWatchedPackageJsonFiles:new Map,filesWatched:new Map,lastCachedPackageJsonLookups:new Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:M,watchDirectory:z,writeLog:j};return J}function gm(t,u){return J0(u,t.compilerHost.getCurrentDirectory(),t.compilerHost.getCanonicalFileName)}function cE(t,u){const{resolvedConfigFilePaths:s}=t,d=s.get(u);if(d!==void 0)return d;const f=gm(t,u);return s.set(u,f),f}function Ktt(t){return!!t.options}function Xzt(t,u){const s=t.configFileCache.get(u);return s&&Ktt(s)?s:void 0}function t9(t,u,s){const{configFileCache:d}=t,f=d.get(s);if(f)return Ktt(f)?f:void 0;ul("SolutionBuilder::beforeConfigFileParsing");let p;const{parseConfigFileHost:E,baseCompilerOptions:v,baseWatchOptions:b,extendedConfigCache:B,host:k}=t;let T;return k.getParsedCommandLine?(T=k.getParsedCommandLine(u),T||(p=cc(F.File_0_not_found,u))):(E.onUnRecoverableConfigFileDiagnostic=M=>p=M,T=GV(u,v,E,B,b),E.onUnRecoverableConfigFileDiagnostic=Is),d.set(s,T||p),ul("SolutionBuilder::afterConfigFileParsing"),Tm("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),T}function AM(t,u){return ahe(kx(t.compilerHost.getCurrentDirectory(),u))}function Wtt(t,u){const s=new Map,d=new Map,f=[];let p,E;for(const b of u)v(b);return E?{buildOrder:p||_t,circularDiagnostics:E}:p||_t;function v(b,B){const k=cE(t,b);if(d.has(k))return;if(s.has(k)){B||(E||(E=[])).push(cc(F.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,f.join(`\r `)));return}s.set(k,!0),f.push(b);const T=t9(t,b,k);if(T&&T.projectReferences)for(const M of T.projectReferences){const z=AM(t,M.path);v(z,B||M.circular)}f.pop(),d.set(k,!0),(p||(p=[])).push(b)}}function $Q(t){return t.buildOrder||eIt(t)}function eIt(t){const u=Wtt(t,t.rootNames.map(f=>AM(t,f)));t.resolvedConfigFilePaths.clear();const s=new Map(JQ(u).map(f=>[cE(t,f),!0])),d={onDeleteValue:Is};return eD(t.configFileCache,s,d),eD(t.projectStatus,s,d),eD(t.builderPrograms,s,d),eD(t.diagnostics,s,d),eD(t.projectPendingBuild,s,d),eD(t.projectErrorsReported,s,d),eD(t.buildInfoCache,s,d),eD(t.outputTimeStamps,s,d),t.watch&&(eD(t.allWatchedConfigFiles,s,{onDeleteValue:fg}),t.allWatchedExtendedConfigFiles.forEach(f=>{f.projects.forEach(p=>{s.has(p)||f.projects.delete(p)}),f.close()}),eD(t.allWatchedWildcardDirectories,s,{onDeleteValue:f=>f.forEach(jm)}),eD(t.allWatchedInputFiles,s,{onDeleteValue:f=>f.forEach(fg)}),eD(t.allWatchedPackageJsonFiles,s,{onDeleteValue:f=>f.forEach(fg)})),t.buildOrder=u}function Gtt(t,u,s){const d=u&&AM(t,u),f=$Q(t);if(e9(f))return f;if(d){const E=cE(t,d);if(Ue(f,b=>cE(t,b)===E)===-1)return}const p=d?Wtt(t,[d]):f;return H.assert(!e9(p)),H.assert(!s||d!==void 0),H.assert(!s||p[p.length-1]===d),s?p.slice(0,p.length-1):p}function Jtt(t){t.cache&&_9e(t);const{compilerHost:u,host:s}=t,d=t.readFileWithCache,f=u.getSourceFile,{originalReadFile:p,originalFileExists:E,originalDirectoryExists:v,originalCreateDirectory:b,originalWriteFile:B,getSourceFileWithCache:k,readFileWithCache:T}=vH(s,M=>gm(t,M),(...M)=>f.call(u,...M));t.readFileWithCache=T,u.getSourceFile=k,t.cache={originalReadFile:p,originalFileExists:E,originalDirectoryExists:v,originalCreateDirectory:b,originalWriteFile:B,originalReadFileWithCache:d,originalGetSourceFile:f}}function _9e(t){if(!t.cache)return;const{cache:u,host:s,compilerHost:d,extendedConfigCache:f,moduleResolutionCache:p,typeReferenceDirectiveResolutionCache:E,libraryResolutionCache:v}=t;s.readFile=u.originalReadFile,s.fileExists=u.originalFileExists,s.directoryExists=u.originalDirectoryExists,s.createDirectory=u.originalCreateDirectory,s.writeFile=u.originalWriteFile,d.getSourceFile=u.originalGetSourceFile,t.readFileWithCache=u.originalReadFileWithCache,f.clear(),p==null||p.clear(),E==null||E.clear(),v==null||v.clear(),t.cache=void 0}function $tt(t,u){t.projectStatus.delete(u),t.diagnostics.delete(u)}function Utt({projectPendingBuild:t},u,s){const d=t.get(u);(d===void 0||dt.projectPendingBuild.set(cE(t,d),0)),u&&u.throwIfCancellationRequested()}function Ztt(t,u){return t.projectPendingBuild.delete(u),t.diagnostics.has(u)?1:0}function tIt(t,u,s,d,f){let p=!0;return{kind:2,project:u,projectPath:s,buildOrder:f,getCompilerOptions:()=>d.options,getCurrentDirectory:()=>t.compilerHost.getCurrentDirectory(),updateOutputFileStatmps:()=>{uit(t,d,s),p=!1},done:()=>(p&&uit(t,d,s),ul("SolutionBuilder::Timestamps only updates"),Ztt(t,s))}}function Ytt(t,u,s,d,f,p,E){let v=t===0?0:4,b,B,k;return t===0?{kind:t,project:s,projectPath:d,buildOrder:E,getCompilerOptions:()=>p.options,getCurrentDirectory:()=>u.compilerHost.getCurrentDirectory(),getBuilderProgram:()=>M(il),getProgram:()=>M(ne=>ne.getProgramOrUndefined()),getSourceFile:ne=>M(ve=>ve.getSourceFile(ne)),getSourceFiles:()=>z(ne=>ne.getSourceFiles()),getOptionsDiagnostics:ne=>z(ve=>ve.getOptionsDiagnostics(ne)),getGlobalDiagnostics:ne=>z(ve=>ve.getGlobalDiagnostics(ne)),getConfigFileParsingDiagnostics:()=>z(ne=>ne.getConfigFileParsingDiagnostics()),getSyntacticDiagnostics:(ne,ve)=>z(Se=>Se.getSyntacticDiagnostics(ne,ve)),getAllDependencies:ne=>z(ve=>ve.getAllDependencies(ne)),getSemanticDiagnostics:(ne,ve)=>z(Se=>Se.getSemanticDiagnostics(ne,ve)),getSemanticDiagnosticsOfNextAffectedFile:(ne,ve)=>M(Se=>Se.getSemanticDiagnosticsOfNextAffectedFile&&Se.getSemanticDiagnosticsOfNextAffectedFile(ne,ve)),emit:(ne,ve,Se,Ne,pe)=>{if(ne||Ne)return M(fe=>{var xe,Be;return fe.emit(ne,ve,Se,Ne,pe||((Be=(xe=u.host).getCustomTransformers)==null?void 0:Be.call(xe,s)))});if(Ce(2,Se),v===5)return se(ve,Se);if(v===3)return oe(ve,Se,pe)},done:T}:{kind:t,project:s,projectPath:d,buildOrder:E,getCompilerOptions:()=>p.options,getCurrentDirectory:()=>u.compilerHost.getCurrentDirectory(),emit:(ne,ve)=>v!==4?k:ae(ne,ve),done:T};function T(ne,ve,Se){return Ce(8,ne,ve,Se),ul(t===0?"SolutionBuilder::Projects built":"SolutionBuilder::Bundles updated"),Ztt(u,d)}function M(ne){return Ce(0),b&&ne(b)}function z(ne){return M(ne)||_t}function j(){var ne,ve;if(H.assert(b===void 0),u.options.dry){Rh(u,F.A_non_dry_build_would_build_project_0,s),B=1,v=7;return}if(u.options.verbose&&Rh(u,F.Building_project_0,s),p.fileNames.length===0){SM(u,d,Lk(p)),B=0,v=7;return}const{host:Se,compilerHost:Ne}=u;u.projectCompilerOptions=p.options,(ne=u.moduleResolutionCache)==null||ne.update(p.options),(ve=u.typeReferenceDirectiveResolutionCache)==null||ve.update(p.options),b=Se.createProgram(p.fileNames,p.options,Ne,nIt(u,d,p),Lk(p),p.projectReferences),u.watch&&(u.lastCachedPackageJsonLookups.set(d,u.moduleResolutionCache&&Vt(u.moduleResolutionCache.getPackageJsonInfoCache().entries(),([pe,fe])=>[u.host.realpath&&fe?gm(u,u.host.realpath(pe)):pe,fe])),u.builderPrograms.set(d,b)),v++}function J(ne,ve,Se){ne.length?{buildResult:B,step:v}=v9e(u,d,b,p,ne,ve,Se):v++}function K(ne){H.assertIsDefined(b),J([...b.getConfigFileParsingDiagnostics(),...b.getOptionsDiagnostics(ne),...b.getGlobalDiagnostics(ne),...b.getSyntacticDiagnostics(void 0,ne)],8,"Syntactic")}function Y(ne){J(H.checkDefined(b).getSemanticDiagnostics(void 0,ne),16,"Semantic")}function oe(ne,ve,Se){var Ne,pe,fe;H.assertIsDefined(b),H.assert(v===3);const xe=b.saveEmitState();let Be;const Ge=st=>(Be||(Be=[])).push(st),Ae=[],{emitResult:De}=VQ(b,Ge,void 0,void 0,(st,St,It,ei,ht,Ut)=>Ae.push({name:st,text:St,writeByteOrderMark:It,data:Ut}),ve,!1,Se||((pe=(Ne=u.host).getCustomTransformers)==null?void 0:pe.call(Ne,s)));if(Be)return b.restoreEmitState(xe),{buildResult:B,step:v}=v9e(u,d,b,p,Be,32,"Declaration file"),{emitSkipped:!0,diagnostics:De.diagnostics};const{host:Ke,compilerHost:Je}=u,ft=(fe=b.hasChangedEmitSignature)!=null&&fe.call(b)?0:2,Ye=rB(),Ve=new Map,We=b.getCompilerOptions(),Gt=Xj(We);let Yt,Ie;return Ae.forEach(({name:st,text:St,writeByteOrderMark:It,data:ei})=>{const ht=gm(u,st);Ve.set(gm(u,st),st),ei!=null&&ei.buildInfo&&b9e(u,ei.buildInfo,d,We,ft);const Ut=ei!=null&&ei.differsOnlyInMap?e7(u.host,st):void 0;cP(ne?{writeFile:ne}:Je,Ye,st,St,It),ei!=null&&ei.differsOnlyInMap?u.host.setModifiedTime(st,Ut):!Gt&&u.watch&&(Yt||(Yt=C9e(u,d))).set(ht,Ie||(Ie=AH(u.host)))}),ge(Ye,Ve,Ae.length?Ae[0].name:h1e(p,!Ke.useCaseSensitiveFileNames()),ft),De}function se(ne,ve){H.assertIsDefined(b),H.assert(v===5);const Se=b.emitBuildInfo((Ne,pe,fe,xe,Be,Ge)=>{Ge!=null&&Ge.buildInfo&&b9e(u,Ge.buildInfo,d,b.getCompilerOptions(),2),ne?ne(Ne,pe,fe,xe,Be,Ge):u.compilerHost.writeFile(Ne,pe,fe,xe,Be,Ge)},ve);return Se.diagnostics.length&&(qQ(u,Se.diagnostics),u.diagnostics.set(d,[...u.diagnostics.get(d),...Se.diagnostics]),B=64&B),Se.emittedFiles&&u.write&&Se.emittedFiles.forEach(Ne=>eit(u,p,Ne)),x9e(u,b,p),v=7,Se}function ge(ne,ve,Se,Ne){const pe=ne.getDiagnostics();return pe.length?({buildResult:B,step:v}=v9e(u,d,b,p,pe,64,"Emit"),pe):(u.write&&ve.forEach(fe=>eit(u,p,fe)),nit(u,p,d,F.Updating_unchanged_output_timestamps_of_project_0,ve),u.diagnostics.delete(d),u.projectStatus.set(d,{type:1,oldestOutputFileName:Se}),x9e(u,b,p),v=7,B=Ne,pe)}function ae(ne,ve){var Se,Ne,pe,fe;if(H.assert(t===1),u.options.dry){Rh(u,F.A_non_dry_build_would_update_output_of_project_0,s),B=1,v=7;return}u.options.verbose&&Rh(u,F.Updating_output_of_project_0,s);const{compilerHost:xe}=u;u.projectCompilerOptions=p.options,(Ne=(Se=u.host).beforeEmitBundle)==null||Ne.call(Se,p);const Be=w7e(p,xe,ft=>{const Ye=AM(u,ft.path);return t9(u,Ye,cE(u,Ye))},ve||((fe=(pe=u.host).getCustomTransformers)==null?void 0:fe.call(pe,s)));if(Ja(Be))return Rh(u,F.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,s,t1(u,Be)),v=6,k=Ytt(0,u,s,d,f,p,E);H.assert(!!Be.length);const Ge=rB(),Ae=new Map;let De=2;const Ke=u.buildInfoCache.get(d).buildInfo||void 0;return Be.forEach(({name:ft,text:Ye,writeByteOrderMark:Ve,data:We})=>{var Gt,Yt;Ae.set(gm(u,ft),ft),We!=null&&We.buildInfo&&(((Gt=We.buildInfo.program)==null?void 0:Gt.outSignature)!==((Yt=Ke==null?void 0:Ke.program)==null?void 0:Yt.outSignature)&&(De&=-3),b9e(u,We.buildInfo,d,p.options,De)),cP(ne?{writeFile:ne}:xe,Ge,ft,Ye,Ve)}),{emitSkipped:!1,diagnostics:ge(Ge,Ae,Be[0].name,De)}}function Ce(ne,ve,Se,Ne){for(;v<=ne&&v<8;){const pe=v;switch(v){case 0:j();break;case 1:K(ve);break;case 2:Y(ve);break;case 3:oe(Se,ve,Ne);break;case 5:se(Se,ve);break;case 4:ae(Se,Ne);break;case 6:H.checkDefined(k).done(ve,Se,Ne),v=8;break;case 7:oIt(u,s,d,f,p,E,H.checkDefined(B)),v++;break}H.assert(v>pe)}}}function iIt({options:t},u,s){return u.type!==3||t.force?!0:s.fileNames.length===0||!!Lk(s).length||!Xj(s.options)}function Qtt(t,u,s){if(!t.projectPendingBuild.size||e9(u))return;const{options:d,projectPendingBuild:f}=t;for(let p=0;p{const z=H.checkDefined(t.filesWatched.get(v));H.assert(she(z)),z.modifiedTime=M,z.callbacks.forEach(j=>j(k,T,M))},d,f,p,E);t.filesWatched.set(v,{callbacks:[s],watcher:B,modifiedTime:b})}return{close:()=>{const B=H.checkDefined(t.filesWatched.get(v));H.assert(she(B)),B.callbacks.length===1?(t.filesWatched.delete(v),jm(B)):Vy(B.callbacks,s)}}}function C9e(t,u){if(!t.watch)return;let s=t.outputTimeStamps.get(u);return s||t.outputTimeStamps.set(u,s=new Map),s}function b9e(t,u,s,d,f){const p=f5(d),E=y9e(t,p,s),v=AH(t.host);E?(E.buildInfo=u,E.modifiedTime=v,f&2||(E.latestChangedDtsTime=v)):t.buildInfoCache.set(s,{path:gm(t,p),buildInfo:u,modifiedTime:v,latestChangedDtsTime:f&2?void 0:v})}function y9e(t,u,s){const d=gm(t,u),f=t.buildInfoCache.get(s);return(f==null?void 0:f.path)===d?f:void 0}function iit(t,u,s,d){const f=gm(t,u),p=t.buildInfoCache.get(s);if(p!==void 0&&p.path===f)return p.buildInfo||void 0;const E=t.readFileWithCache(u),v=E?_Q(u,E):void 0;return t.buildInfoCache.set(s,{path:f,buildInfo:v||!1,modifiedTime:d||K_}),v}function k9e(t,u,s,d){const f=tit(t,u);if(sJ&&(j=Se,J=Ne),M&&Y.add(gm(t,Se))}if(M){z||(z=V1e(M,b,v));for(const Se of z.roots)if(!Y.has(Se))return{type:10,buildInfoFile:b,inputFile:Se}}if(!b){const Se=gQ(u,!v.useCaseSensitiveFileNames()),Ne=C9e(t,s);for(const pe of Se){const fe=gm(t,pe);let xe=Ne==null?void 0:Ne.get(fe);if(xe||(xe=e7(t.host,pe),Ne==null||Ne.set(fe,xe)),xe===K_)return{type:4,missingOutputFileName:pe};if(xek9e(t,Se,k,B));if(ne)return ne;const ve=L(t.lastCachedPackageJsonLookups.get(s)||_t,([Se])=>k9e(t,Se,k,B));return ve||(ge&&se?{type:3,outOfDateOutputFileName:B,newerProjectName:ae}:{type:se?2:K?15:1,newestInputFileTime:J,newestInputFileName:j,oldestOutputFileName:B})}function rIt(t,u,s){return t.buildInfoCache.get(s).path===u.path}function F9e(t,u,s){if(u===void 0)return{type:0,reason:"File deleted mid-build"};const d=t.projectStatus.get(s);if(d!==void 0)return d;ul("SolutionBuilder::beforeUpToDateCheck");const f=uIt(t,u,s);return ul("SolutionBuilder::afterUpToDateCheck"),Tm("SolutionBuilder::Up-to-date check","SolutionBuilder::beforeUpToDateCheck","SolutionBuilder::afterUpToDateCheck"),t.projectStatus.set(s,f),f}function nit(t,u,s,d,f){if(u.options.noEmit)return;let p;const E=f5(u.options);if(E){f!=null&&f.has(gm(t,E))||(t.options.verbose&&Rh(t,d,u.options.configFilePath),t.host.setModifiedTime(E,p=AH(t.host)),y9e(t,E,s).modifiedTime=p),t.outputTimeStamps.delete(s);return}const{host:v}=t,b=gQ(u,!v.useCaseSensitiveFileNames()),B=C9e(t,s),k=B?new Set:void 0;if(!f||b.length!==f.size){let T=!!t.options.verbose;for(const M of b){const z=gm(t,M);f!=null&&f.has(z)||(T&&(T=!1,Rh(t,d,u.options.configFilePath)),v.setModifiedTime(M,p||(p=AH(t.host))),B&&(B.set(z,p),k.add(z)))}}B==null||B.forEach((T,M)=>{!(f!=null&&f.has(M))&&!k.has(M)&&B.delete(M)})}function aIt(t,u,s){if(!u.composite)return;const d=H.checkDefined(t.buildInfoCache.get(s));if(d.latestChangedDtsTime!==void 0)return d.latestChangedDtsTime||void 0;const f=d.buildInfo&&d.buildInfo.program&&d.buildInfo.program.latestChangedDtsFile?t.host.getModifiedTime($a(d.buildInfo.program.latestChangedDtsFile,lr(d.path))):void 0;return d.latestChangedDtsTime=f||!1,f}function uit(t,u,s){if(t.options.dry)return Rh(t,F.A_non_dry_build_would_update_timestamps_for_output_of_project_0,u.options.configFilePath);nit(t,u,s,F.Updating_output_timestamps_of_project_0),t.projectStatus.set(s,{type:1,oldestOutputFileName:h1e(u,!t.host.useCaseSensitiveFileNames())})}function oIt(t,u,s,d,f,p,E){if(!(E&124)&&f.options.composite)for(let v=d+1;vt.diagnostics.has(cE(t,B)))?b?2:1:0}function ait(t,u,s){ul("SolutionBuilder::beforeClean");const d=lIt(t,u,s);return ul("SolutionBuilder::afterClean"),Tm("SolutionBuilder::Clean","SolutionBuilder::beforeClean","SolutionBuilder::afterClean"),d}function lIt(t,u,s){const d=Gtt(t,u,s);if(!d)return 3;if(e9(d))return qQ(t,d.circularDiagnostics),4;const{options:f,host:p}=t,E=f.dry?[]:void 0;for(const v of d){const b=cE(t,v),B=t9(t,v,b);if(B===void 0){hit(t,b);continue}const k=gQ(B,!p.useCaseSensitiveFileNames());if(!k.length)continue;const T=new Set(B.fileNames.map(M=>gm(t,M)));for(const M of k)T.has(gm(t,M))||p.fileExists(M)&&(E?E.push(M):(p.deleteFile(M),A9e(t,b,0)))}return E&&Rh(t,F.A_non_dry_build_would_delete_the_following_files_Colon_0,E.map(v=>`\r * ${v}`).join("")),0}function A9e(t,u,s){t.host.getParsedCommandLine&&s===1&&(s=2),s===2&&(t.configFileCache.delete(u),t.buildOrder=void 0),t.needsSummary=!0,$tt(t,u),Utt(t,u,s),Jtt(t)}function UQ(t,u,s){t.reportFileChangeDetected=!0,A9e(t,u,s),oit(t,250,!0)}function oit(t,u,s){const{hostWithWatch:d}=t;!d.setTimeout||!d.clearTimeout||(t.timerToBuildInvalidatedProject&&d.clearTimeout(t.timerToBuildInvalidatedProject),t.timerToBuildInvalidatedProject=d.setTimeout(cIt,u,"timerToBuildInvalidatedProject",t,s))}function cIt(t,u,s){ul("SolutionBuilder::beforeBuild");const d=dIt(u,s);ul("SolutionBuilder::afterBuild"),Tm("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),d&&fit(u,d)}function dIt(t,u){t.timerToBuildInvalidatedProject=void 0,t.reportFileChangeDetected&&(t.reportFileChangeDetected=!1,t.projectErrorsReported.clear(),w9e(t,F.File_change_detected_Starting_incremental_compilation));let s=0;const d=$Q(t),f=D9e(t,d,!1);if(f)for(f.done(),s++;t.projectPendingBuild.size;){if(t.timerToBuildInvalidatedProject)return;const p=Qtt(t,d,!1);if(!p)break;if(p.kind!==2&&(u||s===5)){oit(t,100,!1);return}Xtt(t,p,d).done(),p.kind!==2&&s++}return _9e(t),d}function sit(t,u,s,d){!t.watch||t.allWatchedConfigFiles.has(s)||t.allWatchedConfigFiles.set(s,lhe(t,u,()=>UQ(t,s,2),2e3,d==null?void 0:d.watchOptions,cd.ConfigFile,u))}function lit(t,u,s){vQ(u,s==null?void 0:s.options,t.allWatchedExtendedConfigFiles,(d,f)=>lhe(t,d,()=>{var p;return(p=t.allWatchedExtendedConfigFiles.get(f))==null?void 0:p.projects.forEach(E=>UQ(t,E,2))},2e3,s==null?void 0:s.watchOptions,cd.ExtendedConfigFile),d=>gm(t,d))}function cit(t,u,s,d){t.watch&&_H(g9e(t.allWatchedWildcardDirectories,s),new Map(Object.entries(d.wildcardDirectories)),(f,p)=>t.watchDirectory(f,E=>{var v;DH({watchedDirPath:gm(t,f),fileOrDirectory:E,fileOrDirectoryPath:gm(t,E),configFileName:u,currentDirectory:t.compilerHost.getCurrentDirectory(),options:d.options,program:t.builderPrograms.get(s)||((v=Xzt(t,s))==null?void 0:v.fileNames),useCaseSensitiveFileNames:t.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:b=>t.writeLog(b),toPath:b=>gm(t,b)})||UQ(t,s,1)},p,d==null?void 0:d.watchOptions,cd.WildcardDirectory,u))}function S9e(t,u,s,d){t.watch&&cB(g9e(t.allWatchedInputFiles,s),lg(d.fileNames,f=>gm(t,f)),{createNewValue:(f,p)=>lhe(t,p,()=>UQ(t,s,0),250,d==null?void 0:d.watchOptions,cd.SourceFile,u),onDeleteValue:fg})}function B9e(t,u,s,d){!t.watch||!t.lastCachedPackageJsonLookups||cB(g9e(t.allWatchedPackageJsonFiles,s),new Map(t.lastCachedPackageJsonLookups.get(s)),{createNewValue:(f,p)=>lhe(t,f,()=>UQ(t,s,0),2e3,d==null?void 0:d.watchOptions,cd.PackageJson,u),onDeleteValue:fg})}function hIt(t,u){if(t.watchAllProjectsPending){ul("SolutionBuilder::beforeWatcherCreation"),t.watchAllProjectsPending=!1;for(const s of JQ(u)){const d=cE(t,s),f=t9(t,s,d);sit(t,s,d,f),lit(t,d,f),f&&(cit(t,s,d,f),S9e(t,s,d,f),B9e(t,s,d,f))}ul("SolutionBuilder::afterWatcherCreation"),Tm("SolutionBuilder::Watcher creation","SolutionBuilder::beforeWatcherCreation","SolutionBuilder::afterWatcherCreation")}}function fIt(t){rf(t.allWatchedConfigFiles,fg),rf(t.allWatchedExtendedConfigFiles,jm),rf(t.allWatchedWildcardDirectories,u=>rf(u,jm)),rf(t.allWatchedInputFiles,u=>rf(u,fg)),rf(t.allWatchedPackageJsonFiles,u=>rf(u,fg))}function dit(t,u,s,d,f){const p=Qzt(t,u,s,d,f);return{build:(E,v,b,B)=>rit(p,E,v,b,B),clean:E=>ait(p,E),buildReferences:(E,v,b,B)=>rit(p,E,v,b,B,!0),cleanReferences:E=>ait(p,E,!0),getNextInvalidatedProject:E=>(qtt(p,E),D9e(p,$Q(p),!1)),getBuildOrder:()=>$Q(p),getUpToDateStatusOfProject:E=>{const v=AM(p,E),b=cE(p,v);return F9e(p,t9(p,v,b),b)},invalidateProject:(E,v)=>A9e(p,E,v||0),close:()=>fIt(p)}}function t1(t,u){return wN(u,t.compilerHost.getCurrentDirectory(),t.compilerHost.getCanonicalFileName)}function Rh(t,u,...s){t.host.reportSolutionBuilderStatus(cc(u,...s))}function w9e(t,u,...s){var d,f;(f=(d=t.hostWithWatch).onWatchStatusChange)==null||f.call(d,cc(u,...s),t.host.getNewLine(),t.baseCompilerOptions)}function qQ({host:t},u){u.forEach(s=>t.reportDiagnostic(s))}function SM(t,u,s){qQ(t,s),t.projectErrorsReported.set(u,!0),s.length&&t.diagnostics.set(u,s)}function hit(t,u){SM(t,u,[t.configFileCache.get(u)])}function fit(t,u){if(!t.needsSummary)return;t.needsSummary=!1;const s=t.watch||!!t.host.reportErrorSummary,{diagnostics:d}=t;let f=0,p=[];e9(u)?(mit(t,u.buildOrder),qQ(t,u.circularDiagnostics),s&&(f+=OQ(u.circularDiagnostics)),s&&(p=[...p,...jQ(u.circularDiagnostics)])):(u.forEach(E=>{const v=cE(t,E);t.projectErrorsReported.has(v)||qQ(t,d.get(v)||_t)}),s&&d.forEach(E=>f+=OQ(E)),s&&d.forEach(E=>[...p,...jQ(E)])),t.watch?w9e(t,U1e(f),f):t.host.reportErrorSummary&&t.host.reportErrorSummary(f,p)}function mit(t,u){t.options.verbose&&Rh(t,F.Projects_in_this_build_Colon_0,u.map(s=>`\r * `+t1(t,s)).join(""))}function mIt(t,u,s){switch(s.type){case 6:return Rh(t,F.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,t1(t,u),t1(t,s.outOfDateOutputFileName),t1(t,s.newerInputFileName));case 7:return Rh(t,F.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,t1(t,u),t1(t,s.outOfDateOutputFileName),t1(t,s.newerProjectName));case 4:return Rh(t,F.Project_0_is_out_of_date_because_output_file_1_does_not_exist,t1(t,u),t1(t,s.missingOutputFileName));case 5:return Rh(t,F.Project_0_is_out_of_date_because_there_was_error_reading_file_1,t1(t,u),t1(t,s.fileName));case 8:return Rh(t,F.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,t1(t,u),t1(t,s.buildInfoFile));case 9:return Rh(t,F.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,t1(t,u),t1(t,s.buildInfoFile));case 10:return Rh(t,F.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,t1(t,u),t1(t,s.buildInfoFile),t1(t,s.inputFile));case 1:if(s.newestInputFileTime!==void 0)return Rh(t,F.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,t1(t,u),t1(t,s.newestInputFileName||""),t1(t,s.oldestOutputFileName||""));break;case 3:return Rh(t,F.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,t1(t,u),t1(t,s.newerProjectName));case 2:return Rh(t,F.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,t1(t,u));case 15:return Rh(t,F.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,t1(t,u));case 11:return Rh(t,F.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,t1(t,u),t1(t,s.upstreamProjectName));case 12:return Rh(t,s.upstreamProjectBlocked?F.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:F.Project_0_can_t_be_built_because_its_dependency_1_has_errors,t1(t,u),t1(t,s.upstreamProjectName));case 0:return Rh(t,F.Failed_to_parse_file_0_Colon_1,t1(t,u),s.reason);case 14:return Rh(t,F.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,t1(t,u),s.version,_);case 17:return Rh(t,F.Project_0_is_being_forcibly_rebuilt,t1(t,u))}}function che(t,u,s){t.options.verbose&&mIt(t,u,s)}var pit,git,dhe,pIt=o({"src/compiler/tsbuildPublic.ts"(){Bo(),Wy(),pit=new Date(-864e13),git=new Date(864e13),dhe=(t=>(t[t.Build=0]="Build",t[t.UpdateBundle=1]="UpdateBundle",t[t.UpdateOutputFileStamps=2]="UpdateOutputFileStamps",t))(dhe||{})}}),Bo=o({"src/compiler/_namespaces/ts.ts"(){y(),bwt(),ywt(),Pwt(),Iwt(),Rwt(),qwt(),Nqe(),uTt(),lTt(),cTt(),pTt(),vTt(),DLt(),xLt(),vLt(),CLt(),TLt(),LLt(),NLt(),PLt(),oNt(),sNt(),_Nt(),zNt(),lPt(),pPt(),gPt(),APt(),NPt(),VPt(),UPt(),oMt(),sMt(),EMt(),_Mt(),DMt(),FMt(),AMt(),SMt(),BMt(),wMt(),TMt(),LMt(),NMt(),PMt(),IMt(),RMt(),OMt(),jMt(),VMt(),KMt(),WMt(),GMt(),JMt(),$Mt(),UMt(),ezt(),azt(),gzt(),_zt(),Czt(),bzt(),yzt(),jzt(),Vzt(),Wzt(),$zt(),Uzt(),qzt(),pIt(),NAe(),Wy()}});function Eit(t){return c1.args.includes(t)}function _it(t){const u=c1.args.indexOf(t);return u>=0&&u{t.GlobalCacheLocation="--globalTypingsCacheLocation",t.LogFile="--logFile",t.EnableTelemetry="--enableTelemetry",t.TypingSafeListLocation="--typingSafeListLocation",t.TypesMapLocation="--typesMapLocation",t.NpmLocation="--npmLocation",t.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"})(mhe||(mhe={})),P9e=` `}}),EIt=o({"src/jsTyping/types.ts"(){}}),QQ=o({"src/jsTyping/_namespaces/ts.server.ts"(){gIt(),EIt()}});function xit(t,u){return new Lp(uo(u,`ts${g}`)||uo(u,"latest")).compareTo(t.version)<=0}function vit(t){return O9e.has(t)?"node":t}function _It(t,u){const s=JV(u,d=>t.readFile(d));return new Map(Object.entries(s.config))}function DIt(t,u){var s;const d=JV(u,f=>t.readFile(f));if((s=d.config)!=null&&s.simpleMap)return new Map(Object.entries(d.config.simpleMap))}function xIt(t,u,s,d,f,p,E,v,b,B){if(!E||!E.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};const k=new Map;s=qi(s,ge=>{const ae=$o(ge);if(z2(ae))return ae});const T=[];E.include&&Y(E.include,"Explicitly included types");const M=E.exclude||[];if(!B.types){const ge=new Set(s.map(lr));ge.add(d),ge.forEach(ae=>{oe(ae,"bower.json","bower_components",T),oe(ae,"package.json","node_modules",T)})}if(E.disableFilenameBasedTypeAcquisition||se(s),v){const ge=ri(v.map(vit),XA,dh);Y(ge,"Inferred typings from unresolved imports")}for(const ge of M)k.delete(ge)&&u&&u(`Typing for ${ge} is in exclude list, will be ignored.`);p.forEach((ge,ae)=>{const Ce=b.get(ae);k.get(ae)===!1&&Ce!==void 0&&xit(ge,Ce)&&k.set(ae,ge.typingLocation)});const z=[],j=[];k.forEach((ge,ae)=>{ge?j.push(ge):z.push(ae)});const J={cachedTypingPaths:j,newTypingNames:z,filesToWatch:T};return u&&u(`Finished typings discovery:${nw(J)}`),J;function K(ge){k.has(ge)||k.set(ge,!1)}function Y(ge,ae){u&&u(`${ae}: ${JSON.stringify(ge)}`),L(ge,K)}function oe(ge,ae,Ce,ne){const ve=cr(ge,ae);let Se,Ne;t.fileExists(ve)&&(ne.push(ve),Se=JV(ve,Be=>t.readFile(Be)).config,Ne=ju([Se.dependencies,Se.devDependencies,Se.optionalDependencies,Se.peerDependencies],Ns),Y(Ne,`Typing names in '${ve}' dependencies`));const pe=cr(ge,Ce);if(ne.push(pe),!t.directoryExists(pe))return;const fe=[],xe=Ne?Ne.map(Be=>cr(pe,Be,ae)):t.readDirectory(pe,[".json"],void 0,void 0,3).filter(Be=>{if(Ac(Be)!==ae)return!1;const Ge=yd($o(Be)),Ae=Ge[Ge.length-3][0]==="@";return Ae&&$g(Ge[Ge.length-4])===Ce||!Ae&&$g(Ge[Ge.length-3])===Ce});u&&u(`Searching for typing names in ${pe}; all files: ${JSON.stringify(xe)}`);for(const Be of xe){const Ge=$o(Be),De=JV(Ge,Je=>t.readFile(Je)).config;if(!De.name)continue;const Ke=De.types||De.typings;if(Ke){const Je=$a(Ke,lr(Ge));t.fileExists(Je)?(u&&u(` Package '${De.name}' provides its own types.`),k.set(De.name,Je)):u&&u(` Package '${De.name}' provides its own types but they are missing.`)}else fe.push(De.name)}Y(fe," Found package names")}function se(ge){const ae=qi(ge,ne=>{if(!z2(ne))return;const ve=_h($g(Ac(ne))),Se=soe(ve);return f.get(Se)});ae.length&&Y(ae,"Inferred typings from file names"),Oe(ge,ne=>Ml(ne,".jsx"))&&(u&&u("Inferred 'react' typings due to presence of '.jsx' extension"),K("react"))}}function vIt(t){return M9e(t,!0)}function M9e(t,u){if(!t)return 1;if(t.length>V9e)return 2;if(t.charCodeAt(0)===46)return 3;if(t.charCodeAt(0)===95)return 4;if(u){const s=/^@([^/]+)\/([^/]+)$/.exec(t);if(s){const d=M9e(s[1],!1);if(d!==0)return{name:s[1],isScopeName:!0,result:d};const f=M9e(s[2],!1);return f!==0?{name:s[2],isScopeName:!1,result:f}:0}}return encodeURIComponent(t)!==t?5:0}function CIt(t,u){return typeof t=="object"?Cit(u,t.result,t.name,t.isScopeName):Cit(u,t,u,!1)}function Cit(t,u,s,d){const f=d?"Scope":"Package";switch(u){case 1:return`'${t}':: ${f} name '${s}' cannot be empty`;case 2:return`'${t}':: ${f} name '${s}' should be less than ${V9e} characters`;case 3:return`'${t}':: ${f} name '${s}' cannot start with '.'`;case 4:return`'${t}':: ${f} name '${s}' cannot start with '_'`;case 5:return`'${t}':: ${f} name '${s}' contains non URI safe characters`;case 0:return H.fail();default:H.assertNever(u)}}var z9e,I9e,R9e,O9e,j9e,V9e,bIt=o({"src/jsTyping/jsTyping.ts"(){BH(),QQ(),z9e=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","https","http2","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"],I9e=z9e.map(t=>`node:${t}`),R9e=[...z9e,...I9e],O9e=new Set(R9e),j9e=(t=>(t[t.Ok=0]="Ok",t[t.EmptyName=1]="EmptyName",t[t.NameTooLong=2]="NameTooLong",t[t.NameStartsWithDot=3]="NameStartsWithDot",t[t.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",t[t.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters",t))(j9e||{}),V9e=214}}),o3={};h(o3,{NameValidationResult:()=>j9e,discoverTypings:()=>xIt,isTypingUpToDate:()=>xit,loadSafeList:()=>_It,loadTypesMap:()=>DIt,nodeCoreModuleList:()=>R9e,nodeCoreModules:()=>O9e,nonRelativeModuleNameForTypingCache:()=>vit,prefixedNodeCoreModuleList:()=>I9e,renderPackageNameValidationFailure:()=>CIt,validatePackageName:()=>vIt});var yIt=o({"src/jsTyping/_namespaces/ts.JsTyping.ts"(){bIt()}}),BH=o({"src/jsTyping/_namespaces/ts.ts"(){Bo(),yIt(),QQ()}});function XQ(t){return{indentSize:4,tabSize:4,newLineCharacter:t||` `,convertTabsToSpaces:!0,indentStyle:2,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:"ignore",trimTrailingWhitespace:!0,indentSwitchCase:!0}}var eX,phe,ghe,Ehe,d4,_he,Dhe,xhe,vhe,Che,bhe,yhe,H9e,wH,khe,Fhe,Ahe,She,Bhe,whe,The,Lhe,Nhe,kIt=o({"src/services/types.ts"(){(t=>{class u{constructor(f){this.text=f}getText(f,p){return f===0&&p===this.text.length?this.text:this.text.substring(f,p)}getLength(){return this.text.length}getChangeRange(){}}function s(d){return new u(d)}t.fromString=s})(eX||(eX={})),phe=(t=>(t[t.Dependencies=1]="Dependencies",t[t.DevDependencies=2]="DevDependencies",t[t.PeerDependencies=4]="PeerDependencies",t[t.OptionalDependencies=8]="OptionalDependencies",t[t.All=15]="All",t))(phe||{}),ghe=(t=>(t[t.Off=0]="Off",t[t.On=1]="On",t[t.Auto=2]="Auto",t))(ghe||{}),Ehe=(t=>(t[t.Semantic=0]="Semantic",t[t.PartialSemantic=1]="PartialSemantic",t[t.Syntactic=2]="Syntactic",t))(Ehe||{}),d4={},_he=(t=>(t.Original="original",t.TwentyTwenty="2020",t))(_he||{}),Dhe=(t=>(t.All="All",t.SortAndCombine="SortAndCombine",t.RemoveUnused="RemoveUnused",t))(Dhe||{}),xhe=(t=>(t[t.Invoked=1]="Invoked",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",t))(xhe||{}),vhe=(t=>(t.Type="Type",t.Parameter="Parameter",t.Enum="Enum",t))(vhe||{}),Che=(t=>(t.none="none",t.definition="definition",t.reference="reference",t.writtenReference="writtenReference",t))(Che||{}),bhe=(t=>(t[t.None=0]="None",t[t.Block=1]="Block",t[t.Smart=2]="Smart",t))(bhe||{}),yhe=(t=>(t.Ignore="ignore",t.Insert="insert",t.Remove="remove",t))(yhe||{}),H9e=XQ(` -`),wH=(t=>(t[t.aliasName=0]="aliasName",t[t.className=1]="className",t[t.enumName=2]="enumName",t[t.fieldName=3]="fieldName",t[t.interfaceName=4]="interfaceName",t[t.keyword=5]="keyword",t[t.lineBreak=6]="lineBreak",t[t.numericLiteral=7]="numericLiteral",t[t.stringLiteral=8]="stringLiteral",t[t.localName=9]="localName",t[t.methodName=10]="methodName",t[t.moduleName=11]="moduleName",t[t.operator=12]="operator",t[t.parameterName=13]="parameterName",t[t.propertyName=14]="propertyName",t[t.punctuation=15]="punctuation",t[t.space=16]="space",t[t.text=17]="text",t[t.typeParameterName=18]="typeParameterName",t[t.enumMemberName=19]="enumMemberName",t[t.functionName=20]="functionName",t[t.regularExpressionLiteral=21]="regularExpressionLiteral",t[t.link=22]="link",t[t.linkName=23]="linkName",t[t.linkText=24]="linkText",t))(wH||{}),khe=(t=>(t[t.None=0]="None",t[t.MayIncludeAutoImports=1]="MayIncludeAutoImports",t[t.IsImportStatementCompletion=2]="IsImportStatementCompletion",t[t.IsContinuation=4]="IsContinuation",t[t.ResolvedModuleSpecifiers=8]="ResolvedModuleSpecifiers",t[t.ResolvedModuleSpecifiersBeyondLimit=16]="ResolvedModuleSpecifiersBeyondLimit",t[t.MayIncludeMethodSnippets=32]="MayIncludeMethodSnippets",t))(khe||{}),Fhe=(t=>(t.Comment="comment",t.Region="region",t.Code="code",t.Imports="imports",t))(Fhe||{}),Ahe=(t=>(t[t.JavaScript=0]="JavaScript",t[t.SourceMap=1]="SourceMap",t[t.Declaration=2]="Declaration",t))(Ahe||{}),She=(t=>(t[t.None=0]="None",t[t.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",t[t.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",t[t.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",t[t.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",t[t.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",t[t.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",t))(She||{}),Bhe=(t=>(t[t.Punctuation=0]="Punctuation",t[t.Keyword=1]="Keyword",t[t.Operator=2]="Operator",t[t.Comment=3]="Comment",t[t.Whitespace=4]="Whitespace",t[t.Identifier=5]="Identifier",t[t.NumberLiteral=6]="NumberLiteral",t[t.BigIntLiteral=7]="BigIntLiteral",t[t.StringLiteral=8]="StringLiteral",t[t.RegExpLiteral=9]="RegExpLiteral",t))(Bhe||{}),whe=(t=>(t.unknown="",t.warning="warning",t.keyword="keyword",t.scriptElement="script",t.moduleElement="module",t.classElement="class",t.localClassElement="local class",t.interfaceElement="interface",t.typeElement="type",t.enumElement="enum",t.enumMemberElement="enum member",t.variableElement="var",t.localVariableElement="local var",t.variableUsingElement="using",t.variableAwaitUsingElement="await using",t.functionElement="function",t.localFunctionElement="local function",t.memberFunctionElement="method",t.memberGetAccessorElement="getter",t.memberSetAccessorElement="setter",t.memberVariableElement="property",t.memberAccessorVariableElement="accessor",t.constructorImplementationElement="constructor",t.callSignatureElement="call",t.indexSignatureElement="index",t.constructSignatureElement="construct",t.parameterElement="parameter",t.typeParameterElement="type parameter",t.primitiveType="primitive type",t.label="label",t.alias="alias",t.constElement="const",t.letElement="let",t.directory="directory",t.externalModuleName="external module name",t.jsxAttribute="JSX attribute",t.string="string",t.link="link",t.linkName="link name",t.linkText="link text",t))(whe||{}),The=(t=>(t.none="",t.publicMemberModifier="public",t.privateMemberModifier="private",t.protectedMemberModifier="protected",t.exportedModifier="export",t.ambientModifier="declare",t.staticModifier="static",t.abstractModifier="abstract",t.optionalModifier="optional",t.deprecatedModifier="deprecated",t.dtsModifier=".d.ts",t.tsModifier=".ts",t.tsxModifier=".tsx",t.jsModifier=".js",t.jsxModifier=".jsx",t.jsonModifier=".json",t.dmtsModifier=".d.mts",t.mtsModifier=".mts",t.mjsModifier=".mjs",t.dctsModifier=".d.cts",t.ctsModifier=".cts",t.cjsModifier=".cjs",t))(The||{}),Lhe=(t=>(t.comment="comment",t.identifier="identifier",t.keyword="keyword",t.numericLiteral="number",t.bigintLiteral="bigint",t.operator="operator",t.stringLiteral="string",t.whiteSpace="whitespace",t.text="text",t.punctuation="punctuation",t.className="class name",t.enumName="enum name",t.interfaceName="interface name",t.moduleName="module name",t.typeParameterName="type parameter name",t.typeAliasName="type alias name",t.parameterName="parameter name",t.docCommentTagName="doc comment tag name",t.jsxOpenTagName="jsx open tag name",t.jsxCloseTagName="jsx close tag name",t.jsxSelfClosingTagName="jsx self closing tag name",t.jsxAttribute="jsx attribute",t.jsxText="jsx text",t.jsxAttributeStringLiteralValue="jsx attribute string literal value",t))(Lhe||{}),Nhe=(t=>(t[t.comment=1]="comment",t[t.identifier=2]="identifier",t[t.keyword=3]="keyword",t[t.numericLiteral=4]="numericLiteral",t[t.operator=5]="operator",t[t.stringLiteral=6]="stringLiteral",t[t.regularExpressionLiteral=7]="regularExpressionLiteral",t[t.whiteSpace=8]="whiteSpace",t[t.text=9]="text",t[t.punctuation=10]="punctuation",t[t.className=11]="className",t[t.enumName=12]="enumName",t[t.interfaceName=13]="interfaceName",t[t.moduleName=14]="moduleName",t[t.typeParameterName=15]="typeParameterName",t[t.typeAliasName=16]="typeAliasName",t[t.parameterName=17]="parameterName",t[t.docCommentTagName=18]="docCommentTagName",t[t.jsxOpenTagName=19]="jsxOpenTagName",t[t.jsxCloseTagName=20]="jsxCloseTagName",t[t.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",t[t.jsxAttribute=22]="jsxAttribute",t[t.jsxText=23]="jsxText",t[t.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",t[t.bigintLiteral=25]="bigintLiteral",t))(Nhe||{})}});function TH(t){switch(t.kind){case 260:return Qn(t)&&Ose(t)?7:1;case 169:case 208:case 172:case 171:case 303:case 304:case 174:case 173:case 176:case 177:case 178:case 262:case 218:case 219:case 299:case 291:return 1;case 168:case 264:case 265:case 187:return 2;case 353:return t.name===void 0?3:2;case 306:case 263:return 3;case 267:return N1(t)||oD(t)===1?5:4;case 266:case 275:case 276:case 271:case 272:case 277:case 278:return 7;case 312:return 5}return 7}function Pk(t){t=Jhe(t);const u=t.parent;return t.kind===312?1:tc(u)||eh(u)||r_(u)||bf(u)||n_(u)||E1(u)&&t===u.name?7:tX(t)?FIt(t):X3(t)?TH(u):sm(t)&&Tn(t,dg(QP,o7,Rv))?7:wIt(t)?2:AIt(t)?4:Bl(u)?(H.assert(_g(u.parent)),2):Mv(u)?3:1}function FIt(t){const u=t.kind===166?t:vf(t.parent)&&t.parent.right===t?t.parent:void 0;return u&&u.parent.kind===271?7:4}function tX(t){for(;t.parent.kind===166;)t=t.parent;return U8(t.parent)&&t.parent.moduleReference===t}function AIt(t){return SIt(t)||BIt(t)}function SIt(t){let u=t,s=!0;if(u.parent.kind===166){for(;u.parent&&u.parent.kind===166;)u=u.parent;s=u.right===t}return u.parent.kind===183&&!s}function BIt(t){let u=t,s=!0;if(u.parent.kind===211){for(;u.parent&&u.parent.kind===211;)u=u.parent;s=u.name===t}if(!s&&u.parent.kind===233&&u.parent.parent.kind===298){const d=u.parent.parent.parent;return d.kind===263&&u.parent.parent.token===119||d.kind===264&&u.parent.parent.token===96}return!1}function wIt(t){switch(gP(t)&&(t=t.parent),t.kind){case 110:return!Z_(t);case 197:return!0}switch(t.parent.kind){case 183:return!0;case 205:return!t.parent.isTypeOf;case 233:return q_(t.parent)}return!1}function Phe(t,u=!1,s=!1){return LH(t,Mo,zhe,u,s)}function wM(t,u=!1,s=!1){return LH(t,j2,zhe,u,s)}function Mhe(t,u=!1,s=!1){return LH(t,$E,zhe,u,s)}function K9e(t,u=!1,s=!1){return LH(t,Dk,TIt,u,s)}function W9e(t,u=!1,s=!1){return LH(t,g1,zhe,u,s)}function G9e(t,u=!1,s=!1){return LH(t,zh,LIt,u,s)}function zhe(t){return t.expression}function TIt(t){return t.tag}function LIt(t){return t.tagName}function LH(t,u,s,d,f){let p=d?J9e(t):iX(t);return f&&(p=Dc(p)),!!p&&!!p.parent&&u(p.parent)&&s(p.parent)===p}function iX(t){return uw(t)?t.parent:t}function J9e(t){return uw(t)||jhe(t)?t.parent:t}function nX(t,u){for(;t;){if(t.kind===256&&t.label.escapedText===u)return t.label;t=t.parent}}function NH(t,u){return Iu(t.expression)?t.expression.name.text===u:!1}function PH(t){var u;return at(t)&&((u=ur(t.parent,ON))==null?void 0:u.label)===t}function Ihe(t){var u;return at(t)&&((u=ur(t.parent,V2))==null?void 0:u.label)===t}function Rhe(t){return Ihe(t)||PH(t)}function Ohe(t){var u;return((u=ur(t.parent,I8))==null?void 0:u.tagName)===t}function $9e(t){var u;return((u=ur(t.parent,vf))==null?void 0:u.right)===t}function uw(t){var u;return((u=ur(t.parent,Iu))==null?void 0:u.name)===t}function jhe(t){var u;return((u=ur(t.parent,U0))==null?void 0:u.argumentExpression)===t}function Vhe(t){var u;return((u=ur(t.parent,_c))==null?void 0:u.name)===t}function Hhe(t){var u;return at(t)&&((u=ur(t.parent,Co))==null?void 0:u.name)===t}function uX(t){switch(t.parent.kind){case 172:case 171:case 303:case 306:case 174:case 173:case 177:case 178:case 267:return Za(t.parent)===t;case 212:return t.parent.argumentExpression===t;case 167:return!0;case 201:return t.parent.parent.kind===199;default:return!1}}function U9e(t){return bv(t.parent.parent)&&XN(t.parent.parent)===t}function Mk(t){for(G4(t)&&(t=t.parent.parent);;){if(t=t.parent,!t)return;switch(t.kind){case 312:case 174:case 173:case 262:case 218:case 177:case 178:case 263:case 264:case 266:case 267:return t}}}function tb(t){switch(t.kind){case 312:return wc(t)?"module":"script";case 267:return"module";case 263:case 231:return"class";case 264:return"interface";case 265:case 345:case 353:return"type";case 266:return"enum";case 260:return u(t);case 208:return u(XE(t));case 219:case 262:case 218:return"function";case 177:return"getter";case 178:return"setter";case 174:case 173:return"method";case 303:const{initializer:s}=t;return Co(s)?"method":"property";case 172:case 171:case 304:case 305:return"property";case 181:return"index";case 180:return"construct";case 179:return"call";case 176:case 175:return"constructor";case 168:return"type parameter";case 306:return"enum member";case 169:return Yu(t,31)?"property":"parameter";case 271:case 276:case 281:case 274:case 280:return"alias";case 226:const d=Xl(t),{right:f}=t;switch(d){case 7:case 8:case 9:case 0:return"";case 1:case 2:const E=tb(f);return E===""?"const":E;case 3:return A0(f)?"method":"property";case 4:return"property";case 5:return A0(f)?"method":"property";case 6:return"local class";default:return""}case 80:return n_(t.parent)?"alias":"";case 277:const p=tb(t.expression);return p===""?"const":p;default:return""}function u(s){return K8(s)?"const":rq(s)?"let":"var"}}function rw(t){switch(t.kind){case 110:return!0;case 80:return ule(t)&&t.parent.kind===169;default:return!1}}function tp(t,u){const s=$3(u),d=u.getLineAndCharacterOfPosition(t).line;return s[d]}function Vm(t,u){return Khe(t.pos,t.end,u)}function q9e(t,u){return zH(t,u.pos)&&zH(t,u.end)}function MH(t,u){return t.pos<=u&&u<=t.end}function zH(t,u){return t.pos=s.end}function IH(t,u,s){return t.pos<=u&&t.end>=s}function TM(t,u,s){return aX(t.pos,t.end,u,s)}function rX(t,u,s,d){return aX(t.getStart(u),t.end,s,d)}function aX(t,u,s,d){const f=Math.max(t,s),p=Math.min(u,d);return fd.kind===u)}function oX(t){const u=Le(t.parent.getChildren(),s=>MB(s)&&Vm(s,t));return H.assert(!u||kt(u.getChildren(),t)),u}function bit(t){return t.kind===90}function NIt(t){return t.kind===86}function PIt(t){return t.kind===100}function MIt(t){if(mh(t))return t.name;if(Wc(t)){const u=t.modifiers&&Le(t.modifiers,bit);if(u)return u}if(Xd(t)){const u=Le(t.getChildren(),NIt);if(u)return u}}function zIt(t){if(mh(t))return t.name;if(ed(t)){const u=Le(t.modifiers,bit);if(u)return u}if(A0(t)){const u=Le(t.getChildren(),PIt);if(u)return u}}function IIt(t){let u;return Tn(t,s=>(Qr(s)&&(u=s),!vf(s.parent)&&!Qr(s.parent)&&!Zy(s.parent))),u}function sX(t,u){if(t.flags&16777216)return;const s=SX(t,u);if(s)return s;const d=IIt(t);return d&&u.getTypeAtLocation(d)}function RIt(t,u){if(!u)switch(t.kind){case 263:case 231:return MIt(t);case 262:case 218:return zIt(t);case 176:return t}if(mh(t))return t.name}function yit(t,u){if(t.importClause){if(t.importClause.name&&t.importClause.namedBindings)return;if(t.importClause.name)return t.importClause.name;if(t.importClause.namedBindings){if(uD(t.importClause.namedBindings)){const s=Aa(t.importClause.namedBindings.elements);return s?s.name:void 0}else if(Jx(t.importClause.namedBindings))return t.importClause.namedBindings.name}}if(!u)return t.moduleSpecifier}function kit(t,u){if(t.exportClause){if(ep(t.exportClause))return Aa(t.exportClause.elements)?t.exportClause.elements[0].name:void 0;if(u_(t.exportClause))return t.exportClause.name}if(!u)return t.moduleSpecifier}function OIt(t){if(t.types.length===1)return t.types[0].expression}function Fit(t,u){const{parent:s}=t;if(Qo(t)&&(u||t.kind!==90)?Hp(s)&&kt(s.modifiers,t):t.kind===86?Wc(s)||Xd(t):t.kind===100?ed(s)||A0(t):t.kind===120?xh(s):t.kind===94?Iv(s):t.kind===156?jp(s):t.kind===145||t.kind===144?_c(s):t.kind===102?E1(s):t.kind===139?zm(s):t.kind===153&&jf(s)){const d=RIt(s,u);if(d)return d}if((t.kind===115||t.kind===87||t.kind===121)&&Ad(s)&&s.declarations.length===1){const d=s.declarations[0];if(at(d.name))return d.name}if(t.kind===156){if(n_(s)&&s.isTypeOnly){const d=yit(s.parent,u);if(d)return d}if(Gc(s)&&s.isTypeOnly){const d=kit(s,u);if(d)return d}}if(t.kind===130){if(bf(s)&&s.propertyName||eh(s)&&s.propertyName||Jx(s)||u_(s))return s.name;if(Gc(s)&&s.exportClause&&u_(s.exportClause))return s.exportClause.name}if(t.kind===102&&Sd(s)){const d=yit(s,u);if(d)return d}if(t.kind===95){if(Gc(s)){const d=kit(s,u);if(d)return d}if(tc(s))return Dc(s.expression)}if(t.kind===149&&r_(s))return s.expression;if(t.kind===161&&(Sd(s)||Gc(s))&&s.moduleSpecifier)return s.moduleSpecifier;if((t.kind===96||t.kind===119)&&mm(s)&&s.token===t.kind){const d=OIt(s);if(d)return d}if(t.kind===96){if(Bl(s)&&s.constraint&&X4(s.constraint))return s.constraint.typeName;if(FB(s)&&X4(s.extendsType))return s.extendsType.typeName}if(t.kind===140&&P7(s))return s.typeParameter.name;if(t.kind===103&&Bl(s)&&JP(s.parent))return s.name;if(t.kind===143&&z7(s)&&s.operator===143&&X4(s.type))return s.type.typeName;if(t.kind===148&&z7(s)&&s.operator===148&&oY(s.type)&&X4(s.type.elementType))return s.type.elementType.typeName;if(!u){if((t.kind===105&&j2(s)||t.kind===116&&R7(s)||t.kind===114&&AB(s)||t.kind===135&&Gx(s)||t.kind===127&&cY(s)||t.kind===91&&oFe(s))&&s.expression)return Dc(s.expression);if((t.kind===103||t.kind===104)&&Xn(s)&&s.operatorToken===t)return Dc(s.right);if(t.kind===130&&AV(s)&&X4(s.type))return s.type.typeName;if(t.kind===103&&hY(s)||t.kind===165&&SV(s))return Dc(s.expression)}return t}function Jhe(t){return Fit(t,!1)}function lX(t){return Fit(t,!0)}function af(t,u){return LM(t,u,s=>Xg(s)||uf(s.kind)||Xr(s))}function LM(t,u,s){return Ait(t,u,!1,s,!1)}function Ca(t,u){return Ait(t,u,!0,void 0,!1)}function Ait(t,u,s,d,f){let p=t,E;e:for(;;){const b=p.getChildren(t),B=va(b,u,(k,T)=>T,(k,T)=>{const M=b[k].getEnd();if(Mu?1:v(b[k],z,M)?b[k-1]&&v(b[k-1])?1:0:d&&z===u&&b[k-1]&&b[k-1].getEnd()===u&&v(b[k-1])?1:-1});if(E)return E;if(B>=0&&b[B]){p=b[B];continue e}return p}function v(b,B,k){if(k??(k=b.getEnd()),ku))return!1;if(us.getStart(t)&&u(p.pos<=t.pos&&p.end>t.end||p.pos===t.end)&&uSe(p,s)?d(p):void 0)}}function td(t,u,s,d){const f=p(s||u);return H.assert(!(f&&dX(f))),f;function p(E){if(Sit(E)&&E.kind!==1)return E;const v=E.getChildren(u),b=va(v,t,(k,T)=>T,(k,T)=>t=v[k-1].end?0:1:-1);if(b>=0&&v[b]){const k=v[b];if(t=t||!uSe(k,u)||dX(k)){const z=X9e(v,b,u,E.kind);return z?!d&&GU(z)&&z.getChildren(u).length?p(z):Q9e(z,u):void 0}else return p(k)}H.assert(s!==void 0||E.kind===312||E.kind===1||GU(E));const B=X9e(v,v.length,u,E.kind);return B&&Q9e(B,u)}}function Sit(t){return u7(t)&&!dX(t)}function Q9e(t,u){if(Sit(t))return t;const s=t.getChildren(u);if(s.length===0)return t;const d=X9e(s,s.length,u,t.kind);return d&&Q9e(d,u)}function X9e(t,u,s,d){for(let f=u-1;f>=0;f--){const p=t[f];if(dX(p))f===0&&(d===12||d===285)&&H.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(uSe(t[f],s))return t[f]}}function zk(t,u,s=td(u,t)){if(s&&Use(s)){const d=s.getStart(t),f=s.getEnd();if(ds.getStart(t)}function tSe(t,u){const s=Ca(t,u);return!!(w7(s)||s.kind===19&&YP(s.parent)&&r3(s.parent.parent)||s.kind===30&&zh(s.parent)&&r3(s.parent.parent))}function hX(t,u){function s(d){for(;d;)if(d.kind>=285&&d.kind<=294||d.kind===12||d.kind===30||d.kind===32||d.kind===80||d.kind===20||d.kind===19||d.kind===44)d=d.parent;else if(d.kind===284){if(u>d.getStart(t))return!0;d=d.parent}else return!1;return!1}return s(Ca(t,u))}function fX(t,u,s){const d=Uo(t.kind),f=Uo(u),p=t.getFullStart(),E=s.text.lastIndexOf(f,p);if(E===-1)return;if(s.text.lastIndexOf(d,p-1)!!p.typeParameters&&p.typeParameters.length>=u)}function qhe(t,u){if(u.text.lastIndexOf("<",t?t.pos:u.text.length)===-1)return;let s=t,d=0,f=0;for(;s;){switch(s.kind){case 30:if(s=td(s.getFullStart(),u),s&&s.kind===29&&(s=td(s.getFullStart(),u)),!s||!at(s))return;if(!d)return X3(s)?void 0:{called:s,nTypeArguments:f};d--;break;case 50:d=3;break;case 49:d=2;break;case 32:d++;break;case 20:if(s=fX(s,19,u),!s)return;break;case 22:if(s=fX(s,21,u),!s)return;break;case 24:if(s=fX(s,23,u),!s)return;break;case 28:f++;break;case 39:case 80:case 11:case 9:case 10:case 112:case 97:case 114:case 96:case 143:case 25:case 52:case 58:case 59:break;default:if(Qr(s))break;return}s=td(s.getFullStart(),u)}}function m5(t,u,s){return dd.getRangeOfEnclosingComment(t,u,void 0,s)}function nSe(t,u){const s=Ca(t,u);return!!Tn(s,Vp)}function uSe(t,u){return t.kind===1?!!t.jsDoc:t.getWidth(u)!==0}function NM(t,u=0){const s=[],d=Q1(t)?Pse(t)&~u:0;return d&2&&s.push("private"),d&4&&s.push("protected"),d&1&&s.push("public"),(d&256||zl(t))&&s.push("static"),d&64&&s.push("abstract"),d&32&&s.push("export"),d&65536&&s.push("deprecated"),t.flags&33554432&&s.push("declare"),t.kind===277&&s.push("export"),s.length>0?s.join(","):""}function rSe(t){if(t.kind===183||t.kind===213)return t.typeArguments;if(Co(t)||t.kind===263||t.kind===264)return t.typeParameters}function mX(t){return t===2||t===3}function Zhe(t){return!!(t===11||t===14||Bx(t))}function Bit(t,u,s){return!!(u.flags&4)&&t.isEmptyAnonymousObjectType(s)}function aSe(t){if(!t.isIntersection())return!1;const{types:u,checker:s}=t;return u.length===2&&(Bit(s,u[0],u[1])||Bit(s,u[1],u[0]))}function jH(t,u,s){return Bx(t.kind)&&t.getStart(s){const s=$s(u);return!t[s]&&(t[s]=!0)}}function aw(t){return t.getText(0,t.getLength())}function KH(t,u){let s="";for(let d=0;d!u.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(u)&&!!(u.externalModuleIndicator||u.commonJsModuleIndicator))}function cSe(t){return t.getSourceFiles().some(u=>!u.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(u)&&!!u.externalModuleIndicator)}function ufe(t){return!!t.module||Os(t)>=2||!!t.noEmit}function Ik(t,u){return{fileExists:s=>t.fileExists(s),getCurrentDirectory:()=>u.getCurrentDirectory(),readFile:Lo(u,u.readFile),useCaseSensitiveFileNames:Lo(u,u.useCaseSensitiveFileNames),getSymlinkCache:Lo(u,u.getSymlinkCache)||t.getSymlinkCache,getModuleSpecifierCache:Lo(u,u.getModuleSpecifierCache),getPackageJsonInfoCache:()=>{var s;return(s=t.getModuleResolutionCache())==null?void 0:s.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:Lo(u,u.getGlobalTypingsCacheLocation),redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:s=>t.getProjectReferenceRedirect(s),isSourceOfProjectReferenceRedirect:s=>t.isSourceOfProjectReferenceRedirect(s),getNearestAncestorDirectoryWithPackageJson:Lo(u,u.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:()=>t.getFileIncludeReasons()}}function rfe(t,u){return{...Ik(t,u),getCommonSourceDirectory:()=>t.getCommonSourceDirectory()}}function _X(t){return t===2||t>=3&&t<=99||t===100}function dSe(t,u,s,d){return t||u&&u.length?g5(t,u,s,d):void 0}function g5(t,u,s,d,f){return q.createImportDeclaration(void 0,t||u?q.createImportClause(!!f,t,u&&u.length?q.createNamedImports(u):void 0):void 0,typeof s=="string"?n9(s,d):s,void 0)}function n9(t,u){return q.createStringLiteral(t,u===0)}function afe(t,u){return Cq(t,u)?1:0}function Hm(t,u){if(u.quotePreference&&u.quotePreference!=="auto")return u.quotePreference==="single"?0:1;{const s=t.imports&&Le(t.imports,d=>us(d)&&!sl(d.parent));return s?afe(s,t):1}}function ofe(t){switch(t){case 0:return"'";case 1:return'"';default:return H.assertNever(t)}}function DX(t){const u=xX(t);return u===void 0?void 0:Yr(u)}function xX(t){return t.escapedName!=="default"?t.escapedName:G(t.declarations,u=>{const s=Za(u);return s&&s.kind===80?s.escapedText:void 0})}function vX(t){return t0(t)&&(r_(t.parent)||Sd(t.parent)||xf(t.parent,!1)&&t.parent.arguments[0]===t||dm(t.parent)&&t.parent.arguments[0]===t)}function GH(t){return js(t)&&Rp(t.parent)&&at(t.name)&&!t.propertyName}function CX(t,u){const s=t.getTypeAtLocation(u.parent);return s&&t.getPropertyOfType(s,u.name.text)}function JH(t,u,s){if(t)for(;t.parent;){if(la(t.parent)||!jIt(s,t.parent,u))return t;t=t.parent}}function jIt(t,u,s){return Nse(t,u.getStart(s))&&u.getEnd()<=Ec(t)}function ow(t,u){return Hp(t)?Le(t.modifiers,s=>s.kind===u):void 0}function MM(t,u,s,d,f){const E=(Ha(s)?s[0]:s).kind===243?L0e:tk,v=ti(u.statements,E);let b=Ha(s)?Gp.detectImportDeclarationSorting(s,f):3;const B=Gp.getOrganizeImportsComparer(f,b===2),k=Ha(s)?oc(s,(T,M)=>Gp.compareImportsOrRequireStatements(T,M,B)):[s];if(!v.length)t.insertNodesAtTopOfFile(u,k,d);else if(v&&(b=Gp.detectImportDeclarationSorting(v,f))){const T=Gp.getOrganizeImportsComparer(f,b===2);for(const M of k){const z=Gp.getImportDeclarationInsertionIndex(v,M,T);if(z===0){const j=v[0]===u.statements[0]?{leadingTriviaOption:iu.LeadingTriviaOption.Exclude}:{};t.insertNodeBefore(u,v[0],M,!1,j)}else{const j=v[z-1];t.insertNodeAfter(u,j,M)}}}else{const T=qu(v);T?t.insertNodesAfter(u,T,k):t.insertNodesAtTopOfFile(u,k,d)}}function sfe(t,u){return H.assert(t.isTypeOnly),Po(t.getChildAt(0,u),ife)}function sw(t,u){return!!t&&!!u&&t.start===u.start&&t.length===u.length}function bX(t,u){return t.fileName===u.fileName&&sw(t.textSpan,u.textSpan)}function lfe(t,u){if(t){for(let s=0;sio(s)?!0:js(s)||Rp(s)||_k(s)?!1:"quit")}function VIt(){const t=lV*10;let u,s,d,f;k();const p=T=>v(T,17);return{displayParts:()=>{const T=u.length&&u[u.length-1].text;return f>t&&T&&T!=="..."&&(U3(T.charCodeAt(T.length-1))||u.push(yf(" ",16)),u.push(yf("...",15))),u},writeKeyword:T=>v(T,5),writeOperator:T=>v(T,12),writePunctuation:T=>v(T,15),writeTrailingSemicolon:T=>v(T,15),writeSpace:T=>v(T,16),writeStringLiteral:T=>v(T,8),writeParameter:T=>v(T,13),writeProperty:T=>v(T,14),writeLiteral:T=>v(T,8),writeSymbol:b,writeLine:B,write:p,writeComment:p,getText:()=>"",getTextPos:()=>0,getColumn:()=>0,getLine:()=>0,isAtStartOfLine:()=>!1,hasTrailingWhitespace:()=>!1,hasTrailingComment:()=>!1,rawWrite:ho,getIndent:()=>d,increaseIndent:()=>{d++},decreaseIndent:()=>{d--},clear:k};function E(){if(!(f>t)&&s){const T=Nq(d);T&&(f+=T.length,u.push(yf(T,16))),s=!1}}function v(T,M){f>t||(E(),f+=T.length,u.push(yf(T,M)))}function b(T,M){f>t||(E(),f+=T.length,u.push(fSe(T,M)))}function B(){f>t||(f+=1,u.push(lw()),s=!0)}function k(){u=[],s=!0,d=0,f=0}}function fSe(t,u){return yf(t,s(u));function s(d){const f=d.flags;return f&3?dfe(d)?13:9:f&4||f&32768||f&65536?14:f&8?19:f&16?20:f&32?1:f&64?4:f&384?2:f&1536?11:f&8192?10:f&262144?18:f&524288||f&2097152?0:17}}function yf(t,u){return{text:t,kind:wH[u]}}function $l(){return yf(" ",16)}function Hf(t){return yf(Uo(t),5)}function ih(t){return yf(Uo(t),15)}function IM(t){return yf(Uo(t),12)}function mSe(t){return yf(t,13)}function pSe(t){return yf(t,14)}function hfe(t){const u=f2(t);return u===void 0?Km(t):Hf(u)}function Km(t){return yf(t,17)}function gSe(t){return yf(t,0)}function ESe(t){return yf(t,18)}function kX(t){return yf(t,24)}function _Se(t,u){return{text:t,kind:wH[23],target:{fileName:zn(u).fileName,textSpan:of(u)}}}function ffe(t){return yf(t,22)}function DSe(t,u){var s;const d=pFe(t)?"link":gFe(t)?"linkcode":"linkplain",f=[ffe(`{@${d} `)];if(!t.name)t.text&&f.push(kX(t.text));else{const p=u==null?void 0:u.getSymbolAtLocation(t.name),E=KIt(t.text),v=Hc(t.name)+t.text.slice(0,E),b=HIt(t.text.slice(E)),B=(p==null?void 0:p.valueDeclaration)||((s=p==null?void 0:p.declarations)==null?void 0:s[0]);B?(f.push(_Se(v,B)),b&&f.push(kX(b))):f.push(kX(v+(E?"":" ")+b))}return f.push(ffe("}")),f}function HIt(t){let u=0;if(t.charCodeAt(u++)===124){for(;u"&&s--,d++,!s)return d}return 0}function E5(t,u){var s;return(u==null?void 0:u.newLineCharacter)||((s=t.getNewLine)==null?void 0:s.call(t))||Oit}function lw(){return yf(` +`),wH=(t=>(t[t.aliasName=0]="aliasName",t[t.className=1]="className",t[t.enumName=2]="enumName",t[t.fieldName=3]="fieldName",t[t.interfaceName=4]="interfaceName",t[t.keyword=5]="keyword",t[t.lineBreak=6]="lineBreak",t[t.numericLiteral=7]="numericLiteral",t[t.stringLiteral=8]="stringLiteral",t[t.localName=9]="localName",t[t.methodName=10]="methodName",t[t.moduleName=11]="moduleName",t[t.operator=12]="operator",t[t.parameterName=13]="parameterName",t[t.propertyName=14]="propertyName",t[t.punctuation=15]="punctuation",t[t.space=16]="space",t[t.text=17]="text",t[t.typeParameterName=18]="typeParameterName",t[t.enumMemberName=19]="enumMemberName",t[t.functionName=20]="functionName",t[t.regularExpressionLiteral=21]="regularExpressionLiteral",t[t.link=22]="link",t[t.linkName=23]="linkName",t[t.linkText=24]="linkText",t))(wH||{}),khe=(t=>(t[t.None=0]="None",t[t.MayIncludeAutoImports=1]="MayIncludeAutoImports",t[t.IsImportStatementCompletion=2]="IsImportStatementCompletion",t[t.IsContinuation=4]="IsContinuation",t[t.ResolvedModuleSpecifiers=8]="ResolvedModuleSpecifiers",t[t.ResolvedModuleSpecifiersBeyondLimit=16]="ResolvedModuleSpecifiersBeyondLimit",t[t.MayIncludeMethodSnippets=32]="MayIncludeMethodSnippets",t))(khe||{}),Fhe=(t=>(t.Comment="comment",t.Region="region",t.Code="code",t.Imports="imports",t))(Fhe||{}),Ahe=(t=>(t[t.JavaScript=0]="JavaScript",t[t.SourceMap=1]="SourceMap",t[t.Declaration=2]="Declaration",t))(Ahe||{}),She=(t=>(t[t.None=0]="None",t[t.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",t[t.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",t[t.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",t[t.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",t[t.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",t[t.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",t))(She||{}),Bhe=(t=>(t[t.Punctuation=0]="Punctuation",t[t.Keyword=1]="Keyword",t[t.Operator=2]="Operator",t[t.Comment=3]="Comment",t[t.Whitespace=4]="Whitespace",t[t.Identifier=5]="Identifier",t[t.NumberLiteral=6]="NumberLiteral",t[t.BigIntLiteral=7]="BigIntLiteral",t[t.StringLiteral=8]="StringLiteral",t[t.RegExpLiteral=9]="RegExpLiteral",t))(Bhe||{}),whe=(t=>(t.unknown="",t.warning="warning",t.keyword="keyword",t.scriptElement="script",t.moduleElement="module",t.classElement="class",t.localClassElement="local class",t.interfaceElement="interface",t.typeElement="type",t.enumElement="enum",t.enumMemberElement="enum member",t.variableElement="var",t.localVariableElement="local var",t.variableUsingElement="using",t.variableAwaitUsingElement="await using",t.functionElement="function",t.localFunctionElement="local function",t.memberFunctionElement="method",t.memberGetAccessorElement="getter",t.memberSetAccessorElement="setter",t.memberVariableElement="property",t.memberAccessorVariableElement="accessor",t.constructorImplementationElement="constructor",t.callSignatureElement="call",t.indexSignatureElement="index",t.constructSignatureElement="construct",t.parameterElement="parameter",t.typeParameterElement="type parameter",t.primitiveType="primitive type",t.label="label",t.alias="alias",t.constElement="const",t.letElement="let",t.directory="directory",t.externalModuleName="external module name",t.jsxAttribute="JSX attribute",t.string="string",t.link="link",t.linkName="link name",t.linkText="link text",t))(whe||{}),The=(t=>(t.none="",t.publicMemberModifier="public",t.privateMemberModifier="private",t.protectedMemberModifier="protected",t.exportedModifier="export",t.ambientModifier="declare",t.staticModifier="static",t.abstractModifier="abstract",t.optionalModifier="optional",t.deprecatedModifier="deprecated",t.dtsModifier=".d.ts",t.tsModifier=".ts",t.tsxModifier=".tsx",t.jsModifier=".js",t.jsxModifier=".jsx",t.jsonModifier=".json",t.dmtsModifier=".d.mts",t.mtsModifier=".mts",t.mjsModifier=".mjs",t.dctsModifier=".d.cts",t.ctsModifier=".cts",t.cjsModifier=".cjs",t))(The||{}),Lhe=(t=>(t.comment="comment",t.identifier="identifier",t.keyword="keyword",t.numericLiteral="number",t.bigintLiteral="bigint",t.operator="operator",t.stringLiteral="string",t.whiteSpace="whitespace",t.text="text",t.punctuation="punctuation",t.className="class name",t.enumName="enum name",t.interfaceName="interface name",t.moduleName="module name",t.typeParameterName="type parameter name",t.typeAliasName="type alias name",t.parameterName="parameter name",t.docCommentTagName="doc comment tag name",t.jsxOpenTagName="jsx open tag name",t.jsxCloseTagName="jsx close tag name",t.jsxSelfClosingTagName="jsx self closing tag name",t.jsxAttribute="jsx attribute",t.jsxText="jsx text",t.jsxAttributeStringLiteralValue="jsx attribute string literal value",t))(Lhe||{}),Nhe=(t=>(t[t.comment=1]="comment",t[t.identifier=2]="identifier",t[t.keyword=3]="keyword",t[t.numericLiteral=4]="numericLiteral",t[t.operator=5]="operator",t[t.stringLiteral=6]="stringLiteral",t[t.regularExpressionLiteral=7]="regularExpressionLiteral",t[t.whiteSpace=8]="whiteSpace",t[t.text=9]="text",t[t.punctuation=10]="punctuation",t[t.className=11]="className",t[t.enumName=12]="enumName",t[t.interfaceName=13]="interfaceName",t[t.moduleName=14]="moduleName",t[t.typeParameterName=15]="typeParameterName",t[t.typeAliasName=16]="typeAliasName",t[t.parameterName=17]="parameterName",t[t.docCommentTagName=18]="docCommentTagName",t[t.jsxOpenTagName=19]="jsxOpenTagName",t[t.jsxCloseTagName=20]="jsxCloseTagName",t[t.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",t[t.jsxAttribute=22]="jsxAttribute",t[t.jsxText=23]="jsxText",t[t.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",t[t.bigintLiteral=25]="bigintLiteral",t))(Nhe||{})}});function TH(t){switch(t.kind){case 260:return Qn(t)&&Ose(t)?7:1;case 169:case 208:case 172:case 171:case 303:case 304:case 174:case 173:case 176:case 177:case 178:case 262:case 218:case 219:case 299:case 291:return 1;case 168:case 264:case 265:case 187:return 2;case 353:return t.name===void 0?3:2;case 306:case 263:return 3;case 267:return N1(t)||oD(t)===1?5:4;case 266:case 275:case 276:case 271:case 272:case 277:case 278:return 7;case 312:return 5}return 7}function Pk(t){t=Jhe(t);const u=t.parent;return t.kind===312?1:tc(u)||eh(u)||r_(u)||bf(u)||n_(u)||E1(u)&&t===u.name?7:tX(t)?FIt(t):X3(t)?TH(u):sm(t)&&Tn(t,dg(QP,o7,Rv))?7:wIt(t)?2:AIt(t)?4:Bl(u)?(H.assert(_g(u.parent)),2):Mv(u)?3:1}function FIt(t){const u=t.kind===166?t:vf(t.parent)&&t.parent.right===t?t.parent:void 0;return u&&u.parent.kind===271?7:4}function tX(t){for(;t.parent.kind===166;)t=t.parent;return U8(t.parent)&&t.parent.moduleReference===t}function AIt(t){return SIt(t)||BIt(t)}function SIt(t){let u=t,s=!0;if(u.parent.kind===166){for(;u.parent&&u.parent.kind===166;)u=u.parent;s=u.right===t}return u.parent.kind===183&&!s}function BIt(t){let u=t,s=!0;if(u.parent.kind===211){for(;u.parent&&u.parent.kind===211;)u=u.parent;s=u.name===t}if(!s&&u.parent.kind===233&&u.parent.parent.kind===298){const d=u.parent.parent.parent;return d.kind===263&&u.parent.parent.token===119||d.kind===264&&u.parent.parent.token===96}return!1}function wIt(t){switch(gP(t)&&(t=t.parent),t.kind){case 110:return!Z_(t);case 197:return!0}switch(t.parent.kind){case 183:return!0;case 205:return!t.parent.isTypeOf;case 233:return q_(t.parent)}return!1}function Phe(t,u=!1,s=!1){return LH(t,Mo,zhe,u,s)}function wM(t,u=!1,s=!1){return LH(t,j2,zhe,u,s)}function Mhe(t,u=!1,s=!1){return LH(t,$E,zhe,u,s)}function K9e(t,u=!1,s=!1){return LH(t,Dk,TIt,u,s)}function W9e(t,u=!1,s=!1){return LH(t,g1,zhe,u,s)}function G9e(t,u=!1,s=!1){return LH(t,zh,LIt,u,s)}function zhe(t){return t.expression}function TIt(t){return t.tag}function LIt(t){return t.tagName}function LH(t,u,s,d,f){let p=d?J9e(t):iX(t);return f&&(p=Dc(p)),!!p&&!!p.parent&&u(p.parent)&&s(p.parent)===p}function iX(t){return uw(t)?t.parent:t}function J9e(t){return uw(t)||jhe(t)?t.parent:t}function nX(t,u){for(;t;){if(t.kind===256&&t.label.escapedText===u)return t.label;t=t.parent}}function NH(t,u){return Iu(t.expression)?t.expression.name.text===u:!1}function PH(t){var u;return at(t)&&((u=ur(t.parent,ON))==null?void 0:u.label)===t}function Ihe(t){var u;return at(t)&&((u=ur(t.parent,V2))==null?void 0:u.label)===t}function Rhe(t){return Ihe(t)||PH(t)}function Ohe(t){var u;return((u=ur(t.parent,I8))==null?void 0:u.tagName)===t}function $9e(t){var u;return((u=ur(t.parent,vf))==null?void 0:u.right)===t}function uw(t){var u;return((u=ur(t.parent,Iu))==null?void 0:u.name)===t}function jhe(t){var u;return((u=ur(t.parent,U0))==null?void 0:u.argumentExpression)===t}function Vhe(t){var u;return((u=ur(t.parent,_c))==null?void 0:u.name)===t}function Hhe(t){var u;return at(t)&&((u=ur(t.parent,Co))==null?void 0:u.name)===t}function uX(t){switch(t.parent.kind){case 172:case 171:case 303:case 306:case 174:case 173:case 177:case 178:case 267:return Za(t.parent)===t;case 212:return t.parent.argumentExpression===t;case 167:return!0;case 201:return t.parent.parent.kind===199;default:return!1}}function U9e(t){return bv(t.parent.parent)&&XN(t.parent.parent)===t}function Mk(t){for(G4(t)&&(t=t.parent.parent);;){if(t=t.parent,!t)return;switch(t.kind){case 312:case 174:case 173:case 262:case 218:case 177:case 178:case 263:case 264:case 266:case 267:return t}}}function tb(t){switch(t.kind){case 312:return wc(t)?"module":"script";case 267:return"module";case 263:case 231:return"class";case 264:return"interface";case 265:case 345:case 353:return"type";case 266:return"enum";case 260:return u(t);case 208:return u(XE(t));case 219:case 262:case 218:return"function";case 177:return"getter";case 178:return"setter";case 174:case 173:return"method";case 303:const{initializer:s}=t;return Co(s)?"method":"property";case 172:case 171:case 304:case 305:return"property";case 181:return"index";case 180:return"construct";case 179:return"call";case 176:case 175:return"constructor";case 168:return"type parameter";case 306:return"enum member";case 169:return Yu(t,31)?"property":"parameter";case 271:case 276:case 281:case 274:case 280:return"alias";case 226:const d=Xl(t),{right:f}=t;switch(d){case 7:case 8:case 9:case 0:return"";case 1:case 2:const E=tb(f);return E===""?"const":E;case 3:return A0(f)?"method":"property";case 4:return"property";case 5:return A0(f)?"method":"property";case 6:return"local class";default:return""}case 80:return n_(t.parent)?"alias":"";case 277:const p=tb(t.expression);return p===""?"const":p;default:return""}function u(s){return K8(s)?"const":rq(s)?"let":"var"}}function rw(t){switch(t.kind){case 110:return!0;case 80:return ule(t)&&t.parent.kind===169;default:return!1}}function tp(t,u){const s=$3(u),d=u.getLineAndCharacterOfPosition(t).line;return s[d]}function Vm(t,u){return Khe(t.pos,t.end,u)}function q9e(t,u){return zH(t,u.pos)&&zH(t,u.end)}function MH(t,u){return t.pos<=u&&u<=t.end}function zH(t,u){return t.pos=s.end}function IH(t,u,s){return t.pos<=u&&t.end>=s}function TM(t,u,s){return aX(t.pos,t.end,u,s)}function rX(t,u,s,d){return aX(t.getStart(u),t.end,s,d)}function aX(t,u,s,d){const f=Math.max(t,s),p=Math.min(u,d);return fd.kind===u)}function oX(t){const u=Le(t.parent.getChildren(),s=>MB(s)&&Vm(s,t));return H.assert(!u||kt(u.getChildren(),t)),u}function bit(t){return t.kind===90}function NIt(t){return t.kind===86}function PIt(t){return t.kind===100}function MIt(t){if(mh(t))return t.name;if(Wc(t)){const u=t.modifiers&&Le(t.modifiers,bit);if(u)return u}if(Xd(t)){const u=Le(t.getChildren(),NIt);if(u)return u}}function zIt(t){if(mh(t))return t.name;if(ed(t)){const u=Le(t.modifiers,bit);if(u)return u}if(A0(t)){const u=Le(t.getChildren(),PIt);if(u)return u}}function IIt(t){let u;return Tn(t,s=>(Xr(s)&&(u=s),!vf(s.parent)&&!Xr(s.parent)&&!Zy(s.parent))),u}function sX(t,u){if(t.flags&16777216)return;const s=SX(t,u);if(s)return s;const d=IIt(t);return d&&u.getTypeAtLocation(d)}function RIt(t,u){if(!u)switch(t.kind){case 263:case 231:return MIt(t);case 262:case 218:return zIt(t);case 176:return t}if(mh(t))return t.name}function yit(t,u){if(t.importClause){if(t.importClause.name&&t.importClause.namedBindings)return;if(t.importClause.name)return t.importClause.name;if(t.importClause.namedBindings){if(uD(t.importClause.namedBindings)){const s=Aa(t.importClause.namedBindings.elements);return s?s.name:void 0}else if(Jx(t.importClause.namedBindings))return t.importClause.namedBindings.name}}if(!u)return t.moduleSpecifier}function kit(t,u){if(t.exportClause){if(ep(t.exportClause))return Aa(t.exportClause.elements)?t.exportClause.elements[0].name:void 0;if(u_(t.exportClause))return t.exportClause.name}if(!u)return t.moduleSpecifier}function OIt(t){if(t.types.length===1)return t.types[0].expression}function Fit(t,u){const{parent:s}=t;if(Qo(t)&&(u||t.kind!==90)?Hp(s)&&kt(s.modifiers,t):t.kind===86?Wc(s)||Xd(t):t.kind===100?ed(s)||A0(t):t.kind===120?xh(s):t.kind===94?Iv(s):t.kind===156?jp(s):t.kind===145||t.kind===144?_c(s):t.kind===102?E1(s):t.kind===139?zm(s):t.kind===153&&jf(s)){const d=RIt(s,u);if(d)return d}if((t.kind===115||t.kind===87||t.kind===121)&&Ad(s)&&s.declarations.length===1){const d=s.declarations[0];if(at(d.name))return d.name}if(t.kind===156){if(n_(s)&&s.isTypeOnly){const d=yit(s.parent,u);if(d)return d}if(Gc(s)&&s.isTypeOnly){const d=kit(s,u);if(d)return d}}if(t.kind===130){if(bf(s)&&s.propertyName||eh(s)&&s.propertyName||Jx(s)||u_(s))return s.name;if(Gc(s)&&s.exportClause&&u_(s.exportClause))return s.exportClause.name}if(t.kind===102&&Sd(s)){const d=yit(s,u);if(d)return d}if(t.kind===95){if(Gc(s)){const d=kit(s,u);if(d)return d}if(tc(s))return Dc(s.expression)}if(t.kind===149&&r_(s))return s.expression;if(t.kind===161&&(Sd(s)||Gc(s))&&s.moduleSpecifier)return s.moduleSpecifier;if((t.kind===96||t.kind===119)&&mm(s)&&s.token===t.kind){const d=OIt(s);if(d)return d}if(t.kind===96){if(Bl(s)&&s.constraint&&X4(s.constraint))return s.constraint.typeName;if(FB(s)&&X4(s.extendsType))return s.extendsType.typeName}if(t.kind===140&&P7(s))return s.typeParameter.name;if(t.kind===103&&Bl(s)&&JP(s.parent))return s.name;if(t.kind===143&&z7(s)&&s.operator===143&&X4(s.type))return s.type.typeName;if(t.kind===148&&z7(s)&&s.operator===148&&oY(s.type)&&X4(s.type.elementType))return s.type.elementType.typeName;if(!u){if((t.kind===105&&j2(s)||t.kind===116&&R7(s)||t.kind===114&&AB(s)||t.kind===135&&Gx(s)||t.kind===127&&cY(s)||t.kind===91&&oFe(s))&&s.expression)return Dc(s.expression);if((t.kind===103||t.kind===104)&&Xn(s)&&s.operatorToken===t)return Dc(s.right);if(t.kind===130&&AV(s)&&X4(s.type))return s.type.typeName;if(t.kind===103&&hY(s)||t.kind===165&&SV(s))return Dc(s.expression)}return t}function Jhe(t){return Fit(t,!1)}function lX(t){return Fit(t,!0)}function af(t,u){return LM(t,u,s=>Xg(s)||uf(s.kind)||ea(s))}function LM(t,u,s){return Ait(t,u,!1,s,!1)}function Ca(t,u){return Ait(t,u,!0,void 0,!1)}function Ait(t,u,s,d,f){let p=t,E;e:for(;;){const b=p.getChildren(t),B=va(b,u,(k,T)=>T,(k,T)=>{const M=b[k].getEnd();if(Mu?1:v(b[k],z,M)?b[k-1]&&v(b[k-1])?1:0:d&&z===u&&b[k-1]&&b[k-1].getEnd()===u&&v(b[k-1])?1:-1});if(E)return E;if(B>=0&&b[B]){p=b[B];continue e}return p}function v(b,B,k){if(k??(k=b.getEnd()),ku))return!1;if(us.getStart(t)&&u(p.pos<=t.pos&&p.end>t.end||p.pos===t.end)&&uSe(p,s)?d(p):void 0)}}function td(t,u,s,d){const f=p(s||u);return H.assert(!(f&&dX(f))),f;function p(E){if(Sit(E)&&E.kind!==1)return E;const v=E.getChildren(u),b=va(v,t,(k,T)=>T,(k,T)=>t=v[k-1].end?0:1:-1);if(b>=0&&v[b]){const k=v[b];if(t=t||!uSe(k,u)||dX(k)){const z=X9e(v,b,u,E.kind);return z?!d&&GU(z)&&z.getChildren(u).length?p(z):Q9e(z,u):void 0}else return p(k)}H.assert(s!==void 0||E.kind===312||E.kind===1||GU(E));const B=X9e(v,v.length,u,E.kind);return B&&Q9e(B,u)}}function Sit(t){return u7(t)&&!dX(t)}function Q9e(t,u){if(Sit(t))return t;const s=t.getChildren(u);if(s.length===0)return t;const d=X9e(s,s.length,u,t.kind);return d&&Q9e(d,u)}function X9e(t,u,s,d){for(let f=u-1;f>=0;f--){const p=t[f];if(dX(p))f===0&&(d===12||d===285)&&H.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(uSe(t[f],s))return t[f]}}function zk(t,u,s=td(u,t)){if(s&&Use(s)){const d=s.getStart(t),f=s.getEnd();if(ds.getStart(t)}function tSe(t,u){const s=Ca(t,u);return!!(w7(s)||s.kind===19&&YP(s.parent)&&r3(s.parent.parent)||s.kind===30&&zh(s.parent)&&r3(s.parent.parent))}function hX(t,u){function s(d){for(;d;)if(d.kind>=285&&d.kind<=294||d.kind===12||d.kind===30||d.kind===32||d.kind===80||d.kind===20||d.kind===19||d.kind===44)d=d.parent;else if(d.kind===284){if(u>d.getStart(t))return!0;d=d.parent}else return!1;return!1}return s(Ca(t,u))}function fX(t,u,s){const d=Uo(t.kind),f=Uo(u),p=t.getFullStart(),E=s.text.lastIndexOf(f,p);if(E===-1)return;if(s.text.lastIndexOf(d,p-1)!!p.typeParameters&&p.typeParameters.length>=u)}function qhe(t,u){if(u.text.lastIndexOf("<",t?t.pos:u.text.length)===-1)return;let s=t,d=0,f=0;for(;s;){switch(s.kind){case 30:if(s=td(s.getFullStart(),u),s&&s.kind===29&&(s=td(s.getFullStart(),u)),!s||!at(s))return;if(!d)return X3(s)?void 0:{called:s,nTypeArguments:f};d--;break;case 50:d=3;break;case 49:d=2;break;case 32:d++;break;case 20:if(s=fX(s,19,u),!s)return;break;case 22:if(s=fX(s,21,u),!s)return;break;case 24:if(s=fX(s,23,u),!s)return;break;case 28:f++;break;case 39:case 80:case 11:case 9:case 10:case 112:case 97:case 114:case 96:case 143:case 25:case 52:case 58:case 59:break;default:if(Xr(s))break;return}s=td(s.getFullStart(),u)}}function m5(t,u,s){return dd.getRangeOfEnclosingComment(t,u,void 0,s)}function nSe(t,u){const s=Ca(t,u);return!!Tn(s,Vp)}function uSe(t,u){return t.kind===1?!!t.jsDoc:t.getWidth(u)!==0}function NM(t,u=0){const s=[],d=Q1(t)?Pse(t)&~u:0;return d&2&&s.push("private"),d&4&&s.push("protected"),d&1&&s.push("public"),(d&256||zl(t))&&s.push("static"),d&64&&s.push("abstract"),d&32&&s.push("export"),d&65536&&s.push("deprecated"),t.flags&33554432&&s.push("declare"),t.kind===277&&s.push("export"),s.length>0?s.join(","):""}function rSe(t){if(t.kind===183||t.kind===213)return t.typeArguments;if(Co(t)||t.kind===263||t.kind===264)return t.typeParameters}function mX(t){return t===2||t===3}function Zhe(t){return!!(t===11||t===14||Bx(t))}function Bit(t,u,s){return!!(u.flags&4)&&t.isEmptyAnonymousObjectType(s)}function aSe(t){if(!t.isIntersection())return!1;const{types:u,checker:s}=t;return u.length===2&&(Bit(s,u[0],u[1])||Bit(s,u[1],u[0]))}function jH(t,u,s){return Bx(t.kind)&&t.getStart(s){const s=$s(u);return!t[s]&&(t[s]=!0)}}function aw(t){return t.getText(0,t.getLength())}function KH(t,u){let s="";for(let d=0;d!u.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(u)&&!!(u.externalModuleIndicator||u.commonJsModuleIndicator))}function cSe(t){return t.getSourceFiles().some(u=>!u.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(u)&&!!u.externalModuleIndicator)}function ufe(t){return!!t.module||Os(t)>=2||!!t.noEmit}function Ik(t,u){return{fileExists:s=>t.fileExists(s),getCurrentDirectory:()=>u.getCurrentDirectory(),readFile:Lo(u,u.readFile),useCaseSensitiveFileNames:Lo(u,u.useCaseSensitiveFileNames),getSymlinkCache:Lo(u,u.getSymlinkCache)||t.getSymlinkCache,getModuleSpecifierCache:Lo(u,u.getModuleSpecifierCache),getPackageJsonInfoCache:()=>{var s;return(s=t.getModuleResolutionCache())==null?void 0:s.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:Lo(u,u.getGlobalTypingsCacheLocation),redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:s=>t.getProjectReferenceRedirect(s),isSourceOfProjectReferenceRedirect:s=>t.isSourceOfProjectReferenceRedirect(s),getNearestAncestorDirectoryWithPackageJson:Lo(u,u.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:()=>t.getFileIncludeReasons()}}function rfe(t,u){return{...Ik(t,u),getCommonSourceDirectory:()=>t.getCommonSourceDirectory()}}function _X(t){return t===2||t>=3&&t<=99||t===100}function dSe(t,u,s,d){return t||u&&u.length?g5(t,u,s,d):void 0}function g5(t,u,s,d,f){return q.createImportDeclaration(void 0,t||u?q.createImportClause(!!f,t,u&&u.length?q.createNamedImports(u):void 0):void 0,typeof s=="string"?n9(s,d):s,void 0)}function n9(t,u){return q.createStringLiteral(t,u===0)}function afe(t,u){return Cq(t,u)?1:0}function Hm(t,u){if(u.quotePreference&&u.quotePreference!=="auto")return u.quotePreference==="single"?0:1;{const s=t.imports&&Le(t.imports,d=>us(d)&&!sl(d.parent));return s?afe(s,t):1}}function ofe(t){switch(t){case 0:return"'";case 1:return'"';default:return H.assertNever(t)}}function DX(t){const u=xX(t);return u===void 0?void 0:Qr(u)}function xX(t){return t.escapedName!=="default"?t.escapedName:G(t.declarations,u=>{const s=Za(u);return s&&s.kind===80?s.escapedText:void 0})}function vX(t){return t0(t)&&(r_(t.parent)||Sd(t.parent)||xf(t.parent,!1)&&t.parent.arguments[0]===t||dm(t.parent)&&t.parent.arguments[0]===t)}function GH(t){return js(t)&&Rp(t.parent)&&at(t.name)&&!t.propertyName}function CX(t,u){const s=t.getTypeAtLocation(u.parent);return s&&t.getPropertyOfType(s,u.name.text)}function JH(t,u,s){if(t)for(;t.parent;){if(la(t.parent)||!jIt(s,t.parent,u))return t;t=t.parent}}function jIt(t,u,s){return Nse(t,u.getStart(s))&&u.getEnd()<=Ec(t)}function ow(t,u){return Hp(t)?Le(t.modifiers,s=>s.kind===u):void 0}function MM(t,u,s,d,f){const E=(Ha(s)?s[0]:s).kind===243?L0e:tk,v=ti(u.statements,E);let b=Ha(s)?Gp.detectImportDeclarationSorting(s,f):3;const B=Gp.getOrganizeImportsComparer(f,b===2),k=Ha(s)?oc(s,(T,M)=>Gp.compareImportsOrRequireStatements(T,M,B)):[s];if(!v.length)t.insertNodesAtTopOfFile(u,k,d);else if(v&&(b=Gp.detectImportDeclarationSorting(v,f))){const T=Gp.getOrganizeImportsComparer(f,b===2);for(const M of k){const z=Gp.getImportDeclarationInsertionIndex(v,M,T);if(z===0){const j=v[0]===u.statements[0]?{leadingTriviaOption:iu.LeadingTriviaOption.Exclude}:{};t.insertNodeBefore(u,v[0],M,!1,j)}else{const j=v[z-1];t.insertNodeAfter(u,j,M)}}}else{const T=qu(v);T?t.insertNodesAfter(u,T,k):t.insertNodesAtTopOfFile(u,k,d)}}function sfe(t,u){return H.assert(t.isTypeOnly),Po(t.getChildAt(0,u),ife)}function sw(t,u){return!!t&&!!u&&t.start===u.start&&t.length===u.length}function bX(t,u){return t.fileName===u.fileName&&sw(t.textSpan,u.textSpan)}function lfe(t,u){if(t){for(let s=0;sio(s)?!0:js(s)||Rp(s)||_k(s)?!1:"quit")}function VIt(){const t=lV*10;let u,s,d,f;k();const p=T=>v(T,17);return{displayParts:()=>{const T=u.length&&u[u.length-1].text;return f>t&&T&&T!=="..."&&(U3(T.charCodeAt(T.length-1))||u.push(yf(" ",16)),u.push(yf("...",15))),u},writeKeyword:T=>v(T,5),writeOperator:T=>v(T,12),writePunctuation:T=>v(T,15),writeTrailingSemicolon:T=>v(T,15),writeSpace:T=>v(T,16),writeStringLiteral:T=>v(T,8),writeParameter:T=>v(T,13),writeProperty:T=>v(T,14),writeLiteral:T=>v(T,8),writeSymbol:b,writeLine:B,write:p,writeComment:p,getText:()=>"",getTextPos:()=>0,getColumn:()=>0,getLine:()=>0,isAtStartOfLine:()=>!1,hasTrailingWhitespace:()=>!1,hasTrailingComment:()=>!1,rawWrite:ho,getIndent:()=>d,increaseIndent:()=>{d++},decreaseIndent:()=>{d--},clear:k};function E(){if(!(f>t)&&s){const T=Nq(d);T&&(f+=T.length,u.push(yf(T,16))),s=!1}}function v(T,M){f>t||(E(),f+=T.length,u.push(yf(T,M)))}function b(T,M){f>t||(E(),f+=T.length,u.push(fSe(T,M)))}function B(){f>t||(f+=1,u.push(lw()),s=!0)}function k(){u=[],s=!0,d=0,f=0}}function fSe(t,u){return yf(t,s(u));function s(d){const f=d.flags;return f&3?dfe(d)?13:9:f&4||f&32768||f&65536?14:f&8?19:f&16?20:f&32?1:f&64?4:f&384?2:f&1536?11:f&8192?10:f&262144?18:f&524288||f&2097152?0:17}}function yf(t,u){return{text:t,kind:wH[u]}}function $l(){return yf(" ",16)}function Hf(t){return yf(Uo(t),5)}function ih(t){return yf(Uo(t),15)}function IM(t){return yf(Uo(t),12)}function mSe(t){return yf(t,13)}function pSe(t){return yf(t,14)}function hfe(t){const u=f2(t);return u===void 0?Km(t):Hf(u)}function Km(t){return yf(t,17)}function gSe(t){return yf(t,0)}function ESe(t){return yf(t,18)}function kX(t){return yf(t,24)}function _Se(t,u){return{text:t,kind:wH[23],target:{fileName:zn(u).fileName,textSpan:of(u)}}}function ffe(t){return yf(t,22)}function DSe(t,u){var s;const d=pFe(t)?"link":gFe(t)?"linkcode":"linkplain",f=[ffe(`{@${d} `)];if(!t.name)t.text&&f.push(kX(t.text));else{const p=u==null?void 0:u.getSymbolAtLocation(t.name),E=KIt(t.text),v=Hc(t.name)+t.text.slice(0,E),b=HIt(t.text.slice(E)),B=(p==null?void 0:p.valueDeclaration)||((s=p==null?void 0:p.declarations)==null?void 0:s[0]);B?(f.push(_Se(v,B)),b&&f.push(kX(b))):f.push(kX(v+(E?"":" ")+b))}return f.push(ffe("}")),f}function HIt(t){let u=0;if(t.charCodeAt(u++)===124){for(;u"&&s--,d++,!s)return d}return 0}function E5(t,u){var s;return(u==null?void 0:u.newLineCharacter)||((s=t.getNewLine)==null?void 0:s.call(t))||Oit}function lw(){return yf(` `,6)}function Zx(t){try{return t(Lfe),Lfe.displayParts()}finally{Lfe.clear()}}function $H(t,u,s,d=0){return Zx(f=>{t.writeType(u,s,d|1024|16384,f)})}function RM(t,u,s,d,f=0){return Zx(p=>{t.writeSymbol(u,s,d,f|8,p)})}function mfe(t,u,s,d=0){return d|=25632,Zx(f=>{t.writeSignature(u,s,d,void 0,f)})}function Tit(t,u){const s=u.getSourceFile();return Zx(d=>{EH().writeNode(4,t,s,d)})}function xSe(t){return!!t.parent&&r7(t.parent)&&t.parent.propertyName===t}function pfe(t,u){return oZ(t,u.getScriptKind&&u.getScriptKind(t))}function vSe(t,u){let s=t;for(;WIt(s)||qE(s)&&s.links.target;)qE(s)&&s.links.target?s=s.links.target:s=X1(s,u);return s}function WIt(t){return(t.flags&2097152)!==0}function CSe(t,u){return Zo(X1(t,u))}function bSe(t,u){for(;U3(t.charCodeAt(u));)u+=1;return u}function FX(t,u){for(;u>-1&&qg(t.charCodeAt(u));)u-=1;return u+1}function ll(t,u=!0){const s=t&&Lit(t);return s&&!u&&Kf(s),s}function UH(t,u,s){let d=s(t);return d?su(d,t):d=Lit(t,s),d&&!u&&Kf(d),d}function Lit(t,u){const s=u?p=>UH(p,!0,u):ll,f=rn(t,s,Dg,u?p=>p&&gfe(p,!0,u):p=>p&&nb(p),s);if(f===t){const p=us(t)?su(q.createStringLiteralFromNode(t),t):Of(t)?su(q.createNumericLiteral(t.text,t.numericLiteralFlags),t):q.cloneNode(t);return Pt(p,t)}return f.parent=void 0,f}function nb(t,u=!0){if(t){const s=q.createNodeArray(t.map(d=>ll(d,u)),t.hasTrailingComma);return Pt(s,t),s}return t}function gfe(t,u,s){return q.createNodeArray(t.map(d=>UH(d,u,s)),t.hasTrailingComma)}function Kf(t){Efe(t),ySe(t)}function Efe(t){kSe(t,1024,JIt)}function ySe(t){kSe(t,2048,Ele)}function Rk(t,u){const s=t.getSourceFile(),d=s.text;GIt(t,d)?cw(t,u,s):ZH(t,u,s),OM(t,u,s)}function GIt(t,u){const s=t.getFullStart(),d=t.getStart();for(let f=s;fu)}function Ok(t,u){let s=t;for(let d=1;!QU(u,s);d++)s=`${t}_${d}`;return s}function qH(t,u,s,d){let f=0,p=-1;for(const{fileName:E,textChanges:v}of t){H.assert(E===u);for(const b of v){const{span:B,newText:k}=b,T=$It(k,Av(s));if(T!==-1&&(p=B.start+f+T,!d))return p;f+=k.length-B.length}}return H.assert(d),H.assert(p>=0),p}function cw(t,u,s,d,f){NO(s.text,t.pos,FSe(u,s,d,f,OP))}function OM(t,u,s,d,f){PO(s.text,t.end,FSe(u,s,d,f,AZ))}function ZH(t,u,s,d,f){PO(s.text,t.pos,FSe(u,s,d,f,OP))}function FSe(t,u,s,d,f){return(p,E,v,b)=>{v===3?(p+=2,E-=2):p+=2,f(t,s||v,u.text.slice(p,E),d!==void 0?d:b)}}function $It(t,u){if(Pa(t,u))return 0;let s=t.indexOf(" "+u);return s===-1&&(s=t.indexOf("."+u)),s===-1&&(s=t.indexOf('"'+u)),s===-1?-1:s+1}function AX(t){return Xn(t)&&t.operatorToken.kind===28||ys(t)||(AV(t)||sFe(t))&&ys(t.expression)}function SX(t,u,s){const d=i5(t.parent);switch(d.kind){case 214:return u.getContextualType(d,s);case 226:{const{left:f,operatorToken:p,right:E}=d;return BX(p.kind)?u.getTypeAtLocation(t===E?f:E):u.getContextualType(t,s)}case 296:return Dfe(d,u);default:return u.getContextualType(t,s)}}function jM(t,u,s){const d=Hm(t,u),f=JSON.stringify(s);return d===0?`'${$4(f).replace(/'/g,"\\'").replace(/\\"/g,'"')}'`:f}function BX(t){switch(t){case 37:case 35:case 38:case 36:return!0;default:return!1}}function ASe(t){switch(t.kind){case 11:case 15:case 228:case 215:return!0;default:return!1}}function _fe(t){return!!t.getStringIndexType()||!!t.getNumberIndexType()}function Dfe(t,u){return u.getTypeAtLocation(t.parent.parent.expression)}function VM(t,u,s,d){const f=s.getTypeChecker();let p=!0;const E=()=>p=!1,v=f.typeToTypeNode(t,u,1,{trackSymbol:(b,B,k)=>(p=p&&f.isSymbolAccessible(b,B,k,!1).accessibility===0,!p),reportInaccessibleThisError:E,reportPrivateInBaseOfClassExpression:E,reportInaccessibleUniqueSymbolError:E,moduleResolverHost:rfe(s,d)});return p?v:void 0}function SSe(t){return t===179||t===180||t===181||t===171||t===173}function Nit(t){return t===262||t===176||t===174||t===177||t===178}function Pit(t){return t===267}function wX(t){return t===243||t===244||t===246||t===251||t===252||t===253||t===257||t===259||t===172||t===265||t===272||t===271||t===278||t===270||t===277}function UIt(t,u){const s=t.getLastToken(u);if(s&&s.kind===27)return!1;if(SSe(t.kind)){if(s&&s.kind===28)return!1}else if(Pit(t.kind)){const v=Cr(t.getChildren(u));if(v&&rE(v))return!1}else if(Nit(t.kind)){const v=Cr(t.getChildren(u));if(v&&k2(v))return!1}else if(!wX(t.kind))return!1;if(t.kind===246)return!0;const d=Tn(t,v=>!v.parent),f=ib(t,d,u);if(!f||f.kind===20)return!0;const p=u.getLineAndCharacterOfPosition(t.getEnd()).line,E=u.getLineAndCharacterOfPosition(f.getStart(u)).line;return p!==E}function TX(t,u,s){const d=Tn(u,f=>f.end!==t?"quit":Nfe(f.kind));return!!d&&UIt(d,s)}function YH(t){let u=0,s=0;const d=5;return ao(t,function f(p){if(wX(p.kind)){const E=p.getLastToken(t);(E==null?void 0:E.kind)===27?u++:s++}else if(SSe(p.kind)){const E=p.getLastToken(t);if((E==null?void 0:E.kind)===27)u++;else if(E&&E.kind!==28){const v=s0(t,E.getStart(t)).line,b=s0(t,QE(t,E.end).start).line;v!==b&&s++}}return u+s>=d?!0:ao(p,f)}),u===0&&s<=1?!0:u/s>1/d}function LX(t,u){return MX(t,t.getDirectories,u)||[]}function xfe(t,u,s,d,f){return MX(t,t.readDirectory,u,s,d,f)||_t}function QH(t,u){return MX(t,t.fileExists,u)}function NX(t,u){return PX(()=>hg(u,t))||!1}function PX(t){try{return t()}catch{return}}function MX(t,u,...s){return PX(()=>u&&u.apply(t,s))}function vfe(t,u,s){const d=[];return Ug(t,f=>{if(f===s)return!0;const p=cr(f,"package.json");QH(u,p)&&d.push(p)}),d}function BSe(t,u){let s;return Ug(t,d=>{if(d==="node_modules"||(s=N7e(d,f=>QH(u,f),"package.json"),s))return!0}),s}function wSe(t,u){if(!u.fileExists)return[];const s=[];return Ug(lr(t),d=>{const f=cr(d,"package.json");if(u.fileExists(f)){const p=Cfe(f,u);p&&s.push(p)}}),s}function Cfe(t,u){if(!u.readFile)return;const s=["dependencies","devDependencies","optionalDependencies","peerDependencies"],d=u.readFile(t)||"",f=qIt(d),p={};if(f)for(const b of s){const B=f[b];if(!B)continue;const k=new Map;for(const T in B)k.set(T,B[T]);p[b]=k}const E=[[1,p.dependencies],[2,p.devDependencies],[8,p.optionalDependencies],[4,p.peerDependencies]];return{...p,parseable:!!f,fileName:t,get:v,has(b,B){return!!v(b,B)}};function v(b,B=15){for(const[k,T]of E)if(T&&B&k){const M=T.get(b);if(M!==void 0)return M}}}function HM(t,u,s){const d=(s.getPackageJsonsVisibleToFile&&s.getPackageJsonsVisibleToFile(t.fileName)||wSe(t.fileName,s)).filter(j=>j.parseable);let f,p,E;return{allowsImportingAmbientModule:b,allowsImportingSourceFile:B,allowsImportingSpecifier:k};function v(j){const J=z(j);for(const K of d)if(K.has(J)||K.has($Y(J)))return!0;return!1}function b(j,J){if(!d.length||!j.valueDeclaration)return!0;if(!p)p=new Map;else{const ge=p.get(j);if(ge!==void 0)return ge}const K=$4(j.getName());if(T(K))return p.set(j,!0),!0;const Y=j.valueDeclaration.getSourceFile(),oe=M(Y.fileName,J);if(typeof oe>"u")return p.set(j,!0),!0;const se=v(oe)||v(K);return p.set(j,se),se}function B(j,J){if(!d.length)return!0;if(!E)E=new Map;else{const oe=E.get(j);if(oe!==void 0)return oe}const K=M(j.fileName,J);if(!K)return E.set(j,!0),!0;const Y=v(K);return E.set(j,Y),Y}function k(j){return!d.length||T(j)||om(j)||Pf(j)?!0:v(j)}function T(j){return!!(gh(t)&&o3.nodeCoreModules.has(j)&&(f===void 0&&(f=zX(t)),f))}function M(j,J){if(!j.includes("node_modules"))return;const K=Z2.getNodeModulesPackageName(s.getCompilationSettings(),t,j,J,u);if(K&&!om(K)&&!Pf(K))return z(K)}function z(j){const J=yd(hM(j)).slice(1);return Pa(J[0],"@")?`${J[0]}/${J[1]}`:J[0]}}function qIt(t){try{return JSON.parse(t)}catch{return}}function zX(t){return Oe(t.imports,({text:u})=>o3.nodeCoreModules.has(u))}function XH(t){return kt(yd(t),"node_modules")}function bfe(t){return t.file!==void 0&&t.start!==void 0&&t.length!==void 0}function TSe(t,u){const s=of(t),d=va(u,s,il,q$);if(d>=0){const f=u[d];return H.assertEqual(f.file,t.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),Po(f,bfe)}}function LSe(t,u){var s;let d=va(u,t.start,E=>E.start,nl);for(d<0&&(d=~d);((s=u[d-1])==null?void 0:s.start)===t.start;)d--;const f=[],p=Ec(t);for(;;){const E=ur(u[d],bfe);if(!E||E.start>p)break;B2e(t,E)&&f.push(E),d++}return f}function u9({startPosition:t,endPosition:u}){return Vc(t,u===void 0?t:u)}function yfe(t,u){const s=Ca(t,u.start);return Tn(s,f=>f.getStart(t)Ec(u)?"quit":Wt(f)&&sw(u,of(f,t)))}function kfe(t,u,s=il){return t?Ha(t)?s(Vt(t,u)):u(t,0):void 0}function Ffe(t){return Ha(t)?Pn(t):t}function NSe(t,u){if(Mit(t)){const s=zit(t);if(s)return s;const d=z1.moduleSymbolToValidIdentifier(PSe(t),u,!1),f=z1.moduleSymbolToValidIdentifier(PSe(t),u,!0);return d===f?d:[d,f]}return t.name}function IX(t,u,s){return Mit(t)?zit(t)||z1.moduleSymbolToValidIdentifier(PSe(t),u,!!s):t.name}function Mit(t){return!(t.flags&33554432)&&(t.escapedName==="export="||t.escapedName==="default")}function zit(t){return G(t.declarations,u=>{var s,d,f;return tc(u)?(s=ur(Dc(u.expression),at))==null?void 0:s.text:eh(u)&&u.symbol.flags===2097152?(d=ur(u.propertyName,at))==null?void 0:d.text:(f=ur(Za(u),at))==null?void 0:f.text})}function PSe(t){var u;return H.checkDefined(t.parent,`Symbol parent was undefined. Flags: ${H.formatSymbolFlags(t.flags)}. Declarations: ${(u=t.declarations)==null?void 0:u.map(s=>{const d=H.formatSyntaxKind(s.kind),f=Qn(s),{expression:p}=s;return(f?"[JS]":"")+d+(p?` (expression: ${H.formatSyntaxKind(p.kind)})`:"")}).join(", ")}.`)}function MSe(t,u,s){const d=u.length;if(d+s>t.length)return!1;for(let f=0;f_c(s)&&Yg(s))}function RX(t){return!!(Pse(t)&65536)}function OX(t,u){return G(t.imports,d=>{if(o3.nodeCoreModules.has(d.text))return Pa(d.text,"node:")})??u.usesUriStyleNodeCoreModules}function eK(t){return t===` `?1:0}function jk(t){return Ha(t)?e3(to(t[0]),t.slice(1)):to(t)}function jX({options:t},u){const s=!t.semicolons||t.semicolons==="ignore",d=t.semicolons==="remove"||s&&!YH(u);return{...t,semicolons:d?"remove":"ignore"}}function Sfe(t){return t===2||t===3}function KM(t,u){return t.isSourceFileFromExternalLibrary(u)||t.isSourceFileDefaultLibrary(u)}function VX(t,u){const s=new Set,d=new Set,f=new Set;for(const v of u)if(!TV(v)){const b=l0(v.expression);if(E2(b))switch(b.kind){case 15:case 11:s.add(b.text);break;case 9:d.add(parseInt(b.text));break;case 10:const B=pke(sc(b.text,"n")?b.text.slice(0,-1):b.text);B&&f.add(I2(B));break}else{const B=t.getSymbolAtLocation(v.expression);if(B&&B.valueDeclaration&&J2(B.valueDeclaration)){const k=t.getConstantValue(B.valueDeclaration);k!==void 0&&p(k)}}}return{addValue:p,hasValue:E};function p(v){switch(typeof v){case"string":s.add(v);break;case"number":d.add(v)}}function E(v){switch(typeof v){case"string":return s.has(v);case"number":return d.has(v);case"object":return f.has(I2(v))}}}function Bfe(t,u,s,d){var f;const p=typeof t=="string"?t:t.fileName;if(!z2(p))return!1;const E=u.getCompilerOptions(),v=m1(E),b=typeof t=="string"?bH(J0(t,s.getCurrentDirectory(),n5(s)),(f=u.getPackageJsonInfoCache)==null?void 0:f.call(u),s,E):t.impliedNodeFormat;if(b===99)return!1;if(b===1||E.verbatimModuleSyntax&&v===1)return!0;if(E.verbatimModuleSyntax&&Yq(v))return!1;if(typeof t=="object"){if(t.commonJsModuleIndicator)return!0;if(t.externalModuleIndicator)return!1}return d}var nh,wfe,Rit,HX,Tfe,Lfe,Oit,KX,Nfe,ZIt=o({"src/services/utilities.ts"(){rr(),nh=YD(99,!0),wfe=(t=>(t[t.None=0]="None",t[t.Value=1]="Value",t[t.Type=2]="Type",t[t.Namespace=4]="Namespace",t[t.All=7]="All",t))(wfe||{}),Rit=/^\/\/\/\s*(t[t.Single=0]="Single",t[t.Double=1]="Double",t))(Tfe||{}),Lfe=VIt(),Oit=` -`,KX="anonymous function",Nfe=dg(SSe,Nit,Pit,wX)}});function Pfe(t){let u=1;const s=wm(),d=new Map,f=new Map;let p;const E={isUsableByFile:z=>z===p,isEmpty:()=>!s.size,clear:()=>{s.clear(),d.clear(),p=void 0},add:(z,j,J,K,Y,oe,se,ge)=>{z!==p&&(E.clear(),p=z);let ae;if(Y){const Ae=pZ(Y.fileName);if(Ae){const{topLevelNodeModulesIndex:De,topLevelPackageNameIndex:Ke,packageRootIndex:Je}=Ae;if(ae=lH(hM(Y.fileName.substring(Ke+1,Je))),Pa(z,Y.path.substring(0,De))){const ft=f.get(ae),Ye=Y.fileName.substring(0,Ke+1);if(ft){const Ve=ft.indexOf(o_);De>Ve&&f.set(ae,Ye)}else f.set(ae,Ye)}}}const ne=oe===1&&lB(j)||j,ve=oe===0||HH(ne)?Yr(J):NSe(ne,void 0),Se=typeof ve=="string"?ve:ve[0],Ne=typeof ve=="string"?void 0:ve[1],pe=$4(K.name),fe=u++,xe=X1(j,ge),Be=j.flags&33554432?void 0:j,Ge=K.flags&33554432?void 0:K;(!Be||!Ge)&&d.set(fe,[j,K]),s.add(b(Se,j,Id(pe)?void 0:pe,ge),{id:fe,symbolTableKey:J,symbolName:Se,capitalizedSymbolName:Ne,moduleName:pe,moduleFile:Y,moduleFileName:Y==null?void 0:Y.fileName,packageName:ae,exportKind:oe,targetFlags:xe.flags,isFromPackageJson:se,symbol:Be,moduleSymbol:Ge})},get:(z,j)=>{if(z!==p)return;const J=s.get(j);return J==null?void 0:J.map(v)},search:(z,j,J,K)=>{if(z===p)return h1(s,(Y,oe)=>{const{symbolName:se,ambientModuleName:ge}=B(oe),ae=j&&Y[0].capitalizedSymbolName||se;if(J(ae,Y[0].targetFlags)){const ne=Y.map(v).filter((ve,Se)=>M(ve,Y[Se].packageName));if(ne.length){const ve=K(ne,ae,!!ge,oe);if(ve!==void 0)return ve}}})},releaseSymbols:()=>{d.clear()},onFileChanged:(z,j,J)=>k(z)&&k(j)?!1:p&&p!==j.path||J&&zX(z)!==zX(j)||!On(z.moduleAugmentations,j.moduleAugmentations)||!T(z,j)?(E.clear(),!0):(p=j.path,!1)};return H.isDebugging&&Object.defineProperty(E,"__cache",{value:s}),E;function v(z){if(z.symbol&&z.moduleSymbol)return z;const{id:j,exportKind:J,targetFlags:K,isFromPackageJson:Y,moduleFileName:oe}=z,[se,ge]=d.get(j)||_t;if(se&&ge)return{symbol:se,moduleSymbol:ge,moduleFileName:oe,exportKind:J,targetFlags:K,isFromPackageJson:Y};const ae=(Y?t.getPackageJsonAutoImportProvider():t.getCurrentProgram()).getTypeChecker(),Ce=z.moduleSymbol||ge||H.checkDefined(z.moduleFile?ae.getMergedSymbol(z.moduleFile.symbol):ae.tryFindAmbientModule(z.moduleName)),ne=z.symbol||se||H.checkDefined(J===2?ae.resolveExternalModuleSymbol(Ce):ae.tryGetMemberInModuleExportsAndProperties(Yr(z.symbolTableKey),Ce),`Could not find symbol '${z.symbolName}' by key '${z.symbolTableKey}' in module ${Ce.name}`);return d.set(j,[ne,Ce]),{symbol:ne,moduleSymbol:Ce,moduleFileName:oe,exportKind:J,targetFlags:K,isFromPackageJson:Y}}function b(z,j,J,K){const Y=J||"";return`${z.length} ${Zo(X1(j,K))} ${z} ${Y}`}function B(z){const j=z.indexOf(" "),J=z.indexOf(" ",j+1),K=parseInt(z.substring(0,j),10),Y=z.substring(J+1),oe=Y.substring(0,K),se=Y.substring(K+1);return{symbolName:oe,ambientModuleName:se===""?void 0:se}}function k(z){return!z.commonJsModuleIndicator&&!z.externalModuleIndicator&&!z.moduleAugmentations&&!z.ambientModuleNames}function T(z,j){if(!On(z.ambientModuleNames,j.ambientModuleNames))return!1;let J=-1,K=-1;for(const Y of j.ambientModuleNames){const oe=se=>m0e(se)&&se.name.text===Y;if(J=Ue(z.statements,oe,J+1),K=Ue(j.statements,oe,K+1),z.statements[J]!==j.statements[K])return!1}return!0}function M(z,j){if(!j||!z.moduleFileName)return!0;const J=t.getGlobalTypingsCacheLocation();if(J&&Pa(z.moduleFileName,J))return!0;const K=f.get(j);return!K||Pa(z.moduleFileName,K)}}function Mfe(t,u,s,d,f,p,E){var v;if(u===s)return!1;const b=E==null?void 0:E.get(u.path,s.path,d,{});if((b==null?void 0:b.isBlockedByPackageJsonDependencies)!==void 0)return!b.isBlockedByPackageJsonDependencies;const B=n5(p),k=(v=p.getGlobalTypingsCacheLocation)==null?void 0:v.call(p),T=!!Z2.forEachFileNameOfModule(u.fileName,s.fileName,p,!1,M=>{const z=t.getSourceFile(M);return(z===s||!z)&&YIt(u.fileName,M,B,k)});if(f){const M=T&&f.allowsImportingSourceFile(s,p);return E==null||E.setBlockedByPackageJsonDependencies(u.path,s.path,d,{},!M),M}return T}function YIt(t,u,s,d){const f=Ug(u,E=>Ac(E)==="node_modules"?E:void 0),p=f&&lr(s(f));return p===void 0||Pa(s(t),p)||!!d&&Pa(s(d),p)}function zfe(t,u,s,d,f){var p,E;const v=Hj(u),b=s.autoImportFileExcludePatterns&&qi(s.autoImportFileExcludePatterns,k=>{const T=Fle(k,"","exclude");return T?jx(T,v):void 0});jit(t.getTypeChecker(),t.getSourceFiles(),b,(k,T)=>f(k,T,t,!1));const B=d&&((p=u.getPackageJsonAutoImportProvider)==null?void 0:p.call(u));if(B){const k=G0(),T=t.getTypeChecker();jit(B.getTypeChecker(),B.getSourceFiles(),b,(M,z)=>{(z&&!t.getSourceFile(z.fileName)||!z&&!T.resolveName(M.name,void 0,1536,!1))&&f(M,z,B,!0)}),(E=u.log)==null||E.call(u,`forEachExternalModuleToImportFrom autoImportProvider: ${G0()-k}`)}}function jit(t,u,s,d){var f;const p=s&&(E=>s.some(v=>v.test(E)));for(const E of t.getAmbientModules())!E.name.includes("*")&&!(s&&((f=E.declarations)!=null&&f.every(v=>p(v.getSourceFile().fileName))))&&d(E,void 0);for(const E of u)cm(E)&&!(p!=null&&p(E.fileName))&&d(t.getMergedSymbol(E.symbol),E)}function tK(t,u,s,d,f){var p,E,v,b,B;const k=G0();(p=u.getPackageJsonAutoImportProvider)==null||p.call(u);const T=((E=u.getCachedExportInfoMap)==null?void 0:E.call(u))||Pfe({getCurrentProgram:()=>s,getPackageJsonAutoImportProvider:()=>{var j;return(j=u.getPackageJsonAutoImportProvider)==null?void 0:j.call(u)},getGlobalTypingsCacheLocation:()=>{var j;return(j=u.getGlobalTypingsCacheLocation)==null?void 0:j.call(u)}});if(T.isUsableByFile(t.path))return(v=u.log)==null||v.call(u,"getExportInfoMap: cache hit"),T;(b=u.log)==null||b.call(u,"getExportInfoMap: cache miss or empty; calculating new results");const M=s.getCompilerOptions();let z=0;try{zfe(s,u,d,!0,(j,J,K,Y)=>{++z%100===0&&(f==null||f.throwIfCancellationRequested());const oe=new Map,se=K.getTypeChecker(),ge=WX(j,se,M);ge&&Vit(ge.symbol,se)&&T.add(t.path,ge.symbol,ge.exportKind===1?"default":"export=",j,J,ge.exportKind,Y,se),se.forEachExportAndPropertyOfModule(j,(ae,Ce)=>{ae!==(ge==null?void 0:ge.symbol)&&Vit(ae,se)&&Ip(oe,Ce)&&T.add(t.path,ae,Ce,j,J,0,Y,se)})})}catch(j){throw T.clear(),j}return(B=u.log)==null||B.call(u,`getExportInfoMap: done in ${G0()-k} ms`),T}function WX(t,u,s){const d=QIt(t,u);if(!d)return;const{symbol:f,exportKind:p}=d,E=GX(f,u,s);return E&&{symbol:f,exportKind:p,...E}}function Vit(t,u){return!u.isUndefinedSymbol(t)&&!u.isUnknownSymbol(t)&&!Ij(t)&&!mye(t)}function QIt(t,u){const s=u.resolveExternalModuleSymbol(t);if(s!==t)return{symbol:s,exportKind:2};const d=u.tryGetMemberInModuleExports("default",t);if(d)return{symbol:d,exportKind:1}}function GX(t,u,s){const d=lB(t);if(d)return{resolvedSymbol:d,name:d.name};const f=XIt(t);if(f!==void 0)return{resolvedSymbol:t,name:f};if(t.flags&2097152){const p=u.getImmediateAliasedSymbol(t);if(p&&p.parent)return GX(p,u,s)}return t.escapedName!=="default"&&t.escapedName!=="export="?{resolvedSymbol:t,name:t.getName()}:{resolvedSymbol:t,name:IX(t,s.target)}}function XIt(t){return t.declarations&&G(t.declarations,u=>{var s;if(tc(u))return(s=ur(Dc(u.expression),at))==null?void 0:s.text;if(eh(u))return H.assert(u.name.text==="default","Expected the specifier to be a default export"),u.propertyName&&u.propertyName.text})}var Ife,Rfe,eRt=o({"src/services/exportInfoMap.ts"(){rr(),Ife=(t=>(t[t.Named=0]="Named",t[t.Default=1]="Default",t[t.Namespace=2]="Namespace",t[t.CommonJS=3]="CommonJS",t))(Ife||{}),Rfe=(t=>(t[t.Named=0]="Named",t[t.Default=1]="Default",t[t.ExportEquals=2]="ExportEquals",t[t.UMD=3]="UMD",t))(Rfe||{})}});function Hit(){const t=YD(99,!1);function u(d,f,p){return nRt(s(d,f,p),d)}function s(d,f,p){let E=0,v=0;const b=[],{prefix:B,pushTemplate:k}=aRt(f);d=B+d;const T=B.length;k&&b.push(16),t.setText(d);let M=0;const z=[];let j=0;do{E=t.scan(),nB(E)||(J(),v=E);const K=t.getTokenEnd();if(iRt(t.getTokenStart(),K,T,lRt(E),z),K>=d.length){const Y=tRt(t,E,qu(b));Y!==void 0&&(M=Y)}}while(E!==1);function J(){switch(E){case 44:case 69:!Jit[v]&&t.reScanSlashToken()===14&&(E=14);break;case 30:v===80&&j++;break;case 32:j>0&&j--;break;case 133:case 154:case 150:case 136:case 155:j>0&&!p&&(E=80);break;case 16:b.push(E);break;case 19:b.length>0&&b.push(E);break;case 20:if(b.length>0){const K=qu(b);K===16?(E=t.reScanTemplateToken(!1),E===18?b.pop():H.assertEqual(E,17,"Should have been a template middle.")):(H.assertEqual(K,19,"Should have been an open brace"),b.pop())}break;default:if(!uf(E))break;(v===25||uf(v)&&uf(E)&&!rRt(v,E))&&(E=80)}}return{endOfLineState:M,spans:z}}return{getClassificationsForLine:u,getEncodedLexicalClassifications:s}}function tRt(t,u,s){switch(u){case 11:{if(!t.isUnterminated())return;const d=t.getTokenText(),f=d.length-1;let p=0;for(;d.charCodeAt(f-p)===92;)p++;return p&1?d.charCodeAt(0)===34?3:2:void 0}case 3:return t.isUnterminated()?1:void 0;default:if(Bx(u)){if(!t.isUnterminated())return;switch(u){case 18:return 5;case 15:return 4;default:return H.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+u)}}return s===16?6:void 0}}function iRt(t,u,s,d,f){if(d===8)return;t===0&&s>0&&(t+=s);const p=u-t;p>0&&f.push(t-s,p,d)}function nRt(t,u){const s=[],d=t.spans;let f=0;for(let E=0;E=0){const k=v-f;k>0&&s.push({length:k,classification:4})}s.push({length:b,classification:uRt(B)}),f=v+b}const p=u.length-f;return p>0&&s.push({length:p,classification:4}),{entries:s,finalLexState:t.endOfLineState}}function uRt(t){switch(t){case 1:return 3;case 3:return 1;case 4:return 6;case 25:return 7;case 5:return 2;case 6:return 8;case 8:return 4;case 10:return 0;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return 5;default:return}}function rRt(t,u){if(!Yhe(t))return!0;switch(u){case 139:case 153:case 137:case 126:case 129:return!0;default:return!1}}function aRt(t){switch(t){case 3:return{prefix:`"\\ +`,KX="anonymous function",Nfe=dg(SSe,Nit,Pit,wX)}});function Pfe(t){let u=1;const s=wm(),d=new Map,f=new Map;let p;const E={isUsableByFile:z=>z===p,isEmpty:()=>!s.size,clear:()=>{s.clear(),d.clear(),p=void 0},add:(z,j,J,K,Y,oe,se,ge)=>{z!==p&&(E.clear(),p=z);let ae;if(Y){const Ae=pZ(Y.fileName);if(Ae){const{topLevelNodeModulesIndex:De,topLevelPackageNameIndex:Ke,packageRootIndex:Je}=Ae;if(ae=lH(hM(Y.fileName.substring(Ke+1,Je))),Pa(z,Y.path.substring(0,De))){const ft=f.get(ae),Ye=Y.fileName.substring(0,Ke+1);if(ft){const Ve=ft.indexOf(o_);De>Ve&&f.set(ae,Ye)}else f.set(ae,Ye)}}}const ne=oe===1&&lB(j)||j,ve=oe===0||HH(ne)?Qr(J):NSe(ne,void 0),Se=typeof ve=="string"?ve:ve[0],Ne=typeof ve=="string"?void 0:ve[1],pe=$4(K.name),fe=u++,xe=X1(j,ge),Be=j.flags&33554432?void 0:j,Ge=K.flags&33554432?void 0:K;(!Be||!Ge)&&d.set(fe,[j,K]),s.add(b(Se,j,Id(pe)?void 0:pe,ge),{id:fe,symbolTableKey:J,symbolName:Se,capitalizedSymbolName:Ne,moduleName:pe,moduleFile:Y,moduleFileName:Y==null?void 0:Y.fileName,packageName:ae,exportKind:oe,targetFlags:xe.flags,isFromPackageJson:se,symbol:Be,moduleSymbol:Ge})},get:(z,j)=>{if(z!==p)return;const J=s.get(j);return J==null?void 0:J.map(v)},search:(z,j,J,K)=>{if(z===p)return h1(s,(Y,oe)=>{const{symbolName:se,ambientModuleName:ge}=B(oe),ae=j&&Y[0].capitalizedSymbolName||se;if(J(ae,Y[0].targetFlags)){const ne=Y.map(v).filter((ve,Se)=>M(ve,Y[Se].packageName));if(ne.length){const ve=K(ne,ae,!!ge,oe);if(ve!==void 0)return ve}}})},releaseSymbols:()=>{d.clear()},onFileChanged:(z,j,J)=>k(z)&&k(j)?!1:p&&p!==j.path||J&&zX(z)!==zX(j)||!On(z.moduleAugmentations,j.moduleAugmentations)||!T(z,j)?(E.clear(),!0):(p=j.path,!1)};return H.isDebugging&&Object.defineProperty(E,"__cache",{value:s}),E;function v(z){if(z.symbol&&z.moduleSymbol)return z;const{id:j,exportKind:J,targetFlags:K,isFromPackageJson:Y,moduleFileName:oe}=z,[se,ge]=d.get(j)||_t;if(se&&ge)return{symbol:se,moduleSymbol:ge,moduleFileName:oe,exportKind:J,targetFlags:K,isFromPackageJson:Y};const ae=(Y?t.getPackageJsonAutoImportProvider():t.getCurrentProgram()).getTypeChecker(),Ce=z.moduleSymbol||ge||H.checkDefined(z.moduleFile?ae.getMergedSymbol(z.moduleFile.symbol):ae.tryFindAmbientModule(z.moduleName)),ne=z.symbol||se||H.checkDefined(J===2?ae.resolveExternalModuleSymbol(Ce):ae.tryGetMemberInModuleExportsAndProperties(Qr(z.symbolTableKey),Ce),`Could not find symbol '${z.symbolName}' by key '${z.symbolTableKey}' in module ${Ce.name}`);return d.set(j,[ne,Ce]),{symbol:ne,moduleSymbol:Ce,moduleFileName:oe,exportKind:J,targetFlags:K,isFromPackageJson:Y}}function b(z,j,J,K){const Y=J||"";return`${z.length} ${Zo(X1(j,K))} ${z} ${Y}`}function B(z){const j=z.indexOf(" "),J=z.indexOf(" ",j+1),K=parseInt(z.substring(0,j),10),Y=z.substring(J+1),oe=Y.substring(0,K),se=Y.substring(K+1);return{symbolName:oe,ambientModuleName:se===""?void 0:se}}function k(z){return!z.commonJsModuleIndicator&&!z.externalModuleIndicator&&!z.moduleAugmentations&&!z.ambientModuleNames}function T(z,j){if(!On(z.ambientModuleNames,j.ambientModuleNames))return!1;let J=-1,K=-1;for(const Y of j.ambientModuleNames){const oe=se=>m0e(se)&&se.name.text===Y;if(J=Ue(z.statements,oe,J+1),K=Ue(j.statements,oe,K+1),z.statements[J]!==j.statements[K])return!1}return!0}function M(z,j){if(!j||!z.moduleFileName)return!0;const J=t.getGlobalTypingsCacheLocation();if(J&&Pa(z.moduleFileName,J))return!0;const K=f.get(j);return!K||Pa(z.moduleFileName,K)}}function Mfe(t,u,s,d,f,p,E){var v;if(u===s)return!1;const b=E==null?void 0:E.get(u.path,s.path,d,{});if((b==null?void 0:b.isBlockedByPackageJsonDependencies)!==void 0)return!b.isBlockedByPackageJsonDependencies;const B=n5(p),k=(v=p.getGlobalTypingsCacheLocation)==null?void 0:v.call(p),T=!!Z2.forEachFileNameOfModule(u.fileName,s.fileName,p,!1,M=>{const z=t.getSourceFile(M);return(z===s||!z)&&YIt(u.fileName,M,B,k)});if(f){const M=T&&f.allowsImportingSourceFile(s,p);return E==null||E.setBlockedByPackageJsonDependencies(u.path,s.path,d,{},!M),M}return T}function YIt(t,u,s,d){const f=Ug(u,E=>Ac(E)==="node_modules"?E:void 0),p=f&&lr(s(f));return p===void 0||Pa(s(t),p)||!!d&&Pa(s(d),p)}function zfe(t,u,s,d,f){var p,E;const v=Hj(u),b=s.autoImportFileExcludePatterns&&qi(s.autoImportFileExcludePatterns,k=>{const T=Fle(k,"","exclude");return T?jx(T,v):void 0});jit(t.getTypeChecker(),t.getSourceFiles(),b,(k,T)=>f(k,T,t,!1));const B=d&&((p=u.getPackageJsonAutoImportProvider)==null?void 0:p.call(u));if(B){const k=G0(),T=t.getTypeChecker();jit(B.getTypeChecker(),B.getSourceFiles(),b,(M,z)=>{(z&&!t.getSourceFile(z.fileName)||!z&&!T.resolveName(M.name,void 0,1536,!1))&&f(M,z,B,!0)}),(E=u.log)==null||E.call(u,`forEachExternalModuleToImportFrom autoImportProvider: ${G0()-k}`)}}function jit(t,u,s,d){var f;const p=s&&(E=>s.some(v=>v.test(E)));for(const E of t.getAmbientModules())!E.name.includes("*")&&!(s&&((f=E.declarations)!=null&&f.every(v=>p(v.getSourceFile().fileName))))&&d(E,void 0);for(const E of u)cm(E)&&!(p!=null&&p(E.fileName))&&d(t.getMergedSymbol(E.symbol),E)}function tK(t,u,s,d,f){var p,E,v,b,B;const k=G0();(p=u.getPackageJsonAutoImportProvider)==null||p.call(u);const T=((E=u.getCachedExportInfoMap)==null?void 0:E.call(u))||Pfe({getCurrentProgram:()=>s,getPackageJsonAutoImportProvider:()=>{var j;return(j=u.getPackageJsonAutoImportProvider)==null?void 0:j.call(u)},getGlobalTypingsCacheLocation:()=>{var j;return(j=u.getGlobalTypingsCacheLocation)==null?void 0:j.call(u)}});if(T.isUsableByFile(t.path))return(v=u.log)==null||v.call(u,"getExportInfoMap: cache hit"),T;(b=u.log)==null||b.call(u,"getExportInfoMap: cache miss or empty; calculating new results");const M=s.getCompilerOptions();let z=0;try{zfe(s,u,d,!0,(j,J,K,Y)=>{++z%100===0&&(f==null||f.throwIfCancellationRequested());const oe=new Map,se=K.getTypeChecker(),ge=WX(j,se,M);ge&&Vit(ge.symbol,se)&&T.add(t.path,ge.symbol,ge.exportKind===1?"default":"export=",j,J,ge.exportKind,Y,se),se.forEachExportAndPropertyOfModule(j,(ae,Ce)=>{ae!==(ge==null?void 0:ge.symbol)&&Vit(ae,se)&&Ip(oe,Ce)&&T.add(t.path,ae,Ce,j,J,0,Y,se)})})}catch(j){throw T.clear(),j}return(B=u.log)==null||B.call(u,`getExportInfoMap: done in ${G0()-k} ms`),T}function WX(t,u,s){const d=QIt(t,u);if(!d)return;const{symbol:f,exportKind:p}=d,E=GX(f,u,s);return E&&{symbol:f,exportKind:p,...E}}function Vit(t,u){return!u.isUndefinedSymbol(t)&&!u.isUnknownSymbol(t)&&!Ij(t)&&!mye(t)}function QIt(t,u){const s=u.resolveExternalModuleSymbol(t);if(s!==t)return{symbol:s,exportKind:2};const d=u.tryGetMemberInModuleExports("default",t);if(d)return{symbol:d,exportKind:1}}function GX(t,u,s){const d=lB(t);if(d)return{resolvedSymbol:d,name:d.name};const f=XIt(t);if(f!==void 0)return{resolvedSymbol:t,name:f};if(t.flags&2097152){const p=u.getImmediateAliasedSymbol(t);if(p&&p.parent)return GX(p,u,s)}return t.escapedName!=="default"&&t.escapedName!=="export="?{resolvedSymbol:t,name:t.getName()}:{resolvedSymbol:t,name:IX(t,s.target)}}function XIt(t){return t.declarations&&G(t.declarations,u=>{var s;if(tc(u))return(s=ur(Dc(u.expression),at))==null?void 0:s.text;if(eh(u))return H.assert(u.name.text==="default","Expected the specifier to be a default export"),u.propertyName&&u.propertyName.text})}var Ife,Rfe,eRt=o({"src/services/exportInfoMap.ts"(){rr(),Ife=(t=>(t[t.Named=0]="Named",t[t.Default=1]="Default",t[t.Namespace=2]="Namespace",t[t.CommonJS=3]="CommonJS",t))(Ife||{}),Rfe=(t=>(t[t.Named=0]="Named",t[t.Default=1]="Default",t[t.ExportEquals=2]="ExportEquals",t[t.UMD=3]="UMD",t))(Rfe||{})}});function Hit(){const t=YD(99,!1);function u(d,f,p){return nRt(s(d,f,p),d)}function s(d,f,p){let E=0,v=0;const b=[],{prefix:B,pushTemplate:k}=aRt(f);d=B+d;const T=B.length;k&&b.push(16),t.setText(d);let M=0;const z=[];let j=0;do{E=t.scan(),nB(E)||(J(),v=E);const K=t.getTokenEnd();if(iRt(t.getTokenStart(),K,T,lRt(E),z),K>=d.length){const Y=tRt(t,E,qu(b));Y!==void 0&&(M=Y)}}while(E!==1);function J(){switch(E){case 44:case 69:!Jit[v]&&t.reScanSlashToken()===14&&(E=14);break;case 30:v===80&&j++;break;case 32:j>0&&j--;break;case 133:case 154:case 150:case 136:case 155:j>0&&!p&&(E=80);break;case 16:b.push(E);break;case 19:b.length>0&&b.push(E);break;case 20:if(b.length>0){const K=qu(b);K===16?(E=t.reScanTemplateToken(!1),E===18?b.pop():H.assertEqual(E,17,"Should have been a template middle.")):(H.assertEqual(K,19,"Should have been an open brace"),b.pop())}break;default:if(!uf(E))break;(v===25||uf(v)&&uf(E)&&!rRt(v,E))&&(E=80)}}return{endOfLineState:M,spans:z}}return{getClassificationsForLine:u,getEncodedLexicalClassifications:s}}function tRt(t,u,s){switch(u){case 11:{if(!t.isUnterminated())return;const d=t.getTokenText(),f=d.length-1;let p=0;for(;d.charCodeAt(f-p)===92;)p++;return p&1?d.charCodeAt(0)===34?3:2:void 0}case 3:return t.isUnterminated()?1:void 0;default:if(Bx(u)){if(!t.isUnterminated())return;switch(u){case 18:return 5;case 15:return 4;default:return H.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+u)}}return s===16?6:void 0}}function iRt(t,u,s,d,f){if(d===8)return;t===0&&s>0&&(t+=s);const p=u-t;p>0&&f.push(t-s,p,d)}function nRt(t,u){const s=[],d=t.spans;let f=0;for(let E=0;E=0){const k=v-f;k>0&&s.push({length:k,classification:4})}s.push({length:b,classification:uRt(B)}),f=v+b}const p=u.length-f;return p>0&&s.push({length:p,classification:4}),{entries:s,finalLexState:t.endOfLineState}}function uRt(t){switch(t){case 1:return 3;case 3:return 1;case 4:return 6;case 25:return 7;case 5:return 2;case 6:return 8;case 8:return 4;case 10:return 0;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return 5;default:return}}function rRt(t,u){if(!Yhe(t))return!0;switch(u){case 139:case 153:case 137:case 126:case 129:return!0;default:return!1}}function aRt(t){switch(t){case 3:return{prefix:`"\\ `};case 2:return{prefix:`'\\ `};case 1:return{prefix:`/* `};case 4:return{prefix:"`\n"};case 5:return{prefix:`} -`,pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return H.assertNever(t)}}function oRt(t){switch(t){case 42:case 44:case 45:case 40:case 41:case 48:case 49:case 50:case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:case 35:case 36:case 37:case 38:case 51:case 53:case 52:case 56:case 57:case 75:case 74:case 79:case 71:case 72:case 73:case 65:case 66:case 67:case 69:case 70:case 64:case 28:case 61:case 76:case 77:case 78:return!0;default:return!1}}function sRt(t){switch(t){case 40:case 41:case 55:case 54:case 46:case 47:return!0;default:return!1}}function lRt(t){if(uf(t))return 3;if(oRt(t)||sRt(t))return 5;if(t>=19&&t<=79)return 10;switch(t){case 9:return 4;case 10:return 25;case 11:return 6;case 14:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 80:default:return Bx(t)?6:2}}function ISe(t,u,s,d,f){return Git(Ofe(t,u,s,d,f))}function Kit(t,u){switch(u){case 267:case 263:case 264:case 262:case 231:case 218:case 219:t.throwIfCancellationRequested()}}function Ofe(t,u,s,d,f){const p=[];return s.forEachChild(function v(b){if(!(!b||!wU(f,b.pos,b.getFullWidth()))){if(Kit(u,b.kind),at(b)&&!Ql(b)&&d.has(b.escapedText)){const B=t.getSymbolAtLocation(b),k=B&&Wit(B,Pk(b),t);k&&E(b.getStart(s),b.getEnd(),k)}b.forEachChild(v)}}),{spans:p,endOfLineState:0};function E(v,b,B){const k=b-v;H.assert(k>0,`Classification had non-positive length of ${k}`),p.push(v),p.push(k),p.push(B)}}function Wit(t,u,s){const d=t.getFlags();if(d&2885600)return d&32?11:d&384?12:d&524288?16:d&1536?u&4||u&1&&cRt(t)?14:void 0:d&2097152?Wit(s.getAliasedSymbol(t),u,s):u&2?d&64?13:d&262144?15:void 0:void 0}function cRt(t){return Oe(t.declarations,u=>_c(u)&&oD(u)===1)}function dRt(t){switch(t){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}function Git(t){H.assert(t.spans.length%3===0);const u=t.spans,s=[];for(let d=0;d])*)(\/>)?)?/im,ve=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img,Se=u.text.substr(ae,Ce),Ne=ne.exec(Se);if(!Ne||!Ne[3]||!(Ne[3]in CO))return!1;let pe=ae;T(pe,Ne[1].length),pe+=Ne[1].length,b(pe,Ne[2].length,10),pe+=Ne[2].length,b(pe,Ne[3].length,21),pe+=Ne[3].length;const fe=Ne[4];let xe=pe;for(;;){const Ge=ve.exec(fe);if(!Ge)break;const Ae=pe+Ge.index+Ge[1].length;Ae>xe&&(T(xe,Ae-xe),xe=Ae),b(xe,Ge[2].length,22),xe+=Ge[2].length,Ge[3].length&&(T(xe,Ge[3].length),xe+=Ge[3].length),b(xe,Ge[4].length,5),xe+=Ge[4].length,Ge[5].length&&(T(xe,Ge[5].length),xe+=Ge[5].length),b(xe,Ge[6].length,24),xe+=Ge[6].length}pe+=Ne[4].length,pe>xe&&T(xe,pe-xe),Ne[5]&&(b(pe,Ne[5].length,10),pe+=Ne[5].length);const Be=ae+Ce;return pe=0),ve>0){const Se=Ce||se(ae.kind,ae);Se&&b(ne,ve,Se)}return!0}function oe(ae){switch(ae.parent&&ae.parent.kind){case 286:if(ae.parent.tagName===ae)return 19;break;case 287:if(ae.parent.tagName===ae)return 20;break;case 285:if(ae.parent.tagName===ae)return 21;break;case 291:if(ae.parent.name===ae)return 22;break}}function se(ae,Ce){if(uf(ae))return 3;if((ae===30||ae===32)&&Ce&&rSe(Ce.parent))return 10;if(W0e(ae)){if(Ce){const ne=Ce.parent;if(ae===64&&(ne.kind===260||ne.kind===172||ne.kind===169||ne.kind===291)||ne.kind===226||ne.kind===224||ne.kind===225||ne.kind===227)return 5}return 10}else{if(ae===9)return 4;if(ae===10)return 25;if(ae===11)return Ce&&Ce.parent.kind===291?24:6;if(ae===14)return 6;if(Bx(ae))return 6;if(ae===12)return 23;if(ae===80){if(Ce){switch(Ce.parent.kind){case 263:return Ce.parent.name===Ce?11:void 0;case 168:return Ce.parent.name===Ce?15:void 0;case 264:return Ce.parent.name===Ce?13:void 0;case 266:return Ce.parent.name===Ce?12:void 0;case 267:return Ce.parent.name===Ce?14:void 0;case 169:return Ce.parent.name===Ce?N2(Ce)?3:17:void 0}if(q3(Ce.parent))return 3}return 2}}}function ge(ae){if(ae&&RO(d,f,ae.pos,ae.getFullWidth())){Kit(t,ae.kind);for(const Ce of ae.getChildren(u))Y(Ce)||ge(Ce)}}}var Jit,$it=o({"src/services/classifier.ts"(){rr(),Jit=noe([80,11,9,10,14,110,46,47,22,24,20,112,97],t=>t,()=>!0)}}),JX,hRt=o({"src/services/documentHighlights.ts"(){rr(),(t=>{function u(pe,fe,xe,Be,Ge){const Ae=af(xe,Be);if(Ae.parent&&(aE(Ae.parent)&&Ae.parent.tagName===Ae||H2(Ae.parent))){const{openingElement:De,closingElement:Ke}=Ae.parent.parent,Je=[De,Ke].map(({tagName:ft})=>s(ft,xe));return[{fileName:xe.fileName,highlightSpans:Je}]}return d(Be,Ae,pe,fe,Ge)||f(Ae,xe)}t.getDocumentHighlights=u;function s(pe,fe){return{fileName:fe.fileName,textSpan:of(pe,fe),kind:"none"}}function d(pe,fe,xe,Be,Ge){const Ae=new Set(Ge.map(ft=>ft.fileName)),De=Z0.getReferenceEntriesForNode(pe,fe,xe,Ge,Be,void 0,Ae);if(!De)return;const Ke=mO(De.map(Z0.toHighlightSpan),ft=>ft.fileName,ft=>ft.span),Je=L1(xe.useCaseSensitiveFileNames());return ga(eo(Ke.entries(),([ft,Ye])=>{if(!Ae.has(ft)){if(!xe.redirectTargetsMap.has(J0(ft,xe.getCurrentDirectory(),Je)))return;const Ve=xe.getSourceFile(ft);ft=Le(Ge,Gt=>!!Gt.redirectInfo&&Gt.redirectInfo.redirectTarget===Ve).fileName,H.assert(Ae.has(ft))}return{fileName:ft,highlightSpans:Ye}}))}function f(pe,fe){const xe=p(pe,fe);return xe&&[{fileName:fe.fileName,highlightSpans:xe}]}function p(pe,fe){switch(pe.kind){case 101:case 93:return xk(pe.parent)?ve(pe.parent,fe):void 0;case 107:return Be(pe.parent,Op,ge);case 111:return Be(pe.parent,bce,se);case 113:case 85:case 98:const Ae=pe.kind===85?pe.parent.parent:pe.parent;return Be(Ae,Ck,oe);case 109:return Be(pe.parent,BV,Y);case 84:case 90:return TV(pe.parent)||BB(pe.parent)?Be(pe.parent.parent.parent,BV,Y):void 0;case 83:case 88:return Be(pe.parent,ON,K);case 99:case 117:case 92:return Be(pe.parent,De=>Tx(De,!0),J);case 137:return xe(hc,[137]);case 139:case 153:return xe(wx,[139,153]);case 135:return Be(pe.parent,Gx,ae);case 134:return Ge(ae(pe));case 127:return Ge(Ce(pe));case 103:return;default:return XD(pe.kind)&&(Q1(pe.parent)||Jl(pe.parent))?Ge(M(pe.kind,pe.parent)):void 0}function xe(Ae,De){return Be(pe.parent,Ae,Ke=>{var Je;return qi((Je=ur(Ke,Zg))==null?void 0:Je.symbol.declarations,ft=>Ae(ft)?Le(ft.getChildren(fe),Ye=>kt(De,Ye.kind)):void 0)})}function Be(Ae,De,Ke){return De(Ae)?Ge(Ke(Ae,fe)):void 0}function Ge(Ae){return Ae&&Ae.map(De=>s(De,fe))}}function E(pe){return bce(pe)?[pe]:Ck(pe)?Hi(pe.catchClause?E(pe.catchClause):pe.tryBlock&&E(pe.tryBlock),pe.finallyBlock&&E(pe.finallyBlock)):Co(pe)?void 0:B(pe,E)}function v(pe){let fe=pe;for(;fe.parent;){const xe=fe.parent;if(k2(xe)||xe.kind===312)return xe;if(Ck(xe)&&xe.tryBlock===fe&&xe.catchClause)return fe;fe=xe}}function b(pe){return ON(pe)?[pe]:Co(pe)?void 0:B(pe,b)}function B(pe,fe){const xe=[];return pe.forEachChild(Be=>{const Ge=fe(Be);Ge!==void 0&&xe.push(...YA(Ge))}),xe}function k(pe,fe){const xe=T(fe);return!!xe&&xe===pe}function T(pe){return Tn(pe,fe=>{switch(fe.kind){case 255:if(pe.kind===251)return!1;case 248:case 249:case 250:case 247:case 246:return!pe.label||Ne(fe,pe.label.escapedText);default:return Co(fe)&&"quit"}})}function M(pe,fe){return qi(z(fe,_7(pe)),xe=>ow(xe,pe))}function z(pe,fe){const xe=pe.parent;switch(xe.kind){case 268:case 312:case 241:case 296:case 297:return fe&64&&Wc(pe)?[...pe.members,pe]:xe.statements;case 176:case 174:case 262:return[...xe.parameters,...mr(xe.parent)?xe.parent.members:[]];case 263:case 231:case 264:case 187:const Be=xe.members;if(fe&15){const Ge=Le(xe.members,hc);if(Ge)return[...Be,...Ge.parameters]}else if(fe&64)return[...Be,xe];return Be;case 210:return;default:H.assertNever(xe,"Invalid container kind.")}}function j(pe,fe,...xe){return fe&&kt(xe,fe.kind)?(pe.push(fe),!0):!1}function J(pe){const fe=[];if(j(fe,pe.getFirstToken(),99,117,92)&&pe.kind===246){const xe=pe.getChildren();for(let Be=xe.length-1;Be>=0&&!j(fe,xe[Be],117);Be--);}return L(b(pe.statement),xe=>{k(pe,xe)&&j(fe,xe.getFirstToken(),83,88)}),fe}function K(pe){const fe=T(pe);if(fe)switch(fe.kind){case 248:case 249:case 250:case 246:case 247:return J(fe);case 255:return Y(fe)}}function Y(pe){const fe=[];return j(fe,pe.getFirstToken(),109),L(pe.caseBlock.clauses,xe=>{j(fe,xe.getFirstToken(),84,90),L(b(xe),Be=>{k(pe,Be)&&j(fe,Be.getFirstToken(),83)})}),fe}function oe(pe,fe){const xe=[];if(j(xe,pe.getFirstToken(),113),pe.catchClause&&j(xe,pe.catchClause.getFirstToken(),85),pe.finallyBlock){const Be=a0(pe,98,fe);j(xe,Be,98)}return xe}function se(pe,fe){const xe=v(pe);if(!xe)return;const Be=[];return L(E(xe),Ge=>{Be.push(a0(Ge,111,fe))}),k2(xe)&&y2(xe,Ge=>{Be.push(a0(Ge,107,fe))}),Be}function ge(pe,fe){const xe=Nm(pe);if(!xe)return;const Be=[];return y2(Po(xe.body,po),Ge=>{Be.push(a0(Ge,107,fe))}),L(E(xe.body),Ge=>{Be.push(a0(Ge,111,fe))}),Be}function ae(pe){const fe=Nm(pe);if(!fe)return;const xe=[];return fe.modifiers&&fe.modifiers.forEach(Be=>{j(xe,Be,134)}),ao(fe,Be=>{ne(Be,Ge=>{Gx(Ge)&&j(xe,Ge.getFirstToken(),135)})}),xe}function Ce(pe){const fe=Nm(pe);if(!fe)return;const xe=[];return ao(fe,Be=>{ne(Be,Ge=>{cY(Ge)&&j(xe,Ge.getFirstToken(),127)})}),xe}function ne(pe,fe){fe(pe),!Co(pe)&&!mr(pe)&&!xh(pe)&&!_c(pe)&&!jp(pe)&&!Qr(pe)&&ao(pe,xe=>ne(xe,fe))}function ve(pe,fe){const xe=Se(pe,fe),Be=[];for(let Ge=0;Ge=Ae.end;Je--)if(!qg(fe.text.charCodeAt(Je))){Ke=!1;break}if(Ke){Be.push({fileName:fe.fileName,textSpan:Vc(Ae.getStart(),De.end),kind:"reference"}),Ge++;continue}}Be.push(s(xe[Ge],fe))}return Be}function Se(pe,fe){const xe=[];for(;xk(pe.parent)&&pe.parent.elseStatement===pe;)pe=pe.parent;for(;;){const Be=pe.getChildren(fe);j(xe,Be[0],101);for(let Ge=Be.length-1;Ge>=0&&!j(xe,Be[Ge],93);Ge--);if(!pe.elseStatement||!xk(pe.elseStatement))break;pe=pe.elseStatement}return xe}function Ne(pe,fe){return!!Tn(pe.parent,xe=>V2(xe)?xe.label.escapedText===fe:"quit")}})(JX||(JX={}))}});function iK(t){return!!t.sourceFile}function OSe(t,u,s){return Vfe(t,u,s)}function Vfe(t,u="",s,d){const f=new Map,p=L1(!!t);function E(){const K=ga(f.keys()).filter(Y=>Y&&Y.charAt(0)==="_").map(Y=>{const oe=f.get(Y),se=[];return oe.forEach((ge,ae)=>{iK(ge)?se.push({name:ae,scriptKind:ge.sourceFile.scriptKind,refCount:ge.languageServiceRefCount}):ge.forEach((Ce,ne)=>se.push({name:ae,scriptKind:ne,refCount:Ce.languageServiceRefCount}))}),se.sort((ge,ae)=>ae.refCount-ge.refCount),{bucket:Y,sourceFiles:se}});return JSON.stringify(K,void 0,2)}function v(K){return typeof K.getCompilationSettings=="function"?K.getCompilationSettings():K}function b(K,Y,oe,se,ge,ae){const Ce=J0(K,u,p),ne=Hfe(v(Y));return B(K,Ce,Y,ne,oe,se,ge,ae)}function B(K,Y,oe,se,ge,ae,Ce,ne){return z(K,Y,oe,se,ge,ae,!0,Ce,ne)}function k(K,Y,oe,se,ge,ae){const Ce=J0(K,u,p),ne=Hfe(v(Y));return T(K,Ce,Y,ne,oe,se,ge,ae)}function T(K,Y,oe,se,ge,ae,Ce,ne){return z(K,Y,v(oe),se,ge,ae,!1,Ce,ne)}function M(K,Y){const oe=iK(K)?K:K.get(H.checkDefined(Y,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return H.assert(Y===void 0||!oe||oe.sourceFile.scriptKind===Y,`Script kind should match provided ScriptKind:${Y} and sourceFile.scriptKind: ${oe==null?void 0:oe.sourceFile.scriptKind}, !entry: ${!oe}`),oe}function z(K,Y,oe,se,ge,ae,Ce,ne,ve){var Se,Ne,pe,fe;ne=oZ(K,ne);const xe=v(oe),Be=oe===xe?void 0:oe,Ge=ne===6?100:Os(xe),Ae=typeof ve=="object"?ve:{languageVersion:Ge,impliedNodeFormat:Be&&bH(Y,(fe=(pe=(Ne=(Se=Be.getCompilerHost)==null?void 0:Se.call(Be))==null?void 0:Ne.getModuleResolutionCache)==null?void 0:pe.call(Ne))==null?void 0:fe.getPackageJsonInfoCache(),Be,xe),setExternalModuleIndicator:Qj(xe),jsDocParsingMode:s};Ae.languageVersion=Ge,H.assertEqual(s,Ae.jsDocParsingMode);const De=f.size,Ke=jSe(se,Ae.impliedNodeFormat),Je=W0(f,Ke,()=>new Map);if(Gn){f.size>De&&Gn.instant(Gn.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:xe.configFilePath,key:Ke});const We=!e1(Y)&&h1(f,(Gt,Yt)=>Yt!==Ke&&Gt.has(Y)&&Yt);We&&Gn.instant(Gn.Phase.Session,"documentRegistryBucketOverlap",{path:Y,key1:We,key2:Ke})}const ft=Je.get(Y);let Ye=ft&&M(ft,ne);if(!Ye&&d){const We=d.getDocument(Ke,Y);We&&(H.assert(Ce),Ye={sourceFile:We,languageServiceRefCount:0},Ve())}if(Ye)Ye.sourceFile.version!==ae&&(Ye.sourceFile=wme(Ye.sourceFile,ge,ae,ge.getChangeRange(Ye.sourceFile.scriptSnapshot)),d&&d.setDocument(Ke,Y,Ye.sourceFile)),Ce&&Ye.languageServiceRefCount++;else{const We=Eee(K,ge,Ae,ae,!1,ne);d&&d.setDocument(Ke,Y,We),Ye={sourceFile:We,languageServiceRefCount:1},Ve()}return H.assert(Ye.languageServiceRefCount!==0),Ye.sourceFile;function Ve(){if(!ft)Je.set(Y,Ye);else if(iK(ft)){const We=new Map;We.set(ft.sourceFile.scriptKind,ft),We.set(ne,Ye),Je.set(Y,We)}else ft.set(ne,Ye)}}function j(K,Y,oe,se){const ge=J0(K,u,p),ae=Hfe(Y);return J(ge,ae,oe,se)}function J(K,Y,oe,se){const ge=H.checkDefined(f.get(jSe(Y,se))),ae=ge.get(K),Ce=M(ae,oe);Ce.languageServiceRefCount--,H.assert(Ce.languageServiceRefCount>=0),Ce.languageServiceRefCount===0&&(iK(ae)?ge.delete(K):(ae.delete(oe),ae.size===1&&ge.set(K,ie(ae.values(),il))))}return{acquireDocument:b,acquireDocumentWithKey:B,updateDocument:k,updateDocumentWithKey:T,releaseDocument:j,releaseDocumentWithKey:J,getKeyForCompilationSettings:Hfe,getDocumentRegistryBucketKeyWithMode:jSe,reportStats:E,getBuckets:()=>f}}function Hfe(t){return vde(t,PY)}function jSe(t,u){return u?`${t}|${u}`:t}var fRt=o({"src/services/documentRegistry.ts"(){rr()}});function VSe(t,u,s,d,f,p,E){const v=Hj(d),b=L1(v),B=Kfe(u,s,b,E),k=Kfe(s,u,b,E);return iu.ChangeTracker.with({host:d,formatContext:f,preferences:p},T=>{pRt(t,T,B,u,s,d.getCurrentDirectory(),v),gRt(t,T,B,k,d,b)})}function Kfe(t,u,s,d){const f=s(t);return E=>{const v=d&&d.tryGetSourcePosition({fileName:E,pos:0}),b=p(v?v.fileName:E);return v?b===void 0?void 0:mRt(v.fileName,b,E,s):b};function p(E){if(s(E)===f)return u;const v=yle(E,f,s);return v===void 0?void 0:u+"/"+v}}function mRt(t,u,s,d){const f=SO(t,u,d);return HSe(lr(s),f)}function pRt(t,u,s,d,f,p,E){const{configFile:v}=t.getCompilerOptions();if(!v)return;const b=lr(v.fileName),B=ZN(v);if(!B)return;KSe(B,(z,j)=>{switch(j){case"files":case"include":case"exclude":{if(k(z)||j!=="include"||!Dh(z.initializer))return;const K=qi(z.initializer.elements,oe=>us(oe)?oe.text:void 0);if(K.length===0)return;const Y=aZ(b,[],K,E,p);jx(H.checkDefined(Y.includeFilePattern),E).test(d)&&!jx(H.checkDefined(Y.includeFilePattern),E).test(f)&&u.insertNodeAfter(v,Cr(z.initializer.elements),q.createStringLiteral(M(f)));return}case"compilerOptions":KSe(z.initializer,(J,K)=>{const Y=ede(K);H.assert((Y==null?void 0:Y.type)!=="listOrElement"),Y&&(Y.isFilePath||Y.type==="list"&&Y.element.isFilePath)?k(J):K==="paths"&&KSe(J.initializer,oe=>{if(Dh(oe.initializer))for(const se of oe.initializer.elements)T(se)})});return}});function k(z){const j=Dh(z.initializer)?z.initializer.elements:[z.initializer];let J=!1;for(const K of j)J=T(K)||J;return J}function T(z){if(!us(z))return!1;const j=HSe(b,z.text),J=s(j);return J!==void 0?(u.replaceRangeWithText(v,qit(z,v),M(J)),!0):!1}function M(z){return JE(b,z,!E)}}function gRt(t,u,s,d,f,p){const E=t.getSourceFiles();for(const v of E){const b=s(v.fileName),B=b??v.fileName,k=lr(B),T=d(v.fileName),M=T||v.fileName,z=lr(M),j=b!==void 0||T!==void 0;DRt(v,u,J=>{if(!om(J))return;const K=HSe(z,J),Y=s(K);return Y===void 0?void 0:h2(JE(k,Y,p))},J=>{const K=t.getTypeChecker().getSymbolAtLocation(J);if(K!=null&&K.declarations&&K.declarations.some(oe=>N1(oe)))return;const Y=T!==void 0?Uit(J,WB(J.text,M,t.getCompilerOptions(),f),s,E):_Rt(K,J,v,t,f,s);return Y!==void 0&&(Y.updated||j&&om(J.text))?Z2.updateModuleSpecifier(t.getCompilerOptions(),v,p(B),Y.newFileName,Ik(t,f),J.text):void 0})}}function ERt(t,u){return $o(cr(t,u))}function HSe(t,u){return h2(ERt(t,u))}function _Rt(t,u,s,d,f,p){if(t){const E=Le(t.declarations,la).fileName,v=p(E);return v===void 0?{newFileName:E,updated:!1}:{newFileName:v,updated:!0}}else{const E=xg(s,u),v=f.resolveModuleNameLiterals||!f.resolveModuleNames?d.getResolvedModule(s,u.text,E):f.getResolvedModuleWithFailedLookupLocationsFromCache&&f.getResolvedModuleWithFailedLookupLocationsFromCache(u.text,s.fileName,E);return Uit(u,v,p,d.getSourceFiles())}}function Uit(t,u,s,d){if(!u)return;if(u.resolvedModule){const b=v(u.resolvedModule.resolvedFileName);if(b)return b}const f=L(u.failedLookupLocations,p)||om(t.text)&&L(u.failedLookupLocations,E);if(f)return f;return u.resolvedModule&&{newFileName:u.resolvedModule.resolvedFileName,updated:!1};function p(b){const B=s(b);return B&&Le(d,k=>k.fileName===B)?E(b):void 0}function E(b){return sc(b,"/package.json")?void 0:v(b)}function v(b){const B=s(b);return B&&{newFileName:B,updated:!0}}}function DRt(t,u,s,d){for(const f of t.referencedFiles||_t){const p=s(f.fileName);p!==void 0&&p!==t.text.slice(f.pos,f.end)&&u.replaceRangeWithText(t,f,p)}for(const f of t.imports){const p=d(f);p!==void 0&&p!==f.text&&u.replaceRangeWithText(t,qit(f,t),p)}}function qit(t,u){return s4(t.getStart(u)+1,t.end-1)}function KSe(t,u){if(ys(t))for(const s of t.properties)Jc(s)&&us(s.name)&&u(s,s.name.text)}var xRt=o({"src/services/getEditsForFileRename.ts"(){rr()}});function WM(t,u){return{kind:t,isCaseSensitive:u}}function WSe(t){const u=new Map,s=t.trim().split(".").map(d=>yRt(d.trim()));if(s.length===1&&s[0].totalTextChunk.text==="")return{getMatchForLastSegmentOfPattern:()=>WM(2,!0),getFullMatch:()=>WM(2,!0),patternContainsDots:!1};if(!s.some(d=>!d.subWordTextChunks.length))return{getFullMatch:(d,f)=>vRt(d,f,s,u),getMatchForLastSegmentOfPattern:d=>GSe(d,Cr(s),u),patternContainsDots:s.length>1}}function vRt(t,u,s,d){if(!GSe(u,Cr(s),d)||s.length-1>t.length)return;let p;for(let E=s.length-2,v=t.length-1;E>=0;E-=1,v-=1)p=Qit(p,GSe(t[v],s[E],d));return p}function Zit(t,u){let s=u.get(t);return s||u.set(t,s=YSe(t)),s}function Yit(t,u,s){const d=kRt(t,u.textLowerCase);if(d===0)return WM(u.text.length===t.length?0:1,Pa(t,u.text));if(u.isLowerCase){if(d===-1)return;const f=Zit(t,s);for(const p of f)if(JSe(t,p,u.text,!0))return WM(2,JSe(t,p,u.text,!1));if(u.text.length0)return WM(2,!0);if(u.characterSpans.length>0){const f=Zit(t,s),p=Xit(t,f,u,!1)?!0:Xit(t,f,u,!0)?!1:void 0;if(p!==void 0)return WM(3,p)}}}function GSe(t,u,s){if(Wfe(u.totalTextChunk.text,p=>p!==32&&p!==42)){const p=Yit(t,u.totalTextChunk,s);if(p)return p}const d=u.subWordTextChunks;let f;for(const p of d)f=Qit(f,Yit(t,p,s));return f}function Qit(t,u){return ooe([t,u],CRt)}function CRt(t,u){return t===void 0?1:u===void 0?-1:nl(t.kind,u.kind)||d2(!t.isCaseSensitive,!u.isCaseSensitive)}function JSe(t,u,s,d,f={start:0,length:s.length}){return f.length<=u.length&&nnt(0,f.length,p=>bRt(s.charCodeAt(f.start+p),t.charCodeAt(u.start+p),d))}function bRt(t,u,s){return s?$Se(t)===$Se(u):t===u}function Xit(t,u,s,d){const f=s.characterSpans;let p=0,E=0;for(;;){if(E===f.length)return!0;if(p===u.length)return!1;let v=u[p],b=!1;for(;E=65&&t<=90)return!0;if(t<127||!kU(t,99))return!1;const u=String.fromCharCode(t);return u===u.toUpperCase()}function ent(t){if(t>=97&&t<=122)return!0;if(t<127||!kU(t,99))return!1;const u=String.fromCharCode(t);return u===u.toLowerCase()}function kRt(t,u){const s=t.length-u.length;for(let d=0;d<=s;d++)if(Wfe(u,(f,p)=>$Se(t.charCodeAt(p+d))===f))return d;return-1}function $Se(t){return t>=65&&t<=90?97+(t-65):t<127?t:String.fromCharCode(t).toLowerCase().charCodeAt(0)}function USe(t){return t>=48&&t<=57}function FRt(t){return dw(t)||ent(t)||USe(t)||t===95||t===36}function ARt(t){const u=[];let s=0,d=0;for(let f=0;f0&&(u.push(qSe(t.substr(s,d))),d=0)}return d>0&&u.push(qSe(t.substr(s,d))),u}function qSe(t){const u=t.toLowerCase();return{text:t,textLowerCase:u,isLowerCase:t===u,characterSpans:ZSe(t)}}function ZSe(t){return tnt(t,!1)}function YSe(t){return tnt(t,!0)}function tnt(t,u){const s=[];let d=0;for(let f=1;fQSe(d)&&d!==95,u,s)}function SRt(t,u,s){return u!==s&&u+1u(t.charCodeAt(f),f))}var $X,wRt=o({"src/services/patternMatcher.ts"(){rr(),$X=(t=>(t[t.exact=0]="exact",t[t.prefix=1]="prefix",t[t.substring=2]="substring",t[t.camelCase=3]="camelCase",t))($X||{})}});function unt(t,u=!0,s=!1){const d={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},f=[];let p,E,v,b=0,B=!1;function k(){return E=v,v=nh.scan(),v===19?b++:v===20&&b--,v}function T(){const ae=nh.getTokenValue(),Ce=nh.getTokenStart();return{fileName:ae,pos:Ce,end:Ce+ae.length}}function M(){p||(p=[]),p.push({ref:T(),depth:b})}function z(){f.push(T()),j()}function j(){b===0&&(B=!0)}function J(){let ae=nh.getToken();return ae===138?(ae=k(),ae===144&&(ae=k(),ae===11&&M()),!0):!1}function K(){if(E===25)return!1;let ae=nh.getToken();if(ae===102){if(ae=k(),ae===21){if(ae=k(),ae===11||ae===15)return z(),!0}else{if(ae===11)return z(),!0;if(ae===156&&nh.lookAhead(()=>{const ne=nh.scan();return ne!==161&&(ne===42||ne===19||ne===80||uf(ne))})&&(ae=k()),ae===80||uf(ae))if(ae=k(),ae===161){if(ae=k(),ae===11)return z(),!0}else if(ae===64){if(oe(!0))return!0}else if(ae===28)ae=k();else return!0;if(ae===19){for(ae=k();ae!==20&&ae!==1;)ae=k();ae===20&&(ae=k(),ae===161&&(ae=k(),ae===11&&z()))}else ae===42&&(ae=k(),ae===130&&(ae=k(),(ae===80||uf(ae))&&(ae=k(),ae===161&&(ae=k(),ae===11&&z()))))}return!0}return!1}function Y(){let ae=nh.getToken();if(ae===95){if(j(),ae=k(),ae===156&&nh.lookAhead(()=>{const ne=nh.scan();return ne===42||ne===19})&&(ae=k()),ae===19){for(ae=k();ae!==20&&ae!==1;)ae=k();ae===20&&(ae=k(),ae===161&&(ae=k(),ae===11&&z()))}else if(ae===42)ae=k(),ae===161&&(ae=k(),ae===11&&z());else if(ae===102&&(ae=k(),ae===156&&nh.lookAhead(()=>{const ne=nh.scan();return ne===80||uf(ne)})&&(ae=k()),(ae===80||uf(ae))&&(ae=k(),ae===64&&oe(!0))))return!0;return!0}return!1}function oe(ae,Ce=!1){let ne=ae?k():nh.getToken();return ne===149?(ne=k(),ne===21&&(ne=k(),(ne===11||Ce&&ne===15)&&z()),!0):!1}function se(){let ae=nh.getToken();if(ae===80&&nh.getTokenValue()==="define"){if(ae=k(),ae!==21)return!0;if(ae=k(),ae===11||ae===15)if(ae=k(),ae===28)ae=k();else return!0;if(ae!==23)return!0;for(ae=k();ae!==24&&ae!==1;)(ae===11||ae===15)&&z(),ae=k();return!0}return!1}function ge(){for(nh.setText(t),k();nh.getToken()!==1;){if(nh.getToken()===16){const ae=[nh.getToken()];e:for(;S(ae);){const Ce=nh.scan();switch(Ce){case 1:break e;case 102:K();break;case 16:ae.push(Ce);break;case 19:S(ae)&&ae.push(Ce);break;case 20:S(ae)&&(qu(ae)===16?nh.reScanTemplateToken(!1)===18&&ae.pop():ae.pop());break}}k()}J()||K()||Y()||s&&(oe(!1,!0)||se())||k()}nh.setText(void 0)}if(u&&ge(),Uce(d,t),qce(d,Is),B){if(p)for(const ae of p)f.push(ae.ref);return{referencedFiles:d.referencedFiles,typeReferenceDirectives:d.typeReferenceDirectives,libReferenceDirectives:d.libReferenceDirectives,importedFiles:f,isLibFile:!!d.hasNoDefaultLib,ambientExternalModules:void 0}}else{let ae;if(p)for(const Ce of p)Ce.depth===0?(ae||(ae=[]),ae.push(Ce.ref.fileName)):f.push(Ce.ref);return{referencedFiles:d.referencedFiles,typeReferenceDirectives:d.typeReferenceDirectives,libReferenceDirectives:d.libReferenceDirectives,importedFiles:f,isLibFile:!!d.hasNoDefaultLib,ambientExternalModules:ae}}}var TRt=o({"src/services/preProcess.ts"(){rr()}});function XSe(t){const u=L1(t.useCaseSensitiveFileNames()),s=t.getCurrentDirectory(),d=new Map,f=new Map;return{tryGetSourcePosition:v,tryGetGeneratedPosition:b,toLineColumnOffset:M,clearCache:z};function p(j){return J0(j,s,u)}function E(j,J){const K=p(j),Y=f.get(K);if(Y)return Y;let oe;if(t.getDocumentPositionMapper)oe=t.getDocumentPositionMapper(j,J);else if(t.readFile){const se=T(j);oe=se&&Gfe({getSourceFileLike:T,getCanonicalFileName:u,log:ge=>t.log(ge)},j,Kde(se.text,$3(se)),ge=>!t.fileExists||t.fileExists(ge)?t.readFile(ge):void 0)}return f.set(K,oe||rQ),oe||rQ}function v(j){if(!e1(j.fileName)||!B(j.fileName))return;const K=E(j.fileName).getSourcePosition(j);return!K||K===j?void 0:v(K)||K}function b(j){if(e1(j.fileName))return;const J=B(j.fileName);if(!J)return;const K=t.getProgram();if(K.isSourceOfProjectReferenceRedirect(J.fileName))return;const Y=K.getCompilerOptions(),oe=y0(Y),se=oe?_h(oe)+".d.ts":Mq(j.fileName,K.getCompilerOptions(),s,K.getCommonSourceDirectory(),u);if(se===void 0)return;const ge=E(se,j.fileName).getGeneratedPosition(j);return ge===j?void 0:ge}function B(j){const J=t.getProgram();if(!J)return;const K=p(j),Y=J.getSourceFileByPath(K);return Y&&Y.resolvedPath===K?Y:void 0}function k(j){const J=p(j),K=d.get(J);if(K!==void 0)return K||void 0;if(!t.readFile||t.fileExists&&!t.fileExists(J)){d.set(J,!1);return}const Y=t.readFile(J),oe=Y?LRt(Y):!1;return d.set(J,oe),oe||void 0}function T(j){return t.getSourceFileLike?t.getSourceFileLike(j):B(j)||k(j)}function M(j,J){return T(j).getLineAndCharacterOfPosition(J)}function z(){d.clear(),f.clear()}}function Gfe(t,u,s,d){let f=VAe(s);if(f){const v=ant.exec(f);if(v){if(v[1]){const b=v[1];return rnt(t,jye(c1,b),u)}f=void 0}}const p=[];f&&p.push(f),p.push(u+".map");const E=f&&$a(f,lr(u));for(const v of p){const b=$a(v,lr(u)),B=d(b,E);if(Ja(B))return rnt(t,B,b);if(B!==void 0)return B||void 0}}function rnt(t,u,s){const d=Wde(u);if(!(!d||!d.sources||!d.file||!d.mappings)&&!(d.sourcesContent&&d.sourcesContent.some(Ja)))return WAe(t,d,s)}function LRt(t,u){return{text:t,lineMap:u,getLineAndCharacterOfPosition(s){return k8($3(this),s)}}}var ant,NRt=o({"src/services/sourcemaps.ts"(){rr(),ant=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+/=]+)$)?/}});function Jfe(t,u,s){var d;u.getSemanticDiagnostics(t,s);const f=[],p=u.getTypeChecker();!(t.impliedNodeFormat===1||jc(t.fileName,[".cts",".cjs"]))&&t.commonJsModuleIndicator&&(cSe(u)||ufe(u.getCompilerOptions()))&&PRt(t)&&f.push(Su(RRt(t.commonJsModuleIndicator),F.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));const v=gh(t);if(Zfe.clear(),b(t),C7(u.getCompilerOptions()))for(const B of t.imports){const k=tP(B),T=MRt(k);if(!T)continue;const M=(d=u.getResolvedModule(t,B.text,xg(t,B)))==null?void 0:d.resolvedModule,z=M&&u.getSourceFile(M.resolvedFileName);z&&z.externalModuleIndicator&&z.externalModuleIndicator!==!0&&tc(z.externalModuleIndicator)&&z.externalModuleIndicator.isExportEquals&&f.push(Su(T,F.Import_may_be_converted_to_a_default_import))}return yn(f,t.bindSuggestionDiagnostics),yn(f,u.getSuggestionDiagnostics(t,s)),f.sort((B,k)=>B.start-k.start);function b(B){if(v)jRt(B,p)&&f.push(Su(na(B.parent)?B.parent.name:B,F.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(Jl(B)&&B.parent===t&&B.declarationList.flags&2&&B.declarationList.declarations.length===1){const T=B.declarationList.declarations[0].initializer;T&&xf(T,!0)&&f.push(Su(T,F.require_call_may_be_converted_to_an_import))}const k=z1.getJSDocTypedefNodes(B);for(const T of k)f.push(Su(T,F.JSDoc_typedef_may_be_converted_to_TypeScript_type));z1.parameterShouldGetTypeFromJSDoc(B)&&f.push(Su(B.name||B,F.JSDoc_types_may_be_moved_to_TypeScript_types))}qfe(B)&&zRt(B,p,f),B.forEachChild(b)}}function PRt(t){return t.statements.some(u=>{switch(u.kind){case 243:return u.declarationList.declarations.some(s=>!!s.initializer&&xf(ont(s.initializer),!0));case 244:{const{expression:s}=u;if(!Xn(s))return xf(s,!0);const d=Xl(s);return d===1||d===2}default:return!1}})}function ont(t){return Iu(t)?ont(t.expression):t}function MRt(t){switch(t.kind){case 272:const{importClause:u,moduleSpecifier:s}=t;return u&&!u.name&&u.namedBindings&&u.namedBindings.kind===274&&us(s)?u.namedBindings.name:void 0;case 271:return t.name;default:return}}function zRt(t,u,s){IRt(t,u)&&!Zfe.has(dnt(t))&&s.push(Su(!t.name&&na(t.parent)&&at(t.parent.name)?t.parent.name:t,F.This_may_be_converted_to_an_async_function))}function IRt(t,u){return!aP(t)&&t.body&&po(t.body)&&ORt(t.body,u)&&$fe(t,u)}function $fe(t,u){const s=u.getSignatureFromDeclaration(t),d=s?u.getReturnTypeOfSignature(s):void 0;return!!d&&!!u.getPromisedTypeOfPromise(d)}function RRt(t){return Xn(t)?t.left:t}function ORt(t,u){return!!y2(t,s=>UX(s,u))}function UX(t,u){return Op(t)&&!!t.expression&&Ufe(t.expression,u)}function Ufe(t,u){if(!snt(t)||!lnt(t)||!t.arguments.every(d=>cnt(d,u)))return!1;let s=t.expression.expression;for(;snt(s)||Iu(s);)if(Mo(s)){if(!lnt(s)||!s.arguments.every(d=>cnt(d,u)))return!1;s=s.expression.expression}else s=s.expression;return!0}function snt(t){return Mo(t)&&(NH(t,"then")||NH(t,"catch")||NH(t,"finally"))}function lnt(t){const u=t.expression.name.text,s=u==="then"?2:u==="catch"||u==="finally"?1:0;return t.arguments.length>s?!1:t.arguments.lengthd.kind===106||at(d)&&d.text==="undefined")}function cnt(t,u){switch(t.kind){case 262:case 218:if(kd(t)&1)return!1;case 219:Zfe.set(dnt(t),!0);case 106:return!0;case 80:case 211:{const d=u.getSymbolAtLocation(t);return d?u.isUndefinedSymbol(d)||Oe(X1(d,u).declarations,f=>Co(f)||Nx(f)&&!!f.initializer&&Co(f.initializer)):!1}default:return!1}}function dnt(t){return`${t.pos.toString()}:${t.end.toString()}`}function jRt(t,u){var s,d,f,p;if(A0(t)){if(na(t.parent)&&((s=t.symbol.members)!=null&&s.size))return!0;const E=u.getSymbolOfExpando(t,!1);return!!(E&&((d=E.exports)!=null&&d.size||(f=E.members)!=null&&f.size))}return ed(t)?!!((p=t.symbol.members)!=null&&p.size):!1}function qfe(t){switch(t.kind){case 262:case 174:case 218:case 219:return!0;default:return!1}}var Zfe,VRt=o({"src/services/suggestionDiagnostics.ts"(){rr(),Zfe=new Map}});function e8e(t,u){const s=[],d=u.compilerOptions?Yfe(u.compilerOptions,s):{},f=gee();for(const M in f)gu(f,M)&&d[M]===void 0&&(d[M]=f[M]);for(const M of gde)d.verbatimModuleSyntax&&fnt.has(M.name)||(d[M.name]=M.transpileOptionValue);d.suppressOutputPathCheck=!0,d.allowNonTsExtensions=!0;const p=a5(d),E={getSourceFile:M=>M===$o(v)?b:void 0,writeFile:(M,z)=>{Ml(M,".map")?(H.assertEqual(k,void 0,"Unexpected multiple source map outputs, file:",M),k=z):(H.assertEqual(B,void 0,"Unexpected multiple outputs, file:",M),B=z)},getDefaultLibFileName:()=>"lib.d.ts",useCaseSensitiveFileNames:()=>!1,getCanonicalFileName:M=>M,getCurrentDirectory:()=>"",getNewLine:()=>p,fileExists:M=>M===v,readFile:()=>"",directoryExists:()=>!0,getDirectories:()=>[]},v=u.fileName||(u.compilerOptions&&u.compilerOptions.jsx?"module.tsx":"module.ts"),b=KV(v,t,{languageVersion:Os(d),impliedNodeFormat:bH(J0(v,"",E.getCanonicalFileName),void 0,E,d),setExternalModuleIndicator:Qj(d),jsDocParsingMode:u.jsDocParsingMode??0});u.moduleName&&(b.moduleName=u.moduleName),u.renamedDependencies&&(b.renamedDependencies=new Map(Object.entries(u.renamedDependencies)));let B,k;const T=SQ([v],d,E);return u.reportDiagnostics&&(yn(s,T.getSyntacticDiagnostics(b)),yn(s,T.getOptionsDiagnostics())),T.emit(void 0,void 0,void 0,void 0,u.transformers),B===void 0?H.fail("Output generation failed"):{outputText:B,diagnostics:s,sourceMapText:k}}function hnt(t,u,s,d,f){const p=e8e(t,{compilerOptions:u,fileName:s,reportDiagnostics:!!d,moduleName:f});return yn(d,p.diagnostics),p.outputText}function Yfe(t,u){t8e=t8e||ti(a3,s=>typeof s.type=="object"&&!h1(s.type,d=>typeof d!="number")),t=Qhe(t);for(const s of t8e){if(!gu(t,s.name))continue;const d=t[s.name];Ja(d)?t[s.name]=BY(s,d,u):h1(s.type,f=>f===d)||u.push(GFe(s))}return t}var fnt,t8e,HRt=o({"src/services/transpile.ts"(){rr(),fnt=new Set(["isolatedModules","preserveValueImports","importsNotUsedAsValues"])}});function mnt(t,u,s,d,f,p,E){const v=WSe(d);if(!v)return _t;const b=[],B=t.length===1?t[0]:void 0;for(const k of t)s.throwIfCancellationRequested(),!(p&&k.isDeclarationFile)&&(pnt(k,!!E,B)||k.getNamedDeclarations().forEach((T,M)=>{KRt(v,M,T,u,k.fileName,!!E,B,b)}));return b.sort($Rt),(f===void 0?b:b.slice(0,f)).map(URt)}function pnt(t,u,s){return t!==s&&u&&(XH(t.path)||t.hasNoDefaultLib)}function KRt(t,u,s,d,f,p,E,v){const b=t.getMatchForLastSegmentOfPattern(u);if(b){for(const B of s)if(WRt(B,d,p,E))if(t.patternContainsDots){const k=t.getFullMatch(JRt(B),u);k&&v.push({name:u,fileName:f,matchKind:k.kind,isCaseSensitive:k.isCaseSensitive,declaration:B})}else v.push({name:u,fileName:f,matchKind:b.kind,isCaseSensitive:b.isCaseSensitive,declaration:B})}}function WRt(t,u,s,d){var f;switch(t.kind){case 273:case 276:case 271:const p=u.getSymbolAtLocation(t.name),E=u.getAliasedSymbol(p);return p.escapedName!==E.escapedName&&!((f=E.declarations)!=null&&f.every(v=>pnt(v.getSourceFile(),s,d)));default:return!0}}function GRt(t,u){const s=Za(t);return!!s&&(gnt(s,u)||s.kind===167&&i8e(s.expression,u))}function i8e(t,u){return gnt(t,u)||Iu(t)&&(u.push(t.name.text),!0)&&i8e(t.expression,u)}function gnt(t,u){return Xg(t)&&(u.push(J4(t)),!0)}function JRt(t){const u=[],s=Za(t);if(s&&s.kind===167&&!i8e(s.expression,u))return _t;u.shift();let d=Mk(t);for(;d;){if(!GRt(d,u))return _t;d=Mk(d)}return u.reverse()}function $Rt(t,u){return nl(t.matchKind,u.matchKind)||pO(t.name,u.name)}function URt(t){const u=t.declaration,s=Mk(u),d=s&&Za(s);return{name:t.name,kind:tb(u),kindModifiers:NM(u),matchKind:$X[t.matchKind],isCaseSensitive:t.isCaseSensitive,fileName:t.fileName,textSpan:of(u),containerName:d?d.text:"",containerKind:d?tb(s):""}}var qRt=o({"src/services/navigateTo.ts"(){rr()}}),n8e={};h(n8e,{getNavigateToItems:()=>mnt});var Ent=o({"src/services/_namespaces/ts.NavigateTo.ts"(){qRt()}});function _nt(t,u){tme=u,nK=t;try{return Vt(eOt(Cnt(t)),tOt)}finally{xnt()}}function Dnt(t,u){tme=u,nK=t;try{return Tnt(Cnt(t))}finally{xnt()}}function xnt(){nK=void 0,tme=void 0,uK=[],_5=void 0,ime=[]}function qX(t){return GM(t.getText(nK))}function Qfe(t){return t.node.kind}function vnt(t,u){t.children?t.children.push(u):t.children=[u]}function Cnt(t){H.assert(!uK.length);const u={node:t,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};_5=u;for(const s of t.statements)r9(s);return $v(),H.assert(!_5&&!uK.length),u}function ub(t,u){vnt(_5,u8e(t,u))}function u8e(t,u){return{node:t,name:u||(Q1(t)||Wt(t)?Za(t):void 0),additionalNodes:void 0,parent:_5,children:void 0,indent:_5.indent+1}}function bnt(t){hw||(hw=new Map),hw.set(t,!0)}function ynt(t){for(let u=0;u0;d--){const f=s[d];rb(t,f)}return[s.length-1,s[0]]}function rb(t,u){const s=u8e(t,u);vnt(_5,s),uK.push(_5),h8e.push(hw),hw=void 0,_5=s}function $v(){_5.children&&(Xfe(_5.children,_5),o8e(_5.children)),_5=uK.pop(),hw=h8e.pop()}function Uv(t,u,s){rb(t,s),r9(u),$v()}function Fnt(t){t.initializer&&nOt(t.initializer)?(rb(t),ao(t.initializer,r9),$v()):Uv(t,t.initializer)}function r8e(t){const u=Za(t);if(u===void 0)return!1;if(Ps(u)){const s=u.expression;return ec(s)||Of(s)||Pm(s)}return!!u}function r9(t){if(tme.throwIfCancellationRequested(),!(!t||u7(t)))switch(t.kind){case 176:const u=t;Uv(u,u.body);for(const E of u.parameters)Mf(E,u)&&ub(E);break;case 174:case 177:case 178:case 173:r8e(t)&&Uv(t,t.body);break;case 172:r8e(t)&&Fnt(t);break;case 171:r8e(t)&&ub(t);break;case 273:const s=t;s.name&&ub(s.name);const{namedBindings:d}=s;if(d)if(d.kind===274)ub(d);else for(const E of d.elements)ub(E);break;case 304:Uv(t,t.name);break;case 305:const{expression:f}=t;at(f)?ub(t,f):ub(t);break;case 208:case 303:case 260:{const E=t;So(E.name)?r9(E.name):Fnt(E);break}case 262:const p=t.name;p&&at(p)&&bnt(p.text),Uv(t,t.body);break;case 219:case 218:Uv(t,t.body);break;case 266:rb(t);for(const E of t.members)iOt(E)||ub(E);$v();break;case 263:case 231:case 264:rb(t);for(const E of t.members)r9(E);$v();break;case 267:Uv(t,Nnt(t).body);break;case 277:{const E=t.expression,v=ys(E)||Mo(E)?E:q0(E)||A0(E)?E.body:void 0;v?(rb(t),r9(v),$v()):ub(t);break}case 281:case 271:case 181:case 179:case 180:case 265:ub(t);break;case 213:case 226:{const E=Xl(t);switch(E){case 1:case 2:Uv(t,t.right);return;case 6:case 3:{const v=t,b=v.left,B=E===3?b.expression:b;let k=0,T;at(B.expression)?(bnt(B.expression.text),T=B.expression):[k,T]=knt(v,B.expression),E===6?ys(v.right)&&v.right.properties.length>0&&(rb(v,T),ao(v.right,r9),$v()):A0(v.right)||q0(v.right)?Uv(t,v.right,T):(rb(v,T),Uv(t,v.right,b.name),$v()),ynt(k);return}case 7:case 9:{const v=t,b=E===7?v.arguments[0]:v.arguments[0].expression,B=v.arguments[1],[k,T]=knt(t,b);rb(t,T),rb(t,Pt(q.createIdentifier(B.text),B)),r9(t.arguments[2]),$v(),$v(),ynt(k);return}case 5:{const v=t,b=v.left,B=b.expression;if(at(B)&&Q3(b)!=="prototype"&&hw&&hw.has(B.text)){A0(v.right)||q0(v.right)?Uv(t,v.right,B):A2(b)&&(rb(v,B),Uv(v.left,v.right,bj(b)),$v());return}break}case 4:case 0:case 8:break;default:H.assertNever(E)}}default:lm(t)&&L(t.jsDoc,E=>{L(E.tags,v=>{G4(v)&&ub(v)})}),ao(t,r9)}}function Xfe(t,u){const s=new Map;Uu(t,(d,f)=>{const p=d.name||Za(d.node),E=p&&qX(p);if(!E)return!0;const v=s.get(E);if(!v)return s.set(E,d),!0;if(v instanceof Array){for(const b of v)if(Ant(b,d,f,u))return!1;return v.push(d),!0}else{const b=v;return Ant(b,d,f,u)?!1:(s.set(E,[b,d]),!0)}})}function ZRt(t,u,s,d){function f(v){return A0(v)||ed(v)||na(v)}const p=Xn(u.node)||Mo(u.node)?Xl(u.node):0,E=Xn(t.node)||Mo(t.node)?Xl(t.node):0;if(JM[p]&&JM[E]||f(t.node)&&JM[p]||f(u.node)&&JM[E]||Wc(t.node)&&a8e(t.node)&&JM[p]||Wc(u.node)&&JM[E]||Wc(t.node)&&a8e(t.node)&&f(u.node)||Wc(u.node)&&f(t.node)&&a8e(t.node)){let v=t.additionalNodes&&qu(t.additionalNodes)||t.node;if(!Wc(t.node)&&!Wc(u.node)||f(t.node)||f(u.node)){const B=f(t.node)?t.node:f(u.node)?u.node:void 0;if(B!==void 0){const k=Pt(q.createConstructorDeclaration(void 0,[],void 0),B),T=u8e(k);T.indent=t.indent+1,T.children=t.node===B?t.children:u.children,t.children=t.node===B?Hi([T],u.children||[u]):Hi(t.children||[{...t}],[T])}else(t.children||u.children)&&(t.children=Hi(t.children||[{...t}],u.children||[u]),t.children&&(Xfe(t.children,t),o8e(t.children)));v=t.node=Pt(q.createClassDeclaration(void 0,t.name||q.createIdentifier("__class__"),void 0,void 0,[]),t.node)}else t.children=Hi(t.children,u.children),t.children&&Xfe(t.children,t);const b=u.node;return d.children[s-1].node.end===v.end?Pt(v,{pos:v.pos,end:b.end}):(t.additionalNodes||(t.additionalNodes=[]),t.additionalNodes.push(Pt(q.createClassDeclaration(void 0,t.name||q.createIdentifier("__class__"),void 0,void 0,[]),u.node))),!0}return p!==0}function Ant(t,u,s,d){return ZRt(t,u,s,d)?!0:YRt(t.node,u.node,d)?(QRt(t,u),!0):!1}function YRt(t,u,s){if(t.kind!==u.kind||t.parent!==u.parent&&!(Snt(t,s)&&Snt(u,s)))return!1;switch(t.kind){case 172:case 174:case 177:case 178:return No(t)===No(u);case 267:return Bnt(t,u)&&c8e(t)===c8e(u);default:return!0}}function a8e(t){return!!(t.flags&16)}function Snt(t,u){const s=rE(t.parent)?t.parent.parent:t.parent;return s===u.node||kt(u.additionalNodes,s)}function Bnt(t,u){return!t.body||!u.body?t.body===u.body:t.body.kind===u.body.kind&&(t.body.kind!==267||Bnt(t.body,u.body))}function QRt(t,u){t.additionalNodes=t.additionalNodes||[],t.additionalNodes.push(u.node),u.additionalNodes&&t.additionalNodes.push(...u.additionalNodes),t.children=Hi(t.children,u.children),t.children&&(Xfe(t.children,t),o8e(t.children))}function o8e(t){t.sort(XRt)}function XRt(t,u){return pO(wnt(t.node),wnt(u.node))||nl(Qfe(t),Qfe(u))}function wnt(t){if(t.kind===267)return Lnt(t);const u=Za(t);if(u&&Sc(u)){const s=sk(u);return s&&Yr(s)}switch(t.kind){case 218:case 219:case 231:return Mnt(t);default:return}}function s8e(t,u){if(t.kind===267)return GM(Lnt(t));if(u){const s=at(u)?u.text:U0(u)?`[${qX(u.argumentExpression)}]`:qX(u);if(s.length>0)return GM(s)}switch(t.kind){case 312:const s=t;return wc(s)?`"${Av(Ac(_h($o(s.fileName))))}"`:"";case 277:return tc(t)&&t.isExportEquals?"export=":"default";case 219:case 262:case 218:case 263:case 231:return Rx(t)&2048?"default":Mnt(t);case 176:return"constructor";case 180:return"new()";case 179:return"()";case 181:return"[]";default:return""}}function eOt(t){const u=[];function s(f){if(d(f)&&(u.push(f),f.children))for(const p of f.children)s(p)}return s(t),u;function d(f){if(f.children)return!0;switch(Qfe(f)){case 263:case 231:case 266:case 264:case 267:case 312:case 265:case 353:case 345:return!0;case 219:case 262:case 218:return p(f);default:return!1}function p(E){if(!E.node.body)return!1;switch(Qfe(E.parent)){case 268:case 312:case 174:case 176:return!0;default:return!1}}}}function Tnt(t){return{text:s8e(t.node,t.name),kind:tb(t.node),kindModifiers:Pnt(t.node),spans:l8e(t),nameSpan:t.name&&d8e(t.name),childItems:Vt(t.children,Tnt)}}function tOt(t){return{text:s8e(t.node,t.name),kind:tb(t.node),kindModifiers:Pnt(t.node),spans:l8e(t),childItems:Vt(t.children,u)||ime,indent:t.indent,bolded:!1,grayed:!1};function u(s){return{text:s8e(s.node,s.name),kind:tb(s.node),kindModifiers:NM(s.node),spans:l8e(s),childItems:ime,indent:0,bolded:!1,grayed:!1}}}function l8e(t){const u=[d8e(t.node)];if(t.additionalNodes)for(const s of t.additionalNodes)u.push(d8e(s));return u}function Lnt(t){return N1(t)?Hc(t.name):c8e(t)}function c8e(t){const u=[J4(t.name)];for(;t.body&&t.body.kind===267;)t=t.body,u.push(J4(t.name));return u.join(".")}function Nnt(t){return t.body&&_c(t.body)?Nnt(t.body):t}function iOt(t){return!t.name||t.name.kind===167}function d8e(t){return t.kind===312?qx(t):of(t,nK)}function Pnt(t){return t.parent&&t.parent.kind===260&&(t=t.parent),NM(t)}function Mnt(t){const{parent:u}=t;if(t.name&&ij(t.name)>0)return GM(b0(t.name));if(na(u))return GM(b0(u.name));if(Xn(u)&&u.operatorToken.kind===64)return qX(u.left).replace(Int,"");if(Jc(u))return qX(u.name);if(Rx(t)&2048)return"default";if(mr(t))return"";if(Mo(u)){let s=znt(u.expression);if(s!==void 0){if(s=GM(s),s.length>eme)return`${s} callback`;const d=GM(qi(u.arguments,f=>t0(f)?f.getText(nK):void 0).join(", "));return`${s}(${d}) callback`}}return""}function znt(t){if(at(t))return t.text;if(Iu(t)){const u=znt(t.expression),s=t.name.text;return u===void 0?s:`${u}.${s}`}else return}function nOt(t){switch(t.kind){case 219:case 218:case 231:return!0;default:return!1}}function GM(t){return t=t.length>eme?t.substring(0,eme)+"...":t,t.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}var Int,eme,tme,nK,uK,_5,h8e,hw,ime,JM,uOt=o({"src/services/navigationBar.ts"(){rr(),Int=/\s+/g,eme=150,uK=[],h8e=[],ime=[],JM={5:!0,3:!0,7:!0,9:!0,0:!1,1:!1,2:!1,8:!1,6:!0,4:!1}}}),f8e={};h(f8e,{getNavigationBarItems:()=>_nt,getNavigationTree:()=>Dnt});var Rnt=o({"src/services/_namespaces/ts.NavigationBar.ts"(){uOt()}});function s3(t,u){nme.set(t,u)}function rOt(t,u){return ga(pa(nme.values(),s=>{var d;return t.cancellationToken&&t.cancellationToken.isCancellationRequested()||!((d=s.kinds)!=null&&d.some(f=>qv(f,t.kind)))?void 0:s.getAvailableActions(t,u)}))}function aOt(t,u,s,d){const f=nme.get(u);return f&&f.getEditsForAction(t,s,d)}var nme,Ont=o({"src/services/refactorProvider.ts"(){rr(),s_(),nme=new Map}});function jnt(t,u=!0){const{file:s,program:d}=t,f=u9(t),p=Ca(s,f.start),E=p.parent&&Rx(p.parent)&32&&u?p.parent:JH(p,s,f);if(!E||!la(E.parent)&&!(rE(E.parent)&&N1(E.parent.parent)))return{error:to(F.Could_not_find_export_statement)};const v=d.getTypeChecker(),b=hOt(E.parent,v),B=Rx(E)||(tc(E)&&!E.isExportEquals?2080:0),k=!!(B&2048);if(!(B&32)||!k&&b.exports.has("default"))return{error:to(F.This_file_already_has_a_default_export)};const T=M=>at(M)&&v.getSymbolAtLocation(M)?void 0:{error:to(F.Can_only_convert_named_export)};switch(E.kind){case 262:case 263:case 264:case 266:case 265:case 267:{const M=E;return M.name?T(M.name)||{exportNode:M,exportName:M.name,wasDefault:k,exportingModuleSymbol:b}:void 0}case 243:{const M=E;if(!(M.declarationList.flags&2)||M.declarationList.declarations.length!==1)return;const z=Pn(M.declarationList.declarations);return z.initializer?(H.assert(!k,"Can't have a default flag here"),T(z.name)||{exportNode:M,exportName:z.name,wasDefault:k,exportingModuleSymbol:b}):void 0}case 277:{const M=E;return M.isExportEquals?void 0:T(M.expression)||{exportNode:M,exportName:M.expression,wasDefault:k,exportingModuleSymbol:b}}default:return}}function oOt(t,u,s,d,f){sOt(t,s,d,u.getTypeChecker()),lOt(u,s,d,f)}function sOt(t,{wasDefault:u,exportNode:s,exportName:d},f,p){if(u)if(tc(s)&&!s.isExportEquals){const E=s.expression,v=Vnt(E.text,E.text);f.replaceNode(t,s,q.createExportDeclaration(void 0,!1,q.createNamedExports([v])))}else f.delete(t,H.checkDefined(ow(s,90),"Should find a default keyword in modifier list"));else{const E=H.checkDefined(ow(s,95),"Should find an export keyword in modifier list");switch(s.kind){case 262:case 263:case 264:f.insertNodeAfter(t,E,q.createToken(90));break;case 243:const v=Pn(s.declarationList.declarations);if(!Z0.Core.isSymbolReferencedInFile(d,p,t)&&!v.type){f.replaceNode(t,s,q.createExportDefault(H.checkDefined(v.initializer,"Initializer was previously known to be present")));break}case 266:case 265:case 267:f.deleteModifier(t,E),f.insertNodeAfter(t,s,q.createExportDefault(q.createIdentifier(d.text)));break;default:H.fail(`Unexpected exportNode kind ${s.kind}`)}}}function lOt(t,{wasDefault:u,exportName:s,exportingModuleSymbol:d},f,p){const E=t.getTypeChecker(),v=H.checkDefined(E.getSymbolAtLocation(s),"Export name should resolve to a symbol");Z0.Core.eachExportReference(t.getSourceFiles(),E,p,v,d,s.text,u,b=>{if(s===b)return;const B=b.getSourceFile();u?cOt(B,b,f,s.text):dOt(B,b,f)})}function cOt(t,u,s,d){const{parent:f}=u;switch(f.kind){case 211:s.replaceNode(t,u,q.createIdentifier(d));break;case 276:case 281:{const E=f;s.replaceNode(t,E,m8e(d,E.name.text));break}case 273:{const E=f;H.assert(E.name===u,"Import clause name should match provided ref");const v=m8e(d,u.text),{namedBindings:b}=E;if(!b)s.replaceNode(t,u,q.createNamedImports([v]));else if(b.kind===274){s.deleteRange(t,{pos:u.getStart(t),end:b.getStart(t)});const B=us(E.parent.moduleSpecifier)?afe(E.parent.moduleSpecifier,t):1,k=g5(void 0,[m8e(d,u.text)],E.parent.moduleSpecifier,B);s.insertNodeAfter(t,E.parent,k)}else s.delete(t,u),s.insertNodeAtEndOfList(t,b.elements,v);break}case 205:const p=f;s.replaceNode(t,f,q.createImportTypeNode(p.argument,p.attributes,q.createIdentifier(d),p.typeArguments,p.isTypeOf));break;default:H.failBadSyntaxKind(f)}}function dOt(t,u,s){const d=u.parent;switch(d.kind){case 211:s.replaceNode(t,u,q.createIdentifier("default"));break;case 276:{const f=q.createIdentifier(d.name.text);d.parent.elements.length===1?s.replaceNode(t,d.parent,f):(s.delete(t,d),s.insertNodeBefore(t,d.parent,f));break}case 281:{s.replaceNode(t,d,Vnt("default",d.name.text));break}default:H.assertNever(d,`Unexpected parent kind ${d.kind}`)}}function m8e(t,u){return q.createImportSpecifier(!1,t===u?void 0:q.createIdentifier(t),q.createIdentifier(u))}function Vnt(t,u){return q.createExportSpecifier(!1,t===u?void 0:q.createIdentifier(t),q.createIdentifier(u))}function hOt(t,u){if(la(t))return t.symbol;const s=t.parent.symbol;return s.valueDeclaration&&v2(s.valueDeclaration)?u.getMergedSymbol(s):s}var ume,ZX,YX,fOt=o({"src/services/refactors/convertExport.ts"(){rr(),s_(),ume="Convert export",ZX={name:"Convert default export to named export",description:to(F.Convert_default_export_to_named_export),kind:"refactor.rewrite.export.named"},YX={name:"Convert named export to default export",description:to(F.Convert_named_export_to_default_export),kind:"refactor.rewrite.export.default"},s3(ume,{kinds:[ZX.kind,YX.kind],getAvailableActions:function(u){const s=jnt(u,u.triggerReason==="invoked");if(!s)return _t;if(!sD(s)){const d=s.wasDefault?ZX:YX;return[{name:ume,description:d.description,actions:[d]}]}return u.preferences.provideRefactorNotApplicableReason?[{name:ume,description:to(F.Convert_default_export_to_named_export),actions:[{...ZX,notApplicableReason:s.error},{...YX,notApplicableReason:s.error}]}]:_t},getEditsForAction:function(u,s){H.assert(s===ZX.name||s===YX.name,"Unexpected action name");const d=jnt(u);return H.assert(d&&!sD(d),"Expected applicable refactor info"),{edits:iu.ChangeTracker.with(u,p=>oOt(u.file,u.program,d,p,u.cancellationToken)),renameFilename:void 0,renameLocation:void 0}}})}});function Hnt(t,u=!0){const{file:s}=t,d=u9(t),f=Ca(s,d.start),p=u?Tn(f,Sd):JH(f,s,d);if(!p||!Sd(p))return{error:"Selection is not an import declaration."};const E=d.start+d.length,v=ib(p,p.parent,s);if(v&&E>v.getStart())return;const{importClause:b}=p;return b?b.namedBindings?b.namedBindings.kind===274?{convertTo:0,import:b.namedBindings}:Knt(t.program,b)?{convertTo:1,import:b.namedBindings}:{convertTo:2,import:b.namedBindings}:{error:to(F.Could_not_find_namespace_import_or_named_imports)}:{error:to(F.Could_not_find_import_clause)}}function Knt(t,u){return C7(t.getCompilerOptions())&&EOt(u.parent.moduleSpecifier,t.getTypeChecker())}function mOt(t,u,s,d){const f=u.getTypeChecker();d.convertTo===0?pOt(t,f,s,d.import,C7(u.getCompilerOptions())):Gnt(t,u,s,d.import,d.convertTo===1)}function pOt(t,u,s,d,f){let p=!1;const E=[],v=new Map;Z0.Core.eachSymbolReferenceInFile(d.name,u,t,T=>{if(!obe(T.parent))p=!0;else{const M=Wnt(T.parent).text;u.resolveName(M,T,67108863,!0)&&v.set(M,!0),H.assert(gOt(T.parent)===T,"Parent expression should match id"),E.push(T.parent)}});const b=new Map;for(const T of E){const M=Wnt(T).text;let z=b.get(M);z===void 0&&b.set(M,z=v.has(M)?Ok(M,t):M),s.replaceNode(t,T,q.createIdentifier(z))}const B=[];b.forEach((T,M)=>{B.push(q.createImportSpecifier(!1,T===M?void 0:q.createIdentifier(M),q.createIdentifier(T)))});const k=d.parent.parent;p&&!f?s.insertNodeAfter(t,k,p8e(k,void 0,B)):s.replaceNode(t,k,p8e(k,p?q.createIdentifier(d.name.text):void 0,B))}function Wnt(t){return Iu(t)?t.name:t.right}function gOt(t){return Iu(t)?t.expression:t.left}function Gnt(t,u,s,d,f=Knt(u,d.parent)){const p=u.getTypeChecker(),E=d.parent.parent,{moduleSpecifier:v}=E,b=new Set;d.elements.forEach(j=>{const J=p.getSymbolAtLocation(j.name);J&&b.add(J)});const B=v&&us(v)?z1.moduleSpecifierToValidIdentifier(v.text,99):"module";function k(j){return!!Z0.Core.eachSymbolReferenceInFile(j.name,p,t,J=>{const K=p.resolveName(B,J,67108863,!0);return K?b.has(K)?eh(J.parent):!0:!1})}const M=d.elements.some(k)?Ok(B,t):B,z=new Set;for(const j of d.elements){const J=(j.propertyName||j.name).text;Z0.Core.eachSymbolReferenceInFile(j.name,p,t,K=>{const Y=q.createPropertyAccessExpression(q.createIdentifier(M),J);pm(K.parent)?s.replaceNode(t,K.parent,q.createPropertyAssignment(K.text,Y)):eh(K.parent)?z.add(j):s.replaceNode(t,K,Y)})}if(s.replaceNode(t,d,f?q.createIdentifier(M):q.createNamespaceImport(q.createIdentifier(M))),z.size){const j=ga(z.values(),J=>q.createImportSpecifier(J.isTypeOnly,J.propertyName&&q.createIdentifier(J.propertyName.text),q.createIdentifier(J.name.text)));s.insertNodeAfter(t,d.parent.parent,p8e(E,void 0,j))}}function EOt(t,u){const s=u.resolveExternalModuleName(t);if(!s)return!1;const d=u.resolveExternalModuleSymbol(s);return s!==d}function p8e(t,u,s){return q.createImportDeclaration(void 0,q.createImportClause(!1,u,s&&s.length?q.createNamedImports(s):void 0),t.moduleSpecifier,void 0)}var rme,QX,_Ot=o({"src/services/refactors/convertImport.ts"(){rr(),s_(),rme="Convert import",QX={0:{name:"Convert namespace import to named imports",description:to(F.Convert_namespace_import_to_named_imports),kind:"refactor.rewrite.import.named"},2:{name:"Convert named imports to namespace import",description:to(F.Convert_named_imports_to_namespace_import),kind:"refactor.rewrite.import.namespace"},1:{name:"Convert named imports to default import",description:to(F.Convert_named_imports_to_default_import),kind:"refactor.rewrite.import.default"}},s3(rme,{kinds:U1(QX).map(t=>t.kind),getAvailableActions:function(u){const s=Hnt(u,u.triggerReason==="invoked");if(!s)return _t;if(!sD(s)){const d=QX[s.convertTo];return[{name:rme,description:d.description,actions:[d]}]}return u.preferences.provideRefactorNotApplicableReason?U1(QX).map(d=>({name:rme,description:d.description,actions:[{...d,notApplicableReason:s.error}]})):_t},getEditsForAction:function(u,s){H.assert(Oe(U1(QX),p=>p.name===s),"Unexpected action name");const d=Hnt(u);return H.assert(d&&!sD(d),"Expected applicable refactor info"),{edits:iu.ChangeTracker.with(u,p=>mOt(u.file,u.program,p,d)),renameFilename:void 0,renameLocation:void 0}}})}});function Jnt(t,u=!0){const{file:s,startPosition:d}=t,f=gh(s),p=Ca(s,d),E=pX(u9(t)),v=E.pos===E.end&&u,b=rX(p,s,E.pos,E.end),B=Tn(p,Y=>Y.parent&&Qr(Y)&&!ab(E,Y.parent,s)&&(v||b));if(!B||!Qr(B))return{error:to(F.Selection_is_not_a_valid_type_node)};const k=t.program.getTypeChecker(),T=bOt(B,f);if(T===void 0)return{error:to(F.No_type_could_be_extracted_from_this_type_node)};const M=yOt(B,T);if(!Qr(M))return{error:to(F.Selection_is_not_a_valid_type_node)};const z=[];(Pv(M.parent)||kB(M.parent))&&E.end>B.end&&yn(z,M.parent.types.filter(Y=>rX(Y,s,E.pos,E.end)));const j=z.length>1?z:M,J=DOt(k,j,T,s);if(!J)return{error:to(F.No_type_could_be_extracted_from_this_type_node)};const K=ame(k,j);return{isJS:f,selection:j,enclosingNode:T,typeParameters:J,typeElements:K}}function ame(t,u){if(u){if(Ha(u)){const s=[];for(const d of u){const f=ame(t,d);if(!f)return;yn(s,f)}return s}if(kB(u)){const s=[],d=new Map;for(const f of u.types){const p=ame(t,f);if(!p||!p.every(E=>E.name&&Ip(d,WH(E.name))))return;yn(s,p)}return s}else{if(M7(u))return ame(t,u.type);if(fm(u))return u.members}}}function ab(t,u,s){return IH(t,gs(s.text,u.pos),u.end)}function DOt(t,u,s,d){const f=[],p=YA(u),E={pos:p[0].pos,end:p[p.length-1].end};for(const b of p)if(v(b))return;return f;function v(b){if(X4(b)){if(at(b.typeName)){const B=b.typeName,k=t.resolveName(B.text,B,262144,!0);for(const T of(k==null?void 0:k.declarations)||_t)if(Bl(T)&&T.getSourceFile()===d){if(T.name.escapedText===B.escapedText&&ab(T,E,d))return!0;if(ab(s,T,d)&&!ab(E,T,d)){xa(f,T);break}}}}else if(P7(b)){const B=Tn(b,k=>FB(k)&&ab(k.extendsType,b,d));if(!B||!ab(E,B,d))return!0}else if(aY(b)||sY(b)){const B=Tn(b.parent,Co);if(B&&B.type&&ab(B.type,b,d)&&!ab(E,B,d))return!0}else if(bB(b)){if(at(b.exprName)){const B=t.resolveName(b.exprName.text,b.exprName,111551,!1);if(B!=null&&B.valueDeclaration&&ab(s,B.valueDeclaration,d)&&!ab(E,B.valueDeclaration,d))return!0}else if(N2(b.exprName.left)&&!ab(E,b.parent,d))return!0}return d&&yB(b)&&s0(d,b.pos).line===s0(d,b.end).line&&Zn(b,1),ao(b,v)}}function xOt(t,u,s,d){const{enclosingNode:f,typeParameters:p}=d,{firstTypeNode:E,lastTypeNode:v,newTypeNode:b}=g8e(d),B=q.createTypeAliasDeclaration(void 0,s,p.map(k=>q.updateTypeParameterDeclaration(k,k.modifiers,k.name,k.constraint,void 0)),b);t.insertNodeBefore(u,f,cce(B),!0),t.replaceNodeRange(u,E,v,q.createTypeReferenceNode(s,p.map(k=>q.createTypeReferenceNode(k.name,void 0))),{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.ExcludeWhitespace})}function vOt(t,u,s,d){var f;const{enclosingNode:p,typeParameters:E,typeElements:v}=d,b=q.createInterfaceDeclaration(void 0,s,E,void 0,v);Pt(b,(f=v[0])==null?void 0:f.parent),t.insertNodeBefore(u,p,cce(b),!0);const{firstTypeNode:B,lastTypeNode:k}=g8e(d);t.replaceNodeRange(u,B,k,q.createTypeReferenceNode(s,E.map(T=>q.createTypeReferenceNode(T.name,void 0))),{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.ExcludeWhitespace})}function COt(t,u,s,d,f){var p;YA(f.selection).forEach(j=>{Zn(j,7168)});const{enclosingNode:E,typeParameters:v}=f,{firstTypeNode:b,lastTypeNode:B,newTypeNode:k}=g8e(f),T=q.createJSDocTypedefTag(q.createIdentifier("typedef"),q.createJSDocTypeExpression(k),q.createIdentifier(d)),M=[];L(v,j=>{const J=w8(j),K=q.createTypeParameterDeclaration(void 0,j.name),Y=q.createJSDocTemplateTag(q.createIdentifier("template"),J&&Po(J,kk),[K]);M.push(Y)});const z=q.createJSDocComment(void 0,q.createNodeArray(Hi(M,[T])));if(Vp(E)){const j=E.getStart(s),J=E5(u.host,(p=u.formatContext)==null?void 0:p.options);t.insertNodeAt(s,E.getStart(s),z,{suffix:J+J+s.text.slice(FX(s.text,j-1),j)})}else t.insertNodeBefore(s,E,z,!0);t.replaceNodeRange(s,b,B,q.createTypeReferenceNode(d,v.map(j=>q.createTypeReferenceNode(j.name,void 0))))}function g8e(t){return Ha(t.selection)?{firstTypeNode:t.selection[0],lastTypeNode:t.selection[t.selection.length-1],newTypeNode:Pv(t.selection[0].parent)?q.createUnionTypeNode(t.selection):q.createIntersectionTypeNode(t.selection)}:{firstTypeNode:t.selection,lastTypeNode:t.selection,newTypeNode:t.selection}}function bOt(t,u){return Tn(t,ia)||(u?Tn(t,Vp):void 0)}function yOt(t,u){return Tn(t,s=>s===u?"quit":!!(Pv(s.parent)||kB(s.parent)))??t}var ome,XX,eee,tee,kOt=o({"src/services/refactors/extractType.ts"(){rr(),s_(),ome="Extract type",XX={name:"Extract to type alias",description:to(F.Extract_to_type_alias),kind:"refactor.extract.type"},eee={name:"Extract to interface",description:to(F.Extract_to_interface),kind:"refactor.extract.interface"},tee={name:"Extract to typedef",description:to(F.Extract_to_typedef),kind:"refactor.extract.typedef"},s3(ome,{kinds:[XX.kind,eee.kind,tee.kind],getAvailableActions:function(u){const s=Jnt(u,u.triggerReason==="invoked");return s?sD(s)?u.preferences.provideRefactorNotApplicableReason?[{name:ome,description:to(F.Extract_type),actions:[{...tee,notApplicableReason:s.error},{...XX,notApplicableReason:s.error},{...eee,notApplicableReason:s.error}]}]:_t:[{name:ome,description:to(F.Extract_type),actions:s.isJS?[tee]:xi([XX],s.typeElements&&eee)}]:_t},getEditsForAction:function(u,s){const{file:d}=u,f=Jnt(u);H.assert(f&&!sD(f),"Expected to find a range to extract");const p=Ok("NewType",d),E=iu.ChangeTracker.with(u,B=>{switch(s){case XX.name:return H.assert(!f.isJS,"Invalid actionName/JS combo"),xOt(B,d,p,f);case tee.name:return H.assert(f.isJS,"Invalid actionName/JS combo"),COt(B,u,d,p,f);case eee.name:return H.assert(!f.isJS&&!!f.typeElements,"Invalid actionName/JS combo"),vOt(B,d,p,f);default:H.fail("Unexpected action name")}}),v=d.fileName,b=qH(E,v,p,!1);return{edits:E,renameFilename:v,renameLocation:b}}})}});function sD(t){return t.error!==void 0}function qv(t,u){return u?t.substr(0,u.length)===u:!0}var FOt=o({"src/services/refactors/helpers.ts"(){}});function $nt(t,u,s,d){var f,p;const E=d.getTypeChecker(),v=af(t,u),b=v.parent;if(at(v)){if(Zj(b)&&qN(b)&&at(b.name)){if(((f=E.getMergedSymbol(b.symbol).declarations)==null?void 0:f.length)!==1)return{error:to(F.Variables_with_multiple_declarations_cannot_be_inlined)};if(Unt(b))return;const B=qnt(b,E,t);return B&&{references:B,declaration:b,replacement:b.initializer}}if(s){let B=E.resolveName(v.text,v,111551,!1);if(B=B&&E.getMergedSymbol(B),((p=B==null?void 0:B.declarations)==null?void 0:p.length)!==1)return{error:to(F.Variables_with_multiple_declarations_cannot_be_inlined)};const k=B.declarations[0];if(!Zj(k)||!qN(k)||!at(k.name)||Unt(k))return;const T=qnt(k,E,t);return T&&{references:T,declaration:k,replacement:k.initializer}}return{error:to(F.Could_not_find_variable_to_inline)}}}function Unt(t){const u=Po(t.parent.parent,Jl);return Oe(u.modifiers,L7)}function qnt(t,u,s){const d=[],f=Z0.Core.eachSymbolReferenceInFile(t.name,u,s,p=>{if(Z0.isWriteAccessForReference(p)||eh(p.parent)||tc(p.parent)||bB(p.parent)||IO(t,p.pos))return!0;d.push(p)});return d.length===0||f?void 0:d}function AOt(t,u){u=ll(u);const{parent:s}=t;return Wt(s)&&(lP(u){for(const T of E)k.replaceNode(s,T,AOt(T,b));k.delete(s,v)})}}})}});function BOt(t,u,s,d,f,p,E){const v=u.getTypeChecker(),b=uee(t,s.all,v),B=A8e(t,u,E,f);d.createNewFile(t,B,wOt(t,b,d,s,u,f,B,p)),E8e(u,d,t.fileName,B,n5(f))}function wOt(t,u,s,d,f,p,E,v){const b=f.getTypeChecker(),B=tU(t.statements,Mp);if(t.externalModuleIndicator===void 0&&t.commonJsModuleIndicator===void 0&&u.oldImportsNeededByTargetFile.size===0)return iee(t,d.ranges,s),[...B,...d.all];const k=!Bfe(E,f,p,!!t.commonJsModuleIndicator),T=Hm(t,v),M=v8e(t,u.oldFileImportsFromTargetFile,E,f,p,k,T);M&&MM(s,t,M,!0,v),_8e(t,d.all,s,u.unusedImportsFromOldFile,b),iee(t,d.ranges,s),D8e(s,f,p,t,u.movedSymbols,E,T);const z=TOt(t,u.oldImportsNeededByTargetFile,u.targetFileImportsFromOldFile,s,b,f,p,k,T),j=C8e(t,d.all,u.oldFileImportsFromTargetFile,k);return z.length&&j.length?[...B,...z,4,...j]:[...B,...z,...j]}function TOt(t,u,s,d,f,p,E,v,b){const B=[];for(const z of t.statements)sK(z,j=>{xi(B,lK(j,oK(j),J=>u.has(f.getSymbolAtLocation(J))))});let k;const T=[],M=i9();return s.forEach(z=>{if(z.declarations)for(const j of z.declarations){if(!ree(j))continue;const J=k8e(j);if(!J)continue;const K=hme(j);M(K)&&F8e(t,K,J,d,v),Yu(j,2048)?k=J:T.push(J.text)}}),xi(B,nee(t,k,T,Ac(t.fileName),p,E,v,b)),B}var aK,cme,dme,LOt=o({"src/services/refactors/moveToNewFile.ts"(){rr(),s_(),aK="Move to a new file",cme=to(F.Move_to_a_new_file),dme={name:aK,description:cme,kind:"refactor.move.newFile"},s3(aK,{kinds:[dme.kind],getAvailableActions:function(u){const s=cK(u);return u.preferences.allowTextChangesInNewFiles&&s?[{name:aK,description:cme,actions:[dme]}]:u.preferences.provideRefactorNotApplicableReason?[{name:aK,description:cme,actions:[{...dme,notApplicableReason:to(F.Selection_is_not_a_valid_statement_or_statements)}]}]:_t},getEditsForAction:function(u,s){H.assert(s===aK,"Wrong refactor invoked");const d=H.checkDefined(cK(u));return{edits:iu.ChangeTracker.with(u,p=>BOt(u.file,u.program,d,p,u.host,u.preferences,u)),renameFilename:void 0,renameLocation:void 0}}})}});function Znt(t){return{edits:[],renameFilename:void 0,renameLocation:void 0,notApplicableReason:t}}function NOt(t,u,s,d,f,p,E,v){const b=d.getTypeChecker();if(!E.fileExists(s))p.createNewFile(u,s,Ynt(u,s,uee(u,f.all,b),p,f,d,E,v)),E8e(d,p,u.fileName,s,n5(E));else{const B=H.checkDefined(d.getSourceFile(s)),k=z1.createImportAdder(B,t.program,t.preferences,t.host);Ynt(u,B,uee(u,f.all,b,QOt(B,b)),p,f,d,E,v,k)}}function Ynt(t,u,s,d,f,p,E,v,b){const B=p.getTypeChecker(),k=tU(t.statements,Mp);if(t.externalModuleIndicator===void 0&&t.commonJsModuleIndicator===void 0&&s.oldImportsNeededByTargetFile.size===0&&s.targetFileImportsFromOldFile.size===0&&typeof u=="string")return iee(t,f.ranges,d),[...k,...f.all];const T=typeof u=="string"?u:u.fileName,M=!Bfe(T,p,E,!!t.commonJsModuleIndicator),z=Hm(t,v),j=v8e(t,s.oldFileImportsFromTargetFile,T,p,E,M,z);j&&MM(d,t,j,!0,v),_8e(t,f.all,d,s.unusedImportsFromOldFile,B),iee(t,f.ranges,d),D8e(d,p,E,t,s.movedSymbols,T,z);const J=POt(t,T,s.oldImportsNeededByTargetFile,s.targetFileImportsFromOldFile,d,B,p,E,M,z,b),K=C8e(t,f.all,s.oldFileImportsFromTargetFile,M);return typeof u!="string"&&(u.statements.length>0?YOt(d,p,K,u,f):d.insertNodesAtEndOfFile(u,K,!1),J.length>0&&MM(d,u,J,!0,v)),b&&b.writeFixes(d,z),J.length&&K.length?[...k,...J,4,...K]:[...k,...J,...K]}function POt(t,u,s,d,f,p,E,v,b,B,k){const T=[];if(k)s.forEach((K,Y)=>{try{k.addImportFromExportedSymbol(X1(Y,p),K)}catch{for(const oe of t.statements)sK(oe,se=>{xi(T,lK(se,q.createStringLiteral(oK(se).text),ge=>s.has(p.getSymbolAtLocation(ge))))})}});else{const K=E.getSourceFile(u);for(const Y of t.statements)sK(Y,oe=>{var se;const ge=oK(oe),ae=E.getResolvedModule(t,ge.text,xg(t,ge)),Ce=(se=ae==null?void 0:ae.resolvedModule)==null?void 0:se.resolvedFileName;if(Ce&&K){const ne=qY(E.getCompilerOptions(),K,K.path,Ce,Ik(E,v));xi(T,lK(oe,n9(ne,B),ve=>s.has(p.getSymbolAtLocation(ve))))}else xi(T,lK(oe,q.createStringLiteral(oK(oe).text),ne=>s.has(p.getSymbolAtLocation(ne))))})}const M=E.getSourceFile(u);let z;const j=[],J=i9();return d.forEach(K=>{if(K.declarations)for(const Y of K.declarations){if(!ree(Y))continue;const oe=k8e(Y);if(!oe)continue;const se=hme(Y);J(se)&&F8e(t,se,oe,f,b),k&&p.isUnknownSymbol(K)?k.addImportFromExportedSymbol(X1(K,p)):Yu(Y,2048)?z=oe:j.push(oe.text)}}),M?xi(T,nee(M,z,j,t.fileName,E,v,b,B)):xi(T,nee(t,z,j,t.fileName,E,v,b,B))}function E8e(t,u,s,d,f){const p=t.getCompilerOptions().configFile;if(!p)return;const E=$o(cr(s,"..",d)),v=SO(p.fileName,E,f),b=p.statements[0]&&ur(p.statements[0].expression,ys),B=b&&Le(b.properties,k=>Jc(k)&&us(k.name)&&k.name.text==="files");B&&Dh(B.initializer)&&u.insertNodeInListAfter(p,Cr(B.initializer.elements),q.createStringLiteral(v),B.initializer.elements)}function iee(t,u,s){for(const{first:d,afterLast:f}of u)s.deleteNodeRangeExcludingEnd(t,d,f)}function _8e(t,u,s,d,f){for(const p of t.statements)kt(u,p)||sK(p,E=>b8e(t,E,s,v=>d.has(f.getSymbolAtLocation(v))))}function D8e(t,u,s,d,f,p,E){const v=u.getTypeChecker();for(const b of u.getSourceFiles())if(b!==d)for(const B of b.statements)sK(B,k=>{if(v.getSymbolAtLocation(oK(k))!==d.symbol)return;const T=K=>{const Y=js(K.parent)?CX(v,K.parent):X1(v.getSymbolAtLocation(K),v);return!!Y&&f.has(Y)};b8e(b,k,t,T);const M=kx(lr(d.path),p),z=qY(u.getCompilerOptions(),b,b.path,M,Ik(u,s)),j=lK(k,n9(z,E),T);j&&t.insertNodeAfter(b,B,j);const J=MOt(k);J&&zOt(t,b,v,f,z,J,k,E)})}function MOt(t){switch(t.kind){case 272:return t.importClause&&t.importClause.namedBindings&&t.importClause.namedBindings.kind===274?t.importClause.namedBindings.name:void 0;case 271:return t.name;case 260:return ur(t.name,at);default:return H.assertNever(t,`Unexpected node kind ${t.kind}`)}}function zOt(t,u,s,d,f,p,E,v){const b=z1.moduleSpecifierToValidIdentifier(f,99);let B=!1;const k=[];if(Z0.Core.eachSymbolReferenceInFile(p,s,u,T=>{Iu(T.parent)&&(B=B||!!s.resolveName(b,T,67108863,!0),d.has(s.getSymbolAtLocation(T.parent.name))&&k.push(T))}),k.length){const T=B?Ok(b,u):b;for(const M of k)t.replaceNode(u,M,q.createIdentifier(T));t.insertNodeAfter(u,E,IOt(E,b,f,v))}}function IOt(t,u,s,d){const f=q.createIdentifier(u),p=n9(s,d);switch(t.kind){case 272:return q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamespaceImport(f)),p,void 0);case 271:return q.createImportEqualsDeclaration(void 0,!1,f,q.createExternalModuleReference(p));case 260:return q.createVariableDeclaration(f,void 0,void 0,x8e(p));default:return H.assertNever(t,`Unexpected node kind ${t.kind}`)}}function x8e(t){return q.createCallExpression(q.createIdentifier("require"),void 0,[t])}function oK(t){return t.kind===272?t.moduleSpecifier:t.kind===271?t.moduleReference.expression:t.initializer.arguments[0]}function sK(t,u){if(Sd(t))us(t.moduleSpecifier)&&u(t);else if(E1(t))r_(t.moduleReference)&&t0(t.moduleReference.expression)&&u(t);else if(Jl(t))for(const s of t.declarationList.declarations)s.initializer&&xf(s.initializer,!0)&&u(s)}function v8e(t,u,s,d,f,p,E){let v;const b=[];return u.forEach(B=>{B.escapedName==="default"?v=q.createIdentifier(DX(B)):b.push(B.name)}),nee(t,v,b,s,d,f,p,E)}function nee(t,u,s,d,f,p,E,v){const b=kx(lr(t.path),d),B=qY(f.getCompilerOptions(),t,t.path,b,Ik(f,p));if(E){const k=s.map(T=>q.createImportSpecifier(!1,void 0,q.createIdentifier(T)));return dSe(u,k,B,v)}else{H.assert(!u,"No default import should exist");const k=s.map(T=>q.createBindingElement(void 0,void 0,T));return k.length?Qnt(q.createObjectBindingPattern(k),void 0,x8e(n9(B,v))):void 0}}function Qnt(t,u,s,d=2){return q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(t,void 0,u,s)],d))}function C8e(t,u,s,d){return ju(u,f=>{if(eut(f)&&!Xnt(t,f,d)&&S8e(f,p=>{var E;return s.has(H.checkDefined((E=ur(p,Zg))==null?void 0:E.symbol))})){const p=jOt(ll(f),d);if(p)return p}return ll(f)})}function Xnt(t,u,s,d){var f;return s?!Od(u)&&Yu(u,32)||!!(d&&t.symbol&&((f=t.symbol.exports)!=null&&f.has(d.escapedText))):!!t.symbol&&!!t.symbol.exports&&y8e(u).some(p=>t.symbol.exports.has(Al(p)))}function b8e(t,u,s,d){switch(u.kind){case 272:ROt(t,u,s,d);break;case 271:d(u.name)&&s.delete(t,u);break;case 260:OOt(t,u,s,d);break;default:H.assertNever(u,`Unexpected import decl kind ${u.kind}`)}}function ROt(t,u,s,d){if(!u.importClause)return;const{name:f,namedBindings:p}=u.importClause,E=!f||d(f),v=!p||(p.kind===274?d(p.name):p.elements.length!==0&&p.elements.every(b=>d(b.name)));if(E&&v)s.delete(t,u);else if(f&&E&&s.delete(t,f),p){if(v)s.replaceNode(t,u.importClause,q.updateImportClause(u.importClause,u.importClause.isTypeOnly,f,void 0));else if(p.kind===275)for(const b of p.elements)d(b.name)&&s.delete(t,b)}}function OOt(t,u,s,d){const{name:f}=u;switch(f.kind){case 80:d(f)&&(u.initializer&&xf(u.initializer,!0)?s.delete(t,Ad(u.parent)&&S(u.parent.declarations)===1?u.parent.parent:u):s.delete(t,f));break;case 207:break;case 206:if(f.elements.every(p=>at(p.name)&&d(p.name)))s.delete(t,Ad(u.parent)&&u.parent.declarations.length===1?u.parent.parent:u);else for(const p of f.elements)at(p.name)&&d(p.name)&&s.delete(t,p.name);break}}function eut(t){return H.assert(la(t.parent),"Node parent should be a SourceFile"),aut(t)||Jl(t)}function jOt(t,u){return u?[VOt(t)]:HOt(t)}function VOt(t){const u=Hp(t)?Hi([q.createModifier(95)],p2(t)):void 0;switch(t.kind){case 262:return q.updateFunctionDeclaration(t,u,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);case 263:const s=Ak(t)?Ax(t):void 0;return q.updateClassDeclaration(t,Hi(s,u),t.name,t.typeParameters,t.heritageClauses,t.members);case 243:return q.updateVariableStatement(t,u,t.declarationList);case 267:return q.updateModuleDeclaration(t,u,t.name,t.body);case 266:return q.updateEnumDeclaration(t,u,t.name,t.members);case 265:return q.updateTypeAliasDeclaration(t,u,t.name,t.typeParameters,t.type);case 264:return q.updateInterfaceDeclaration(t,u,t.name,t.typeParameters,t.heritageClauses,t.members);case 271:return q.updateImportEqualsDeclaration(t,u,t.isTypeOnly,t.name,t.moduleReference);case 244:return H.fail();default:return H.assertNever(t,`Unexpected declaration kind ${t.kind}`)}}function HOt(t){return[t,...y8e(t).map(tut)]}function tut(t){return q.createExpressionStatement(q.createBinaryExpression(q.createPropertyAccessExpression(q.createIdentifier("exports"),q.createIdentifier(t)),64,q.createIdentifier(t)))}function y8e(t){switch(t.kind){case 262:case 263:return[t.name.text];case 243:return qi(t.declarationList.declarations,u=>at(u.name)?u.name.text:void 0);case 267:case 266:case 265:case 264:case 271:return _t;case 244:return H.fail("Can't export an ExpressionStatement");default:return H.assertNever(t,`Unexpected decl kind ${t.kind}`)}}function lK(t,u,s){switch(t.kind){case 272:{const d=t.importClause;if(!d)return;const f=d.name&&s(d.name)?d.name:void 0,p=d.namedBindings&&KOt(d.namedBindings,s);return f||p?q.createImportDeclaration(void 0,q.createImportClause(d.isTypeOnly,f,p),ll(u),void 0):void 0}case 271:return s(t.name)?t:void 0;case 260:{const d=WOt(t.name,s);return d?Qnt(d,t.type,x8e(u),t.parent.flags):void 0}default:return H.assertNever(t,`Unexpected import kind ${t.kind}`)}}function KOt(t,u){if(t.kind===274)return u(t.name)?t:void 0;{const s=t.elements.filter(d=>u(d.name));return s.length?q.createNamedImports(s):void 0}}function WOt(t,u){switch(t.kind){case 80:return u(t)?t:void 0;case 207:return t;case 206:{const s=t.elements.filter(d=>d.propertyName||!at(d.name)||u(d.name));return s.length?q.createObjectBindingPattern(s):void 0}}}function k8e(t){return Od(t)?ur(t.expression.left.name,at):ur(t.name,at)}function hme(t){switch(t.kind){case 260:return t.parent.parent;case 208:return hme(Po(t.parent.parent,u=>na(u)||js(u)));default:return t}}function F8e(t,u,s,d,f){if(!Xnt(t,u,f,s))if(f)Od(u)||d.insertExportModifier(t,u);else{const p=y8e(u);p.length!==0&&d.insertNodesAfter(t,u,p.map(tut))}}function A8e(t,u,s,d){const f=u.getTypeChecker(),p=cK(s);let E;if(p){E=uee(t,p.all,f);const v=lr(t.fileName),b=y7(t.fileName);return cr(v,UOt(qOt(E.oldFileImportsFromTargetFile,E.movedSymbols),b,v,d))+b}return""}function GOt(t){const{file:u}=t,s=pX(u9(t)),{statements:d}=u;let f=Ue(d,B=>B.end>s.pos);if(f===-1)return;const p=d[f],E=out(u,p);E&&(f=E.start);let v=Ue(d,B=>B.end>=s.end,f);v!==-1&&s.end<=d[v].getStart()&&v--;const b=out(u,d[v]);return b&&(v=b.end),{toMove:d.slice(f,v===-1?d.length:v+1),afterLast:v===-1?void 0:d[v+1]}}function cK(t){const u=GOt(t);if(u===void 0)return;const s=[],d=[],{toMove:f,afterLast:p}=u;return eu(f,JOt,(E,v)=>{for(let b=E;b!!u.initializer&&xf(u.initializer,!0));default:return!1}}function uee(t,u,s,d=new Set){const f=new Set,p=new Map,E=new Set,v=Le(u,M=>!!(M.transformFlags&2)),b=T(v);b&&p.set(b,!1);for(const M of u)S8e(M,z=>{f.add(H.checkDefined(Od(z)?s.getSymbolAtLocation(z.expression.left):z.symbol,"Need a symbol here"))});const B=new Set;for(const M of u)iut(M,s,(z,j)=>{if(z.declarations){if(d.has(X1(z,s))){B.add(z);return}for(const J of z.declarations)if(nut(J)){const K=p.get(z);p.set(z,(K===void 0||K)&&j)}else ree(J)&&ZOt(J)===t&&!f.has(z)&&E.add(z)}});for(const M of p.keys())B.add(M);const k=new Set;for(const M of t.statements)kt(u,M)||(b&&M.transformFlags&2&&B.delete(b),iut(M,s,z=>{f.has(z)&&k.add(z),B.delete(z)}));return{movedSymbols:f,targetFileImportsFromOldFile:E,oldFileImportsFromTargetFile:k,oldImportsNeededByTargetFile:p,unusedImportsFromOldFile:B};function T(M){if(M===void 0)return;const z=s.getJsxNamespace(M),j=s.resolveName(z,M,1920,!0);return j&&Oe(j.declarations,nut)?j:void 0}}function UOt(t,u,s,d){let f=t;for(let p=1;;p++){const E=cr(s,f+u);if(!d.fileExists(E))return f;f=`${t}.${p}`}}function qOt(t,u){return U_(t,DX)||U_(u,DX)||"newFile"}function iut(t,u,s){t.forEachChild(function d(f){if(at(f)&&!X3(f)){const p=u.getSymbolAtLocation(f);p&&s(p,Tv(f))}else f.forEachChild(d)})}function S8e(t,u){switch(t.kind){case 262:case 263:case 267:case 266:case 265:case 264:case 271:return u(t);case 243:return G(t.declarationList.declarations,s=>rut(s.name,u));case 244:{const{expression:s}=t;return Xn(s)&&Xl(s)===1?u(t):void 0}}}function nut(t){switch(t.kind){case 271:case 276:case 273:case 274:return!0;case 260:return uut(t);case 208:return na(t.parent.parent)&&uut(t.parent.parent);default:return!1}}function uut(t){return la(t.parent.parent.parent)&&!!t.initializer&&xf(t.initializer,!0)}function ree(t){return aut(t)&&la(t.parent)||na(t)&&la(t.parent.parent.parent)}function ZOt(t){return na(t)?t.parent.parent.parent:t.parent}function rut(t,u){switch(t.kind){case 80:return u(Po(t.parent,s=>na(s)||js(s)));case 207:case 206:return G(t.elements,s=>Fd(s)?void 0:rut(s.name,u));default:return H.assertNever(t,`Unexpected name kind ${t.kind}`)}}function aut(t){switch(t.kind){case 262:case 263:case 267:case 266:case 265:case 264:case 271:return!0;default:return!1}}function YOt(t,u,s,d,f){var p;const E=new Set,v=(p=d.symbol)==null?void 0:p.exports;if(v){const B=u.getTypeChecker(),k=new Map;for(const T of f.all)eut(T)&&Yu(T,32)&&S8e(T,M=>{var z;const j=Zg(M)?(z=v.get(M.symbol.escapedName))==null?void 0:z.declarations:void 0,J=G(j,K=>Gc(K)?K:eh(K)?ur(K.parent.parent,Gc):void 0);J&&J.moduleSpecifier&&k.set(J,(k.get(J)||new Set).add(M))});for(const[T,M]of ga(k))if(T.exportClause&&ep(T.exportClause)&&S(T.exportClause.elements)){const z=T.exportClause.elements,j=ti(z,J=>Le(X1(J.symbol,B).declarations,K=>ree(K)&&M.has(K))===void 0);if(S(j)===0){t.deleteNode(d,T),E.add(T);continue}S(j)Gc(B)&&!!B.moduleSpecifier&&!E.has(B));b?t.insertNodesBefore(d,b,s,!0):t.insertNodesAfter(d,d.statements[d.statements.length-1],s)}function out(t,u){if($0(u)){const s=u.symbol.declarations;if(s===void 0||S(s)<=1||!kt(s,u))return;const d=s[0],f=s[S(s)-1],p=qi(s,b=>zn(b)===t&&ia(b)?b:void 0),E=Ue(t.statements,b=>b.end>=f.end),v=Ue(t.statements,b=>b.end>=d.end);return{toMove:p,start:v,end:E}}}function QOt(t,u){const s=new Set;for(const d of t.imports){const f=tP(d);if(Sd(f)&&f.importClause&&f.importClause.namedBindings&&uD(f.importClause.namedBindings))for(const p of f.importClause.namedBindings.elements){const E=u.getSymbolAtLocation(p.propertyName||p.name);E&&s.add(X1(E,u))}if(vq(f.parent)&&Rp(f.parent.name))for(const p of f.parent.name.elements){const E=u.getSymbolAtLocation(p.propertyName||p.name);E&&s.add(X1(E,u))}}return s}var aee,fme,mme,XOt=o({"src/services/refactors/moveToFile.ts"(){ket(),rr(),Ont(),aee="Move to file",fme=to(F.Move_to_file),mme={name:"Move to file",description:fme,kind:"refactor.move.file"},s3(aee,{kinds:[mme.kind],getAvailableActions:function(u,s){const d=cK(u);return s?u.preferences.allowTextChangesInNewFiles&&d?[{name:aee,description:fme,actions:[mme]}]:u.preferences.provideRefactorNotApplicableReason?[{name:aee,description:fme,actions:[{...mme,notApplicableReason:to(F.Selection_is_not_a_valid_statement_or_statements)}]}]:_t:_t},getEditsForAction:function(u,s,d){H.assert(s===aee,"Wrong refactor invoked");const f=H.checkDefined(cK(u)),{host:p,program:E}=u;H.assert(d,"No interactive refactor arguments available");const v=d.targetFile;return z2(v)||mk(v)?p.fileExists(v)&&E.getSourceFile(v)===void 0?Znt(to(F.Cannot_move_statements_to_the_selected_file)):{edits:iu.ChangeTracker.with(u,B=>NOt(u,u.file,d.targetFile,u.program,f,B,u.host,u.preferences)),renameFilename:void 0,renameLocation:void 0}:Znt(to(F.Cannot_move_to_file_selected_file_is_invalid))}})}});function ejt(t){const{file:u,startPosition:s,program:d}=t;return lut(u,s,d)?[{name:pme,description:B8e,actions:[w8e]}]:_t}function tjt(t){const{file:u,startPosition:s,program:d}=t,f=lut(u,s,d);if(!f)return;const p=d.getTypeChecker(),E=f[f.length-1];let v=E;switch(E.kind){case 173:{v=q.updateMethodSignature(E,E.modifiers,E.name,E.questionToken,E.typeParameters,B(f),E.type);break}case 174:{v=q.updateMethodDeclaration(E,E.modifiers,E.asteriskToken,E.name,E.questionToken,E.typeParameters,B(f),E.type,E.body);break}case 179:{v=q.updateCallSignature(E,E.typeParameters,B(f),E.type);break}case 176:{v=q.updateConstructorDeclaration(E,E.modifiers,B(f),E.body);break}case 180:{v=q.updateConstructSignature(E,E.typeParameters,B(f),E.type);break}case 262:{v=q.updateFunctionDeclaration(E,E.modifiers,E.asteriskToken,E.name,E.typeParameters,B(f),E.type,E.body);break}default:return H.failBadSyntaxKind(E,"Unhandled signature kind in overload list conversion refactoring")}if(v===E)return;return{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,M=>{M.replaceNodeRange(u,f[0],f[f.length-1],v)})};function B(M){const z=M[M.length-1];return $0(z)&&z.body&&(M=M.slice(0,M.length-1)),q.createNodeArray([q.createParameterDeclaration(void 0,q.createToken(26),"args",void 0,q.createUnionTypeNode(Vt(M,k)))])}function k(M){const z=Vt(M.parameters,T);return Zn(q.createTupleTypeNode(z),Oe(z,j=>!!S(DB(j)))?0:1)}function T(M){H.assert(at(M.name));const z=Pt(q.createNamedTupleMember(M.dotDotDotToken,M.name,M.questionToken,M.type||q.createKeywordTypeNode(133)),M),j=M.symbol&&M.symbol.getDocumentationComment(p);if(j){const J=EK(j);J.length&&Nv(z,[{text:`* +`,pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return H.assertNever(t)}}function oRt(t){switch(t){case 42:case 44:case 45:case 40:case 41:case 48:case 49:case 50:case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:case 35:case 36:case 37:case 38:case 51:case 53:case 52:case 56:case 57:case 75:case 74:case 79:case 71:case 72:case 73:case 65:case 66:case 67:case 69:case 70:case 64:case 28:case 61:case 76:case 77:case 78:return!0;default:return!1}}function sRt(t){switch(t){case 40:case 41:case 55:case 54:case 46:case 47:return!0;default:return!1}}function lRt(t){if(uf(t))return 3;if(oRt(t)||sRt(t))return 5;if(t>=19&&t<=79)return 10;switch(t){case 9:return 4;case 10:return 25;case 11:return 6;case 14:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 80:default:return Bx(t)?6:2}}function ISe(t,u,s,d,f){return Git(Ofe(t,u,s,d,f))}function Kit(t,u){switch(u){case 267:case 263:case 264:case 262:case 231:case 218:case 219:t.throwIfCancellationRequested()}}function Ofe(t,u,s,d,f){const p=[];return s.forEachChild(function v(b){if(!(!b||!wU(f,b.pos,b.getFullWidth()))){if(Kit(u,b.kind),at(b)&&!Ql(b)&&d.has(b.escapedText)){const B=t.getSymbolAtLocation(b),k=B&&Wit(B,Pk(b),t);k&&E(b.getStart(s),b.getEnd(),k)}b.forEachChild(v)}}),{spans:p,endOfLineState:0};function E(v,b,B){const k=b-v;H.assert(k>0,`Classification had non-positive length of ${k}`),p.push(v),p.push(k),p.push(B)}}function Wit(t,u,s){const d=t.getFlags();if(d&2885600)return d&32?11:d&384?12:d&524288?16:d&1536?u&4||u&1&&cRt(t)?14:void 0:d&2097152?Wit(s.getAliasedSymbol(t),u,s):u&2?d&64?13:d&262144?15:void 0:void 0}function cRt(t){return Oe(t.declarations,u=>_c(u)&&oD(u)===1)}function dRt(t){switch(t){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}function Git(t){H.assert(t.spans.length%3===0);const u=t.spans,s=[];for(let d=0;d])*)(\/>)?)?/im,ve=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img,Se=u.text.substr(ae,Ce),Ne=ne.exec(Se);if(!Ne||!Ne[3]||!(Ne[3]in CO))return!1;let pe=ae;T(pe,Ne[1].length),pe+=Ne[1].length,b(pe,Ne[2].length,10),pe+=Ne[2].length,b(pe,Ne[3].length,21),pe+=Ne[3].length;const fe=Ne[4];let xe=pe;for(;;){const Ge=ve.exec(fe);if(!Ge)break;const Ae=pe+Ge.index+Ge[1].length;Ae>xe&&(T(xe,Ae-xe),xe=Ae),b(xe,Ge[2].length,22),xe+=Ge[2].length,Ge[3].length&&(T(xe,Ge[3].length),xe+=Ge[3].length),b(xe,Ge[4].length,5),xe+=Ge[4].length,Ge[5].length&&(T(xe,Ge[5].length),xe+=Ge[5].length),b(xe,Ge[6].length,24),xe+=Ge[6].length}pe+=Ne[4].length,pe>xe&&T(xe,pe-xe),Ne[5]&&(b(pe,Ne[5].length,10),pe+=Ne[5].length);const Be=ae+Ce;return pe=0),ve>0){const Se=Ce||se(ae.kind,ae);Se&&b(ne,ve,Se)}return!0}function oe(ae){switch(ae.parent&&ae.parent.kind){case 286:if(ae.parent.tagName===ae)return 19;break;case 287:if(ae.parent.tagName===ae)return 20;break;case 285:if(ae.parent.tagName===ae)return 21;break;case 291:if(ae.parent.name===ae)return 22;break}}function se(ae,Ce){if(uf(ae))return 3;if((ae===30||ae===32)&&Ce&&rSe(Ce.parent))return 10;if(W0e(ae)){if(Ce){const ne=Ce.parent;if(ae===64&&(ne.kind===260||ne.kind===172||ne.kind===169||ne.kind===291)||ne.kind===226||ne.kind===224||ne.kind===225||ne.kind===227)return 5}return 10}else{if(ae===9)return 4;if(ae===10)return 25;if(ae===11)return Ce&&Ce.parent.kind===291?24:6;if(ae===14)return 6;if(Bx(ae))return 6;if(ae===12)return 23;if(ae===80){if(Ce){switch(Ce.parent.kind){case 263:return Ce.parent.name===Ce?11:void 0;case 168:return Ce.parent.name===Ce?15:void 0;case 264:return Ce.parent.name===Ce?13:void 0;case 266:return Ce.parent.name===Ce?12:void 0;case 267:return Ce.parent.name===Ce?14:void 0;case 169:return Ce.parent.name===Ce?N2(Ce)?3:17:void 0}if(q3(Ce.parent))return 3}return 2}}}function ge(ae){if(ae&&RO(d,f,ae.pos,ae.getFullWidth())){Kit(t,ae.kind);for(const Ce of ae.getChildren(u))Y(Ce)||ge(Ce)}}}var Jit,$it=o({"src/services/classifier.ts"(){rr(),Jit=noe([80,11,9,10,14,110,46,47,22,24,20,112,97],t=>t,()=>!0)}}),JX,hRt=o({"src/services/documentHighlights.ts"(){rr(),(t=>{function u(pe,fe,xe,Be,Ge){const Ae=af(xe,Be);if(Ae.parent&&(aE(Ae.parent)&&Ae.parent.tagName===Ae||H2(Ae.parent))){const{openingElement:De,closingElement:Ke}=Ae.parent.parent,Je=[De,Ke].map(({tagName:ft})=>s(ft,xe));return[{fileName:xe.fileName,highlightSpans:Je}]}return d(Be,Ae,pe,fe,Ge)||f(Ae,xe)}t.getDocumentHighlights=u;function s(pe,fe){return{fileName:fe.fileName,textSpan:of(pe,fe),kind:"none"}}function d(pe,fe,xe,Be,Ge){const Ae=new Set(Ge.map(ft=>ft.fileName)),De=Z0.getReferenceEntriesForNode(pe,fe,xe,Ge,Be,void 0,Ae);if(!De)return;const Ke=mO(De.map(Z0.toHighlightSpan),ft=>ft.fileName,ft=>ft.span),Je=L1(xe.useCaseSensitiveFileNames());return ga(eo(Ke.entries(),([ft,Ye])=>{if(!Ae.has(ft)){if(!xe.redirectTargetsMap.has(J0(ft,xe.getCurrentDirectory(),Je)))return;const Ve=xe.getSourceFile(ft);ft=Le(Ge,Gt=>!!Gt.redirectInfo&&Gt.redirectInfo.redirectTarget===Ve).fileName,H.assert(Ae.has(ft))}return{fileName:ft,highlightSpans:Ye}}))}function f(pe,fe){const xe=p(pe,fe);return xe&&[{fileName:fe.fileName,highlightSpans:xe}]}function p(pe,fe){switch(pe.kind){case 101:case 93:return xk(pe.parent)?ve(pe.parent,fe):void 0;case 107:return Be(pe.parent,Op,ge);case 111:return Be(pe.parent,bce,se);case 113:case 85:case 98:const Ae=pe.kind===85?pe.parent.parent:pe.parent;return Be(Ae,Ck,oe);case 109:return Be(pe.parent,BV,Y);case 84:case 90:return TV(pe.parent)||BB(pe.parent)?Be(pe.parent.parent.parent,BV,Y):void 0;case 83:case 88:return Be(pe.parent,ON,K);case 99:case 117:case 92:return Be(pe.parent,De=>Tx(De,!0),J);case 137:return xe(hc,[137]);case 139:case 153:return xe(wx,[139,153]);case 135:return Be(pe.parent,Gx,ae);case 134:return Ge(ae(pe));case 127:return Ge(Ce(pe));case 103:return;default:return XD(pe.kind)&&(Q1(pe.parent)||Jl(pe.parent))?Ge(M(pe.kind,pe.parent)):void 0}function xe(Ae,De){return Be(pe.parent,Ae,Ke=>{var Je;return qi((Je=ur(Ke,Zg))==null?void 0:Je.symbol.declarations,ft=>Ae(ft)?Le(ft.getChildren(fe),Ye=>kt(De,Ye.kind)):void 0)})}function Be(Ae,De,Ke){return De(Ae)?Ge(Ke(Ae,fe)):void 0}function Ge(Ae){return Ae&&Ae.map(De=>s(De,fe))}}function E(pe){return bce(pe)?[pe]:Ck(pe)?Hi(pe.catchClause?E(pe.catchClause):pe.tryBlock&&E(pe.tryBlock),pe.finallyBlock&&E(pe.finallyBlock)):Co(pe)?void 0:B(pe,E)}function v(pe){let fe=pe;for(;fe.parent;){const xe=fe.parent;if(k2(xe)||xe.kind===312)return xe;if(Ck(xe)&&xe.tryBlock===fe&&xe.catchClause)return fe;fe=xe}}function b(pe){return ON(pe)?[pe]:Co(pe)?void 0:B(pe,b)}function B(pe,fe){const xe=[];return pe.forEachChild(Be=>{const Ge=fe(Be);Ge!==void 0&&xe.push(...YA(Ge))}),xe}function k(pe,fe){const xe=T(fe);return!!xe&&xe===pe}function T(pe){return Tn(pe,fe=>{switch(fe.kind){case 255:if(pe.kind===251)return!1;case 248:case 249:case 250:case 247:case 246:return!pe.label||Ne(fe,pe.label.escapedText);default:return Co(fe)&&"quit"}})}function M(pe,fe){return qi(z(fe,_7(pe)),xe=>ow(xe,pe))}function z(pe,fe){const xe=pe.parent;switch(xe.kind){case 268:case 312:case 241:case 296:case 297:return fe&64&&Wc(pe)?[...pe.members,pe]:xe.statements;case 176:case 174:case 262:return[...xe.parameters,...mr(xe.parent)?xe.parent.members:[]];case 263:case 231:case 264:case 187:const Be=xe.members;if(fe&15){const Ge=Le(xe.members,hc);if(Ge)return[...Be,...Ge.parameters]}else if(fe&64)return[...Be,xe];return Be;case 210:return;default:H.assertNever(xe,"Invalid container kind.")}}function j(pe,fe,...xe){return fe&&kt(xe,fe.kind)?(pe.push(fe),!0):!1}function J(pe){const fe=[];if(j(fe,pe.getFirstToken(),99,117,92)&&pe.kind===246){const xe=pe.getChildren();for(let Be=xe.length-1;Be>=0&&!j(fe,xe[Be],117);Be--);}return L(b(pe.statement),xe=>{k(pe,xe)&&j(fe,xe.getFirstToken(),83,88)}),fe}function K(pe){const fe=T(pe);if(fe)switch(fe.kind){case 248:case 249:case 250:case 246:case 247:return J(fe);case 255:return Y(fe)}}function Y(pe){const fe=[];return j(fe,pe.getFirstToken(),109),L(pe.caseBlock.clauses,xe=>{j(fe,xe.getFirstToken(),84,90),L(b(xe),Be=>{k(pe,Be)&&j(fe,Be.getFirstToken(),83)})}),fe}function oe(pe,fe){const xe=[];if(j(xe,pe.getFirstToken(),113),pe.catchClause&&j(xe,pe.catchClause.getFirstToken(),85),pe.finallyBlock){const Be=a0(pe,98,fe);j(xe,Be,98)}return xe}function se(pe,fe){const xe=v(pe);if(!xe)return;const Be=[];return L(E(xe),Ge=>{Be.push(a0(Ge,111,fe))}),k2(xe)&&y2(xe,Ge=>{Be.push(a0(Ge,107,fe))}),Be}function ge(pe,fe){const xe=Nm(pe);if(!xe)return;const Be=[];return y2(Po(xe.body,po),Ge=>{Be.push(a0(Ge,107,fe))}),L(E(xe.body),Ge=>{Be.push(a0(Ge,111,fe))}),Be}function ae(pe){const fe=Nm(pe);if(!fe)return;const xe=[];return fe.modifiers&&fe.modifiers.forEach(Be=>{j(xe,Be,134)}),ao(fe,Be=>{ne(Be,Ge=>{Gx(Ge)&&j(xe,Ge.getFirstToken(),135)})}),xe}function Ce(pe){const fe=Nm(pe);if(!fe)return;const xe=[];return ao(fe,Be=>{ne(Be,Ge=>{cY(Ge)&&j(xe,Ge.getFirstToken(),127)})}),xe}function ne(pe,fe){fe(pe),!Co(pe)&&!mr(pe)&&!xh(pe)&&!_c(pe)&&!jp(pe)&&!Xr(pe)&&ao(pe,xe=>ne(xe,fe))}function ve(pe,fe){const xe=Se(pe,fe),Be=[];for(let Ge=0;Ge=Ae.end;Je--)if(!qg(fe.text.charCodeAt(Je))){Ke=!1;break}if(Ke){Be.push({fileName:fe.fileName,textSpan:Vc(Ae.getStart(),De.end),kind:"reference"}),Ge++;continue}}Be.push(s(xe[Ge],fe))}return Be}function Se(pe,fe){const xe=[];for(;xk(pe.parent)&&pe.parent.elseStatement===pe;)pe=pe.parent;for(;;){const Be=pe.getChildren(fe);j(xe,Be[0],101);for(let Ge=Be.length-1;Ge>=0&&!j(xe,Be[Ge],93);Ge--);if(!pe.elseStatement||!xk(pe.elseStatement))break;pe=pe.elseStatement}return xe}function Ne(pe,fe){return!!Tn(pe.parent,xe=>V2(xe)?xe.label.escapedText===fe:"quit")}})(JX||(JX={}))}});function iK(t){return!!t.sourceFile}function OSe(t,u,s){return Vfe(t,u,s)}function Vfe(t,u="",s,d){const f=new Map,p=L1(!!t);function E(){const K=ga(f.keys()).filter(Y=>Y&&Y.charAt(0)==="_").map(Y=>{const oe=f.get(Y),se=[];return oe.forEach((ge,ae)=>{iK(ge)?se.push({name:ae,scriptKind:ge.sourceFile.scriptKind,refCount:ge.languageServiceRefCount}):ge.forEach((Ce,ne)=>se.push({name:ae,scriptKind:ne,refCount:Ce.languageServiceRefCount}))}),se.sort((ge,ae)=>ae.refCount-ge.refCount),{bucket:Y,sourceFiles:se}});return JSON.stringify(K,void 0,2)}function v(K){return typeof K.getCompilationSettings=="function"?K.getCompilationSettings():K}function b(K,Y,oe,se,ge,ae){const Ce=J0(K,u,p),ne=Hfe(v(Y));return B(K,Ce,Y,ne,oe,se,ge,ae)}function B(K,Y,oe,se,ge,ae,Ce,ne){return z(K,Y,oe,se,ge,ae,!0,Ce,ne)}function k(K,Y,oe,se,ge,ae){const Ce=J0(K,u,p),ne=Hfe(v(Y));return T(K,Ce,Y,ne,oe,se,ge,ae)}function T(K,Y,oe,se,ge,ae,Ce,ne){return z(K,Y,v(oe),se,ge,ae,!1,Ce,ne)}function M(K,Y){const oe=iK(K)?K:K.get(H.checkDefined(Y,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return H.assert(Y===void 0||!oe||oe.sourceFile.scriptKind===Y,`Script kind should match provided ScriptKind:${Y} and sourceFile.scriptKind: ${oe==null?void 0:oe.sourceFile.scriptKind}, !entry: ${!oe}`),oe}function z(K,Y,oe,se,ge,ae,Ce,ne,ve){var Se,Ne,pe,fe;ne=oZ(K,ne);const xe=v(oe),Be=oe===xe?void 0:oe,Ge=ne===6?100:Os(xe),Ae=typeof ve=="object"?ve:{languageVersion:Ge,impliedNodeFormat:Be&&bH(Y,(fe=(pe=(Ne=(Se=Be.getCompilerHost)==null?void 0:Se.call(Be))==null?void 0:Ne.getModuleResolutionCache)==null?void 0:pe.call(Ne))==null?void 0:fe.getPackageJsonInfoCache(),Be,xe),setExternalModuleIndicator:Qj(xe),jsDocParsingMode:s};Ae.languageVersion=Ge,H.assertEqual(s,Ae.jsDocParsingMode);const De=f.size,Ke=jSe(se,Ae.impliedNodeFormat),Je=W0(f,Ke,()=>new Map);if(Gn){f.size>De&&Gn.instant(Gn.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:xe.configFilePath,key:Ke});const We=!e1(Y)&&h1(f,(Gt,Yt)=>Yt!==Ke&&Gt.has(Y)&&Yt);We&&Gn.instant(Gn.Phase.Session,"documentRegistryBucketOverlap",{path:Y,key1:We,key2:Ke})}const ft=Je.get(Y);let Ye=ft&&M(ft,ne);if(!Ye&&d){const We=d.getDocument(Ke,Y);We&&(H.assert(Ce),Ye={sourceFile:We,languageServiceRefCount:0},Ve())}if(Ye)Ye.sourceFile.version!==ae&&(Ye.sourceFile=wme(Ye.sourceFile,ge,ae,ge.getChangeRange(Ye.sourceFile.scriptSnapshot)),d&&d.setDocument(Ke,Y,Ye.sourceFile)),Ce&&Ye.languageServiceRefCount++;else{const We=Eee(K,ge,Ae,ae,!1,ne);d&&d.setDocument(Ke,Y,We),Ye={sourceFile:We,languageServiceRefCount:1},Ve()}return H.assert(Ye.languageServiceRefCount!==0),Ye.sourceFile;function Ve(){if(!ft)Je.set(Y,Ye);else if(iK(ft)){const We=new Map;We.set(ft.sourceFile.scriptKind,ft),We.set(ne,Ye),Je.set(Y,We)}else ft.set(ne,Ye)}}function j(K,Y,oe,se){const ge=J0(K,u,p),ae=Hfe(Y);return J(ge,ae,oe,se)}function J(K,Y,oe,se){const ge=H.checkDefined(f.get(jSe(Y,se))),ae=ge.get(K),Ce=M(ae,oe);Ce.languageServiceRefCount--,H.assert(Ce.languageServiceRefCount>=0),Ce.languageServiceRefCount===0&&(iK(ae)?ge.delete(K):(ae.delete(oe),ae.size===1&&ge.set(K,ie(ae.values(),il))))}return{acquireDocument:b,acquireDocumentWithKey:B,updateDocument:k,updateDocumentWithKey:T,releaseDocument:j,releaseDocumentWithKey:J,getKeyForCompilationSettings:Hfe,getDocumentRegistryBucketKeyWithMode:jSe,reportStats:E,getBuckets:()=>f}}function Hfe(t){return vde(t,PY)}function jSe(t,u){return u?`${t}|${u}`:t}var fRt=o({"src/services/documentRegistry.ts"(){rr()}});function VSe(t,u,s,d,f,p,E){const v=Hj(d),b=L1(v),B=Kfe(u,s,b,E),k=Kfe(s,u,b,E);return iu.ChangeTracker.with({host:d,formatContext:f,preferences:p},T=>{pRt(t,T,B,u,s,d.getCurrentDirectory(),v),gRt(t,T,B,k,d,b)})}function Kfe(t,u,s,d){const f=s(t);return E=>{const v=d&&d.tryGetSourcePosition({fileName:E,pos:0}),b=p(v?v.fileName:E);return v?b===void 0?void 0:mRt(v.fileName,b,E,s):b};function p(E){if(s(E)===f)return u;const v=yle(E,f,s);return v===void 0?void 0:u+"/"+v}}function mRt(t,u,s,d){const f=SO(t,u,d);return HSe(lr(s),f)}function pRt(t,u,s,d,f,p,E){const{configFile:v}=t.getCompilerOptions();if(!v)return;const b=lr(v.fileName),B=ZN(v);if(!B)return;KSe(B,(z,j)=>{switch(j){case"files":case"include":case"exclude":{if(k(z)||j!=="include"||!Dh(z.initializer))return;const K=qi(z.initializer.elements,oe=>us(oe)?oe.text:void 0);if(K.length===0)return;const Y=aZ(b,[],K,E,p);jx(H.checkDefined(Y.includeFilePattern),E).test(d)&&!jx(H.checkDefined(Y.includeFilePattern),E).test(f)&&u.insertNodeAfter(v,Cr(z.initializer.elements),q.createStringLiteral(M(f)));return}case"compilerOptions":KSe(z.initializer,(J,K)=>{const Y=ede(K);H.assert((Y==null?void 0:Y.type)!=="listOrElement"),Y&&(Y.isFilePath||Y.type==="list"&&Y.element.isFilePath)?k(J):K==="paths"&&KSe(J.initializer,oe=>{if(Dh(oe.initializer))for(const se of oe.initializer.elements)T(se)})});return}});function k(z){const j=Dh(z.initializer)?z.initializer.elements:[z.initializer];let J=!1;for(const K of j)J=T(K)||J;return J}function T(z){if(!us(z))return!1;const j=HSe(b,z.text),J=s(j);return J!==void 0?(u.replaceRangeWithText(v,qit(z,v),M(J)),!0):!1}function M(z){return JE(b,z,!E)}}function gRt(t,u,s,d,f,p){const E=t.getSourceFiles();for(const v of E){const b=s(v.fileName),B=b??v.fileName,k=lr(B),T=d(v.fileName),M=T||v.fileName,z=lr(M),j=b!==void 0||T!==void 0;DRt(v,u,J=>{if(!om(J))return;const K=HSe(z,J),Y=s(K);return Y===void 0?void 0:h2(JE(k,Y,p))},J=>{const K=t.getTypeChecker().getSymbolAtLocation(J);if(K!=null&&K.declarations&&K.declarations.some(oe=>N1(oe)))return;const Y=T!==void 0?Uit(J,WB(J.text,M,t.getCompilerOptions(),f),s,E):_Rt(K,J,v,t,f,s);return Y!==void 0&&(Y.updated||j&&om(J.text))?Z2.updateModuleSpecifier(t.getCompilerOptions(),v,p(B),Y.newFileName,Ik(t,f),J.text):void 0})}}function ERt(t,u){return $o(cr(t,u))}function HSe(t,u){return h2(ERt(t,u))}function _Rt(t,u,s,d,f,p){if(t){const E=Le(t.declarations,la).fileName,v=p(E);return v===void 0?{newFileName:E,updated:!1}:{newFileName:v,updated:!0}}else{const E=xg(s,u),v=f.resolveModuleNameLiterals||!f.resolveModuleNames?d.getResolvedModule(s,u.text,E):f.getResolvedModuleWithFailedLookupLocationsFromCache&&f.getResolvedModuleWithFailedLookupLocationsFromCache(u.text,s.fileName,E);return Uit(u,v,p,d.getSourceFiles())}}function Uit(t,u,s,d){if(!u)return;if(u.resolvedModule){const b=v(u.resolvedModule.resolvedFileName);if(b)return b}const f=L(u.failedLookupLocations,p)||om(t.text)&&L(u.failedLookupLocations,E);if(f)return f;return u.resolvedModule&&{newFileName:u.resolvedModule.resolvedFileName,updated:!1};function p(b){const B=s(b);return B&&Le(d,k=>k.fileName===B)?E(b):void 0}function E(b){return sc(b,"/package.json")?void 0:v(b)}function v(b){const B=s(b);return B&&{newFileName:B,updated:!0}}}function DRt(t,u,s,d){for(const f of t.referencedFiles||_t){const p=s(f.fileName);p!==void 0&&p!==t.text.slice(f.pos,f.end)&&u.replaceRangeWithText(t,f,p)}for(const f of t.imports){const p=d(f);p!==void 0&&p!==f.text&&u.replaceRangeWithText(t,qit(f,t),p)}}function qit(t,u){return s4(t.getStart(u)+1,t.end-1)}function KSe(t,u){if(ys(t))for(const s of t.properties)Jc(s)&&us(s.name)&&u(s,s.name.text)}var xRt=o({"src/services/getEditsForFileRename.ts"(){rr()}});function WM(t,u){return{kind:t,isCaseSensitive:u}}function WSe(t){const u=new Map,s=t.trim().split(".").map(d=>yRt(d.trim()));if(s.length===1&&s[0].totalTextChunk.text==="")return{getMatchForLastSegmentOfPattern:()=>WM(2,!0),getFullMatch:()=>WM(2,!0),patternContainsDots:!1};if(!s.some(d=>!d.subWordTextChunks.length))return{getFullMatch:(d,f)=>vRt(d,f,s,u),getMatchForLastSegmentOfPattern:d=>GSe(d,Cr(s),u),patternContainsDots:s.length>1}}function vRt(t,u,s,d){if(!GSe(u,Cr(s),d)||s.length-1>t.length)return;let p;for(let E=s.length-2,v=t.length-1;E>=0;E-=1,v-=1)p=Qit(p,GSe(t[v],s[E],d));return p}function Zit(t,u){let s=u.get(t);return s||u.set(t,s=YSe(t)),s}function Yit(t,u,s){const d=kRt(t,u.textLowerCase);if(d===0)return WM(u.text.length===t.length?0:1,Pa(t,u.text));if(u.isLowerCase){if(d===-1)return;const f=Zit(t,s);for(const p of f)if(JSe(t,p,u.text,!0))return WM(2,JSe(t,p,u.text,!1));if(u.text.length0)return WM(2,!0);if(u.characterSpans.length>0){const f=Zit(t,s),p=Xit(t,f,u,!1)?!0:Xit(t,f,u,!0)?!1:void 0;if(p!==void 0)return WM(3,p)}}}function GSe(t,u,s){if(Wfe(u.totalTextChunk.text,p=>p!==32&&p!==42)){const p=Yit(t,u.totalTextChunk,s);if(p)return p}const d=u.subWordTextChunks;let f;for(const p of d)f=Qit(f,Yit(t,p,s));return f}function Qit(t,u){return ooe([t,u],CRt)}function CRt(t,u){return t===void 0?1:u===void 0?-1:nl(t.kind,u.kind)||d2(!t.isCaseSensitive,!u.isCaseSensitive)}function JSe(t,u,s,d,f={start:0,length:s.length}){return f.length<=u.length&&nnt(0,f.length,p=>bRt(s.charCodeAt(f.start+p),t.charCodeAt(u.start+p),d))}function bRt(t,u,s){return s?$Se(t)===$Se(u):t===u}function Xit(t,u,s,d){const f=s.characterSpans;let p=0,E=0;for(;;){if(E===f.length)return!0;if(p===u.length)return!1;let v=u[p],b=!1;for(;E=65&&t<=90)return!0;if(t<127||!kU(t,99))return!1;const u=String.fromCharCode(t);return u===u.toUpperCase()}function ent(t){if(t>=97&&t<=122)return!0;if(t<127||!kU(t,99))return!1;const u=String.fromCharCode(t);return u===u.toLowerCase()}function kRt(t,u){const s=t.length-u.length;for(let d=0;d<=s;d++)if(Wfe(u,(f,p)=>$Se(t.charCodeAt(p+d))===f))return d;return-1}function $Se(t){return t>=65&&t<=90?97+(t-65):t<127?t:String.fromCharCode(t).toLowerCase().charCodeAt(0)}function USe(t){return t>=48&&t<=57}function FRt(t){return dw(t)||ent(t)||USe(t)||t===95||t===36}function ARt(t){const u=[];let s=0,d=0;for(let f=0;f0&&(u.push(qSe(t.substr(s,d))),d=0)}return d>0&&u.push(qSe(t.substr(s,d))),u}function qSe(t){const u=t.toLowerCase();return{text:t,textLowerCase:u,isLowerCase:t===u,characterSpans:ZSe(t)}}function ZSe(t){return tnt(t,!1)}function YSe(t){return tnt(t,!0)}function tnt(t,u){const s=[];let d=0;for(let f=1;fQSe(d)&&d!==95,u,s)}function SRt(t,u,s){return u!==s&&u+1u(t.charCodeAt(f),f))}var $X,wRt=o({"src/services/patternMatcher.ts"(){rr(),$X=(t=>(t[t.exact=0]="exact",t[t.prefix=1]="prefix",t[t.substring=2]="substring",t[t.camelCase=3]="camelCase",t))($X||{})}});function unt(t,u=!0,s=!1){const d={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},f=[];let p,E,v,b=0,B=!1;function k(){return E=v,v=nh.scan(),v===19?b++:v===20&&b--,v}function T(){const ae=nh.getTokenValue(),Ce=nh.getTokenStart();return{fileName:ae,pos:Ce,end:Ce+ae.length}}function M(){p||(p=[]),p.push({ref:T(),depth:b})}function z(){f.push(T()),j()}function j(){b===0&&(B=!0)}function J(){let ae=nh.getToken();return ae===138?(ae=k(),ae===144&&(ae=k(),ae===11&&M()),!0):!1}function K(){if(E===25)return!1;let ae=nh.getToken();if(ae===102){if(ae=k(),ae===21){if(ae=k(),ae===11||ae===15)return z(),!0}else{if(ae===11)return z(),!0;if(ae===156&&nh.lookAhead(()=>{const ne=nh.scan();return ne!==161&&(ne===42||ne===19||ne===80||uf(ne))})&&(ae=k()),ae===80||uf(ae))if(ae=k(),ae===161){if(ae=k(),ae===11)return z(),!0}else if(ae===64){if(oe(!0))return!0}else if(ae===28)ae=k();else return!0;if(ae===19){for(ae=k();ae!==20&&ae!==1;)ae=k();ae===20&&(ae=k(),ae===161&&(ae=k(),ae===11&&z()))}else ae===42&&(ae=k(),ae===130&&(ae=k(),(ae===80||uf(ae))&&(ae=k(),ae===161&&(ae=k(),ae===11&&z()))))}return!0}return!1}function Y(){let ae=nh.getToken();if(ae===95){if(j(),ae=k(),ae===156&&nh.lookAhead(()=>{const ne=nh.scan();return ne===42||ne===19})&&(ae=k()),ae===19){for(ae=k();ae!==20&&ae!==1;)ae=k();ae===20&&(ae=k(),ae===161&&(ae=k(),ae===11&&z()))}else if(ae===42)ae=k(),ae===161&&(ae=k(),ae===11&&z());else if(ae===102&&(ae=k(),ae===156&&nh.lookAhead(()=>{const ne=nh.scan();return ne===80||uf(ne)})&&(ae=k()),(ae===80||uf(ae))&&(ae=k(),ae===64&&oe(!0))))return!0;return!0}return!1}function oe(ae,Ce=!1){let ne=ae?k():nh.getToken();return ne===149?(ne=k(),ne===21&&(ne=k(),(ne===11||Ce&&ne===15)&&z()),!0):!1}function se(){let ae=nh.getToken();if(ae===80&&nh.getTokenValue()==="define"){if(ae=k(),ae!==21)return!0;if(ae=k(),ae===11||ae===15)if(ae=k(),ae===28)ae=k();else return!0;if(ae!==23)return!0;for(ae=k();ae!==24&&ae!==1;)(ae===11||ae===15)&&z(),ae=k();return!0}return!1}function ge(){for(nh.setText(t),k();nh.getToken()!==1;){if(nh.getToken()===16){const ae=[nh.getToken()];e:for(;S(ae);){const Ce=nh.scan();switch(Ce){case 1:break e;case 102:K();break;case 16:ae.push(Ce);break;case 19:S(ae)&&ae.push(Ce);break;case 20:S(ae)&&(qu(ae)===16?nh.reScanTemplateToken(!1)===18&&ae.pop():ae.pop());break}}k()}J()||K()||Y()||s&&(oe(!1,!0)||se())||k()}nh.setText(void 0)}if(u&&ge(),Uce(d,t),qce(d,Is),B){if(p)for(const ae of p)f.push(ae.ref);return{referencedFiles:d.referencedFiles,typeReferenceDirectives:d.typeReferenceDirectives,libReferenceDirectives:d.libReferenceDirectives,importedFiles:f,isLibFile:!!d.hasNoDefaultLib,ambientExternalModules:void 0}}else{let ae;if(p)for(const Ce of p)Ce.depth===0?(ae||(ae=[]),ae.push(Ce.ref.fileName)):f.push(Ce.ref);return{referencedFiles:d.referencedFiles,typeReferenceDirectives:d.typeReferenceDirectives,libReferenceDirectives:d.libReferenceDirectives,importedFiles:f,isLibFile:!!d.hasNoDefaultLib,ambientExternalModules:ae}}}var TRt=o({"src/services/preProcess.ts"(){rr()}});function XSe(t){const u=L1(t.useCaseSensitiveFileNames()),s=t.getCurrentDirectory(),d=new Map,f=new Map;return{tryGetSourcePosition:v,tryGetGeneratedPosition:b,toLineColumnOffset:M,clearCache:z};function p(j){return J0(j,s,u)}function E(j,J){const K=p(j),Y=f.get(K);if(Y)return Y;let oe;if(t.getDocumentPositionMapper)oe=t.getDocumentPositionMapper(j,J);else if(t.readFile){const se=T(j);oe=se&&Gfe({getSourceFileLike:T,getCanonicalFileName:u,log:ge=>t.log(ge)},j,Kde(se.text,$3(se)),ge=>!t.fileExists||t.fileExists(ge)?t.readFile(ge):void 0)}return f.set(K,oe||rQ),oe||rQ}function v(j){if(!e1(j.fileName)||!B(j.fileName))return;const K=E(j.fileName).getSourcePosition(j);return!K||K===j?void 0:v(K)||K}function b(j){if(e1(j.fileName))return;const J=B(j.fileName);if(!J)return;const K=t.getProgram();if(K.isSourceOfProjectReferenceRedirect(J.fileName))return;const Y=K.getCompilerOptions(),oe=y0(Y),se=oe?_h(oe)+".d.ts":Mq(j.fileName,K.getCompilerOptions(),s,K.getCommonSourceDirectory(),u);if(se===void 0)return;const ge=E(se,j.fileName).getGeneratedPosition(j);return ge===j?void 0:ge}function B(j){const J=t.getProgram();if(!J)return;const K=p(j),Y=J.getSourceFileByPath(K);return Y&&Y.resolvedPath===K?Y:void 0}function k(j){const J=p(j),K=d.get(J);if(K!==void 0)return K||void 0;if(!t.readFile||t.fileExists&&!t.fileExists(J)){d.set(J,!1);return}const Y=t.readFile(J),oe=Y?LRt(Y):!1;return d.set(J,oe),oe||void 0}function T(j){return t.getSourceFileLike?t.getSourceFileLike(j):B(j)||k(j)}function M(j,J){return T(j).getLineAndCharacterOfPosition(J)}function z(){d.clear(),f.clear()}}function Gfe(t,u,s,d){let f=VAe(s);if(f){const v=ant.exec(f);if(v){if(v[1]){const b=v[1];return rnt(t,jye(c1,b),u)}f=void 0}}const p=[];f&&p.push(f),p.push(u+".map");const E=f&&$a(f,lr(u));for(const v of p){const b=$a(v,lr(u)),B=d(b,E);if(Ja(B))return rnt(t,B,b);if(B!==void 0)return B||void 0}}function rnt(t,u,s){const d=Wde(u);if(!(!d||!d.sources||!d.file||!d.mappings)&&!(d.sourcesContent&&d.sourcesContent.some(Ja)))return WAe(t,d,s)}function LRt(t,u){return{text:t,lineMap:u,getLineAndCharacterOfPosition(s){return k8($3(this),s)}}}var ant,NRt=o({"src/services/sourcemaps.ts"(){rr(),ant=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+/=]+)$)?/}});function Jfe(t,u,s){var d;u.getSemanticDiagnostics(t,s);const f=[],p=u.getTypeChecker();!(t.impliedNodeFormat===1||jc(t.fileName,[".cts",".cjs"]))&&t.commonJsModuleIndicator&&(cSe(u)||ufe(u.getCompilerOptions()))&&PRt(t)&&f.push(Su(RRt(t.commonJsModuleIndicator),F.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));const v=gh(t);if(Zfe.clear(),b(t),C7(u.getCompilerOptions()))for(const B of t.imports){const k=tP(B),T=MRt(k);if(!T)continue;const M=(d=u.getResolvedModule(t,B.text,xg(t,B)))==null?void 0:d.resolvedModule,z=M&&u.getSourceFile(M.resolvedFileName);z&&z.externalModuleIndicator&&z.externalModuleIndicator!==!0&&tc(z.externalModuleIndicator)&&z.externalModuleIndicator.isExportEquals&&f.push(Su(T,F.Import_may_be_converted_to_a_default_import))}return yn(f,t.bindSuggestionDiagnostics),yn(f,u.getSuggestionDiagnostics(t,s)),f.sort((B,k)=>B.start-k.start);function b(B){if(v)jRt(B,p)&&f.push(Su(ua(B.parent)?B.parent.name:B,F.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(Jl(B)&&B.parent===t&&B.declarationList.flags&2&&B.declarationList.declarations.length===1){const T=B.declarationList.declarations[0].initializer;T&&xf(T,!0)&&f.push(Su(T,F.require_call_may_be_converted_to_an_import))}const k=z1.getJSDocTypedefNodes(B);for(const T of k)f.push(Su(T,F.JSDoc_typedef_may_be_converted_to_TypeScript_type));z1.parameterShouldGetTypeFromJSDoc(B)&&f.push(Su(B.name||B,F.JSDoc_types_may_be_moved_to_TypeScript_types))}qfe(B)&&zRt(B,p,f),B.forEachChild(b)}}function PRt(t){return t.statements.some(u=>{switch(u.kind){case 243:return u.declarationList.declarations.some(s=>!!s.initializer&&xf(ont(s.initializer),!0));case 244:{const{expression:s}=u;if(!Xn(s))return xf(s,!0);const d=Xl(s);return d===1||d===2}default:return!1}})}function ont(t){return Iu(t)?ont(t.expression):t}function MRt(t){switch(t.kind){case 272:const{importClause:u,moduleSpecifier:s}=t;return u&&!u.name&&u.namedBindings&&u.namedBindings.kind===274&&us(s)?u.namedBindings.name:void 0;case 271:return t.name;default:return}}function zRt(t,u,s){IRt(t,u)&&!Zfe.has(dnt(t))&&s.push(Su(!t.name&&ua(t.parent)&&at(t.parent.name)?t.parent.name:t,F.This_may_be_converted_to_an_async_function))}function IRt(t,u){return!aP(t)&&t.body&&po(t.body)&&ORt(t.body,u)&&$fe(t,u)}function $fe(t,u){const s=u.getSignatureFromDeclaration(t),d=s?u.getReturnTypeOfSignature(s):void 0;return!!d&&!!u.getPromisedTypeOfPromise(d)}function RRt(t){return Xn(t)?t.left:t}function ORt(t,u){return!!y2(t,s=>UX(s,u))}function UX(t,u){return Op(t)&&!!t.expression&&Ufe(t.expression,u)}function Ufe(t,u){if(!snt(t)||!lnt(t)||!t.arguments.every(d=>cnt(d,u)))return!1;let s=t.expression.expression;for(;snt(s)||Iu(s);)if(Mo(s)){if(!lnt(s)||!s.arguments.every(d=>cnt(d,u)))return!1;s=s.expression.expression}else s=s.expression;return!0}function snt(t){return Mo(t)&&(NH(t,"then")||NH(t,"catch")||NH(t,"finally"))}function lnt(t){const u=t.expression.name.text,s=u==="then"?2:u==="catch"||u==="finally"?1:0;return t.arguments.length>s?!1:t.arguments.lengthd.kind===106||at(d)&&d.text==="undefined")}function cnt(t,u){switch(t.kind){case 262:case 218:if(kd(t)&1)return!1;case 219:Zfe.set(dnt(t),!0);case 106:return!0;case 80:case 211:{const d=u.getSymbolAtLocation(t);return d?u.isUndefinedSymbol(d)||Oe(X1(d,u).declarations,f=>Co(f)||Nx(f)&&!!f.initializer&&Co(f.initializer)):!1}default:return!1}}function dnt(t){return`${t.pos.toString()}:${t.end.toString()}`}function jRt(t,u){var s,d,f,p;if(A0(t)){if(ua(t.parent)&&((s=t.symbol.members)!=null&&s.size))return!0;const E=u.getSymbolOfExpando(t,!1);return!!(E&&((d=E.exports)!=null&&d.size||(f=E.members)!=null&&f.size))}return ed(t)?!!((p=t.symbol.members)!=null&&p.size):!1}function qfe(t){switch(t.kind){case 262:case 174:case 218:case 219:return!0;default:return!1}}var Zfe,VRt=o({"src/services/suggestionDiagnostics.ts"(){rr(),Zfe=new Map}});function e8e(t,u){const s=[],d=u.compilerOptions?Yfe(u.compilerOptions,s):{},f=gee();for(const M in f)gu(f,M)&&d[M]===void 0&&(d[M]=f[M]);for(const M of gde)d.verbatimModuleSyntax&&fnt.has(M.name)||(d[M.name]=M.transpileOptionValue);d.suppressOutputPathCheck=!0,d.allowNonTsExtensions=!0;const p=a5(d),E={getSourceFile:M=>M===$o(v)?b:void 0,writeFile:(M,z)=>{Ml(M,".map")?(H.assertEqual(k,void 0,"Unexpected multiple source map outputs, file:",M),k=z):(H.assertEqual(B,void 0,"Unexpected multiple outputs, file:",M),B=z)},getDefaultLibFileName:()=>"lib.d.ts",useCaseSensitiveFileNames:()=>!1,getCanonicalFileName:M=>M,getCurrentDirectory:()=>"",getNewLine:()=>p,fileExists:M=>M===v,readFile:()=>"",directoryExists:()=>!0,getDirectories:()=>[]},v=u.fileName||(u.compilerOptions&&u.compilerOptions.jsx?"module.tsx":"module.ts"),b=KV(v,t,{languageVersion:Os(d),impliedNodeFormat:bH(J0(v,"",E.getCanonicalFileName),void 0,E,d),setExternalModuleIndicator:Qj(d),jsDocParsingMode:u.jsDocParsingMode??0});u.moduleName&&(b.moduleName=u.moduleName),u.renamedDependencies&&(b.renamedDependencies=new Map(Object.entries(u.renamedDependencies)));let B,k;const T=SQ([v],d,E);return u.reportDiagnostics&&(yn(s,T.getSyntacticDiagnostics(b)),yn(s,T.getOptionsDiagnostics())),T.emit(void 0,void 0,void 0,void 0,u.transformers),B===void 0?H.fail("Output generation failed"):{outputText:B,diagnostics:s,sourceMapText:k}}function hnt(t,u,s,d,f){const p=e8e(t,{compilerOptions:u,fileName:s,reportDiagnostics:!!d,moduleName:f});return yn(d,p.diagnostics),p.outputText}function Yfe(t,u){t8e=t8e||ti(a3,s=>typeof s.type=="object"&&!h1(s.type,d=>typeof d!="number")),t=Qhe(t);for(const s of t8e){if(!gu(t,s.name))continue;const d=t[s.name];Ja(d)?t[s.name]=BY(s,d,u):h1(s.type,f=>f===d)||u.push(GFe(s))}return t}var fnt,t8e,HRt=o({"src/services/transpile.ts"(){rr(),fnt=new Set(["isolatedModules","preserveValueImports","importsNotUsedAsValues"])}});function mnt(t,u,s,d,f,p,E){const v=WSe(d);if(!v)return _t;const b=[],B=t.length===1?t[0]:void 0;for(const k of t)s.throwIfCancellationRequested(),!(p&&k.isDeclarationFile)&&(pnt(k,!!E,B)||k.getNamedDeclarations().forEach((T,M)=>{KRt(v,M,T,u,k.fileName,!!E,B,b)}));return b.sort($Rt),(f===void 0?b:b.slice(0,f)).map(URt)}function pnt(t,u,s){return t!==s&&u&&(XH(t.path)||t.hasNoDefaultLib)}function KRt(t,u,s,d,f,p,E,v){const b=t.getMatchForLastSegmentOfPattern(u);if(b){for(const B of s)if(WRt(B,d,p,E))if(t.patternContainsDots){const k=t.getFullMatch(JRt(B),u);k&&v.push({name:u,fileName:f,matchKind:k.kind,isCaseSensitive:k.isCaseSensitive,declaration:B})}else v.push({name:u,fileName:f,matchKind:b.kind,isCaseSensitive:b.isCaseSensitive,declaration:B})}}function WRt(t,u,s,d){var f;switch(t.kind){case 273:case 276:case 271:const p=u.getSymbolAtLocation(t.name),E=u.getAliasedSymbol(p);return p.escapedName!==E.escapedName&&!((f=E.declarations)!=null&&f.every(v=>pnt(v.getSourceFile(),s,d)));default:return!0}}function GRt(t,u){const s=Za(t);return!!s&&(gnt(s,u)||s.kind===167&&i8e(s.expression,u))}function i8e(t,u){return gnt(t,u)||Iu(t)&&(u.push(t.name.text),!0)&&i8e(t.expression,u)}function gnt(t,u){return Xg(t)&&(u.push(J4(t)),!0)}function JRt(t){const u=[],s=Za(t);if(s&&s.kind===167&&!i8e(s.expression,u))return _t;u.shift();let d=Mk(t);for(;d;){if(!GRt(d,u))return _t;d=Mk(d)}return u.reverse()}function $Rt(t,u){return nl(t.matchKind,u.matchKind)||pO(t.name,u.name)}function URt(t){const u=t.declaration,s=Mk(u),d=s&&Za(s);return{name:t.name,kind:tb(u),kindModifiers:NM(u),matchKind:$X[t.matchKind],isCaseSensitive:t.isCaseSensitive,fileName:t.fileName,textSpan:of(u),containerName:d?d.text:"",containerKind:d?tb(s):""}}var qRt=o({"src/services/navigateTo.ts"(){rr()}}),n8e={};h(n8e,{getNavigateToItems:()=>mnt});var Ent=o({"src/services/_namespaces/ts.NavigateTo.ts"(){qRt()}});function _nt(t,u){tme=u,nK=t;try{return Vt(eOt(Cnt(t)),tOt)}finally{xnt()}}function Dnt(t,u){tme=u,nK=t;try{return Tnt(Cnt(t))}finally{xnt()}}function xnt(){nK=void 0,tme=void 0,uK=[],_5=void 0,ime=[]}function qX(t){return GM(t.getText(nK))}function Qfe(t){return t.node.kind}function vnt(t,u){t.children?t.children.push(u):t.children=[u]}function Cnt(t){H.assert(!uK.length);const u={node:t,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};_5=u;for(const s of t.statements)r9(s);return $v(),H.assert(!_5&&!uK.length),u}function ub(t,u){vnt(_5,u8e(t,u))}function u8e(t,u){return{node:t,name:u||(Q1(t)||Wt(t)?Za(t):void 0),additionalNodes:void 0,parent:_5,children:void 0,indent:_5.indent+1}}function bnt(t){hw||(hw=new Map),hw.set(t,!0)}function ynt(t){for(let u=0;u0;d--){const f=s[d];rb(t,f)}return[s.length-1,s[0]]}function rb(t,u){const s=u8e(t,u);vnt(_5,s),uK.push(_5),h8e.push(hw),hw=void 0,_5=s}function $v(){_5.children&&(Xfe(_5.children,_5),o8e(_5.children)),_5=uK.pop(),hw=h8e.pop()}function Uv(t,u,s){rb(t,s),r9(u),$v()}function Fnt(t){t.initializer&&nOt(t.initializer)?(rb(t),ao(t.initializer,r9),$v()):Uv(t,t.initializer)}function r8e(t){const u=Za(t);if(u===void 0)return!1;if(Ps(u)){const s=u.expression;return ec(s)||Of(s)||Pm(s)}return!!u}function r9(t){if(tme.throwIfCancellationRequested(),!(!t||u7(t)))switch(t.kind){case 176:const u=t;Uv(u,u.body);for(const E of u.parameters)Mf(E,u)&&ub(E);break;case 174:case 177:case 178:case 173:r8e(t)&&Uv(t,t.body);break;case 172:r8e(t)&&Fnt(t);break;case 171:r8e(t)&&ub(t);break;case 273:const s=t;s.name&&ub(s.name);const{namedBindings:d}=s;if(d)if(d.kind===274)ub(d);else for(const E of d.elements)ub(E);break;case 304:Uv(t,t.name);break;case 305:const{expression:f}=t;at(f)?ub(t,f):ub(t);break;case 208:case 303:case 260:{const E=t;So(E.name)?r9(E.name):Fnt(E);break}case 262:const p=t.name;p&&at(p)&&bnt(p.text),Uv(t,t.body);break;case 219:case 218:Uv(t,t.body);break;case 266:rb(t);for(const E of t.members)iOt(E)||ub(E);$v();break;case 263:case 231:case 264:rb(t);for(const E of t.members)r9(E);$v();break;case 267:Uv(t,Nnt(t).body);break;case 277:{const E=t.expression,v=ys(E)||Mo(E)?E:q0(E)||A0(E)?E.body:void 0;v?(rb(t),r9(v),$v()):ub(t);break}case 281:case 271:case 181:case 179:case 180:case 265:ub(t);break;case 213:case 226:{const E=Xl(t);switch(E){case 1:case 2:Uv(t,t.right);return;case 6:case 3:{const v=t,b=v.left,B=E===3?b.expression:b;let k=0,T;at(B.expression)?(bnt(B.expression.text),T=B.expression):[k,T]=knt(v,B.expression),E===6?ys(v.right)&&v.right.properties.length>0&&(rb(v,T),ao(v.right,r9),$v()):A0(v.right)||q0(v.right)?Uv(t,v.right,T):(rb(v,T),Uv(t,v.right,b.name),$v()),ynt(k);return}case 7:case 9:{const v=t,b=E===7?v.arguments[0]:v.arguments[0].expression,B=v.arguments[1],[k,T]=knt(t,b);rb(t,T),rb(t,Pt(q.createIdentifier(B.text),B)),r9(t.arguments[2]),$v(),$v(),ynt(k);return}case 5:{const v=t,b=v.left,B=b.expression;if(at(B)&&Q3(b)!=="prototype"&&hw&&hw.has(B.text)){A0(v.right)||q0(v.right)?Uv(t,v.right,B):A2(b)&&(rb(v,B),Uv(v.left,v.right,bj(b)),$v());return}break}case 4:case 0:case 8:break;default:H.assertNever(E)}}default:lm(t)&&L(t.jsDoc,E=>{L(E.tags,v=>{G4(v)&&ub(v)})}),ao(t,r9)}}function Xfe(t,u){const s=new Map;Uu(t,(d,f)=>{const p=d.name||Za(d.node),E=p&&qX(p);if(!E)return!0;const v=s.get(E);if(!v)return s.set(E,d),!0;if(v instanceof Array){for(const b of v)if(Ant(b,d,f,u))return!1;return v.push(d),!0}else{const b=v;return Ant(b,d,f,u)?!1:(s.set(E,[b,d]),!0)}})}function ZRt(t,u,s,d){function f(v){return A0(v)||ed(v)||ua(v)}const p=Xn(u.node)||Mo(u.node)?Xl(u.node):0,E=Xn(t.node)||Mo(t.node)?Xl(t.node):0;if(JM[p]&&JM[E]||f(t.node)&&JM[p]||f(u.node)&&JM[E]||Wc(t.node)&&a8e(t.node)&&JM[p]||Wc(u.node)&&JM[E]||Wc(t.node)&&a8e(t.node)&&f(u.node)||Wc(u.node)&&f(t.node)&&a8e(t.node)){let v=t.additionalNodes&&qu(t.additionalNodes)||t.node;if(!Wc(t.node)&&!Wc(u.node)||f(t.node)||f(u.node)){const B=f(t.node)?t.node:f(u.node)?u.node:void 0;if(B!==void 0){const k=Pt(q.createConstructorDeclaration(void 0,[],void 0),B),T=u8e(k);T.indent=t.indent+1,T.children=t.node===B?t.children:u.children,t.children=t.node===B?Hi([T],u.children||[u]):Hi(t.children||[{...t}],[T])}else(t.children||u.children)&&(t.children=Hi(t.children||[{...t}],u.children||[u]),t.children&&(Xfe(t.children,t),o8e(t.children)));v=t.node=Pt(q.createClassDeclaration(void 0,t.name||q.createIdentifier("__class__"),void 0,void 0,[]),t.node)}else t.children=Hi(t.children,u.children),t.children&&Xfe(t.children,t);const b=u.node;return d.children[s-1].node.end===v.end?Pt(v,{pos:v.pos,end:b.end}):(t.additionalNodes||(t.additionalNodes=[]),t.additionalNodes.push(Pt(q.createClassDeclaration(void 0,t.name||q.createIdentifier("__class__"),void 0,void 0,[]),u.node))),!0}return p!==0}function Ant(t,u,s,d){return ZRt(t,u,s,d)?!0:YRt(t.node,u.node,d)?(QRt(t,u),!0):!1}function YRt(t,u,s){if(t.kind!==u.kind||t.parent!==u.parent&&!(Snt(t,s)&&Snt(u,s)))return!1;switch(t.kind){case 172:case 174:case 177:case 178:return No(t)===No(u);case 267:return Bnt(t,u)&&c8e(t)===c8e(u);default:return!0}}function a8e(t){return!!(t.flags&16)}function Snt(t,u){const s=rE(t.parent)?t.parent.parent:t.parent;return s===u.node||kt(u.additionalNodes,s)}function Bnt(t,u){return!t.body||!u.body?t.body===u.body:t.body.kind===u.body.kind&&(t.body.kind!==267||Bnt(t.body,u.body))}function QRt(t,u){t.additionalNodes=t.additionalNodes||[],t.additionalNodes.push(u.node),u.additionalNodes&&t.additionalNodes.push(...u.additionalNodes),t.children=Hi(t.children,u.children),t.children&&(Xfe(t.children,t),o8e(t.children))}function o8e(t){t.sort(XRt)}function XRt(t,u){return pO(wnt(t.node),wnt(u.node))||nl(Qfe(t),Qfe(u))}function wnt(t){if(t.kind===267)return Lnt(t);const u=Za(t);if(u&&Sc(u)){const s=sk(u);return s&&Qr(s)}switch(t.kind){case 218:case 219:case 231:return Mnt(t);default:return}}function s8e(t,u){if(t.kind===267)return GM(Lnt(t));if(u){const s=at(u)?u.text:U0(u)?`[${qX(u.argumentExpression)}]`:qX(u);if(s.length>0)return GM(s)}switch(t.kind){case 312:const s=t;return wc(s)?`"${Av(Ac(_h($o(s.fileName))))}"`:"";case 277:return tc(t)&&t.isExportEquals?"export=":"default";case 219:case 262:case 218:case 263:case 231:return Rx(t)&2048?"default":Mnt(t);case 176:return"constructor";case 180:return"new()";case 179:return"()";case 181:return"[]";default:return""}}function eOt(t){const u=[];function s(f){if(d(f)&&(u.push(f),f.children))for(const p of f.children)s(p)}return s(t),u;function d(f){if(f.children)return!0;switch(Qfe(f)){case 263:case 231:case 266:case 264:case 267:case 312:case 265:case 353:case 345:return!0;case 219:case 262:case 218:return p(f);default:return!1}function p(E){if(!E.node.body)return!1;switch(Qfe(E.parent)){case 268:case 312:case 174:case 176:return!0;default:return!1}}}}function Tnt(t){return{text:s8e(t.node,t.name),kind:tb(t.node),kindModifiers:Pnt(t.node),spans:l8e(t),nameSpan:t.name&&d8e(t.name),childItems:Vt(t.children,Tnt)}}function tOt(t){return{text:s8e(t.node,t.name),kind:tb(t.node),kindModifiers:Pnt(t.node),spans:l8e(t),childItems:Vt(t.children,u)||ime,indent:t.indent,bolded:!1,grayed:!1};function u(s){return{text:s8e(s.node,s.name),kind:tb(s.node),kindModifiers:NM(s.node),spans:l8e(s),childItems:ime,indent:0,bolded:!1,grayed:!1}}}function l8e(t){const u=[d8e(t.node)];if(t.additionalNodes)for(const s of t.additionalNodes)u.push(d8e(s));return u}function Lnt(t){return N1(t)?Hc(t.name):c8e(t)}function c8e(t){const u=[J4(t.name)];for(;t.body&&t.body.kind===267;)t=t.body,u.push(J4(t.name));return u.join(".")}function Nnt(t){return t.body&&_c(t.body)?Nnt(t.body):t}function iOt(t){return!t.name||t.name.kind===167}function d8e(t){return t.kind===312?qx(t):of(t,nK)}function Pnt(t){return t.parent&&t.parent.kind===260&&(t=t.parent),NM(t)}function Mnt(t){const{parent:u}=t;if(t.name&&ij(t.name)>0)return GM(b0(t.name));if(ua(u))return GM(b0(u.name));if(Xn(u)&&u.operatorToken.kind===64)return qX(u.left).replace(Int,"");if(Jc(u))return qX(u.name);if(Rx(t)&2048)return"default";if(mr(t))return"";if(Mo(u)){let s=znt(u.expression);if(s!==void 0){if(s=GM(s),s.length>eme)return`${s} callback`;const d=GM(qi(u.arguments,f=>t0(f)?f.getText(nK):void 0).join(", "));return`${s}(${d}) callback`}}return""}function znt(t){if(at(t))return t.text;if(Iu(t)){const u=znt(t.expression),s=t.name.text;return u===void 0?s:`${u}.${s}`}else return}function nOt(t){switch(t.kind){case 219:case 218:case 231:return!0;default:return!1}}function GM(t){return t=t.length>eme?t.substring(0,eme)+"...":t,t.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}var Int,eme,tme,nK,uK,_5,h8e,hw,ime,JM,uOt=o({"src/services/navigationBar.ts"(){rr(),Int=/\s+/g,eme=150,uK=[],h8e=[],ime=[],JM={5:!0,3:!0,7:!0,9:!0,0:!1,1:!1,2:!1,8:!1,6:!0,4:!1}}}),f8e={};h(f8e,{getNavigationBarItems:()=>_nt,getNavigationTree:()=>Dnt});var Rnt=o({"src/services/_namespaces/ts.NavigationBar.ts"(){uOt()}});function s3(t,u){nme.set(t,u)}function rOt(t,u){return ga(pa(nme.values(),s=>{var d;return t.cancellationToken&&t.cancellationToken.isCancellationRequested()||!((d=s.kinds)!=null&&d.some(f=>qv(f,t.kind)))?void 0:s.getAvailableActions(t,u)}))}function aOt(t,u,s,d){const f=nme.get(u);return f&&f.getEditsForAction(t,s,d)}var nme,Ont=o({"src/services/refactorProvider.ts"(){rr(),s_(),nme=new Map}});function jnt(t,u=!0){const{file:s,program:d}=t,f=u9(t),p=Ca(s,f.start),E=p.parent&&Rx(p.parent)&32&&u?p.parent:JH(p,s,f);if(!E||!la(E.parent)&&!(rE(E.parent)&&N1(E.parent.parent)))return{error:to(F.Could_not_find_export_statement)};const v=d.getTypeChecker(),b=hOt(E.parent,v),B=Rx(E)||(tc(E)&&!E.isExportEquals?2080:0),k=!!(B&2048);if(!(B&32)||!k&&b.exports.has("default"))return{error:to(F.This_file_already_has_a_default_export)};const T=M=>at(M)&&v.getSymbolAtLocation(M)?void 0:{error:to(F.Can_only_convert_named_export)};switch(E.kind){case 262:case 263:case 264:case 266:case 265:case 267:{const M=E;return M.name?T(M.name)||{exportNode:M,exportName:M.name,wasDefault:k,exportingModuleSymbol:b}:void 0}case 243:{const M=E;if(!(M.declarationList.flags&2)||M.declarationList.declarations.length!==1)return;const z=Pn(M.declarationList.declarations);return z.initializer?(H.assert(!k,"Can't have a default flag here"),T(z.name)||{exportNode:M,exportName:z.name,wasDefault:k,exportingModuleSymbol:b}):void 0}case 277:{const M=E;return M.isExportEquals?void 0:T(M.expression)||{exportNode:M,exportName:M.expression,wasDefault:k,exportingModuleSymbol:b}}default:return}}function oOt(t,u,s,d,f){sOt(t,s,d,u.getTypeChecker()),lOt(u,s,d,f)}function sOt(t,{wasDefault:u,exportNode:s,exportName:d},f,p){if(u)if(tc(s)&&!s.isExportEquals){const E=s.expression,v=Vnt(E.text,E.text);f.replaceNode(t,s,q.createExportDeclaration(void 0,!1,q.createNamedExports([v])))}else f.delete(t,H.checkDefined(ow(s,90),"Should find a default keyword in modifier list"));else{const E=H.checkDefined(ow(s,95),"Should find an export keyword in modifier list");switch(s.kind){case 262:case 263:case 264:f.insertNodeAfter(t,E,q.createToken(90));break;case 243:const v=Pn(s.declarationList.declarations);if(!Z0.Core.isSymbolReferencedInFile(d,p,t)&&!v.type){f.replaceNode(t,s,q.createExportDefault(H.checkDefined(v.initializer,"Initializer was previously known to be present")));break}case 266:case 265:case 267:f.deleteModifier(t,E),f.insertNodeAfter(t,s,q.createExportDefault(q.createIdentifier(d.text)));break;default:H.fail(`Unexpected exportNode kind ${s.kind}`)}}}function lOt(t,{wasDefault:u,exportName:s,exportingModuleSymbol:d},f,p){const E=t.getTypeChecker(),v=H.checkDefined(E.getSymbolAtLocation(s),"Export name should resolve to a symbol");Z0.Core.eachExportReference(t.getSourceFiles(),E,p,v,d,s.text,u,b=>{if(s===b)return;const B=b.getSourceFile();u?cOt(B,b,f,s.text):dOt(B,b,f)})}function cOt(t,u,s,d){const{parent:f}=u;switch(f.kind){case 211:s.replaceNode(t,u,q.createIdentifier(d));break;case 276:case 281:{const E=f;s.replaceNode(t,E,m8e(d,E.name.text));break}case 273:{const E=f;H.assert(E.name===u,"Import clause name should match provided ref");const v=m8e(d,u.text),{namedBindings:b}=E;if(!b)s.replaceNode(t,u,q.createNamedImports([v]));else if(b.kind===274){s.deleteRange(t,{pos:u.getStart(t),end:b.getStart(t)});const B=us(E.parent.moduleSpecifier)?afe(E.parent.moduleSpecifier,t):1,k=g5(void 0,[m8e(d,u.text)],E.parent.moduleSpecifier,B);s.insertNodeAfter(t,E.parent,k)}else s.delete(t,u),s.insertNodeAtEndOfList(t,b.elements,v);break}case 205:const p=f;s.replaceNode(t,f,q.createImportTypeNode(p.argument,p.attributes,q.createIdentifier(d),p.typeArguments,p.isTypeOf));break;default:H.failBadSyntaxKind(f)}}function dOt(t,u,s){const d=u.parent;switch(d.kind){case 211:s.replaceNode(t,u,q.createIdentifier("default"));break;case 276:{const f=q.createIdentifier(d.name.text);d.parent.elements.length===1?s.replaceNode(t,d.parent,f):(s.delete(t,d),s.insertNodeBefore(t,d.parent,f));break}case 281:{s.replaceNode(t,d,Vnt("default",d.name.text));break}default:H.assertNever(d,`Unexpected parent kind ${d.kind}`)}}function m8e(t,u){return q.createImportSpecifier(!1,t===u?void 0:q.createIdentifier(t),q.createIdentifier(u))}function Vnt(t,u){return q.createExportSpecifier(!1,t===u?void 0:q.createIdentifier(t),q.createIdentifier(u))}function hOt(t,u){if(la(t))return t.symbol;const s=t.parent.symbol;return s.valueDeclaration&&v2(s.valueDeclaration)?u.getMergedSymbol(s):s}var ume,ZX,YX,fOt=o({"src/services/refactors/convertExport.ts"(){rr(),s_(),ume="Convert export",ZX={name:"Convert default export to named export",description:to(F.Convert_default_export_to_named_export),kind:"refactor.rewrite.export.named"},YX={name:"Convert named export to default export",description:to(F.Convert_named_export_to_default_export),kind:"refactor.rewrite.export.default"},s3(ume,{kinds:[ZX.kind,YX.kind],getAvailableActions:function(u){const s=jnt(u,u.triggerReason==="invoked");if(!s)return _t;if(!sD(s)){const d=s.wasDefault?ZX:YX;return[{name:ume,description:d.description,actions:[d]}]}return u.preferences.provideRefactorNotApplicableReason?[{name:ume,description:to(F.Convert_default_export_to_named_export),actions:[{...ZX,notApplicableReason:s.error},{...YX,notApplicableReason:s.error}]}]:_t},getEditsForAction:function(u,s){H.assert(s===ZX.name||s===YX.name,"Unexpected action name");const d=jnt(u);return H.assert(d&&!sD(d),"Expected applicable refactor info"),{edits:iu.ChangeTracker.with(u,p=>oOt(u.file,u.program,d,p,u.cancellationToken)),renameFilename:void 0,renameLocation:void 0}}})}});function Hnt(t,u=!0){const{file:s}=t,d=u9(t),f=Ca(s,d.start),p=u?Tn(f,Sd):JH(f,s,d);if(!p||!Sd(p))return{error:"Selection is not an import declaration."};const E=d.start+d.length,v=ib(p,p.parent,s);if(v&&E>v.getStart())return;const{importClause:b}=p;return b?b.namedBindings?b.namedBindings.kind===274?{convertTo:0,import:b.namedBindings}:Knt(t.program,b)?{convertTo:1,import:b.namedBindings}:{convertTo:2,import:b.namedBindings}:{error:to(F.Could_not_find_namespace_import_or_named_imports)}:{error:to(F.Could_not_find_import_clause)}}function Knt(t,u){return C7(t.getCompilerOptions())&&EOt(u.parent.moduleSpecifier,t.getTypeChecker())}function mOt(t,u,s,d){const f=u.getTypeChecker();d.convertTo===0?pOt(t,f,s,d.import,C7(u.getCompilerOptions())):Gnt(t,u,s,d.import,d.convertTo===1)}function pOt(t,u,s,d,f){let p=!1;const E=[],v=new Map;Z0.Core.eachSymbolReferenceInFile(d.name,u,t,T=>{if(!obe(T.parent))p=!0;else{const M=Wnt(T.parent).text;u.resolveName(M,T,67108863,!0)&&v.set(M,!0),H.assert(gOt(T.parent)===T,"Parent expression should match id"),E.push(T.parent)}});const b=new Map;for(const T of E){const M=Wnt(T).text;let z=b.get(M);z===void 0&&b.set(M,z=v.has(M)?Ok(M,t):M),s.replaceNode(t,T,q.createIdentifier(z))}const B=[];b.forEach((T,M)=>{B.push(q.createImportSpecifier(!1,T===M?void 0:q.createIdentifier(M),q.createIdentifier(T)))});const k=d.parent.parent;p&&!f?s.insertNodeAfter(t,k,p8e(k,void 0,B)):s.replaceNode(t,k,p8e(k,p?q.createIdentifier(d.name.text):void 0,B))}function Wnt(t){return Iu(t)?t.name:t.right}function gOt(t){return Iu(t)?t.expression:t.left}function Gnt(t,u,s,d,f=Knt(u,d.parent)){const p=u.getTypeChecker(),E=d.parent.parent,{moduleSpecifier:v}=E,b=new Set;d.elements.forEach(j=>{const J=p.getSymbolAtLocation(j.name);J&&b.add(J)});const B=v&&us(v)?z1.moduleSpecifierToValidIdentifier(v.text,99):"module";function k(j){return!!Z0.Core.eachSymbolReferenceInFile(j.name,p,t,J=>{const K=p.resolveName(B,J,67108863,!0);return K?b.has(K)?eh(J.parent):!0:!1})}const M=d.elements.some(k)?Ok(B,t):B,z=new Set;for(const j of d.elements){const J=(j.propertyName||j.name).text;Z0.Core.eachSymbolReferenceInFile(j.name,p,t,K=>{const Y=q.createPropertyAccessExpression(q.createIdentifier(M),J);pm(K.parent)?s.replaceNode(t,K.parent,q.createPropertyAssignment(K.text,Y)):eh(K.parent)?z.add(j):s.replaceNode(t,K,Y)})}if(s.replaceNode(t,d,f?q.createIdentifier(M):q.createNamespaceImport(q.createIdentifier(M))),z.size){const j=ga(z.values(),J=>q.createImportSpecifier(J.isTypeOnly,J.propertyName&&q.createIdentifier(J.propertyName.text),q.createIdentifier(J.name.text)));s.insertNodeAfter(t,d.parent.parent,p8e(E,void 0,j))}}function EOt(t,u){const s=u.resolveExternalModuleName(t);if(!s)return!1;const d=u.resolveExternalModuleSymbol(s);return s!==d}function p8e(t,u,s){return q.createImportDeclaration(void 0,q.createImportClause(!1,u,s&&s.length?q.createNamedImports(s):void 0),t.moduleSpecifier,void 0)}var rme,QX,_Ot=o({"src/services/refactors/convertImport.ts"(){rr(),s_(),rme="Convert import",QX={0:{name:"Convert namespace import to named imports",description:to(F.Convert_namespace_import_to_named_imports),kind:"refactor.rewrite.import.named"},2:{name:"Convert named imports to namespace import",description:to(F.Convert_named_imports_to_namespace_import),kind:"refactor.rewrite.import.namespace"},1:{name:"Convert named imports to default import",description:to(F.Convert_named_imports_to_default_import),kind:"refactor.rewrite.import.default"}},s3(rme,{kinds:U1(QX).map(t=>t.kind),getAvailableActions:function(u){const s=Hnt(u,u.triggerReason==="invoked");if(!s)return _t;if(!sD(s)){const d=QX[s.convertTo];return[{name:rme,description:d.description,actions:[d]}]}return u.preferences.provideRefactorNotApplicableReason?U1(QX).map(d=>({name:rme,description:d.description,actions:[{...d,notApplicableReason:s.error}]})):_t},getEditsForAction:function(u,s){H.assert(Oe(U1(QX),p=>p.name===s),"Unexpected action name");const d=Hnt(u);return H.assert(d&&!sD(d),"Expected applicable refactor info"),{edits:iu.ChangeTracker.with(u,p=>mOt(u.file,u.program,p,d)),renameFilename:void 0,renameLocation:void 0}}})}});function Jnt(t,u=!0){const{file:s,startPosition:d}=t,f=gh(s),p=Ca(s,d),E=pX(u9(t)),v=E.pos===E.end&&u,b=rX(p,s,E.pos,E.end),B=Tn(p,Y=>Y.parent&&Xr(Y)&&!ab(E,Y.parent,s)&&(v||b));if(!B||!Xr(B))return{error:to(F.Selection_is_not_a_valid_type_node)};const k=t.program.getTypeChecker(),T=bOt(B,f);if(T===void 0)return{error:to(F.No_type_could_be_extracted_from_this_type_node)};const M=yOt(B,T);if(!Xr(M))return{error:to(F.Selection_is_not_a_valid_type_node)};const z=[];(Pv(M.parent)||kB(M.parent))&&E.end>B.end&&yn(z,M.parent.types.filter(Y=>rX(Y,s,E.pos,E.end)));const j=z.length>1?z:M,J=DOt(k,j,T,s);if(!J)return{error:to(F.No_type_could_be_extracted_from_this_type_node)};const K=ame(k,j);return{isJS:f,selection:j,enclosingNode:T,typeParameters:J,typeElements:K}}function ame(t,u){if(u){if(Ha(u)){const s=[];for(const d of u){const f=ame(t,d);if(!f)return;yn(s,f)}return s}if(kB(u)){const s=[],d=new Map;for(const f of u.types){const p=ame(t,f);if(!p||!p.every(E=>E.name&&Ip(d,WH(E.name))))return;yn(s,p)}return s}else{if(M7(u))return ame(t,u.type);if(fm(u))return u.members}}}function ab(t,u,s){return IH(t,gs(s.text,u.pos),u.end)}function DOt(t,u,s,d){const f=[],p=YA(u),E={pos:p[0].pos,end:p[p.length-1].end};for(const b of p)if(v(b))return;return f;function v(b){if(X4(b)){if(at(b.typeName)){const B=b.typeName,k=t.resolveName(B.text,B,262144,!0);for(const T of(k==null?void 0:k.declarations)||_t)if(Bl(T)&&T.getSourceFile()===d){if(T.name.escapedText===B.escapedText&&ab(T,E,d))return!0;if(ab(s,T,d)&&!ab(E,T,d)){xa(f,T);break}}}}else if(P7(b)){const B=Tn(b,k=>FB(k)&&ab(k.extendsType,b,d));if(!B||!ab(E,B,d))return!0}else if(aY(b)||sY(b)){const B=Tn(b.parent,Co);if(B&&B.type&&ab(B.type,b,d)&&!ab(E,B,d))return!0}else if(bB(b)){if(at(b.exprName)){const B=t.resolveName(b.exprName.text,b.exprName,111551,!1);if(B!=null&&B.valueDeclaration&&ab(s,B.valueDeclaration,d)&&!ab(E,B.valueDeclaration,d))return!0}else if(N2(b.exprName.left)&&!ab(E,b.parent,d))return!0}return d&&yB(b)&&s0(d,b.pos).line===s0(d,b.end).line&&Zn(b,1),ao(b,v)}}function xOt(t,u,s,d){const{enclosingNode:f,typeParameters:p}=d,{firstTypeNode:E,lastTypeNode:v,newTypeNode:b}=g8e(d),B=q.createTypeAliasDeclaration(void 0,s,p.map(k=>q.updateTypeParameterDeclaration(k,k.modifiers,k.name,k.constraint,void 0)),b);t.insertNodeBefore(u,f,cce(B),!0),t.replaceNodeRange(u,E,v,q.createTypeReferenceNode(s,p.map(k=>q.createTypeReferenceNode(k.name,void 0))),{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.ExcludeWhitespace})}function vOt(t,u,s,d){var f;const{enclosingNode:p,typeParameters:E,typeElements:v}=d,b=q.createInterfaceDeclaration(void 0,s,E,void 0,v);Pt(b,(f=v[0])==null?void 0:f.parent),t.insertNodeBefore(u,p,cce(b),!0);const{firstTypeNode:B,lastTypeNode:k}=g8e(d);t.replaceNodeRange(u,B,k,q.createTypeReferenceNode(s,E.map(T=>q.createTypeReferenceNode(T.name,void 0))),{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.ExcludeWhitespace})}function COt(t,u,s,d,f){var p;YA(f.selection).forEach(j=>{Zn(j,7168)});const{enclosingNode:E,typeParameters:v}=f,{firstTypeNode:b,lastTypeNode:B,newTypeNode:k}=g8e(f),T=q.createJSDocTypedefTag(q.createIdentifier("typedef"),q.createJSDocTypeExpression(k),q.createIdentifier(d)),M=[];L(v,j=>{const J=w8(j),K=q.createTypeParameterDeclaration(void 0,j.name),Y=q.createJSDocTemplateTag(q.createIdentifier("template"),J&&Po(J,kk),[K]);M.push(Y)});const z=q.createJSDocComment(void 0,q.createNodeArray(Hi(M,[T])));if(Vp(E)){const j=E.getStart(s),J=E5(u.host,(p=u.formatContext)==null?void 0:p.options);t.insertNodeAt(s,E.getStart(s),z,{suffix:J+J+s.text.slice(FX(s.text,j-1),j)})}else t.insertNodeBefore(s,E,z,!0);t.replaceNodeRange(s,b,B,q.createTypeReferenceNode(d,v.map(j=>q.createTypeReferenceNode(j.name,void 0))))}function g8e(t){return Ha(t.selection)?{firstTypeNode:t.selection[0],lastTypeNode:t.selection[t.selection.length-1],newTypeNode:Pv(t.selection[0].parent)?q.createUnionTypeNode(t.selection):q.createIntersectionTypeNode(t.selection)}:{firstTypeNode:t.selection,lastTypeNode:t.selection,newTypeNode:t.selection}}function bOt(t,u){return Tn(t,na)||(u?Tn(t,Vp):void 0)}function yOt(t,u){return Tn(t,s=>s===u?"quit":!!(Pv(s.parent)||kB(s.parent)))??t}var ome,XX,eee,tee,kOt=o({"src/services/refactors/extractType.ts"(){rr(),s_(),ome="Extract type",XX={name:"Extract to type alias",description:to(F.Extract_to_type_alias),kind:"refactor.extract.type"},eee={name:"Extract to interface",description:to(F.Extract_to_interface),kind:"refactor.extract.interface"},tee={name:"Extract to typedef",description:to(F.Extract_to_typedef),kind:"refactor.extract.typedef"},s3(ome,{kinds:[XX.kind,eee.kind,tee.kind],getAvailableActions:function(u){const s=Jnt(u,u.triggerReason==="invoked");return s?sD(s)?u.preferences.provideRefactorNotApplicableReason?[{name:ome,description:to(F.Extract_type),actions:[{...tee,notApplicableReason:s.error},{...XX,notApplicableReason:s.error},{...eee,notApplicableReason:s.error}]}]:_t:[{name:ome,description:to(F.Extract_type),actions:s.isJS?[tee]:xi([XX],s.typeElements&&eee)}]:_t},getEditsForAction:function(u,s){const{file:d}=u,f=Jnt(u);H.assert(f&&!sD(f),"Expected to find a range to extract");const p=Ok("NewType",d),E=iu.ChangeTracker.with(u,B=>{switch(s){case XX.name:return H.assert(!f.isJS,"Invalid actionName/JS combo"),xOt(B,d,p,f);case tee.name:return H.assert(f.isJS,"Invalid actionName/JS combo"),COt(B,u,d,p,f);case eee.name:return H.assert(!f.isJS&&!!f.typeElements,"Invalid actionName/JS combo"),vOt(B,d,p,f);default:H.fail("Unexpected action name")}}),v=d.fileName,b=qH(E,v,p,!1);return{edits:E,renameFilename:v,renameLocation:b}}})}});function sD(t){return t.error!==void 0}function qv(t,u){return u?t.substr(0,u.length)===u:!0}var FOt=o({"src/services/refactors/helpers.ts"(){}});function $nt(t,u,s,d){var f,p;const E=d.getTypeChecker(),v=af(t,u),b=v.parent;if(at(v)){if(Zj(b)&&qN(b)&&at(b.name)){if(((f=E.getMergedSymbol(b.symbol).declarations)==null?void 0:f.length)!==1)return{error:to(F.Variables_with_multiple_declarations_cannot_be_inlined)};if(Unt(b))return;const B=qnt(b,E,t);return B&&{references:B,declaration:b,replacement:b.initializer}}if(s){let B=E.resolveName(v.text,v,111551,!1);if(B=B&&E.getMergedSymbol(B),((p=B==null?void 0:B.declarations)==null?void 0:p.length)!==1)return{error:to(F.Variables_with_multiple_declarations_cannot_be_inlined)};const k=B.declarations[0];if(!Zj(k)||!qN(k)||!at(k.name)||Unt(k))return;const T=qnt(k,E,t);return T&&{references:T,declaration:k,replacement:k.initializer}}return{error:to(F.Could_not_find_variable_to_inline)}}}function Unt(t){const u=Po(t.parent.parent,Jl);return Oe(u.modifiers,L7)}function qnt(t,u,s){const d=[],f=Z0.Core.eachSymbolReferenceInFile(t.name,u,s,p=>{if(Z0.isWriteAccessForReference(p)||eh(p.parent)||tc(p.parent)||bB(p.parent)||IO(t,p.pos))return!0;d.push(p)});return d.length===0||f?void 0:d}function AOt(t,u){u=ll(u);const{parent:s}=t;return Wt(s)&&(lP(u){for(const T of E)k.replaceNode(s,T,AOt(T,b));k.delete(s,v)})}}})}});function BOt(t,u,s,d,f,p,E){const v=u.getTypeChecker(),b=uee(t,s.all,v),B=A8e(t,u,E,f);d.createNewFile(t,B,wOt(t,b,d,s,u,f,B,p)),E8e(u,d,t.fileName,B,n5(f))}function wOt(t,u,s,d,f,p,E,v){const b=f.getTypeChecker(),B=tU(t.statements,Mp);if(t.externalModuleIndicator===void 0&&t.commonJsModuleIndicator===void 0&&u.oldImportsNeededByTargetFile.size===0)return iee(t,d.ranges,s),[...B,...d.all];const k=!Bfe(E,f,p,!!t.commonJsModuleIndicator),T=Hm(t,v),M=v8e(t,u.oldFileImportsFromTargetFile,E,f,p,k,T);M&&MM(s,t,M,!0,v),_8e(t,d.all,s,u.unusedImportsFromOldFile,b),iee(t,d.ranges,s),D8e(s,f,p,t,u.movedSymbols,E,T);const z=TOt(t,u.oldImportsNeededByTargetFile,u.targetFileImportsFromOldFile,s,b,f,p,k,T),j=C8e(t,d.all,u.oldFileImportsFromTargetFile,k);return z.length&&j.length?[...B,...z,4,...j]:[...B,...z,...j]}function TOt(t,u,s,d,f,p,E,v,b){const B=[];for(const z of t.statements)sK(z,j=>{xi(B,lK(j,oK(j),J=>u.has(f.getSymbolAtLocation(J))))});let k;const T=[],M=i9();return s.forEach(z=>{if(z.declarations)for(const j of z.declarations){if(!ree(j))continue;const J=k8e(j);if(!J)continue;const K=hme(j);M(K)&&F8e(t,K,J,d,v),Yu(j,2048)?k=J:T.push(J.text)}}),xi(B,nee(t,k,T,Ac(t.fileName),p,E,v,b)),B}var aK,cme,dme,LOt=o({"src/services/refactors/moveToNewFile.ts"(){rr(),s_(),aK="Move to a new file",cme=to(F.Move_to_a_new_file),dme={name:aK,description:cme,kind:"refactor.move.newFile"},s3(aK,{kinds:[dme.kind],getAvailableActions:function(u){const s=cK(u);return u.preferences.allowTextChangesInNewFiles&&s?[{name:aK,description:cme,actions:[dme]}]:u.preferences.provideRefactorNotApplicableReason?[{name:aK,description:cme,actions:[{...dme,notApplicableReason:to(F.Selection_is_not_a_valid_statement_or_statements)}]}]:_t},getEditsForAction:function(u,s){H.assert(s===aK,"Wrong refactor invoked");const d=H.checkDefined(cK(u));return{edits:iu.ChangeTracker.with(u,p=>BOt(u.file,u.program,d,p,u.host,u.preferences,u)),renameFilename:void 0,renameLocation:void 0}}})}});function Znt(t){return{edits:[],renameFilename:void 0,renameLocation:void 0,notApplicableReason:t}}function NOt(t,u,s,d,f,p,E,v){const b=d.getTypeChecker();if(!E.fileExists(s))p.createNewFile(u,s,Ynt(u,s,uee(u,f.all,b),p,f,d,E,v)),E8e(d,p,u.fileName,s,n5(E));else{const B=H.checkDefined(d.getSourceFile(s)),k=z1.createImportAdder(B,t.program,t.preferences,t.host);Ynt(u,B,uee(u,f.all,b,QOt(B,b)),p,f,d,E,v,k)}}function Ynt(t,u,s,d,f,p,E,v,b){const B=p.getTypeChecker(),k=tU(t.statements,Mp);if(t.externalModuleIndicator===void 0&&t.commonJsModuleIndicator===void 0&&s.oldImportsNeededByTargetFile.size===0&&s.targetFileImportsFromOldFile.size===0&&typeof u=="string")return iee(t,f.ranges,d),[...k,...f.all];const T=typeof u=="string"?u:u.fileName,M=!Bfe(T,p,E,!!t.commonJsModuleIndicator),z=Hm(t,v),j=v8e(t,s.oldFileImportsFromTargetFile,T,p,E,M,z);j&&MM(d,t,j,!0,v),_8e(t,f.all,d,s.unusedImportsFromOldFile,B),iee(t,f.ranges,d),D8e(d,p,E,t,s.movedSymbols,T,z);const J=POt(t,T,s.oldImportsNeededByTargetFile,s.targetFileImportsFromOldFile,d,B,p,E,M,z,b),K=C8e(t,f.all,s.oldFileImportsFromTargetFile,M);return typeof u!="string"&&(u.statements.length>0?YOt(d,p,K,u,f):d.insertNodesAtEndOfFile(u,K,!1),J.length>0&&MM(d,u,J,!0,v)),b&&b.writeFixes(d,z),J.length&&K.length?[...k,...J,4,...K]:[...k,...J,...K]}function POt(t,u,s,d,f,p,E,v,b,B,k){const T=[];if(k)s.forEach((K,Y)=>{try{k.addImportFromExportedSymbol(X1(Y,p),K)}catch{for(const oe of t.statements)sK(oe,se=>{xi(T,lK(se,q.createStringLiteral(oK(se).text),ge=>s.has(p.getSymbolAtLocation(ge))))})}});else{const K=E.getSourceFile(u);for(const Y of t.statements)sK(Y,oe=>{var se;const ge=oK(oe),ae=E.getResolvedModule(t,ge.text,xg(t,ge)),Ce=(se=ae==null?void 0:ae.resolvedModule)==null?void 0:se.resolvedFileName;if(Ce&&K){const ne=qY(E.getCompilerOptions(),K,K.path,Ce,Ik(E,v));xi(T,lK(oe,n9(ne,B),ve=>s.has(p.getSymbolAtLocation(ve))))}else xi(T,lK(oe,q.createStringLiteral(oK(oe).text),ne=>s.has(p.getSymbolAtLocation(ne))))})}const M=E.getSourceFile(u);let z;const j=[],J=i9();return d.forEach(K=>{if(K.declarations)for(const Y of K.declarations){if(!ree(Y))continue;const oe=k8e(Y);if(!oe)continue;const se=hme(Y);J(se)&&F8e(t,se,oe,f,b),k&&p.isUnknownSymbol(K)?k.addImportFromExportedSymbol(X1(K,p)):Yu(Y,2048)?z=oe:j.push(oe.text)}}),M?xi(T,nee(M,z,j,t.fileName,E,v,b,B)):xi(T,nee(t,z,j,t.fileName,E,v,b,B))}function E8e(t,u,s,d,f){const p=t.getCompilerOptions().configFile;if(!p)return;const E=$o(cr(s,"..",d)),v=SO(p.fileName,E,f),b=p.statements[0]&&ur(p.statements[0].expression,ys),B=b&&Le(b.properties,k=>Jc(k)&&us(k.name)&&k.name.text==="files");B&&Dh(B.initializer)&&u.insertNodeInListAfter(p,Cr(B.initializer.elements),q.createStringLiteral(v),B.initializer.elements)}function iee(t,u,s){for(const{first:d,afterLast:f}of u)s.deleteNodeRangeExcludingEnd(t,d,f)}function _8e(t,u,s,d,f){for(const p of t.statements)kt(u,p)||sK(p,E=>b8e(t,E,s,v=>d.has(f.getSymbolAtLocation(v))))}function D8e(t,u,s,d,f,p,E){const v=u.getTypeChecker();for(const b of u.getSourceFiles())if(b!==d)for(const B of b.statements)sK(B,k=>{if(v.getSymbolAtLocation(oK(k))!==d.symbol)return;const T=K=>{const Y=js(K.parent)?CX(v,K.parent):X1(v.getSymbolAtLocation(K),v);return!!Y&&f.has(Y)};b8e(b,k,t,T);const M=kx(lr(d.path),p),z=qY(u.getCompilerOptions(),b,b.path,M,Ik(u,s)),j=lK(k,n9(z,E),T);j&&t.insertNodeAfter(b,B,j);const J=MOt(k);J&&zOt(t,b,v,f,z,J,k,E)})}function MOt(t){switch(t.kind){case 272:return t.importClause&&t.importClause.namedBindings&&t.importClause.namedBindings.kind===274?t.importClause.namedBindings.name:void 0;case 271:return t.name;case 260:return ur(t.name,at);default:return H.assertNever(t,`Unexpected node kind ${t.kind}`)}}function zOt(t,u,s,d,f,p,E,v){const b=z1.moduleSpecifierToValidIdentifier(f,99);let B=!1;const k=[];if(Z0.Core.eachSymbolReferenceInFile(p,s,u,T=>{Iu(T.parent)&&(B=B||!!s.resolveName(b,T,67108863,!0),d.has(s.getSymbolAtLocation(T.parent.name))&&k.push(T))}),k.length){const T=B?Ok(b,u):b;for(const M of k)t.replaceNode(u,M,q.createIdentifier(T));t.insertNodeAfter(u,E,IOt(E,b,f,v))}}function IOt(t,u,s,d){const f=q.createIdentifier(u),p=n9(s,d);switch(t.kind){case 272:return q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamespaceImport(f)),p,void 0);case 271:return q.createImportEqualsDeclaration(void 0,!1,f,q.createExternalModuleReference(p));case 260:return q.createVariableDeclaration(f,void 0,void 0,x8e(p));default:return H.assertNever(t,`Unexpected node kind ${t.kind}`)}}function x8e(t){return q.createCallExpression(q.createIdentifier("require"),void 0,[t])}function oK(t){return t.kind===272?t.moduleSpecifier:t.kind===271?t.moduleReference.expression:t.initializer.arguments[0]}function sK(t,u){if(Sd(t))us(t.moduleSpecifier)&&u(t);else if(E1(t))r_(t.moduleReference)&&t0(t.moduleReference.expression)&&u(t);else if(Jl(t))for(const s of t.declarationList.declarations)s.initializer&&xf(s.initializer,!0)&&u(s)}function v8e(t,u,s,d,f,p,E){let v;const b=[];return u.forEach(B=>{B.escapedName==="default"?v=q.createIdentifier(DX(B)):b.push(B.name)}),nee(t,v,b,s,d,f,p,E)}function nee(t,u,s,d,f,p,E,v){const b=kx(lr(t.path),d),B=qY(f.getCompilerOptions(),t,t.path,b,Ik(f,p));if(E){const k=s.map(T=>q.createImportSpecifier(!1,void 0,q.createIdentifier(T)));return dSe(u,k,B,v)}else{H.assert(!u,"No default import should exist");const k=s.map(T=>q.createBindingElement(void 0,void 0,T));return k.length?Qnt(q.createObjectBindingPattern(k),void 0,x8e(n9(B,v))):void 0}}function Qnt(t,u,s,d=2){return q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(t,void 0,u,s)],d))}function C8e(t,u,s,d){return ju(u,f=>{if(eut(f)&&!Xnt(t,f,d)&&S8e(f,p=>{var E;return s.has(H.checkDefined((E=ur(p,Zg))==null?void 0:E.symbol))})){const p=jOt(ll(f),d);if(p)return p}return ll(f)})}function Xnt(t,u,s,d){var f;return s?!Od(u)&&Yu(u,32)||!!(d&&t.symbol&&((f=t.symbol.exports)!=null&&f.has(d.escapedText))):!!t.symbol&&!!t.symbol.exports&&y8e(u).some(p=>t.symbol.exports.has(Al(p)))}function b8e(t,u,s,d){switch(u.kind){case 272:ROt(t,u,s,d);break;case 271:d(u.name)&&s.delete(t,u);break;case 260:OOt(t,u,s,d);break;default:H.assertNever(u,`Unexpected import decl kind ${u.kind}`)}}function ROt(t,u,s,d){if(!u.importClause)return;const{name:f,namedBindings:p}=u.importClause,E=!f||d(f),v=!p||(p.kind===274?d(p.name):p.elements.length!==0&&p.elements.every(b=>d(b.name)));if(E&&v)s.delete(t,u);else if(f&&E&&s.delete(t,f),p){if(v)s.replaceNode(t,u.importClause,q.updateImportClause(u.importClause,u.importClause.isTypeOnly,f,void 0));else if(p.kind===275)for(const b of p.elements)d(b.name)&&s.delete(t,b)}}function OOt(t,u,s,d){const{name:f}=u;switch(f.kind){case 80:d(f)&&(u.initializer&&xf(u.initializer,!0)?s.delete(t,Ad(u.parent)&&S(u.parent.declarations)===1?u.parent.parent:u):s.delete(t,f));break;case 207:break;case 206:if(f.elements.every(p=>at(p.name)&&d(p.name)))s.delete(t,Ad(u.parent)&&u.parent.declarations.length===1?u.parent.parent:u);else for(const p of f.elements)at(p.name)&&d(p.name)&&s.delete(t,p.name);break}}function eut(t){return H.assert(la(t.parent),"Node parent should be a SourceFile"),aut(t)||Jl(t)}function jOt(t,u){return u?[VOt(t)]:HOt(t)}function VOt(t){const u=Hp(t)?Hi([q.createModifier(95)],p2(t)):void 0;switch(t.kind){case 262:return q.updateFunctionDeclaration(t,u,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);case 263:const s=Ak(t)?Ax(t):void 0;return q.updateClassDeclaration(t,Hi(s,u),t.name,t.typeParameters,t.heritageClauses,t.members);case 243:return q.updateVariableStatement(t,u,t.declarationList);case 267:return q.updateModuleDeclaration(t,u,t.name,t.body);case 266:return q.updateEnumDeclaration(t,u,t.name,t.members);case 265:return q.updateTypeAliasDeclaration(t,u,t.name,t.typeParameters,t.type);case 264:return q.updateInterfaceDeclaration(t,u,t.name,t.typeParameters,t.heritageClauses,t.members);case 271:return q.updateImportEqualsDeclaration(t,u,t.isTypeOnly,t.name,t.moduleReference);case 244:return H.fail();default:return H.assertNever(t,`Unexpected declaration kind ${t.kind}`)}}function HOt(t){return[t,...y8e(t).map(tut)]}function tut(t){return q.createExpressionStatement(q.createBinaryExpression(q.createPropertyAccessExpression(q.createIdentifier("exports"),q.createIdentifier(t)),64,q.createIdentifier(t)))}function y8e(t){switch(t.kind){case 262:case 263:return[t.name.text];case 243:return qi(t.declarationList.declarations,u=>at(u.name)?u.name.text:void 0);case 267:case 266:case 265:case 264:case 271:return _t;case 244:return H.fail("Can't export an ExpressionStatement");default:return H.assertNever(t,`Unexpected decl kind ${t.kind}`)}}function lK(t,u,s){switch(t.kind){case 272:{const d=t.importClause;if(!d)return;const f=d.name&&s(d.name)?d.name:void 0,p=d.namedBindings&&KOt(d.namedBindings,s);return f||p?q.createImportDeclaration(void 0,q.createImportClause(d.isTypeOnly,f,p),ll(u),void 0):void 0}case 271:return s(t.name)?t:void 0;case 260:{const d=WOt(t.name,s);return d?Qnt(d,t.type,x8e(u),t.parent.flags):void 0}default:return H.assertNever(t,`Unexpected import kind ${t.kind}`)}}function KOt(t,u){if(t.kind===274)return u(t.name)?t:void 0;{const s=t.elements.filter(d=>u(d.name));return s.length?q.createNamedImports(s):void 0}}function WOt(t,u){switch(t.kind){case 80:return u(t)?t:void 0;case 207:return t;case 206:{const s=t.elements.filter(d=>d.propertyName||!at(d.name)||u(d.name));return s.length?q.createObjectBindingPattern(s):void 0}}}function k8e(t){return Od(t)?ur(t.expression.left.name,at):ur(t.name,at)}function hme(t){switch(t.kind){case 260:return t.parent.parent;case 208:return hme(Po(t.parent.parent,u=>ua(u)||js(u)));default:return t}}function F8e(t,u,s,d,f){if(!Xnt(t,u,f,s))if(f)Od(u)||d.insertExportModifier(t,u);else{const p=y8e(u);p.length!==0&&d.insertNodesAfter(t,u,p.map(tut))}}function A8e(t,u,s,d){const f=u.getTypeChecker(),p=cK(s);let E;if(p){E=uee(t,p.all,f);const v=lr(t.fileName),b=y7(t.fileName);return cr(v,UOt(qOt(E.oldFileImportsFromTargetFile,E.movedSymbols),b,v,d))+b}return""}function GOt(t){const{file:u}=t,s=pX(u9(t)),{statements:d}=u;let f=Ue(d,B=>B.end>s.pos);if(f===-1)return;const p=d[f],E=out(u,p);E&&(f=E.start);let v=Ue(d,B=>B.end>=s.end,f);v!==-1&&s.end<=d[v].getStart()&&v--;const b=out(u,d[v]);return b&&(v=b.end),{toMove:d.slice(f,v===-1?d.length:v+1),afterLast:v===-1?void 0:d[v+1]}}function cK(t){const u=GOt(t);if(u===void 0)return;const s=[],d=[],{toMove:f,afterLast:p}=u;return eu(f,JOt,(E,v)=>{for(let b=E;b!!u.initializer&&xf(u.initializer,!0));default:return!1}}function uee(t,u,s,d=new Set){const f=new Set,p=new Map,E=new Set,v=Le(u,M=>!!(M.transformFlags&2)),b=T(v);b&&p.set(b,!1);for(const M of u)S8e(M,z=>{f.add(H.checkDefined(Od(z)?s.getSymbolAtLocation(z.expression.left):z.symbol,"Need a symbol here"))});const B=new Set;for(const M of u)iut(M,s,(z,j)=>{if(z.declarations){if(d.has(X1(z,s))){B.add(z);return}for(const J of z.declarations)if(nut(J)){const K=p.get(z);p.set(z,(K===void 0||K)&&j)}else ree(J)&&ZOt(J)===t&&!f.has(z)&&E.add(z)}});for(const M of p.keys())B.add(M);const k=new Set;for(const M of t.statements)kt(u,M)||(b&&M.transformFlags&2&&B.delete(b),iut(M,s,z=>{f.has(z)&&k.add(z),B.delete(z)}));return{movedSymbols:f,targetFileImportsFromOldFile:E,oldFileImportsFromTargetFile:k,oldImportsNeededByTargetFile:p,unusedImportsFromOldFile:B};function T(M){if(M===void 0)return;const z=s.getJsxNamespace(M),j=s.resolveName(z,M,1920,!0);return j&&Oe(j.declarations,nut)?j:void 0}}function UOt(t,u,s,d){let f=t;for(let p=1;;p++){const E=cr(s,f+u);if(!d.fileExists(E))return f;f=`${t}.${p}`}}function qOt(t,u){return U_(t,DX)||U_(u,DX)||"newFile"}function iut(t,u,s){t.forEachChild(function d(f){if(at(f)&&!X3(f)){const p=u.getSymbolAtLocation(f);p&&s(p,Tv(f))}else f.forEachChild(d)})}function S8e(t,u){switch(t.kind){case 262:case 263:case 267:case 266:case 265:case 264:case 271:return u(t);case 243:return G(t.declarationList.declarations,s=>rut(s.name,u));case 244:{const{expression:s}=t;return Xn(s)&&Xl(s)===1?u(t):void 0}}}function nut(t){switch(t.kind){case 271:case 276:case 273:case 274:return!0;case 260:return uut(t);case 208:return ua(t.parent.parent)&&uut(t.parent.parent);default:return!1}}function uut(t){return la(t.parent.parent.parent)&&!!t.initializer&&xf(t.initializer,!0)}function ree(t){return aut(t)&&la(t.parent)||ua(t)&&la(t.parent.parent.parent)}function ZOt(t){return ua(t)?t.parent.parent.parent:t.parent}function rut(t,u){switch(t.kind){case 80:return u(Po(t.parent,s=>ua(s)||js(s)));case 207:case 206:return G(t.elements,s=>Fd(s)?void 0:rut(s.name,u));default:return H.assertNever(t,`Unexpected name kind ${t.kind}`)}}function aut(t){switch(t.kind){case 262:case 263:case 267:case 266:case 265:case 264:case 271:return!0;default:return!1}}function YOt(t,u,s,d,f){var p;const E=new Set,v=(p=d.symbol)==null?void 0:p.exports;if(v){const B=u.getTypeChecker(),k=new Map;for(const T of f.all)eut(T)&&Yu(T,32)&&S8e(T,M=>{var z;const j=Zg(M)?(z=v.get(M.symbol.escapedName))==null?void 0:z.declarations:void 0,J=G(j,K=>Gc(K)?K:eh(K)?ur(K.parent.parent,Gc):void 0);J&&J.moduleSpecifier&&k.set(J,(k.get(J)||new Set).add(M))});for(const[T,M]of ga(k))if(T.exportClause&&ep(T.exportClause)&&S(T.exportClause.elements)){const z=T.exportClause.elements,j=ti(z,J=>Le(X1(J.symbol,B).declarations,K=>ree(K)&&M.has(K))===void 0);if(S(j)===0){t.deleteNode(d,T),E.add(T);continue}S(j)Gc(B)&&!!B.moduleSpecifier&&!E.has(B));b?t.insertNodesBefore(d,b,s,!0):t.insertNodesAfter(d,d.statements[d.statements.length-1],s)}function out(t,u){if($0(u)){const s=u.symbol.declarations;if(s===void 0||S(s)<=1||!kt(s,u))return;const d=s[0],f=s[S(s)-1],p=qi(s,b=>zn(b)===t&&na(b)?b:void 0),E=Ue(t.statements,b=>b.end>=f.end),v=Ue(t.statements,b=>b.end>=d.end);return{toMove:p,start:v,end:E}}}function QOt(t,u){const s=new Set;for(const d of t.imports){const f=tP(d);if(Sd(f)&&f.importClause&&f.importClause.namedBindings&&uD(f.importClause.namedBindings))for(const p of f.importClause.namedBindings.elements){const E=u.getSymbolAtLocation(p.propertyName||p.name);E&&s.add(X1(E,u))}if(vq(f.parent)&&Rp(f.parent.name))for(const p of f.parent.name.elements){const E=u.getSymbolAtLocation(p.propertyName||p.name);E&&s.add(X1(E,u))}}return s}var aee,fme,mme,XOt=o({"src/services/refactors/moveToFile.ts"(){ket(),rr(),Ont(),aee="Move to file",fme=to(F.Move_to_file),mme={name:"Move to file",description:fme,kind:"refactor.move.file"},s3(aee,{kinds:[mme.kind],getAvailableActions:function(u,s){const d=cK(u);return s?u.preferences.allowTextChangesInNewFiles&&d?[{name:aee,description:fme,actions:[mme]}]:u.preferences.provideRefactorNotApplicableReason?[{name:aee,description:fme,actions:[{...mme,notApplicableReason:to(F.Selection_is_not_a_valid_statement_or_statements)}]}]:_t:_t},getEditsForAction:function(u,s,d){H.assert(s===aee,"Wrong refactor invoked");const f=H.checkDefined(cK(u)),{host:p,program:E}=u;H.assert(d,"No interactive refactor arguments available");const v=d.targetFile;return z2(v)||mk(v)?p.fileExists(v)&&E.getSourceFile(v)===void 0?Znt(to(F.Cannot_move_statements_to_the_selected_file)):{edits:iu.ChangeTracker.with(u,B=>NOt(u,u.file,d.targetFile,u.program,f,B,u.host,u.preferences)),renameFilename:void 0,renameLocation:void 0}:Znt(to(F.Cannot_move_to_file_selected_file_is_invalid))}})}});function ejt(t){const{file:u,startPosition:s,program:d}=t;return lut(u,s,d)?[{name:pme,description:B8e,actions:[w8e]}]:_t}function tjt(t){const{file:u,startPosition:s,program:d}=t,f=lut(u,s,d);if(!f)return;const p=d.getTypeChecker(),E=f[f.length-1];let v=E;switch(E.kind){case 173:{v=q.updateMethodSignature(E,E.modifiers,E.name,E.questionToken,E.typeParameters,B(f),E.type);break}case 174:{v=q.updateMethodDeclaration(E,E.modifiers,E.asteriskToken,E.name,E.questionToken,E.typeParameters,B(f),E.type,E.body);break}case 179:{v=q.updateCallSignature(E,E.typeParameters,B(f),E.type);break}case 176:{v=q.updateConstructorDeclaration(E,E.modifiers,B(f),E.body);break}case 180:{v=q.updateConstructSignature(E,E.typeParameters,B(f),E.type);break}case 262:{v=q.updateFunctionDeclaration(E,E.modifiers,E.asteriskToken,E.name,E.typeParameters,B(f),E.type,E.body);break}default:return H.failBadSyntaxKind(E,"Unhandled signature kind in overload list conversion refactoring")}if(v===E)return;return{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,M=>{M.replaceNodeRange(u,f[0],f[f.length-1],v)})};function B(M){const z=M[M.length-1];return $0(z)&&z.body&&(M=M.slice(0,M.length-1)),q.createNodeArray([q.createParameterDeclaration(void 0,q.createToken(26),"args",void 0,q.createUnionTypeNode(Vt(M,k)))])}function k(M){const z=Vt(M.parameters,T);return Zn(q.createTupleTypeNode(z),Oe(z,j=>!!S(DB(j)))?0:1)}function T(M){H.assert(at(M.name));const z=Pt(q.createNamedTupleMember(M.dotDotDotToken,M.name,M.questionToken,M.type||q.createKeywordTypeNode(133)),M),j=M.symbol&&M.symbol.getDocumentationComment(p);if(j){const J=EK(j);J.length&&Nv(z,[{text:`* ${J.split(` `).map(K=>` * ${K}`).join(` `)} - `,kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return z}}function sut(t){switch(t.kind){case 173:case 174:case 179:case 176:case 180:case 262:return!0}return!1}function lut(t,u,s){const d=Ca(t,u),f=Tn(d,sut);if(!f||$0(f)&&f.body&&MH(f.body,u))return;const p=s.getTypeChecker(),E=f.symbol;if(!E)return;const v=E.declarations;if(S(v)<=1||!ye(v,M=>zn(M)===t)||!sut(v[0]))return;const b=v[0].kind;if(!ye(v,M=>M.kind===b))return;const B=v;if(Oe(B,M=>!!M.typeParameters||Oe(M.parameters,z=>!!z.modifiers||!at(z.name))))return;const k=qi(B,M=>p.getSignatureFromDeclaration(M));if(S(k)!==S(v))return;const T=p.getReturnTypeOfSignature(k[0]);if(ye(k,M=>p.getReturnTypeOfSignature(M)===T))return B}var pme,B8e,w8e,ijt=o({"src/services/refactors/convertOverloadListToSingleSignature.ts"(){rr(),s_(),pme="Convert overload list to single signature",B8e=to(F.Convert_overload_list_to_single_signature),w8e={name:pme,description:B8e,kind:"refactor.rewrite.function.overloadList"},s3(pme,{kinds:[w8e.kind],getEditsForAction:tjt,getAvailableActions:ejt})}});function njt(t){const{file:u,startPosition:s,triggerReason:d}=t,f=cut(u,s,d==="invoked");return f?sD(f)?t.preferences.provideRefactorNotApplicableReason?[{name:gme,description:T8e,actions:[{...oee,notApplicableReason:f.error},{...dK,notApplicableReason:f.error}]}]:_t:[{name:gme,description:T8e,actions:[f.addBraces?oee:dK]}]:_t}function ujt(t,u){const{file:s,startPosition:d}=t,f=cut(s,d);H.assert(f&&!sD(f),"Expected applicable refactor info");const{expression:p,returnStatement:E,func:v}=f;let b;if(u===oee.name){const k=q.createReturnStatement(p);b=q.createBlock([k],!0),cw(p,k,s,3,!0)}else if(u===dK.name&&E){const k=p||q.createVoidZero();b=AX(k)?q.createParenthesizedExpression(k):k,ZH(E,b,s,3,!1),cw(E,b,s,3,!1),OM(E,b,s,3,!1)}else H.fail("invalid action");return{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,k=>{k.replaceNode(s,v.body,b)})}}function cut(t,u,s=!0,d){const f=Ca(t,u),p=Nm(f);if(!p)return{error:to(F.Could_not_find_a_containing_arrow_function)};if(!q0(p))return{error:to(F.Containing_function_is_not_an_arrow_function)};if(!(!Vm(p,f)||Vm(p.body,f)&&!s)){if(qv(oee.kind,d)&&Wt(p.body))return{func:p,addBraces:!0,expression:p.body};if(qv(dK.kind,d)&&po(p.body)&&p.body.statements.length===1){const E=Pn(p.body.statements);if(Op(E)){const v=E.expression&&ys(dB(E.expression,!1))?q.createParenthesizedExpression(E.expression):E.expression;return{func:p,addBraces:!1,expression:v,returnStatement:E}}}}}var gme,T8e,oee,dK,rjt=o({"src/services/refactors/addOrRemoveBracesToArrowFunction.ts"(){rr(),s_(),gme="Add or remove braces in an arrow function",T8e=to(F.Add_or_remove_braces_in_an_arrow_function),oee={name:"Add braces to arrow function",description:to(F.Add_braces_to_arrow_function),kind:"refactor.rewrite.arrow.braces.add"},dK={name:"Remove braces from arrow function",description:to(F.Remove_braces_from_arrow_function),kind:"refactor.rewrite.arrow.braces.remove"},s3(gme,{kinds:[dK.kind],getEditsForAction:ujt,getAvailableActions:njt})}}),ajt={},ojt=o({"src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts"(){ijt(),rjt()}});function sjt(t){const{file:u,startPosition:s,program:d,kind:f}=t,p=hut(u,s,d);if(!p)return _t;const{selectedVariableDeclaration:E,func:v}=p,b=[],B=[];if(qv(fK.kind,f)){const k=E||q0(v)&&na(v.parent)?void 0:to(F.Could_not_convert_to_named_function);k?B.push({...fK,notApplicableReason:k}):b.push(fK)}if(qv(hK.kind,f)){const k=!E&&q0(v)?void 0:to(F.Could_not_convert_to_anonymous_function);k?B.push({...hK,notApplicableReason:k}):b.push(hK)}if(qv(mK.kind,f)){const k=A0(v)?void 0:to(F.Could_not_convert_to_arrow_function);k?B.push({...mK,notApplicableReason:k}):b.push(mK)}return[{name:L8e,description:put,actions:b.length===0&&t.preferences.provideRefactorNotApplicableReason?B:b}]}function ljt(t,u){const{file:s,startPosition:d,program:f}=t,p=hut(s,d,f);if(!p)return;const{func:E}=p,v=[];switch(u){case hK.name:v.push(...fjt(t,E));break;case fK.name:const b=hjt(E);if(!b)return;v.push(...mjt(t,E,b));break;case mK.name:if(!A0(E))return;v.push(...pjt(t,E));break;default:return H.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:v}}function dut(t){let u=!1;return t.forEachChild(function s(d){if(rw(d)){u=!0;return}!mr(d)&&!ed(d)&&!A0(d)&&ao(d,s)}),u}function hut(t,u,s){const d=Ca(t,u),f=s.getTypeChecker(),p=djt(t,f,d.parent);if(p&&!dut(p.body)&&!f.containsArgumentsReference(p))return{selectedVariableDeclaration:!0,func:p};const E=Nm(d);if(E&&(A0(E)||q0(E))&&!Vm(E.body,d)&&!dut(E.body)&&!f.containsArgumentsReference(E))return A0(E)&&mut(t,f,E)?void 0:{selectedVariableDeclaration:!1,func:E}}function cjt(t){return na(t)||Ad(t)&&t.declarations.length===1}function djt(t,u,s){if(!cjt(s))return;const f=(na(s)?s:Pn(s.declarations)).initializer;if(f&&(q0(f)||A0(f)&&!mut(t,u,f)))return f}function fut(t){if(Wt(t)){const u=q.createReturnStatement(t),s=t.getSourceFile();return Pt(u,t),Kf(u),ZH(t,u,s,void 0,!0),q.createBlock([u],!0)}else return t}function hjt(t){const u=t.parent;if(!na(u)||!qN(u))return;const s=u.parent,d=s.parent;if(!(!Ad(s)||!Jl(d)||!at(u.name)))return{variableDeclaration:u,variableDeclarationList:s,statement:d,name:u.name}}function fjt(t,u){const{file:s}=t,d=fut(u.body),f=q.createFunctionExpression(u.modifiers,u.asteriskToken,void 0,u.typeParameters,u.parameters,u.type,d);return iu.ChangeTracker.with(t,p=>p.replaceNode(s,u,f))}function mjt(t,u,s){const{file:d}=t,f=fut(u.body),{variableDeclaration:p,variableDeclarationList:E,statement:v,name:b}=s;Efe(v);const B=m2(p)&32|Eh(u),k=q.createModifiersFromModifierFlags(B),T=q.createFunctionDeclaration(S(k)?k:void 0,u.asteriskToken,b,u.typeParameters,u.parameters,u.type,f);return E.declarations.length===1?iu.ChangeTracker.with(t,M=>M.replaceNode(d,v,T)):iu.ChangeTracker.with(t,M=>{M.delete(d,p),M.insertNodeAfter(d,v,T)})}function pjt(t,u){const{file:s}=t,f=u.body.statements[0];let p;gjt(u.body,f)?(p=f.expression,Kf(p),Rk(f,p)):p=u.body;const E=q.createArrowFunction(u.modifiers,u.typeParameters,u.parameters,u.type,q.createToken(39),p);return iu.ChangeTracker.with(t,v=>v.replaceNode(s,u,E))}function gjt(t,u){return t.statements.length===1&&Op(u)&&!!u.expression}function mut(t,u,s){return!!s.name&&Z0.Core.isSymbolReferencedInFile(s.name,u,t)}var L8e,put,hK,fK,mK,Ejt=o({"src/services/refactors/convertArrowFunctionOrFunctionExpression.ts"(){rr(),s_(),L8e="Convert arrow function or function expression",put=to(F.Convert_arrow_function_or_function_expression),hK={name:"Convert to anonymous function",description:to(F.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},fK={name:"Convert to named function",description:to(F.Convert_to_named_function),kind:"refactor.rewrite.function.named"},mK={name:"Convert to arrow function",description:to(F.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},s3(L8e,{kinds:[hK.kind,fK.kind,mK.kind],getEditsForAction:ljt,getAvailableActions:sjt})}}),_jt={},Djt=o({"src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts"(){Ejt()}});function xjt(t){const{file:u,startPosition:s}=t;return gh(u)||!_ut(u,s,t.program.getTypeChecker())?_t:[{name:lee,description:z8e,actions:[I8e]}]}function vjt(t,u){H.assert(u===lee,"Unexpected action name");const{file:s,startPosition:d,program:f,cancellationToken:p,host:E}=t,v=_ut(s,d,f.getTypeChecker());if(!v||!p)return;const b=bjt(v,f,p);return b.valid?{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,k=>Cjt(s,f,E,k,v,b))}:{edits:[]}}function Cjt(t,u,s,d,f,p){const E=p.signature,v=Vt(Cut(f,u,s),k=>ll(k));if(E){const k=Vt(Cut(E,u,s),T=>ll(T));B(E,k)}B(f,v);const b=pi(p.functionCalls,(k,T)=>nl(k.pos,T.pos));for(const k of b)if(k.arguments&&k.arguments.length){const T=ll(Njt(f,k.arguments),!0);d.replaceNodeRange(zn(k),Pn(k.arguments),Cr(k.arguments),T,{leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Include})}function B(k,T){d.replaceNodeRangeWithNodes(t,Pn(k.parameters),Cr(k.parameters),T,{joiner:", ",indentation:0,leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Include})}}function bjt(t,u,s){const d=Mjt(t),f=hc(t)?Pjt(t):[],p=ri([...d,...f],Cx),E=u.getTypeChecker(),v=ju(p,T=>Z0.getReferenceEntriesForNode(-1,T,u,u.getSourceFiles(),s)),b=B(v);return ye(b.declarations,T=>kt(p,T))||(b.valid=!1),b;function B(T){const M={accessExpressions:[],typeUsages:[]},z={functionCalls:[],declarations:[],classReferences:M,valid:!0},j=Vt(d,k),J=Vt(f,k),K=hc(t),Y=Vt(d,oe=>N8e(oe,E));for(const oe of T){if(oe.kind===Z0.EntryKind.Span){z.valid=!1;continue}if(kt(Y,k(oe.node))){if(Ajt(oe.node.parent)){z.signature=oe.node.parent;continue}const ge=Eut(oe);if(ge){z.functionCalls.push(ge);continue}}const se=N8e(oe.node,E);if(se&&kt(Y,se)){const ge=P8e(oe);if(ge){z.declarations.push(ge);continue}}if(kt(j,k(oe.node))||wM(oe.node)){if(gut(oe))continue;const ae=P8e(oe);if(ae){z.declarations.push(ae);continue}const Ce=Eut(oe);if(Ce){z.functionCalls.push(Ce);continue}}if(K&&kt(J,k(oe.node))){if(gut(oe))continue;const ae=P8e(oe);if(ae){z.declarations.push(ae);continue}const Ce=yjt(oe);if(Ce){M.accessExpressions.push(Ce);continue}if(Wc(t.parent)){const ne=kjt(oe);if(ne){M.typeUsages.push(ne);continue}}}z.valid=!1}return z}function k(T){const M=E.getSymbolAtLocation(T);return M&&vSe(M,E)}}function N8e(t,u){const s=_K(t);if(s){const d=u.getContextualTypeForObjectLiteralElement(s),f=d==null?void 0:d.getSymbol();if(f&&!(Gl(f)&6))return f}}function gut(t){const u=t.node;if(bf(u.parent)||n_(u.parent)||E1(u.parent)||Jx(u.parent)||eh(u.parent)||tc(u.parent))return u}function P8e(t){if(Q1(t.node.parent))return t.node}function Eut(t){if(t.node.parent){const u=t.node,s=u.parent;switch(s.kind){case 213:case 214:const d=ur(s,$E);if(d&&d.expression===u)return d;break;case 211:const f=ur(s,Iu);if(f&&f.parent&&f.name===u){const E=ur(f.parent,$E);if(E&&E.expression===f)return E}break;case 212:const p=ur(s,U0);if(p&&p.parent&&p.argumentExpression===u){const E=ur(p.parent,$E);if(E&&E.expression===p)return E}break}}}function yjt(t){if(t.node.parent){const u=t.node,s=u.parent;switch(s.kind){case 211:const d=ur(s,Iu);if(d&&d.expression===u)return d;break;case 212:const f=ur(s,U0);if(f&&f.expression===u)return f;break}}}function kjt(t){const u=t.node;if(Pk(u)===2||Jj(u.parent))return u}function _ut(t,u,s){const d=LM(t,u),f=Ybe(d);if(!Fjt(d)&&f&&Sjt(f,s)&&Vm(f,d)&&!(f.body&&Vm(f.body,d)))return f}function Fjt(t){const u=Tn(t,z8);if(u){const s=Tn(u,d=>!z8(d));return!!s&&$0(s)}return!1}function Ajt(t){return n3(t)&&(xh(t.parent)||fm(t.parent))}function Sjt(t,u){var s;if(!Bjt(t.parameters,u))return!1;switch(t.kind){case 262:return Dut(t)&&see(t,u);case 174:if(ys(t.parent)){const d=N8e(t.name,u);return((s=d==null?void 0:d.declarations)==null?void 0:s.length)===1&&see(t,u)}return see(t,u);case 176:return Wc(t.parent)?Dut(t.parent)&&see(t,u):xut(t.parent.parent)&&see(t,u);case 218:case 219:return xut(t.parent)}return!1}function see(t,u){return!!t.body&&!u.isImplementationOfOverload(t)}function Dut(t){return t.name?!0:!!ow(t,90)}function Bjt(t,u){return Tjt(t)>=but&&ye(t,s=>wjt(s,u))}function wjt(t,u){if($_(t)){const s=u.getTypeAtLocation(t);if(!u.isArrayType(s)&&!u.isTupleType(s))return!1}return!t.modifiers&&at(t.name)}function xut(t){return na(t)&&K8(t)&&at(t.name)&&!t.type}function M8e(t){return t.length>0&&rw(t[0].name)}function Tjt(t){return M8e(t)?t.length-1:t.length}function vut(t){return M8e(t)&&(t=q.createNodeArray(t.slice(1),t.hasTrailingComma)),t}function Ljt(t,u){return at(u)&&J4(u)===t?q.createShorthandPropertyAssignment(t):q.createPropertyAssignment(t,u)}function Njt(t,u){const s=vut(t.parameters),d=$_(Cr(s)),f=d?u.slice(0,s.length-1):u,p=Vt(f,(v,b)=>{const B=Eme(s[b]),k=Ljt(B,v);return Kf(k.name),Jc(k)&&Kf(k.initializer),Rk(v,k),k});if(d&&u.length>=s.length){const v=u.slice(s.length-1),b=q.createPropertyAssignment(Eme(Cr(s)),q.createArrayLiteralExpression(v));p.push(b)}return q.createObjectLiteralExpression(p,!1)}function Cut(t,u,s){const d=u.getTypeChecker(),f=vut(t.parameters),p=Vt(f,k),E=q.createObjectBindingPattern(p),v=T(f);let b;ye(f,j)&&(b=q.createObjectLiteralExpression());const B=q.createParameterDeclaration(void 0,void 0,E,void 0,v,b);if(M8e(t.parameters)){const J=t.parameters[0],K=q.createParameterDeclaration(void 0,void 0,J.name,void 0,J.type);return Kf(K.name),Rk(J.name,K.name),J.type&&(Kf(K.type),Rk(J.type,K.type)),q.createNodeArray([K,B])}return q.createNodeArray([B]);function k(J){const K=q.createBindingElement(void 0,void 0,Eme(J),$_(J)&&j(J)?q.createArrayLiteralExpression():J.initializer);return Kf(K),J.initializer&&K.initializer&&Rk(J.initializer,K.initializer),K}function T(J){const K=Vt(J,M);return i_(q.createTypeLiteralNode(K),1)}function M(J){let K=J.type;!K&&(J.initializer||$_(J))&&(K=z(J));const Y=q.createPropertySignature(void 0,Eme(J),j(J)?q.createToken(58):J.questionToken,K);return Kf(Y),Rk(J.name,Y.name),J.type&&Y.type&&Rk(J.type,Y.type),Y}function z(J){const K=d.getTypeAtLocation(J);return VM(K,J,u,s)}function j(J){if($_(J)){const K=d.getTypeAtLocation(J);return!d.isTupleType(K)}return d.isOptionalParameter(J)}}function Eme(t){return J4(t.name)}function Pjt(t){switch(t.parent.kind){case 263:const u=t.parent;return u.name?[u.name]:[H.checkDefined(ow(u,90),"Nameless class declaration should be a default export")];case 231:const d=t.parent,f=t.parent.parent,p=d.name;return p?[p,f.name]:[f.name]}}function Mjt(t){switch(t.kind){case 262:return t.name?[t.name]:[H.checkDefined(ow(t,90),"Nameless function declaration should be a default export")];case 174:return[t.name];case 176:const s=H.checkDefined(a0(t,137,t.getSourceFile()),"Constructor declaration should have constructor keyword");return t.parent.kind===231?[t.parent.parent.name,s]:[s];case 219:return[t.parent.name];case 218:return t.name?[t.name,t.parent.name]:[t.parent.name];default:return H.assertNever(t,`Unexpected function declaration kind ${t.kind}`)}}var lee,but,z8e,I8e,zjt=o({"src/services/refactors/convertParamsToDestructuredObject.ts"(){rr(),s_(),lee="Convert parameters to destructured object",but=1,z8e=to(F.Convert_parameters_to_destructured_object),I8e={name:lee,description:z8e,kind:"refactor.rewrite.parameters.toDestructured"},s3(lee,{kinds:[I8e.kind],getEditsForAction:vjt,getAvailableActions:xjt})}}),Ijt={},Rjt=o({"src/services/_namespaces/ts.refactor.convertParamsToDestructuredObject.ts"(){zjt()}});function Ojt(t){const{file:u,startPosition:s}=t,d=yut(u,s),f=R8e(d),p=us(f),E={name:_me,description:Dme,actions:[]};return p&&t.triggerReason!=="invoked"?_t:Z_(f)&&(p||Xn(f)&&O8e(f).isValidConcatenation)?(E.actions.push(xme),[E]):t.preferences.provideRefactorNotApplicableReason?(E.actions.push({...xme,notApplicableReason:to(F.Can_only_convert_string_concatenations_and_string_literals)}),[E]):_t}function yut(t,u){const s=Ca(t,u),d=R8e(s);return!O8e(d).isValidConcatenation&&Cf(d.parent)&&Xn(d.parent.parent)?d.parent.parent:s}function jjt(t,u){const{file:s,startPosition:d}=t,f=yut(s,d);switch(u){case Dme:return{edits:Vjt(t,f)};default:return H.fail("invalid action")}}function Vjt(t,u){const s=R8e(u),d=t.file,f=Wjt(O8e(s),d),p=gv(d.text,s.end);if(p){const E=p[p.length-1],v={pos:p[0].pos,end:E.end};return iu.ChangeTracker.with(t,b=>{b.deleteRange(d,v),b.replaceNode(d,s,f)})}else return iu.ChangeTracker.with(t,E=>E.replaceNode(d,s,f))}function Hjt(t){return!(t.operatorToken.kind===64||t.operatorToken.kind===65)}function R8e(t){return Tn(t.parent,s=>{switch(s.kind){case 211:case 212:return!1;case 228:case 226:return!(Xn(s.parent)&&Hjt(s.parent));default:return"quit"}})||t}function O8e(t){const u=E=>{if(!Xn(E))return{nodes:[E],operators:[],validOperators:!0,hasString:us(E)||T7(E)};const{nodes:v,operators:b,hasString:B,validOperators:k}=u(E.left);if(!(B||us(E.right)||lY(E.right)))return{nodes:[E],operators:[],hasString:!1,validOperators:!0};const T=E.operatorToken.kind===40,M=k&&T;return v.push(E.right),b.push(E.operatorToken),{nodes:v,operators:b,hasString:!0,validOperators:M}},{nodes:s,operators:d,validOperators:f,hasString:p}=u(t);return{nodes:s,operators:d,isValidConcatenation:f&&p}}function Kjt(t){return t.replace(/\\.|[$`]/g,u=>u[0]==="\\"?u:"\\"+u)}function kut(t){const u=vB(t)||qke(t)?-2:-1;return Hc(t).slice(1,u)}function Fut(t,u){const s=[];let d="",f="";for(;t{Aut(se);const ae=ge===M.templateSpans.length-1,Ce=se.literal.text+(ae?j:""),ne=kut(se.literal)+(ae?J:"");return q.createTemplateSpan(se.expression,Y&&ae?q.createTemplateTail(Ce,ne):q.createTemplateMiddle(Ce,ne))});B.push(...oe)}else{const oe=Y?q.createTemplateTail(j,J):q.createTemplateMiddle(j,J);f(K,oe),B.push(q.createTemplateSpan(M,oe))}}return q.createTemplateExpression(k,B)}function Aut(t){const u=t.getSourceFile();OM(t,t.expression,u,3,!1),ZH(t.expression,t.expression,u,3,!1)}function Gjt(t){return Cf(t)&&(Aut(t),t=t.expression),t}var _me,Dme,xme,Sut,But,Jjt=o({"src/services/refactors/convertStringOrTemplateLiteral.ts"(){rr(),s_(),_me="Convert to template string",Dme=to(F.Convert_to_template_string),xme={name:_me,description:Dme,kind:"refactor.rewrite.string"},s3(_me,{kinds:[xme.kind],getEditsForAction:jjt,getAvailableActions:Ojt}),Sut=(t,u)=>(s,d)=>{s(d,f)=>{for(;d.length>0;){const p=d.shift();OM(t[p],f,u,3,!1),s(p,f)}}}}),$jt={},Ujt=o({"src/services/_namespaces/ts.refactor.convertStringOrTemplateLiteral.ts"(){Jjt()}});function qjt(t){const u=wut(t,t.triggerReason==="invoked");return u?sD(u)?t.preferences.provideRefactorNotApplicableReason?[{name:cee,description:bme,actions:[{...yme,notApplicableReason:u.error}]}]:_t:[{name:cee,description:bme,actions:[yme]}]:_t}function Zjt(t,u){const s=wut(t);return H.assert(s&&!sD(s),"Expected applicable refactor info"),{edits:iu.ChangeTracker.with(t,f=>uVt(t.file,t.program.getTypeChecker(),f,s)),renameFilename:void 0,renameLocation:void 0}}function vme(t){return Xn(t)||SB(t)}function Yjt(t){return Od(t)||Op(t)||Jl(t)}function Cme(t){return vme(t)||Yjt(t)}function wut(t,u=!0){const{file:s,program:d}=t,f=u9(t),p=f.length===0;if(p&&!u)return;const E=Ca(s,f.start),v=cX(s,f.start+f.length),b=Vc(E.pos,v&&v.end>=E.pos?v.getEnd():E.getEnd()),B=p?iVt(E):tVt(E,b),k=B&&Cme(B)?nVt(B):void 0;if(!k)return{error:to(F.Could_not_find_convertible_access_expression)};const T=d.getTypeChecker();return SB(k)?Qjt(k,T):Xjt(k)}function Qjt(t,u){const s=t.condition,d=V8e(t.whenTrue);if(!d||u.isNullableType(u.getTypeAtLocation(d)))return{error:to(F.Could_not_find_convertible_access_expression)};if((Iu(s)||at(s))&&j8e(s,d.expression))return{finalExpression:d,occurrences:[s],expression:t};if(Xn(s)){const f=Tut(d.expression,s);return f?{finalExpression:d,occurrences:f,expression:t}:{error:to(F.Could_not_find_matching_access_expressions)}}}function Xjt(t){if(t.operatorToken.kind!==56)return{error:to(F.Can_only_convert_logical_AND_access_chains)};const u=V8e(t.right);if(!u)return{error:to(F.Could_not_find_convertible_access_expression)};const s=Tut(u.expression,t.left);return s?{finalExpression:u,occurrences:s,expression:t}:{error:to(F.Could_not_find_matching_access_expressions)}}function Tut(t,u){const s=[];for(;Xn(u)&&u.operatorToken.kind===56;){const f=j8e(l0(t),l0(u.right));if(!f)break;s.push(f),t=f,u=u.left}const d=j8e(t,u);return d&&s.push(d),s.length>0?s:void 0}function j8e(t,u){if(!(!at(u)&&!Iu(u)&&!U0(u)))return eVt(t,u)?u:void 0}function eVt(t,u){for(;(Mo(t)||Iu(t)||U0(t))&&pK(t)!==pK(u);)t=t.expression;for(;Iu(t)&&Iu(u)||U0(t)&&U0(u);){if(pK(t)!==pK(u))return!1;t=t.expression,u=u.expression}return at(t)&&at(u)&&t.getText()===u.getText()}function pK(t){if(at(t)||Pm(t))return t.getText();if(Iu(t))return pK(t.name);if(U0(t))return pK(t.argumentExpression)}function tVt(t,u){for(;t.parent;){if(Cme(t)&&u.length!==0&&t.end>=u.start+u.length)return t;t=t.parent}}function iVt(t){for(;t.parent;){if(Cme(t)&&!Cme(t.parent))return t;t=t.parent}}function nVt(t){if(vme(t))return t;if(Jl(t)){const u=eB(t),s=u==null?void 0:u.initializer;return s&&vme(s)?s:void 0}return t.expression&&vme(t.expression)?t.expression:void 0}function V8e(t){if(t=l0(t),Xn(t))return V8e(t.left);if((Iu(t)||U0(t)||Mo(t))&&!Y1(t))return t}function Lut(t,u,s){if(Iu(u)||U0(u)||Mo(u)){const d=Lut(t,u.expression,s),f=s.length>0?s[s.length-1]:void 0,p=(f==null?void 0:f.getText())===u.expression.getText();if(p&&s.pop(),Mo(u))return p?q.createCallChain(d,q.createToken(29),u.typeArguments,u.arguments):q.createCallChain(d,u.questionDotToken,u.typeArguments,u.arguments);if(Iu(u))return p?q.createPropertyAccessChain(d,q.createToken(29),u.name):q.createPropertyAccessChain(d,u.questionDotToken,u.name);if(U0(u))return p?q.createElementAccessChain(d,q.createToken(29),u.argumentExpression):q.createElementAccessChain(d,u.questionDotToken,u.argumentExpression)}return u}function uVt(t,u,s,d,f){const{finalExpression:p,occurrences:E,expression:v}=d,b=E[E.length-1],B=Lut(u,p,E);B&&(Iu(B)||U0(B)||Mo(B))&&(Xn(v)?s.replaceNodeRange(t,b,p,B):SB(v)&&s.replaceNode(t,v,q.createBinaryExpression(B,q.createToken(61),v.whenFalse)))}var cee,bme,yme,rVt=o({"src/services/refactors/convertToOptionalChainExpression.ts"(){rr(),s_(),cee="Convert to optional chain expression",bme=to(F.Convert_to_optional_chain_expression),yme={name:cee,description:bme,kind:"refactor.rewrite.expression.optionalChain"},s3(cee,{kinds:[yme.kind],getEditsForAction:Zjt,getAvailableActions:qjt})}}),aVt={},oVt=o({"src/services/_namespaces/ts.refactor.convertToOptionalChainExpression.ts"(){rVt()}});function Nut(t){const u=t.kind,s=H8e(t.file,u9(t),t.triggerReason==="invoked"),d=s.targetRange;if(d===void 0){if(!s.errors||s.errors.length===0||!t.preferences.provideRefactorNotApplicableReason)return _t;const j=[];return qv(pw.kind,u)&&j.push({name:fw,description:pw.description,actions:[{...pw,notApplicableReason:z(s.errors)}]}),qv(mw.kind,u)&&j.push({name:fw,description:mw.description,actions:[{...mw,notApplicableReason:z(s.errors)}]}),j}const f=fVt(d,t);if(f===void 0)return _t;const p=[],E=new Map;let v;const b=[],B=new Map;let k,T=0;for(const{functionExtraction:j,constantExtraction:J}of f){if(qv(pw.kind,u)){const K=j.description;j.errors.length===0?E.has(K)||(E.set(K,!0),p.push({description:K,name:`function_scope_${T}`,kind:pw.kind})):v||(v={description:K,name:`function_scope_${T}`,notApplicableReason:z(j.errors),kind:pw.kind})}if(qv(mw.kind,u)){const K=J.description;J.errors.length===0?B.has(K)||(B.set(K,!0),b.push({description:K,name:`constant_scope_${T}`,kind:mw.kind})):k||(k={description:K,name:`constant_scope_${T}`,notApplicableReason:z(J.errors),kind:mw.kind})}T++}const M=[];return p.length?M.push({name:fw,description:to(F.Extract_function),actions:p}):t.preferences.provideRefactorNotApplicableReason&&v&&M.push({name:fw,description:to(F.Extract_function),actions:[v]}),b.length?M.push({name:fw,description:to(F.Extract_constant),actions:b}):t.preferences.provideRefactorNotApplicableReason&&k&&M.push({name:fw,description:to(F.Extract_constant),actions:[k]}),M.length?M:_t;function z(j){let J=j[0].messageText;return typeof J!="string"&&(J=J.messageText),J}}function Put(t,u){const d=H8e(t.file,u9(t)).targetRange,f=/^function_scope_(\d+)$/.exec(u);if(f){const E=+f[1];return H.assert(isFinite(E),"Expected to parse a finite number from the function scope index"),dVt(d,t,E)}const p=/^constant_scope_(\d+)$/.exec(u);if(p){const E=+p[1];return H.assert(isFinite(E),"Expected to parse a finite number from the constant scope index"),hVt(d,t,E)}H.fail("Unrecognized action name")}function H8e(t,u,s=!0){const{length:d}=u;if(d===0&&!s)return{errors:[Rd(t,u.start,d,_1.cannotExtractEmpty)]};const f=d===0&&s,p=Y9e(t,u.start),E=cX(t,Ec(u)),v=p&&E&&s?sVt(p,E,t):u,b=f?NVt(p):JH(p,t,v),B=f?b:JH(E,t,v);let k=0,T;if(!b||!B)return{errors:[Rd(t,u.start,d,_1.cannotExtractRange)]};if(b.flags&16777216)return{errors:[Rd(t,u.start,d,_1.cannotExtractJSDoc)]};if(b.parent!==B.parent)return{errors:[Rd(t,u.start,d,_1.cannotExtractRange)]};if(b!==B){if(!zut(b.parent))return{errors:[Rd(t,u.start,d,_1.cannotExtractRange)]};const oe=[];for(const se of b.parent.statements){if(se===b||oe.length){const ge=Y(se);if(ge)return{errors:ge};oe.push(se)}if(se===B)break}return oe.length?{targetRange:{range:oe,facts:k,thisNode:T}}:{errors:[Rd(t,u.start,d,_1.cannotExtractRange)]}}if(Op(b)&&!b.expression)return{errors:[Rd(t,u.start,d,_1.cannotExtractRange)]};const M=j(b),z=J(M)||Y(M);if(z)return{errors:z};return{targetRange:{range:lVt(M),facts:k,thisNode:T}};function j(oe){if(Op(oe)){if(oe.expression)return oe.expression}else if(Jl(oe)||Ad(oe)){const se=Jl(oe)?oe.declarationList.declarations:oe.declarations;let ge=0,ae;for(const Ce of se)Ce.initializer&&(ge++,ae=Ce.initializer);if(ge===1)return ae}else if(na(oe)&&oe.initializer)return oe.initializer;return oe}function J(oe){if(at(Od(oe)?oe.expression:oe))return[Su(oe,_1.cannotExtractIdentifier)]}function K(oe,se){let ge=oe;for(;ge!==se;){if(ge.kind===172){No(ge)&&(k|=32);break}else if(ge.kind===169){Nm(ge).kind===176&&(k|=32);break}else ge.kind===174&&No(ge)&&(k|=32);ge=ge.parent}}function Y(oe){let se;if((Se=>{Se[Se.None=0]="None",Se[Se.Break=1]="Break",Se[Se.Continue=2]="Continue",Se[Se.Return=4]="Return"})(se||(se={})),H.assert(oe.pos<=oe.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),H.assert(!pg(oe.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!ia(oe)&&!(Z_(oe)&&Mut(oe))&&!$8e(oe))return[Su(oe,_1.statementOrExpressionExpected)];if(oe.flags&33554432)return[Su(oe,_1.cannotExtractAmbientBlock)];const ge=Yd(oe);ge&&K(oe,ge);let ae,Ce=4,ne;if(ve(oe),k&8){const Se=tf(oe,!1,!1);(Se.kind===262||Se.kind===174&&Se.parent.kind===210||Se.kind===218)&&(k|=16)}return ae;function ve(Se){if(ae)return!0;if(Q1(Se)){const pe=Se.kind===260?Se.parent.parent:Se;if(Yu(pe,32))return(ae||(ae=[])).push(Su(Se,_1.cannotExtractExportedEntity)),!0}switch(Se.kind){case 272:return(ae||(ae=[])).push(Su(Se,_1.cannotExtractImport)),!0;case 277:return(ae||(ae=[])).push(Su(Se,_1.cannotExtractExportedEntity)),!0;case 108:if(Se.parent.kind===213){const pe=Yd(Se);if(pe===void 0||pe.pos=u.start+u.length)return(ae||(ae=[])).push(Su(Se,_1.cannotExtractSuper)),!0}else k|=8,T=Se;break;case 219:ao(Se,function pe(fe){if(rw(fe))k|=8,T=Se;else{if(mr(fe)||Co(fe)&&!q0(fe))return!1;ao(fe,pe)}});case 263:case 262:la(Se.parent)&&Se.parent.externalModuleIndicator===void 0&&(ae||(ae=[])).push(Su(Se,_1.functionWillNotBeVisibleInTheNewScope));case 231:case 218:case 174:case 176:case 177:case 178:return!1}const Ne=Ce;switch(Se.kind){case 245:Ce&=-5;break;case 258:Ce=0;break;case 241:Se.parent&&Se.parent.kind===258&&Se.parent.finallyBlock===Se&&(Ce=4);break;case 297:case 296:Ce|=1;break;default:Tx(Se,!1)&&(Ce|=3);break}switch(Se.kind){case 197:case 110:k|=8,T=Se;break;case 256:{const pe=Se.label;(ne||(ne=[])).push(pe.escapedText),ao(Se,ve),ne.pop();break}case 252:case 251:{const pe=Se.label;pe?kt(ne,pe.escapedText)||(ae||(ae=[])).push(Su(Se,_1.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):Ce&(Se.kind===252?1:2)||(ae||(ae=[])).push(Su(Se,_1.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 223:k|=4;break;case 229:k|=2;break;case 253:Ce&4?k|=1:(ae||(ae=[])).push(Su(Se,_1.cannotExtractRangeContainingConditionalReturnStatement));break;default:ao(Se,ve);break}Ce=Ne}}}function sVt(t,u,s){const d=t.getStart(s);let f=u.getEnd();return s.text.charCodeAt(f)===59&&f++,{start:d,length:f-d}}function lVt(t){if(ia(t))return[t];if(Z_(t))return Od(t.parent)?[t.parent]:t;if($8e(t))return t}function K8e(t){return q0(t)?t0e(t.body):$0(t)||la(t)||rE(t)||mr(t)}function cVt(t){let u=D5(t.range)?Pn(t.range):t.range;if(t.facts&8&&!(t.facts&16)){const d=Yd(u);if(d){const f=Tn(u,$0);return f?[f,d]:[d]}}const s=[];for(;;)if(u=u.parent,u.kind===169&&(u=Tn(u,d=>$0(d)).parent),K8e(u)&&(s.push(u),u.kind===312))return s}function dVt(t,u,s){const{scopes:d,readsAndWrites:{target:f,usagesPerScope:p,functionErrorsPerScope:E,exposedVariableDeclarations:v}}=W8e(t,u);return H.assert(!E[s].length,"The extraction went missing? How?"),u.cancellationToken.throwIfCancellationRequested(),DVt(f,d[s],p[s],v,t,u)}function hVt(t,u,s){const{scopes:d,readsAndWrites:{target:f,usagesPerScope:p,constantErrorsPerScope:E,exposedVariableDeclarations:v}}=W8e(t,u);H.assert(!E[s].length,"The extraction went missing? How?"),H.assert(v.length===0,"Extract constant accepted a range containing a variable declaration?"),u.cancellationToken.throwIfCancellationRequested();const b=Wt(f)?f:f.statements[0].expression;return xVt(b,d[s],p[s],t.facts,u)}function fVt(t,u){const{scopes:s,readsAndWrites:{functionErrorsPerScope:d,constantErrorsPerScope:f}}=W8e(t,u);return s.map((E,v)=>{const b=mVt(E),B=pVt(E),k=$0(E)?gVt(E):mr(E)?EVt(E):_Vt(E);let T,M;return k===1?(T=e3(to(F.Extract_to_0_in_1_scope),[b,"global"]),M=e3(to(F.Extract_to_0_in_1_scope),[B,"global"])):k===0?(T=e3(to(F.Extract_to_0_in_1_scope),[b,"module"]),M=e3(to(F.Extract_to_0_in_1_scope),[B,"module"])):(T=e3(to(F.Extract_to_0_in_1),[b,k]),M=e3(to(F.Extract_to_0_in_1),[B,k])),v===0&&!mr(E)&&(M=e3(to(F.Extract_to_0_in_enclosing_scope),[B])),{functionExtraction:{description:T,errors:d[v]},constantExtraction:{description:M,errors:f[v]}}})}function W8e(t,u){const{file:s}=u,d=cVt(t),f=TVt(t,s),p=LVt(t,d,f,s,u.program.getTypeChecker(),u.cancellationToken);return{scopes:d,readsAndWrites:p}}function mVt(t){return $0(t)?"inner function":mr(t)?"method":"function"}function pVt(t){return mr(t)?"readonly field":"constant"}function gVt(t){switch(t.kind){case 176:return"constructor";case 218:case 262:return t.name?`function '${t.name.text}'`:KX;case 219:return"arrow function";case 174:return`method '${t.name.getText()}'`;case 177:return`'get ${t.name.getText()}'`;case 178:return`'set ${t.name.getText()}'`;default:H.assertNever(t,`Unexpected scope kind ${t.kind}`)}}function EVt(t){return t.kind===263?t.name?`class '${t.name.text}'`:"anonymous class declaration":t.name?`class expression '${t.name.text}'`:"anonymous class expression"}function _Vt(t){return t.kind===268?`namespace '${t.parent.name.getText()}'`:t.externalModuleIndicator?0:1}function DVt(t,u,{usages:s,typeParameterUsages:d,substitutions:f},p,E,v){const b=v.program.getTypeChecker(),B=Os(v.program.getCompilerOptions()),k=z1.createImportAdder(v.file,v.program,v.preferences,v.host),T=u.getSourceFile(),M=Ok(mr(u)?"newMethod":"newFunction",T),z=Qn(u),j=q.createIdentifier(M);let J;const K=[],Y=[];let oe;s.forEach((Ve,We)=>{let Gt;if(!z){let Ie=b.getTypeOfSymbolAtLocation(Ve.symbol,Ve.node);Ie=b.getBaseTypeOfLiteralType(Ie),Gt=z1.typeToAutoImportableTypeNode(b,k,Ie,u,B,1)}const Yt=q.createParameterDeclaration(void 0,void 0,We,void 0,Gt);K.push(Yt),Ve.usage===2&&(oe||(oe=[])).push(Ve),Y.push(q.createIdentifier(We))});const ge=ga(d.values(),Ve=>({type:Ve,declaration:CVt(Ve,v.startPosition)})).sort(bVt),ae=ge.length===0?void 0:qi(ge,({declaration:Ve})=>Ve),Ce=ae!==void 0?ae.map(Ve=>q.createTypeReferenceNode(Ve.name,void 0)):void 0;if(Wt(t)&&!z){const Ve=b.getContextualType(t);J=b.typeToTypeNode(Ve,u,1)}const{body:ne,returnValueProperty:ve}=kVt(t,p,oe,f,!!(E.facts&1));Kf(ne);let Se;const Ne=!!(E.facts&16);if(mr(u)){const Ve=z?[]:[q.createModifier(123)];E.facts&32&&Ve.push(q.createModifier(126)),E.facts&4&&Ve.push(q.createModifier(134)),Se=q.createMethodDeclaration(Ve.length?Ve:void 0,E.facts&2?q.createToken(42):void 0,j,void 0,ae,K,J,ne)}else Ne&&K.unshift(q.createParameterDeclaration(void 0,void 0,"this",void 0,b.typeToTypeNode(b.getTypeAtLocation(E.thisNode),u,1),void 0)),Se=q.createFunctionDeclaration(E.facts&4?[q.createToken(134)]:void 0,E.facts&2?q.createToken(42):void 0,j,ae,K,J,ne);const pe=iu.ChangeTracker.fromContext(v),fe=(D5(E.range)?Cr(E.range):E.range).end,xe=SVt(fe,u);xe?pe.insertNodeBefore(v.file,xe,Se,!0):pe.insertNodeAtEndOfScope(v.file,u,Se),k.writeFixes(pe);const Be=[],Ge=yVt(u,E,M);Ne&&Y.unshift(q.createIdentifier("this"));let Ae=q.createCallExpression(Ne?q.createPropertyAccessExpression(Ge,"call"):Ge,Ce,Y);if(E.facts&2&&(Ae=q.createYieldExpression(q.createToken(42),Ae)),E.facts&4&&(Ae=q.createAwaitExpression(Ae)),J8e(t)&&(Ae=q.createJsxExpression(void 0,Ae)),p.length&&!oe)if(H.assert(!ve,"Expected no returnValueProperty"),H.assert(!(E.facts&1),"Expected RangeFacts.HasReturn flag to be unset"),p.length===1){const Ve=p[0];Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ll(Ve.name),void 0,ll(Ve.type),Ae)],Ve.parent.flags)))}else{const Ve=[],We=[];let Gt=p[0].parent.flags,Yt=!1;for(const st of p){Ve.push(q.createBindingElement(void 0,void 0,ll(st.name)));const St=b.typeToTypeNode(b.getBaseTypeOfLiteralType(b.getTypeAtLocation(st)),u,1);We.push(q.createPropertySignature(void 0,st.symbol.name,void 0,St)),Yt=Yt||st.type!==void 0,Gt=Gt&st.parent.flags}const Ie=Yt?q.createTypeLiteralNode(We):void 0;Ie&&Zn(Ie,1),Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(q.createObjectBindingPattern(Ve),void 0,Ie,Ae)],Gt)))}else if(p.length||oe){if(p.length)for(const We of p){let Gt=We.parent.flags;Gt&2&&(Gt=Gt&-3|1),Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(We.symbol.name,void 0,Ye(We.type))],Gt)))}ve&&Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ve,void 0,Ye(J))],1)));const Ve=G8e(p,oe);ve&&Ve.unshift(q.createShorthandPropertyAssignment(ve)),Ve.length===1?(H.assert(!ve,"Shouldn't have returnValueProperty here"),Be.push(q.createExpressionStatement(q.createAssignment(Ve[0].name,Ae))),E.facts&1&&Be.push(q.createReturnStatement())):(Be.push(q.createExpressionStatement(q.createAssignment(q.createObjectLiteralExpression(Ve),Ae))),ve&&Be.push(q.createReturnStatement(q.createIdentifier(ve))))}else E.facts&1?Be.push(q.createReturnStatement(Ae)):D5(E.range)?Be.push(q.createExpressionStatement(Ae)):Be.push(Ae);D5(E.range)?pe.replaceNodeRangeWithNodes(v.file,Pn(E.range),Cr(E.range),Be):pe.replaceNodeWithNodes(v.file,E.range,Be);const De=pe.getChanges(),Je=(D5(E.range)?Pn(E.range):E.range).getSourceFile().fileName,ft=qH(De,Je,M,!1);return{renameFilename:Je,renameLocation:ft,edits:De};function Ye(Ve){if(Ve===void 0)return;const We=ll(Ve);let Gt=We;for(;M7(Gt);)Gt=Gt.type;return Pv(Gt)&&Le(Gt.types,Yt=>Yt.kind===157)?We:q.createUnionTypeNode([We,q.createKeywordTypeNode(157)])}}function xVt(t,u,{substitutions:s},d,f){const p=f.program.getTypeChecker(),E=u.getSourceFile(),v=Iu(t)&&!mr(u)&&!p.resolveName(t.name.text,t,111551,!1)&&!Xr(t.name)&&!Dv(t.name)?t.name.text:Ok(mr(u)?"newProperty":"newLocal",E),b=Qn(u);let B=b||!p.isContextSensitive(t)?void 0:p.typeToTypeNode(p.getContextualType(t),u,1),k=FVt(l0(t),s);({variableType:B,initializer:k}=J(B,k)),Kf(k);const T=iu.ChangeTracker.fromContext(f);if(mr(u)){H.assert(!b,"Cannot extract to a JS class");const K=[];K.push(q.createModifier(123)),d&32&&K.push(q.createModifier(126)),K.push(q.createModifier(148));const Y=q.createPropertyDeclaration(K,v,void 0,B,k);let oe=q.createPropertyAccessExpression(d&32?q.createIdentifier(u.name.getText()):q.createThis(),q.createIdentifier(v));J8e(t)&&(oe=q.createJsxExpression(void 0,oe));const se=t.pos,ge=BVt(se,u);T.insertNodeBefore(f.file,ge,Y,!0),T.replaceNode(f.file,t,oe)}else{const K=q.createVariableDeclaration(v,void 0,B,k),Y=vVt(t,u);if(Y){T.insertNodeBefore(f.file,Y,K);const oe=q.createIdentifier(v);T.replaceNode(f.file,t,oe)}else if(t.parent.kind===244&&u===Tn(t,K8e)){const oe=q.createVariableStatement(void 0,q.createVariableDeclarationList([K],2));T.replaceNode(f.file,t.parent,oe)}else{const oe=q.createVariableStatement(void 0,q.createVariableDeclarationList([K],2)),se=wVt(t,u);if(se.pos===0?T.insertNodeAtTopOfFile(f.file,oe,!1):T.insertNodeBefore(f.file,se,oe,!1),t.parent.kind===244)T.delete(f.file,t.parent);else{let ge=q.createIdentifier(v);J8e(t)&&(ge=q.createJsxExpression(void 0,ge)),T.replaceNode(f.file,t,ge)}}}const M=T.getChanges(),z=t.getSourceFile().fileName,j=qH(M,z,v,!0);return{renameFilename:z,renameLocation:j,edits:M};function J(K,Y){if(K===void 0)return{variableType:K,initializer:Y};if(!A0(Y)&&!q0(Y)||Y.typeParameters)return{variableType:K,initializer:Y};const oe=p.getTypeAtLocation(t),se=Aa(p.getSignaturesOfType(oe,0));if(!se)return{variableType:K,initializer:Y};if(se.getTypeParameters())return{variableType:K,initializer:Y};const ge=[];let ae=!1;for(const Ce of Y.parameters)if(Ce.type)ge.push(Ce);else{const ne=p.getTypeAtLocation(Ce);ne===p.getAnyType()&&(ae=!0),ge.push(q.updateParameterDeclaration(Ce,Ce.modifiers,Ce.dotDotDotToken,Ce.name,Ce.questionToken,Ce.type||p.typeToTypeNode(ne,u,1),Ce.initializer))}if(ae)return{variableType:K,initializer:Y};if(K=void 0,q0(Y))Y=q.updateArrowFunction(Y,Hp(t)?p2(t):void 0,Y.typeParameters,ge,Y.type||p.typeToTypeNode(se.getReturnType(),u,1),Y.equalsGreaterThanToken,Y.body);else{if(se&&se.thisParameter){const Ce=Ki(ge);if(!Ce||at(Ce.name)&&Ce.name.escapedText!=="this"){const ne=p.getTypeOfSymbolAtLocation(se.thisParameter,t);ge.splice(0,0,q.createParameterDeclaration(void 0,void 0,"this",void 0,p.typeToTypeNode(ne,u,1)))}}Y=q.updateFunctionExpression(Y,Hp(t)?p2(t):void 0,Y.asteriskToken,Y.name,Y.typeParameters,ge,Y.type||p.typeToTypeNode(se.getReturnType(),u,1),Y.body)}return{variableType:K,initializer:Y}}}function vVt(t,u){let s;for(;t!==void 0&&t!==u;){if(na(t)&&t.initializer===s&&Ad(t.parent)&&t.parent.declarations.length>1)return t;s=t,t=t.parent}}function CVt(t,u){let s;const d=t.symbol;if(d&&d.declarations)for(const f of d.declarations)(s===void 0||f.pos0;if(po(t)&&!p&&d.size===0)return{body:q.createBlock(t.statements,!0),returnValueProperty:void 0};let E,v=!1;const b=q.createNodeArray(po(t)?t.statements.slice(0):[ia(t)?t:q.createReturnStatement(l0(t))]);if(p||d.size){const k=kn(b,B,ia).slice();if(p&&!f&&ia(t)){const T=G8e(u,s);T.length===1?k.push(q.createReturnStatement(T[0].name)):k.push(q.createReturnStatement(q.createObjectLiteralExpression(T)))}return{body:q.createBlock(k,!0),returnValueProperty:E}}else return{body:q.createBlock(b,!0),returnValueProperty:void 0};function B(k){if(!v&&Op(k)&&p){const T=G8e(u,s);return k.expression&&(E||(E="__return"),T.unshift(q.createPropertyAssignment(E,yt(k.expression,B,Wt)))),T.length===1?q.createReturnStatement(T[0].name):q.createReturnStatement(q.createObjectLiteralExpression(T))}else{const T=v;v=v||$0(k)||mr(k);const M=d.get($s(k).toString()),z=M?ll(M):rn(k,B,Dg);return v=T,z}}}function FVt(t,u){return u.size?s(t):t;function s(d){const f=u.get($s(d).toString());return f?ll(f):rn(d,s,Dg)}}function AVt(t){if($0(t)){const u=t.body;if(po(u))return u.statements}else{if(rE(t)||la(t))return t.statements;if(mr(t))return t.members}return _t}function SVt(t,u){return Le(AVt(u),s=>s.pos>=t&&$0(s)&&!hc(s))}function BVt(t,u){const s=u.members;H.assert(s.length>0,"Found no members");let d,f=!0;for(const p of s){if(p.pos>t)return d||s[0];if(f&&!ko(p)){if(d!==void 0)return p;f=!1}d=p}return d===void 0?H.fail():d}function wVt(t,u){H.assert(!mr(u));let s;for(let d=t;d!==u;d=d.parent)K8e(d)&&(s=d);for(let d=(s||t).parent;;d=d.parent){if(zut(d)){let f;for(const p of d.statements){if(p.pos>t.pos)break;f=p}return!f&&BB(d)?(H.assert(BV(d.parent.parent),"Grandparent isn't a switch statement"),d.parent.parent):H.checkDefined(f,"prevStatement failed to get set")}H.assert(d!==u,"Didn't encounter a block-like before encountering scope")}}function G8e(t,u){const s=Vt(t,f=>q.createShorthandPropertyAssignment(f.symbol.name)),d=Vt(u,f=>q.createShorthandPropertyAssignment(f.symbol.name));return s===void 0?d:d===void 0?s:s.concat(d)}function D5(t){return Ha(t)}function TVt(t,u){return D5(t.range)?{pos:Pn(t.range).getStart(u),end:Cr(t.range).getEnd()}:t.range}function LVt(t,u,s,d,f,p){const E=new Map,v=[],b=[],B=[],k=[],T=[],M=new Map,z=[];let j;const J=D5(t.range)?t.range.length===1&&Od(t.range[0])?t.range[0].expression:void 0:t.range;let K;if(J===void 0){const xe=t.range,Be=Pn(xe).getStart(),Ge=Cr(xe).end;K=Rd(d,Be,Ge-Be,_1.expressionExpected)}else f.getTypeAtLocation(J).flags&147456&&(K=Su(J,_1.uselessConstantType));for(const xe of u){v.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),b.push(new Map),B.push([]);const Be=[];K&&Be.push(K),mr(xe)&&Qn(xe)&&Be.push(Su(xe,_1.cannotExtractToJSClass)),q0(xe)&&!po(xe.body)&&Be.push(Su(xe,_1.cannotExtractToExpressionArrowFunction)),k.push(Be)}const Y=new Map,oe=D5(t.range)?q.createBlock(t.range):t.range,se=D5(t.range)?Pn(t.range):t.range,ge=ae(se);if(ne(oe),ge&&!D5(t.range)&&!oE(t.range)){const xe=f.getContextualType(t.range);Ce(xe)}if(E.size>0){const xe=new Map;let Be=0;for(let Ge=se;Ge!==void 0&&Be{v[Be].typeParameterUsages.set(De,Ae)}),Be++),x0e(Ge))for(const Ae of Sx(Ge)){const De=f.getTypeAtLocation(Ae);E.has(De.id.toString())&&xe.set(De.id.toString(),De)}H.assert(Be===u.length,"Should have iterated all scopes")}if(T.length){const xe=D0e(u[0],u[0].parent)?u[0]:YE(u[0]);ao(xe,Ne)}for(let xe=0;xe0&&(Be.usages.size>0||Be.typeParameterUsages.size>0)){const De=D5(t.range)?t.range[0]:t.range;k[xe].push(Su(De,_1.cannotAccessVariablesFromNestedScopes))}t.facts&16&&mr(u[xe])&&B[xe].push(Su(t.thisNode,_1.cannotExtractFunctionsContainingThisToMethod));let Ge=!1,Ae;if(v[xe].usages.forEach(De=>{De.usage===2&&(Ge=!0,De.symbol.flags&106500&&De.symbol.valueDeclaration&&Rf(De.symbol.valueDeclaration,8)&&(Ae=De.symbol.valueDeclaration))}),H.assert(D5(t.range)||z.length===0,"No variable declarations expected if something was extracted"),Ge&&!D5(t.range)){const De=Su(t.range,_1.cannotWriteInExpression);B[xe].push(De),k[xe].push(De)}else if(Ae&&xe>0){const De=Su(Ae,_1.cannotExtractReadonlyPropertyInitializerOutsideConstructor);B[xe].push(De),k[xe].push(De)}else if(j){const De=Su(j,_1.cannotExtractExportedEntity);B[xe].push(De),k[xe].push(De)}}return{target:oe,usagesPerScope:v,functionErrorsPerScope:B,constantErrorsPerScope:k,exposedVariableDeclarations:z};function ae(xe){return!!Tn(xe,Be=>x0e(Be)&&Sx(Be).length!==0)}function Ce(xe){const Be=f.getSymbolWalker(()=>(p.throwIfCancellationRequested(),!0)),{visitedTypes:Ge}=Be.walkType(xe);for(const Ae of Ge)Ae.isTypeParameter()&&E.set(Ae.id.toString(),Ae)}function ne(xe,Be=1){if(ge){const Ge=f.getTypeAtLocation(xe);Ce(Ge)}if(Q1(xe)&&xe.symbol&&T.push(xe),ld(xe))ne(xe.left,2),ne(xe.right);else if(sbe(xe))ne(xe.operand,2);else if(Iu(xe)||U0(xe))ao(xe,ne);else if(at(xe)){if(!xe.parent||vf(xe.parent)&&xe!==xe.parent.left||Iu(xe.parent)&&xe!==xe.parent.expression)return;ve(xe,Be,q_(xe))}else ao(xe,ne)}function ve(xe,Be,Ge){const Ae=Se(xe,Be,Ge);if(Ae)for(let De=0;De=Be)return De;if(Y.set(De,Be),Ke){for(const Ye of v)Ye.usages.get(xe.text)&&Ye.usages.set(xe.text,{usage:Be,symbol:Ae,node:xe});return De}const Je=Ae.getDeclarations(),ft=Je&&Le(Je,Ye=>Ye.getSourceFile()===d);if(ft&&!IH(s,ft.getStart(),ft.end)){if(t.facts&2&&Be===2){const Ye=Su(xe,_1.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);for(const Ve of B)Ve.push(Ye);for(const Ve of k)Ve.push(Ye)}for(let Ye=0;YeAe.symbol===Be);if(Ge)if(na(Ge)){const Ae=Ge.symbol.id.toString();M.has(Ae)||(z.push(Ge),M.set(Ae,!0))}else j=j||Ge}ao(xe,Ne)}function pe(xe){return xe.parent&&pm(xe.parent)&&xe.parent.name===xe?f.getShorthandAssignmentValueSymbol(xe.parent):f.getSymbolAtLocation(xe)}function fe(xe,Be,Ge){if(!xe)return;const Ae=xe.getDeclarations();if(Ae&&Ae.some(Ke=>Ke.parent===Be))return q.createIdentifier(xe.name);const De=fe(xe.parent,Be,Ge);if(De!==void 0)return Ge?q.createQualifiedName(De,q.createIdentifier(xe.name)):q.createPropertyAccessExpression(De,xe.name)}}function NVt(t){return Tn(t,u=>u.parent&&Mut(u)&&!Xn(u.parent))}function Mut(t){const{parent:u}=t;switch(u.kind){case 306:return!1}switch(t.kind){case 11:return u.kind!==272&&u.kind!==276;case 230:case 206:case 208:return!1;case 80:return u.kind!==208&&u.kind!==276&&u.kind!==281}return!0}function zut(t){switch(t.kind){case 241:case 312:case 268:case 296:return!0;default:return!1}}function J8e(t){return $8e(t)||(r3(t)||bk(t)||K2(t))&&(r3(t.parent)||K2(t.parent))}function $8e(t){return us(t)&&t.parent&&oE(t.parent)}var fw,mw,pw,_1,U8e,PVt=o({"src/services/refactors/extractSymbol.ts"(){rr(),s_(),fw="Extract Symbol",mw={name:"Extract Constant",description:to(F.Extract_constant),kind:"refactor.extract.constant"},pw={name:"Extract Function",description:to(F.Extract_function),kind:"refactor.extract.function"},s3(fw,{kinds:[mw.kind,pw.kind],getEditsForAction:Put,getAvailableActions:Nut}),(t=>{function u(s){return{message:s,code:0,category:3,key:s}}t.cannotExtractRange=u("Cannot extract range."),t.cannotExtractImport=u("Cannot extract import statement."),t.cannotExtractSuper=u("Cannot extract super call."),t.cannotExtractJSDoc=u("Cannot extract JSDoc."),t.cannotExtractEmpty=u("Cannot extract empty range."),t.expressionExpected=u("expression expected."),t.uselessConstantType=u("No reason to extract constant of type."),t.statementOrExpressionExpected=u("Statement or expression expected."),t.cannotExtractRangeContainingConditionalBreakOrContinueStatements=u("Cannot extract range containing conditional break or continue statements."),t.cannotExtractRangeContainingConditionalReturnStatement=u("Cannot extract range containing conditional return statement."),t.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=u("Cannot extract range containing labeled break or continue with target outside of the range."),t.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=u("Cannot extract range containing writes to references located outside of the target range in generators."),t.typeWillNotBeVisibleInTheNewScope=u("Type will not visible in the new scope."),t.functionWillNotBeVisibleInTheNewScope=u("Function will not visible in the new scope."),t.cannotExtractIdentifier=u("Select more than a single identifier."),t.cannotExtractExportedEntity=u("Cannot extract exported declaration"),t.cannotWriteInExpression=u("Cannot write back side-effects when extracting an expression"),t.cannotExtractReadonlyPropertyInitializerOutsideConstructor=u("Cannot move initialization of read-only class property outside of the constructor"),t.cannotExtractAmbientBlock=u("Cannot extract code from ambient contexts"),t.cannotAccessVariablesFromNestedScopes=u("Cannot access variables from nested scopes"),t.cannotExtractToJSClass=u("Cannot extract constant to a class scope in JS"),t.cannotExtractToExpressionArrowFunction=u("Cannot extract constant to an arrow function without a block"),t.cannotExtractFunctionsContainingThisToMethod=u("Cannot extract functions containing this to method")})(_1||(_1={})),U8e=(t=>(t[t.None=0]="None",t[t.HasReturn=1]="HasReturn",t[t.IsGenerator=2]="IsGenerator",t[t.IsAsyncFunction=4]="IsAsyncFunction",t[t.UsesThis=8]="UsesThis",t[t.UsesThisInFunction=16]="UsesThisInFunction",t[t.InStaticRegion=32]="InStaticRegion",t))(U8e||{})}}),Iut={};h(Iut,{Messages:()=>_1,RangeFacts:()=>U8e,getRangeToExtract:()=>H8e,getRefactorActionsToExtractSymbol:()=>Nut,getRefactorEditsToExtractSymbol:()=>Put});var MVt=o({"src/services/_namespaces/ts.refactor.extractSymbol.ts"(){PVt()}}),dee,kme,Fme,zVt=o({"src/services/refactors/generateGetAccessorAndSetAccessor.ts"(){rr(),s_(),dee="Generate 'get' and 'set' accessors",kme=to(F.Generate_get_and_set_accessors),Fme={name:dee,description:kme,kind:"refactor.rewrite.property.generateAccessors"},s3(dee,{kinds:[Fme.kind],getEditsForAction:function(u,s){if(!u.endPosition)return;const d=z1.getAccessorConvertiblePropertyAtPosition(u.file,u.program,u.startPosition,u.endPosition);H.assert(d&&!sD(d),"Expected applicable refactor info");const f=z1.generateAccessorFromProperty(u.file,u.program,u.startPosition,u.endPosition,u,s);if(!f)return;const p=u.file.fileName,E=d.renameAccessor?d.accessorName:d.fieldName,b=(at(E)?0:-1)+qH(f,p,E.text,io(d.declaration));return{renameFilename:p,renameLocation:b,edits:f}},getAvailableActions(t){if(!t.endPosition)return _t;const u=z1.getAccessorConvertiblePropertyAtPosition(t.file,t.program,t.startPosition,t.endPosition,t.triggerReason==="invoked");return u?sD(u)?t.preferences.provideRefactorNotApplicableReason?[{name:dee,description:kme,actions:[{...Fme,notApplicableReason:u.error}]}]:_t:[{name:dee,description:kme,actions:[Fme]}]:_t}})}}),IVt={},RVt=o({"src/services/_namespaces/ts.refactor.generateGetAccessorAndSetAccessor.ts"(){zVt()}});function OVt(t){const u=Rut(t);if(u&&!sD(u))return{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,d=>VVt(t.file,d,u.declaration,u.returnTypeNode))}}function jVt(t){const u=Rut(t);return u?sD(u)?t.preferences.provideRefactorNotApplicableReason?[{name:hee,description:Ame,actions:[{...fee,notApplicableReason:u.error}]}]:_t:[{name:hee,description:Ame,actions:[fee]}]:_t}function VVt(t,u,s,d){const f=a0(s,22,t),p=q0(s)&&f===void 0,E=p?Pn(s.parameters):f;E&&(p&&(u.insertNodeBefore(t,E,q.createToken(21)),u.insertNodeAfter(t,E,q.createToken(22))),u.insertNodeAt(t,E.end,d,{prefix:": "}))}function Rut(t){if(Qn(t.file)||!qv(fee.kind,t.kind))return;const u=af(t.file,t.startPosition),s=Tn(u,E=>po(E)||E.parent&&q0(E.parent)&&(E.kind===39||E.parent.body===E)?"quit":HVt(E));if(!s||!s.body||s.type)return{error:to(F.Return_type_must_be_inferred_from_a_function)};const d=t.program.getTypeChecker(),f=KVt(d,s);if(!f)return{error:to(F.Could_not_determine_function_return_type)};const p=d.typeToTypeNode(f,s,1);if(p)return{declaration:s,returnTypeNode:p}}function HVt(t){switch(t.kind){case 262:case 218:case 219:case 174:return!0;default:return!1}}function KVt(t,u){if(t.isImplementationOfOverload(u)){const d=t.getTypeAtLocation(u).getCallSignatures();if(d.length>1)return t.getUnionType(qi(d,f=>f.getReturnType()))}const s=t.getSignatureFromDeclaration(u);if(s)return t.getReturnTypeOfSignature(s)}var hee,Ame,fee,WVt=o({"src/services/refactors/inferFunctionReturnType.ts"(){rr(),s_(),hee="Infer function return type",Ame=to(F.Infer_function_return_type),fee={name:hee,description:Ame,kind:"refactor.rewrite.function.returnType"},s3(hee,{kinds:[fee.kind],getEditsForAction:OVt,getAvailableActions:jVt})}}),GVt={},JVt=o({"src/services/_namespaces/ts.refactor.inferFunctionReturnType.ts"(){WVt()}}),a9={};h(a9,{addExportToChanges:()=>F8e,addExports:()=>C8e,addNewFileToTsconfig:()=>E8e,addOrRemoveBracesToArrowFunction:()=>ajt,convertArrowFunctionOrFunctionExpression:()=>_jt,convertParamsToDestructuredObject:()=>Ijt,convertStringOrTemplateLiteral:()=>$jt,convertToOptionalChainExpression:()=>aVt,createNewFileName:()=>A8e,createOldFileImportsFromTargetFile:()=>v8e,deleteMovedStatements:()=>iee,deleteUnusedImports:()=>b8e,deleteUnusedOldImports:()=>_8e,doChangeNamedToNamespaceOrDefault:()=>Gnt,extractSymbol:()=>Iut,filterImport:()=>lK,forEachImportInStatement:()=>sK,generateGetAccessorAndSetAccessor:()=>IVt,getApplicableRefactors:()=>rOt,getEditsForRefactor:()=>aOt,getStatementsToMove:()=>cK,getTopLevelDeclarationStatement:()=>hme,getUsageInfo:()=>uee,inferFunctionReturnType:()=>GVt,isRefactorErrorInfo:()=>sD,isTopLevelDeclaration:()=>ree,makeImportOrRequire:()=>nee,moduleSpecifierFromImport:()=>oK,nameOfTopLevelDeclaration:()=>k8e,refactorKindBeginsWith:()=>qv,registerRefactor:()=>s3,updateImportsInOtherFiles:()=>D8e});var s_=o({"src/services/_namespaces/ts.refactor.ts"(){Ont(),fOt(),_Ot(),kOt(),FOt(),SOt(),LOt(),XOt(),ojt(),Djt(),Rjt(),Ujt(),oVt(),MVt(),RVt(),JVt()}});function Out(t,u,s,d){const f=q8e(t,u,s,d);H.assert(f.spans.length%3===0);const p=f.spans,E=[];for(let v=0;v{f.push(E.getStart(u),E.getWidth(u),(v+1<<8)+b)},d),f}function UVt(t,u,s,d,f){const p=t.getTypeChecker();let E=!1;function v(b){switch(b.kind){case 267:case 263:case 264:case 262:case 231:case 218:case 219:f.throwIfCancellationRequested()}if(!b||!wU(s,b.pos,b.getFullWidth())||b.getFullWidth()===0)return;const B=E;if((r3(b)||bk(b))&&(E=!0),YP(b)&&(E=!1),at(b)&&!E&&!QVt(b)&&!LP(b.escapedText)){let k=p.getSymbolAtLocation(b);if(k){k.flags&2097152&&(k=p.getAliasedSymbol(k));let T=qVt(k,Pk(b));if(T!==void 0){let M=0;b.parent&&(js(b.parent)||X8e.get(b.parent.kind)===T)&&b.parent.name===b&&(M=1),T===6&&Vut(b)&&(T=9),T=ZVt(p,b,T);const z=k.valueDeclaration;if(z){const j=m2(z),J=QD(z);j&256&&(M|=2),j&1024&&(M|=4),T!==0&&T!==2&&(j&8||J&2||k.getFlags()&8)&&(M|=8),(T===7||T===10)&&YVt(z,u)&&(M|=32),t.isSourceFileDefaultLibrary(z.getSourceFile())&&(M|=16)}else k.declarations&&k.declarations.some(j=>t.isSourceFileDefaultLibrary(j.getSourceFile()))&&(M|=16);d(b,T,M)}}}ao(b,v),E=B}v(u)}function qVt(t,u){const s=t.getFlags();if(s&32)return 0;if(s&384)return 1;if(s&524288)return 5;if(s&64){if(u&2)return 2}else if(s&262144)return 4;let d=t.valueDeclaration||t.declarations&&t.declarations[0];return d&&js(d)&&(d=jut(d)),d&&X8e.get(d.kind)}function ZVt(t,u,s){if(s===7||s===9||s===6){const d=t.getTypeAtLocation(u);if(d){const f=p=>p(d)||d.isUnion()&&d.types.some(p);if(s!==6&&f(p=>p.getConstructSignatures().length>0))return 0;if(f(p=>p.getCallSignatures().length>0)&&!f(p=>p.getProperties().length>0)||XVt(u))return s===9?11:10}}return s}function YVt(t,u){return js(t)&&(t=jut(t)),na(t)?(!la(t.parent.parent.parent)||G2(t.parent))&&t.getSourceFile()===u:ed(t)?!la(t.parent)&&t.getSourceFile()===u:!1}function jut(t){for(;;)if(js(t.parent.parent))t=t.parent.parent;else return t.parent.parent}function QVt(t){const u=t.parent;return u&&(n_(u)||bf(u)||Jx(u))}function XVt(t){for(;Vut(t);)t=t.parent;return Mo(t.parent)&&t.parent.expression===t}function Vut(t){return vf(t.parent)&&t.parent.right===t||Iu(t.parent)&&t.parent.name===t}var Z8e,Y8e,Q8e,X8e,Hut=o({"src/services/classifier2020.ts"(){rr(),Z8e=(t=>(t[t.typeOffset=8]="typeOffset",t[t.modifierMask=255]="modifierMask",t))(Z8e||{}),Y8e=(t=>(t[t.class=0]="class",t[t.enum=1]="enum",t[t.interface=2]="interface",t[t.namespace=3]="namespace",t[t.typeParameter=4]="typeParameter",t[t.type=5]="type",t[t.parameter=6]="parameter",t[t.variable=7]="variable",t[t.enumMember=8]="enumMember",t[t.property=9]="property",t[t.function=10]="function",t[t.member=11]="member",t))(Y8e||{}),Q8e=(t=>(t[t.declaration=0]="declaration",t[t.static=1]="static",t[t.async=2]="async",t[t.readonly=3]="readonly",t[t.defaultLibrary=4]="defaultLibrary",t[t.local=5]="local",t))(Q8e||{}),X8e=new Map([[260,7],[169,6],[172,9],[267,3],[266,1],[306,8],[263,0],[174,11],[262,10],[218,10],[173,11],[177,9],[178,9],[171,9],[264,2],[265,5],[168,4],[303,9],[304,9]])}});function Kut(t,u,s,d){const f=GO(t)?new Lme(t,u,s):t===80?new Pme(80,u,s):t===81?new Mme(81,u,s):new nBe(t,u,s);return f.parent=d,f.flags=d.flags&101441536,f}function eHt(t,u){if(!GO(t.kind))return _t;const s=[];if(GU(t))return t.forEachChild(E=>{s.push(E)}),s;nh.setText((u||t.getSourceFile()).text);let d=t.pos;const f=E=>{mee(s,d,E.pos,t),s.push(E),d=E.end},p=E=>{mee(s,d,E.pos,t),s.push(tHt(E,t)),d=E.end};return L(t.jsDoc,f),d=t.pos,t.forEachChild(f,p),mee(s,d,t.end,t),nh.setText(void 0),s}function mee(t,u,s,d){for(nh.resetTokenState(u);uu.tagName.text==="inheritDoc"||u.tagName.text==="inheritdoc")}function Sme(t,u){if(!t)return _t;let s=Yv.getJsDocTagsFromDeclarations(t,u);if(u&&(s.length===0||t.some(Wut))){const d=new Set;for(const f of t){const p=Gut(u,f,E=>{var v;if(!d.has(E))return d.add(E),f.kind===177||f.kind===178?E.getContextualJsDocTags(f,u):((v=E.declarations)==null?void 0:v.length)===1?E.getJsDocTags():void 0});p&&(s=[...p,...s])}}return s}function pee(t,u){if(!t)return _t;let s=Yv.getJsDocCommentsFromDeclarations(t,u);if(u&&(s.length===0||t.some(Wut))){const d=new Set;for(const f of t){const p=Gut(u,f,E=>{if(!d.has(E))return d.add(E),f.kind===177||f.kind===178?E.getContextualDocumentationComment(f,u):E.getDocumentationComment(u)});p&&(s=s.length===0?p.slice():p.concat(lw(),s))}}return s}function Gut(t,u,s){var d;const f=((d=u.parent)==null?void 0:d.kind)===176?u.parent.parent:u.parent;if(!f)return;const p=Kc(u);return G(uP(f),E=>{const v=t.getTypeAtLocation(E),b=p&&v.symbol?t.getTypeOfSymbol(v.symbol):v,B=t.getPropertyOfType(b,u.symbol.name);return B?s(B):void 0})}function iHt(){return{getNodeConstructor:()=>Lme,getTokenConstructor:()=>nBe,getIdentifierConstructor:()=>Pme,getPrivateIdentifierConstructor:()=>Mme,getSourceFileConstructor:()=>Yut,getSymbolConstructor:()=>Uut,getTypeConstructor:()=>qut,getSignatureConstructor:()=>Zut,getSourceMapSourceConstructor:()=>Qut}}function gK(t){let u=!0;for(const d in t)if(gu(t,d)&&!Jut(d)){u=!1;break}if(u)return t;const s={};for(const d in t)if(gu(t,d)){const f=Jut(d)?d:d.charAt(0).toLowerCase()+d.substr(1);s[f]=t[d]}return s}function Jut(t){return!t.length||t.charAt(0)===t.charAt(0).toLowerCase()}function EK(t){return t?Vt(t,u=>u.text).join(""):""}function gee(){return{target:1,jsx:1}}function Bme(){return z1.getSupportedErrorCodes()}function $ut(t,u,s){t.version=s,t.scriptSnapshot=u}function Eee(t,u,s,d,f,p){const E=KV(t,aw(u),s,f,p);return $ut(E,u,d),E}function wme(t,u,s,d,f){if(d&&s!==t.version){let E;const v=d.span.start!==0?t.text.substr(0,d.span.start):"",b=Ec(d.span)!==t.text.length?t.text.substr(Ec(d.span)):"";if(d.newLength===0)E=v&&b?v+b:v||b;else{const k=u.getText(d.span.start,d.span.start+d.newLength);E=v&&b?v+k+b:v?v+k:k+b}const B=$ce(t,E,d,f);return $ut(B,u,s),B.nameTable=void 0,t!==B&&t.scriptSnapshot&&(t.scriptSnapshot.dispose&&t.scriptSnapshot.dispose(),t.scriptSnapshot=void 0),B}const p={languageVersion:t.languageVersion,impliedNodeFormat:t.impliedNodeFormat,setExternalModuleIndicator:t.setExternalModuleIndicator,jsDocParsingMode:t.jsDocParsingMode};return Eee(t.fileName,u,p,s,!0,t.scriptKind)}function eBe(t,u=OSe(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory()),s){var d;let f;s===void 0?f=0:typeof s=="boolean"?f=s?2:0:f=s;const p=new Xut(t);let E,v,b=0;const B=t.getCancellationToken?new trt(t.getCancellationToken()):ert,k=t.getCurrentDirectory();tke((d=t.getLocalizedDiagnosticMessages)==null?void 0:d.bind(t));function T(we){t.log&&t.log(we)}const M=Hj(t),z=L1(M),j=XSe({useCaseSensitiveFileNames:()=>M,getCurrentDirectory:()=>k,getProgram:Y,fileExists:Lo(t,t.fileExists),readFile:Lo(t,t.readFile),getDocumentPositionMapper:Lo(t,t.getDocumentPositionMapper),getSourceFileLike:Lo(t,t.getSourceFileLike),log:T});function J(we){const de=E.getSourceFile(we);if(!de){const je=new Error(`Could not find source file: '${we}'.`);throw je.ProgramFiles=E.getSourceFiles().map(X=>X.fileName),je}return de}function K(){var we,de,je;if(H.assert(f!==2),t.getProjectVersion){const Ya=t.getProjectVersion();if(Ya){if(v===Ya&&!((we=t.hasChangedAutomaticTypeDirectiveNames)!=null&&we.call(t)))return;v=Ya}}const X=t.getTypeRootsVersion?t.getTypeRootsVersion():0;b!==X&&(T("TypeRoots version has changed; provide new program"),E=void 0,b=X);const it=t.getScriptFileNames().slice(),Ct=t.getCompilationSettings()||gee(),ct=t.hasInvalidatedResolutions||cg,Qt=Lo(t,t.hasInvalidatedLibResolutions)||cg,Li=Lo(t,t.hasChangedAutomaticTypeDirectiveNames),Ui=(de=t.getProjectReferences)==null?void 0:de.call(t);let Sn,du={getSourceFile:Fn,getSourceFileByPath:vc,getCancellationToken:()=>B,getCanonicalFileName:z,useCaseSensitiveFileNames:()=>M,getNewLine:()=>a5(Ct),getDefaultLibFileName:Ya=>t.getDefaultLibFileName(Ya),writeFile:Is,getCurrentDirectory:()=>k,fileExists:Ya=>t.fileExists(Ya),readFile:Ya=>t.readFile&&t.readFile(Ya),getSymlinkCache:Lo(t,t.getSymlinkCache),realpath:Lo(t,t.realpath),directoryExists:Ya=>hg(Ya,t),getDirectories:Ya=>t.getDirectories?t.getDirectories(Ya):[],readDirectory:(Ya,c0,Ul,wl,hd)=>(H.checkDefined(t.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(Ya,c0,Ul,wl,hd)),onReleaseOldSourceFile:wo,onReleaseParsedCommandLine:as,hasInvalidatedResolutions:ct,hasInvalidatedLibResolutions:Qt,hasChangedAutomaticTypeDirectiveNames:Li,trace:Lo(t,t.trace),resolveModuleNames:Lo(t,t.resolveModuleNames),getModuleResolutionCache:Lo(t,t.getModuleResolutionCache),createHash:Lo(t,t.createHash),resolveTypeReferenceDirectives:Lo(t,t.resolveTypeReferenceDirectives),resolveModuleNameLiterals:Lo(t,t.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:Lo(t,t.resolveTypeReferenceDirectiveReferences),resolveLibrary:Lo(t,t.resolveLibrary),useSourceOfProjectReferenceRedirect:Lo(t,t.useSourceOfProjectReferenceRedirect),getParsedCommandLine:wn,jsDocParsingMode:t.jsDocParsingMode};const Ru=du.getSourceFile,{getSourceFileWithCache:pr}=vH(du,Ya=>J0(Ya,k,z),(...Ya)=>Ru.call(du,...Ya));du.getSourceFile=pr,(je=t.setCompilerHost)==null||je.call(t,du);const Xu={useCaseSensitiveFileNames:M,fileExists:Ya=>du.fileExists(Ya),readFile:Ya=>du.readFile(Ya),directoryExists:Ya=>du.directoryExists(Ya),getDirectories:Ya=>du.getDirectories(Ya),realpath:du.realpath,readDirectory:(...Ya)=>du.readDirectory(...Ya),trace:du.trace,getCurrentDirectory:du.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:Is},ca=u.getKeyForCompilationSettings(Ct);let Ku=new Set;if(w1e(E,it,Ct,(Ya,c0)=>t.getScriptVersion(c0),Ya=>du.fileExists(Ya),ct,Qt,Li,wn,Ui)){du=void 0,Sn=void 0,Ku=void 0;return}E=SQ({rootNames:it,options:Ct,host:du,oldProgram:E,projectReferences:Ui}),du=void 0,Sn=void 0,Ku=void 0,j.clearCache(),E.getTypeChecker();return;function wn(Ya){const c0=J0(Ya,k,z),Ul=Sn==null?void 0:Sn.get(c0);if(Ul!==void 0)return Ul||void 0;const wl=t.getParsedCommandLine?t.getParsedCommandLine(Ya):Ir(Ya);return(Sn||(Sn=new Map)).set(c0,wl||!1),wl}function Ir(Ya){const c0=Fn(Ya,100);if(c0)return c0.path=J0(Ya,k,z),c0.resolvedPath=c0.path,c0.originalFileName=c0.fileName,UV(c0,Xu,$a(lr(Ya),k),void 0,$a(Ya,k))}function as(Ya,c0,Ul){var wl;t.getParsedCommandLine?(wl=t.onReleaseParsedCommandLine)==null||wl.call(t,Ya,c0,Ul):c0&&wo(c0.sourceFile,Ul)}function wo(Ya,c0){const Ul=u.getKeyForCompilationSettings(c0);u.releaseDocumentWithKey(Ya.resolvedPath,Ul,Ya.scriptKind,Ya.impliedNodeFormat)}function Fn(Ya,c0,Ul,wl){return vc(Ya,J0(Ya,k,z),c0,Ul,wl)}function vc(Ya,c0,Ul,wl,hd){H.assert(du,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");const vl=t.getScriptSnapshot(Ya);if(!vl)return;const co=pfe(Ya,t),Ho=t.getScriptVersion(Ya);if(!hd){const id=E&&E.getSourceFileByPath(c0);if(id){if(co===id.scriptKind||Ku.has(id.resolvedPath))return u.updateDocumentWithKey(Ya,c0,t,ca,vl,Ho,co,Ul);u.releaseDocumentWithKey(id.resolvedPath,u.getKeyForCompilationSettings(E.getCompilerOptions()),id.scriptKind,id.impliedNodeFormat),Ku.add(id.resolvedPath)}}return u.acquireDocumentWithKey(Ya,c0,t,ca,vl,Ho,co,Ul)}}function Y(){if(f===2){H.assert(E===void 0);return}return K(),E}function oe(){var we;return(we=t.getPackageJsonAutoImportProvider)==null?void 0:we.call(t)}function se(we,de){const je=E.getTypeChecker(),X=it();if(!X)return!1;for(const ct of we)for(const Qt of ct.references){const Li=Ct(Qt);if(H.assertIsDefined(Li),de.has(Qt)||Z0.isDeclarationOfSymbol(Li,X)){de.add(Qt),Qt.isDefinition=!0;const Ui=yX(Qt,j,Lo(t,t.fileExists));Ui&&de.add(Ui)}else Qt.isDefinition=!1}return!0;function it(){for(const ct of we)for(const Qt of ct.references){if(de.has(Qt)){const Ui=Ct(Qt);return H.assertIsDefined(Ui),je.getSymbolAtLocation(Ui)}const Li=yX(Qt,j,Lo(t,t.fileExists));if(Li&&de.has(Li)){const Ui=Ct(Li);if(Ui)return je.getSymbolAtLocation(Ui)}}}function Ct(ct){const Qt=E.getSourceFile(ct.fileName);if(!Qt)return;const Li=af(Qt,ct.textSpan.start);return Z0.Core.getAdjustedNode(Li,{use:Z0.FindReferencesUse.References})}}function ge(){if(E){const we=u.getKeyForCompilationSettings(E.getCompilerOptions());L(E.getSourceFiles(),de=>u.releaseDocumentWithKey(de.resolvedPath,we,de.scriptKind,de.impliedNodeFormat)),E=void 0}}function ae(){ge(),t=void 0}function Ce(we){return K(),E.getSyntacticDiagnostics(J(we),B).slice()}function ne(we){K();const de=J(we),je=E.getSemanticDiagnostics(de,B);if(!c4(E.getCompilerOptions()))return je.slice();const X=E.getDeclarationDiagnostics(de,B);return[...je,...X]}function ve(we){return K(),Jfe(J(we),E,B)}function Se(){return K(),[...E.getOptionsDiagnostics(B),...E.getGlobalDiagnostics(B)]}function Ne(we,de,je=d4,X){const it={...je,includeCompletionsForModuleExports:je.includeCompletionsForModuleExports||je.includeExternalModuleExports,includeCompletionsWithInsertText:je.includeCompletionsWithInsertText||je.includeInsertTextCompletions};return K(),h9.getCompletionsAtPosition(t,E,T,J(we),de,it,je.triggerCharacter,je.triggerKind,B,X&&dd.getFormatContext(X,t),je.includeSymbol)}function pe(we,de,je,X,it,Ct=d4,ct){return K(),h9.getCompletionEntryDetails(E,T,J(we),de,{name:je,source:it,data:ct},t,X&&dd.getFormatContext(X,t),Ct,B)}function fe(we,de,je,X,it=d4){return K(),h9.getCompletionEntrySymbol(E,T,J(we),de,{name:je,source:X},t,it)}function xe(we,de){K();const je=J(we),X=af(je,de);if(X===je)return;const it=E.getTypeChecker(),Ct=Be(X),ct=aHt(Ct,it);if(!ct||it.isUnknownSymbol(ct)){const du=Ge(je,Ct,de)?it.getTypeAtLocation(Ct):void 0;return du&&{kind:"",kindModifiers:"",textSpan:of(Ct,je),displayParts:it.runWithCancellationToken(B,Ru=>$H(Ru,du,Mk(Ct))),documentation:du.symbol?du.symbol.getDocumentationComment(it):void 0,tags:du.symbol?du.symbol.getJsDocTags(it):void 0}}const{symbolKind:Qt,displayParts:Li,documentation:Ui,tags:Sn}=it.runWithCancellationToken(B,du=>x5.getSymbolDisplayPartsDocumentationAndSymbolKind(du,ct,je,Mk(Ct),Ct));return{kind:Qt,kindModifiers:x5.getSymbolModifiers(it,ct),textSpan:of(Ct,je),displayParts:Li,documentation:Ui,tags:Sn}}function Be(we){return j2(we.parent)&&we.pos===we.parent.pos?we.parent.expression:GP(we.parent)&&we.pos===we.parent.pos||W8(we.parent)&&we.parent.name===we||gg(we.parent)?we.parent:we}function Ge(we,de,je){switch(de.kind){case 80:return!Rhe(de)&&!Ohe(de)&&!q3(de.parent);case 211:case 166:return!m5(we,je);case 110:case 197:case 108:case 202:return!0;case 236:return W8(de);default:return!1}}function Ae(we,de,je,X){return K(),Cw.getDefinitionAtPosition(E,J(we),de,je,X)}function De(we,de){return K(),Cw.getDefinitionAndBoundSpan(E,J(we),de)}function Ke(we,de){return K(),Cw.getTypeDefinitionAtPosition(E.getTypeChecker(),J(we),de)}function Je(we,de){return K(),Z0.getImplementationsAtPosition(E,B,E.getSourceFiles(),J(we),de)}function ft(we,de,je){const X=$o(we);H.assert(je.some(ct=>$o(ct)===X)),K();const it=qi(je,ct=>E.getSourceFile(ct)),Ct=J(we);return JX.getDocumentHighlights(E,B,Ct,de,it)}function Ye(we,de,je,X,it){K();const Ct=J(we),ct=lX(af(Ct,de));if(Hee.nodeIsEligibleForRename(ct))if(at(ct)&&(aE(ct.parent)||H2(ct.parent))&&aB(ct.escapedText)){const{openingElement:Qt,closingElement:Li}=ct.parent.parent;return[Qt,Li].map(Ui=>{const Sn=of(Ui.tagName,Ct);return{fileName:Ct.fileName,textSpan:Sn,...Z0.toContextSpan(Sn,Ct,Ui.parent)}})}else{const Qt=Hm(Ct,it??d4),Li=typeof it=="boolean"?it:it==null?void 0:it.providePrefixAndSuffixTextForRename;return We(ct,de,{findInStrings:je,findInComments:X,providePrefixAndSuffixTextForRename:Li,use:Z0.FindReferencesUse.Rename},(Ui,Sn,du)=>Z0.toRenameLocation(Ui,Sn,du,Li||!1,Qt))}}function Ve(we,de){return K(),We(af(J(we),de),de,{use:Z0.FindReferencesUse.References},Z0.toReferenceEntry)}function We(we,de,je,X){K();const it=je&&je.use===Z0.FindReferencesUse.Rename?E.getSourceFiles().filter(Ct=>!E.isSourceFileDefaultLibrary(Ct)):E.getSourceFiles();return Z0.findReferenceOrRenameEntries(E,B,it,we,de,je,X)}function Gt(we,de){return K(),Z0.findReferencedSymbols(E,B,E.getSourceFiles(),J(we),de)}function Yt(we){return K(),Z0.Core.getReferencesForFileName(we,E,E.getSourceFiles()).map(Z0.toReferenceEntry)}function Ie(we,de,je,X=!1,it=!1){K();const Ct=je?[J(je)]:E.getSourceFiles();return mnt(Ct,E.getTypeChecker(),B,we,de,X,it)}function st(we,de,je){K();const X=J(we),it=t.getCustomTransformers&&t.getCustomTransformers();return K7e(E,X,!!de,B,it,je)}function St(we,de,{triggerReason:je}=d4){K();const X=J(we);return NK.getSignatureHelpItems(E,X,de,je,B)}function It(we){return p.getCurrentSourceFile(we)}function ei(we,de,je){const X=p.getCurrentSourceFile(we),it=af(X,de);if(it===X)return;switch(it.kind){case 211:case 166:case 11:case 97:case 112:case 106:case 108:case 110:case 197:case 80:break;default:return}let Ct=it;for(;;)if(uw(Ct)||$9e(Ct))Ct=Ct.parent;else if(Vhe(Ct))if(Ct.parent.parent.kind===267&&Ct.parent.parent.body===Ct.parent)Ct=Ct.parent.parent.name;else break;else break;return Vc(Ct.getStart(),it.getEnd())}function ht(we,de){const je=p.getCurrentSourceFile(we);return Ime.spanInSourceFileAtLocation(je,de)}function Ut(we){return _nt(p.getCurrentSourceFile(we),B)}function Ni(we){return Dnt(p.getCurrentSourceFile(we),B)}function ji(we,de,je){return K(),(je||"original")==="2020"?Out(E,B,J(we),de):ISe(E.getTypeChecker(),B,J(we),E.getClassifiableNames(),de)}function xn(we,de,je){return K(),(je||"original")==="original"?Ofe(E.getTypeChecker(),B,J(we),E.getClassifiableNames(),de):q8e(E,B,J(we),de)}function Jn(we,de){return RSe(B,p.getCurrentSourceFile(we),de)}function an(we,de){return jfe(B,p.getCurrentSourceFile(we),de)}function Pi(we){const de=p.getCurrentSourceFile(we);return Lpe.collectElements(de,B)}const Ai=new Map(Object.entries({19:20,21:22,23:24,32:30}));Ai.forEach((we,de)=>Ai.set(we.toString(),Number(de)));function Zu(we,de){const je=p.getCurrentSourceFile(we),X=LM(je,de),it=X.getStart(je)===de?Ai.get(X.kind.toString()):void 0,Ct=it&&a0(X.parent,it,je);return Ct?[of(X,je),of(Ct,je)].sort((ct,Qt)=>ct.start-Qt.start):_t}function aa(we,de,je){let X=G0();const it=gK(je),Ct=p.getCurrentSourceFile(we);T("getIndentationAtPosition: getCurrentSourceFile: "+(G0()-X)),X=G0();const ct=dd.SmartIndenter.getIndentation(de,Ct,it);return T("getIndentationAtPosition: computeIndentation : "+(G0()-X)),ct}function yr(we,de,je,X){const it=p.getCurrentSourceFile(we);return dd.formatSelection(de,je,it,dd.getFormatContext(gK(X),t))}function Ba(we,de){return dd.formatDocument(p.getCurrentSourceFile(we),dd.getFormatContext(gK(de),t))}function bt(we,de,je,X){const it=p.getCurrentSourceFile(we),Ct=dd.getFormatContext(gK(X),t);if(!m5(it,de))switch(je){case"{":return dd.formatOnOpeningCurly(de,it,Ct);case"}":return dd.formatOnClosingCurly(de,it,Ct);case";":return dd.formatOnSemicolon(de,it,Ct);case` -`:return dd.formatOnEnter(de,it,Ct)}return[]}function jn(we,de,je,X,it,Ct=d4){K();const ct=J(we),Qt=Vc(de,je),Li=dd.getFormatContext(it,t);return ju(ri(X,Cx,nl),Ui=>(B.throwIfCancellationRequested(),z1.getFixes({errorCode:Ui,sourceFile:ct,span:Qt,program:E,host:t,cancellationToken:B,formatContext:Li,preferences:Ct})))}function Ln(we,de,je,X=d4){K(),H.assert(we.type==="file");const it=J(we.fileName),Ct=dd.getFormatContext(je,t);return z1.getAllFixes({fixId:de,sourceFile:it,program:E,host:t,cancellationToken:B,formatContext:Ct,preferences:X})}function Si(we,de,je=d4){K(),H.assert(we.type==="file");const X=J(we.fileName),it=dd.getFormatContext(de,t),Ct=we.mode??(we.skipDestructiveCodeActions?"SortAndCombine":"All");return Gp.organizeImports(X,it,t,E,je,Ct)}function Dn(we,de,je,X=d4){return VSe(Y(),we,de,t,dd.getFormatContext(je,t),X,j)}function Cn(we,de){const je=typeof we=="string"?de:we;return Ha(je)?Promise.all(je.map(X=>tu(X))):tu(je)}function tu(we){const de=je=>J0(je,k,z);return H.assertEqual(we.type,"install package"),t.installPackage?t.installPackage({fileName:de(we.file),packageName:we.packageName}):Promise.reject("Host does not implement `installPackage`")}function oa(we,de,je,X){const it=X?dd.getFormatContext(X,t).options:void 0;return Yv.getDocCommentTemplateAtPosition(E5(t,it),p.getCurrentSourceFile(we),de,je)}function Da(we,de,je){if(je===60)return!1;const X=p.getCurrentSourceFile(we);if(zk(X,de))return!1;if(eSe(X,de))return je===123;if($he(X,de))return!1;switch(je){case 39:case 34:case 96:return!m5(X,de)}return!0}function ua(we,de){const je=p.getCurrentSourceFile(we),X=td(de,je);if(!X)return;const it=X.kind===32&&aE(X.parent)?X.parent.parent:w7(X)&&r3(X.parent)?X.parent:void 0;if(it&&qt(it))return{newText:``};const Ct=X.kind===32&&V7(X.parent)?X.parent.parent:w7(X)&&K2(X.parent)?X.parent:void 0;if(Ct&&Xt(Ct))return{newText:""}}function Ta(we,de){const je=p.getCurrentSourceFile(we),X=td(de,je);if(!X||X.parent.kind===312)return;const it="[a-zA-Z0-9:\\-\\._$]*";if(K2(X.parent.parent)){const Ct=X.parent.parent.openingFragment,ct=X.parent.parent.closingFragment;if(O8(Ct)||O8(ct))return;const Qt=Ct.getStart(je)+1,Li=ct.getStart(je)+2;return de!==Qt&&de!==Li?void 0:{ranges:[{start:Qt,length:0},{start:Li,length:0}],wordPattern:it}}else{const Ct=Tn(X.parent,pr=>!!(aE(pr)||H2(pr)));if(!Ct)return;H.assert(aE(Ct)||H2(Ct),"tag should be opening or closing element");const ct=Ct.parent.openingElement,Qt=Ct.parent.closingElement,Li=ct.tagName.getStart(je),Ui=ct.tagName.end,Sn=Qt.tagName.getStart(je),du=Qt.tagName.end;return!(Li<=de&&de<=Ui||Sn<=de&&de<=du)||ct.tagName.getText(je)!==Qt.tagName.getText(je)?void 0:{ranges:[{start:Li,length:Ui-Li},{start:Sn,length:du-Sn}],wordPattern:it}}}function Yo(we,de){return{lineStarts:we.getLineStarts(),firstLine:we.getLineAndCharacterOfPosition(de.pos).line,lastLine:we.getLineAndCharacterOfPosition(de.end).line}}function bo(we,de,je){const X=p.getCurrentSourceFile(we),it=[],{lineStarts:Ct,firstLine:ct,lastLine:Qt}=Yo(X,de);let Li=je||!1,Ui=Number.MAX_VALUE;const Sn=new Map,du=new RegExp(/\S/),Ru=hX(X,Ct[ct]),pr=Ru?"{/*":"//";for(let Xu=ct;Xu<=Qt;Xu++){const ca=X.text.substring(Ct[Xu],X.getLineEndOfPosition(Ct[Xu])),Ku=du.exec(ca);Ku&&(Ui=Math.min(Ui,Ku.index),Sn.set(Xu.toString(),Ku.index),ca.substr(Ku.index,pr.length)!==pr&&(Li=je===void 0||je))}for(let Xu=ct;Xu<=Qt;Xu++){if(ct!==Qt&&Ct[Xu]===de.end)continue;const ca=Sn.get(Xu.toString());ca!==void 0&&(Ru?it.push(...Qe(we,{pos:Ct[Xu]+Ui,end:X.getLineEndOfPosition(Ct[Xu])},Li,Ru)):Li?it.push({newText:pr,span:{length:0,start:Ct[Xu]+Ui}}):X.text.substr(Ct[Xu]+ca,pr.length)===pr&&it.push({newText:"",span:{length:pr.length,start:Ct[Xu]+ca}}))}return it}function Qe(we,de,je,X){var it;const Ct=p.getCurrentSourceFile(we),ct=[],{text:Qt}=Ct;let Li=!1,Ui=je||!1;const Sn=[];let{pos:du}=de;const Ru=X!==void 0?X:hX(Ct,du),pr=Ru?"{/*":"/*",Xu=Ru?"*/}":"*/",ca=Ru?"\\{\\/\\*":"\\/\\*",Ku=Ru?"\\*\\/\\}":"\\*\\/";for(;du<=de.end;){const ja=Qt.substr(du,pr.length)===pr?pr.length:0,wn=m5(Ct,du+ja);if(wn)Ru&&(wn.pos--,wn.end++),Sn.push(wn.pos),wn.kind===3&&Sn.push(wn.end),Li=!0,du=wn.end+1;else{const Ir=Qt.substring(du,de.end).search(`(${ca})|(${Ku})`);Ui=je!==void 0?je:Ui||!hSe(Qt,du,Ir===-1?de.end:du+Ir),du=Ir===-1?de.end+1:du+Ir+Xu.length}}if(Ui||!Li){((it=m5(Ct,de.pos))==null?void 0:it.kind)!==2&&Tt(Sn,de.pos,nl),Tt(Sn,de.end,nl);const ja=Sn[0];Qt.substr(ja,pr.length)!==pr&&ct.push({newText:pr,span:{length:0,start:ja}});for(let wn=1;wn0?ja-Xu.length:0,Ir=Qt.substr(wn,Xu.length)===Xu?Xu.length:0;ct.push({newText:"",span:{length:pr.length,start:ja-Ir}})}return ct}function Et(we,de){const je=p.getCurrentSourceFile(we),{firstLine:X,lastLine:it}=Yo(je,de);return X===it&&de.pos!==de.end?Qe(we,de,!0):bo(we,de,!0)}function Mt(we,de){const je=p.getCurrentSourceFile(we),X=[],{pos:it}=de;let{end:Ct}=de;it===Ct&&(Ct+=hX(je,it)?2:1);for(let ct=it;ct<=Ct;ct++){const Qt=m5(je,ct);if(Qt){switch(Qt.kind){case 2:X.push(...bo(we,{end:Qt.end,pos:Qt.pos+1},!1));break;case 3:X.push(...Qe(we,{end:Qt.end,pos:Qt.pos+1},!1))}ct=Qt.end+1}}return X}function qt({openingElement:we,closingElement:de,parent:je}){return!Vv(we.tagName,de.tagName)||r3(je)&&Vv(we.tagName,je.openingElement.tagName)&&qt(je)}function Xt({closingFragment:we,parent:de}){return!!(we.flags&262144)||K2(de)&&Xt(de)}function Pe(we,de,je){const X=p.getCurrentSourceFile(we),it=dd.getRangeOfEnclosingComment(X,de);return it&&(!je||it.kind===3)?qx(it):void 0}function et(we,de){K();const je=J(we);B.throwIfCancellationRequested();const X=je.text,it=[];if(de.length>0&&!Li(je.fileName)){const Ui=ct();let Sn;for(;Sn=Ui.exec(X);){B.throwIfCancellationRequested();const du=3;H.assert(Sn.length===de.length+du);const Ru=Sn[1],pr=Sn.index+Ru.length;if(!m5(je,pr))continue;let Xu;for(let Ku=0;Ku"("+Ct(wn.text)+")").join("|")+")",Xu=/(?:$|\*\/)/.source,ca=/(?:.*?)/.source,Ku="("+pr+ca+")",ja=Ru+Ku+Xu;return new RegExp(ja,"gim")}function Qt(Ui){return Ui>=97&&Ui<=122||Ui>=65&&Ui<=90||Ui>=48&&Ui<=57}function Li(Ui){return Ui.includes("/node_modules/")}}function gt(we,de,je){return K(),Hee.getRenameInfo(E,J(we),de,je||{})}function ii(we,de,je,X,it,Ct){const[ct,Qt]=typeof de=="number"?[de,void 0]:[de.pos,de.end];return{file:we,startPosition:ct,endPosition:Qt,program:Y(),host:t,formatContext:dd.getFormatContext(X,t),cancellationToken:B,preferences:je,triggerReason:it,kind:Ct}}function me(we,de,je){return{file:we,program:Y(),host:t,span:de,preferences:je,cancellationToken:B}}function ni(we,de){return Mpe.getSmartSelectionRange(de,p.getCurrentSourceFile(we))}function vi(we,de,je=d4,X,it,Ct){K();const ct=J(we);return a9.getApplicableRefactors(ii(ct,de,je,d4,X,it),Ct)}function mt(we,de,je=d4){K();const X=J(we),it=H.checkDefined(E.getSourceFiles()),Ct=y7(we),ct=qi(it,Li=>!(E!=null&&E.isSourceFileFromExternalLibrary(X))&&!(X===J(Li.fileName)||Ct===".ts"&&y7(Li.fileName)===".d.ts"||Ct===".d.ts"&&Pa(Ac(Li.fileName),"lib.")&&y7(Li.fileName)===".d.ts")&&Ct===y7(Li.fileName)?Li.fileName:void 0);return{newFileName:A8e(X,E,ii(X,de,je,d4),t),files:ct}}function Ot(we,de,je,X,it,Ct=d4,ct){K();const Qt=J(we);return a9.getEditsForRefactor(ii(Qt,je,Ct,de),X,it,ct)}function Ei(we,de){return de===0?{line:0,character:0}:j.toLineColumnOffset(we,de)}function $i(we,de){K();const je=o9.resolveCallHierarchyDeclaration(E,af(J(we),de));return je&&kfe(je,X=>o9.createCallHierarchyItem(E,X))}function Qi(we,de){K();const je=J(we),X=Ffe(o9.resolveCallHierarchyDeclaration(E,de===0?je:af(je,de)));return X?o9.getIncomingCalls(E,X,B):[]}function on(we,de){K();const je=J(we),X=Ffe(o9.resolveCallHierarchyDeclaration(E,de===0?je:af(je,de)));return X?o9.getOutgoingCalls(E,X):[]}function le(we,de,je=d4){K();const X=J(we);return Spe.provideInlayHints(me(X,de,je))}const te={dispose:ae,cleanupSemanticCache:ge,getSyntacticDiagnostics:Ce,getSemanticDiagnostics:ne,getSuggestionDiagnostics:ve,getCompilerOptionsDiagnostics:Se,getSyntacticClassifications:Jn,getSemanticClassifications:ji,getEncodedSyntacticClassifications:an,getEncodedSemanticClassifications:xn,getCompletionsAtPosition:Ne,getCompletionEntryDetails:pe,getCompletionEntrySymbol:fe,getSignatureHelpItems:St,getQuickInfoAtPosition:xe,getDefinitionAtPosition:Ae,getDefinitionAndBoundSpan:De,getImplementationAtPosition:Je,getTypeDefinitionAtPosition:Ke,getReferencesAtPosition:Ve,findReferences:Gt,getFileReferences:Yt,getDocumentHighlights:ft,getNameOrDottedNameSpan:ei,getBreakpointStatementAtPosition:ht,getNavigateToItems:Ie,getRenameInfo:gt,getSmartSelectionRange:ni,findRenameLocations:Ye,getNavigationBarItems:Ut,getNavigationTree:Ni,getOutliningSpans:Pi,getTodoComments:et,getBraceMatchingAtPosition:Zu,getIndentationAtPosition:aa,getFormattingEditsForRange:yr,getFormattingEditsForDocument:Ba,getFormattingEditsAfterKeystroke:bt,getDocCommentTemplateAtPosition:oa,isValidBraceCompletionAtPosition:Da,getJsxClosingTagAtPosition:ua,getLinkedEditingRangeAtPosition:Ta,getSpanOfEnclosingComment:Pe,getCodeFixesAtPosition:jn,getCombinedCodeFix:Ln,applyCodeActionCommand:Cn,organizeImports:Si,getEditsForFileRename:Dn,getEmitOutput:st,getNonBoundSourceFile:It,getProgram:Y,getCurrentProgram:()=>E,getAutoImportProvider:oe,updateIsDefinitionOfReferencedSymbols:se,getApplicableRefactors:vi,getEditsForRefactor:Ot,getMoveToRefactoringFileSuggestions:mt,toLineColumnOffset:Ei,getSourceMapper:()=>j,clearSourceMapperCache:()=>j.clearCache(),prepareCallHierarchy:$i,provideCallHierarchyIncomingCalls:Qi,provideCallHierarchyOutgoingCalls:on,toggleLineComment:bo,toggleMultilineComment:Qe,commentSelection:Et,uncommentSelection:Mt,provideInlayHints:le,getSupportedCodeFixes:Bme};switch(f){case 0:break;case 1:uBe.forEach(we=>te[we]=()=>{throw new Error(`LanguageService Operation: ${we} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:irt.forEach(we=>te[we]=()=>{throw new Error(`LanguageService Operation: ${we} not allowed in LanguageServiceMode.Syntactic`)});break;default:H.assertNever(f)}return te}function Tme(t){return t.nameTable||nHt(t),t.nameTable}function nHt(t){const u=t.nameTable=new Map;t.forEachChild(function s(d){if(at(d)&&!Ohe(d)&&d.escapedText||Pm(d)&&uHt(d)){const f=oP(d);u.set(f,u.get(f)===void 0?d.pos:-1)}else if(Xr(d)){const f=d.escapedText;u.set(f,u.get(f)===void 0?d.pos:-1)}if(ao(d,s),lm(d))for(const f of d.jsDoc)ao(f,s)})}function uHt(t){return X3(t)||t.parent.kind===283||oHt(t)||Nj(t)}function _K(t){const u=rHt(t);return u&&(ys(u.parent)||W2(u.parent))?u:void 0}function rHt(t){switch(t.kind){case 11:case 15:case 9:if(t.parent.kind===167)return n0e(t.parent.parent)?t.parent.parent:void 0;case 80:return n0e(t.parent)&&(t.parent.parent.kind===210||t.parent.parent.kind===292)&&t.parent.name===t?t.parent:void 0}}function aHt(t,u){const s=_K(t);if(s){const d=u.getContextualType(s.parent),f=d&&_ee(s,u,d,!1);if(f&&f.length===1)return Pn(f)}return u.getSymbolAtLocation(t)}function _ee(t,u,s,d){const f=WH(t.name);if(!f)return _t;if(!s.isUnion()){const E=s.getProperty(f);return E?[E]:_t}const p=qi(s.types,E=>(ys(t.parent)||W2(t.parent))&&u.isTypeInvalidDueToUnionDiscriminant(E,t.parent)?void 0:E.getProperty(f));if(d&&(p.length===0||p.length===s.types.length)){const E=s.getProperty(f);if(E)return[E]}return p.length===0?qi(s.types,E=>E.getProperty(f)):p}function oHt(t){return t&&t.parent&&t.parent.kind===212&&t.parent.argumentExpression===t}function tBe(t){if(c1)return cr(lr($o(c1.getExecutingFilePath())),zO(t));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var iBe,Lme,Nme,Uut,nBe,Pme,Mme,qut,Zut,Yut,Qut,Xut,ert,trt,zme,uBe,irt,sHt=o({"src/services/services.ts"(){rr(),Ent(),Rnt(),s_(),$it(),Hut(),iBe="0.8",Lme=class{constructor(t,u,s){this.pos=u,this.end=s,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=t}assertHasRealPosition(t){H.assert(!pg(this.pos)&&!pg(this.end),t||"Node must have a real position for this operation")}getSourceFile(){return zn(this)}getStart(t,u){return this.assertHasRealPosition(),ek(this,t,u)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(t){return this.assertHasRealPosition(),this.getEnd()-this.getStart(t)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(t){return this.assertHasRealPosition(),this.getStart(t)-this.pos}getFullText(t){return this.assertHasRealPosition(),(t||this.getSourceFile()).text.substring(this.pos,this.end)}getText(t){return this.assertHasRealPosition(),t||(t=this.getSourceFile()),t.text.substring(this.getStart(t),this.getEnd())}getChildCount(t){return this.getChildren(t).length}getChildAt(t,u){return this.getChildren(u)[t]}getChildren(t){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=eHt(this,t))}getFirstToken(t){this.assertHasRealPosition();const u=this.getChildren(t);if(!u.length)return;const s=Le(u,d=>d.kind<316||d.kind>357);return s.kind<166?s:s.getFirstToken(t)}getLastToken(t){this.assertHasRealPosition();const u=this.getChildren(t),s=qu(u);if(s)return s.kind<166?s:s.getLastToken(t)}forEachChild(t,u){return ao(this,t,u)}},Nme=class{constructor(t,u){this.pos=t,this.end=u,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return zn(this)}getStart(t,u){return ek(this,t,u)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(t){return this.getEnd()-this.getStart(t)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(t){return this.getStart(t)-this.pos}getFullText(t){return(t||this.getSourceFile()).text.substring(this.pos,this.end)}getText(t){return t||(t=this.getSourceFile()),t.text.substring(this.getStart(t),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(t){return this.getChildren()[t]}getChildren(){return this.kind===1&&this.jsDoc||_t}getFirstToken(){}getLastToken(){}forEachChild(){}},Uut=class{constructor(t,u){this.id=0,this.mergeId=0,this.flags=t,this.escapedName=u}getFlags(){return this.flags}get name(){return lc(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(t){if(!this.documentationComment)if(this.documentationComment=_t,!this.declarations&&qE(this)&&this.links.target&&qE(this.links.target)&&this.links.target.links.tupleLabelDeclaration){const u=this.links.target.links.tupleLabelDeclaration;this.documentationComment=pee([u],t)}else this.documentationComment=pee(this.declarations,t);return this.documentationComment}getContextualDocumentationComment(t,u){if(t){if(Lx(t)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=pee(ti(this.declarations,Lx),u)),S(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(e5(t)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=pee(ti(this.declarations,e5),u)),S(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(u)}getJsDocTags(t){return this.tags===void 0&&(this.tags=Sme(this.declarations,t)),this.tags}getContextualJsDocTags(t,u){if(t){if(Lx(t)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=Sme(ti(this.declarations,Lx),u)),S(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(e5(t)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=Sme(ti(this.declarations,e5),u)),S(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(u)}},nBe=class extends Nme{constructor(t,u,s){super(u,s),this.kind=t}},Pme=class extends Nme{constructor(t,u,s){super(u,s),this.kind=80}get text(){return fu(this)}},Pme.prototype.kind=80,Mme=class extends Nme{constructor(t,u,s){super(u,s),this.kind=81}get text(){return fu(this)}},Mme.prototype.kind=81,qut=class{constructor(t,u){this.checker=t,this.flags=u}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(t){return this.checker.getPropertyOfType(this,t)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(this.flags&1048576)}isIntersection(){return!!(this.flags&2097152)}isUnionOrIntersection(){return!!(this.flags&3145728)}isLiteral(){return!!(this.flags&2432)}isStringLiteral(){return!!(this.flags&128)}isNumberLiteral(){return!!(this.flags&256)}isTypeParameter(){return!!(this.flags&262144)}isClassOrInterface(){return!!(Gu(this)&3)}isClass(){return!!(Gu(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(Gu(this)&4)return this.checker.getTypeArguments(this)}},Zut=class{constructor(t,u){this.checker=t,this.flags=u}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(t){const u=this.checker.getParameterType(this,t);if(u.isIndexType()&&NP(u.type)){const s=u.type.getConstraint();if(s)return this.checker.getIndexType(s)}return u}getDocumentationComment(){return this.documentationComment||(this.documentationComment=pee(Hy(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=Sme(Hy(this.declaration),this.checker))}},Yut=class extends Lme{constructor(t,u,s){super(t,u,s),this.kind=312}update(t,u){return $ce(this,t,u)}getLineAndCharacterOfPosition(t){return s0(this,t)}getLineStarts(){return $3(this)}getPositionOfLineAndCharacter(t,u,s){return FU($3(this),t,u,this.text,s)}getLineEndOfPosition(t){const{line:u}=this.getLineAndCharacterOfPosition(t),s=this.getLineStarts();let d;u+1>=s.length&&(d=this.getEnd()),d||(d=s[u+1]-1);const f=this.getFullText();return f[d]===` -`&&f[d-1]==="\r"?d-1:d}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){const t=wm();return this.forEachChild(f),t;function u(p){const E=d(p);E&&t.add(E,p)}function s(p){let E=t.get(p);return E||t.set(p,E=[]),E}function d(p){const E=TU(p);return E&&(Ps(E)&&Iu(E.expression)?E.expression.name.text:Sc(E)?WH(E):void 0)}function f(p){switch(p.kind){case 262:case 218:case 174:case 173:const E=p,v=d(E);if(v){const k=s(v),T=qu(k);T&&E.parent===T.parent&&E.symbol===T.symbol?E.body&&!T.body&&(k[k.length-1]=E):k.push(E)}ao(p,f);break;case 263:case 231:case 264:case 265:case 266:case 267:case 271:case 281:case 276:case 273:case 274:case 177:case 178:case 187:u(p),ao(p,f);break;case 169:if(!Yu(p,31))break;case 260:case 208:{const k=p;if(So(k.name)){ao(k.name,f);break}k.initializer&&f(k.initializer)}case 306:case 172:case 171:u(p);break;case 278:const b=p;b.exportClause&&(ep(b.exportClause)?L(b.exportClause.elements,f):f(b.exportClause.name));break;case 272:const B=p.importClause;B&&(B.name&&u(B.name),B.namedBindings&&(B.namedBindings.kind===274?u(B.namedBindings):L(B.namedBindings.elements,f)));break;case 226:Xl(p)!==0&&u(p);default:ao(p,f)}}}},Qut=class{constructor(t,u,s){this.fileName=t,this.text=u,this.skipTrivia=s}getLineAndCharacterOfPosition(t){return s0(this,t)}},Xut=class{constructor(t){this.host=t}getCurrentSourceFile(t){var u,s,d,f,p,E,v,b;const B=this.host.getScriptSnapshot(t);if(!B)throw new Error("Could not find file: '"+t+"'.");const k=pfe(t,this.host),T=this.host.getScriptVersion(t);let M;if(this.currentFileName!==t){const z={languageVersion:99,impliedNodeFormat:bH(J0(t,this.host.getCurrentDirectory(),((d=(s=(u=this.host).getCompilerHost)==null?void 0:s.call(u))==null?void 0:d.getCanonicalFileName)||n5(this.host)),(b=(v=(E=(p=(f=this.host).getCompilerHost)==null?void 0:p.call(f))==null?void 0:E.getModuleResolutionCache)==null?void 0:v.call(E))==null?void 0:b.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:Qj(this.host.getCompilationSettings()),jsDocParsingMode:0};M=Eee(t,B,z,T,!0,k)}else if(this.currentFileVersion!==T){const z=B.getChangeRange(this.currentFileScriptSnapshot);M=wme(this.currentSourceFile,B,T,z)}return M&&(this.currentFileVersion=T,this.currentFileName=t,this.currentFileScriptSnapshot=B,this.currentSourceFile=M),this.currentSourceFile}},ert={isCancellationRequested:cg,throwIfCancellationRequested:Is},trt=class{constructor(t){this.cancellationToken=t}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var t;if(this.isCancellationRequested())throw(t=Gn)==null||t.instant(Gn.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new b8}},zme=class{constructor(t,u=20){this.hostCancellationToken=t,this.throttleWaitMilliseconds=u,this.lastCancellationCheckTime=0}isCancellationRequested(){const t=G0();return Math.abs(t-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=t,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var t;if(this.isCancellationRequested())throw(t=Gn)==null||t.instant(Gn.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new b8}},uBe=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],irt=[...uBe,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],Xye(iHt())}});function nrt(t,u,s){const d=[];s=Yfe(s,d);const f=Ha(t)?t:[t],p=pH(void 0,void 0,q,s,f,u,!0);return p.diagnostics=Hi(p.diagnostics,d),p}var lHt=o({"src/services/transform.ts"(){rr()}});function cHt(t,u){if(t.isDeclarationFile)return;let s=Ca(t,u);const d=t.getLineAndCharacterOfPosition(u).line;if(t.getLineAndCharacterOfPosition(s.getStart(t)).line>d){const T=td(s.pos,t);if(!T||t.getLineAndCharacterOfPosition(T.getEnd()).line!==d)return;s=T}if(s.flags&33554432)return;return k(s);function f(T,M){const z=Ak(T)?lt(T.modifiers,g1):void 0,j=z?gs(t.text,z.end):T.getStart(t);return Vc(j,(M||T).getEnd())}function p(T,M){return f(T,ib(M,M.parent,t))}function E(T,M){return T&&d===t.getLineAndCharacterOfPosition(T.getStart(t)).line?k(T):k(M)}function v(T,M,z){if(T){const j=T.indexOf(M);if(j>=0){let J=j,K=j+1;for(;J>0&&z(T[J-1]);)J--;for(;K0)return k(Ke.declarations[0])}else return k(De.initializer)}function ae(De){if(De.initializer)return ge(De);if(De.condition)return f(De.condition);if(De.incrementor)return f(De.incrementor)}function Ce(De){const Ke=L(De.elements,Je=>Je.kind!==232?Je:void 0);return Ke?k(Ke):De.parent.kind===208?f(De.parent):M(De.parent)}function ne(De){H.assert(De.kind!==207&&De.kind!==206);const Ke=De.kind===209?De.elements:De.properties,Je=L(Ke,ft=>ft.kind!==232?ft:void 0);return Je?k(Je):f(De.parent.kind===226?De.parent:De)}function ve(De){switch(De.parent.kind){case 266:const Ke=De.parent;return E(td(De.pos,t,De.parent),Ke.members.length?Ke.members[0]:Ke.getLastToken(t));case 263:const Je=De.parent;return E(td(De.pos,t,De.parent),Je.members.length?Je.members[0]:Je.getLastToken(t));case 269:return E(De.parent.parent,De.parent.clauses[0])}return k(De.parent)}function Se(De){switch(De.parent.kind){case 268:if(oD(De.parent.parent)!==1)return;case 266:case 263:return f(De);case 241:if(k2(De.parent))return f(De);case 299:return k(qu(De.parent.statements));case 269:const Ke=De.parent,Je=qu(Ke.clauses);return Je?k(qu(Je.statements)):void 0;case 206:const ft=De.parent;return k(qu(ft.elements)||ft);default:if(p5(De.parent)){const Ye=De.parent;return f(qu(Ye.properties)||Ye)}return k(De.parent)}}function Ne(De){switch(De.parent.kind){case 207:const Ke=De.parent;return f(qu(Ke.elements)||Ke);default:if(p5(De.parent)){const Je=De.parent;return f(qu(Je.elements)||Je)}return k(De.parent)}}function pe(De){return De.parent.kind===246||De.parent.kind===213||De.parent.kind===214?b(De):De.parent.kind===217?B(De):k(De.parent)}function fe(De){switch(De.parent.kind){case 218:case 262:case 219:case 174:case 173:case 177:case 178:case 176:case 247:case 246:case 248:case 250:case 213:case 214:case 217:return b(De);default:return k(De.parent)}}function xe(De){return Co(De.parent)||De.parent.kind===303||De.parent.kind===169?b(De):k(De.parent)}function Be(De){return De.parent.kind===216?B(De):k(De.parent)}function Ge(De){return De.parent.kind===246?p(De,De.parent.expression):k(De.parent)}function Ae(De){return De.parent.kind===250?B(De):k(De.parent)}}}var dHt=o({"src/services/breakpoints.ts"(){rr()}}),Ime={};h(Ime,{spanInSourceFileAtLocation:()=>cHt});var hHt=o({"src/services/_namespaces/ts.BreakpointResolver.ts"(){dHt()}});function fHt(t){return(A0(t)||Xd(t))&&mh(t)}function DK(t){return(A0(t)||q0(t)||Xd(t))&&na(t.parent)&&t===t.parent.initializer&&at(t.parent.name)&&!!(QD(t.parent)&2)}function urt(t){return la(t)||_c(t)||ed(t)||A0(t)||Wc(t)||Xd(t)||zl(t)||dc(t)||n3(t)||zm(t)||jf(t)}function gw(t){return la(t)||_c(t)&&at(t.name)||ed(t)||Wc(t)||zl(t)||dc(t)||n3(t)||zm(t)||jf(t)||fHt(t)||DK(t)}function rrt(t){return la(t)?t:mh(t)?t.name:DK(t)?t.parent.name:H.checkDefined(t.modifiers&&Le(t.modifiers,art))}function art(t){return t.kind===90}function ort(t,u){const s=rrt(u);return s&&t.getSymbolAtLocation(s)}function mHt(t,u){if(la(u))return{text:u.fileName,pos:0,end:0};if((ed(u)||Wc(u))&&!mh(u)){const f=u.modifiers&&Le(u.modifiers,art);if(f)return{text:"default",pos:f.getStart(),end:f.getEnd()}}if(zl(u)){const f=u.getSourceFile(),p=gs(f.text,iE(u).pos),E=p+6,v=t.getTypeChecker(),b=v.getSymbolAtLocation(u.parent);return{text:`${b?`${v.symbolToString(b,u.parent)} `:""}static {}`,pos:p,end:E}}const s=DK(u)?u.parent.name:H.checkDefined(Za(u),"Expected call hierarchy item to have a name");let d=at(s)?fu(s):Pm(s)?s.text:Ps(s)&&Pm(s.expression)?s.expression.text:void 0;if(d===void 0){const f=t.getTypeChecker(),p=f.getSymbolAtLocation(s);p&&(d=f.symbolToString(p,u))}if(d===void 0){const f=EH();d=GN(p=>f.writeNode(4,u,u.getSourceFile(),p))}return{text:d,pos:s.getStart(),end:s.getEnd()}}function pHt(t){var u,s;if(DK(t))return rE(t.parent.parent.parent.parent)&&at(t.parent.parent.parent.parent.parent.name)?t.parent.parent.parent.parent.parent.name.getText():void 0;switch(t.kind){case 177:case 178:case 174:return t.parent.kind===210?(u=zse(t.parent))==null?void 0:u.getText():(s=Za(t.parent))==null?void 0:s.getText();case 262:case 263:case 267:if(rE(t.parent)&&at(t.parent.parent.name))return t.parent.parent.name.getText()}}function srt(t,u){if(u.body)return u;if(hc(u))return X_(u.parent);if(ed(u)||dc(u)){const s=ort(t,u);return s&&s.valueDeclaration&&$0(s.valueDeclaration)&&s.valueDeclaration.body?s.valueDeclaration:void 0}return u}function lrt(t,u){const s=ort(t,u);let d;if(s&&s.declarations){const f=$r(s.declarations),p=Vt(s.declarations,b=>({file:b.getSourceFile().fileName,pos:b.pos}));f.sort((b,B)=>dh(p[b].file,p[B].file)||p[b].pos-p[B].pos);const E=Vt(f,b=>s.declarations[b]);let v;for(const b of E)gw(b)&&((!v||v.parent!==b.parent||v.end!==b.pos)&&(d=xi(d,b)),v=b)}return d}function Rme(t,u){return zl(u)?u:$0(u)?srt(t,u)??lrt(t,u)??u:lrt(t,u)??u}function crt(t,u){const s=t.getTypeChecker();let d=!1;for(;;){if(gw(u))return Rme(s,u);if(urt(u)){const f=Tn(u,gw);return f&&Rme(s,f)}if(X3(u)){if(gw(u.parent))return Rme(s,u.parent);if(urt(u.parent)){const f=Tn(u.parent,gw);return f&&Rme(s,f)}return na(u.parent)&&u.parent.initializer&&DK(u.parent.initializer)?u.parent.initializer:void 0}if(hc(u))return gw(u.parent)?u.parent:void 0;if(u.kind===126&&zl(u.parent)){u=u.parent;continue}if(na(u)&&u.initializer&&DK(u.initializer))return u.initializer;if(!d){let f=s.getSymbolAtLocation(u);if(f&&(f.flags&2097152&&(f=s.getAliasedSymbol(f)),f.valueDeclaration)){d=!0,u=f.valueDeclaration;continue}}return}}function rBe(t,u){const s=u.getSourceFile(),d=mHt(t,u),f=pHt(u),p=tb(u),E=NM(u),v=Vc(gs(s.text,u.getFullStart(),!1,!0),u.getEnd()),b=Vc(d.pos,d.end);return{file:s.fileName,kind:p,kindModifiers:E,name:d.text,containerName:f,span:v,selectionSpan:b}}function gHt(t){return t!==void 0}function EHt(t){if(t.kind===Z0.EntryKind.Node){const{node:u}=t;if(Mhe(u,!0,!0)||K9e(u,!0,!0)||W9e(u,!0,!0)||G9e(u,!0,!0)||uw(u)||jhe(u)){const s=u.getSourceFile();return{declaration:Tn(u,gw)||s,range:tfe(u,s)}}}}function drt(t){return $s(t.declaration)}function _Ht(t,u){return{from:t,fromSpans:u}}function DHt(t,u){return _Ht(rBe(t,u[0].declaration),Vt(u,s=>qx(s.range)))}function xHt(t,u,s){if(la(u)||_c(u)||zl(u))return[];const d=rrt(u),f=ti(Z0.findReferenceOrRenameEntries(t,s,t.getSourceFiles(),d,0,{use:Z0.FindReferencesUse.References},EHt),gHt);return f?vN(f,drt,p=>DHt(t,p)):[]}function vHt(t,u){function s(f){const p=Dk(f)?f.tag:zh(f)?f.tagName:I0(f)||zl(f)?f:f.expression,E=crt(t,p);if(E){const v=tfe(p,f.getSourceFile());if(Ha(E))for(const b of E)u.push({declaration:b,range:v});else u.push({declaration:E,range:v})}}function d(f){if(f&&!(f.flags&33554432)){if(gw(f)){if(mr(f))for(const p of f.members)p.name&&Ps(p.name)&&d(p.name.expression);return}switch(f.kind){case 80:case 271:case 272:case 278:case 264:case 265:return;case 175:s(f);return;case 216:case 234:d(f.expression);return;case 260:case 169:d(f.name),d(f.initializer);return;case 213:s(f),d(f.expression),L(f.arguments,d);return;case 214:s(f),d(f.expression),L(f.arguments,d);return;case 215:s(f),d(f.tag),d(f.template);return;case 286:case 285:s(f),d(f.tagName),d(f.attributes);return;case 170:s(f),d(f.expression);return;case 211:case 212:s(f),ao(f,d);break;case 238:d(f.expression);return}q_(f)||ao(f,d)}}return d}function CHt(t,u){L(t.statements,u)}function bHt(t,u){!Yu(t,128)&&t.body&&rE(t.body)&&L(t.body.statements,u)}function yHt(t,u,s){const d=srt(t,u);d&&(L(d.parameters,s),s(d.body))}function kHt(t,u){u(t.body)}function FHt(t,u){L(t.modifiers,u);const s=B2(t);s&&u(s.expression);for(const d of t.members)Hp(d)&&L(d.modifiers,u),ko(d)?u(d.initializer):hc(d)&&d.body?(L(d.parameters,u),u(d.body)):zl(d)&&u(d)}function AHt(t,u){const s=[],d=vHt(t,s);switch(u.kind){case 312:CHt(u,d);break;case 267:bHt(u,d);break;case 262:case 218:case 219:case 174:case 177:case 178:yHt(t.getTypeChecker(),u,d);break;case 263:case 231:FHt(u,d);break;case 175:kHt(u,d);break;default:H.assertNever(u)}return s}function SHt(t,u){return{to:t,fromSpans:u}}function BHt(t,u){return SHt(rBe(t,u[0].declaration),Vt(u,s=>qx(s.range)))}function wHt(t,u){return u.flags&33554432||n3(u)?[]:vN(AHt(t,u),drt,s=>BHt(t,s))}var THt=o({"src/services/callHierarchy.ts"(){rr()}}),o9={};h(o9,{createCallHierarchyItem:()=>rBe,getIncomingCalls:()=>xHt,getOutgoingCalls:()=>wHt,resolveCallHierarchyDeclaration:()=>crt});var LHt=o({"src/services/_namespaces/ts.CallHierarchy.ts"(){THt()}}),hrt={};h(hrt,{TokenEncodingConsts:()=>Z8e,TokenModifier:()=>Q8e,TokenType:()=>Y8e,getEncodedSemanticClassifications:()=>q8e,getSemanticClassifications:()=>Out});var NHt=o({"src/services/_namespaces/ts.classifier.v2020.ts"(){Hut()}}),aBe={};h(aBe,{v2020:()=>hrt});var PHt=o({"src/services/_namespaces/ts.classifier.ts"(){NHt()}});function Cg(t,u,s){return sBe(t,jk(s),u,void 0,void 0)}function Ro(t,u,s,d,f,p){return sBe(t,jk(s),u,d,jk(f),p)}function oBe(t,u,s,d,f,p){return sBe(t,jk(s),u,d,f&&jk(f),p)}function sBe(t,u,s,d,f,p){return{fixName:t,description:u,changes:s,fixId:d,fixAllDescription:f,commands:p?[p]:void 0}}function Xo(t){for(const u of t.errorCodes)lBe=void 0,Ome.add(String(u),t);if(t.fixIds)for(const u of t.fixIds)H.assert(!jme.has(u)),jme.set(u,t)}function MHt(){return lBe??(lBe=ga(Ome.keys()))}function zHt(t,u){const{errorCodes:s}=t;let d=0;for(const p of u)if(kt(s,p.code)&&d++,d>1)break;const f=d<2;return({fixId:p,fixAllDescription:E,...v})=>f?v:{...v,fixId:p,fixAllDescription:E}}function IHt(t){const u=mrt(t),s=Ome.get(String(t.errorCode));return ju(s,d=>Vt(d.getCodeActions(t),zHt(d,u)))}function RHt(t){return jme.get(Po(t.fixId,Ja)).getAllCodeActions(t)}function Ew(t,u){return{changes:t,commands:u}}function frt(t,u){return{fileName:t,textChanges:u}}function f0(t,u,s){const d=[],f=iu.ChangeTracker.with(t,p=>_w(t,u,E=>s(p,E,d)));return Ew(f,d.length===0?void 0:d)}function _w(t,u,s){for(const d of mrt(t))kt(u,d.code)&&s(d)}function mrt({program:t,sourceFile:u,cancellationToken:s}){return[...t.getSemanticDiagnostics(u,s),...t.getSyntacticDiagnostics(u,s),...Jfe(u,t,s)]}var Ome,jme,lBe,OHt=o({"src/services/codeFixProvider.ts"(){rr(),Ome=wm(),jme=new Map}});function prt(t,u,s){const d=AV(s)?q.createAsExpression(s.expression,q.createKeywordTypeNode(159)):q.createTypeAssertion(q.createKeywordTypeNode(159),s.expression);t.replaceNode(u,s.expression,d)}function grt(t,u){if(!Qn(t))return Tn(Ca(t,u),s=>AV(s)||aFe(s))}var Vme,cBe,jHt=o({"src/services/codefixes/addConvertToUnknownForNonOverlappingTypes.ts"(){rr(),rs(),Vme="addConvertToUnknownForNonOverlappingTypes",cBe=[F.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code],Xo({errorCodes:cBe,getCodeActions:function(u){const s=grt(u.sourceFile,u.span.start);if(s===void 0)return;const d=iu.ChangeTracker.with(u,f=>prt(f,u.sourceFile,s));return[Ro(Vme,d,F.Add_unknown_conversion_for_non_overlapping_types,Vme,F.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[Vme],getAllCodeActions:t=>f0(t,cBe,(u,s)=>{const d=grt(s.file,s.start);d&&prt(u,s.file,d)})})}}),VHt=o({"src/services/codefixes/addEmptyExportDeclaration.ts"(){rr(),rs(),Xo({errorCodes:[F.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,F.await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,F.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code],getCodeActions:function(u){const{sourceFile:s}=u,d=iu.ChangeTracker.with(u,f=>{const p=q.createExportDeclaration(void 0,!1,q.createNamedExports([]),void 0);f.insertNodeAtEndOfScope(s,s,p)});return[Cg("addEmptyExportDeclaration",d,F.Add_export_to_make_this_file_into_a_module)]}})}});function Ert(t,u,s,d){const f=s(p=>HHt(p,t.sourceFile,u,d));return Ro(Hme,f,F.Add_async_modifier_to_containing_function,Hme,F.Add_all_missing_async_modifiers)}function HHt(t,u,s,d){if(d&&d.has($s(s)))return;d==null||d.add($s(s));const f=q.replaceModifiers(ll(s,!0),q.createNodeArray(q.createModifiersFromModifierFlags(Rx(s)|1024)));t.replaceNode(u,s,f)}function _rt(t,u){if(!u)return;const s=Ca(t,u.start);return Tn(s,f=>f.getStart(t)Ec(u)?"quit":(q0(f)||dc(f)||A0(f)||ed(f))&&sw(u,of(f,t)))}function KHt(t,u){return({start:s,length:d,relatedInformation:f,code:p})=>UD(s)&&UD(d)&&sw({start:s,length:d},t)&&p===u&&!!f&&Oe(f,E=>E.code===F.Did_you_mean_to_mark_this_function_as_async.code)}var Hme,dBe,WHt=o({"src/services/codefixes/addMissingAsync.ts"(){rr(),rs(),Hme="addMissingAsync",dBe=[F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,F.Type_0_is_not_assignable_to_type_1.code,F.Type_0_is_not_comparable_to_type_1.code],Xo({fixIds:[Hme],errorCodes:dBe,getCodeActions:function(u){const{sourceFile:s,errorCode:d,cancellationToken:f,program:p,span:E}=u,v=Le(p.getTypeChecker().getDiagnostics(s,f),KHt(E,d)),b=v&&v.relatedInformation&&Le(v.relatedInformation,T=>T.code===F.Did_you_mean_to_mark_this_function_as_async.code),B=_rt(s,b);return B?[Ert(u,B,T=>iu.ChangeTracker.with(u,T))]:void 0},getAllCodeActions:t=>{const{sourceFile:u}=t,s=new Set;return f0(t,dBe,(d,f)=>{const p=f.relatedInformation&&Le(f.relatedInformation,b=>b.code===F.Did_you_mean_to_mark_this_function_as_async.code),E=_rt(u,p);return E?Ert(t,E,b=>(b(d),[]),s):void 0})}})}});function Drt(t,u,s,d,f){const p=yfe(t,s);return p&&GHt(t,u,s,d,f)&&Crt(p)?p:void 0}function xrt(t,u,s,d,f,p){const{sourceFile:E,program:v,cancellationToken:b}=t,B=JHt(u,E,b,v,d);if(B){const k=f(T=>{L(B.initializers,({expression:M})=>hBe(T,s,E,d,M,p)),p&&B.needsSecondPassForFixAll&&hBe(T,s,E,d,u,p)});return Cg("addMissingAwaitToInitializer",k,B.initializers.length===1?[F.Add_await_to_initializer_for_0,B.initializers[0].declarationSymbol.name]:F.Add_await_to_initializers)}}function vrt(t,u,s,d,f,p){const E=f(v=>hBe(v,s,t.sourceFile,d,u,p));return Ro(Kme,E,F.Add_await,Kme,F.Fix_all_expressions_possibly_missing_await)}function GHt(t,u,s,d,f){const E=f.getTypeChecker().getDiagnostics(t,d);return Oe(E,({start:v,length:b,relatedInformation:B,code:k})=>UD(v)&&UD(b)&&sw({start:v,length:b},s)&&k===u&&!!B&&Oe(B,T=>T.code===F.Did_you_forget_to_use_await.code))}function JHt(t,u,s,d,f){const p=$Ht(t,f);if(!p)return;let E=p.isCompleteFix,v;for(const b of p.identifiers){const B=f.getSymbolAtLocation(b);if(!B)continue;const k=ur(B.valueDeclaration,na),T=k&&ur(k.name,at),M=Fv(k,243);if(!k||!M||k.type||!k.initializer||M.getSourceFile()!==u||Yu(M,32)||!T||!Crt(k.initializer)){E=!1;continue}const z=d.getSemanticDiagnostics(u,s);if(Z0.Core.eachSymbolReferenceInFile(T,f,u,J=>b!==J&&!UHt(J,z,u,f))){E=!1;continue}(v||(v=[])).push({expression:k.initializer,declarationSymbol:B})}return v&&{initializers:v,needsSecondPassForFixAll:!E}}function $Ht(t,u){if(Iu(t.parent)&&at(t.parent.expression))return{identifiers:[t.parent.expression],isCompleteFix:!0};if(at(t))return{identifiers:[t],isCompleteFix:!0};if(Xn(t)){let s,d=!0;for(const f of[t.left,t.right]){const p=u.getTypeAtLocation(f);if(u.getPromisedTypeOfPromise(p)){if(!at(f)){d=!1;continue}(s||(s=[])).push(f)}}return s&&{identifiers:s,isCompleteFix:d}}}function UHt(t,u,s,d){const f=Iu(t.parent)?t.parent.name:Xn(t.parent)?t.parent:t,p=Le(u,E=>E.start===f.getStart(s)&&E.start+E.length===f.getEnd());return p&&kt(Wme,p.code)||d.getTypeAtLocation(f).flags&1}function Crt(t){return t.flags&65536||!!Tn(t,u=>u.parent&&q0(u.parent)&&u.parent.body===u||po(u)&&(u.parent.kind===262||u.parent.kind===218||u.parent.kind===219||u.parent.kind===174))}function hBe(t,u,s,d,f,p){if(SV(f.parent)&&!f.parent.awaitModifier){const E=d.getTypeAtLocation(f),v=d.getAsyncIterableType();if(v&&d.isTypeAssignableTo(E,v)){const b=f.parent;t.replaceNode(s,b,q.updateForOfStatement(b,q.createToken(135),b.initializer,b.expression,b.statement));return}}if(Xn(f))for(const E of[f.left,f.right]){if(p&&at(E)){const B=d.getSymbolAtLocation(E);if(B&&p.has(Zo(B)))continue}const v=d.getTypeAtLocation(E),b=d.getPromisedTypeOfPromise(v)?q.createAwaitExpression(E):E;t.replaceNode(s,E,b)}else if(u===fBe&&Iu(f.parent)){if(p&&at(f.parent.expression)){const E=d.getSymbolAtLocation(f.parent.expression);if(E&&p.has(Zo(E)))return}t.replaceNode(s,f.parent.expression,q.createParenthesizedExpression(q.createAwaitExpression(f.parent.expression))),brt(t,f.parent.expression,s)}else if(kt(mBe,u)&&$E(f.parent)){if(p&&at(f)){const E=d.getSymbolAtLocation(f);if(E&&p.has(Zo(E)))return}t.replaceNode(s,f,q.createParenthesizedExpression(q.createAwaitExpression(f))),brt(t,f,s)}else{if(p&&na(f.parent)&&at(f.parent.name)){const E=d.getSymbolAtLocation(f.parent.name);if(E&&!r0(p,Zo(E)))return}t.replaceNode(s,f,q.createAwaitExpression(f))}}function brt(t,u,s){const d=td(u.pos,s);d&&TX(d.end,d.parent,s)&&t.insertText(s,u.getStart(s),";")}var Kme,fBe,mBe,Wme,qHt=o({"src/services/codefixes/addMissingAwait.ts"(){rr(),rs(),Kme="addMissingAwait",fBe=F.Property_0_does_not_exist_on_type_1.code,mBe=[F.This_expression_is_not_callable.code,F.This_expression_is_not_constructable.code],Wme=[F.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,F.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,F.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,F.Operator_0_cannot_be_applied_to_type_1.code,F.Operator_0_cannot_be_applied_to_types_1_and_2.code,F.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,F.This_condition_will_always_return_true_since_this_0_is_always_defined.code,F.Type_0_is_not_an_array_type.code,F.Type_0_is_not_an_array_type_or_a_string_type.code,F.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,F.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,F.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,F.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,F.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,fBe,...mBe],Xo({fixIds:[Kme],errorCodes:Wme,getCodeActions:function(u){const{sourceFile:s,errorCode:d,span:f,cancellationToken:p,program:E}=u,v=Drt(s,d,f,p,E);if(!v)return;const b=u.program.getTypeChecker(),B=k=>iu.ChangeTracker.with(u,k);return Dr([xrt(u,v,d,b,B),vrt(u,v,d,b,B)])},getAllCodeActions:t=>{const{sourceFile:u,program:s,cancellationToken:d}=t,f=t.program.getTypeChecker(),p=new Set;return f0(t,Wme,(E,v)=>{const b=Drt(u,v.code,v,d,s);if(!b)return;const B=k=>(k(E),[]);return xrt(t,b,v.code,f,B,p)||vrt(t,b,v.code,f,B,p)})}})}});function yrt(t,u,s,d,f){const p=Ca(u,s),E=Tn(p,B=>M8(B.parent)?B.parent.initializer===B:ZHt(B)?!1:"quit");if(E)return Gme(t,E,u,f);const v=p.parent;if(Xn(v)&&v.operatorToken.kind===64&&Od(v.parent))return Gme(t,p,u,f);if(Dh(v)){const B=d.getTypeChecker();return ye(v.elements,k=>YHt(k,B))?Gme(t,v,u,f):void 0}const b=Tn(p,B=>Od(B.parent)?!0:QHt(B)?!1:"quit");if(b){const B=d.getTypeChecker();return krt(b,B)?Gme(t,b,u,f):void 0}}function Gme(t,u,s,d){(!d||r0(d,u))&&t.insertModifierBefore(s,87,u)}function ZHt(t){switch(t.kind){case 80:case 209:case 210:case 303:case 304:return!0;default:return!1}}function YHt(t,u){const s=at(t)?t:ld(t,!0)&&at(t.left)?t.left:void 0;return!!s&&!u.getSymbolAtLocation(s)}function QHt(t){switch(t.kind){case 80:case 226:case 28:return!0;default:return!1}}function krt(t,u){return Xn(t)?t.operatorToken.kind===28?ye([t.left,t.right],s=>krt(s,u)):t.operatorToken.kind===64&&at(t.left)&&!u.getSymbolAtLocation(t.left):!1}var Jme,pBe,XHt=o({"src/services/codefixes/addMissingConst.ts"(){rr(),rs(),Jme="addMissingConst",pBe=[F.Cannot_find_name_0.code,F.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code],Xo({errorCodes:pBe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>yrt(d,u.sourceFile,u.span.start,u.program));if(s.length>0)return[Ro(Jme,s,F.Add_const_to_unresolved_variable,Jme,F.Add_const_to_all_unresolved_variables)]},fixIds:[Jme],getAllCodeActions:t=>{const u=new Set;return f0(t,pBe,(s,d)=>yrt(s,d.file,d.start,t.program,u))}})}});function Frt(t,u,s,d){const f=Ca(u,s);if(!at(f))return;const p=f.parent;p.kind===172&&(!d||r0(d,p))&&t.insertModifierBefore(u,138,p)}var $me,gBe,eKt=o({"src/services/codefixes/addMissingDeclareProperty.ts"(){rr(),rs(),$me="addMissingDeclareProperty",gBe=[F.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code],Xo({errorCodes:gBe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Frt(d,u.sourceFile,u.span.start));if(s.length>0)return[Ro($me,s,F.Prefix_with_declare,$me,F.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[$me],getAllCodeActions:t=>{const u=new Set;return f0(t,gBe,(s,d)=>Frt(s,d.file,d.start,u))}})}});function Art(t,u,s){const d=Ca(u,s),f=Tn(d,g1);H.assert(!!f,"Expected position to be owned by a decorator.");const p=q.createCallExpression(f.expression,void 0,void 0);t.replaceNode(u,f.expression,p)}var Ume,EBe,tKt=o({"src/services/codefixes/addMissingInvocationForDecorator.ts"(){rr(),rs(),Ume="addMissingInvocationForDecorator",EBe=[F._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code],Xo({errorCodes:EBe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Art(d,u.sourceFile,u.span.start));return[Ro(Ume,s,F.Call_decorator_expression,Ume,F.Add_to_all_uncalled_decorators)]},fixIds:[Ume],getAllCodeActions:t=>f0(t,EBe,(u,s)=>Art(u,s.file,s.start))})}});function Srt(t,u,s){const d=Ca(u,s),f=d.parent;if(!io(f))return H.fail("Tried to add a parameter name to a non-parameter: "+H.formatSyntaxKind(d.kind));const p=f.parent.parameters.indexOf(f);H.assert(!f.type,"Tried to add a parameter name to a parameter that already had one."),H.assert(p>-1,"Parameter not found in parent parameter list.");let E=f.name.getEnd(),v=q.createTypeReferenceNode(f.name,void 0),b=Brt(u,f);for(;b;)v=q.createArrayTypeNode(v),E=b.getEnd(),b=Brt(u,b);const B=q.createParameterDeclaration(f.modifiers,f.dotDotDotToken,"arg"+p,f.questionToken,f.dotDotDotToken&&!oY(v)?q.createArrayTypeNode(v):v,f.initializer);t.replaceRange(u,s4(f.getStart(u),E),B)}function Brt(t,u){const s=ib(u.name,u.parent,t);if(s&&s.kind===23&&_k(s.parent)&&io(s.parent.parent))return s.parent.parent}var qme,_Be,iKt=o({"src/services/codefixes/addNameToNamelessParameter.ts"(){rr(),rs(),qme="addNameToNamelessParameter",_Be=[F.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code],Xo({errorCodes:_Be,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Srt(d,u.sourceFile,u.span.start));return[Ro(qme,s,F.Add_parameter_name,qme,F.Add_names_to_all_parameters_without_names)]},fixIds:[qme],getAllCodeActions:t=>f0(t,_Be,(u,s)=>Srt(u,s.file,s.start))})}});function nKt(t,u,s){var d,f;const p=wrt(yfe(t,u),s);if(!p)return _t;const{source:E,target:v}=p,b=uKt(E,v,s)?s.getTypeAtLocation(v.expression):s.getTypeAtLocation(v);return(f=(d=b.symbol)==null?void 0:d.declarations)!=null&&f.some(B=>zn(B).fileName.match(/\.d\.ts$/))?_t:s.getExactOptionalProperties(b)}function uKt(t,u,s){return Iu(u)&&!!s.getExactOptionalProperties(s.getTypeAtLocation(u.expression)).length&&s.getTypeAtLocation(t)===s.getUndefinedType()}function wrt(t,u){var s;if(t){if(Xn(t.parent)&&t.parent.operatorToken.kind===64)return{source:t.parent.right,target:t.parent.left};if(na(t.parent)&&t.parent.initializer)return{source:t.parent.initializer,target:t.parent.name};if(Mo(t.parent)){const d=u.getSymbolAtLocation(t.parent.expression);if(!(d!=null&&d.valueDeclaration)||!a7(d.valueDeclaration.kind)||!Wt(t))return;const f=t.parent.arguments.indexOf(t);if(f===-1)return;const p=d.valueDeclaration.parameters[f].name;if(at(p))return{source:t,target:p}}else if(Jc(t.parent)&&at(t.parent.name)||pm(t.parent)){const d=wrt(t.parent.parent,u);if(!d)return;const f=u.getPropertyOfType(u.getTypeAtLocation(d.target),t.parent.name.text),p=(s=f==null?void 0:f.declarations)==null?void 0:s[0];return p?{source:Jc(t.parent)?t.parent.initializer:t.parent.name,target:p}:void 0}}else return}function rKt(t,u){for(const s of u){const d=s.valueDeclaration;if(d&&(Mm(d)||ko(d))&&d.type){const f=q.createUnionTypeNode([...d.type.kind===192?d.type.types:[d.type],q.createTypeReferenceNode("undefined")]);t.replaceNode(d.getSourceFile(),d.type,f)}}}var DBe,Trt,aKt=o({"src/services/codefixes/addOptionalPropertyUndefined.ts"(){rr(),rs(),DBe="addOptionalPropertyUndefined",Trt=[F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code],Xo({errorCodes:Trt,getCodeActions(t){const u=t.program.getTypeChecker(),s=nKt(t.sourceFile,t.span,u);if(!s.length)return;const d=iu.ChangeTracker.with(t,f=>rKt(f,s));return[Cg(DBe,d,F.Add_undefined_to_optional_property_type)]},fixIds:[DBe]})}});function Lrt(t,u){const s=Ca(t,u);return ur(io(s.parent)?s.parent.parent:s.parent,Nrt)}function Nrt(t){return oKt(t)&&Prt(t)}function Prt(t){return $0(t)?t.parameters.some(Prt)||!t.type&&!!VO(t):!t.type&&!!vv(t)}function Mrt(t,u,s){if($0(s)&&(VO(s)||s.parameters.some(d=>!!vv(d)))){if(!s.typeParameters){const f=Oq(s);f.length&&t.insertTypeParameters(u,s,f)}const d=q0(s)&&!a0(s,21,u);d&&t.insertNodeBefore(u,Pn(s.parameters),q.createToken(21));for(const f of s.parameters)if(!f.type){const p=vv(f);p&&t.tryInsertTypeAnnotation(u,f,yt(p,ob,Qr))}if(d&&t.insertNodeAfter(u,Cr(s.parameters),q.createToken(22)),!s.type){const f=VO(s);f&&t.tryInsertTypeAnnotation(u,s,yt(f,ob,Qr))}}else{const d=H.checkDefined(vv(s),"A JSDocType for this declaration should exist");H.assert(!s.type,"The JSDocType decl should have a type"),t.tryInsertTypeAnnotation(u,s,yt(d,ob,Qr))}}function oKt(t){return $0(t)||t.kind===260||t.kind===171||t.kind===172}function ob(t){switch(t.kind){case 319:case 320:return q.createTypeReferenceNode("any",_t);case 323:return lKt(t);case 322:return ob(t.type);case 321:return cKt(t);case 325:return dKt(t);case 324:return hKt(t);case 183:return mKt(t);case 329:return sKt(t);default:const u=rn(t,ob,Dg);return Zn(u,1),u}}function sKt(t){const u=q.createTypeLiteralNode(Vt(t.jsDocPropertyTags,s=>q.createPropertySignature(void 0,at(s.name)?s.name:s.name.right,aV(s)?q.createToken(58):void 0,s.typeExpression&&yt(s.typeExpression.type,ob,Qr)||q.createKeywordTypeNode(133))));return Zn(u,1),u}function lKt(t){return q.createUnionTypeNode([yt(t.type,ob,Qr),q.createTypeReferenceNode("undefined",_t)])}function cKt(t){return q.createUnionTypeNode([yt(t.type,ob,Qr),q.createTypeReferenceNode("null",_t)])}function dKt(t){return q.createArrayTypeNode(yt(t.type,ob,Qr))}function hKt(t){return q.createFunctionTypeNode(_t,t.parameters.map(fKt),t.type??q.createKeywordTypeNode(133))}function fKt(t){const u=t.parent.parameters.indexOf(t),s=t.type.kind===325&&u===t.parent.parameters.length-1,d=t.name||(s?"rest":"arg"+u),f=s?q.createToken(26):t.dotDotDotToken;return q.createParameterDeclaration(t.modifiers,f,d,t.questionToken,yt(t.type,ob,Qr),t.initializer)}function mKt(t){let u=t.typeName,s=t.typeArguments;if(at(t.typeName)){if(xq(t))return pKt(t);let d=t.typeName.text;switch(t.typeName.text){case"String":case"Boolean":case"Object":case"Number":d=d.toLowerCase();break;case"array":case"date":case"promise":d=d[0].toUpperCase()+d.slice(1);break}u=q.createIdentifier(d),(d==="Array"||d==="Promise")&&!t.typeArguments?s=q.createNodeArray([q.createTypeReferenceNode("any",_t)]):s=kn(t.typeArguments,ob,Qr)}return q.createTypeReferenceNode(u,s)}function pKt(t){const u=q.createParameterDeclaration(void 0,void 0,t.typeArguments[0].kind===150?"n":"s",void 0,q.createTypeReferenceNode(t.typeArguments[0].kind===150?"number":"string",[]),void 0),s=q.createTypeLiteralNode([q.createIndexSignature(void 0,[u],t.typeArguments[1])]);return Zn(s,1),s}var Zme,xBe,gKt=o({"src/services/codefixes/annotateWithTypeFromJSDoc.ts"(){rr(),rs(),Zme="annotateWithTypeFromJSDoc",xBe=[F.JSDoc_types_may_be_moved_to_TypeScript_types.code],Xo({errorCodes:xBe,getCodeActions(t){const u=Lrt(t.sourceFile,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,d=>Mrt(d,t.sourceFile,u));return[Ro(Zme,s,F.Annotate_with_type_from_JSDoc,Zme,F.Annotate_everything_with_types_from_JSDoc)]},fixIds:[Zme],getAllCodeActions:t=>f0(t,xBe,(u,s)=>{const d=Lrt(s.file,s.start);d&&Mrt(u,s.file,d)})})}});function zrt(t,u,s,d,f,p){const E=d.getSymbolAtLocation(Ca(u,s));if(!E||!E.valueDeclaration||!(E.flags&19))return;const v=E.valueDeclaration;if(ed(v)||A0(v))t.replaceNode(u,v,k(v));else if(na(v)){const T=B(v);if(!T)return;const M=v.parent.parent;Ad(v.parent)&&v.parent.declarations.length>1?(t.delete(u,v),t.insertNodeAfter(u,M,T)):t.replaceNode(u,M,T)}function b(T){const M=[];return T.exports&&T.exports.forEach(J=>{if(J.name==="prototype"&&J.declarations){const K=J.declarations[0];if(J.declarations.length===1&&Iu(K)&&Xn(K.parent)&&K.parent.operatorToken.kind===64&&ys(K.parent.right)){const Y=K.parent.right;j(Y.symbol,void 0,M)}}else j(J,[q.createToken(126)],M)}),T.members&&T.members.forEach((J,K)=>{var Y,oe,se,ge;if(K==="constructor"&&J.valueDeclaration){const ae=(ge=(se=(oe=(Y=T.exports)==null?void 0:Y.get("prototype"))==null?void 0:oe.declarations)==null?void 0:se[0])==null?void 0:ge.parent;ae&&Xn(ae)&&ys(ae.right)&&Oe(ae.right.properties,Qme)||t.delete(u,J.valueDeclaration.parent);return}j(J,void 0,M)}),M;function z(J,K){return I0(J)?Iu(J)&&Qme(J)?!0:Co(K):ye(J.properties,Y=>!!(dc(Y)||NU(Y)||Jc(Y)&&A0(Y.initializer)&&Y.name||Qme(Y)))}function j(J,K,Y){if(!(J.flags&8192)&&!(J.flags&4096))return;const oe=J.valueDeclaration,se=oe.parent,ge=se.right;if(!z(oe,ge)||Oe(Y,Se=>{const Ne=Za(Se);return!!(Ne&&at(Ne)&&fu(Ne)===lc(J))}))return;const ae=se.parent&&se.parent.kind===244?se.parent:se;if(t.delete(u,ae),!ge){Y.push(q.createPropertyDeclaration(K,J.name,void 0,void 0,void 0));return}if(I0(oe)&&(A0(ge)||q0(ge))){const Se=Hm(u,f),Ne=EKt(oe,p,Se);Ne&&Ce(Y,ge,Ne);return}else if(ys(ge)){L(ge.properties,Se=>{(dc(Se)||NU(Se))&&Y.push(Se),Jc(Se)&&A0(Se.initializer)&&Ce(Y,Se.initializer,Se.name),Qme(Se)});return}else{if(gh(u)||!Iu(oe))return;const Se=q.createPropertyDeclaration(K,oe.name,void 0,void 0,ge);cw(se.parent,Se,u),Y.push(Se);return}function Ce(Se,Ne,pe){return A0(Ne)?ne(Se,Ne,pe):ve(Se,Ne,pe)}function ne(Se,Ne,pe){const fe=Hi(K,Yme(Ne,134)),xe=q.createMethodDeclaration(fe,void 0,pe,void 0,void 0,Ne.parameters,void 0,Ne.body);cw(se,xe,u),Se.push(xe)}function ve(Se,Ne,pe){const fe=Ne.body;let xe;fe.kind===241?xe=fe:xe=q.createBlock([q.createReturnStatement(fe)]);const Be=Hi(K,Yme(Ne,134)),Ge=q.createMethodDeclaration(Be,void 0,pe,void 0,void 0,Ne.parameters,void 0,xe);cw(se,Ge,u),Se.push(Ge)}}}function B(T){const M=T.initializer;if(!M||!A0(M)||!at(T.name))return;const z=b(T.symbol);M.body&&z.unshift(q.createConstructorDeclaration(void 0,M.parameters,M.body));const j=Yme(T.parent.parent,95);return q.createClassDeclaration(j,T.name,void 0,void 0,z)}function k(T){const M=b(E);T.body&&M.unshift(q.createConstructorDeclaration(void 0,T.parameters,T.body));const z=Yme(T,95);return q.createClassDeclaration(z,T.name,void 0,void 0,M)}}function Yme(t,u){return Hp(t)?ti(t.modifiers,s=>s.kind===u):void 0}function Qme(t){return t.name?!!(at(t.name)&&t.name.text==="constructor"):!1}function EKt(t,u,s){if(Iu(t))return t.name;const d=t.argumentExpression;if(Of(d))return d;if(t0(d))return Lm(d.text,Os(u))?q.createIdentifier(d.text):T7(d)?q.createStringLiteral(d.text,s===0):d}var Xme,vBe,_Kt=o({"src/services/codefixes/convertFunctionToEs6Class.ts"(){rr(),rs(),Xme="convertFunctionToEs6Class",vBe=[F.This_constructor_function_may_be_converted_to_a_class_declaration.code],Xo({errorCodes:vBe,getCodeActions(t){const u=iu.ChangeTracker.with(t,s=>zrt(s,t.sourceFile,t.span.start,t.program.getTypeChecker(),t.preferences,t.program.getCompilerOptions()));return[Ro(Xme,u,F.Convert_function_to_an_ES2015_class,Xme,F.Convert_all_constructor_functions_to_classes)]},fixIds:[Xme],getAllCodeActions:t=>f0(t,vBe,(u,s)=>zrt(u,s.file,s.start,t.program.getTypeChecker(),t.preferences,t.program.getCompilerOptions()))})}});function Irt(t,u,s,d){const f=Ca(u,s);let p;if(at(f)&&na(f.parent)&&f.parent.initializer&&$0(f.parent.initializer)?p=f.parent.initializer:p=ur(Nm(Ca(u,s)),qfe),!p)return;const E=new Map,v=Qn(p),b=xKt(p,d),B=vKt(p,d,E);if(!$fe(B,d))return;const k=B.body&&po(B.body)?DKt(B.body,d):_t,T={checker:d,synthNamesMap:E,setOfExpressionsToReturn:b,isInJSFile:v};if(!k.length)return;const M=gs(u.text,iE(p).pos);t.insertModifierAt(u,M,134,{suffix:" "});for(const z of k)if(ao(z,function j(J){if(Mo(J)){const K=Dw(J,J,T,!1);if(s9())return!0;t.replaceNodeWithNodes(u,z,K)}else if(!Co(J)&&(ao(J,j),s9()))return!0}),s9())return}function DKt(t,u){const s=[];return y2(t,d=>{UX(d,u)&&s.push(d)}),s}function xKt(t,u){if(!t.body)return new Set;const s=new Set;return ao(t.body,function d(f){xK(f,u,"then")?(s.add($s(f)),L(f.arguments,d)):xK(f,u,"catch")||xK(f,u,"finally")?(s.add($s(f)),ao(f,d)):Ort(f,u)?s.add($s(f)):ao(f,d)}),s}function xK(t,u,s){if(!Mo(t))return!1;const f=NH(t,s)&&u.getTypeAtLocation(t);return!!(f&&u.getPromisedTypeOfPromise(f))}function Rrt(t,u){return(Gu(t)&4)!==0&&t.target===u}function e4e(t,u,s){if(t.expression.name.escapedText==="finally")return;const d=s.getTypeAtLocation(t.expression.expression);if(Rrt(d,s.getPromiseType())||Rrt(d,s.getPromiseLikeType()))if(t.expression.name.escapedText==="then"){if(u===qD(t.arguments,0))return qD(t.typeArguments,0);if(u===qD(t.arguments,1))return qD(t.typeArguments,1)}else return qD(t.typeArguments,0)}function Ort(t,u){return Wt(t)?!!u.getPromisedTypeOfPromise(u.getTypeAtLocation(t)):!1}function vKt(t,u,s){const d=new Map,f=wm();return ao(t,function p(E){if(!at(E)){ao(E,p);return}const v=u.getSymbolAtLocation(E);if(v){const b=u.getTypeAtLocation(E),B=Grt(b,u),k=Zo(v).toString();if(B&&!io(E.parent)&&!$0(E.parent)&&!s.has(k)){const T=Ki(B.parameters),M=(T==null?void 0:T.valueDeclaration)&&io(T.valueDeclaration)&&ur(T.valueDeclaration.name,at)||q.createUniqueName("result",16),z=jrt(M,f);s.set(k,z),f.add(M.text,v)}else if(E.parent&&(io(E.parent)||na(E.parent)||js(E.parent))){const T=E.text,M=f.get(T);if(M&&M.some(z=>z!==v)){const z=jrt(E,f);d.set(k,z.identifier),s.set(k,z),f.add(T,v)}else{const z=ll(E);s.set(k,$M(z)),f.add(T,v)}}}}),UH(t,!0,p=>{if(js(p)&&at(p.name)&&Rp(p.parent)){const E=u.getSymbolAtLocation(p.name),v=E&&d.get(String(Zo(E)));if(v&&v.text!==(p.name||p.propertyName).getText())return q.createBindingElement(p.dotDotDotToken,p.propertyName||p.name,v,p.initializer)}else if(at(p)){const E=u.getSymbolAtLocation(p),v=E&&d.get(String(Zo(E)));if(v)return q.createIdentifier(v.text)}})}function jrt(t,u){const s=(u.get(t.text)||_t).length,d=s===0?t:q.createIdentifier(t.text+"_"+s);return $M(d)}function s9(){return!xee}function Zv(){return xee=!1,_t}function Dw(t,u,s,d,f){if(xK(u,s.checker,"then"))return yKt(u,qD(u.arguments,0),qD(u.arguments,1),s,d,f);if(xK(u,s.checker,"catch"))return Krt(u,qD(u.arguments,0),s,d,f);if(xK(u,s.checker,"finally"))return bKt(u,qD(u.arguments,0),s,d,f);if(Iu(u))return Dw(t,u.expression,s,d,f);const p=s.checker.getTypeAtLocation(u);return p&&s.checker.getPromisedTypeOfPromise(p)?(H.assertNode(Wl(u).parent,Iu),kKt(t,u,s,d,f)):Zv()}function t4e({checker:t},u){if(u.kind===106)return!0;if(at(u)&&!al(u)&&fu(u)==="undefined"){const s=t.getSymbolAtLocation(u);return!s||t.isUndefinedSymbol(s)}return!1}function CKt(t){const u=q.createUniqueName(t.identifier.text,16);return $M(u)}function Vrt(t,u,s){let d;return s&&!CK(t,u)&&(vK(s)?(d=s,u.synthNamesMap.forEach((f,p)=>{if(f.identifier.text===s.identifier.text){const E=CKt(s);u.synthNamesMap.set(p,E)}})):d=$M(q.createUniqueName("result",16),s.types),kBe(d)),d}function Hrt(t,u,s,d,f){const p=[];let E;if(d&&!CK(t,u)){E=ll(kBe(d));const v=d.types,b=u.checker.getUnionType(v,2),B=u.isInJSFile?void 0:u.checker.typeToTypeNode(b,void 0,void 0),k=[q.createVariableDeclaration(E,void 0,B)],T=q.createVariableStatement(void 0,q.createVariableDeclarationList(k,1));p.push(T)}return p.push(s),f&&E&&SKt(f)&&p.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ll(qrt(f)),void 0,void 0,E)],2))),p}function bKt(t,u,s,d,f){if(!u||t4e(s,u))return Dw(t,t.expression.expression,s,d,f);const p=Vrt(t,s,f),E=Dw(t,t.expression.expression,s,!0,p);if(s9())return Zv();const v=bBe(u,d,void 0,void 0,t,s);if(s9())return Zv();const b=q.createBlock(E),B=q.createBlock(v),k=q.createTryStatement(b,void 0,B);return Hrt(t,s,k,p,f)}function Krt(t,u,s,d,f){if(!u||t4e(s,u))return Dw(t,t.expression.expression,s,d,f);const p=$rt(u,s),E=Vrt(t,s,f),v=Dw(t,t.expression.expression,s,!0,E);if(s9())return Zv();const b=bBe(u,d,E,p,t,s);if(s9())return Zv();const B=q.createBlock(v),k=q.createCatchClause(p&&ll(Dee(p)),q.createBlock(b)),T=q.createTryStatement(B,k,void 0);return Hrt(t,s,T,E,f)}function yKt(t,u,s,d,f,p){if(!u||t4e(d,u))return Krt(t,s,d,f,p);if(s&&!t4e(d,s))return Zv();const E=$rt(u,d),v=Dw(t.expression.expression,t.expression.expression,d,!0,E);if(s9())return Zv();const b=bBe(u,f,p,E,t,d);return s9()?Zv():Hi(v,b)}function kKt(t,u,s,d,f){if(CK(t,s)){let p=ll(u);return d&&(p=q.createAwaitExpression(p)),[q.createReturnStatement(p)]}return i4e(f,q.createAwaitExpression(u),void 0)}function i4e(t,u,s){return!t||Urt(t)?[q.createExpressionStatement(u)]:vK(t)&&t.hasBeenDeclared?[q.createExpressionStatement(q.createAssignment(ll(yBe(t)),u))]:[q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ll(Dee(t)),void 0,s,u)],2))]}function CBe(t,u){if(u&&t){const s=q.createUniqueName("result",16);return[...i4e($M(s),t,u),q.createReturnStatement(s)]}return[q.createReturnStatement(t)]}function bBe(t,u,s,d,f,p){var E;switch(t.kind){case 106:break;case 211:case 80:if(!d)break;const v=q.createCallExpression(ll(t),void 0,vK(d)?[yBe(d)]:[]);if(CK(f,p))return CBe(v,e4e(f,t,p.checker));const b=p.checker.getTypeAtLocation(t),B=p.checker.getSignaturesOfType(b,0);if(!B.length)return Zv();const k=B[0].getReturnType(),T=i4e(s,q.createAwaitExpression(v),e4e(f,t,p.checker));return s&&s.types.push(p.checker.getAwaitedType(k)||k),T;case 218:case 219:{const M=t.body,z=(E=Grt(p.checker.getTypeAtLocation(t),p.checker))==null?void 0:E.getReturnType();if(po(M)){let j=[],J=!1;for(const K of M.statements)if(Op(K))if(J=!0,UX(K,p.checker))j=j.concat(Jrt(p,K,u,s));else{const Y=z&&K.expression?Wrt(p.checker,z,K.expression):K.expression;j.push(...CBe(Y,e4e(f,t,p.checker)))}else{if(u&&y2(K,J3))return Zv();j.push(K)}return CK(f,p)?j.map(K=>ll(K)):FKt(j,s,p,J)}else{const j=Ufe(M,p.checker)?Jrt(p,q.createReturnStatement(M),u,s):_t;if(j.length>0)return j;if(z){const J=Wrt(p.checker,z,M);if(CK(f,p))return CBe(J,e4e(f,t,p.checker));{const K=i4e(s,J,void 0);return s&&s.types.push(p.checker.getAwaitedType(z)||z),K}}else return Zv()}}default:return Zv()}return _t}function Wrt(t,u,s){const d=ll(s);return t.getPromisedTypeOfPromise(u)?q.createAwaitExpression(d):d}function Grt(t,u){const s=u.getSignaturesOfType(t,0);return qu(s)}function FKt(t,u,s,d){const f=[];for(const p of t)if(Op(p)){if(p.expression){const E=Ort(p.expression,s.checker)?q.createAwaitExpression(p.expression):p.expression;u===void 0?f.push(q.createExpressionStatement(E)):vK(u)&&u.hasBeenDeclared?f.push(q.createExpressionStatement(q.createAssignment(yBe(u),E))):f.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(Dee(u),void 0,void 0,E)],2)))}}else f.push(ll(p));return!d&&u!==void 0&&f.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(Dee(u),void 0,void 0,q.createIdentifier("undefined"))],2))),f}function Jrt(t,u,s,d){let f=[];return ao(u,function p(E){if(Mo(E)){const v=Dw(E,E,t,s,d);if(f=f.concat(v),f.length>0)return}else Co(E)||ao(E,p)}),f}function $rt(t,u){const s=[];let d;if($0(t)){if(t.parameters.length>0){const b=t.parameters[0].name;d=f(b)}}else at(t)?d=p(t):Iu(t)&&at(t.name)&&(d=p(t.name));if(!d||"identifier"in d&&d.identifier.text==="undefined")return;return d;function f(b){if(at(b))return p(b);const B=ju(b.elements,k=>Fd(k)?[]:[f(k.name)]);return AKt(b,B)}function p(b){const B=v(b),k=E(B);return k&&u.synthNamesMap.get(Zo(k).toString())||$M(b,s)}function E(b){var B;return((B=ur(b,Zg))==null?void 0:B.symbol)??u.checker.getSymbolAtLocation(b)}function v(b){return b.original?b.original:b}}function Urt(t){return t?vK(t)?!t.identifier.text:ye(t.elements,Urt):!0}function $M(t,u=[]){return{kind:0,identifier:t,types:u,hasBeenDeclared:!1,hasBeenReferenced:!1}}function AKt(t,u=_t,s=[]){return{kind:1,bindingPattern:t,elements:u,types:s}}function yBe(t){return t.hasBeenReferenced=!0,t.identifier}function Dee(t){return vK(t)?kBe(t):qrt(t)}function qrt(t){for(const u of t.elements)Dee(u);return t.bindingPattern}function kBe(t){return t.hasBeenDeclared=!0,t.identifier}function vK(t){return t.kind===0}function SKt(t){return t.kind===1}function CK(t,u){return!!t.original&&u.setOfExpressionsToReturn.has($s(t.original))}var n4e,FBe,xee,BKt=o({"src/services/codefixes/convertToAsyncFunction.ts"(){rr(),rs(),n4e="convertToAsyncFunction",FBe=[F.This_may_be_converted_to_an_async_function.code],xee=!0,Xo({errorCodes:FBe,getCodeActions(t){xee=!0;const u=iu.ChangeTracker.with(t,s=>Irt(s,t.sourceFile,t.span.start,t.program.getTypeChecker()));return xee?[Ro(n4e,u,F.Convert_to_async_function,n4e,F.Convert_all_to_async_functions)]:[]},fixIds:[n4e],getAllCodeActions:t=>f0(t,FBe,(u,s)=>Irt(u,s.file,s.start,t.program.getTypeChecker()))})}});function wKt(t,u,s,d,f){var p;for(const E of t.imports){const v=(p=s.getResolvedModule(t,E.text,xg(t,E)))==null?void 0:p.resolvedModule;if(!v||v.resolvedFileName!==u.fileName)continue;const b=tP(E);switch(b.kind){case 271:d.replaceNode(t,b,g5(b.name,void 0,E,f));break;case 213:xf(b,!1)&&d.replaceNode(t,b,q.createPropertyAccessExpression(ll(b),"default"));break}}}function TKt(t,u,s,d,f){const p={original:WKt(t),additional:new Set},E=LKt(t,u,p);NKt(t,E,s);let v=!1,b;for(const B of ti(t.statements,Jl)){const k=Yrt(t,B,s,u,p,d,f);k&&qU(k,b??(b=new Map))}for(const B of ti(t.statements,k=>!Jl(k))){const k=PKt(t,B,u,s,p,d,E,b,f);v=v||k}return b==null||b.forEach((B,k)=>{s.replaceNode(t,k,B)}),v}function LKt(t,u,s){const d=new Map;return Zrt(t,f=>{const{text:p}=f.name;!d.has(p)&&(wq(f.name)||u.resolveName(p,f,111551,!0))&&d.set(p,u4e(`_${p}`,s))}),d}function NKt(t,u,s){Zrt(t,(d,f)=>{if(f)return;const{text:p}=d.name;s.replaceNode(t,d,q.createIdentifier(u.get(p)||p))})}function Zrt(t,u){t.forEachChild(function s(d){if(Iu(d)&&q2(t,d.expression)&&at(d.name)){const{parent:f}=d;u(d,Xn(f)&&f.left===d&&f.operatorToken.kind===64)}d.forEachChild(s)})}function PKt(t,u,s,d,f,p,E,v,b){switch(u.kind){case 243:return Yrt(t,u,d,s,f,p,b),!1;case 244:{const{expression:B}=u;switch(B.kind){case 213:return xf(B,!0)&&d.replaceNode(t,u,g5(void 0,void 0,B.arguments[0],b)),!1;case 226:{const{operatorToken:k}=B;return k.kind===64&&zKt(t,s,B,d,E,v)}}}default:return!1}}function Yrt(t,u,s,d,f,p,E){const{declarationList:v}=u;let b=!1;const B=Vt(v.declarations,k=>{const{name:T,initializer:M}=k;if(M){if(q2(t,M))return b=!0,UM([]);if(xf(M,!0))return b=!0,HKt(T,M.arguments[0],d,f,p,E);if(Iu(M)&&xf(M.expression,!0))return b=!0,MKt(T,M.name.text,M.expression.arguments[0],f,E)}return UM([q.createVariableStatement(void 0,q.createVariableDeclarationList([k],v.flags))])});if(b){s.replaceNodeWithNodes(t,u,ju(B,T=>T.newImports));let k;return L(B,T=>{T.useSitesToUnqualify&&qU(T.useSitesToUnqualify,k??(k=new Map))}),k}}function MKt(t,u,s,d,f){switch(t.kind){case 206:case 207:{const p=u4e(u,d);return UM([tat(p,u,s,f),r4e(void 0,t,q.createIdentifier(p))])}case 80:return UM([tat(t.text,u,s,f)]);default:return H.assertNever(t,`Convert to ES module got invalid syntax form ${t.kind}`)}}function zKt(t,u,s,d,f,p){const{left:E,right:v}=s;if(!Iu(E))return!1;if(q2(t,E))if(q2(t,v))d.delete(t,s.parent);else{const b=ys(v)?IKt(v,p):xf(v,!0)?OKt(v.arguments[0],u):void 0;return b?(d.replaceNodeWithNodes(t,s.parent,b[0]),b[1]):(d.replaceRangeWithText(t,s4(E.getStart(t),v.pos),"export default"),!0)}else q2(t,E.expression)&&RKt(t,s,d,f);return!1}function IKt(t,u){const s=ra(t.properties,d=>{switch(d.kind){case 177:case 178:case 304:case 305:return;case 303:return at(d.name)?VKt(d.name.text,d.initializer,u):void 0;case 174:return at(d.name)?eat(d.name.text,[q.createToken(95)],d,u):void 0;default:H.assertNever(d,`Convert to ES6 got invalid prop kind ${d.kind}`)}});return s&&[s,!1]}function RKt(t,u,s,d){const{text:f}=u.left.name,p=d.get(f);if(p!==void 0){const E=[r4e(void 0,p,u.right),BBe([q.createExportSpecifier(!1,p,f)])];s.replaceNodeWithNodes(t,u.parent,E)}else jKt(u,t,s)}function OKt(t,u){const s=t.text,d=u.getSymbolAtLocation(t),f=d?d.exports:iU;return f.has("export=")?[[ABe(s)],!0]:f.has("default")?f.size>1?[[Qrt(s),ABe(s)],!0]:[[ABe(s)],!0]:[[Qrt(s)],!1]}function Qrt(t){return BBe(void 0,t)}function ABe(t){return BBe([q.createExportSpecifier(!1,void 0,"default")],t)}function jKt({left:t,right:u,parent:s},d,f){const p=t.name.text;if((A0(u)||q0(u)||Xd(u))&&(!u.name||u.name.text===p)){f.replaceRange(d,{pos:t.getStart(d),end:u.getStart(d)},q.createToken(95),{suffix:" "}),u.name||f.insertName(d,u,p);const E=a0(s,27,d);E&&f.delete(d,E)}else f.replaceNodeRangeWithNodes(d,t.expression,a0(t,25,d),[q.createToken(95),q.createToken(87)],{joiner:" ",suffix:" "})}function VKt(t,u,s){const d=[q.createToken(95)];switch(u.kind){case 218:{const{name:p}=u;if(p&&p.text!==t)return f()}case 219:return eat(t,d,u,s);case 231:return JKt(t,d,u,s);default:return f()}function f(){return r4e(d,q.createIdentifier(t),SBe(u,s))}}function SBe(t,u){if(!u||!Oe(ga(u.keys()),d=>Vm(t,d)))return t;return Ha(t)?gfe(t,!0,s):UH(t,!0,s);function s(d){if(d.kind===211){const f=u.get(d);return u.delete(d),f}}}function HKt(t,u,s,d,f,p){switch(t.kind){case 206:{const E=ra(t.elements,v=>v.dotDotDotToken||v.initializer||v.propertyName&&!at(v.propertyName)||!at(v.name)?void 0:iat(v.propertyName&&v.propertyName.text,v.name.text));if(E)return UM([g5(void 0,E,u,p)])}case 207:{const E=u4e(HBe(u.text,f),d);return UM([g5(q.createIdentifier(E),void 0,u,p),r4e(void 0,ll(t),q.createIdentifier(E))])}case 80:return KKt(t,u,s,d,p);default:return H.assertNever(t,`Convert to ES module got invalid name kind ${t.kind}`)}}function KKt(t,u,s,d,f){const p=s.getSymbolAtLocation(t),E=new Map;let v=!1,b;for(const k of d.original.get(t.text)){if(s.getSymbolAtLocation(k)!==p||k===t)continue;const{parent:T}=k;if(Iu(T)){const{name:{text:M}}=T;if(M==="default"){v=!0;const z=k.getText();(b??(b=new Map)).set(T,q.createIdentifier(z))}else{H.assert(T.expression===k,"Didn't expect expression === use");let z=E.get(M);z===void 0&&(z=u4e(M,d),E.set(M,z)),(b??(b=new Map)).set(T,q.createIdentifier(z))}}else v=!0}const B=E.size===0?void 0:ga(zr(E.entries(),([k,T])=>q.createImportSpecifier(!1,k===T?void 0:q.createIdentifier(k),q.createIdentifier(T))));return B||(v=!0),UM([g5(v?ll(t):void 0,B,u,f)],b)}function u4e(t,u){for(;u.original.has(t)||u.additional.has(t);)t=`_${t}`;return u.additional.add(t),t}function WKt(t){const u=wm();return Xrt(t,s=>u.add(s.text,s)),u}function Xrt(t,u){at(t)&&GKt(t)&&u(t),t.forEachChild(s=>Xrt(s,u))}function GKt(t){const{parent:u}=t;switch(u.kind){case 211:return u.name!==t;case 208:return u.propertyName!==t;case 276:return u.propertyName!==t;default:return!0}}function eat(t,u,s,d){return q.createFunctionDeclaration(Hi(u,nb(s.modifiers)),ll(s.asteriskToken),t,nb(s.typeParameters),nb(s.parameters),ll(s.type),q.converters.convertToFunctionBlock(SBe(s.body,d)))}function JKt(t,u,s,d){return q.createClassDeclaration(Hi(u,nb(s.modifiers)),t,nb(s.typeParameters),nb(s.heritageClauses),SBe(s.members,d))}function tat(t,u,s,d){return u==="default"?g5(q.createIdentifier(t),void 0,s,d):g5(void 0,[iat(u,t)],s,d)}function iat(t,u){return q.createImportSpecifier(!1,t!==void 0&&t!==u?q.createIdentifier(t):void 0,q.createIdentifier(u))}function r4e(t,u,s){return q.createVariableStatement(t,q.createVariableDeclarationList([q.createVariableDeclaration(u,void 0,void 0,s)],2))}function BBe(t,u){return q.createExportDeclaration(void 0,!1,t&&q.createNamedExports(t),u===void 0?void 0:q.createStringLiteral(u))}function UM(t,u){return{newImports:t,useSitesToUnqualify:u}}var $Kt=o({"src/services/codefixes/convertToEsModule.ts"(){rr(),rs(),Xo({errorCodes:[F.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions(t){const{sourceFile:u,program:s,preferences:d}=t,f=iu.ChangeTracker.with(t,p=>{if(TKt(u,s.getTypeChecker(),p,Os(s.getCompilerOptions()),Hm(u,d)))for(const v of s.getSourceFiles())wKt(v,u,s,p,Hm(v,d))});return[Cg("convertToEsModule",f,F.Convert_to_ES_module)]}})}});function nat(t,u){const s=Tn(Ca(t,u),vf);return H.assert(!!s,"Expected position to be owned by a qualified name."),at(s.left)?s:void 0}function uat(t,u,s){const d=s.right.text,f=q.createIndexedAccessTypeNode(q.createTypeReferenceNode(s.left,void 0),q.createLiteralTypeNode(q.createStringLiteral(d)));t.replaceNode(u,s,f)}var a4e,wBe,UKt=o({"src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts"(){rr(),rs(),a4e="correctQualifiedNameToIndexedAccessType",wBe=[F.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.code],Xo({errorCodes:wBe,getCodeActions(t){const u=nat(t.sourceFile,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,f=>uat(f,t.sourceFile,u)),d=`${u.left.text}["${u.right.text}"]`;return[Ro(a4e,s,[F.Rewrite_as_the_indexed_access_type_0,d],a4e,F.Rewrite_all_as_indexed_access_types)]},fixIds:[a4e],getAllCodeActions:t=>f0(t,wBe,(u,s)=>{const d=nat(s.file,s.start);d&&uat(u,s.file,d)})})}});function rat(t,u){return ur(Ca(u,t.start).parent,eh)}function aat(t,u,s){if(!u)return;const d=u.parent,f=d.parent,p=qKt(u,s);if(p.length===d.elements.length)t.insertModifierBefore(s.sourceFile,156,d);else{const E=q.updateExportDeclaration(f,f.modifiers,!1,q.updateNamedExports(d,ti(d.elements,b=>!kt(p,b))),f.moduleSpecifier,void 0),v=q.createExportDeclaration(void 0,!0,q.createNamedExports(p),f.moduleSpecifier,void 0);t.replaceNode(s.sourceFile,f,E,{leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Exclude}),t.insertNodeAfter(s.sourceFile,f,v)}}function qKt(t,u){const s=t.parent;if(s.elements.length===1)return s.elements;const d=LSe(of(s),u.program.getSemanticDiagnostics(u.sourceFile,u.cancellationToken));return ti(s.elements,f=>{var p;return f===t||((p=TSe(f,d))==null?void 0:p.code)===o4e[0]})}var o4e,s4e,ZKt=o({"src/services/codefixes/convertToTypeOnlyExport.ts"(){rr(),rs(),o4e=[F.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code],s4e="convertToTypeOnlyExport",Xo({errorCodes:o4e,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>aat(d,rat(u.span,u.sourceFile),u));if(s.length)return[Ro(s4e,s,F.Convert_to_type_only_export,s4e,F.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[s4e],getAllCodeActions:function(u){const s=new Map;return f0(u,o4e,(d,f)=>{const p=rat(f,u.sourceFile);p&&Ip(s,$s(p.parent.parent))&&aat(d,p,u)})}})}});function oat(t,u){const{parent:s}=Ca(t,u);return bf(s)||Sd(s)&&s.importClause?s:void 0}function sat(t,u,s){if(t.parent.parent.name)return!1;const d=t.parent.elements.filter(p=>!p.isTypeOnly);if(d.length===1)return!0;const f=s.getTypeChecker();for(const p of d)if(Z0.Core.eachSymbolReferenceInFile(p.name,f,u,v=>!Tv(v)))return!1;return!0}function vee(t,u,s){var d;if(bf(s))t.replaceNode(u,s,q.updateImportSpecifier(s,!0,s.propertyName,s.name));else{const f=s.importClause;if(f.name&&f.namedBindings)t.replaceNodeWithNodes(u,s,[q.createImportDeclaration(nb(s.modifiers,!0),q.createImportClause(!0,ll(f.name,!0),void 0),ll(s.moduleSpecifier,!0),ll(s.attributes,!0)),q.createImportDeclaration(nb(s.modifiers,!0),q.createImportClause(!0,void 0,ll(f.namedBindings,!0)),ll(s.moduleSpecifier,!0),ll(s.attributes,!0))]);else{const p=((d=f.namedBindings)==null?void 0:d.kind)===275?q.updateNamedImports(f.namedBindings,Lu(f.namedBindings.elements,v=>q.updateImportSpecifier(v,!1,v.propertyName,v.name))):f.namedBindings,E=q.updateImportDeclaration(s,s.modifiers,q.updateImportClause(f,!0,f.name,p),s.moduleSpecifier,s.attributes);t.replaceNode(u,s,E)}}}var TBe,Cee,YKt=o({"src/services/codefixes/convertToTypeOnlyImport.ts"(){rr(),rs(),TBe=[F.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code,F._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code],Cee="convertToTypeOnlyImport",Xo({errorCodes:TBe,getCodeActions:function(u){var s;const d=oat(u.sourceFile,u.span.start);if(d){const f=iu.ChangeTracker.with(u,v=>vee(v,u.sourceFile,d)),p=d.kind===276&&sat(d,u.sourceFile,u.program)?iu.ChangeTracker.with(u,v=>vee(v,u.sourceFile,d.parent.parent.parent)):void 0,E=Ro(Cee,f,d.kind===276?[F.Use_type_0,((s=d.propertyName)==null?void 0:s.text)??d.name.text]:F.Use_import_type,Cee,F.Fix_all_with_type_only_imports);return Oe(p)?[Cg(Cee,p,F.Use_import_type),E]:[E]}},fixIds:[Cee],getAllCodeActions:function(u){const s=new Set;return f0(u,TBe,(d,f)=>{const p=oat(f.file,f.start);(p==null?void 0:p.kind)===272&&!s.has(p)?(vee(d,f.file,p),s.add(p)):(p==null?void 0:p.kind)===276&&!s.has(p.parent.parent.parent)&&sat(p,f.file,u.program)?(vee(d,f.file,p.parent.parent.parent),s.add(p.parent.parent.parent)):(p==null?void 0:p.kind)===276&&vee(d,f.file,p)})}})}});function lat(t,u,s,d,f=!1){if(!PB(u))return;const p=XKt(u);if(!p)return;const E=u.parent,{leftSibling:v,rightSibling:b}=QKt(u);let B=E.getStart(),k="";!v&&E.comment&&(B=cat(E,E.getStart(),u.getStart()),k=`${d} */${d}`),v&&(f&&PB(v)?(B=u.getStart(),k=""):(B=cat(E,v.getStart(),u.getStart()),k=`${d} */${d}`));let T=E.getEnd(),M="";b&&(f&&PB(b)?(T=b.getStart(),M=`${d}${d}`):(T=b.getStart(),M=`${d}/**${d} * `)),t.replaceRange(s,{pos:B,end:T},p,{prefix:k,suffix:M})}function QKt(t){const u=t.parent,s=u.getChildCount()-1,d=u.getChildren().findIndex(E=>E.getStart()===t.getStart()&&E.getEnd()===t.getEnd()),f=d>0?u.getChildAt(d-1):void 0,p=d0;f--)if(!/[*/\s]/g.test(d.substring(f-1,f)))return u+f;return s}function XKt(t){var u;const{typeExpression:s}=t;if(!s)return;const d=(u=t.name)==null?void 0:u.getText();if(d){if(s.kind===329)return eWt(d,s);if(s.kind===316)return tWt(d,s)}}function eWt(t,u){const s=dat(u);if(Oe(s))return q.createInterfaceDeclaration(void 0,t,void 0,void 0,s)}function tWt(t,u){const s=ll(u.type);if(s)return q.createTypeAliasDeclaration(void 0,q.createIdentifier(t),void 0,s)}function dat(t){const u=t.jsDocPropertyTags;return Oe(u)?qi(u,d=>{var f;const p=iWt(d),E=(f=d.typeExpression)==null?void 0:f.type,v=d.isBracketed;let b;if(E&&K7(E)){const B=dat(E);b=q.createTypeLiteralNode(B)}else E&&(b=ll(E));if(b&&p){const B=v?q.createToken(58):void 0;return q.createPropertySignature(void 0,p,B,b)}}):void 0}function iWt(t){return t.name.kind===80?t.name.text:t.name.right.text}function nWt(t){return lm(t)?ju(t.jsDoc,u=>{var s;return(s=u.tags)==null?void 0:s.filter(d=>PB(d))}):[]}var l4e,LBe,uWt=o({"src/services/codefixes/convertTypedefToType.ts"(){rr(),rs(),l4e="convertTypedefToType",LBe=[F.JSDoc_typedef_may_be_converted_to_TypeScript_type.code],Xo({fixIds:[l4e],errorCodes:LBe,getCodeActions(t){const u=E5(t.host,t.formatContext.options),s=Ca(t.sourceFile,t.span.start);if(!s)return;const d=iu.ChangeTracker.with(t,f=>lat(f,s,t.sourceFile,u));if(d.length>0)return[Ro(l4e,d,F.Convert_typedef_to_TypeScript_type,l4e,F.Convert_all_typedef_to_TypeScript_types)]},getAllCodeActions:t=>f0(t,LBe,(u,s)=>{const d=E5(t.host,t.formatContext.options),f=Ca(s.file,s.start);f&&lat(u,f,s.file,d,!0)})})}});function hat(t,u){const s=Ca(t,u);if(at(s)){const d=Po(s.parent.parent,Mm),f=s.getText(t);return{container:Po(d.parent,fm),typeNode:d.type,constraint:f,name:f==="K"?"P":"K"}}}function fat(t,u,{container:s,typeNode:d,constraint:f,name:p}){t.replaceNode(u,s,q.createMappedTypeNode(void 0,q.createTypeParameterDeclaration(void 0,p,q.createTypeReferenceNode(f)),void 0,void 0,d,void 0))}var c4e,NBe,rWt=o({"src/services/codefixes/convertLiteralTypeToMappedType.ts"(){rr(),rs(),c4e="convertLiteralTypeToMappedType",NBe=[F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code],Xo({errorCodes:NBe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=hat(s,d.start);if(!f)return;const{name:p,constraint:E}=f,v=iu.ChangeTracker.with(u,b=>fat(b,s,f));return[Ro(c4e,v,[F.Convert_0_to_1_in_0,E,p],c4e,F.Convert_all_type_literals_to_mapped_type)]},fixIds:[c4e],getAllCodeActions:t=>f0(t,NBe,(u,s)=>{const d=hat(s.file,s.start);d&&fat(u,s.file,d)})})}});function mat(t,u){return H.checkDefined(Yd(Ca(t,u)),"There should be a containing class")}function pat(t){return!t.valueDeclaration||!(Eh(t.valueDeclaration)&2)}function gat(t,u,s,d,f,p){const E=t.program.getTypeChecker(),v=aWt(d,E),b=E.getTypeAtLocation(u),k=E.getPropertiesOfType(b).filter(Q$(pat,K=>!v.has(K.escapedName))),T=E.getTypeAtLocation(d),M=Le(d.members,K=>hc(K));T.getNumberIndexType()||j(b,1),T.getStringIndexType()||j(b,0);const z=l9(s,t.program,p,t.host);jwe(d,k,s,t,p,z,K=>J(s,d,K)),z.writeFixes(f);function j(K,Y){const oe=E.getIndexInfoOfType(K,Y);oe&&J(s,d,E.indexInfoToIndexSignatureDeclaration(oe,d,void 0,xw(t)))}function J(K,Y,oe){M?f.insertNodeAfter(K,M,oe):f.insertMemberAtStart(K,Y,oe)}}function aWt(t,u){const s=Qg(t);if(!s)return Vo();const d=u.getTypeAtLocation(s),f=u.getPropertiesOfType(d);return Vo(f.filter(pat))}var PBe,d4e,oWt=o({"src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts"(){rr(),rs(),PBe=[F.Class_0_incorrectly_implements_interface_1.code,F.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],d4e="fixClassIncorrectlyImplementsInterface",Xo({errorCodes:PBe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=mat(u,s.start);return qi(iB(d),f=>{const p=iu.ChangeTracker.with(t,E=>gat(t,f,u,d,E,t.preferences));return p.length===0?void 0:Ro(d4e,p,[F.Implement_interface_0,f.getText(u)],d4e,F.Implement_all_unimplemented_interfaces)})},fixIds:[d4e],getAllCodeActions(t){const u=new Map;return f0(t,PBe,(s,d)=>{const f=mat(d.file,d.start);if(Ip(u,$s(f)))for(const p of iB(f))gat(t,p,d.file,f,s,t.preferences)})}})}});function l9(t,u,s,d,f){return Eat(t,u,!1,s,d,f)}function Eat(t,u,s,d,f,p){const E=u.getCompilerOptions(),v=[],b=[],B=new Map,k=new Map;return{addImportFromDiagnostic:T,addImportFromExportedSymbol:M,writeFixes:j,hasFixes:J};function T(K,Y){const oe=bat(Y,K.code,K.start,s);!oe||!oe.length||z(Pn(oe))}function M(K,Y){const oe=H.checkDefined(K.parent),se=IX(K,Os(E)),ge=u.getTypeChecker(),ae=ge.getMergedSymbol(X1(K,ge)),Ce=xat(t,ae,se,oe,!1,u,f,d,p),ne=f4e(t,u),ve=_at(t,H.checkDefined(Ce),u,void 0,!!Y,ne,f,d);ve&&z({fix:ve,symbolName:se,errorIdentifierText:void 0})}function z(K){var Y,oe;const{fix:se,symbolName:ge}=K;switch(se.kind){case 0:v.push(se);break;case 1:b.push(se);break;case 2:{const{importClauseOrBindingPattern:ve,importKind:Se,addAsTypeOnly:Ne}=se,pe=String($s(ve));let fe=B.get(pe);if(fe||B.set(pe,fe={importClauseOrBindingPattern:ve,defaultImport:void 0,namedImports:new Map}),Se===0){const xe=fe==null?void 0:fe.namedImports.get(ge);fe.namedImports.set(ge,ae(xe,Ne))}else H.assert(fe.defaultImport===void 0||fe.defaultImport.name===ge,"(Add to Existing) Default import should be missing or match symbolName"),fe.defaultImport={name:ge,addAsTypeOnly:ae((Y=fe.defaultImport)==null?void 0:Y.addAsTypeOnly,Ne)};break}case 3:{const{moduleSpecifier:ve,importKind:Se,useRequire:Ne,addAsTypeOnly:pe}=se,fe=Ce(ve,Se,Ne,pe);switch(H.assert(fe.useRequire===Ne,"(Add new) Tried to add an `import` and a `require` for the same module"),Se){case 1:H.assert(fe.defaultImport===void 0||fe.defaultImport.name===ge,"(Add new) Default import should be missing or match symbolName"),fe.defaultImport={name:ge,addAsTypeOnly:ae((oe=fe.defaultImport)==null?void 0:oe.addAsTypeOnly,pe)};break;case 0:const xe=(fe.namedImports||(fe.namedImports=new Map)).get(ge);fe.namedImports.set(ge,ae(xe,pe));break;case 3:case 2:H.assert(fe.namespaceLikeImport===void 0||fe.namespaceLikeImport.name===ge,"Namespacelike import shoudl be missing or match symbolName"),fe.namespaceLikeImport={importKind:Se,name:ge,addAsTypeOnly:pe};break}break}case 4:break;default:H.assertNever(se,`fix wasn't never - got kind ${se.kind}`)}function ae(ve,Se){return Math.max(ve??0,Se)}function Ce(ve,Se,Ne,pe){const fe=ne(ve,!0),xe=ne(ve,!1),Be=k.get(fe),Ge=k.get(xe),Ae={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:Ne};return Se===1&&pe===2?Be||(k.set(fe,Ae),Ae):pe===1&&(Be||Ge)?Be||Ge:Ge||(k.set(xe,Ae),Ae)}function ne(ve,Se){return`${Se?1:0}|${ve}`}}function j(K,Y){let oe;t.imports.length===0&&Y!==void 0?oe=Y:oe=Hm(t,d);for(const ge of v)OBe(K,t,ge);for(const ge of b)wat(K,t,ge,oe);B.forEach(({importClauseOrBindingPattern:ge,defaultImport:ae,namedImports:Ce})=>{Bat(K,t,ge,ae,ga(Ce.entries(),([ne,ve])=>({addAsTypeOnly:ve,name:ne})),d)});let se;k.forEach(({useRequire:ge,defaultImport:ae,namedImports:Ce,namespaceLikeImport:ne},ve)=>{const Se=ve.slice(2),pe=(ge?Nat:Lat)(Se,oe,ae,Ce&&ga(Ce.entries(),([fe,xe])=>({addAsTypeOnly:xe,name:fe})),ne,E,d);se=vo(se,pe)}),se&&MM(K,t,se,!0,d)}function J(){return v.length>0||b.length>0||B.size>0||k.size>0}}function sWt(t,u,s,d){const f=HM(t,d,s),p=vat(u.getTypeChecker(),t,u.getCompilerOptions());return{getModuleSpecifierForBestExportInfo:E};function E(v,b,B,k){const{fixes:T,computedWithoutCacheCount:M}=h4e(v,b,B,!1,u,t,s,d,p,k),z=yat(T,t,u,f,s);return z&&{...z,computedWithoutCacheCount:M}}}function lWt(t,u,s,d,f,p,E,v,b,B,k,T){let M;s?(M=tK(d,E,v,k,T).get(d.path,s),H.assertIsDefined(M,"Some exportInfo should match the specified exportMapKey")):(M=kse($4(u.name))?[dWt(t,f,u,v,E)]:xat(d,t,f,u,p,v,E,k,T),H.assertIsDefined(M,"Some exportInfo should match the specified symbol / moduleSymbol"));const z=f4e(d,v),j=Tv(Ca(d,B)),J=H.checkDefined(_at(d,M,v,B,j,z,E,k));return{moduleSpecifier:J.moduleSpecifier,codeAction:Dat(RBe({host:E,formatContext:b,preferences:k},d,f,J,!1,v,k))}}function cWt(t,u,s,d,f,p){const E=s.getCompilerOptions(),v=bd(IBe(t,s.getTypeChecker(),u,E)),b=Aat(t,u,v,s),B=v!==u.text;return b&&Dat(RBe({host:d,formatContext:f,preferences:p},t,v,b,B,s,p))}function _at(t,u,s,d,f,p,E,v){const b=HM(t,v,E);return yat(h4e(u,d,f,p,s,t,E,v).fixes,t,s,b,E)}function Dat({description:t,changes:u,commands:s}){return{description:t,changes:u,commands:s}}function xat(t,u,s,d,f,p,E,v,b){const B=Cat(p,E);return tK(t,E,p,v,b).search(t.path,f,k=>k===s,k=>{if(X1(k[0].symbol,B(k[0].isFromPackageJson))===u&&k.some(T=>T.moduleSymbol===d||T.symbol.parent===d))return k})}function dWt(t,u,s,d,f){var p,E;const v=d.getCompilerOptions(),b=k(d.getTypeChecker(),!1);if(b)return b;const B=(E=(p=f.getPackageJsonAutoImportProvider)==null?void 0:p.call(f))==null?void 0:E.getTypeChecker();return H.checkDefined(B&&k(B,!0),"Could not find symbol in specified module for code actions");function k(T,M){const z=WX(s,T,v);if(z&&X1(z.symbol,T)===t)return{symbol:z.symbol,moduleSymbol:s,moduleFileName:void 0,exportKind:z.exportKind,targetFlags:X1(t,T).flags,isFromPackageJson:M};const j=T.tryGetMemberInModuleExportsAndProperties(u,s);if(j&&X1(j,T)===t)return{symbol:j,moduleSymbol:s,moduleFileName:void 0,exportKind:0,targetFlags:X1(t,T).flags,isFromPackageJson:M}}}function h4e(t,u,s,d,f,p,E,v,b=vat(f.getTypeChecker(),p,f.getCompilerOptions()),B){const k=f.getTypeChecker(),T=ju(t,b.getImportsForExportInfo),M=u!==void 0&&hWt(T,u),z=mWt(T,s,k,f.getCompilerOptions());if(z)return{computedWithoutCacheCount:0,fixes:[...M?[M]:_t,z]};const{fixes:j,computedWithoutCacheCount:J=0}=gWt(t,T,f,p,u,s,d,E,v,B);return{computedWithoutCacheCount:J,fixes:[...M?[M]:_t,...j]}}function hWt(t,u){return G(t,({declaration:s,importKind:d})=>{var f;if(d!==0)return;const p=fWt(s),E=p&&((f=Z8(s))==null?void 0:f.text);if(E)return{kind:0,namespacePrefix:p,usagePosition:u,moduleSpecifier:E}})}function fWt(t){var u,s,d;switch(t.kind){case 260:return(u=ur(t.name,at))==null?void 0:u.text;case 271:return t.name.text;case 272:return(d=ur((s=t.importClause)==null?void 0:s.namedBindings,Jx))==null?void 0:d.name.text;default:return H.assertNever(t)}}function MBe(t,u,s,d,f,p){return t?u&&p.importsNotUsedAsValues===2||xle(p)&&(!(d&111551)||f.getTypeOnlyAliasDeclaration(s))?2:1:4}function mWt(t,u,s,d){let f;for(const E of t){const v=p(E);if(!v)continue;const b=RU(v.importClauseOrBindingPattern);if(v.addAsTypeOnly!==4&&b||v.addAsTypeOnly===4&&!b)return v;f??(f=v)}return f;function p({declaration:E,importKind:v,symbol:b,targetFlags:B}){if(v===3||v===2||E.kind===271)return;if(E.kind===260)return(v===0||v===1)&&E.name.kind===206?{kind:2,importClauseOrBindingPattern:E.name,importKind:v,moduleSpecifier:E.initializer.arguments[0].text,addAsTypeOnly:4}:void 0;const{importClause:k}=E;if(!k||!t0(E.moduleSpecifier))return;const{name:T,namedBindings:M}=k;if(k.isTypeOnly&&!(v===0&&M))return;const z=MBe(u,!1,b,B,s,d);if(!(v===1&&(T||z===2&&M))&&!(v===0&&(M==null?void 0:M.kind)===274))return{kind:2,importClauseOrBindingPattern:k,importKind:v,moduleSpecifier:E.moduleSpecifier.text,addAsTypeOnly:z}}}function vat(t,u,s){let d;for(const f of u.imports){const p=tP(f);if(vq(p.parent)){const E=t.resolveExternalModuleName(f);E&&(d||(d=wm())).add(Zo(E),p.parent)}else if(p.kind===272||p.kind===271){const E=t.getSymbolAtLocation(f);E&&(d||(d=wm())).add(Zo(E),p)}}return{getImportsForExportInfo:({moduleSymbol:f,exportKind:p,targetFlags:E,symbol:v})=>{if(!(E&111551)&&gh(u))return _t;const b=d==null?void 0:d.get(Zo(f));if(!b)return _t;const B=zBe(u,p,s);return b.map(k=>({declaration:k,importKind:B,symbol:v,targetFlags:E}))}}}function f4e(t,u){if(!gh(t))return!1;if(t.commonJsModuleIndicator&&!t.externalModuleIndicator)return!0;if(t.externalModuleIndicator&&!t.commonJsModuleIndicator)return!1;const s=u.getCompilerOptions();if(s.configFile)return m1(s)<5;if(t.impliedNodeFormat===1)return!0;if(t.impliedNodeFormat===99)return!1;for(const d of u.getSourceFiles())if(!(d===t||!gh(d)||u.isSourceFileFromExternalLibrary(d))){if(d.commonJsModuleIndicator&&!d.externalModuleIndicator)return!0;if(d.externalModuleIndicator&&!d.commonJsModuleIndicator)return!1}return!0}function Cat(t,u){return HE(s=>s?u.getPackageJsonAutoImportProvider().getTypeChecker():t.getTypeChecker())}function pWt(t,u,s,d,f,p,E,v,b){const B=gh(u),k=t.getCompilerOptions(),T=Ik(t,E),M=Cat(t,E),z=p1(k),j=_X(z),J=b?oe=>({moduleSpecifiers:Z2.tryGetModuleSpecifiersFromCache(oe,u,T,v),computedWithoutCache:!1}):(oe,se)=>Z2.getModuleSpecifiersWithCacheInfo(oe,se,k,u,T,v,void 0,!0);let K=0;const Y=ju(p,(oe,se)=>{const ge=M(oe.isFromPackageJson),{computedWithoutCache:ae,moduleSpecifiers:Ce}=J(oe.moduleSymbol,ge),ne=!!(oe.targetFlags&111551),ve=MBe(d,!0,oe.symbol,oe.targetFlags,ge,k);return K+=ae?1:0,qi(Ce,Se=>{var Ne;if(j&&q7(Se))return;if(!ne&&B&&s!==void 0)return{kind:1,moduleSpecifier:Se,usagePosition:s,exportInfo:oe,isReExport:se>0};const pe=zBe(u,oe.exportKind,k);let fe;if(s!==void 0&&pe===3&&oe.exportKind===0){const xe=ge.resolveExternalModuleSymbol(oe.moduleSymbol);let Be;xe!==oe.moduleSymbol&&(Be=(Ne=GX(xe,ge,k))==null?void 0:Ne.name),Be||(Be=VBe(oe.moduleSymbol,Os(k),!1)),fe={namespacePrefix:Be,usagePosition:s}}return{kind:3,moduleSpecifier:Se,importKind:pe,useRequire:f,addAsTypeOnly:ve,exportInfo:oe,isReExport:se>0,qualification:fe}})});return{computedWithoutCacheCount:K,fixes:Y}}function gWt(t,u,s,d,f,p,E,v,b,B){const k=G(u,T=>EWt(T,p,E,s.getTypeChecker(),s.getCompilerOptions()));return k?{fixes:[k]}:pWt(s,d,f,p,E,t,v,b,B)}function EWt({declaration:t,importKind:u,symbol:s,targetFlags:d},f,p,E,v){var b;const B=(b=Z8(t))==null?void 0:b.text;if(B){const k=p?4:MBe(f,!0,s,d,E,v);return{kind:3,moduleSpecifier:B,importKind:u,addAsTypeOnly:k,useRequire:p}}}function bat(t,u,s,d){const f=Ca(t.sourceFile,s);let p;if(u===F._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)p=vWt(t,f);else if(at(f))if(u===F._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){const v=bd(IBe(t.sourceFile,t.program.getTypeChecker(),f,t.program.getCompilerOptions())),b=Aat(t.sourceFile,f,v,t.program);return b&&[{fix:b,symbolName:v,errorIdentifierText:f.text}]}else p=yWt(t,f,d);else return;const E=HM(t.sourceFile,t.preferences,t.host);return p&&_Wt(p,t.sourceFile,t.program,E,t.host)}function _Wt(t,u,s,d,f){const p=E=>J0(E,f.getCurrentDirectory(),n5(f));return Ph(t,(E,v)=>d2(!!E.isJsxNamespaceFix,!!v.isJsxNamespaceFix)||nl(E.fix.kind,v.fix.kind)||kat(E.fix,v.fix,u,s,d.allowsImportingSpecifier,p))}function yat(t,u,s,d,f){if(Oe(t))return t[0].kind===0||t[0].kind===2?t[0]:t.reduce((p,E)=>kat(E,p,u,s,d.allowsImportingSpecifier,v=>J0(v,f.getCurrentDirectory(),n5(f)))===-1?E:p)}function kat(t,u,s,d,f,p){return t.kind!==0&&u.kind!==0?d2(f(u.moduleSpecifier),f(t.moduleSpecifier))||xWt(t.moduleSpecifier,u.moduleSpecifier,s,d)||d2(Fat(t,s,d.getCompilerOptions(),p),Fat(u,s,d.getCompilerOptions(),p))||iV(t.moduleSpecifier,u.moduleSpecifier):0}function Fat(t,u,s,d){var f;if(t.isReExport&&((f=t.exportInfo)!=null&&f.moduleFileName)&&p1(s)===2&&DWt(t.exportInfo.moduleFileName)){const p=d(lr(t.exportInfo.moduleFileName));return Pa(u.path,p)}return!1}function DWt(t){return Ac(t,[".js",".jsx",".d.ts",".ts",".tsx"],!0)==="index"}function xWt(t,u,s,d){return Pa(t,"node:")&&!Pa(u,"node:")?OX(s,d)?-1:1:Pa(u,"node:")&&!Pa(t,"node:")?OX(s,d)?1:-1:0}function vWt({sourceFile:t,program:u,host:s,preferences:d},f){const p=u.getTypeChecker(),E=CWt(f,p);if(!E)return;const v=p.getAliasedSymbol(E),b=E.name,B=[{symbol:E,moduleSymbol:v,moduleFileName:void 0,exportKind:3,targetFlags:v.flags,isFromPackageJson:!1}],k=f4e(t,u);return h4e(B,void 0,!1,k,u,t,s,d).fixes.map(M=>{var z;return{fix:M,symbolName:b,errorIdentifierText:(z=ur(f,at))==null?void 0:z.text}})}function CWt(t,u){const s=at(t)?u.getSymbolAtLocation(t):void 0;if($q(s))return s;const{parent:d}=t;if(zh(d)&&d.tagName===t||V7(d)){const f=u.resolveName(u.getJsxNamespace(d),zh(d)?t:d,111551,!1);if($q(f))return f}}function zBe(t,u,s,d){if(s.verbatimModuleSyntax&&(m1(s)===1||t.impliedNodeFormat===1))return 3;switch(u){case 0:return 0;case 1:return 1;case 2:return AWt(t,s,!!d);case 3:return bWt(t,s,!!d);default:return H.assertNever(u)}}function bWt(t,u,s){if(C7(u))return 1;const d=m1(u);switch(d){case 2:case 1:case 3:return Qn(t)&&(wc(t)||s)?2:3;case 4:case 5:case 6:case 7:case 99:case 0:return 2;case 100:case 199:return t.impliedNodeFormat===99?2:3;default:return H.assertNever(d,`Unexpected moduleKind ${d}`)}}function yWt({sourceFile:t,program:u,cancellationToken:s,host:d,preferences:f},p,E){const v=u.getTypeChecker(),b=u.getCompilerOptions();return ju(IBe(t,v,p,b),B=>{if(B==="default")return;const k=Tv(p),T=f4e(t,u),M=FWt(B,$8(p),Pk(p),s,t,u,E,d,f);return ga(pa(M.values(),z=>h4e(z,p.getStart(t),k,T,u,t,d,f).fixes),z=>({fix:z,symbolName:B,errorIdentifierText:p.text,isJsxNamespaceFix:B!==p.text}))})}function Aat(t,u,s,d){const f=d.getTypeChecker(),p=f.resolveName(s,u,111551,!0);if(!p)return;const E=f.getTypeOnlyAliasDeclaration(p);if(!(!E||zn(E)!==t))return{kind:4,typeOnlyAliasDeclaration:E}}function IBe(t,u,s,d){const f=s.parent;if((zh(f)||H2(f))&&f.tagName===s&&Sfe(d.jsx)){const p=u.getJsxNamespace(t);if(kWt(p,s,u))return!aB(s.text)&&!u.resolveName(s.text,s,111551,!1)?[s.text,p]:[p]}return[s.text]}function kWt(t,u,s){if(aB(u.text))return!0;const d=s.resolveName(t,u,111551,!0);return!d||Oe(d.declarations,_2)&&!(d.flags&111551)}function FWt(t,u,s,d,f,p,E,v,b){var B;const k=wm(),T=HM(f,b,v),M=(B=v.getModuleSpecifierCache)==null?void 0:B.call(v),z=HE(J=>Ik(J?v.getPackageJsonAutoImportProvider():p,v));function j(J,K,Y,oe,se,ge){const ae=z(ge);if(K&&Mfe(se,f,K,b,T,ae,M)||!K&&T.allowsImportingAmbientModule(J,ae)){const Ce=se.getTypeChecker();k.add(CSe(Y,Ce).toString(),{symbol:Y,moduleSymbol:J,moduleFileName:K==null?void 0:K.fileName,exportKind:oe,targetFlags:X1(Y,Ce).flags,isFromPackageJson:ge})}}return zfe(p,v,b,E,(J,K,Y,oe)=>{const se=Y.getTypeChecker();d.throwIfCancellationRequested();const ge=Y.getCompilerOptions(),ae=WX(J,se,ge);ae&&(ae.name===t||VBe(J,Os(ge),u)===t)&&Mat(ae.resolvedSymbol,s)&&j(J,K,ae.symbol,ae.exportKind,Y,oe);const Ce=se.tryGetMemberInModuleExportsAndProperties(t,J);Ce&&Mat(Ce,s)&&j(J,K,Ce,0,Y,oe)}),k}function AWt(t,u,s){const d=C7(u),f=Qn(t);if(!f&&m1(u)>=5)return d?1:2;if(f)return wc(t)||s?d?1:2:3;for(const p of t.statements)if(E1(p)&&!Ql(p.moduleReference))return 3;return d?1:3}function RBe(t,u,s,d,f,p,E){let v;const b=iu.ChangeTracker.with(t,B=>{v=SWt(B,u,s,d,f,p,E)});return Ro(KBe,b,v,WBe,F.Add_all_missing_imports)}function SWt(t,u,s,d,f,p,E){const v=Hm(u,E);switch(d.kind){case 0:return OBe(t,u,d),[F.Change_0_to_1,s,`${d.namespacePrefix}.${s}`];case 1:return wat(t,u,d,v),[F.Change_0_to_1,s,Tat(d.moduleSpecifier,v)+s];case 2:{const{importClauseOrBindingPattern:b,importKind:B,addAsTypeOnly:k,moduleSpecifier:T}=d;Bat(t,u,b,B===1?{name:s,addAsTypeOnly:k}:void 0,B===0?[{name:s,addAsTypeOnly:k}]:_t,E);const M=$4(T);return f?[F.Import_0_from_1,s,M]:[F.Update_import_from_0,M]}case 3:{const{importKind:b,moduleSpecifier:B,addAsTypeOnly:k,useRequire:T,qualification:M}=d,z=T?Nat:Lat,j=b===1?{name:s,addAsTypeOnly:k}:void 0,J=b===0?[{name:s,addAsTypeOnly:k}]:void 0,K=b===2||b===3?{importKind:b,name:(M==null?void 0:M.namespacePrefix)||s,addAsTypeOnly:k}:void 0;return MM(t,u,z(B,v,j,J,K,p.getCompilerOptions(),E),!0,E),M&&OBe(t,u,M),f?[F.Import_0_from_1,s,B]:[F.Add_import_from_0,B]}case 4:{const{typeOnlyAliasDeclaration:b}=d,B=BWt(t,b,p,u,E);return B.kind===276?[F.Remove_type_from_import_of_0_from_1,s,Sat(B.parent.parent)]:[F.Remove_type_from_import_declaration_from_0,Sat(B)]}default:return H.assertNever(d,`Unexpected fix kind ${d.kind}`)}}function Sat(t){var u,s;return t.kind===271?((s=ur((u=ur(t.moduleReference,r_))==null?void 0:u.expression,t0))==null?void 0:s.text)||t.moduleReference.getText():Po(t.parent.moduleSpecifier,us).text}function BWt(t,u,s,d,f){const p=s.getCompilerOptions(),E=xle(p);switch(u.kind){case 276:if(u.isTypeOnly){const b=Gp.detectImportSpecifierSorting(u.parent.elements,f);if(u.parent.elements.length>1&&b){const B=q.updateImportSpecifier(u,!1,u.propertyName,u.name),k=Gp.getOrganizeImportsComparer(f,b===2),T=Gp.getImportSpecifierInsertionIndex(u.parent.elements,B,k);if(u.parent.elements.indexOf(u)!==T)return t.delete(d,u),t.insertImportSpecifierAtIndex(d,B,u.parent,T),u}return t.deleteRange(d,u.getFirstToken()),u}else return H.assert(u.parent.parent.isTypeOnly),v(u.parent.parent),u.parent.parent;case 273:return v(u),u;case 274:return v(u.parent),u.parent;case 271:return t.deleteRange(d,u.getChildAt(1)),u;default:H.failBadSyntaxKind(u)}function v(b){var B;if(t.delete(d,sfe(b,d)),!p.allowImportingTsExtensions){const k=Z8(b.parent),T=k&&((B=s.getResolvedModule(d,k.text,xg(d,k)))==null?void 0:B.resolvedModule);if(T!=null&&T.resolvedUsingTsExtension){const M=AO(k.text,pQ(k.text,p));t.replaceNode(d,k,q.createStringLiteral(M))}}if(E){const k=ur(b.namedBindings,uD);if(k&&k.elements.length>1){Gp.detectImportSpecifierSorting(k.elements,f)&&u.kind===276&&k.elements.indexOf(u)!==0&&(t.delete(d,u),t.insertImportSpecifierAtIndex(d,u,k,0));for(const T of k.elements)T!==u&&!T.isTypeOnly&&t.insertModifierBefore(d,156,T)}}}}function Bat(t,u,s,d,f,p){var E;if(s.kind===206){d&&B(s,d.name,"default");for(const k of f)B(s,k.name,void 0);return}const v=s.isTypeOnly&&Oe([d,...f],k=>(k==null?void 0:k.addAsTypeOnly)===4),b=s.namedBindings&&((E=ur(s.namedBindings,uD))==null?void 0:E.elements);if(d&&(H.assert(!s.name,"Cannot add a default import to an import clause that already has one"),t.insertNodeAt(u,s.getStart(u),q.createIdentifier(d.name),{suffix:", "})),f.length){let k;if(typeof p.organizeImportsIgnoreCase=="boolean")k=p.organizeImportsIgnoreCase;else if(b){const j=Gp.detectImportSpecifierSorting(b,p);j!==3&&(k=j===2)}k===void 0&&(k=Gp.detectSorting(u,p)===2);const T=Gp.getOrganizeImportsComparer(p,k),M=oc(f.map(j=>q.createImportSpecifier((!s.isTypeOnly||v)&&m4e(j,p),void 0,q.createIdentifier(j.name))),(j,J)=>Gp.compareImportOrExportSpecifiers(j,J,T)),z=(b==null?void 0:b.length)&&Gp.detectImportSpecifierSorting(b,p);if(z&&!(k&&z===1))for(const j of M){const J=v&&!j.isTypeOnly?0:Gp.getImportSpecifierInsertionIndex(b,j,T);t.insertImportSpecifierAtIndex(u,j,s.namedBindings,J)}else if(b!=null&&b.length)for(const j of M)t.insertNodeInListAfter(u,Cr(b),j,b);else if(M.length){const j=q.createNamedImports(M);s.namedBindings?t.replaceNode(u,s.namedBindings,j):t.insertNodeAfter(u,H.checkDefined(s.name,"Import clause must have either named imports or a default import"),j)}}if(v&&(t.delete(u,sfe(s,u)),b))for(const k of b)t.insertModifierBefore(u,156,k);function B(k,T,M){const z=q.createBindingElement(void 0,M,T);k.elements.length?t.insertNodeInListAfter(u,Cr(k.elements),z):t.replaceNode(u,k,q.createObjectBindingPattern([z]))}}function OBe(t,u,{namespacePrefix:s,usagePosition:d}){t.insertText(u,d,s+".")}function wat(t,u,{moduleSpecifier:s,usagePosition:d},f){t.insertText(u,d,Tat(s,f))}function Tat(t,u){const s=ofe(u);return`import(${s}${t}${s}).`}function jBe({addAsTypeOnly:t}){return t===2}function m4e(t,u){return jBe(t)||!!u.preferTypeOnlyAutoImports&&t.addAsTypeOnly!==4}function Lat(t,u,s,d,f,p,E){const v=n9(t,u);let b;if(s!==void 0||d!=null&&d.length){const B=(!s||jBe(s))&&ye(d,jBe)||(p.verbatimModuleSyntax||E.preferTypeOnlyAutoImports)&&(s==null?void 0:s.addAsTypeOnly)!==4&&!Oe(d,k=>k.addAsTypeOnly===4);b=vo(b,g5(s&&q.createIdentifier(s.name),d==null?void 0:d.map(k=>q.createImportSpecifier(!B&&m4e(k,E),void 0,q.createIdentifier(k.name))),t,u,B))}if(f){const B=f.importKind===3?q.createImportEqualsDeclaration(void 0,m4e(f,E),q.createIdentifier(f.name),q.createExternalModuleReference(v)):q.createImportDeclaration(void 0,q.createImportClause(m4e(f,E),void 0,q.createNamespaceImport(q.createIdentifier(f.name))),v,void 0);b=vo(b,B)}return H.checkDefined(b)}function Nat(t,u,s,d,f){const p=n9(t,u);let E;if(s||d!=null&&d.length){const v=(d==null?void 0:d.map(({name:B})=>q.createBindingElement(void 0,void 0,B)))||[];s&&v.unshift(q.createBindingElement(void 0,"default",s.name));const b=Pat(q.createObjectBindingPattern(v),p);E=vo(E,b)}if(f){const v=Pat(f.name,p);E=vo(E,v)}return H.checkDefined(E)}function Pat(t,u){return q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(typeof t=="string"?q.createIdentifier(t):t,void 0,void 0,q.createCallExpression(q.createIdentifier("require"),void 0,[u]))],2))}function Mat({declarations:t},u){return Oe(t,s=>!!(TH(s)&u))}function VBe(t,u,s){return HBe(_h($4(t.name)),u,s)}function HBe(t,u,s){const d=Ac(D8(t,"/index"));let f="",p=!0;const E=d.charCodeAt(0);G_(E,u)?(f+=String.fromCharCode(E),s&&(f=f.toUpperCase())):p=!1;for(let v=1;vRBe(t,d,b,v,b!==B,p,s))},fixIds:[WBe],getAllCodeActions:t=>{const{sourceFile:u,program:s,preferences:d,host:f,cancellationToken:p}=t,E=Eat(u,s,!0,d,f,p);return _w(t,GBe,v=>E.addImportFromDiagnostic(v,t)),Ew(iu.ChangeTracker.with(t,E.writeFixes))}})}});function zat(t,u,s){const d=Le(t.getSemanticDiagnostics(u),E=>E.start===s.start&&E.length===s.length);if(d===void 0||d.relatedInformation===void 0)return;const f=Le(d.relatedInformation,E=>E.code===F.This_type_parameter_might_need_an_extends_0_constraint.code);if(f===void 0||f.file===void 0||f.start===void 0||f.length===void 0)return;let p=$we(f.file,d1(f.start,f.length));if(p!==void 0&&(at(p)&&Bl(p.parent)&&(p=p.parent),Bl(p))){if(JP(p.parent))return;const E=Ca(u,s.start),v=t.getTypeChecker();return{constraint:LWt(v,E)||TWt(f.messageText),declaration:p,token:E}}}function Iat(t,u,s,d,f,p){const{declaration:E,constraint:v}=p,b=u.getTypeChecker();if(Ja(v))t.insertText(f,E.name.end,` extends ${v}`);else{const B=Os(u.getCompilerOptions()),k=xw({program:u,host:d}),T=l9(f,u,s,d),M=Y4e(b,T,v,void 0,B,void 0,k);M&&(t.replaceNode(f,E,q.updateTypeParameterDeclaration(E,void 0,E.name,M,E.default)),T.writeFixes(t))}}function TWt(t){const[u,s]=lE(t,` -`,0).match(/`extends (.*)`/)||[];return s}function LWt(t,u){return Qr(u.parent)?t.getTypeArgumentConstraint(u.parent):(Wt(u)?t.getContextualType(u):void 0)||t.getTypeAtLocation(u)}var p4e,JBe,NWt=o({"src/services/codefixes/fixAddMissingConstraint.ts"(){rr(),rs(),p4e="addMissingConstraint",JBe=[F.Type_0_is_not_comparable_to_type_1.code,F.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,F.Type_0_is_not_assignable_to_type_1.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,F.Property_0_is_incompatible_with_index_signature.code,F.Property_0_in_type_1_is_not_assignable_to_type_2.code,F.Type_0_does_not_satisfy_the_constraint_1.code],Xo({errorCodes:JBe,getCodeActions(t){const{sourceFile:u,span:s,program:d,preferences:f,host:p}=t,E=zat(d,u,s);if(E===void 0)return;const v=iu.ChangeTracker.with(t,b=>Iat(b,d,f,p,u,E));return[Ro(p4e,v,F.Add_extends_constraint,p4e,F.Add_extends_constraint_to_all_type_parameters)]},fixIds:[p4e],getAllCodeActions:t=>{const{program:u,preferences:s,host:d}=t,f=new Map;return Ew(iu.ChangeTracker.with(t,p=>{_w(t,JBe,E=>{const v=zat(u,E.file,d1(E.start,E.length));if(v&&Ip(f,$s(v.declaration)))return Iat(p,u,s,d,E.file,v)})}))}})}});function Rat(t,u,s,d){switch(s){case F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:case F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:case F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:return PWt(t,u.sourceFile,d);case F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:case F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:case F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:return MWt(t,u.sourceFile,d);default:H.fail("Unexpected error code: "+s)}}function PWt(t,u,s){const d=jat(u,s);if(gh(u)){t.addJSDocTags(u,d,[q.createJSDocOverrideTag(q.createIdentifier("override"))]);return}const f=d.modifiers||_t,p=Le(f,N7),E=Le(f,tFe),v=Le(f,T=>Yhe(T.kind)),b=lt(f,g1),B=E?E.end:p?p.end:v?v.end:b?gs(u.text,b.end):d.getStart(u),k=v||p||E?{prefix:" "}:{suffix:" "};t.insertModifierAt(u,B,164,k)}function MWt(t,u,s){const d=jat(u,s);if(gh(u)){t.filterJSDocTags(u,d,X$(gY));return}const f=Le(d.modifiers,iFe);H.assertIsDefined(f),t.deleteModifier(u,f)}function Oat(t){switch(t.kind){case 176:case 172:case 174:case 177:case 178:return!0;case 169:return Mf(t,t.parent);default:return!1}}function jat(t,u){const s=Ca(t,u),d=Tn(s,f=>mr(f)?"quit":Oat(f));return H.assert(d&&Oat(d)),d}var $Be,qM,bK,UBe,qBe,zWt=o({"src/services/codefixes/fixOverrideModifier.ts"(){rr(),rs(),$Be="fixOverrideModifier",qM="fixAddOverrideModifier",bK="fixRemoveOverrideModifier",UBe=[F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code],qBe={[F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:qM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:qM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:F.Remove_override_modifier,fixId:bK,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers},[F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:F.Remove_override_modifier,fixId:bK,fixAllDescriptions:F.Remove_override_modifier},[F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:qM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:qM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:qM,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers},[F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:F.Remove_override_modifier,fixId:bK,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers},[F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:F.Remove_override_modifier,fixId:bK,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers}},Xo({errorCodes:UBe,getCodeActions:function(u){const{errorCode:s,span:d}=u,f=qBe[s];if(!f)return _t;const{descriptions:p,fixId:E,fixAllDescriptions:v}=f,b=iu.ChangeTracker.with(u,B=>Rat(B,u,s,d.start));return[oBe($Be,b,p,E,v)]},fixIds:[$Be,qM,bK],getAllCodeActions:t=>f0(t,UBe,(u,s)=>{const{code:d,start:f}=s,p=qBe[d];!p||p.fixId!==t.fixId||Rat(u,t,d,f)})})}});function Vat(t,u,s,d){const f=Hm(u,d),p=q.createStringLiteral(s.name.text,f===0);t.replaceNode(u,s,PU(s)?q.createElementAccessChain(s.expression,s.questionDotToken,p):q.createElementAccessExpression(s.expression,p))}function Hat(t,u){return Po(Ca(t,u).parent,Iu)}var g4e,ZBe,IWt=o({"src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts"(){rr(),rs(),g4e="fixNoPropertyAccessFromIndexSignature",ZBe=[F.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code],Xo({errorCodes:ZBe,fixIds:[g4e],getCodeActions(t){const{sourceFile:u,span:s,preferences:d}=t,f=Hat(u,s.start),p=iu.ChangeTracker.with(t,E=>Vat(E,t.sourceFile,f,d));return[Ro(g4e,p,[F.Use_element_access_for_0,f.name.text],g4e,F.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:t=>f0(t,ZBe,(u,s)=>Vat(u,s.file,Hat(s.file,s.start),t.preferences))})}});function Kat(t,u,s,d){const f=Ca(u,s);if(!rw(f))return;const p=tf(f,!1,!1);if(!(!ed(p)&&!A0(p))&&!la(tf(p,!1,!1))){const E=H.checkDefined(a0(p,100,u)),{name:v}=p,b=H.checkDefined(p.body);return A0(p)?v&&Z0.Core.isSymbolReferencedInFile(v,d,u,b)?void 0:(t.delete(u,E),v&&t.delete(u,v),t.insertText(u,b.pos," =>"),[F.Convert_function_expression_0_to_arrow_function,v?v.text:KX]):(t.replaceNode(u,E,q.createToken(87)),t.insertText(u,v.end," = "),t.insertText(u,b.pos," =>"),[F.Convert_function_declaration_0_to_arrow_function,v.text])}}var E4e,YBe,RWt=o({"src/services/codefixes/fixImplicitThis.ts"(){rr(),rs(),E4e="fixImplicitThis",YBe=[F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],Xo({errorCodes:YBe,getCodeActions:function(u){const{sourceFile:s,program:d,span:f}=u;let p;const E=iu.ChangeTracker.with(u,v=>{p=Kat(v,s,f.start,d.getTypeChecker())});return p?[Ro(E4e,E,p,E4e,F.Fix_all_implicit_this_errors)]:_t},fixIds:[E4e],getAllCodeActions:t=>f0(t,YBe,(u,s)=>{Kat(u,s.file,s.start,t.program.getTypeChecker())})})}});function Wat(t,u,s){var d,f;const p=Ca(t,u);if(at(p)){const E=Tn(p,Sd);if(E===void 0)return;const v=us(E.moduleSpecifier)?E.moduleSpecifier.text:void 0;if(v===void 0)return;const b=(d=s.getResolvedModule(t,v,void 0))==null?void 0:d.resolvedModule;if(b===void 0)return;const B=s.getSourceFile(b.resolvedFileName);if(B===void 0||KM(s,B))return;const k=B.symbol,T=(f=ur(k.valueDeclaration,UE))==null?void 0:f.locals;if(T===void 0)return;const M=T.get(p.escapedText);if(M===void 0)return;const z=jWt(M);return z===void 0?void 0:{exportName:{node:p,isTypeOnly:gB(z)},node:z,moduleSourceFile:B,moduleSpecifier:v}}}function OWt(t,u,{exportName:s,node:d,moduleSourceFile:f}){const p=_4e(f,s.isTypeOnly);p?Gat(t,u,f,p,[s]):rV(d)?t.insertExportModifier(f,d):Jat(t,u,f,[s])}function QBe(t,u,s,d,f){S(d)&&(f?Gat(t,u,s,f,d):Jat(t,u,s,d))}function _4e(t,u){const s=d=>Gc(d)&&(u&&d.isTypeOnly||!d.isTypeOnly);return lt(t.statements,s)}function Gat(t,u,s,d,f){const p=d.exportClause&&ep(d.exportClause)?d.exportClause.elements:q.createNodeArray([]),E=!d.isTypeOnly&&!!(mg(u.getCompilerOptions())||Le(p,v=>v.isTypeOnly));t.replaceNode(s,d,q.updateExportDeclaration(d,d.modifiers,d.isTypeOnly,q.createNamedExports(q.createNodeArray([...p,...$at(f,E)],p.hasTrailingComma)),d.moduleSpecifier,d.attributes))}function Jat(t,u,s,d){t.insertNodeAtEndOfScope(s,s,q.createExportDeclaration(void 0,!1,q.createNamedExports($at(d,mg(u.getCompilerOptions()))),void 0,void 0))}function $at(t,u){return q.createNodeArray(Vt(t,s=>q.createExportSpecifier(u&&s.isTypeOnly,void 0,s.node)))}function jWt(t){if(t.valueDeclaration===void 0)return Ki(t.declarations);const u=t.valueDeclaration,s=na(u)?ur(u.parent.parent,Jl):void 0;return s&&S(s.declarationList.declarations)===1?s:u}var D4e,XBe,VWt=o({"src/services/codefixes/fixImportNonExportedMember.ts"(){rr(),rs(),D4e="fixImportNonExportedMember",XBe=[F.Module_0_declares_1_locally_but_it_is_not_exported.code],Xo({errorCodes:XBe,fixIds:[D4e],getCodeActions(t){const{sourceFile:u,span:s,program:d}=t,f=Wat(u,s.start,d);if(f===void 0)return;const p=iu.ChangeTracker.with(t,E=>OWt(E,d,f));return[Ro(D4e,p,[F.Export_0_from_module_1,f.exportName.node.text,f.moduleSpecifier],D4e,F.Export_all_referenced_locals)]},getAllCodeActions(t){const{program:u}=t;return Ew(iu.ChangeTracker.with(t,s=>{const d=new Map;_w(t,XBe,f=>{const p=Wat(f.file,f.start,u);if(p===void 0)return;const{exportName:E,node:v,moduleSourceFile:b}=p;if(_4e(b,E.isTypeOnly)===void 0&&rV(v))s.insertExportModifier(b,v);else{const B=d.get(b)||{typeOnlyExports:[],exports:[]};E.isTypeOnly?B.typeOnlyExports.push(E):B.exports.push(E),d.set(b,B)}}),d.forEach((f,p)=>{const E=_4e(p,!0);E&&E.isTypeOnly?(QBe(s,u,p,f.typeOnlyExports,E),QBe(s,u,p,f.exports,_4e(p,!1))):QBe(s,u,p,[...f.exports,...f.typeOnlyExports],E)})}))}})}});function HWt(t,u){const s=Ca(t,u);return Tn(s,d=>d.kind===202)}function KWt(t,u,s){if(!s)return;let d=s.type,f=!1,p=!1;for(;d.kind===190||d.kind===191||d.kind===196;)d.kind===190?f=!0:d.kind===191&&(p=!0),d=d.type;const E=q.updateNamedTupleMember(s,s.dotDotDotToken||(p?q.createToken(26):void 0),s.name,s.questionToken||(f?q.createToken(58):void 0),d);E!==s&&t.replaceNode(u,s,E)}var x4e,Uat,WWt=o({"src/services/codefixes/fixIncorrectNamedTupleSyntax.ts"(){rr(),rs(),x4e="fixIncorrectNamedTupleSyntax",Uat=[F.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,F.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],Xo({errorCodes:Uat,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=HWt(s,d.start),p=iu.ChangeTracker.with(u,E=>KWt(E,s,f));return[Ro(x4e,p,F.Move_labeled_tuple_element_modifiers_to_labels,x4e,F.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[x4e]})}});function qat(t,u,s,d){const f=Ca(t,u),p=f.parent;if((d===F.No_overload_matches_this_call.code||d===F.Type_0_is_not_assignable_to_type_1.code)&&!oE(p))return;const E=s.program.getTypeChecker();let v;if(Iu(p)&&p.name===f){H.assert(J_(f),"Expected an identifier for spelling (property access)");let b=E.getTypeAtLocation(p.expression);p.flags&64&&(b=E.getNonNullableType(b)),v=E.getSuggestedSymbolForNonexistentProperty(f,b)}else if(Xn(p)&&p.operatorToken.kind===103&&p.left===f&&Xr(f)){const b=E.getTypeAtLocation(p.right);v=E.getSuggestedSymbolForNonexistentProperty(f,b)}else if(vf(p)&&p.right===f){const b=E.getSymbolAtLocation(p.left);b&&b.flags&1536&&(v=E.getSuggestedSymbolForNonexistentModule(p.right,b))}else if(bf(p)&&p.name===f){H.assertNode(f,at,"Expected an identifier for spelling (import)");const b=Tn(f,Sd),B=JWt(t,s,b);B&&B.symbol&&(v=E.getSuggestedSymbolForNonexistentModule(f,B.symbol))}else if(oE(p)&&p.name===f){H.assertNode(f,at,"Expected an identifier for JSX attribute");const b=Tn(f,zh),B=E.getContextualTypeForArgumentAtIndex(b,0);v=E.getSuggestedSymbolForNonexistentJSXAttribute(f,B)}else if(Vq(p)&&Zd(p)&&p.name===f){const b=Tn(f,mr),B=b?Qg(b):void 0,k=B?E.getTypeAtLocation(B):void 0;k&&(v=E.getSuggestedSymbolForNonexistentClassMember(Hc(f),k))}else{const b=Pk(f),B=Hc(f);H.assert(B!==void 0,"name should be defined"),v=E.getSuggestedSymbolForNonexistentSymbol(f,B,GWt(b))}return v===void 0?void 0:{node:f,suggestedSymbol:v}}function Zat(t,u,s,d,f){const p=lc(d);if(!Lm(p,f)&&Iu(s.parent)){const E=d.valueDeclaration;E&&mh(E)&&Xr(E.name)?t.replaceNode(u,s,q.createIdentifier(p)):t.replaceNode(u,s.parent,q.createElementAccessExpression(s.parent.expression,q.createStringLiteral(p)))}else t.replaceNode(u,s,q.createIdentifier(p))}function GWt(t){let u=0;return t&4&&(u|=1920),t&2&&(u|=788968),t&1&&(u|=111551),u}function JWt(t,u,s){var d;if(!s||!t0(s.moduleSpecifier))return;const f=(d=u.program.getResolvedModule(t,s.moduleSpecifier.text,xg(t,s.moduleSpecifier)))==null?void 0:d.resolvedModule;if(f)return u.program.getSourceFile(f.resolvedFileName)}var ewe,twe,$Wt=o({"src/services/codefixes/fixSpelling.ts"(){rr(),rs(),ewe="fixSpelling",twe=[F.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,F.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,F.Cannot_find_name_0_Did_you_mean_1.code,F.Could_not_find_name_0_Did_you_mean_1.code,F.Cannot_find_namespace_0_Did_you_mean_1.code,F.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,F.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,F._0_has_no_exported_member_named_1_Did_you_mean_2.code,F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,F.No_overload_matches_this_call.code,F.Type_0_is_not_assignable_to_type_1.code],Xo({errorCodes:twe,getCodeActions(t){const{sourceFile:u,errorCode:s}=t,d=qat(u,t.span.start,t,s);if(!d)return;const{node:f,suggestedSymbol:p}=d,E=Os(t.host.getCompilationSettings()),v=iu.ChangeTracker.with(t,b=>Zat(b,u,f,p,E));return[Ro("spelling",v,[F.Change_spelling_to_0,lc(p)],ewe,F.Fix_all_detected_spelling_errors)]},fixIds:[ewe],getAllCodeActions:t=>f0(t,twe,(u,s)=>{const d=qat(s.file,s.start,t,s.code),f=Os(t.host.getCompilationSettings());d&&Zat(u,t.sourceFile,d.node,d.suggestedSymbol,f)})})}});function Yat(t,u,s){const d=t.createSymbol(4,u.escapedText);d.links.type=t.getTypeAtLocation(s);const f=Vo([d]);return t.createAnonymousType(void 0,f,[],[],[])}function iwe(t,u,s,d){if(!u.body||!po(u.body)||S(u.body.statements)!==1)return;const f=Pn(u.body.statements);if(Od(f)&&nwe(t,u,t.getTypeAtLocation(f.expression),s,d))return{declaration:u,kind:0,expression:f.expression,statement:f,commentSource:f.expression};if(V2(f)&&Od(f.statement)){const p=q.createObjectLiteralExpression([q.createPropertyAssignment(f.label,f.statement.expression)]),E=Yat(t,f.label,f.statement.expression);if(nwe(t,u,E,s,d))return q0(u)?{declaration:u,kind:1,expression:p,statement:f,commentSource:f.statement.expression}:{declaration:u,kind:0,expression:p,statement:f,commentSource:f.statement.expression}}else if(po(f)&&S(f.statements)===1){const p=Pn(f.statements);if(V2(p)&&Od(p.statement)){const E=q.createObjectLiteralExpression([q.createPropertyAssignment(p.label,p.statement.expression)]),v=Yat(t,p.label,p.statement.expression);if(nwe(t,u,v,s,d))return{declaration:u,kind:0,expression:E,statement:f,commentSource:p}}}}function nwe(t,u,s,d,f){if(f){const p=t.getSignatureFromDeclaration(u);if(p){Yu(u,1024)&&(s=t.createPromiseType(s));const E=t.createSignature(u,p.typeParameters,p.thisParameter,p.parameters,s,void 0,p.minArgumentCount,p.flags);s=t.createAnonymousType(void 0,Vo(),[E],[],[])}else s=t.getAnyType()}return t.isTypeAssignableTo(s,d)}function Qat(t,u,s,d){const f=Ca(u,s);if(!f.parent)return;const p=Tn(f.parent,$0);switch(d){case F.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code:return!p||!p.body||!p.type||!Vm(p.type,f)?void 0:iwe(t,p,t.getTypeFromTypeNode(p.type),!1);case F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!p||!Mo(p.parent)||!p.body)return;const E=p.parent.arguments.indexOf(p);if(E===-1)return;const v=t.getContextualTypeForArgumentAtIndex(p.parent,E);return v?iwe(t,p,v,!0):void 0;case F.Type_0_is_not_assignable_to_type_1.code:if(!X3(f)||!G8(f.parent)&&!oE(f.parent))return;const b=UWt(f.parent);return!b||!$0(b)||!b.body?void 0:iwe(t,b,t.getTypeAtLocation(f.parent),!0)}}function UWt(t){switch(t.kind){case 260:case 169:case 208:case 172:case 303:return t.initializer;case 291:return t.initializer&&(YP(t.initializer)?t.initializer.expression:void 0);case 304:case 171:case 306:case 355:case 348:return}}function Xat(t,u,s,d){Kf(s);const f=YH(u);t.replaceNode(u,d,q.createReturnStatement(s),{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Exclude,suffix:f?";":void 0})}function eot(t,u,s,d,f,p){const E=p||AX(d)?q.createParenthesizedExpression(d):d;Kf(f),Rk(f,E),t.replaceNode(u,s.body,E)}function tot(t,u,s,d){t.replaceNode(u,s.body,q.createParenthesizedExpression(d))}function qWt(t,u,s){const d=iu.ChangeTracker.with(t,f=>Xat(f,t.sourceFile,u,s));return Ro(v4e,d,F.Add_a_return_statement,C4e,F.Add_all_missing_return_statement)}function ZWt(t,u,s,d){const f=iu.ChangeTracker.with(t,p=>eot(p,t.sourceFile,u,s,d,!1));return Ro(v4e,f,F.Remove_braces_from_arrow_function_body,b4e,F.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function YWt(t,u,s){const d=iu.ChangeTracker.with(t,f=>tot(f,t.sourceFile,u,s));return Ro(v4e,d,F.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,y4e,F.Wrap_all_object_literal_with_parentheses)}var v4e,C4e,b4e,y4e,uwe,QWt=o({"src/services/codefixes/returnValueCorrect.ts"(){rr(),rs(),v4e="returnValueCorrect",C4e="fixAddReturnStatement",b4e="fixRemoveBracesFromArrowFunctionBody",y4e="fixWrapTheBlockWithParen",uwe=[F.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code,F.Type_0_is_not_assignable_to_type_1.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],Xo({errorCodes:uwe,fixIds:[C4e,b4e,y4e],getCodeActions:function(u){const{program:s,sourceFile:d,span:{start:f},errorCode:p}=u,E=Qat(s.getTypeChecker(),d,f,p);if(E)return E.kind===0?xi([qWt(u,E.expression,E.statement)],q0(E.declaration)?ZWt(u,E.declaration,E.expression,E.commentSource):void 0):[YWt(u,E.declaration,E.expression)]},getAllCodeActions:t=>f0(t,uwe,(u,s)=>{const d=Qat(t.program.getTypeChecker(),s.file,s.start,s.code);if(d)switch(t.fixId){case C4e:Xat(u,s.file,d.expression,d.statement);break;case b4e:if(!q0(d.declaration))return;eot(u,s.file,d.declaration,d.expression,d.commentSource,!1);break;case y4e:if(!q0(d.declaration))return;tot(u,s.file,d.declaration,d.expression);break;default:H.fail(JSON.stringify(t.fixId))}})})}});function iot(t,u,s,d,f){var p;const E=Ca(t,u),v=E.parent;if(s===F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(!(E.kind===19&&ys(v)&&Mo(v.parent)))return;const z=Ue(v.parent.arguments,Y=>Y===v);if(z<0)return;const j=d.getResolvedSignature(v.parent);if(!(j&&j.declaration&&j.parameters[z]))return;const J=j.parameters[z].valueDeclaration;if(!(J&&io(J)&&at(J.name)))return;const K=ga(d.getUnmatchedProperties(d.getTypeAtLocation(v),d.getParameterType(j,z),!1,!1));return S(K)?{kind:3,token:J.name,properties:K,parentDeclaration:v}:void 0}if(!J_(E))return;if(at(E)&&Nx(v)&&v.initializer&&ys(v.initializer)){const z=d.getContextualType(E)||d.getTypeAtLocation(E),j=ga(d.getUnmatchedProperties(d.getTypeAtLocation(v.initializer),z,!1,!1));return S(j)?{kind:3,token:E,properties:j,parentDeclaration:v.initializer}:void 0}if(at(E)&&zh(E.parent)){const z=Os(f.getCompilerOptions()),j=rGt(d,z,E.parent);return S(j)?{kind:4,token:E,attributes:j,parentDeclaration:E.parent}:void 0}if(at(E)){const z=(p=d.getContextualType(E))==null?void 0:p.getNonNullableType();if(z&&Gu(z)&16){const j=Ki(d.getSignaturesOfType(z,0));return j===void 0?void 0:{kind:5,token:E,signature:j,sourceFile:t,parentDeclaration:fot(E)}}if(Mo(v)&&v.expression===E)return{kind:2,token:E,call:v,sourceFile:t,modifierFlags:0,parentDeclaration:fot(E)}}if(!Iu(v))return;const b=nfe(d.getTypeAtLocation(v.expression)),B=b.symbol;if(!B||!B.declarations)return;if(at(E)&&Mo(v.parent)){const z=Le(B.declarations,_c),j=z==null?void 0:z.getSourceFile();if(z&&j&&!KM(f,j))return{kind:2,token:E,call:v.parent,sourceFile:t,modifierFlags:32,parentDeclaration:z};const J=Le(B.declarations,la);if(t.commonJsModuleIndicator)return;if(J&&!KM(f,J))return{kind:2,token:E,call:v.parent,sourceFile:J,modifierFlags:32,parentDeclaration:J}}const k=Le(B.declarations,mr);if(!k&&Xr(E))return;const T=k||Le(B.declarations,z=>xh(z)||fm(z));if(T&&!KM(f,T.getSourceFile())){const z=!fm(T)&&(b.target||b)!==d.getDeclaredTypeOfSymbol(B);if(z&&(Xr(E)||xh(T)))return;const j=T.getSourceFile(),J=fm(T)?0:(z?256:0)|(Afe(E.text)?2:0),K=gh(j),Y=ur(v.parent,Mo);return{kind:0,token:E,call:Y,modifierFlags:J,parentDeclaration:T,declSourceFile:j,isJSFile:K}}const M=Le(B.declarations,Iv);if(M&&!(b.flags&1056)&&!Xr(E)&&!KM(f,M.getSourceFile()))return{kind:1,token:E,parentDeclaration:M}}function XWt(t,u){return u.isJSFile?Hy(eGt(t,u)):tGt(t,u)}function eGt(t,{parentDeclaration:u,declSourceFile:s,modifierFlags:d,token:f}){if(xh(u)||fm(u))return;const p=iu.ChangeTracker.with(t,v=>not(v,s,u,f,!!(d&256)));if(p.length===0)return;const E=d&256?F.Initialize_static_property_0:Xr(f)?F.Declare_a_private_field_named_0:F.Initialize_property_0_in_the_constructor;return Ro(Yx,p,[E,f.text],Yx,F.Add_all_missing_members)}function not(t,u,s,d,f){const p=d.text;if(f){if(s.kind===231)return;const E=s.name.getText(),v=uot(q.createIdentifier(E),p);t.insertNodeAfter(u,s,v)}else if(Xr(d)){const E=q.createPropertyDeclaration(void 0,p,void 0,void 0,void 0),v=oot(s);v?t.insertNodeAfter(u,v,E):t.insertMemberAtStart(u,s,E)}else{const E=X_(s);if(!E)return;const v=uot(q.createThis(),p);t.insertNodeAtConstructorEnd(u,E,v)}}function uot(t,u){return q.createExpressionStatement(q.createAssignment(q.createPropertyAccessExpression(t,u),c9()))}function tGt(t,{parentDeclaration:u,declSourceFile:s,modifierFlags:d,token:f}){const p=f.text,E=d&256,v=rot(t.program.getTypeChecker(),u,f),b=k=>iu.ChangeTracker.with(t,T=>aot(T,s,u,p,v,k)),B=[Ro(Yx,b(d&256),[E?F.Declare_static_property_0:F.Declare_property_0,p],Yx,F.Add_all_missing_members)];return E||Xr(f)||(d&2&&B.unshift(Cg(Yx,b(2),[F.Declare_private_property_0,p])),B.push(iGt(t,s,u,f.text,v))),B}function rot(t,u,s){let d;if(s.parent.parent.kind===226){const f=s.parent.parent,p=s.parent===f.left?f.right:f.left,E=t.getWidenedType(t.getBaseTypeOfLiteralType(t.getTypeAtLocation(p)));d=t.typeToTypeNode(E,u,1)}else{const f=t.getContextualType(s.parent);d=f?t.typeToTypeNode(f,void 0,1):void 0}return d||q.createKeywordTypeNode(133)}function aot(t,u,s,d,f,p){const E=p?q.createNodeArray(q.createModifiersFromModifierFlags(p)):void 0,v=mr(s)?q.createPropertyDeclaration(E,d,void 0,f,void 0):q.createPropertySignature(void 0,d,void 0,f),b=oot(s);b?t.insertNodeAfter(u,b,v):t.insertMemberAtStart(u,s,v)}function oot(t){let u;for(const s of t.members){if(!ko(s))break;u=s}return u}function iGt(t,u,s,d,f){const p=q.createKeywordTypeNode(154),E=q.createParameterDeclaration(void 0,void 0,"x",void 0,p,void 0),v=q.createIndexSignature(void 0,[E],f),b=iu.ChangeTracker.with(t,B=>B.insertMemberAtStart(u,s,v));return Cg(Yx,b,[F.Add_index_signature_for_property_0,d])}function nGt(t,u){const{parentDeclaration:s,declSourceFile:d,modifierFlags:f,token:p,call:E}=u;if(E===void 0)return;const v=p.text,b=k=>iu.ChangeTracker.with(t,T=>sot(t,T,E,p,k,s,d)),B=[Ro(Yx,b(f&256),[f&256?F.Declare_static_method_0:F.Declare_method_0,v],Yx,F.Add_all_missing_members)];return f&2&&B.unshift(Cg(Yx,b(2),[F.Declare_private_method_0,v])),B}function sot(t,u,s,d,f,p,E){const v=l9(E,t.program,t.preferences,t.host),b=mr(p)?174:173,B=Vwe(b,t,v,s,d,f,p),k=aGt(p,s);k?u.insertNodeAfter(E,k,B):u.insertMemberAtStart(E,p,B),v.writeFixes(u)}function lot(t,u,{token:s,parentDeclaration:d}){const f=Oe(d.members,E=>{const v=u.getTypeAtLocation(E);return!!(v&&v.flags&402653316)}),p=q.createEnumMember(s,f?q.createStringLiteral(s.text):void 0);t.replaceNode(d.getSourceFile(),d,q.updateEnumDeclaration(d,d.modifiers,d.name,Hi(d.members,Hy(p))),{leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Exclude})}function cot(t,u,s){const d=Hm(u.sourceFile,u.preferences),f=l9(u.sourceFile,u.program,u.preferences,u.host),p=s.kind===2?Vwe(262,u,f,s.call,fu(s.token),s.modifierFlags,s.parentDeclaration):Z4e(262,u,d,s.signature,Bee(F.Function_not_implemented.message,d),s.token,void 0,void 0,void 0,f);p===void 0&&H.fail("fixMissingFunctionDeclaration codefix got unexpected error."),Op(s.parentDeclaration)?t.insertNodeBefore(s.sourceFile,s.parentDeclaration,p,!0):t.insertNodeAtEndOfScope(s.sourceFile,s.parentDeclaration,p),f.writeFixes(t)}function dot(t,u,s){const d=l9(u.sourceFile,u.program,u.preferences,u.host),f=Hm(u.sourceFile,u.preferences),p=u.program.getTypeChecker(),E=s.parentDeclaration.attributes,v=Oe(E.properties,H7),b=Vt(s.attributes,T=>{const M=k4e(u,p,d,f,p.getTypeOfSymbol(T),s.parentDeclaration),z=q.createIdentifier(T.name),j=q.createJsxAttribute(z,q.createJsxExpression(void 0,M));return ks(z,j),j}),B=q.createJsxAttributes(v?[...b,...E.properties]:[...E.properties,...b]),k={prefix:E.pos===E.end?" ":void 0};t.replaceNode(u.sourceFile,E,B,k),d.writeFixes(t)}function hot(t,u,s){const d=l9(u.sourceFile,u.program,u.preferences,u.host),f=Hm(u.sourceFile,u.preferences),p=Os(u.program.getCompilerOptions()),E=u.program.getTypeChecker(),v=Vt(s.properties,B=>{const k=k4e(u,E,d,f,E.getTypeOfSymbol(B),s.parentDeclaration);return q.createPropertyAssignment(oGt(B,p,f,E),k)}),b={leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Exclude,indentation:s.indentation};t.replaceNode(u.sourceFile,s.parentDeclaration,q.createObjectLiteralExpression([...s.parentDeclaration.properties,...v],!0),b),d.writeFixes(t)}function k4e(t,u,s,d,f,p){if(f.flags&3)return c9();if(f.flags&134217732)return q.createStringLiteral("",d===0);if(f.flags&8)return q.createNumericLiteral(0);if(f.flags&64)return q.createBigIntLiteral("0n");if(f.flags&16)return q.createFalse();if(f.flags&1056){const E=f.symbol.exports?Hn(f.symbol.exports.values()):f.symbol,v=u.symbolToExpression(f.symbol.parent?f.symbol.parent:f.symbol,111551,void 0,void 0);return E===void 0||v===void 0?q.createNumericLiteral(0):q.createPropertyAccessExpression(v,u.symbolToString(E))}if(f.flags&256)return q.createNumericLiteral(f.value);if(f.flags&2048)return q.createBigIntLiteral(f.value);if(f.flags&128)return q.createStringLiteral(f.value,d===0);if(f.flags&512)return f===u.getFalseType()||f===u.getFalseType(!0)?q.createFalse():q.createTrue();if(f.flags&65536)return q.createNull();if(f.flags&1048576)return G(f.types,v=>k4e(t,u,s,d,v,p))??c9();if(u.isArrayLikeType(f))return q.createArrayLiteralExpression();if(uGt(f)){const E=Vt(u.getPropertiesOfType(f),v=>{const b=k4e(t,u,s,d,u.getTypeOfSymbol(v),p);return q.createPropertyAssignment(v.name,b)});return q.createObjectLiteralExpression(E,!0)}if(Gu(f)&16){if(Le(f.symbol.declarations||_t,dg(u3,n3,dc))===void 0)return c9();const v=u.getSignaturesOfType(f,0);return v===void 0?c9():Z4e(218,t,d,v[0],Bee(F.Function_not_implemented.message,d),void 0,void 0,void 0,p,s)??c9()}if(Gu(f)&1){const E=tD(f.symbol);if(E===void 0||P2(E))return c9();const v=X_(E);return v&&S(v.parameters)?c9():q.createNewExpression(q.createIdentifier(f.symbol.name),void 0,void 0)}return c9()}function c9(){return q.createIdentifier("undefined")}function uGt(t){return t.flags&524288&&(Gu(t)&128||t.symbol&&ur(Aa(t.symbol.declarations),fm))}function rGt(t,u,s){const d=t.getContextualType(s.attributes);if(d===void 0)return _t;const f=d.getProperties();if(!S(f))return _t;const p=new Set;for(const E of s.attributes.properties)if(oE(E)&&p.add(MP(E.name)),H7(E)){const v=t.getTypeAtLocation(E.expression);for(const b of v.getProperties())p.add(b.escapedName)}return ti(f,E=>Lm(E.name,u,1)&&!(E.flags&16777216||Gl(E)&48||p.has(E.escapedName)))}function aGt(t,u){if(fm(t))return;const s=Tn(u,d=>dc(d)||hc(d));return s&&s.parent===t?s:void 0}function oGt(t,u,s,d){if(qE(t)){const f=d.symbolToNode(t,111551,void 0,1073741824);if(f&&Ps(f))return f}return mZ(t.name,u,s===0,!1,!1)}function fot(t){if(Tn(t,YP)){const u=Tn(t.parent,Op);if(u)return u}return zn(t)}var Yx,bee,yee,kee,rwe,sGt=o({"src/services/codefixes/fixAddMissingMember.ts"(){rr(),rs(),Yx="fixMissingMember",bee="fixMissingProperties",yee="fixMissingAttributes",kee="fixMissingFunctionDeclaration",rwe=[F.Property_0_does_not_exist_on_type_1.code,F.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,F.Property_0_is_missing_in_type_1_but_required_in_type_2.code,F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,F.Cannot_find_name_0.code],Xo({errorCodes:rwe,getCodeActions(t){const u=t.program.getTypeChecker(),s=iot(t.sourceFile,t.span.start,t.errorCode,u,t.program);if(s){if(s.kind===3){const d=iu.ChangeTracker.with(t,f=>hot(f,t,s));return[Ro(bee,d,F.Add_missing_properties,bee,F.Add_all_missing_properties)]}if(s.kind===4){const d=iu.ChangeTracker.with(t,f=>dot(f,t,s));return[Ro(yee,d,F.Add_missing_attributes,yee,F.Add_all_missing_attributes)]}if(s.kind===2||s.kind===5){const d=iu.ChangeTracker.with(t,f=>cot(f,t,s));return[Ro(kee,d,[F.Add_missing_function_declaration_0,s.token.text],kee,F.Add_all_missing_function_declarations)]}if(s.kind===1){const d=iu.ChangeTracker.with(t,f=>lot(f,t.program.getTypeChecker(),s));return[Ro(Yx,d,[F.Add_missing_enum_member_0,s.token.text],Yx,F.Add_all_missing_members)]}return Hi(nGt(t,s),XWt(t,s))}},fixIds:[Yx,kee,bee,yee],getAllCodeActions:t=>{const{program:u,fixId:s}=t,d=u.getTypeChecker(),f=new Map,p=new Map;return Ew(iu.ChangeTracker.with(t,E=>{_w(t,rwe,v=>{const b=iot(v.file,v.start,v.code,d,t.program);if(!(!b||!Ip(f,$s(b.parentDeclaration)+"#"+b.token.text))){if(s===kee&&(b.kind===2||b.kind===5))cot(E,t,b);else if(s===bee&&b.kind===3)hot(E,t,b);else if(s===yee&&b.kind===4)dot(E,t,b);else if(b.kind===1&&lot(E,d,b),b.kind===0){const{parentDeclaration:B,token:k}=b,T=W0(p,B,()=>[]);T.some(M=>M.token.text===k.text)||T.push(b)}}}),p.forEach((v,b)=>{const B=fm(b)?void 0:qwe(b,d);for(const k of v){if(B!=null&&B.some(Y=>{const oe=p.get(Y);return!!oe&&oe.some(({token:se})=>se.text===k.token.text)}))continue;const{parentDeclaration:T,declSourceFile:M,modifierFlags:z,token:j,call:J,isJSFile:K}=k;if(J&&!Xr(j))sot(t,E,J,j,z&256,T,M);else if(K&&!xh(T)&&!fm(T))not(E,M,T,j,!!(z&256));else{const Y=rot(d,T,j);aot(E,M,T,j.text,Y,z&256)}}})}))}})}});function mot(t,u,s){const d=Po(lGt(u,s),Mo),f=q.createNewExpression(d.expression,d.typeArguments,d.arguments);t.replaceNode(u,d,f)}function lGt(t,u){let s=Ca(t,u.start);const d=Ec(u);for(;s.endmot(f,u,s));return[Ro(F4e,d,F.Add_missing_new_operator_to_call,F4e,F.Add_missing_new_operator_to_all_calls)]},fixIds:[F4e],getAllCodeActions:t=>f0(t,awe,(u,s)=>mot(u,t.sourceFile,s))})}});function pot(t,u){return{type:"install package",file:t,packageName:u}}function got(t,u){const s=ur(Ca(t,u),us);if(!s)return;const d=s.text,{packageName:f}=oH(d);return Id(f)?void 0:f}function Eot(t,u,s){var d;return s===owe?o3.nodeCoreModules.has(t)?"@types/node":void 0:(d=u.isKnownTypesPackageName)!=null&&d.call(u,t)?$Y(t):void 0}var _ot,A4e,owe,swe,dGt=o({"src/services/codefixes/fixCannotFindModule.ts"(){rr(),rs(),_ot="fixCannotFindModule",A4e="installTypesPackage",owe=F.Cannot_find_module_0_or_its_corresponding_type_declarations.code,swe=[owe,F.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code],Xo({errorCodes:swe,getCodeActions:function(u){const{host:s,sourceFile:d,span:{start:f}}=u,p=got(d,f);if(p===void 0)return;const E=Eot(p,s,u.errorCode);return E===void 0?[]:[Ro(_ot,[],[F.Install_0,E],A4e,F.Install_all_missing_types_packages,pot(d.fileName,E))]},fixIds:[A4e],getAllCodeActions:t=>f0(t,swe,(u,s,d)=>{const f=got(s.file,s.start);if(f!==void 0)switch(t.fixId){case A4e:{const p=Eot(f,t.host,s.code);p&&d.push(pot(s.file.fileName,p));break}default:H.fail(`Bad fixId: ${t.fixId}`)}})})}});function Dot(t,u){const s=Ca(t,u);return Po(s.parent,mr)}function xot(t,u,s,d,f){const p=Qg(t),E=s.program.getTypeChecker(),v=E.getTypeAtLocation(p),b=E.getPropertiesOfType(v).filter(hGt),B=l9(u,s.program,f,s.host);jwe(t,b,u,s,f,B,k=>d.insertMemberAtStart(u,t,k)),B.writeFixes(d)}function hGt(t){const u=Rx(Pn(t.getDeclarations()));return!(u&2)&&!!(u&64)}var lwe,S4e,fGt=o({"src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts"(){rr(),rs(),lwe=[F.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1.code],S4e="fixClassDoesntImplementInheritedAbstractMember",Xo({errorCodes:lwe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=iu.ChangeTracker.with(u,p=>xot(Dot(s,d.start),s,u,p,u.preferences));return f.length===0?void 0:[Ro(S4e,f,F.Implement_inherited_abstract_class,S4e,F.Implement_all_inherited_abstract_classes)]},fixIds:[S4e],getAllCodeActions:function(u){const s=new Map;return f0(u,lwe,(d,f)=>{const p=Dot(f.file,f.start);Ip(s,$s(p))&&xot(p,u.sourceFile,u,d,u.preferences)})}})}});function vot(t,u,s,d){t.insertNodeAtConstructorStart(u,s,d),t.delete(u,d)}function Cot(t,u){const s=Ca(t,u);if(s.kind!==110)return;const d=Nm(s),f=bot(d.body);return f&&!f.expression.arguments.some(p=>Iu(p)&&p.expression===s)?{constructor:d,superCall:f}:void 0}function bot(t){return Od(t)&&ik(t.expression)?t:Co(t)?void 0:ao(t,bot)}var B4e,cwe,mGt=o({"src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts"(){rr(),rs(),B4e="classSuperMustPrecedeThisAccess",cwe=[F.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],Xo({errorCodes:cwe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=Cot(u,s.start);if(!d)return;const{constructor:f,superCall:p}=d,E=iu.ChangeTracker.with(t,v=>vot(v,u,f,p));return[Ro(B4e,E,F.Make_super_call_the_first_statement_in_the_constructor,B4e,F.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[B4e],getAllCodeActions(t){const{sourceFile:u}=t,s=new Map;return f0(t,cwe,(d,f)=>{const p=Cot(f.file,f.start);if(!p)return;const{constructor:E,superCall:v}=p;Ip(s,$s(E.parent))&&vot(d,u,E,v)})}})}});function yot(t,u){const s=Ca(t,u);return H.assert(hc(s.parent),"token should be at the constructor declaration"),s.parent}function kot(t,u,s){const d=q.createExpressionStatement(q.createCallExpression(q.createSuper(),void 0,_t));t.insertNodeAtConstructorStart(u,s,d)}var w4e,dwe,pGt=o({"src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts"(){rr(),rs(),w4e="constructorForDerivedNeedSuperCall",dwe=[F.Constructors_for_derived_classes_must_contain_a_super_call.code],Xo({errorCodes:dwe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=yot(u,s.start),f=iu.ChangeTracker.with(t,p=>kot(p,u,d));return[Ro(w4e,f,F.Add_missing_super_call,w4e,F.Add_all_missing_super_calls)]},fixIds:[w4e],getAllCodeActions:t=>f0(t,dwe,(u,s)=>kot(u,t.sourceFile,yot(s.file,s.start)))})}});function Fot(t,u){Gwe(t,u,"jsx",q.createStringLiteral("react"))}var hwe,fwe,gGt=o({"src/services/codefixes/fixEnableJsxFlag.ts"(){rr(),rs(),hwe="fixEnableJsxFlag",fwe=[F.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code],Xo({errorCodes:fwe,getCodeActions:function(u){const{configFile:s}=u.program.getCompilerOptions();if(s===void 0)return;const d=iu.ChangeTracker.with(u,f=>Fot(f,s));return[Cg(hwe,d,F.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[hwe],getAllCodeActions:t=>f0(t,fwe,u=>{const{configFile:s}=t.program.getCompilerOptions();s!==void 0&&Fot(u,s)})})}});function Aot(t,u,s){const d=Le(t.getSemanticDiagnostics(u),E=>E.start===s.start&&E.length===s.length);if(d===void 0||d.relatedInformation===void 0)return;const f=Le(d.relatedInformation,E=>E.code===F.Did_you_mean_0.code);if(f===void 0||f.file===void 0||f.start===void 0||f.length===void 0)return;const p=$we(f.file,d1(f.start,f.length));if(p!==void 0&&Wt(p)&&Xn(p.parent))return{suggestion:EGt(f.messageText),expression:p.parent,arg:p}}function Sot(t,u,s,d){const f=q.createCallExpression(q.createPropertyAccessExpression(q.createIdentifier("Number"),q.createIdentifier("isNaN")),void 0,[s]),p=d.operatorToken.kind;t.replaceNode(u,d,p===38||p===36?q.createPrefixUnaryExpression(54,f):f)}function EGt(t){const[u,s]=lE(t,` -`,0).match(/'(.*)'/)||[];return s}var T4e,mwe,_Gt=o({"src/services/codefixes/fixNaNEquality.ts"(){rr(),rs(),T4e="fixNaNEquality",mwe=[F.This_condition_will_always_return_0.code],Xo({errorCodes:mwe,getCodeActions(t){const{sourceFile:u,span:s,program:d}=t,f=Aot(d,u,s);if(f===void 0)return;const{suggestion:p,expression:E,arg:v}=f,b=iu.ChangeTracker.with(t,B=>Sot(B,u,v,E));return[Ro(T4e,b,[F.Use_0,p],T4e,F.Use_Number_isNaN_in_all_conditions)]},fixIds:[T4e],getAllCodeActions:t=>f0(t,mwe,(u,s)=>{const d=Aot(t.program,s.file,d1(s.start,s.length));d&&Sot(u,s.file,d.arg,d.expression)})})}}),DGt=o({"src/services/codefixes/fixModuleAndTargetOptions.ts"(){rr(),rs(),Xo({errorCodes:[F.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,F.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,F.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(u){const s=u.program.getCompilerOptions(),{configFile:d}=s;if(d===void 0)return;const f=[],p=m1(s);if(p>=5&&p<99){const B=iu.ChangeTracker.with(u,k=>{Gwe(k,d,"module",q.createStringLiteral("esnext"))});f.push(Cg("fixModuleOption",B,[F.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}const v=Os(s);if(v<4||v>99){const B=iu.ChangeTracker.with(u,k=>{if(!ZN(d))return;const M=[["target",q.createStringLiteral("es2017")]];p===1&&M.push(["module",q.createStringLiteral("commonjs")]),Wwe(k,d,M)});f.push(Cg("fixTargetOption",B,[F.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return f.length?f:void 0}})}});function Bot(t,u,s){t.replaceNode(u,s,q.createPropertyAssignment(s.name,s.objectAssignmentInitializer))}function wot(t,u){return Po(Ca(t,u).parent,pm)}var L4e,pwe,xGt=o({"src/services/codefixes/fixPropertyAssignment.ts"(){rr(),rs(),L4e="fixPropertyAssignment",pwe=[F.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code],Xo({errorCodes:pwe,fixIds:[L4e],getCodeActions(t){const{sourceFile:u,span:s}=t,d=wot(u,s.start),f=iu.ChangeTracker.with(t,p=>Bot(p,t.sourceFile,d));return[Ro(L4e,f,[F.Change_0_to_1,"=",":"],L4e,[F.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:t=>f0(t,pwe,(u,s)=>Bot(u,s.file,wot(s.file,s.start)))})}});function Tot(t,u){const s=Ca(t,u),d=Yd(s).heritageClauses,f=d[0].getFirstToken();return f.kind===96?{extendsToken:f,heritageClauses:d}:void 0}function Lot(t,u,s,d){if(t.replaceNode(u,s,q.createToken(119)),d.length===2&&d[0].token===96&&d[1].token===119){const f=d[1].getFirstToken(),p=f.getFullStart();t.replaceRange(u,{pos:p,end:p},q.createToken(28));const E=u.text;let v=f.end;for(;vLot(E,u,d,f));return[Ro(N4e,p,F.Change_extends_to_implements,N4e,F.Change_all_extended_interfaces_to_implements)]},fixIds:[N4e],getAllCodeActions:t=>f0(t,gwe,(u,s)=>{const d=Tot(s.file,s.start);d&&Lot(u,s.file,d.extendsToken,d.heritageClauses)})})}});function Not(t,u,s){const d=Ca(t,u);if(at(d)||Xr(d))return{node:d,className:s===Ewe?Yd(d).name.text:void 0}}function Pot(t,u,{node:s,className:d}){Kf(s),t.replaceNode(u,s,q.createPropertyAccessExpression(d?q.createIdentifier(d):q.createThis(),s))}var P4e,Ewe,_we,CGt=o({"src/services/codefixes/fixForgottenThisPropertyAccess.ts"(){rr(),rs(),P4e="forgottenThisPropertyAccess",Ewe=F.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,_we=[F.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,F.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,Ewe],Xo({errorCodes:_we,getCodeActions(t){const{sourceFile:u}=t,s=Not(u,t.span.start,t.errorCode);if(!s)return;const d=iu.ChangeTracker.with(t,f=>Pot(f,u,s));return[Ro(P4e,d,[F.Add_0_to_unresolved_variable,s.className||"this"],P4e,F.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[P4e],getAllCodeActions:t=>f0(t,_we,(u,s)=>{const d=Not(s.file,s.start,s.code);d&&Pot(u,t.sourceFile,d)})})}});function bGt(t){return gu(vwe,t)}function Dwe(t,u,s,d,f){const p=s.getText()[d];if(!bGt(p))return;const E=f?vwe[p]:`{${jM(s,u,p)}}`;t.replaceRangeWithText(s,{pos:d,end:d+1},E)}var M4e,Fee,xwe,vwe,yGt=o({"src/services/codefixes/fixInvalidJsxCharacters.ts"(){rr(),rs(),M4e="fixInvalidJsxCharacters_expression",Fee="fixInvalidJsxCharacters_htmlEntity",xwe=[F.Unexpected_token_Did_you_mean_or_gt.code,F.Unexpected_token_Did_you_mean_or_rbrace.code],Xo({errorCodes:xwe,fixIds:[M4e,Fee],getCodeActions(t){const{sourceFile:u,preferences:s,span:d}=t,f=iu.ChangeTracker.with(t,E=>Dwe(E,s,u,d.start,!1)),p=iu.ChangeTracker.with(t,E=>Dwe(E,s,u,d.start,!0));return[Ro(M4e,f,F.Wrap_invalid_character_in_an_expression_container,M4e,F.Wrap_all_invalid_characters_in_an_expression_container),Ro(Fee,p,F.Convert_invalid_character_to_its_html_entity_code,Fee,F.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions(t){return f0(t,xwe,(u,s)=>Dwe(u,t.preferences,s.file,s.start,t.fixId===Fee))}}),vwe={">":">","}":"}"}}});function kGt(t,{name:u,jsDocHost:s,jsDocParameterTag:d}){const f=iu.ChangeTracker.with(t,p=>p.filterJSDocTags(t.sourceFile,s,E=>E!==d));return Ro(Aee,f,[F.Delete_unused_param_tag_0,u.getText(t.sourceFile)],Aee,F.Delete_all_unused_param_tags)}function FGt(t,{name:u,jsDocHost:s,signature:d,jsDocParameterTag:f}){if(!S(d.parameters))return;const p=t.sourceFile,E=Cv(d),v=new Set;for(const T of E)Eg(T)&&at(T.name)&&v.add(T.name.escapedText);const b=G(d.parameters,T=>at(T.name)&&!v.has(T.name.escapedText)?T.name.getText(p):void 0);if(b===void 0)return;const B=q.updateJSDocParameterTag(f,f.tagName,q.createIdentifier(b),f.isBracketed,f.typeExpression,f.isNameFirst,f.comment),k=iu.ChangeTracker.with(t,T=>T.replaceJSDocComment(p,s,Vt(E,M=>M===f?B:M)));return Cg(Cwe,k,[F.Rename_param_tag_name_0_to_1,u.getText(p),b])}function Mot(t,u){const s=Ca(t,u);if(s.parent&&Eg(s.parent)&&at(s.parent.name)){const d=s.parent,f=h7(d),p=kv(d);if(f&&p)return{jsDocHost:f,signature:p,name:s.parent.name,jsDocParameterTag:d}}}var Aee,Cwe,bwe,AGt=o({"src/services/codefixes/fixUnmatchedParameter.ts"(){rr(),rs(),Aee="deleteUnmatchedParameter",Cwe="renameUnmatchedParameter",bwe=[F.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code],Xo({fixIds:[Aee,Cwe],errorCodes:bwe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=[],p=Mot(s,d.start);if(p)return xi(f,kGt(u,p)),xi(f,FGt(u,p)),f},getAllCodeActions:function(u){const s=new Map;return Ew(iu.ChangeTracker.with(u,d=>{_w(u,bwe,({file:f,start:p})=>{const E=Mot(f,p);E&&s.set(E.signature,xi(s.get(E.signature),E.jsDocParameterTag))}),s.forEach((f,p)=>{if(u.fixId===Aee){const E=new Set(f);d.filterJSDocTags(p.getSourceFile(),p,v=>!E.has(v))}})}))}})}});function SGt(t,u,s){const d=ur(Ca(t,s),at);if(!d||d.parent.kind!==183)return;const p=u.getTypeChecker().getSymbolAtLocation(d);return Le((p==null?void 0:p.declarations)||_t,dg(n_,bf,E1))}function BGt(t,u,s,d){if(s.kind===271){t.insertModifierBefore(u,156,s.name);return}const f=s.kind===273?s:s.parent.parent;if(f.name&&f.namedBindings)return;const p=d.getTypeChecker();Fq(f,v=>{if(X1(v.symbol,p).flags&111551)return!0})||t.insertModifierBefore(u,156,f)}function wGt(t,u,s,d){a9.doChangeNamedToNamespaceOrDefault(u,d,t,s.parent)}var z4e,zot,TGt=o({"src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts"(){rr(),rs(),z4e="fixUnreferenceableDecoratorMetadata",zot=[F.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code],Xo({errorCodes:zot,getCodeActions:t=>{const u=SGt(t.sourceFile,t.program,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,p=>u.kind===276&&wGt(p,t.sourceFile,u,t.program)),d=iu.ChangeTracker.with(t,p=>BGt(p,t.sourceFile,u,t.program));let f;return s.length&&(f=xi(f,Cg(z4e,s,F.Convert_named_imports_to_namespace_import))),d.length&&(f=xi(f,Cg(z4e,d,F.Use_import_type))),f},fixIds:[z4e]})}});function Iot(t,u,s){t.replaceNode(u,s.parent,q.createKeywordTypeNode(159))}function yK(t,u){return Ro(kK,t,u,O4e,F.Delete_all_unused_declarations)}function Rot(t,u,s){t.delete(u,H.checkDefined(Po(s.parent,v0e).typeParameters,"The type parameter to delete should exist"))}function ywe(t){return t.kind===102||t.kind===80&&(t.parent.kind===276||t.parent.kind===273)}function Oot(t){return t.kind===102?ur(t.parent,Sd):void 0}function jot(t,u){return Ad(u.parent)&&Pn(u.parent.getChildren(t))===u}function Vot(t,u,s){t.delete(u,s.parent.kind===243?s.parent:s)}function LGt(t,u,s){L(s.elements,d=>t.delete(u,d))}function NGt(t,u,s,{parent:d}){if(na(d)&&d.initializer&&D2(d.initializer))if(Ad(d.parent)&&S(d.parent.declarations)>1){const f=d.parent.parent,p=f.getStart(s),E=f.end;u.delete(s,d),u.insertNodeAt(s,E,d.initializer,{prefix:E5(t.host,t.formatContext.options)+s.text.slice(FX(s.text,p-1),p),suffix:YH(s)?";":""})}else u.replaceNode(s,d.parent,d.initializer);else u.delete(s,d)}function Hot(t,u,s,d){u!==F.Property_0_is_declared_but_its_value_is_never_read.code&&(d.kind===140&&(d=Po(d.parent,P7).typeParameter.name),at(d)&&PGt(d)&&(t.replaceNode(s,d,q.createIdentifier(`_${d.text}`)),io(d.parent)&&B8(d.parent).forEach(f=>{at(f.name)&&t.replaceNode(s,f.name,q.createIdentifier(`_${f.name.text}`))})))}function PGt(t){switch(t.parent.kind){case 169:case 168:return!0;case 260:switch(t.parent.parent.parent.kind){case 250:case 249:return!0}}return!1}function I4e(t,u,s,d,f,p,E,v){MGt(u,s,t,d,f,p,E,v),at(u)&&Z0.Core.eachSymbolReferenceInFile(u,d,t,b=>{Iu(b.parent)&&b.parent.name===b&&(b=b.parent),!v&&OGt(b)&&s.delete(t,b.parent.parent)})}function MGt(t,u,s,d,f,p,E,v){const{parent:b}=t;if(io(b))zGt(u,s,b,d,f,p,E,v);else if(!(v&&at(t)&&Z0.Core.isSymbolReferencedInFile(t,d,s))){const B=n_(b)?t:Ps(b)?b.parent:b;H.assert(B!==s,"should not delete whole source file"),u.delete(s,B)}}function zGt(t,u,s,d,f,p,E,v=!1){if(IGt(d,u,s,f,p,E,v))if(s.modifiers&&s.modifiers.length>0&&(!at(s.name)||Z0.Core.isSymbolReferencedInFile(s.name,d,u)))for(const b of s.modifiers)Qo(b)&&t.deleteModifier(u,b);else!s.initializer&&Kot(s,d,f)&&t.delete(u,s)}function Kot(t,u,s){const d=t.parent.parameters.indexOf(t);return!Z0.Core.someSignatureUsage(t.parent,s,u,(f,p)=>!p||p.arguments.length>d)}function IGt(t,u,s,d,f,p,E){const{parent:v}=s;switch(v.kind){case 174:case 176:const b=v.parameters.indexOf(s),B=dc(v)?v.name:v,k=Z0.Core.getReferencedSymbolsForNode(v.pos,B,f,d,p);if(k){for(const T of k)for(const M of T.references)if(M.kind===Z0.EntryKind.Node){const z=HP(M.node)&&Mo(M.node.parent)&&M.node.parent.arguments.length>b,j=Iu(M.node.parent)&&HP(M.node.parent.expression)&&Mo(M.node.parent.parent)&&M.node.parent.parent.arguments.length>b,J=(dc(M.node.parent)||n3(M.node.parent))&&M.node.parent!==s.parent&&M.node.parent.parameters.length>b;if(z||j||J)return!1}}return!0;case 262:return v.name&&RGt(t,u,v.name)?Wot(v,s,E):!0;case 218:case 219:return Wot(v,s,E);case 178:return!1;case 177:return!0;default:return H.failBadSyntaxKind(v)}}function RGt(t,u,s){return!!Z0.Core.eachSymbolReferenceInFile(s,t,u,d=>at(d)&&Mo(d.parent)&&d.parent.arguments.includes(d))}function Wot(t,u,s){const d=t.parameters,f=d.indexOf(u);return H.assert(f!==-1,"The parameter should already be in the list"),s?d.slice(f+1).every(p=>at(p.name)&&!p.symbol.isReferenced):f===d.length-1}function OGt(t){return(Xn(t.parent)&&t.parent.left===t||(vce(t.parent)||zv(t.parent))&&t.parent.operand===t)&&Od(t.parent.parent)}var kK,R4e,O4e,See,j4e,kwe,jGt=o({"src/services/codefixes/fixUnusedIdentifier.ts"(){rr(),rs(),kK="unusedIdentifier",R4e="unusedIdentifier_prefix",O4e="unusedIdentifier_delete",See="unusedIdentifier_deleteImports",j4e="unusedIdentifier_infer",kwe=[F._0_is_declared_but_its_value_is_never_read.code,F._0_is_declared_but_never_used.code,F.Property_0_is_declared_but_its_value_is_never_read.code,F.All_imports_in_import_declaration_are_unused.code,F.All_destructured_elements_are_unused.code,F.All_variables_are_unused.code,F.All_type_parameters_are_unused.code],Xo({errorCodes:kwe,getCodeActions(t){const{errorCode:u,sourceFile:s,program:d,cancellationToken:f}=t,p=d.getTypeChecker(),E=d.getSourceFiles(),v=Ca(s,t.span.start);if(_g(v))return[yK(iu.ChangeTracker.with(t,T=>T.delete(s,v)),F.Remove_template_tag)];if(v.kind===30){const T=iu.ChangeTracker.with(t,M=>Rot(M,s,v));return[yK(T,F.Remove_type_parameters)]}const b=Oot(v);if(b){const T=iu.ChangeTracker.with(t,M=>M.delete(s,b));return[Ro(kK,T,[F.Remove_import_from_0,$ye(b)],See,F.Delete_all_unused_imports)]}else if(ywe(v)){const T=iu.ChangeTracker.with(t,M=>I4e(s,v,M,p,E,d,f,!1));if(T.length)return[Ro(kK,T,[F.Remove_unused_declaration_for_Colon_0,v.getText(s)],See,F.Delete_all_unused_imports)]}if(Rp(v.parent)||_k(v.parent)){if(io(v.parent.parent)){const T=v.parent.elements,M=[T.length>1?F.Remove_unused_declarations_for_Colon_0:F.Remove_unused_declaration_for_Colon_0,Vt(T,z=>z.getText(s)).join(", ")];return[yK(iu.ChangeTracker.with(t,z=>LGt(z,s,v.parent)),M)]}return[yK(iu.ChangeTracker.with(t,T=>NGt(t,T,s,v.parent)),F.Remove_unused_destructuring_declaration)]}if(jot(s,v))return[yK(iu.ChangeTracker.with(t,T=>Vot(T,s,v.parent)),F.Remove_variable_statement)];const B=[];if(v.kind===140){const T=iu.ChangeTracker.with(t,z=>Iot(z,s,v)),M=Po(v.parent,P7).typeParameter.name.text;B.push(Ro(kK,T,[F.Replace_infer_0_with_unknown,M],j4e,F.Replace_all_unused_infer_with_unknown))}else{const T=iu.ChangeTracker.with(t,M=>I4e(s,v,M,p,E,d,f,!1));if(T.length){const M=Ps(v.parent)?v.parent:v;B.push(yK(T,[F.Remove_unused_declaration_for_Colon_0,M.getText(s)]))}}const k=iu.ChangeTracker.with(t,T=>Hot(T,u,s,v));return k.length&&B.push(Ro(kK,k,[F.Prefix_0_with_an_underscore,v.getText(s)],R4e,F.Prefix_all_unused_declarations_with_where_possible)),B},fixIds:[R4e,O4e,See,j4e],getAllCodeActions:t=>{const{sourceFile:u,program:s,cancellationToken:d}=t,f=s.getTypeChecker(),p=s.getSourceFiles();return f0(t,kwe,(E,v)=>{const b=Ca(u,v.start);switch(t.fixId){case R4e:Hot(E,v.code,u,b);break;case See:{const B=Oot(b);B?E.delete(u,B):ywe(b)&&I4e(u,b,E,f,p,s,d,!0);break}case O4e:{if(b.kind===140||ywe(b))break;if(_g(b))E.delete(u,b);else if(b.kind===30)Rot(E,u,b);else if(Rp(b.parent)){if(b.parent.parent.initializer)break;(!io(b.parent.parent)||Kot(b.parent.parent,f,p))&&E.delete(u,b.parent.parent)}else{if(_k(b.parent.parent)&&b.parent.parent.parent.initializer)break;jot(u,b)?Vot(E,u,b.parent):I4e(u,b,E,f,p,s,d,!0)}break}case j4e:b.kind===140&&Iot(E,u,b);break;default:H.fail(JSON.stringify(t.fixId))}})}})}});function Got(t,u,s,d,f){const p=Ca(u,s),E=Tn(p,ia);if(E.getStart(u)!==p.getStart(u)){const b=JSON.stringify({statementKind:H.formatSyntaxKind(E.kind),tokenKind:H.formatSyntaxKind(p.kind),errorCode:f,start:s,length:d});H.fail("Token and statement should start at the same point. "+b)}const v=(po(E.parent)?E.parent:E).parent;if(!po(E.parent)||E===Pn(E.parent.statements))switch(v.kind){case 245:if(v.elseStatement){if(po(E.parent))break;t.replaceNode(u,E,q.createBlock(_t));return}case 247:case 248:t.delete(u,v);return}if(po(E.parent)){const b=s+d,B=H.checkDefined(VGt(wle(E.parent.statements,E),k=>k.posGot(d,t.sourceFile,t.span.start,t.span.length,t.errorCode));return[Ro(V4e,s,F.Remove_unreachable_code,V4e,F.Remove_all_unreachable_code)]},fixIds:[V4e],getAllCodeActions:t=>f0(t,Fwe,(u,s)=>Got(u,s.file,s.start,s.length,s.code))})}});function Jot(t,u,s){const d=Ca(u,s),f=Po(d.parent,V2),p=d.getStart(u),E=f.statement.getStart(u),v=q4(p,E,u)?E:gs(u.text,a0(f,59,u).end,!0);t.deleteRange(u,{pos:p,end:v})}var H4e,Awe,KGt=o({"src/services/codefixes/fixUnusedLabel.ts"(){rr(),rs(),H4e="fixUnusedLabel",Awe=[F.Unused_label.code],Xo({errorCodes:Awe,getCodeActions(t){const u=iu.ChangeTracker.with(t,s=>Jot(s,t.sourceFile,t.span.start));return[Ro(H4e,u,F.Remove_unused_label,H4e,F.Remove_all_unused_labels)]},fixIds:[H4e],getAllCodeActions:t=>f0(t,Awe,(u,s)=>Jot(u,s.file,s.start))})}});function $ot(t,u,s,d,f){t.replaceNode(u,s,f.typeToTypeNode(d,s,void 0))}function Uot(t,u,s){const d=Tn(Ca(t,u),WGt),f=d&&d.type;return f&&{typeNode:f,type:GGt(s,f)}}function WGt(t){switch(t.kind){case 234:case 179:case 180:case 262:case 177:case 181:case 200:case 174:case 173:case 169:case 172:case 171:case 178:case 265:case 216:case 260:return!0;default:return!1}}function GGt(t,u){if(wB(u)){const s=t.getTypeFromTypeNode(u.type);return s===t.getNeverType()||s===t.getVoidType()?s:t.getUnionType(xi([s,t.getUndefinedType()],u.postfix?void 0:t.getNullType()))}return t.getTypeFromTypeNode(u)}var Swe,K4e,Bwe,JGt=o({"src/services/codefixes/fixJSDocTypes.ts"(){rr(),rs(),Swe="fixJSDocTypes_plain",K4e="fixJSDocTypes_nullable",Bwe=[F.JSDoc_types_can_only_be_used_inside_documentation_comments.code,F._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code,F._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code],Xo({errorCodes:Bwe,getCodeActions(t){const{sourceFile:u}=t,s=t.program.getTypeChecker(),d=Uot(u,t.span.start,s);if(!d)return;const{typeNode:f,type:p}=d,E=f.getText(u),v=[b(p,Swe,F.Change_all_jsdoc_style_types_to_TypeScript)];return f.kind===321&&v.push(b(p,K4e,F.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),v;function b(B,k,T){const M=iu.ChangeTracker.with(t,z=>$ot(z,u,f,B,s));return Ro("jdocTypes",M,[F.Change_0_to_1,E,s.typeToString(B)],k,T)}},fixIds:[Swe,K4e],getAllCodeActions(t){const{fixId:u,program:s,sourceFile:d}=t,f=s.getTypeChecker();return f0(t,Bwe,(p,E)=>{const v=Uot(E.file,E.start,f);if(!v)return;const{typeNode:b,type:B}=v,k=b.kind===321&&u===K4e?f.getNullableType(B,32768):B;$ot(p,d,b,k,f)})}})}});function qot(t,u,s){t.replaceNodeWithText(u,s,`${s.text}()`)}function Zot(t,u){const s=Ca(t,u);if(Iu(s.parent)){let d=s.parent;for(;Iu(d.parent);)d=d.parent;return d.name}if(at(s))return s}var W4e,wwe,$Gt=o({"src/services/codefixes/fixMissingCallParentheses.ts"(){rr(),rs(),W4e="fixMissingCallParentheses",wwe=[F.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code],Xo({errorCodes:wwe,fixIds:[W4e],getCodeActions(t){const{sourceFile:u,span:s}=t,d=Zot(u,s.start);if(!d)return;const f=iu.ChangeTracker.with(t,p=>qot(p,t.sourceFile,d));return[Ro(W4e,f,F.Add_missing_call_parentheses,W4e,F.Add_all_missing_call_parentheses)]},getAllCodeActions:t=>f0(t,wwe,(u,s)=>{const d=Zot(s.file,s.start);d&&qot(u,s.file,d)})})}});function UGt(t){if(t.type)return t.type;if(na(t.parent)&&t.parent.type&&u3(t.parent.type))return t.parent.type.type}function Yot(t,u){const s=Ca(t,u),d=Nm(s);if(!d)return;let f;switch(d.kind){case 174:f=d.name;break;case 262:case 218:f=a0(d,100,t);break;case 219:const p=d.typeParameters?30:21;f=a0(d,p,t)||Pn(d.parameters);break;default:return}return f&&{insertBefore:f,returnType:UGt(d)}}function Qot(t,u,{insertBefore:s,returnType:d}){if(d){const f=pj(d);(!f||f.kind!==80||f.text!=="Promise")&&t.replaceNode(u,d,q.createTypeReferenceNode("Promise",q.createNodeArray([d])))}t.insertModifierBefore(u,134,s)}var G4e,Twe,qGt=o({"src/services/codefixes/fixAwaitInSyncFunction.ts"(){rr(),rs(),G4e="fixAwaitInSyncFunction",Twe=[F.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code],Xo({errorCodes:Twe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=Yot(u,s.start);if(!d)return;const f=iu.ChangeTracker.with(t,p=>Qot(p,u,d));return[Ro(G4e,f,F.Add_async_modifier_to_containing_function,G4e,F.Add_all_missing_async_modifiers)]},fixIds:[G4e],getAllCodeActions:function(u){const s=new Map;return f0(u,Twe,(d,f)=>{const p=Yot(f.file,f.start);!p||!Ip(s,$s(p.insertBefore))||Qot(d,u.sourceFile,p)})}})}});function Xot(t,u,s,d,f){let p,E;if(d===F._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)p=u,E=u+s;else if(d===F._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){const v=f.program.getTypeChecker(),b=Ca(t,u).parent;H.assert(wx(b),"error span of fixPropertyOverrideAccessor should only be on an accessor");const B=b.parent;H.assert(mr(B),"erroneous accessors should only be inside classes");const k=Aa(qwe(B,v));if(!k)return[];const T=Yr(V8(b.name)),M=v.getPropertyOfType(v.getTypeAtLocation(k),T);if(!M||!M.valueDeclaration)return[];p=M.valueDeclaration.pos,E=M.valueDeclaration.end,t=zn(M.valueDeclaration)}else H.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+d);return mst(t,f.program,p,E,f,F.Generate_get_and_set_accessors.message)}var Lwe,J4e,ZGt=o({"src/services/codefixes/fixPropertyOverrideAccessor.ts"(){rr(),rs(),Lwe=[F._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,F._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],J4e="fixPropertyOverrideAccessor",Xo({errorCodes:Lwe,getCodeActions(t){const u=Xot(t.sourceFile,t.span.start,t.span.length,t.errorCode,t);if(u)return[Ro(J4e,u,F.Generate_get_and_set_accessors,J4e,F.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[J4e],getAllCodeActions:t=>f0(t,Lwe,(u,s)=>{const d=Xot(s.file,s.start,s.length,s.code,t);if(d)for(const f of d)u.pushRaw(t.sourceFile,f)})})}});function YGt(t,u){switch(t){case F.Parameter_0_implicitly_has_an_1_type.code:case F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return jf(Nm(u))?F.Infer_type_of_0_from_usage:F.Infer_parameter_types_from_usage;case F.Rest_parameter_0_implicitly_has_an_any_type.code:case F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Infer_parameter_types_from_usage;case F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return F.Infer_this_type_of_0_from_usage;default:return F.Infer_type_of_0_from_usage}}function QGt(t){switch(t){case F.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case F.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Variable_0_implicitly_has_an_1_type.code;case F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Parameter_0_implicitly_has_an_1_type.code;case F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Rest_parameter_0_implicitly_has_an_any_type.code;case F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case F._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case F.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Member_0_implicitly_has_an_1_type.code}return t}function est(t,u,s,d,f,p,E,v,b){if(!VN(s.kind)&&s.kind!==80&&s.kind!==26&&s.kind!==110)return;const{parent:B}=s,k=l9(u,f,b,v);switch(d=QGt(d),d){case F.Member_0_implicitly_has_an_1_type.code:case F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(na(B)&&E(B)||ko(B)||Mm(B))return tst(t,k,u,B,f,v,p),k.writeFixes(t),B;if(Iu(B)){const z=FK(B.name,f,p),j=VM(z,B,f,v);if(j){const J=q.createJSDocTypeTag(void 0,q.createJSDocTypeExpression(j),void 0);t.addJSDocTags(u,Po(B.parent.parent,Od),[J])}return k.writeFixes(t),B}return;case F.Variable_0_implicitly_has_an_1_type.code:{const z=f.getTypeChecker().getSymbolAtLocation(s);return z&&z.valueDeclaration&&na(z.valueDeclaration)&&E(z.valueDeclaration)?(tst(t,k,zn(z.valueDeclaration),z.valueDeclaration,f,v,p),k.writeFixes(t),z.valueDeclaration):void 0}}const T=Nm(s);if(T===void 0)return;let M;switch(d){case F.Parameter_0_implicitly_has_an_1_type.code:if(jf(T)){ist(t,k,u,T,f,v,p),M=T;break}case F.Rest_parameter_0_implicitly_has_an_any_type.code:if(E(T)){const z=Po(B,io);XGt(t,k,u,z,T,f,v,p),M=z}break;case F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:zm(T)&&at(T.name)&&($4e(t,k,u,T,FK(T.name,f,p),f,v),M=T);break;case F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:jf(T)&&(ist(t,k,u,T,f,v,p),M=T);break;case F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:iu.isThisTypeAnnotatable(T)&&E(T)&&(eJt(t,u,T,f,v,p),M=T);break;default:return H.fail(String(d))}return k.writeFixes(t),M}function tst(t,u,s,d,f,p,E){at(d.name)&&$4e(t,u,s,d,FK(d.name,f,E),f,p)}function XGt(t,u,s,d,f,p,E,v){if(!at(d.name))return;const b=nJt(f,s,p,v);if(H.assert(f.parameters.length===b.length,"Parameter count and inference count should match"),Qn(f))nst(t,s,b,p,E);else{const B=q0(f)&&!a0(f,21,s);B&&t.insertNodeBefore(s,Pn(f.parameters),q.createToken(21));for(const{declaration:k,type:T}of b)k&&!k.type&&!k.initializer&&$4e(t,u,s,k,T,p,E);B&&t.insertNodeAfter(s,Cr(f.parameters),q.createToken(22))}}function eJt(t,u,s,d,f,p){const E=ust(s,u,d,p);if(!E||!E.length)return;const v=Pwe(d,E,p).thisParameter(),b=VM(v,s,d,f);b&&(Qn(s)?tJt(t,u,s,b):t.tryInsertThisTypeAnnotation(u,s,b))}function tJt(t,u,s,d){t.addJSDocTags(u,s,[q.createJSDocThisTag(void 0,q.createJSDocTypeExpression(d))])}function ist(t,u,s,d,f,p,E){const v=Ki(d.parameters);if(v&&at(d.name)&&at(v.name)){let b=FK(d.name,f,E);b===f.getTypeChecker().getAnyType()&&(b=FK(v.name,f,E)),Qn(d)?nst(t,s,[{declaration:v,type:b}],f,p):$4e(t,u,s,v,b,f,p)}}function $4e(t,u,s,d,f,p,E){const v=VM(f,d,p,E);if(v)if(Qn(s)&&d.kind!==171){const b=na(d)?ur(d.parent.parent,Jl):d;if(!b)return;const B=q.createJSDocTypeExpression(v),k=zm(d)?q.createJSDocReturnTag(void 0,B,void 0):q.createJSDocTypeTag(void 0,B,void 0);t.addJSDocTags(s,b,[k])}else iJt(v,d,s,t,u,Os(p.getCompilerOptions()))||t.tryInsertTypeAnnotation(s,d,v)}function iJt(t,u,s,d,f,p){const E=d9(t,p);return E&&d.tryInsertTypeAnnotation(s,u,E.typeNode)?(L(E.symbols,v=>f.addImportFromExportedSymbol(v,!0)),!0):!1}function nst(t,u,s,d,f){const p=s.length&&s[0].declaration.parent;if(!p)return;const E=qi(s,v=>{const b=v.declaration;if(b.initializer||vv(b)||!at(b.name))return;const B=v.type&&VM(v.type,b,d,f);if(B){const k=q.cloneNode(b.name);return Zn(k,7168),{name:q.cloneNode(b.name),param:b,isOptional:!!v.isOptional,typeNode:B}}});if(E.length)if(q0(p)||A0(p)){const v=q0(p)&&!a0(p,21,u);v&&t.insertNodeBefore(u,Pn(p.parameters),q.createToken(21)),L(E,({typeNode:b,param:B})=>{const k=q.createJSDocTypeTag(void 0,q.createJSDocTypeExpression(b)),T=q.createJSDocComment(void 0,[k]);t.insertNodeAt(u,B.getStart(u),T,{suffix:" "})}),v&&t.insertNodeAfter(u,Cr(p.parameters),q.createToken(22))}else{const v=Vt(E,({name:b,typeNode:B,isOptional:k})=>q.createJSDocParameterTag(void 0,b,!!k,q.createJSDocTypeExpression(B),!1,void 0));t.addJSDocTags(u,p,v)}}function Nwe(t,u,s){return qi(Z0.getReferenceEntriesForNode(-1,t,u,u.getSourceFiles(),s),d=>d.kind!==Z0.EntryKind.Span?ur(d.node,at):void 0)}function FK(t,u,s){const d=Nwe(t,u,s);return Pwe(u,d,s).single()}function nJt(t,u,s,d){const f=ust(t,u,s,d);return f&&Pwe(s,f,d).parameters(t)||t.parameters.map(p=>({declaration:p,type:at(p.name)?FK(p.name,s,d):s.getTypeChecker().getAnyType()}))}function ust(t,u,s,d){let f;switch(t.kind){case 176:f=a0(t,137,u);break;case 219:case 218:const p=t.parent;f=(na(p)||ko(p))&&at(p.name)?p.name:t.name;break;case 262:case 174:case 173:f=t.name;break}if(f)return Nwe(f,s,d)}function Pwe(t,u,s){const d=t.getTypeChecker(),f={string:()=>d.getStringType(),number:()=>d.getNumberType(),Array:Ve=>d.createArrayType(Ve),Promise:Ve=>d.createPromiseType(Ve)},p=[d.getStringType(),d.getNumberType(),d.createArrayType(d.getAnyType()),d.createPromiseType(d.getAnyType())];return{single:b,parameters:B,thisParameter:k};function E(){return{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}}function v(Ve){const We=new Map;for(const Yt of Ve)Yt.properties&&Yt.properties.forEach((Ie,st)=>{We.has(st)||We.set(st,[]),We.get(st).push(Ie)});const Gt=new Map;return We.forEach((Yt,Ie)=>{Gt.set(Ie,v(Yt))}),{isNumber:Ve.some(Yt=>Yt.isNumber),isString:Ve.some(Yt=>Yt.isString),isNumberOrString:Ve.some(Yt=>Yt.isNumberOrString),candidateTypes:ju(Ve,Yt=>Yt.candidateTypes),properties:Gt,calls:ju(Ve,Yt=>Yt.calls),constructs:ju(Ve,Yt=>Yt.constructs),numberIndex:L(Ve,Yt=>Yt.numberIndex),stringIndex:L(Ve,Yt=>Yt.stringIndex),candidateThisTypes:ju(Ve,Yt=>Yt.candidateThisTypes),inferredTypes:void 0}}function b(){return Se(T(u))}function B(Ve){if(u.length===0||!Ve.parameters)return;const We=E();for(const Yt of u)s.throwIfCancellationRequested(),M(Yt,We);const Gt=[...We.constructs||[],...We.calls||[]];return Ve.parameters.map((Yt,Ie)=>{const st=[],St=$_(Yt);let It=!1;for(const ht of Gt)if(ht.argumentTypes.length<=Ie)It=Qn(Ve),st.push(d.getUndefinedType());else if(St)for(let Ut=Ie;UtGt.every(Ie=>!Ie(Yt)))}function ve(Ve){return Se(pe(Ve))}function Se(Ve){if(!Ve.length)return d.getAnyType();const We=d.getUnionType([d.getStringType(),d.getNumberType()]);let Yt=ne(Ve,[{high:st=>st===d.getStringType()||st===d.getNumberType(),low:st=>st===We},{high:st=>!(st.flags&16385),low:st=>!!(st.flags&16385)},{high:st=>!(st.flags&114689)&&!(Gu(st)&16),low:st=>!!(Gu(st)&16)}]);const Ie=Yt.filter(st=>Gu(st)&16);return Ie.length&&(Yt=Yt.filter(st=>!(Gu(st)&16)),Yt.push(Ne(Ie))),d.getWidenedType(d.getUnionType(Yt.map(d.getBaseTypeOfLiteralType),2))}function Ne(Ve){if(Ve.length===1)return Ve[0];const We=[],Gt=[],Yt=[],Ie=[];let st=!1,St=!1;const It=wm();for(const Ut of Ve){for(const xn of d.getPropertiesOfType(Ut))It.add(xn.escapedName,xn.valueDeclaration?d.getTypeOfSymbolAtLocation(xn,xn.valueDeclaration):d.getAnyType());We.push(...d.getSignaturesOfType(Ut,0)),Gt.push(...d.getSignaturesOfType(Ut,1));const Ni=d.getIndexInfoOfType(Ut,0);Ni&&(Yt.push(Ni.type),st=st||Ni.isReadonly);const ji=d.getIndexInfoOfType(Ut,1);ji&&(Ie.push(ji.type),St=St||ji.isReadonly)}const ei=ci(It,(Ut,Ni)=>{const ji=Ni.lengthd.getBaseTypeOfLiteralType(It)),St=(Yt=Ve.calls)!=null&&Yt.length?fe(Ve):void 0;return St&&st?Ie.push(d.getUnionType([St,...st],2)):(St&&Ie.push(St),S(st)&&Ie.push(...st)),Ie.push(...xe(Ve)),Ie}function fe(Ve){const We=new Map;Ve.properties&&Ve.properties.forEach((st,St)=>{const It=d.createSymbol(4,St);It.links.type=ve(st),We.set(St,It)});const Gt=Ve.calls?[Je(Ve.calls)]:[],Yt=Ve.constructs?[Je(Ve.constructs)]:[],Ie=Ve.stringIndex?[d.createIndexInfo(d.getStringType(),ve(Ve.stringIndex),!1)]:[];return d.createAnonymousType(void 0,We,Gt,Yt,Ie)}function xe(Ve){if(!Ve.properties||!Ve.properties.size)return[];const We=p.filter(Gt=>Be(Gt,Ve));return 0Ge(Gt,Ve)):[]}function Be(Ve,We){return We.properties?!h1(We.properties,(Gt,Yt)=>{const Ie=d.getTypeOfPropertyOfType(Ve,Yt);return Ie?Gt.calls?!d.getSignaturesOfType(Ie,0).length||!d.isTypeAssignableTo(Ie,Ke(Gt.calls)):!d.isTypeAssignableTo(Ie,ve(Gt)):!0}):!1}function Ge(Ve,We){if(!(Gu(Ve)&4)||!We.properties)return Ve;const Gt=Ve.target,Yt=Aa(Gt.typeParameters);if(!Yt)return Ve;const Ie=[];return We.properties.forEach((st,St)=>{const It=d.getTypeOfPropertyOfType(Gt,St);H.assert(!!It,"generic should have all the properties of its reference."),Ie.push(...Ae(It,ve(st),Yt))}),f[Ve.symbol.escapedName](Se(Ie))}function Ae(Ve,We,Gt){if(Ve===Gt)return[We];if(Ve.flags&3145728)return ju(Ve.types,st=>Ae(st,We,Gt));if(Gu(Ve)&4&&Gu(We)&4){const st=d.getTypeArguments(Ve),St=d.getTypeArguments(We),It=[];if(st&&St)for(let ei=0;eiIe.argumentTypes.length));for(let Ie=0;IeSt.argumentTypes[Ie]||d.getUndefinedType())),Ve.some(St=>St.argumentTypes[Ie]===void 0)&&(st.flags|=16777216),We.push(st)}const Yt=ve(v(Ve.map(Ie=>Ie.return_)));return d.createSignature(void 0,void 0,void 0,We,Yt,void 0,Gt,0)}function ft(Ve,We){We&&!(We.flags&1)&&!(We.flags&131072)&&(Ve.candidateTypes||(Ve.candidateTypes=[])).push(We)}function Ye(Ve,We){We&&!(We.flags&1)&&!(We.flags&131072)&&(Ve.candidateThisTypes||(Ve.candidateThisTypes=[])).push(We)}}var U4e,Mwe,uJt=o({"src/services/codefixes/inferFromUsage.ts"(){rr(),rs(),U4e="inferFromUsage",Mwe=[F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,F.Variable_0_implicitly_has_an_1_type.code,F.Parameter_0_implicitly_has_an_1_type.code,F.Rest_parameter_0_implicitly_has_an_any_type.code,F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,F.Member_0_implicitly_has_an_1_type.code,F.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,F.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,F._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,F.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],Xo({errorCodes:Mwe,getCodeActions(t){const{sourceFile:u,program:s,span:{start:d},errorCode:f,cancellationToken:p,host:E,preferences:v}=t,b=Ca(u,d);let B;const k=iu.ChangeTracker.with(t,M=>{B=est(M,u,b,f,s,p,J3,E,v)}),T=B&&Za(B);return!T||k.length===0?void 0:[Ro(U4e,k,[YGt(f,b),Hc(T)],U4e,F.Infer_all_types_from_usage)]},fixIds:[U4e],getAllCodeActions(t){const{sourceFile:u,program:s,cancellationToken:d,host:f,preferences:p}=t,E=i9();return f0(t,Mwe,(v,b)=>{est(v,u,Ca(b.file,b.start),b.code,s,d,E,f,p)})}})}});function rst(t,u,s){if(Qn(t))return;const d=Ca(t,s),f=Tn(d,$0),p=f==null?void 0:f.type;if(!p)return;const E=u.getTypeFromTypeNode(p),v=u.getAwaitedType(E)||u.getVoidType(),b=u.typeToTypeNode(v,p,void 0);if(b)return{returnTypeNode:p,returnType:E,promisedTypeNode:b,promisedType:v}}function ast(t,u,s,d){t.replaceNode(u,s,q.createTypeReferenceNode("Promise",[d]))}var q4e,zwe,rJt=o({"src/services/codefixes/fixReturnTypeInAsyncFunction.ts"(){rr(),rs(),q4e="fixReturnTypeInAsyncFunction",zwe=[F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code],Xo({errorCodes:zwe,fixIds:[q4e],getCodeActions:function(u){const{sourceFile:s,program:d,span:f}=u,p=d.getTypeChecker(),E=rst(s,d.getTypeChecker(),f.start);if(!E)return;const{returnTypeNode:v,returnType:b,promisedTypeNode:B,promisedType:k}=E,T=iu.ChangeTracker.with(u,M=>ast(M,s,v,B));return[Ro(q4e,T,[F.Replace_0_with_Promise_1,p.typeToString(b),p.typeToString(k)],q4e,F.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:t=>f0(t,zwe,(u,s)=>{const d=rst(s.file,t.program.getTypeChecker(),s.start);d&&ast(u,s.file,d.returnTypeNode,d.promisedTypeNode)})})}});function ost(t,u,s,d){const{line:f}=s0(u,s);(!d||r0(d,f))&&t.insertCommentBeforeLine(u,f,s," @ts-ignore")}var Iwe,Rwe,Owe,aJt=o({"src/services/codefixes/disableJsDiagnostics.ts"(){rr(),rs(),Iwe="disableJsDiagnostics",Rwe="disableJsDiagnostics",Owe=qi(Object.keys(F),t=>{const u=F[t];return u.category===1?u.code:void 0}),Xo({errorCodes:Owe,getCodeActions:function(u){const{sourceFile:s,program:d,span:f,host:p,formatContext:E}=u;if(!Qn(s)||!uV(s,d.getCompilerOptions()))return;const v=s.checkJsDirective?"":E5(p,E.options),b=[Cg(Iwe,[frt(s.fileName,[VH(s.checkJsDirective?Vc(s.checkJsDirective.pos,s.checkJsDirective.end):d1(0,0),`// @ts-nocheck${v}`)])],F.Disable_checking_for_this_file)];return iu.isValidLocationToAddComment(s,f.start)&&b.unshift(Ro(Iwe,iu.ChangeTracker.with(u,B=>ost(B,s,f.start)),F.Ignore_this_error_message,Rwe,F.Add_ts_ignore_to_all_error_messages)),b},fixIds:[Rwe],getAllCodeActions:t=>{const u=new Set;return f0(t,Owe,(s,d)=>{iu.isValidLocationToAddComment(d.file,d.start)&&ost(s,d.file,d.start,u)})}})}});function jwe(t,u,s,d,f,p,E){const v=t.symbol.members;for(const b of u)v.has(b.escapedName)||sst(b,t,s,d,f,p,E,void 0)}function xw(t){return{trackSymbol:()=>!1,moduleResolverHost:rfe(t.program,t.host)}}function sst(t,u,s,d,f,p,E,v,b=3,B=!1){const k=t.getDeclarations(),T=Ki(k),M=d.program.getTypeChecker(),z=Os(d.program.getCompilerOptions()),j=(T==null?void 0:T.kind)??171,J=xe(t,T),K=T?Eh(T):0;let Y=K&256;Y|=K&1?1:K&4?4:0,T&&ef(T)&&(Y|=512);const oe=ve(),se=M.getWidenedType(M.getTypeOfSymbolAtLocation(t,u)),ge=!!(t.flags&16777216),ae=!!(u.flags&33554432)||B,Ce=Hm(s,f);switch(j){case 171:case 172:const Be=Ce===0?268435456:void 0;let Ge=M.typeToTypeNode(se,u,Be,xw(d));if(p){const De=d9(Ge,z);De&&(Ge=De.typeNode,vw(p,De.symbols))}E(q.createPropertyDeclaration(oe,T?Ne(J):t.getName(),ge&&b&2?q.createToken(58):void 0,Ge,void 0));break;case 177:case 178:{H.assertIsDefined(k);let De=M.typeToTypeNode(se,u,void 0,xw(d));const Ke=dk(k,T),Je=Ke.secondAccessor?[Ke.firstAccessor,Ke.secondAccessor]:[Ke.firstAccessor];if(p){const ft=d9(De,z);ft&&(De=ft.typeNode,vw(p,ft.symbols))}for(const ft of Je)if(zm(ft))E(q.createGetAccessorDeclaration(oe,Ne(J),_t,fe(De),pe(v,Ce,ae)));else{H.assertNode(ft,jf,"The counterpart to a getter should be a setter");const Ye=hP(ft),Ve=Ye&&at(Ye.name)?fu(Ye.name):void 0;E(q.createSetAccessorDeclaration(oe,Ne(J),Hwe(1,[Ve],[fe(De)],1,!1),pe(v,Ce,ae)))}break}case 173:case 174:H.assertIsDefined(k);const Ae=se.isUnion()?ju(se.types,De=>De.getCallSignatures()):se.getCallSignatures();if(!Oe(Ae))break;if(k.length===1){H.assert(Ae.length===1,"One declaration implies one signature");const De=Ae[0];ne(Ce,De,oe,Ne(J),pe(v,Ce,ae));break}for(const De of Ae)ne(Ce,De,oe,Ne(J));if(!ae)if(k.length>Ae.length){const De=M.getSignatureFromDeclaration(k[k.length-1]);ne(Ce,De,oe,Ne(J),pe(v,Ce))}else H.assert(k.length===Ae.length,"Declarations and signatures should match count"),E(lJt(M,d,u,Ae,Ne(J),ge&&!!(b&1),oe,Ce,v));break}function ne(Be,Ge,Ae,De,Ke){const Je=Z4e(174,d,Be,Ge,Ke,De,Ae,ge&&!!(b&1),u,p);Je&&E(Je)}function ve(){let Be;return Y&&(Be=vo(Be,q.createModifiersFromModifierFlags(Y))),Se()&&(Be=xi(Be,q.createToken(164))),Be&&q.createNodeArray(Be)}function Se(){return!!(d.program.getCompilerOptions().noImplicitOverride&&T&&P2(T))}function Ne(Be){return at(Be)&&Be.escapedText==="constructor"?q.createComputedPropertyName(q.createStringLiteral(fu(Be),Ce===0)):ll(Be,!1)}function pe(Be,Ge,Ae){return Ae?void 0:ll(Be,!1)||Kwe(Ge)}function fe(Be){return ll(Be,!1)}function xe(Be,Ge){if(Gl(Be)&262144){const Ae=Be.links.nameType;if(Ae&&Y4(Ae))return q.createIdentifier(Yr(Q4(Ae)))}return ll(Za(Ge),!1)}}function Z4e(t,u,s,d,f,p,E,v,b,B){const k=u.program,T=k.getTypeChecker(),M=Os(k.getCompilerOptions()),z=Qn(b),j=524545|(s===0?268435456:0),J=T.signatureToSignatureDeclaration(d,t,b,j,xw(u));if(!J)return;let K=z?void 0:J.typeParameters,Y=J.parameters,oe=z?void 0:J.type;if(B){if(K){const Ce=Lu(K,ne=>{let ve=ne.constraint,Se=ne.default;if(ve){const Ne=d9(ve,M);Ne&&(ve=Ne.typeNode,vw(B,Ne.symbols))}if(Se){const Ne=d9(Se,M);Ne&&(Se=Ne.typeNode,vw(B,Ne.symbols))}return q.updateTypeParameterDeclaration(ne,ne.modifiers,ne.name,ve,Se)});K!==Ce&&(K=Pt(q.createNodeArray(Ce,K.hasTrailingComma),K))}const ae=Lu(Y,Ce=>{let ne=z?void 0:Ce.type;if(ne){const ve=d9(ne,M);ve&&(ne=ve.typeNode,vw(B,ve.symbols))}return q.updateParameterDeclaration(Ce,Ce.modifiers,Ce.dotDotDotToken,Ce.name,z?void 0:Ce.questionToken,ne,Ce.initializer)});if(Y!==ae&&(Y=Pt(q.createNodeArray(ae,Y.hasTrailingComma),Y)),oe){const Ce=d9(oe,M);Ce&&(oe=Ce.typeNode,vw(B,Ce.symbols))}}const se=v?q.createToken(58):void 0,ge=J.asteriskToken;if(A0(J))return q.updateFunctionExpression(J,E,J.asteriskToken,ur(p,at),K,Y,oe,f??J.body);if(q0(J))return q.updateArrowFunction(J,E,K,Y,oe,J.equalsGreaterThanToken,f??J.body);if(dc(J))return q.updateMethodDeclaration(J,E,ge,p??q.createIdentifier(""),se,K,Y,oe,f);if(ed(J))return q.updateFunctionDeclaration(J,E,J.asteriskToken,ur(p,at),K,Y,oe,f??J.body)}function Vwe(t,u,s,d,f,p,E){const v=Hm(u.sourceFile,u.preferences),b=Os(u.program.getCompilerOptions()),B=xw(u),k=u.program.getTypeChecker(),T=Qn(E),{typeArguments:M,arguments:z,parent:j}=d,J=T?void 0:k.getContextualType(d),K=Vt(z,Se=>at(Se)?Se.text:Iu(Se)&&at(Se.name)?Se.name.text:void 0),Y=T?[]:Vt(z,Se=>k.getTypeAtLocation(Se)),{argumentTypeNodes:oe,argumentTypeParameters:se}=dst(k,s,Y,E,b,1,B),ge=p?q.createNodeArray(q.createModifiersFromModifierFlags(p)):void 0,ae=cY(j)?q.createToken(42):void 0,Ce=T?void 0:oJt(k,se,M),ne=Hwe(z.length,K,oe,void 0,T),ve=T||J===void 0?void 0:k.typeToTypeNode(J,E,void 0,B);switch(t){case 174:return q.createMethodDeclaration(ge,ae,f,void 0,Ce,ne,ve,Kwe(v));case 173:return q.createMethodSignature(ge,f,void 0,Ce,ne,ve===void 0?q.createKeywordTypeNode(159):ve);case 262:return H.assert(typeof f=="string"||at(f),"Unexpected name"),q.createFunctionDeclaration(ge,ae,f,Ce,ne,ve,Bee(F.Function_not_implemented.message,v));default:H.fail("Unexpected kind")}}function oJt(t,u,s){const d=new Set(u.map(p=>p[0])),f=new Map(u);if(s){const p=s.filter(v=>!u.some(b=>{var B;return t.getTypeAtLocation(v)===((B=b[1])==null?void 0:B.argumentType)})),E=d.size+p.length;for(let v=0;d.size{var E;return q.createTypeParameterDeclaration(void 0,p,(E=f.get(p))==null?void 0:E.constraint)})}function lst(t){return 84+t<=90?String.fromCharCode(84+t):`T${t}`}function Y4e(t,u,s,d,f,p,E){let v=t.typeToTypeNode(s,d,p,E);if(v&&nD(v)){const b=d9(v,f);b&&(vw(u,b.symbols),v=b.typeNode)}return ll(v)}function cst(t){return t.isUnionOrIntersection()?t.types.some(cst):t.flags&262144}function dst(t,u,s,d,f,p,E){const v=[],b=new Map;for(let B=0;B=d?q.createToken(58):void 0,f?void 0:(s==null?void 0:s[v])||q.createKeywordTypeNode(159),void 0);p.push(k)}return p}function lJt(t,u,s,d,f,p,E,v,b){let B=d[0],k=d[0].minArgumentCount,T=!1;for(const J of d)k=Math.min(J.minArgumentCount,k),th(J)&&(T=!0),J.parameters.length>=B.parameters.length&&(!th(J)||th(B))&&(B=J);const M=B.parameters.length-(th(B)?1:0),z=B.parameters.map(J=>J.name),j=Hwe(M,z,void 0,k,!1);if(T){const J=q.createParameterDeclaration(void 0,q.createToken(26),z[M]||"rest",M>=k?q.createToken(58):void 0,q.createArrayTypeNode(q.createKeywordTypeNode(159)),void 0);j.push(J)}return dJt(E,f,p,void 0,j,cJt(d,t,u,s),v,b)}function cJt(t,u,s,d){if(S(t)){const f=u.getUnionType(Vt(t,u.getReturnTypeOfSignature));return u.typeToTypeNode(f,d,1,xw(s))}}function dJt(t,u,s,d,f,p,E,v){return q.createMethodDeclaration(t,void 0,u,s?q.createToken(58):void 0,d,f,p,v||Kwe(E))}function Kwe(t){return Bee(F.Method_not_implemented.message,t)}function Bee(t,u){return q.createBlock([q.createThrowStatement(q.createNewExpression(q.createIdentifier("Error"),void 0,[q.createStringLiteral(t,u===0)]))],!0)}function Wwe(t,u,s){const d=ZN(u);if(!d)return;const f=Jwe(d,"compilerOptions");if(f===void 0){t.insertNodeAtObjectStart(u,d,Q4e("compilerOptions",q.createObjectLiteralExpression(s.map(([E,v])=>Q4e(E,v)),!0)));return}const p=f.initializer;if(ys(p))for(const[E,v]of s){const b=Jwe(p,E);b===void 0?t.insertNodeAtObjectStart(u,p,Q4e(E,v)):t.replaceNode(u,b.initializer,v)}}function Gwe(t,u,s,d){Wwe(t,u,[[s,d]])}function Q4e(t,u){return q.createPropertyAssignment(q.createStringLiteral(t),u)}function Jwe(t,u){return Le(t.properties,s=>Jc(s)&&!!s.name&&us(s.name)&&s.name.text===u)}function d9(t,u){let s;const d=yt(t,f,Qr);if(s&&d)return{typeNode:d,symbols:s};function f(p){if(zx(p)&&p.qualifier){const E=hm(p.qualifier),v=IX(E.symbol,u),b=v!==E.text?fst(p.qualifier,q.createIdentifier(v)):p.qualifier;s=xi(s,E.symbol);const B=kn(p.typeArguments,f,Qr);return q.createTypeReferenceNode(b,B)}return rn(p,f,Dg)}}function fst(t,u){return t.kind===80?u:q.createQualifiedName(fst(t.left,u),t.right)}function vw(t,u){u.forEach(s=>t.addImportFromExportedSymbol(s,!0))}function $we(t,u){const s=Ec(u);let d=Ca(t,u.start);for(;d.end(t[t.Method=1]="Method",t[t.Property=2]="Property",t[t.All=3]="All",t))(Uwe||{})}});function mst(t,u,s,d,f,p){const E=Est(t,u,s,d);if(!E||a9.isRefactorErrorInfo(E))return;const v=iu.ChangeTracker.fromContext(f),{isStatic:b,isReadonly:B,fieldName:k,accessorName:T,originalName:M,type:z,container:j,declaration:J}=E;Kf(k),Kf(T),Kf(J),Kf(j);let K,Y;if(mr(j)){const se=Eh(J);if(gh(t)){const ge=q.createModifiersFromModifierFlags(se);K=ge,Y=ge}else K=q.createModifiersFromModifierFlags(pJt(se)),Y=q.createModifiersFromModifierFlags(gJt(se));Ak(J)&&(Y=Hi(Ax(J),Y))}vJt(v,t,J,z,k,Y);const oe=EJt(k,T,z,K,b,j);if(Kf(oe),_st(v,t,oe,J,j),B){const se=X_(j);se&&CJt(v,t,se,k.text,M)}else{const se=_Jt(k,T,z,K,b,j);Kf(se),_st(v,t,se,J,j)}return v.getChanges()}function fJt(t){return at(t)||us(t)}function mJt(t){return Mf(t,t.parent)||ko(t)||Jc(t)}function pst(t,u){return at(u)?q.createIdentifier(t):q.createStringLiteral(t)}function gst(t,u,s){const d=u?s.name:q.createThis();return at(t)?q.createPropertyAccessExpression(d,t):q.createElementAccessExpression(d,q.createStringLiteralFromNode(t))}function pJt(t){return t&=-9,t&=-3,t&4||(t|=1),t}function gJt(t){return t&=-2,t&=-5,t|=2,t}function Est(t,u,s,d,f=!0){const p=Ca(t,s),E=s===d&&f,v=Tn(p.parent,mJt),b=271;if(!v||!(rX(v.name,t,s,d)||E))return{error:to(F.Could_not_find_property_for_which_to_generate_accessor)};if(!fJt(v.name))return{error:to(F.Name_is_not_valid)};if((Eh(v)&98303|b)!==b)return{error:to(F.Can_only_convert_property_with_modifier)};const B=v.name.text,k=Afe(B),T=pst(k?B:Ok(`_${B}`,t),v.name),M=pst(k?Ok(B.substring(1),t):B,v.name);return{isStatic:Kc(v),isReadonly:fP(v),type:bJt(v,u),container:v.kind===169?v.parent.parent:v.parent,originalName:v.name.text,declaration:v,fieldName:T,accessorName:M,renameAccessor:k}}function EJt(t,u,s,d,f,p){return q.createGetAccessorDeclaration(d,u,[],s,q.createBlock([q.createReturnStatement(gst(t,f,p))],!0))}function _Jt(t,u,s,d,f,p){return q.createSetAccessorDeclaration(d,u,[q.createParameterDeclaration(void 0,void 0,q.createIdentifier("value"),void 0,s)],q.createBlock([q.createExpressionStatement(q.createAssignment(gst(t,f,p),q.createIdentifier("value")))],!0))}function DJt(t,u,s,d,f,p){const E=q.updatePropertyDeclaration(s,p,f,s.questionToken||s.exclamationToken,d,s.initializer);t.replaceNode(u,s,E)}function xJt(t,u,s,d){let f=q.updatePropertyAssignment(s,d,s.initializer);(f.modifiers||f.questionToken||f.exclamationToken)&&(f===s&&(f=q.cloneNode(f)),f.modifiers=void 0,f.questionToken=void 0,f.exclamationToken=void 0),t.replacePropertyAssignment(u,s,f)}function vJt(t,u,s,d,f,p){ko(s)?DJt(t,u,s,d,f,p):Jc(s)?xJt(t,u,s,f):t.replaceNode(u,s,q.updateParameterDeclaration(s,p,s.dotDotDotToken,Po(f,at),s.questionToken,s.type,s.initializer))}function _st(t,u,s,d,f){Mf(d,d.parent)?t.insertMemberAtStart(u,f,s):Jc(d)?t.insertNodeAfterComma(u,d,s):t.insertNodeAfter(u,d,s)}function CJt(t,u,s,d,f){s.body&&s.body.forEachChild(function p(E){U0(E)&&E.expression.kind===110&&us(E.argumentExpression)&&E.argumentExpression.text===f&&D7(E)&&t.replaceNode(u,E.argumentExpression,q.createStringLiteral(d)),Iu(E)&&E.expression.kind===110&&E.name.text===f&&D7(E)&&t.replaceNode(u,E.name,q.createIdentifier(d)),!Co(E)&&!mr(E)&&E.forEachChild(p)})}function bJt(t,u){const s=Cye(t);if(ko(t)&&s&&t.questionToken){const d=u.getTypeChecker(),f=d.getTypeFromTypeNode(s);if(!d.isTypeAssignableTo(d.getUndefinedType(),f)){const p=Pv(s)?s.types:[s];return q.createUnionTypeNode([...p,q.createKeywordTypeNode(157)])}}return s}function qwe(t,u){const s=[];for(;t;){const d=B2(t),f=d&&u.getSymbolAtLocation(d.expression);if(!f)break;const p=f.flags&2097152?u.getAliasedSymbol(f):f,E=p.declarations&&Le(p.declarations,mr);if(!E)break;s.push(E),t=E}return s}var yJt=o({"src/services/codefixes/generateAccessors.ts"(){rr()}});function kJt(t,u){const s=zn(u),d=Q8(u),f=t.program.getCompilerOptions(),p=[];return p.push(Dst(t,s,u,g5(d.name,void 0,u.moduleSpecifier,Hm(s,t.preferences)))),m1(f)===1&&p.push(Dst(t,s,u,q.createImportEqualsDeclaration(void 0,!1,d.name,q.createExternalModuleReference(u.moduleSpecifier)))),p}function Dst(t,u,s,d){const f=iu.ChangeTracker.with(t,p=>p.replaceNode(u,s,d));return Cg(Zwe,f,[F.Replace_import_with_0,f[0].textChanges[0].newText])}function FJt(t){const u=t.sourceFile,s=F.This_expression_is_not_callable.code===t.errorCode?213:214,d=Tn(Ca(u,t.span.start),p=>p.kind===s);if(!d)return[];const f=d.expression;return xst(t,f)}function AJt(t){const u=t.sourceFile,s=Tn(Ca(u,t.span.start),d=>d.getStart()===t.span.start&&d.getEnd()===t.span.start+t.span.length);return s?xst(t,s):[]}function xst(t,u){const s=t.program.getTypeChecker().getTypeAtLocation(u);if(!(s.symbol&&qE(s.symbol)&&s.symbol.links.originatingImport))return[];const d=[],f=s.symbol.links.originatingImport;if(dm(f)||yn(d,kJt(t,f)),Wt(u)&&!(mh(u.parent)&&u.parent.name===u)){const p=t.sourceFile,E=iu.ChangeTracker.with(t,v=>v.replaceNode(p,u,q.createPropertyAccessExpression(u,"default"),{}));d.push(Cg(Zwe,E,F.Use_synthetic_default_member))}return d}var Zwe,SJt=o({"src/services/codefixes/fixInvalidImportSyntax.ts"(){rr(),rs(),Zwe="invalidImportSyntax",Xo({errorCodes:[F.This_expression_is_not_callable.code,F.This_expression_is_not_constructable.code],getCodeActions:FJt}),Xo({errorCodes:[F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,F.Type_0_does_not_satisfy_the_constraint_1.code,F.Type_0_is_not_assignable_to_type_1.code,F.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,F.Type_predicate_0_is_not_assignable_to_1.code,F.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,F._0_index_type_1_is_not_assignable_to_2_index_type_3.code,F.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,F.Property_0_in_type_1_is_not_assignable_to_type_2.code,F.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,F.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:AJt})}});function vst(t,u){const s=Ca(t,u);if(at(s)&&ko(s.parent)){const d=f1(s.parent);if(d)return{type:d,prop:s.parent,isJs:Qn(s.parent)}}}function BJt(t,u){if(u.isJs)return;const s=iu.ChangeTracker.with(t,d=>Cst(d,t.sourceFile,u.prop));return Ro(X4e,s,[F.Add_definite_assignment_assertion_to_property_0,u.prop.getText()],epe,F.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function Cst(t,u,s){Kf(s);const d=q.updatePropertyDeclaration(s,s.modifiers,s.name,q.createToken(54),s.type,s.initializer);t.replaceNode(u,s,d)}function wJt(t,u){const s=iu.ChangeTracker.with(t,d=>bst(d,t.sourceFile,u));return Ro(X4e,s,[F.Add_undefined_type_to_property_0,u.prop.name.getText()],tpe,F.Add_undefined_type_to_all_uninitialized_properties)}function bst(t,u,s){const d=q.createKeywordTypeNode(157),f=Pv(s.type)?s.type.types.concat(d):[s.type,d],p=q.createUnionTypeNode(f);s.isJs?t.addJSDocTags(u,s.prop,[q.createJSDocTypeTag(void 0,q.createJSDocTypeExpression(p))]):t.replaceNode(u,s.type,p)}function TJt(t,u){if(u.isJs)return;const s=t.program.getTypeChecker(),d=kst(s,u.prop);if(!d)return;const f=iu.ChangeTracker.with(t,p=>yst(p,t.sourceFile,u.prop,d));return Ro(X4e,f,[F.Add_initializer_to_property_0,u.prop.name.getText()],ipe,F.Add_initializers_to_all_uninitialized_properties)}function yst(t,u,s,d){Kf(s);const f=q.updatePropertyDeclaration(s,s.modifiers,s.name,s.questionToken,s.type,d);t.replaceNode(u,s,f)}function kst(t,u){return Fst(t,t.getTypeFromTypeNode(u.type))}function Fst(t,u){if(u.flags&512)return u===t.getFalseType()||u===t.getFalseType(!0)?q.createFalse():q.createTrue();if(u.isStringLiteral())return q.createStringLiteral(u.value);if(u.isNumberLiteral())return q.createNumericLiteral(u.value);if(u.flags&2048)return q.createBigIntLiteral(u.value);if(u.isUnion())return G(u.types,s=>Fst(t,s));if(u.isClass()){const s=tD(u.symbol);if(!s||Yu(s,64))return;const d=X_(s);return d&&d.parameters.length?void 0:q.createNewExpression(q.createIdentifier(u.symbol.name),void 0,void 0)}else if(t.isArrayLikeType(u))return q.createArrayLiteralExpression()}var X4e,epe,tpe,ipe,Ywe,LJt=o({"src/services/codefixes/fixStrictClassInitialization.ts"(){rr(),rs(),X4e="strictClassInitialization",epe="addMissingPropertyDefiniteAssignmentAssertions",tpe="addMissingPropertyUndefinedType",ipe="addMissingPropertyInitializer",Ywe=[F.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code],Xo({errorCodes:Ywe,getCodeActions:function(u){const s=vst(u.sourceFile,u.span.start);if(!s)return;const d=[];return xi(d,wJt(u,s)),xi(d,BJt(u,s)),xi(d,TJt(u,s)),d},fixIds:[epe,tpe,ipe],getAllCodeActions:t=>f0(t,Ywe,(u,s)=>{const d=vst(s.file,s.start);if(d)switch(t.fixId){case epe:Cst(u,s.file,d.prop);break;case tpe:bst(u,s.file,d);break;case ipe:const f=t.program.getTypeChecker(),p=kst(f,d.prop);if(!p)return;yst(u,s.file,d.prop,p);break;default:H.fail(JSON.stringify(t.fixId))}})})}});function Ast(t,u,s){const{allowSyntheticDefaults:d,defaultImportName:f,namedImports:p,statement:E,required:v}=s;t.replaceNode(u,E,f&&!d?q.createImportEqualsDeclaration(void 0,!1,f,q.createExternalModuleReference(v)):q.createImportDeclaration(void 0,q.createImportClause(!1,f,p),v,void 0))}function Sst(t,u,s){const{parent:d}=Ca(t,s);xf(d,!0)||H.failBadSyntaxKind(d);const f=Po(d.parent,na),p=ur(f.name,at),E=Rp(f.name)?NJt(f.name):void 0;if(p||E)return{allowSyntheticDefaults:C7(u.getCompilerOptions()),defaultImportName:p,namedImports:E,statement:Po(f.parent.parent,Jl),required:Pn(d.arguments)}}function NJt(t){const u=[];for(const s of t.elements){if(!at(s.name)||s.initializer)return;u.push(q.createImportSpecifier(!1,ur(s.propertyName,at),s.name))}if(u.length)return q.createNamedImports(u)}var npe,Qwe,PJt=o({"src/services/codefixes/requireInTs.ts"(){rr(),rs(),npe="requireInTs",Qwe=[F.require_call_may_be_converted_to_an_import.code],Xo({errorCodes:Qwe,getCodeActions(t){const u=Sst(t.sourceFile,t.program,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,d=>Ast(d,t.sourceFile,u));return[Ro(npe,s,F.Convert_require_to_import,npe,F.Convert_all_require_to_import)]},fixIds:[npe],getAllCodeActions:t=>f0(t,Qwe,(u,s)=>{const d=Sst(s.file,t.program,s.start);d&&Ast(u,t.sourceFile,d)})})}});function Bst(t,u){const s=Ca(t,u);if(!at(s))return;const{parent:d}=s;if(E1(d)&&r_(d.moduleReference))return{importNode:d,name:s,moduleSpecifier:d.moduleReference.expression};if(Jx(d)){const f=d.parent.parent;return{importNode:f,name:s,moduleSpecifier:f.moduleSpecifier}}}function wst(t,u,s,d){t.replaceNode(u,s.importNode,g5(s.name,void 0,s.moduleSpecifier,Hm(u,d)))}var upe,Xwe,MJt=o({"src/services/codefixes/useDefaultImport.ts"(){rr(),rs(),upe="useDefaultImport",Xwe=[F.Import_may_be_converted_to_a_default_import.code],Xo({errorCodes:Xwe,getCodeActions(t){const{sourceFile:u,span:{start:s}}=t,d=Bst(u,s);if(!d)return;const f=iu.ChangeTracker.with(t,p=>wst(p,u,d,t.preferences));return[Ro(upe,f,F.Convert_to_default_import,upe,F.Convert_all_to_default_imports)]},fixIds:[upe],getAllCodeActions:t=>f0(t,Xwe,(u,s)=>{const d=Bst(s.file,s.start);d&&wst(u,s.file,d,t.preferences)})})}});function Tst(t,u,s){const d=ur(Ca(u,s.start),Of);if(!d)return;const f=d.getText(u)+"n";t.replaceNode(u,d,q.createBigIntLiteral(f))}var rpe,eTe,zJt=o({"src/services/codefixes/useBigintLiteral.ts"(){rr(),rs(),rpe="useBigintLiteral",eTe=[F.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code],Xo({errorCodes:eTe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Tst(d,u.sourceFile,u.span));if(s.length>0)return[Ro(rpe,s,F.Convert_to_a_bigint_numeric_literal,rpe,F.Convert_all_to_bigint_numeric_literals)]},fixIds:[rpe],getAllCodeActions:t=>f0(t,eTe,(u,s)=>Tst(u,s.file,s))})}});function Lst(t,u){const s=Ca(t,u);return H.assert(s.kind===102,"This token should be an ImportKeyword"),H.assert(s.parent.kind===205,"Token parent should be an ImportType"),s.parent}function Nst(t,u,s){const d=q.updateImportTypeNode(s,s.argument,s.attributes,s.qualifier,s.typeArguments,!0);t.replaceNode(u,s,d)}var Pst,ape,tTe,IJt=o({"src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts"(){rr(),rs(),Pst="fixAddModuleReferTypeMissingTypeof",ape=Pst,tTe=[F.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code],Xo({errorCodes:tTe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=Lst(s,d.start),p=iu.ChangeTracker.with(u,E=>Nst(E,s,f));return[Ro(ape,p,F.Add_missing_typeof,ape,F.Add_missing_typeof)]},fixIds:[ape],getAllCodeActions:t=>f0(t,tTe,(u,s)=>Nst(u,t.sourceFile,Lst(s.file,s.start)))})}});function Mst(t,u){let f=Ca(t,u).parent.parent;if(!(!Xn(f)&&(f=f.parent,!Xn(f)))&&Ql(f.operatorToken))return f}function zst(t,u,s){const d=RJt(s);d&&t.replaceNode(u,s,q.createJsxFragment(q.createJsxOpeningFragment(),d,q.createJsxJsxClosingFragment()))}function RJt(t){const u=[];let s=t;for(;;)if(Xn(s)&&Ql(s.operatorToken)&&s.operatorToken.kind===28){if(u.push(s.left),ej(s.right))return u.push(s.right),u;if(Xn(s.right)){s=s.right;continue}else return}else return}var ope,iTe,OJt=o({"src/services/codefixes/wrapJsxInFragment.ts"(){rr(),rs(),ope="wrapJsxInFragment",iTe=[F.JSX_expressions_must_have_one_parent_element.code],Xo({errorCodes:iTe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=Mst(s,d.start);if(!f)return;const p=iu.ChangeTracker.with(u,E=>zst(E,s,f));return[Ro(ope,p,F.Wrap_in_JSX_fragment,ope,F.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[ope],getAllCodeActions:t=>f0(t,iTe,(u,s)=>{const d=Mst(t.sourceFile,s.start);d&&zst(u,t.sourceFile,d)})})}});function Ist(t,u){const s=Ca(t,u),d=ur(s.parent.parent,Ek);if(!d)return;const f=xh(d.parent)?d.parent:ur(d.parent.parent,jp);if(f)return{indexSignature:d,container:f}}function jJt(t,u){return q.createTypeAliasDeclaration(t.modifiers,t.name,t.typeParameters,u)}function Rst(t,u,{indexSignature:s,container:d}){const p=(xh(d)?d.members:d.type.members).filter(k=>!Ek(k)),E=Pn(s.parameters),v=q.createTypeParameterDeclaration(void 0,Po(E.name,at),E.type),b=q.createMappedTypeNode(fP(s)?q.createModifier(148):void 0,v,void 0,s.questionToken,s.type,void 0),B=q.createIntersectionTypeNode([...uP(d),b,...p.length?[q.createTypeLiteralNode(p)]:_t]);t.replaceNode(u,d,jJt(d,B))}var spe,nTe,VJt=o({"src/services/codefixes/convertToMappedObjectType.ts"(){rr(),rs(),spe="fixConvertToMappedObjectType",nTe=[F.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code],Xo({errorCodes:nTe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=Ist(s,d.start);if(!f)return;const p=iu.ChangeTracker.with(u,v=>Rst(v,s,f)),E=fu(f.container.name);return[Ro(spe,p,[F.Convert_0_to_mapped_object_type,E],spe,[F.Convert_0_to_mapped_object_type,E])]},fixIds:[spe],getAllCodeActions:t=>f0(t,nTe,(u,s)=>{const d=Ist(s.file,s.start);d&&Rst(u,s.file,d)})})}}),uTe,Ost,HJt=o({"src/services/codefixes/removeAccidentalCallParentheses.ts"(){rr(),rs(),uTe="removeAccidentalCallParentheses",Ost=[F.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],Xo({errorCodes:Ost,getCodeActions(t){const u=Tn(Ca(t.sourceFile,t.span.start),Mo);if(!u)return;const s=iu.ChangeTracker.with(t,d=>{d.deleteRange(t.sourceFile,{pos:u.expression.end,end:u.end})});return[Cg(uTe,s,F.Remove_parentheses)]},fixIds:[uTe]})}});function jst(t,u,s){const d=ur(Ca(u,s.start),v=>v.kind===135),f=d&&ur(d.parent,Gx);if(!f)return;let p=f;if(Cf(f.parent)){const v=dB(f.expression,!1);if(at(v)){const b=td(f.parent.pos,u);b&&b.kind!==105&&(p=f.parent)}}t.replaceNode(u,p,f.expression)}var lpe,rTe,KJt=o({"src/services/codefixes/removeUnnecessaryAwait.ts"(){rr(),rs(),lpe="removeUnnecessaryAwait",rTe=[F.await_has_no_effect_on_the_type_of_this_expression.code],Xo({errorCodes:rTe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>jst(d,u.sourceFile,u.span));if(s.length>0)return[Ro(lpe,s,F.Remove_unnecessary_await,lpe,F.Remove_all_unnecessary_uses_of_await)]},fixIds:[lpe],getAllCodeActions:t=>f0(t,rTe,(u,s)=>jst(u,s.file,s))})}});function Vst(t,u){return Tn(Ca(t,u.start),Sd)}function Hst(t,u,s){if(!u)return;const d=H.checkDefined(u.importClause);t.replaceNode(s.sourceFile,u,q.updateImportDeclaration(u,u.modifiers,q.updateImportClause(d,d.isTypeOnly,d.name,void 0),u.moduleSpecifier,u.attributes)),t.insertNodeAfter(s.sourceFile,u,q.createImportDeclaration(void 0,q.updateImportClause(d,d.isTypeOnly,void 0,d.namedBindings),u.moduleSpecifier,u.attributes))}var aTe,cpe,WJt=o({"src/services/codefixes/splitTypeOnlyImport.ts"(){rr(),rs(),aTe=[F.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],cpe="splitTypeOnlyImport",Xo({errorCodes:aTe,fixIds:[cpe],getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Hst(d,Vst(u.sourceFile,u.span),u));if(s.length)return[Ro(cpe,s,F.Split_into_two_separate_import_declarations,cpe,F.Split_all_invalid_type_only_imports)]},getAllCodeActions:t=>f0(t,aTe,(u,s)=>{Hst(u,Vst(t.sourceFile,s),t)})})}});function Kst(t,u,s){var d;const p=s.getTypeChecker().getSymbolAtLocation(Ca(t,u));if(p===void 0)return;const E=ur((d=p==null?void 0:p.valueDeclaration)==null?void 0:d.parent,Ad);if(E===void 0)return;const v=a0(E,87,t);if(v!==void 0)return{symbol:p,token:v}}function Wst(t,u,s){t.replaceNode(u,s,q.createToken(121))}var dpe,oTe,GJt=o({"src/services/codefixes/convertConstToLet.ts"(){rr(),rs(),dpe="fixConvertConstToLet",oTe=[F.Cannot_assign_to_0_because_it_is_a_constant.code],Xo({errorCodes:oTe,getCodeActions:function(u){const{sourceFile:s,span:d,program:f}=u,p=Kst(s,d.start,f);if(p===void 0)return;const E=iu.ChangeTracker.with(u,v=>Wst(v,s,p.token));return[oBe(dpe,E,F.Convert_const_to_let,dpe,F.Convert_all_const_to_let)]},getAllCodeActions:t=>{const{program:u}=t,s=new Map;return Ew(iu.ChangeTracker.with(t,d=>{_w(t,oTe,f=>{const p=Kst(f.file,f.start,u);if(p&&Ip(s,Zo(p.symbol)))return Wst(d,f.file,p.token)})}))},fixIds:[dpe]})}});function Gst(t,u,s){const d=Ca(t,u);return d.kind===27&&d.parent&&(ys(d.parent)||Dh(d.parent))?{node:d}:void 0}function Jst(t,u,{node:s}){const d=q.createToken(28);t.replaceNode(u,s,d)}var hpe,$st,sTe,JJt=o({"src/services/codefixes/fixExpectedComma.ts"(){rr(),rs(),hpe="fixExpectedComma",$st=F._0_expected.code,sTe=[$st],Xo({errorCodes:sTe,getCodeActions(t){const{sourceFile:u}=t,s=Gst(u,t.span.start,t.errorCode);if(!s)return;const d=iu.ChangeTracker.with(t,f=>Jst(f,u,s));return[Ro(hpe,d,[F.Change_0_to_1,";",","],hpe,[F.Change_0_to_1,";",","])]},fixIds:[hpe],getAllCodeActions:t=>f0(t,sTe,(u,s)=>{const d=Gst(s.file,s.start,s.code);d&&Jst(u,t.sourceFile,d)})})}});function Ust(t,u,s,d,f){const p=Ca(u,s.start);if(!at(p)||!Mo(p.parent)||p.parent.expression!==p||p.parent.arguments.length!==0)return;const E=d.getTypeChecker(),v=E.getSymbolAtLocation(p),b=v==null?void 0:v.valueDeclaration;if(!b||!io(b)||!j2(b.parent.parent)||f!=null&&f.has(b))return;f==null||f.add(b);const B=$Jt(b.parent.parent);if(Oe(B)){const k=B[0],T=!Pv(k)&&!M7(k)&&M7(q.createUnionTypeNode([k,q.createKeywordTypeNode(116)]).types[0]);T&&t.insertText(u,k.pos,"("),t.insertText(u,k.end,T?") | void":" | void")}else{const k=E.getResolvedSignature(p.parent),T=k==null?void 0:k.parameters[0],M=T&&E.getTypeOfSymbolAtLocation(T,b.parent.parent);Qn(b)?(!M||M.flags&3)&&(t.insertText(u,b.parent.parent.end,")"),t.insertText(u,gs(u.text,b.parent.parent.pos),"/** @type {Promise} */(")):(!M||M.flags&2)&&t.insertText(u,b.parent.parent.expression.end,"")}}function $Jt(t){var u;if(Qn(t)){if(Cf(t.parent)){const s=(u=xv(t.parent))==null?void 0:u.typeExpression.type;if(s&&X4(s)&&at(s.typeName)&&fu(s.typeName)==="Promise")return s.typeArguments}}else return t.typeArguments}var qst,lTe,cTe,UJt=o({"src/services/codefixes/fixAddVoidToPromise.ts"(){rr(),rs(),qst="addVoidToPromise",lTe="addVoidToPromise",cTe=[F.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,F.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code],Xo({errorCodes:cTe,fixIds:[lTe],getCodeActions(t){const u=iu.ChangeTracker.with(t,s=>Ust(s,t.sourceFile,t.span,t.program));if(u.length>0)return[Ro(qst,u,F.Add_void_to_Promise_resolved_without_a_value,lTe,F.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions(t){return f0(t,cTe,(u,s)=>Ust(u,s.file,s,t.program,new Set))}})}}),z1={};h(z1,{PreserveOptionalFlags:()=>Uwe,addNewNodeForMemberSymbol:()=>sst,codeFixAll:()=>f0,createCodeFixAction:()=>Ro,createCodeFixActionMaybeFixAll:()=>oBe,createCodeFixActionWithoutFixAll:()=>Cg,createCombinedCodeActions:()=>Ew,createFileTextChanges:()=>frt,createImportAdder:()=>l9,createImportSpecifierResolver:()=>sWt,createJsonPropertyAssignment:()=>Q4e,createMissingMemberNodes:()=>jwe,createSignatureDeclarationFromCallExpression:()=>Vwe,createSignatureDeclarationFromSignature:()=>Z4e,createStubbedBody:()=>Bee,eachDiagnostic:()=>_w,findAncestorMatchingSpan:()=>$we,findJsonProperty:()=>Jwe,generateAccessorFromProperty:()=>mst,getAccessorConvertiblePropertyAtPosition:()=>Est,getAllFixes:()=>RHt,getAllSupers:()=>qwe,getArgumentTypesAndTypeParameters:()=>dst,getFixes:()=>IHt,getImportCompletionAction:()=>lWt,getImportKind:()=>zBe,getJSDocTypedefNodes:()=>nWt,getNoopSymbolTrackerWithResolver:()=>xw,getPromoteTypeOnlyCompletionAction:()=>cWt,getSupportedErrorCodes:()=>MHt,importFixName:()=>KBe,importSymbols:()=>vw,moduleSpecifierToValidIdentifier:()=>HBe,moduleSymbolToValidIdentifier:()=>VBe,parameterShouldGetTypeFromJSDoc:()=>Nrt,registerCodeFix:()=>Xo,setJsonCompilerOptionValue:()=>Gwe,setJsonCompilerOptionValues:()=>Wwe,tryGetAutoImportableReferenceFromTypeNode:()=>d9,typeToAutoImportableTypeNode:()=>Y4e});var rs=o({"src/services/_namespaces/ts.codefix.ts"(){OHt(),jHt(),VHt(),WHt(),qHt(),XHt(),eKt(),tKt(),iKt(),aKt(),gKt(),_Kt(),BKt(),$Kt(),UKt(),ZKt(),YKt(),uWt(),rWt(),oWt(),wWt(),NWt(),zWt(),IWt(),RWt(),VWt(),WWt(),$Wt(),QWt(),sGt(),cGt(),dGt(),fGt(),mGt(),pGt(),gGt(),_Gt(),DGt(),xGt(),vGt(),CGt(),yGt(),AGt(),TGt(),jGt(),HGt(),KGt(),JGt(),$Gt(),qGt(),ZGt(),uJt(),rJt(),aJt(),hJt(),yJt(),SJt(),LJt(),PJt(),MJt(),zJt(),IJt(),OJt(),VJt(),HJt(),KJt(),WJt(),GJt(),JJt(),UJt()}});function qJt(t){return!!(t.kind&1)}function ZJt(t){return!!(t.kind&2)}function wee(t){return!!(t&&t.kind&4)}function ZM(t){return!!(t&&t.kind===32)}function YJt(t){return wee(t)||ZM(t)||dTe(t)}function QJt(t){return(wee(t)||ZM(t))&&!!t.isFromPackageJson}function XJt(t){return!!(t.kind&8)}function e$t(t){return!!(t.kind&16)}function Zst(t){return!!(t&&t.kind&64)}function Yst(t){return!!(t&&t.kind&128)}function t$t(t){return!!(t&&t.kind&256)}function dTe(t){return!!(t&&t.kind&512)}function Qst(t,u,s,d,f,p,E,v,b){var B,k,T;const M=G0(),z=E||b7(p1(d.getCompilerOptions()));let j=!1,J=0,K=0,Y=0,oe=0;const se=b({tryResolve:ae,skippedAny:()=>j,resolvedAny:()=>K>0,resolvedBeyondLimit:()=>K>Cpe}),ge=oe?` (${(Y/oe*100).toFixed(1)}% hit rate)`:"";return(B=u.log)==null||B.call(u,`${t}: resolved ${K} module specifiers, plus ${J} ambient and ${Y} from cache${ge}`),(k=u.log)==null||k.call(u,`${t}: response is ${j?"incomplete":"complete"}`),(T=u.log)==null||T.call(u,`${t}: ${G0()-M}`),se;function ae(Ce,ne){if(ne){const pe=s.getModuleSpecifierForBestExportInfo(Ce,f,v);return pe&&J++,pe||"failed"}const ve=z||p.allowIncompleteCompletions&&K{const j=qi(b.entries,J=>{var K;if(!J.hasAction||!J.source||!J.data||Xst(J.data))return J;if(!y0t(J.name,k))return;const{origin:Y}=H.checkDefined(d0t(J.name,J.data,d,f)),oe=T.get(u.path,J.data.exportMapKey),se=oe&&z.tryResolve(oe,!Id($4(Y.moduleSymbol.name)));if(se==="skipped")return J;if(!se||se==="failed"){(K=f.log)==null||K.call(f,`Unexpected failure resolving auto import for '${J.name}' from '${J.source}'`);return}const ge={...Y,kind:32,moduleSpecifier:se.moduleSpecifier};return J.data=o0t(ge),J.source=mTe(ge),J.sourceDisplay=[Km(ge.moduleSpecifier)],J});return z.skippedAny()||(b.isIncomplete=void 0),j});return b.entries=M,b.flags=(b.flags||0)|4,b.optionalReplacementSpan=n0t(B),b}function hTe(t){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:t}}function e0t(t,u,s,d,f,p){const E=Ca(t,u);if(!I8(E)&&!Vp(E))return[];const v=Vp(E)?E:E.parent;if(!Vp(v))return[];const b=v.parent;if(!Co(b))return[];const B=gh(t),k=f.includeCompletionsWithSnippetText||void 0,T=ui(v.tags,M=>Eg(M)&&M.getEnd()<=u);return qi(b.parameters,M=>{if(!B8(M).length){if(at(M.name)){const z={tabstop:1},j=M.name.text;let J=AK(j,M.initializer,M.dotDotDotToken,B,!1,!1,s,d,f),K=k?AK(j,M.initializer,M.dotDotDotToken,B,!1,!0,s,d,f,z):void 0;return p&&(J=J.slice(1),K&&(K=K.slice(1))),{name:J,kind:"parameter",sortText:I1.LocationPriority,insertText:k?K:void 0,isSnippet:k}}else if(M.parent.parameters.indexOf(M)===T){const z=`param${T}`,j=t0t(z,M.name,M.initializer,M.dotDotDotToken,B,!1,s,d,f),J=k?t0t(z,M.name,M.initializer,M.dotDotDotToken,B,!0,s,d,f):void 0;let K=j.join(a5(d)+"* "),Y=J==null?void 0:J.join(a5(d)+"* ");return p&&(K=K.slice(1),Y&&(Y=Y.slice(1))),{name:K,kind:"parameter",sortText:I1.LocationPriority,insertText:k?Y:void 0,isSnippet:k}}}})}function t0t(t,u,s,d,f,p,E,v,b){if(!f)return[AK(t,s,d,f,!1,p,E,v,b,{tabstop:1})];return B(t,u,s,d,{tabstop:1});function B(T,M,z,j,J){if(Rp(M)&&!j){const Y={tabstop:J.tabstop},oe=AK(T,z,j,f,!0,p,E,v,b,Y);let se=[];for(const ge of M.elements){const ae=k(T,ge,Y);if(ae)se.push(...ae);else{se=void 0;break}}if(se)return J.tabstop=Y.tabstop,[oe,...se]}return[AK(T,z,j,f,!1,p,E,v,b,J)]}function k(T,M,z){if(!M.propertyName&&at(M.name)||at(M.name)){const j=M.propertyName?UN(M.propertyName):M.name.text;if(!j)return;const J=`${T}.${j}`;return[AK(J,M.initializer,M.dotDotDotToken,f,!1,p,E,v,b,z)]}else if(M.propertyName){const j=UN(M.propertyName);return j&&B(`${T}.${j}`,M.name,M.initializer,M.dotDotDotToken,z)}}}function AK(t,u,s,d,f,p,E,v,b,B){if(p&&H.assertIsDefined(B),u&&(t=u$t(t,u)),p&&(t=O2(t)),d){let k="*";if(f)H.assert(!s,"Cannot annotate a rest parameter with type 'Object'."),k="Object";else{if(u){const z=E.getTypeAtLocation(u.parent);if(!(z.flags&16385)){const j=u.getSourceFile(),K=Hm(j,b)===0?268435456:0,Y=E.typeToTypeNode(z,Tn(u,Co),K);if(Y){const oe=p?ppe({removeComments:!0,module:v.module,target:v.target}):Gv({removeComments:!0,module:v.module,target:v.target});Zn(Y,1),k=oe.printNode(4,Y,j)}}}p&&k==="*"&&(k=`\${${B.tabstop++}:${k}}`)}const T=!f&&s?"...":"",M=p?`\${${B.tabstop++}}`:"";return`@param {${T}${k}} ${t} ${M}`}else{const k=p?`\${${B.tabstop++}}`:"";return`@param ${t} ${k}`}}function u$t(t,u){const s=u.getText().trim();return s.includes(` -`)||s.length>80?`[${t}]`:`[${t}=${s}]`}function r$t(t){return{name:Uo(t),kind:"keyword",kindModifiers:"",sortText:I1.GlobalsOrKeywords}}function a$t(t,u){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:u,entries:t.slice()}}function i0t(t,u,s){return{kind:4,keywordCompletions:h0t(t,u),isNewIdentifierLocation:s}}function o$t(t){switch(t){case 156:return 8;default:H.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}}function n0t(t){return(t==null?void 0:t.kind)===80?of(t):void 0}function s$t(t,u,s,d,f,p,E,v,b,B){const{symbols:k,contextToken:T,completionKind:M,isInSnippetScope:z,isNewIdentifierLocation:j,location:J,propertyAccessToConvert:K,keywordFilters:Y,symbolToOriginInfoMap:oe,recommendedCompletion:se,isJsxInitializer:ge,isTypeOnlyLocation:ae,isJsxIdentifierExpected:Ce,isRightOfOpenTag:ne,isRightOfDotOrQuestionDot:ve,importStatementCompletion:Se,insideJsDocTagTypeExpression:Ne,symbolToSortTextMap:pe,hasUnresolvedAutoImports:fe}=p;let xe=p.literals;const Be=s.getTypeChecker();if(Yj(t.scriptKind)===1){const ft=c$t(J,t);if(ft)return ft}const Ge=Tn(T,BB);if(Ge&&(uFe(T)||S2(T,Ge.expression))){const ft=VX(Be,Ge.parent.clauses);xe=xe.filter(Ye=>!ft.hasValue(Ye)),k.forEach((Ye,Ve)=>{if(Ye.valueDeclaration&&J2(Ye.valueDeclaration)){const We=Be.getConstantValue(Ye.valueDeclaration);We!==void 0&&ft.hasValue(We)&&(oe[Ve]={kind:256})}})}const Ae=xt(),De=u0t(t,d);if(De&&!j&&(!k||k.length===0)&&Y===0)return;const Ke=pTe(k,Ae,void 0,T,J,b,t,u,s,Os(d),f,M,E,d,v,ae,K,Ce,ge,Se,se,oe,pe,Ce,ne,B);if(Y!==0)for(const ft of h0t(Y,!Ne&&gh(t)))(ae&&PM(f2(ft.name))||!ae&&G$t(ft.name)||!Ke.has(ft.name))&&(Ke.add(ft.name),Tt(Ae,ft,Tee,!0));for(const ft of L$t(T,b))Ke.has(ft.name)||(Ke.add(ft.name),Tt(Ae,ft,Tee,!0));for(const ft of xe){const Ye=h$t(t,E,ft);Ke.add(Ye.name),Tt(Ae,Ye,Tee,!0)}De||d$t(t,J.pos,Ke,Os(d),Ae);let Je;if(E.includeCompletionsWithInsertText&&T&&!ne&&!ve&&(Je=Tn(T,ZP))){const ft=r0t(Je,t,E,d,u,s,v);ft&&Ae.push(ft.entry)}return{flags:p.flags,isGlobalCompletion:z,isIncomplete:E.allowIncompleteCompletions&&fe?!0:void 0,isMemberCompletion:l$t(M),isNewIdentifierLocation:j,optionalReplacementSpan:n0t(J),entries:Ae}}function u0t(t,u){return!gh(t)||!!uV(t,u)}function r0t(t,u,s,d,f,p,E){const v=t.clauses,b=p.getTypeChecker(),B=b.getTypeAtLocation(t.parent.expression);if(B&&B.isUnion()&&ye(B.types,k=>k.isLiteral())){const k=VX(b,v),T=Os(d),M=Hm(u,s),z=z1.createImportAdder(u,p,s,f),j=[];for(const ae of B.types)if(ae.flags&1024){H.assert(ae.symbol,"An enum member type should have a symbol"),H.assert(ae.symbol.parent,"An enum member type should have a parent symbol (the enum symbol)");const Ce=ae.symbol.valueDeclaration&&b.getConstantValue(ae.symbol.valueDeclaration);if(Ce!==void 0){if(k.hasValue(Ce))continue;k.addValue(Ce)}const ne=z1.typeToAutoImportableTypeNode(b,z,ae,t,T);if(!ne)return;const ve=fpe(ne,T,M);if(!ve)return;j.push(ve)}else if(!k.hasValue(ae.value))switch(typeof ae.value){case"object":j.push(ae.value.negative?q.createPrefixUnaryExpression(41,q.createBigIntLiteral({negative:!1,base10Value:ae.value.base10Value})):q.createBigIntLiteral(ae.value));break;case"number":j.push(ae.value<0?q.createPrefixUnaryExpression(41,q.createNumericLiteral(-ae.value)):q.createNumericLiteral(ae.value));break;case"string":j.push(q.createStringLiteral(ae.value,M===0));break}if(j.length===0)return;const J=Vt(j,ae=>q.createCaseClause(ae,[])),K=E5(f,E==null?void 0:E.options),Y=ppe({removeComments:!0,module:d.module,target:d.target,newLine:eK(K)}),oe=E?ae=>Y.printAndFormatNode(4,ae,u,E):ae=>Y.printNode(4,ae,u),se=Vt(J,(ae,Ce)=>s.includeCompletionsWithSnippetText?`${oe(ae)}$${Ce+1}`:`${oe(ae)}`).join(K);return{entry:{name:`${Y.printNode(4,J[0],u)} ...`,kind:"",sortText:I1.GlobalsOrKeywords,insertText:se,hasAction:z.hasFixes()||void 0,source:"SwitchCases/",isSnippet:s.includeCompletionsWithSnippetText?!0:void 0},importAdder:z}}}function fpe(t,u,s){switch(t.kind){case 183:const d=t.typeName;return mpe(d,u,s);case 199:const f=fpe(t.objectType,u,s),p=fpe(t.indexType,u,s);return f&&p&&q.createElementAccessExpression(f,p);case 201:const E=t.literal;switch(E.kind){case 11:return q.createStringLiteral(E.text,s===0);case 9:return q.createNumericLiteral(E.text,E.numericLiteralFlags)}return;case 196:const v=fpe(t.type,u,s);return v&&(at(v)?v:q.createParenthesizedExpression(v));case 186:return mpe(t.exprName,u,s);case 205:H.fail("We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.")}}function mpe(t,u,s){if(at(t))return t;const d=Yr(t.right.escapedText);return zle(d,u)?q.createPropertyAccessExpression(mpe(t.left,u,s),d):q.createElementAccessExpression(mpe(t.left,u,s),q.createStringLiteral(d,s===0))}function l$t(t){switch(t){case 0:case 3:case 2:return!0;default:return!1}}function c$t(t,u){const s=Tn(t,d=>{switch(d.kind){case 287:return!0;case 44:case 32:case 80:case 211:return!1;default:return"quit"}});if(s){const d=!!a0(s,32,u),E=s.parent.openingElement.tagName.getText(u)+(d?"":">"),v=of(s.tagName),b={name:E,kind:"class",kindModifiers:void 0,sortText:I1.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:v,entries:[b]}}}function d$t(t,u,s,d,f){Tme(t).forEach((p,E)=>{if(p===u)return;const v=Yr(E);!s.has(v)&&Lm(v,d)&&(s.add(v),Tt(f,{name:v,kind:"warning",kindModifiers:"",sortText:I1.JavascriptIdentifiers,isFromUncheckedFile:!0},Tee))})}function fTe(t,u,s){return typeof s=="object"?I2(s)+"n":Ja(s)?jM(t,u,s):JSON.stringify(s)}function h$t(t,u,s){return{name:fTe(t,u,s),kind:"string",kindModifiers:"",sortText:I1.LocationPriority}}function f$t(t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge,ae,Ce,ne){var ve,Se;let Ne,pe,fe=Xhe(s),xe,Be,Ge=mTe(T),Ae,De,Ke;const Je=b.getTypeChecker(),ft=T&&e$t(T),Ye=T&&ZJt(T)||k;if(T&&qJt(T))Ne=k?`this${ft?"?.":""}[${s0t(E,oe,B)}]`:`this${ft?"?.":"."}${B}`;else if((Ye||ft)&&z){Ne=Ye?k?`[${s0t(E,oe,B)}]`:`[${B}]`:B,(ft||z.questionDotToken)&&(Ne=`?.${Ne}`);const We=a0(z,25,E)||a0(z,29,E);if(!We)return;const Gt=Pa(B,z.name.text)?z.name.end:We.end;fe=Vc(We.getStart(E),Gt)}if(j&&(Ne===void 0&&(Ne=B),Ne=`{${Ne}}`,typeof j!="boolean"&&(fe=of(j,E))),T&&XJt(T)&&z){Ne===void 0&&(Ne=B);const We=td(z.pos,E);let Gt="";We&&TX(We.end,We.parent,E)&&(Gt=";"),Gt+=`(await ${z.expression.getText()})`,Ne=k?`${Gt}${Ne}`:`${Gt}${ft?"?.":"."}${Ne}`;const Ie=ur(z.parent,Gx)?z.parent:z.expression;fe=Vc(Ie.getStart(E),z.end)}if(ZM(T)&&(Ae=[Km(T.moduleSpecifier)],J&&({insertText:Ne,replacementSpan:fe}=x$t(B,J,T,K,E,Y,oe),Be=oe.includeCompletionsWithSnippetText?!0:void 0)),(T==null?void 0:T.kind)===64&&(De=!0),se===0&&d&&((ve=td(d.pos,E,d))==null?void 0:ve.kind)!==28&&(dc(d.parent.parent)||zm(d.parent.parent)||jf(d.parent.parent)||d5(d.parent)||((Se=Tn(d.parent,Jc))==null?void 0:Se.getLastToken(E))===d||pm(d.parent)&&s0(E,d.getEnd()).line!==s0(E,p).line)&&(Ge="ObjectLiteralMemberWithComma/",De=!0),oe.includeCompletionsWithClassMemberSnippets&&oe.includeCompletionsWithInsertText&&se===3&&m$t(t,f,E)){let We;const Gt=a0t(v,b,Y,oe,B,t,f,p,d,ge);if(Gt)({insertText:Ne,filterText:pe,isSnippet:Be,importAdder:We}=Gt),We!=null&&We.hasFixes()&&(De=!0,Ge="ClassMemberSnippet/");else return}if(T&&Yst(T)&&({insertText:Ne,isSnippet:Be,labelDetails:Ke}=T,oe.useLabelDetailsInCompletionEntries||(B=B+Ke.detail,Ke=void 0),Ge="ObjectLiteralMethodSnippet/",u=I1.SortBelow(u)),ae&&!Ce&&oe.includeCompletionsWithSnippetText&&oe.jsxAttributeCompletionStyle&&oe.jsxAttributeCompletionStyle!=="none"&&!(oE(f.parent)&&f.parent.initializer)){let We=oe.jsxAttributeCompletionStyle==="braces";const Gt=Je.getTypeOfSymbolAtLocation(t,f);oe.jsxAttributeCompletionStyle==="auto"&&!(Gt.flags&528)&&!(Gt.flags&1048576&&Le(Gt.types,Yt=>!!(Yt.flags&528)))&&(Gt.flags&402653316||Gt.flags&1048576&&ye(Gt.types,Yt=>!!(Yt.flags&402686084||aSe(Yt)))?(Ne=`${O2(B)}=${jM(E,oe,"$1")}`,Be=!0):We=!0),We&&(Ne=`${O2(B)}={$1}`,Be=!0)}if(Ne!==void 0&&!oe.includeCompletionsWithInsertText)return;(wee(T)||ZM(T))&&(xe=o0t(T),De=!J);const Ve=Tn(f,Uq);if((Ve==null?void 0:Ve.kind)===275){const We=f2(B);Ve&&We&&(We===135||G0e(We))&&(Ne=`${B} as ${B}_`)}return{name:B,kind:x5.getSymbolKind(Je,t,f),kindModifiers:x5.getSymbolModifiers(Je,t),sortText:u,source:Ge,hasAction:De?!0:void 0,isRecommended:v$t(t,M,Je)||void 0,insertText:Ne,filterText:pe,replacementSpan:fe,sourceDisplay:Ae,labelDetails:Ke,isSnippet:Be,isPackageJsonImport:QJt(T)||void 0,isImportStatementCompletion:!!J||void 0,data:xe,...ne?{symbol:t}:void 0}}function m$t(t,u,s){return Qn(u)?!1:!!(t.flags&106500)&&(mr(u)||u.parent&&u.parent.parent&&Zd(u.parent)&&u===u.parent.name&&u.parent.getLastToken(s)===u.parent.name&&mr(u.parent.parent)||u.parent&&MB(u)&&mr(u.parent))}function a0t(t,u,s,d,f,p,E,v,b,B){const k=Tn(E,mr);if(!k)return;let T,M=f;const z=f,j=u.getTypeChecker(),J=E.getSourceFile(),K=ppe({removeComments:!0,module:s.module,target:s.target,omitTrailingSemicolon:!1,newLine:eK(E5(t,B==null?void 0:B.options))}),Y=z1.createImportAdder(J,u,d,t);let oe;if(d.includeCompletionsWithSnippetText){T=!0;const Se=q.createEmptyStatement();oe=q.createBlock([Se],!0),lce(Se,{kind:0,order:0})}else oe=q.createBlock([],!0);let se=0;const{modifiers:ge,range:ae,decorators:Ce}=p$t(b,J,v),ne=ge&64&&k.modifierFlagsCache&64;let ve=[];if(z1.addNewNodeForMemberSymbol(p,k,J,{program:u,host:t},d,Y,Se=>{let Ne=0;ne&&(Ne|=64),Zd(Se)&&j.getMemberOverrideModifierStatus(k,Se,p)===1&&(Ne|=16),ve.length||(se=Se.modifierFlagsCache|Ne),Se=q.replaceModifiers(Se,se),ve.push(Se)},oe,z1.PreserveOptionalFlags.Property,!!ne),ve.length){const Se=p.flags&8192;let Ne=se|16|1;Se?Ne|=1024:Ne|=136;const pe=ge&Ne;if(ge&~Ne)return;if(se&4&&pe&1&&(se&=-5),pe!==0&&!(pe&1)&&(se&=-2),se|=pe,ve=ve.map(xe=>q.replaceModifiers(xe,se)),Ce!=null&&Ce.length){const xe=ve[ve.length-1];Ak(xe)&&(ve[ve.length-1]=q.replaceDecoratorsAndModifiers(xe,Ce.concat(p2(xe)||[])))}const fe=131073;B?M=K.printAndFormatSnippetList(fe,q.createNodeArray(ve),J,B):M=K.printSnippetList(fe,q.createNodeArray(ve),J)}return{insertText:M,filterText:z,isSnippet:T,importAdder:Y,eraseRange:ae}}function p$t(t,u,s){if(!t||s0(u,s).line>s0(u,t.getEnd()).line)return{modifiers:0};let d=0,f,p;const E={pos:s,end:s};if(ko(t.parent)&&t.parent.modifiers&&(d|=tE(t.parent.modifiers)&98303,f=t.parent.modifiers.filter(g1)||[],E.pos=Math.min(E.pos,t.parent.modifiers.pos)),p=g$t(t)){const v=_7(p);d&v||(d|=v,E.pos=Math.min(E.pos,t.pos))}return{modifiers:d,decorators:f,range:E.pos!==s?E:void 0}}function g$t(t){if(Qo(t))return t.kind;if(at(t)){const u=Dv(t);if(u&&XD(u))return u}}function E$t(t,u,s,d,f,p,E,v){const b=E.includeCompletionsWithSnippetText||void 0;let B=u;const k=s.getSourceFile(),T=_$t(t,s,k,d,f,E);if(!T)return;const M=ppe({removeComments:!0,module:p.module,target:p.target,omitTrailingSemicolon:!1,newLine:eK(E5(f,v==null?void 0:v.options))});v?B=M.printAndFormatSnippetList(80,q.createNodeArray([T],!0),k,v):B=M.printSnippetList(80,q.createNodeArray([T],!0),k);const z=Gv({removeComments:!0,module:p.module,target:p.target,omitTrailingSemicolon:!0}),j=q.createMethodSignature(void 0,"",T.questionToken,T.typeParameters,T.parameters,T.type),J={detail:z.printNode(4,j,k)};return{isSnippet:b,insertText:B,labelDetails:J}}function _$t(t,u,s,d,f,p){const E=t.getDeclarations();if(!(E&&E.length))return;const v=d.getTypeChecker(),b=E[0],B=ll(Za(b),!1),k=v.getWidenedType(v.getTypeOfSymbolAtLocation(t,u)),M=33554432|(Hm(s,p)===0?268435456:0);switch(b.kind){case 171:case 172:case 173:case 174:{let z=k.flags&1048576&&k.types.length<10?v.getUnionType(k.types,2):k;if(z.flags&1048576){const oe=ti(z.types,se=>v.getSignaturesOfType(se,0).length>0);if(oe.length===1)z=oe[0];else return}if(v.getSignaturesOfType(z,0).length!==1)return;const J=v.typeToTypeNode(z,u,M,z1.getNoopSymbolTrackerWithResolver({program:d,host:f}));if(!J||!u3(J))return;let K;if(p.includeCompletionsWithSnippetText){const oe=q.createEmptyStatement();K=q.createBlock([oe],!0),lce(oe,{kind:0,order:0})}else K=q.createBlock([],!0);const Y=J.parameters.map(oe=>q.createParameterDeclaration(void 0,oe.dotDotDotToken,oe.name,void 0,void 0,oe.initializer));return q.createMethodDeclaration(void 0,void 0,B,void 0,void 0,Y,void 0,K)}default:return}}function ppe(t){let u;const s=iu.createWriter(a5(t)),d=Gv(t,s),f={...s,write:M=>p(M,()=>s.write(M)),nonEscapingWrite:s.write,writeLiteral:M=>p(M,()=>s.writeLiteral(M)),writeStringLiteral:M=>p(M,()=>s.writeStringLiteral(M)),writeSymbol:(M,z)=>p(M,()=>s.writeSymbol(M,z)),writeParameter:M=>p(M,()=>s.writeParameter(M)),writeComment:M=>p(M,()=>s.writeComment(M)),writeProperty:M=>p(M,()=>s.writeProperty(M))};return{printSnippetList:E,printAndFormatSnippetList:b,printNode:B,printAndFormatNode:T};function p(M,z){const j=O2(M);if(j!==M){const J=s.getTextPos();z();const K=s.getTextPos();u=xi(u||(u=[]),{newText:j,span:{start:J,length:K-J}})}else z()}function E(M,z,j){const J=v(M,z,j);return u?iu.applyChanges(J,u):J}function v(M,z,j){return u=void 0,f.clear(),d.writeList(M,z,j,f),f.getText()}function b(M,z,j,J){const K={text:v(M,z,j),getLineAndCharacterOfPosition(ge){return s0(this,ge)}},Y=jX(J,j),oe=ju(z,ge=>{const ae=iu.assignPositionsToNode(ge);return dd.formatNodeGivenIndentation(ae,K,j.languageVariant,0,0,{...J,options:Y})}),se=u?oc(Hi(oe,u),(ge,ae)=>q$(ge.span,ae.span)):oe;return iu.applyChanges(K.text,se)}function B(M,z,j){const J=k(M,z,j);return u?iu.applyChanges(J,u):J}function k(M,z,j){return u=void 0,f.clear(),d.writeNode(M,z,j,f),f.getText()}function T(M,z,j,J){const K={text:k(M,z,j),getLineAndCharacterOfPosition(ae){return s0(this,ae)}},Y=jX(J,j),oe=iu.assignPositionsToNode(z),se=dd.formatNodeGivenIndentation(oe,K,j.languageVariant,0,0,{...J,options:Y}),ge=u?oc(Hi(se,u),(ae,Ce)=>q$(ae.span,Ce.span)):se;return iu.applyChanges(K.text,ge)}}function o0t(t){const u=t.fileName?void 0:$4(t.moduleSymbol.name),s=t.isFromPackageJson?!0:void 0;return ZM(t)?{exportName:t.exportName,exportMapKey:t.exportMapKey,moduleSpecifier:t.moduleSpecifier,ambientModuleName:u,fileName:t.fileName,isPackageJsonImport:s}:{exportName:t.exportName,exportMapKey:t.exportMapKey,fileName:t.fileName,ambientModuleName:t.fileName?void 0:$4(t.moduleSymbol.name),isPackageJsonImport:t.isFromPackageJson?!0:void 0}}function D$t(t,u,s){const d=t.exportName==="default",f=!!t.isPackageJsonImport;return Xst(t)?{kind:32,exportName:t.exportName,exportMapKey:t.exportMapKey,moduleSpecifier:t.moduleSpecifier,symbolName:u,fileName:t.fileName,moduleSymbol:s,isDefaultExport:d,isFromPackageJson:f}:{kind:4,exportName:t.exportName,exportMapKey:t.exportMapKey,symbolName:u,fileName:t.fileName,moduleSymbol:s,isDefaultExport:d,isFromPackageJson:f}}function x$t(t,u,s,d,f,p,E){const v=u.replacementSpan,b=O2(jM(f,E,s.moduleSpecifier)),B=s.isDefaultExport?1:s.exportName==="export="?2:0,k=E.includeCompletionsWithSnippetText?"$1":"",T=z1.getImportKind(f,B,p,!0),M=u.couldBeTypeOnlyImportSpecifier,z=u.isTopLevelTypeOnly?` ${Uo(156)} `:" ",j=M?`${Uo(156)} `:"",J=d?";":"";switch(T){case 3:return{replacementSpan:v,insertText:`import${z}${O2(t)}${k} = require(${b})${J}`};case 1:return{replacementSpan:v,insertText:`import${z}${O2(t)}${k} from ${b}${J}`};case 2:return{replacementSpan:v,insertText:`import${z}* as ${O2(t)} from ${b}${J}`};case 0:return{replacementSpan:v,insertText:`import${z}{ ${j}${O2(t)}${k} } from ${b}${J}`}}}function s0t(t,u,s){return/^\d+$/.test(s)?s:jM(t,u,s)}function v$t(t,u,s){return t===u||!!(t.flags&1048576)&&s.getExportSymbolOfSymbol(t)===u}function mTe(t){if(wee(t))return $4(t.moduleSymbol.name);if(ZM(t))return t.moduleSpecifier;if((t==null?void 0:t.kind)===1)return"ThisProperty/";if((t==null?void 0:t.kind)===64)return"TypeOnlyAlias/"}function pTe(t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge,ae,Ce,ne,ve,Se=!1){const Ne=G0(),pe=H$t(d,f),fe=YH(E),xe=b.getTypeChecker(),Be=new Map;for(let Ae=0;AeIe.getSourceFile()===f.getSourceFile()));Be.set(ft,Yt),Tt(u,Gt,Tee,!0)}return k("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(G0()-Ne)),{has:Ae=>Be.has(Ae),add:Ae=>Be.set(Ae,!0)};function Ge(Ae,De){var Ke;let Je=Ae.flags;if(!la(f)){if(tc(f.parent))return!0;if(ur(pe,na)&&Ae.valueDeclaration===pe)return!1;const ft=Ae.valueDeclaration??((Ke=Ae.declarations)==null?void 0:Ke[0]);if(pe&&ft&&(Bl(pe)&&Bl(ft)||io(pe)&&io(ft))){const Ve=ft.pos,We=io(pe)?pe.parent.parameters:P7(pe.parent)?void 0:pe.parent.typeParameters;if(Ve>=pe.pos&&We&&VefTe(s,E,se)===f.name);return oe!==void 0?{type:"literal",literal:oe}:G(B,(se,ge)=>{const ae=z[ge],Ce=Epe(se,Os(v),ae,M,b.isJsxIdentifierExpected);return Ce&&Ce.name===f.name&&(f.source==="ClassMemberSnippet/"&&se.flags&106500||f.source==="ObjectLiteralMethodSnippet/"&&se.flags&8196||mTe(ae)===f.source||f.source==="ObjectLiteralMemberWithComma/")?{type:"symbol",symbol:se,location:T,origin:ae,contextToken:j,previousToken:J,isJsxInitializer:K,isTypeOnlyLocation:Y}:void 0})||{type:"none"}}function y$t(t,u,s,d,f,p,E,v,b){const B=t.getTypeChecker(),k=t.getCompilerOptions(),{name:T,source:M,data:z}=f,{previousToken:j,contextToken:J}=gpe(d,s);if(zk(s,d,j))return ype.getStringLiteralCompletionDetails(T,s,d,j,B,k,p,b,v);const K=l0t(t,u,s,d,f,p,v);switch(K.type){case"request":{const{request:Y}=K;switch(Y.kind){case 1:return Yv.getJSDocTagNameCompletionDetails(T);case 2:return Yv.getJSDocTagCompletionDetails(T);case 3:return Yv.getJSDocParameterNameCompletionDetails(T);case 4:return Oe(Y.keywordCompletions,oe=>oe.name===T)?gTe(T,"keyword",5):void 0;default:return H.assertNever(Y)}}case"symbol":{const{symbol:Y,location:oe,contextToken:se,origin:ge,previousToken:ae}=K,{codeActions:Ce,sourceDisplay:ne}=k$t(T,oe,se,ge,Y,t,p,k,s,d,ae,E,v,z,M,b),ve=dTe(ge)?ge.symbolName:Y.name;return ETe(Y,ve,B,s,oe,b,Ce,ne)}case"literal":{const{literal:Y}=K;return gTe(fTe(s,v,Y),"string",typeof Y=="string"?8:7)}case"cases":{const Y=r0t(J.parent,s,v,t.getCompilerOptions(),p,t,void 0);if(Y!=null&&Y.importAdder.hasFixes()){const{entry:oe,importAdder:se}=Y,ge=iu.ChangeTracker.with({host:p,formatContext:E,preferences:v},se.writeFixes);return{name:oe.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0,codeActions:[{changes:ge,description:jk([F.Includes_imports_of_types_referenced_by_0,T])}]}}return{name:T,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0}}case"none":return kTe().some(Y=>Y.name===T)?gTe(T,"keyword",5):void 0;default:H.assertNever(K)}}function gTe(t,u,s){return Lee(t,"",u,[yf(t,s)])}function ETe(t,u,s,d,f,p,E,v){const{displayParts:b,documentation:B,symbolKind:k,tags:T}=s.runWithCancellationToken(p,M=>x5.getSymbolDisplayPartsDocumentationAndSymbolKind(M,t,d,f,f,7));return Lee(u,x5.getSymbolModifiers(s,t),k,b,B,T,E,v)}function Lee(t,u,s,d,f,p,E,v){return{name:t,kindModifiers:u,kind:s,displayParts:d,documentation:f,tags:p,codeActions:E,source:v,sourceDisplay:v}}function k$t(t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J){if(z!=null&&z.moduleSpecifier&&k&&D0t(s||k,b).replacementSpan)return{codeActions:void 0,sourceDisplay:[Km(z.moduleSpecifier)]};if(j==="ClassMemberSnippet/"){const{importAdder:Ce,eraseRange:ne}=a0t(E,p,v,M,t,f,u,B,s,T);if(Ce||ne)return{sourceDisplay:void 0,codeActions:[{changes:iu.ChangeTracker.with({host:E,formatContext:T,preferences:M},Se=>{Ce&&Ce.writeFixes(Se),ne&&Se.deleteRange(b,ne)}),description:jk([F.Includes_imports_of_types_referenced_by_0,t])}]}}if(Zst(d)){const Ce=z1.getPromoteTypeOnlyCompletionAction(b,d.declaration.name,p,E,T,M);return H.assertIsDefined(Ce,"Expected to have a code action for promoting type-only alias"),{codeActions:[Ce],sourceDisplay:void 0}}if(j==="ObjectLiteralMemberWithComma/"&&s){const Ce=iu.ChangeTracker.with({host:E,formatContext:T,preferences:M},ne=>ne.insertText(b,s.end,","));if(Ce)return{sourceDisplay:void 0,codeActions:[{changes:Ce,description:jk([F.Add_missing_comma_for_object_member_completion_0,t])}]}}if(!d||!(wee(d)||ZM(d)))return{codeActions:void 0,sourceDisplay:void 0};const K=d.isFromPackageJson?E.getPackageJsonAutoImportProvider().getTypeChecker():p.getTypeChecker(),{moduleSymbol:Y}=d,oe=K.getMergedSymbol(X1(f.exportSymbol||f,K)),se=(s==null?void 0:s.kind)===30&&zh(s.parent),{moduleSpecifier:ge,codeAction:ae}=z1.getImportCompletionAction(oe,Y,z==null?void 0:z.exportMapKey,b,t,se,E,p,T,k&&at(k)?k.getStart(b):B,M,J);return H.assert(!(z!=null&&z.moduleSpecifier)||ge===z.moduleSpecifier),{sourceDisplay:[Km(ge)],codeActions:[ae]}}function F$t(t,u,s,d,f,p,E){const v=l0t(t,u,s,d,f,p,E);return v.type==="symbol"?v.symbol:void 0}function A$t(t,u,s){return G(u&&(u.isUnion()?u.types:[u]),d=>{const f=d&&d.symbol;return f&&f.flags&424&&!Jye(f)?_Te(f,t,s):void 0})}function S$t(t,u,s,d){const{parent:f}=t;switch(t.kind){case 80:return SX(t,d);case 64:switch(f.kind){case 260:return d.getContextualType(f.initializer);case 226:return d.getTypeAtLocation(f.left);case 291:return d.getContextualTypeForJsxAttribute(f);default:return}case 105:return d.getContextualType(f);case 84:const p=ur(f,BB);return p?Dfe(p,d):void 0;case 19:return YP(f)&&!r3(f.parent)&&!K2(f.parent)?d.getContextualTypeForJsxAttribute(f.parent):void 0;default:const E=NK.getArgumentInfoForCompletions(t,u,s);return E?d.getContextualTypeForArgumentAtIndex(E.invocation,E.argumentIndex+(t.kind===28?1:0)):BX(t.kind)&&Xn(f)&&BX(f.operatorToken.kind)?d.getTypeAtLocation(f.left):d.getContextualType(t,4)||d.getContextualType(t)}}function _Te(t,u,s){const d=s.getAccessibleSymbolChain(t,u,67108863,!1);return d?Pn(d):t.parent&&(B$t(t.parent)?t:_Te(t.parent,u,s))}function B$t(t){var u;return!!((u=t.declarations)!=null&&u.some(s=>s.kind===312))}function c0t(t,u,s,d,f,p,E,v,b,B){const k=t.getTypeChecker(),T=u0t(s,d);let M=G0(),z=Ca(s,f);u("getCompletionData: Get current token: "+(G0()-M)),M=G0();const j=m5(s,f,z);u("getCompletionData: Is inside comment: "+(G0()-M));let J=!1,K=!1;if(j){if(nSe(s,f)){if(s.text.charCodeAt(f-1)===64)return{kind:1};{const it=tp(f,s);if(!/[^*|\s(/)]/.test(s.text.substring(it,f)))return{kind:2}}}const X=N$t(z,f);if(X){if(X.tagName.pos<=f&&f<=X.tagName.end)return{kind:1};const it=ji(X);if(it&&(z=Ca(s,f),(!z||!X3(z)&&(z.parent.kind!==355||z.parent.name!==z))&&(J=je(it))),!J&&Eg(X)&&(Ql(X.name)||X.name.pos<=f&&f<=X.name.end))return{kind:3,tag:X}}if(!J){u("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return}}M=G0();const Y=!J&&gh(s),oe=gpe(f,s),se=oe.previousToken;let ge=oe.contextToken;u("getCompletionData: Get previous token: "+(G0()-M));let ae=z,Ce,ne=!1,ve=!1,Se=!1,Ne=!1,pe=!1,fe=!1,xe,Be=af(s,f),Ge=0,Ae=!1,De=0;if(ge){const X=D0t(ge,s);if(X.keywordCompletion){if(X.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[r$t(X.keywordCompletion)],isNewIdentifierLocation:X.isNewIdentifierLocation};Ge=o$t(X.keywordCompletion)}if(X.replacementSpan&&p.includeCompletionsForImportStatements&&p.includeCompletionsWithInsertText&&(De|=2,xe=X,Ae=X.isNewIdentifierLocation),!X.replacementSpan&&Ta(ge))return u("Returning an empty list because completion was requested in an invalid position."),Ge?i0t(Ge,Y,bo()):void 0;let it=ge.parent;if(ge.kind===25||ge.kind===29)switch(ne=ge.kind===25,ve=ge.kind===29,it.kind){case 211:Ce=it,ae=Ce.expression;const Ct=CP(Ce);if(Ql(Ct)||(Mo(ae)||Co(ae))&&ae.end===ge.pos&&ae.getChildCount(s)&&Cr(ae.getChildren(s)).kind!==22)return;break;case 166:ae=it.left;break;case 267:ae=it.name;break;case 205:ae=it;break;case 236:ae=it.getFirstToken(s),H.assert(ae.kind===102||ae.kind===105);break;default:return}else if(!xe){if(it&&it.kind===211&&(ge=it,it=it.parent),z.parent===Be)switch(z.kind){case 32:(z.parent.kind===284||z.parent.kind===286)&&(Be=z);break;case 44:z.parent.kind===285&&(Be=z);break}switch(it.kind){case 287:ge.kind===44&&(Ne=!0,Be=ge);break;case 226:if(!_0t(it))break;case 285:case 284:case 286:fe=!0,ge.kind===30&&(Se=!0,Be=ge);break;case 294:case 293:(se.kind===20||se.kind===80&&se.parent.kind===291)&&(fe=!0);break;case 291:if(it.initializer===se&&se.endIk(X?v.getPackageJsonAutoImportProvider():t,v));if(ne||ve)xn();else if(Se)Ve=k.getJsxIntrinsicTagNamesAt(Be),H.assertEachIsDefined(Ve,"getJsxIntrinsicTagNames() should all be defined"),Ai(),Je=1,Ge=0;else if(Ne){const X=ge.parent.parent.openingElement.tagName,it=k.getSymbolAtLocation(X);it&&(Ve=[it]),Je=1,Ge=0}else if(!Ai())return Ge?i0t(Ge,Y,Ae):void 0;u("getCompletionData: Semantic work: "+(G0()-Ke));const It=se&&S$t(se,f,s,k),ht=!ur(se,t0)&&!fe?qi(It&&(It.isUnion()?It.types:[It]),X=>X.isLiteral()&&!(X.flags&1024)?X.value:void 0):[],Ut=se&&It&&A$t(se,It,k);return{kind:0,symbols:Ve,completionKind:Je,isInSnippetScope:K,propertyAccessToConvert:Ce,isNewIdentifierLocation:Ae,location:Be,keywordFilters:Ge,literals:ht,symbolToOriginInfoMap:Gt,recommendedCompletion:Ut,previousToken:se,contextToken:ge,isJsxInitializer:pe,insideJsDocTagTypeExpression:J,symbolToSortTextMap:Yt,isTypeOnlyLocation:st,isJsxIdentifierExpected:fe,isRightOfOpenTag:Se,isRightOfDotOrQuestionDot:ne||ve,importStatementCompletion:xe,hasUnresolvedAutoImports:Ye,flags:De};function Ni(X){switch(X.kind){case 348:case 355:case 349:case 351:case 353:case 356:case 357:return!0;case 352:return!!X.constraint;default:return!1}}function ji(X){if(Ni(X)){const it=_g(X)?X.constraint:X.typeExpression;return it&&it.kind===316?it:void 0}if(LB(X)||Nce(X))return X.class}function xn(){Je=2;const X=zx(ae),it=X&&!ae.isTypeOf||q_(ae.parent)||OH(ge,s,k),Ct=tX(ae);if(sm(ae)||X||Iu(ae)){const ct=_c(ae.parent);ct&&(Ae=!0);let Qt=k.getSymbolAtLocation(ae);if(Qt&&(Qt=X1(Qt,k),Qt.flags&1920)){const Li=k.getExportsOfModule(Qt);H.assertEachIsDefined(Li,"getExportsOfModule() should all be defined");const Ui=Ru=>k.isValidPropertyAccess(X?ae:ae.parent,Ru.name),Sn=Ru=>xTe(Ru,k),du=ct?Ru=>{var pr;return!!(Ru.flags&1920)&&!((pr=Ru.declarations)!=null&&pr.every(Xu=>Xu.parent===ae.parent))}:Ct?Ru=>Sn(Ru)||Ui(Ru):it||J?Sn:Ui;for(const Ru of Li)du(Ru)&&Ve.push(Ru);if(!it&&!J&&Qt.declarations&&Qt.declarations.some(Ru=>Ru.kind!==312&&Ru.kind!==267&&Ru.kind!==266)){let Ru=k.getTypeOfSymbolAtLocation(Qt,ae).getNonOptionalType(),pr=!1;if(Ru.isNullableType()){const Xu=ne&&!ve&&p.includeAutomaticOptionalChainCompletions!==!1;(Xu||ve)&&(Ru=Ru.getNonNullableType(),Xu&&(pr=!0))}Jn(Ru,!!(ae.flags&65536),pr)}return}}if(!it||ck(ae)){k.tryGetThisTypeAt(ae,!1);let ct=k.getTypeAtLocation(ae).getNonOptionalType();if(it)Jn(ct.getNonNullableType(),!1,!1);else{let Qt=!1;if(ct.isNullableType()){const Li=ne&&!ve&&p.includeAutomaticOptionalChainCompletions!==!1;(Li||ve)&&(ct=ct.getNonNullableType(),Li&&(Qt=!0))}Jn(ct,!!(ae.flags&65536),Qt)}}}function Jn(X,it,Ct){Ae=!!X.getStringIndexType(),ve&&Oe(X.getCallSignatures())&&(Ae=!0);const ct=ae.kind===205?ae:ae.parent;if(T)for(const Qt of X.getApparentProperties())k.isValidPropertyAccessForCompletions(ct,X,Qt)&&an(Qt,!1,Ct);else Ve.push(...ti(xpe(X,k),Qt=>k.isValidPropertyAccessForCompletions(ct,X,Qt)));if(it&&p.includeCompletionsWithInsertText){const Qt=k.getPromisedTypeOfPromise(X);if(Qt)for(const Li of Qt.getApparentProperties())k.isValidPropertyAccessForCompletions(ct,Qt,Li)&&an(Li,!0,Ct)}}function an(X,it,Ct){var ct;const Qt=G(X.declarations,du=>ur(Za(du),Ps));if(Qt){const du=Pi(Qt.expression),Ru=du&&k.getSymbolAtLocation(du),pr=Ru&&_Te(Ru,ge,k),Xu=pr&&Zo(pr);if(Xu&&Ip(Ie,Xu)){const ca=Ve.length;Ve.push(pr);const Ku=pr.parent;if(!Ku||!HH(Ku)||k.tryGetMemberInModuleExportsAndProperties(pr.name,Ku)!==pr)Gt[ca]={kind:Sn(2)};else{const ja=Id($4(Ku.name))?(ct=YU(Ku))==null?void 0:ct.fileName:void 0,{moduleSpecifier:wn}=(We||(We=z1.createImportSpecifierResolver(s,t,v,p))).getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:ja,isFromPackageJson:!1,moduleSymbol:Ku,symbol:pr,targetFlags:X1(pr,k).flags}],f,Tv(Be))||{};if(wn){const Ir={kind:Sn(6),moduleSymbol:Ku,isDefaultExport:!1,symbolName:pr.name,exportName:pr.name,fileName:ja,moduleSpecifier:wn};Gt[ca]=Ir}}}else if(p.includeCompletionsWithInsertText){if(Xu&&Ie.has(Xu))return;Ui(X),Li(X),Ve.push(X)}}else Ui(X),Li(X),Ve.push(X);function Li(du){O$t(du)&&(Yt[Zo(du)]=I1.LocalDeclarationPriority)}function Ui(du){p.includeCompletionsWithInsertText&&(it&&Ip(Ie,Zo(du))?Gt[Ve.length]={kind:Sn(8)}:Ct&&(Gt[Ve.length]={kind:16}))}function Sn(du){return Ct?du|16:du}}function Pi(X){return at(X)?X:Iu(X)?Pi(X.expression):void 0}function Ai(){return(Et()||Mt()||yr()||qt()||Xt()||Zu()||Pe()||aa()||(Ba(),1))===1}function Zu(){return gt(ge)?(Je=5,Ae=!0,Ge=4,1):0}function aa(){const X=me(ge),it=X&&k.getContextualType(X.attributes);if(!it)return 0;const Ct=X&&k.getContextualType(X.attributes,4);return Ve=Hi(Ve,de(Dpe(it,Ct,X.attributes,k),X.attributes.properties)),on(),Je=3,Ae=!1,1}function yr(){return xe?(Ae=!0,Cn(),1):0}function Ba(){Ge=ii(ge)?5:1,Je=1,Ae=bo(),se!==ge&&H.assert(!!se,"Expected 'contextToken' to be defined when different from 'previousToken'.");const X=se!==ge?se.getStart():f,it=ua(ge,X,s)||s;K=jn(it);const Ct=(st?0:111551)|788968|1920|2097152,ct=se&&!Tv(se);Ve=Hi(Ve,k.getSymbolsInScope(it,Ct)),H.assertEachIsDefined(Ve,"getSymbolsInScope() should all be defined");for(let Qt=0;QtUi.getSourceFile()===s)&&(Yt[Zo(Li)]=I1.GlobalsOrKeywords),ct&&!(Li.flags&111551)){const Ui=Li.declarations&&Le(Li.declarations,RU);if(Ui){const Sn={kind:64,declaration:Ui};Gt[Qt]=Sn}}}if(p.includeCompletionsWithInsertText&&it.kind!==312){const Qt=k.tryGetThisTypeAt(it,!1,mr(it.parent)?it:void 0);if(Qt&&!R$t(Qt,s,k))for(const Li of xpe(Qt,k))Gt[Ve.length]={kind:1},Ve.push(Li),Yt[Zo(Li)]=I1.SuggestedClassMembers}Cn(),st&&(Ge=ge&&Yy(ge.parent)?6:7)}function bt(){return xe?!0:ft||!p.includeCompletionsForModuleExports?!1:s.externalModuleIndicator||s.commonJsModuleIndicator||ufe(t.getCompilerOptions())?!0:lSe(t)}function jn(X){switch(X.kind){case 312:case 228:case 294:case 241:return!0;default:return ia(X)}}function Ln(){return J||!!xe&&_2(Be.parent)||!Si(ge)&&(OH(ge,s,k)||q_(Be)||Dn(ge))}function Si(X){return X&&(X.kind===114&&(X.parent.kind===186||AB(X.parent))||X.kind===131&&X.parent.kind===182)}function Dn(X){if(X){const it=X.parent.kind;switch(X.kind){case 59:return it===172||it===171||it===169||it===260||a7(it);case 64:return it===265;case 130:return it===234;case 30:return it===183||it===216;case 96:return it===168;case 152:return it===238}}return!1}function Cn(){var X,it;if(!bt()||(H.assert(!(E!=null&&E.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),E&&!E.source))return;De|=1;const ct=se===ge&&xe?"":se&&at(se)?se.text.toLowerCase():"",Qt=(X=v.getModuleSpecifierCache)==null?void 0:X.call(v),Li=tK(s,v,t,p,B),Ui=(it=v.getPackageJsonAutoImportProvider)==null?void 0:it.call(v),Sn=E?void 0:HM(s,p,v);Qst("collectAutoImports",v,We||(We=z1.createImportSpecifierResolver(s,t,v,p)),t,f,p,!!xe,Tv(Be),Ru=>{Li.search(s.path,Se,(pr,Xu)=>{if(!Lm(pr,Os(v.getCompilationSettings()))||!E&&m7(pr)||!st&&!xe&&!(Xu&111551)||st&&!(Xu&790504))return!1;const ca=pr.charCodeAt(0);return Se&&(ca<65||ca>90)?!1:E?!0:y0t(pr,ct)},(pr,Xu,ca,Ku)=>{if(E&&!Oe(pr,Fn=>E.source===$4(Fn.moduleSymbol.name))||(pr=ti(pr,du),!pr.length))return;const ja=Ru.tryResolve(pr,ca)||{};if(ja==="failed")return;let wn=pr[0],Ir;ja!=="skipped"&&({exportInfo:wn=pr[0],moduleSpecifier:Ir}=ja);const as=wn.exportKind===1,wo=as&&lB(wn.symbol)||wn.symbol;tu(wo,{kind:Ir?32:4,moduleSpecifier:Ir,symbolName:Xu,exportMapKey:Ku,exportName:wn.exportKind===2?"export=":wn.symbol.name,fileName:wn.moduleFileName,isDefaultExport:as,moduleSymbol:wn.moduleSymbol,isFromPackageJson:wn.isFromPackageJson})}),Ye=Ru.skippedAny(),De|=Ru.resolvedAny()?8:0,De|=Ru.resolvedBeyondLimit()?16:0});function du(Ru){const pr=ur(Ru.moduleSymbol.valueDeclaration,la);if(!pr){const Xu=$4(Ru.moduleSymbol.name);return o3.nodeCoreModules.has(Xu)&&Pa(Xu,"node:")!==OX(s,t)?!1:Sn?Sn.allowsImportingAmbientModule(Ru.moduleSymbol,St(Ru.isFromPackageJson)):!0}return Mfe(Ru.isFromPackageJson?Ui:t,s,pr,p,Sn,St(Ru.isFromPackageJson),Qt)}}function tu(X,it){const Ct=Zo(X);Yt[Ct]!==I1.GlobalsOrKeywords&&(Gt[Ve.length]=it,Yt[Ct]=xe?I1.LocationPriority:I1.AutoImportSuggestions,Ve.push(X))}function oa(X,it){Qn(Be)||X.forEach(Ct=>{if(!Da(Ct))return;const ct=Epe(Ct,Os(d),void 0,0,!1);if(!ct)return;const{name:Qt}=ct,Li=E$t(Ct,Qt,it,t,v,d,p,b);if(!Li)return;const Ui={kind:128,...Li};De|=32,Gt[Ve.length]=Ui,Ve.push(Ct)})}function Da(X){return!!(X.flags&8196)}function ua(X,it,Ct){let ct=X;for(;ct&&!Whe(ct,it,Ct);)ct=ct.parent;return ct}function Ta(X){const it=G0(),Ct=Qe(X)||ni(X)||Ot(X)||Yo(X)||iY(X);return u("getCompletionsAtPosition: isCompletionListBlocker: "+(G0()-it)),Ct}function Yo(X){if(X.kind===12)return!0;if(X.kind===32&&X.parent){if(Be===X.parent&&(Be.kind===286||Be.kind===285))return!1;if(X.parent.kind===286)return Be.parent.kind!==286;if(X.parent.kind===287||X.parent.kind===285)return!!X.parent.parent&&X.parent.parent.kind===284}return!1}function bo(){if(ge){const X=ge.parent.kind,it=_pe(ge);switch(it){case 28:return X===213||X===176||X===214||X===209||X===226||X===184||X===210;case 21:return X===213||X===176||X===214||X===217||X===196;case 23:return X===209||X===181||X===167;case 144:case 145:case 102:return!0;case 25:return X===267;case 19:return X===263||X===210;case 64:return X===260||X===226;case 16:return X===228;case 17:return X===239;case 134:return X===174||X===304;case 42:return X===174}if(Nee(it))return!0}return!1}function Qe(X){return(mce(X)||Use(X))&&(zH(X,f)||f===X.end&&(!!X.isUnterminated||mce(X)))}function Et(){const X=z$t(ge);if(!X)return 0;const Ct=(kB(X.parent)?X.parent:void 0)||X,ct=E0t(Ct,k);if(!ct)return 0;const Qt=k.getTypeFromTypeNode(Ct),Li=xpe(ct,k),Ui=xpe(Qt,k),Sn=new Set;return Ui.forEach(du=>Sn.add(du.escapedName)),Ve=Hi(Ve,ti(Li,du=>!Sn.has(du.escapedName))),Je=0,Ae=!0,1}function Mt(){const X=Ve.length,it=w$t(ge,f,s);if(!it)return 0;Je=0;let Ct,ct;if(it.kind===210){const Qt=j$t(it,k);if(Qt===void 0)return it.flags&67108864?2:(ft=!0,0);const Li=k.getContextualType(it,4),Ui=(Li||Qt).getStringIndexType(),Sn=(Li||Qt).getNumberIndexType();if(Ae=!!Ui||!!Sn,Ct=Dpe(Qt,Li,it,k),ct=it.properties,Ct.length===0&&!Sn)return ft=!0,0}else{H.assert(it.kind===206),Ae=!1;const Qt=XE(it.parent);if(!G8(Qt))return H.fail("Root declaration is not variable-like.");let Li=Nx(Qt)||!!f1(Qt)||Qt.parent.parent.kind===250;if(!Li&&Qt.kind===169&&(Wt(Qt.parent)?Li=!!k.getContextualType(Qt.parent):(Qt.parent.kind===174||Qt.parent.kind===178)&&(Li=Wt(Qt.parent.parent)&&!!k.getContextualType(Qt.parent.parent))),Li){const Ui=k.getTypeAtLocation(it);if(!Ui)return 2;Ct=k.getPropertiesOfType(Ui).filter(Sn=>k.isPropertyAccessible(it,!1,!1,Ui,Sn)),ct=it.elements}}if(Ct&&Ct.length>0){const Qt=$i(Ct,H.checkDefined(ct));Ve=Hi(Ve,Qt),on(),it.kind===210&&p.includeCompletionsWithObjectLiteralMethodSnippets&&p.includeCompletionsWithInsertText&&(te(X),oa(Qt,it))}return 1}function qt(){if(!ge)return 0;const X=ge.kind===19||ge.kind===28?ur(ge.parent,Uq):EX(ge)?ur(ge.parent.parent,Uq):void 0;if(!X)return 0;EX(ge)||(Ge=8);const{moduleSpecifier:it}=X.kind===275?X.parent.parent:X.parent;if(!it)return Ae=!0,X.kind===275?2:0;const Ct=k.getSymbolAtLocation(it);if(!Ct)return Ae=!0,2;Je=3,Ae=!1;const ct=k.getExportsAndPropertiesOfModule(Ct),Qt=new Set(X.elements.filter(Ui=>!je(Ui)).map(Ui=>(Ui.propertyName||Ui.name).escapedText)),Li=ct.filter(Ui=>Ui.escapedName!=="default"&&!Qt.has(Ui.escapedName));return Ve=Hi(Ve,Li),Li.length||(Ge=0),1}function Xt(){var X;const it=ge&&(ge.kind===19||ge.kind===28)?ur(ge.parent,ep):void 0;if(!it)return 0;const Ct=Tn(it,dg(la,_c));return Je=5,Ae=!1,(X=Ct.locals)==null||X.forEach((ct,Qt)=>{var Li,Ui;Ve.push(ct),(Ui=(Li=Ct.symbol)==null?void 0:Li.exports)!=null&&Ui.has(Qt)&&(Yt[Zo(ct)]=I1.OptionalMember)}),1}function Pe(){const X=M$t(s,ge,Be,f);if(!X)return 0;if(Je=3,Ae=!0,Ge=ge.kind===42?0:mr(X)?2:3,!mr(X))return 1;const it=ge.kind===27?ge.parent.parent:ge.parent;let Ct=Zd(it)?Eh(it):0;if(ge.kind===80&&!je(ge))switch(ge.getText()){case"private":Ct=Ct|2;break;case"static":Ct=Ct|256;break;case"override":Ct=Ct|16;break}if(zl(it)&&(Ct|=256),!(Ct&2)){const ct=mr(X)&&Ct&16?Hy(Qg(X)):uP(X),Qt=ju(ct,Li=>{const Ui=k.getTypeAtLocation(Li);return Ct&256?(Ui==null?void 0:Ui.symbol)&&k.getPropertiesOfType(k.getTypeOfSymbolAtLocation(Ui.symbol,X)):Ui&&k.getPropertiesOfType(Ui)});Ve=Hi(Ve,we(Qt,X.members,Ct)),L(Ve,(Li,Ui)=>{const Sn=Li==null?void 0:Li.valueDeclaration;if(Sn&&Zd(Sn)&&Sn.name&&Ps(Sn.name)){const du={kind:512,symbolName:k.symbolToString(Li)};Gt[Ui]=du}})}return 1}function et(X){return!!X.parent&&io(X.parent)&&hc(X.parent.parent)&&(VN(X.kind)||X3(X))}function gt(X){if(X){const it=X.parent;switch(X.kind){case 21:case 28:return hc(X.parent)?X.parent:void 0;default:if(et(X))return it.parent}}}function ii(X){if(X){let it;const Ct=Tn(X.parent,ct=>mr(ct)?"quit":$0(ct)&&it===ct.body?!0:(it=ct,!1));return Ct&&Ct}}function me(X){if(X){const it=X.parent;switch(X.kind){case 32:case 31:case 44:case 80:case 211:case 292:case 291:case 293:if(it&&(it.kind===285||it.kind===286)){if(X.kind===32){const Ct=td(X.pos,s,void 0);if(!it.typeArguments||Ct&&Ct.kind===44)break}return it}else if(it.kind===291)return it.parent.parent;break;case 11:if(it&&(it.kind===291||it.kind===293))return it.parent.parent;break;case 20:if(it&&it.kind===294&&it.parent&&it.parent.kind===291)return it.parent.parent.parent;if(it&&it.kind===293)return it.parent.parent;break}}}function ni(X){const it=X.parent,Ct=it.kind;switch(X.kind){case 28:return Ct===260||Ei(X)||Ct===243||Ct===266||mt(Ct)||Ct===264||Ct===207||Ct===265||mr(it)&&!!it.typeParameters&&it.typeParameters.end>=X.pos;case 25:return Ct===207;case 59:return Ct===208;case 23:return Ct===207;case 21:return Ct===299||mt(Ct);case 19:return Ct===266;case 30:return Ct===263||Ct===231||Ct===264||Ct===265||a7(Ct);case 126:return Ct===172&&!mr(it.parent);case 26:return Ct===169||!!it.parent&&it.parent.kind===207;case 125:case 123:case 124:return Ct===169&&!hc(it.parent);case 130:return Ct===276||Ct===281||Ct===274;case 139:case 153:return!vpe(X);case 80:if(Ct===276&&X===it.name&&X.text==="type")return!1;break;case 86:case 94:case 120:case 100:case 115:case 102:case 121:case 87:case 140:return!0;case 156:return Ct!==276;case 42:return Co(X.parent)&&!dc(X.parent)}if(Nee(_pe(X))&&vpe(X)||et(X)&&(!at(X)||VN(_pe(X))||je(X)))return!1;switch(_pe(X)){case 128:case 86:case 87:case 138:case 94:case 100:case 120:case 121:case 123:case 124:case 125:case 126:case 115:return!0;case 134:return ko(X.parent)}if(Tn(X.parent,mr)&&X===se&&vi(X,f))return!1;const Qt=Fv(X.parent,172);if(Qt&&X!==se&&mr(se.parent.parent)&&f<=se.end){if(vi(X,se.end))return!1;if(X.kind!==64&&(fH(Qt)||JU(Qt)))return!0}return X3(X)&&!pm(X.parent)&&!oE(X.parent)&&!((mr(X.parent)||xh(X.parent)||Bl(X.parent))&&(X!==se||f>se.end))}function vi(X,it){return X.kind!==64&&(X.kind===27||!q4(X.end,it,s))}function mt(X){return a7(X)&&X!==176}function Ot(X){if(X.kind===9){const it=X.getFullText();return it.charAt(it.length-1)==="."}return!1}function Ei(X){return X.parent.kind===261&&!OH(X,s,k)}function $i(X,it){if(it.length===0)return X;const Ct=new Set,ct=new Set;for(const Li of it){if(Li.kind!==303&&Li.kind!==304&&Li.kind!==208&&Li.kind!==174&&Li.kind!==177&&Li.kind!==178&&Li.kind!==305||je(Li))continue;let Ui;if(d5(Li))Qi(Li,Ct);else if(js(Li)&&Li.propertyName)Li.propertyName.kind===80&&(Ui=Li.propertyName.escapedText);else{const Sn=Za(Li);Ui=Sn&&Xg(Sn)?oP(Sn):void 0}Ui!==void 0&&ct.add(Ui)}const Qt=X.filter(Li=>!ct.has(Li.escapedName));return le(Ct,Qt),Qt}function Qi(X,it){const Ct=X.expression,ct=k.getSymbolAtLocation(Ct),Qt=ct&&k.getTypeOfSymbolAtLocation(ct,Ct),Li=Qt&&Qt.properties;Li&&Li.forEach(Ui=>{it.add(Ui.name)})}function on(){Ve.forEach(X=>{if(X.flags&16777216){const it=Zo(X);Yt[it]=Yt[it]??I1.OptionalMember}})}function le(X,it){if(X.size!==0)for(const Ct of it)X.has(Ct.name)&&(Yt[Zo(Ct)]=I1.MemberDeclaredBySpreadAssignment)}function te(X){for(let it=X;it!ct.has(Qt.escapedName)&&!!Qt.declarations&&!(l4(Qt)&2)&&!(Qt.valueDeclaration&&ph(Qt.valueDeclaration)))}function de(X,it){const Ct=new Set,ct=new Set;for(const Li of it)je(Li)||(Li.kind===291?Ct.add(MP(Li.name)):H7(Li)&&Qi(Li,ct));const Qt=X.filter(Li=>!Ct.has(Li.escapedName));return le(ct,Qt),Qt}function je(X){return X.getStart(s)<=f&&f<=X.getEnd()}}function w$t(t,u,s){var d;if(t){const{parent:f}=t;switch(t.kind){case 19:case 28:if(ys(f)||Rp(f))return f;break;case 42:return dc(f)?ur(f.parent,ys):void 0;case 134:return ur(f.parent,ys);case 80:if(t.text==="async"&&pm(t.parent))return t.parent.parent;{if(ys(t.parent.parent)&&(d5(t.parent)||pm(t.parent)&&s0(s,t.getEnd()).line!==s0(s,u).line))return t.parent.parent;const E=Tn(f,Jc);if((E==null?void 0:E.getLastToken(s))===t&&ys(E.parent))return E.parent}break;default:if((d=f.parent)!=null&&d.parent&&(dc(f.parent)||zm(f.parent)||jf(f.parent))&&ys(f.parent.parent))return f.parent.parent;if(d5(f)&&ys(f.parent))return f.parent;const p=Tn(f,Jc);if(t.kind!==59&&(p==null?void 0:p.getLastToken(s))===t&&ys(p.parent))return p.parent}}}function gpe(t,u){const s=td(t,u);return s&&t<=s.end&&(J_(s)||uf(s.kind))?{contextToken:td(s.getFullStart(),u,void 0),previousToken:s}:{contextToken:s,previousToken:s}}function d0t(t,u,s,d){const f=u.isPackageJsonImport?d.getPackageJsonAutoImportProvider():s,p=f.getTypeChecker(),E=u.ambientModuleName?p.tryFindAmbientModule(u.ambientModuleName):u.fileName?p.getMergedSymbol(H.checkDefined(f.getSourceFile(u.fileName)).symbol):void 0;if(!E)return;let v=u.exportName==="export="?p.resolveExternalModuleSymbol(E):p.tryGetMemberInModuleExportsAndProperties(u.exportName,E);return v?(v=u.exportName==="default"&&lB(v)||v,{symbol:v,origin:D$t(u,t,E)}):void 0}function Epe(t,u,s,d,f){if(t$t(s))return;const p=YJt(s)?s.symbolName:t.name;if(p===void 0||t.flags&1536&&_j(p.charCodeAt(0))||Ij(t))return;const E={name:p,needsConvertPropertyAccess:!1};if(Lm(p,u,f?1:0)||t.valueDeclaration&&ph(t.valueDeclaration))return E;switch(d){case 3:return dTe(s)?{name:s.symbolName,needsConvertPropertyAccess:!1}:void 0;case 0:return{name:JSON.stringify(p),needsConvertPropertyAccess:!1};case 2:case 1:return p.charCodeAt(0)===32?void 0:{name:p,needsConvertPropertyAccess:!0};case 5:case 4:return E;default:H.assertNever(d)}}function h0t(t,u){if(!u)return f0t(t);const s=t+8+1;return Pee[s]||(Pee[s]=f0t(t).filter(d=>!T$t(f2(d.name))))}function f0t(t){return Pee[t]||(Pee[t]=kTe().filter(u=>{const s=f2(u.name);switch(t){case 0:return!1;case 1:return p0t(s)||s===138||s===144||s===156||s===145||s===128||PM(s)&&s!==157;case 5:return p0t(s);case 2:return Nee(s);case 3:return m0t(s);case 4:return VN(s);case 6:return PM(s)||s===87;case 7:return PM(s);case 8:return s===156;default:return H.assertNever(t)}}))}function T$t(t){switch(t){case 128:case 133:case 163:case 136:case 138:case 94:case 162:case 119:case 140:case 120:case 142:case 143:case 144:case 145:case 146:case 150:case 151:case 164:case 123:case 124:case 125:case 148:case 154:case 155:case 156:case 158:case 159:return!0;default:return!1}}function m0t(t){return t===148}function Nee(t){switch(t){case 128:case 129:case 137:case 139:case 153:case 134:case 138:case 164:return!0;default:return qse(t)}}function p0t(t){return t===134||t===135||t===130||t===152||t===156||!Bq(t)&&!Nee(t)}function _pe(t){return at(t)?Dv(t)??0:t.kind}function L$t(t,u){const s=[];if(t){const d=t.getSourceFile(),f=t.parent,p=d.getLineAndCharacterOfPosition(t.end).line,E=d.getLineAndCharacterOfPosition(u).line;(Sd(f)||Gc(f)&&f.moduleSpecifier)&&t===f.moduleSpecifier&&p===E&&s.push({name:Uo(132),kind:"keyword",kindModifiers:"",sortText:I1.GlobalsOrKeywords})}return s}function N$t(t,u){return Tn(t,s=>I8(s)&&MH(s,u)?!0:Vp(s)?"quit":!1)}function Dpe(t,u,s,d){const f=u&&u!==t,p=f&&!(u.flags&3)?d.getUnionType([t,u]):t,E=P$t(p,s,d);return p.isClass()&&g0t(E)?[]:f?ti(E,v):E;function v(b){return S(b.declarations)?Oe(b.declarations,B=>B.parent!==s):!0}}function P$t(t,u,s){return t.isUnion()?s.getAllPossiblePropertiesOfTypes(ti(t.types,d=>!(d.flags&402784252||s.isArrayLikeType(d)||s.isTypeInvalidDueToUnionDiscriminant(d,u)||s.typeHasCallOrConstructSignatures(d)||d.isClass()&&g0t(d.getApparentProperties())))):t.getApparentProperties()}function g0t(t){return Oe(t,u=>!!(l4(u)&6))}function xpe(t,u){return t.isUnion()?H.checkEachDefined(u.getAllPossiblePropertiesOfTypes(t.types),"getAllPossiblePropertiesOfTypes() should all be defined"):H.checkEachDefined(t.getApparentProperties(),"getApparentProperties() should all be defined")}function M$t(t,u,s,d){switch(s.kind){case 358:return ur(s.parent,x7);case 1:const f=ur(qu(Po(s.parent,la).statements),x7);if(f&&!a0(f,20,t))return f;break;case 81:if(ur(s.parent,ko))return Tn(s,mr);break;case 80:{if(Dv(s)||ko(s.parent)&&s.parent.initializer===s)return;if(vpe(s))return Tn(s,x7)}}if(u){if(s.kind===137||at(u)&&ko(u.parent)&&mr(s))return Tn(u,mr);switch(u.kind){case 64:return;case 27:case 20:return vpe(s)&&s.parent.name===s?s.parent.parent:ur(s,x7);case 19:case 28:return ur(u.parent,x7);default:if(x7(s)){if(s0(t,u.getEnd()).line!==s0(t,d).line)return s;const f=mr(u.parent.parent)?Nee:m0t;return f(u.kind)||u.kind===42||at(u)&&f(Dv(u)??0)?u.parent.parent:void 0}return}}}function z$t(t){if(!t)return;const u=t.parent;switch(t.kind){case 19:if(fm(u))return u;break;case 27:case 28:case 80:if(u.kind===171&&fm(u.parent))return u.parent;break}}function E0t(t,u){if(!t)return;if(Qr(t)&&$U(t.parent))return u.getTypeArgumentConstraint(t);const s=E0t(t.parent,u);if(s)switch(t.kind){case 171:return u.getTypeOfPropertyOfContextualType(s,t.symbol.escapedName);case 193:case 187:case 192:return s}}function vpe(t){return t.parent&&OU(t.parent)&&x7(t.parent.parent)}function I$t(t,u,s,d){switch(u){case".":case"@":return!0;case'"':case"'":case"`":return!!s&&ASe(s)&&d===s.getStart(t)+1;case"#":return!!s&&Xr(s)&&!!Yd(s);case"<":return!!s&&s.kind===30&&(!Xn(s.parent)||_0t(s.parent));case"/":return!!s&&(t0(s)?!!Aj(s):s.kind===44&&H2(s.parent));case" ":return!!s&&KP(s)&&s.parent.kind===312;default:return H.assertNever(u)}}function _0t({left:t}){return Ql(t)}function R$t(t,u,s){const d=s.resolveName("self",void 0,111551,!1);if(d&&s.getTypeOfSymbolAtLocation(d,u)===t)return!0;const f=s.resolveName("global",void 0,111551,!1);if(f&&s.getTypeOfSymbolAtLocation(f,u)===t)return!0;const p=s.resolveName("globalThis",void 0,111551,!1);return!!(p&&s.getTypeOfSymbolAtLocation(p,u)===t)}function O$t(t){return!!(t.valueDeclaration&&Eh(t.valueDeclaration)&256&&mr(t.valueDeclaration.parent))}function j$t(t,u){const s=u.getContextualType(t);if(s)return s;const d=i5(t.parent);if(Xn(d)&&d.operatorToken.kind===64&&t===d.left)return u.getTypeAtLocation(d);if(Wt(d))return u.getContextualType(d)}function D0t(t,u){var s,d,f;let p,E=!1;const v=b();return{isKeywordOnlyCompletion:E,keywordCompletion:p,isNewIdentifierLocation:!!(v||p===156),isTopLevelTypeOnly:!!((d=(s=ur(v,Sd))==null?void 0:s.importClause)!=null&&d.isTypeOnly)||!!((f=ur(v,E1))!=null&&f.isTypeOnly),couldBeTypeOnlyImportSpecifier:!!v&&v0t(v,t),replacementSpan:V$t(v)};function b(){const B=t.parent;if(E1(B)){const k=B.getLastToken(u);if(at(t)&&k!==t){p=161,E=!0;return}return p=t.kind===156?void 0:156,DTe(B.moduleReference)?B:void 0}if(v0t(B,t)&&C0t(B.parent))return B;if(uD(B)||Jx(B)){if(!B.parent.isTypeOnly&&(t.kind===19||t.kind===102||t.kind===28)&&(p=156),C0t(B))if(t.kind===20||t.kind===80)E=!0,p=161;else return B.parent.parent;return}if(KP(t)&&la(B))return p=156,t;if(KP(t)&&Sd(B))return p=156,DTe(B.moduleSpecifier)?B:void 0}}function V$t(t){var u;if(!t)return;const s=Tn(t,dg(Sd,E1))??t,d=s.getSourceFile();if(hk(s,d))return of(s,d);H.assert(s.kind!==102&&s.kind!==276);const f=s.kind===272?x0t((u=s.importClause)==null?void 0:u.namedBindings)??s.moduleSpecifier:s.moduleReference,p={pos:s.getFirstToken().getStart(),end:f.pos};if(hk(p,d))return qx(p)}function x0t(t){var u;return Le((u=ur(t,uD))==null?void 0:u.elements,s=>{var d;return!s.propertyName&&m7(s.name.text)&&((d=td(s.name.pos,t.getSourceFile(),t))==null?void 0:d.kind)!==28})}function v0t(t,u){return bf(t)&&(t.isTypeOnly||u===t.name&&EX(u))}function C0t(t){if(!DTe(t.parent.parent.moduleSpecifier)||t.parent.name)return!1;if(uD(t)){const u=x0t(t);return(u?t.elements.indexOf(u):t.elements.length)<2}return!0}function DTe(t){var u;return Ql(t)?!0:!((u=ur(r_(t)?t.expression:t,t0))!=null&&u.text)}function H$t(t,u){if(!t)return;const s=Tn(t,f=>k2(f)||b0t(f)||So(f)?"quit":(io(f)||Bl(f))&&!Ek(f.parent)),d=Tn(u,f=>k2(f)||b0t(f)||So(f)?"quit":na(f));return s||d}function b0t(t){return t.parent&&q0(t.parent)&&(t.parent.body===t||t.kind===39)}function xTe(t,u,s=new Map){return d(t)||d(X1(t.exportSymbol||t,u));function d(f){return!!(f.flags&788968)||u.isUnknownSymbol(f)||!!(f.flags&1536)&&Ip(s,Zo(f))&&u.getExportsOfModule(f).some(p=>xTe(p,u,s))}}function K$t(t,u){const s=X1(t,u).declarations;return!!S(s)&&ye(s,RX)}function y0t(t,u){if(u.length===0)return!0;let s=!1,d,f=0;const p=t.length;for(let E=0;E(t.ThisProperty="ThisProperty/",t.ClassMemberSnippet="ClassMemberSnippet/",t.TypeOnlyAlias="TypeOnlyAlias/",t.ObjectLiteralMethodSnippet="ObjectLiteralMethodSnippet/",t.SwitchCases="SwitchCases/",t.ObjectLiteralMemberWithComma="ObjectLiteralMemberWithComma/",t))(CTe||{}),bTe=(t=>(t[t.ThisType=1]="ThisType",t[t.SymbolMember=2]="SymbolMember",t[t.Export=4]="Export",t[t.Promise=8]="Promise",t[t.Nullable=16]="Nullable",t[t.ResolvedExport=32]="ResolvedExport",t[t.TypeOnlyAlias=64]="TypeOnlyAlias",t[t.ObjectLiteralMethod=128]="ObjectLiteralMethod",t[t.Ignore=256]="Ignore",t[t.ComputedPropertyName=512]="ComputedPropertyName",t[t.SymbolMemberNoExport=2]="SymbolMemberNoExport",t[t.SymbolMemberExport=6]="SymbolMemberExport",t))(bTe||{}),yTe=(t=>(t[t.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",t[t.Global=1]="Global",t[t.PropertyAccess=2]="PropertyAccess",t[t.MemberLike=3]="MemberLike",t[t.String=4]="String",t[t.None=5]="None",t))(yTe||{}),Pee=[],kTe=Mh(()=>{const t=[];for(let u=83;u<=165;u++)t.push({name:Uo(u),kind:"keyword",kindModifiers:"",sortText:I1.GlobalsOrKeywords});return t})}});function FTe(){const t=new Map;function u(s){const d=t.get(s.name);(!d||TTe[d.kind]({name:Av(z.value,T),kindModifiers:"",kind:"string",sortText:I1.LocationPriority,replacementSpan:Xhe(u)}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t.isNewIdentifier,optionalReplacementSpan:k,entries:M}}default:return H.assertNever(t)}}function q$t(t,u,s,d,f,p,E,v,b){if(!d||!t0(d))return;const B=A0t(u,d,s,f,p,E,b);return B&&Z$t(t,d,B,u,f,v)}function Z$t(t,u,s,d,f,p){switch(s.kind){case 0:{const E=Le(s.paths,v=>v.name===t);return E&&Lee(t,F0t(E.extension),E.kind,[Km(t)])}case 1:{const E=Le(s.symbols,v=>v.name===t);return E&&ETe(E,E.name,f,d,u,p)}case 2:return Le(s.types,E=>E.value===t)?Lee(t,"","string",[Km(t)]):void 0;default:return H.assertNever(s)}}function k0t(t){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:t.map(({name:f,kind:p,span:E,extension:v})=>({name:f,kind:p,kindModifiers:F0t(v),sortText:I1.LocationPriority,replacementSpan:E}))}}function F0t(t){switch(t){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return H.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return H.assertNever(t)}}function A0t(t,u,s,d,f,p,E){const v=ATe(u.parent);switch(v.kind){case 201:{const z=ATe(v.parent);return z.kind===205?{kind:0,paths:w0t(t,u,f,p,d,E)}:b(z)}case 303:return ys(v.parent)&&v.name===u?X$t(d,v.parent):B()||B(0);case 212:{const{expression:z,argumentExpression:j}=v;return u===l0(j)?S0t(d.getTypeAtLocation(z)):void 0}case 213:case 214:case 291:if(!fUt(u)&&!dm(v)){const z=NK.getArgumentInfoForCompletions(v.kind===291?v.parent:u,s,t);return z&&Q$t(z.invocation,u,z,d)||B(0)}case 272:case 278:case 283:return{kind:0,paths:w0t(t,u,f,p,d,E)};case 296:const k=VX(d,v.parent.clauses),T=B();return T?{kind:2,types:T.types.filter(z=>!k.hasValue(z.value)),isNewIdentifier:!1}:void 0;default:return B()||B(0)}function b(k){switch(k.kind){case 233:case 183:{const z=Tn(v,j=>j.parent===k);return z?{kind:2,types:bpe(d.getTypeArgumentConstraint(z)),isNewIdentifier:!1}:void 0}case 199:const{indexType:T,objectType:M}=k;return MH(T,s)?S0t(d.getTypeFromTypeNode(M)):void 0;case 192:{const z=b(ATe(k.parent));if(!z)return;const j=Y$t(k,v);return z.kind===1?{kind:1,symbols:z.symbols.filter(J=>!kt(j,J.name)),hasIndexSignature:z.hasIndexSignature}:{kind:2,types:z.types.filter(J=>!kt(j,J.value)),isNewIdentifier:!1}}default:return}}function B(k=4){const T=bpe(SX(u,d,k));if(T.length)return{kind:2,types:T,isNewIdentifier:!1}}}function ATe(t){switch(t.kind){case 196:return Lj(t);case 217:return i5(t);default:return t}}function Y$t(t,u){return qi(t.types,s=>s!==u&&Mv(s)&&us(s.literal)?s.literal.text:void 0)}function Q$t(t,u,s,d){let f=!1;const p=new Map,E=zh(t)?H.checkDefined(Tn(u.parent,oE)):u,v=d.getCandidateSignaturesForStringLiteralCompletions(t,E),b=ju(v,B=>{if(!th(B)&&s.argumentCount>B.parameters.length)return;let k=B.getTypeParameterAtPosition(s.argumentIndex);if(zh(t)){const T=d.getTypeOfPropertyOfType(k,sV(E.name));T&&(k=T)}return f=f||!!(k.flags&4),bpe(k,p)});return S(b)?{kind:2,types:b,isNewIdentifier:f}:void 0}function S0t(t){return t&&{kind:1,symbols:ti(t.getApparentProperties(),u=>!(u.valueDeclaration&&ph(u.valueDeclaration))),hasIndexSignature:_fe(t)}}function X$t(t,u){const s=t.getContextualType(u);if(!s)return;const d=t.getContextualType(u,4);return{kind:1,symbols:Dpe(s,d,u,t),hasIndexSignature:_fe(s)}}function bpe(t,u=new Map){return t?(t=nfe(t),t.isUnion()?ju(t.types,s=>bpe(s,u)):t.isStringLiteral()&&!(t.flags&1024)&&Ip(u,t.value)?[t]:_t):_t}function YM(t,u,s){return{name:t,kind:u,extension:s}}function STe(t){return YM(t,"directory",void 0)}function B0t(t,u,s){const d=dUt(t,u),f=t.length===0?void 0:d1(u,t.length);return s.map(({name:p,kind:E,extension:v})=>p.includes(rl)||p.includes(BO)?{name:p,kind:E,extension:v,span:f}:{name:p,kind:E,extension:v,span:d})}function w0t(t,u,s,d,f,p){return B0t(u.text,u.getStart(t)+1,eUt(t,u,s,d,f,p))}function eUt(t,u,s,d,f,p){const E=q1(u.text),v=t0(u)?xg(t,u):void 0,b=t.path,B=lr(b),k=BTe(s,1,t,f,p,v);return hUt(E)||!s.baseUrl&&!s.paths&&(Pf(E)||x2e(E))?tUt(E,B,s,d,b,k):rUt(E,B,v,s,d,k,f)}function BTe(t,u,s,d,f,p){return{extensionsToSearch:Va(iUt(t,d)),referenceKind:u,importingSourceFile:s,endingPreference:f==null?void 0:f.importModuleSpecifierEnding,resolutionMode:p}}function tUt(t,u,s,d,f,p){return s.rootDirs?uUt(s.rootDirs,t,u,p,s,d,f):ga(SK(t,u,p,d,!0,f).values())}function iUt(t,u){const s=u?qi(u.getAmbientModules(),p=>{const E=p.name.slice(1,-1);if(!(!E.startsWith("*.")||E.includes("/")))return E.slice(1)}):[],d=[...kP(t),s],f=p1(t);return _X(f)?tV(t,d):d}function nUt(t,u,s,d){t=t.map(p=>zd($o(Pf(p)?p:cr(u,p))));const f=G(t,p=>GE(p,s,u,d)?s.substr(p.length):void 0);return ri([...t.map(p=>cr(p,f)),s].map(p=>mv(p)),XA,dh)}function uUt(t,u,s,d,f,p,E){const v=f.project||p.getCurrentDirectory(),b=!(p.useCaseSensitiveFileNames&&p.useCaseSensitiveFileNames()),B=nUt(t,v,s,b);return ju(B,k=>ga(SK(u,k,d,p,!0,E).values()))}function SK(t,u,s,d,f,p,E=FTe()){var v;t===void 0&&(t=""),t=q1(t),ZD(t)||(t=lr(t)),t===""&&(t="."+rl),t=zd(t);const b=kx(u,t),B=ZD(b)?b:lr(b);if(!f){const z=BSe(B,d);if(z){const J=EP(z,d).typesVersions;if(typeof J=="object"){const K=(v=jY(J))==null?void 0:v.paths;if(K){const Y=lr(z),oe=b.slice(zd(Y).length);if(L0t(E,oe,Y,s,d,K))return E}}}}const k=!(d.useCaseSensitiveFileNames&&d.useCaseSensitiveFileNames());if(!NX(d,B))return E;const T=xfe(d,B,s.extensionsToSearch,void 0,["./*"]);if(T)for(let z of T){if(z=$o(z),p&&pv(z,p,u,k)===0)continue;const{name:j,extension:J}=T0t(Ac(z),d.getCompilationSettings(),s);E.add(YM(j,"script",J))}const M=LX(d,B);if(M)for(const z of M){const j=Ac($o(z));j!=="@types"&&E.add(STe(j))}return E}function T0t(t,u,s){const d=Z2.tryGetRealFileNameForNonJsDeclarationFileName(t);if(d)return{name:d,extension:t3(d)};if(s.referenceKind===0)return{name:t,extension:t3(t)};const f=Sle(s.endingPreference,s.resolutionMode,u,s.importingSourceFile);if(f===3){if(jc(t,hV))return{name:t,extension:t3(t)};const E=Z2.tryGetJSExtensionForFile(t,u);return E?{name:wv(t,E),extension:E}:{name:t,extension:t3(t)}}if((f===0||f===1)&&jc(t,[".js",".jsx",".ts",".tsx",".d.ts"]))return{name:_h(t),extension:t3(t)};const p=Z2.tryGetJSExtensionForFile(t,u);return p?{name:wv(t,p),extension:p}:{name:t,extension:t3(t)}}function L0t(t,u,s,d,f,p){const E=b=>p[b],v=(b,B)=>{const k=fB(b),T=fB(B),M=typeof k=="object"?k.prefix.length:b.length,z=typeof T=="object"?T.prefix.length:B.length;return nl(z,M)};return N0t(t,u,s,d,f,Ns(p),E,v)}function N0t(t,u,s,d,f,p,E,v){let b=[],B;for(const k of p){if(k===".")continue;const T=k.replace(/^\.\//,""),M=E(k);if(M){const z=fB(T);if(!z)continue;const j=typeof z=="object"&&Y$(z,u);j&&(B===void 0||v(k,B)===-1)&&(B=k,b=b.filter(K=>!K.matchedPattern)),(typeof z=="string"||B===void 0||v(k,B)!==1)&&b.push({matchedPattern:j,results:aUt(T,M,u,s,d,f).map(({name:K,kind:Y,extension:oe})=>YM(K,Y,oe))})}}return b.forEach(k=>k.results.forEach(T=>t.add(T))),B!==void 0}function rUt(t,u,s,d,f,p,E){const{baseUrl:v,paths:b}=d,B=FTe(),k=p1(d);if(v){const M=$o(cr(f.getCurrentDirectory(),v));SK(t,M,p,f,!1,void 0,B)}if(b){const M=zq(d,f);L0t(B,t,M,p,f,b)}const T=M0t(t);for(const M of sUt(t,T,E))B.add(YM(M,"external module name",void 0));if(R0t(f,d,u,T,p,B),_X(k)){let M=!1;if(T===void 0)for(const z of cUt(f,u)){const j=YM(z,"external module name",void 0);B.has(j.name)||(M=!0,B.add(j))}if(!M){let z=j=>{const J=cr(j,"node_modules");NX(f,J)&&SK(t,J,p,f,!1,void 0,B)};if(T&&vle(d)){const j=z;z=J=>{const K=yd(t);K.shift();let Y=K.shift();if(!Y)return j(J);if(Pa(Y,"@")){const ge=K.shift();if(!ge)return j(J);Y=cr(Y,ge)}const oe=cr(J,"node_modules",Y),se=cr(oe,"package.json");if(QH(f,se)){const ae=EP(se,f).exports;if(ae){if(typeof ae!="object"||ae===null)return;const Ce=Ns(ae),ne=K.join("/")+(K.length&&ZD(t)?"/":""),ve=$2(d,s);N0t(B,ne,oe,p,f,Ce,Se=>Hy(P0t(ae[Se],ve)),Sde);return}}return j(J)}}Ug(u,z)}}return ga(B.values())}function P0t(t,u){if(typeof t=="string")return t;if(t&&typeof t=="object"&&!Ha(t)){for(const s in t)if(s==="default"||u.includes(s)||sH(u,s)){const d=t[s];return P0t(d,u)}}}function M0t(t){return wTe(t)?ZD(t)?t:lr(t):void 0}function aUt(t,u,s,d,f,p){if(!sc(t,"*"))return t.includes("*")?_t:b(t,"script");const E=t.slice(0,t.length-1),v=doe(s,E);if(v===void 0)return t[t.length-2]==="/"?b(E,"directory"):ju(u,k=>{var T;return(T=z0t("",d,k,f,p))==null?void 0:T.map(({name:M,...z})=>({name:E+M,...z}))});return ju(u,B=>z0t(v,d,B,f,p));function b(B,k){return Pa(B,s)?[{name:mv(B),kind:k,extension:void 0}]:_t}}function z0t(t,u,s,d,f){if(!f.readDirectory)return;const p=fB(s);if(p===void 0||Ja(p))return;const E=kx(p.prefix),v=ZD(p.prefix)?E:lr(E),b=ZD(p.prefix)?"":Ac(E),B=wTe(t),k=B?ZD(t)?t:lr(t):void 0,T=B?cr(v,b+k):v,M=$o(p.suffix),z=M&&Kj("_"+M),j=z?[wv(M,z),M]:[M],J=$o(cr(u,T)),K=B?J:zd(J)+b,Y=M?j.map(ae=>"**/*"+ae):["./*"],oe=qi(xfe(f,J,d.extensionsToSearch,void 0,Y),ae=>{const Ce=ge(ae);if(Ce){if(wTe(Ce))return STe(yd(I0t(Ce))[1]);const{name:ne,extension:ve}=T0t(Ce,f.getCompilationSettings(),d);return YM(ne,"script",ve)}}),se=M?_t:qi(LX(f,J),ae=>ae==="node_modules"?void 0:STe(ae));return[...oe,...se];function ge(ae){return G(j,Ce=>{const ne=oUt($o(ae),K,Ce);return ne===void 0?void 0:I0t(ne)})}}function oUt(t,u,s){return Pa(t,u)&&sc(t,s)?t.slice(u.length,t.length-s.length):void 0}function I0t(t){return t[0]===rl?t.slice(1):t}function sUt(t,u,s){const f=s.getAmbientModules().map(p=>$4(p.name)).filter(p=>Pa(p,t)&&!p.includes("*"));if(u!==void 0){const p=zd(u);return f.map(E=>yN(E,p))}return f}function lUt(t,u,s,d){const f=Ca(t,u),p=W_(t.text,f.pos),E=p&&Le(p,j=>u>=j.pos&&u<=j.end);if(!E)return;const v=t.text.slice(E.pos,u),b=O0t.exec(v);if(!b)return;const[,B,k,T]=b,M=lr(t.path),z=k==="path"?SK(T,M,BTe(s,0,t),d,!0,t.path):k==="types"?R0t(d,s,M,M0t(T),BTe(s,1,t)):H.fail();return B0t(T,E.pos+B.length,ga(z.values()))}function R0t(t,u,s,d,f,p=FTe()){const E=new Map,v=PX(()=>cM(u,t))||_t;for(const B of v)b(B);for(const B of vfe(s,t)){const k=cr(lr(B),"node_modules/@types");b(k)}return p;function b(B){if(NX(t,B))for(const k of LX(t,B)){const T=lH(k);if(!(u.types&&!kt(u.types,T)))if(d===void 0)E.has(T)||(p.add(YM(T,"external module name",void 0)),E.set(T,!0));else{const M=cr(B,k),z=yle(d,T,n5(t));z!==void 0&&SK(z,M,f,t,!1,void 0,p)}}}}function cUt(t,u){if(!t.readFile||!t.fileExists)return _t;const s=[];for(const d of vfe(u,t)){const f=EP(d,t);for(const p of j0t){const E=f[p];if(E)for(const v in E)gu(E,v)&&!Pa(v,"@types/")&&s.push(v)}}return s}function dUt(t,u){const s=Math.max(t.lastIndexOf(rl),t.lastIndexOf(BO)),d=s!==-1?s+1:0,f=t.length-d;return f===0||Lm(t.substr(d,f),99)?void 0:d1(u+d,f)}function hUt(t){if(t&&t.length>=2&&t.charCodeAt(0)===46){const u=t.length>=3&&t.charCodeAt(1)===46?2:1,s=t.charCodeAt(u);return s===47||s===92}return!1}function wTe(t){return t.includes(rl)}function fUt(t){return Mo(t.parent)&&Ki(t.parent.arguments)===t&&at(t.parent.expression)&&t.parent.expression.escapedText==="require"}var TTe,O0t,j0t,mUt=o({"src/services/stringCompletions.ts"(){rr(),LTe(),TTe={directory:0,script:1,"external module name":2},O0t=/^(\/\/\/\s*q$t,getStringLiteralCompletions:()=>$$t});var pUt=o({"src/services/_namespaces/ts.Completions.StringCompletions.ts"(){mUt()}}),h9={};h(h9,{CompletionKind:()=>yTe,CompletionSource:()=>CTe,SortText:()=>I1,StringCompletions:()=>ype,SymbolOriginInfoKind:()=>bTe,createCompletionDetails:()=>Lee,createCompletionDetailsForSymbol:()=>ETe,getCompletionEntriesFromSymbols:()=>pTe,getCompletionEntryDetails:()=>y$t,getCompletionEntrySymbol:()=>F$t,getCompletionsAtPosition:()=>i$t,getPropertiesForObjectExpression:()=>Dpe,moduleSpecifierResolutionCacheAttemptLimit:()=>vTe,moduleSpecifierResolutionLimit:()=>Cpe});var LTe=o({"src/services/_namespaces/ts.Completions.ts"(){J$t(),pUt()}});function NTe(t,u,s,d){const f=DUt(t,s,d);return(p,E,v)=>{const{directImports:b,indirectUsers:B}=gUt(t,u,f,E,s,d);return{indirectUsers:B,...EUt(b,p,E.exportKind,s,v)}}}function gUt(t,u,s,{exportingModuleSymbol:d,exportKind:f},p,E){const v=i9(),b=i9(),B=[],k=!!d.globalExports,T=k?void 0:[];return z(d),{directImports:B,indirectUsers:M()};function M(){if(k)return t;if(d.declarations)for(const se of d.declarations)v2(se)&&u.has(se.getSourceFile().fileName)&&Y(se);return T.map(zn)}function z(se){const ge=oe(se);if(ge){for(const ae of ge)if(v(ae))switch(E&&E.throwIfCancellationRequested(),ae.kind){case 213:if(dm(ae)){j(ae);break}if(!k){const ne=ae.parent;if(f===2&&ne.kind===260){const{name:ve}=ne;if(ve.kind===80){B.push(ve);break}}}break;case 80:break;case 271:K(ae,ae.name,Yu(ae,32),!1);break;case 272:B.push(ae);const Ce=ae.importClause&&ae.importClause.namedBindings;Ce&&Ce.kind===274?K(ae,Ce.name,!1,!0):!k&&c7(ae)&&Y(Mee(ae));break;case 278:ae.exportClause?ae.exportClause.kind===280?Y(Mee(ae),!0):B.push(ae):z(yUt(ae,p));break;case 205:!k&&ae.isTypeOf&&!ae.qualifier&&J(ae)&&Y(ae.getSourceFile(),!0),B.push(ae);break;default:H.failBadSyntaxKind(ae,"Unexpected import kind.")}}}function j(se){const ge=Tn(se,kpe)||se.getSourceFile();Y(ge,!!J(se,!0))}function J(se,ge=!1){return Tn(se,ae=>ge&&kpe(ae)?"quit":Hp(ae)&&Oe(ae.modifiers,L7))}function K(se,ge,ae,Ce){if(f===2)Ce||B.push(se);else if(!k){const ne=Mee(se);H.assert(ne.kind===312||ne.kind===267),ae||_Ut(ne,ge,p)?Y(ne,!0):Y(ne)}}function Y(se,ge=!1){if(H.assert(!k),!b(se)||(T.push(se),!ge))return;const Ce=p.getMergedSymbol(se.symbol);if(!Ce)return;H.assert(!!(Ce.flags&1536));const ne=oe(Ce);if(ne)for(const ve of ne)nD(ve)||Y(Mee(ve),!0)}function oe(se){return s.get(Zo(se).toString())}}function EUt(t,u,s,d,f){const p=[],E=[];function v(M,z){p.push([M,z])}if(t)for(const M of t)b(M);return{importSearches:p,singleReferences:E};function b(M){if(M.kind===271){MTe(M)&&B(M.name);return}if(M.kind===80){B(M);return}if(M.kind===205){if(M.qualifier){const J=hm(M.qualifier);J.escapedText===lc(u)&&E.push(J)}else s===2&&E.push(M.argument.literal);return}if(M.moduleSpecifier.kind!==11)return;if(M.kind===278){M.exportClause&&ep(M.exportClause)&&k(M.exportClause);return}const{name:z,namedBindings:j}=M.importClause||{name:void 0,namedBindings:void 0};if(j)switch(j.kind){case 274:B(j.name);break;case 275:(s===0||s===1)&&k(j);break;default:H.assertNever(j)}if(z&&(s===1||s===2)&&(!f||z.escapedText===xX(u))){const J=d.getSymbolAtLocation(z);v(z,J)}}function B(M){s===2&&(!f||T(M.escapedText))&&v(M,d.getSymbolAtLocation(M))}function k(M){if(M)for(const z of M.elements){const{name:j,propertyName:J}=z;if(T((J||j).escapedText))if(J)E.push(J),(!f||j.escapedText===u.escapedName)&&v(j,d.getSymbolAtLocation(j));else{const K=z.kind===281&&z.propertyName?d.getExportSpecifierLocalTargetSymbol(z):d.getSymbolAtLocation(j);v(j,K)}}}function T(M){return M===u.escapedName||s!==0&&M==="default"}}function _Ut(t,u,s){const d=s.getSymbolAtLocation(u);return!!H0t(t,f=>{if(!Gc(f))return;const{exportClause:p,moduleSpecifier:E}=f;return!E&&p&&ep(p)&&p.elements.some(v=>s.getExportSpecifierLocalTargetSymbol(v)===d)})}function V0t(t,u,s){var d;const f=[],p=t.getTypeChecker();for(const E of u){const v=s.valueDeclaration;if((v==null?void 0:v.kind)===312){for(const b of E.referencedFiles)t.getSourceFileFromReference(E,b)===v&&f.push({kind:"reference",referencingFile:E,ref:b});for(const b of E.typeReferenceDirectives){const B=(d=t.getResolvedTypeReferenceDirectives().get(b.fileName,b.resolutionMode||E.impliedNodeFormat))==null?void 0:d.resolvedTypeReferenceDirective;B!==void 0&&B.resolvedFileName===v.fileName&&f.push({kind:"reference",referencingFile:E,ref:b})}}K0t(E,(b,B)=>{p.getSymbolAtLocation(B)===s&&f.push(sl(b)?{kind:"implicit",literal:B,referencingFile:E}:{kind:"import",literal:B})})}return f}function DUt(t,u,s){const d=new Map;for(const f of t)s&&s.throwIfCancellationRequested(),K0t(f,(p,E)=>{const v=u.getSymbolAtLocation(E);if(v){const b=Zo(v).toString();let B=d.get(b);B||d.set(b,B=[]),B.push(p)}});return d}function H0t(t,u){return L(t.kind===312?t.statements:t.body.statements,s=>u(s)||kpe(s)&&L(s.body&&s.body.statements,u))}function K0t(t,u){if(t.externalModuleIndicator||t.imports!==void 0)for(const s of t.imports)u(tP(s),s);else H0t(t,s=>{switch(s.kind){case 278:case 272:{const d=s;d.moduleSpecifier&&us(d.moduleSpecifier)&&u(d,d.moduleSpecifier);break}case 271:{const d=s;MTe(d)&&u(d,d.moduleReference.expression);break}}})}function W0t(t,u,s,d){return d?f():f()||p();function f(){var b;const{parent:B}=t,k=B.parent;if(u.exportSymbol)return B.kind===211?(b=u.declarations)!=null&&b.some(z=>z===B)&&Xn(k)?M(k,!1):void 0:E(u.exportSymbol,v(B));{const z=vUt(B,t);if(z&&Yu(z,32))return E1(z)&&z.moduleReference===t?d?void 0:{kind:0,symbol:s.getSymbolAtLocation(z.name)}:E(u,v(z));if(u_(B))return E(u,0);if(tc(B))return T(B);if(tc(k))return T(k);if(Xn(B))return M(B,!0);if(Xn(k))return M(k,!0);if(PB(B)||Ace(B))return E(u,0)}function T(z){if(!z.symbol.parent)return;const j=z.isExportEquals?2:1;return{kind:1,symbol:u,exportInfo:{exportingModuleSymbol:z.symbol.parent,exportKind:j}}}function M(z,j){let J;switch(Xl(z)){case 1:J=0;break;case 2:J=2;break;default:return}const K=j?s.getSymbolAtLocation(Uye(Po(z.left,I0))):u;return K&&E(K,J)}}function p(){if(!CUt(t))return;let B=s.getImmediateAliasedSymbol(u);if(!B||(B=bUt(B,s),B.escapedName==="export="&&(B=xUt(B,s),B===void 0)))return;const k=xX(B);if(k===void 0||k==="default"||k===u.escapedName)return{kind:0,symbol:B}}function E(b,B){const k=PTe(b,B,s);return k&&{kind:1,symbol:b,exportInfo:k}}function v(b){return Yu(b,2048)?1:0}}function xUt(t,u){var s,d;if(t.flags&2097152)return u.getImmediateAliasedSymbol(t);const f=H.checkDefined(t.valueDeclaration);if(tc(f))return(s=ur(f.expression,Zg))==null?void 0:s.symbol;if(Xn(f))return(d=ur(f.right,Zg))==null?void 0:d.symbol;if(la(f))return f.symbol}function vUt(t,u){const s=na(t)?t:js(t)?S8(t):void 0;return s?t.name!==u||G2(s.parent)?void 0:Jl(s.parent.parent)?s.parent.parent:void 0:t}function CUt(t){const{parent:u}=t;switch(u.kind){case 271:return u.name===t&&MTe(u);case 276:return!u.propertyName;case 273:case 274:return H.assert(u.name===t),!0;case 208:return Qn(t)&&F2(u.parent.parent);default:return!1}}function PTe(t,u,s){const d=t.parent;if(!d)return;const f=s.getMergedSymbol(d);return HH(f)?{exportingModuleSymbol:f,exportKind:u}:void 0}function bUt(t,u){if(t.declarations)for(const s of t.declarations){if(eh(s)&&!s.propertyName&&!s.parent.parent.moduleSpecifier)return u.getExportSpecifierLocalTargetSymbol(s)||t;if(Iu(s)&&Y_(s.expression)&&!Xr(s.name))return u.getSymbolAtLocation(s);if(pm(s)&&Xn(s.parent.parent)&&Xl(s.parent.parent)===2)return u.getExportSpecifierLocalTargetSymbol(s.name)}return t}function yUt(t,u){return u.getMergedSymbol(Mee(t).symbol)}function Mee(t){if(t.kind===213)return t.getSourceFile();const{parent:u}=t;return u.kind===312?u:(H.assert(u.kind===268),Po(u.parent,kpe))}function kpe(t){return t.kind===267&&t.name.kind===11}function MTe(t){return t.moduleReference.kind===283&&t.moduleReference.expression.kind===11}var zTe,ITe,kUt=o({"src/services/importTracker.ts"(){rr(),zTe=(t=>(t[t.Named=0]="Named",t[t.Default=1]="Default",t[t.ExportEquals=2]="ExportEquals",t))(zTe||{}),ITe=(t=>(t[t.Import=0]="Import",t[t.Export=1]="Export",t))(ITe||{})}});function l3(t,u=1){return{kind:u,node:t.name||t,context:FUt(t)}}function G0t(t){return t&&t.kind===void 0}function FUt(t){if(Q1(t))return Vk(t);if(t.parent){if(!Q1(t.parent)&&!tc(t.parent)){if(Qn(t)){const s=Xn(t.parent)?t.parent:I0(t.parent)&&Xn(t.parent.parent)&&t.parent.parent.left===t.parent?t.parent.parent:void 0;if(s&&Xl(s)!==0)return Vk(s)}if(aE(t.parent)||H2(t.parent))return t.parent.parent;if(bk(t.parent)||V2(t.parent)||ON(t.parent))return t.parent;if(t0(t)){const s=Aj(t);if(s){const d=Tn(s,f=>Q1(f)||ia(f)||I8(f));return Q1(d)?Vk(d):d}}const u=Tn(t,Ps);return u?Vk(u.parent):void 0}if(t.parent.name===t||hc(t.parent)||tc(t.parent)||(r7(t.parent)||js(t.parent))&&t.parent.propertyName===t||t.kind===90&&Yu(t.parent,2080))return Vk(t.parent)}}function Vk(t){if(t)switch(t.kind){case 260:return!Ad(t.parent)||t.parent.declarations.length!==1?t:Jl(t.parent.parent)?t.parent.parent:M8(t.parent.parent)?Vk(t.parent.parent):t.parent;case 208:return Vk(t.parent.parent);case 276:return t.parent.parent.parent;case 281:case 274:return t.parent.parent;case 273:case 280:return t.parent;case 226:return Od(t.parent)?t.parent:t;case 250:case 249:return{start:t.initializer,end:t.expression};case 303:case 304:return p5(t.parent)?Vk(Tn(t.parent,u=>Xn(u)||M8(u))):t;default:return t}}function RTe(t,u,s){if(!s)return;const d=G0t(s)?Iee(s.start,u,s.end):Iee(s,u);return d.start!==t.start||d.length!==t.length?{contextSpan:d}:void 0}function AUt(t,u,s,d,f){const p=af(d,f),E={use:1},v=f9.getReferencedSymbolsForNode(f,p,t,s,u,E),b=t.getTypeChecker(),B=f9.getAdjustedNode(p,E),k=SUt(B)?b.getSymbolAtLocation(B):void 0;return!v||!v.length?void 0:qi(v,({definition:T,references:M})=>T&&{definition:b.runWithCancellationToken(u,z=>TUt(T,z,p)),references:M.map(z=>NUt(z,k))})}function SUt(t){return t.kind===90||!!nP(t)||Nj(t)||t.kind===137&&hc(t.parent)}function BUt(t,u,s,d,f){const p=af(d,f);let E;const v=J0t(t,u,s,p,f);if(p.parent.kind===211||p.parent.kind===208||p.parent.kind===212||p.kind===108)E=v&&[...v];else if(v){const B=U$(v),k=new Map;for(;!B.isEmpty();){const T=B.dequeue();if(!Ip(k,$s(T.node)))continue;E=xi(E,T);const M=J0t(t,u,s,T.node,T.node.pos);M&&B.enqueue(...M)}}const b=t.getTypeChecker();return Vt(E,B=>MUt(B,b))}function J0t(t,u,s,d,f){if(d.kind===312)return;const p=t.getTypeChecker();if(d.parent.kind===304){const E=[];return f9.getReferenceEntriesForShorthandPropertyAssignment(d,p,v=>E.push(l3(v))),E}else if(d.kind===108||nf(d.parent)){const E=p.getSymbolAtLocation(d);return E.valueDeclaration&&[l3(E.valueDeclaration)]}else return $0t(f,d,t,s,u,{implementations:!0,use:1})}function wUt(t,u,s,d,f,p,E){return Vt(U0t(f9.getReferencedSymbolsForNode(f,d,t,s,u,p)),v=>E(v,d,t.getTypeChecker()))}function $0t(t,u,s,d,f,p={},E=new Set(d.map(v=>v.fileName))){return U0t(f9.getReferencedSymbolsForNode(t,u,s,d,f,p,E))}function U0t(t){return t&&ju(t,u=>u.references)}function TUt(t,u,s){const d=(()=>{switch(t.type){case 0:{const{symbol:k}=t,{displayParts:T,kind:M}=q0t(k,u,s),z=T.map(K=>K.text).join(""),j=k.declarations&&Ki(k.declarations),J=j?Za(j)||j:s;return{...zee(J),name:z,kind:M,displayParts:T,context:Vk(j)}}case 1:{const{node:k}=t;return{...zee(k),name:k.text,kind:"label",displayParts:[yf(k.text,17)]}}case 2:{const{node:k}=t,T=Uo(k.kind);return{...zee(k),name:T,kind:"keyword",displayParts:[{text:T,kind:"keyword"}]}}case 3:{const{node:k}=t,T=u.getSymbolAtLocation(k),M=T&&x5.getSymbolDisplayPartsDocumentationAndSymbolKind(u,T,k.getSourceFile(),Mk(k),k).displayParts||[Km("this")];return{...zee(k),name:"this",kind:"var",displayParts:M}}case 4:{const{node:k}=t;return{...zee(k),name:k.text,kind:"var",displayParts:[yf(Hc(k),8)]}}case 5:return{textSpan:qx(t.reference),sourceFile:t.file,name:t.reference.fileName,kind:"string",displayParts:[yf(`"${t.reference.fileName}"`,8)]};default:return H.assertNever(t)}})(),{sourceFile:f,textSpan:p,name:E,kind:v,displayParts:b,context:B}=d;return{containerKind:"",containerName:"",fileName:f.fileName,kind:v,name:E,textSpan:p,displayParts:b,...RTe(p,f,B)}}function zee(t){const u=t.getSourceFile();return{sourceFile:u,textSpan:Iee(Ps(t)?t.expression:t,u)}}function q0t(t,u,s){const d=f9.getIntersectingMeaningFromDeclarations(s,t),f=t.declarations&&Ki(t.declarations)||s,{displayParts:p,symbolKind:E}=x5.getSymbolDisplayPartsDocumentationAndSymbolKind(u,t,f.getSourceFile(),f,f,d);return{displayParts:p,kind:E}}function LUt(t,u,s,d,f){return{...Fpe(t),...d&&PUt(t,u,s,f)}}function NUt(t,u){const s=Z0t(t);return u?{...s,isDefinition:t.kind!==0&&Y0t(t.node,u)}:s}function Z0t(t){const u=Fpe(t);if(t.kind===0)return{...u,isWriteAccess:!1};const{kind:s,node:d}=t;return{...u,isWriteAccess:jTe(d),isInString:s===2?!0:void 0}}function Fpe(t){if(t.kind===0)return{textSpan:t.textSpan,fileName:t.fileName};{const u=t.node.getSourceFile(),s=Iee(t.node,u);return{textSpan:s,fileName:u.fileName,...RTe(s,u,t.context)}}}function PUt(t,u,s,d){if(t.kind!==0&&at(u)){const{node:f,kind:p}=t,E=f.parent,v=u.text,b=pm(E);if(b||GH(E)&&E.name===f&&E.dotDotDotToken===void 0){const B={prefixText:v+": "},k={suffixText:": "+v};if(p===3)return B;if(p===4)return k;if(b){const T=E.parent;return ys(T)&&Xn(T.parent)&&Y_(T.parent.left)?B:k}else return B}else if(bf(E)&&!E.propertyName){const B=eh(u.parent)?s.getExportSpecifierLocalTargetSymbol(u.parent):s.getSymbolAtLocation(u);return kt(B.declarations,E)?{prefixText:v+" as "}:d4}else if(eh(E)&&!E.propertyName)return u===t.node||s.getSymbolAtLocation(u)===s.getSymbolAtLocation(t.node)?{prefixText:v+" as "}:{suffixText:" as "+v}}if(t.kind!==0&&Of(t.node)&&I0(t.node.parent)){const f=ofe(d);return{prefixText:f,suffixText:f}}return d4}function MUt(t,u){const s=Fpe(t);if(t.kind!==0){const{node:d}=t;return{...s,...zUt(d,u)}}else return{...s,kind:"",displayParts:[]}}function zUt(t,u){const s=u.getSymbolAtLocation(Q1(t)&&t.name?t.name:t);return s?q0t(s,u,t):t.kind===210?{kind:"interface",displayParts:[ih(21),Km("object literal"),ih(22)]}:t.kind===231?{kind:"local class",displayParts:[ih(21),Km("anonymous local class"),ih(22)]}:{kind:tb(t),displayParts:[]}}function IUt(t){const u=Fpe(t);if(t.kind===0)return{fileName:u.fileName,span:{textSpan:u.textSpan,kind:"reference"}};const s=jTe(t.node),d={textSpan:u.textSpan,kind:s?"writtenReference":"reference",isInString:t.kind===2?!0:void 0,...u.contextSpan&&{contextSpan:u.contextSpan}};return{fileName:u.fileName,span:d}}function Iee(t,u,s){let d=t.getStart(u),f=(s||t).getEnd();return t0(t)&&f-d>2&&(H.assert(s===void 0),d+=1,f-=1),Vc(d,f)}function OTe(t){return t.kind===0?t.textSpan:Iee(t.node,t.node.getSourceFile())}function jTe(t){const u=nP(t);return!!u&&RUt(u)||t.kind===90||D7(t)}function Y0t(t,u){var s;if(!u)return!1;const d=nP(t)||(t.kind===90?t.parent:Nj(t)||t.kind===137&&hc(t.parent)?t.parent.parent:void 0),f=d&&Xn(d)?d.left:void 0;return!!(d&&((s=u.declarations)!=null&&s.some(p=>p===d||p===f)))}function RUt(t){if(t.flags&33554432)return!0;switch(t.kind){case 226:case 208:case 263:case 231:case 90:case 266:case 306:case 281:case 273:case 271:case 276:case 264:case 345:case 353:case 291:case 267:case 270:case 274:case 280:case 169:case 304:case 265:case 168:return!0;case 303:return!p5(t.parent);case 262:case 218:case 176:case 174:case 177:case 178:return!!t.body;case 260:case 172:return!!t.initializer||G2(t.parent);case 173:case 171:case 355:case 348:return!1;default:return H.failBadSyntaxKind(t)}}var VTe,HTe,KTe,f9,OUt=o({"src/services/findAllReferences.ts"(){rr(),Q0t(),VTe=(t=>(t[t.Symbol=0]="Symbol",t[t.Label=1]="Label",t[t.Keyword=2]="Keyword",t[t.This=3]="This",t[t.String=4]="String",t[t.TripleSlashReference=5]="TripleSlashReference",t))(VTe||{}),HTe=(t=>(t[t.Span=0]="Span",t[t.Node=1]="Node",t[t.StringLiteral=2]="StringLiteral",t[t.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",t[t.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal",t))(HTe||{}),KTe=(t=>(t[t.Other=0]="Other",t[t.References=1]="References",t[t.Rename=2]="Rename",t))(KTe||{}),(t=>{function u(Qe,Et,Mt,qt,Xt,Pe={},et=new Set(qt.map(gt=>gt.fileName))){var gt,ii;if(Et=s(Et,Pe),la(Et)){const $i=Cw.getReferenceAtPosition(Et,Qe,Mt);if(!($i!=null&&$i.file))return;const Qi=Mt.getTypeChecker().getMergedSymbol($i.file.symbol);if(Qi)return B(Mt,Qi,!1,qt,et);const on=Mt.getFileIncludeReasons();return on?[{definition:{type:5,reference:$i.reference,file:Et},references:f($i.file,on,Mt)||_t}]:void 0}if(!Pe.implementations){const $i=T(Et,qt,Xt);if($i)return $i}const me=Mt.getTypeChecker(),ni=me.getSymbolAtLocation(hc(Et)&&Et.parent.name||Et);if(!ni){if(!Pe.implementations&&t0(Et)){if(vX(Et)){const $i=Mt.getFileIncludeReasons(),Qi=(ii=(gt=Mt.getResolvedModule(Et.getSourceFile(),Et.text,xg(Et.getSourceFile(),Et)))==null?void 0:gt.resolvedModule)==null?void 0:ii.resolvedFileName,on=Qi?Mt.getSourceFile(Qi):void 0;if(on)return[{definition:{type:4,node:Et},references:f(on,$i,Mt)||_t}]}return bt(Et,qt,me,Xt)}return}if(ni.escapedName==="export=")return B(Mt,ni.parent,!1,qt,et);const vi=E(ni,Mt,qt,Xt,Pe,et);if(vi&&!(ni.flags&33554432))return vi;const mt=p(Et,ni,me),Ot=mt&&E(mt,Mt,qt,Xt,Pe,et),Ei=M(ni,Et,qt,et,me,Xt,Pe);return v(Mt,vi,Ei,Ot)}t.getReferencedSymbolsForNode=u;function s(Qe,Et){return Et.use===1?Qe=Jhe(Qe):Et.use===2&&(Qe=lX(Qe)),Qe}t.getAdjustedNode=s;function d(Qe,Et,Mt,qt=new Set(Mt.map(Xt=>Xt.fileName))){var Xt,Pe;const et=(Xt=Et.getSourceFile(Qe))==null?void 0:Xt.symbol;if(et)return((Pe=B(Et,et,!1,Mt,qt)[0])==null?void 0:Pe.references)||_t;const gt=Et.getFileIncludeReasons(),ii=Et.getSourceFile(Qe);return ii&>&&f(ii,gt,Et)||_t}t.getReferencesForFileName=d;function f(Qe,Et,Mt){let qt;const Xt=Et.get(Qe.path)||_t;for(const Pe of Xt)if(Jv(Pe)){const et=Mt.getSourceFileByPath(Pe.file),gt=FM(Mt,Pe);ZB(gt)&&(qt=xi(qt,{kind:0,fileName:et.fileName,textSpan:qx(gt)}))}return qt}function p(Qe,Et,Mt){if(Qe.parent&&wV(Qe.parent)){const qt=Mt.getAliasedSymbol(Et),Xt=Mt.getMergedSymbol(qt);if(qt!==Xt)return Xt}}function E(Qe,Et,Mt,qt,Xt,Pe){const et=Qe.flags&1536&&Qe.declarations&&Le(Qe.declarations,la);if(!et)return;const gt=Qe.exports.get("export="),ii=B(Et,Qe,!!gt,Mt,Pe);if(!gt||!Pe.has(et.fileName))return ii;const me=Et.getTypeChecker();return Qe=X1(gt,me),v(Et,ii,M(Qe,void 0,Mt,Pe,me,qt,Xt))}function v(Qe,...Et){let Mt;for(const qt of Et)if(!(!qt||!qt.length)){if(!Mt){Mt=qt;continue}for(const Xt of qt){if(!Xt.definition||Xt.definition.type!==0){Mt.push(Xt);continue}const Pe=Xt.definition.symbol,et=Ue(Mt,ii=>!!ii.definition&&ii.definition.type===0&&ii.definition.symbol===Pe);if(et===-1){Mt.push(Xt);continue}const gt=Mt[et];Mt[et]={definition:gt.definition,references:gt.references.concat(Xt.references).sort((ii,me)=>{const ni=b(Qe,ii),vi=b(Qe,me);if(ni!==vi)return nl(ni,vi);const mt=OTe(ii),Ot=OTe(me);return mt.start!==Ot.start?nl(mt.start,Ot.start):nl(mt.length,Ot.length)})}}}return Mt}function b(Qe,Et){const Mt=Et.kind===0?Qe.getSourceFile(Et.fileName):Et.node.getSourceFile();return Qe.getSourceFiles().indexOf(Mt)}function B(Qe,Et,Mt,qt,Xt){H.assert(!!Et.valueDeclaration);const Pe=qi(V0t(Qe,qt,Et),gt=>{if(gt.kind==="import"){const ii=gt.literal.parent;if(Mv(ii)){const me=Po(ii.parent,nD);if(Mt&&!me.qualifier)return}return l3(gt.literal)}else if(gt.kind==="implicit"){const ii=gt.literal.text!==Hx&&uM(gt.referencingFile,me=>me.transformFlags&2?r3(me)||bk(me)||K2(me)?me:void 0:"skip")||gt.referencingFile.statements[0]||gt.referencingFile;return l3(ii)}else return{kind:0,fileName:gt.referencingFile.fileName,textSpan:qx(gt.ref)}});if(Et.declarations)for(const gt of Et.declarations)switch(gt.kind){case 312:break;case 267:Xt.has(gt.getSourceFile().fileName)&&Pe.push(l3(gt.name));break;default:H.assert(!!(Et.flags&33554432),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}const et=Et.exports.get("export=");if(et!=null&&et.declarations)for(const gt of et.declarations){const ii=gt.getSourceFile();if(Xt.has(ii.fileName)){const me=Xn(gt)&&Iu(gt.left)?gt.left.expression:tc(gt)?H.checkDefined(a0(gt,95,ii)):Za(gt)||gt;Pe.push(l3(me))}}return Pe.length?[{definition:{type:0,symbol:Et},references:Pe}]:_t}function k(Qe){return Qe.kind===148&&z7(Qe.parent)&&Qe.parent.operator===148}function T(Qe,Et,Mt){if(PM(Qe.kind))return Qe.kind===116&&R7(Qe.parent)||Qe.kind===148&&!k(Qe)?void 0:Je(Et,Qe.kind,Mt,Qe.kind===148?k:void 0);if(W8(Qe.parent)&&Qe.parent.name===Qe)return Ke(Et,Mt);if(N7(Qe)&&zl(Qe.parent))return[{definition:{type:2,node:Qe},references:[l3(Qe)]}];if(PH(Qe)){const qt=nX(Qe.parent,Qe.text);return qt&&Ae(qt.parent,qt)}else if(Ihe(Qe))return Ae(Qe.parent,Qe);if(rw(Qe))return Ba(Qe,Et,Mt);if(Qe.kind===108)return aa(Qe)}function M(Qe,Et,Mt,qt,Xt,Pe,et){const gt=Et&&J(Qe,Et,Xt,!bo(et))||Qe,ii=Et?tu(Et,gt):7,me=[],ni=new oe(Mt,qt,Et?j(Et):0,Xt,Pe,ii,et,me),vi=!bo(et)||!gt.declarations?void 0:Le(gt.declarations,eh);if(vi)Gt(vi.name,gt,vi,ni.createSearch(Et,Qe,void 0),ni,!0,!0);else if(Et&&Et.kind===90&>.escapedName==="default"&>.parent)It(Et,gt,ni),se(Et,gt,{exportingModuleSymbol:gt.parent,exportKind:1},ni);else{const mt=ni.createSearch(Et,gt,void 0,{allSearchSymbols:Et?jn(gt,Et,Xt,et.use===2,!!et.providePrefixAndSuffixTextForRename,!!et.implementations):[gt]});z(gt,ni,mt)}return me}function z(Qe,Et,Mt){const qt=Se(Qe);if(qt)Ye(qt,qt.getSourceFile(),Mt,Et,!(la(qt)&&!kt(Et.sourceFiles,qt)));else for(const Xt of Et.sourceFiles)Et.cancellationToken.throwIfCancellationRequested(),ne(Xt,Mt,Et)}function j(Qe){switch(Qe.kind){case 176:case 137:return 1;case 80:if(mr(Qe.parent))return H.assert(Qe.parent.name===Qe),2;default:return 0}}function J(Qe,Et,Mt,qt){const{parent:Xt}=Et;return eh(Xt)&&qt?Yt(Et,Qe,Xt,Mt):G(Qe.declarations,Pe=>{if(!Pe.parent){if(Qe.flags&33554432)return;H.fail(`Unexpected symbol at ${H.formatSyntaxKind(Et.kind)}: ${H.formatSymbol(Qe)}`)}return fm(Pe.parent)&&Pv(Pe.parent.parent)?Mt.getPropertyOfType(Mt.getTypeFromTypeNode(Pe.parent.parent),Qe.name):void 0})}let K;(Qe=>{Qe[Qe.None=0]="None",Qe[Qe.Constructor=1]="Constructor",Qe[Qe.Class=2]="Class"})(K||(K={}));function Y(Qe){if(!(Qe.flags&33555968))return;const Et=Qe.declarations&&Le(Qe.declarations,Mt=>!la(Mt)&&!_c(Mt));return Et&&Et.symbol}class oe{constructor(Et,Mt,qt,Xt,Pe,et,gt,ii){this.sourceFiles=Et,this.sourceFilesSet=Mt,this.specialSearchKind=qt,this.checker=Xt,this.cancellationToken=Pe,this.searchMeaning=et,this.options=gt,this.result=ii,this.inheritsFromCache=new Map,this.markSeenContainingTypeReference=i9(),this.markSeenReExportRHS=i9(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}includesSourceFile(Et){return this.sourceFilesSet.has(Et.fileName)}getImportSearches(Et,Mt){return this.importTracker||(this.importTracker=NTe(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(Et,Mt,this.options.use===2)}createSearch(Et,Mt,qt,Xt={}){const{text:Pe=$4(lc(lB(Mt)||Y(Mt)||Mt)),allSearchSymbols:et=[Mt]}=Xt,gt=Al(Pe),ii=this.options.implementations&&Et?Yo(Et,Mt,this.checker):void 0;return{symbol:Mt,comingFrom:qt,text:Pe,escapedText:gt,parents:ii,allSearchSymbols:et,includes:me=>kt(et,me)}}referenceAdder(Et){const Mt=Zo(Et);let qt=this.symbolIdToReferences[Mt];return qt||(qt=this.symbolIdToReferences[Mt]=[],this.result.push({definition:{type:0,symbol:Et},references:qt})),(Xt,Pe)=>qt.push(l3(Xt,Pe))}addStringOrCommentReference(Et,Mt){this.result.push({definition:void 0,references:[{kind:0,fileName:Et,textSpan:Mt}]})}markSearchedSymbols(Et,Mt){const qt=$s(Et),Xt=this.sourceFileToSeenSymbols[qt]||(this.sourceFileToSeenSymbols[qt]=new Set);let Pe=!1;for(const et of Mt)Pe=r0(Xt,Zo(et))||Pe;return Pe}}function se(Qe,Et,Mt,qt){const{importSearches:Xt,singleReferences:Pe,indirectUsers:et}=qt.getImportSearches(Et,Mt);if(Pe.length){const gt=qt.referenceAdder(Et);for(const ii of Pe)ae(ii,qt)&>(ii)}for(const[gt,ii]of Xt)ft(gt.getSourceFile(),qt.createSearch(gt,ii,1),qt);if(et.length){let gt;switch(Mt.exportKind){case 0:gt=qt.createSearch(Qe,Et,1);break;case 1:gt=qt.options.use===2?void 0:qt.createSearch(Qe,Et,1,{text:"default"});break}if(gt)for(const ii of et)ne(ii,gt,qt)}}function ge(Qe,Et,Mt,qt,Xt,Pe,et,gt){const ii=NTe(Qe,new Set(Qe.map(mt=>mt.fileName)),Et,Mt),{importSearches:me,indirectUsers:ni,singleReferences:vi}=ii(qt,{exportKind:et?1:0,exportingModuleSymbol:Xt},!1);for(const[mt]of me)gt(mt);for(const mt of vi)at(mt)&&nD(mt.parent)&>(mt);for(const mt of ni)for(const Ot of Be(mt,et?"default":Pe)){const Ei=Et.getSymbolAtLocation(Ot),$i=Oe(Ei==null?void 0:Ei.declarations,Qi=>!!ur(Qi,tc));at(Ot)&&!r7(Ot.parent)&&(Ei===qt||$i)&>(Ot)}}t.eachExportReference=ge;function ae(Qe,Et){return Ve(Qe,Et)?Et.options.use!==2?!0:at(Qe)?!(r7(Qe.parent)&&Qe.escapedText==="default"):!1:!1}function Ce(Qe,Et){if(Qe.declarations)for(const Mt of Qe.declarations){const qt=Mt.getSourceFile();ft(qt,Et.createSearch(Mt,Qe,0),Et,Et.includesSourceFile(qt))}}function ne(Qe,Et,Mt){Tme(Qe).get(Et.escapedText)!==void 0&&ft(Qe,Et,Mt)}function ve(Qe,Et){return p5(Qe.parent.parent)?Et.getPropertySymbolOfDestructuringAssignment(Qe):void 0}function Se(Qe){const{declarations:Et,flags:Mt,parent:qt,valueDeclaration:Xt}=Qe;if(Xt&&(Xt.kind===218||Xt.kind===231))return Xt;if(!Et)return;if(Mt&8196){const gt=Le(Et,ii=>Rf(ii,2)||ph(ii));return gt?Fv(gt,263):void 0}if(Et.some(GH))return;const Pe=qt&&!(Qe.flags&262144);if(Pe&&!(HH(qt)&&!qt.globalExports))return;let et;for(const gt of Et){const ii=Mk(gt);if(et&&et!==ii||!ii||ii.kind===312&&!cm(ii))return;if(et=ii,A0(et)){let me;for(;me=R0e(et);)et=me}}return Pe?et.getSourceFile():et}function Ne(Qe,Et,Mt,qt=Mt){return pe(Qe,Et,Mt,()=>!0,qt)||!1}t.isSymbolReferencedInFile=Ne;function pe(Qe,Et,Mt,qt,Xt=Mt){const Pe=Mf(Qe.parent,Qe.parent.parent)?Pn(Et.getSymbolsOfParameterPropertyDeclaration(Qe.parent,Qe.text)):Et.getSymbolAtLocation(Qe);if(Pe)for(const et of Be(Mt,Pe.name,Xt)){if(!at(et)||et===Qe||et.escapedText!==Qe.escapedText)continue;const gt=Et.getSymbolAtLocation(et);if(gt===Pe||Et.getShorthandAssignmentValueSymbol(et.parent)===Pe||eh(et.parent)&&Yt(et,gt,et.parent,Et)===Pe){const ii=qt(et);if(ii)return ii}}}t.eachSymbolReferenceInFile=pe;function fe(Qe,Et){return ti(Be(Et,Qe),Xt=>!!nP(Xt)).reduce((Xt,Pe)=>{const et=qt(Pe);return!Oe(Xt.declarationNames)||et===Xt.depth?(Xt.declarationNames.push(Pe),Xt.depth=et):etni===Xt)&&qt(et,ii))return!0}return!1}t.someSignatureUsage=xe;function Be(Qe,Et,Mt=Qe){return qi(Ge(Qe,Et,Mt),qt=>{const Xt=af(Qe,qt);return Xt===Qe?void 0:Xt})}function Ge(Qe,Et,Mt=Qe){const qt=[];if(!Et||!Et.length)return qt;const Xt=Qe.text,Pe=Xt.length,et=Et.length;let gt=Xt.indexOf(Et,Mt.pos);for(;gt>=0&&!(gt>Mt.end);){const ii=gt+et;(gt===0||!Ev(Xt.charCodeAt(gt-1),99))&&(ii===Pe||!Ev(Xt.charCodeAt(ii),99))&&qt.push(gt),gt=Xt.indexOf(Et,gt+et+1)}return qt}function Ae(Qe,Et){const Mt=Qe.getSourceFile(),qt=Et.text,Xt=qi(Be(Mt,qt,Qe),Pe=>Pe===Et||PH(Pe)&&nX(Pe,qt)===Et?l3(Pe):void 0);return[{definition:{type:1,node:Et},references:Xt}]}function De(Qe,Et){switch(Qe.kind){case 81:if(Rv(Qe.parent))return!0;case 80:return Qe.text.length===Et.length;case 15:case 11:{const Mt=Qe;return(uX(Mt)||Vhe(Qe)||U9e(Qe)||Mo(Qe.parent)&&rk(Qe.parent)&&Qe.parent.arguments[1]===Qe)&&Mt.text.length===Et.length}case 9:return uX(Qe)&&Qe.text.length===Et.length;case 90:return Et.length===7;default:return!1}}function Ke(Qe,Et){const Mt=ju(Qe,qt=>(Et.throwIfCancellationRequested(),qi(Be(qt,"meta",qt),Xt=>{const Pe=Xt.parent;if(W8(Pe))return l3(Pe)})));return Mt.length?[{definition:{type:2,node:Mt[0].node},references:Mt}]:void 0}function Je(Qe,Et,Mt,qt){const Xt=ju(Qe,Pe=>(Mt.throwIfCancellationRequested(),qi(Be(Pe,Uo(Et),Pe),et=>{if(et.kind===Et&&(!qt||qt(et)))return l3(et)})));return Xt.length?[{definition:{type:2,node:Xt[0].node},references:Xt}]:void 0}function ft(Qe,Et,Mt,qt=!0){return Mt.cancellationToken.throwIfCancellationRequested(),Ye(Qe,Qe,Et,Mt,qt)}function Ye(Qe,Et,Mt,qt,Xt){if(qt.markSearchedSymbols(Et,Mt.allSearchSymbols))for(const Pe of Ge(Et,Mt.text,Qe))We(Et,Pe,Mt,qt,Xt)}function Ve(Qe,Et){return!!(Pk(Qe)&Et.searchMeaning)}function We(Qe,Et,Mt,qt,Xt){const Pe=af(Qe,Et);if(!De(Pe,Mt.text)){!qt.options.implementations&&(qt.options.findInStrings&&zk(Qe,Et)||qt.options.findInComments&&sSe(Qe,Et))&&qt.addStringOrCommentReference(Qe.fileName,d1(Et,Mt.text.length));return}if(!Ve(Pe,qt))return;let et=qt.checker.getSymbolAtLocation(Pe);if(!et)return;const gt=Pe.parent;if(bf(gt)&>.propertyName===Pe)return;if(eh(gt)){H.assert(Pe.kind===80),Gt(Pe,et,gt,Mt,qt,Xt);return}const ii=Cn(Mt,et,Pe,qt);if(!ii){St(et,Mt,qt);return}switch(qt.specialSearchKind){case 0:Xt&&It(Pe,ii,qt);break;case 1:ei(Pe,Qe,Mt,qt);break;case 2:ht(Pe,Mt,qt);break;default:H.assertNever(qt.specialSearchKind)}Qn(Pe)&&js(Pe.parent)&&F2(Pe.parent.parent.parent)&&(et=Pe.parent.symbol,!et)||st(Pe,et,Mt,qt)}function Gt(Qe,Et,Mt,qt,Xt,Pe,et){H.assert(!et||!!Xt.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");const{parent:gt,propertyName:ii,name:me}=Mt,ni=gt.parent,vi=Yt(Qe,Et,Mt,Xt.checker);if(!et&&!qt.includes(vi))return;if(ii?Qe===ii?(ni.moduleSpecifier||mt(),Pe&&Xt.options.use!==2&&Xt.markSeenReExportRHS(me)&&It(me,H.checkDefined(Mt.symbol),Xt)):Xt.markSeenReExportRHS(Qe)&&mt():Xt.options.use===2&&me.escapedText==="default"||mt(),!bo(Xt.options)||et){const Ei=Qe.escapedText==="default"||Mt.name.escapedText==="default"?1:0,$i=H.checkDefined(Mt.symbol),Qi=PTe($i,Ei,Xt.checker);Qi&&se(Qe,$i,Qi,Xt)}if(qt.comingFrom!==1&&ni.moduleSpecifier&&!ii&&!bo(Xt.options)){const Ot=Xt.checker.getExportSpecifierLocalTargetSymbol(Mt);Ot&&Ce(Ot,Xt)}function mt(){Pe&&It(Qe,vi,Xt)}}function Yt(Qe,Et,Mt,qt){return Ie(Qe,Mt)&&qt.getExportSpecifierLocalTargetSymbol(Mt)||Et}function Ie(Qe,Et){const{parent:Mt,propertyName:qt,name:Xt}=Et;return H.assert(qt===Qe||Xt===Qe),qt?qt===Qe:!Mt.parent.moduleSpecifier}function st(Qe,Et,Mt,qt){const Xt=W0t(Qe,Et,qt.checker,Mt.comingFrom===1);if(!Xt)return;const{symbol:Pe}=Xt;Xt.kind===0?bo(qt.options)||Ce(Pe,qt):se(Qe,Pe,Xt.exportInfo,qt)}function St({flags:Qe,valueDeclaration:Et},Mt,qt){const Xt=qt.checker.getShorthandAssignmentValueSymbol(Et),Pe=Et&&Za(Et);!(Qe&33554432)&&Pe&&Mt.includes(Xt)&&It(Pe,Xt,qt)}function It(Qe,Et,Mt){const{kind:qt,symbol:Xt}="kind"in Et?Et:{kind:void 0,symbol:Et};if(Mt.options.use===2&&Qe.kind===90)return;const Pe=Mt.referenceAdder(Xt);Mt.options.implementations?an(Qe,Pe,Mt):Pe(Qe,qt)}function ei(Qe,Et,Mt,qt){wM(Qe)&&It(Qe,Mt.symbol,qt);const Xt=()=>qt.referenceAdder(Mt.symbol);if(mr(Qe.parent))H.assert(Qe.kind===90||Qe.parent.name===Qe),Ut(Mt.symbol,Et,Xt());else{const Pe=Ta(Qe);Pe&&(ji(Pe,Xt()),Jn(Pe,qt))}}function ht(Qe,Et,Mt){It(Qe,Et.symbol,Mt);const qt=Qe.parent;if(Mt.options.use===2||!mr(qt))return;H.assert(qt.name===Qe);const Xt=Mt.referenceAdder(Et.symbol);for(const Pe of qt.members)N8(Pe)&&No(Pe)&&Pe.body&&Pe.body.forEachChild(function et(gt){gt.kind===110?Xt(gt):!Co(gt)&&!mr(gt)&>.forEachChild(et)})}function Ut(Qe,Et,Mt){const qt=Ni(Qe);if(qt&&qt.declarations)for(const Xt of qt.declarations){const Pe=a0(Xt,137,Et);H.assert(Xt.kind===176&&!!Pe),Mt(Pe)}Qe.exports&&Qe.exports.forEach(Xt=>{const Pe=Xt.valueDeclaration;if(Pe&&Pe.kind===174){const et=Pe.body;et&&ua(et,110,gt=>{wM(gt)&&Mt(gt)})}})}function Ni(Qe){return Qe.members&&Qe.members.get("__constructor")}function ji(Qe,Et){const Mt=Ni(Qe.symbol);if(Mt&&Mt.declarations)for(const qt of Mt.declarations){H.assert(qt.kind===176);const Xt=qt.body;Xt&&ua(Xt,108,Pe=>{Phe(Pe)&&Et(Pe)})}}function xn(Qe){return!!Ni(Qe.symbol)}function Jn(Qe,Et){if(xn(Qe))return;const Mt=Qe.symbol,qt=Et.createSearch(void 0,Mt,void 0);z(Mt,Et,qt)}function an(Qe,Et,Mt){if(X3(Qe)&&oa(Qe.parent)){Et(Qe);return}if(Qe.kind!==80)return;Qe.parent.kind===304&&Da(Qe,Mt.checker,Et);const qt=Pi(Qe);if(qt){Et(qt);return}const Xt=Tn(Qe,gt=>!vf(gt.parent)&&!Qr(gt.parent)&&!Zy(gt.parent)),Pe=Xt.parent;if(JU(Pe)&&Pe.type===Xt&&Mt.markSeenContainingTypeReference(Pe))if(Nx(Pe))et(Pe.initializer);else if(Co(Pe)&&Pe.body){const gt=Pe.body;gt.kind===241?y2(gt,ii=>{ii.expression&&et(ii.expression)}):et(gt)}else Yy(Pe)&&et(Pe.expression);function et(gt){Ai(gt)&&Et(gt)}}function Pi(Qe){return at(Qe)||Iu(Qe)?Pi(Qe.parent):c5(Qe)?ur(Qe.parent.parent,dg(mr,xh)):void 0}function Ai(Qe){switch(Qe.kind){case 217:return Ai(Qe.expression);case 219:case 218:case 210:case 231:case 209:return!0;default:return!1}}function Zu(Qe,Et,Mt,qt){if(Qe===Et)return!0;const Xt=Zo(Qe)+","+Zo(Et),Pe=Mt.get(Xt);if(Pe!==void 0)return Pe;Mt.set(Xt,!1);const et=!!Qe.declarations&&Qe.declarations.some(gt=>uP(gt).some(ii=>{const me=qt.getTypeAtLocation(ii);return!!me&&!!me.symbol&&Zu(me.symbol,Et,Mt,qt)}));return Mt.set(Xt,et),et}function aa(Qe){let Et=fj(Qe,!1);if(!Et)return;let Mt=256;switch(Et.kind){case 172:case 171:case 174:case 173:case 176:case 177:case 178:Mt&=Rx(Et),Et=Et.parent;break;default:return}const qt=Et.getSourceFile(),Xt=qi(Be(qt,"super",Et),Pe=>{if(Pe.kind!==108)return;const et=fj(Pe,!1);return et&&No(et)===!!Mt&&et.parent.symbol===Et.symbol?l3(Pe):void 0});return[{definition:{type:0,symbol:Et.symbol},references:Xt}]}function yr(Qe){return Qe.kind===80&&Qe.parent.kind===169&&Qe.parent.name===Qe}function Ba(Qe,Et,Mt){let qt=tf(Qe,!1,!1),Xt=256;switch(qt.kind){case 174:case 173:if(zp(qt)){Xt&=Rx(qt),qt=qt.parent;break}case 172:case 171:case 176:case 177:case 178:Xt&=Rx(qt),qt=qt.parent;break;case 312:if(wc(qt)||yr(Qe))return;case 262:case 218:break;default:return}const Pe=ju(qt.kind===312?Et:[qt.getSourceFile()],gt=>(Mt.throwIfCancellationRequested(),Be(gt,"this",la(qt)?gt:qt).filter(ii=>{if(!rw(ii))return!1;const me=tf(ii,!1,!1);if(!Zg(me))return!1;switch(qt.kind){case 218:case 262:return qt.symbol===me.symbol;case 174:case 173:return zp(qt)&&qt.symbol===me.symbol;case 231:case 263:case 210:return me.parent&&Zg(me.parent)&&qt.symbol===me.parent.symbol&&No(me)===!!Xt;case 312:return me.kind===312&&!wc(me)&&!yr(ii)}}))).map(gt=>l3(gt));return[{definition:{type:3,node:G(Pe,gt=>io(gt.node.parent)?gt.node:void 0)||Qe},references:Pe}]}function bt(Qe,Et,Mt,qt){const Xt=sX(Qe,Mt),Pe=ju(Et,et=>(qt.throwIfCancellationRequested(),qi(Be(et,Qe.text),gt=>{if(t0(gt)&>.text===Qe.text)if(Xt){const ii=sX(gt,Mt);if(Xt!==Mt.getStringType()&&Xt===ii)return l3(gt,2)}else return T7(gt)&&!hk(gt,et)?void 0:l3(gt,2)})));return[{definition:{type:4,node:Qe},references:Pe}]}function jn(Qe,Et,Mt,qt,Xt,Pe){const et=[];return Ln(Qe,Et,Mt,qt,!(qt&&Xt),(gt,ii,me)=>{me&&Dn(Qe)!==Dn(me)&&(me=void 0),et.push(me||ii||gt)},()=>!Pe),et}function Ln(Qe,Et,Mt,qt,Xt,Pe,et){const gt=_K(Et);if(gt){const Ei=Mt.getShorthandAssignmentValueSymbol(Et.parent);if(Ei&&qt)return Pe(Ei,void 0,void 0,3);const $i=Mt.getContextualType(gt.parent),Qi=$i&&G(_ee(gt,Mt,$i,!0),we=>mt(we,4));if(Qi)return Qi;const on=ve(Et,Mt),le=on&&Pe(on,void 0,void 0,4);if(le)return le;const te=Ei&&Pe(Ei,void 0,void 0,3);if(te)return te}const ii=p(Et,Qe,Mt);if(ii){const Ei=Pe(ii,void 0,void 0,1);if(Ei)return Ei}const me=mt(Qe);if(me)return me;if(Qe.valueDeclaration&&Mf(Qe.valueDeclaration,Qe.valueDeclaration.parent)){const Ei=Mt.getSymbolsOfParameterPropertyDeclaration(Po(Qe.valueDeclaration,io),Qe.name);return H.assert(Ei.length===2&&!!(Ei[0].flags&1)&&!!(Ei[1].flags&4)),mt(Qe.flags&1?Ei[1]:Ei[0])}const ni=Sl(Qe,281);if(!qt||ni&&!ni.propertyName){const Ei=ni&&Mt.getExportSpecifierLocalTargetSymbol(ni);if(Ei){const $i=Pe(Ei,void 0,void 0,1);if($i)return $i}}if(!qt){let Ei;return Xt?Ei=GH(Et.parent)?CX(Mt,Et.parent):void 0:Ei=Ot(Qe,Mt),Ei&&mt(Ei,4)}if(H.assert(qt),Xt){const Ei=Ot(Qe,Mt);return Ei&&mt(Ei,4)}function mt(Ei,$i){return G(Mt.getRootSymbols(Ei),Qi=>Pe(Ei,Qi,void 0,$i)||(Qi.parent&&Qi.parent.flags&96&&et(Qi)?Si(Qi.parent,Qi.name,Mt,on=>Pe(Ei,Qi,on,$i)):void 0))}function Ot(Ei,$i){const Qi=Sl(Ei,208);if(Qi&&GH(Qi))return CX($i,Qi)}}function Si(Qe,Et,Mt,qt){const Xt=new Map;return Pe(Qe);function Pe(et){if(!(!(et.flags&96)||!Ip(Xt,Zo(et))))return G(et.declarations,gt=>G(uP(gt),ii=>{const me=Mt.getTypeAtLocation(ii),ni=me&&me.symbol&&Mt.getPropertyOfType(me,Et);return me&&ni&&(G(Mt.getRootSymbols(ni),qt)||Pe(me.symbol))}))}}function Dn(Qe){return Qe.valueDeclaration?!!(Eh(Qe.valueDeclaration)&256):!1}function Cn(Qe,Et,Mt,qt){const{checker:Xt}=qt;return Ln(Et,Mt,Xt,!1,qt.options.use!==2||!!qt.options.providePrefixAndSuffixTextForRename,(Pe,et,gt,ii)=>(gt&&Dn(Et)!==Dn(gt)&&(gt=void 0),Qe.includes(gt||et||Pe)?{symbol:et&&!(Gl(Pe)&6)?et:Pe,kind:ii}:void 0),Pe=>!(Qe.parents&&!Qe.parents.some(et=>Zu(Pe.parent,et,qt.inheritsFromCache,Xt))))}function tu(Qe,Et){let Mt=Pk(Qe);const{declarations:qt}=Et;if(qt){let Xt;do{Xt=Mt;for(const Pe of qt){const et=TH(Pe);et&Mt&&(Mt|=et)}}while(Mt!==Xt)}return Mt}t.getIntersectingMeaningFromDeclarations=tu;function oa(Qe){return Qe.flags&33554432?!(xh(Qe)||jp(Qe)):G8(Qe)?Nx(Qe):$0(Qe)?!!Qe.body:mr(Qe)||QO(Qe)}function Da(Qe,Et,Mt){const qt=Et.getSymbolAtLocation(Qe),Xt=Et.getShorthandAssignmentValueSymbol(qt.valueDeclaration);if(Xt)for(const Pe of Xt.getDeclarations())TH(Pe)&1&&Mt(Pe)}t.getReferenceEntriesForShorthandPropertyAssignment=Da;function ua(Qe,Et,Mt){ao(Qe,qt=>{qt.kind===Et&&Mt(qt),ua(qt,Et,Mt)})}function Ta(Qe){return sle(iX(Qe).parent)}function Yo(Qe,Et,Mt){const qt=uw(Qe)?Qe.parent:void 0,Xt=qt&&Mt.getTypeAtLocation(qt.expression),Pe=qi(Xt&&(Xt.isUnionOrIntersection()?Xt.types:Xt.symbol===Et.parent?void 0:[Xt]),et=>et.symbol&&et.symbol.flags&96?et.symbol:void 0);return Pe.length===0?void 0:Pe}function bo(Qe){return Qe.use===2&&Qe.providePrefixAndSuffixTextForRename}})(f9||(f9={}))}}),Z0={};h(Z0,{Core:()=>f9,DefinitionKind:()=>VTe,EntryKind:()=>HTe,ExportKind:()=>zTe,FindReferencesUse:()=>KTe,ImportExport:()=>ITe,createImportTracker:()=>NTe,findModuleReferences:()=>V0t,findReferenceOrRenameEntries:()=>wUt,findReferencedSymbols:()=>AUt,getContextNode:()=>Vk,getExportInfo:()=>PTe,getImplementationsAtPosition:()=>BUt,getImportOrExportSymbol:()=>W0t,getReferenceEntriesForNode:()=>$0t,getTextSpanOfEntry:()=>OTe,isContextWithStartAndEndNode:()=>G0t,isDeclarationOfSymbol:()=>Y0t,isWriteAccessForReference:()=>jTe,nodeEntry:()=>l3,toContextSpan:()=>RTe,toHighlightSpan:()=>IUt,toReferenceEntry:()=>Z0t,toRenameLocation:()=>LUt});var Q0t=o({"src/services/_namespaces/ts.FindAllReferences.ts"(){kUt(),OUt()}});function X0t(t,u,s,d,f){var p;const E=tlt(u,s,t),v=E&&[ZUt(E.reference.fileName,E.fileName,E.unverified)]||_t;if(E!=null&&E.file)return v;const b=af(u,s);if(b===u)return;const{parent:B}=b,k=t.getTypeChecker();if(b.kind===164||at(b)&&gY(B)&&B.tagName===b)return VUt(k,b)||_t;if(PH(b)){const K=nX(b.parent,b.text);return K?[WTe(k,K,"label",b.text,void 0)]:void 0}if(b.kind===107){const K=Tn(b.parent,Y=>zl(Y)?"quit":$0(Y));return K?[Ree(k,K)]:void 0}if(b.kind===135){const K=Tn(b,oe=>$0(oe));return K&&Oe(K.modifiers,oe=>oe.kind===134)?[Ree(k,K)]:void 0}if(b.kind===127){const K=Tn(b,oe=>$0(oe));return K&&K.asteriskToken?[Ree(k,K)]:void 0}if(N7(b)&&zl(b.parent)){const K=b.parent.parent,{symbol:Y,failedAliasResolution:oe}=Ape(K,k,f),se=ti(K.members,zl),ge=Y?k.symbolToString(Y,K):"",ae=b.getSourceFile();return Vt(se,Ce=>{let{pos:ne}=iE(Ce);return ne=gs(ae.text,ne),WTe(k,Ce,"constructor","static {}",ge,!1,oe,{start:ne,length:6})})}let{symbol:T,failedAliasResolution:M}=Ape(b,k,f),z=b;if(d&&M){const K=L([b,...(T==null?void 0:T.declarations)||_t],oe=>Tn(oe,Mbe)),Y=K&&Z8(K);Y&&({symbol:T,failedAliasResolution:M}=Ape(Y,k,f),z=Y)}if(!T&&vX(z)){const K=(p=t.getResolvedModule(u,z.text,xg(u,z)))==null?void 0:p.resolvedModule;if(K)return[{name:z.text,fileName:K.resolvedFileName,containerName:void 0,containerKind:void 0,kind:"script",textSpan:d1(0,0),failedAliasResolution:M,isAmbient:e1(K.resolvedFileName),unverified:z!==b}]}if(!T)return Hi(v,$Ut(b,k));if(d&&ye(T.declarations,K=>K.getSourceFile().fileName===u.fileName))return;const j=QUt(k,b);if(j&&!(zh(b.parent)&&XUt(j))){const K=Ree(k,j,M);if(k.getRootSymbols(T).some(Y=>jUt(Y,j)))return[K];{const Y=QM(k,T,b,M,j)||_t;return b.kind===108?[K,...Y]:[...Y,K]}}if(b.parent.kind===304){const K=k.getShorthandAssignmentValueSymbol(T.valueDeclaration),Y=K!=null&&K.declarations?K.declarations.map(oe=>wK(oe,k,K,b,!1,M)):_t;return Hi(Y,elt(k,b))}if(Sc(b)&&js(B)&&Rp(B.parent)&&b===(B.propertyName||B.name)){const K=WH(b),Y=k.getTypeAtLocation(B.parent);return K===void 0?_t:ju(Y.isUnion()?Y.types:[Y],oe=>{const se=oe.getProperty(K);return se&&QM(k,se,b)})}const J=elt(k,b);return Hi(v,J.length?J:QM(k,T,b,M))}function jUt(t,u){var s;return t===u.symbol||t===u.symbol.parent||ld(u.parent)||!D2(u.parent)&&t===((s=ur(u.parent,Zg))==null?void 0:s.symbol)}function elt(t,u){const s=_K(u);if(s){const d=s&&t.getContextualType(s.parent);if(d)return ju(_ee(s,t,d,!1),f=>QM(t,f,u))}return _t}function VUt(t,u){const s=Tn(u,Zd);if(!(s&&s.name))return;const d=Tn(s,mr);if(!d)return;const f=Qg(d);if(!f)return;const p=l0(f.expression),E=Xd(p)?p.symbol:t.getSymbolAtLocation(p);if(!E)return;const v=Yr(V8(s.name)),b=Kc(s)?t.getPropertyOfType(t.getTypeOfSymbol(E),v):t.getPropertyOfType(t.getDeclaredTypeOfSymbol(E),v);if(b)return QM(t,b,u)}function tlt(t,u,s){var d,f;const p=XM(t.referencedFiles,u);if(p){const b=s.getSourceFileFromReference(t,p);return b&&{reference:p,fileName:b.fileName,file:b,unverified:!1}}const E=XM(t.typeReferenceDirectives,u);if(E){const b=(d=s.getResolvedTypeReferenceDirectives().get(E.fileName,E.resolutionMode||t.impliedNodeFormat))==null?void 0:d.resolvedTypeReferenceDirective,B=b&&s.getSourceFile(b.resolvedFileName);return B&&{reference:E,fileName:B.fileName,file:B,unverified:!1}}const v=XM(t.libReferenceDirectives,u);if(v){const b=s.getLibFileFromReference(v);return b&&{reference:v,fileName:b.fileName,file:b,unverified:!1}}if(t.imports.length||t.moduleAugmentations.length){const b=LM(t,u);let B;if(vX(b)&&Id(b.text)&&(B=s.getResolvedModule(t,b.text,xg(t,b)))){const k=(f=B.resolvedModule)==null?void 0:f.resolvedFileName,T=k||kx(lr(t.fileName),b.text);return{file:s.getSourceFile(T),fileName:T,reference:{pos:b.getStart(),end:b.getEnd(),fileName:b.text},unverified:!k}}}}function HUt(t,u){const s=u.symbol.name;if(!JTe.has(s))return!1;const d=t.resolveName(s,void 0,788968,!1);return!!d&&d===u.target.symbol}function ilt(t,u){if(!u.aliasSymbol)return!1;const s=u.aliasSymbol.name;if(!JTe.has(s))return!1;const d=t.resolveName(s,void 0,788968,!1);return!!d&&d===u.aliasSymbol}function KUt(t,u,s,d){var f,p;if(Gu(u)&4&&HUt(t,u))return BK(t.getTypeArguments(u)[0],t,s,d);if(ilt(t,u)&&u.aliasTypeArguments)return BK(u.aliasTypeArguments[0],t,s,d);if(Gu(u)&32&&u.target&&ilt(t,u.target)){const E=(p=(f=u.aliasSymbol)==null?void 0:f.declarations)==null?void 0:p[0];if(E&&jp(E)&&X4(E.type)&&E.type.typeArguments)return BK(t.getTypeAtLocation(E.type.typeArguments[0]),t,s,d)}return[]}function WUt(t,u,s){const d=af(u,s);if(d===u)return;if(W8(d.parent)&&d.parent.name===d)return BK(t.getTypeAtLocation(d.parent),t,d.parent,!1);const{symbol:f,failedAliasResolution:p}=Ape(d,t,!1);if(!f)return;const E=t.getTypeOfSymbolAtLocation(f,d),v=GUt(f,E,t),b=v&&BK(v,t,d,p),[B,k]=b&&b.length!==0?[v,b]:[E,BK(E,t,d,p)];return k.length?[...KUt(t,B,d,p),...k]:!(f.flags&111551)&&f.flags&788968?QM(t,X1(f,t),d,p):void 0}function BK(t,u,s,d){return ju(t.isUnion()&&!(t.flags&32)?t.types:[t],f=>f.symbol&&QM(u,f.symbol,s,d))}function GUt(t,u,s){if(u.symbol===t||t.valueDeclaration&&u.symbol&&na(t.valueDeclaration)&&t.valueDeclaration.initializer===u.symbol.valueDeclaration){const d=u.getCallSignatures();if(d.length===1)return s.getReturnTypeOfSignature(Pn(d))}}function JUt(t,u,s){const d=X0t(t,u,s);if(!d||d.length===0)return;const f=XM(u.referencedFiles,s)||XM(u.typeReferenceDirectives,s)||XM(u.libReferenceDirectives,s);if(f)return{definitions:d,textSpan:qx(f)};const p=af(u,s),E=d1(p.getStart(),p.getWidth());return{definitions:d,textSpan:E}}function $Ut(t,u){return qi(u.getIndexInfosAtLocation(t),s=>s.declaration&&Ree(u,s.declaration))}function Ape(t,u,s){const d=u.getSymbolAtLocation(t);let f=!1;if(d!=null&&d.declarations&&d.flags&2097152&&!s&&UUt(t,d.declarations[0])){const p=u.getAliasedSymbol(d);if(p.declarations)return{symbol:p};f=!0}return{symbol:d,failedAliasResolution:f}}function UUt(t,u){return t.kind!==80?!1:t.parent===u?!0:u.kind!==274}function qUt(t){if(!eP(t))return!1;const u=Tn(t,s=>ld(s)?!0:eP(s)?!1:"quit");return!!u&&Xl(u)===5}function QM(t,u,s,d,f){const p=ti(u.declarations,T=>T!==f),E=ti(p,T=>!qUt(T)),v=Oe(E)?E:p;return b()||B()||Vt(v,T=>wK(T,t,u,s,!1,d));function b(){if(u.flags&32&&!(u.flags&19)&&(wM(s)||s.kind===137)){const T=Le(p,mr)||H.fail("Expected declaration to have at least one class-like declaration");return k(T.members,!0)}}function B(){return Mhe(s)||Hhe(s)?k(p,!1):void 0}function k(T,M){if(!T)return;const z=T.filter(M?hc:Co),j=z.filter(J=>!!J.body);return z.length?j.length!==0?j.map(J=>wK(J,t,u,s)):[wK(Cr(z),t,u,s,!1,d)]:void 0}}function wK(t,u,s,d,f,p){const E=u.symbolToString(s),v=x5.getSymbolKind(u,s,d),b=s.parent?u.symbolToString(s.parent,d):"";return WTe(u,t,v,E,b,f,p)}function WTe(t,u,s,d,f,p,E,v){const b=u.getSourceFile();if(!v){const B=Za(u)||u;v=of(B,b)}return{fileName:b.fileName,textSpan:v,kind:s,name:d,containerKind:void 0,containerName:f,...Z0.toContextSpan(v,b,Z0.getContextNode(u)),isLocal:!GTe(t,u),isAmbient:!!(u.flags&33554432),unverified:p,failedAliasResolution:E}}function GTe(t,u){if(t.isDeclarationVisible(u))return!0;if(!u.parent)return!1;if(Nx(u.parent)&&u.parent.initializer===u)return GTe(t,u.parent);switch(u.kind){case 172:case 177:case 178:case 174:if(Rf(u,2))return!1;case 176:case 303:case 304:case 210:case 231:case 219:case 218:return GTe(t,u.parent);default:return!1}}function Ree(t,u,s){return wK(u,t,u.symbol,u,!1,s)}function XM(t,u){return Le(t,s=>IO(s,u))}function ZUt(t,u,s){return{fileName:u,textSpan:Vc(0,0),kind:"script",name:t,containerName:void 0,containerKind:void 0,unverified:s}}function YUt(t){const u=Tn(t,d=>!uw(d)),s=u==null?void 0:u.parent;return s&&D2(s)&&pq(s)===u?s:void 0}function QUt(t,u){const s=YUt(u),d=s&&t.getResolvedSignature(s);return ur(d&&d.declaration,f=>Co(f)&&!u3(f))}function XUt(t){switch(t.kind){case 176:case 185:case 180:return!0;default:return!1}}var JTe,eqt=o({"src/services/goToDefinition.ts"(){rr(),JTe=new Set(["Array","ArrayLike","ReadonlyArray","Promise","PromiseLike","Iterable","IterableIterator","AsyncIterable","Set","WeakSet","ReadonlySet","Map","WeakMap","ReadonlyMap","Partial","Required","Readonly","Pick","Omit"])}}),Cw={};h(Cw,{createDefinitionInfo:()=>wK,findReferenceInPosition:()=>XM,getDefinitionAndBoundSpan:()=>JUt,getDefinitionAtPosition:()=>X0t,getReferenceAtPosition:()=>tlt,getTypeDefinitionAtPosition:()=>WUt});var tqt=o({"src/services/_namespaces/ts.GoToDefinition.ts"(){eqt()}});function iqt(t){return t.includeInlayParameterNameHints==="literals"||t.includeInlayParameterNameHints==="all"}function nqt(t){return t.includeInlayParameterNameHints==="literals"}function nlt(t){return t.interactiveInlayHints===!0}function uqt(t){const{file:u,program:s,span:d,cancellationToken:f,preferences:p}=t,E=u.text,v=s.getCompilerOptions(),b=Hm(u,p),B=s.getTypeChecker(),k=[];return T(u),k;function T(Ae){if(!(!Ae||Ae.getFullWidth()===0)){switch(Ae.kind){case 267:case 263:case 264:case 262:case 231:case 218:case 174:case 219:f.throwIfCancellationRequested()}if(wU(d,Ae.pos,Ae.getFullWidth())&&!(Qr(Ae)&&!c5(Ae)))return p.includeInlayVariableTypeHints&&na(Ae)||p.includeInlayPropertyDeclarationTypeHints&&ko(Ae)?oe(Ae):p.includeInlayEnumMemberValueHints&&J2(Ae)?K(Ae):iqt(p)&&(Mo(Ae)||j2(Ae))?se(Ae):(p.includeInlayFunctionParameterTypeHints&&$0(Ae)&&fZ(Ae)&&Se(Ae),p.includeInlayFunctionLikeReturnTypeHints&&M(Ae)&&ne(Ae)),ao(Ae,T)}}function M(Ae){return q0(Ae)||A0(Ae)||ed(Ae)||dc(Ae)||zm(Ae)}function z(Ae,De,Ke,Je){let ft=`${Je?"...":""}${Ae}`,Ye;nlt(p)?(Ye=[Ge(ft,De),{text:":"}],ft=""):ft+=":",k.push({text:ft,position:Ke,kind:"Parameter",whitespaceAfter:!0,displayParts:Ye})}function j(Ae,De){k.push({text:typeof Ae=="string"?`: ${Ae}`:"",displayParts:typeof Ae=="string"?void 0:[{text:": "},...Ae],position:De,kind:"Type",whitespaceBefore:!0})}function J(Ae,De){k.push({text:`= ${Ae}`,position:De,kind:"Enum",whitespaceBefore:!0})}function K(Ae){if(Ae.initializer)return;const De=B.getConstantValue(Ae);De!==void 0&&J(De.toString(),Ae.end)}function Y(Ae){return Ae.symbol&&Ae.symbol.flags&1536}function oe(Ae){if(!Ae.initializer||So(Ae.name)||na(Ae)&&!Be(Ae)||f1(Ae))return;const Ke=B.getTypeAtLocation(Ae);if(Y(Ke))return;const Je=fe(Ke);if(Je){const ft=typeof Je=="string"?Je:Je.map(Ve=>Ve.text).join("");if(p.includeInlayVariableTypeHintsWhenTypeMatchesName===!1&&QA(Ae.name.getText(),ft))return;j(Je,Ae.name.end)}}function se(Ae){const De=Ae.arguments;if(!De||!De.length)return;const Ke=[],Je=B.getResolvedSignatureForSignatureHelp(Ae,Ke);if(!Je||!Ke.length)return;let ft=0;for(const Ye of De){const Ve=l0(Ye);if(nqt(p)&&!Ce(Ve)){ft++;continue}let We=0;if(uE(Ve)){const Yt=B.getTypeAtLocation(Ve.expression);if(B.isTupleType(Yt)){const{elementFlags:Ie,fixedLength:st}=Yt.target;if(st===0)continue;const St=Ue(Ie,ei=>!(ei&1));(St<0?st:St)>0&&(We=St<0?st:St)}}const Gt=B.getParameterIdentifierInfoAtPosition(Je,ft);if(ft=ft+(We||1),Gt){const{parameter:Yt,parameterName:Ie,isRestParameter:st}=Gt;if(!(p.includeInlayParameterNameHintsWhenArgumentMatchesName||!ge(Ve,Ie))&&!st)continue;const It=Yr(Ie);if(ae(Ve,It))continue;z(It,Yt,Ye.getStart(),st)}}}function ge(Ae,De){return at(Ae)?Ae.text===De:Iu(Ae)?Ae.name.text===De:!1}function ae(Ae,De){if(!Lm(De,v.target,Yj(u.scriptKind)))return!1;const Ke=W_(E,Ae.pos);if(!(Ke!=null&&Ke.length))return!1;const Je=ult(De);return Oe(Ke,ft=>Je.test(E.substring(ft.pos,ft.end)))}function Ce(Ae){switch(Ae.kind){case 224:{const De=Ae.operand;return E2(De)||at(De)&&LP(De.escapedText)}case 112:case 97:case 106:case 15:case 228:return!0;case 80:{const De=Ae.escapedText;return xe(De)||LP(De)}}return E2(Ae)}function ne(Ae){if(q0(Ae)&&!a0(Ae,21,u)||U4(Ae)||!Ae.body)return;const Ke=B.getSignatureFromDeclaration(Ae);if(!Ke)return;const Je=B.getReturnTypeOfSignature(Ke);if(Y(Je))return;const ft=fe(Je);ft&&j(ft,ve(Ae))}function ve(Ae){const De=a0(Ae,22,u);return De?De.end:Ae.parameters.end}function Se(Ae){const De=B.getSignatureFromDeclaration(Ae);if(De)for(let Ke=0;Ke{const ft=B.typeToTypeNode(Ae,void 0,71286784);H.assertIsDefined(ft,"should always get typenode"),Ke.writeNode(4,ft,u,Je)})}function fe(Ae){if(!nlt(p))return pe(Ae);const Ke=B.typeToTypeNode(Ae,void 0,71286784);H.assertIsDefined(Ke,"should always get typenode");const Je=[];return ft(Ke),Je;function ft(We){if(!We)return;const Gt=Uo(We.kind);if(Gt){Je.push({text:Gt});return}if(E2(We)){Je.push({text:Ve(We)});return}switch(We.kind){case 80:const Yt=We,Ie=fu(Yt),st=Yt.symbol&&Yt.symbol.declarations&&Yt.symbol.declarations.length&&Za(Yt.symbol.declarations[0]);st?Je.push(Ge(Ie,st)):Je.push({text:Ie});break;case 166:const St=We;ft(St.left),Je.push({text:"."}),ft(St.right);break;case 182:const It=We;It.assertsModifier&&Je.push({text:"asserts "}),ft(It.parameterName),It.type&&(Je.push({text:" is "}),ft(It.type));break;case 183:const ei=We;ft(ei.typeName),ei.typeArguments&&(Je.push({text:"<"}),Ye(ei.typeArguments,", "),Je.push({text:">"}));break;case 168:const ht=We;ht.modifiers&&Ye(ht.modifiers," "),ft(ht.name),ht.constraint&&(Je.push({text:" extends "}),ft(ht.constraint)),ht.default&&(Je.push({text:" = "}),ft(ht.default));break;case 169:const Ut=We;Ut.modifiers&&Ye(Ut.modifiers," "),Ut.dotDotDotToken&&Je.push({text:"..."}),ft(Ut.name),Ut.questionToken&&Je.push({text:"?"}),Ut.type&&(Je.push({text:": "}),ft(Ut.type));break;case 185:const Ni=We;Je.push({text:"new "}),Ni.typeParameters&&(Je.push({text:"<"}),Ye(Ni.typeParameters,", "),Je.push({text:">"})),Je.push({text:"("}),Ye(Ni.parameters,", "),Je.push({text:")"}),Je.push({text:" => "}),ft(Ni.type);break;case 186:const ji=We;Je.push({text:"typeof "}),ft(ji.exprName),ji.typeArguments&&(Je.push({text:"<"}),Ye(ji.typeArguments,", "),Je.push({text:">"}));break;case 187:const xn=We;Je.push({text:"{"}),xn.members.length&&(Je.push({text:" "}),Ye(xn.members,"; "),Je.push({text:" "})),Je.push({text:"}"});break;case 188:ft(We.elementType),Je.push({text:"[]"});break;case 189:Je.push({text:"["}),Ye(We.elements,", "),Je.push({text:"]"});break;case 202:const Jn=We;Jn.dotDotDotToken&&Je.push({text:"..."}),ft(Jn.name),Jn.questionToken&&Je.push({text:"?"}),Je.push({text:": "}),ft(Jn.type);break;case 190:ft(We.type),Je.push({text:"?"});break;case 191:Je.push({text:"..."}),ft(We.type);break;case 192:Ye(We.types," | ");break;case 193:Ye(We.types," & ");break;case 194:const an=We;ft(an.checkType),Je.push({text:" extends "}),ft(an.extendsType),Je.push({text:" ? "}),ft(an.trueType),Je.push({text:" : "}),ft(an.falseType);break;case 195:Je.push({text:"infer "}),ft(We.typeParameter);break;case 196:Je.push({text:"("}),ft(We.type),Je.push({text:")"});break;case 198:const Pi=We;Je.push({text:`${Uo(Pi.operator)} `}),ft(Pi.type);break;case 199:const Ai=We;ft(Ai.objectType),Je.push({text:"["}),ft(Ai.indexType),Je.push({text:"]"});break;case 200:const Zu=We;Je.push({text:"{ "}),Zu.readonlyToken&&(Zu.readonlyToken.kind===40?Je.push({text:"+"}):Zu.readonlyToken.kind===41&&Je.push({text:"-"}),Je.push({text:"readonly "})),Je.push({text:"["}),ft(Zu.typeParameter),Zu.nameType&&(Je.push({text:" as "}),ft(Zu.nameType)),Je.push({text:"]"}),Zu.questionToken&&(Zu.questionToken.kind===40?Je.push({text:"+"}):Zu.questionToken.kind===41&&Je.push({text:"-"}),Je.push({text:"?"})),Je.push({text:": "}),Zu.type&&ft(Zu.type),Je.push({text:"; }"});break;case 201:ft(We.literal);break;case 184:const aa=We;aa.typeParameters&&(Je.push({text:"<"}),Ye(aa.typeParameters,", "),Je.push({text:">"})),Je.push({text:"("}),Ye(aa.parameters,", "),Je.push({text:")"}),Je.push({text:" => "}),ft(aa.type);break;case 205:const yr=We;yr.isTypeOf&&Je.push({text:"typeof "}),Je.push({text:"import("}),ft(yr.argument),yr.assertions&&(Je.push({text:", { assert: "}),Ye(yr.assertions.assertClause.elements,", "),Je.push({text:" }"})),Je.push({text:")"}),yr.qualifier&&(Je.push({text:"."}),ft(yr.qualifier)),yr.typeArguments&&(Je.push({text:"<"}),Ye(yr.typeArguments,", "),Je.push({text:">"}));break;case 171:const Ba=We;Ba.modifiers&&Ye(Ba.modifiers," "),ft(Ba.name),Ba.questionToken&&Je.push({text:"?"}),Ba.type&&(Je.push({text:": "}),ft(Ba.type));break;default:H.failBadSyntaxKind(We)}}function Ye(We,Gt){We.forEach((Yt,Ie)=>{Ie>0&&Je.push({text:Gt}),ft(Yt)})}function Ve(We){return us(We)?b===0?`'${Av(We.text,39)}'`:`"${Av(We.text,34)}"`:We.text}}function xe(Ae){return Ae==="undefined"}function Be(Ae){if((w2(Ae)||na(Ae)&&K8(Ae))&&Ae.initializer){const De=l0(Ae.initializer);return!(Ce(De)||j2(De)||ys(De)||Yy(De))}return!0}function Ge(Ae,De){const Ke=De.getSourceFile();return{text:Ae,span:of(De,Ke),file:Ke.fileName}}}var ult,rqt=o({"src/services/inlayHints.ts"(){rr(),ult=t=>new RegExp(`^\\s?/\\*\\*?\\s?${t}\\s?\\*\\/\\s?$`)}}),Spe={};h(Spe,{provideInlayHints:()=>uqt});var aqt=o({"src/services/_namespaces/ts.InlayHints.ts"(){rqt()}});function oqt(t,u){const s=[];return lfe(t,d=>{for(const f of lqt(d)){const p=Vp(f)&&f.tags&&Le(f.tags,v=>v.kind===334&&(v.tagName.escapedText==="inheritDoc"||v.tagName.escapedText==="inheritdoc"));if(f.comment===void 0&&!p||Vp(f)&&d.kind!==353&&d.kind!==345&&f.tags&&f.tags.some(v=>v.kind===353||v.kind===345)&&!f.tags.some(v=>v.kind===348||v.kind===349))continue;let E=f.comment?bw(f.comment,u):[];p&&p.comment&&(E=E.concat(bw(p.comment,u))),kt(s,E,sqt)||s.push(E)}}),Va(_e(s,[lw()]))}function sqt(t,u){return Zt(t,u,(s,d)=>s.kind===d.kind&&s.text===d.text)}function lqt(t){switch(t.kind){case 348:case 355:return[t];case 345:case 353:return[t,t.parent];case 330:if(NB(t.parent))return[t.parent.parent];default:return I0e(t)}}function cqt(t,u){const s=[];return lfe(t,d=>{const f=Cv(d);if(!(f.some(p=>p.kind===353||p.kind===345)&&!f.some(p=>p.kind===348||p.kind===349)))for(const p of f)s.push({name:p.tagName.text,text:rlt(p,u)}),WO(p)&&p.isNameFirst&&p.typeExpression&&K7(p.typeExpression.type)&&L(p.typeExpression.type.jsDocPropertyTags,E=>{s.push({name:E.tagName.text,text:rlt(E,u)})})}),s}function bw(t,u){return typeof t=="string"?[Km(t)]:ju(t,s=>s.kind===328?[Km(s.text)]:DSe(s,u))}function rlt(t,u){const{comment:s,kind:d}=t,f=dqt(d);switch(d){case 356:const v=t.typeExpression;return v?p(v):s===void 0?void 0:bw(s,u);case 336:return p(t.class);case 335:return p(t.class);case 352:const b=t,B=[];if(b.constraint&&B.push(Km(b.constraint.getText())),S(b.typeParameters)){S(B)&&B.push($l());const T=b.typeParameters[b.typeParameters.length-1];L(b.typeParameters,M=>{B.push(f(M.getText())),T!==M&&B.push(ih(28),$l())})}return s&&B.push($l(),...bw(s,u)),B;case 351:case 357:return p(t.typeExpression);case 353:case 345:case 355:case 348:case 354:const{name:k}=t;return k?p(k):s===void 0?void 0:bw(s,u);default:return s===void 0?void 0:bw(s,u)}function p(v){return E(v.getText())}function E(v){return s?v.match(/^https?$/)?[Km(v),...bw(s,u)]:[f(v),$l(),...bw(s,u)]:[Km(v)]}}function dqt(t){switch(t){case 348:return mSe;case 355:return pSe;case 352:return ESe;case 353:case 345:return gSe;default:return Km}}function hqt(){return olt||(olt=Vt(UTe,t=>({name:t,kind:"keyword",kindModifiers:"",sortText:h9.SortText.LocationPriority})))}function fqt(){return slt||(slt=Vt(UTe,t=>({name:`@${t}`,kind:"keyword",kindModifiers:"",sortText:h9.SortText.LocationPriority})))}function alt(t){return{name:t,kind:"",kindModifiers:"",displayParts:[Km(t)],documentation:_t,tags:void 0,codeActions:void 0}}function mqt(t){if(!at(t.name))return _t;const u=t.name.text,s=t.parent,d=s.parent;return Co(d)?qi(d.parameters,f=>{if(!at(f.name))return;const p=f.name.text;if(!(s.tags.some(E=>E!==t&&Eg(E)&&at(E.name)&&E.name.escapedText===p)||u!==void 0&&!Pa(p,u)))return{name:p,kind:"parameter",kindModifiers:"",sortText:h9.SortText.LocationPriority}}):[]}function pqt(t){return{name:t,kind:"parameter",kindModifiers:"",displayParts:[Km(t)],documentation:_t,tags:void 0,codeActions:void 0}}function gqt(t,u,s,d){const f=Ca(u,s),p=Tn(f,Vp);if(p&&(p.comment!==void 0||S(p.tags)))return;const E=f.getStart(u);if(!p&&E0;if(J&&!oe){const se=K+t+z+" * ",ge=E===s?t+z:"";return{newText:se+t+J+z+Y+ge,caretOffset:se.length}}return{newText:K+Y,caretOffset:3}}function Eqt(t,u){const{text:s}=t,d=tp(u,t);let f=d;for(;f<=u&&qg(s.charCodeAt(f));f++);return s.slice(d,f)}function _qt(t,u,s,d){return t.map(({name:f,dotDotDotToken:p},E)=>{const v=f.kind===80?f.text:"param"+E;return`${s} * @param ${u?p?"{...any} ":"{any} ":""}${v}${d}`}).join("")}function Dqt(t,u){return`${t} * @returns${u}`}function xqt(t,u){return ybe(t,s=>$Te(s,u))}function $Te(t,u){switch(t.kind){case 262:case 218:case 174:case 176:case 173:case 219:const s=t;return{commentOwner:t,parameters:s.parameters,hasReturn:Oee(s,u)};case 303:return $Te(t.initializer,u);case 263:case 264:case 266:case 306:case 265:return{commentOwner:t};case 171:{const f=t;return f.type&&u3(f.type)?{commentOwner:t,parameters:f.type.parameters,hasReturn:Oee(f.type,u)}:{commentOwner:t}}case 243:{const p=t.declarationList.declarations,E=p.length===1&&p[0].initializer?vqt(p[0].initializer):void 0;return E?{commentOwner:t,parameters:E.parameters,hasReturn:Oee(E,u)}:{commentOwner:t}}case 312:return"quit";case 267:return t.parent.kind===267?void 0:{commentOwner:t};case 244:return $Te(t.expression,u);case 226:{const f=t;return Xl(f)===0?"quit":Co(f.right)?{commentOwner:t,parameters:f.right.parameters,hasReturn:Oee(f.right,u)}:{commentOwner:t}}case 172:const d=t.initializer;if(d&&(A0(d)||q0(d)))return{commentOwner:t,parameters:d.parameters,hasReturn:Oee(d,u)}}}function Oee(t,u){return!!(u!=null&&u.generateReturnInDocTemplate)&&(u3(t)||q0(t)&&Wt(t.body)||$0(t)&&t.body&&po(t.body)&&!!y2(t.body,s=>s))}function vqt(t){for(;t.kind===217;)t=t.expression;switch(t.kind){case 218:case 219:return t;case 231:return Le(t.members,hc)}}var UTe,olt,slt,llt,Cqt=o({"src/services/jsDoc.ts"(){rr(),UTe=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","inheritdoc","inner","instance","interface","kind","lends","license","link","linkcode","linkplain","listens","member","memberof","method","mixes","module","name","namespace","overload","override","package","param","private","prop","property","protected","public","readonly","requires","returns","satisfies","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"],llt=alt}}),Yv={};h(Yv,{getDocCommentTemplateAtPosition:()=>gqt,getJSDocParameterNameCompletionDetails:()=>pqt,getJSDocParameterNameCompletions:()=>mqt,getJSDocTagCompletionDetails:()=>alt,getJSDocTagCompletions:()=>fqt,getJSDocTagNameCompletionDetails:()=>llt,getJSDocTagNameCompletions:()=>hqt,getJsDocCommentsFromDeclarations:()=>oqt,getJsDocTagsFromDeclarations:()=>cqt});var bqt=o({"src/services/_namespaces/ts.JsDoc.ts"(){Cqt()}});function yqt(t,u,s,d,f,p){const E=iu.ChangeTracker.fromContext({host:s,formatContext:u,preferences:f}),v=p==="SortAndCombine"||p==="All",b=v,B=p==="RemoveUnused"||p==="All",k=Bpe(t,t.statements.filter(Sd)),T=Vqt(f,v?()=>hlt(k,f)===2:void 0),M=j=>(B&&(j=Fqt(j,t,d)),b&&(j=clt(j,T,t)),v&&(j=oc(j,(J,K)=>XTe(J,K,T))),j);k.forEach(j=>z(j,M)),p!=="RemoveUnused"&&Hqt(t).forEach(j=>z(j,J=>qTe(J,T)));for(const j of t.statements.filter(N1)){if(!j.body)continue;if(Bpe(t,j.body.statements.filter(Sd)).forEach(K=>z(K,M)),p!=="RemoveUnused"){const K=j.body.statements.filter(Gc);z(K,Y=>qTe(Y,T))}}return E.getChanges();function z(j,J){if(S(j)===0)return;Zn(j[0],1024);const K=b?vN(j,se=>jee(se.moduleSpecifier)):[j],Y=v?oc(K,(se,ge)=>YTe(se[0].moduleSpecifier,ge[0].moduleSpecifier,T)):K,oe=ju(Y,se=>jee(se[0].moduleSpecifier)||se[0].moduleSpecifier===void 0?J(se):se);if(oe.length===0)E.deleteNodes(t,j,{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Include},!0);else{const se={leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Include,suffix:E5(s,u.options)};E.replaceNodeWithNodes(t,j[0],oe,se);const ge=E.nodeHasTrailingComment(t,j[0],se);E.deleteNodes(t,j.slice(1),{trailingTriviaOption:iu.TrailingTriviaOption.Include},ge)}}}function Bpe(t,u){const s=YD(t.languageVersion,!1,t.languageVariant),d=[];let f=0;for(const p of u)d[f]&&kqt(t,p,s)&&f++,d[f]||(d[f]=[]),d[f].push(p);return d}function kqt(t,u,s){const d=u.getFullStart(),f=u.getStart();s.setText(t.text,d,f-d);let p=0;for(;s.getTokenStart()=2))return!0;return!1}function Fqt(t,u,s){const d=s.getTypeChecker(),f=s.getCompilerOptions(),p=d.getJsxNamespace(u),E=d.getJsxFragmentFactory(u),v=!!(u.transformFlags&2),b=[];for(const k of t){const{importClause:T,moduleSpecifier:M}=k;if(!T){b.push(k);continue}let{name:z,namedBindings:j}=T;if(z&&!B(z)&&(z=void 0),j)if(Jx(j))B(j.name)||(j=void 0);else{const J=j.elements.filter(K=>B(K.name));J.lengthus(d)&&d.text===s)}function jee(t){return t!==void 0&&t0(t)?t.text:void 0}function Sqt(t,u,s){const d=wpe(u);return clt(t,d,s)}function clt(t,u,s){if(t.length===0)return t;const{importWithoutClause:d,typeOnlyImports:f,regularImports:p}=Bqt(t),E=[];d&&E.push(d);for(const v of[p,f]){const b=v===f,{defaultImports:B,namespaceImports:k,namedImports:T}=v;if(!b&&B.length===1&&k.length===1&&T.length===0){const ge=B[0];E.push(TK(ge,ge.importClause.name,k[0].importClause.namedBindings));continue}const M=oc(k,(ge,ae)=>u(ge.importClause.namedBindings.name.text,ae.importClause.namedBindings.name.text));for(const ge of M)E.push(TK(ge,void 0,ge.importClause.namedBindings));const z=Ki(B),j=Ki(T),J=z??j;if(!J)continue;let K;const Y=[];if(B.length===1)K=B[0].importClause.name;else for(const ge of B)Y.push(q.createImportSpecifier(!1,q.createIdentifier("default"),ge.importClause.name));Y.push(...Iqt(T));const oe=q.createNodeArray(dlt(Y,u),j==null?void 0:j.importClause.namedBindings.elements.hasTrailingComma),se=oe.length===0?K?void 0:q.createNamedImports(_t):j?q.updateNamedImports(j.importClause.namedBindings,oe):q.createNamedImports(oe);s&&se&&(j!=null&&j.importClause.namedBindings)&&!hk(j.importClause.namedBindings,s)&&Zn(se,2),b&&K&&se?(E.push(TK(J,K,void 0)),E.push(TK(j??J,void 0,se))):E.push(TK(J,K,se))}return E}function Bqt(t){let u;const s={defaultImports:[],namespaceImports:[],namedImports:[]},d={defaultImports:[],namespaceImports:[],namedImports:[]};for(const f of t){if(f.importClause===void 0){u=u||f;continue}const p=f.importClause.isTypeOnly?s:d,{name:E,namedBindings:v}=f.importClause;E&&p.defaultImports.push(f),v&&(Jx(v)?p.namespaceImports.push(f):p.namedImports.push(f))}return{importWithoutClause:u,typeOnlyImports:s,regularImports:d}}function wqt(t,u){const s=wpe(u);return qTe(t,s)}function qTe(t,u){if(t.length===0)return t;const{exportWithoutClause:s,namedExports:d,typeOnlyExports:f}=E(t),p=[];s&&p.push(s);for(const v of[d,f]){if(v.length===0)continue;const b=[];b.push(...ju(v,T=>T.exportClause&&ep(T.exportClause)?T.exportClause.elements:_t));const B=dlt(b,u),k=v[0];p.push(q.updateExportDeclaration(k,k.modifiers,k.isTypeOnly,k.exportClause&&(ep(k.exportClause)?q.updateNamedExports(k.exportClause,B):q.updateNamespaceExport(k.exportClause,k.exportClause.name)),k.moduleSpecifier,k.attributes))}return p;function E(v){let b;const B=[],k=[];for(const T of v)T.exportClause===void 0?b=b||T:T.isTypeOnly?k.push(T):B.push(T);return{exportWithoutClause:b,namedExports:B,typeOnlyExports:k}}}function TK(t,u,s){return q.updateImportDeclaration(t,t.modifiers,q.updateImportClause(t.importClause,t.importClause.isTypeOnly,u,s),t.moduleSpecifier,t.attributes)}function dlt(t,u){return oc(t,(s,d)=>ZTe(s,d,u))}function ZTe(t,u,s){return d2(t.isTypeOnly,u.isTypeOnly)||s(t.name.text,u.name.text)}function Tqt(t,u,s){const d=wpe(!!s);return YTe(t,u,d)}function YTe(t,u,s){const d=t===void 0?void 0:jee(t),f=u===void 0?void 0:jee(u);return d2(d===void 0,f===void 0)||d2(Id(d),Id(f))||s(d,f)}function QTe(t){var u;switch(t.kind){case 271:return(u=ur(t.moduleReference,r_))==null?void 0:u.expression;case 272:return t.moduleSpecifier;case 243:return t.declarationList.declarations[0].initializer.arguments[0]}}function Lqt(t,u){return hlt(Bpe(t,t.statements.filter(Sd)),u)}function hlt(t,u){const s=yw(u,!1),d=yw(u,!0);let f=3,p=!1;for(const E of t){if(E.length>1){const b=cn(E,B=>{var k;return((k=ur(B.moduleSpecifier,us))==null?void 0:k.text)??""},s,d);if(b&&(f&=b,p=!0),!f)return f}const v=Le(E,b=>{var B,k;return((k=ur((B=b.importClause)==null?void 0:B.namedBindings,uD))==null?void 0:k.elements.length)>1});if(v){const b=eLe(v.importClause.namedBindings.elements,u);if(b&&(f&=b,p=!0),!f)return f}if(f!==3)return f}return p?0:f}function Nqt(t,u){const s=yw(u,!1),d=yw(u,!0);return cn(t,f=>jee(QTe(f))||"",s,d)}function Pqt(t,u,s){const d=Kl(t,u,il,(f,p)=>XTe(f,p,s));return d<0?~d:d}function Mqt(t,u,s){const d=Kl(t,u,il,(f,p)=>ZTe(f,p,s));return d<0?~d:d}function XTe(t,u,s){return YTe(QTe(t),QTe(u),s)||zqt(t,u)}function zqt(t,u){return nl(flt(t),flt(u))}function flt(t){var u;switch(t.kind){case 272:return t.importClause?t.importClause.isTypeOnly?1:((u=t.importClause.namedBindings)==null?void 0:u.kind)===274?2:t.importClause.name?3:4:0;case 271:return 5;case 243:return 6}}function Iqt(t){return ju(t,u=>Vt(Rqt(u),s=>s.name&&s.propertyName&&s.name.escapedText===s.propertyName.escapedText?q.updateImportSpecifier(s,s.isTypeOnly,void 0,s.name):s))}function Rqt(t){var u;return(u=t.importClause)!=null&&u.namedBindings&&uD(t.importClause.namedBindings)?t.importClause.namedBindings.elements:void 0}function wpe(t){return t?qCe:dh}function Oqt(t,u){const s=jqt(u),d=u.organizeImportsCaseFirst??!1,f=u.organizeImportsNumericCollation??!1,p=u.organizeImportsAccentCollation??!0,E=t?p?"accent":"base":p?"variant":"case";return new Intl.Collator(s,{usage:"sort",caseFirst:d||"false",sensitivity:E,numeric:f}).compare}function jqt(t){let u=t.organizeImportsLocale;u==="auto"&&(u=ZCe()),u===void 0&&(u="en");const s=Intl.Collator.supportedLocalesOf(u);return s.length?s[0]:"en"}function yw(t,u){return(t.organizeImportsCollation??"ordinal")==="unicode"?Oqt(u,t):wpe(u)}function Vqt(t,u){const s=typeof t.organizeImportsIgnoreCase=="boolean"?t.organizeImportsIgnoreCase:(u==null?void 0:u())??!1;return yw(t,s)}function Hqt(t){const u=[],s=t.statements,d=S(s);let f=0,p=0;for(;fBpe(t,E))}var mlt,eLe,Kqt=o({"src/services/organizeImports.ts"(){rr(),mlt=class{has([t,u]){return this._lastPreferences!==u||!this._cache?!1:this._cache.has(t)}get([t,u]){if(!(this._lastPreferences!==u||!this._cache))return this._cache.get(t)}set([t,u],s){this._lastPreferences!==u&&(this._lastPreferences=u,this._cache=void 0),this._cache??(this._cache=new WeakMap),this._cache.set(t,s)}},eLe=UCe((t,u)=>{if(!hi(t,(f,p)=>d2(f.isTypeOnly,p.isTypeOnly)))return 0;const s=yw(u,!1),d=yw(u,!0);return cn(t,f=>f.name.text,s,d)},new mlt)}}),Gp={};h(Gp,{coalesceExports:()=>wqt,coalesceImports:()=>Sqt,compareImportOrExportSpecifiers:()=>ZTe,compareImportsOrRequireStatements:()=>XTe,compareModuleSpecifiers:()=>Tqt,detectImportDeclarationSorting:()=>Nqt,detectImportSpecifierSorting:()=>eLe,detectSorting:()=>Lqt,getImportDeclarationInsertionIndex:()=>Pqt,getImportSpecifierInsertionIndex:()=>Mqt,getOrganizeImportsComparer:()=>yw,organizeImports:()=>yqt});var Wqt=o({"src/services/_namespaces/ts.OrganizeImports.ts"(){Kqt()}});function Gqt(t,u){const s=[];return Jqt(t,u,s),$qt(t,s),s.sort((d,f)=>d.textSpan.start-f.textSpan.start)}function Jqt(t,u,s){let d=40,f=0;const p=[...t.statements,t.endOfFileToken],E=p.length;for(;f1&&d.push(Vee(p,E,"comment"))}}function glt(t,u,s,d){w7(t)||tLe(t.pos,u,s,d)}function Vee(t,u,s){return m9(Vc(t,u),s)}function Uqt(t,u){switch(t.kind){case 241:if(Co(t.parent))return qqt(t.parent,t,u);switch(t.parent.kind){case 246:case 249:case 250:case 248:case 245:case 247:case 254:case 299:return k(t.parent);case 258:const z=t.parent;if(z.tryBlock===t)return k(t.parent);if(z.finallyBlock===t){const j=a0(z,98,u);if(j)return k(j)}default:return m9(of(t,u),"code")}case 268:return k(t.parent);case 263:case 231:case 264:case 266:case 269:case 187:case 206:return k(t);case 189:return k(t,!1,!yB(t.parent),23);case 296:case 297:return T(t.statements);case 210:return B(t);case 209:return B(t,23);case 284:return p(t);case 288:return E(t);case 285:case 286:return v(t.attributes);case 228:case 15:return b(t);case 207:return k(t,!1,!js(t.parent),23);case 219:return f(t);case 213:return d(t);case 217:return M(t);case 275:case 279:case 300:return s(t)}function s(z){if(!z.elements.length)return;const j=a0(z,19,u),J=a0(z,20,u);if(!(!j||!J||q4(j.pos,J.pos,u)))return Tpe(j,J,z,u,!1,!1)}function d(z){if(!z.arguments.length)return;const j=a0(z,21,u),J=a0(z,22,u);if(!(!j||!J||q4(j.pos,J.pos,u)))return Tpe(j,J,z,u,!1,!0)}function f(z){if(po(z.body)||Cf(z.body)||q4(z.body.getFullStart(),z.body.getEnd(),u))return;const j=Vc(z.body.getFullStart(),z.body.getEnd());return m9(j,"code",of(z))}function p(z){const j=Vc(z.openingElement.getStart(u),z.closingElement.getEnd()),J=z.openingElement.tagName.getText(u),K="<"+J+">...";return m9(j,"code",j,!1,K)}function E(z){const j=Vc(z.openingFragment.getStart(u),z.closingFragment.getEnd());return m9(j,"code",j,!1,"<>...")}function v(z){if(z.properties.length!==0)return Vee(z.getStart(u),z.getEnd(),"code")}function b(z){if(!(z.kind===15&&z.text.length===0))return Vee(z.getStart(u),z.getEnd(),"code")}function B(z,j=19){return k(z,!1,!Dh(z.parent)&&!Mo(z.parent),j)}function k(z,j=!1,J=!0,K=19,Y=K===19?20:24){const oe=a0(t,K,u),se=a0(t,Y,u);return oe&&se&&Tpe(oe,se,z,u,j,J)}function T(z){return z.length?m9(qx(z),"code"):void 0}function M(z){if(q4(z.getStart(),z.getEnd(),u))return;const j=Vc(z.getStart(),z.getEnd());return m9(j,"code",of(z))}}function qqt(t,u,s){const d=Zqt(t,u,s),f=a0(u,20,s);return d&&f&&Tpe(d,f,t,s,t.kind!==219)}function Tpe(t,u,s,d,f=!1,p=!0){const E=Vc(p?t.getFullStart():t.getStart(d),u.getEnd());return m9(E,"code",of(s,d),f)}function m9(t,u,s=t,d=!1,f="..."){return{textSpan:t,kind:u,hintSpan:s,bannerText:f,autoCollapse:d}}function Zqt(t,u,s){if(Kye(t.parameters,s)){const d=a0(t,21,s);if(d)return d}return a0(u,19,s)}var Elt,Yqt=o({"src/services/outliningElementsCollector.ts"(){rr(),Elt=/^#(end)?region(?:\s+(.*))?(?:\r)?$/}}),Lpe={};h(Lpe,{collectElements:()=>Gqt});var Qqt=o({"src/services/_namespaces/ts.OutliningElementsCollector.ts"(){Yqt()}});function Xqt(t,u,s,d){const f=lX(af(u,s));if(Dlt(f)){const p=eZt(f,t.getTypeChecker(),u,t,d);if(p)return p}return Npe(F.You_cannot_rename_this_element)}function eZt(t,u,s,d,f){const p=u.getSymbolAtLocation(t);if(!p){if(t0(t)){const M=sX(t,u);if(M&&(M.flags&128||M.flags&1048576&&ye(M.types,z=>!!(z.flags&128))))return iLe(t.text,t.text,"string","",t,s)}else if(Rhe(t)){const M=Hc(t);return iLe(M,M,"label","",t,s)}return}const{declarations:E}=p;if(!E||E.length===0)return;if(E.some(M=>tZt(d,M)))return Npe(F.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(at(t)&&t.escapedText==="default"&&p.parent&&p.parent.flags&1536)return;if(t0(t)&&Aj(t))return f.allowRenameOfImportPath?nZt(t,s,p):void 0;const v=iZt(s,p,u,f);if(v)return Npe(v);const b=x5.getSymbolKind(u,p,t),B=xSe(t)||Pm(t)&&t.parent.kind===167?$4(J4(t)):void 0,k=B||u.symbolToString(p),T=B||u.getFullyQualifiedName(p);return iLe(k,T,b,x5.getSymbolModifiers(u,p),t,s)}function tZt(t,u){const s=u.getSourceFile();return t.isSourceFileDefaultLibrary(s)&&Ml(s.fileName,".d.ts")}function iZt(t,u,s,d){if(!d.providePrefixAndSuffixTextForRename&&u.flags&2097152){const E=u.declarations&&Le(u.declarations,v=>bf(v));E&&!E.propertyName&&(u=s.getAliasedSymbol(u))}const{declarations:f}=u;if(!f)return;const p=_lt(t.path);if(p===void 0)return Oe(f,E=>XH(E.getSourceFile().path))?F.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:void 0;for(const E of f){const v=_lt(E.getSourceFile().path);if(v){const b=Math.min(p.length,v.length);for(let B=0;B<=b;B++)if(dh(p[B],v[B])!==0)return F.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder}}}function _lt(t){const u=yd(t),s=u.lastIndexOf("node_modules");if(s!==-1)return u.slice(0,s+2)}function nZt(t,u,s){if(!Id(t.text))return Npe(F.You_cannot_rename_a_module_via_a_global_import);const d=s.declarations&&Le(s.declarations,la);if(!d)return;const f=sc(t.text,"/index")||sc(t.text,"/index.js")?void 0:XCe(_h(d.fileName),"/index"),p=f===void 0?d.fileName:f,E=f===void 0?"module":"directory",v=t.text.lastIndexOf("/")+1,b=d1(t.getStart(u)+1+v,t.text.length-v);return{canRename:!0,fileToRename:p,kind:E,displayName:p,fullDisplayName:p,kindModifiers:"",triggerSpan:b}}function iLe(t,u,s,d,f,p){return{canRename:!0,fileToRename:void 0,kind:s,displayName:t,fullDisplayName:u,kindModifiers:d,triggerSpan:uZt(f,p)}}function Npe(t){return{canRename:!1,localizedErrorMessage:to(t)}}function uZt(t,u){let s=t.getStart(u),d=t.getWidth(u);return t0(t)&&(s+=1,d-=2),d1(s,d)}function Dlt(t){switch(t.kind){case 80:case 81:case 11:case 15:case 110:return!0;case 9:return uX(t);default:return!1}}var rZt=o({"src/services/rename.ts"(){rr()}}),Hee={};h(Hee,{getRenameInfo:()=>Xqt,nodeIsEligibleForRename:()=>Dlt});var aZt=o({"src/services/_namespaces/ts.Rename.ts"(){rZt()}});function oZt(t,u,s,d,f){const p=t.getTypeChecker(),E=cX(u,s);if(!E)return;const v=!!d&&d.kind==="characterTyped";if(v&&(zk(u,s,E)||m5(u,s)))return;const b=!!d&&d.kind==="invoked",B=bZt(E,s,u,p,b);if(!B)return;f.throwIfCancellationRequested();const k=sZt(B,p,u,E,v);return f.throwIfCancellationRequested(),k?p.runWithCancellationToken(f,T=>k.kind===0?Flt(k.candidates,k.resolvedSignature,B,u,T):kZt(k.symbol,B,u,T)):gh(u)?cZt(B,t,f):void 0}function sZt({invocation:t,argumentCount:u},s,d,f,p){switch(t.kind){case 0:{if(p&&!lZt(f,t.node,d))return;const E=[],v=s.getResolvedSignatureForSignatureHelp(t.node,E,u);return E.length===0?void 0:{kind:0,candidates:E,resolvedSignature:v}}case 1:{const{called:E}=t;if(p&&!xlt(f,d,at(E)?E.parent:E))return;const v=Uhe(E,u,s);if(v.length!==0)return{kind:0,candidates:v,resolvedSignature:Pn(v)};const b=s.getSymbolAtLocation(E);return b&&{kind:1,symbol:b}}case 2:return{kind:0,candidates:[t.signature],resolvedSignature:t.signature};default:return H.assertNever(t)}}function lZt(t,u,s){if(!$E(u))return!1;const d=u.getChildren(s);switch(t.kind){case 21:return kt(d,t);case 28:{const f=oX(t);return!!f&&kt(d,f)}case 30:return xlt(t,s,u.expression);default:return!1}}function cZt(t,u,s){if(t.invocation.kind===2)return;const d=ylt(t.invocation),f=Iu(d)?d.name.text:void 0,p=u.getTypeChecker();return f===void 0?void 0:G(u.getSourceFiles(),E=>G(E.getNamedDeclarations().get(f),v=>{const b=v.symbol&&p.getTypeOfSymbolAtLocation(v.symbol,v),B=b&&b.getCallSignatures();if(B&&B.length)return p.runWithCancellationToken(s,k=>Flt(B,B[0],t,E,k,!0))}))}function xlt(t,u,s){const d=t.getFullStart();let f=t.parent;for(;f;){const p=td(d,u,f,!0);if(p)return Vm(s,p);f=f.parent}return H.fail("Could not find preceding token")}function dZt(t,u,s){const d=Clt(t,u,s);return!d||d.isTypeParameterList||d.invocation.kind!==0?void 0:{invocation:d.invocation.node,argumentCount:d.argumentCount,argumentIndex:d.argumentIndex}}function vlt(t,u,s){const d=hZt(t,s);if(!d)return;const{list:f,argumentIndex:p}=d,E=DZt(f,zk(s,u,t));p!==0&&H.assertLessThan(p,E);const v=vZt(f,s);return{list:f,argumentIndex:p,argumentCount:E,argumentsSpan:v}}function hZt(t,u){if(t.kind===30||t.kind===21)return{list:yZt(t.parent,t,u),argumentIndex:0};{const s=oX(t);return s&&{list:s,argumentIndex:_Zt(s,t)}}}function Clt(t,u,s){const{parent:d}=t;if($E(d)){const f=d,p=vlt(t,u,s);if(!p)return;const{list:E,argumentIndex:v,argumentCount:b,argumentsSpan:B}=p;return{isTypeParameterList:!!d.typeArguments&&d.typeArguments.pos===E.pos,invocation:{kind:0,node:f},argumentsSpan:B,argumentIndex:v,argumentCount:b}}else{if(T7(t)&&Dk(d))return jH(t,u,s)?uLe(d,0,s):void 0;if(vB(t)&&d.parent.kind===215){const f=d,p=f.parent;H.assert(f.kind===228);const E=jH(t,u,s)?0:1;return uLe(p,E,s)}else if(qP(d)&&Dk(d.parent.parent)){const f=d,p=d.parent.parent;if(pce(t)&&!jH(t,u,s))return;const E=f.parent.templateSpans.indexOf(f),v=xZt(E,t,u,s);return uLe(p,v,s)}else if(zh(d)){const f=d.attributes.pos,p=gs(s.text,d.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:d},argumentsSpan:d1(f,p-f),argumentIndex:0,argumentCount:1}}else{const f=qhe(t,s);if(f){const{called:p,nTypeArguments:E}=f,v={kind:1,called:p},b=Vc(p.getStart(s),t.end);return{isTypeParameterList:!0,invocation:v,argumentsSpan:b,argumentIndex:E,argumentCount:E+1}}return}}}function fZt(t,u,s,d){return mZt(t,u,s,d)||Clt(t,u,s)}function blt(t){return Xn(t.parent)?blt(t.parent):t}function nLe(t){return Xn(t.left)?nLe(t.left)+1:2}function mZt(t,u,s,d){const f=pZt(t);if(f===void 0)return;const p=gZt(f,s,u,d);if(p===void 0)return;const{contextualType:E,argumentIndex:v,argumentCount:b,argumentsSpan:B}=p,k=E.getNonNullableType(),T=k.symbol;if(T===void 0)return;const M=qu(k.getCallSignatures());return M===void 0?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:M,node:t,symbol:EZt(T)},argumentsSpan:B,argumentIndex:v,argumentCount:b}}function pZt(t){switch(t.kind){case 21:case 28:return t;default:return Tn(t.parent,u=>io(u)?!0:js(u)||Rp(u)||_k(u)?!1:"quit")}}function gZt(t,u,s,d){const{parent:f}=t;switch(f.kind){case 217:case 174:case 218:case 219:const p=vlt(t,s,u);if(!p)return;const{argumentIndex:E,argumentCount:v,argumentsSpan:b}=p,B=dc(f)?d.getContextualTypeForObjectLiteralElement(f):d.getContextualType(f);return B&&{contextualType:B,argumentIndex:E,argumentCount:v,argumentsSpan:b};case 226:{const k=blt(f),T=d.getContextualType(k),M=t.kind===21?0:nLe(f)-1,z=nLe(k);return T&&{contextualType:T,argumentIndex:M,argumentCount:z,argumentsSpan:of(f)}}default:return}}function EZt(t){return t.name==="__type"&&G(t.declarations,u=>{var s;return u3(u)?(s=ur(u.parent,Zg))==null?void 0:s.symbol:void 0})||t}function _Zt(t,u){let s=0;for(const d of t.getChildren()){if(d===u)break;d.kind!==28&&s++}return s}function DZt(t,u){const s=t.getChildren();let d=ui(s,f=>f.kind!==28);return!u&&s.length>0&&Cr(s).kind===28&&d++,d}function xZt(t,u,s,d){return H.assert(s>=u.getStart(),"Assumed 'position' could not occur before node."),X2e(u)?jH(u,s,d)?0:t+2:t+1}function uLe(t,u,s){const d=T7(t.template)?1:t.template.templateSpans.length+1;return u!==0&&H.assertLessThan(u,d),{isTypeParameterList:!1,invocation:{kind:0,node:t},argumentsSpan:CZt(t,s),argumentIndex:u,argumentCount:d}}function vZt(t,u){const s=t.getFullStart(),d=gs(u.text,t.getEnd(),!1);return d1(s,d-s)}function CZt(t,u){const s=t.template,d=s.getStart();let f=s.getEnd();return s.kind===228&&Cr(s.templateSpans).literal.getFullWidth()===0&&(f=gs(u.text,f,!1)),d1(d,f-d)}function bZt(t,u,s,d,f){for(let p=t;!la(p)&&(f||!po(p));p=p.parent){H.assert(Vm(p.parent,p),"Not a subspan",()=>`Child: ${H.formatSyntaxKind(p.kind)}, parent: ${H.formatSyntaxKind(p.parent.kind)}`);const E=fZt(p,u,s,d);if(E)return E}}function yZt(t,u,s){const d=t.getChildren(s),f=d.indexOf(u);return H.assert(f>=0&&d.length>f+1),d[f+1]}function ylt(t){return t.kind===0?pq(t.node):t.called}function klt(t){return t.kind===0?t.node:t.kind===1?t.called:t.node}function Flt(t,u,{isTypeParameterList:s,argumentCount:d,argumentsSpan:f,invocation:p,argumentIndex:E},v,b,B){var k;const T=klt(p),M=p.kind===2?p.symbol:b.getSymbolAtLocation(ylt(p))||B&&((k=u.declaration)==null?void 0:k.symbol),z=M?RM(b,M,B?v:void 0,void 0):_t,j=Vt(t,se=>AZt(se,z,s,b,T,v));E!==0&&H.assertLessThan(E,d);let J=0,K=0;for(let se=0;se1)){let ae=0;for(const Ce of ge){if(Ce.isVariadic||Ce.parameters.length>=d){J=K+ae;break}ae++}}K+=ge.length}H.assert(J!==-1);const Y={items:Tr(j,il),applicableSpan:f,selectedItemIndex:J,argumentIndex:E,argumentCount:d},oe=Y.items[J];if(oe.isVariadic){const se=Ue(oe.parameters,ge=>!!ge.isRest);-1Alt(T,s,d,f,E)),b=t.getDocumentationComment(s),B=t.getJsDocTags(s);return{isVariadic:!1,prefixDisplayParts:[...p,ih(30)],suffixDisplayParts:[ih(32)],separatorDisplayParts:rLe,parameters:v,documentation:b,tags:B}}function AZt(t,u,s,d,f,p){const E=(s?BZt:wZt)(t,d,f,p);return Vt(E,({isVariadic:v,parameters:b,prefix:B,suffix:k})=>{const T=[...u,...B],M=[...k,...SZt(t,f,d)],z=t.getDocumentationComment(d),j=t.getJsDocTags();return{isVariadic:v,prefixDisplayParts:T,suffixDisplayParts:M,separatorDisplayParts:rLe,parameters:b,documentation:z,tags:j}})}function SZt(t,u,s){return Zx(d=>{d.writePunctuation(":"),d.writeSpace(" ");const f=s.getTypePredicateOfSignature(t);f?s.writeTypePredicate(f,u,void 0,d):s.writeType(s.getReturnTypeOfSignature(t),u,void 0,d)})}function BZt(t,u,s,d){const f=(t.target||t).typeParameters,p=X2(),E=(f||_t).map(b=>Alt(b,u,s,d,p)),v=t.thisParameter?[u.symbolToParameterDeclaration(t.thisParameter,s,LK)]:[];return u.getExpandedParameters(t).map(b=>{const B=q.createNodeArray([...v,...Vt(b,T=>u.symbolToParameterDeclaration(T,s,LK))]),k=Zx(T=>{p.writeList(2576,B,d,T)});return{isVariadic:!1,parameters:E,prefix:[ih(30)],suffix:[ih(32),...k]}})}function wZt(t,u,s,d){const f=X2(),p=Zx(b=>{if(t.typeParameters&&t.typeParameters.length){const B=q.createNodeArray(t.typeParameters.map(k=>u.typeParameterToDeclaration(k,s,LK)));f.writeList(53776,B,d,b)}}),E=u.getExpandedParameters(t),v=u.hasEffectiveRestParameter(t)?E.length===1?b=>!0:b=>{var B;return!!(b.length&&((B=ur(b[b.length-1],qE))==null?void 0:B.links.checkFlags)&32768)}:b=>!1;return E.map(b=>({isVariadic:v(b),parameters:b.map(B=>TZt(B,u,s,d,f)),prefix:[...p,ih(21)],suffix:[ih(22)]}))}function TZt(t,u,s,d,f){const p=Zx(b=>{const B=u.symbolToParameterDeclaration(t,s,LK);f.writeNode(4,B,d,b)}),E=u.isOptionalParameter(t.valueDeclaration),v=qE(t)&&!!(t.links.checkFlags&32768);return{name:t.name,documentation:t.getDocumentationComment(u),displayParts:p,isOptional:E,isRest:v}}function Alt(t,u,s,d,f){const p=Zx(E=>{const v=u.typeParameterToDeclaration(t,s,LK);f.writeNode(4,v,d,E)});return{name:t.symbol.name,documentation:t.symbol.getDocumentationComment(u),displayParts:p,isOptional:!1,isRest:!1}}var LK,rLe,LZt=o({"src/services/signatureHelp.ts"(){rr(),LK=70246400,rLe=[ih(28),$l()]}}),NK={};h(NK,{getArgumentInfoForCompletions:()=>dZt,getSignatureHelpItems:()=>oZt});var NZt=o({"src/services/_namespaces/ts.SignatureHelp.ts"(){LZt()}});function PZt(t,u){var s,d;let f={textSpan:Vc(u.getFullStart(),u.getEnd())},p=u;e:for(;;){const b=zZt(p);if(!b.length)break;for(let B=0;Bt)break e;const z=Aa(gv(u.text,T.end));if(z&&z.kind===2&&v(z.pos,z.end),MZt(u,t,T)){if(t0e(T)&&$0(p)&&!q4(T.getStart(u),T.getEnd(),u)&&E(T.getStart(u),T.getEnd()),po(T)||qP(T)||vB(T)||pce(T)||k&&vB(k)||Ad(T)&&Jl(p)||MB(T)&&Ad(p)||na(T)&&MB(p)&&b.length===1||kk(T)||Ov(T)||K7(T)){p=T;break}if(qP(p)&&M&&IU(M)){const Y=T.getFullStart()-2,oe=M.getStart()+1;E(Y,oe)}const j=MB(T)&&IZt(k)&&RZt(M)&&!q4(k.getStart(),M.getStart(),u);let J=j?k.getEnd():T.getStart();const K=j?M.getStart():OZt(u,T);if(lm(T)&&((s=T.jsDoc)!=null&&s.length)&&E(Pn(T.jsDoc).getStart(),K),MB(T)){const Y=T.getChildren()[0];Y&&lm(Y)&&((d=Y.jsDoc)!=null&&d.length)&&Y.getStart()!==T.pos&&(J=Math.min(J,Pn(Y.jsDoc).getStart()))}E(J,K),(us(T)||P8(T))&&E(J+1,K-1),p=T;break}if(B===b.length-1)break e}}return f;function E(b,B){if(b!==B){const k=Vc(b,B);(!f||!sw(k,f.textSpan)&&T2e(k,t))&&(f={textSpan:k,...f&&{parent:f}})}}function v(b,B){E(b,B);let k=b;for(;u.text.charCodeAt(k)===47;)k++;E(k,B)}}function MZt(t,u,s){return H.assert(s.pos<=u),uv===t.readonlyToken||v.kind===148||v===t.questionToken||v.kind===58),E=PK(p,({kind:v})=>v===23||v===168||v===24);return[s,MK(Ppe(E,({kind:v})=>v===59)),f]}if(Mm(t)){const s=PK(t.getChildren(),E=>E===t.name||kt(t.modifiers,E)),d=((u=s[0])==null?void 0:u.kind)===327?s[0]:void 0,f=d?s.slice(1):s,p=Ppe(f,({kind:E})=>E===59);return d?[d,MK(p)]:p}if(io(t)){const s=PK(t.getChildren(),f=>f===t.dotDotDotToken||f===t.name),d=PK(s,f=>f===s[0]||f===t.questionToken);return Ppe(d,({kind:f})=>f===64)}return js(t)?Ppe(t.getChildren(),({kind:s})=>s===64):t.getChildren()}function PK(t,u){const s=[];let d;for(const f of t)u(f)?(d=d||[],d.push(f)):(d&&(s.push(MK(d)),d=void 0),s.push(f));return d&&s.push(MK(d)),s}function Ppe(t,u,s=!0){if(t.length<2)return t;const d=Ue(t,u);if(d===-1)return t;const f=t.slice(0,d),p=t[d],E=Cr(t),v=s&&E.kind===27,b=t.slice(d+1,v?t.length-1:void 0),B=Dr([f.length?MK(f):void 0,p,b.length?MK(b):void 0]);return v?B.concat(E):B}function MK(t){return H.assertGreaterThanOrEqual(t.length,1),t_(a_.createSyntaxList(t),t[0].pos,Cr(t).end)}function IZt(t){const u=t&&t.kind;return u===19||u===23||u===21||u===286}function RZt(t){const u=t&&t.kind;return u===20||u===24||u===22||u===287}function OZt(t,u){switch(u.kind){case 348:case 345:case 355:case 353:case 350:return t.getLineEndOfPosition(u.getStart());default:return u.getEnd()}}var Slt,jZt=o({"src/services/smartSelection.ts"(){rr(),Slt=dg(Sd,E1)}}),Mpe={};h(Mpe,{getSmartSelectionRange:()=>PZt});var VZt=o({"src/services/_namespaces/ts.SmartSelectionRange.ts"(){jZt()}});function Blt(t,u,s){const d=wlt(t,u,s);if(d!=="")return d;const f=xP(u);return f&32?Sl(u,231)?"local class":"class":f&384?"enum":f&524288?"type":f&64?"interface":f&262144?"type parameter":f&8?"enum member":f&2097152?"alias":f&1536?"module":d}function wlt(t,u,s){const d=t.getRootSymbols(u);if(d.length===1&&Pn(d).flags&8192&&t.getTypeOfSymbolAtLocation(u,s).getNonNullableType().getCallSignatures().length!==0)return"method";if(t.isUndefinedSymbol(u))return"var";if(t.isArgumentsSymbol(u))return"local var";if(s.kind===110&&Wt(s)||g7(s))return"parameter";const f=xP(u);if(f&3)return dfe(u)?"parameter":u.valueDeclaration&&K8(u.valueDeclaration)?"const":u.valueDeclaration&&cj(u.valueDeclaration)?"using":u.valueDeclaration&&lj(u.valueDeclaration)?"await using":L(u.declarations,rq)?"let":Nlt(u)?"local var":"var";if(f&16)return Nlt(u)?"local function":"function";if(f&32768)return"getter";if(f&65536)return"setter";if(f&8192)return"method";if(f&16384)return"constructor";if(f&131072)return"index";if(f&4){if(f&33554432&&u.links.checkFlags&6){const p=L(t.getRootSymbols(u),E=>{if(E.getFlags()&98311)return"property"});return p||(t.getTypeOfSymbolAtLocation(u,s).getCallSignatures().length?"method":"property")}return"property"}return""}function Tlt(t){if(t.declarations&&t.declarations.length){const[u,...s]=t.declarations,d=S(s)&&RX(u)&&Oe(s,p=>!RX(p))?65536:0,f=NM(u,d);if(f)return f.split(",")}return[]}function HZt(t,u){if(!u)return"";const s=new Set(Tlt(u));if(u.flags&2097152){const d=t.getAliasedSymbol(u);d!==u&&L(Tlt(d),f=>{s.add(f)})}return u.flags&16777216&&s.add("optional"),s.size>0?ga(s.values()).join(","):""}function Llt(t,u,s,d,f,p,E,v){var b;const B=[];let k=[],T=[];const M=xP(u);let z=E&1?wlt(t,u,f):"",j=!1;const J=f.kind===110&&Eq(f)||g7(f);let K,Y,oe=!1;if(f.kind===110&&!J)return{displayParts:[Hf(110)],documentation:[],symbolKind:"primitive type",tags:void 0};if(z!==""||M&32||M&2097152){if(z==="getter"||z==="setter"){const Be=Le(u.declarations,Ge=>Ge.name===f);if(Be)switch(Be.kind){case 177:z="getter";break;case 178:z="setter";break;case 172:z="accessor";break;default:H.assertNever(Be)}else z="property"}let fe;if(p??(p=J?t.getTypeAtLocation(f):t.getTypeOfSymbolAtLocation(u,f)),f.parent&&f.parent.kind===211){const Be=f.parent.name;(Be===f||Be&&Be.getFullWidth()===0)&&(f=f.parent)}let xe;if($E(f)?xe=f:(Phe(f)||wM(f)||f.parent&&(zh(f.parent)||Dk(f.parent))&&Co(u.valueDeclaration))&&(xe=f.parent),xe){fe=t.getResolvedSignature(xe);const Be=xe.kind===214||Mo(xe)&&xe.expression.kind===108,Ge=Be?p.getConstructSignatures():p.getCallSignatures();if(fe&&!kt(Ge,fe.target)&&!kt(Ge,fe)&&(fe=Ge.length?Ge[0]:void 0),fe){switch(Be&&M&32?(z="constructor",ve(p.symbol,z)):M&2097152?(z="alias",Se(z),B.push($l()),Be&&(fe.flags&4&&(B.push(Hf(128)),B.push($l())),B.push(Hf(105)),B.push($l())),ne(u)):ve(u,z),z){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":B.push(ih(59)),B.push($l()),!(Gu(p)&16)&&p.symbol&&(yn(B,RM(t,p.symbol,d,void 0,5)),B.push(lw())),Be&&(fe.flags&4&&(B.push(Hf(128)),B.push($l())),B.push(Hf(105)),B.push($l())),Ne(fe,Ge,262144);break;default:Ne(fe,Ge)}j=!0,oe=Ge.length>1}}else if(Hhe(f)&&!(M&98304)||f.kind===137&&f.parent.kind===176){const Be=f.parent;if(u.declarations&&Le(u.declarations,Ae=>Ae===(f.kind===137?Be.parent:Be))){const Ae=Be.kind===176?p.getNonNullableType().getConstructSignatures():p.getNonNullableType().getCallSignatures();t.isImplementationOfOverload(Be)?fe=Ae[0]:fe=t.getSignatureFromDeclaration(Be),Be.kind===176?(z="constructor",ve(p.symbol,z)):ve(Be.kind===179&&!(p.symbol.flags&2048||p.symbol.flags&4096)?p.symbol:u,z),fe&&Ne(fe,Ae),j=!0,oe=Ae.length>1}}}if(M&32&&!j&&!J&&(ae(),Sl(u,231)?Se("local class"):B.push(Hf(86)),B.push($l()),ne(u),pe(u,s)),M&64&&E&2&&(ge(),B.push(Hf(120)),B.push($l()),ne(u),pe(u,s)),M&524288&&E&2&&(ge(),B.push(Hf(156)),B.push($l()),ne(u),pe(u,s),B.push($l()),B.push(IM(64)),B.push($l()),yn(B,$H(t,f.parent&&q3(f.parent)?t.getTypeAtLocation(f.parent):t.getDeclaredTypeOfSymbol(u),d,8388608))),M&384&&(ge(),Oe(u.declarations,fe=>Iv(fe)&&b2(fe))&&(B.push(Hf(87)),B.push($l())),B.push(Hf(94)),B.push($l()),ne(u)),M&1536&&!J){ge();const fe=Sl(u,267),xe=fe&&fe.name&&fe.name.kind===80;B.push(Hf(xe?145:144)),B.push($l()),ne(u)}if(M&262144&&E&2)if(ge(),B.push(ih(21)),B.push(Km("type parameter")),B.push(ih(22)),B.push($l()),ne(u),u.parent)Ce(),ne(u.parent,d),pe(u.parent,d);else{const fe=Sl(u,168);if(fe===void 0)return H.fail();const xe=fe.parent;if(xe)if(Co(xe)){Ce();const Be=t.getSignatureFromDeclaration(xe);xe.kind===180?(B.push(Hf(105)),B.push($l())):xe.kind!==179&&xe.name&&ne(xe.symbol),yn(B,mfe(t,Be,s,32))}else jp(xe)&&(Ce(),B.push(Hf(156)),B.push($l()),ne(xe.symbol),pe(xe.symbol,s))}if(M&8){z="enum member",ve(u,"enum member");const fe=(b=u.declarations)==null?void 0:b[0];if((fe==null?void 0:fe.kind)===306){const xe=t.getConstantValue(fe);xe!==void 0&&(B.push($l()),B.push(IM(64)),B.push($l()),B.push(yf(Tbe(xe),typeof xe=="number"?7:8)))}}if(u.flags&2097152){if(ge(),!j||k.length===0&&T.length===0){const fe=t.getAliasedSymbol(u);if(fe!==u&&fe.declarations&&fe.declarations.length>0){const xe=fe.declarations[0],Be=Za(xe);if(Be&&!j){const Ge=tq(xe)&&Yu(xe,128),Ae=u.name!=="default"&&!Ge,De=Llt(t,fe,zn(xe),xe,Be,p,E,Ae?u:fe);B.push(...De.displayParts),B.push(lw()),K=De.documentation,Y=De.tags}else K=fe.getContextualDocumentationComment(xe,t),Y=fe.getJsDocTags(t)}}if(u.declarations)switch(u.declarations[0].kind){case 270:B.push(Hf(95)),B.push($l()),B.push(Hf(145));break;case 277:B.push(Hf(95)),B.push($l()),B.push(Hf(u.declarations[0].isExportEquals?64:90));break;case 281:B.push(Hf(95));break;default:B.push(Hf(102))}B.push($l()),ne(u),L(u.declarations,fe=>{if(fe.kind===271){const xe=fe;if(bv(xe))B.push($l()),B.push(IM(64)),B.push($l()),B.push(Hf(149)),B.push(ih(21)),B.push(yf(Hc(XN(xe)),8)),B.push(ih(22));else{const Be=t.getSymbolAtLocation(xe.moduleReference);Be&&(B.push($l()),B.push(IM(64)),B.push($l()),ne(Be,d))}return!0}})}if(!j)if(z!==""){if(p){if(J?(ge(),B.push(Hf(110))):ve(u,z),z==="property"||z==="accessor"||z==="getter"||z==="setter"||z==="JSX attribute"||M&3||z==="local var"||z==="index"||z==="using"||z==="await using"||J){if(B.push(ih(59)),B.push($l()),p.symbol&&p.symbol.flags&262144&&z!=="index"){const fe=Zx(xe=>{const Be=t.typeParameterToDeclaration(p,d,aLe);se().writeNode(4,Be,zn(Ua(d)),xe)});yn(B,fe)}else yn(B,$H(t,p,d));if(qE(u)&&u.links.target&&qE(u.links.target)&&u.links.target.links.tupleLabelDeclaration){const fe=u.links.target.links.tupleLabelDeclaration;H.assertNode(fe.name,at),B.push($l()),B.push(ih(21)),B.push(Km(fu(fe.name))),B.push(ih(22))}}else if(M&16||M&8192||M&16384||M&131072||M&98304||z==="method"){const fe=p.getNonNullableType().getCallSignatures();fe.length&&(Ne(fe[0],fe),oe=fe.length>1)}}}else z=Blt(t,u,f);if(k.length===0&&!oe&&(k=u.getContextualDocumentationComment(d,t)),k.length===0&&M&4&&u.parent&&u.declarations&&L(u.parent.declarations,fe=>fe.kind===312))for(const fe of u.declarations){if(!fe.parent||fe.parent.kind!==226)continue;const xe=t.getSymbolAtLocation(fe.parent.right);if(xe&&(k=xe.getDocumentationComment(t),T=xe.getJsDocTags(t),k.length>0))break}if(k.length===0&&at(f)&&u.valueDeclaration&&js(u.valueDeclaration)){const fe=u.valueDeclaration,xe=fe.parent,Be=fe.propertyName||fe.name;if(at(Be)&&Rp(xe)){const Ge=J4(Be),Ae=t.getTypeAtLocation(xe);k=G(Ae.isUnion()?Ae.types:[Ae],De=>{const Ke=De.getProperty(Ge);return Ke?Ke.getDocumentationComment(t):void 0})||_t}}return T.length===0&&!oe&&(T=u.getContextualJsDocTags(d,t)),k.length===0&&K&&(k=K),T.length===0&&Y&&(T=Y),{displayParts:B,documentation:k,symbolKind:z,tags:T.length===0?void 0:T};function se(){return X2()}function ge(){B.length&&B.push(lw()),ae()}function ae(){v&&(Se("alias"),B.push($l()))}function Ce(){B.push($l()),B.push(Hf(103)),B.push($l())}function ne(fe,xe){let Be;v&&fe===u&&(fe=v),z==="index"&&(Be=t.getIndexInfosOfIndexSymbol(fe));let Ge=[];fe.flags&131072&&Be?(fe.parent&&(Ge=RM(t,fe.parent)),Ge.push(ih(23)),Be.forEach((Ae,De)=>{Ge.push(...$H(t,Ae.keyType)),De!==Be.length-1&&(Ge.push($l()),Ge.push(ih(52)),Ge.push($l()))}),Ge.push(ih(24))):Ge=RM(t,fe,xe||s,void 0,7),yn(B,Ge),u.flags&16777216&&B.push(ih(58))}function ve(fe,xe){ge(),xe&&(Se(xe),fe&&!Oe(fe.declarations,Be=>q0(Be)||(A0(Be)||Xd(Be))&&!Be.name)&&(B.push($l()),ne(fe)))}function Se(fe){switch(fe){case"var":case"function":case"let":case"const":case"constructor":case"using":case"await using":B.push(hfe(fe));return;default:B.push(ih(21)),B.push(hfe(fe)),B.push(ih(22));return}}function Ne(fe,xe,Be=0){yn(B,mfe(t,fe,d,Be|32)),xe.length>1&&(B.push($l()),B.push(ih(21)),B.push(IM(40)),B.push(yf((xe.length-1).toString(),7)),B.push($l()),B.push(Km(xe.length===2?"overload":"overloads")),B.push(ih(22))),k=fe.getDocumentationComment(t),T=fe.getJsDocTags(),xe.length>1&&k.length===0&&T.length===0&&(k=xe[0].getDocumentationComment(t),T=xe[0].getJsDocTags().filter(Ge=>Ge.name!=="deprecated"))}function pe(fe,xe){const Be=Zx(Ge=>{const Ae=t.symbolToTypeParameterDeclarations(fe,xe,aLe);se().writeList(53776,Ae,zn(Ua(xe)),Ge)});yn(B,Be)}}function KZt(t,u,s,d,f,p=Pk(f),E){return Llt(t,u,s,d,f,void 0,p,E)}function Nlt(t){return t.parent?!1:L(t.declarations,u=>{if(u.kind===218)return!0;if(u.kind!==260&&u.kind!==262)return!1;for(let s=u.parent;!k2(s);s=s.parent)if(s.kind===312||s.kind===268)return!1;return!0})}var aLe,WZt=o({"src/services/symbolDisplay.ts"(){rr(),aLe=70246400}}),x5={};h(x5,{getSymbolDisplayPartsDocumentationAndSymbolKind:()=>KZt,getSymbolKind:()=>Blt,getSymbolModifiers:()=>HZt});var GZt=o({"src/services/_namespaces/ts.SymbolDisplay.ts"(){WZt()}});function Plt(t){const u=t.__pos;return H.assert(typeof u=="number"),u}function oLe(t,u){H.assert(typeof u=="number"),t.__pos=u}function Mlt(t){const u=t.__end;return H.assert(typeof u=="number"),u}function sLe(t,u){H.assert(typeof u=="number"),t.__end=u}function zlt(t,u){return gs(t,u,!1,!0)}function JZt(t,u){let s=u;for(;s0?1:0;let M=Mx(dP(t,B)+T,t);return M=zlt(t.text,M),Mx(dP(t,M),t)}function lLe(t,u,s){const{end:d}=u,{trailingTriviaOption:f}=s;if(f===2){const p=gv(t.text,d);if(p){const E=dP(t,u.end);for(const v of p){if(v.kind===2||dP(t,v.pos)>E)break;if(dP(t,v.end)>E)return gs(t.text,v.end,!0,!0)}}}}function kw(t,u,s){var d;const{end:f}=u,{trailingTriviaOption:p}=s;if(p===0)return f;if(p===1){const b=Hi(gv(t.text,f),W_(t.text,f)),B=(d=b==null?void 0:b[b.length-1])==null?void 0:d.end;return B||f}const E=lLe(t,u,s);if(E)return E;const v=gs(t.text,f,!0);return v!==f&&(p===2||Z1(t.text.charCodeAt(v-1)))?v:f}function zpe(t,u){return!!u&&!!t.parent&&(u.kind===28||u.kind===27&&t.parent.kind===210)}function $Zt(t){return A0(t)||ed(t)}function UZt(t){if(t.kind!==219)return t;const u=t.parent.kind===172?t.parent:t.parent.parent;return u.jsDoc=t.jsDoc,u}function qZt(t,u){if(t.kind===u.kind)switch(t.kind){case 348:{const s=t,d=u;return at(s.name)&&at(d.name)&&s.name.escapedText===d.name.escapedText?q.createJSDocParameterTag(void 0,d.name,!1,d.typeExpression,d.isNameFirst,s.comment):void 0}case 349:return q.createJSDocReturnTag(void 0,u.typeExpression,t.comment);case 351:return q.createJSDocTypeTag(void 0,u.typeExpression,t.comment)}}function cLe(t,u){return gs(t.text,Hk(t,u,{leadingTriviaOption:1}),!1,!0)}function ZZt(t,u,s,d){const f=cLe(t,d);if(s===void 0||q4(kw(t,u,{}),f,t))return f;const p=td(d.getStart(t),t);if(zpe(u,p)){const E=td(u.getStart(t),t);if(zpe(s,E)){const v=gs(t.text,p.getEnd(),!0,!0);if(q4(E.getStart(t),p.getStart(t),t))return Z1(t.text.charCodeAt(v-1))?v-1:v;if(Z1(t.text.charCodeAt(v)))return v}}return f}function YZt(t,u){const s=a0(t,19,u),d=a0(t,20,u);return[s==null?void 0:s.end,d==null?void 0:d.end]}function Ipe(t){return ys(t)?t.properties:t.members}function dLe(t,u){for(let s=u.length-1;s>=0;s--){const{span:d,newText:f}=u[s];t=`${t.substring(0,d.start)}${f}${t.substring(Ec(d))}`}return t}function QZt(t){return gs(t,0)===t.length}function Rpe(t){const u=rn(t,Rpe,jlt,XZt,Rpe),s=sl(u)?u:Object.create(u);return t_(s,Plt(t),Mlt(t)),s}function XZt(t,u,s,d,f){const p=kn(t,u,s,d,f);if(!p)return p;H.assert(t);const E=p===t?q.createNodeArray(p.slice(0)):p;return t_(E,Plt(t),Mlt(t)),E}function Ilt(t){let u=0;const s=Vj(t),d=De=>{De&&oLe(De,u)},f=De=>{De&&sLe(De,u)},p=De=>{De&&oLe(De,u)},E=De=>{De&&sLe(De,u)},v=De=>{De&&oLe(De,u)},b=De=>{De&&sLe(De,u)};function B(De,Ke){if(Ke||!QZt(De)){u=s.getTextPos();let Je=0;for(;U3(De.charCodeAt(De.length-Je-1));)Je++;u-=Je}}function k(De){s.write(De),B(De,!1)}function T(De){s.writeComment(De)}function M(De){s.writeKeyword(De),B(De,!1)}function z(De){s.writeOperator(De),B(De,!1)}function j(De){s.writePunctuation(De),B(De,!1)}function J(De){s.writeTrailingSemicolon(De),B(De,!1)}function K(De){s.writeParameter(De),B(De,!1)}function Y(De){s.writeProperty(De),B(De,!1)}function oe(De){s.writeSpace(De),B(De,!1)}function se(De){s.writeStringLiteral(De),B(De,!1)}function ge(De,Ke){s.writeSymbol(De,Ke),B(De,!1)}function ae(De){s.writeLine(De)}function Ce(){s.increaseIndent()}function ne(){s.decreaseIndent()}function ve(){return s.getText()}function Se(De){s.rawWrite(De),B(De,!1)}function Ne(De){s.writeLiteral(De),B(De,!0)}function pe(){return s.getTextPos()}function fe(){return s.getLine()}function xe(){return s.getColumn()}function Be(){return s.getIndent()}function Ge(){return s.isAtStartOfLine()}function Ae(){s.clear(),u=0}return{onBeforeEmitNode:d,onAfterEmitNode:f,onBeforeEmitNodeArray:p,onAfterEmitNodeArray:E,onBeforeEmitToken:v,onAfterEmitToken:b,write:k,writeComment:T,writeKeyword:M,writeOperator:z,writePunctuation:j,writeTrailingSemicolon:J,writeParameter:K,writeProperty:Y,writeSpace:oe,writeStringLiteral:se,writeSymbol:ge,writeLine:ae,increaseIndent:Ce,decreaseIndent:ne,getText:ve,rawWrite:Se,writeLiteral:Ne,getTextPos:pe,getLine:fe,getColumn:xe,getIndent:Be,isAtStartOfLine:Ge,hasTrailingComment:()=>s.hasTrailingComment(),hasTrailingWhitespace:()=>s.hasTrailingWhitespace(),clear:Ae}}function eYt(t){let u;for(const B of t.statements)if(Mp(B))u=B;else break;let s=0;const d=t.text;if(u)return s=u.end,b(),s;const f=SU(d);f!==void 0&&(s=f.length,b());const p=W_(d,s);if(!p)return s;let E,v;for(const B of p){if(B.kind===3){if(XU(d,B.pos)){E={range:B,pinnedOrTripleSlash:!0};continue}}else if(c0e(d,B.pos,B.end)){E={range:B,pinnedOrTripleSlash:!0};continue}if(E){if(E.pinnedOrTripleSlash)break;const k=t.getLineAndCharacterOfPosition(B.pos).line,T=t.getLineAndCharacterOfPosition(E.range.end).line;if(k>=T+2)break}if(t.statements.length){v===void 0&&(v=t.getLineAndCharacterOfPosition(t.statements[0].getStart()).line);const k=t.getLineAndCharacterOfPosition(B.end).line;if(v(t[t.Exclude=0]="Exclude",t[t.IncludeAll=1]="IncludeAll",t[t.JSDoc=2]="JSDoc",t[t.StartLine=3]="StartLine",t))(hLe||{}),fLe=(t=>(t[t.Exclude=0]="Exclude",t[t.ExcludeWhitespace=1]="ExcludeWhitespace",t[t.Include=2]="Include",t))(fLe||{}),ez={leadingTriviaOption:0,trailingTriviaOption:0},Olt=class ZOe{constructor(u,s){this.newLineCharacter=u,this.formatContext=s,this.changes=[],this.classesWithNodesInsertedAtStart=new Map,this.deletedNodes=[]}static fromContext(u){return new ZOe(E5(u.host,u.formatContext.options),u.formatContext)}static with(u,s){const d=ZOe.fromContext(u);return s(d),d.getChanges()}pushRaw(u,s){H.assertEqual(u.fileName,s.fileName);for(const d of s.textChanges)this.changes.push({kind:3,sourceFile:u,text:d.newText,range:pX(d.span)})}deleteRange(u,s){this.changes.push({kind:0,sourceFile:u,range:s})}delete(u,s){this.deletedNodes.push({sourceFile:u,node:s})}deleteNode(u,s,d={leadingTriviaOption:1}){this.deleteRange(u,zK(u,s,s,d))}deleteNodes(u,s,d={leadingTriviaOption:1},f){for(const p of s){const E=Hk(u,p,d,f),v=kw(u,p,d);this.deleteRange(u,{pos:E,end:v}),f=!!lLe(u,p,d)}}deleteModifier(u,s){this.deleteRange(u,{pos:s.getStart(u),end:gs(u.text,s.end,!0)})}deleteNodeRange(u,s,d,f={leadingTriviaOption:1}){const p=Hk(u,s,f),E=kw(u,d,f);this.deleteRange(u,{pos:p,end:E})}deleteNodeRangeExcludingEnd(u,s,d,f={leadingTriviaOption:1}){const p=Hk(u,s,f),E=d===void 0?u.text.length:Hk(u,d,f);this.deleteRange(u,{pos:p,end:E})}replaceRange(u,s,d,f={}){this.changes.push({kind:1,sourceFile:u,range:s,options:f,node:d})}replaceNode(u,s,d,f=ez){this.replaceRange(u,zK(u,s,s,f),d,f)}replaceNodeRange(u,s,d,f,p=ez){this.replaceRange(u,zK(u,s,d,p),f,p)}replaceRangeWithNodes(u,s,d,f={}){this.changes.push({kind:2,sourceFile:u,range:s,options:f,nodes:d})}replaceNodeWithNodes(u,s,d,f=ez){this.replaceRangeWithNodes(u,zK(u,s,s,f),d,f)}replaceNodeWithText(u,s,d){this.replaceRangeWithText(u,zK(u,s,s,ez),d)}replaceNodeRangeWithNodes(u,s,d,f,p=ez){this.replaceRangeWithNodes(u,zK(u,s,d,p),f,p)}nodeHasTrailingComment(u,s,d=ez){return!!lLe(u,s,d)}nextCommaToken(u,s){const d=ib(s,s.parent,u);return d&&d.kind===28?d:void 0}replacePropertyAssignment(u,s,d){const f=this.nextCommaToken(u,s)?"":","+this.newLineCharacter;this.replaceNode(u,s,d,{suffix:f})}insertNodeAt(u,s,d,f={}){this.replaceRange(u,s4(s),d,f)}insertNodesAt(u,s,d,f={}){this.replaceRangeWithNodes(u,s4(s),d,f)}insertNodeAtTopOfFile(u,s,d){this.insertAtTopOfFile(u,s,d)}insertNodesAtTopOfFile(u,s,d){this.insertAtTopOfFile(u,s,d)}insertAtTopOfFile(u,s,d){const f=eYt(u),p={prefix:f===0?void 0:this.newLineCharacter,suffix:(Z1(u.text.charCodeAt(f))?"":this.newLineCharacter)+(d?this.newLineCharacter:"")};Ha(s)?this.insertNodesAt(u,f,s,p):this.insertNodeAt(u,f,s,p)}insertNodesAtEndOfFile(u,s,d){this.insertAtEndOfFile(u,s,d)}insertAtEndOfFile(u,s,d){const f=u.end+1,p={prefix:this.newLineCharacter,suffix:this.newLineCharacter+(d?this.newLineCharacter:"")};this.insertNodesAt(u,f,s,p)}insertStatementsInNewFile(u,s,d){this.newFileChanges||(this.newFileChanges=wm()),this.newFileChanges.add(u,{oldFile:d,statements:s})}insertFirstParameter(u,s,d){const f=Ki(s);f?this.insertNodeBefore(u,f,d):this.insertNodeAt(u,s.pos,d)}insertNodeBefore(u,s,d,f=!1,p={}){this.insertNodeAt(u,Hk(u,s,p),d,this.getOptionsForInsertNodeBefore(s,d,f))}insertNodesBefore(u,s,d,f=!1,p={}){this.insertNodesAt(u,Hk(u,s,p),d,this.getOptionsForInsertNodeBefore(s,Pn(d),f))}insertModifierAt(u,s,d,f={}){this.insertNodeAt(u,s,q.createToken(d),f)}insertModifierBefore(u,s,d){return this.insertModifierAt(u,d.getStart(u),s,{suffix:" "})}insertCommentBeforeLine(u,s,d,f){const p=Mx(s,u),E=bSe(u.text,p),v=Rlt(u,E),b=LM(u,v?E:d),B=u.text.slice(p,E),k=`${v?"":this.newLineCharacter}//${f}${this.newLineCharacter}${B}`;this.insertText(u,b.getStart(u),k)}insertJsdocCommentBefore(u,s,d){const f=s.getStart(u);if(s.jsDoc)for(const v of s.jsDoc)this.deleteRange(u,{pos:tp(v.getStart(u),u),end:kw(u,v,{})});const p=FX(u.text,f-1),E=u.text.slice(p,f);this.insertNodeAt(u,f,d,{suffix:this.newLineCharacter+E})}createJSDocText(u,s){const d=ju(s.jsDoc,p=>Ja(p.comment)?q.createJSDocText(p.comment):p.comment),f=Aa(s.jsDoc);return f&&q4(f.pos,f.end,u)&&S(d)===0?void 0:q.createNodeArray(_e(d,q.createJSDocText(` -`)))}replaceJSDocComment(u,s,d){this.insertJsdocCommentBefore(u,UZt(s),q.createJSDocComment(this.createJSDocText(u,s),q.createNodeArray(d)))}addJSDocTags(u,s,d){const f=Tr(s.jsDoc,E=>E.tags),p=d.filter(E=>!f.some((v,b)=>{const B=qZt(v,E);return B&&(f[b]=B),!!B}));this.replaceJSDocComment(u,s,[...f,...p])}filterJSDocTags(u,s,d){this.replaceJSDocComment(u,s,ti(Tr(s.jsDoc,f=>f.tags),d))}replaceRangeWithText(u,s,d){this.changes.push({kind:3,sourceFile:u,range:s,text:d})}insertText(u,s,d){this.replaceRangeWithText(u,s4(s),d)}tryInsertTypeAnnotation(u,s,d){let f;if(Co(s)){if(f=a0(s,22,u),!f){if(!q0(s))return!1;f=Pn(s.parameters)}}else f=(s.kind===260?s.exclamationToken:s.questionToken)??s.name;return this.insertNodeAt(u,f.end,d,{prefix:": "}),!0}tryInsertThisTypeAnnotation(u,s,d){const f=a0(s,21,u).getStart(u)+1,p=s.parameters.length?", ":"";this.insertNodeAt(u,f,d,{prefix:"this: ",suffix:p})}insertTypeParameters(u,s,d){const f=(a0(s,21,u)||Pn(s.parameters)).getStart(u);this.insertNodesAt(u,f,d,{prefix:"<",suffix:">",joiner:", "})}getOptionsForInsertNodeBefore(u,s,d){return ia(u)||Zd(u)?{suffix:d?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:na(u)?{suffix:", "}:io(u)?io(s)?{suffix:", "}:{}:us(u)&&Sd(u.parent)||uD(u)?{suffix:", "}:bf(u)?{suffix:","+(d?this.newLineCharacter:" ")}:H.failBadSyntaxKind(u)}insertNodeAtConstructorStart(u,s,d){const f=Ki(s.body.statements);!f||!s.body.multiLine?this.replaceConstructorBody(u,s,[d,...s.body.statements]):this.insertNodeBefore(u,f,d)}insertNodeAtConstructorStartAfterSuperCall(u,s,d){const f=Le(s.body.statements,p=>Od(p)&&ik(p.expression));!f||!s.body.multiLine?this.replaceConstructorBody(u,s,[...s.body.statements,d]):this.insertNodeAfter(u,f,d)}insertNodeAtConstructorEnd(u,s,d){const f=qu(s.body.statements);!f||!s.body.multiLine?this.replaceConstructorBody(u,s,[...s.body.statements,d]):this.insertNodeAfter(u,f,d)}replaceConstructorBody(u,s,d){this.replaceNode(u,s.body,q.createBlock(d,!0))}insertNodeAtEndOfScope(u,s,d){const f=Hk(u,s.getLastToken(),{});this.insertNodeAt(u,f,d,{prefix:Z1(u.text.charCodeAt(s.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})}insertMemberAtStart(u,s,d){this.insertNodeAtStartWorker(u,s,d)}insertNodeAtObjectStart(u,s,d){this.insertNodeAtStartWorker(u,s,d)}insertNodeAtStartWorker(u,s,d){const f=this.guessIndentationFromExistingMembers(u,s)??this.computeIndentationForNewMember(u,s);this.insertNodeAt(u,Ipe(s).pos,d,this.getInsertNodeAtStartInsertOptions(u,s,f))}guessIndentationFromExistingMembers(u,s){let d,f=s;for(const p of Ipe(s)){if(Gq(f,p,u))return;const E=p.getStart(u),v=dd.SmartIndenter.findFirstNonWhitespaceColumn(tp(E,u),E,u,this.formatContext.options);if(d===void 0)d=v;else if(v!==d)return;f=p}return d}computeIndentationForNewMember(u,s){const d=s.getStart(u);return dd.SmartIndenter.findFirstNonWhitespaceColumn(tp(d,u),d,u,this.formatContext.options)+(this.formatContext.options.indentSize??4)}getInsertNodeAtStartInsertOptions(u,s,d){const p=Ipe(s).length===0,E=Ip(this.classesWithNodesInsertedAtStart,$s(s),{node:s,sourceFile:u}),v=ys(s)&&(!W4(u)||!p),b=ys(s)&&W4(u)&&p&&!E;return{indentation:d,prefix:(b?",":"")+this.newLineCharacter,suffix:v?",":xh(s)&&p?";":""}}insertNodeAfterComma(u,s,d){const f=this.insertNodeAfterWorker(u,this.nextCommaToken(u,s)||s,d);this.insertNodeAt(u,f,d,this.getInsertNodeAfterOptions(u,s))}insertNodeAfter(u,s,d){const f=this.insertNodeAfterWorker(u,s,d);this.insertNodeAt(u,f,d,this.getInsertNodeAfterOptions(u,s))}insertNodeAtEndOfList(u,s,d){this.insertNodeAt(u,s.end,d,{prefix:", "})}insertNodesAfter(u,s,d){const f=this.insertNodeAfterWorker(u,s,Pn(d));this.insertNodesAt(u,f,d,this.getInsertNodeAfterOptions(u,s))}insertNodeAfterWorker(u,s,d){return tYt(s,d)&&u.text.charCodeAt(s.end-1)!==59&&this.replaceRange(u,s4(s.end),q.createToken(27)),kw(u,s,{})}getInsertNodeAfterOptions(u,s){const d=this.getInsertNodeAfterOptionsWorker(s);return{...d,prefix:s.end===u.end&&ia(s)?d.prefix?` + `,kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return z}}function sut(t){switch(t.kind){case 173:case 174:case 179:case 176:case 180:case 262:return!0}return!1}function lut(t,u,s){const d=Ca(t,u),f=Tn(d,sut);if(!f||$0(f)&&f.body&&MH(f.body,u))return;const p=s.getTypeChecker(),E=f.symbol;if(!E)return;const v=E.declarations;if(S(v)<=1||!ye(v,M=>zn(M)===t)||!sut(v[0]))return;const b=v[0].kind;if(!ye(v,M=>M.kind===b))return;const B=v;if(Oe(B,M=>!!M.typeParameters||Oe(M.parameters,z=>!!z.modifiers||!at(z.name))))return;const k=qi(B,M=>p.getSignatureFromDeclaration(M));if(S(k)!==S(v))return;const T=p.getReturnTypeOfSignature(k[0]);if(ye(k,M=>p.getReturnTypeOfSignature(M)===T))return B}var pme,B8e,w8e,ijt=o({"src/services/refactors/convertOverloadListToSingleSignature.ts"(){rr(),s_(),pme="Convert overload list to single signature",B8e=to(F.Convert_overload_list_to_single_signature),w8e={name:pme,description:B8e,kind:"refactor.rewrite.function.overloadList"},s3(pme,{kinds:[w8e.kind],getEditsForAction:tjt,getAvailableActions:ejt})}});function njt(t){const{file:u,startPosition:s,triggerReason:d}=t,f=cut(u,s,d==="invoked");return f?sD(f)?t.preferences.provideRefactorNotApplicableReason?[{name:gme,description:T8e,actions:[{...oee,notApplicableReason:f.error},{...dK,notApplicableReason:f.error}]}]:_t:[{name:gme,description:T8e,actions:[f.addBraces?oee:dK]}]:_t}function ujt(t,u){const{file:s,startPosition:d}=t,f=cut(s,d);H.assert(f&&!sD(f),"Expected applicable refactor info");const{expression:p,returnStatement:E,func:v}=f;let b;if(u===oee.name){const k=q.createReturnStatement(p);b=q.createBlock([k],!0),cw(p,k,s,3,!0)}else if(u===dK.name&&E){const k=p||q.createVoidZero();b=AX(k)?q.createParenthesizedExpression(k):k,ZH(E,b,s,3,!1),cw(E,b,s,3,!1),OM(E,b,s,3,!1)}else H.fail("invalid action");return{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,k=>{k.replaceNode(s,v.body,b)})}}function cut(t,u,s=!0,d){const f=Ca(t,u),p=Nm(f);if(!p)return{error:to(F.Could_not_find_a_containing_arrow_function)};if(!q0(p))return{error:to(F.Containing_function_is_not_an_arrow_function)};if(!(!Vm(p,f)||Vm(p.body,f)&&!s)){if(qv(oee.kind,d)&&Wt(p.body))return{func:p,addBraces:!0,expression:p.body};if(qv(dK.kind,d)&&po(p.body)&&p.body.statements.length===1){const E=Pn(p.body.statements);if(Op(E)){const v=E.expression&&ys(dB(E.expression,!1))?q.createParenthesizedExpression(E.expression):E.expression;return{func:p,addBraces:!1,expression:v,returnStatement:E}}}}}var gme,T8e,oee,dK,rjt=o({"src/services/refactors/addOrRemoveBracesToArrowFunction.ts"(){rr(),s_(),gme="Add or remove braces in an arrow function",T8e=to(F.Add_or_remove_braces_in_an_arrow_function),oee={name:"Add braces to arrow function",description:to(F.Add_braces_to_arrow_function),kind:"refactor.rewrite.arrow.braces.add"},dK={name:"Remove braces from arrow function",description:to(F.Remove_braces_from_arrow_function),kind:"refactor.rewrite.arrow.braces.remove"},s3(gme,{kinds:[dK.kind],getEditsForAction:ujt,getAvailableActions:njt})}}),ajt={},ojt=o({"src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts"(){ijt(),rjt()}});function sjt(t){const{file:u,startPosition:s,program:d,kind:f}=t,p=hut(u,s,d);if(!p)return _t;const{selectedVariableDeclaration:E,func:v}=p,b=[],B=[];if(qv(fK.kind,f)){const k=E||q0(v)&&ua(v.parent)?void 0:to(F.Could_not_convert_to_named_function);k?B.push({...fK,notApplicableReason:k}):b.push(fK)}if(qv(hK.kind,f)){const k=!E&&q0(v)?void 0:to(F.Could_not_convert_to_anonymous_function);k?B.push({...hK,notApplicableReason:k}):b.push(hK)}if(qv(mK.kind,f)){const k=A0(v)?void 0:to(F.Could_not_convert_to_arrow_function);k?B.push({...mK,notApplicableReason:k}):b.push(mK)}return[{name:L8e,description:put,actions:b.length===0&&t.preferences.provideRefactorNotApplicableReason?B:b}]}function ljt(t,u){const{file:s,startPosition:d,program:f}=t,p=hut(s,d,f);if(!p)return;const{func:E}=p,v=[];switch(u){case hK.name:v.push(...fjt(t,E));break;case fK.name:const b=hjt(E);if(!b)return;v.push(...mjt(t,E,b));break;case mK.name:if(!A0(E))return;v.push(...pjt(t,E));break;default:return H.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:v}}function dut(t){let u=!1;return t.forEachChild(function s(d){if(rw(d)){u=!0;return}!mr(d)&&!ed(d)&&!A0(d)&&ao(d,s)}),u}function hut(t,u,s){const d=Ca(t,u),f=s.getTypeChecker(),p=djt(t,f,d.parent);if(p&&!dut(p.body)&&!f.containsArgumentsReference(p))return{selectedVariableDeclaration:!0,func:p};const E=Nm(d);if(E&&(A0(E)||q0(E))&&!Vm(E.body,d)&&!dut(E.body)&&!f.containsArgumentsReference(E))return A0(E)&&mut(t,f,E)?void 0:{selectedVariableDeclaration:!1,func:E}}function cjt(t){return ua(t)||Ad(t)&&t.declarations.length===1}function djt(t,u,s){if(!cjt(s))return;const f=(ua(s)?s:Pn(s.declarations)).initializer;if(f&&(q0(f)||A0(f)&&!mut(t,u,f)))return f}function fut(t){if(Wt(t)){const u=q.createReturnStatement(t),s=t.getSourceFile();return Pt(u,t),Kf(u),ZH(t,u,s,void 0,!0),q.createBlock([u],!0)}else return t}function hjt(t){const u=t.parent;if(!ua(u)||!qN(u))return;const s=u.parent,d=s.parent;if(!(!Ad(s)||!Jl(d)||!at(u.name)))return{variableDeclaration:u,variableDeclarationList:s,statement:d,name:u.name}}function fjt(t,u){const{file:s}=t,d=fut(u.body),f=q.createFunctionExpression(u.modifiers,u.asteriskToken,void 0,u.typeParameters,u.parameters,u.type,d);return iu.ChangeTracker.with(t,p=>p.replaceNode(s,u,f))}function mjt(t,u,s){const{file:d}=t,f=fut(u.body),{variableDeclaration:p,variableDeclarationList:E,statement:v,name:b}=s;Efe(v);const B=m2(p)&32|Eh(u),k=q.createModifiersFromModifierFlags(B),T=q.createFunctionDeclaration(S(k)?k:void 0,u.asteriskToken,b,u.typeParameters,u.parameters,u.type,f);return E.declarations.length===1?iu.ChangeTracker.with(t,M=>M.replaceNode(d,v,T)):iu.ChangeTracker.with(t,M=>{M.delete(d,p),M.insertNodeAfter(d,v,T)})}function pjt(t,u){const{file:s}=t,f=u.body.statements[0];let p;gjt(u.body,f)?(p=f.expression,Kf(p),Rk(f,p)):p=u.body;const E=q.createArrowFunction(u.modifiers,u.typeParameters,u.parameters,u.type,q.createToken(39),p);return iu.ChangeTracker.with(t,v=>v.replaceNode(s,u,E))}function gjt(t,u){return t.statements.length===1&&Op(u)&&!!u.expression}function mut(t,u,s){return!!s.name&&Z0.Core.isSymbolReferencedInFile(s.name,u,t)}var L8e,put,hK,fK,mK,Ejt=o({"src/services/refactors/convertArrowFunctionOrFunctionExpression.ts"(){rr(),s_(),L8e="Convert arrow function or function expression",put=to(F.Convert_arrow_function_or_function_expression),hK={name:"Convert to anonymous function",description:to(F.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},fK={name:"Convert to named function",description:to(F.Convert_to_named_function),kind:"refactor.rewrite.function.named"},mK={name:"Convert to arrow function",description:to(F.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},s3(L8e,{kinds:[hK.kind,fK.kind,mK.kind],getEditsForAction:ljt,getAvailableActions:sjt})}}),_jt={},Djt=o({"src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts"(){Ejt()}});function xjt(t){const{file:u,startPosition:s}=t;return gh(u)||!_ut(u,s,t.program.getTypeChecker())?_t:[{name:lee,description:z8e,actions:[I8e]}]}function vjt(t,u){H.assert(u===lee,"Unexpected action name");const{file:s,startPosition:d,program:f,cancellationToken:p,host:E}=t,v=_ut(s,d,f.getTypeChecker());if(!v||!p)return;const b=bjt(v,f,p);return b.valid?{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,k=>Cjt(s,f,E,k,v,b))}:{edits:[]}}function Cjt(t,u,s,d,f,p){const E=p.signature,v=Vt(Cut(f,u,s),k=>ll(k));if(E){const k=Vt(Cut(E,u,s),T=>ll(T));B(E,k)}B(f,v);const b=pi(p.functionCalls,(k,T)=>nl(k.pos,T.pos));for(const k of b)if(k.arguments&&k.arguments.length){const T=ll(Njt(f,k.arguments),!0);d.replaceNodeRange(zn(k),Pn(k.arguments),Cr(k.arguments),T,{leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Include})}function B(k,T){d.replaceNodeRangeWithNodes(t,Pn(k.parameters),Cr(k.parameters),T,{joiner:", ",indentation:0,leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Include})}}function bjt(t,u,s){const d=Mjt(t),f=hc(t)?Pjt(t):[],p=ri([...d,...f],Cx),E=u.getTypeChecker(),v=ju(p,T=>Z0.getReferenceEntriesForNode(-1,T,u,u.getSourceFiles(),s)),b=B(v);return ye(b.declarations,T=>kt(p,T))||(b.valid=!1),b;function B(T){const M={accessExpressions:[],typeUsages:[]},z={functionCalls:[],declarations:[],classReferences:M,valid:!0},j=Vt(d,k),J=Vt(f,k),K=hc(t),Y=Vt(d,oe=>N8e(oe,E));for(const oe of T){if(oe.kind===Z0.EntryKind.Span){z.valid=!1;continue}if(kt(Y,k(oe.node))){if(Ajt(oe.node.parent)){z.signature=oe.node.parent;continue}const ge=Eut(oe);if(ge){z.functionCalls.push(ge);continue}}const se=N8e(oe.node,E);if(se&&kt(Y,se)){const ge=P8e(oe);if(ge){z.declarations.push(ge);continue}}if(kt(j,k(oe.node))||wM(oe.node)){if(gut(oe))continue;const ae=P8e(oe);if(ae){z.declarations.push(ae);continue}const Ce=Eut(oe);if(Ce){z.functionCalls.push(Ce);continue}}if(K&&kt(J,k(oe.node))){if(gut(oe))continue;const ae=P8e(oe);if(ae){z.declarations.push(ae);continue}const Ce=yjt(oe);if(Ce){M.accessExpressions.push(Ce);continue}if(Wc(t.parent)){const ne=kjt(oe);if(ne){M.typeUsages.push(ne);continue}}}z.valid=!1}return z}function k(T){const M=E.getSymbolAtLocation(T);return M&&vSe(M,E)}}function N8e(t,u){const s=_K(t);if(s){const d=u.getContextualTypeForObjectLiteralElement(s),f=d==null?void 0:d.getSymbol();if(f&&!(Gl(f)&6))return f}}function gut(t){const u=t.node;if(bf(u.parent)||n_(u.parent)||E1(u.parent)||Jx(u.parent)||eh(u.parent)||tc(u.parent))return u}function P8e(t){if(Q1(t.node.parent))return t.node}function Eut(t){if(t.node.parent){const u=t.node,s=u.parent;switch(s.kind){case 213:case 214:const d=ur(s,$E);if(d&&d.expression===u)return d;break;case 211:const f=ur(s,Iu);if(f&&f.parent&&f.name===u){const E=ur(f.parent,$E);if(E&&E.expression===f)return E}break;case 212:const p=ur(s,U0);if(p&&p.parent&&p.argumentExpression===u){const E=ur(p.parent,$E);if(E&&E.expression===p)return E}break}}}function yjt(t){if(t.node.parent){const u=t.node,s=u.parent;switch(s.kind){case 211:const d=ur(s,Iu);if(d&&d.expression===u)return d;break;case 212:const f=ur(s,U0);if(f&&f.expression===u)return f;break}}}function kjt(t){const u=t.node;if(Pk(u)===2||Jj(u.parent))return u}function _ut(t,u,s){const d=LM(t,u),f=Ybe(d);if(!Fjt(d)&&f&&Sjt(f,s)&&Vm(f,d)&&!(f.body&&Vm(f.body,d)))return f}function Fjt(t){const u=Tn(t,z8);if(u){const s=Tn(u,d=>!z8(d));return!!s&&$0(s)}return!1}function Ajt(t){return n3(t)&&(xh(t.parent)||fm(t.parent))}function Sjt(t,u){var s;if(!Bjt(t.parameters,u))return!1;switch(t.kind){case 262:return Dut(t)&&see(t,u);case 174:if(ys(t.parent)){const d=N8e(t.name,u);return((s=d==null?void 0:d.declarations)==null?void 0:s.length)===1&&see(t,u)}return see(t,u);case 176:return Wc(t.parent)?Dut(t.parent)&&see(t,u):xut(t.parent.parent)&&see(t,u);case 218:case 219:return xut(t.parent)}return!1}function see(t,u){return!!t.body&&!u.isImplementationOfOverload(t)}function Dut(t){return t.name?!0:!!ow(t,90)}function Bjt(t,u){return Tjt(t)>=but&&ye(t,s=>wjt(s,u))}function wjt(t,u){if($_(t)){const s=u.getTypeAtLocation(t);if(!u.isArrayType(s)&&!u.isTupleType(s))return!1}return!t.modifiers&&at(t.name)}function xut(t){return ua(t)&&K8(t)&&at(t.name)&&!t.type}function M8e(t){return t.length>0&&rw(t[0].name)}function Tjt(t){return M8e(t)?t.length-1:t.length}function vut(t){return M8e(t)&&(t=q.createNodeArray(t.slice(1),t.hasTrailingComma)),t}function Ljt(t,u){return at(u)&&J4(u)===t?q.createShorthandPropertyAssignment(t):q.createPropertyAssignment(t,u)}function Njt(t,u){const s=vut(t.parameters),d=$_(Cr(s)),f=d?u.slice(0,s.length-1):u,p=Vt(f,(v,b)=>{const B=Eme(s[b]),k=Ljt(B,v);return Kf(k.name),Jc(k)&&Kf(k.initializer),Rk(v,k),k});if(d&&u.length>=s.length){const v=u.slice(s.length-1),b=q.createPropertyAssignment(Eme(Cr(s)),q.createArrayLiteralExpression(v));p.push(b)}return q.createObjectLiteralExpression(p,!1)}function Cut(t,u,s){const d=u.getTypeChecker(),f=vut(t.parameters),p=Vt(f,k),E=q.createObjectBindingPattern(p),v=T(f);let b;ye(f,j)&&(b=q.createObjectLiteralExpression());const B=q.createParameterDeclaration(void 0,void 0,E,void 0,v,b);if(M8e(t.parameters)){const J=t.parameters[0],K=q.createParameterDeclaration(void 0,void 0,J.name,void 0,J.type);return Kf(K.name),Rk(J.name,K.name),J.type&&(Kf(K.type),Rk(J.type,K.type)),q.createNodeArray([K,B])}return q.createNodeArray([B]);function k(J){const K=q.createBindingElement(void 0,void 0,Eme(J),$_(J)&&j(J)?q.createArrayLiteralExpression():J.initializer);return Kf(K),J.initializer&&K.initializer&&Rk(J.initializer,K.initializer),K}function T(J){const K=Vt(J,M);return i_(q.createTypeLiteralNode(K),1)}function M(J){let K=J.type;!K&&(J.initializer||$_(J))&&(K=z(J));const Y=q.createPropertySignature(void 0,Eme(J),j(J)?q.createToken(58):J.questionToken,K);return Kf(Y),Rk(J.name,Y.name),J.type&&Y.type&&Rk(J.type,Y.type),Y}function z(J){const K=d.getTypeAtLocation(J);return VM(K,J,u,s)}function j(J){if($_(J)){const K=d.getTypeAtLocation(J);return!d.isTupleType(K)}return d.isOptionalParameter(J)}}function Eme(t){return J4(t.name)}function Pjt(t){switch(t.parent.kind){case 263:const u=t.parent;return u.name?[u.name]:[H.checkDefined(ow(u,90),"Nameless class declaration should be a default export")];case 231:const d=t.parent,f=t.parent.parent,p=d.name;return p?[p,f.name]:[f.name]}}function Mjt(t){switch(t.kind){case 262:return t.name?[t.name]:[H.checkDefined(ow(t,90),"Nameless function declaration should be a default export")];case 174:return[t.name];case 176:const s=H.checkDefined(a0(t,137,t.getSourceFile()),"Constructor declaration should have constructor keyword");return t.parent.kind===231?[t.parent.parent.name,s]:[s];case 219:return[t.parent.name];case 218:return t.name?[t.name,t.parent.name]:[t.parent.name];default:return H.assertNever(t,`Unexpected function declaration kind ${t.kind}`)}}var lee,but,z8e,I8e,zjt=o({"src/services/refactors/convertParamsToDestructuredObject.ts"(){rr(),s_(),lee="Convert parameters to destructured object",but=1,z8e=to(F.Convert_parameters_to_destructured_object),I8e={name:lee,description:z8e,kind:"refactor.rewrite.parameters.toDestructured"},s3(lee,{kinds:[I8e.kind],getEditsForAction:vjt,getAvailableActions:xjt})}}),Ijt={},Rjt=o({"src/services/_namespaces/ts.refactor.convertParamsToDestructuredObject.ts"(){zjt()}});function Ojt(t){const{file:u,startPosition:s}=t,d=yut(u,s),f=R8e(d),p=us(f),E={name:_me,description:Dme,actions:[]};return p&&t.triggerReason!=="invoked"?_t:Z_(f)&&(p||Xn(f)&&O8e(f).isValidConcatenation)?(E.actions.push(xme),[E]):t.preferences.provideRefactorNotApplicableReason?(E.actions.push({...xme,notApplicableReason:to(F.Can_only_convert_string_concatenations_and_string_literals)}),[E]):_t}function yut(t,u){const s=Ca(t,u),d=R8e(s);return!O8e(d).isValidConcatenation&&Cf(d.parent)&&Xn(d.parent.parent)?d.parent.parent:s}function jjt(t,u){const{file:s,startPosition:d}=t,f=yut(s,d);switch(u){case Dme:return{edits:Vjt(t,f)};default:return H.fail("invalid action")}}function Vjt(t,u){const s=R8e(u),d=t.file,f=Wjt(O8e(s),d),p=gv(d.text,s.end);if(p){const E=p[p.length-1],v={pos:p[0].pos,end:E.end};return iu.ChangeTracker.with(t,b=>{b.deleteRange(d,v),b.replaceNode(d,s,f)})}else return iu.ChangeTracker.with(t,E=>E.replaceNode(d,s,f))}function Hjt(t){return!(t.operatorToken.kind===64||t.operatorToken.kind===65)}function R8e(t){return Tn(t.parent,s=>{switch(s.kind){case 211:case 212:return!1;case 228:case 226:return!(Xn(s.parent)&&Hjt(s.parent));default:return"quit"}})||t}function O8e(t){const u=E=>{if(!Xn(E))return{nodes:[E],operators:[],validOperators:!0,hasString:us(E)||T7(E)};const{nodes:v,operators:b,hasString:B,validOperators:k}=u(E.left);if(!(B||us(E.right)||lY(E.right)))return{nodes:[E],operators:[],hasString:!1,validOperators:!0};const T=E.operatorToken.kind===40,M=k&&T;return v.push(E.right),b.push(E.operatorToken),{nodes:v,operators:b,hasString:!0,validOperators:M}},{nodes:s,operators:d,validOperators:f,hasString:p}=u(t);return{nodes:s,operators:d,isValidConcatenation:f&&p}}function Kjt(t){return t.replace(/\\.|[$`]/g,u=>u[0]==="\\"?u:"\\"+u)}function kut(t){const u=vB(t)||qke(t)?-2:-1;return Hc(t).slice(1,u)}function Fut(t,u){const s=[];let d="",f="";for(;t{Aut(se);const ae=ge===M.templateSpans.length-1,Ce=se.literal.text+(ae?j:""),ne=kut(se.literal)+(ae?J:"");return q.createTemplateSpan(se.expression,Y&&ae?q.createTemplateTail(Ce,ne):q.createTemplateMiddle(Ce,ne))});B.push(...oe)}else{const oe=Y?q.createTemplateTail(j,J):q.createTemplateMiddle(j,J);f(K,oe),B.push(q.createTemplateSpan(M,oe))}}return q.createTemplateExpression(k,B)}function Aut(t){const u=t.getSourceFile();OM(t,t.expression,u,3,!1),ZH(t.expression,t.expression,u,3,!1)}function Gjt(t){return Cf(t)&&(Aut(t),t=t.expression),t}var _me,Dme,xme,Sut,But,Jjt=o({"src/services/refactors/convertStringOrTemplateLiteral.ts"(){rr(),s_(),_me="Convert to template string",Dme=to(F.Convert_to_template_string),xme={name:_me,description:Dme,kind:"refactor.rewrite.string"},s3(_me,{kinds:[xme.kind],getEditsForAction:jjt,getAvailableActions:Ojt}),Sut=(t,u)=>(s,d)=>{s(d,f)=>{for(;d.length>0;){const p=d.shift();OM(t[p],f,u,3,!1),s(p,f)}}}}),$jt={},Ujt=o({"src/services/_namespaces/ts.refactor.convertStringOrTemplateLiteral.ts"(){Jjt()}});function qjt(t){const u=wut(t,t.triggerReason==="invoked");return u?sD(u)?t.preferences.provideRefactorNotApplicableReason?[{name:cee,description:bme,actions:[{...yme,notApplicableReason:u.error}]}]:_t:[{name:cee,description:bme,actions:[yme]}]:_t}function Zjt(t,u){const s=wut(t);return H.assert(s&&!sD(s),"Expected applicable refactor info"),{edits:iu.ChangeTracker.with(t,f=>uVt(t.file,t.program.getTypeChecker(),f,s)),renameFilename:void 0,renameLocation:void 0}}function vme(t){return Xn(t)||SB(t)}function Yjt(t){return Od(t)||Op(t)||Jl(t)}function Cme(t){return vme(t)||Yjt(t)}function wut(t,u=!0){const{file:s,program:d}=t,f=u9(t),p=f.length===0;if(p&&!u)return;const E=Ca(s,f.start),v=cX(s,f.start+f.length),b=Vc(E.pos,v&&v.end>=E.pos?v.getEnd():E.getEnd()),B=p?iVt(E):tVt(E,b),k=B&&Cme(B)?nVt(B):void 0;if(!k)return{error:to(F.Could_not_find_convertible_access_expression)};const T=d.getTypeChecker();return SB(k)?Qjt(k,T):Xjt(k)}function Qjt(t,u){const s=t.condition,d=V8e(t.whenTrue);if(!d||u.isNullableType(u.getTypeAtLocation(d)))return{error:to(F.Could_not_find_convertible_access_expression)};if((Iu(s)||at(s))&&j8e(s,d.expression))return{finalExpression:d,occurrences:[s],expression:t};if(Xn(s)){const f=Tut(d.expression,s);return f?{finalExpression:d,occurrences:f,expression:t}:{error:to(F.Could_not_find_matching_access_expressions)}}}function Xjt(t){if(t.operatorToken.kind!==56)return{error:to(F.Can_only_convert_logical_AND_access_chains)};const u=V8e(t.right);if(!u)return{error:to(F.Could_not_find_convertible_access_expression)};const s=Tut(u.expression,t.left);return s?{finalExpression:u,occurrences:s,expression:t}:{error:to(F.Could_not_find_matching_access_expressions)}}function Tut(t,u){const s=[];for(;Xn(u)&&u.operatorToken.kind===56;){const f=j8e(l0(t),l0(u.right));if(!f)break;s.push(f),t=f,u=u.left}const d=j8e(t,u);return d&&s.push(d),s.length>0?s:void 0}function j8e(t,u){if(!(!at(u)&&!Iu(u)&&!U0(u)))return eVt(t,u)?u:void 0}function eVt(t,u){for(;(Mo(t)||Iu(t)||U0(t))&&pK(t)!==pK(u);)t=t.expression;for(;Iu(t)&&Iu(u)||U0(t)&&U0(u);){if(pK(t)!==pK(u))return!1;t=t.expression,u=u.expression}return at(t)&&at(u)&&t.getText()===u.getText()}function pK(t){if(at(t)||Pm(t))return t.getText();if(Iu(t))return pK(t.name);if(U0(t))return pK(t.argumentExpression)}function tVt(t,u){for(;t.parent;){if(Cme(t)&&u.length!==0&&t.end>=u.start+u.length)return t;t=t.parent}}function iVt(t){for(;t.parent;){if(Cme(t)&&!Cme(t.parent))return t;t=t.parent}}function nVt(t){if(vme(t))return t;if(Jl(t)){const u=eB(t),s=u==null?void 0:u.initializer;return s&&vme(s)?s:void 0}return t.expression&&vme(t.expression)?t.expression:void 0}function V8e(t){if(t=l0(t),Xn(t))return V8e(t.left);if((Iu(t)||U0(t)||Mo(t))&&!Y1(t))return t}function Lut(t,u,s){if(Iu(u)||U0(u)||Mo(u)){const d=Lut(t,u.expression,s),f=s.length>0?s[s.length-1]:void 0,p=(f==null?void 0:f.getText())===u.expression.getText();if(p&&s.pop(),Mo(u))return p?q.createCallChain(d,q.createToken(29),u.typeArguments,u.arguments):q.createCallChain(d,u.questionDotToken,u.typeArguments,u.arguments);if(Iu(u))return p?q.createPropertyAccessChain(d,q.createToken(29),u.name):q.createPropertyAccessChain(d,u.questionDotToken,u.name);if(U0(u))return p?q.createElementAccessChain(d,q.createToken(29),u.argumentExpression):q.createElementAccessChain(d,u.questionDotToken,u.argumentExpression)}return u}function uVt(t,u,s,d,f){const{finalExpression:p,occurrences:E,expression:v}=d,b=E[E.length-1],B=Lut(u,p,E);B&&(Iu(B)||U0(B)||Mo(B))&&(Xn(v)?s.replaceNodeRange(t,b,p,B):SB(v)&&s.replaceNode(t,v,q.createBinaryExpression(B,q.createToken(61),v.whenFalse)))}var cee,bme,yme,rVt=o({"src/services/refactors/convertToOptionalChainExpression.ts"(){rr(),s_(),cee="Convert to optional chain expression",bme=to(F.Convert_to_optional_chain_expression),yme={name:cee,description:bme,kind:"refactor.rewrite.expression.optionalChain"},s3(cee,{kinds:[yme.kind],getEditsForAction:Zjt,getAvailableActions:qjt})}}),aVt={},oVt=o({"src/services/_namespaces/ts.refactor.convertToOptionalChainExpression.ts"(){rVt()}});function Nut(t){const u=t.kind,s=H8e(t.file,u9(t),t.triggerReason==="invoked"),d=s.targetRange;if(d===void 0){if(!s.errors||s.errors.length===0||!t.preferences.provideRefactorNotApplicableReason)return _t;const j=[];return qv(pw.kind,u)&&j.push({name:fw,description:pw.description,actions:[{...pw,notApplicableReason:z(s.errors)}]}),qv(mw.kind,u)&&j.push({name:fw,description:mw.description,actions:[{...mw,notApplicableReason:z(s.errors)}]}),j}const f=fVt(d,t);if(f===void 0)return _t;const p=[],E=new Map;let v;const b=[],B=new Map;let k,T=0;for(const{functionExtraction:j,constantExtraction:J}of f){if(qv(pw.kind,u)){const K=j.description;j.errors.length===0?E.has(K)||(E.set(K,!0),p.push({description:K,name:`function_scope_${T}`,kind:pw.kind})):v||(v={description:K,name:`function_scope_${T}`,notApplicableReason:z(j.errors),kind:pw.kind})}if(qv(mw.kind,u)){const K=J.description;J.errors.length===0?B.has(K)||(B.set(K,!0),b.push({description:K,name:`constant_scope_${T}`,kind:mw.kind})):k||(k={description:K,name:`constant_scope_${T}`,notApplicableReason:z(J.errors),kind:mw.kind})}T++}const M=[];return p.length?M.push({name:fw,description:to(F.Extract_function),actions:p}):t.preferences.provideRefactorNotApplicableReason&&v&&M.push({name:fw,description:to(F.Extract_function),actions:[v]}),b.length?M.push({name:fw,description:to(F.Extract_constant),actions:b}):t.preferences.provideRefactorNotApplicableReason&&k&&M.push({name:fw,description:to(F.Extract_constant),actions:[k]}),M.length?M:_t;function z(j){let J=j[0].messageText;return typeof J!="string"&&(J=J.messageText),J}}function Put(t,u){const d=H8e(t.file,u9(t)).targetRange,f=/^function_scope_(\d+)$/.exec(u);if(f){const E=+f[1];return H.assert(isFinite(E),"Expected to parse a finite number from the function scope index"),dVt(d,t,E)}const p=/^constant_scope_(\d+)$/.exec(u);if(p){const E=+p[1];return H.assert(isFinite(E),"Expected to parse a finite number from the constant scope index"),hVt(d,t,E)}H.fail("Unrecognized action name")}function H8e(t,u,s=!0){const{length:d}=u;if(d===0&&!s)return{errors:[Rd(t,u.start,d,_1.cannotExtractEmpty)]};const f=d===0&&s,p=Y9e(t,u.start),E=cX(t,Ec(u)),v=p&&E&&s?sVt(p,E,t):u,b=f?NVt(p):JH(p,t,v),B=f?b:JH(E,t,v);let k=0,T;if(!b||!B)return{errors:[Rd(t,u.start,d,_1.cannotExtractRange)]};if(b.flags&16777216)return{errors:[Rd(t,u.start,d,_1.cannotExtractJSDoc)]};if(b.parent!==B.parent)return{errors:[Rd(t,u.start,d,_1.cannotExtractRange)]};if(b!==B){if(!zut(b.parent))return{errors:[Rd(t,u.start,d,_1.cannotExtractRange)]};const oe=[];for(const se of b.parent.statements){if(se===b||oe.length){const ge=Y(se);if(ge)return{errors:ge};oe.push(se)}if(se===B)break}return oe.length?{targetRange:{range:oe,facts:k,thisNode:T}}:{errors:[Rd(t,u.start,d,_1.cannotExtractRange)]}}if(Op(b)&&!b.expression)return{errors:[Rd(t,u.start,d,_1.cannotExtractRange)]};const M=j(b),z=J(M)||Y(M);if(z)return{errors:z};return{targetRange:{range:lVt(M),facts:k,thisNode:T}};function j(oe){if(Op(oe)){if(oe.expression)return oe.expression}else if(Jl(oe)||Ad(oe)){const se=Jl(oe)?oe.declarationList.declarations:oe.declarations;let ge=0,ae;for(const Ce of se)Ce.initializer&&(ge++,ae=Ce.initializer);if(ge===1)return ae}else if(ua(oe)&&oe.initializer)return oe.initializer;return oe}function J(oe){if(at(Od(oe)?oe.expression:oe))return[Su(oe,_1.cannotExtractIdentifier)]}function K(oe,se){let ge=oe;for(;ge!==se;){if(ge.kind===172){No(ge)&&(k|=32);break}else if(ge.kind===169){Nm(ge).kind===176&&(k|=32);break}else ge.kind===174&&No(ge)&&(k|=32);ge=ge.parent}}function Y(oe){let se;if((Se=>{Se[Se.None=0]="None",Se[Se.Break=1]="Break",Se[Se.Continue=2]="Continue",Se[Se.Return=4]="Return"})(se||(se={})),H.assert(oe.pos<=oe.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),H.assert(!pg(oe.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!na(oe)&&!(Z_(oe)&&Mut(oe))&&!$8e(oe))return[Su(oe,_1.statementOrExpressionExpected)];if(oe.flags&33554432)return[Su(oe,_1.cannotExtractAmbientBlock)];const ge=Yd(oe);ge&&K(oe,ge);let ae,Ce=4,ne;if(ve(oe),k&8){const Se=tf(oe,!1,!1);(Se.kind===262||Se.kind===174&&Se.parent.kind===210||Se.kind===218)&&(k|=16)}return ae;function ve(Se){if(ae)return!0;if(Q1(Se)){const pe=Se.kind===260?Se.parent.parent:Se;if(Yu(pe,32))return(ae||(ae=[])).push(Su(Se,_1.cannotExtractExportedEntity)),!0}switch(Se.kind){case 272:return(ae||(ae=[])).push(Su(Se,_1.cannotExtractImport)),!0;case 277:return(ae||(ae=[])).push(Su(Se,_1.cannotExtractExportedEntity)),!0;case 108:if(Se.parent.kind===213){const pe=Yd(Se);if(pe===void 0||pe.pos=u.start+u.length)return(ae||(ae=[])).push(Su(Se,_1.cannotExtractSuper)),!0}else k|=8,T=Se;break;case 219:ao(Se,function pe(fe){if(rw(fe))k|=8,T=Se;else{if(mr(fe)||Co(fe)&&!q0(fe))return!1;ao(fe,pe)}});case 263:case 262:la(Se.parent)&&Se.parent.externalModuleIndicator===void 0&&(ae||(ae=[])).push(Su(Se,_1.functionWillNotBeVisibleInTheNewScope));case 231:case 218:case 174:case 176:case 177:case 178:return!1}const Ne=Ce;switch(Se.kind){case 245:Ce&=-5;break;case 258:Ce=0;break;case 241:Se.parent&&Se.parent.kind===258&&Se.parent.finallyBlock===Se&&(Ce=4);break;case 297:case 296:Ce|=1;break;default:Tx(Se,!1)&&(Ce|=3);break}switch(Se.kind){case 197:case 110:k|=8,T=Se;break;case 256:{const pe=Se.label;(ne||(ne=[])).push(pe.escapedText),ao(Se,ve),ne.pop();break}case 252:case 251:{const pe=Se.label;pe?kt(ne,pe.escapedText)||(ae||(ae=[])).push(Su(Se,_1.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):Ce&(Se.kind===252?1:2)||(ae||(ae=[])).push(Su(Se,_1.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 223:k|=4;break;case 229:k|=2;break;case 253:Ce&4?k|=1:(ae||(ae=[])).push(Su(Se,_1.cannotExtractRangeContainingConditionalReturnStatement));break;default:ao(Se,ve);break}Ce=Ne}}}function sVt(t,u,s){const d=t.getStart(s);let f=u.getEnd();return s.text.charCodeAt(f)===59&&f++,{start:d,length:f-d}}function lVt(t){if(na(t))return[t];if(Z_(t))return Od(t.parent)?[t.parent]:t;if($8e(t))return t}function K8e(t){return q0(t)?t0e(t.body):$0(t)||la(t)||rE(t)||mr(t)}function cVt(t){let u=D5(t.range)?Pn(t.range):t.range;if(t.facts&8&&!(t.facts&16)){const d=Yd(u);if(d){const f=Tn(u,$0);return f?[f,d]:[d]}}const s=[];for(;;)if(u=u.parent,u.kind===169&&(u=Tn(u,d=>$0(d)).parent),K8e(u)&&(s.push(u),u.kind===312))return s}function dVt(t,u,s){const{scopes:d,readsAndWrites:{target:f,usagesPerScope:p,functionErrorsPerScope:E,exposedVariableDeclarations:v}}=W8e(t,u);return H.assert(!E[s].length,"The extraction went missing? How?"),u.cancellationToken.throwIfCancellationRequested(),DVt(f,d[s],p[s],v,t,u)}function hVt(t,u,s){const{scopes:d,readsAndWrites:{target:f,usagesPerScope:p,constantErrorsPerScope:E,exposedVariableDeclarations:v}}=W8e(t,u);H.assert(!E[s].length,"The extraction went missing? How?"),H.assert(v.length===0,"Extract constant accepted a range containing a variable declaration?"),u.cancellationToken.throwIfCancellationRequested();const b=Wt(f)?f:f.statements[0].expression;return xVt(b,d[s],p[s],t.facts,u)}function fVt(t,u){const{scopes:s,readsAndWrites:{functionErrorsPerScope:d,constantErrorsPerScope:f}}=W8e(t,u);return s.map((E,v)=>{const b=mVt(E),B=pVt(E),k=$0(E)?gVt(E):mr(E)?EVt(E):_Vt(E);let T,M;return k===1?(T=e3(to(F.Extract_to_0_in_1_scope),[b,"global"]),M=e3(to(F.Extract_to_0_in_1_scope),[B,"global"])):k===0?(T=e3(to(F.Extract_to_0_in_1_scope),[b,"module"]),M=e3(to(F.Extract_to_0_in_1_scope),[B,"module"])):(T=e3(to(F.Extract_to_0_in_1),[b,k]),M=e3(to(F.Extract_to_0_in_1),[B,k])),v===0&&!mr(E)&&(M=e3(to(F.Extract_to_0_in_enclosing_scope),[B])),{functionExtraction:{description:T,errors:d[v]},constantExtraction:{description:M,errors:f[v]}}})}function W8e(t,u){const{file:s}=u,d=cVt(t),f=TVt(t,s),p=LVt(t,d,f,s,u.program.getTypeChecker(),u.cancellationToken);return{scopes:d,readsAndWrites:p}}function mVt(t){return $0(t)?"inner function":mr(t)?"method":"function"}function pVt(t){return mr(t)?"readonly field":"constant"}function gVt(t){switch(t.kind){case 176:return"constructor";case 218:case 262:return t.name?`function '${t.name.text}'`:KX;case 219:return"arrow function";case 174:return`method '${t.name.getText()}'`;case 177:return`'get ${t.name.getText()}'`;case 178:return`'set ${t.name.getText()}'`;default:H.assertNever(t,`Unexpected scope kind ${t.kind}`)}}function EVt(t){return t.kind===263?t.name?`class '${t.name.text}'`:"anonymous class declaration":t.name?`class expression '${t.name.text}'`:"anonymous class expression"}function _Vt(t){return t.kind===268?`namespace '${t.parent.name.getText()}'`:t.externalModuleIndicator?0:1}function DVt(t,u,{usages:s,typeParameterUsages:d,substitutions:f},p,E,v){const b=v.program.getTypeChecker(),B=Os(v.program.getCompilerOptions()),k=z1.createImportAdder(v.file,v.program,v.preferences,v.host),T=u.getSourceFile(),M=Ok(mr(u)?"newMethod":"newFunction",T),z=Qn(u),j=q.createIdentifier(M);let J;const K=[],Y=[];let oe;s.forEach((Ve,We)=>{let Gt;if(!z){let Ie=b.getTypeOfSymbolAtLocation(Ve.symbol,Ve.node);Ie=b.getBaseTypeOfLiteralType(Ie),Gt=z1.typeToAutoImportableTypeNode(b,k,Ie,u,B,1)}const Yt=q.createParameterDeclaration(void 0,void 0,We,void 0,Gt);K.push(Yt),Ve.usage===2&&(oe||(oe=[])).push(Ve),Y.push(q.createIdentifier(We))});const ge=ga(d.values(),Ve=>({type:Ve,declaration:CVt(Ve,v.startPosition)})).sort(bVt),ae=ge.length===0?void 0:qi(ge,({declaration:Ve})=>Ve),Ce=ae!==void 0?ae.map(Ve=>q.createTypeReferenceNode(Ve.name,void 0)):void 0;if(Wt(t)&&!z){const Ve=b.getContextualType(t);J=b.typeToTypeNode(Ve,u,1)}const{body:ne,returnValueProperty:ve}=kVt(t,p,oe,f,!!(E.facts&1));Kf(ne);let Se;const Ne=!!(E.facts&16);if(mr(u)){const Ve=z?[]:[q.createModifier(123)];E.facts&32&&Ve.push(q.createModifier(126)),E.facts&4&&Ve.push(q.createModifier(134)),Se=q.createMethodDeclaration(Ve.length?Ve:void 0,E.facts&2?q.createToken(42):void 0,j,void 0,ae,K,J,ne)}else Ne&&K.unshift(q.createParameterDeclaration(void 0,void 0,"this",void 0,b.typeToTypeNode(b.getTypeAtLocation(E.thisNode),u,1),void 0)),Se=q.createFunctionDeclaration(E.facts&4?[q.createToken(134)]:void 0,E.facts&2?q.createToken(42):void 0,j,ae,K,J,ne);const pe=iu.ChangeTracker.fromContext(v),fe=(D5(E.range)?Cr(E.range):E.range).end,xe=SVt(fe,u);xe?pe.insertNodeBefore(v.file,xe,Se,!0):pe.insertNodeAtEndOfScope(v.file,u,Se),k.writeFixes(pe);const Be=[],Ge=yVt(u,E,M);Ne&&Y.unshift(q.createIdentifier("this"));let Ae=q.createCallExpression(Ne?q.createPropertyAccessExpression(Ge,"call"):Ge,Ce,Y);if(E.facts&2&&(Ae=q.createYieldExpression(q.createToken(42),Ae)),E.facts&4&&(Ae=q.createAwaitExpression(Ae)),J8e(t)&&(Ae=q.createJsxExpression(void 0,Ae)),p.length&&!oe)if(H.assert(!ve,"Expected no returnValueProperty"),H.assert(!(E.facts&1),"Expected RangeFacts.HasReturn flag to be unset"),p.length===1){const Ve=p[0];Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ll(Ve.name),void 0,ll(Ve.type),Ae)],Ve.parent.flags)))}else{const Ve=[],We=[];let Gt=p[0].parent.flags,Yt=!1;for(const st of p){Ve.push(q.createBindingElement(void 0,void 0,ll(st.name)));const St=b.typeToTypeNode(b.getBaseTypeOfLiteralType(b.getTypeAtLocation(st)),u,1);We.push(q.createPropertySignature(void 0,st.symbol.name,void 0,St)),Yt=Yt||st.type!==void 0,Gt=Gt&st.parent.flags}const Ie=Yt?q.createTypeLiteralNode(We):void 0;Ie&&Zn(Ie,1),Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(q.createObjectBindingPattern(Ve),void 0,Ie,Ae)],Gt)))}else if(p.length||oe){if(p.length)for(const We of p){let Gt=We.parent.flags;Gt&2&&(Gt=Gt&-3|1),Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(We.symbol.name,void 0,Ye(We.type))],Gt)))}ve&&Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ve,void 0,Ye(J))],1)));const Ve=G8e(p,oe);ve&&Ve.unshift(q.createShorthandPropertyAssignment(ve)),Ve.length===1?(H.assert(!ve,"Shouldn't have returnValueProperty here"),Be.push(q.createExpressionStatement(q.createAssignment(Ve[0].name,Ae))),E.facts&1&&Be.push(q.createReturnStatement())):(Be.push(q.createExpressionStatement(q.createAssignment(q.createObjectLiteralExpression(Ve),Ae))),ve&&Be.push(q.createReturnStatement(q.createIdentifier(ve))))}else E.facts&1?Be.push(q.createReturnStatement(Ae)):D5(E.range)?Be.push(q.createExpressionStatement(Ae)):Be.push(Ae);D5(E.range)?pe.replaceNodeRangeWithNodes(v.file,Pn(E.range),Cr(E.range),Be):pe.replaceNodeWithNodes(v.file,E.range,Be);const De=pe.getChanges(),Je=(D5(E.range)?Pn(E.range):E.range).getSourceFile().fileName,ft=qH(De,Je,M,!1);return{renameFilename:Je,renameLocation:ft,edits:De};function Ye(Ve){if(Ve===void 0)return;const We=ll(Ve);let Gt=We;for(;M7(Gt);)Gt=Gt.type;return Pv(Gt)&&Le(Gt.types,Yt=>Yt.kind===157)?We:q.createUnionTypeNode([We,q.createKeywordTypeNode(157)])}}function xVt(t,u,{substitutions:s},d,f){const p=f.program.getTypeChecker(),E=u.getSourceFile(),v=Iu(t)&&!mr(u)&&!p.resolveName(t.name.text,t,111551,!1)&&!ea(t.name)&&!Dv(t.name)?t.name.text:Ok(mr(u)?"newProperty":"newLocal",E),b=Qn(u);let B=b||!p.isContextSensitive(t)?void 0:p.typeToTypeNode(p.getContextualType(t),u,1),k=FVt(l0(t),s);({variableType:B,initializer:k}=J(B,k)),Kf(k);const T=iu.ChangeTracker.fromContext(f);if(mr(u)){H.assert(!b,"Cannot extract to a JS class");const K=[];K.push(q.createModifier(123)),d&32&&K.push(q.createModifier(126)),K.push(q.createModifier(148));const Y=q.createPropertyDeclaration(K,v,void 0,B,k);let oe=q.createPropertyAccessExpression(d&32?q.createIdentifier(u.name.getText()):q.createThis(),q.createIdentifier(v));J8e(t)&&(oe=q.createJsxExpression(void 0,oe));const se=t.pos,ge=BVt(se,u);T.insertNodeBefore(f.file,ge,Y,!0),T.replaceNode(f.file,t,oe)}else{const K=q.createVariableDeclaration(v,void 0,B,k),Y=vVt(t,u);if(Y){T.insertNodeBefore(f.file,Y,K);const oe=q.createIdentifier(v);T.replaceNode(f.file,t,oe)}else if(t.parent.kind===244&&u===Tn(t,K8e)){const oe=q.createVariableStatement(void 0,q.createVariableDeclarationList([K],2));T.replaceNode(f.file,t.parent,oe)}else{const oe=q.createVariableStatement(void 0,q.createVariableDeclarationList([K],2)),se=wVt(t,u);if(se.pos===0?T.insertNodeAtTopOfFile(f.file,oe,!1):T.insertNodeBefore(f.file,se,oe,!1),t.parent.kind===244)T.delete(f.file,t.parent);else{let ge=q.createIdentifier(v);J8e(t)&&(ge=q.createJsxExpression(void 0,ge)),T.replaceNode(f.file,t,ge)}}}const M=T.getChanges(),z=t.getSourceFile().fileName,j=qH(M,z,v,!0);return{renameFilename:z,renameLocation:j,edits:M};function J(K,Y){if(K===void 0)return{variableType:K,initializer:Y};if(!A0(Y)&&!q0(Y)||Y.typeParameters)return{variableType:K,initializer:Y};const oe=p.getTypeAtLocation(t),se=Aa(p.getSignaturesOfType(oe,0));if(!se)return{variableType:K,initializer:Y};if(se.getTypeParameters())return{variableType:K,initializer:Y};const ge=[];let ae=!1;for(const Ce of Y.parameters)if(Ce.type)ge.push(Ce);else{const ne=p.getTypeAtLocation(Ce);ne===p.getAnyType()&&(ae=!0),ge.push(q.updateParameterDeclaration(Ce,Ce.modifiers,Ce.dotDotDotToken,Ce.name,Ce.questionToken,Ce.type||p.typeToTypeNode(ne,u,1),Ce.initializer))}if(ae)return{variableType:K,initializer:Y};if(K=void 0,q0(Y))Y=q.updateArrowFunction(Y,Hp(t)?p2(t):void 0,Y.typeParameters,ge,Y.type||p.typeToTypeNode(se.getReturnType(),u,1),Y.equalsGreaterThanToken,Y.body);else{if(se&&se.thisParameter){const Ce=Ki(ge);if(!Ce||at(Ce.name)&&Ce.name.escapedText!=="this"){const ne=p.getTypeOfSymbolAtLocation(se.thisParameter,t);ge.splice(0,0,q.createParameterDeclaration(void 0,void 0,"this",void 0,p.typeToTypeNode(ne,u,1)))}}Y=q.updateFunctionExpression(Y,Hp(t)?p2(t):void 0,Y.asteriskToken,Y.name,Y.typeParameters,ge,Y.type||p.typeToTypeNode(se.getReturnType(),u,1),Y.body)}return{variableType:K,initializer:Y}}}function vVt(t,u){let s;for(;t!==void 0&&t!==u;){if(ua(t)&&t.initializer===s&&Ad(t.parent)&&t.parent.declarations.length>1)return t;s=t,t=t.parent}}function CVt(t,u){let s;const d=t.symbol;if(d&&d.declarations)for(const f of d.declarations)(s===void 0||f.pos0;if(po(t)&&!p&&d.size===0)return{body:q.createBlock(t.statements,!0),returnValueProperty:void 0};let E,v=!1;const b=q.createNodeArray(po(t)?t.statements.slice(0):[na(t)?t:q.createReturnStatement(l0(t))]);if(p||d.size){const k=kn(b,B,na).slice();if(p&&!f&&na(t)){const T=G8e(u,s);T.length===1?k.push(q.createReturnStatement(T[0].name)):k.push(q.createReturnStatement(q.createObjectLiteralExpression(T)))}return{body:q.createBlock(k,!0),returnValueProperty:E}}else return{body:q.createBlock(b,!0),returnValueProperty:void 0};function B(k){if(!v&&Op(k)&&p){const T=G8e(u,s);return k.expression&&(E||(E="__return"),T.unshift(q.createPropertyAssignment(E,yt(k.expression,B,Wt)))),T.length===1?q.createReturnStatement(T[0].name):q.createReturnStatement(q.createObjectLiteralExpression(T))}else{const T=v;v=v||$0(k)||mr(k);const M=d.get($s(k).toString()),z=M?ll(M):rn(k,B,Dg);return v=T,z}}}function FVt(t,u){return u.size?s(t):t;function s(d){const f=u.get($s(d).toString());return f?ll(f):rn(d,s,Dg)}}function AVt(t){if($0(t)){const u=t.body;if(po(u))return u.statements}else{if(rE(t)||la(t))return t.statements;if(mr(t))return t.members}return _t}function SVt(t,u){return Le(AVt(u),s=>s.pos>=t&&$0(s)&&!hc(s))}function BVt(t,u){const s=u.members;H.assert(s.length>0,"Found no members");let d,f=!0;for(const p of s){if(p.pos>t)return d||s[0];if(f&&!ko(p)){if(d!==void 0)return p;f=!1}d=p}return d===void 0?H.fail():d}function wVt(t,u){H.assert(!mr(u));let s;for(let d=t;d!==u;d=d.parent)K8e(d)&&(s=d);for(let d=(s||t).parent;;d=d.parent){if(zut(d)){let f;for(const p of d.statements){if(p.pos>t.pos)break;f=p}return!f&&BB(d)?(H.assert(BV(d.parent.parent),"Grandparent isn't a switch statement"),d.parent.parent):H.checkDefined(f,"prevStatement failed to get set")}H.assert(d!==u,"Didn't encounter a block-like before encountering scope")}}function G8e(t,u){const s=Vt(t,f=>q.createShorthandPropertyAssignment(f.symbol.name)),d=Vt(u,f=>q.createShorthandPropertyAssignment(f.symbol.name));return s===void 0?d:d===void 0?s:s.concat(d)}function D5(t){return Ha(t)}function TVt(t,u){return D5(t.range)?{pos:Pn(t.range).getStart(u),end:Cr(t.range).getEnd()}:t.range}function LVt(t,u,s,d,f,p){const E=new Map,v=[],b=[],B=[],k=[],T=[],M=new Map,z=[];let j;const J=D5(t.range)?t.range.length===1&&Od(t.range[0])?t.range[0].expression:void 0:t.range;let K;if(J===void 0){const xe=t.range,Be=Pn(xe).getStart(),Ge=Cr(xe).end;K=Rd(d,Be,Ge-Be,_1.expressionExpected)}else f.getTypeAtLocation(J).flags&147456&&(K=Su(J,_1.uselessConstantType));for(const xe of u){v.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),b.push(new Map),B.push([]);const Be=[];K&&Be.push(K),mr(xe)&&Qn(xe)&&Be.push(Su(xe,_1.cannotExtractToJSClass)),q0(xe)&&!po(xe.body)&&Be.push(Su(xe,_1.cannotExtractToExpressionArrowFunction)),k.push(Be)}const Y=new Map,oe=D5(t.range)?q.createBlock(t.range):t.range,se=D5(t.range)?Pn(t.range):t.range,ge=ae(se);if(ne(oe),ge&&!D5(t.range)&&!oE(t.range)){const xe=f.getContextualType(t.range);Ce(xe)}if(E.size>0){const xe=new Map;let Be=0;for(let Ge=se;Ge!==void 0&&Be{v[Be].typeParameterUsages.set(De,Ae)}),Be++),x0e(Ge))for(const Ae of Sx(Ge)){const De=f.getTypeAtLocation(Ae);E.has(De.id.toString())&&xe.set(De.id.toString(),De)}H.assert(Be===u.length,"Should have iterated all scopes")}if(T.length){const xe=D0e(u[0],u[0].parent)?u[0]:YE(u[0]);ao(xe,Ne)}for(let xe=0;xe0&&(Be.usages.size>0||Be.typeParameterUsages.size>0)){const De=D5(t.range)?t.range[0]:t.range;k[xe].push(Su(De,_1.cannotAccessVariablesFromNestedScopes))}t.facts&16&&mr(u[xe])&&B[xe].push(Su(t.thisNode,_1.cannotExtractFunctionsContainingThisToMethod));let Ge=!1,Ae;if(v[xe].usages.forEach(De=>{De.usage===2&&(Ge=!0,De.symbol.flags&106500&&De.symbol.valueDeclaration&&Rf(De.symbol.valueDeclaration,8)&&(Ae=De.symbol.valueDeclaration))}),H.assert(D5(t.range)||z.length===0,"No variable declarations expected if something was extracted"),Ge&&!D5(t.range)){const De=Su(t.range,_1.cannotWriteInExpression);B[xe].push(De),k[xe].push(De)}else if(Ae&&xe>0){const De=Su(Ae,_1.cannotExtractReadonlyPropertyInitializerOutsideConstructor);B[xe].push(De),k[xe].push(De)}else if(j){const De=Su(j,_1.cannotExtractExportedEntity);B[xe].push(De),k[xe].push(De)}}return{target:oe,usagesPerScope:v,functionErrorsPerScope:B,constantErrorsPerScope:k,exposedVariableDeclarations:z};function ae(xe){return!!Tn(xe,Be=>x0e(Be)&&Sx(Be).length!==0)}function Ce(xe){const Be=f.getSymbolWalker(()=>(p.throwIfCancellationRequested(),!0)),{visitedTypes:Ge}=Be.walkType(xe);for(const Ae of Ge)Ae.isTypeParameter()&&E.set(Ae.id.toString(),Ae)}function ne(xe,Be=1){if(ge){const Ge=f.getTypeAtLocation(xe);Ce(Ge)}if(Q1(xe)&&xe.symbol&&T.push(xe),ld(xe))ne(xe.left,2),ne(xe.right);else if(sbe(xe))ne(xe.operand,2);else if(Iu(xe)||U0(xe))ao(xe,ne);else if(at(xe)){if(!xe.parent||vf(xe.parent)&&xe!==xe.parent.left||Iu(xe.parent)&&xe!==xe.parent.expression)return;ve(xe,Be,q_(xe))}else ao(xe,ne)}function ve(xe,Be,Ge){const Ae=Se(xe,Be,Ge);if(Ae)for(let De=0;De=Be)return De;if(Y.set(De,Be),Ke){for(const Ye of v)Ye.usages.get(xe.text)&&Ye.usages.set(xe.text,{usage:Be,symbol:Ae,node:xe});return De}const Je=Ae.getDeclarations(),ft=Je&&Le(Je,Ye=>Ye.getSourceFile()===d);if(ft&&!IH(s,ft.getStart(),ft.end)){if(t.facts&2&&Be===2){const Ye=Su(xe,_1.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);for(const Ve of B)Ve.push(Ye);for(const Ve of k)Ve.push(Ye)}for(let Ye=0;YeAe.symbol===Be);if(Ge)if(ua(Ge)){const Ae=Ge.symbol.id.toString();M.has(Ae)||(z.push(Ge),M.set(Ae,!0))}else j=j||Ge}ao(xe,Ne)}function pe(xe){return xe.parent&&pm(xe.parent)&&xe.parent.name===xe?f.getShorthandAssignmentValueSymbol(xe.parent):f.getSymbolAtLocation(xe)}function fe(xe,Be,Ge){if(!xe)return;const Ae=xe.getDeclarations();if(Ae&&Ae.some(Ke=>Ke.parent===Be))return q.createIdentifier(xe.name);const De=fe(xe.parent,Be,Ge);if(De!==void 0)return Ge?q.createQualifiedName(De,q.createIdentifier(xe.name)):q.createPropertyAccessExpression(De,xe.name)}}function NVt(t){return Tn(t,u=>u.parent&&Mut(u)&&!Xn(u.parent))}function Mut(t){const{parent:u}=t;switch(u.kind){case 306:return!1}switch(t.kind){case 11:return u.kind!==272&&u.kind!==276;case 230:case 206:case 208:return!1;case 80:return u.kind!==208&&u.kind!==276&&u.kind!==281}return!0}function zut(t){switch(t.kind){case 241:case 312:case 268:case 296:return!0;default:return!1}}function J8e(t){return $8e(t)||(r3(t)||bk(t)||K2(t))&&(r3(t.parent)||K2(t.parent))}function $8e(t){return us(t)&&t.parent&&oE(t.parent)}var fw,mw,pw,_1,U8e,PVt=o({"src/services/refactors/extractSymbol.ts"(){rr(),s_(),fw="Extract Symbol",mw={name:"Extract Constant",description:to(F.Extract_constant),kind:"refactor.extract.constant"},pw={name:"Extract Function",description:to(F.Extract_function),kind:"refactor.extract.function"},s3(fw,{kinds:[mw.kind,pw.kind],getEditsForAction:Put,getAvailableActions:Nut}),(t=>{function u(s){return{message:s,code:0,category:3,key:s}}t.cannotExtractRange=u("Cannot extract range."),t.cannotExtractImport=u("Cannot extract import statement."),t.cannotExtractSuper=u("Cannot extract super call."),t.cannotExtractJSDoc=u("Cannot extract JSDoc."),t.cannotExtractEmpty=u("Cannot extract empty range."),t.expressionExpected=u("expression expected."),t.uselessConstantType=u("No reason to extract constant of type."),t.statementOrExpressionExpected=u("Statement or expression expected."),t.cannotExtractRangeContainingConditionalBreakOrContinueStatements=u("Cannot extract range containing conditional break or continue statements."),t.cannotExtractRangeContainingConditionalReturnStatement=u("Cannot extract range containing conditional return statement."),t.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=u("Cannot extract range containing labeled break or continue with target outside of the range."),t.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=u("Cannot extract range containing writes to references located outside of the target range in generators."),t.typeWillNotBeVisibleInTheNewScope=u("Type will not visible in the new scope."),t.functionWillNotBeVisibleInTheNewScope=u("Function will not visible in the new scope."),t.cannotExtractIdentifier=u("Select more than a single identifier."),t.cannotExtractExportedEntity=u("Cannot extract exported declaration"),t.cannotWriteInExpression=u("Cannot write back side-effects when extracting an expression"),t.cannotExtractReadonlyPropertyInitializerOutsideConstructor=u("Cannot move initialization of read-only class property outside of the constructor"),t.cannotExtractAmbientBlock=u("Cannot extract code from ambient contexts"),t.cannotAccessVariablesFromNestedScopes=u("Cannot access variables from nested scopes"),t.cannotExtractToJSClass=u("Cannot extract constant to a class scope in JS"),t.cannotExtractToExpressionArrowFunction=u("Cannot extract constant to an arrow function without a block"),t.cannotExtractFunctionsContainingThisToMethod=u("Cannot extract functions containing this to method")})(_1||(_1={})),U8e=(t=>(t[t.None=0]="None",t[t.HasReturn=1]="HasReturn",t[t.IsGenerator=2]="IsGenerator",t[t.IsAsyncFunction=4]="IsAsyncFunction",t[t.UsesThis=8]="UsesThis",t[t.UsesThisInFunction=16]="UsesThisInFunction",t[t.InStaticRegion=32]="InStaticRegion",t))(U8e||{})}}),Iut={};h(Iut,{Messages:()=>_1,RangeFacts:()=>U8e,getRangeToExtract:()=>H8e,getRefactorActionsToExtractSymbol:()=>Nut,getRefactorEditsToExtractSymbol:()=>Put});var MVt=o({"src/services/_namespaces/ts.refactor.extractSymbol.ts"(){PVt()}}),dee,kme,Fme,zVt=o({"src/services/refactors/generateGetAccessorAndSetAccessor.ts"(){rr(),s_(),dee="Generate 'get' and 'set' accessors",kme=to(F.Generate_get_and_set_accessors),Fme={name:dee,description:kme,kind:"refactor.rewrite.property.generateAccessors"},s3(dee,{kinds:[Fme.kind],getEditsForAction:function(u,s){if(!u.endPosition)return;const d=z1.getAccessorConvertiblePropertyAtPosition(u.file,u.program,u.startPosition,u.endPosition);H.assert(d&&!sD(d),"Expected applicable refactor info");const f=z1.generateAccessorFromProperty(u.file,u.program,u.startPosition,u.endPosition,u,s);if(!f)return;const p=u.file.fileName,E=d.renameAccessor?d.accessorName:d.fieldName,b=(at(E)?0:-1)+qH(f,p,E.text,io(d.declaration));return{renameFilename:p,renameLocation:b,edits:f}},getAvailableActions(t){if(!t.endPosition)return _t;const u=z1.getAccessorConvertiblePropertyAtPosition(t.file,t.program,t.startPosition,t.endPosition,t.triggerReason==="invoked");return u?sD(u)?t.preferences.provideRefactorNotApplicableReason?[{name:dee,description:kme,actions:[{...Fme,notApplicableReason:u.error}]}]:_t:[{name:dee,description:kme,actions:[Fme]}]:_t}})}}),IVt={},RVt=o({"src/services/_namespaces/ts.refactor.generateGetAccessorAndSetAccessor.ts"(){zVt()}});function OVt(t){const u=Rut(t);if(u&&!sD(u))return{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,d=>VVt(t.file,d,u.declaration,u.returnTypeNode))}}function jVt(t){const u=Rut(t);return u?sD(u)?t.preferences.provideRefactorNotApplicableReason?[{name:hee,description:Ame,actions:[{...fee,notApplicableReason:u.error}]}]:_t:[{name:hee,description:Ame,actions:[fee]}]:_t}function VVt(t,u,s,d){const f=a0(s,22,t),p=q0(s)&&f===void 0,E=p?Pn(s.parameters):f;E&&(p&&(u.insertNodeBefore(t,E,q.createToken(21)),u.insertNodeAfter(t,E,q.createToken(22))),u.insertNodeAt(t,E.end,d,{prefix:": "}))}function Rut(t){if(Qn(t.file)||!qv(fee.kind,t.kind))return;const u=af(t.file,t.startPosition),s=Tn(u,E=>po(E)||E.parent&&q0(E.parent)&&(E.kind===39||E.parent.body===E)?"quit":HVt(E));if(!s||!s.body||s.type)return{error:to(F.Return_type_must_be_inferred_from_a_function)};const d=t.program.getTypeChecker(),f=KVt(d,s);if(!f)return{error:to(F.Could_not_determine_function_return_type)};const p=d.typeToTypeNode(f,s,1);if(p)return{declaration:s,returnTypeNode:p}}function HVt(t){switch(t.kind){case 262:case 218:case 219:case 174:return!0;default:return!1}}function KVt(t,u){if(t.isImplementationOfOverload(u)){const d=t.getTypeAtLocation(u).getCallSignatures();if(d.length>1)return t.getUnionType(qi(d,f=>f.getReturnType()))}const s=t.getSignatureFromDeclaration(u);if(s)return t.getReturnTypeOfSignature(s)}var hee,Ame,fee,WVt=o({"src/services/refactors/inferFunctionReturnType.ts"(){rr(),s_(),hee="Infer function return type",Ame=to(F.Infer_function_return_type),fee={name:hee,description:Ame,kind:"refactor.rewrite.function.returnType"},s3(hee,{kinds:[fee.kind],getEditsForAction:OVt,getAvailableActions:jVt})}}),GVt={},JVt=o({"src/services/_namespaces/ts.refactor.inferFunctionReturnType.ts"(){WVt()}}),a9={};h(a9,{addExportToChanges:()=>F8e,addExports:()=>C8e,addNewFileToTsconfig:()=>E8e,addOrRemoveBracesToArrowFunction:()=>ajt,convertArrowFunctionOrFunctionExpression:()=>_jt,convertParamsToDestructuredObject:()=>Ijt,convertStringOrTemplateLiteral:()=>$jt,convertToOptionalChainExpression:()=>aVt,createNewFileName:()=>A8e,createOldFileImportsFromTargetFile:()=>v8e,deleteMovedStatements:()=>iee,deleteUnusedImports:()=>b8e,deleteUnusedOldImports:()=>_8e,doChangeNamedToNamespaceOrDefault:()=>Gnt,extractSymbol:()=>Iut,filterImport:()=>lK,forEachImportInStatement:()=>sK,generateGetAccessorAndSetAccessor:()=>IVt,getApplicableRefactors:()=>rOt,getEditsForRefactor:()=>aOt,getStatementsToMove:()=>cK,getTopLevelDeclarationStatement:()=>hme,getUsageInfo:()=>uee,inferFunctionReturnType:()=>GVt,isRefactorErrorInfo:()=>sD,isTopLevelDeclaration:()=>ree,makeImportOrRequire:()=>nee,moduleSpecifierFromImport:()=>oK,nameOfTopLevelDeclaration:()=>k8e,refactorKindBeginsWith:()=>qv,registerRefactor:()=>s3,updateImportsInOtherFiles:()=>D8e});var s_=o({"src/services/_namespaces/ts.refactor.ts"(){Ont(),fOt(),_Ot(),kOt(),FOt(),SOt(),LOt(),XOt(),ojt(),Djt(),Rjt(),Ujt(),oVt(),MVt(),RVt(),JVt()}});function Out(t,u,s,d){const f=q8e(t,u,s,d);H.assert(f.spans.length%3===0);const p=f.spans,E=[];for(let v=0;v{f.push(E.getStart(u),E.getWidth(u),(v+1<<8)+b)},d),f}function UVt(t,u,s,d,f){const p=t.getTypeChecker();let E=!1;function v(b){switch(b.kind){case 267:case 263:case 264:case 262:case 231:case 218:case 219:f.throwIfCancellationRequested()}if(!b||!wU(s,b.pos,b.getFullWidth())||b.getFullWidth()===0)return;const B=E;if((r3(b)||bk(b))&&(E=!0),YP(b)&&(E=!1),at(b)&&!E&&!QVt(b)&&!LP(b.escapedText)){let k=p.getSymbolAtLocation(b);if(k){k.flags&2097152&&(k=p.getAliasedSymbol(k));let T=qVt(k,Pk(b));if(T!==void 0){let M=0;b.parent&&(js(b.parent)||X8e.get(b.parent.kind)===T)&&b.parent.name===b&&(M=1),T===6&&Vut(b)&&(T=9),T=ZVt(p,b,T);const z=k.valueDeclaration;if(z){const j=m2(z),J=QD(z);j&256&&(M|=2),j&1024&&(M|=4),T!==0&&T!==2&&(j&8||J&2||k.getFlags()&8)&&(M|=8),(T===7||T===10)&&YVt(z,u)&&(M|=32),t.isSourceFileDefaultLibrary(z.getSourceFile())&&(M|=16)}else k.declarations&&k.declarations.some(j=>t.isSourceFileDefaultLibrary(j.getSourceFile()))&&(M|=16);d(b,T,M)}}}ao(b,v),E=B}v(u)}function qVt(t,u){const s=t.getFlags();if(s&32)return 0;if(s&384)return 1;if(s&524288)return 5;if(s&64){if(u&2)return 2}else if(s&262144)return 4;let d=t.valueDeclaration||t.declarations&&t.declarations[0];return d&&js(d)&&(d=jut(d)),d&&X8e.get(d.kind)}function ZVt(t,u,s){if(s===7||s===9||s===6){const d=t.getTypeAtLocation(u);if(d){const f=p=>p(d)||d.isUnion()&&d.types.some(p);if(s!==6&&f(p=>p.getConstructSignatures().length>0))return 0;if(f(p=>p.getCallSignatures().length>0)&&!f(p=>p.getProperties().length>0)||XVt(u))return s===9?11:10}}return s}function YVt(t,u){return js(t)&&(t=jut(t)),ua(t)?(!la(t.parent.parent.parent)||G2(t.parent))&&t.getSourceFile()===u:ed(t)?!la(t.parent)&&t.getSourceFile()===u:!1}function jut(t){for(;;)if(js(t.parent.parent))t=t.parent.parent;else return t.parent.parent}function QVt(t){const u=t.parent;return u&&(n_(u)||bf(u)||Jx(u))}function XVt(t){for(;Vut(t);)t=t.parent;return Mo(t.parent)&&t.parent.expression===t}function Vut(t){return vf(t.parent)&&t.parent.right===t||Iu(t.parent)&&t.parent.name===t}var Z8e,Y8e,Q8e,X8e,Hut=o({"src/services/classifier2020.ts"(){rr(),Z8e=(t=>(t[t.typeOffset=8]="typeOffset",t[t.modifierMask=255]="modifierMask",t))(Z8e||{}),Y8e=(t=>(t[t.class=0]="class",t[t.enum=1]="enum",t[t.interface=2]="interface",t[t.namespace=3]="namespace",t[t.typeParameter=4]="typeParameter",t[t.type=5]="type",t[t.parameter=6]="parameter",t[t.variable=7]="variable",t[t.enumMember=8]="enumMember",t[t.property=9]="property",t[t.function=10]="function",t[t.member=11]="member",t))(Y8e||{}),Q8e=(t=>(t[t.declaration=0]="declaration",t[t.static=1]="static",t[t.async=2]="async",t[t.readonly=3]="readonly",t[t.defaultLibrary=4]="defaultLibrary",t[t.local=5]="local",t))(Q8e||{}),X8e=new Map([[260,7],[169,6],[172,9],[267,3],[266,1],[306,8],[263,0],[174,11],[262,10],[218,10],[173,11],[177,9],[178,9],[171,9],[264,2],[265,5],[168,4],[303,9],[304,9]])}});function Kut(t,u,s,d){const f=GO(t)?new Lme(t,u,s):t===80?new Pme(80,u,s):t===81?new Mme(81,u,s):new nBe(t,u,s);return f.parent=d,f.flags=d.flags&101441536,f}function eHt(t,u){if(!GO(t.kind))return _t;const s=[];if(GU(t))return t.forEachChild(E=>{s.push(E)}),s;nh.setText((u||t.getSourceFile()).text);let d=t.pos;const f=E=>{mee(s,d,E.pos,t),s.push(E),d=E.end},p=E=>{mee(s,d,E.pos,t),s.push(tHt(E,t)),d=E.end};return L(t.jsDoc,f),d=t.pos,t.forEachChild(f,p),mee(s,d,t.end,t),nh.setText(void 0),s}function mee(t,u,s,d){for(nh.resetTokenState(u);uu.tagName.text==="inheritDoc"||u.tagName.text==="inheritdoc")}function Sme(t,u){if(!t)return _t;let s=Yv.getJsDocTagsFromDeclarations(t,u);if(u&&(s.length===0||t.some(Wut))){const d=new Set;for(const f of t){const p=Gut(u,f,E=>{var v;if(!d.has(E))return d.add(E),f.kind===177||f.kind===178?E.getContextualJsDocTags(f,u):((v=E.declarations)==null?void 0:v.length)===1?E.getJsDocTags():void 0});p&&(s=[...p,...s])}}return s}function pee(t,u){if(!t)return _t;let s=Yv.getJsDocCommentsFromDeclarations(t,u);if(u&&(s.length===0||t.some(Wut))){const d=new Set;for(const f of t){const p=Gut(u,f,E=>{if(!d.has(E))return d.add(E),f.kind===177||f.kind===178?E.getContextualDocumentationComment(f,u):E.getDocumentationComment(u)});p&&(s=s.length===0?p.slice():p.concat(lw(),s))}}return s}function Gut(t,u,s){var d;const f=((d=u.parent)==null?void 0:d.kind)===176?u.parent.parent:u.parent;if(!f)return;const p=Kc(u);return G(uP(f),E=>{const v=t.getTypeAtLocation(E),b=p&&v.symbol?t.getTypeOfSymbol(v.symbol):v,B=t.getPropertyOfType(b,u.symbol.name);return B?s(B):void 0})}function iHt(){return{getNodeConstructor:()=>Lme,getTokenConstructor:()=>nBe,getIdentifierConstructor:()=>Pme,getPrivateIdentifierConstructor:()=>Mme,getSourceFileConstructor:()=>Yut,getSymbolConstructor:()=>Uut,getTypeConstructor:()=>qut,getSignatureConstructor:()=>Zut,getSourceMapSourceConstructor:()=>Qut}}function gK(t){let u=!0;for(const d in t)if(gu(t,d)&&!Jut(d)){u=!1;break}if(u)return t;const s={};for(const d in t)if(gu(t,d)){const f=Jut(d)?d:d.charAt(0).toLowerCase()+d.substr(1);s[f]=t[d]}return s}function Jut(t){return!t.length||t.charAt(0)===t.charAt(0).toLowerCase()}function EK(t){return t?Vt(t,u=>u.text).join(""):""}function gee(){return{target:1,jsx:1}}function Bme(){return z1.getSupportedErrorCodes()}function $ut(t,u,s){t.version=s,t.scriptSnapshot=u}function Eee(t,u,s,d,f,p){const E=KV(t,aw(u),s,f,p);return $ut(E,u,d),E}function wme(t,u,s,d,f){if(d&&s!==t.version){let E;const v=d.span.start!==0?t.text.substr(0,d.span.start):"",b=Ec(d.span)!==t.text.length?t.text.substr(Ec(d.span)):"";if(d.newLength===0)E=v&&b?v+b:v||b;else{const k=u.getText(d.span.start,d.span.start+d.newLength);E=v&&b?v+k+b:v?v+k:k+b}const B=$ce(t,E,d,f);return $ut(B,u,s),B.nameTable=void 0,t!==B&&t.scriptSnapshot&&(t.scriptSnapshot.dispose&&t.scriptSnapshot.dispose(),t.scriptSnapshot=void 0),B}const p={languageVersion:t.languageVersion,impliedNodeFormat:t.impliedNodeFormat,setExternalModuleIndicator:t.setExternalModuleIndicator,jsDocParsingMode:t.jsDocParsingMode};return Eee(t.fileName,u,p,s,!0,t.scriptKind)}function eBe(t,u=OSe(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory()),s){var d;let f;s===void 0?f=0:typeof s=="boolean"?f=s?2:0:f=s;const p=new Xut(t);let E,v,b=0;const B=t.getCancellationToken?new trt(t.getCancellationToken()):ert,k=t.getCurrentDirectory();tke((d=t.getLocalizedDiagnosticMessages)==null?void 0:d.bind(t));function T(we){t.log&&t.log(we)}const M=Hj(t),z=L1(M),j=XSe({useCaseSensitiveFileNames:()=>M,getCurrentDirectory:()=>k,getProgram:Y,fileExists:Lo(t,t.fileExists),readFile:Lo(t,t.readFile),getDocumentPositionMapper:Lo(t,t.getDocumentPositionMapper),getSourceFileLike:Lo(t,t.getSourceFileLike),log:T});function J(we){const de=E.getSourceFile(we);if(!de){const je=new Error(`Could not find source file: '${we}'.`);throw je.ProgramFiles=E.getSourceFiles().map(X=>X.fileName),je}return de}function K(){var we,de,je;if(H.assert(f!==2),t.getProjectVersion){const Ya=t.getProjectVersion();if(Ya){if(v===Ya&&!((we=t.hasChangedAutomaticTypeDirectiveNames)!=null&&we.call(t)))return;v=Ya}}const X=t.getTypeRootsVersion?t.getTypeRootsVersion():0;b!==X&&(T("TypeRoots version has changed; provide new program"),E=void 0,b=X);const it=t.getScriptFileNames().slice(),Ct=t.getCompilationSettings()||gee(),ct=t.hasInvalidatedResolutions||cg,Qt=Lo(t,t.hasInvalidatedLibResolutions)||cg,Li=Lo(t,t.hasChangedAutomaticTypeDirectiveNames),Ui=(de=t.getProjectReferences)==null?void 0:de.call(t);let Sn,du={getSourceFile:Fn,getSourceFileByPath:vc,getCancellationToken:()=>B,getCanonicalFileName:z,useCaseSensitiveFileNames:()=>M,getNewLine:()=>a5(Ct),getDefaultLibFileName:Ya=>t.getDefaultLibFileName(Ya),writeFile:Is,getCurrentDirectory:()=>k,fileExists:Ya=>t.fileExists(Ya),readFile:Ya=>t.readFile&&t.readFile(Ya),getSymlinkCache:Lo(t,t.getSymlinkCache),realpath:Lo(t,t.realpath),directoryExists:Ya=>hg(Ya,t),getDirectories:Ya=>t.getDirectories?t.getDirectories(Ya):[],readDirectory:(Ya,c0,Ul,wl,hd)=>(H.checkDefined(t.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(Ya,c0,Ul,wl,hd)),onReleaseOldSourceFile:wo,onReleaseParsedCommandLine:as,hasInvalidatedResolutions:ct,hasInvalidatedLibResolutions:Qt,hasChangedAutomaticTypeDirectiveNames:Li,trace:Lo(t,t.trace),resolveModuleNames:Lo(t,t.resolveModuleNames),getModuleResolutionCache:Lo(t,t.getModuleResolutionCache),createHash:Lo(t,t.createHash),resolveTypeReferenceDirectives:Lo(t,t.resolveTypeReferenceDirectives),resolveModuleNameLiterals:Lo(t,t.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:Lo(t,t.resolveTypeReferenceDirectiveReferences),resolveLibrary:Lo(t,t.resolveLibrary),useSourceOfProjectReferenceRedirect:Lo(t,t.useSourceOfProjectReferenceRedirect),getParsedCommandLine:wn,jsDocParsingMode:t.jsDocParsingMode};const Ru=du.getSourceFile,{getSourceFileWithCache:pr}=vH(du,Ya=>J0(Ya,k,z),(...Ya)=>Ru.call(du,...Ya));du.getSourceFile=pr,(je=t.setCompilerHost)==null||je.call(t,du);const Xu={useCaseSensitiveFileNames:M,fileExists:Ya=>du.fileExists(Ya),readFile:Ya=>du.readFile(Ya),directoryExists:Ya=>du.directoryExists(Ya),getDirectories:Ya=>du.getDirectories(Ya),realpath:du.realpath,readDirectory:(...Ya)=>du.readDirectory(...Ya),trace:du.trace,getCurrentDirectory:du.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:Is},ca=u.getKeyForCompilationSettings(Ct);let Ku=new Set;if(w1e(E,it,Ct,(Ya,c0)=>t.getScriptVersion(c0),Ya=>du.fileExists(Ya),ct,Qt,Li,wn,Ui)){du=void 0,Sn=void 0,Ku=void 0;return}E=SQ({rootNames:it,options:Ct,host:du,oldProgram:E,projectReferences:Ui}),du=void 0,Sn=void 0,Ku=void 0,j.clearCache(),E.getTypeChecker();return;function wn(Ya){const c0=J0(Ya,k,z),Ul=Sn==null?void 0:Sn.get(c0);if(Ul!==void 0)return Ul||void 0;const wl=t.getParsedCommandLine?t.getParsedCommandLine(Ya):Ir(Ya);return(Sn||(Sn=new Map)).set(c0,wl||!1),wl}function Ir(Ya){const c0=Fn(Ya,100);if(c0)return c0.path=J0(Ya,k,z),c0.resolvedPath=c0.path,c0.originalFileName=c0.fileName,UV(c0,Xu,$a(lr(Ya),k),void 0,$a(Ya,k))}function as(Ya,c0,Ul){var wl;t.getParsedCommandLine?(wl=t.onReleaseParsedCommandLine)==null||wl.call(t,Ya,c0,Ul):c0&&wo(c0.sourceFile,Ul)}function wo(Ya,c0){const Ul=u.getKeyForCompilationSettings(c0);u.releaseDocumentWithKey(Ya.resolvedPath,Ul,Ya.scriptKind,Ya.impliedNodeFormat)}function Fn(Ya,c0,Ul,wl){return vc(Ya,J0(Ya,k,z),c0,Ul,wl)}function vc(Ya,c0,Ul,wl,hd){H.assert(du,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");const vl=t.getScriptSnapshot(Ya);if(!vl)return;const co=pfe(Ya,t),Ho=t.getScriptVersion(Ya);if(!hd){const id=E&&E.getSourceFileByPath(c0);if(id){if(co===id.scriptKind||Ku.has(id.resolvedPath))return u.updateDocumentWithKey(Ya,c0,t,ca,vl,Ho,co,Ul);u.releaseDocumentWithKey(id.resolvedPath,u.getKeyForCompilationSettings(E.getCompilerOptions()),id.scriptKind,id.impliedNodeFormat),Ku.add(id.resolvedPath)}}return u.acquireDocumentWithKey(Ya,c0,t,ca,vl,Ho,co,Ul)}}function Y(){if(f===2){H.assert(E===void 0);return}return K(),E}function oe(){var we;return(we=t.getPackageJsonAutoImportProvider)==null?void 0:we.call(t)}function se(we,de){const je=E.getTypeChecker(),X=it();if(!X)return!1;for(const ct of we)for(const Qt of ct.references){const Li=Ct(Qt);if(H.assertIsDefined(Li),de.has(Qt)||Z0.isDeclarationOfSymbol(Li,X)){de.add(Qt),Qt.isDefinition=!0;const Ui=yX(Qt,j,Lo(t,t.fileExists));Ui&&de.add(Ui)}else Qt.isDefinition=!1}return!0;function it(){for(const ct of we)for(const Qt of ct.references){if(de.has(Qt)){const Ui=Ct(Qt);return H.assertIsDefined(Ui),je.getSymbolAtLocation(Ui)}const Li=yX(Qt,j,Lo(t,t.fileExists));if(Li&&de.has(Li)){const Ui=Ct(Li);if(Ui)return je.getSymbolAtLocation(Ui)}}}function Ct(ct){const Qt=E.getSourceFile(ct.fileName);if(!Qt)return;const Li=af(Qt,ct.textSpan.start);return Z0.Core.getAdjustedNode(Li,{use:Z0.FindReferencesUse.References})}}function ge(){if(E){const we=u.getKeyForCompilationSettings(E.getCompilerOptions());L(E.getSourceFiles(),de=>u.releaseDocumentWithKey(de.resolvedPath,we,de.scriptKind,de.impliedNodeFormat)),E=void 0}}function ae(){ge(),t=void 0}function Ce(we){return K(),E.getSyntacticDiagnostics(J(we),B).slice()}function ne(we){K();const de=J(we),je=E.getSemanticDiagnostics(de,B);if(!c4(E.getCompilerOptions()))return je.slice();const X=E.getDeclarationDiagnostics(de,B);return[...je,...X]}function ve(we){return K(),Jfe(J(we),E,B)}function Se(){return K(),[...E.getOptionsDiagnostics(B),...E.getGlobalDiagnostics(B)]}function Ne(we,de,je=d4,X){const it={...je,includeCompletionsForModuleExports:je.includeCompletionsForModuleExports||je.includeExternalModuleExports,includeCompletionsWithInsertText:je.includeCompletionsWithInsertText||je.includeInsertTextCompletions};return K(),h9.getCompletionsAtPosition(t,E,T,J(we),de,it,je.triggerCharacter,je.triggerKind,B,X&&dd.getFormatContext(X,t),je.includeSymbol)}function pe(we,de,je,X,it,Ct=d4,ct){return K(),h9.getCompletionEntryDetails(E,T,J(we),de,{name:je,source:it,data:ct},t,X&&dd.getFormatContext(X,t),Ct,B)}function fe(we,de,je,X,it=d4){return K(),h9.getCompletionEntrySymbol(E,T,J(we),de,{name:je,source:X},t,it)}function xe(we,de){K();const je=J(we),X=af(je,de);if(X===je)return;const it=E.getTypeChecker(),Ct=Be(X),ct=aHt(Ct,it);if(!ct||it.isUnknownSymbol(ct)){const du=Ge(je,Ct,de)?it.getTypeAtLocation(Ct):void 0;return du&&{kind:"",kindModifiers:"",textSpan:of(Ct,je),displayParts:it.runWithCancellationToken(B,Ru=>$H(Ru,du,Mk(Ct))),documentation:du.symbol?du.symbol.getDocumentationComment(it):void 0,tags:du.symbol?du.symbol.getJsDocTags(it):void 0}}const{symbolKind:Qt,displayParts:Li,documentation:Ui,tags:Sn}=it.runWithCancellationToken(B,du=>x5.getSymbolDisplayPartsDocumentationAndSymbolKind(du,ct,je,Mk(Ct),Ct));return{kind:Qt,kindModifiers:x5.getSymbolModifiers(it,ct),textSpan:of(Ct,je),displayParts:Li,documentation:Ui,tags:Sn}}function Be(we){return j2(we.parent)&&we.pos===we.parent.pos?we.parent.expression:GP(we.parent)&&we.pos===we.parent.pos||W8(we.parent)&&we.parent.name===we||gg(we.parent)?we.parent:we}function Ge(we,de,je){switch(de.kind){case 80:return!Rhe(de)&&!Ohe(de)&&!q3(de.parent);case 211:case 166:return!m5(we,je);case 110:case 197:case 108:case 202:return!0;case 236:return W8(de);default:return!1}}function Ae(we,de,je,X){return K(),Cw.getDefinitionAtPosition(E,J(we),de,je,X)}function De(we,de){return K(),Cw.getDefinitionAndBoundSpan(E,J(we),de)}function Ke(we,de){return K(),Cw.getTypeDefinitionAtPosition(E.getTypeChecker(),J(we),de)}function Je(we,de){return K(),Z0.getImplementationsAtPosition(E,B,E.getSourceFiles(),J(we),de)}function ft(we,de,je){const X=$o(we);H.assert(je.some(ct=>$o(ct)===X)),K();const it=qi(je,ct=>E.getSourceFile(ct)),Ct=J(we);return JX.getDocumentHighlights(E,B,Ct,de,it)}function Ye(we,de,je,X,it){K();const Ct=J(we),ct=lX(af(Ct,de));if(Hee.nodeIsEligibleForRename(ct))if(at(ct)&&(aE(ct.parent)||H2(ct.parent))&&aB(ct.escapedText)){const{openingElement:Qt,closingElement:Li}=ct.parent.parent;return[Qt,Li].map(Ui=>{const Sn=of(Ui.tagName,Ct);return{fileName:Ct.fileName,textSpan:Sn,...Z0.toContextSpan(Sn,Ct,Ui.parent)}})}else{const Qt=Hm(Ct,it??d4),Li=typeof it=="boolean"?it:it==null?void 0:it.providePrefixAndSuffixTextForRename;return We(ct,de,{findInStrings:je,findInComments:X,providePrefixAndSuffixTextForRename:Li,use:Z0.FindReferencesUse.Rename},(Ui,Sn,du)=>Z0.toRenameLocation(Ui,Sn,du,Li||!1,Qt))}}function Ve(we,de){return K(),We(af(J(we),de),de,{use:Z0.FindReferencesUse.References},Z0.toReferenceEntry)}function We(we,de,je,X){K();const it=je&&je.use===Z0.FindReferencesUse.Rename?E.getSourceFiles().filter(Ct=>!E.isSourceFileDefaultLibrary(Ct)):E.getSourceFiles();return Z0.findReferenceOrRenameEntries(E,B,it,we,de,je,X)}function Gt(we,de){return K(),Z0.findReferencedSymbols(E,B,E.getSourceFiles(),J(we),de)}function Yt(we){return K(),Z0.Core.getReferencesForFileName(we,E,E.getSourceFiles()).map(Z0.toReferenceEntry)}function Ie(we,de,je,X=!1,it=!1){K();const Ct=je?[J(je)]:E.getSourceFiles();return mnt(Ct,E.getTypeChecker(),B,we,de,X,it)}function st(we,de,je){K();const X=J(we),it=t.getCustomTransformers&&t.getCustomTransformers();return K7e(E,X,!!de,B,it,je)}function St(we,de,{triggerReason:je}=d4){K();const X=J(we);return NK.getSignatureHelpItems(E,X,de,je,B)}function It(we){return p.getCurrentSourceFile(we)}function ei(we,de,je){const X=p.getCurrentSourceFile(we),it=af(X,de);if(it===X)return;switch(it.kind){case 211:case 166:case 11:case 97:case 112:case 106:case 108:case 110:case 197:case 80:break;default:return}let Ct=it;for(;;)if(uw(Ct)||$9e(Ct))Ct=Ct.parent;else if(Vhe(Ct))if(Ct.parent.parent.kind===267&&Ct.parent.parent.body===Ct.parent)Ct=Ct.parent.parent.name;else break;else break;return Vc(Ct.getStart(),it.getEnd())}function ht(we,de){const je=p.getCurrentSourceFile(we);return Ime.spanInSourceFileAtLocation(je,de)}function Ut(we){return _nt(p.getCurrentSourceFile(we),B)}function Ni(we){return Dnt(p.getCurrentSourceFile(we),B)}function ji(we,de,je){return K(),(je||"original")==="2020"?Out(E,B,J(we),de):ISe(E.getTypeChecker(),B,J(we),E.getClassifiableNames(),de)}function xn(we,de,je){return K(),(je||"original")==="original"?Ofe(E.getTypeChecker(),B,J(we),E.getClassifiableNames(),de):q8e(E,B,J(we),de)}function Jn(we,de){return RSe(B,p.getCurrentSourceFile(we),de)}function an(we,de){return jfe(B,p.getCurrentSourceFile(we),de)}function Pi(we){const de=p.getCurrentSourceFile(we);return Lpe.collectElements(de,B)}const Ai=new Map(Object.entries({19:20,21:22,23:24,32:30}));Ai.forEach((we,de)=>Ai.set(we.toString(),Number(de)));function Zu(we,de){const je=p.getCurrentSourceFile(we),X=LM(je,de),it=X.getStart(je)===de?Ai.get(X.kind.toString()):void 0,Ct=it&&a0(X.parent,it,je);return Ct?[of(X,je),of(Ct,je)].sort((ct,Qt)=>ct.start-Qt.start):_t}function aa(we,de,je){let X=G0();const it=gK(je),Ct=p.getCurrentSourceFile(we);T("getIndentationAtPosition: getCurrentSourceFile: "+(G0()-X)),X=G0();const ct=dd.SmartIndenter.getIndentation(de,Ct,it);return T("getIndentationAtPosition: computeIndentation : "+(G0()-X)),ct}function yr(we,de,je,X){const it=p.getCurrentSourceFile(we);return dd.formatSelection(de,je,it,dd.getFormatContext(gK(X),t))}function Ba(we,de){return dd.formatDocument(p.getCurrentSourceFile(we),dd.getFormatContext(gK(de),t))}function bt(we,de,je,X){const it=p.getCurrentSourceFile(we),Ct=dd.getFormatContext(gK(X),t);if(!m5(it,de))switch(je){case"{":return dd.formatOnOpeningCurly(de,it,Ct);case"}":return dd.formatOnClosingCurly(de,it,Ct);case";":return dd.formatOnSemicolon(de,it,Ct);case` +`:return dd.formatOnEnter(de,it,Ct)}return[]}function jn(we,de,je,X,it,Ct=d4){K();const ct=J(we),Qt=Vc(de,je),Li=dd.getFormatContext(it,t);return ju(ri(X,Cx,nl),Ui=>(B.throwIfCancellationRequested(),z1.getFixes({errorCode:Ui,sourceFile:ct,span:Qt,program:E,host:t,cancellationToken:B,formatContext:Li,preferences:Ct})))}function Ln(we,de,je,X=d4){K(),H.assert(we.type==="file");const it=J(we.fileName),Ct=dd.getFormatContext(je,t);return z1.getAllFixes({fixId:de,sourceFile:it,program:E,host:t,cancellationToken:B,formatContext:Ct,preferences:X})}function Si(we,de,je=d4){K(),H.assert(we.type==="file");const X=J(we.fileName),it=dd.getFormatContext(de,t),Ct=we.mode??(we.skipDestructiveCodeActions?"SortAndCombine":"All");return Gp.organizeImports(X,it,t,E,je,Ct)}function Dn(we,de,je,X=d4){return VSe(Y(),we,de,t,dd.getFormatContext(je,t),X,j)}function Cn(we,de){const je=typeof we=="string"?de:we;return Ha(je)?Promise.all(je.map(X=>tu(X))):tu(je)}function tu(we){const de=je=>J0(je,k,z);return H.assertEqual(we.type,"install package"),t.installPackage?t.installPackage({fileName:de(we.file),packageName:we.packageName}):Promise.reject("Host does not implement `installPackage`")}function oa(we,de,je,X){const it=X?dd.getFormatContext(X,t).options:void 0;return Yv.getDocCommentTemplateAtPosition(E5(t,it),p.getCurrentSourceFile(we),de,je)}function Da(we,de,je){if(je===60)return!1;const X=p.getCurrentSourceFile(we);if(zk(X,de))return!1;if(eSe(X,de))return je===123;if($he(X,de))return!1;switch(je){case 39:case 34:case 96:return!m5(X,de)}return!0}function ra(we,de){const je=p.getCurrentSourceFile(we),X=td(de,je);if(!X)return;const it=X.kind===32&&aE(X.parent)?X.parent.parent:w7(X)&&r3(X.parent)?X.parent:void 0;if(it&&qt(it))return{newText:``};const Ct=X.kind===32&&V7(X.parent)?X.parent.parent:w7(X)&&K2(X.parent)?X.parent:void 0;if(Ct&&Xt(Ct))return{newText:""}}function Ta(we,de){const je=p.getCurrentSourceFile(we),X=td(de,je);if(!X||X.parent.kind===312)return;const it="[a-zA-Z0-9:\\-\\._$]*";if(K2(X.parent.parent)){const Ct=X.parent.parent.openingFragment,ct=X.parent.parent.closingFragment;if(O8(Ct)||O8(ct))return;const Qt=Ct.getStart(je)+1,Li=ct.getStart(je)+2;return de!==Qt&&de!==Li?void 0:{ranges:[{start:Qt,length:0},{start:Li,length:0}],wordPattern:it}}else{const Ct=Tn(X.parent,pr=>!!(aE(pr)||H2(pr)));if(!Ct)return;H.assert(aE(Ct)||H2(Ct),"tag should be opening or closing element");const ct=Ct.parent.openingElement,Qt=Ct.parent.closingElement,Li=ct.tagName.getStart(je),Ui=ct.tagName.end,Sn=Qt.tagName.getStart(je),du=Qt.tagName.end;return!(Li<=de&&de<=Ui||Sn<=de&&de<=du)||ct.tagName.getText(je)!==Qt.tagName.getText(je)?void 0:{ranges:[{start:Li,length:Ui-Li},{start:Sn,length:du-Sn}],wordPattern:it}}}function Yo(we,de){return{lineStarts:we.getLineStarts(),firstLine:we.getLineAndCharacterOfPosition(de.pos).line,lastLine:we.getLineAndCharacterOfPosition(de.end).line}}function bo(we,de,je){const X=p.getCurrentSourceFile(we),it=[],{lineStarts:Ct,firstLine:ct,lastLine:Qt}=Yo(X,de);let Li=je||!1,Ui=Number.MAX_VALUE;const Sn=new Map,du=new RegExp(/\S/),Ru=hX(X,Ct[ct]),pr=Ru?"{/*":"//";for(let Xu=ct;Xu<=Qt;Xu++){const ca=X.text.substring(Ct[Xu],X.getLineEndOfPosition(Ct[Xu])),Ku=du.exec(ca);Ku&&(Ui=Math.min(Ui,Ku.index),Sn.set(Xu.toString(),Ku.index),ca.substr(Ku.index,pr.length)!==pr&&(Li=je===void 0||je))}for(let Xu=ct;Xu<=Qt;Xu++){if(ct!==Qt&&Ct[Xu]===de.end)continue;const ca=Sn.get(Xu.toString());ca!==void 0&&(Ru?it.push(...Qe(we,{pos:Ct[Xu]+Ui,end:X.getLineEndOfPosition(Ct[Xu])},Li,Ru)):Li?it.push({newText:pr,span:{length:0,start:Ct[Xu]+Ui}}):X.text.substr(Ct[Xu]+ca,pr.length)===pr&&it.push({newText:"",span:{length:pr.length,start:Ct[Xu]+ca}}))}return it}function Qe(we,de,je,X){var it;const Ct=p.getCurrentSourceFile(we),ct=[],{text:Qt}=Ct;let Li=!1,Ui=je||!1;const Sn=[];let{pos:du}=de;const Ru=X!==void 0?X:hX(Ct,du),pr=Ru?"{/*":"/*",Xu=Ru?"*/}":"*/",ca=Ru?"\\{\\/\\*":"\\/\\*",Ku=Ru?"\\*\\/\\}":"\\*\\/";for(;du<=de.end;){const ja=Qt.substr(du,pr.length)===pr?pr.length:0,wn=m5(Ct,du+ja);if(wn)Ru&&(wn.pos--,wn.end++),Sn.push(wn.pos),wn.kind===3&&Sn.push(wn.end),Li=!0,du=wn.end+1;else{const Ir=Qt.substring(du,de.end).search(`(${ca})|(${Ku})`);Ui=je!==void 0?je:Ui||!hSe(Qt,du,Ir===-1?de.end:du+Ir),du=Ir===-1?de.end+1:du+Ir+Xu.length}}if(Ui||!Li){((it=m5(Ct,de.pos))==null?void 0:it.kind)!==2&&Tt(Sn,de.pos,nl),Tt(Sn,de.end,nl);const ja=Sn[0];Qt.substr(ja,pr.length)!==pr&&ct.push({newText:pr,span:{length:0,start:ja}});for(let wn=1;wn0?ja-Xu.length:0,Ir=Qt.substr(wn,Xu.length)===Xu?Xu.length:0;ct.push({newText:"",span:{length:pr.length,start:ja-Ir}})}return ct}function Et(we,de){const je=p.getCurrentSourceFile(we),{firstLine:X,lastLine:it}=Yo(je,de);return X===it&&de.pos!==de.end?Qe(we,de,!0):bo(we,de,!0)}function Mt(we,de){const je=p.getCurrentSourceFile(we),X=[],{pos:it}=de;let{end:Ct}=de;it===Ct&&(Ct+=hX(je,it)?2:1);for(let ct=it;ct<=Ct;ct++){const Qt=m5(je,ct);if(Qt){switch(Qt.kind){case 2:X.push(...bo(we,{end:Qt.end,pos:Qt.pos+1},!1));break;case 3:X.push(...Qe(we,{end:Qt.end,pos:Qt.pos+1},!1))}ct=Qt.end+1}}return X}function qt({openingElement:we,closingElement:de,parent:je}){return!Vv(we.tagName,de.tagName)||r3(je)&&Vv(we.tagName,je.openingElement.tagName)&&qt(je)}function Xt({closingFragment:we,parent:de}){return!!(we.flags&262144)||K2(de)&&Xt(de)}function Pe(we,de,je){const X=p.getCurrentSourceFile(we),it=dd.getRangeOfEnclosingComment(X,de);return it&&(!je||it.kind===3)?qx(it):void 0}function et(we,de){K();const je=J(we);B.throwIfCancellationRequested();const X=je.text,it=[];if(de.length>0&&!Li(je.fileName)){const Ui=ct();let Sn;for(;Sn=Ui.exec(X);){B.throwIfCancellationRequested();const du=3;H.assert(Sn.length===de.length+du);const Ru=Sn[1],pr=Sn.index+Ru.length;if(!m5(je,pr))continue;let Xu;for(let Ku=0;Ku"("+Ct(wn.text)+")").join("|")+")",Xu=/(?:$|\*\/)/.source,ca=/(?:.*?)/.source,Ku="("+pr+ca+")",ja=Ru+Ku+Xu;return new RegExp(ja,"gim")}function Qt(Ui){return Ui>=97&&Ui<=122||Ui>=65&&Ui<=90||Ui>=48&&Ui<=57}function Li(Ui){return Ui.includes("/node_modules/")}}function gt(we,de,je){return K(),Hee.getRenameInfo(E,J(we),de,je||{})}function ii(we,de,je,X,it,Ct){const[ct,Qt]=typeof de=="number"?[de,void 0]:[de.pos,de.end];return{file:we,startPosition:ct,endPosition:Qt,program:Y(),host:t,formatContext:dd.getFormatContext(X,t),cancellationToken:B,preferences:je,triggerReason:it,kind:Ct}}function me(we,de,je){return{file:we,program:Y(),host:t,span:de,preferences:je,cancellationToken:B}}function ni(we,de){return Mpe.getSmartSelectionRange(de,p.getCurrentSourceFile(we))}function vi(we,de,je=d4,X,it,Ct){K();const ct=J(we);return a9.getApplicableRefactors(ii(ct,de,je,d4,X,it),Ct)}function mt(we,de,je=d4){K();const X=J(we),it=H.checkDefined(E.getSourceFiles()),Ct=y7(we),ct=qi(it,Li=>!(E!=null&&E.isSourceFileFromExternalLibrary(X))&&!(X===J(Li.fileName)||Ct===".ts"&&y7(Li.fileName)===".d.ts"||Ct===".d.ts"&&Pa(Ac(Li.fileName),"lib.")&&y7(Li.fileName)===".d.ts")&&Ct===y7(Li.fileName)?Li.fileName:void 0);return{newFileName:A8e(X,E,ii(X,de,je,d4),t),files:ct}}function Ot(we,de,je,X,it,Ct=d4,ct){K();const Qt=J(we);return a9.getEditsForRefactor(ii(Qt,je,Ct,de),X,it,ct)}function Ei(we,de){return de===0?{line:0,character:0}:j.toLineColumnOffset(we,de)}function $i(we,de){K();const je=o9.resolveCallHierarchyDeclaration(E,af(J(we),de));return je&&kfe(je,X=>o9.createCallHierarchyItem(E,X))}function Qi(we,de){K();const je=J(we),X=Ffe(o9.resolveCallHierarchyDeclaration(E,de===0?je:af(je,de)));return X?o9.getIncomingCalls(E,X,B):[]}function on(we,de){K();const je=J(we),X=Ffe(o9.resolveCallHierarchyDeclaration(E,de===0?je:af(je,de)));return X?o9.getOutgoingCalls(E,X):[]}function le(we,de,je=d4){K();const X=J(we);return Spe.provideInlayHints(me(X,de,je))}const te={dispose:ae,cleanupSemanticCache:ge,getSyntacticDiagnostics:Ce,getSemanticDiagnostics:ne,getSuggestionDiagnostics:ve,getCompilerOptionsDiagnostics:Se,getSyntacticClassifications:Jn,getSemanticClassifications:ji,getEncodedSyntacticClassifications:an,getEncodedSemanticClassifications:xn,getCompletionsAtPosition:Ne,getCompletionEntryDetails:pe,getCompletionEntrySymbol:fe,getSignatureHelpItems:St,getQuickInfoAtPosition:xe,getDefinitionAtPosition:Ae,getDefinitionAndBoundSpan:De,getImplementationAtPosition:Je,getTypeDefinitionAtPosition:Ke,getReferencesAtPosition:Ve,findReferences:Gt,getFileReferences:Yt,getDocumentHighlights:ft,getNameOrDottedNameSpan:ei,getBreakpointStatementAtPosition:ht,getNavigateToItems:Ie,getRenameInfo:gt,getSmartSelectionRange:ni,findRenameLocations:Ye,getNavigationBarItems:Ut,getNavigationTree:Ni,getOutliningSpans:Pi,getTodoComments:et,getBraceMatchingAtPosition:Zu,getIndentationAtPosition:aa,getFormattingEditsForRange:yr,getFormattingEditsForDocument:Ba,getFormattingEditsAfterKeystroke:bt,getDocCommentTemplateAtPosition:oa,isValidBraceCompletionAtPosition:Da,getJsxClosingTagAtPosition:ra,getLinkedEditingRangeAtPosition:Ta,getSpanOfEnclosingComment:Pe,getCodeFixesAtPosition:jn,getCombinedCodeFix:Ln,applyCodeActionCommand:Cn,organizeImports:Si,getEditsForFileRename:Dn,getEmitOutput:st,getNonBoundSourceFile:It,getProgram:Y,getCurrentProgram:()=>E,getAutoImportProvider:oe,updateIsDefinitionOfReferencedSymbols:se,getApplicableRefactors:vi,getEditsForRefactor:Ot,getMoveToRefactoringFileSuggestions:mt,toLineColumnOffset:Ei,getSourceMapper:()=>j,clearSourceMapperCache:()=>j.clearCache(),prepareCallHierarchy:$i,provideCallHierarchyIncomingCalls:Qi,provideCallHierarchyOutgoingCalls:on,toggleLineComment:bo,toggleMultilineComment:Qe,commentSelection:Et,uncommentSelection:Mt,provideInlayHints:le,getSupportedCodeFixes:Bme};switch(f){case 0:break;case 1:uBe.forEach(we=>te[we]=()=>{throw new Error(`LanguageService Operation: ${we} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:irt.forEach(we=>te[we]=()=>{throw new Error(`LanguageService Operation: ${we} not allowed in LanguageServiceMode.Syntactic`)});break;default:H.assertNever(f)}return te}function Tme(t){return t.nameTable||nHt(t),t.nameTable}function nHt(t){const u=t.nameTable=new Map;t.forEachChild(function s(d){if(at(d)&&!Ohe(d)&&d.escapedText||Pm(d)&&uHt(d)){const f=oP(d);u.set(f,u.get(f)===void 0?d.pos:-1)}else if(ea(d)){const f=d.escapedText;u.set(f,u.get(f)===void 0?d.pos:-1)}if(ao(d,s),lm(d))for(const f of d.jsDoc)ao(f,s)})}function uHt(t){return X3(t)||t.parent.kind===283||oHt(t)||Nj(t)}function _K(t){const u=rHt(t);return u&&(ys(u.parent)||W2(u.parent))?u:void 0}function rHt(t){switch(t.kind){case 11:case 15:case 9:if(t.parent.kind===167)return n0e(t.parent.parent)?t.parent.parent:void 0;case 80:return n0e(t.parent)&&(t.parent.parent.kind===210||t.parent.parent.kind===292)&&t.parent.name===t?t.parent:void 0}}function aHt(t,u){const s=_K(t);if(s){const d=u.getContextualType(s.parent),f=d&&_ee(s,u,d,!1);if(f&&f.length===1)return Pn(f)}return u.getSymbolAtLocation(t)}function _ee(t,u,s,d){const f=WH(t.name);if(!f)return _t;if(!s.isUnion()){const E=s.getProperty(f);return E?[E]:_t}const p=qi(s.types,E=>(ys(t.parent)||W2(t.parent))&&u.isTypeInvalidDueToUnionDiscriminant(E,t.parent)?void 0:E.getProperty(f));if(d&&(p.length===0||p.length===s.types.length)){const E=s.getProperty(f);if(E)return[E]}return p.length===0?qi(s.types,E=>E.getProperty(f)):p}function oHt(t){return t&&t.parent&&t.parent.kind===212&&t.parent.argumentExpression===t}function tBe(t){if(c1)return cr(lr($o(c1.getExecutingFilePath())),zO(t));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var iBe,Lme,Nme,Uut,nBe,Pme,Mme,qut,Zut,Yut,Qut,Xut,ert,trt,zme,uBe,irt,sHt=o({"src/services/services.ts"(){rr(),Ent(),Rnt(),s_(),$it(),Hut(),iBe="0.8",Lme=class{constructor(t,u,s){this.pos=u,this.end=s,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=t}assertHasRealPosition(t){H.assert(!pg(this.pos)&&!pg(this.end),t||"Node must have a real position for this operation")}getSourceFile(){return zn(this)}getStart(t,u){return this.assertHasRealPosition(),ek(this,t,u)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(t){return this.assertHasRealPosition(),this.getEnd()-this.getStart(t)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(t){return this.assertHasRealPosition(),this.getStart(t)-this.pos}getFullText(t){return this.assertHasRealPosition(),(t||this.getSourceFile()).text.substring(this.pos,this.end)}getText(t){return this.assertHasRealPosition(),t||(t=this.getSourceFile()),t.text.substring(this.getStart(t),this.getEnd())}getChildCount(t){return this.getChildren(t).length}getChildAt(t,u){return this.getChildren(u)[t]}getChildren(t){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=eHt(this,t))}getFirstToken(t){this.assertHasRealPosition();const u=this.getChildren(t);if(!u.length)return;const s=Le(u,d=>d.kind<316||d.kind>357);return s.kind<166?s:s.getFirstToken(t)}getLastToken(t){this.assertHasRealPosition();const u=this.getChildren(t),s=qu(u);if(s)return s.kind<166?s:s.getLastToken(t)}forEachChild(t,u){return ao(this,t,u)}},Nme=class{constructor(t,u){this.pos=t,this.end=u,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return zn(this)}getStart(t,u){return ek(this,t,u)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(t){return this.getEnd()-this.getStart(t)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(t){return this.getStart(t)-this.pos}getFullText(t){return(t||this.getSourceFile()).text.substring(this.pos,this.end)}getText(t){return t||(t=this.getSourceFile()),t.text.substring(this.getStart(t),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(t){return this.getChildren()[t]}getChildren(){return this.kind===1&&this.jsDoc||_t}getFirstToken(){}getLastToken(){}forEachChild(){}},Uut=class{constructor(t,u){this.id=0,this.mergeId=0,this.flags=t,this.escapedName=u}getFlags(){return this.flags}get name(){return lc(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(t){if(!this.documentationComment)if(this.documentationComment=_t,!this.declarations&&qE(this)&&this.links.target&&qE(this.links.target)&&this.links.target.links.tupleLabelDeclaration){const u=this.links.target.links.tupleLabelDeclaration;this.documentationComment=pee([u],t)}else this.documentationComment=pee(this.declarations,t);return this.documentationComment}getContextualDocumentationComment(t,u){if(t){if(Lx(t)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=pee(ti(this.declarations,Lx),u)),S(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(e5(t)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=pee(ti(this.declarations,e5),u)),S(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(u)}getJsDocTags(t){return this.tags===void 0&&(this.tags=Sme(this.declarations,t)),this.tags}getContextualJsDocTags(t,u){if(t){if(Lx(t)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=Sme(ti(this.declarations,Lx),u)),S(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(e5(t)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=Sme(ti(this.declarations,e5),u)),S(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(u)}},nBe=class extends Nme{constructor(t,u,s){super(u,s),this.kind=t}},Pme=class extends Nme{constructor(t,u,s){super(u,s),this.kind=80}get text(){return fu(this)}},Pme.prototype.kind=80,Mme=class extends Nme{constructor(t,u,s){super(u,s),this.kind=81}get text(){return fu(this)}},Mme.prototype.kind=81,qut=class{constructor(t,u){this.checker=t,this.flags=u}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(t){return this.checker.getPropertyOfType(this,t)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(this.flags&1048576)}isIntersection(){return!!(this.flags&2097152)}isUnionOrIntersection(){return!!(this.flags&3145728)}isLiteral(){return!!(this.flags&2432)}isStringLiteral(){return!!(this.flags&128)}isNumberLiteral(){return!!(this.flags&256)}isTypeParameter(){return!!(this.flags&262144)}isClassOrInterface(){return!!(Gu(this)&3)}isClass(){return!!(Gu(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(Gu(this)&4)return this.checker.getTypeArguments(this)}},Zut=class{constructor(t,u){this.checker=t,this.flags=u}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(t){const u=this.checker.getParameterType(this,t);if(u.isIndexType()&&NP(u.type)){const s=u.type.getConstraint();if(s)return this.checker.getIndexType(s)}return u}getDocumentationComment(){return this.documentationComment||(this.documentationComment=pee(Hy(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=Sme(Hy(this.declaration),this.checker))}},Yut=class extends Lme{constructor(t,u,s){super(t,u,s),this.kind=312}update(t,u){return $ce(this,t,u)}getLineAndCharacterOfPosition(t){return s0(this,t)}getLineStarts(){return $3(this)}getPositionOfLineAndCharacter(t,u,s){return FU($3(this),t,u,this.text,s)}getLineEndOfPosition(t){const{line:u}=this.getLineAndCharacterOfPosition(t),s=this.getLineStarts();let d;u+1>=s.length&&(d=this.getEnd()),d||(d=s[u+1]-1);const f=this.getFullText();return f[d]===` +`&&f[d-1]==="\r"?d-1:d}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){const t=wm();return this.forEachChild(f),t;function u(p){const E=d(p);E&&t.add(E,p)}function s(p){let E=t.get(p);return E||t.set(p,E=[]),E}function d(p){const E=TU(p);return E&&(Ps(E)&&Iu(E.expression)?E.expression.name.text:Sc(E)?WH(E):void 0)}function f(p){switch(p.kind){case 262:case 218:case 174:case 173:const E=p,v=d(E);if(v){const k=s(v),T=qu(k);T&&E.parent===T.parent&&E.symbol===T.symbol?E.body&&!T.body&&(k[k.length-1]=E):k.push(E)}ao(p,f);break;case 263:case 231:case 264:case 265:case 266:case 267:case 271:case 281:case 276:case 273:case 274:case 177:case 178:case 187:u(p),ao(p,f);break;case 169:if(!Yu(p,31))break;case 260:case 208:{const k=p;if(So(k.name)){ao(k.name,f);break}k.initializer&&f(k.initializer)}case 306:case 172:case 171:u(p);break;case 278:const b=p;b.exportClause&&(ep(b.exportClause)?L(b.exportClause.elements,f):f(b.exportClause.name));break;case 272:const B=p.importClause;B&&(B.name&&u(B.name),B.namedBindings&&(B.namedBindings.kind===274?u(B.namedBindings):L(B.namedBindings.elements,f)));break;case 226:Xl(p)!==0&&u(p);default:ao(p,f)}}}},Qut=class{constructor(t,u,s){this.fileName=t,this.text=u,this.skipTrivia=s}getLineAndCharacterOfPosition(t){return s0(this,t)}},Xut=class{constructor(t){this.host=t}getCurrentSourceFile(t){var u,s,d,f,p,E,v,b;const B=this.host.getScriptSnapshot(t);if(!B)throw new Error("Could not find file: '"+t+"'.");const k=pfe(t,this.host),T=this.host.getScriptVersion(t);let M;if(this.currentFileName!==t){const z={languageVersion:99,impliedNodeFormat:bH(J0(t,this.host.getCurrentDirectory(),((d=(s=(u=this.host).getCompilerHost)==null?void 0:s.call(u))==null?void 0:d.getCanonicalFileName)||n5(this.host)),(b=(v=(E=(p=(f=this.host).getCompilerHost)==null?void 0:p.call(f))==null?void 0:E.getModuleResolutionCache)==null?void 0:v.call(E))==null?void 0:b.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:Qj(this.host.getCompilationSettings()),jsDocParsingMode:0};M=Eee(t,B,z,T,!0,k)}else if(this.currentFileVersion!==T){const z=B.getChangeRange(this.currentFileScriptSnapshot);M=wme(this.currentSourceFile,B,T,z)}return M&&(this.currentFileVersion=T,this.currentFileName=t,this.currentFileScriptSnapshot=B,this.currentSourceFile=M),this.currentSourceFile}},ert={isCancellationRequested:cg,throwIfCancellationRequested:Is},trt=class{constructor(t){this.cancellationToken=t}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var t;if(this.isCancellationRequested())throw(t=Gn)==null||t.instant(Gn.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new b8}},zme=class{constructor(t,u=20){this.hostCancellationToken=t,this.throttleWaitMilliseconds=u,this.lastCancellationCheckTime=0}isCancellationRequested(){const t=G0();return Math.abs(t-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=t,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var t;if(this.isCancellationRequested())throw(t=Gn)==null||t.instant(Gn.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new b8}},uBe=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],irt=[...uBe,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],Xye(iHt())}});function nrt(t,u,s){const d=[];s=Yfe(s,d);const f=Ha(t)?t:[t],p=pH(void 0,void 0,q,s,f,u,!0);return p.diagnostics=Hi(p.diagnostics,d),p}var lHt=o({"src/services/transform.ts"(){rr()}});function cHt(t,u){if(t.isDeclarationFile)return;let s=Ca(t,u);const d=t.getLineAndCharacterOfPosition(u).line;if(t.getLineAndCharacterOfPosition(s.getStart(t)).line>d){const T=td(s.pos,t);if(!T||t.getLineAndCharacterOfPosition(T.getEnd()).line!==d)return;s=T}if(s.flags&33554432)return;return k(s);function f(T,M){const z=Ak(T)?lt(T.modifiers,g1):void 0,j=z?gs(t.text,z.end):T.getStart(t);return Vc(j,(M||T).getEnd())}function p(T,M){return f(T,ib(M,M.parent,t))}function E(T,M){return T&&d===t.getLineAndCharacterOfPosition(T.getStart(t)).line?k(T):k(M)}function v(T,M,z){if(T){const j=T.indexOf(M);if(j>=0){let J=j,K=j+1;for(;J>0&&z(T[J-1]);)J--;for(;K0)return k(Ke.declarations[0])}else return k(De.initializer)}function ae(De){if(De.initializer)return ge(De);if(De.condition)return f(De.condition);if(De.incrementor)return f(De.incrementor)}function Ce(De){const Ke=L(De.elements,Je=>Je.kind!==232?Je:void 0);return Ke?k(Ke):De.parent.kind===208?f(De.parent):M(De.parent)}function ne(De){H.assert(De.kind!==207&&De.kind!==206);const Ke=De.kind===209?De.elements:De.properties,Je=L(Ke,ft=>ft.kind!==232?ft:void 0);return Je?k(Je):f(De.parent.kind===226?De.parent:De)}function ve(De){switch(De.parent.kind){case 266:const Ke=De.parent;return E(td(De.pos,t,De.parent),Ke.members.length?Ke.members[0]:Ke.getLastToken(t));case 263:const Je=De.parent;return E(td(De.pos,t,De.parent),Je.members.length?Je.members[0]:Je.getLastToken(t));case 269:return E(De.parent.parent,De.parent.clauses[0])}return k(De.parent)}function Se(De){switch(De.parent.kind){case 268:if(oD(De.parent.parent)!==1)return;case 266:case 263:return f(De);case 241:if(k2(De.parent))return f(De);case 299:return k(qu(De.parent.statements));case 269:const Ke=De.parent,Je=qu(Ke.clauses);return Je?k(qu(Je.statements)):void 0;case 206:const ft=De.parent;return k(qu(ft.elements)||ft);default:if(p5(De.parent)){const Ye=De.parent;return f(qu(Ye.properties)||Ye)}return k(De.parent)}}function Ne(De){switch(De.parent.kind){case 207:const Ke=De.parent;return f(qu(Ke.elements)||Ke);default:if(p5(De.parent)){const Je=De.parent;return f(qu(Je.elements)||Je)}return k(De.parent)}}function pe(De){return De.parent.kind===246||De.parent.kind===213||De.parent.kind===214?b(De):De.parent.kind===217?B(De):k(De.parent)}function fe(De){switch(De.parent.kind){case 218:case 262:case 219:case 174:case 173:case 177:case 178:case 176:case 247:case 246:case 248:case 250:case 213:case 214:case 217:return b(De);default:return k(De.parent)}}function xe(De){return Co(De.parent)||De.parent.kind===303||De.parent.kind===169?b(De):k(De.parent)}function Be(De){return De.parent.kind===216?B(De):k(De.parent)}function Ge(De){return De.parent.kind===246?p(De,De.parent.expression):k(De.parent)}function Ae(De){return De.parent.kind===250?B(De):k(De.parent)}}}var dHt=o({"src/services/breakpoints.ts"(){rr()}}),Ime={};h(Ime,{spanInSourceFileAtLocation:()=>cHt});var hHt=o({"src/services/_namespaces/ts.BreakpointResolver.ts"(){dHt()}});function fHt(t){return(A0(t)||Xd(t))&&mh(t)}function DK(t){return(A0(t)||q0(t)||Xd(t))&&ua(t.parent)&&t===t.parent.initializer&&at(t.parent.name)&&!!(QD(t.parent)&2)}function urt(t){return la(t)||_c(t)||ed(t)||A0(t)||Wc(t)||Xd(t)||zl(t)||dc(t)||n3(t)||zm(t)||jf(t)}function gw(t){return la(t)||_c(t)&&at(t.name)||ed(t)||Wc(t)||zl(t)||dc(t)||n3(t)||zm(t)||jf(t)||fHt(t)||DK(t)}function rrt(t){return la(t)?t:mh(t)?t.name:DK(t)?t.parent.name:H.checkDefined(t.modifiers&&Le(t.modifiers,art))}function art(t){return t.kind===90}function ort(t,u){const s=rrt(u);return s&&t.getSymbolAtLocation(s)}function mHt(t,u){if(la(u))return{text:u.fileName,pos:0,end:0};if((ed(u)||Wc(u))&&!mh(u)){const f=u.modifiers&&Le(u.modifiers,art);if(f)return{text:"default",pos:f.getStart(),end:f.getEnd()}}if(zl(u)){const f=u.getSourceFile(),p=gs(f.text,iE(u).pos),E=p+6,v=t.getTypeChecker(),b=v.getSymbolAtLocation(u.parent);return{text:`${b?`${v.symbolToString(b,u.parent)} `:""}static {}`,pos:p,end:E}}const s=DK(u)?u.parent.name:H.checkDefined(Za(u),"Expected call hierarchy item to have a name");let d=at(s)?fu(s):Pm(s)?s.text:Ps(s)&&Pm(s.expression)?s.expression.text:void 0;if(d===void 0){const f=t.getTypeChecker(),p=f.getSymbolAtLocation(s);p&&(d=f.symbolToString(p,u))}if(d===void 0){const f=EH();d=GN(p=>f.writeNode(4,u,u.getSourceFile(),p))}return{text:d,pos:s.getStart(),end:s.getEnd()}}function pHt(t){var u,s;if(DK(t))return rE(t.parent.parent.parent.parent)&&at(t.parent.parent.parent.parent.parent.name)?t.parent.parent.parent.parent.parent.name.getText():void 0;switch(t.kind){case 177:case 178:case 174:return t.parent.kind===210?(u=zse(t.parent))==null?void 0:u.getText():(s=Za(t.parent))==null?void 0:s.getText();case 262:case 263:case 267:if(rE(t.parent)&&at(t.parent.parent.name))return t.parent.parent.name.getText()}}function srt(t,u){if(u.body)return u;if(hc(u))return X_(u.parent);if(ed(u)||dc(u)){const s=ort(t,u);return s&&s.valueDeclaration&&$0(s.valueDeclaration)&&s.valueDeclaration.body?s.valueDeclaration:void 0}return u}function lrt(t,u){const s=ort(t,u);let d;if(s&&s.declarations){const f=$r(s.declarations),p=Vt(s.declarations,b=>({file:b.getSourceFile().fileName,pos:b.pos}));f.sort((b,B)=>dh(p[b].file,p[B].file)||p[b].pos-p[B].pos);const E=Vt(f,b=>s.declarations[b]);let v;for(const b of E)gw(b)&&((!v||v.parent!==b.parent||v.end!==b.pos)&&(d=xi(d,b)),v=b)}return d}function Rme(t,u){return zl(u)?u:$0(u)?srt(t,u)??lrt(t,u)??u:lrt(t,u)??u}function crt(t,u){const s=t.getTypeChecker();let d=!1;for(;;){if(gw(u))return Rme(s,u);if(urt(u)){const f=Tn(u,gw);return f&&Rme(s,f)}if(X3(u)){if(gw(u.parent))return Rme(s,u.parent);if(urt(u.parent)){const f=Tn(u.parent,gw);return f&&Rme(s,f)}return ua(u.parent)&&u.parent.initializer&&DK(u.parent.initializer)?u.parent.initializer:void 0}if(hc(u))return gw(u.parent)?u.parent:void 0;if(u.kind===126&&zl(u.parent)){u=u.parent;continue}if(ua(u)&&u.initializer&&DK(u.initializer))return u.initializer;if(!d){let f=s.getSymbolAtLocation(u);if(f&&(f.flags&2097152&&(f=s.getAliasedSymbol(f)),f.valueDeclaration)){d=!0,u=f.valueDeclaration;continue}}return}}function rBe(t,u){const s=u.getSourceFile(),d=mHt(t,u),f=pHt(u),p=tb(u),E=NM(u),v=Vc(gs(s.text,u.getFullStart(),!1,!0),u.getEnd()),b=Vc(d.pos,d.end);return{file:s.fileName,kind:p,kindModifiers:E,name:d.text,containerName:f,span:v,selectionSpan:b}}function gHt(t){return t!==void 0}function EHt(t){if(t.kind===Z0.EntryKind.Node){const{node:u}=t;if(Mhe(u,!0,!0)||K9e(u,!0,!0)||W9e(u,!0,!0)||G9e(u,!0,!0)||uw(u)||jhe(u)){const s=u.getSourceFile();return{declaration:Tn(u,gw)||s,range:tfe(u,s)}}}}function drt(t){return $s(t.declaration)}function _Ht(t,u){return{from:t,fromSpans:u}}function DHt(t,u){return _Ht(rBe(t,u[0].declaration),Vt(u,s=>qx(s.range)))}function xHt(t,u,s){if(la(u)||_c(u)||zl(u))return[];const d=rrt(u),f=ti(Z0.findReferenceOrRenameEntries(t,s,t.getSourceFiles(),d,0,{use:Z0.FindReferencesUse.References},EHt),gHt);return f?vN(f,drt,p=>DHt(t,p)):[]}function vHt(t,u){function s(f){const p=Dk(f)?f.tag:zh(f)?f.tagName:I0(f)||zl(f)?f:f.expression,E=crt(t,p);if(E){const v=tfe(p,f.getSourceFile());if(Ha(E))for(const b of E)u.push({declaration:b,range:v});else u.push({declaration:E,range:v})}}function d(f){if(f&&!(f.flags&33554432)){if(gw(f)){if(mr(f))for(const p of f.members)p.name&&Ps(p.name)&&d(p.name.expression);return}switch(f.kind){case 80:case 271:case 272:case 278:case 264:case 265:return;case 175:s(f);return;case 216:case 234:d(f.expression);return;case 260:case 169:d(f.name),d(f.initializer);return;case 213:s(f),d(f.expression),L(f.arguments,d);return;case 214:s(f),d(f.expression),L(f.arguments,d);return;case 215:s(f),d(f.tag),d(f.template);return;case 286:case 285:s(f),d(f.tagName),d(f.attributes);return;case 170:s(f),d(f.expression);return;case 211:case 212:s(f),ao(f,d);break;case 238:d(f.expression);return}q_(f)||ao(f,d)}}return d}function CHt(t,u){L(t.statements,u)}function bHt(t,u){!Yu(t,128)&&t.body&&rE(t.body)&&L(t.body.statements,u)}function yHt(t,u,s){const d=srt(t,u);d&&(L(d.parameters,s),s(d.body))}function kHt(t,u){u(t.body)}function FHt(t,u){L(t.modifiers,u);const s=B2(t);s&&u(s.expression);for(const d of t.members)Hp(d)&&L(d.modifiers,u),ko(d)?u(d.initializer):hc(d)&&d.body?(L(d.parameters,u),u(d.body)):zl(d)&&u(d)}function AHt(t,u){const s=[],d=vHt(t,s);switch(u.kind){case 312:CHt(u,d);break;case 267:bHt(u,d);break;case 262:case 218:case 219:case 174:case 177:case 178:yHt(t.getTypeChecker(),u,d);break;case 263:case 231:FHt(u,d);break;case 175:kHt(u,d);break;default:H.assertNever(u)}return s}function SHt(t,u){return{to:t,fromSpans:u}}function BHt(t,u){return SHt(rBe(t,u[0].declaration),Vt(u,s=>qx(s.range)))}function wHt(t,u){return u.flags&33554432||n3(u)?[]:vN(AHt(t,u),drt,s=>BHt(t,s))}var THt=o({"src/services/callHierarchy.ts"(){rr()}}),o9={};h(o9,{createCallHierarchyItem:()=>rBe,getIncomingCalls:()=>xHt,getOutgoingCalls:()=>wHt,resolveCallHierarchyDeclaration:()=>crt});var LHt=o({"src/services/_namespaces/ts.CallHierarchy.ts"(){THt()}}),hrt={};h(hrt,{TokenEncodingConsts:()=>Z8e,TokenModifier:()=>Q8e,TokenType:()=>Y8e,getEncodedSemanticClassifications:()=>q8e,getSemanticClassifications:()=>Out});var NHt=o({"src/services/_namespaces/ts.classifier.v2020.ts"(){Hut()}}),aBe={};h(aBe,{v2020:()=>hrt});var PHt=o({"src/services/_namespaces/ts.classifier.ts"(){NHt()}});function Cg(t,u,s){return sBe(t,jk(s),u,void 0,void 0)}function Ro(t,u,s,d,f,p){return sBe(t,jk(s),u,d,jk(f),p)}function oBe(t,u,s,d,f,p){return sBe(t,jk(s),u,d,f&&jk(f),p)}function sBe(t,u,s,d,f,p){return{fixName:t,description:u,changes:s,fixId:d,fixAllDescription:f,commands:p?[p]:void 0}}function Xo(t){for(const u of t.errorCodes)lBe=void 0,Ome.add(String(u),t);if(t.fixIds)for(const u of t.fixIds)H.assert(!jme.has(u)),jme.set(u,t)}function MHt(){return lBe??(lBe=ga(Ome.keys()))}function zHt(t,u){const{errorCodes:s}=t;let d=0;for(const p of u)if(kt(s,p.code)&&d++,d>1)break;const f=d<2;return({fixId:p,fixAllDescription:E,...v})=>f?v:{...v,fixId:p,fixAllDescription:E}}function IHt(t){const u=mrt(t),s=Ome.get(String(t.errorCode));return ju(s,d=>Vt(d.getCodeActions(t),zHt(d,u)))}function RHt(t){return jme.get(Po(t.fixId,Ja)).getAllCodeActions(t)}function Ew(t,u){return{changes:t,commands:u}}function frt(t,u){return{fileName:t,textChanges:u}}function f0(t,u,s){const d=[],f=iu.ChangeTracker.with(t,p=>_w(t,u,E=>s(p,E,d)));return Ew(f,d.length===0?void 0:d)}function _w(t,u,s){for(const d of mrt(t))kt(u,d.code)&&s(d)}function mrt({program:t,sourceFile:u,cancellationToken:s}){return[...t.getSemanticDiagnostics(u,s),...t.getSyntacticDiagnostics(u,s),...Jfe(u,t,s)]}var Ome,jme,lBe,OHt=o({"src/services/codeFixProvider.ts"(){rr(),Ome=wm(),jme=new Map}});function prt(t,u,s){const d=AV(s)?q.createAsExpression(s.expression,q.createKeywordTypeNode(159)):q.createTypeAssertion(q.createKeywordTypeNode(159),s.expression);t.replaceNode(u,s.expression,d)}function grt(t,u){if(!Qn(t))return Tn(Ca(t,u),s=>AV(s)||aFe(s))}var Vme,cBe,jHt=o({"src/services/codefixes/addConvertToUnknownForNonOverlappingTypes.ts"(){rr(),rs(),Vme="addConvertToUnknownForNonOverlappingTypes",cBe=[F.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code],Xo({errorCodes:cBe,getCodeActions:function(u){const s=grt(u.sourceFile,u.span.start);if(s===void 0)return;const d=iu.ChangeTracker.with(u,f=>prt(f,u.sourceFile,s));return[Ro(Vme,d,F.Add_unknown_conversion_for_non_overlapping_types,Vme,F.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[Vme],getAllCodeActions:t=>f0(t,cBe,(u,s)=>{const d=grt(s.file,s.start);d&&prt(u,s.file,d)})})}}),VHt=o({"src/services/codefixes/addEmptyExportDeclaration.ts"(){rr(),rs(),Xo({errorCodes:[F.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,F.await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,F.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code],getCodeActions:function(u){const{sourceFile:s}=u,d=iu.ChangeTracker.with(u,f=>{const p=q.createExportDeclaration(void 0,!1,q.createNamedExports([]),void 0);f.insertNodeAtEndOfScope(s,s,p)});return[Cg("addEmptyExportDeclaration",d,F.Add_export_to_make_this_file_into_a_module)]}})}});function Ert(t,u,s,d){const f=s(p=>HHt(p,t.sourceFile,u,d));return Ro(Hme,f,F.Add_async_modifier_to_containing_function,Hme,F.Add_all_missing_async_modifiers)}function HHt(t,u,s,d){if(d&&d.has($s(s)))return;d==null||d.add($s(s));const f=q.replaceModifiers(ll(s,!0),q.createNodeArray(q.createModifiersFromModifierFlags(Rx(s)|1024)));t.replaceNode(u,s,f)}function _rt(t,u){if(!u)return;const s=Ca(t,u.start);return Tn(s,f=>f.getStart(t)Ec(u)?"quit":(q0(f)||dc(f)||A0(f)||ed(f))&&sw(u,of(f,t)))}function KHt(t,u){return({start:s,length:d,relatedInformation:f,code:p})=>UD(s)&&UD(d)&&sw({start:s,length:d},t)&&p===u&&!!f&&Oe(f,E=>E.code===F.Did_you_mean_to_mark_this_function_as_async.code)}var Hme,dBe,WHt=o({"src/services/codefixes/addMissingAsync.ts"(){rr(),rs(),Hme="addMissingAsync",dBe=[F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,F.Type_0_is_not_assignable_to_type_1.code,F.Type_0_is_not_comparable_to_type_1.code],Xo({fixIds:[Hme],errorCodes:dBe,getCodeActions:function(u){const{sourceFile:s,errorCode:d,cancellationToken:f,program:p,span:E}=u,v=Le(p.getTypeChecker().getDiagnostics(s,f),KHt(E,d)),b=v&&v.relatedInformation&&Le(v.relatedInformation,T=>T.code===F.Did_you_mean_to_mark_this_function_as_async.code),B=_rt(s,b);return B?[Ert(u,B,T=>iu.ChangeTracker.with(u,T))]:void 0},getAllCodeActions:t=>{const{sourceFile:u}=t,s=new Set;return f0(t,dBe,(d,f)=>{const p=f.relatedInformation&&Le(f.relatedInformation,b=>b.code===F.Did_you_mean_to_mark_this_function_as_async.code),E=_rt(u,p);return E?Ert(t,E,b=>(b(d),[]),s):void 0})}})}});function Drt(t,u,s,d,f){const p=yfe(t,s);return p&&GHt(t,u,s,d,f)&&Crt(p)?p:void 0}function xrt(t,u,s,d,f,p){const{sourceFile:E,program:v,cancellationToken:b}=t,B=JHt(u,E,b,v,d);if(B){const k=f(T=>{L(B.initializers,({expression:M})=>hBe(T,s,E,d,M,p)),p&&B.needsSecondPassForFixAll&&hBe(T,s,E,d,u,p)});return Cg("addMissingAwaitToInitializer",k,B.initializers.length===1?[F.Add_await_to_initializer_for_0,B.initializers[0].declarationSymbol.name]:F.Add_await_to_initializers)}}function vrt(t,u,s,d,f,p){const E=f(v=>hBe(v,s,t.sourceFile,d,u,p));return Ro(Kme,E,F.Add_await,Kme,F.Fix_all_expressions_possibly_missing_await)}function GHt(t,u,s,d,f){const E=f.getTypeChecker().getDiagnostics(t,d);return Oe(E,({start:v,length:b,relatedInformation:B,code:k})=>UD(v)&&UD(b)&&sw({start:v,length:b},s)&&k===u&&!!B&&Oe(B,T=>T.code===F.Did_you_forget_to_use_await.code))}function JHt(t,u,s,d,f){const p=$Ht(t,f);if(!p)return;let E=p.isCompleteFix,v;for(const b of p.identifiers){const B=f.getSymbolAtLocation(b);if(!B)continue;const k=ur(B.valueDeclaration,ua),T=k&&ur(k.name,at),M=Fv(k,243);if(!k||!M||k.type||!k.initializer||M.getSourceFile()!==u||Yu(M,32)||!T||!Crt(k.initializer)){E=!1;continue}const z=d.getSemanticDiagnostics(u,s);if(Z0.Core.eachSymbolReferenceInFile(T,f,u,J=>b!==J&&!UHt(J,z,u,f))){E=!1;continue}(v||(v=[])).push({expression:k.initializer,declarationSymbol:B})}return v&&{initializers:v,needsSecondPassForFixAll:!E}}function $Ht(t,u){if(Iu(t.parent)&&at(t.parent.expression))return{identifiers:[t.parent.expression],isCompleteFix:!0};if(at(t))return{identifiers:[t],isCompleteFix:!0};if(Xn(t)){let s,d=!0;for(const f of[t.left,t.right]){const p=u.getTypeAtLocation(f);if(u.getPromisedTypeOfPromise(p)){if(!at(f)){d=!1;continue}(s||(s=[])).push(f)}}return s&&{identifiers:s,isCompleteFix:d}}}function UHt(t,u,s,d){const f=Iu(t.parent)?t.parent.name:Xn(t.parent)?t.parent:t,p=Le(u,E=>E.start===f.getStart(s)&&E.start+E.length===f.getEnd());return p&&kt(Wme,p.code)||d.getTypeAtLocation(f).flags&1}function Crt(t){return t.flags&65536||!!Tn(t,u=>u.parent&&q0(u.parent)&&u.parent.body===u||po(u)&&(u.parent.kind===262||u.parent.kind===218||u.parent.kind===219||u.parent.kind===174))}function hBe(t,u,s,d,f,p){if(SV(f.parent)&&!f.parent.awaitModifier){const E=d.getTypeAtLocation(f),v=d.getAsyncIterableType();if(v&&d.isTypeAssignableTo(E,v)){const b=f.parent;t.replaceNode(s,b,q.updateForOfStatement(b,q.createToken(135),b.initializer,b.expression,b.statement));return}}if(Xn(f))for(const E of[f.left,f.right]){if(p&&at(E)){const B=d.getSymbolAtLocation(E);if(B&&p.has(Zo(B)))continue}const v=d.getTypeAtLocation(E),b=d.getPromisedTypeOfPromise(v)?q.createAwaitExpression(E):E;t.replaceNode(s,E,b)}else if(u===fBe&&Iu(f.parent)){if(p&&at(f.parent.expression)){const E=d.getSymbolAtLocation(f.parent.expression);if(E&&p.has(Zo(E)))return}t.replaceNode(s,f.parent.expression,q.createParenthesizedExpression(q.createAwaitExpression(f.parent.expression))),brt(t,f.parent.expression,s)}else if(kt(mBe,u)&&$E(f.parent)){if(p&&at(f)){const E=d.getSymbolAtLocation(f);if(E&&p.has(Zo(E)))return}t.replaceNode(s,f,q.createParenthesizedExpression(q.createAwaitExpression(f))),brt(t,f,s)}else{if(p&&ua(f.parent)&&at(f.parent.name)){const E=d.getSymbolAtLocation(f.parent.name);if(E&&!r0(p,Zo(E)))return}t.replaceNode(s,f,q.createAwaitExpression(f))}}function brt(t,u,s){const d=td(u.pos,s);d&&TX(d.end,d.parent,s)&&t.insertText(s,u.getStart(s),";")}var Kme,fBe,mBe,Wme,qHt=o({"src/services/codefixes/addMissingAwait.ts"(){rr(),rs(),Kme="addMissingAwait",fBe=F.Property_0_does_not_exist_on_type_1.code,mBe=[F.This_expression_is_not_callable.code,F.This_expression_is_not_constructable.code],Wme=[F.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,F.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,F.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,F.Operator_0_cannot_be_applied_to_type_1.code,F.Operator_0_cannot_be_applied_to_types_1_and_2.code,F.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,F.This_condition_will_always_return_true_since_this_0_is_always_defined.code,F.Type_0_is_not_an_array_type.code,F.Type_0_is_not_an_array_type_or_a_string_type.code,F.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,F.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,F.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,F.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,F.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,fBe,...mBe],Xo({fixIds:[Kme],errorCodes:Wme,getCodeActions:function(u){const{sourceFile:s,errorCode:d,span:f,cancellationToken:p,program:E}=u,v=Drt(s,d,f,p,E);if(!v)return;const b=u.program.getTypeChecker(),B=k=>iu.ChangeTracker.with(u,k);return Dr([xrt(u,v,d,b,B),vrt(u,v,d,b,B)])},getAllCodeActions:t=>{const{sourceFile:u,program:s,cancellationToken:d}=t,f=t.program.getTypeChecker(),p=new Set;return f0(t,Wme,(E,v)=>{const b=Drt(u,v.code,v,d,s);if(!b)return;const B=k=>(k(E),[]);return xrt(t,b,v.code,f,B,p)||vrt(t,b,v.code,f,B,p)})}})}});function yrt(t,u,s,d,f){const p=Ca(u,s),E=Tn(p,B=>M8(B.parent)?B.parent.initializer===B:ZHt(B)?!1:"quit");if(E)return Gme(t,E,u,f);const v=p.parent;if(Xn(v)&&v.operatorToken.kind===64&&Od(v.parent))return Gme(t,p,u,f);if(Dh(v)){const B=d.getTypeChecker();return ye(v.elements,k=>YHt(k,B))?Gme(t,v,u,f):void 0}const b=Tn(p,B=>Od(B.parent)?!0:QHt(B)?!1:"quit");if(b){const B=d.getTypeChecker();return krt(b,B)?Gme(t,b,u,f):void 0}}function Gme(t,u,s,d){(!d||r0(d,u))&&t.insertModifierBefore(s,87,u)}function ZHt(t){switch(t.kind){case 80:case 209:case 210:case 303:case 304:return!0;default:return!1}}function YHt(t,u){const s=at(t)?t:ld(t,!0)&&at(t.left)?t.left:void 0;return!!s&&!u.getSymbolAtLocation(s)}function QHt(t){switch(t.kind){case 80:case 226:case 28:return!0;default:return!1}}function krt(t,u){return Xn(t)?t.operatorToken.kind===28?ye([t.left,t.right],s=>krt(s,u)):t.operatorToken.kind===64&&at(t.left)&&!u.getSymbolAtLocation(t.left):!1}var Jme,pBe,XHt=o({"src/services/codefixes/addMissingConst.ts"(){rr(),rs(),Jme="addMissingConst",pBe=[F.Cannot_find_name_0.code,F.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code],Xo({errorCodes:pBe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>yrt(d,u.sourceFile,u.span.start,u.program));if(s.length>0)return[Ro(Jme,s,F.Add_const_to_unresolved_variable,Jme,F.Add_const_to_all_unresolved_variables)]},fixIds:[Jme],getAllCodeActions:t=>{const u=new Set;return f0(t,pBe,(s,d)=>yrt(s,d.file,d.start,t.program,u))}})}});function Frt(t,u,s,d){const f=Ca(u,s);if(!at(f))return;const p=f.parent;p.kind===172&&(!d||r0(d,p))&&t.insertModifierBefore(u,138,p)}var $me,gBe,eKt=o({"src/services/codefixes/addMissingDeclareProperty.ts"(){rr(),rs(),$me="addMissingDeclareProperty",gBe=[F.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code],Xo({errorCodes:gBe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Frt(d,u.sourceFile,u.span.start));if(s.length>0)return[Ro($me,s,F.Prefix_with_declare,$me,F.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[$me],getAllCodeActions:t=>{const u=new Set;return f0(t,gBe,(s,d)=>Frt(s,d.file,d.start,u))}})}});function Art(t,u,s){const d=Ca(u,s),f=Tn(d,g1);H.assert(!!f,"Expected position to be owned by a decorator.");const p=q.createCallExpression(f.expression,void 0,void 0);t.replaceNode(u,f.expression,p)}var Ume,EBe,tKt=o({"src/services/codefixes/addMissingInvocationForDecorator.ts"(){rr(),rs(),Ume="addMissingInvocationForDecorator",EBe=[F._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code],Xo({errorCodes:EBe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Art(d,u.sourceFile,u.span.start));return[Ro(Ume,s,F.Call_decorator_expression,Ume,F.Add_to_all_uncalled_decorators)]},fixIds:[Ume],getAllCodeActions:t=>f0(t,EBe,(u,s)=>Art(u,s.file,s.start))})}});function Srt(t,u,s){const d=Ca(u,s),f=d.parent;if(!io(f))return H.fail("Tried to add a parameter name to a non-parameter: "+H.formatSyntaxKind(d.kind));const p=f.parent.parameters.indexOf(f);H.assert(!f.type,"Tried to add a parameter name to a parameter that already had one."),H.assert(p>-1,"Parameter not found in parent parameter list.");let E=f.name.getEnd(),v=q.createTypeReferenceNode(f.name,void 0),b=Brt(u,f);for(;b;)v=q.createArrayTypeNode(v),E=b.getEnd(),b=Brt(u,b);const B=q.createParameterDeclaration(f.modifiers,f.dotDotDotToken,"arg"+p,f.questionToken,f.dotDotDotToken&&!oY(v)?q.createArrayTypeNode(v):v,f.initializer);t.replaceRange(u,s4(f.getStart(u),E),B)}function Brt(t,u){const s=ib(u.name,u.parent,t);if(s&&s.kind===23&&_k(s.parent)&&io(s.parent.parent))return s.parent.parent}var qme,_Be,iKt=o({"src/services/codefixes/addNameToNamelessParameter.ts"(){rr(),rs(),qme="addNameToNamelessParameter",_Be=[F.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code],Xo({errorCodes:_Be,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Srt(d,u.sourceFile,u.span.start));return[Ro(qme,s,F.Add_parameter_name,qme,F.Add_names_to_all_parameters_without_names)]},fixIds:[qme],getAllCodeActions:t=>f0(t,_Be,(u,s)=>Srt(u,s.file,s.start))})}});function nKt(t,u,s){var d,f;const p=wrt(yfe(t,u),s);if(!p)return _t;const{source:E,target:v}=p,b=uKt(E,v,s)?s.getTypeAtLocation(v.expression):s.getTypeAtLocation(v);return(f=(d=b.symbol)==null?void 0:d.declarations)!=null&&f.some(B=>zn(B).fileName.match(/\.d\.ts$/))?_t:s.getExactOptionalProperties(b)}function uKt(t,u,s){return Iu(u)&&!!s.getExactOptionalProperties(s.getTypeAtLocation(u.expression)).length&&s.getTypeAtLocation(t)===s.getUndefinedType()}function wrt(t,u){var s;if(t){if(Xn(t.parent)&&t.parent.operatorToken.kind===64)return{source:t.parent.right,target:t.parent.left};if(ua(t.parent)&&t.parent.initializer)return{source:t.parent.initializer,target:t.parent.name};if(Mo(t.parent)){const d=u.getSymbolAtLocation(t.parent.expression);if(!(d!=null&&d.valueDeclaration)||!a7(d.valueDeclaration.kind)||!Wt(t))return;const f=t.parent.arguments.indexOf(t);if(f===-1)return;const p=d.valueDeclaration.parameters[f].name;if(at(p))return{source:t,target:p}}else if(Jc(t.parent)&&at(t.parent.name)||pm(t.parent)){const d=wrt(t.parent.parent,u);if(!d)return;const f=u.getPropertyOfType(u.getTypeAtLocation(d.target),t.parent.name.text),p=(s=f==null?void 0:f.declarations)==null?void 0:s[0];return p?{source:Jc(t.parent)?t.parent.initializer:t.parent.name,target:p}:void 0}}else return}function rKt(t,u){for(const s of u){const d=s.valueDeclaration;if(d&&(Mm(d)||ko(d))&&d.type){const f=q.createUnionTypeNode([...d.type.kind===192?d.type.types:[d.type],q.createTypeReferenceNode("undefined")]);t.replaceNode(d.getSourceFile(),d.type,f)}}}var DBe,Trt,aKt=o({"src/services/codefixes/addOptionalPropertyUndefined.ts"(){rr(),rs(),DBe="addOptionalPropertyUndefined",Trt=[F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code],Xo({errorCodes:Trt,getCodeActions(t){const u=t.program.getTypeChecker(),s=nKt(t.sourceFile,t.span,u);if(!s.length)return;const d=iu.ChangeTracker.with(t,f=>rKt(f,s));return[Cg(DBe,d,F.Add_undefined_to_optional_property_type)]},fixIds:[DBe]})}});function Lrt(t,u){const s=Ca(t,u);return ur(io(s.parent)?s.parent.parent:s.parent,Nrt)}function Nrt(t){return oKt(t)&&Prt(t)}function Prt(t){return $0(t)?t.parameters.some(Prt)||!t.type&&!!VO(t):!t.type&&!!vv(t)}function Mrt(t,u,s){if($0(s)&&(VO(s)||s.parameters.some(d=>!!vv(d)))){if(!s.typeParameters){const f=Oq(s);f.length&&t.insertTypeParameters(u,s,f)}const d=q0(s)&&!a0(s,21,u);d&&t.insertNodeBefore(u,Pn(s.parameters),q.createToken(21));for(const f of s.parameters)if(!f.type){const p=vv(f);p&&t.tryInsertTypeAnnotation(u,f,yt(p,ob,Xr))}if(d&&t.insertNodeAfter(u,Cr(s.parameters),q.createToken(22)),!s.type){const f=VO(s);f&&t.tryInsertTypeAnnotation(u,s,yt(f,ob,Xr))}}else{const d=H.checkDefined(vv(s),"A JSDocType for this declaration should exist");H.assert(!s.type,"The JSDocType decl should have a type"),t.tryInsertTypeAnnotation(u,s,yt(d,ob,Xr))}}function oKt(t){return $0(t)||t.kind===260||t.kind===171||t.kind===172}function ob(t){switch(t.kind){case 319:case 320:return q.createTypeReferenceNode("any",_t);case 323:return lKt(t);case 322:return ob(t.type);case 321:return cKt(t);case 325:return dKt(t);case 324:return hKt(t);case 183:return mKt(t);case 329:return sKt(t);default:const u=rn(t,ob,Dg);return Zn(u,1),u}}function sKt(t){const u=q.createTypeLiteralNode(Vt(t.jsDocPropertyTags,s=>q.createPropertySignature(void 0,at(s.name)?s.name:s.name.right,aV(s)?q.createToken(58):void 0,s.typeExpression&&yt(s.typeExpression.type,ob,Xr)||q.createKeywordTypeNode(133))));return Zn(u,1),u}function lKt(t){return q.createUnionTypeNode([yt(t.type,ob,Xr),q.createTypeReferenceNode("undefined",_t)])}function cKt(t){return q.createUnionTypeNode([yt(t.type,ob,Xr),q.createTypeReferenceNode("null",_t)])}function dKt(t){return q.createArrayTypeNode(yt(t.type,ob,Xr))}function hKt(t){return q.createFunctionTypeNode(_t,t.parameters.map(fKt),t.type??q.createKeywordTypeNode(133))}function fKt(t){const u=t.parent.parameters.indexOf(t),s=t.type.kind===325&&u===t.parent.parameters.length-1,d=t.name||(s?"rest":"arg"+u),f=s?q.createToken(26):t.dotDotDotToken;return q.createParameterDeclaration(t.modifiers,f,d,t.questionToken,yt(t.type,ob,Xr),t.initializer)}function mKt(t){let u=t.typeName,s=t.typeArguments;if(at(t.typeName)){if(xq(t))return pKt(t);let d=t.typeName.text;switch(t.typeName.text){case"String":case"Boolean":case"Object":case"Number":d=d.toLowerCase();break;case"array":case"date":case"promise":d=d[0].toUpperCase()+d.slice(1);break}u=q.createIdentifier(d),(d==="Array"||d==="Promise")&&!t.typeArguments?s=q.createNodeArray([q.createTypeReferenceNode("any",_t)]):s=kn(t.typeArguments,ob,Xr)}return q.createTypeReferenceNode(u,s)}function pKt(t){const u=q.createParameterDeclaration(void 0,void 0,t.typeArguments[0].kind===150?"n":"s",void 0,q.createTypeReferenceNode(t.typeArguments[0].kind===150?"number":"string",[]),void 0),s=q.createTypeLiteralNode([q.createIndexSignature(void 0,[u],t.typeArguments[1])]);return Zn(s,1),s}var Zme,xBe,gKt=o({"src/services/codefixes/annotateWithTypeFromJSDoc.ts"(){rr(),rs(),Zme="annotateWithTypeFromJSDoc",xBe=[F.JSDoc_types_may_be_moved_to_TypeScript_types.code],Xo({errorCodes:xBe,getCodeActions(t){const u=Lrt(t.sourceFile,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,d=>Mrt(d,t.sourceFile,u));return[Ro(Zme,s,F.Annotate_with_type_from_JSDoc,Zme,F.Annotate_everything_with_types_from_JSDoc)]},fixIds:[Zme],getAllCodeActions:t=>f0(t,xBe,(u,s)=>{const d=Lrt(s.file,s.start);d&&Mrt(u,s.file,d)})})}});function zrt(t,u,s,d,f,p){const E=d.getSymbolAtLocation(Ca(u,s));if(!E||!E.valueDeclaration||!(E.flags&19))return;const v=E.valueDeclaration;if(ed(v)||A0(v))t.replaceNode(u,v,k(v));else if(ua(v)){const T=B(v);if(!T)return;const M=v.parent.parent;Ad(v.parent)&&v.parent.declarations.length>1?(t.delete(u,v),t.insertNodeAfter(u,M,T)):t.replaceNode(u,M,T)}function b(T){const M=[];return T.exports&&T.exports.forEach(J=>{if(J.name==="prototype"&&J.declarations){const K=J.declarations[0];if(J.declarations.length===1&&Iu(K)&&Xn(K.parent)&&K.parent.operatorToken.kind===64&&ys(K.parent.right)){const Y=K.parent.right;j(Y.symbol,void 0,M)}}else j(J,[q.createToken(126)],M)}),T.members&&T.members.forEach((J,K)=>{var Y,oe,se,ge;if(K==="constructor"&&J.valueDeclaration){const ae=(ge=(se=(oe=(Y=T.exports)==null?void 0:Y.get("prototype"))==null?void 0:oe.declarations)==null?void 0:se[0])==null?void 0:ge.parent;ae&&Xn(ae)&&ys(ae.right)&&Oe(ae.right.properties,Qme)||t.delete(u,J.valueDeclaration.parent);return}j(J,void 0,M)}),M;function z(J,K){return I0(J)?Iu(J)&&Qme(J)?!0:Co(K):ye(J.properties,Y=>!!(dc(Y)||NU(Y)||Jc(Y)&&A0(Y.initializer)&&Y.name||Qme(Y)))}function j(J,K,Y){if(!(J.flags&8192)&&!(J.flags&4096))return;const oe=J.valueDeclaration,se=oe.parent,ge=se.right;if(!z(oe,ge)||Oe(Y,Se=>{const Ne=Za(Se);return!!(Ne&&at(Ne)&&fu(Ne)===lc(J))}))return;const ae=se.parent&&se.parent.kind===244?se.parent:se;if(t.delete(u,ae),!ge){Y.push(q.createPropertyDeclaration(K,J.name,void 0,void 0,void 0));return}if(I0(oe)&&(A0(ge)||q0(ge))){const Se=Hm(u,f),Ne=EKt(oe,p,Se);Ne&&Ce(Y,ge,Ne);return}else if(ys(ge)){L(ge.properties,Se=>{(dc(Se)||NU(Se))&&Y.push(Se),Jc(Se)&&A0(Se.initializer)&&Ce(Y,Se.initializer,Se.name),Qme(Se)});return}else{if(gh(u)||!Iu(oe))return;const Se=q.createPropertyDeclaration(K,oe.name,void 0,void 0,ge);cw(se.parent,Se,u),Y.push(Se);return}function Ce(Se,Ne,pe){return A0(Ne)?ne(Se,Ne,pe):ve(Se,Ne,pe)}function ne(Se,Ne,pe){const fe=Hi(K,Yme(Ne,134)),xe=q.createMethodDeclaration(fe,void 0,pe,void 0,void 0,Ne.parameters,void 0,Ne.body);cw(se,xe,u),Se.push(xe)}function ve(Se,Ne,pe){const fe=Ne.body;let xe;fe.kind===241?xe=fe:xe=q.createBlock([q.createReturnStatement(fe)]);const Be=Hi(K,Yme(Ne,134)),Ge=q.createMethodDeclaration(Be,void 0,pe,void 0,void 0,Ne.parameters,void 0,xe);cw(se,Ge,u),Se.push(Ge)}}}function B(T){const M=T.initializer;if(!M||!A0(M)||!at(T.name))return;const z=b(T.symbol);M.body&&z.unshift(q.createConstructorDeclaration(void 0,M.parameters,M.body));const j=Yme(T.parent.parent,95);return q.createClassDeclaration(j,T.name,void 0,void 0,z)}function k(T){const M=b(E);T.body&&M.unshift(q.createConstructorDeclaration(void 0,T.parameters,T.body));const z=Yme(T,95);return q.createClassDeclaration(z,T.name,void 0,void 0,M)}}function Yme(t,u){return Hp(t)?ti(t.modifiers,s=>s.kind===u):void 0}function Qme(t){return t.name?!!(at(t.name)&&t.name.text==="constructor"):!1}function EKt(t,u,s){if(Iu(t))return t.name;const d=t.argumentExpression;if(Of(d))return d;if(t0(d))return Lm(d.text,Os(u))?q.createIdentifier(d.text):T7(d)?q.createStringLiteral(d.text,s===0):d}var Xme,vBe,_Kt=o({"src/services/codefixes/convertFunctionToEs6Class.ts"(){rr(),rs(),Xme="convertFunctionToEs6Class",vBe=[F.This_constructor_function_may_be_converted_to_a_class_declaration.code],Xo({errorCodes:vBe,getCodeActions(t){const u=iu.ChangeTracker.with(t,s=>zrt(s,t.sourceFile,t.span.start,t.program.getTypeChecker(),t.preferences,t.program.getCompilerOptions()));return[Ro(Xme,u,F.Convert_function_to_an_ES2015_class,Xme,F.Convert_all_constructor_functions_to_classes)]},fixIds:[Xme],getAllCodeActions:t=>f0(t,vBe,(u,s)=>zrt(u,s.file,s.start,t.program.getTypeChecker(),t.preferences,t.program.getCompilerOptions()))})}});function Irt(t,u,s,d){const f=Ca(u,s);let p;if(at(f)&&ua(f.parent)&&f.parent.initializer&&$0(f.parent.initializer)?p=f.parent.initializer:p=ur(Nm(Ca(u,s)),qfe),!p)return;const E=new Map,v=Qn(p),b=xKt(p,d),B=vKt(p,d,E);if(!$fe(B,d))return;const k=B.body&&po(B.body)?DKt(B.body,d):_t,T={checker:d,synthNamesMap:E,setOfExpressionsToReturn:b,isInJSFile:v};if(!k.length)return;const M=gs(u.text,iE(p).pos);t.insertModifierAt(u,M,134,{suffix:" "});for(const z of k)if(ao(z,function j(J){if(Mo(J)){const K=Dw(J,J,T,!1);if(s9())return!0;t.replaceNodeWithNodes(u,z,K)}else if(!Co(J)&&(ao(J,j),s9()))return!0}),s9())return}function DKt(t,u){const s=[];return y2(t,d=>{UX(d,u)&&s.push(d)}),s}function xKt(t,u){if(!t.body)return new Set;const s=new Set;return ao(t.body,function d(f){xK(f,u,"then")?(s.add($s(f)),L(f.arguments,d)):xK(f,u,"catch")||xK(f,u,"finally")?(s.add($s(f)),ao(f,d)):Ort(f,u)?s.add($s(f)):ao(f,d)}),s}function xK(t,u,s){if(!Mo(t))return!1;const f=NH(t,s)&&u.getTypeAtLocation(t);return!!(f&&u.getPromisedTypeOfPromise(f))}function Rrt(t,u){return(Gu(t)&4)!==0&&t.target===u}function e4e(t,u,s){if(t.expression.name.escapedText==="finally")return;const d=s.getTypeAtLocation(t.expression.expression);if(Rrt(d,s.getPromiseType())||Rrt(d,s.getPromiseLikeType()))if(t.expression.name.escapedText==="then"){if(u===qD(t.arguments,0))return qD(t.typeArguments,0);if(u===qD(t.arguments,1))return qD(t.typeArguments,1)}else return qD(t.typeArguments,0)}function Ort(t,u){return Wt(t)?!!u.getPromisedTypeOfPromise(u.getTypeAtLocation(t)):!1}function vKt(t,u,s){const d=new Map,f=wm();return ao(t,function p(E){if(!at(E)){ao(E,p);return}const v=u.getSymbolAtLocation(E);if(v){const b=u.getTypeAtLocation(E),B=Grt(b,u),k=Zo(v).toString();if(B&&!io(E.parent)&&!$0(E.parent)&&!s.has(k)){const T=Ki(B.parameters),M=(T==null?void 0:T.valueDeclaration)&&io(T.valueDeclaration)&&ur(T.valueDeclaration.name,at)||q.createUniqueName("result",16),z=jrt(M,f);s.set(k,z),f.add(M.text,v)}else if(E.parent&&(io(E.parent)||ua(E.parent)||js(E.parent))){const T=E.text,M=f.get(T);if(M&&M.some(z=>z!==v)){const z=jrt(E,f);d.set(k,z.identifier),s.set(k,z),f.add(T,v)}else{const z=ll(E);s.set(k,$M(z)),f.add(T,v)}}}}),UH(t,!0,p=>{if(js(p)&&at(p.name)&&Rp(p.parent)){const E=u.getSymbolAtLocation(p.name),v=E&&d.get(String(Zo(E)));if(v&&v.text!==(p.name||p.propertyName).getText())return q.createBindingElement(p.dotDotDotToken,p.propertyName||p.name,v,p.initializer)}else if(at(p)){const E=u.getSymbolAtLocation(p),v=E&&d.get(String(Zo(E)));if(v)return q.createIdentifier(v.text)}})}function jrt(t,u){const s=(u.get(t.text)||_t).length,d=s===0?t:q.createIdentifier(t.text+"_"+s);return $M(d)}function s9(){return!xee}function Zv(){return xee=!1,_t}function Dw(t,u,s,d,f){if(xK(u,s.checker,"then"))return yKt(u,qD(u.arguments,0),qD(u.arguments,1),s,d,f);if(xK(u,s.checker,"catch"))return Krt(u,qD(u.arguments,0),s,d,f);if(xK(u,s.checker,"finally"))return bKt(u,qD(u.arguments,0),s,d,f);if(Iu(u))return Dw(t,u.expression,s,d,f);const p=s.checker.getTypeAtLocation(u);return p&&s.checker.getPromisedTypeOfPromise(p)?(H.assertNode(Wl(u).parent,Iu),kKt(t,u,s,d,f)):Zv()}function t4e({checker:t},u){if(u.kind===106)return!0;if(at(u)&&!al(u)&&fu(u)==="undefined"){const s=t.getSymbolAtLocation(u);return!s||t.isUndefinedSymbol(s)}return!1}function CKt(t){const u=q.createUniqueName(t.identifier.text,16);return $M(u)}function Vrt(t,u,s){let d;return s&&!CK(t,u)&&(vK(s)?(d=s,u.synthNamesMap.forEach((f,p)=>{if(f.identifier.text===s.identifier.text){const E=CKt(s);u.synthNamesMap.set(p,E)}})):d=$M(q.createUniqueName("result",16),s.types),kBe(d)),d}function Hrt(t,u,s,d,f){const p=[];let E;if(d&&!CK(t,u)){E=ll(kBe(d));const v=d.types,b=u.checker.getUnionType(v,2),B=u.isInJSFile?void 0:u.checker.typeToTypeNode(b,void 0,void 0),k=[q.createVariableDeclaration(E,void 0,B)],T=q.createVariableStatement(void 0,q.createVariableDeclarationList(k,1));p.push(T)}return p.push(s),f&&E&&SKt(f)&&p.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ll(qrt(f)),void 0,void 0,E)],2))),p}function bKt(t,u,s,d,f){if(!u||t4e(s,u))return Dw(t,t.expression.expression,s,d,f);const p=Vrt(t,s,f),E=Dw(t,t.expression.expression,s,!0,p);if(s9())return Zv();const v=bBe(u,d,void 0,void 0,t,s);if(s9())return Zv();const b=q.createBlock(E),B=q.createBlock(v),k=q.createTryStatement(b,void 0,B);return Hrt(t,s,k,p,f)}function Krt(t,u,s,d,f){if(!u||t4e(s,u))return Dw(t,t.expression.expression,s,d,f);const p=$rt(u,s),E=Vrt(t,s,f),v=Dw(t,t.expression.expression,s,!0,E);if(s9())return Zv();const b=bBe(u,d,E,p,t,s);if(s9())return Zv();const B=q.createBlock(v),k=q.createCatchClause(p&&ll(Dee(p)),q.createBlock(b)),T=q.createTryStatement(B,k,void 0);return Hrt(t,s,T,E,f)}function yKt(t,u,s,d,f,p){if(!u||t4e(d,u))return Krt(t,s,d,f,p);if(s&&!t4e(d,s))return Zv();const E=$rt(u,d),v=Dw(t.expression.expression,t.expression.expression,d,!0,E);if(s9())return Zv();const b=bBe(u,f,p,E,t,d);return s9()?Zv():Hi(v,b)}function kKt(t,u,s,d,f){if(CK(t,s)){let p=ll(u);return d&&(p=q.createAwaitExpression(p)),[q.createReturnStatement(p)]}return i4e(f,q.createAwaitExpression(u),void 0)}function i4e(t,u,s){return!t||Urt(t)?[q.createExpressionStatement(u)]:vK(t)&&t.hasBeenDeclared?[q.createExpressionStatement(q.createAssignment(ll(yBe(t)),u))]:[q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ll(Dee(t)),void 0,s,u)],2))]}function CBe(t,u){if(u&&t){const s=q.createUniqueName("result",16);return[...i4e($M(s),t,u),q.createReturnStatement(s)]}return[q.createReturnStatement(t)]}function bBe(t,u,s,d,f,p){var E;switch(t.kind){case 106:break;case 211:case 80:if(!d)break;const v=q.createCallExpression(ll(t),void 0,vK(d)?[yBe(d)]:[]);if(CK(f,p))return CBe(v,e4e(f,t,p.checker));const b=p.checker.getTypeAtLocation(t),B=p.checker.getSignaturesOfType(b,0);if(!B.length)return Zv();const k=B[0].getReturnType(),T=i4e(s,q.createAwaitExpression(v),e4e(f,t,p.checker));return s&&s.types.push(p.checker.getAwaitedType(k)||k),T;case 218:case 219:{const M=t.body,z=(E=Grt(p.checker.getTypeAtLocation(t),p.checker))==null?void 0:E.getReturnType();if(po(M)){let j=[],J=!1;for(const K of M.statements)if(Op(K))if(J=!0,UX(K,p.checker))j=j.concat(Jrt(p,K,u,s));else{const Y=z&&K.expression?Wrt(p.checker,z,K.expression):K.expression;j.push(...CBe(Y,e4e(f,t,p.checker)))}else{if(u&&y2(K,J3))return Zv();j.push(K)}return CK(f,p)?j.map(K=>ll(K)):FKt(j,s,p,J)}else{const j=Ufe(M,p.checker)?Jrt(p,q.createReturnStatement(M),u,s):_t;if(j.length>0)return j;if(z){const J=Wrt(p.checker,z,M);if(CK(f,p))return CBe(J,e4e(f,t,p.checker));{const K=i4e(s,J,void 0);return s&&s.types.push(p.checker.getAwaitedType(z)||z),K}}else return Zv()}}default:return Zv()}return _t}function Wrt(t,u,s){const d=ll(s);return t.getPromisedTypeOfPromise(u)?q.createAwaitExpression(d):d}function Grt(t,u){const s=u.getSignaturesOfType(t,0);return qu(s)}function FKt(t,u,s,d){const f=[];for(const p of t)if(Op(p)){if(p.expression){const E=Ort(p.expression,s.checker)?q.createAwaitExpression(p.expression):p.expression;u===void 0?f.push(q.createExpressionStatement(E)):vK(u)&&u.hasBeenDeclared?f.push(q.createExpressionStatement(q.createAssignment(yBe(u),E))):f.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(Dee(u),void 0,void 0,E)],2)))}}else f.push(ll(p));return!d&&u!==void 0&&f.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(Dee(u),void 0,void 0,q.createIdentifier("undefined"))],2))),f}function Jrt(t,u,s,d){let f=[];return ao(u,function p(E){if(Mo(E)){const v=Dw(E,E,t,s,d);if(f=f.concat(v),f.length>0)return}else Co(E)||ao(E,p)}),f}function $rt(t,u){const s=[];let d;if($0(t)){if(t.parameters.length>0){const b=t.parameters[0].name;d=f(b)}}else at(t)?d=p(t):Iu(t)&&at(t.name)&&(d=p(t.name));if(!d||"identifier"in d&&d.identifier.text==="undefined")return;return d;function f(b){if(at(b))return p(b);const B=ju(b.elements,k=>Fd(k)?[]:[f(k.name)]);return AKt(b,B)}function p(b){const B=v(b),k=E(B);return k&&u.synthNamesMap.get(Zo(k).toString())||$M(b,s)}function E(b){var B;return((B=ur(b,Zg))==null?void 0:B.symbol)??u.checker.getSymbolAtLocation(b)}function v(b){return b.original?b.original:b}}function Urt(t){return t?vK(t)?!t.identifier.text:ye(t.elements,Urt):!0}function $M(t,u=[]){return{kind:0,identifier:t,types:u,hasBeenDeclared:!1,hasBeenReferenced:!1}}function AKt(t,u=_t,s=[]){return{kind:1,bindingPattern:t,elements:u,types:s}}function yBe(t){return t.hasBeenReferenced=!0,t.identifier}function Dee(t){return vK(t)?kBe(t):qrt(t)}function qrt(t){for(const u of t.elements)Dee(u);return t.bindingPattern}function kBe(t){return t.hasBeenDeclared=!0,t.identifier}function vK(t){return t.kind===0}function SKt(t){return t.kind===1}function CK(t,u){return!!t.original&&u.setOfExpressionsToReturn.has($s(t.original))}var n4e,FBe,xee,BKt=o({"src/services/codefixes/convertToAsyncFunction.ts"(){rr(),rs(),n4e="convertToAsyncFunction",FBe=[F.This_may_be_converted_to_an_async_function.code],xee=!0,Xo({errorCodes:FBe,getCodeActions(t){xee=!0;const u=iu.ChangeTracker.with(t,s=>Irt(s,t.sourceFile,t.span.start,t.program.getTypeChecker()));return xee?[Ro(n4e,u,F.Convert_to_async_function,n4e,F.Convert_all_to_async_functions)]:[]},fixIds:[n4e],getAllCodeActions:t=>f0(t,FBe,(u,s)=>Irt(u,s.file,s.start,t.program.getTypeChecker()))})}});function wKt(t,u,s,d,f){var p;for(const E of t.imports){const v=(p=s.getResolvedModule(t,E.text,xg(t,E)))==null?void 0:p.resolvedModule;if(!v||v.resolvedFileName!==u.fileName)continue;const b=tP(E);switch(b.kind){case 271:d.replaceNode(t,b,g5(b.name,void 0,E,f));break;case 213:xf(b,!1)&&d.replaceNode(t,b,q.createPropertyAccessExpression(ll(b),"default"));break}}}function TKt(t,u,s,d,f){const p={original:WKt(t),additional:new Set},E=LKt(t,u,p);NKt(t,E,s);let v=!1,b;for(const B of ti(t.statements,Jl)){const k=Yrt(t,B,s,u,p,d,f);k&&qU(k,b??(b=new Map))}for(const B of ti(t.statements,k=>!Jl(k))){const k=PKt(t,B,u,s,p,d,E,b,f);v=v||k}return b==null||b.forEach((B,k)=>{s.replaceNode(t,k,B)}),v}function LKt(t,u,s){const d=new Map;return Zrt(t,f=>{const{text:p}=f.name;!d.has(p)&&(wq(f.name)||u.resolveName(p,f,111551,!0))&&d.set(p,u4e(`_${p}`,s))}),d}function NKt(t,u,s){Zrt(t,(d,f)=>{if(f)return;const{text:p}=d.name;s.replaceNode(t,d,q.createIdentifier(u.get(p)||p))})}function Zrt(t,u){t.forEachChild(function s(d){if(Iu(d)&&q2(t,d.expression)&&at(d.name)){const{parent:f}=d;u(d,Xn(f)&&f.left===d&&f.operatorToken.kind===64)}d.forEachChild(s)})}function PKt(t,u,s,d,f,p,E,v,b){switch(u.kind){case 243:return Yrt(t,u,d,s,f,p,b),!1;case 244:{const{expression:B}=u;switch(B.kind){case 213:return xf(B,!0)&&d.replaceNode(t,u,g5(void 0,void 0,B.arguments[0],b)),!1;case 226:{const{operatorToken:k}=B;return k.kind===64&&zKt(t,s,B,d,E,v)}}}default:return!1}}function Yrt(t,u,s,d,f,p,E){const{declarationList:v}=u;let b=!1;const B=Vt(v.declarations,k=>{const{name:T,initializer:M}=k;if(M){if(q2(t,M))return b=!0,UM([]);if(xf(M,!0))return b=!0,HKt(T,M.arguments[0],d,f,p,E);if(Iu(M)&&xf(M.expression,!0))return b=!0,MKt(T,M.name.text,M.expression.arguments[0],f,E)}return UM([q.createVariableStatement(void 0,q.createVariableDeclarationList([k],v.flags))])});if(b){s.replaceNodeWithNodes(t,u,ju(B,T=>T.newImports));let k;return L(B,T=>{T.useSitesToUnqualify&&qU(T.useSitesToUnqualify,k??(k=new Map))}),k}}function MKt(t,u,s,d,f){switch(t.kind){case 206:case 207:{const p=u4e(u,d);return UM([tat(p,u,s,f),r4e(void 0,t,q.createIdentifier(p))])}case 80:return UM([tat(t.text,u,s,f)]);default:return H.assertNever(t,`Convert to ES module got invalid syntax form ${t.kind}`)}}function zKt(t,u,s,d,f,p){const{left:E,right:v}=s;if(!Iu(E))return!1;if(q2(t,E))if(q2(t,v))d.delete(t,s.parent);else{const b=ys(v)?IKt(v,p):xf(v,!0)?OKt(v.arguments[0],u):void 0;return b?(d.replaceNodeWithNodes(t,s.parent,b[0]),b[1]):(d.replaceRangeWithText(t,s4(E.getStart(t),v.pos),"export default"),!0)}else q2(t,E.expression)&&RKt(t,s,d,f);return!1}function IKt(t,u){const s=Zr(t.properties,d=>{switch(d.kind){case 177:case 178:case 304:case 305:return;case 303:return at(d.name)?VKt(d.name.text,d.initializer,u):void 0;case 174:return at(d.name)?eat(d.name.text,[q.createToken(95)],d,u):void 0;default:H.assertNever(d,`Convert to ES6 got invalid prop kind ${d.kind}`)}});return s&&[s,!1]}function RKt(t,u,s,d){const{text:f}=u.left.name,p=d.get(f);if(p!==void 0){const E=[r4e(void 0,p,u.right),BBe([q.createExportSpecifier(!1,p,f)])];s.replaceNodeWithNodes(t,u.parent,E)}else jKt(u,t,s)}function OKt(t,u){const s=t.text,d=u.getSymbolAtLocation(t),f=d?d.exports:iU;return f.has("export=")?[[ABe(s)],!0]:f.has("default")?f.size>1?[[Qrt(s),ABe(s)],!0]:[[ABe(s)],!0]:[[Qrt(s)],!1]}function Qrt(t){return BBe(void 0,t)}function ABe(t){return BBe([q.createExportSpecifier(!1,void 0,"default")],t)}function jKt({left:t,right:u,parent:s},d,f){const p=t.name.text;if((A0(u)||q0(u)||Xd(u))&&(!u.name||u.name.text===p)){f.replaceRange(d,{pos:t.getStart(d),end:u.getStart(d)},q.createToken(95),{suffix:" "}),u.name||f.insertName(d,u,p);const E=a0(s,27,d);E&&f.delete(d,E)}else f.replaceNodeRangeWithNodes(d,t.expression,a0(t,25,d),[q.createToken(95),q.createToken(87)],{joiner:" ",suffix:" "})}function VKt(t,u,s){const d=[q.createToken(95)];switch(u.kind){case 218:{const{name:p}=u;if(p&&p.text!==t)return f()}case 219:return eat(t,d,u,s);case 231:return JKt(t,d,u,s);default:return f()}function f(){return r4e(d,q.createIdentifier(t),SBe(u,s))}}function SBe(t,u){if(!u||!Oe(ga(u.keys()),d=>Vm(t,d)))return t;return Ha(t)?gfe(t,!0,s):UH(t,!0,s);function s(d){if(d.kind===211){const f=u.get(d);return u.delete(d),f}}}function HKt(t,u,s,d,f,p){switch(t.kind){case 206:{const E=Zr(t.elements,v=>v.dotDotDotToken||v.initializer||v.propertyName&&!at(v.propertyName)||!at(v.name)?void 0:iat(v.propertyName&&v.propertyName.text,v.name.text));if(E)return UM([g5(void 0,E,u,p)])}case 207:{const E=u4e(HBe(u.text,f),d);return UM([g5(q.createIdentifier(E),void 0,u,p),r4e(void 0,ll(t),q.createIdentifier(E))])}case 80:return KKt(t,u,s,d,p);default:return H.assertNever(t,`Convert to ES module got invalid name kind ${t.kind}`)}}function KKt(t,u,s,d,f){const p=s.getSymbolAtLocation(t),E=new Map;let v=!1,b;for(const k of d.original.get(t.text)){if(s.getSymbolAtLocation(k)!==p||k===t)continue;const{parent:T}=k;if(Iu(T)){const{name:{text:M}}=T;if(M==="default"){v=!0;const z=k.getText();(b??(b=new Map)).set(T,q.createIdentifier(z))}else{H.assert(T.expression===k,"Didn't expect expression === use");let z=E.get(M);z===void 0&&(z=u4e(M,d),E.set(M,z)),(b??(b=new Map)).set(T,q.createIdentifier(z))}}else v=!0}const B=E.size===0?void 0:ga(zr(E.entries(),([k,T])=>q.createImportSpecifier(!1,k===T?void 0:q.createIdentifier(k),q.createIdentifier(T))));return B||(v=!0),UM([g5(v?ll(t):void 0,B,u,f)],b)}function u4e(t,u){for(;u.original.has(t)||u.additional.has(t);)t=`_${t}`;return u.additional.add(t),t}function WKt(t){const u=wm();return Xrt(t,s=>u.add(s.text,s)),u}function Xrt(t,u){at(t)&&GKt(t)&&u(t),t.forEachChild(s=>Xrt(s,u))}function GKt(t){const{parent:u}=t;switch(u.kind){case 211:return u.name!==t;case 208:return u.propertyName!==t;case 276:return u.propertyName!==t;default:return!0}}function eat(t,u,s,d){return q.createFunctionDeclaration(Hi(u,nb(s.modifiers)),ll(s.asteriskToken),t,nb(s.typeParameters),nb(s.parameters),ll(s.type),q.converters.convertToFunctionBlock(SBe(s.body,d)))}function JKt(t,u,s,d){return q.createClassDeclaration(Hi(u,nb(s.modifiers)),t,nb(s.typeParameters),nb(s.heritageClauses),SBe(s.members,d))}function tat(t,u,s,d){return u==="default"?g5(q.createIdentifier(t),void 0,s,d):g5(void 0,[iat(u,t)],s,d)}function iat(t,u){return q.createImportSpecifier(!1,t!==void 0&&t!==u?q.createIdentifier(t):void 0,q.createIdentifier(u))}function r4e(t,u,s){return q.createVariableStatement(t,q.createVariableDeclarationList([q.createVariableDeclaration(u,void 0,void 0,s)],2))}function BBe(t,u){return q.createExportDeclaration(void 0,!1,t&&q.createNamedExports(t),u===void 0?void 0:q.createStringLiteral(u))}function UM(t,u){return{newImports:t,useSitesToUnqualify:u}}var $Kt=o({"src/services/codefixes/convertToEsModule.ts"(){rr(),rs(),Xo({errorCodes:[F.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions(t){const{sourceFile:u,program:s,preferences:d}=t,f=iu.ChangeTracker.with(t,p=>{if(TKt(u,s.getTypeChecker(),p,Os(s.getCompilerOptions()),Hm(u,d)))for(const v of s.getSourceFiles())wKt(v,u,s,p,Hm(v,d))});return[Cg("convertToEsModule",f,F.Convert_to_ES_module)]}})}});function nat(t,u){const s=Tn(Ca(t,u),vf);return H.assert(!!s,"Expected position to be owned by a qualified name."),at(s.left)?s:void 0}function uat(t,u,s){const d=s.right.text,f=q.createIndexedAccessTypeNode(q.createTypeReferenceNode(s.left,void 0),q.createLiteralTypeNode(q.createStringLiteral(d)));t.replaceNode(u,s,f)}var a4e,wBe,UKt=o({"src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts"(){rr(),rs(),a4e="correctQualifiedNameToIndexedAccessType",wBe=[F.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.code],Xo({errorCodes:wBe,getCodeActions(t){const u=nat(t.sourceFile,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,f=>uat(f,t.sourceFile,u)),d=`${u.left.text}["${u.right.text}"]`;return[Ro(a4e,s,[F.Rewrite_as_the_indexed_access_type_0,d],a4e,F.Rewrite_all_as_indexed_access_types)]},fixIds:[a4e],getAllCodeActions:t=>f0(t,wBe,(u,s)=>{const d=nat(s.file,s.start);d&&uat(u,s.file,d)})})}});function rat(t,u){return ur(Ca(u,t.start).parent,eh)}function aat(t,u,s){if(!u)return;const d=u.parent,f=d.parent,p=qKt(u,s);if(p.length===d.elements.length)t.insertModifierBefore(s.sourceFile,156,d);else{const E=q.updateExportDeclaration(f,f.modifiers,!1,q.updateNamedExports(d,ti(d.elements,b=>!kt(p,b))),f.moduleSpecifier,void 0),v=q.createExportDeclaration(void 0,!0,q.createNamedExports(p),f.moduleSpecifier,void 0);t.replaceNode(s.sourceFile,f,E,{leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Exclude}),t.insertNodeAfter(s.sourceFile,f,v)}}function qKt(t,u){const s=t.parent;if(s.elements.length===1)return s.elements;const d=LSe(of(s),u.program.getSemanticDiagnostics(u.sourceFile,u.cancellationToken));return ti(s.elements,f=>{var p;return f===t||((p=TSe(f,d))==null?void 0:p.code)===o4e[0]})}var o4e,s4e,ZKt=o({"src/services/codefixes/convertToTypeOnlyExport.ts"(){rr(),rs(),o4e=[F.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code],s4e="convertToTypeOnlyExport",Xo({errorCodes:o4e,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>aat(d,rat(u.span,u.sourceFile),u));if(s.length)return[Ro(s4e,s,F.Convert_to_type_only_export,s4e,F.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[s4e],getAllCodeActions:function(u){const s=new Map;return f0(u,o4e,(d,f)=>{const p=rat(f,u.sourceFile);p&&Ip(s,$s(p.parent.parent))&&aat(d,p,u)})}})}});function oat(t,u){const{parent:s}=Ca(t,u);return bf(s)||Sd(s)&&s.importClause?s:void 0}function sat(t,u,s){if(t.parent.parent.name)return!1;const d=t.parent.elements.filter(p=>!p.isTypeOnly);if(d.length===1)return!0;const f=s.getTypeChecker();for(const p of d)if(Z0.Core.eachSymbolReferenceInFile(p.name,f,u,v=>!Tv(v)))return!1;return!0}function vee(t,u,s){var d;if(bf(s))t.replaceNode(u,s,q.updateImportSpecifier(s,!0,s.propertyName,s.name));else{const f=s.importClause;if(f.name&&f.namedBindings)t.replaceNodeWithNodes(u,s,[q.createImportDeclaration(nb(s.modifiers,!0),q.createImportClause(!0,ll(f.name,!0),void 0),ll(s.moduleSpecifier,!0),ll(s.attributes,!0)),q.createImportDeclaration(nb(s.modifiers,!0),q.createImportClause(!0,void 0,ll(f.namedBindings,!0)),ll(s.moduleSpecifier,!0),ll(s.attributes,!0))]);else{const p=((d=f.namedBindings)==null?void 0:d.kind)===275?q.updateNamedImports(f.namedBindings,Lu(f.namedBindings.elements,v=>q.updateImportSpecifier(v,!1,v.propertyName,v.name))):f.namedBindings,E=q.updateImportDeclaration(s,s.modifiers,q.updateImportClause(f,!0,f.name,p),s.moduleSpecifier,s.attributes);t.replaceNode(u,s,E)}}}var TBe,Cee,YKt=o({"src/services/codefixes/convertToTypeOnlyImport.ts"(){rr(),rs(),TBe=[F.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code,F._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code],Cee="convertToTypeOnlyImport",Xo({errorCodes:TBe,getCodeActions:function(u){var s;const d=oat(u.sourceFile,u.span.start);if(d){const f=iu.ChangeTracker.with(u,v=>vee(v,u.sourceFile,d)),p=d.kind===276&&sat(d,u.sourceFile,u.program)?iu.ChangeTracker.with(u,v=>vee(v,u.sourceFile,d.parent.parent.parent)):void 0,E=Ro(Cee,f,d.kind===276?[F.Use_type_0,((s=d.propertyName)==null?void 0:s.text)??d.name.text]:F.Use_import_type,Cee,F.Fix_all_with_type_only_imports);return Oe(p)?[Cg(Cee,p,F.Use_import_type),E]:[E]}},fixIds:[Cee],getAllCodeActions:function(u){const s=new Set;return f0(u,TBe,(d,f)=>{const p=oat(f.file,f.start);(p==null?void 0:p.kind)===272&&!s.has(p)?(vee(d,f.file,p),s.add(p)):(p==null?void 0:p.kind)===276&&!s.has(p.parent.parent.parent)&&sat(p,f.file,u.program)?(vee(d,f.file,p.parent.parent.parent),s.add(p.parent.parent.parent)):(p==null?void 0:p.kind)===276&&vee(d,f.file,p)})}})}});function lat(t,u,s,d,f=!1){if(!PB(u))return;const p=XKt(u);if(!p)return;const E=u.parent,{leftSibling:v,rightSibling:b}=QKt(u);let B=E.getStart(),k="";!v&&E.comment&&(B=cat(E,E.getStart(),u.getStart()),k=`${d} */${d}`),v&&(f&&PB(v)?(B=u.getStart(),k=""):(B=cat(E,v.getStart(),u.getStart()),k=`${d} */${d}`));let T=E.getEnd(),M="";b&&(f&&PB(b)?(T=b.getStart(),M=`${d}${d}`):(T=b.getStart(),M=`${d}/**${d} * `)),t.replaceRange(s,{pos:B,end:T},p,{prefix:k,suffix:M})}function QKt(t){const u=t.parent,s=u.getChildCount()-1,d=u.getChildren().findIndex(E=>E.getStart()===t.getStart()&&E.getEnd()===t.getEnd()),f=d>0?u.getChildAt(d-1):void 0,p=d0;f--)if(!/[*/\s]/g.test(d.substring(f-1,f)))return u+f;return s}function XKt(t){var u;const{typeExpression:s}=t;if(!s)return;const d=(u=t.name)==null?void 0:u.getText();if(d){if(s.kind===329)return eWt(d,s);if(s.kind===316)return tWt(d,s)}}function eWt(t,u){const s=dat(u);if(Oe(s))return q.createInterfaceDeclaration(void 0,t,void 0,void 0,s)}function tWt(t,u){const s=ll(u.type);if(s)return q.createTypeAliasDeclaration(void 0,q.createIdentifier(t),void 0,s)}function dat(t){const u=t.jsDocPropertyTags;return Oe(u)?qi(u,d=>{var f;const p=iWt(d),E=(f=d.typeExpression)==null?void 0:f.type,v=d.isBracketed;let b;if(E&&K7(E)){const B=dat(E);b=q.createTypeLiteralNode(B)}else E&&(b=ll(E));if(b&&p){const B=v?q.createToken(58):void 0;return q.createPropertySignature(void 0,p,B,b)}}):void 0}function iWt(t){return t.name.kind===80?t.name.text:t.name.right.text}function nWt(t){return lm(t)?ju(t.jsDoc,u=>{var s;return(s=u.tags)==null?void 0:s.filter(d=>PB(d))}):[]}var l4e,LBe,uWt=o({"src/services/codefixes/convertTypedefToType.ts"(){rr(),rs(),l4e="convertTypedefToType",LBe=[F.JSDoc_typedef_may_be_converted_to_TypeScript_type.code],Xo({fixIds:[l4e],errorCodes:LBe,getCodeActions(t){const u=E5(t.host,t.formatContext.options),s=Ca(t.sourceFile,t.span.start);if(!s)return;const d=iu.ChangeTracker.with(t,f=>lat(f,s,t.sourceFile,u));if(d.length>0)return[Ro(l4e,d,F.Convert_typedef_to_TypeScript_type,l4e,F.Convert_all_typedef_to_TypeScript_types)]},getAllCodeActions:t=>f0(t,LBe,(u,s)=>{const d=E5(t.host,t.formatContext.options),f=Ca(s.file,s.start);f&&lat(u,f,s.file,d,!0)})})}});function hat(t,u){const s=Ca(t,u);if(at(s)){const d=Po(s.parent.parent,Mm),f=s.getText(t);return{container:Po(d.parent,fm),typeNode:d.type,constraint:f,name:f==="K"?"P":"K"}}}function fat(t,u,{container:s,typeNode:d,constraint:f,name:p}){t.replaceNode(u,s,q.createMappedTypeNode(void 0,q.createTypeParameterDeclaration(void 0,p,q.createTypeReferenceNode(f)),void 0,void 0,d,void 0))}var c4e,NBe,rWt=o({"src/services/codefixes/convertLiteralTypeToMappedType.ts"(){rr(),rs(),c4e="convertLiteralTypeToMappedType",NBe=[F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code],Xo({errorCodes:NBe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=hat(s,d.start);if(!f)return;const{name:p,constraint:E}=f,v=iu.ChangeTracker.with(u,b=>fat(b,s,f));return[Ro(c4e,v,[F.Convert_0_to_1_in_0,E,p],c4e,F.Convert_all_type_literals_to_mapped_type)]},fixIds:[c4e],getAllCodeActions:t=>f0(t,NBe,(u,s)=>{const d=hat(s.file,s.start);d&&fat(u,s.file,d)})})}});function mat(t,u){return H.checkDefined(Yd(Ca(t,u)),"There should be a containing class")}function pat(t){return!t.valueDeclaration||!(Eh(t.valueDeclaration)&2)}function gat(t,u,s,d,f,p){const E=t.program.getTypeChecker(),v=aWt(d,E),b=E.getTypeAtLocation(u),k=E.getPropertiesOfType(b).filter(Q$(pat,K=>!v.has(K.escapedName))),T=E.getTypeAtLocation(d),M=Le(d.members,K=>hc(K));T.getNumberIndexType()||j(b,1),T.getStringIndexType()||j(b,0);const z=l9(s,t.program,p,t.host);jwe(d,k,s,t,p,z,K=>J(s,d,K)),z.writeFixes(f);function j(K,Y){const oe=E.getIndexInfoOfType(K,Y);oe&&J(s,d,E.indexInfoToIndexSignatureDeclaration(oe,d,void 0,xw(t)))}function J(K,Y,oe){M?f.insertNodeAfter(K,M,oe):f.insertMemberAtStart(K,Y,oe)}}function aWt(t,u){const s=Qg(t);if(!s)return Vo();const d=u.getTypeAtLocation(s),f=u.getPropertiesOfType(d);return Vo(f.filter(pat))}var PBe,d4e,oWt=o({"src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts"(){rr(),rs(),PBe=[F.Class_0_incorrectly_implements_interface_1.code,F.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],d4e="fixClassIncorrectlyImplementsInterface",Xo({errorCodes:PBe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=mat(u,s.start);return qi(iB(d),f=>{const p=iu.ChangeTracker.with(t,E=>gat(t,f,u,d,E,t.preferences));return p.length===0?void 0:Ro(d4e,p,[F.Implement_interface_0,f.getText(u)],d4e,F.Implement_all_unimplemented_interfaces)})},fixIds:[d4e],getAllCodeActions(t){const u=new Map;return f0(t,PBe,(s,d)=>{const f=mat(d.file,d.start);if(Ip(u,$s(f)))for(const p of iB(f))gat(t,p,d.file,f,s,t.preferences)})}})}});function l9(t,u,s,d,f){return Eat(t,u,!1,s,d,f)}function Eat(t,u,s,d,f,p){const E=u.getCompilerOptions(),v=[],b=[],B=new Map,k=new Map;return{addImportFromDiagnostic:T,addImportFromExportedSymbol:M,writeFixes:j,hasFixes:J};function T(K,Y){const oe=bat(Y,K.code,K.start,s);!oe||!oe.length||z(Pn(oe))}function M(K,Y){const oe=H.checkDefined(K.parent),se=IX(K,Os(E)),ge=u.getTypeChecker(),ae=ge.getMergedSymbol(X1(K,ge)),Ce=xat(t,ae,se,oe,!1,u,f,d,p),ne=f4e(t,u),ve=_at(t,H.checkDefined(Ce),u,void 0,!!Y,ne,f,d);ve&&z({fix:ve,symbolName:se,errorIdentifierText:void 0})}function z(K){var Y,oe;const{fix:se,symbolName:ge}=K;switch(se.kind){case 0:v.push(se);break;case 1:b.push(se);break;case 2:{const{importClauseOrBindingPattern:ve,importKind:Se,addAsTypeOnly:Ne}=se,pe=String($s(ve));let fe=B.get(pe);if(fe||B.set(pe,fe={importClauseOrBindingPattern:ve,defaultImport:void 0,namedImports:new Map}),Se===0){const xe=fe==null?void 0:fe.namedImports.get(ge);fe.namedImports.set(ge,ae(xe,Ne))}else H.assert(fe.defaultImport===void 0||fe.defaultImport.name===ge,"(Add to Existing) Default import should be missing or match symbolName"),fe.defaultImport={name:ge,addAsTypeOnly:ae((Y=fe.defaultImport)==null?void 0:Y.addAsTypeOnly,Ne)};break}case 3:{const{moduleSpecifier:ve,importKind:Se,useRequire:Ne,addAsTypeOnly:pe}=se,fe=Ce(ve,Se,Ne,pe);switch(H.assert(fe.useRequire===Ne,"(Add new) Tried to add an `import` and a `require` for the same module"),Se){case 1:H.assert(fe.defaultImport===void 0||fe.defaultImport.name===ge,"(Add new) Default import should be missing or match symbolName"),fe.defaultImport={name:ge,addAsTypeOnly:ae((oe=fe.defaultImport)==null?void 0:oe.addAsTypeOnly,pe)};break;case 0:const xe=(fe.namedImports||(fe.namedImports=new Map)).get(ge);fe.namedImports.set(ge,ae(xe,pe));break;case 3:case 2:H.assert(fe.namespaceLikeImport===void 0||fe.namespaceLikeImport.name===ge,"Namespacelike import shoudl be missing or match symbolName"),fe.namespaceLikeImport={importKind:Se,name:ge,addAsTypeOnly:pe};break}break}case 4:break;default:H.assertNever(se,`fix wasn't never - got kind ${se.kind}`)}function ae(ve,Se){return Math.max(ve??0,Se)}function Ce(ve,Se,Ne,pe){const fe=ne(ve,!0),xe=ne(ve,!1),Be=k.get(fe),Ge=k.get(xe),Ae={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:Ne};return Se===1&&pe===2?Be||(k.set(fe,Ae),Ae):pe===1&&(Be||Ge)?Be||Ge:Ge||(k.set(xe,Ae),Ae)}function ne(ve,Se){return`${Se?1:0}|${ve}`}}function j(K,Y){let oe;t.imports.length===0&&Y!==void 0?oe=Y:oe=Hm(t,d);for(const ge of v)OBe(K,t,ge);for(const ge of b)wat(K,t,ge,oe);B.forEach(({importClauseOrBindingPattern:ge,defaultImport:ae,namedImports:Ce})=>{Bat(K,t,ge,ae,ga(Ce.entries(),([ne,ve])=>({addAsTypeOnly:ve,name:ne})),d)});let se;k.forEach(({useRequire:ge,defaultImport:ae,namedImports:Ce,namespaceLikeImport:ne},ve)=>{const Se=ve.slice(2),pe=(ge?Nat:Lat)(Se,oe,ae,Ce&&ga(Ce.entries(),([fe,xe])=>({addAsTypeOnly:xe,name:fe})),ne,E,d);se=vo(se,pe)}),se&&MM(K,t,se,!0,d)}function J(){return v.length>0||b.length>0||B.size>0||k.size>0}}function sWt(t,u,s,d){const f=HM(t,d,s),p=vat(u.getTypeChecker(),t,u.getCompilerOptions());return{getModuleSpecifierForBestExportInfo:E};function E(v,b,B,k){const{fixes:T,computedWithoutCacheCount:M}=h4e(v,b,B,!1,u,t,s,d,p,k),z=yat(T,t,u,f,s);return z&&{...z,computedWithoutCacheCount:M}}}function lWt(t,u,s,d,f,p,E,v,b,B,k,T){let M;s?(M=tK(d,E,v,k,T).get(d.path,s),H.assertIsDefined(M,"Some exportInfo should match the specified exportMapKey")):(M=kse($4(u.name))?[dWt(t,f,u,v,E)]:xat(d,t,f,u,p,v,E,k,T),H.assertIsDefined(M,"Some exportInfo should match the specified symbol / moduleSymbol"));const z=f4e(d,v),j=Tv(Ca(d,B)),J=H.checkDefined(_at(d,M,v,B,j,z,E,k));return{moduleSpecifier:J.moduleSpecifier,codeAction:Dat(RBe({host:E,formatContext:b,preferences:k},d,f,J,!1,v,k))}}function cWt(t,u,s,d,f,p){const E=s.getCompilerOptions(),v=bd(IBe(t,s.getTypeChecker(),u,E)),b=Aat(t,u,v,s),B=v!==u.text;return b&&Dat(RBe({host:d,formatContext:f,preferences:p},t,v,b,B,s,p))}function _at(t,u,s,d,f,p,E,v){const b=HM(t,v,E);return yat(h4e(u,d,f,p,s,t,E,v).fixes,t,s,b,E)}function Dat({description:t,changes:u,commands:s}){return{description:t,changes:u,commands:s}}function xat(t,u,s,d,f,p,E,v,b){const B=Cat(p,E);return tK(t,E,p,v,b).search(t.path,f,k=>k===s,k=>{if(X1(k[0].symbol,B(k[0].isFromPackageJson))===u&&k.some(T=>T.moduleSymbol===d||T.symbol.parent===d))return k})}function dWt(t,u,s,d,f){var p,E;const v=d.getCompilerOptions(),b=k(d.getTypeChecker(),!1);if(b)return b;const B=(E=(p=f.getPackageJsonAutoImportProvider)==null?void 0:p.call(f))==null?void 0:E.getTypeChecker();return H.checkDefined(B&&k(B,!0),"Could not find symbol in specified module for code actions");function k(T,M){const z=WX(s,T,v);if(z&&X1(z.symbol,T)===t)return{symbol:z.symbol,moduleSymbol:s,moduleFileName:void 0,exportKind:z.exportKind,targetFlags:X1(t,T).flags,isFromPackageJson:M};const j=T.tryGetMemberInModuleExportsAndProperties(u,s);if(j&&X1(j,T)===t)return{symbol:j,moduleSymbol:s,moduleFileName:void 0,exportKind:0,targetFlags:X1(t,T).flags,isFromPackageJson:M}}}function h4e(t,u,s,d,f,p,E,v,b=vat(f.getTypeChecker(),p,f.getCompilerOptions()),B){const k=f.getTypeChecker(),T=ju(t,b.getImportsForExportInfo),M=u!==void 0&&hWt(T,u),z=mWt(T,s,k,f.getCompilerOptions());if(z)return{computedWithoutCacheCount:0,fixes:[...M?[M]:_t,z]};const{fixes:j,computedWithoutCacheCount:J=0}=gWt(t,T,f,p,u,s,d,E,v,B);return{computedWithoutCacheCount:J,fixes:[...M?[M]:_t,...j]}}function hWt(t,u){return G(t,({declaration:s,importKind:d})=>{var f;if(d!==0)return;const p=fWt(s),E=p&&((f=Z8(s))==null?void 0:f.text);if(E)return{kind:0,namespacePrefix:p,usagePosition:u,moduleSpecifier:E}})}function fWt(t){var u,s,d;switch(t.kind){case 260:return(u=ur(t.name,at))==null?void 0:u.text;case 271:return t.name.text;case 272:return(d=ur((s=t.importClause)==null?void 0:s.namedBindings,Jx))==null?void 0:d.name.text;default:return H.assertNever(t)}}function MBe(t,u,s,d,f,p){return t?u&&p.importsNotUsedAsValues===2||xle(p)&&(!(d&111551)||f.getTypeOnlyAliasDeclaration(s))?2:1:4}function mWt(t,u,s,d){let f;for(const E of t){const v=p(E);if(!v)continue;const b=RU(v.importClauseOrBindingPattern);if(v.addAsTypeOnly!==4&&b||v.addAsTypeOnly===4&&!b)return v;f??(f=v)}return f;function p({declaration:E,importKind:v,symbol:b,targetFlags:B}){if(v===3||v===2||E.kind===271)return;if(E.kind===260)return(v===0||v===1)&&E.name.kind===206?{kind:2,importClauseOrBindingPattern:E.name,importKind:v,moduleSpecifier:E.initializer.arguments[0].text,addAsTypeOnly:4}:void 0;const{importClause:k}=E;if(!k||!t0(E.moduleSpecifier))return;const{name:T,namedBindings:M}=k;if(k.isTypeOnly&&!(v===0&&M))return;const z=MBe(u,!1,b,B,s,d);if(!(v===1&&(T||z===2&&M))&&!(v===0&&(M==null?void 0:M.kind)===274))return{kind:2,importClauseOrBindingPattern:k,importKind:v,moduleSpecifier:E.moduleSpecifier.text,addAsTypeOnly:z}}}function vat(t,u,s){let d;for(const f of u.imports){const p=tP(f);if(vq(p.parent)){const E=t.resolveExternalModuleName(f);E&&(d||(d=wm())).add(Zo(E),p.parent)}else if(p.kind===272||p.kind===271){const E=t.getSymbolAtLocation(f);E&&(d||(d=wm())).add(Zo(E),p)}}return{getImportsForExportInfo:({moduleSymbol:f,exportKind:p,targetFlags:E,symbol:v})=>{if(!(E&111551)&&gh(u))return _t;const b=d==null?void 0:d.get(Zo(f));if(!b)return _t;const B=zBe(u,p,s);return b.map(k=>({declaration:k,importKind:B,symbol:v,targetFlags:E}))}}}function f4e(t,u){if(!gh(t))return!1;if(t.commonJsModuleIndicator&&!t.externalModuleIndicator)return!0;if(t.externalModuleIndicator&&!t.commonJsModuleIndicator)return!1;const s=u.getCompilerOptions();if(s.configFile)return m1(s)<5;if(t.impliedNodeFormat===1)return!0;if(t.impliedNodeFormat===99)return!1;for(const d of u.getSourceFiles())if(!(d===t||!gh(d)||u.isSourceFileFromExternalLibrary(d))){if(d.commonJsModuleIndicator&&!d.externalModuleIndicator)return!0;if(d.externalModuleIndicator&&!d.commonJsModuleIndicator)return!1}return!0}function Cat(t,u){return HE(s=>s?u.getPackageJsonAutoImportProvider().getTypeChecker():t.getTypeChecker())}function pWt(t,u,s,d,f,p,E,v,b){const B=gh(u),k=t.getCompilerOptions(),T=Ik(t,E),M=Cat(t,E),z=p1(k),j=_X(z),J=b?oe=>({moduleSpecifiers:Z2.tryGetModuleSpecifiersFromCache(oe,u,T,v),computedWithoutCache:!1}):(oe,se)=>Z2.getModuleSpecifiersWithCacheInfo(oe,se,k,u,T,v,void 0,!0);let K=0;const Y=ju(p,(oe,se)=>{const ge=M(oe.isFromPackageJson),{computedWithoutCache:ae,moduleSpecifiers:Ce}=J(oe.moduleSymbol,ge),ne=!!(oe.targetFlags&111551),ve=MBe(d,!0,oe.symbol,oe.targetFlags,ge,k);return K+=ae?1:0,qi(Ce,Se=>{var Ne;if(j&&q7(Se))return;if(!ne&&B&&s!==void 0)return{kind:1,moduleSpecifier:Se,usagePosition:s,exportInfo:oe,isReExport:se>0};const pe=zBe(u,oe.exportKind,k);let fe;if(s!==void 0&&pe===3&&oe.exportKind===0){const xe=ge.resolveExternalModuleSymbol(oe.moduleSymbol);let Be;xe!==oe.moduleSymbol&&(Be=(Ne=GX(xe,ge,k))==null?void 0:Ne.name),Be||(Be=VBe(oe.moduleSymbol,Os(k),!1)),fe={namespacePrefix:Be,usagePosition:s}}return{kind:3,moduleSpecifier:Se,importKind:pe,useRequire:f,addAsTypeOnly:ve,exportInfo:oe,isReExport:se>0,qualification:fe}})});return{computedWithoutCacheCount:K,fixes:Y}}function gWt(t,u,s,d,f,p,E,v,b,B){const k=G(u,T=>EWt(T,p,E,s.getTypeChecker(),s.getCompilerOptions()));return k?{fixes:[k]}:pWt(s,d,f,p,E,t,v,b,B)}function EWt({declaration:t,importKind:u,symbol:s,targetFlags:d},f,p,E,v){var b;const B=(b=Z8(t))==null?void 0:b.text;if(B){const k=p?4:MBe(f,!0,s,d,E,v);return{kind:3,moduleSpecifier:B,importKind:u,addAsTypeOnly:k,useRequire:p}}}function bat(t,u,s,d){const f=Ca(t.sourceFile,s);let p;if(u===F._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)p=vWt(t,f);else if(at(f))if(u===F._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){const v=bd(IBe(t.sourceFile,t.program.getTypeChecker(),f,t.program.getCompilerOptions())),b=Aat(t.sourceFile,f,v,t.program);return b&&[{fix:b,symbolName:v,errorIdentifierText:f.text}]}else p=yWt(t,f,d);else return;const E=HM(t.sourceFile,t.preferences,t.host);return p&&_Wt(p,t.sourceFile,t.program,E,t.host)}function _Wt(t,u,s,d,f){const p=E=>J0(E,f.getCurrentDirectory(),n5(f));return Ph(t,(E,v)=>d2(!!E.isJsxNamespaceFix,!!v.isJsxNamespaceFix)||nl(E.fix.kind,v.fix.kind)||kat(E.fix,v.fix,u,s,d.allowsImportingSpecifier,p))}function yat(t,u,s,d,f){if(Oe(t))return t[0].kind===0||t[0].kind===2?t[0]:t.reduce((p,E)=>kat(E,p,u,s,d.allowsImportingSpecifier,v=>J0(v,f.getCurrentDirectory(),n5(f)))===-1?E:p)}function kat(t,u,s,d,f,p){return t.kind!==0&&u.kind!==0?d2(f(u.moduleSpecifier),f(t.moduleSpecifier))||xWt(t.moduleSpecifier,u.moduleSpecifier,s,d)||d2(Fat(t,s,d.getCompilerOptions(),p),Fat(u,s,d.getCompilerOptions(),p))||iV(t.moduleSpecifier,u.moduleSpecifier):0}function Fat(t,u,s,d){var f;if(t.isReExport&&((f=t.exportInfo)!=null&&f.moduleFileName)&&p1(s)===2&&DWt(t.exportInfo.moduleFileName)){const p=d(lr(t.exportInfo.moduleFileName));return Pa(u.path,p)}return!1}function DWt(t){return Ac(t,[".js",".jsx",".d.ts",".ts",".tsx"],!0)==="index"}function xWt(t,u,s,d){return Pa(t,"node:")&&!Pa(u,"node:")?OX(s,d)?-1:1:Pa(u,"node:")&&!Pa(t,"node:")?OX(s,d)?1:-1:0}function vWt({sourceFile:t,program:u,host:s,preferences:d},f){const p=u.getTypeChecker(),E=CWt(f,p);if(!E)return;const v=p.getAliasedSymbol(E),b=E.name,B=[{symbol:E,moduleSymbol:v,moduleFileName:void 0,exportKind:3,targetFlags:v.flags,isFromPackageJson:!1}],k=f4e(t,u);return h4e(B,void 0,!1,k,u,t,s,d).fixes.map(M=>{var z;return{fix:M,symbolName:b,errorIdentifierText:(z=ur(f,at))==null?void 0:z.text}})}function CWt(t,u){const s=at(t)?u.getSymbolAtLocation(t):void 0;if($q(s))return s;const{parent:d}=t;if(zh(d)&&d.tagName===t||V7(d)){const f=u.resolveName(u.getJsxNamespace(d),zh(d)?t:d,111551,!1);if($q(f))return f}}function zBe(t,u,s,d){if(s.verbatimModuleSyntax&&(m1(s)===1||t.impliedNodeFormat===1))return 3;switch(u){case 0:return 0;case 1:return 1;case 2:return AWt(t,s,!!d);case 3:return bWt(t,s,!!d);default:return H.assertNever(u)}}function bWt(t,u,s){if(C7(u))return 1;const d=m1(u);switch(d){case 2:case 1:case 3:return Qn(t)&&(wc(t)||s)?2:3;case 4:case 5:case 6:case 7:case 99:case 0:return 2;case 100:case 199:return t.impliedNodeFormat===99?2:3;default:return H.assertNever(d,`Unexpected moduleKind ${d}`)}}function yWt({sourceFile:t,program:u,cancellationToken:s,host:d,preferences:f},p,E){const v=u.getTypeChecker(),b=u.getCompilerOptions();return ju(IBe(t,v,p,b),B=>{if(B==="default")return;const k=Tv(p),T=f4e(t,u),M=FWt(B,$8(p),Pk(p),s,t,u,E,d,f);return ga(pa(M.values(),z=>h4e(z,p.getStart(t),k,T,u,t,d,f).fixes),z=>({fix:z,symbolName:B,errorIdentifierText:p.text,isJsxNamespaceFix:B!==p.text}))})}function Aat(t,u,s,d){const f=d.getTypeChecker(),p=f.resolveName(s,u,111551,!0);if(!p)return;const E=f.getTypeOnlyAliasDeclaration(p);if(!(!E||zn(E)!==t))return{kind:4,typeOnlyAliasDeclaration:E}}function IBe(t,u,s,d){const f=s.parent;if((zh(f)||H2(f))&&f.tagName===s&&Sfe(d.jsx)){const p=u.getJsxNamespace(t);if(kWt(p,s,u))return!aB(s.text)&&!u.resolveName(s.text,s,111551,!1)?[s.text,p]:[p]}return[s.text]}function kWt(t,u,s){if(aB(u.text))return!0;const d=s.resolveName(t,u,111551,!0);return!d||Oe(d.declarations,_2)&&!(d.flags&111551)}function FWt(t,u,s,d,f,p,E,v,b){var B;const k=wm(),T=HM(f,b,v),M=(B=v.getModuleSpecifierCache)==null?void 0:B.call(v),z=HE(J=>Ik(J?v.getPackageJsonAutoImportProvider():p,v));function j(J,K,Y,oe,se,ge){const ae=z(ge);if(K&&Mfe(se,f,K,b,T,ae,M)||!K&&T.allowsImportingAmbientModule(J,ae)){const Ce=se.getTypeChecker();k.add(CSe(Y,Ce).toString(),{symbol:Y,moduleSymbol:J,moduleFileName:K==null?void 0:K.fileName,exportKind:oe,targetFlags:X1(Y,Ce).flags,isFromPackageJson:ge})}}return zfe(p,v,b,E,(J,K,Y,oe)=>{const se=Y.getTypeChecker();d.throwIfCancellationRequested();const ge=Y.getCompilerOptions(),ae=WX(J,se,ge);ae&&(ae.name===t||VBe(J,Os(ge),u)===t)&&Mat(ae.resolvedSymbol,s)&&j(J,K,ae.symbol,ae.exportKind,Y,oe);const Ce=se.tryGetMemberInModuleExportsAndProperties(t,J);Ce&&Mat(Ce,s)&&j(J,K,Ce,0,Y,oe)}),k}function AWt(t,u,s){const d=C7(u),f=Qn(t);if(!f&&m1(u)>=5)return d?1:2;if(f)return wc(t)||s?d?1:2:3;for(const p of t.statements)if(E1(p)&&!Ql(p.moduleReference))return 3;return d?1:3}function RBe(t,u,s,d,f,p,E){let v;const b=iu.ChangeTracker.with(t,B=>{v=SWt(B,u,s,d,f,p,E)});return Ro(KBe,b,v,WBe,F.Add_all_missing_imports)}function SWt(t,u,s,d,f,p,E){const v=Hm(u,E);switch(d.kind){case 0:return OBe(t,u,d),[F.Change_0_to_1,s,`${d.namespacePrefix}.${s}`];case 1:return wat(t,u,d,v),[F.Change_0_to_1,s,Tat(d.moduleSpecifier,v)+s];case 2:{const{importClauseOrBindingPattern:b,importKind:B,addAsTypeOnly:k,moduleSpecifier:T}=d;Bat(t,u,b,B===1?{name:s,addAsTypeOnly:k}:void 0,B===0?[{name:s,addAsTypeOnly:k}]:_t,E);const M=$4(T);return f?[F.Import_0_from_1,s,M]:[F.Update_import_from_0,M]}case 3:{const{importKind:b,moduleSpecifier:B,addAsTypeOnly:k,useRequire:T,qualification:M}=d,z=T?Nat:Lat,j=b===1?{name:s,addAsTypeOnly:k}:void 0,J=b===0?[{name:s,addAsTypeOnly:k}]:void 0,K=b===2||b===3?{importKind:b,name:(M==null?void 0:M.namespacePrefix)||s,addAsTypeOnly:k}:void 0;return MM(t,u,z(B,v,j,J,K,p.getCompilerOptions(),E),!0,E),M&&OBe(t,u,M),f?[F.Import_0_from_1,s,B]:[F.Add_import_from_0,B]}case 4:{const{typeOnlyAliasDeclaration:b}=d,B=BWt(t,b,p,u,E);return B.kind===276?[F.Remove_type_from_import_of_0_from_1,s,Sat(B.parent.parent)]:[F.Remove_type_from_import_declaration_from_0,Sat(B)]}default:return H.assertNever(d,`Unexpected fix kind ${d.kind}`)}}function Sat(t){var u,s;return t.kind===271?((s=ur((u=ur(t.moduleReference,r_))==null?void 0:u.expression,t0))==null?void 0:s.text)||t.moduleReference.getText():Po(t.parent.moduleSpecifier,us).text}function BWt(t,u,s,d,f){const p=s.getCompilerOptions(),E=xle(p);switch(u.kind){case 276:if(u.isTypeOnly){const b=Gp.detectImportSpecifierSorting(u.parent.elements,f);if(u.parent.elements.length>1&&b){const B=q.updateImportSpecifier(u,!1,u.propertyName,u.name),k=Gp.getOrganizeImportsComparer(f,b===2),T=Gp.getImportSpecifierInsertionIndex(u.parent.elements,B,k);if(u.parent.elements.indexOf(u)!==T)return t.delete(d,u),t.insertImportSpecifierAtIndex(d,B,u.parent,T),u}return t.deleteRange(d,u.getFirstToken()),u}else return H.assert(u.parent.parent.isTypeOnly),v(u.parent.parent),u.parent.parent;case 273:return v(u),u;case 274:return v(u.parent),u.parent;case 271:return t.deleteRange(d,u.getChildAt(1)),u;default:H.failBadSyntaxKind(u)}function v(b){var B;if(t.delete(d,sfe(b,d)),!p.allowImportingTsExtensions){const k=Z8(b.parent),T=k&&((B=s.getResolvedModule(d,k.text,xg(d,k)))==null?void 0:B.resolvedModule);if(T!=null&&T.resolvedUsingTsExtension){const M=AO(k.text,pQ(k.text,p));t.replaceNode(d,k,q.createStringLiteral(M))}}if(E){const k=ur(b.namedBindings,uD);if(k&&k.elements.length>1){Gp.detectImportSpecifierSorting(k.elements,f)&&u.kind===276&&k.elements.indexOf(u)!==0&&(t.delete(d,u),t.insertImportSpecifierAtIndex(d,u,k,0));for(const T of k.elements)T!==u&&!T.isTypeOnly&&t.insertModifierBefore(d,156,T)}}}}function Bat(t,u,s,d,f,p){var E;if(s.kind===206){d&&B(s,d.name,"default");for(const k of f)B(s,k.name,void 0);return}const v=s.isTypeOnly&&Oe([d,...f],k=>(k==null?void 0:k.addAsTypeOnly)===4),b=s.namedBindings&&((E=ur(s.namedBindings,uD))==null?void 0:E.elements);if(d&&(H.assert(!s.name,"Cannot add a default import to an import clause that already has one"),t.insertNodeAt(u,s.getStart(u),q.createIdentifier(d.name),{suffix:", "})),f.length){let k;if(typeof p.organizeImportsIgnoreCase=="boolean")k=p.organizeImportsIgnoreCase;else if(b){const j=Gp.detectImportSpecifierSorting(b,p);j!==3&&(k=j===2)}k===void 0&&(k=Gp.detectSorting(u,p)===2);const T=Gp.getOrganizeImportsComparer(p,k),M=oc(f.map(j=>q.createImportSpecifier((!s.isTypeOnly||v)&&m4e(j,p),void 0,q.createIdentifier(j.name))),(j,J)=>Gp.compareImportOrExportSpecifiers(j,J,T)),z=(b==null?void 0:b.length)&&Gp.detectImportSpecifierSorting(b,p);if(z&&!(k&&z===1))for(const j of M){const J=v&&!j.isTypeOnly?0:Gp.getImportSpecifierInsertionIndex(b,j,T);t.insertImportSpecifierAtIndex(u,j,s.namedBindings,J)}else if(b!=null&&b.length)for(const j of M)t.insertNodeInListAfter(u,Cr(b),j,b);else if(M.length){const j=q.createNamedImports(M);s.namedBindings?t.replaceNode(u,s.namedBindings,j):t.insertNodeAfter(u,H.checkDefined(s.name,"Import clause must have either named imports or a default import"),j)}}if(v&&(t.delete(u,sfe(s,u)),b))for(const k of b)t.insertModifierBefore(u,156,k);function B(k,T,M){const z=q.createBindingElement(void 0,M,T);k.elements.length?t.insertNodeInListAfter(u,Cr(k.elements),z):t.replaceNode(u,k,q.createObjectBindingPattern([z]))}}function OBe(t,u,{namespacePrefix:s,usagePosition:d}){t.insertText(u,d,s+".")}function wat(t,u,{moduleSpecifier:s,usagePosition:d},f){t.insertText(u,d,Tat(s,f))}function Tat(t,u){const s=ofe(u);return`import(${s}${t}${s}).`}function jBe({addAsTypeOnly:t}){return t===2}function m4e(t,u){return jBe(t)||!!u.preferTypeOnlyAutoImports&&t.addAsTypeOnly!==4}function Lat(t,u,s,d,f,p,E){const v=n9(t,u);let b;if(s!==void 0||d!=null&&d.length){const B=(!s||jBe(s))&&ye(d,jBe)||(p.verbatimModuleSyntax||E.preferTypeOnlyAutoImports)&&(s==null?void 0:s.addAsTypeOnly)!==4&&!Oe(d,k=>k.addAsTypeOnly===4);b=vo(b,g5(s&&q.createIdentifier(s.name),d==null?void 0:d.map(k=>q.createImportSpecifier(!B&&m4e(k,E),void 0,q.createIdentifier(k.name))),t,u,B))}if(f){const B=f.importKind===3?q.createImportEqualsDeclaration(void 0,m4e(f,E),q.createIdentifier(f.name),q.createExternalModuleReference(v)):q.createImportDeclaration(void 0,q.createImportClause(m4e(f,E),void 0,q.createNamespaceImport(q.createIdentifier(f.name))),v,void 0);b=vo(b,B)}return H.checkDefined(b)}function Nat(t,u,s,d,f){const p=n9(t,u);let E;if(s||d!=null&&d.length){const v=(d==null?void 0:d.map(({name:B})=>q.createBindingElement(void 0,void 0,B)))||[];s&&v.unshift(q.createBindingElement(void 0,"default",s.name));const b=Pat(q.createObjectBindingPattern(v),p);E=vo(E,b)}if(f){const v=Pat(f.name,p);E=vo(E,v)}return H.checkDefined(E)}function Pat(t,u){return q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(typeof t=="string"?q.createIdentifier(t):t,void 0,void 0,q.createCallExpression(q.createIdentifier("require"),void 0,[u]))],2))}function Mat({declarations:t},u){return Oe(t,s=>!!(TH(s)&u))}function VBe(t,u,s){return HBe(_h($4(t.name)),u,s)}function HBe(t,u,s){const d=Ac(D8(t,"/index"));let f="",p=!0;const E=d.charCodeAt(0);G_(E,u)?(f+=String.fromCharCode(E),s&&(f=f.toUpperCase())):p=!1;for(let v=1;vRBe(t,d,b,v,b!==B,p,s))},fixIds:[WBe],getAllCodeActions:t=>{const{sourceFile:u,program:s,preferences:d,host:f,cancellationToken:p}=t,E=Eat(u,s,!0,d,f,p);return _w(t,GBe,v=>E.addImportFromDiagnostic(v,t)),Ew(iu.ChangeTracker.with(t,E.writeFixes))}})}});function zat(t,u,s){const d=Le(t.getSemanticDiagnostics(u),E=>E.start===s.start&&E.length===s.length);if(d===void 0||d.relatedInformation===void 0)return;const f=Le(d.relatedInformation,E=>E.code===F.This_type_parameter_might_need_an_extends_0_constraint.code);if(f===void 0||f.file===void 0||f.start===void 0||f.length===void 0)return;let p=$we(f.file,d1(f.start,f.length));if(p!==void 0&&(at(p)&&Bl(p.parent)&&(p=p.parent),Bl(p))){if(JP(p.parent))return;const E=Ca(u,s.start),v=t.getTypeChecker();return{constraint:LWt(v,E)||TWt(f.messageText),declaration:p,token:E}}}function Iat(t,u,s,d,f,p){const{declaration:E,constraint:v}=p,b=u.getTypeChecker();if(Ja(v))t.insertText(f,E.name.end,` extends ${v}`);else{const B=Os(u.getCompilerOptions()),k=xw({program:u,host:d}),T=l9(f,u,s,d),M=Y4e(b,T,v,void 0,B,void 0,k);M&&(t.replaceNode(f,E,q.updateTypeParameterDeclaration(E,void 0,E.name,M,E.default)),T.writeFixes(t))}}function TWt(t){const[u,s]=lE(t,` +`,0).match(/`extends (.*)`/)||[];return s}function LWt(t,u){return Xr(u.parent)?t.getTypeArgumentConstraint(u.parent):(Wt(u)?t.getContextualType(u):void 0)||t.getTypeAtLocation(u)}var p4e,JBe,NWt=o({"src/services/codefixes/fixAddMissingConstraint.ts"(){rr(),rs(),p4e="addMissingConstraint",JBe=[F.Type_0_is_not_comparable_to_type_1.code,F.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,F.Type_0_is_not_assignable_to_type_1.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,F.Property_0_is_incompatible_with_index_signature.code,F.Property_0_in_type_1_is_not_assignable_to_type_2.code,F.Type_0_does_not_satisfy_the_constraint_1.code],Xo({errorCodes:JBe,getCodeActions(t){const{sourceFile:u,span:s,program:d,preferences:f,host:p}=t,E=zat(d,u,s);if(E===void 0)return;const v=iu.ChangeTracker.with(t,b=>Iat(b,d,f,p,u,E));return[Ro(p4e,v,F.Add_extends_constraint,p4e,F.Add_extends_constraint_to_all_type_parameters)]},fixIds:[p4e],getAllCodeActions:t=>{const{program:u,preferences:s,host:d}=t,f=new Map;return Ew(iu.ChangeTracker.with(t,p=>{_w(t,JBe,E=>{const v=zat(u,E.file,d1(E.start,E.length));if(v&&Ip(f,$s(v.declaration)))return Iat(p,u,s,d,E.file,v)})}))}})}});function Rat(t,u,s,d){switch(s){case F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:case F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:case F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:return PWt(t,u.sourceFile,d);case F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:case F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:case F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:return MWt(t,u.sourceFile,d);default:H.fail("Unexpected error code: "+s)}}function PWt(t,u,s){const d=jat(u,s);if(gh(u)){t.addJSDocTags(u,d,[q.createJSDocOverrideTag(q.createIdentifier("override"))]);return}const f=d.modifiers||_t,p=Le(f,N7),E=Le(f,tFe),v=Le(f,T=>Yhe(T.kind)),b=lt(f,g1),B=E?E.end:p?p.end:v?v.end:b?gs(u.text,b.end):d.getStart(u),k=v||p||E?{prefix:" "}:{suffix:" "};t.insertModifierAt(u,B,164,k)}function MWt(t,u,s){const d=jat(u,s);if(gh(u)){t.filterJSDocTags(u,d,X$(gY));return}const f=Le(d.modifiers,iFe);H.assertIsDefined(f),t.deleteModifier(u,f)}function Oat(t){switch(t.kind){case 176:case 172:case 174:case 177:case 178:return!0;case 169:return Mf(t,t.parent);default:return!1}}function jat(t,u){const s=Ca(t,u),d=Tn(s,f=>mr(f)?"quit":Oat(f));return H.assert(d&&Oat(d)),d}var $Be,qM,bK,UBe,qBe,zWt=o({"src/services/codefixes/fixOverrideModifier.ts"(){rr(),rs(),$Be="fixOverrideModifier",qM="fixAddOverrideModifier",bK="fixRemoveOverrideModifier",UBe=[F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code],qBe={[F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:qM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:qM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:F.Remove_override_modifier,fixId:bK,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers},[F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:F.Remove_override_modifier,fixId:bK,fixAllDescriptions:F.Remove_override_modifier},[F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:qM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:qM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:qM,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers},[F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:F.Remove_override_modifier,fixId:bK,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers},[F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:F.Remove_override_modifier,fixId:bK,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers}},Xo({errorCodes:UBe,getCodeActions:function(u){const{errorCode:s,span:d}=u,f=qBe[s];if(!f)return _t;const{descriptions:p,fixId:E,fixAllDescriptions:v}=f,b=iu.ChangeTracker.with(u,B=>Rat(B,u,s,d.start));return[oBe($Be,b,p,E,v)]},fixIds:[$Be,qM,bK],getAllCodeActions:t=>f0(t,UBe,(u,s)=>{const{code:d,start:f}=s,p=qBe[d];!p||p.fixId!==t.fixId||Rat(u,t,d,f)})})}});function Vat(t,u,s,d){const f=Hm(u,d),p=q.createStringLiteral(s.name.text,f===0);t.replaceNode(u,s,PU(s)?q.createElementAccessChain(s.expression,s.questionDotToken,p):q.createElementAccessExpression(s.expression,p))}function Hat(t,u){return Po(Ca(t,u).parent,Iu)}var g4e,ZBe,IWt=o({"src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts"(){rr(),rs(),g4e="fixNoPropertyAccessFromIndexSignature",ZBe=[F.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code],Xo({errorCodes:ZBe,fixIds:[g4e],getCodeActions(t){const{sourceFile:u,span:s,preferences:d}=t,f=Hat(u,s.start),p=iu.ChangeTracker.with(t,E=>Vat(E,t.sourceFile,f,d));return[Ro(g4e,p,[F.Use_element_access_for_0,f.name.text],g4e,F.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:t=>f0(t,ZBe,(u,s)=>Vat(u,s.file,Hat(s.file,s.start),t.preferences))})}});function Kat(t,u,s,d){const f=Ca(u,s);if(!rw(f))return;const p=tf(f,!1,!1);if(!(!ed(p)&&!A0(p))&&!la(tf(p,!1,!1))){const E=H.checkDefined(a0(p,100,u)),{name:v}=p,b=H.checkDefined(p.body);return A0(p)?v&&Z0.Core.isSymbolReferencedInFile(v,d,u,b)?void 0:(t.delete(u,E),v&&t.delete(u,v),t.insertText(u,b.pos," =>"),[F.Convert_function_expression_0_to_arrow_function,v?v.text:KX]):(t.replaceNode(u,E,q.createToken(87)),t.insertText(u,v.end," = "),t.insertText(u,b.pos," =>"),[F.Convert_function_declaration_0_to_arrow_function,v.text])}}var E4e,YBe,RWt=o({"src/services/codefixes/fixImplicitThis.ts"(){rr(),rs(),E4e="fixImplicitThis",YBe=[F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],Xo({errorCodes:YBe,getCodeActions:function(u){const{sourceFile:s,program:d,span:f}=u;let p;const E=iu.ChangeTracker.with(u,v=>{p=Kat(v,s,f.start,d.getTypeChecker())});return p?[Ro(E4e,E,p,E4e,F.Fix_all_implicit_this_errors)]:_t},fixIds:[E4e],getAllCodeActions:t=>f0(t,YBe,(u,s)=>{Kat(u,s.file,s.start,t.program.getTypeChecker())})})}});function Wat(t,u,s){var d,f;const p=Ca(t,u);if(at(p)){const E=Tn(p,Sd);if(E===void 0)return;const v=us(E.moduleSpecifier)?E.moduleSpecifier.text:void 0;if(v===void 0)return;const b=(d=s.getResolvedModule(t,v,void 0))==null?void 0:d.resolvedModule;if(b===void 0)return;const B=s.getSourceFile(b.resolvedFileName);if(B===void 0||KM(s,B))return;const k=B.symbol,T=(f=ur(k.valueDeclaration,UE))==null?void 0:f.locals;if(T===void 0)return;const M=T.get(p.escapedText);if(M===void 0)return;const z=jWt(M);return z===void 0?void 0:{exportName:{node:p,isTypeOnly:gB(z)},node:z,moduleSourceFile:B,moduleSpecifier:v}}}function OWt(t,u,{exportName:s,node:d,moduleSourceFile:f}){const p=_4e(f,s.isTypeOnly);p?Gat(t,u,f,p,[s]):rV(d)?t.insertExportModifier(f,d):Jat(t,u,f,[s])}function QBe(t,u,s,d,f){S(d)&&(f?Gat(t,u,s,f,d):Jat(t,u,s,d))}function _4e(t,u){const s=d=>Gc(d)&&(u&&d.isTypeOnly||!d.isTypeOnly);return lt(t.statements,s)}function Gat(t,u,s,d,f){const p=d.exportClause&&ep(d.exportClause)?d.exportClause.elements:q.createNodeArray([]),E=!d.isTypeOnly&&!!(mg(u.getCompilerOptions())||Le(p,v=>v.isTypeOnly));t.replaceNode(s,d,q.updateExportDeclaration(d,d.modifiers,d.isTypeOnly,q.createNamedExports(q.createNodeArray([...p,...$at(f,E)],p.hasTrailingComma)),d.moduleSpecifier,d.attributes))}function Jat(t,u,s,d){t.insertNodeAtEndOfScope(s,s,q.createExportDeclaration(void 0,!1,q.createNamedExports($at(d,mg(u.getCompilerOptions()))),void 0,void 0))}function $at(t,u){return q.createNodeArray(Vt(t,s=>q.createExportSpecifier(u&&s.isTypeOnly,void 0,s.node)))}function jWt(t){if(t.valueDeclaration===void 0)return Ki(t.declarations);const u=t.valueDeclaration,s=ua(u)?ur(u.parent.parent,Jl):void 0;return s&&S(s.declarationList.declarations)===1?s:u}var D4e,XBe,VWt=o({"src/services/codefixes/fixImportNonExportedMember.ts"(){rr(),rs(),D4e="fixImportNonExportedMember",XBe=[F.Module_0_declares_1_locally_but_it_is_not_exported.code],Xo({errorCodes:XBe,fixIds:[D4e],getCodeActions(t){const{sourceFile:u,span:s,program:d}=t,f=Wat(u,s.start,d);if(f===void 0)return;const p=iu.ChangeTracker.with(t,E=>OWt(E,d,f));return[Ro(D4e,p,[F.Export_0_from_module_1,f.exportName.node.text,f.moduleSpecifier],D4e,F.Export_all_referenced_locals)]},getAllCodeActions(t){const{program:u}=t;return Ew(iu.ChangeTracker.with(t,s=>{const d=new Map;_w(t,XBe,f=>{const p=Wat(f.file,f.start,u);if(p===void 0)return;const{exportName:E,node:v,moduleSourceFile:b}=p;if(_4e(b,E.isTypeOnly)===void 0&&rV(v))s.insertExportModifier(b,v);else{const B=d.get(b)||{typeOnlyExports:[],exports:[]};E.isTypeOnly?B.typeOnlyExports.push(E):B.exports.push(E),d.set(b,B)}}),d.forEach((f,p)=>{const E=_4e(p,!0);E&&E.isTypeOnly?(QBe(s,u,p,f.typeOnlyExports,E),QBe(s,u,p,f.exports,_4e(p,!1))):QBe(s,u,p,[...f.exports,...f.typeOnlyExports],E)})}))}})}});function HWt(t,u){const s=Ca(t,u);return Tn(s,d=>d.kind===202)}function KWt(t,u,s){if(!s)return;let d=s.type,f=!1,p=!1;for(;d.kind===190||d.kind===191||d.kind===196;)d.kind===190?f=!0:d.kind===191&&(p=!0),d=d.type;const E=q.updateNamedTupleMember(s,s.dotDotDotToken||(p?q.createToken(26):void 0),s.name,s.questionToken||(f?q.createToken(58):void 0),d);E!==s&&t.replaceNode(u,s,E)}var x4e,Uat,WWt=o({"src/services/codefixes/fixIncorrectNamedTupleSyntax.ts"(){rr(),rs(),x4e="fixIncorrectNamedTupleSyntax",Uat=[F.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,F.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],Xo({errorCodes:Uat,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=HWt(s,d.start),p=iu.ChangeTracker.with(u,E=>KWt(E,s,f));return[Ro(x4e,p,F.Move_labeled_tuple_element_modifiers_to_labels,x4e,F.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[x4e]})}});function qat(t,u,s,d){const f=Ca(t,u),p=f.parent;if((d===F.No_overload_matches_this_call.code||d===F.Type_0_is_not_assignable_to_type_1.code)&&!oE(p))return;const E=s.program.getTypeChecker();let v;if(Iu(p)&&p.name===f){H.assert(J_(f),"Expected an identifier for spelling (property access)");let b=E.getTypeAtLocation(p.expression);p.flags&64&&(b=E.getNonNullableType(b)),v=E.getSuggestedSymbolForNonexistentProperty(f,b)}else if(Xn(p)&&p.operatorToken.kind===103&&p.left===f&&ea(f)){const b=E.getTypeAtLocation(p.right);v=E.getSuggestedSymbolForNonexistentProperty(f,b)}else if(vf(p)&&p.right===f){const b=E.getSymbolAtLocation(p.left);b&&b.flags&1536&&(v=E.getSuggestedSymbolForNonexistentModule(p.right,b))}else if(bf(p)&&p.name===f){H.assertNode(f,at,"Expected an identifier for spelling (import)");const b=Tn(f,Sd),B=JWt(t,s,b);B&&B.symbol&&(v=E.getSuggestedSymbolForNonexistentModule(f,B.symbol))}else if(oE(p)&&p.name===f){H.assertNode(f,at,"Expected an identifier for JSX attribute");const b=Tn(f,zh),B=E.getContextualTypeForArgumentAtIndex(b,0);v=E.getSuggestedSymbolForNonexistentJSXAttribute(f,B)}else if(Vq(p)&&Zd(p)&&p.name===f){const b=Tn(f,mr),B=b?Qg(b):void 0,k=B?E.getTypeAtLocation(B):void 0;k&&(v=E.getSuggestedSymbolForNonexistentClassMember(Hc(f),k))}else{const b=Pk(f),B=Hc(f);H.assert(B!==void 0,"name should be defined"),v=E.getSuggestedSymbolForNonexistentSymbol(f,B,GWt(b))}return v===void 0?void 0:{node:f,suggestedSymbol:v}}function Zat(t,u,s,d,f){const p=lc(d);if(!Lm(p,f)&&Iu(s.parent)){const E=d.valueDeclaration;E&&mh(E)&&ea(E.name)?t.replaceNode(u,s,q.createIdentifier(p)):t.replaceNode(u,s.parent,q.createElementAccessExpression(s.parent.expression,q.createStringLiteral(p)))}else t.replaceNode(u,s,q.createIdentifier(p))}function GWt(t){let u=0;return t&4&&(u|=1920),t&2&&(u|=788968),t&1&&(u|=111551),u}function JWt(t,u,s){var d;if(!s||!t0(s.moduleSpecifier))return;const f=(d=u.program.getResolvedModule(t,s.moduleSpecifier.text,xg(t,s.moduleSpecifier)))==null?void 0:d.resolvedModule;if(f)return u.program.getSourceFile(f.resolvedFileName)}var ewe,twe,$Wt=o({"src/services/codefixes/fixSpelling.ts"(){rr(),rs(),ewe="fixSpelling",twe=[F.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,F.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,F.Cannot_find_name_0_Did_you_mean_1.code,F.Could_not_find_name_0_Did_you_mean_1.code,F.Cannot_find_namespace_0_Did_you_mean_1.code,F.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,F.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,F._0_has_no_exported_member_named_1_Did_you_mean_2.code,F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,F.No_overload_matches_this_call.code,F.Type_0_is_not_assignable_to_type_1.code],Xo({errorCodes:twe,getCodeActions(t){const{sourceFile:u,errorCode:s}=t,d=qat(u,t.span.start,t,s);if(!d)return;const{node:f,suggestedSymbol:p}=d,E=Os(t.host.getCompilationSettings()),v=iu.ChangeTracker.with(t,b=>Zat(b,u,f,p,E));return[Ro("spelling",v,[F.Change_spelling_to_0,lc(p)],ewe,F.Fix_all_detected_spelling_errors)]},fixIds:[ewe],getAllCodeActions:t=>f0(t,twe,(u,s)=>{const d=qat(s.file,s.start,t,s.code),f=Os(t.host.getCompilationSettings());d&&Zat(u,t.sourceFile,d.node,d.suggestedSymbol,f)})})}});function Yat(t,u,s){const d=t.createSymbol(4,u.escapedText);d.links.type=t.getTypeAtLocation(s);const f=Vo([d]);return t.createAnonymousType(void 0,f,[],[],[])}function iwe(t,u,s,d){if(!u.body||!po(u.body)||S(u.body.statements)!==1)return;const f=Pn(u.body.statements);if(Od(f)&&nwe(t,u,t.getTypeAtLocation(f.expression),s,d))return{declaration:u,kind:0,expression:f.expression,statement:f,commentSource:f.expression};if(V2(f)&&Od(f.statement)){const p=q.createObjectLiteralExpression([q.createPropertyAssignment(f.label,f.statement.expression)]),E=Yat(t,f.label,f.statement.expression);if(nwe(t,u,E,s,d))return q0(u)?{declaration:u,kind:1,expression:p,statement:f,commentSource:f.statement.expression}:{declaration:u,kind:0,expression:p,statement:f,commentSource:f.statement.expression}}else if(po(f)&&S(f.statements)===1){const p=Pn(f.statements);if(V2(p)&&Od(p.statement)){const E=q.createObjectLiteralExpression([q.createPropertyAssignment(p.label,p.statement.expression)]),v=Yat(t,p.label,p.statement.expression);if(nwe(t,u,v,s,d))return{declaration:u,kind:0,expression:E,statement:f,commentSource:p}}}}function nwe(t,u,s,d,f){if(f){const p=t.getSignatureFromDeclaration(u);if(p){Yu(u,1024)&&(s=t.createPromiseType(s));const E=t.createSignature(u,p.typeParameters,p.thisParameter,p.parameters,s,void 0,p.minArgumentCount,p.flags);s=t.createAnonymousType(void 0,Vo(),[E],[],[])}else s=t.getAnyType()}return t.isTypeAssignableTo(s,d)}function Qat(t,u,s,d){const f=Ca(u,s);if(!f.parent)return;const p=Tn(f.parent,$0);switch(d){case F.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code:return!p||!p.body||!p.type||!Vm(p.type,f)?void 0:iwe(t,p,t.getTypeFromTypeNode(p.type),!1);case F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!p||!Mo(p.parent)||!p.body)return;const E=p.parent.arguments.indexOf(p);if(E===-1)return;const v=t.getContextualTypeForArgumentAtIndex(p.parent,E);return v?iwe(t,p,v,!0):void 0;case F.Type_0_is_not_assignable_to_type_1.code:if(!X3(f)||!G8(f.parent)&&!oE(f.parent))return;const b=UWt(f.parent);return!b||!$0(b)||!b.body?void 0:iwe(t,b,t.getTypeAtLocation(f.parent),!0)}}function UWt(t){switch(t.kind){case 260:case 169:case 208:case 172:case 303:return t.initializer;case 291:return t.initializer&&(YP(t.initializer)?t.initializer.expression:void 0);case 304:case 171:case 306:case 355:case 348:return}}function Xat(t,u,s,d){Kf(s);const f=YH(u);t.replaceNode(u,d,q.createReturnStatement(s),{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Exclude,suffix:f?";":void 0})}function eot(t,u,s,d,f,p){const E=p||AX(d)?q.createParenthesizedExpression(d):d;Kf(f),Rk(f,E),t.replaceNode(u,s.body,E)}function tot(t,u,s,d){t.replaceNode(u,s.body,q.createParenthesizedExpression(d))}function qWt(t,u,s){const d=iu.ChangeTracker.with(t,f=>Xat(f,t.sourceFile,u,s));return Ro(v4e,d,F.Add_a_return_statement,C4e,F.Add_all_missing_return_statement)}function ZWt(t,u,s,d){const f=iu.ChangeTracker.with(t,p=>eot(p,t.sourceFile,u,s,d,!1));return Ro(v4e,f,F.Remove_braces_from_arrow_function_body,b4e,F.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function YWt(t,u,s){const d=iu.ChangeTracker.with(t,f=>tot(f,t.sourceFile,u,s));return Ro(v4e,d,F.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,y4e,F.Wrap_all_object_literal_with_parentheses)}var v4e,C4e,b4e,y4e,uwe,QWt=o({"src/services/codefixes/returnValueCorrect.ts"(){rr(),rs(),v4e="returnValueCorrect",C4e="fixAddReturnStatement",b4e="fixRemoveBracesFromArrowFunctionBody",y4e="fixWrapTheBlockWithParen",uwe=[F.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code,F.Type_0_is_not_assignable_to_type_1.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],Xo({errorCodes:uwe,fixIds:[C4e,b4e,y4e],getCodeActions:function(u){const{program:s,sourceFile:d,span:{start:f},errorCode:p}=u,E=Qat(s.getTypeChecker(),d,f,p);if(E)return E.kind===0?xi([qWt(u,E.expression,E.statement)],q0(E.declaration)?ZWt(u,E.declaration,E.expression,E.commentSource):void 0):[YWt(u,E.declaration,E.expression)]},getAllCodeActions:t=>f0(t,uwe,(u,s)=>{const d=Qat(t.program.getTypeChecker(),s.file,s.start,s.code);if(d)switch(t.fixId){case C4e:Xat(u,s.file,d.expression,d.statement);break;case b4e:if(!q0(d.declaration))return;eot(u,s.file,d.declaration,d.expression,d.commentSource,!1);break;case y4e:if(!q0(d.declaration))return;tot(u,s.file,d.declaration,d.expression);break;default:H.fail(JSON.stringify(t.fixId))}})})}});function iot(t,u,s,d,f){var p;const E=Ca(t,u),v=E.parent;if(s===F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(!(E.kind===19&&ys(v)&&Mo(v.parent)))return;const z=Ue(v.parent.arguments,Y=>Y===v);if(z<0)return;const j=d.getResolvedSignature(v.parent);if(!(j&&j.declaration&&j.parameters[z]))return;const J=j.parameters[z].valueDeclaration;if(!(J&&io(J)&&at(J.name)))return;const K=ga(d.getUnmatchedProperties(d.getTypeAtLocation(v),d.getParameterType(j,z),!1,!1));return S(K)?{kind:3,token:J.name,properties:K,parentDeclaration:v}:void 0}if(!J_(E))return;if(at(E)&&Nx(v)&&v.initializer&&ys(v.initializer)){const z=d.getContextualType(E)||d.getTypeAtLocation(E),j=ga(d.getUnmatchedProperties(d.getTypeAtLocation(v.initializer),z,!1,!1));return S(j)?{kind:3,token:E,properties:j,parentDeclaration:v.initializer}:void 0}if(at(E)&&zh(E.parent)){const z=Os(f.getCompilerOptions()),j=rGt(d,z,E.parent);return S(j)?{kind:4,token:E,attributes:j,parentDeclaration:E.parent}:void 0}if(at(E)){const z=(p=d.getContextualType(E))==null?void 0:p.getNonNullableType();if(z&&Gu(z)&16){const j=Ki(d.getSignaturesOfType(z,0));return j===void 0?void 0:{kind:5,token:E,signature:j,sourceFile:t,parentDeclaration:fot(E)}}if(Mo(v)&&v.expression===E)return{kind:2,token:E,call:v,sourceFile:t,modifierFlags:0,parentDeclaration:fot(E)}}if(!Iu(v))return;const b=nfe(d.getTypeAtLocation(v.expression)),B=b.symbol;if(!B||!B.declarations)return;if(at(E)&&Mo(v.parent)){const z=Le(B.declarations,_c),j=z==null?void 0:z.getSourceFile();if(z&&j&&!KM(f,j))return{kind:2,token:E,call:v.parent,sourceFile:t,modifierFlags:32,parentDeclaration:z};const J=Le(B.declarations,la);if(t.commonJsModuleIndicator)return;if(J&&!KM(f,J))return{kind:2,token:E,call:v.parent,sourceFile:J,modifierFlags:32,parentDeclaration:J}}const k=Le(B.declarations,mr);if(!k&&ea(E))return;const T=k||Le(B.declarations,z=>xh(z)||fm(z));if(T&&!KM(f,T.getSourceFile())){const z=!fm(T)&&(b.target||b)!==d.getDeclaredTypeOfSymbol(B);if(z&&(ea(E)||xh(T)))return;const j=T.getSourceFile(),J=fm(T)?0:(z?256:0)|(Afe(E.text)?2:0),K=gh(j),Y=ur(v.parent,Mo);return{kind:0,token:E,call:Y,modifierFlags:J,parentDeclaration:T,declSourceFile:j,isJSFile:K}}const M=Le(B.declarations,Iv);if(M&&!(b.flags&1056)&&!ea(E)&&!KM(f,M.getSourceFile()))return{kind:1,token:E,parentDeclaration:M}}function XWt(t,u){return u.isJSFile?Hy(eGt(t,u)):tGt(t,u)}function eGt(t,{parentDeclaration:u,declSourceFile:s,modifierFlags:d,token:f}){if(xh(u)||fm(u))return;const p=iu.ChangeTracker.with(t,v=>not(v,s,u,f,!!(d&256)));if(p.length===0)return;const E=d&256?F.Initialize_static_property_0:ea(f)?F.Declare_a_private_field_named_0:F.Initialize_property_0_in_the_constructor;return Ro(Yx,p,[E,f.text],Yx,F.Add_all_missing_members)}function not(t,u,s,d,f){const p=d.text;if(f){if(s.kind===231)return;const E=s.name.getText(),v=uot(q.createIdentifier(E),p);t.insertNodeAfter(u,s,v)}else if(ea(d)){const E=q.createPropertyDeclaration(void 0,p,void 0,void 0,void 0),v=oot(s);v?t.insertNodeAfter(u,v,E):t.insertMemberAtStart(u,s,E)}else{const E=X_(s);if(!E)return;const v=uot(q.createThis(),p);t.insertNodeAtConstructorEnd(u,E,v)}}function uot(t,u){return q.createExpressionStatement(q.createAssignment(q.createPropertyAccessExpression(t,u),c9()))}function tGt(t,{parentDeclaration:u,declSourceFile:s,modifierFlags:d,token:f}){const p=f.text,E=d&256,v=rot(t.program.getTypeChecker(),u,f),b=k=>iu.ChangeTracker.with(t,T=>aot(T,s,u,p,v,k)),B=[Ro(Yx,b(d&256),[E?F.Declare_static_property_0:F.Declare_property_0,p],Yx,F.Add_all_missing_members)];return E||ea(f)||(d&2&&B.unshift(Cg(Yx,b(2),[F.Declare_private_property_0,p])),B.push(iGt(t,s,u,f.text,v))),B}function rot(t,u,s){let d;if(s.parent.parent.kind===226){const f=s.parent.parent,p=s.parent===f.left?f.right:f.left,E=t.getWidenedType(t.getBaseTypeOfLiteralType(t.getTypeAtLocation(p)));d=t.typeToTypeNode(E,u,1)}else{const f=t.getContextualType(s.parent);d=f?t.typeToTypeNode(f,void 0,1):void 0}return d||q.createKeywordTypeNode(133)}function aot(t,u,s,d,f,p){const E=p?q.createNodeArray(q.createModifiersFromModifierFlags(p)):void 0,v=mr(s)?q.createPropertyDeclaration(E,d,void 0,f,void 0):q.createPropertySignature(void 0,d,void 0,f),b=oot(s);b?t.insertNodeAfter(u,b,v):t.insertMemberAtStart(u,s,v)}function oot(t){let u;for(const s of t.members){if(!ko(s))break;u=s}return u}function iGt(t,u,s,d,f){const p=q.createKeywordTypeNode(154),E=q.createParameterDeclaration(void 0,void 0,"x",void 0,p,void 0),v=q.createIndexSignature(void 0,[E],f),b=iu.ChangeTracker.with(t,B=>B.insertMemberAtStart(u,s,v));return Cg(Yx,b,[F.Add_index_signature_for_property_0,d])}function nGt(t,u){const{parentDeclaration:s,declSourceFile:d,modifierFlags:f,token:p,call:E}=u;if(E===void 0)return;const v=p.text,b=k=>iu.ChangeTracker.with(t,T=>sot(t,T,E,p,k,s,d)),B=[Ro(Yx,b(f&256),[f&256?F.Declare_static_method_0:F.Declare_method_0,v],Yx,F.Add_all_missing_members)];return f&2&&B.unshift(Cg(Yx,b(2),[F.Declare_private_method_0,v])),B}function sot(t,u,s,d,f,p,E){const v=l9(E,t.program,t.preferences,t.host),b=mr(p)?174:173,B=Vwe(b,t,v,s,d,f,p),k=aGt(p,s);k?u.insertNodeAfter(E,k,B):u.insertMemberAtStart(E,p,B),v.writeFixes(u)}function lot(t,u,{token:s,parentDeclaration:d}){const f=Oe(d.members,E=>{const v=u.getTypeAtLocation(E);return!!(v&&v.flags&402653316)}),p=q.createEnumMember(s,f?q.createStringLiteral(s.text):void 0);t.replaceNode(d.getSourceFile(),d,q.updateEnumDeclaration(d,d.modifiers,d.name,Hi(d.members,Hy(p))),{leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Exclude})}function cot(t,u,s){const d=Hm(u.sourceFile,u.preferences),f=l9(u.sourceFile,u.program,u.preferences,u.host),p=s.kind===2?Vwe(262,u,f,s.call,fu(s.token),s.modifierFlags,s.parentDeclaration):Z4e(262,u,d,s.signature,Bee(F.Function_not_implemented.message,d),s.token,void 0,void 0,void 0,f);p===void 0&&H.fail("fixMissingFunctionDeclaration codefix got unexpected error."),Op(s.parentDeclaration)?t.insertNodeBefore(s.sourceFile,s.parentDeclaration,p,!0):t.insertNodeAtEndOfScope(s.sourceFile,s.parentDeclaration,p),f.writeFixes(t)}function dot(t,u,s){const d=l9(u.sourceFile,u.program,u.preferences,u.host),f=Hm(u.sourceFile,u.preferences),p=u.program.getTypeChecker(),E=s.parentDeclaration.attributes,v=Oe(E.properties,H7),b=Vt(s.attributes,T=>{const M=k4e(u,p,d,f,p.getTypeOfSymbol(T),s.parentDeclaration),z=q.createIdentifier(T.name),j=q.createJsxAttribute(z,q.createJsxExpression(void 0,M));return ks(z,j),j}),B=q.createJsxAttributes(v?[...b,...E.properties]:[...E.properties,...b]),k={prefix:E.pos===E.end?" ":void 0};t.replaceNode(u.sourceFile,E,B,k),d.writeFixes(t)}function hot(t,u,s){const d=l9(u.sourceFile,u.program,u.preferences,u.host),f=Hm(u.sourceFile,u.preferences),p=Os(u.program.getCompilerOptions()),E=u.program.getTypeChecker(),v=Vt(s.properties,B=>{const k=k4e(u,E,d,f,E.getTypeOfSymbol(B),s.parentDeclaration);return q.createPropertyAssignment(oGt(B,p,f,E),k)}),b={leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Exclude,indentation:s.indentation};t.replaceNode(u.sourceFile,s.parentDeclaration,q.createObjectLiteralExpression([...s.parentDeclaration.properties,...v],!0),b),d.writeFixes(t)}function k4e(t,u,s,d,f,p){if(f.flags&3)return c9();if(f.flags&134217732)return q.createStringLiteral("",d===0);if(f.flags&8)return q.createNumericLiteral(0);if(f.flags&64)return q.createBigIntLiteral("0n");if(f.flags&16)return q.createFalse();if(f.flags&1056){const E=f.symbol.exports?Hn(f.symbol.exports.values()):f.symbol,v=u.symbolToExpression(f.symbol.parent?f.symbol.parent:f.symbol,111551,void 0,void 0);return E===void 0||v===void 0?q.createNumericLiteral(0):q.createPropertyAccessExpression(v,u.symbolToString(E))}if(f.flags&256)return q.createNumericLiteral(f.value);if(f.flags&2048)return q.createBigIntLiteral(f.value);if(f.flags&128)return q.createStringLiteral(f.value,d===0);if(f.flags&512)return f===u.getFalseType()||f===u.getFalseType(!0)?q.createFalse():q.createTrue();if(f.flags&65536)return q.createNull();if(f.flags&1048576)return G(f.types,v=>k4e(t,u,s,d,v,p))??c9();if(u.isArrayLikeType(f))return q.createArrayLiteralExpression();if(uGt(f)){const E=Vt(u.getPropertiesOfType(f),v=>{const b=k4e(t,u,s,d,u.getTypeOfSymbol(v),p);return q.createPropertyAssignment(v.name,b)});return q.createObjectLiteralExpression(E,!0)}if(Gu(f)&16){if(Le(f.symbol.declarations||_t,dg(u3,n3,dc))===void 0)return c9();const v=u.getSignaturesOfType(f,0);return v===void 0?c9():Z4e(218,t,d,v[0],Bee(F.Function_not_implemented.message,d),void 0,void 0,void 0,p,s)??c9()}if(Gu(f)&1){const E=tD(f.symbol);if(E===void 0||P2(E))return c9();const v=X_(E);return v&&S(v.parameters)?c9():q.createNewExpression(q.createIdentifier(f.symbol.name),void 0,void 0)}return c9()}function c9(){return q.createIdentifier("undefined")}function uGt(t){return t.flags&524288&&(Gu(t)&128||t.symbol&&ur(Aa(t.symbol.declarations),fm))}function rGt(t,u,s){const d=t.getContextualType(s.attributes);if(d===void 0)return _t;const f=d.getProperties();if(!S(f))return _t;const p=new Set;for(const E of s.attributes.properties)if(oE(E)&&p.add(MP(E.name)),H7(E)){const v=t.getTypeAtLocation(E.expression);for(const b of v.getProperties())p.add(b.escapedName)}return ti(f,E=>Lm(E.name,u,1)&&!(E.flags&16777216||Gl(E)&48||p.has(E.escapedName)))}function aGt(t,u){if(fm(t))return;const s=Tn(u,d=>dc(d)||hc(d));return s&&s.parent===t?s:void 0}function oGt(t,u,s,d){if(qE(t)){const f=d.symbolToNode(t,111551,void 0,1073741824);if(f&&Ps(f))return f}return mZ(t.name,u,s===0,!1,!1)}function fot(t){if(Tn(t,YP)){const u=Tn(t.parent,Op);if(u)return u}return zn(t)}var Yx,bee,yee,kee,rwe,sGt=o({"src/services/codefixes/fixAddMissingMember.ts"(){rr(),rs(),Yx="fixMissingMember",bee="fixMissingProperties",yee="fixMissingAttributes",kee="fixMissingFunctionDeclaration",rwe=[F.Property_0_does_not_exist_on_type_1.code,F.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,F.Property_0_is_missing_in_type_1_but_required_in_type_2.code,F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,F.Cannot_find_name_0.code],Xo({errorCodes:rwe,getCodeActions(t){const u=t.program.getTypeChecker(),s=iot(t.sourceFile,t.span.start,t.errorCode,u,t.program);if(s){if(s.kind===3){const d=iu.ChangeTracker.with(t,f=>hot(f,t,s));return[Ro(bee,d,F.Add_missing_properties,bee,F.Add_all_missing_properties)]}if(s.kind===4){const d=iu.ChangeTracker.with(t,f=>dot(f,t,s));return[Ro(yee,d,F.Add_missing_attributes,yee,F.Add_all_missing_attributes)]}if(s.kind===2||s.kind===5){const d=iu.ChangeTracker.with(t,f=>cot(f,t,s));return[Ro(kee,d,[F.Add_missing_function_declaration_0,s.token.text],kee,F.Add_all_missing_function_declarations)]}if(s.kind===1){const d=iu.ChangeTracker.with(t,f=>lot(f,t.program.getTypeChecker(),s));return[Ro(Yx,d,[F.Add_missing_enum_member_0,s.token.text],Yx,F.Add_all_missing_members)]}return Hi(nGt(t,s),XWt(t,s))}},fixIds:[Yx,kee,bee,yee],getAllCodeActions:t=>{const{program:u,fixId:s}=t,d=u.getTypeChecker(),f=new Map,p=new Map;return Ew(iu.ChangeTracker.with(t,E=>{_w(t,rwe,v=>{const b=iot(v.file,v.start,v.code,d,t.program);if(!(!b||!Ip(f,$s(b.parentDeclaration)+"#"+b.token.text))){if(s===kee&&(b.kind===2||b.kind===5))cot(E,t,b);else if(s===bee&&b.kind===3)hot(E,t,b);else if(s===yee&&b.kind===4)dot(E,t,b);else if(b.kind===1&&lot(E,d,b),b.kind===0){const{parentDeclaration:B,token:k}=b,T=W0(p,B,()=>[]);T.some(M=>M.token.text===k.text)||T.push(b)}}}),p.forEach((v,b)=>{const B=fm(b)?void 0:qwe(b,d);for(const k of v){if(B!=null&&B.some(Y=>{const oe=p.get(Y);return!!oe&&oe.some(({token:se})=>se.text===k.token.text)}))continue;const{parentDeclaration:T,declSourceFile:M,modifierFlags:z,token:j,call:J,isJSFile:K}=k;if(J&&!ea(j))sot(t,E,J,j,z&256,T,M);else if(K&&!xh(T)&&!fm(T))not(E,M,T,j,!!(z&256));else{const Y=rot(d,T,j);aot(E,M,T,j.text,Y,z&256)}}})}))}})}});function mot(t,u,s){const d=Po(lGt(u,s),Mo),f=q.createNewExpression(d.expression,d.typeArguments,d.arguments);t.replaceNode(u,d,f)}function lGt(t,u){let s=Ca(t,u.start);const d=Ec(u);for(;s.endmot(f,u,s));return[Ro(F4e,d,F.Add_missing_new_operator_to_call,F4e,F.Add_missing_new_operator_to_all_calls)]},fixIds:[F4e],getAllCodeActions:t=>f0(t,awe,(u,s)=>mot(u,t.sourceFile,s))})}});function pot(t,u){return{type:"install package",file:t,packageName:u}}function got(t,u){const s=ur(Ca(t,u),us);if(!s)return;const d=s.text,{packageName:f}=oH(d);return Id(f)?void 0:f}function Eot(t,u,s){var d;return s===owe?o3.nodeCoreModules.has(t)?"@types/node":void 0:(d=u.isKnownTypesPackageName)!=null&&d.call(u,t)?$Y(t):void 0}var _ot,A4e,owe,swe,dGt=o({"src/services/codefixes/fixCannotFindModule.ts"(){rr(),rs(),_ot="fixCannotFindModule",A4e="installTypesPackage",owe=F.Cannot_find_module_0_or_its_corresponding_type_declarations.code,swe=[owe,F.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code],Xo({errorCodes:swe,getCodeActions:function(u){const{host:s,sourceFile:d,span:{start:f}}=u,p=got(d,f);if(p===void 0)return;const E=Eot(p,s,u.errorCode);return E===void 0?[]:[Ro(_ot,[],[F.Install_0,E],A4e,F.Install_all_missing_types_packages,pot(d.fileName,E))]},fixIds:[A4e],getAllCodeActions:t=>f0(t,swe,(u,s,d)=>{const f=got(s.file,s.start);if(f!==void 0)switch(t.fixId){case A4e:{const p=Eot(f,t.host,s.code);p&&d.push(pot(s.file.fileName,p));break}default:H.fail(`Bad fixId: ${t.fixId}`)}})})}});function Dot(t,u){const s=Ca(t,u);return Po(s.parent,mr)}function xot(t,u,s,d,f){const p=Qg(t),E=s.program.getTypeChecker(),v=E.getTypeAtLocation(p),b=E.getPropertiesOfType(v).filter(hGt),B=l9(u,s.program,f,s.host);jwe(t,b,u,s,f,B,k=>d.insertMemberAtStart(u,t,k)),B.writeFixes(d)}function hGt(t){const u=Rx(Pn(t.getDeclarations()));return!(u&2)&&!!(u&64)}var lwe,S4e,fGt=o({"src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts"(){rr(),rs(),lwe=[F.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1.code],S4e="fixClassDoesntImplementInheritedAbstractMember",Xo({errorCodes:lwe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=iu.ChangeTracker.with(u,p=>xot(Dot(s,d.start),s,u,p,u.preferences));return f.length===0?void 0:[Ro(S4e,f,F.Implement_inherited_abstract_class,S4e,F.Implement_all_inherited_abstract_classes)]},fixIds:[S4e],getAllCodeActions:function(u){const s=new Map;return f0(u,lwe,(d,f)=>{const p=Dot(f.file,f.start);Ip(s,$s(p))&&xot(p,u.sourceFile,u,d,u.preferences)})}})}});function vot(t,u,s,d){t.insertNodeAtConstructorStart(u,s,d),t.delete(u,d)}function Cot(t,u){const s=Ca(t,u);if(s.kind!==110)return;const d=Nm(s),f=bot(d.body);return f&&!f.expression.arguments.some(p=>Iu(p)&&p.expression===s)?{constructor:d,superCall:f}:void 0}function bot(t){return Od(t)&&ik(t.expression)?t:Co(t)?void 0:ao(t,bot)}var B4e,cwe,mGt=o({"src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts"(){rr(),rs(),B4e="classSuperMustPrecedeThisAccess",cwe=[F.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],Xo({errorCodes:cwe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=Cot(u,s.start);if(!d)return;const{constructor:f,superCall:p}=d,E=iu.ChangeTracker.with(t,v=>vot(v,u,f,p));return[Ro(B4e,E,F.Make_super_call_the_first_statement_in_the_constructor,B4e,F.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[B4e],getAllCodeActions(t){const{sourceFile:u}=t,s=new Map;return f0(t,cwe,(d,f)=>{const p=Cot(f.file,f.start);if(!p)return;const{constructor:E,superCall:v}=p;Ip(s,$s(E.parent))&&vot(d,u,E,v)})}})}});function yot(t,u){const s=Ca(t,u);return H.assert(hc(s.parent),"token should be at the constructor declaration"),s.parent}function kot(t,u,s){const d=q.createExpressionStatement(q.createCallExpression(q.createSuper(),void 0,_t));t.insertNodeAtConstructorStart(u,s,d)}var w4e,dwe,pGt=o({"src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts"(){rr(),rs(),w4e="constructorForDerivedNeedSuperCall",dwe=[F.Constructors_for_derived_classes_must_contain_a_super_call.code],Xo({errorCodes:dwe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=yot(u,s.start),f=iu.ChangeTracker.with(t,p=>kot(p,u,d));return[Ro(w4e,f,F.Add_missing_super_call,w4e,F.Add_all_missing_super_calls)]},fixIds:[w4e],getAllCodeActions:t=>f0(t,dwe,(u,s)=>kot(u,t.sourceFile,yot(s.file,s.start)))})}});function Fot(t,u){Gwe(t,u,"jsx",q.createStringLiteral("react"))}var hwe,fwe,gGt=o({"src/services/codefixes/fixEnableJsxFlag.ts"(){rr(),rs(),hwe="fixEnableJsxFlag",fwe=[F.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code],Xo({errorCodes:fwe,getCodeActions:function(u){const{configFile:s}=u.program.getCompilerOptions();if(s===void 0)return;const d=iu.ChangeTracker.with(u,f=>Fot(f,s));return[Cg(hwe,d,F.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[hwe],getAllCodeActions:t=>f0(t,fwe,u=>{const{configFile:s}=t.program.getCompilerOptions();s!==void 0&&Fot(u,s)})})}});function Aot(t,u,s){const d=Le(t.getSemanticDiagnostics(u),E=>E.start===s.start&&E.length===s.length);if(d===void 0||d.relatedInformation===void 0)return;const f=Le(d.relatedInformation,E=>E.code===F.Did_you_mean_0.code);if(f===void 0||f.file===void 0||f.start===void 0||f.length===void 0)return;const p=$we(f.file,d1(f.start,f.length));if(p!==void 0&&Wt(p)&&Xn(p.parent))return{suggestion:EGt(f.messageText),expression:p.parent,arg:p}}function Sot(t,u,s,d){const f=q.createCallExpression(q.createPropertyAccessExpression(q.createIdentifier("Number"),q.createIdentifier("isNaN")),void 0,[s]),p=d.operatorToken.kind;t.replaceNode(u,d,p===38||p===36?q.createPrefixUnaryExpression(54,f):f)}function EGt(t){const[u,s]=lE(t,` +`,0).match(/'(.*)'/)||[];return s}var T4e,mwe,_Gt=o({"src/services/codefixes/fixNaNEquality.ts"(){rr(),rs(),T4e="fixNaNEquality",mwe=[F.This_condition_will_always_return_0.code],Xo({errorCodes:mwe,getCodeActions(t){const{sourceFile:u,span:s,program:d}=t,f=Aot(d,u,s);if(f===void 0)return;const{suggestion:p,expression:E,arg:v}=f,b=iu.ChangeTracker.with(t,B=>Sot(B,u,v,E));return[Ro(T4e,b,[F.Use_0,p],T4e,F.Use_Number_isNaN_in_all_conditions)]},fixIds:[T4e],getAllCodeActions:t=>f0(t,mwe,(u,s)=>{const d=Aot(t.program,s.file,d1(s.start,s.length));d&&Sot(u,s.file,d.arg,d.expression)})})}}),DGt=o({"src/services/codefixes/fixModuleAndTargetOptions.ts"(){rr(),rs(),Xo({errorCodes:[F.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,F.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,F.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(u){const s=u.program.getCompilerOptions(),{configFile:d}=s;if(d===void 0)return;const f=[],p=m1(s);if(p>=5&&p<99){const B=iu.ChangeTracker.with(u,k=>{Gwe(k,d,"module",q.createStringLiteral("esnext"))});f.push(Cg("fixModuleOption",B,[F.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}const v=Os(s);if(v<4||v>99){const B=iu.ChangeTracker.with(u,k=>{if(!ZN(d))return;const M=[["target",q.createStringLiteral("es2017")]];p===1&&M.push(["module",q.createStringLiteral("commonjs")]),Wwe(k,d,M)});f.push(Cg("fixTargetOption",B,[F.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return f.length?f:void 0}})}});function Bot(t,u,s){t.replaceNode(u,s,q.createPropertyAssignment(s.name,s.objectAssignmentInitializer))}function wot(t,u){return Po(Ca(t,u).parent,pm)}var L4e,pwe,xGt=o({"src/services/codefixes/fixPropertyAssignment.ts"(){rr(),rs(),L4e="fixPropertyAssignment",pwe=[F.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code],Xo({errorCodes:pwe,fixIds:[L4e],getCodeActions(t){const{sourceFile:u,span:s}=t,d=wot(u,s.start),f=iu.ChangeTracker.with(t,p=>Bot(p,t.sourceFile,d));return[Ro(L4e,f,[F.Change_0_to_1,"=",":"],L4e,[F.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:t=>f0(t,pwe,(u,s)=>Bot(u,s.file,wot(s.file,s.start)))})}});function Tot(t,u){const s=Ca(t,u),d=Yd(s).heritageClauses,f=d[0].getFirstToken();return f.kind===96?{extendsToken:f,heritageClauses:d}:void 0}function Lot(t,u,s,d){if(t.replaceNode(u,s,q.createToken(119)),d.length===2&&d[0].token===96&&d[1].token===119){const f=d[1].getFirstToken(),p=f.getFullStart();t.replaceRange(u,{pos:p,end:p},q.createToken(28));const E=u.text;let v=f.end;for(;vLot(E,u,d,f));return[Ro(N4e,p,F.Change_extends_to_implements,N4e,F.Change_all_extended_interfaces_to_implements)]},fixIds:[N4e],getAllCodeActions:t=>f0(t,gwe,(u,s)=>{const d=Tot(s.file,s.start);d&&Lot(u,s.file,d.extendsToken,d.heritageClauses)})})}});function Not(t,u,s){const d=Ca(t,u);if(at(d)||ea(d))return{node:d,className:s===Ewe?Yd(d).name.text:void 0}}function Pot(t,u,{node:s,className:d}){Kf(s),t.replaceNode(u,s,q.createPropertyAccessExpression(d?q.createIdentifier(d):q.createThis(),s))}var P4e,Ewe,_we,CGt=o({"src/services/codefixes/fixForgottenThisPropertyAccess.ts"(){rr(),rs(),P4e="forgottenThisPropertyAccess",Ewe=F.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,_we=[F.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,F.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,Ewe],Xo({errorCodes:_we,getCodeActions(t){const{sourceFile:u}=t,s=Not(u,t.span.start,t.errorCode);if(!s)return;const d=iu.ChangeTracker.with(t,f=>Pot(f,u,s));return[Ro(P4e,d,[F.Add_0_to_unresolved_variable,s.className||"this"],P4e,F.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[P4e],getAllCodeActions:t=>f0(t,_we,(u,s)=>{const d=Not(s.file,s.start,s.code);d&&Pot(u,t.sourceFile,d)})})}});function bGt(t){return gu(vwe,t)}function Dwe(t,u,s,d,f){const p=s.getText()[d];if(!bGt(p))return;const E=f?vwe[p]:`{${jM(s,u,p)}}`;t.replaceRangeWithText(s,{pos:d,end:d+1},E)}var M4e,Fee,xwe,vwe,yGt=o({"src/services/codefixes/fixInvalidJsxCharacters.ts"(){rr(),rs(),M4e="fixInvalidJsxCharacters_expression",Fee="fixInvalidJsxCharacters_htmlEntity",xwe=[F.Unexpected_token_Did_you_mean_or_gt.code,F.Unexpected_token_Did_you_mean_or_rbrace.code],Xo({errorCodes:xwe,fixIds:[M4e,Fee],getCodeActions(t){const{sourceFile:u,preferences:s,span:d}=t,f=iu.ChangeTracker.with(t,E=>Dwe(E,s,u,d.start,!1)),p=iu.ChangeTracker.with(t,E=>Dwe(E,s,u,d.start,!0));return[Ro(M4e,f,F.Wrap_invalid_character_in_an_expression_container,M4e,F.Wrap_all_invalid_characters_in_an_expression_container),Ro(Fee,p,F.Convert_invalid_character_to_its_html_entity_code,Fee,F.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions(t){return f0(t,xwe,(u,s)=>Dwe(u,t.preferences,s.file,s.start,t.fixId===Fee))}}),vwe={">":">","}":"}"}}});function kGt(t,{name:u,jsDocHost:s,jsDocParameterTag:d}){const f=iu.ChangeTracker.with(t,p=>p.filterJSDocTags(t.sourceFile,s,E=>E!==d));return Ro(Aee,f,[F.Delete_unused_param_tag_0,u.getText(t.sourceFile)],Aee,F.Delete_all_unused_param_tags)}function FGt(t,{name:u,jsDocHost:s,signature:d,jsDocParameterTag:f}){if(!S(d.parameters))return;const p=t.sourceFile,E=Cv(d),v=new Set;for(const T of E)Eg(T)&&at(T.name)&&v.add(T.name.escapedText);const b=G(d.parameters,T=>at(T.name)&&!v.has(T.name.escapedText)?T.name.getText(p):void 0);if(b===void 0)return;const B=q.updateJSDocParameterTag(f,f.tagName,q.createIdentifier(b),f.isBracketed,f.typeExpression,f.isNameFirst,f.comment),k=iu.ChangeTracker.with(t,T=>T.replaceJSDocComment(p,s,Vt(E,M=>M===f?B:M)));return Cg(Cwe,k,[F.Rename_param_tag_name_0_to_1,u.getText(p),b])}function Mot(t,u){const s=Ca(t,u);if(s.parent&&Eg(s.parent)&&at(s.parent.name)){const d=s.parent,f=h7(d),p=kv(d);if(f&&p)return{jsDocHost:f,signature:p,name:s.parent.name,jsDocParameterTag:d}}}var Aee,Cwe,bwe,AGt=o({"src/services/codefixes/fixUnmatchedParameter.ts"(){rr(),rs(),Aee="deleteUnmatchedParameter",Cwe="renameUnmatchedParameter",bwe=[F.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code],Xo({fixIds:[Aee,Cwe],errorCodes:bwe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=[],p=Mot(s,d.start);if(p)return xi(f,kGt(u,p)),xi(f,FGt(u,p)),f},getAllCodeActions:function(u){const s=new Map;return Ew(iu.ChangeTracker.with(u,d=>{_w(u,bwe,({file:f,start:p})=>{const E=Mot(f,p);E&&s.set(E.signature,xi(s.get(E.signature),E.jsDocParameterTag))}),s.forEach((f,p)=>{if(u.fixId===Aee){const E=new Set(f);d.filterJSDocTags(p.getSourceFile(),p,v=>!E.has(v))}})}))}})}});function SGt(t,u,s){const d=ur(Ca(t,s),at);if(!d||d.parent.kind!==183)return;const p=u.getTypeChecker().getSymbolAtLocation(d);return Le((p==null?void 0:p.declarations)||_t,dg(n_,bf,E1))}function BGt(t,u,s,d){if(s.kind===271){t.insertModifierBefore(u,156,s.name);return}const f=s.kind===273?s:s.parent.parent;if(f.name&&f.namedBindings)return;const p=d.getTypeChecker();Fq(f,v=>{if(X1(v.symbol,p).flags&111551)return!0})||t.insertModifierBefore(u,156,f)}function wGt(t,u,s,d){a9.doChangeNamedToNamespaceOrDefault(u,d,t,s.parent)}var z4e,zot,TGt=o({"src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts"(){rr(),rs(),z4e="fixUnreferenceableDecoratorMetadata",zot=[F.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code],Xo({errorCodes:zot,getCodeActions:t=>{const u=SGt(t.sourceFile,t.program,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,p=>u.kind===276&&wGt(p,t.sourceFile,u,t.program)),d=iu.ChangeTracker.with(t,p=>BGt(p,t.sourceFile,u,t.program));let f;return s.length&&(f=xi(f,Cg(z4e,s,F.Convert_named_imports_to_namespace_import))),d.length&&(f=xi(f,Cg(z4e,d,F.Use_import_type))),f},fixIds:[z4e]})}});function Iot(t,u,s){t.replaceNode(u,s.parent,q.createKeywordTypeNode(159))}function yK(t,u){return Ro(kK,t,u,O4e,F.Delete_all_unused_declarations)}function Rot(t,u,s){t.delete(u,H.checkDefined(Po(s.parent,v0e).typeParameters,"The type parameter to delete should exist"))}function ywe(t){return t.kind===102||t.kind===80&&(t.parent.kind===276||t.parent.kind===273)}function Oot(t){return t.kind===102?ur(t.parent,Sd):void 0}function jot(t,u){return Ad(u.parent)&&Pn(u.parent.getChildren(t))===u}function Vot(t,u,s){t.delete(u,s.parent.kind===243?s.parent:s)}function LGt(t,u,s){L(s.elements,d=>t.delete(u,d))}function NGt(t,u,s,{parent:d}){if(ua(d)&&d.initializer&&D2(d.initializer))if(Ad(d.parent)&&S(d.parent.declarations)>1){const f=d.parent.parent,p=f.getStart(s),E=f.end;u.delete(s,d),u.insertNodeAt(s,E,d.initializer,{prefix:E5(t.host,t.formatContext.options)+s.text.slice(FX(s.text,p-1),p),suffix:YH(s)?";":""})}else u.replaceNode(s,d.parent,d.initializer);else u.delete(s,d)}function Hot(t,u,s,d){u!==F.Property_0_is_declared_but_its_value_is_never_read.code&&(d.kind===140&&(d=Po(d.parent,P7).typeParameter.name),at(d)&&PGt(d)&&(t.replaceNode(s,d,q.createIdentifier(`_${d.text}`)),io(d.parent)&&B8(d.parent).forEach(f=>{at(f.name)&&t.replaceNode(s,f.name,q.createIdentifier(`_${f.name.text}`))})))}function PGt(t){switch(t.parent.kind){case 169:case 168:return!0;case 260:switch(t.parent.parent.parent.kind){case 250:case 249:return!0}}return!1}function I4e(t,u,s,d,f,p,E,v){MGt(u,s,t,d,f,p,E,v),at(u)&&Z0.Core.eachSymbolReferenceInFile(u,d,t,b=>{Iu(b.parent)&&b.parent.name===b&&(b=b.parent),!v&&OGt(b)&&s.delete(t,b.parent.parent)})}function MGt(t,u,s,d,f,p,E,v){const{parent:b}=t;if(io(b))zGt(u,s,b,d,f,p,E,v);else if(!(v&&at(t)&&Z0.Core.isSymbolReferencedInFile(t,d,s))){const B=n_(b)?t:Ps(b)?b.parent:b;H.assert(B!==s,"should not delete whole source file"),u.delete(s,B)}}function zGt(t,u,s,d,f,p,E,v=!1){if(IGt(d,u,s,f,p,E,v))if(s.modifiers&&s.modifiers.length>0&&(!at(s.name)||Z0.Core.isSymbolReferencedInFile(s.name,d,u)))for(const b of s.modifiers)Qo(b)&&t.deleteModifier(u,b);else!s.initializer&&Kot(s,d,f)&&t.delete(u,s)}function Kot(t,u,s){const d=t.parent.parameters.indexOf(t);return!Z0.Core.someSignatureUsage(t.parent,s,u,(f,p)=>!p||p.arguments.length>d)}function IGt(t,u,s,d,f,p,E){const{parent:v}=s;switch(v.kind){case 174:case 176:const b=v.parameters.indexOf(s),B=dc(v)?v.name:v,k=Z0.Core.getReferencedSymbolsForNode(v.pos,B,f,d,p);if(k){for(const T of k)for(const M of T.references)if(M.kind===Z0.EntryKind.Node){const z=HP(M.node)&&Mo(M.node.parent)&&M.node.parent.arguments.length>b,j=Iu(M.node.parent)&&HP(M.node.parent.expression)&&Mo(M.node.parent.parent)&&M.node.parent.parent.arguments.length>b,J=(dc(M.node.parent)||n3(M.node.parent))&&M.node.parent!==s.parent&&M.node.parent.parameters.length>b;if(z||j||J)return!1}}return!0;case 262:return v.name&&RGt(t,u,v.name)?Wot(v,s,E):!0;case 218:case 219:return Wot(v,s,E);case 178:return!1;case 177:return!0;default:return H.failBadSyntaxKind(v)}}function RGt(t,u,s){return!!Z0.Core.eachSymbolReferenceInFile(s,t,u,d=>at(d)&&Mo(d.parent)&&d.parent.arguments.includes(d))}function Wot(t,u,s){const d=t.parameters,f=d.indexOf(u);return H.assert(f!==-1,"The parameter should already be in the list"),s?d.slice(f+1).every(p=>at(p.name)&&!p.symbol.isReferenced):f===d.length-1}function OGt(t){return(Xn(t.parent)&&t.parent.left===t||(vce(t.parent)||zv(t.parent))&&t.parent.operand===t)&&Od(t.parent.parent)}var kK,R4e,O4e,See,j4e,kwe,jGt=o({"src/services/codefixes/fixUnusedIdentifier.ts"(){rr(),rs(),kK="unusedIdentifier",R4e="unusedIdentifier_prefix",O4e="unusedIdentifier_delete",See="unusedIdentifier_deleteImports",j4e="unusedIdentifier_infer",kwe=[F._0_is_declared_but_its_value_is_never_read.code,F._0_is_declared_but_never_used.code,F.Property_0_is_declared_but_its_value_is_never_read.code,F.All_imports_in_import_declaration_are_unused.code,F.All_destructured_elements_are_unused.code,F.All_variables_are_unused.code,F.All_type_parameters_are_unused.code],Xo({errorCodes:kwe,getCodeActions(t){const{errorCode:u,sourceFile:s,program:d,cancellationToken:f}=t,p=d.getTypeChecker(),E=d.getSourceFiles(),v=Ca(s,t.span.start);if(_g(v))return[yK(iu.ChangeTracker.with(t,T=>T.delete(s,v)),F.Remove_template_tag)];if(v.kind===30){const T=iu.ChangeTracker.with(t,M=>Rot(M,s,v));return[yK(T,F.Remove_type_parameters)]}const b=Oot(v);if(b){const T=iu.ChangeTracker.with(t,M=>M.delete(s,b));return[Ro(kK,T,[F.Remove_import_from_0,$ye(b)],See,F.Delete_all_unused_imports)]}else if(ywe(v)){const T=iu.ChangeTracker.with(t,M=>I4e(s,v,M,p,E,d,f,!1));if(T.length)return[Ro(kK,T,[F.Remove_unused_declaration_for_Colon_0,v.getText(s)],See,F.Delete_all_unused_imports)]}if(Rp(v.parent)||_k(v.parent)){if(io(v.parent.parent)){const T=v.parent.elements,M=[T.length>1?F.Remove_unused_declarations_for_Colon_0:F.Remove_unused_declaration_for_Colon_0,Vt(T,z=>z.getText(s)).join(", ")];return[yK(iu.ChangeTracker.with(t,z=>LGt(z,s,v.parent)),M)]}return[yK(iu.ChangeTracker.with(t,T=>NGt(t,T,s,v.parent)),F.Remove_unused_destructuring_declaration)]}if(jot(s,v))return[yK(iu.ChangeTracker.with(t,T=>Vot(T,s,v.parent)),F.Remove_variable_statement)];const B=[];if(v.kind===140){const T=iu.ChangeTracker.with(t,z=>Iot(z,s,v)),M=Po(v.parent,P7).typeParameter.name.text;B.push(Ro(kK,T,[F.Replace_infer_0_with_unknown,M],j4e,F.Replace_all_unused_infer_with_unknown))}else{const T=iu.ChangeTracker.with(t,M=>I4e(s,v,M,p,E,d,f,!1));if(T.length){const M=Ps(v.parent)?v.parent:v;B.push(yK(T,[F.Remove_unused_declaration_for_Colon_0,M.getText(s)]))}}const k=iu.ChangeTracker.with(t,T=>Hot(T,u,s,v));return k.length&&B.push(Ro(kK,k,[F.Prefix_0_with_an_underscore,v.getText(s)],R4e,F.Prefix_all_unused_declarations_with_where_possible)),B},fixIds:[R4e,O4e,See,j4e],getAllCodeActions:t=>{const{sourceFile:u,program:s,cancellationToken:d}=t,f=s.getTypeChecker(),p=s.getSourceFiles();return f0(t,kwe,(E,v)=>{const b=Ca(u,v.start);switch(t.fixId){case R4e:Hot(E,v.code,u,b);break;case See:{const B=Oot(b);B?E.delete(u,B):ywe(b)&&I4e(u,b,E,f,p,s,d,!0);break}case O4e:{if(b.kind===140||ywe(b))break;if(_g(b))E.delete(u,b);else if(b.kind===30)Rot(E,u,b);else if(Rp(b.parent)){if(b.parent.parent.initializer)break;(!io(b.parent.parent)||Kot(b.parent.parent,f,p))&&E.delete(u,b.parent.parent)}else{if(_k(b.parent.parent)&&b.parent.parent.parent.initializer)break;jot(u,b)?Vot(E,u,b.parent):I4e(u,b,E,f,p,s,d,!0)}break}case j4e:b.kind===140&&Iot(E,u,b);break;default:H.fail(JSON.stringify(t.fixId))}})}})}});function Got(t,u,s,d,f){const p=Ca(u,s),E=Tn(p,na);if(E.getStart(u)!==p.getStart(u)){const b=JSON.stringify({statementKind:H.formatSyntaxKind(E.kind),tokenKind:H.formatSyntaxKind(p.kind),errorCode:f,start:s,length:d});H.fail("Token and statement should start at the same point. "+b)}const v=(po(E.parent)?E.parent:E).parent;if(!po(E.parent)||E===Pn(E.parent.statements))switch(v.kind){case 245:if(v.elseStatement){if(po(E.parent))break;t.replaceNode(u,E,q.createBlock(_t));return}case 247:case 248:t.delete(u,v);return}if(po(E.parent)){const b=s+d,B=H.checkDefined(VGt(wle(E.parent.statements,E),k=>k.posGot(d,t.sourceFile,t.span.start,t.span.length,t.errorCode));return[Ro(V4e,s,F.Remove_unreachable_code,V4e,F.Remove_all_unreachable_code)]},fixIds:[V4e],getAllCodeActions:t=>f0(t,Fwe,(u,s)=>Got(u,s.file,s.start,s.length,s.code))})}});function Jot(t,u,s){const d=Ca(u,s),f=Po(d.parent,V2),p=d.getStart(u),E=f.statement.getStart(u),v=q4(p,E,u)?E:gs(u.text,a0(f,59,u).end,!0);t.deleteRange(u,{pos:p,end:v})}var H4e,Awe,KGt=o({"src/services/codefixes/fixUnusedLabel.ts"(){rr(),rs(),H4e="fixUnusedLabel",Awe=[F.Unused_label.code],Xo({errorCodes:Awe,getCodeActions(t){const u=iu.ChangeTracker.with(t,s=>Jot(s,t.sourceFile,t.span.start));return[Ro(H4e,u,F.Remove_unused_label,H4e,F.Remove_all_unused_labels)]},fixIds:[H4e],getAllCodeActions:t=>f0(t,Awe,(u,s)=>Jot(u,s.file,s.start))})}});function $ot(t,u,s,d,f){t.replaceNode(u,s,f.typeToTypeNode(d,s,void 0))}function Uot(t,u,s){const d=Tn(Ca(t,u),WGt),f=d&&d.type;return f&&{typeNode:f,type:GGt(s,f)}}function WGt(t){switch(t.kind){case 234:case 179:case 180:case 262:case 177:case 181:case 200:case 174:case 173:case 169:case 172:case 171:case 178:case 265:case 216:case 260:return!0;default:return!1}}function GGt(t,u){if(wB(u)){const s=t.getTypeFromTypeNode(u.type);return s===t.getNeverType()||s===t.getVoidType()?s:t.getUnionType(xi([s,t.getUndefinedType()],u.postfix?void 0:t.getNullType()))}return t.getTypeFromTypeNode(u)}var Swe,K4e,Bwe,JGt=o({"src/services/codefixes/fixJSDocTypes.ts"(){rr(),rs(),Swe="fixJSDocTypes_plain",K4e="fixJSDocTypes_nullable",Bwe=[F.JSDoc_types_can_only_be_used_inside_documentation_comments.code,F._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code,F._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code],Xo({errorCodes:Bwe,getCodeActions(t){const{sourceFile:u}=t,s=t.program.getTypeChecker(),d=Uot(u,t.span.start,s);if(!d)return;const{typeNode:f,type:p}=d,E=f.getText(u),v=[b(p,Swe,F.Change_all_jsdoc_style_types_to_TypeScript)];return f.kind===321&&v.push(b(p,K4e,F.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),v;function b(B,k,T){const M=iu.ChangeTracker.with(t,z=>$ot(z,u,f,B,s));return Ro("jdocTypes",M,[F.Change_0_to_1,E,s.typeToString(B)],k,T)}},fixIds:[Swe,K4e],getAllCodeActions(t){const{fixId:u,program:s,sourceFile:d}=t,f=s.getTypeChecker();return f0(t,Bwe,(p,E)=>{const v=Uot(E.file,E.start,f);if(!v)return;const{typeNode:b,type:B}=v,k=b.kind===321&&u===K4e?f.getNullableType(B,32768):B;$ot(p,d,b,k,f)})}})}});function qot(t,u,s){t.replaceNodeWithText(u,s,`${s.text}()`)}function Zot(t,u){const s=Ca(t,u);if(Iu(s.parent)){let d=s.parent;for(;Iu(d.parent);)d=d.parent;return d.name}if(at(s))return s}var W4e,wwe,$Gt=o({"src/services/codefixes/fixMissingCallParentheses.ts"(){rr(),rs(),W4e="fixMissingCallParentheses",wwe=[F.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code],Xo({errorCodes:wwe,fixIds:[W4e],getCodeActions(t){const{sourceFile:u,span:s}=t,d=Zot(u,s.start);if(!d)return;const f=iu.ChangeTracker.with(t,p=>qot(p,t.sourceFile,d));return[Ro(W4e,f,F.Add_missing_call_parentheses,W4e,F.Add_all_missing_call_parentheses)]},getAllCodeActions:t=>f0(t,wwe,(u,s)=>{const d=Zot(s.file,s.start);d&&qot(u,s.file,d)})})}});function UGt(t){if(t.type)return t.type;if(ua(t.parent)&&t.parent.type&&u3(t.parent.type))return t.parent.type.type}function Yot(t,u){const s=Ca(t,u),d=Nm(s);if(!d)return;let f;switch(d.kind){case 174:f=d.name;break;case 262:case 218:f=a0(d,100,t);break;case 219:const p=d.typeParameters?30:21;f=a0(d,p,t)||Pn(d.parameters);break;default:return}return f&&{insertBefore:f,returnType:UGt(d)}}function Qot(t,u,{insertBefore:s,returnType:d}){if(d){const f=pj(d);(!f||f.kind!==80||f.text!=="Promise")&&t.replaceNode(u,d,q.createTypeReferenceNode("Promise",q.createNodeArray([d])))}t.insertModifierBefore(u,134,s)}var G4e,Twe,qGt=o({"src/services/codefixes/fixAwaitInSyncFunction.ts"(){rr(),rs(),G4e="fixAwaitInSyncFunction",Twe=[F.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code],Xo({errorCodes:Twe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=Yot(u,s.start);if(!d)return;const f=iu.ChangeTracker.with(t,p=>Qot(p,u,d));return[Ro(G4e,f,F.Add_async_modifier_to_containing_function,G4e,F.Add_all_missing_async_modifiers)]},fixIds:[G4e],getAllCodeActions:function(u){const s=new Map;return f0(u,Twe,(d,f)=>{const p=Yot(f.file,f.start);!p||!Ip(s,$s(p.insertBefore))||Qot(d,u.sourceFile,p)})}})}});function Xot(t,u,s,d,f){let p,E;if(d===F._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)p=u,E=u+s;else if(d===F._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){const v=f.program.getTypeChecker(),b=Ca(t,u).parent;H.assert(wx(b),"error span of fixPropertyOverrideAccessor should only be on an accessor");const B=b.parent;H.assert(mr(B),"erroneous accessors should only be inside classes");const k=Aa(qwe(B,v));if(!k)return[];const T=Qr(V8(b.name)),M=v.getPropertyOfType(v.getTypeAtLocation(k),T);if(!M||!M.valueDeclaration)return[];p=M.valueDeclaration.pos,E=M.valueDeclaration.end,t=zn(M.valueDeclaration)}else H.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+d);return mst(t,f.program,p,E,f,F.Generate_get_and_set_accessors.message)}var Lwe,J4e,ZGt=o({"src/services/codefixes/fixPropertyOverrideAccessor.ts"(){rr(),rs(),Lwe=[F._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,F._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],J4e="fixPropertyOverrideAccessor",Xo({errorCodes:Lwe,getCodeActions(t){const u=Xot(t.sourceFile,t.span.start,t.span.length,t.errorCode,t);if(u)return[Ro(J4e,u,F.Generate_get_and_set_accessors,J4e,F.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[J4e],getAllCodeActions:t=>f0(t,Lwe,(u,s)=>{const d=Xot(s.file,s.start,s.length,s.code,t);if(d)for(const f of d)u.pushRaw(t.sourceFile,f)})})}});function YGt(t,u){switch(t){case F.Parameter_0_implicitly_has_an_1_type.code:case F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return jf(Nm(u))?F.Infer_type_of_0_from_usage:F.Infer_parameter_types_from_usage;case F.Rest_parameter_0_implicitly_has_an_any_type.code:case F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Infer_parameter_types_from_usage;case F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return F.Infer_this_type_of_0_from_usage;default:return F.Infer_type_of_0_from_usage}}function QGt(t){switch(t){case F.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case F.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Variable_0_implicitly_has_an_1_type.code;case F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Parameter_0_implicitly_has_an_1_type.code;case F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Rest_parameter_0_implicitly_has_an_any_type.code;case F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case F._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case F.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Member_0_implicitly_has_an_1_type.code}return t}function est(t,u,s,d,f,p,E,v,b){if(!VN(s.kind)&&s.kind!==80&&s.kind!==26&&s.kind!==110)return;const{parent:B}=s,k=l9(u,f,b,v);switch(d=QGt(d),d){case F.Member_0_implicitly_has_an_1_type.code:case F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(ua(B)&&E(B)||ko(B)||Mm(B))return tst(t,k,u,B,f,v,p),k.writeFixes(t),B;if(Iu(B)){const z=FK(B.name,f,p),j=VM(z,B,f,v);if(j){const J=q.createJSDocTypeTag(void 0,q.createJSDocTypeExpression(j),void 0);t.addJSDocTags(u,Po(B.parent.parent,Od),[J])}return k.writeFixes(t),B}return;case F.Variable_0_implicitly_has_an_1_type.code:{const z=f.getTypeChecker().getSymbolAtLocation(s);return z&&z.valueDeclaration&&ua(z.valueDeclaration)&&E(z.valueDeclaration)?(tst(t,k,zn(z.valueDeclaration),z.valueDeclaration,f,v,p),k.writeFixes(t),z.valueDeclaration):void 0}}const T=Nm(s);if(T===void 0)return;let M;switch(d){case F.Parameter_0_implicitly_has_an_1_type.code:if(jf(T)){ist(t,k,u,T,f,v,p),M=T;break}case F.Rest_parameter_0_implicitly_has_an_any_type.code:if(E(T)){const z=Po(B,io);XGt(t,k,u,z,T,f,v,p),M=z}break;case F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:zm(T)&&at(T.name)&&($4e(t,k,u,T,FK(T.name,f,p),f,v),M=T);break;case F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:jf(T)&&(ist(t,k,u,T,f,v,p),M=T);break;case F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:iu.isThisTypeAnnotatable(T)&&E(T)&&(eJt(t,u,T,f,v,p),M=T);break;default:return H.fail(String(d))}return k.writeFixes(t),M}function tst(t,u,s,d,f,p,E){at(d.name)&&$4e(t,u,s,d,FK(d.name,f,E),f,p)}function XGt(t,u,s,d,f,p,E,v){if(!at(d.name))return;const b=nJt(f,s,p,v);if(H.assert(f.parameters.length===b.length,"Parameter count and inference count should match"),Qn(f))nst(t,s,b,p,E);else{const B=q0(f)&&!a0(f,21,s);B&&t.insertNodeBefore(s,Pn(f.parameters),q.createToken(21));for(const{declaration:k,type:T}of b)k&&!k.type&&!k.initializer&&$4e(t,u,s,k,T,p,E);B&&t.insertNodeAfter(s,Cr(f.parameters),q.createToken(22))}}function eJt(t,u,s,d,f,p){const E=ust(s,u,d,p);if(!E||!E.length)return;const v=Pwe(d,E,p).thisParameter(),b=VM(v,s,d,f);b&&(Qn(s)?tJt(t,u,s,b):t.tryInsertThisTypeAnnotation(u,s,b))}function tJt(t,u,s,d){t.addJSDocTags(u,s,[q.createJSDocThisTag(void 0,q.createJSDocTypeExpression(d))])}function ist(t,u,s,d,f,p,E){const v=Ki(d.parameters);if(v&&at(d.name)&&at(v.name)){let b=FK(d.name,f,E);b===f.getTypeChecker().getAnyType()&&(b=FK(v.name,f,E)),Qn(d)?nst(t,s,[{declaration:v,type:b}],f,p):$4e(t,u,s,v,b,f,p)}}function $4e(t,u,s,d,f,p,E){const v=VM(f,d,p,E);if(v)if(Qn(s)&&d.kind!==171){const b=ua(d)?ur(d.parent.parent,Jl):d;if(!b)return;const B=q.createJSDocTypeExpression(v),k=zm(d)?q.createJSDocReturnTag(void 0,B,void 0):q.createJSDocTypeTag(void 0,B,void 0);t.addJSDocTags(s,b,[k])}else iJt(v,d,s,t,u,Os(p.getCompilerOptions()))||t.tryInsertTypeAnnotation(s,d,v)}function iJt(t,u,s,d,f,p){const E=d9(t,p);return E&&d.tryInsertTypeAnnotation(s,u,E.typeNode)?(L(E.symbols,v=>f.addImportFromExportedSymbol(v,!0)),!0):!1}function nst(t,u,s,d,f){const p=s.length&&s[0].declaration.parent;if(!p)return;const E=qi(s,v=>{const b=v.declaration;if(b.initializer||vv(b)||!at(b.name))return;const B=v.type&&VM(v.type,b,d,f);if(B){const k=q.cloneNode(b.name);return Zn(k,7168),{name:q.cloneNode(b.name),param:b,isOptional:!!v.isOptional,typeNode:B}}});if(E.length)if(q0(p)||A0(p)){const v=q0(p)&&!a0(p,21,u);v&&t.insertNodeBefore(u,Pn(p.parameters),q.createToken(21)),L(E,({typeNode:b,param:B})=>{const k=q.createJSDocTypeTag(void 0,q.createJSDocTypeExpression(b)),T=q.createJSDocComment(void 0,[k]);t.insertNodeAt(u,B.getStart(u),T,{suffix:" "})}),v&&t.insertNodeAfter(u,Cr(p.parameters),q.createToken(22))}else{const v=Vt(E,({name:b,typeNode:B,isOptional:k})=>q.createJSDocParameterTag(void 0,b,!!k,q.createJSDocTypeExpression(B),!1,void 0));t.addJSDocTags(u,p,v)}}function Nwe(t,u,s){return qi(Z0.getReferenceEntriesForNode(-1,t,u,u.getSourceFiles(),s),d=>d.kind!==Z0.EntryKind.Span?ur(d.node,at):void 0)}function FK(t,u,s){const d=Nwe(t,u,s);return Pwe(u,d,s).single()}function nJt(t,u,s,d){const f=ust(t,u,s,d);return f&&Pwe(s,f,d).parameters(t)||t.parameters.map(p=>({declaration:p,type:at(p.name)?FK(p.name,s,d):s.getTypeChecker().getAnyType()}))}function ust(t,u,s,d){let f;switch(t.kind){case 176:f=a0(t,137,u);break;case 219:case 218:const p=t.parent;f=(ua(p)||ko(p))&&at(p.name)?p.name:t.name;break;case 262:case 174:case 173:f=t.name;break}if(f)return Nwe(f,s,d)}function Pwe(t,u,s){const d=t.getTypeChecker(),f={string:()=>d.getStringType(),number:()=>d.getNumberType(),Array:Ve=>d.createArrayType(Ve),Promise:Ve=>d.createPromiseType(Ve)},p=[d.getStringType(),d.getNumberType(),d.createArrayType(d.getAnyType()),d.createPromiseType(d.getAnyType())];return{single:b,parameters:B,thisParameter:k};function E(){return{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}}function v(Ve){const We=new Map;for(const Yt of Ve)Yt.properties&&Yt.properties.forEach((Ie,st)=>{We.has(st)||We.set(st,[]),We.get(st).push(Ie)});const Gt=new Map;return We.forEach((Yt,Ie)=>{Gt.set(Ie,v(Yt))}),{isNumber:Ve.some(Yt=>Yt.isNumber),isString:Ve.some(Yt=>Yt.isString),isNumberOrString:Ve.some(Yt=>Yt.isNumberOrString),candidateTypes:ju(Ve,Yt=>Yt.candidateTypes),properties:Gt,calls:ju(Ve,Yt=>Yt.calls),constructs:ju(Ve,Yt=>Yt.constructs),numberIndex:L(Ve,Yt=>Yt.numberIndex),stringIndex:L(Ve,Yt=>Yt.stringIndex),candidateThisTypes:ju(Ve,Yt=>Yt.candidateThisTypes),inferredTypes:void 0}}function b(){return Se(T(u))}function B(Ve){if(u.length===0||!Ve.parameters)return;const We=E();for(const Yt of u)s.throwIfCancellationRequested(),M(Yt,We);const Gt=[...We.constructs||[],...We.calls||[]];return Ve.parameters.map((Yt,Ie)=>{const st=[],St=$_(Yt);let It=!1;for(const ht of Gt)if(ht.argumentTypes.length<=Ie)It=Qn(Ve),st.push(d.getUndefinedType());else if(St)for(let Ut=Ie;UtGt.every(Ie=>!Ie(Yt)))}function ve(Ve){return Se(pe(Ve))}function Se(Ve){if(!Ve.length)return d.getAnyType();const We=d.getUnionType([d.getStringType(),d.getNumberType()]);let Yt=ne(Ve,[{high:st=>st===d.getStringType()||st===d.getNumberType(),low:st=>st===We},{high:st=>!(st.flags&16385),low:st=>!!(st.flags&16385)},{high:st=>!(st.flags&114689)&&!(Gu(st)&16),low:st=>!!(Gu(st)&16)}]);const Ie=Yt.filter(st=>Gu(st)&16);return Ie.length&&(Yt=Yt.filter(st=>!(Gu(st)&16)),Yt.push(Ne(Ie))),d.getWidenedType(d.getUnionType(Yt.map(d.getBaseTypeOfLiteralType),2))}function Ne(Ve){if(Ve.length===1)return Ve[0];const We=[],Gt=[],Yt=[],Ie=[];let st=!1,St=!1;const It=wm();for(const Ut of Ve){for(const xn of d.getPropertiesOfType(Ut))It.add(xn.escapedName,xn.valueDeclaration?d.getTypeOfSymbolAtLocation(xn,xn.valueDeclaration):d.getAnyType());We.push(...d.getSignaturesOfType(Ut,0)),Gt.push(...d.getSignaturesOfType(Ut,1));const Ni=d.getIndexInfoOfType(Ut,0);Ni&&(Yt.push(Ni.type),st=st||Ni.isReadonly);const ji=d.getIndexInfoOfType(Ut,1);ji&&(Ie.push(ji.type),St=St||ji.isReadonly)}const ei=ci(It,(Ut,Ni)=>{const ji=Ni.lengthd.getBaseTypeOfLiteralType(It)),St=(Yt=Ve.calls)!=null&&Yt.length?fe(Ve):void 0;return St&&st?Ie.push(d.getUnionType([St,...st],2)):(St&&Ie.push(St),S(st)&&Ie.push(...st)),Ie.push(...xe(Ve)),Ie}function fe(Ve){const We=new Map;Ve.properties&&Ve.properties.forEach((st,St)=>{const It=d.createSymbol(4,St);It.links.type=ve(st),We.set(St,It)});const Gt=Ve.calls?[Je(Ve.calls)]:[],Yt=Ve.constructs?[Je(Ve.constructs)]:[],Ie=Ve.stringIndex?[d.createIndexInfo(d.getStringType(),ve(Ve.stringIndex),!1)]:[];return d.createAnonymousType(void 0,We,Gt,Yt,Ie)}function xe(Ve){if(!Ve.properties||!Ve.properties.size)return[];const We=p.filter(Gt=>Be(Gt,Ve));return 0Ge(Gt,Ve)):[]}function Be(Ve,We){return We.properties?!h1(We.properties,(Gt,Yt)=>{const Ie=d.getTypeOfPropertyOfType(Ve,Yt);return Ie?Gt.calls?!d.getSignaturesOfType(Ie,0).length||!d.isTypeAssignableTo(Ie,Ke(Gt.calls)):!d.isTypeAssignableTo(Ie,ve(Gt)):!0}):!1}function Ge(Ve,We){if(!(Gu(Ve)&4)||!We.properties)return Ve;const Gt=Ve.target,Yt=Aa(Gt.typeParameters);if(!Yt)return Ve;const Ie=[];return We.properties.forEach((st,St)=>{const It=d.getTypeOfPropertyOfType(Gt,St);H.assert(!!It,"generic should have all the properties of its reference."),Ie.push(...Ae(It,ve(st),Yt))}),f[Ve.symbol.escapedName](Se(Ie))}function Ae(Ve,We,Gt){if(Ve===Gt)return[We];if(Ve.flags&3145728)return ju(Ve.types,st=>Ae(st,We,Gt));if(Gu(Ve)&4&&Gu(We)&4){const st=d.getTypeArguments(Ve),St=d.getTypeArguments(We),It=[];if(st&&St)for(let ei=0;eiIe.argumentTypes.length));for(let Ie=0;IeSt.argumentTypes[Ie]||d.getUndefinedType())),Ve.some(St=>St.argumentTypes[Ie]===void 0)&&(st.flags|=16777216),We.push(st)}const Yt=ve(v(Ve.map(Ie=>Ie.return_)));return d.createSignature(void 0,void 0,void 0,We,Yt,void 0,Gt,0)}function ft(Ve,We){We&&!(We.flags&1)&&!(We.flags&131072)&&(Ve.candidateTypes||(Ve.candidateTypes=[])).push(We)}function Ye(Ve,We){We&&!(We.flags&1)&&!(We.flags&131072)&&(Ve.candidateThisTypes||(Ve.candidateThisTypes=[])).push(We)}}var U4e,Mwe,uJt=o({"src/services/codefixes/inferFromUsage.ts"(){rr(),rs(),U4e="inferFromUsage",Mwe=[F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,F.Variable_0_implicitly_has_an_1_type.code,F.Parameter_0_implicitly_has_an_1_type.code,F.Rest_parameter_0_implicitly_has_an_any_type.code,F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,F.Member_0_implicitly_has_an_1_type.code,F.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,F.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,F._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,F.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],Xo({errorCodes:Mwe,getCodeActions(t){const{sourceFile:u,program:s,span:{start:d},errorCode:f,cancellationToken:p,host:E,preferences:v}=t,b=Ca(u,d);let B;const k=iu.ChangeTracker.with(t,M=>{B=est(M,u,b,f,s,p,J3,E,v)}),T=B&&Za(B);return!T||k.length===0?void 0:[Ro(U4e,k,[YGt(f,b),Hc(T)],U4e,F.Infer_all_types_from_usage)]},fixIds:[U4e],getAllCodeActions(t){const{sourceFile:u,program:s,cancellationToken:d,host:f,preferences:p}=t,E=i9();return f0(t,Mwe,(v,b)=>{est(v,u,Ca(b.file,b.start),b.code,s,d,E,f,p)})}})}});function rst(t,u,s){if(Qn(t))return;const d=Ca(t,s),f=Tn(d,$0),p=f==null?void 0:f.type;if(!p)return;const E=u.getTypeFromTypeNode(p),v=u.getAwaitedType(E)||u.getVoidType(),b=u.typeToTypeNode(v,p,void 0);if(b)return{returnTypeNode:p,returnType:E,promisedTypeNode:b,promisedType:v}}function ast(t,u,s,d){t.replaceNode(u,s,q.createTypeReferenceNode("Promise",[d]))}var q4e,zwe,rJt=o({"src/services/codefixes/fixReturnTypeInAsyncFunction.ts"(){rr(),rs(),q4e="fixReturnTypeInAsyncFunction",zwe=[F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code],Xo({errorCodes:zwe,fixIds:[q4e],getCodeActions:function(u){const{sourceFile:s,program:d,span:f}=u,p=d.getTypeChecker(),E=rst(s,d.getTypeChecker(),f.start);if(!E)return;const{returnTypeNode:v,returnType:b,promisedTypeNode:B,promisedType:k}=E,T=iu.ChangeTracker.with(u,M=>ast(M,s,v,B));return[Ro(q4e,T,[F.Replace_0_with_Promise_1,p.typeToString(b),p.typeToString(k)],q4e,F.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:t=>f0(t,zwe,(u,s)=>{const d=rst(s.file,t.program.getTypeChecker(),s.start);d&&ast(u,s.file,d.returnTypeNode,d.promisedTypeNode)})})}});function ost(t,u,s,d){const{line:f}=s0(u,s);(!d||r0(d,f))&&t.insertCommentBeforeLine(u,f,s," @ts-ignore")}var Iwe,Rwe,Owe,aJt=o({"src/services/codefixes/disableJsDiagnostics.ts"(){rr(),rs(),Iwe="disableJsDiagnostics",Rwe="disableJsDiagnostics",Owe=qi(Object.keys(F),t=>{const u=F[t];return u.category===1?u.code:void 0}),Xo({errorCodes:Owe,getCodeActions:function(u){const{sourceFile:s,program:d,span:f,host:p,formatContext:E}=u;if(!Qn(s)||!uV(s,d.getCompilerOptions()))return;const v=s.checkJsDirective?"":E5(p,E.options),b=[Cg(Iwe,[frt(s.fileName,[VH(s.checkJsDirective?Vc(s.checkJsDirective.pos,s.checkJsDirective.end):d1(0,0),`// @ts-nocheck${v}`)])],F.Disable_checking_for_this_file)];return iu.isValidLocationToAddComment(s,f.start)&&b.unshift(Ro(Iwe,iu.ChangeTracker.with(u,B=>ost(B,s,f.start)),F.Ignore_this_error_message,Rwe,F.Add_ts_ignore_to_all_error_messages)),b},fixIds:[Rwe],getAllCodeActions:t=>{const u=new Set;return f0(t,Owe,(s,d)=>{iu.isValidLocationToAddComment(d.file,d.start)&&ost(s,d.file,d.start,u)})}})}});function jwe(t,u,s,d,f,p,E){const v=t.symbol.members;for(const b of u)v.has(b.escapedName)||sst(b,t,s,d,f,p,E,void 0)}function xw(t){return{trackSymbol:()=>!1,moduleResolverHost:rfe(t.program,t.host)}}function sst(t,u,s,d,f,p,E,v,b=3,B=!1){const k=t.getDeclarations(),T=Ki(k),M=d.program.getTypeChecker(),z=Os(d.program.getCompilerOptions()),j=(T==null?void 0:T.kind)??171,J=xe(t,T),K=T?Eh(T):0;let Y=K&256;Y|=K&1?1:K&4?4:0,T&&ef(T)&&(Y|=512);const oe=ve(),se=M.getWidenedType(M.getTypeOfSymbolAtLocation(t,u)),ge=!!(t.flags&16777216),ae=!!(u.flags&33554432)||B,Ce=Hm(s,f);switch(j){case 171:case 172:const Be=Ce===0?268435456:void 0;let Ge=M.typeToTypeNode(se,u,Be,xw(d));if(p){const De=d9(Ge,z);De&&(Ge=De.typeNode,vw(p,De.symbols))}E(q.createPropertyDeclaration(oe,T?Ne(J):t.getName(),ge&&b&2?q.createToken(58):void 0,Ge,void 0));break;case 177:case 178:{H.assertIsDefined(k);let De=M.typeToTypeNode(se,u,void 0,xw(d));const Ke=dk(k,T),Je=Ke.secondAccessor?[Ke.firstAccessor,Ke.secondAccessor]:[Ke.firstAccessor];if(p){const ft=d9(De,z);ft&&(De=ft.typeNode,vw(p,ft.symbols))}for(const ft of Je)if(zm(ft))E(q.createGetAccessorDeclaration(oe,Ne(J),_t,fe(De),pe(v,Ce,ae)));else{H.assertNode(ft,jf,"The counterpart to a getter should be a setter");const Ye=hP(ft),Ve=Ye&&at(Ye.name)?fu(Ye.name):void 0;E(q.createSetAccessorDeclaration(oe,Ne(J),Hwe(1,[Ve],[fe(De)],1,!1),pe(v,Ce,ae)))}break}case 173:case 174:H.assertIsDefined(k);const Ae=se.isUnion()?ju(se.types,De=>De.getCallSignatures()):se.getCallSignatures();if(!Oe(Ae))break;if(k.length===1){H.assert(Ae.length===1,"One declaration implies one signature");const De=Ae[0];ne(Ce,De,oe,Ne(J),pe(v,Ce,ae));break}for(const De of Ae)ne(Ce,De,oe,Ne(J));if(!ae)if(k.length>Ae.length){const De=M.getSignatureFromDeclaration(k[k.length-1]);ne(Ce,De,oe,Ne(J),pe(v,Ce))}else H.assert(k.length===Ae.length,"Declarations and signatures should match count"),E(lJt(M,d,u,Ae,Ne(J),ge&&!!(b&1),oe,Ce,v));break}function ne(Be,Ge,Ae,De,Ke){const Je=Z4e(174,d,Be,Ge,Ke,De,Ae,ge&&!!(b&1),u,p);Je&&E(Je)}function ve(){let Be;return Y&&(Be=vo(Be,q.createModifiersFromModifierFlags(Y))),Se()&&(Be=xi(Be,q.createToken(164))),Be&&q.createNodeArray(Be)}function Se(){return!!(d.program.getCompilerOptions().noImplicitOverride&&T&&P2(T))}function Ne(Be){return at(Be)&&Be.escapedText==="constructor"?q.createComputedPropertyName(q.createStringLiteral(fu(Be),Ce===0)):ll(Be,!1)}function pe(Be,Ge,Ae){return Ae?void 0:ll(Be,!1)||Kwe(Ge)}function fe(Be){return ll(Be,!1)}function xe(Be,Ge){if(Gl(Be)&262144){const Ae=Be.links.nameType;if(Ae&&Y4(Ae))return q.createIdentifier(Qr(Q4(Ae)))}return ll(Za(Ge),!1)}}function Z4e(t,u,s,d,f,p,E,v,b,B){const k=u.program,T=k.getTypeChecker(),M=Os(k.getCompilerOptions()),z=Qn(b),j=524545|(s===0?268435456:0),J=T.signatureToSignatureDeclaration(d,t,b,j,xw(u));if(!J)return;let K=z?void 0:J.typeParameters,Y=J.parameters,oe=z?void 0:J.type;if(B){if(K){const Ce=Lu(K,ne=>{let ve=ne.constraint,Se=ne.default;if(ve){const Ne=d9(ve,M);Ne&&(ve=Ne.typeNode,vw(B,Ne.symbols))}if(Se){const Ne=d9(Se,M);Ne&&(Se=Ne.typeNode,vw(B,Ne.symbols))}return q.updateTypeParameterDeclaration(ne,ne.modifiers,ne.name,ve,Se)});K!==Ce&&(K=Pt(q.createNodeArray(Ce,K.hasTrailingComma),K))}const ae=Lu(Y,Ce=>{let ne=z?void 0:Ce.type;if(ne){const ve=d9(ne,M);ve&&(ne=ve.typeNode,vw(B,ve.symbols))}return q.updateParameterDeclaration(Ce,Ce.modifiers,Ce.dotDotDotToken,Ce.name,z?void 0:Ce.questionToken,ne,Ce.initializer)});if(Y!==ae&&(Y=Pt(q.createNodeArray(ae,Y.hasTrailingComma),Y)),oe){const Ce=d9(oe,M);Ce&&(oe=Ce.typeNode,vw(B,Ce.symbols))}}const se=v?q.createToken(58):void 0,ge=J.asteriskToken;if(A0(J))return q.updateFunctionExpression(J,E,J.asteriskToken,ur(p,at),K,Y,oe,f??J.body);if(q0(J))return q.updateArrowFunction(J,E,K,Y,oe,J.equalsGreaterThanToken,f??J.body);if(dc(J))return q.updateMethodDeclaration(J,E,ge,p??q.createIdentifier(""),se,K,Y,oe,f);if(ed(J))return q.updateFunctionDeclaration(J,E,J.asteriskToken,ur(p,at),K,Y,oe,f??J.body)}function Vwe(t,u,s,d,f,p,E){const v=Hm(u.sourceFile,u.preferences),b=Os(u.program.getCompilerOptions()),B=xw(u),k=u.program.getTypeChecker(),T=Qn(E),{typeArguments:M,arguments:z,parent:j}=d,J=T?void 0:k.getContextualType(d),K=Vt(z,Se=>at(Se)?Se.text:Iu(Se)&&at(Se.name)?Se.name.text:void 0),Y=T?[]:Vt(z,Se=>k.getTypeAtLocation(Se)),{argumentTypeNodes:oe,argumentTypeParameters:se}=dst(k,s,Y,E,b,1,B),ge=p?q.createNodeArray(q.createModifiersFromModifierFlags(p)):void 0,ae=cY(j)?q.createToken(42):void 0,Ce=T?void 0:oJt(k,se,M),ne=Hwe(z.length,K,oe,void 0,T),ve=T||J===void 0?void 0:k.typeToTypeNode(J,E,void 0,B);switch(t){case 174:return q.createMethodDeclaration(ge,ae,f,void 0,Ce,ne,ve,Kwe(v));case 173:return q.createMethodSignature(ge,f,void 0,Ce,ne,ve===void 0?q.createKeywordTypeNode(159):ve);case 262:return H.assert(typeof f=="string"||at(f),"Unexpected name"),q.createFunctionDeclaration(ge,ae,f,Ce,ne,ve,Bee(F.Function_not_implemented.message,v));default:H.fail("Unexpected kind")}}function oJt(t,u,s){const d=new Set(u.map(p=>p[0])),f=new Map(u);if(s){const p=s.filter(v=>!u.some(b=>{var B;return t.getTypeAtLocation(v)===((B=b[1])==null?void 0:B.argumentType)})),E=d.size+p.length;for(let v=0;d.size{var E;return q.createTypeParameterDeclaration(void 0,p,(E=f.get(p))==null?void 0:E.constraint)})}function lst(t){return 84+t<=90?String.fromCharCode(84+t):`T${t}`}function Y4e(t,u,s,d,f,p,E){let v=t.typeToTypeNode(s,d,p,E);if(v&&nD(v)){const b=d9(v,f);b&&(vw(u,b.symbols),v=b.typeNode)}return ll(v)}function cst(t){return t.isUnionOrIntersection()?t.types.some(cst):t.flags&262144}function dst(t,u,s,d,f,p,E){const v=[],b=new Map;for(let B=0;B=d?q.createToken(58):void 0,f?void 0:(s==null?void 0:s[v])||q.createKeywordTypeNode(159),void 0);p.push(k)}return p}function lJt(t,u,s,d,f,p,E,v,b){let B=d[0],k=d[0].minArgumentCount,T=!1;for(const J of d)k=Math.min(J.minArgumentCount,k),th(J)&&(T=!0),J.parameters.length>=B.parameters.length&&(!th(J)||th(B))&&(B=J);const M=B.parameters.length-(th(B)?1:0),z=B.parameters.map(J=>J.name),j=Hwe(M,z,void 0,k,!1);if(T){const J=q.createParameterDeclaration(void 0,q.createToken(26),z[M]||"rest",M>=k?q.createToken(58):void 0,q.createArrayTypeNode(q.createKeywordTypeNode(159)),void 0);j.push(J)}return dJt(E,f,p,void 0,j,cJt(d,t,u,s),v,b)}function cJt(t,u,s,d){if(S(t)){const f=u.getUnionType(Vt(t,u.getReturnTypeOfSignature));return u.typeToTypeNode(f,d,1,xw(s))}}function dJt(t,u,s,d,f,p,E,v){return q.createMethodDeclaration(t,void 0,u,s?q.createToken(58):void 0,d,f,p,v||Kwe(E))}function Kwe(t){return Bee(F.Method_not_implemented.message,t)}function Bee(t,u){return q.createBlock([q.createThrowStatement(q.createNewExpression(q.createIdentifier("Error"),void 0,[q.createStringLiteral(t,u===0)]))],!0)}function Wwe(t,u,s){const d=ZN(u);if(!d)return;const f=Jwe(d,"compilerOptions");if(f===void 0){t.insertNodeAtObjectStart(u,d,Q4e("compilerOptions",q.createObjectLiteralExpression(s.map(([E,v])=>Q4e(E,v)),!0)));return}const p=f.initializer;if(ys(p))for(const[E,v]of s){const b=Jwe(p,E);b===void 0?t.insertNodeAtObjectStart(u,p,Q4e(E,v)):t.replaceNode(u,b.initializer,v)}}function Gwe(t,u,s,d){Wwe(t,u,[[s,d]])}function Q4e(t,u){return q.createPropertyAssignment(q.createStringLiteral(t),u)}function Jwe(t,u){return Le(t.properties,s=>Jc(s)&&!!s.name&&us(s.name)&&s.name.text===u)}function d9(t,u){let s;const d=yt(t,f,Xr);if(s&&d)return{typeNode:d,symbols:s};function f(p){if(zx(p)&&p.qualifier){const E=hm(p.qualifier),v=IX(E.symbol,u),b=v!==E.text?fst(p.qualifier,q.createIdentifier(v)):p.qualifier;s=xi(s,E.symbol);const B=kn(p.typeArguments,f,Xr);return q.createTypeReferenceNode(b,B)}return rn(p,f,Dg)}}function fst(t,u){return t.kind===80?u:q.createQualifiedName(fst(t.left,u),t.right)}function vw(t,u){u.forEach(s=>t.addImportFromExportedSymbol(s,!0))}function $we(t,u){const s=Ec(u);let d=Ca(t,u.start);for(;d.end(t[t.Method=1]="Method",t[t.Property=2]="Property",t[t.All=3]="All",t))(Uwe||{})}});function mst(t,u,s,d,f,p){const E=Est(t,u,s,d);if(!E||a9.isRefactorErrorInfo(E))return;const v=iu.ChangeTracker.fromContext(f),{isStatic:b,isReadonly:B,fieldName:k,accessorName:T,originalName:M,type:z,container:j,declaration:J}=E;Kf(k),Kf(T),Kf(J),Kf(j);let K,Y;if(mr(j)){const se=Eh(J);if(gh(t)){const ge=q.createModifiersFromModifierFlags(se);K=ge,Y=ge}else K=q.createModifiersFromModifierFlags(pJt(se)),Y=q.createModifiersFromModifierFlags(gJt(se));Ak(J)&&(Y=Hi(Ax(J),Y))}vJt(v,t,J,z,k,Y);const oe=EJt(k,T,z,K,b,j);if(Kf(oe),_st(v,t,oe,J,j),B){const se=X_(j);se&&CJt(v,t,se,k.text,M)}else{const se=_Jt(k,T,z,K,b,j);Kf(se),_st(v,t,se,J,j)}return v.getChanges()}function fJt(t){return at(t)||us(t)}function mJt(t){return Mf(t,t.parent)||ko(t)||Jc(t)}function pst(t,u){return at(u)?q.createIdentifier(t):q.createStringLiteral(t)}function gst(t,u,s){const d=u?s.name:q.createThis();return at(t)?q.createPropertyAccessExpression(d,t):q.createElementAccessExpression(d,q.createStringLiteralFromNode(t))}function pJt(t){return t&=-9,t&=-3,t&4||(t|=1),t}function gJt(t){return t&=-2,t&=-5,t|=2,t}function Est(t,u,s,d,f=!0){const p=Ca(t,s),E=s===d&&f,v=Tn(p.parent,mJt),b=271;if(!v||!(rX(v.name,t,s,d)||E))return{error:to(F.Could_not_find_property_for_which_to_generate_accessor)};if(!fJt(v.name))return{error:to(F.Name_is_not_valid)};if((Eh(v)&98303|b)!==b)return{error:to(F.Can_only_convert_property_with_modifier)};const B=v.name.text,k=Afe(B),T=pst(k?B:Ok(`_${B}`,t),v.name),M=pst(k?Ok(B.substring(1),t):B,v.name);return{isStatic:Kc(v),isReadonly:fP(v),type:bJt(v,u),container:v.kind===169?v.parent.parent:v.parent,originalName:v.name.text,declaration:v,fieldName:T,accessorName:M,renameAccessor:k}}function EJt(t,u,s,d,f,p){return q.createGetAccessorDeclaration(d,u,[],s,q.createBlock([q.createReturnStatement(gst(t,f,p))],!0))}function _Jt(t,u,s,d,f,p){return q.createSetAccessorDeclaration(d,u,[q.createParameterDeclaration(void 0,void 0,q.createIdentifier("value"),void 0,s)],q.createBlock([q.createExpressionStatement(q.createAssignment(gst(t,f,p),q.createIdentifier("value")))],!0))}function DJt(t,u,s,d,f,p){const E=q.updatePropertyDeclaration(s,p,f,s.questionToken||s.exclamationToken,d,s.initializer);t.replaceNode(u,s,E)}function xJt(t,u,s,d){let f=q.updatePropertyAssignment(s,d,s.initializer);(f.modifiers||f.questionToken||f.exclamationToken)&&(f===s&&(f=q.cloneNode(f)),f.modifiers=void 0,f.questionToken=void 0,f.exclamationToken=void 0),t.replacePropertyAssignment(u,s,f)}function vJt(t,u,s,d,f,p){ko(s)?DJt(t,u,s,d,f,p):Jc(s)?xJt(t,u,s,f):t.replaceNode(u,s,q.updateParameterDeclaration(s,p,s.dotDotDotToken,Po(f,at),s.questionToken,s.type,s.initializer))}function _st(t,u,s,d,f){Mf(d,d.parent)?t.insertMemberAtStart(u,f,s):Jc(d)?t.insertNodeAfterComma(u,d,s):t.insertNodeAfter(u,d,s)}function CJt(t,u,s,d,f){s.body&&s.body.forEachChild(function p(E){U0(E)&&E.expression.kind===110&&us(E.argumentExpression)&&E.argumentExpression.text===f&&D7(E)&&t.replaceNode(u,E.argumentExpression,q.createStringLiteral(d)),Iu(E)&&E.expression.kind===110&&E.name.text===f&&D7(E)&&t.replaceNode(u,E.name,q.createIdentifier(d)),!Co(E)&&!mr(E)&&E.forEachChild(p)})}function bJt(t,u){const s=Cye(t);if(ko(t)&&s&&t.questionToken){const d=u.getTypeChecker(),f=d.getTypeFromTypeNode(s);if(!d.isTypeAssignableTo(d.getUndefinedType(),f)){const p=Pv(s)?s.types:[s];return q.createUnionTypeNode([...p,q.createKeywordTypeNode(157)])}}return s}function qwe(t,u){const s=[];for(;t;){const d=B2(t),f=d&&u.getSymbolAtLocation(d.expression);if(!f)break;const p=f.flags&2097152?u.getAliasedSymbol(f):f,E=p.declarations&&Le(p.declarations,mr);if(!E)break;s.push(E),t=E}return s}var yJt=o({"src/services/codefixes/generateAccessors.ts"(){rr()}});function kJt(t,u){const s=zn(u),d=Q8(u),f=t.program.getCompilerOptions(),p=[];return p.push(Dst(t,s,u,g5(d.name,void 0,u.moduleSpecifier,Hm(s,t.preferences)))),m1(f)===1&&p.push(Dst(t,s,u,q.createImportEqualsDeclaration(void 0,!1,d.name,q.createExternalModuleReference(u.moduleSpecifier)))),p}function Dst(t,u,s,d){const f=iu.ChangeTracker.with(t,p=>p.replaceNode(u,s,d));return Cg(Zwe,f,[F.Replace_import_with_0,f[0].textChanges[0].newText])}function FJt(t){const u=t.sourceFile,s=F.This_expression_is_not_callable.code===t.errorCode?213:214,d=Tn(Ca(u,t.span.start),p=>p.kind===s);if(!d)return[];const f=d.expression;return xst(t,f)}function AJt(t){const u=t.sourceFile,s=Tn(Ca(u,t.span.start),d=>d.getStart()===t.span.start&&d.getEnd()===t.span.start+t.span.length);return s?xst(t,s):[]}function xst(t,u){const s=t.program.getTypeChecker().getTypeAtLocation(u);if(!(s.symbol&&qE(s.symbol)&&s.symbol.links.originatingImport))return[];const d=[],f=s.symbol.links.originatingImport;if(dm(f)||yn(d,kJt(t,f)),Wt(u)&&!(mh(u.parent)&&u.parent.name===u)){const p=t.sourceFile,E=iu.ChangeTracker.with(t,v=>v.replaceNode(p,u,q.createPropertyAccessExpression(u,"default"),{}));d.push(Cg(Zwe,E,F.Use_synthetic_default_member))}return d}var Zwe,SJt=o({"src/services/codefixes/fixInvalidImportSyntax.ts"(){rr(),rs(),Zwe="invalidImportSyntax",Xo({errorCodes:[F.This_expression_is_not_callable.code,F.This_expression_is_not_constructable.code],getCodeActions:FJt}),Xo({errorCodes:[F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,F.Type_0_does_not_satisfy_the_constraint_1.code,F.Type_0_is_not_assignable_to_type_1.code,F.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,F.Type_predicate_0_is_not_assignable_to_1.code,F.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,F._0_index_type_1_is_not_assignable_to_2_index_type_3.code,F.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,F.Property_0_in_type_1_is_not_assignable_to_type_2.code,F.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,F.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:AJt})}});function vst(t,u){const s=Ca(t,u);if(at(s)&&ko(s.parent)){const d=f1(s.parent);if(d)return{type:d,prop:s.parent,isJs:Qn(s.parent)}}}function BJt(t,u){if(u.isJs)return;const s=iu.ChangeTracker.with(t,d=>Cst(d,t.sourceFile,u.prop));return Ro(X4e,s,[F.Add_definite_assignment_assertion_to_property_0,u.prop.getText()],epe,F.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function Cst(t,u,s){Kf(s);const d=q.updatePropertyDeclaration(s,s.modifiers,s.name,q.createToken(54),s.type,s.initializer);t.replaceNode(u,s,d)}function wJt(t,u){const s=iu.ChangeTracker.with(t,d=>bst(d,t.sourceFile,u));return Ro(X4e,s,[F.Add_undefined_type_to_property_0,u.prop.name.getText()],tpe,F.Add_undefined_type_to_all_uninitialized_properties)}function bst(t,u,s){const d=q.createKeywordTypeNode(157),f=Pv(s.type)?s.type.types.concat(d):[s.type,d],p=q.createUnionTypeNode(f);s.isJs?t.addJSDocTags(u,s.prop,[q.createJSDocTypeTag(void 0,q.createJSDocTypeExpression(p))]):t.replaceNode(u,s.type,p)}function TJt(t,u){if(u.isJs)return;const s=t.program.getTypeChecker(),d=kst(s,u.prop);if(!d)return;const f=iu.ChangeTracker.with(t,p=>yst(p,t.sourceFile,u.prop,d));return Ro(X4e,f,[F.Add_initializer_to_property_0,u.prop.name.getText()],ipe,F.Add_initializers_to_all_uninitialized_properties)}function yst(t,u,s,d){Kf(s);const f=q.updatePropertyDeclaration(s,s.modifiers,s.name,s.questionToken,s.type,d);t.replaceNode(u,s,f)}function kst(t,u){return Fst(t,t.getTypeFromTypeNode(u.type))}function Fst(t,u){if(u.flags&512)return u===t.getFalseType()||u===t.getFalseType(!0)?q.createFalse():q.createTrue();if(u.isStringLiteral())return q.createStringLiteral(u.value);if(u.isNumberLiteral())return q.createNumericLiteral(u.value);if(u.flags&2048)return q.createBigIntLiteral(u.value);if(u.isUnion())return G(u.types,s=>Fst(t,s));if(u.isClass()){const s=tD(u.symbol);if(!s||Yu(s,64))return;const d=X_(s);return d&&d.parameters.length?void 0:q.createNewExpression(q.createIdentifier(u.symbol.name),void 0,void 0)}else if(t.isArrayLikeType(u))return q.createArrayLiteralExpression()}var X4e,epe,tpe,ipe,Ywe,LJt=o({"src/services/codefixes/fixStrictClassInitialization.ts"(){rr(),rs(),X4e="strictClassInitialization",epe="addMissingPropertyDefiniteAssignmentAssertions",tpe="addMissingPropertyUndefinedType",ipe="addMissingPropertyInitializer",Ywe=[F.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code],Xo({errorCodes:Ywe,getCodeActions:function(u){const s=vst(u.sourceFile,u.span.start);if(!s)return;const d=[];return xi(d,wJt(u,s)),xi(d,BJt(u,s)),xi(d,TJt(u,s)),d},fixIds:[epe,tpe,ipe],getAllCodeActions:t=>f0(t,Ywe,(u,s)=>{const d=vst(s.file,s.start);if(d)switch(t.fixId){case epe:Cst(u,s.file,d.prop);break;case tpe:bst(u,s.file,d);break;case ipe:const f=t.program.getTypeChecker(),p=kst(f,d.prop);if(!p)return;yst(u,s.file,d.prop,p);break;default:H.fail(JSON.stringify(t.fixId))}})})}});function Ast(t,u,s){const{allowSyntheticDefaults:d,defaultImportName:f,namedImports:p,statement:E,required:v}=s;t.replaceNode(u,E,f&&!d?q.createImportEqualsDeclaration(void 0,!1,f,q.createExternalModuleReference(v)):q.createImportDeclaration(void 0,q.createImportClause(!1,f,p),v,void 0))}function Sst(t,u,s){const{parent:d}=Ca(t,s);xf(d,!0)||H.failBadSyntaxKind(d);const f=Po(d.parent,ua),p=ur(f.name,at),E=Rp(f.name)?NJt(f.name):void 0;if(p||E)return{allowSyntheticDefaults:C7(u.getCompilerOptions()),defaultImportName:p,namedImports:E,statement:Po(f.parent.parent,Jl),required:Pn(d.arguments)}}function NJt(t){const u=[];for(const s of t.elements){if(!at(s.name)||s.initializer)return;u.push(q.createImportSpecifier(!1,ur(s.propertyName,at),s.name))}if(u.length)return q.createNamedImports(u)}var npe,Qwe,PJt=o({"src/services/codefixes/requireInTs.ts"(){rr(),rs(),npe="requireInTs",Qwe=[F.require_call_may_be_converted_to_an_import.code],Xo({errorCodes:Qwe,getCodeActions(t){const u=Sst(t.sourceFile,t.program,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,d=>Ast(d,t.sourceFile,u));return[Ro(npe,s,F.Convert_require_to_import,npe,F.Convert_all_require_to_import)]},fixIds:[npe],getAllCodeActions:t=>f0(t,Qwe,(u,s)=>{const d=Sst(s.file,t.program,s.start);d&&Ast(u,t.sourceFile,d)})})}});function Bst(t,u){const s=Ca(t,u);if(!at(s))return;const{parent:d}=s;if(E1(d)&&r_(d.moduleReference))return{importNode:d,name:s,moduleSpecifier:d.moduleReference.expression};if(Jx(d)){const f=d.parent.parent;return{importNode:f,name:s,moduleSpecifier:f.moduleSpecifier}}}function wst(t,u,s,d){t.replaceNode(u,s.importNode,g5(s.name,void 0,s.moduleSpecifier,Hm(u,d)))}var upe,Xwe,MJt=o({"src/services/codefixes/useDefaultImport.ts"(){rr(),rs(),upe="useDefaultImport",Xwe=[F.Import_may_be_converted_to_a_default_import.code],Xo({errorCodes:Xwe,getCodeActions(t){const{sourceFile:u,span:{start:s}}=t,d=Bst(u,s);if(!d)return;const f=iu.ChangeTracker.with(t,p=>wst(p,u,d,t.preferences));return[Ro(upe,f,F.Convert_to_default_import,upe,F.Convert_all_to_default_imports)]},fixIds:[upe],getAllCodeActions:t=>f0(t,Xwe,(u,s)=>{const d=Bst(s.file,s.start);d&&wst(u,s.file,d,t.preferences)})})}});function Tst(t,u,s){const d=ur(Ca(u,s.start),Of);if(!d)return;const f=d.getText(u)+"n";t.replaceNode(u,d,q.createBigIntLiteral(f))}var rpe,eTe,zJt=o({"src/services/codefixes/useBigintLiteral.ts"(){rr(),rs(),rpe="useBigintLiteral",eTe=[F.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code],Xo({errorCodes:eTe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Tst(d,u.sourceFile,u.span));if(s.length>0)return[Ro(rpe,s,F.Convert_to_a_bigint_numeric_literal,rpe,F.Convert_all_to_bigint_numeric_literals)]},fixIds:[rpe],getAllCodeActions:t=>f0(t,eTe,(u,s)=>Tst(u,s.file,s))})}});function Lst(t,u){const s=Ca(t,u);return H.assert(s.kind===102,"This token should be an ImportKeyword"),H.assert(s.parent.kind===205,"Token parent should be an ImportType"),s.parent}function Nst(t,u,s){const d=q.updateImportTypeNode(s,s.argument,s.attributes,s.qualifier,s.typeArguments,!0);t.replaceNode(u,s,d)}var Pst,ape,tTe,IJt=o({"src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts"(){rr(),rs(),Pst="fixAddModuleReferTypeMissingTypeof",ape=Pst,tTe=[F.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code],Xo({errorCodes:tTe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=Lst(s,d.start),p=iu.ChangeTracker.with(u,E=>Nst(E,s,f));return[Ro(ape,p,F.Add_missing_typeof,ape,F.Add_missing_typeof)]},fixIds:[ape],getAllCodeActions:t=>f0(t,tTe,(u,s)=>Nst(u,t.sourceFile,Lst(s.file,s.start)))})}});function Mst(t,u){let f=Ca(t,u).parent.parent;if(!(!Xn(f)&&(f=f.parent,!Xn(f)))&&Ql(f.operatorToken))return f}function zst(t,u,s){const d=RJt(s);d&&t.replaceNode(u,s,q.createJsxFragment(q.createJsxOpeningFragment(),d,q.createJsxJsxClosingFragment()))}function RJt(t){const u=[];let s=t;for(;;)if(Xn(s)&&Ql(s.operatorToken)&&s.operatorToken.kind===28){if(u.push(s.left),ej(s.right))return u.push(s.right),u;if(Xn(s.right)){s=s.right;continue}else return}else return}var ope,iTe,OJt=o({"src/services/codefixes/wrapJsxInFragment.ts"(){rr(),rs(),ope="wrapJsxInFragment",iTe=[F.JSX_expressions_must_have_one_parent_element.code],Xo({errorCodes:iTe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=Mst(s,d.start);if(!f)return;const p=iu.ChangeTracker.with(u,E=>zst(E,s,f));return[Ro(ope,p,F.Wrap_in_JSX_fragment,ope,F.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[ope],getAllCodeActions:t=>f0(t,iTe,(u,s)=>{const d=Mst(t.sourceFile,s.start);d&&zst(u,t.sourceFile,d)})})}});function Ist(t,u){const s=Ca(t,u),d=ur(s.parent.parent,Ek);if(!d)return;const f=xh(d.parent)?d.parent:ur(d.parent.parent,jp);if(f)return{indexSignature:d,container:f}}function jJt(t,u){return q.createTypeAliasDeclaration(t.modifiers,t.name,t.typeParameters,u)}function Rst(t,u,{indexSignature:s,container:d}){const p=(xh(d)?d.members:d.type.members).filter(k=>!Ek(k)),E=Pn(s.parameters),v=q.createTypeParameterDeclaration(void 0,Po(E.name,at),E.type),b=q.createMappedTypeNode(fP(s)?q.createModifier(148):void 0,v,void 0,s.questionToken,s.type,void 0),B=q.createIntersectionTypeNode([...uP(d),b,...p.length?[q.createTypeLiteralNode(p)]:_t]);t.replaceNode(u,d,jJt(d,B))}var spe,nTe,VJt=o({"src/services/codefixes/convertToMappedObjectType.ts"(){rr(),rs(),spe="fixConvertToMappedObjectType",nTe=[F.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code],Xo({errorCodes:nTe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=Ist(s,d.start);if(!f)return;const p=iu.ChangeTracker.with(u,v=>Rst(v,s,f)),E=fu(f.container.name);return[Ro(spe,p,[F.Convert_0_to_mapped_object_type,E],spe,[F.Convert_0_to_mapped_object_type,E])]},fixIds:[spe],getAllCodeActions:t=>f0(t,nTe,(u,s)=>{const d=Ist(s.file,s.start);d&&Rst(u,s.file,d)})})}}),uTe,Ost,HJt=o({"src/services/codefixes/removeAccidentalCallParentheses.ts"(){rr(),rs(),uTe="removeAccidentalCallParentheses",Ost=[F.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],Xo({errorCodes:Ost,getCodeActions(t){const u=Tn(Ca(t.sourceFile,t.span.start),Mo);if(!u)return;const s=iu.ChangeTracker.with(t,d=>{d.deleteRange(t.sourceFile,{pos:u.expression.end,end:u.end})});return[Cg(uTe,s,F.Remove_parentheses)]},fixIds:[uTe]})}});function jst(t,u,s){const d=ur(Ca(u,s.start),v=>v.kind===135),f=d&&ur(d.parent,Gx);if(!f)return;let p=f;if(Cf(f.parent)){const v=dB(f.expression,!1);if(at(v)){const b=td(f.parent.pos,u);b&&b.kind!==105&&(p=f.parent)}}t.replaceNode(u,p,f.expression)}var lpe,rTe,KJt=o({"src/services/codefixes/removeUnnecessaryAwait.ts"(){rr(),rs(),lpe="removeUnnecessaryAwait",rTe=[F.await_has_no_effect_on_the_type_of_this_expression.code],Xo({errorCodes:rTe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>jst(d,u.sourceFile,u.span));if(s.length>0)return[Ro(lpe,s,F.Remove_unnecessary_await,lpe,F.Remove_all_unnecessary_uses_of_await)]},fixIds:[lpe],getAllCodeActions:t=>f0(t,rTe,(u,s)=>jst(u,s.file,s))})}});function Vst(t,u){return Tn(Ca(t,u.start),Sd)}function Hst(t,u,s){if(!u)return;const d=H.checkDefined(u.importClause);t.replaceNode(s.sourceFile,u,q.updateImportDeclaration(u,u.modifiers,q.updateImportClause(d,d.isTypeOnly,d.name,void 0),u.moduleSpecifier,u.attributes)),t.insertNodeAfter(s.sourceFile,u,q.createImportDeclaration(void 0,q.updateImportClause(d,d.isTypeOnly,void 0,d.namedBindings),u.moduleSpecifier,u.attributes))}var aTe,cpe,WJt=o({"src/services/codefixes/splitTypeOnlyImport.ts"(){rr(),rs(),aTe=[F.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],cpe="splitTypeOnlyImport",Xo({errorCodes:aTe,fixIds:[cpe],getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Hst(d,Vst(u.sourceFile,u.span),u));if(s.length)return[Ro(cpe,s,F.Split_into_two_separate_import_declarations,cpe,F.Split_all_invalid_type_only_imports)]},getAllCodeActions:t=>f0(t,aTe,(u,s)=>{Hst(u,Vst(t.sourceFile,s),t)})})}});function Kst(t,u,s){var d;const p=s.getTypeChecker().getSymbolAtLocation(Ca(t,u));if(p===void 0)return;const E=ur((d=p==null?void 0:p.valueDeclaration)==null?void 0:d.parent,Ad);if(E===void 0)return;const v=a0(E,87,t);if(v!==void 0)return{symbol:p,token:v}}function Wst(t,u,s){t.replaceNode(u,s,q.createToken(121))}var dpe,oTe,GJt=o({"src/services/codefixes/convertConstToLet.ts"(){rr(),rs(),dpe="fixConvertConstToLet",oTe=[F.Cannot_assign_to_0_because_it_is_a_constant.code],Xo({errorCodes:oTe,getCodeActions:function(u){const{sourceFile:s,span:d,program:f}=u,p=Kst(s,d.start,f);if(p===void 0)return;const E=iu.ChangeTracker.with(u,v=>Wst(v,s,p.token));return[oBe(dpe,E,F.Convert_const_to_let,dpe,F.Convert_all_const_to_let)]},getAllCodeActions:t=>{const{program:u}=t,s=new Map;return Ew(iu.ChangeTracker.with(t,d=>{_w(t,oTe,f=>{const p=Kst(f.file,f.start,u);if(p&&Ip(s,Zo(p.symbol)))return Wst(d,f.file,p.token)})}))},fixIds:[dpe]})}});function Gst(t,u,s){const d=Ca(t,u);return d.kind===27&&d.parent&&(ys(d.parent)||Dh(d.parent))?{node:d}:void 0}function Jst(t,u,{node:s}){const d=q.createToken(28);t.replaceNode(u,s,d)}var hpe,$st,sTe,JJt=o({"src/services/codefixes/fixExpectedComma.ts"(){rr(),rs(),hpe="fixExpectedComma",$st=F._0_expected.code,sTe=[$st],Xo({errorCodes:sTe,getCodeActions(t){const{sourceFile:u}=t,s=Gst(u,t.span.start,t.errorCode);if(!s)return;const d=iu.ChangeTracker.with(t,f=>Jst(f,u,s));return[Ro(hpe,d,[F.Change_0_to_1,";",","],hpe,[F.Change_0_to_1,";",","])]},fixIds:[hpe],getAllCodeActions:t=>f0(t,sTe,(u,s)=>{const d=Gst(s.file,s.start,s.code);d&&Jst(u,t.sourceFile,d)})})}});function Ust(t,u,s,d,f){const p=Ca(u,s.start);if(!at(p)||!Mo(p.parent)||p.parent.expression!==p||p.parent.arguments.length!==0)return;const E=d.getTypeChecker(),v=E.getSymbolAtLocation(p),b=v==null?void 0:v.valueDeclaration;if(!b||!io(b)||!j2(b.parent.parent)||f!=null&&f.has(b))return;f==null||f.add(b);const B=$Jt(b.parent.parent);if(Oe(B)){const k=B[0],T=!Pv(k)&&!M7(k)&&M7(q.createUnionTypeNode([k,q.createKeywordTypeNode(116)]).types[0]);T&&t.insertText(u,k.pos,"("),t.insertText(u,k.end,T?") | void":" | void")}else{const k=E.getResolvedSignature(p.parent),T=k==null?void 0:k.parameters[0],M=T&&E.getTypeOfSymbolAtLocation(T,b.parent.parent);Qn(b)?(!M||M.flags&3)&&(t.insertText(u,b.parent.parent.end,")"),t.insertText(u,gs(u.text,b.parent.parent.pos),"/** @type {Promise} */(")):(!M||M.flags&2)&&t.insertText(u,b.parent.parent.expression.end,"")}}function $Jt(t){var u;if(Qn(t)){if(Cf(t.parent)){const s=(u=xv(t.parent))==null?void 0:u.typeExpression.type;if(s&&X4(s)&&at(s.typeName)&&fu(s.typeName)==="Promise")return s.typeArguments}}else return t.typeArguments}var qst,lTe,cTe,UJt=o({"src/services/codefixes/fixAddVoidToPromise.ts"(){rr(),rs(),qst="addVoidToPromise",lTe="addVoidToPromise",cTe=[F.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,F.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code],Xo({errorCodes:cTe,fixIds:[lTe],getCodeActions(t){const u=iu.ChangeTracker.with(t,s=>Ust(s,t.sourceFile,t.span,t.program));if(u.length>0)return[Ro(qst,u,F.Add_void_to_Promise_resolved_without_a_value,lTe,F.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions(t){return f0(t,cTe,(u,s)=>Ust(u,s.file,s,t.program,new Set))}})}}),z1={};h(z1,{PreserveOptionalFlags:()=>Uwe,addNewNodeForMemberSymbol:()=>sst,codeFixAll:()=>f0,createCodeFixAction:()=>Ro,createCodeFixActionMaybeFixAll:()=>oBe,createCodeFixActionWithoutFixAll:()=>Cg,createCombinedCodeActions:()=>Ew,createFileTextChanges:()=>frt,createImportAdder:()=>l9,createImportSpecifierResolver:()=>sWt,createJsonPropertyAssignment:()=>Q4e,createMissingMemberNodes:()=>jwe,createSignatureDeclarationFromCallExpression:()=>Vwe,createSignatureDeclarationFromSignature:()=>Z4e,createStubbedBody:()=>Bee,eachDiagnostic:()=>_w,findAncestorMatchingSpan:()=>$we,findJsonProperty:()=>Jwe,generateAccessorFromProperty:()=>mst,getAccessorConvertiblePropertyAtPosition:()=>Est,getAllFixes:()=>RHt,getAllSupers:()=>qwe,getArgumentTypesAndTypeParameters:()=>dst,getFixes:()=>IHt,getImportCompletionAction:()=>lWt,getImportKind:()=>zBe,getJSDocTypedefNodes:()=>nWt,getNoopSymbolTrackerWithResolver:()=>xw,getPromoteTypeOnlyCompletionAction:()=>cWt,getSupportedErrorCodes:()=>MHt,importFixName:()=>KBe,importSymbols:()=>vw,moduleSpecifierToValidIdentifier:()=>HBe,moduleSymbolToValidIdentifier:()=>VBe,parameterShouldGetTypeFromJSDoc:()=>Nrt,registerCodeFix:()=>Xo,setJsonCompilerOptionValue:()=>Gwe,setJsonCompilerOptionValues:()=>Wwe,tryGetAutoImportableReferenceFromTypeNode:()=>d9,typeToAutoImportableTypeNode:()=>Y4e});var rs=o({"src/services/_namespaces/ts.codefix.ts"(){OHt(),jHt(),VHt(),WHt(),qHt(),XHt(),eKt(),tKt(),iKt(),aKt(),gKt(),_Kt(),BKt(),$Kt(),UKt(),ZKt(),YKt(),uWt(),rWt(),oWt(),wWt(),NWt(),zWt(),IWt(),RWt(),VWt(),WWt(),$Wt(),QWt(),sGt(),cGt(),dGt(),fGt(),mGt(),pGt(),gGt(),_Gt(),DGt(),xGt(),vGt(),CGt(),yGt(),AGt(),TGt(),jGt(),HGt(),KGt(),JGt(),$Gt(),qGt(),ZGt(),uJt(),rJt(),aJt(),hJt(),yJt(),SJt(),LJt(),PJt(),MJt(),zJt(),IJt(),OJt(),VJt(),HJt(),KJt(),WJt(),GJt(),JJt(),UJt()}});function qJt(t){return!!(t.kind&1)}function ZJt(t){return!!(t.kind&2)}function wee(t){return!!(t&&t.kind&4)}function ZM(t){return!!(t&&t.kind===32)}function YJt(t){return wee(t)||ZM(t)||dTe(t)}function QJt(t){return(wee(t)||ZM(t))&&!!t.isFromPackageJson}function XJt(t){return!!(t.kind&8)}function e$t(t){return!!(t.kind&16)}function Zst(t){return!!(t&&t.kind&64)}function Yst(t){return!!(t&&t.kind&128)}function t$t(t){return!!(t&&t.kind&256)}function dTe(t){return!!(t&&t.kind&512)}function Qst(t,u,s,d,f,p,E,v,b){var B,k,T;const M=G0(),z=E||b7(p1(d.getCompilerOptions()));let j=!1,J=0,K=0,Y=0,oe=0;const se=b({tryResolve:ae,skippedAny:()=>j,resolvedAny:()=>K>0,resolvedBeyondLimit:()=>K>Cpe}),ge=oe?` (${(Y/oe*100).toFixed(1)}% hit rate)`:"";return(B=u.log)==null||B.call(u,`${t}: resolved ${K} module specifiers, plus ${J} ambient and ${Y} from cache${ge}`),(k=u.log)==null||k.call(u,`${t}: response is ${j?"incomplete":"complete"}`),(T=u.log)==null||T.call(u,`${t}: ${G0()-M}`),se;function ae(Ce,ne){if(ne){const pe=s.getModuleSpecifierForBestExportInfo(Ce,f,v);return pe&&J++,pe||"failed"}const ve=z||p.allowIncompleteCompletions&&K{const j=qi(b.entries,J=>{var K;if(!J.hasAction||!J.source||!J.data||Xst(J.data))return J;if(!y0t(J.name,k))return;const{origin:Y}=H.checkDefined(d0t(J.name,J.data,d,f)),oe=T.get(u.path,J.data.exportMapKey),se=oe&&z.tryResolve(oe,!Id($4(Y.moduleSymbol.name)));if(se==="skipped")return J;if(!se||se==="failed"){(K=f.log)==null||K.call(f,`Unexpected failure resolving auto import for '${J.name}' from '${J.source}'`);return}const ge={...Y,kind:32,moduleSpecifier:se.moduleSpecifier};return J.data=o0t(ge),J.source=mTe(ge),J.sourceDisplay=[Km(ge.moduleSpecifier)],J});return z.skippedAny()||(b.isIncomplete=void 0),j});return b.entries=M,b.flags=(b.flags||0)|4,b.optionalReplacementSpan=n0t(B),b}function hTe(t){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:t}}function e0t(t,u,s,d,f,p){const E=Ca(t,u);if(!I8(E)&&!Vp(E))return[];const v=Vp(E)?E:E.parent;if(!Vp(v))return[];const b=v.parent;if(!Co(b))return[];const B=gh(t),k=f.includeCompletionsWithSnippetText||void 0,T=ui(v.tags,M=>Eg(M)&&M.getEnd()<=u);return qi(b.parameters,M=>{if(!B8(M).length){if(at(M.name)){const z={tabstop:1},j=M.name.text;let J=AK(j,M.initializer,M.dotDotDotToken,B,!1,!1,s,d,f),K=k?AK(j,M.initializer,M.dotDotDotToken,B,!1,!0,s,d,f,z):void 0;return p&&(J=J.slice(1),K&&(K=K.slice(1))),{name:J,kind:"parameter",sortText:I1.LocationPriority,insertText:k?K:void 0,isSnippet:k}}else if(M.parent.parameters.indexOf(M)===T){const z=`param${T}`,j=t0t(z,M.name,M.initializer,M.dotDotDotToken,B,!1,s,d,f),J=k?t0t(z,M.name,M.initializer,M.dotDotDotToken,B,!0,s,d,f):void 0;let K=j.join(a5(d)+"* "),Y=J==null?void 0:J.join(a5(d)+"* ");return p&&(K=K.slice(1),Y&&(Y=Y.slice(1))),{name:K,kind:"parameter",sortText:I1.LocationPriority,insertText:k?Y:void 0,isSnippet:k}}}})}function t0t(t,u,s,d,f,p,E,v,b){if(!f)return[AK(t,s,d,f,!1,p,E,v,b,{tabstop:1})];return B(t,u,s,d,{tabstop:1});function B(T,M,z,j,J){if(Rp(M)&&!j){const Y={tabstop:J.tabstop},oe=AK(T,z,j,f,!0,p,E,v,b,Y);let se=[];for(const ge of M.elements){const ae=k(T,ge,Y);if(ae)se.push(...ae);else{se=void 0;break}}if(se)return J.tabstop=Y.tabstop,[oe,...se]}return[AK(T,z,j,f,!1,p,E,v,b,J)]}function k(T,M,z){if(!M.propertyName&&at(M.name)||at(M.name)){const j=M.propertyName?UN(M.propertyName):M.name.text;if(!j)return;const J=`${T}.${j}`;return[AK(J,M.initializer,M.dotDotDotToken,f,!1,p,E,v,b,z)]}else if(M.propertyName){const j=UN(M.propertyName);return j&&B(`${T}.${j}`,M.name,M.initializer,M.dotDotDotToken,z)}}}function AK(t,u,s,d,f,p,E,v,b,B){if(p&&H.assertIsDefined(B),u&&(t=u$t(t,u)),p&&(t=O2(t)),d){let k="*";if(f)H.assert(!s,"Cannot annotate a rest parameter with type 'Object'."),k="Object";else{if(u){const z=E.getTypeAtLocation(u.parent);if(!(z.flags&16385)){const j=u.getSourceFile(),K=Hm(j,b)===0?268435456:0,Y=E.typeToTypeNode(z,Tn(u,Co),K);if(Y){const oe=p?ppe({removeComments:!0,module:v.module,target:v.target}):Gv({removeComments:!0,module:v.module,target:v.target});Zn(Y,1),k=oe.printNode(4,Y,j)}}}p&&k==="*"&&(k=`\${${B.tabstop++}:${k}}`)}const T=!f&&s?"...":"",M=p?`\${${B.tabstop++}}`:"";return`@param {${T}${k}} ${t} ${M}`}else{const k=p?`\${${B.tabstop++}}`:"";return`@param ${t} ${k}`}}function u$t(t,u){const s=u.getText().trim();return s.includes(` +`)||s.length>80?`[${t}]`:`[${t}=${s}]`}function r$t(t){return{name:Uo(t),kind:"keyword",kindModifiers:"",sortText:I1.GlobalsOrKeywords}}function a$t(t,u){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:u,entries:t.slice()}}function i0t(t,u,s){return{kind:4,keywordCompletions:h0t(t,u),isNewIdentifierLocation:s}}function o$t(t){switch(t){case 156:return 8;default:H.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}}function n0t(t){return(t==null?void 0:t.kind)===80?of(t):void 0}function s$t(t,u,s,d,f,p,E,v,b,B){const{symbols:k,contextToken:T,completionKind:M,isInSnippetScope:z,isNewIdentifierLocation:j,location:J,propertyAccessToConvert:K,keywordFilters:Y,symbolToOriginInfoMap:oe,recommendedCompletion:se,isJsxInitializer:ge,isTypeOnlyLocation:ae,isJsxIdentifierExpected:Ce,isRightOfOpenTag:ne,isRightOfDotOrQuestionDot:ve,importStatementCompletion:Se,insideJsDocTagTypeExpression:Ne,symbolToSortTextMap:pe,hasUnresolvedAutoImports:fe}=p;let xe=p.literals;const Be=s.getTypeChecker();if(Yj(t.scriptKind)===1){const ft=c$t(J,t);if(ft)return ft}const Ge=Tn(T,BB);if(Ge&&(uFe(T)||S2(T,Ge.expression))){const ft=VX(Be,Ge.parent.clauses);xe=xe.filter(Ye=>!ft.hasValue(Ye)),k.forEach((Ye,Ve)=>{if(Ye.valueDeclaration&&J2(Ye.valueDeclaration)){const We=Be.getConstantValue(Ye.valueDeclaration);We!==void 0&&ft.hasValue(We)&&(oe[Ve]={kind:256})}})}const Ae=xt(),De=u0t(t,d);if(De&&!j&&(!k||k.length===0)&&Y===0)return;const Ke=pTe(k,Ae,void 0,T,J,b,t,u,s,Os(d),f,M,E,d,v,ae,K,Ce,ge,Se,se,oe,pe,Ce,ne,B);if(Y!==0)for(const ft of h0t(Y,!Ne&&gh(t)))(ae&&PM(f2(ft.name))||!ae&&G$t(ft.name)||!Ke.has(ft.name))&&(Ke.add(ft.name),Tt(Ae,ft,Tee,!0));for(const ft of L$t(T,b))Ke.has(ft.name)||(Ke.add(ft.name),Tt(Ae,ft,Tee,!0));for(const ft of xe){const Ye=h$t(t,E,ft);Ke.add(Ye.name),Tt(Ae,Ye,Tee,!0)}De||d$t(t,J.pos,Ke,Os(d),Ae);let Je;if(E.includeCompletionsWithInsertText&&T&&!ne&&!ve&&(Je=Tn(T,ZP))){const ft=r0t(Je,t,E,d,u,s,v);ft&&Ae.push(ft.entry)}return{flags:p.flags,isGlobalCompletion:z,isIncomplete:E.allowIncompleteCompletions&&fe?!0:void 0,isMemberCompletion:l$t(M),isNewIdentifierLocation:j,optionalReplacementSpan:n0t(J),entries:Ae}}function u0t(t,u){return!gh(t)||!!uV(t,u)}function r0t(t,u,s,d,f,p,E){const v=t.clauses,b=p.getTypeChecker(),B=b.getTypeAtLocation(t.parent.expression);if(B&&B.isUnion()&&ye(B.types,k=>k.isLiteral())){const k=VX(b,v),T=Os(d),M=Hm(u,s),z=z1.createImportAdder(u,p,s,f),j=[];for(const ae of B.types)if(ae.flags&1024){H.assert(ae.symbol,"An enum member type should have a symbol"),H.assert(ae.symbol.parent,"An enum member type should have a parent symbol (the enum symbol)");const Ce=ae.symbol.valueDeclaration&&b.getConstantValue(ae.symbol.valueDeclaration);if(Ce!==void 0){if(k.hasValue(Ce))continue;k.addValue(Ce)}const ne=z1.typeToAutoImportableTypeNode(b,z,ae,t,T);if(!ne)return;const ve=fpe(ne,T,M);if(!ve)return;j.push(ve)}else if(!k.hasValue(ae.value))switch(typeof ae.value){case"object":j.push(ae.value.negative?q.createPrefixUnaryExpression(41,q.createBigIntLiteral({negative:!1,base10Value:ae.value.base10Value})):q.createBigIntLiteral(ae.value));break;case"number":j.push(ae.value<0?q.createPrefixUnaryExpression(41,q.createNumericLiteral(-ae.value)):q.createNumericLiteral(ae.value));break;case"string":j.push(q.createStringLiteral(ae.value,M===0));break}if(j.length===0)return;const J=Vt(j,ae=>q.createCaseClause(ae,[])),K=E5(f,E==null?void 0:E.options),Y=ppe({removeComments:!0,module:d.module,target:d.target,newLine:eK(K)}),oe=E?ae=>Y.printAndFormatNode(4,ae,u,E):ae=>Y.printNode(4,ae,u),se=Vt(J,(ae,Ce)=>s.includeCompletionsWithSnippetText?`${oe(ae)}$${Ce+1}`:`${oe(ae)}`).join(K);return{entry:{name:`${Y.printNode(4,J[0],u)} ...`,kind:"",sortText:I1.GlobalsOrKeywords,insertText:se,hasAction:z.hasFixes()||void 0,source:"SwitchCases/",isSnippet:s.includeCompletionsWithSnippetText?!0:void 0},importAdder:z}}}function fpe(t,u,s){switch(t.kind){case 183:const d=t.typeName;return mpe(d,u,s);case 199:const f=fpe(t.objectType,u,s),p=fpe(t.indexType,u,s);return f&&p&&q.createElementAccessExpression(f,p);case 201:const E=t.literal;switch(E.kind){case 11:return q.createStringLiteral(E.text,s===0);case 9:return q.createNumericLiteral(E.text,E.numericLiteralFlags)}return;case 196:const v=fpe(t.type,u,s);return v&&(at(v)?v:q.createParenthesizedExpression(v));case 186:return mpe(t.exprName,u,s);case 205:H.fail("We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.")}}function mpe(t,u,s){if(at(t))return t;const d=Qr(t.right.escapedText);return zle(d,u)?q.createPropertyAccessExpression(mpe(t.left,u,s),d):q.createElementAccessExpression(mpe(t.left,u,s),q.createStringLiteral(d,s===0))}function l$t(t){switch(t){case 0:case 3:case 2:return!0;default:return!1}}function c$t(t,u){const s=Tn(t,d=>{switch(d.kind){case 287:return!0;case 44:case 32:case 80:case 211:return!1;default:return"quit"}});if(s){const d=!!a0(s,32,u),E=s.parent.openingElement.tagName.getText(u)+(d?"":">"),v=of(s.tagName),b={name:E,kind:"class",kindModifiers:void 0,sortText:I1.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:v,entries:[b]}}}function d$t(t,u,s,d,f){Tme(t).forEach((p,E)=>{if(p===u)return;const v=Qr(E);!s.has(v)&&Lm(v,d)&&(s.add(v),Tt(f,{name:v,kind:"warning",kindModifiers:"",sortText:I1.JavascriptIdentifiers,isFromUncheckedFile:!0},Tee))})}function fTe(t,u,s){return typeof s=="object"?I2(s)+"n":Ja(s)?jM(t,u,s):JSON.stringify(s)}function h$t(t,u,s){return{name:fTe(t,u,s),kind:"string",kindModifiers:"",sortText:I1.LocationPriority}}function f$t(t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge,ae,Ce,ne){var ve,Se;let Ne,pe,fe=Xhe(s),xe,Be,Ge=mTe(T),Ae,De,Ke;const Je=b.getTypeChecker(),ft=T&&e$t(T),Ye=T&&ZJt(T)||k;if(T&&qJt(T))Ne=k?`this${ft?"?.":""}[${s0t(E,oe,B)}]`:`this${ft?"?.":"."}${B}`;else if((Ye||ft)&&z){Ne=Ye?k?`[${s0t(E,oe,B)}]`:`[${B}]`:B,(ft||z.questionDotToken)&&(Ne=`?.${Ne}`);const We=a0(z,25,E)||a0(z,29,E);if(!We)return;const Gt=Pa(B,z.name.text)?z.name.end:We.end;fe=Vc(We.getStart(E),Gt)}if(j&&(Ne===void 0&&(Ne=B),Ne=`{${Ne}}`,typeof j!="boolean"&&(fe=of(j,E))),T&&XJt(T)&&z){Ne===void 0&&(Ne=B);const We=td(z.pos,E);let Gt="";We&&TX(We.end,We.parent,E)&&(Gt=";"),Gt+=`(await ${z.expression.getText()})`,Ne=k?`${Gt}${Ne}`:`${Gt}${ft?"?.":"."}${Ne}`;const Ie=ur(z.parent,Gx)?z.parent:z.expression;fe=Vc(Ie.getStart(E),z.end)}if(ZM(T)&&(Ae=[Km(T.moduleSpecifier)],J&&({insertText:Ne,replacementSpan:fe}=x$t(B,J,T,K,E,Y,oe),Be=oe.includeCompletionsWithSnippetText?!0:void 0)),(T==null?void 0:T.kind)===64&&(De=!0),se===0&&d&&((ve=td(d.pos,E,d))==null?void 0:ve.kind)!==28&&(dc(d.parent.parent)||zm(d.parent.parent)||jf(d.parent.parent)||d5(d.parent)||((Se=Tn(d.parent,Jc))==null?void 0:Se.getLastToken(E))===d||pm(d.parent)&&s0(E,d.getEnd()).line!==s0(E,p).line)&&(Ge="ObjectLiteralMemberWithComma/",De=!0),oe.includeCompletionsWithClassMemberSnippets&&oe.includeCompletionsWithInsertText&&se===3&&m$t(t,f,E)){let We;const Gt=a0t(v,b,Y,oe,B,t,f,p,d,ge);if(Gt)({insertText:Ne,filterText:pe,isSnippet:Be,importAdder:We}=Gt),We!=null&&We.hasFixes()&&(De=!0,Ge="ClassMemberSnippet/");else return}if(T&&Yst(T)&&({insertText:Ne,isSnippet:Be,labelDetails:Ke}=T,oe.useLabelDetailsInCompletionEntries||(B=B+Ke.detail,Ke=void 0),Ge="ObjectLiteralMethodSnippet/",u=I1.SortBelow(u)),ae&&!Ce&&oe.includeCompletionsWithSnippetText&&oe.jsxAttributeCompletionStyle&&oe.jsxAttributeCompletionStyle!=="none"&&!(oE(f.parent)&&f.parent.initializer)){let We=oe.jsxAttributeCompletionStyle==="braces";const Gt=Je.getTypeOfSymbolAtLocation(t,f);oe.jsxAttributeCompletionStyle==="auto"&&!(Gt.flags&528)&&!(Gt.flags&1048576&&Le(Gt.types,Yt=>!!(Yt.flags&528)))&&(Gt.flags&402653316||Gt.flags&1048576&&ye(Gt.types,Yt=>!!(Yt.flags&402686084||aSe(Yt)))?(Ne=`${O2(B)}=${jM(E,oe,"$1")}`,Be=!0):We=!0),We&&(Ne=`${O2(B)}={$1}`,Be=!0)}if(Ne!==void 0&&!oe.includeCompletionsWithInsertText)return;(wee(T)||ZM(T))&&(xe=o0t(T),De=!J);const Ve=Tn(f,Uq);if((Ve==null?void 0:Ve.kind)===275){const We=f2(B);Ve&&We&&(We===135||G0e(We))&&(Ne=`${B} as ${B}_`)}return{name:B,kind:x5.getSymbolKind(Je,t,f),kindModifiers:x5.getSymbolModifiers(Je,t),sortText:u,source:Ge,hasAction:De?!0:void 0,isRecommended:v$t(t,M,Je)||void 0,insertText:Ne,filterText:pe,replacementSpan:fe,sourceDisplay:Ae,labelDetails:Ke,isSnippet:Be,isPackageJsonImport:QJt(T)||void 0,isImportStatementCompletion:!!J||void 0,data:xe,...ne?{symbol:t}:void 0}}function m$t(t,u,s){return Qn(u)?!1:!!(t.flags&106500)&&(mr(u)||u.parent&&u.parent.parent&&Zd(u.parent)&&u===u.parent.name&&u.parent.getLastToken(s)===u.parent.name&&mr(u.parent.parent)||u.parent&&MB(u)&&mr(u.parent))}function a0t(t,u,s,d,f,p,E,v,b,B){const k=Tn(E,mr);if(!k)return;let T,M=f;const z=f,j=u.getTypeChecker(),J=E.getSourceFile(),K=ppe({removeComments:!0,module:s.module,target:s.target,omitTrailingSemicolon:!1,newLine:eK(E5(t,B==null?void 0:B.options))}),Y=z1.createImportAdder(J,u,d,t);let oe;if(d.includeCompletionsWithSnippetText){T=!0;const Se=q.createEmptyStatement();oe=q.createBlock([Se],!0),lce(Se,{kind:0,order:0})}else oe=q.createBlock([],!0);let se=0;const{modifiers:ge,range:ae,decorators:Ce}=p$t(b,J,v),ne=ge&64&&k.modifierFlagsCache&64;let ve=[];if(z1.addNewNodeForMemberSymbol(p,k,J,{program:u,host:t},d,Y,Se=>{let Ne=0;ne&&(Ne|=64),Zd(Se)&&j.getMemberOverrideModifierStatus(k,Se,p)===1&&(Ne|=16),ve.length||(se=Se.modifierFlagsCache|Ne),Se=q.replaceModifiers(Se,se),ve.push(Se)},oe,z1.PreserveOptionalFlags.Property,!!ne),ve.length){const Se=p.flags&8192;let Ne=se|16|1;Se?Ne|=1024:Ne|=136;const pe=ge&Ne;if(ge&~Ne)return;if(se&4&&pe&1&&(se&=-5),pe!==0&&!(pe&1)&&(se&=-2),se|=pe,ve=ve.map(xe=>q.replaceModifiers(xe,se)),Ce!=null&&Ce.length){const xe=ve[ve.length-1];Ak(xe)&&(ve[ve.length-1]=q.replaceDecoratorsAndModifiers(xe,Ce.concat(p2(xe)||[])))}const fe=131073;B?M=K.printAndFormatSnippetList(fe,q.createNodeArray(ve),J,B):M=K.printSnippetList(fe,q.createNodeArray(ve),J)}return{insertText:M,filterText:z,isSnippet:T,importAdder:Y,eraseRange:ae}}function p$t(t,u,s){if(!t||s0(u,s).line>s0(u,t.getEnd()).line)return{modifiers:0};let d=0,f,p;const E={pos:s,end:s};if(ko(t.parent)&&t.parent.modifiers&&(d|=tE(t.parent.modifiers)&98303,f=t.parent.modifiers.filter(g1)||[],E.pos=Math.min(E.pos,t.parent.modifiers.pos)),p=g$t(t)){const v=_7(p);d&v||(d|=v,E.pos=Math.min(E.pos,t.pos))}return{modifiers:d,decorators:f,range:E.pos!==s?E:void 0}}function g$t(t){if(Qo(t))return t.kind;if(at(t)){const u=Dv(t);if(u&&XD(u))return u}}function E$t(t,u,s,d,f,p,E,v){const b=E.includeCompletionsWithSnippetText||void 0;let B=u;const k=s.getSourceFile(),T=_$t(t,s,k,d,f,E);if(!T)return;const M=ppe({removeComments:!0,module:p.module,target:p.target,omitTrailingSemicolon:!1,newLine:eK(E5(f,v==null?void 0:v.options))});v?B=M.printAndFormatSnippetList(80,q.createNodeArray([T],!0),k,v):B=M.printSnippetList(80,q.createNodeArray([T],!0),k);const z=Gv({removeComments:!0,module:p.module,target:p.target,omitTrailingSemicolon:!0}),j=q.createMethodSignature(void 0,"",T.questionToken,T.typeParameters,T.parameters,T.type),J={detail:z.printNode(4,j,k)};return{isSnippet:b,insertText:B,labelDetails:J}}function _$t(t,u,s,d,f,p){const E=t.getDeclarations();if(!(E&&E.length))return;const v=d.getTypeChecker(),b=E[0],B=ll(Za(b),!1),k=v.getWidenedType(v.getTypeOfSymbolAtLocation(t,u)),M=33554432|(Hm(s,p)===0?268435456:0);switch(b.kind){case 171:case 172:case 173:case 174:{let z=k.flags&1048576&&k.types.length<10?v.getUnionType(k.types,2):k;if(z.flags&1048576){const oe=ti(z.types,se=>v.getSignaturesOfType(se,0).length>0);if(oe.length===1)z=oe[0];else return}if(v.getSignaturesOfType(z,0).length!==1)return;const J=v.typeToTypeNode(z,u,M,z1.getNoopSymbolTrackerWithResolver({program:d,host:f}));if(!J||!u3(J))return;let K;if(p.includeCompletionsWithSnippetText){const oe=q.createEmptyStatement();K=q.createBlock([oe],!0),lce(oe,{kind:0,order:0})}else K=q.createBlock([],!0);const Y=J.parameters.map(oe=>q.createParameterDeclaration(void 0,oe.dotDotDotToken,oe.name,void 0,void 0,oe.initializer));return q.createMethodDeclaration(void 0,void 0,B,void 0,void 0,Y,void 0,K)}default:return}}function ppe(t){let u;const s=iu.createWriter(a5(t)),d=Gv(t,s),f={...s,write:M=>p(M,()=>s.write(M)),nonEscapingWrite:s.write,writeLiteral:M=>p(M,()=>s.writeLiteral(M)),writeStringLiteral:M=>p(M,()=>s.writeStringLiteral(M)),writeSymbol:(M,z)=>p(M,()=>s.writeSymbol(M,z)),writeParameter:M=>p(M,()=>s.writeParameter(M)),writeComment:M=>p(M,()=>s.writeComment(M)),writeProperty:M=>p(M,()=>s.writeProperty(M))};return{printSnippetList:E,printAndFormatSnippetList:b,printNode:B,printAndFormatNode:T};function p(M,z){const j=O2(M);if(j!==M){const J=s.getTextPos();z();const K=s.getTextPos();u=xi(u||(u=[]),{newText:j,span:{start:J,length:K-J}})}else z()}function E(M,z,j){const J=v(M,z,j);return u?iu.applyChanges(J,u):J}function v(M,z,j){return u=void 0,f.clear(),d.writeList(M,z,j,f),f.getText()}function b(M,z,j,J){const K={text:v(M,z,j),getLineAndCharacterOfPosition(ge){return s0(this,ge)}},Y=jX(J,j),oe=ju(z,ge=>{const ae=iu.assignPositionsToNode(ge);return dd.formatNodeGivenIndentation(ae,K,j.languageVariant,0,0,{...J,options:Y})}),se=u?oc(Hi(oe,u),(ge,ae)=>q$(ge.span,ae.span)):oe;return iu.applyChanges(K.text,se)}function B(M,z,j){const J=k(M,z,j);return u?iu.applyChanges(J,u):J}function k(M,z,j){return u=void 0,f.clear(),d.writeNode(M,z,j,f),f.getText()}function T(M,z,j,J){const K={text:k(M,z,j),getLineAndCharacterOfPosition(ae){return s0(this,ae)}},Y=jX(J,j),oe=iu.assignPositionsToNode(z),se=dd.formatNodeGivenIndentation(oe,K,j.languageVariant,0,0,{...J,options:Y}),ge=u?oc(Hi(se,u),(ae,Ce)=>q$(ae.span,Ce.span)):se;return iu.applyChanges(K.text,ge)}}function o0t(t){const u=t.fileName?void 0:$4(t.moduleSymbol.name),s=t.isFromPackageJson?!0:void 0;return ZM(t)?{exportName:t.exportName,exportMapKey:t.exportMapKey,moduleSpecifier:t.moduleSpecifier,ambientModuleName:u,fileName:t.fileName,isPackageJsonImport:s}:{exportName:t.exportName,exportMapKey:t.exportMapKey,fileName:t.fileName,ambientModuleName:t.fileName?void 0:$4(t.moduleSymbol.name),isPackageJsonImport:t.isFromPackageJson?!0:void 0}}function D$t(t,u,s){const d=t.exportName==="default",f=!!t.isPackageJsonImport;return Xst(t)?{kind:32,exportName:t.exportName,exportMapKey:t.exportMapKey,moduleSpecifier:t.moduleSpecifier,symbolName:u,fileName:t.fileName,moduleSymbol:s,isDefaultExport:d,isFromPackageJson:f}:{kind:4,exportName:t.exportName,exportMapKey:t.exportMapKey,symbolName:u,fileName:t.fileName,moduleSymbol:s,isDefaultExport:d,isFromPackageJson:f}}function x$t(t,u,s,d,f,p,E){const v=u.replacementSpan,b=O2(jM(f,E,s.moduleSpecifier)),B=s.isDefaultExport?1:s.exportName==="export="?2:0,k=E.includeCompletionsWithSnippetText?"$1":"",T=z1.getImportKind(f,B,p,!0),M=u.couldBeTypeOnlyImportSpecifier,z=u.isTopLevelTypeOnly?` ${Uo(156)} `:" ",j=M?`${Uo(156)} `:"",J=d?";":"";switch(T){case 3:return{replacementSpan:v,insertText:`import${z}${O2(t)}${k} = require(${b})${J}`};case 1:return{replacementSpan:v,insertText:`import${z}${O2(t)}${k} from ${b}${J}`};case 2:return{replacementSpan:v,insertText:`import${z}* as ${O2(t)} from ${b}${J}`};case 0:return{replacementSpan:v,insertText:`import${z}{ ${j}${O2(t)}${k} } from ${b}${J}`}}}function s0t(t,u,s){return/^\d+$/.test(s)?s:jM(t,u,s)}function v$t(t,u,s){return t===u||!!(t.flags&1048576)&&s.getExportSymbolOfSymbol(t)===u}function mTe(t){if(wee(t))return $4(t.moduleSymbol.name);if(ZM(t))return t.moduleSpecifier;if((t==null?void 0:t.kind)===1)return"ThisProperty/";if((t==null?void 0:t.kind)===64)return"TypeOnlyAlias/"}function pTe(t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge,ae,Ce,ne,ve,Se=!1){const Ne=G0(),pe=H$t(d,f),fe=YH(E),xe=b.getTypeChecker(),Be=new Map;for(let Ae=0;AeIe.getSourceFile()===f.getSourceFile()));Be.set(ft,Yt),Tt(u,Gt,Tee,!0)}return k("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(G0()-Ne)),{has:Ae=>Be.has(Ae),add:Ae=>Be.set(Ae,!0)};function Ge(Ae,De){var Ke;let Je=Ae.flags;if(!la(f)){if(tc(f.parent))return!0;if(ur(pe,ua)&&Ae.valueDeclaration===pe)return!1;const ft=Ae.valueDeclaration??((Ke=Ae.declarations)==null?void 0:Ke[0]);if(pe&&ft&&(Bl(pe)&&Bl(ft)||io(pe)&&io(ft))){const Ve=ft.pos,We=io(pe)?pe.parent.parameters:P7(pe.parent)?void 0:pe.parent.typeParameters;if(Ve>=pe.pos&&We&&VefTe(s,E,se)===f.name);return oe!==void 0?{type:"literal",literal:oe}:G(B,(se,ge)=>{const ae=z[ge],Ce=Epe(se,Os(v),ae,M,b.isJsxIdentifierExpected);return Ce&&Ce.name===f.name&&(f.source==="ClassMemberSnippet/"&&se.flags&106500||f.source==="ObjectLiteralMethodSnippet/"&&se.flags&8196||mTe(ae)===f.source||f.source==="ObjectLiteralMemberWithComma/")?{type:"symbol",symbol:se,location:T,origin:ae,contextToken:j,previousToken:J,isJsxInitializer:K,isTypeOnlyLocation:Y}:void 0})||{type:"none"}}function y$t(t,u,s,d,f,p,E,v,b){const B=t.getTypeChecker(),k=t.getCompilerOptions(),{name:T,source:M,data:z}=f,{previousToken:j,contextToken:J}=gpe(d,s);if(zk(s,d,j))return ype.getStringLiteralCompletionDetails(T,s,d,j,B,k,p,b,v);const K=l0t(t,u,s,d,f,p,v);switch(K.type){case"request":{const{request:Y}=K;switch(Y.kind){case 1:return Yv.getJSDocTagNameCompletionDetails(T);case 2:return Yv.getJSDocTagCompletionDetails(T);case 3:return Yv.getJSDocParameterNameCompletionDetails(T);case 4:return Oe(Y.keywordCompletions,oe=>oe.name===T)?gTe(T,"keyword",5):void 0;default:return H.assertNever(Y)}}case"symbol":{const{symbol:Y,location:oe,contextToken:se,origin:ge,previousToken:ae}=K,{codeActions:Ce,sourceDisplay:ne}=k$t(T,oe,se,ge,Y,t,p,k,s,d,ae,E,v,z,M,b),ve=dTe(ge)?ge.symbolName:Y.name;return ETe(Y,ve,B,s,oe,b,Ce,ne)}case"literal":{const{literal:Y}=K;return gTe(fTe(s,v,Y),"string",typeof Y=="string"?8:7)}case"cases":{const Y=r0t(J.parent,s,v,t.getCompilerOptions(),p,t,void 0);if(Y!=null&&Y.importAdder.hasFixes()){const{entry:oe,importAdder:se}=Y,ge=iu.ChangeTracker.with({host:p,formatContext:E,preferences:v},se.writeFixes);return{name:oe.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0,codeActions:[{changes:ge,description:jk([F.Includes_imports_of_types_referenced_by_0,T])}]}}return{name:T,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0}}case"none":return kTe().some(Y=>Y.name===T)?gTe(T,"keyword",5):void 0;default:H.assertNever(K)}}function gTe(t,u,s){return Lee(t,"",u,[yf(t,s)])}function ETe(t,u,s,d,f,p,E,v){const{displayParts:b,documentation:B,symbolKind:k,tags:T}=s.runWithCancellationToken(p,M=>x5.getSymbolDisplayPartsDocumentationAndSymbolKind(M,t,d,f,f,7));return Lee(u,x5.getSymbolModifiers(s,t),k,b,B,T,E,v)}function Lee(t,u,s,d,f,p,E,v){return{name:t,kindModifiers:u,kind:s,displayParts:d,documentation:f,tags:p,codeActions:E,source:v,sourceDisplay:v}}function k$t(t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J){if(z!=null&&z.moduleSpecifier&&k&&D0t(s||k,b).replacementSpan)return{codeActions:void 0,sourceDisplay:[Km(z.moduleSpecifier)]};if(j==="ClassMemberSnippet/"){const{importAdder:Ce,eraseRange:ne}=a0t(E,p,v,M,t,f,u,B,s,T);if(Ce||ne)return{sourceDisplay:void 0,codeActions:[{changes:iu.ChangeTracker.with({host:E,formatContext:T,preferences:M},Se=>{Ce&&Ce.writeFixes(Se),ne&&Se.deleteRange(b,ne)}),description:jk([F.Includes_imports_of_types_referenced_by_0,t])}]}}if(Zst(d)){const Ce=z1.getPromoteTypeOnlyCompletionAction(b,d.declaration.name,p,E,T,M);return H.assertIsDefined(Ce,"Expected to have a code action for promoting type-only alias"),{codeActions:[Ce],sourceDisplay:void 0}}if(j==="ObjectLiteralMemberWithComma/"&&s){const Ce=iu.ChangeTracker.with({host:E,formatContext:T,preferences:M},ne=>ne.insertText(b,s.end,","));if(Ce)return{sourceDisplay:void 0,codeActions:[{changes:Ce,description:jk([F.Add_missing_comma_for_object_member_completion_0,t])}]}}if(!d||!(wee(d)||ZM(d)))return{codeActions:void 0,sourceDisplay:void 0};const K=d.isFromPackageJson?E.getPackageJsonAutoImportProvider().getTypeChecker():p.getTypeChecker(),{moduleSymbol:Y}=d,oe=K.getMergedSymbol(X1(f.exportSymbol||f,K)),se=(s==null?void 0:s.kind)===30&&zh(s.parent),{moduleSpecifier:ge,codeAction:ae}=z1.getImportCompletionAction(oe,Y,z==null?void 0:z.exportMapKey,b,t,se,E,p,T,k&&at(k)?k.getStart(b):B,M,J);return H.assert(!(z!=null&&z.moduleSpecifier)||ge===z.moduleSpecifier),{sourceDisplay:[Km(ge)],codeActions:[ae]}}function F$t(t,u,s,d,f,p,E){const v=l0t(t,u,s,d,f,p,E);return v.type==="symbol"?v.symbol:void 0}function A$t(t,u,s){return G(u&&(u.isUnion()?u.types:[u]),d=>{const f=d&&d.symbol;return f&&f.flags&424&&!Jye(f)?_Te(f,t,s):void 0})}function S$t(t,u,s,d){const{parent:f}=t;switch(t.kind){case 80:return SX(t,d);case 64:switch(f.kind){case 260:return d.getContextualType(f.initializer);case 226:return d.getTypeAtLocation(f.left);case 291:return d.getContextualTypeForJsxAttribute(f);default:return}case 105:return d.getContextualType(f);case 84:const p=ur(f,BB);return p?Dfe(p,d):void 0;case 19:return YP(f)&&!r3(f.parent)&&!K2(f.parent)?d.getContextualTypeForJsxAttribute(f.parent):void 0;default:const E=NK.getArgumentInfoForCompletions(t,u,s);return E?d.getContextualTypeForArgumentAtIndex(E.invocation,E.argumentIndex+(t.kind===28?1:0)):BX(t.kind)&&Xn(f)&&BX(f.operatorToken.kind)?d.getTypeAtLocation(f.left):d.getContextualType(t,4)||d.getContextualType(t)}}function _Te(t,u,s){const d=s.getAccessibleSymbolChain(t,u,67108863,!1);return d?Pn(d):t.parent&&(B$t(t.parent)?t:_Te(t.parent,u,s))}function B$t(t){var u;return!!((u=t.declarations)!=null&&u.some(s=>s.kind===312))}function c0t(t,u,s,d,f,p,E,v,b,B){const k=t.getTypeChecker(),T=u0t(s,d);let M=G0(),z=Ca(s,f);u("getCompletionData: Get current token: "+(G0()-M)),M=G0();const j=m5(s,f,z);u("getCompletionData: Is inside comment: "+(G0()-M));let J=!1,K=!1;if(j){if(nSe(s,f)){if(s.text.charCodeAt(f-1)===64)return{kind:1};{const it=tp(f,s);if(!/[^*|\s(/)]/.test(s.text.substring(it,f)))return{kind:2}}}const X=N$t(z,f);if(X){if(X.tagName.pos<=f&&f<=X.tagName.end)return{kind:1};const it=ji(X);if(it&&(z=Ca(s,f),(!z||!X3(z)&&(z.parent.kind!==355||z.parent.name!==z))&&(J=je(it))),!J&&Eg(X)&&(Ql(X.name)||X.name.pos<=f&&f<=X.name.end))return{kind:3,tag:X}}if(!J){u("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return}}M=G0();const Y=!J&&gh(s),oe=gpe(f,s),se=oe.previousToken;let ge=oe.contextToken;u("getCompletionData: Get previous token: "+(G0()-M));let ae=z,Ce,ne=!1,ve=!1,Se=!1,Ne=!1,pe=!1,fe=!1,xe,Be=af(s,f),Ge=0,Ae=!1,De=0;if(ge){const X=D0t(ge,s);if(X.keywordCompletion){if(X.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[r$t(X.keywordCompletion)],isNewIdentifierLocation:X.isNewIdentifierLocation};Ge=o$t(X.keywordCompletion)}if(X.replacementSpan&&p.includeCompletionsForImportStatements&&p.includeCompletionsWithInsertText&&(De|=2,xe=X,Ae=X.isNewIdentifierLocation),!X.replacementSpan&&Ta(ge))return u("Returning an empty list because completion was requested in an invalid position."),Ge?i0t(Ge,Y,bo()):void 0;let it=ge.parent;if(ge.kind===25||ge.kind===29)switch(ne=ge.kind===25,ve=ge.kind===29,it.kind){case 211:Ce=it,ae=Ce.expression;const Ct=CP(Ce);if(Ql(Ct)||(Mo(ae)||Co(ae))&&ae.end===ge.pos&&ae.getChildCount(s)&&Cr(ae.getChildren(s)).kind!==22)return;break;case 166:ae=it.left;break;case 267:ae=it.name;break;case 205:ae=it;break;case 236:ae=it.getFirstToken(s),H.assert(ae.kind===102||ae.kind===105);break;default:return}else if(!xe){if(it&&it.kind===211&&(ge=it,it=it.parent),z.parent===Be)switch(z.kind){case 32:(z.parent.kind===284||z.parent.kind===286)&&(Be=z);break;case 44:z.parent.kind===285&&(Be=z);break}switch(it.kind){case 287:ge.kind===44&&(Ne=!0,Be=ge);break;case 226:if(!_0t(it))break;case 285:case 284:case 286:fe=!0,ge.kind===30&&(Se=!0,Be=ge);break;case 294:case 293:(se.kind===20||se.kind===80&&se.parent.kind===291)&&(fe=!0);break;case 291:if(it.initializer===se&&se.endIk(X?v.getPackageJsonAutoImportProvider():t,v));if(ne||ve)xn();else if(Se)Ve=k.getJsxIntrinsicTagNamesAt(Be),H.assertEachIsDefined(Ve,"getJsxIntrinsicTagNames() should all be defined"),Ai(),Je=1,Ge=0;else if(Ne){const X=ge.parent.parent.openingElement.tagName,it=k.getSymbolAtLocation(X);it&&(Ve=[it]),Je=1,Ge=0}else if(!Ai())return Ge?i0t(Ge,Y,Ae):void 0;u("getCompletionData: Semantic work: "+(G0()-Ke));const It=se&&S$t(se,f,s,k),ht=!ur(se,t0)&&!fe?qi(It&&(It.isUnion()?It.types:[It]),X=>X.isLiteral()&&!(X.flags&1024)?X.value:void 0):[],Ut=se&&It&&A$t(se,It,k);return{kind:0,symbols:Ve,completionKind:Je,isInSnippetScope:K,propertyAccessToConvert:Ce,isNewIdentifierLocation:Ae,location:Be,keywordFilters:Ge,literals:ht,symbolToOriginInfoMap:Gt,recommendedCompletion:Ut,previousToken:se,contextToken:ge,isJsxInitializer:pe,insideJsDocTagTypeExpression:J,symbolToSortTextMap:Yt,isTypeOnlyLocation:st,isJsxIdentifierExpected:fe,isRightOfOpenTag:Se,isRightOfDotOrQuestionDot:ne||ve,importStatementCompletion:xe,hasUnresolvedAutoImports:Ye,flags:De};function Ni(X){switch(X.kind){case 348:case 355:case 349:case 351:case 353:case 356:case 357:return!0;case 352:return!!X.constraint;default:return!1}}function ji(X){if(Ni(X)){const it=_g(X)?X.constraint:X.typeExpression;return it&&it.kind===316?it:void 0}if(LB(X)||Nce(X))return X.class}function xn(){Je=2;const X=zx(ae),it=X&&!ae.isTypeOf||q_(ae.parent)||OH(ge,s,k),Ct=tX(ae);if(sm(ae)||X||Iu(ae)){const ct=_c(ae.parent);ct&&(Ae=!0);let Qt=k.getSymbolAtLocation(ae);if(Qt&&(Qt=X1(Qt,k),Qt.flags&1920)){const Li=k.getExportsOfModule(Qt);H.assertEachIsDefined(Li,"getExportsOfModule() should all be defined");const Ui=Ru=>k.isValidPropertyAccess(X?ae:ae.parent,Ru.name),Sn=Ru=>xTe(Ru,k),du=ct?Ru=>{var pr;return!!(Ru.flags&1920)&&!((pr=Ru.declarations)!=null&&pr.every(Xu=>Xu.parent===ae.parent))}:Ct?Ru=>Sn(Ru)||Ui(Ru):it||J?Sn:Ui;for(const Ru of Li)du(Ru)&&Ve.push(Ru);if(!it&&!J&&Qt.declarations&&Qt.declarations.some(Ru=>Ru.kind!==312&&Ru.kind!==267&&Ru.kind!==266)){let Ru=k.getTypeOfSymbolAtLocation(Qt,ae).getNonOptionalType(),pr=!1;if(Ru.isNullableType()){const Xu=ne&&!ve&&p.includeAutomaticOptionalChainCompletions!==!1;(Xu||ve)&&(Ru=Ru.getNonNullableType(),Xu&&(pr=!0))}Jn(Ru,!!(ae.flags&65536),pr)}return}}if(!it||ck(ae)){k.tryGetThisTypeAt(ae,!1);let ct=k.getTypeAtLocation(ae).getNonOptionalType();if(it)Jn(ct.getNonNullableType(),!1,!1);else{let Qt=!1;if(ct.isNullableType()){const Li=ne&&!ve&&p.includeAutomaticOptionalChainCompletions!==!1;(Li||ve)&&(ct=ct.getNonNullableType(),Li&&(Qt=!0))}Jn(ct,!!(ae.flags&65536),Qt)}}}function Jn(X,it,Ct){Ae=!!X.getStringIndexType(),ve&&Oe(X.getCallSignatures())&&(Ae=!0);const ct=ae.kind===205?ae:ae.parent;if(T)for(const Qt of X.getApparentProperties())k.isValidPropertyAccessForCompletions(ct,X,Qt)&&an(Qt,!1,Ct);else Ve.push(...ti(xpe(X,k),Qt=>k.isValidPropertyAccessForCompletions(ct,X,Qt)));if(it&&p.includeCompletionsWithInsertText){const Qt=k.getPromisedTypeOfPromise(X);if(Qt)for(const Li of Qt.getApparentProperties())k.isValidPropertyAccessForCompletions(ct,Qt,Li)&&an(Li,!0,Ct)}}function an(X,it,Ct){var ct;const Qt=G(X.declarations,du=>ur(Za(du),Ps));if(Qt){const du=Pi(Qt.expression),Ru=du&&k.getSymbolAtLocation(du),pr=Ru&&_Te(Ru,ge,k),Xu=pr&&Zo(pr);if(Xu&&Ip(Ie,Xu)){const ca=Ve.length;Ve.push(pr);const Ku=pr.parent;if(!Ku||!HH(Ku)||k.tryGetMemberInModuleExportsAndProperties(pr.name,Ku)!==pr)Gt[ca]={kind:Sn(2)};else{const ja=Id($4(Ku.name))?(ct=YU(Ku))==null?void 0:ct.fileName:void 0,{moduleSpecifier:wn}=(We||(We=z1.createImportSpecifierResolver(s,t,v,p))).getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:ja,isFromPackageJson:!1,moduleSymbol:Ku,symbol:pr,targetFlags:X1(pr,k).flags}],f,Tv(Be))||{};if(wn){const Ir={kind:Sn(6),moduleSymbol:Ku,isDefaultExport:!1,symbolName:pr.name,exportName:pr.name,fileName:ja,moduleSpecifier:wn};Gt[ca]=Ir}}}else if(p.includeCompletionsWithInsertText){if(Xu&&Ie.has(Xu))return;Ui(X),Li(X),Ve.push(X)}}else Ui(X),Li(X),Ve.push(X);function Li(du){O$t(du)&&(Yt[Zo(du)]=I1.LocalDeclarationPriority)}function Ui(du){p.includeCompletionsWithInsertText&&(it&&Ip(Ie,Zo(du))?Gt[Ve.length]={kind:Sn(8)}:Ct&&(Gt[Ve.length]={kind:16}))}function Sn(du){return Ct?du|16:du}}function Pi(X){return at(X)?X:Iu(X)?Pi(X.expression):void 0}function Ai(){return(Et()||Mt()||yr()||qt()||Xt()||Zu()||Pe()||aa()||(Ba(),1))===1}function Zu(){return gt(ge)?(Je=5,Ae=!0,Ge=4,1):0}function aa(){const X=me(ge),it=X&&k.getContextualType(X.attributes);if(!it)return 0;const Ct=X&&k.getContextualType(X.attributes,4);return Ve=Hi(Ve,de(Dpe(it,Ct,X.attributes,k),X.attributes.properties)),on(),Je=3,Ae=!1,1}function yr(){return xe?(Ae=!0,Cn(),1):0}function Ba(){Ge=ii(ge)?5:1,Je=1,Ae=bo(),se!==ge&&H.assert(!!se,"Expected 'contextToken' to be defined when different from 'previousToken'.");const X=se!==ge?se.getStart():f,it=ra(ge,X,s)||s;K=jn(it);const Ct=(st?0:111551)|788968|1920|2097152,ct=se&&!Tv(se);Ve=Hi(Ve,k.getSymbolsInScope(it,Ct)),H.assertEachIsDefined(Ve,"getSymbolsInScope() should all be defined");for(let Qt=0;QtUi.getSourceFile()===s)&&(Yt[Zo(Li)]=I1.GlobalsOrKeywords),ct&&!(Li.flags&111551)){const Ui=Li.declarations&&Le(Li.declarations,RU);if(Ui){const Sn={kind:64,declaration:Ui};Gt[Qt]=Sn}}}if(p.includeCompletionsWithInsertText&&it.kind!==312){const Qt=k.tryGetThisTypeAt(it,!1,mr(it.parent)?it:void 0);if(Qt&&!R$t(Qt,s,k))for(const Li of xpe(Qt,k))Gt[Ve.length]={kind:1},Ve.push(Li),Yt[Zo(Li)]=I1.SuggestedClassMembers}Cn(),st&&(Ge=ge&&Yy(ge.parent)?6:7)}function bt(){return xe?!0:ft||!p.includeCompletionsForModuleExports?!1:s.externalModuleIndicator||s.commonJsModuleIndicator||ufe(t.getCompilerOptions())?!0:lSe(t)}function jn(X){switch(X.kind){case 312:case 228:case 294:case 241:return!0;default:return na(X)}}function Ln(){return J||!!xe&&_2(Be.parent)||!Si(ge)&&(OH(ge,s,k)||q_(Be)||Dn(ge))}function Si(X){return X&&(X.kind===114&&(X.parent.kind===186||AB(X.parent))||X.kind===131&&X.parent.kind===182)}function Dn(X){if(X){const it=X.parent.kind;switch(X.kind){case 59:return it===172||it===171||it===169||it===260||a7(it);case 64:return it===265;case 130:return it===234;case 30:return it===183||it===216;case 96:return it===168;case 152:return it===238}}return!1}function Cn(){var X,it;if(!bt()||(H.assert(!(E!=null&&E.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),E&&!E.source))return;De|=1;const ct=se===ge&&xe?"":se&&at(se)?se.text.toLowerCase():"",Qt=(X=v.getModuleSpecifierCache)==null?void 0:X.call(v),Li=tK(s,v,t,p,B),Ui=(it=v.getPackageJsonAutoImportProvider)==null?void 0:it.call(v),Sn=E?void 0:HM(s,p,v);Qst("collectAutoImports",v,We||(We=z1.createImportSpecifierResolver(s,t,v,p)),t,f,p,!!xe,Tv(Be),Ru=>{Li.search(s.path,Se,(pr,Xu)=>{if(!Lm(pr,Os(v.getCompilationSettings()))||!E&&m7(pr)||!st&&!xe&&!(Xu&111551)||st&&!(Xu&790504))return!1;const ca=pr.charCodeAt(0);return Se&&(ca<65||ca>90)?!1:E?!0:y0t(pr,ct)},(pr,Xu,ca,Ku)=>{if(E&&!Oe(pr,Fn=>E.source===$4(Fn.moduleSymbol.name))||(pr=ti(pr,du),!pr.length))return;const ja=Ru.tryResolve(pr,ca)||{};if(ja==="failed")return;let wn=pr[0],Ir;ja!=="skipped"&&({exportInfo:wn=pr[0],moduleSpecifier:Ir}=ja);const as=wn.exportKind===1,wo=as&&lB(wn.symbol)||wn.symbol;tu(wo,{kind:Ir?32:4,moduleSpecifier:Ir,symbolName:Xu,exportMapKey:Ku,exportName:wn.exportKind===2?"export=":wn.symbol.name,fileName:wn.moduleFileName,isDefaultExport:as,moduleSymbol:wn.moduleSymbol,isFromPackageJson:wn.isFromPackageJson})}),Ye=Ru.skippedAny(),De|=Ru.resolvedAny()?8:0,De|=Ru.resolvedBeyondLimit()?16:0});function du(Ru){const pr=ur(Ru.moduleSymbol.valueDeclaration,la);if(!pr){const Xu=$4(Ru.moduleSymbol.name);return o3.nodeCoreModules.has(Xu)&&Pa(Xu,"node:")!==OX(s,t)?!1:Sn?Sn.allowsImportingAmbientModule(Ru.moduleSymbol,St(Ru.isFromPackageJson)):!0}return Mfe(Ru.isFromPackageJson?Ui:t,s,pr,p,Sn,St(Ru.isFromPackageJson),Qt)}}function tu(X,it){const Ct=Zo(X);Yt[Ct]!==I1.GlobalsOrKeywords&&(Gt[Ve.length]=it,Yt[Ct]=xe?I1.LocationPriority:I1.AutoImportSuggestions,Ve.push(X))}function oa(X,it){Qn(Be)||X.forEach(Ct=>{if(!Da(Ct))return;const ct=Epe(Ct,Os(d),void 0,0,!1);if(!ct)return;const{name:Qt}=ct,Li=E$t(Ct,Qt,it,t,v,d,p,b);if(!Li)return;const Ui={kind:128,...Li};De|=32,Gt[Ve.length]=Ui,Ve.push(Ct)})}function Da(X){return!!(X.flags&8196)}function ra(X,it,Ct){let ct=X;for(;ct&&!Whe(ct,it,Ct);)ct=ct.parent;return ct}function Ta(X){const it=G0(),Ct=Qe(X)||ni(X)||Ot(X)||Yo(X)||iY(X);return u("getCompletionsAtPosition: isCompletionListBlocker: "+(G0()-it)),Ct}function Yo(X){if(X.kind===12)return!0;if(X.kind===32&&X.parent){if(Be===X.parent&&(Be.kind===286||Be.kind===285))return!1;if(X.parent.kind===286)return Be.parent.kind!==286;if(X.parent.kind===287||X.parent.kind===285)return!!X.parent.parent&&X.parent.parent.kind===284}return!1}function bo(){if(ge){const X=ge.parent.kind,it=_pe(ge);switch(it){case 28:return X===213||X===176||X===214||X===209||X===226||X===184||X===210;case 21:return X===213||X===176||X===214||X===217||X===196;case 23:return X===209||X===181||X===167;case 144:case 145:case 102:return!0;case 25:return X===267;case 19:return X===263||X===210;case 64:return X===260||X===226;case 16:return X===228;case 17:return X===239;case 134:return X===174||X===304;case 42:return X===174}if(Nee(it))return!0}return!1}function Qe(X){return(mce(X)||Use(X))&&(zH(X,f)||f===X.end&&(!!X.isUnterminated||mce(X)))}function Et(){const X=z$t(ge);if(!X)return 0;const Ct=(kB(X.parent)?X.parent:void 0)||X,ct=E0t(Ct,k);if(!ct)return 0;const Qt=k.getTypeFromTypeNode(Ct),Li=xpe(ct,k),Ui=xpe(Qt,k),Sn=new Set;return Ui.forEach(du=>Sn.add(du.escapedName)),Ve=Hi(Ve,ti(Li,du=>!Sn.has(du.escapedName))),Je=0,Ae=!0,1}function Mt(){const X=Ve.length,it=w$t(ge,f,s);if(!it)return 0;Je=0;let Ct,ct;if(it.kind===210){const Qt=j$t(it,k);if(Qt===void 0)return it.flags&67108864?2:(ft=!0,0);const Li=k.getContextualType(it,4),Ui=(Li||Qt).getStringIndexType(),Sn=(Li||Qt).getNumberIndexType();if(Ae=!!Ui||!!Sn,Ct=Dpe(Qt,Li,it,k),ct=it.properties,Ct.length===0&&!Sn)return ft=!0,0}else{H.assert(it.kind===206),Ae=!1;const Qt=XE(it.parent);if(!G8(Qt))return H.fail("Root declaration is not variable-like.");let Li=Nx(Qt)||!!f1(Qt)||Qt.parent.parent.kind===250;if(!Li&&Qt.kind===169&&(Wt(Qt.parent)?Li=!!k.getContextualType(Qt.parent):(Qt.parent.kind===174||Qt.parent.kind===178)&&(Li=Wt(Qt.parent.parent)&&!!k.getContextualType(Qt.parent.parent))),Li){const Ui=k.getTypeAtLocation(it);if(!Ui)return 2;Ct=k.getPropertiesOfType(Ui).filter(Sn=>k.isPropertyAccessible(it,!1,!1,Ui,Sn)),ct=it.elements}}if(Ct&&Ct.length>0){const Qt=$i(Ct,H.checkDefined(ct));Ve=Hi(Ve,Qt),on(),it.kind===210&&p.includeCompletionsWithObjectLiteralMethodSnippets&&p.includeCompletionsWithInsertText&&(te(X),oa(Qt,it))}return 1}function qt(){if(!ge)return 0;const X=ge.kind===19||ge.kind===28?ur(ge.parent,Uq):EX(ge)?ur(ge.parent.parent,Uq):void 0;if(!X)return 0;EX(ge)||(Ge=8);const{moduleSpecifier:it}=X.kind===275?X.parent.parent:X.parent;if(!it)return Ae=!0,X.kind===275?2:0;const Ct=k.getSymbolAtLocation(it);if(!Ct)return Ae=!0,2;Je=3,Ae=!1;const ct=k.getExportsAndPropertiesOfModule(Ct),Qt=new Set(X.elements.filter(Ui=>!je(Ui)).map(Ui=>(Ui.propertyName||Ui.name).escapedText)),Li=ct.filter(Ui=>Ui.escapedName!=="default"&&!Qt.has(Ui.escapedName));return Ve=Hi(Ve,Li),Li.length||(Ge=0),1}function Xt(){var X;const it=ge&&(ge.kind===19||ge.kind===28)?ur(ge.parent,ep):void 0;if(!it)return 0;const Ct=Tn(it,dg(la,_c));return Je=5,Ae=!1,(X=Ct.locals)==null||X.forEach((ct,Qt)=>{var Li,Ui;Ve.push(ct),(Ui=(Li=Ct.symbol)==null?void 0:Li.exports)!=null&&Ui.has(Qt)&&(Yt[Zo(ct)]=I1.OptionalMember)}),1}function Pe(){const X=M$t(s,ge,Be,f);if(!X)return 0;if(Je=3,Ae=!0,Ge=ge.kind===42?0:mr(X)?2:3,!mr(X))return 1;const it=ge.kind===27?ge.parent.parent:ge.parent;let Ct=Zd(it)?Eh(it):0;if(ge.kind===80&&!je(ge))switch(ge.getText()){case"private":Ct=Ct|2;break;case"static":Ct=Ct|256;break;case"override":Ct=Ct|16;break}if(zl(it)&&(Ct|=256),!(Ct&2)){const ct=mr(X)&&Ct&16?Hy(Qg(X)):uP(X),Qt=ju(ct,Li=>{const Ui=k.getTypeAtLocation(Li);return Ct&256?(Ui==null?void 0:Ui.symbol)&&k.getPropertiesOfType(k.getTypeOfSymbolAtLocation(Ui.symbol,X)):Ui&&k.getPropertiesOfType(Ui)});Ve=Hi(Ve,we(Qt,X.members,Ct)),L(Ve,(Li,Ui)=>{const Sn=Li==null?void 0:Li.valueDeclaration;if(Sn&&Zd(Sn)&&Sn.name&&Ps(Sn.name)){const du={kind:512,symbolName:k.symbolToString(Li)};Gt[Ui]=du}})}return 1}function et(X){return!!X.parent&&io(X.parent)&&hc(X.parent.parent)&&(VN(X.kind)||X3(X))}function gt(X){if(X){const it=X.parent;switch(X.kind){case 21:case 28:return hc(X.parent)?X.parent:void 0;default:if(et(X))return it.parent}}}function ii(X){if(X){let it;const Ct=Tn(X.parent,ct=>mr(ct)?"quit":$0(ct)&&it===ct.body?!0:(it=ct,!1));return Ct&&Ct}}function me(X){if(X){const it=X.parent;switch(X.kind){case 32:case 31:case 44:case 80:case 211:case 292:case 291:case 293:if(it&&(it.kind===285||it.kind===286)){if(X.kind===32){const Ct=td(X.pos,s,void 0);if(!it.typeArguments||Ct&&Ct.kind===44)break}return it}else if(it.kind===291)return it.parent.parent;break;case 11:if(it&&(it.kind===291||it.kind===293))return it.parent.parent;break;case 20:if(it&&it.kind===294&&it.parent&&it.parent.kind===291)return it.parent.parent.parent;if(it&&it.kind===293)return it.parent.parent;break}}}function ni(X){const it=X.parent,Ct=it.kind;switch(X.kind){case 28:return Ct===260||Ei(X)||Ct===243||Ct===266||mt(Ct)||Ct===264||Ct===207||Ct===265||mr(it)&&!!it.typeParameters&&it.typeParameters.end>=X.pos;case 25:return Ct===207;case 59:return Ct===208;case 23:return Ct===207;case 21:return Ct===299||mt(Ct);case 19:return Ct===266;case 30:return Ct===263||Ct===231||Ct===264||Ct===265||a7(Ct);case 126:return Ct===172&&!mr(it.parent);case 26:return Ct===169||!!it.parent&&it.parent.kind===207;case 125:case 123:case 124:return Ct===169&&!hc(it.parent);case 130:return Ct===276||Ct===281||Ct===274;case 139:case 153:return!vpe(X);case 80:if(Ct===276&&X===it.name&&X.text==="type")return!1;break;case 86:case 94:case 120:case 100:case 115:case 102:case 121:case 87:case 140:return!0;case 156:return Ct!==276;case 42:return Co(X.parent)&&!dc(X.parent)}if(Nee(_pe(X))&&vpe(X)||et(X)&&(!at(X)||VN(_pe(X))||je(X)))return!1;switch(_pe(X)){case 128:case 86:case 87:case 138:case 94:case 100:case 120:case 121:case 123:case 124:case 125:case 126:case 115:return!0;case 134:return ko(X.parent)}if(Tn(X.parent,mr)&&X===se&&vi(X,f))return!1;const Qt=Fv(X.parent,172);if(Qt&&X!==se&&mr(se.parent.parent)&&f<=se.end){if(vi(X,se.end))return!1;if(X.kind!==64&&(fH(Qt)||JU(Qt)))return!0}return X3(X)&&!pm(X.parent)&&!oE(X.parent)&&!((mr(X.parent)||xh(X.parent)||Bl(X.parent))&&(X!==se||f>se.end))}function vi(X,it){return X.kind!==64&&(X.kind===27||!q4(X.end,it,s))}function mt(X){return a7(X)&&X!==176}function Ot(X){if(X.kind===9){const it=X.getFullText();return it.charAt(it.length-1)==="."}return!1}function Ei(X){return X.parent.kind===261&&!OH(X,s,k)}function $i(X,it){if(it.length===0)return X;const Ct=new Set,ct=new Set;for(const Li of it){if(Li.kind!==303&&Li.kind!==304&&Li.kind!==208&&Li.kind!==174&&Li.kind!==177&&Li.kind!==178&&Li.kind!==305||je(Li))continue;let Ui;if(d5(Li))Qi(Li,Ct);else if(js(Li)&&Li.propertyName)Li.propertyName.kind===80&&(Ui=Li.propertyName.escapedText);else{const Sn=Za(Li);Ui=Sn&&Xg(Sn)?oP(Sn):void 0}Ui!==void 0&&ct.add(Ui)}const Qt=X.filter(Li=>!ct.has(Li.escapedName));return le(Ct,Qt),Qt}function Qi(X,it){const Ct=X.expression,ct=k.getSymbolAtLocation(Ct),Qt=ct&&k.getTypeOfSymbolAtLocation(ct,Ct),Li=Qt&&Qt.properties;Li&&Li.forEach(Ui=>{it.add(Ui.name)})}function on(){Ve.forEach(X=>{if(X.flags&16777216){const it=Zo(X);Yt[it]=Yt[it]??I1.OptionalMember}})}function le(X,it){if(X.size!==0)for(const Ct of it)X.has(Ct.name)&&(Yt[Zo(Ct)]=I1.MemberDeclaredBySpreadAssignment)}function te(X){for(let it=X;it!ct.has(Qt.escapedName)&&!!Qt.declarations&&!(l4(Qt)&2)&&!(Qt.valueDeclaration&&ph(Qt.valueDeclaration)))}function de(X,it){const Ct=new Set,ct=new Set;for(const Li of it)je(Li)||(Li.kind===291?Ct.add(MP(Li.name)):H7(Li)&&Qi(Li,ct));const Qt=X.filter(Li=>!Ct.has(Li.escapedName));return le(ct,Qt),Qt}function je(X){return X.getStart(s)<=f&&f<=X.getEnd()}}function w$t(t,u,s){var d;if(t){const{parent:f}=t;switch(t.kind){case 19:case 28:if(ys(f)||Rp(f))return f;break;case 42:return dc(f)?ur(f.parent,ys):void 0;case 134:return ur(f.parent,ys);case 80:if(t.text==="async"&&pm(t.parent))return t.parent.parent;{if(ys(t.parent.parent)&&(d5(t.parent)||pm(t.parent)&&s0(s,t.getEnd()).line!==s0(s,u).line))return t.parent.parent;const E=Tn(f,Jc);if((E==null?void 0:E.getLastToken(s))===t&&ys(E.parent))return E.parent}break;default:if((d=f.parent)!=null&&d.parent&&(dc(f.parent)||zm(f.parent)||jf(f.parent))&&ys(f.parent.parent))return f.parent.parent;if(d5(f)&&ys(f.parent))return f.parent;const p=Tn(f,Jc);if(t.kind!==59&&(p==null?void 0:p.getLastToken(s))===t&&ys(p.parent))return p.parent}}}function gpe(t,u){const s=td(t,u);return s&&t<=s.end&&(J_(s)||uf(s.kind))?{contextToken:td(s.getFullStart(),u,void 0),previousToken:s}:{contextToken:s,previousToken:s}}function d0t(t,u,s,d){const f=u.isPackageJsonImport?d.getPackageJsonAutoImportProvider():s,p=f.getTypeChecker(),E=u.ambientModuleName?p.tryFindAmbientModule(u.ambientModuleName):u.fileName?p.getMergedSymbol(H.checkDefined(f.getSourceFile(u.fileName)).symbol):void 0;if(!E)return;let v=u.exportName==="export="?p.resolveExternalModuleSymbol(E):p.tryGetMemberInModuleExportsAndProperties(u.exportName,E);return v?(v=u.exportName==="default"&&lB(v)||v,{symbol:v,origin:D$t(u,t,E)}):void 0}function Epe(t,u,s,d,f){if(t$t(s))return;const p=YJt(s)?s.symbolName:t.name;if(p===void 0||t.flags&1536&&_j(p.charCodeAt(0))||Ij(t))return;const E={name:p,needsConvertPropertyAccess:!1};if(Lm(p,u,f?1:0)||t.valueDeclaration&&ph(t.valueDeclaration))return E;switch(d){case 3:return dTe(s)?{name:s.symbolName,needsConvertPropertyAccess:!1}:void 0;case 0:return{name:JSON.stringify(p),needsConvertPropertyAccess:!1};case 2:case 1:return p.charCodeAt(0)===32?void 0:{name:p,needsConvertPropertyAccess:!0};case 5:case 4:return E;default:H.assertNever(d)}}function h0t(t,u){if(!u)return f0t(t);const s=t+8+1;return Pee[s]||(Pee[s]=f0t(t).filter(d=>!T$t(f2(d.name))))}function f0t(t){return Pee[t]||(Pee[t]=kTe().filter(u=>{const s=f2(u.name);switch(t){case 0:return!1;case 1:return p0t(s)||s===138||s===144||s===156||s===145||s===128||PM(s)&&s!==157;case 5:return p0t(s);case 2:return Nee(s);case 3:return m0t(s);case 4:return VN(s);case 6:return PM(s)||s===87;case 7:return PM(s);case 8:return s===156;default:return H.assertNever(t)}}))}function T$t(t){switch(t){case 128:case 133:case 163:case 136:case 138:case 94:case 162:case 119:case 140:case 120:case 142:case 143:case 144:case 145:case 146:case 150:case 151:case 164:case 123:case 124:case 125:case 148:case 154:case 155:case 156:case 158:case 159:return!0;default:return!1}}function m0t(t){return t===148}function Nee(t){switch(t){case 128:case 129:case 137:case 139:case 153:case 134:case 138:case 164:return!0;default:return qse(t)}}function p0t(t){return t===134||t===135||t===130||t===152||t===156||!Bq(t)&&!Nee(t)}function _pe(t){return at(t)?Dv(t)??0:t.kind}function L$t(t,u){const s=[];if(t){const d=t.getSourceFile(),f=t.parent,p=d.getLineAndCharacterOfPosition(t.end).line,E=d.getLineAndCharacterOfPosition(u).line;(Sd(f)||Gc(f)&&f.moduleSpecifier)&&t===f.moduleSpecifier&&p===E&&s.push({name:Uo(132),kind:"keyword",kindModifiers:"",sortText:I1.GlobalsOrKeywords})}return s}function N$t(t,u){return Tn(t,s=>I8(s)&&MH(s,u)?!0:Vp(s)?"quit":!1)}function Dpe(t,u,s,d){const f=u&&u!==t,p=f&&!(u.flags&3)?d.getUnionType([t,u]):t,E=P$t(p,s,d);return p.isClass()&&g0t(E)?[]:f?ti(E,v):E;function v(b){return S(b.declarations)?Oe(b.declarations,B=>B.parent!==s):!0}}function P$t(t,u,s){return t.isUnion()?s.getAllPossiblePropertiesOfTypes(ti(t.types,d=>!(d.flags&402784252||s.isArrayLikeType(d)||s.isTypeInvalidDueToUnionDiscriminant(d,u)||s.typeHasCallOrConstructSignatures(d)||d.isClass()&&g0t(d.getApparentProperties())))):t.getApparentProperties()}function g0t(t){return Oe(t,u=>!!(l4(u)&6))}function xpe(t,u){return t.isUnion()?H.checkEachDefined(u.getAllPossiblePropertiesOfTypes(t.types),"getAllPossiblePropertiesOfTypes() should all be defined"):H.checkEachDefined(t.getApparentProperties(),"getApparentProperties() should all be defined")}function M$t(t,u,s,d){switch(s.kind){case 358:return ur(s.parent,x7);case 1:const f=ur(qu(Po(s.parent,la).statements),x7);if(f&&!a0(f,20,t))return f;break;case 81:if(ur(s.parent,ko))return Tn(s,mr);break;case 80:{if(Dv(s)||ko(s.parent)&&s.parent.initializer===s)return;if(vpe(s))return Tn(s,x7)}}if(u){if(s.kind===137||at(u)&&ko(u.parent)&&mr(s))return Tn(u,mr);switch(u.kind){case 64:return;case 27:case 20:return vpe(s)&&s.parent.name===s?s.parent.parent:ur(s,x7);case 19:case 28:return ur(u.parent,x7);default:if(x7(s)){if(s0(t,u.getEnd()).line!==s0(t,d).line)return s;const f=mr(u.parent.parent)?Nee:m0t;return f(u.kind)||u.kind===42||at(u)&&f(Dv(u)??0)?u.parent.parent:void 0}return}}}function z$t(t){if(!t)return;const u=t.parent;switch(t.kind){case 19:if(fm(u))return u;break;case 27:case 28:case 80:if(u.kind===171&&fm(u.parent))return u.parent;break}}function E0t(t,u){if(!t)return;if(Xr(t)&&$U(t.parent))return u.getTypeArgumentConstraint(t);const s=E0t(t.parent,u);if(s)switch(t.kind){case 171:return u.getTypeOfPropertyOfContextualType(s,t.symbol.escapedName);case 193:case 187:case 192:return s}}function vpe(t){return t.parent&&OU(t.parent)&&x7(t.parent.parent)}function I$t(t,u,s,d){switch(u){case".":case"@":return!0;case'"':case"'":case"`":return!!s&&ASe(s)&&d===s.getStart(t)+1;case"#":return!!s&&ea(s)&&!!Yd(s);case"<":return!!s&&s.kind===30&&(!Xn(s.parent)||_0t(s.parent));case"/":return!!s&&(t0(s)?!!Aj(s):s.kind===44&&H2(s.parent));case" ":return!!s&&KP(s)&&s.parent.kind===312;default:return H.assertNever(u)}}function _0t({left:t}){return Ql(t)}function R$t(t,u,s){const d=s.resolveName("self",void 0,111551,!1);if(d&&s.getTypeOfSymbolAtLocation(d,u)===t)return!0;const f=s.resolveName("global",void 0,111551,!1);if(f&&s.getTypeOfSymbolAtLocation(f,u)===t)return!0;const p=s.resolveName("globalThis",void 0,111551,!1);return!!(p&&s.getTypeOfSymbolAtLocation(p,u)===t)}function O$t(t){return!!(t.valueDeclaration&&Eh(t.valueDeclaration)&256&&mr(t.valueDeclaration.parent))}function j$t(t,u){const s=u.getContextualType(t);if(s)return s;const d=i5(t.parent);if(Xn(d)&&d.operatorToken.kind===64&&t===d.left)return u.getTypeAtLocation(d);if(Wt(d))return u.getContextualType(d)}function D0t(t,u){var s,d,f;let p,E=!1;const v=b();return{isKeywordOnlyCompletion:E,keywordCompletion:p,isNewIdentifierLocation:!!(v||p===156),isTopLevelTypeOnly:!!((d=(s=ur(v,Sd))==null?void 0:s.importClause)!=null&&d.isTypeOnly)||!!((f=ur(v,E1))!=null&&f.isTypeOnly),couldBeTypeOnlyImportSpecifier:!!v&&v0t(v,t),replacementSpan:V$t(v)};function b(){const B=t.parent;if(E1(B)){const k=B.getLastToken(u);if(at(t)&&k!==t){p=161,E=!0;return}return p=t.kind===156?void 0:156,DTe(B.moduleReference)?B:void 0}if(v0t(B,t)&&C0t(B.parent))return B;if(uD(B)||Jx(B)){if(!B.parent.isTypeOnly&&(t.kind===19||t.kind===102||t.kind===28)&&(p=156),C0t(B))if(t.kind===20||t.kind===80)E=!0,p=161;else return B.parent.parent;return}if(KP(t)&&la(B))return p=156,t;if(KP(t)&&Sd(B))return p=156,DTe(B.moduleSpecifier)?B:void 0}}function V$t(t){var u;if(!t)return;const s=Tn(t,dg(Sd,E1))??t,d=s.getSourceFile();if(hk(s,d))return of(s,d);H.assert(s.kind!==102&&s.kind!==276);const f=s.kind===272?x0t((u=s.importClause)==null?void 0:u.namedBindings)??s.moduleSpecifier:s.moduleReference,p={pos:s.getFirstToken().getStart(),end:f.pos};if(hk(p,d))return qx(p)}function x0t(t){var u;return Le((u=ur(t,uD))==null?void 0:u.elements,s=>{var d;return!s.propertyName&&m7(s.name.text)&&((d=td(s.name.pos,t.getSourceFile(),t))==null?void 0:d.kind)!==28})}function v0t(t,u){return bf(t)&&(t.isTypeOnly||u===t.name&&EX(u))}function C0t(t){if(!DTe(t.parent.parent.moduleSpecifier)||t.parent.name)return!1;if(uD(t)){const u=x0t(t);return(u?t.elements.indexOf(u):t.elements.length)<2}return!0}function DTe(t){var u;return Ql(t)?!0:!((u=ur(r_(t)?t.expression:t,t0))!=null&&u.text)}function H$t(t,u){if(!t)return;const s=Tn(t,f=>k2(f)||b0t(f)||So(f)?"quit":(io(f)||Bl(f))&&!Ek(f.parent)),d=Tn(u,f=>k2(f)||b0t(f)||So(f)?"quit":ua(f));return s||d}function b0t(t){return t.parent&&q0(t.parent)&&(t.parent.body===t||t.kind===39)}function xTe(t,u,s=new Map){return d(t)||d(X1(t.exportSymbol||t,u));function d(f){return!!(f.flags&788968)||u.isUnknownSymbol(f)||!!(f.flags&1536)&&Ip(s,Zo(f))&&u.getExportsOfModule(f).some(p=>xTe(p,u,s))}}function K$t(t,u){const s=X1(t,u).declarations;return!!S(s)&&ye(s,RX)}function y0t(t,u){if(u.length===0)return!0;let s=!1,d,f=0;const p=t.length;for(let E=0;E(t.ThisProperty="ThisProperty/",t.ClassMemberSnippet="ClassMemberSnippet/",t.TypeOnlyAlias="TypeOnlyAlias/",t.ObjectLiteralMethodSnippet="ObjectLiteralMethodSnippet/",t.SwitchCases="SwitchCases/",t.ObjectLiteralMemberWithComma="ObjectLiteralMemberWithComma/",t))(CTe||{}),bTe=(t=>(t[t.ThisType=1]="ThisType",t[t.SymbolMember=2]="SymbolMember",t[t.Export=4]="Export",t[t.Promise=8]="Promise",t[t.Nullable=16]="Nullable",t[t.ResolvedExport=32]="ResolvedExport",t[t.TypeOnlyAlias=64]="TypeOnlyAlias",t[t.ObjectLiteralMethod=128]="ObjectLiteralMethod",t[t.Ignore=256]="Ignore",t[t.ComputedPropertyName=512]="ComputedPropertyName",t[t.SymbolMemberNoExport=2]="SymbolMemberNoExport",t[t.SymbolMemberExport=6]="SymbolMemberExport",t))(bTe||{}),yTe=(t=>(t[t.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",t[t.Global=1]="Global",t[t.PropertyAccess=2]="PropertyAccess",t[t.MemberLike=3]="MemberLike",t[t.String=4]="String",t[t.None=5]="None",t))(yTe||{}),Pee=[],kTe=Mh(()=>{const t=[];for(let u=83;u<=165;u++)t.push({name:Uo(u),kind:"keyword",kindModifiers:"",sortText:I1.GlobalsOrKeywords});return t})}});function FTe(){const t=new Map;function u(s){const d=t.get(s.name);(!d||TTe[d.kind]({name:Av(z.value,T),kindModifiers:"",kind:"string",sortText:I1.LocationPriority,replacementSpan:Xhe(u)}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t.isNewIdentifier,optionalReplacementSpan:k,entries:M}}default:return H.assertNever(t)}}function q$t(t,u,s,d,f,p,E,v,b){if(!d||!t0(d))return;const B=A0t(u,d,s,f,p,E,b);return B&&Z$t(t,d,B,u,f,v)}function Z$t(t,u,s,d,f,p){switch(s.kind){case 0:{const E=Le(s.paths,v=>v.name===t);return E&&Lee(t,F0t(E.extension),E.kind,[Km(t)])}case 1:{const E=Le(s.symbols,v=>v.name===t);return E&&ETe(E,E.name,f,d,u,p)}case 2:return Le(s.types,E=>E.value===t)?Lee(t,"","string",[Km(t)]):void 0;default:return H.assertNever(s)}}function k0t(t){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:t.map(({name:f,kind:p,span:E,extension:v})=>({name:f,kind:p,kindModifiers:F0t(v),sortText:I1.LocationPriority,replacementSpan:E}))}}function F0t(t){switch(t){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return H.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return H.assertNever(t)}}function A0t(t,u,s,d,f,p,E){const v=ATe(u.parent);switch(v.kind){case 201:{const z=ATe(v.parent);return z.kind===205?{kind:0,paths:w0t(t,u,f,p,d,E)}:b(z)}case 303:return ys(v.parent)&&v.name===u?X$t(d,v.parent):B()||B(0);case 212:{const{expression:z,argumentExpression:j}=v;return u===l0(j)?S0t(d.getTypeAtLocation(z)):void 0}case 213:case 214:case 291:if(!fUt(u)&&!dm(v)){const z=NK.getArgumentInfoForCompletions(v.kind===291?v.parent:u,s,t);return z&&Q$t(z.invocation,u,z,d)||B(0)}case 272:case 278:case 283:return{kind:0,paths:w0t(t,u,f,p,d,E)};case 296:const k=VX(d,v.parent.clauses),T=B();return T?{kind:2,types:T.types.filter(z=>!k.hasValue(z.value)),isNewIdentifier:!1}:void 0;default:return B()||B(0)}function b(k){switch(k.kind){case 233:case 183:{const z=Tn(v,j=>j.parent===k);return z?{kind:2,types:bpe(d.getTypeArgumentConstraint(z)),isNewIdentifier:!1}:void 0}case 199:const{indexType:T,objectType:M}=k;return MH(T,s)?S0t(d.getTypeFromTypeNode(M)):void 0;case 192:{const z=b(ATe(k.parent));if(!z)return;const j=Y$t(k,v);return z.kind===1?{kind:1,symbols:z.symbols.filter(J=>!kt(j,J.name)),hasIndexSignature:z.hasIndexSignature}:{kind:2,types:z.types.filter(J=>!kt(j,J.value)),isNewIdentifier:!1}}default:return}}function B(k=4){const T=bpe(SX(u,d,k));if(T.length)return{kind:2,types:T,isNewIdentifier:!1}}}function ATe(t){switch(t.kind){case 196:return Lj(t);case 217:return i5(t);default:return t}}function Y$t(t,u){return qi(t.types,s=>s!==u&&Mv(s)&&us(s.literal)?s.literal.text:void 0)}function Q$t(t,u,s,d){let f=!1;const p=new Map,E=zh(t)?H.checkDefined(Tn(u.parent,oE)):u,v=d.getCandidateSignaturesForStringLiteralCompletions(t,E),b=ju(v,B=>{if(!th(B)&&s.argumentCount>B.parameters.length)return;let k=B.getTypeParameterAtPosition(s.argumentIndex);if(zh(t)){const T=d.getTypeOfPropertyOfType(k,sV(E.name));T&&(k=T)}return f=f||!!(k.flags&4),bpe(k,p)});return S(b)?{kind:2,types:b,isNewIdentifier:f}:void 0}function S0t(t){return t&&{kind:1,symbols:ti(t.getApparentProperties(),u=>!(u.valueDeclaration&&ph(u.valueDeclaration))),hasIndexSignature:_fe(t)}}function X$t(t,u){const s=t.getContextualType(u);if(!s)return;const d=t.getContextualType(u,4);return{kind:1,symbols:Dpe(s,d,u,t),hasIndexSignature:_fe(s)}}function bpe(t,u=new Map){return t?(t=nfe(t),t.isUnion()?ju(t.types,s=>bpe(s,u)):t.isStringLiteral()&&!(t.flags&1024)&&Ip(u,t.value)?[t]:_t):_t}function YM(t,u,s){return{name:t,kind:u,extension:s}}function STe(t){return YM(t,"directory",void 0)}function B0t(t,u,s){const d=dUt(t,u),f=t.length===0?void 0:d1(u,t.length);return s.map(({name:p,kind:E,extension:v})=>p.includes(rl)||p.includes(BO)?{name:p,kind:E,extension:v,span:f}:{name:p,kind:E,extension:v,span:d})}function w0t(t,u,s,d,f,p){return B0t(u.text,u.getStart(t)+1,eUt(t,u,s,d,f,p))}function eUt(t,u,s,d,f,p){const E=q1(u.text),v=t0(u)?xg(t,u):void 0,b=t.path,B=lr(b),k=BTe(s,1,t,f,p,v);return hUt(E)||!s.baseUrl&&!s.paths&&(Pf(E)||x2e(E))?tUt(E,B,s,d,b,k):rUt(E,B,v,s,d,k,f)}function BTe(t,u,s,d,f,p){return{extensionsToSearch:Va(iUt(t,d)),referenceKind:u,importingSourceFile:s,endingPreference:f==null?void 0:f.importModuleSpecifierEnding,resolutionMode:p}}function tUt(t,u,s,d,f,p){return s.rootDirs?uUt(s.rootDirs,t,u,p,s,d,f):ga(SK(t,u,p,d,!0,f).values())}function iUt(t,u){const s=u?qi(u.getAmbientModules(),p=>{const E=p.name.slice(1,-1);if(!(!E.startsWith("*.")||E.includes("/")))return E.slice(1)}):[],d=[...kP(t),s],f=p1(t);return _X(f)?tV(t,d):d}function nUt(t,u,s,d){t=t.map(p=>zd($o(Pf(p)?p:cr(u,p))));const f=G(t,p=>GE(p,s,u,d)?s.substr(p.length):void 0);return ri([...t.map(p=>cr(p,f)),s].map(p=>mv(p)),XA,dh)}function uUt(t,u,s,d,f,p,E){const v=f.project||p.getCurrentDirectory(),b=!(p.useCaseSensitiveFileNames&&p.useCaseSensitiveFileNames()),B=nUt(t,v,s,b);return ju(B,k=>ga(SK(u,k,d,p,!0,E).values()))}function SK(t,u,s,d,f,p,E=FTe()){var v;t===void 0&&(t=""),t=q1(t),ZD(t)||(t=lr(t)),t===""&&(t="."+rl),t=zd(t);const b=kx(u,t),B=ZD(b)?b:lr(b);if(!f){const z=BSe(B,d);if(z){const J=EP(z,d).typesVersions;if(typeof J=="object"){const K=(v=jY(J))==null?void 0:v.paths;if(K){const Y=lr(z),oe=b.slice(zd(Y).length);if(L0t(E,oe,Y,s,d,K))return E}}}}const k=!(d.useCaseSensitiveFileNames&&d.useCaseSensitiveFileNames());if(!NX(d,B))return E;const T=xfe(d,B,s.extensionsToSearch,void 0,["./*"]);if(T)for(let z of T){if(z=$o(z),p&&pv(z,p,u,k)===0)continue;const{name:j,extension:J}=T0t(Ac(z),d.getCompilationSettings(),s);E.add(YM(j,"script",J))}const M=LX(d,B);if(M)for(const z of M){const j=Ac($o(z));j!=="@types"&&E.add(STe(j))}return E}function T0t(t,u,s){const d=Z2.tryGetRealFileNameForNonJsDeclarationFileName(t);if(d)return{name:d,extension:t3(d)};if(s.referenceKind===0)return{name:t,extension:t3(t)};const f=Sle(s.endingPreference,s.resolutionMode,u,s.importingSourceFile);if(f===3){if(jc(t,hV))return{name:t,extension:t3(t)};const E=Z2.tryGetJSExtensionForFile(t,u);return E?{name:wv(t,E),extension:E}:{name:t,extension:t3(t)}}if((f===0||f===1)&&jc(t,[".js",".jsx",".ts",".tsx",".d.ts"]))return{name:_h(t),extension:t3(t)};const p=Z2.tryGetJSExtensionForFile(t,u);return p?{name:wv(t,p),extension:p}:{name:t,extension:t3(t)}}function L0t(t,u,s,d,f,p){const E=b=>p[b],v=(b,B)=>{const k=fB(b),T=fB(B),M=typeof k=="object"?k.prefix.length:b.length,z=typeof T=="object"?T.prefix.length:B.length;return nl(z,M)};return N0t(t,u,s,d,f,Ns(p),E,v)}function N0t(t,u,s,d,f,p,E,v){let b=[],B;for(const k of p){if(k===".")continue;const T=k.replace(/^\.\//,""),M=E(k);if(M){const z=fB(T);if(!z)continue;const j=typeof z=="object"&&Y$(z,u);j&&(B===void 0||v(k,B)===-1)&&(B=k,b=b.filter(K=>!K.matchedPattern)),(typeof z=="string"||B===void 0||v(k,B)!==1)&&b.push({matchedPattern:j,results:aUt(T,M,u,s,d,f).map(({name:K,kind:Y,extension:oe})=>YM(K,Y,oe))})}}return b.forEach(k=>k.results.forEach(T=>t.add(T))),B!==void 0}function rUt(t,u,s,d,f,p,E){const{baseUrl:v,paths:b}=d,B=FTe(),k=p1(d);if(v){const M=$o(cr(f.getCurrentDirectory(),v));SK(t,M,p,f,!1,void 0,B)}if(b){const M=zq(d,f);L0t(B,t,M,p,f,b)}const T=M0t(t);for(const M of sUt(t,T,E))B.add(YM(M,"external module name",void 0));if(R0t(f,d,u,T,p,B),_X(k)){let M=!1;if(T===void 0)for(const z of cUt(f,u)){const j=YM(z,"external module name",void 0);B.has(j.name)||(M=!0,B.add(j))}if(!M){let z=j=>{const J=cr(j,"node_modules");NX(f,J)&&SK(t,J,p,f,!1,void 0,B)};if(T&&vle(d)){const j=z;z=J=>{const K=yd(t);K.shift();let Y=K.shift();if(!Y)return j(J);if(Pa(Y,"@")){const ge=K.shift();if(!ge)return j(J);Y=cr(Y,ge)}const oe=cr(J,"node_modules",Y),se=cr(oe,"package.json");if(QH(f,se)){const ae=EP(se,f).exports;if(ae){if(typeof ae!="object"||ae===null)return;const Ce=Ns(ae),ne=K.join("/")+(K.length&&ZD(t)?"/":""),ve=$2(d,s);N0t(B,ne,oe,p,f,Ce,Se=>Hy(P0t(ae[Se],ve)),Sde);return}}return j(J)}}Ug(u,z)}}return ga(B.values())}function P0t(t,u){if(typeof t=="string")return t;if(t&&typeof t=="object"&&!Ha(t)){for(const s in t)if(s==="default"||u.includes(s)||sH(u,s)){const d=t[s];return P0t(d,u)}}}function M0t(t){return wTe(t)?ZD(t)?t:lr(t):void 0}function aUt(t,u,s,d,f,p){if(!sc(t,"*"))return t.includes("*")?_t:b(t,"script");const E=t.slice(0,t.length-1),v=doe(s,E);if(v===void 0)return t[t.length-2]==="/"?b(E,"directory"):ju(u,k=>{var T;return(T=z0t("",d,k,f,p))==null?void 0:T.map(({name:M,...z})=>({name:E+M,...z}))});return ju(u,B=>z0t(v,d,B,f,p));function b(B,k){return Pa(B,s)?[{name:mv(B),kind:k,extension:void 0}]:_t}}function z0t(t,u,s,d,f){if(!f.readDirectory)return;const p=fB(s);if(p===void 0||Ja(p))return;const E=kx(p.prefix),v=ZD(p.prefix)?E:lr(E),b=ZD(p.prefix)?"":Ac(E),B=wTe(t),k=B?ZD(t)?t:lr(t):void 0,T=B?cr(v,b+k):v,M=$o(p.suffix),z=M&&Kj("_"+M),j=z?[wv(M,z),M]:[M],J=$o(cr(u,T)),K=B?J:zd(J)+b,Y=M?j.map(ae=>"**/*"+ae):["./*"],oe=qi(xfe(f,J,d.extensionsToSearch,void 0,Y),ae=>{const Ce=ge(ae);if(Ce){if(wTe(Ce))return STe(yd(I0t(Ce))[1]);const{name:ne,extension:ve}=T0t(Ce,f.getCompilationSettings(),d);return YM(ne,"script",ve)}}),se=M?_t:qi(LX(f,J),ae=>ae==="node_modules"?void 0:STe(ae));return[...oe,...se];function ge(ae){return G(j,Ce=>{const ne=oUt($o(ae),K,Ce);return ne===void 0?void 0:I0t(ne)})}}function oUt(t,u,s){return Pa(t,u)&&sc(t,s)?t.slice(u.length,t.length-s.length):void 0}function I0t(t){return t[0]===rl?t.slice(1):t}function sUt(t,u,s){const f=s.getAmbientModules().map(p=>$4(p.name)).filter(p=>Pa(p,t)&&!p.includes("*"));if(u!==void 0){const p=zd(u);return f.map(E=>yN(E,p))}return f}function lUt(t,u,s,d){const f=Ca(t,u),p=W_(t.text,f.pos),E=p&&Le(p,j=>u>=j.pos&&u<=j.end);if(!E)return;const v=t.text.slice(E.pos,u),b=O0t.exec(v);if(!b)return;const[,B,k,T]=b,M=lr(t.path),z=k==="path"?SK(T,M,BTe(s,0,t),d,!0,t.path):k==="types"?R0t(d,s,M,M0t(T),BTe(s,1,t)):H.fail();return B0t(T,E.pos+B.length,ga(z.values()))}function R0t(t,u,s,d,f,p=FTe()){const E=new Map,v=PX(()=>cM(u,t))||_t;for(const B of v)b(B);for(const B of vfe(s,t)){const k=cr(lr(B),"node_modules/@types");b(k)}return p;function b(B){if(NX(t,B))for(const k of LX(t,B)){const T=lH(k);if(!(u.types&&!kt(u.types,T)))if(d===void 0)E.has(T)||(p.add(YM(T,"external module name",void 0)),E.set(T,!0));else{const M=cr(B,k),z=yle(d,T,n5(t));z!==void 0&&SK(z,M,f,t,!1,void 0,p)}}}}function cUt(t,u){if(!t.readFile||!t.fileExists)return _t;const s=[];for(const d of vfe(u,t)){const f=EP(d,t);for(const p of j0t){const E=f[p];if(E)for(const v in E)gu(E,v)&&!Pa(v,"@types/")&&s.push(v)}}return s}function dUt(t,u){const s=Math.max(t.lastIndexOf(rl),t.lastIndexOf(BO)),d=s!==-1?s+1:0,f=t.length-d;return f===0||Lm(t.substr(d,f),99)?void 0:d1(u+d,f)}function hUt(t){if(t&&t.length>=2&&t.charCodeAt(0)===46){const u=t.length>=3&&t.charCodeAt(1)===46?2:1,s=t.charCodeAt(u);return s===47||s===92}return!1}function wTe(t){return t.includes(rl)}function fUt(t){return Mo(t.parent)&&Ki(t.parent.arguments)===t&&at(t.parent.expression)&&t.parent.expression.escapedText==="require"}var TTe,O0t,j0t,mUt=o({"src/services/stringCompletions.ts"(){rr(),LTe(),TTe={directory:0,script:1,"external module name":2},O0t=/^(\/\/\/\s*q$t,getStringLiteralCompletions:()=>$$t});var pUt=o({"src/services/_namespaces/ts.Completions.StringCompletions.ts"(){mUt()}}),h9={};h(h9,{CompletionKind:()=>yTe,CompletionSource:()=>CTe,SortText:()=>I1,StringCompletions:()=>ype,SymbolOriginInfoKind:()=>bTe,createCompletionDetails:()=>Lee,createCompletionDetailsForSymbol:()=>ETe,getCompletionEntriesFromSymbols:()=>pTe,getCompletionEntryDetails:()=>y$t,getCompletionEntrySymbol:()=>F$t,getCompletionsAtPosition:()=>i$t,getPropertiesForObjectExpression:()=>Dpe,moduleSpecifierResolutionCacheAttemptLimit:()=>vTe,moduleSpecifierResolutionLimit:()=>Cpe});var LTe=o({"src/services/_namespaces/ts.Completions.ts"(){J$t(),pUt()}});function NTe(t,u,s,d){const f=DUt(t,s,d);return(p,E,v)=>{const{directImports:b,indirectUsers:B}=gUt(t,u,f,E,s,d);return{indirectUsers:B,...EUt(b,p,E.exportKind,s,v)}}}function gUt(t,u,s,{exportingModuleSymbol:d,exportKind:f},p,E){const v=i9(),b=i9(),B=[],k=!!d.globalExports,T=k?void 0:[];return z(d),{directImports:B,indirectUsers:M()};function M(){if(k)return t;if(d.declarations)for(const se of d.declarations)v2(se)&&u.has(se.getSourceFile().fileName)&&Y(se);return T.map(zn)}function z(se){const ge=oe(se);if(ge){for(const ae of ge)if(v(ae))switch(E&&E.throwIfCancellationRequested(),ae.kind){case 213:if(dm(ae)){j(ae);break}if(!k){const ne=ae.parent;if(f===2&&ne.kind===260){const{name:ve}=ne;if(ve.kind===80){B.push(ve);break}}}break;case 80:break;case 271:K(ae,ae.name,Yu(ae,32),!1);break;case 272:B.push(ae);const Ce=ae.importClause&&ae.importClause.namedBindings;Ce&&Ce.kind===274?K(ae,Ce.name,!1,!0):!k&&c7(ae)&&Y(Mee(ae));break;case 278:ae.exportClause?ae.exportClause.kind===280?Y(Mee(ae),!0):B.push(ae):z(yUt(ae,p));break;case 205:!k&&ae.isTypeOf&&!ae.qualifier&&J(ae)&&Y(ae.getSourceFile(),!0),B.push(ae);break;default:H.failBadSyntaxKind(ae,"Unexpected import kind.")}}}function j(se){const ge=Tn(se,kpe)||se.getSourceFile();Y(ge,!!J(se,!0))}function J(se,ge=!1){return Tn(se,ae=>ge&&kpe(ae)?"quit":Hp(ae)&&Oe(ae.modifiers,L7))}function K(se,ge,ae,Ce){if(f===2)Ce||B.push(se);else if(!k){const ne=Mee(se);H.assert(ne.kind===312||ne.kind===267),ae||_Ut(ne,ge,p)?Y(ne,!0):Y(ne)}}function Y(se,ge=!1){if(H.assert(!k),!b(se)||(T.push(se),!ge))return;const Ce=p.getMergedSymbol(se.symbol);if(!Ce)return;H.assert(!!(Ce.flags&1536));const ne=oe(Ce);if(ne)for(const ve of ne)nD(ve)||Y(Mee(ve),!0)}function oe(se){return s.get(Zo(se).toString())}}function EUt(t,u,s,d,f){const p=[],E=[];function v(M,z){p.push([M,z])}if(t)for(const M of t)b(M);return{importSearches:p,singleReferences:E};function b(M){if(M.kind===271){MTe(M)&&B(M.name);return}if(M.kind===80){B(M);return}if(M.kind===205){if(M.qualifier){const J=hm(M.qualifier);J.escapedText===lc(u)&&E.push(J)}else s===2&&E.push(M.argument.literal);return}if(M.moduleSpecifier.kind!==11)return;if(M.kind===278){M.exportClause&&ep(M.exportClause)&&k(M.exportClause);return}const{name:z,namedBindings:j}=M.importClause||{name:void 0,namedBindings:void 0};if(j)switch(j.kind){case 274:B(j.name);break;case 275:(s===0||s===1)&&k(j);break;default:H.assertNever(j)}if(z&&(s===1||s===2)&&(!f||z.escapedText===xX(u))){const J=d.getSymbolAtLocation(z);v(z,J)}}function B(M){s===2&&(!f||T(M.escapedText))&&v(M,d.getSymbolAtLocation(M))}function k(M){if(M)for(const z of M.elements){const{name:j,propertyName:J}=z;if(T((J||j).escapedText))if(J)E.push(J),(!f||j.escapedText===u.escapedName)&&v(j,d.getSymbolAtLocation(j));else{const K=z.kind===281&&z.propertyName?d.getExportSpecifierLocalTargetSymbol(z):d.getSymbolAtLocation(j);v(j,K)}}}function T(M){return M===u.escapedName||s!==0&&M==="default"}}function _Ut(t,u,s){const d=s.getSymbolAtLocation(u);return!!H0t(t,f=>{if(!Gc(f))return;const{exportClause:p,moduleSpecifier:E}=f;return!E&&p&&ep(p)&&p.elements.some(v=>s.getExportSpecifierLocalTargetSymbol(v)===d)})}function V0t(t,u,s){var d;const f=[],p=t.getTypeChecker();for(const E of u){const v=s.valueDeclaration;if((v==null?void 0:v.kind)===312){for(const b of E.referencedFiles)t.getSourceFileFromReference(E,b)===v&&f.push({kind:"reference",referencingFile:E,ref:b});for(const b of E.typeReferenceDirectives){const B=(d=t.getResolvedTypeReferenceDirectives().get(b.fileName,b.resolutionMode||E.impliedNodeFormat))==null?void 0:d.resolvedTypeReferenceDirective;B!==void 0&&B.resolvedFileName===v.fileName&&f.push({kind:"reference",referencingFile:E,ref:b})}}K0t(E,(b,B)=>{p.getSymbolAtLocation(B)===s&&f.push(sl(b)?{kind:"implicit",literal:B,referencingFile:E}:{kind:"import",literal:B})})}return f}function DUt(t,u,s){const d=new Map;for(const f of t)s&&s.throwIfCancellationRequested(),K0t(f,(p,E)=>{const v=u.getSymbolAtLocation(E);if(v){const b=Zo(v).toString();let B=d.get(b);B||d.set(b,B=[]),B.push(p)}});return d}function H0t(t,u){return L(t.kind===312?t.statements:t.body.statements,s=>u(s)||kpe(s)&&L(s.body&&s.body.statements,u))}function K0t(t,u){if(t.externalModuleIndicator||t.imports!==void 0)for(const s of t.imports)u(tP(s),s);else H0t(t,s=>{switch(s.kind){case 278:case 272:{const d=s;d.moduleSpecifier&&us(d.moduleSpecifier)&&u(d,d.moduleSpecifier);break}case 271:{const d=s;MTe(d)&&u(d,d.moduleReference.expression);break}}})}function W0t(t,u,s,d){return d?f():f()||p();function f(){var b;const{parent:B}=t,k=B.parent;if(u.exportSymbol)return B.kind===211?(b=u.declarations)!=null&&b.some(z=>z===B)&&Xn(k)?M(k,!1):void 0:E(u.exportSymbol,v(B));{const z=vUt(B,t);if(z&&Yu(z,32))return E1(z)&&z.moduleReference===t?d?void 0:{kind:0,symbol:s.getSymbolAtLocation(z.name)}:E(u,v(z));if(u_(B))return E(u,0);if(tc(B))return T(B);if(tc(k))return T(k);if(Xn(B))return M(B,!0);if(Xn(k))return M(k,!0);if(PB(B)||Ace(B))return E(u,0)}function T(z){if(!z.symbol.parent)return;const j=z.isExportEquals?2:1;return{kind:1,symbol:u,exportInfo:{exportingModuleSymbol:z.symbol.parent,exportKind:j}}}function M(z,j){let J;switch(Xl(z)){case 1:J=0;break;case 2:J=2;break;default:return}const K=j?s.getSymbolAtLocation(Uye(Po(z.left,I0))):u;return K&&E(K,J)}}function p(){if(!CUt(t))return;let B=s.getImmediateAliasedSymbol(u);if(!B||(B=bUt(B,s),B.escapedName==="export="&&(B=xUt(B,s),B===void 0)))return;const k=xX(B);if(k===void 0||k==="default"||k===u.escapedName)return{kind:0,symbol:B}}function E(b,B){const k=PTe(b,B,s);return k&&{kind:1,symbol:b,exportInfo:k}}function v(b){return Yu(b,2048)?1:0}}function xUt(t,u){var s,d;if(t.flags&2097152)return u.getImmediateAliasedSymbol(t);const f=H.checkDefined(t.valueDeclaration);if(tc(f))return(s=ur(f.expression,Zg))==null?void 0:s.symbol;if(Xn(f))return(d=ur(f.right,Zg))==null?void 0:d.symbol;if(la(f))return f.symbol}function vUt(t,u){const s=ua(t)?t:js(t)?S8(t):void 0;return s?t.name!==u||G2(s.parent)?void 0:Jl(s.parent.parent)?s.parent.parent:void 0:t}function CUt(t){const{parent:u}=t;switch(u.kind){case 271:return u.name===t&&MTe(u);case 276:return!u.propertyName;case 273:case 274:return H.assert(u.name===t),!0;case 208:return Qn(t)&&F2(u.parent.parent);default:return!1}}function PTe(t,u,s){const d=t.parent;if(!d)return;const f=s.getMergedSymbol(d);return HH(f)?{exportingModuleSymbol:f,exportKind:u}:void 0}function bUt(t,u){if(t.declarations)for(const s of t.declarations){if(eh(s)&&!s.propertyName&&!s.parent.parent.moduleSpecifier)return u.getExportSpecifierLocalTargetSymbol(s)||t;if(Iu(s)&&Y_(s.expression)&&!ea(s.name))return u.getSymbolAtLocation(s);if(pm(s)&&Xn(s.parent.parent)&&Xl(s.parent.parent)===2)return u.getExportSpecifierLocalTargetSymbol(s.name)}return t}function yUt(t,u){return u.getMergedSymbol(Mee(t).symbol)}function Mee(t){if(t.kind===213)return t.getSourceFile();const{parent:u}=t;return u.kind===312?u:(H.assert(u.kind===268),Po(u.parent,kpe))}function kpe(t){return t.kind===267&&t.name.kind===11}function MTe(t){return t.moduleReference.kind===283&&t.moduleReference.expression.kind===11}var zTe,ITe,kUt=o({"src/services/importTracker.ts"(){rr(),zTe=(t=>(t[t.Named=0]="Named",t[t.Default=1]="Default",t[t.ExportEquals=2]="ExportEquals",t))(zTe||{}),ITe=(t=>(t[t.Import=0]="Import",t[t.Export=1]="Export",t))(ITe||{})}});function l3(t,u=1){return{kind:u,node:t.name||t,context:FUt(t)}}function G0t(t){return t&&t.kind===void 0}function FUt(t){if(Q1(t))return Vk(t);if(t.parent){if(!Q1(t.parent)&&!tc(t.parent)){if(Qn(t)){const s=Xn(t.parent)?t.parent:I0(t.parent)&&Xn(t.parent.parent)&&t.parent.parent.left===t.parent?t.parent.parent:void 0;if(s&&Xl(s)!==0)return Vk(s)}if(aE(t.parent)||H2(t.parent))return t.parent.parent;if(bk(t.parent)||V2(t.parent)||ON(t.parent))return t.parent;if(t0(t)){const s=Aj(t);if(s){const d=Tn(s,f=>Q1(f)||na(f)||I8(f));return Q1(d)?Vk(d):d}}const u=Tn(t,Ps);return u?Vk(u.parent):void 0}if(t.parent.name===t||hc(t.parent)||tc(t.parent)||(r7(t.parent)||js(t.parent))&&t.parent.propertyName===t||t.kind===90&&Yu(t.parent,2080))return Vk(t.parent)}}function Vk(t){if(t)switch(t.kind){case 260:return!Ad(t.parent)||t.parent.declarations.length!==1?t:Jl(t.parent.parent)?t.parent.parent:M8(t.parent.parent)?Vk(t.parent.parent):t.parent;case 208:return Vk(t.parent.parent);case 276:return t.parent.parent.parent;case 281:case 274:return t.parent.parent;case 273:case 280:return t.parent;case 226:return Od(t.parent)?t.parent:t;case 250:case 249:return{start:t.initializer,end:t.expression};case 303:case 304:return p5(t.parent)?Vk(Tn(t.parent,u=>Xn(u)||M8(u))):t;default:return t}}function RTe(t,u,s){if(!s)return;const d=G0t(s)?Iee(s.start,u,s.end):Iee(s,u);return d.start!==t.start||d.length!==t.length?{contextSpan:d}:void 0}function AUt(t,u,s,d,f){const p=af(d,f),E={use:1},v=f9.getReferencedSymbolsForNode(f,p,t,s,u,E),b=t.getTypeChecker(),B=f9.getAdjustedNode(p,E),k=SUt(B)?b.getSymbolAtLocation(B):void 0;return!v||!v.length?void 0:qi(v,({definition:T,references:M})=>T&&{definition:b.runWithCancellationToken(u,z=>TUt(T,z,p)),references:M.map(z=>NUt(z,k))})}function SUt(t){return t.kind===90||!!nP(t)||Nj(t)||t.kind===137&&hc(t.parent)}function BUt(t,u,s,d,f){const p=af(d,f);let E;const v=J0t(t,u,s,p,f);if(p.parent.kind===211||p.parent.kind===208||p.parent.kind===212||p.kind===108)E=v&&[...v];else if(v){const B=U$(v),k=new Map;for(;!B.isEmpty();){const T=B.dequeue();if(!Ip(k,$s(T.node)))continue;E=xi(E,T);const M=J0t(t,u,s,T.node,T.node.pos);M&&B.enqueue(...M)}}const b=t.getTypeChecker();return Vt(E,B=>MUt(B,b))}function J0t(t,u,s,d,f){if(d.kind===312)return;const p=t.getTypeChecker();if(d.parent.kind===304){const E=[];return f9.getReferenceEntriesForShorthandPropertyAssignment(d,p,v=>E.push(l3(v))),E}else if(d.kind===108||nf(d.parent)){const E=p.getSymbolAtLocation(d);return E.valueDeclaration&&[l3(E.valueDeclaration)]}else return $0t(f,d,t,s,u,{implementations:!0,use:1})}function wUt(t,u,s,d,f,p,E){return Vt(U0t(f9.getReferencedSymbolsForNode(f,d,t,s,u,p)),v=>E(v,d,t.getTypeChecker()))}function $0t(t,u,s,d,f,p={},E=new Set(d.map(v=>v.fileName))){return U0t(f9.getReferencedSymbolsForNode(t,u,s,d,f,p,E))}function U0t(t){return t&&ju(t,u=>u.references)}function TUt(t,u,s){const d=(()=>{switch(t.type){case 0:{const{symbol:k}=t,{displayParts:T,kind:M}=q0t(k,u,s),z=T.map(K=>K.text).join(""),j=k.declarations&&Ki(k.declarations),J=j?Za(j)||j:s;return{...zee(J),name:z,kind:M,displayParts:T,context:Vk(j)}}case 1:{const{node:k}=t;return{...zee(k),name:k.text,kind:"label",displayParts:[yf(k.text,17)]}}case 2:{const{node:k}=t,T=Uo(k.kind);return{...zee(k),name:T,kind:"keyword",displayParts:[{text:T,kind:"keyword"}]}}case 3:{const{node:k}=t,T=u.getSymbolAtLocation(k),M=T&&x5.getSymbolDisplayPartsDocumentationAndSymbolKind(u,T,k.getSourceFile(),Mk(k),k).displayParts||[Km("this")];return{...zee(k),name:"this",kind:"var",displayParts:M}}case 4:{const{node:k}=t;return{...zee(k),name:k.text,kind:"var",displayParts:[yf(Hc(k),8)]}}case 5:return{textSpan:qx(t.reference),sourceFile:t.file,name:t.reference.fileName,kind:"string",displayParts:[yf(`"${t.reference.fileName}"`,8)]};default:return H.assertNever(t)}})(),{sourceFile:f,textSpan:p,name:E,kind:v,displayParts:b,context:B}=d;return{containerKind:"",containerName:"",fileName:f.fileName,kind:v,name:E,textSpan:p,displayParts:b,...RTe(p,f,B)}}function zee(t){const u=t.getSourceFile();return{sourceFile:u,textSpan:Iee(Ps(t)?t.expression:t,u)}}function q0t(t,u,s){const d=f9.getIntersectingMeaningFromDeclarations(s,t),f=t.declarations&&Ki(t.declarations)||s,{displayParts:p,symbolKind:E}=x5.getSymbolDisplayPartsDocumentationAndSymbolKind(u,t,f.getSourceFile(),f,f,d);return{displayParts:p,kind:E}}function LUt(t,u,s,d,f){return{...Fpe(t),...d&&PUt(t,u,s,f)}}function NUt(t,u){const s=Z0t(t);return u?{...s,isDefinition:t.kind!==0&&Y0t(t.node,u)}:s}function Z0t(t){const u=Fpe(t);if(t.kind===0)return{...u,isWriteAccess:!1};const{kind:s,node:d}=t;return{...u,isWriteAccess:jTe(d),isInString:s===2?!0:void 0}}function Fpe(t){if(t.kind===0)return{textSpan:t.textSpan,fileName:t.fileName};{const u=t.node.getSourceFile(),s=Iee(t.node,u);return{textSpan:s,fileName:u.fileName,...RTe(s,u,t.context)}}}function PUt(t,u,s,d){if(t.kind!==0&&at(u)){const{node:f,kind:p}=t,E=f.parent,v=u.text,b=pm(E);if(b||GH(E)&&E.name===f&&E.dotDotDotToken===void 0){const B={prefixText:v+": "},k={suffixText:": "+v};if(p===3)return B;if(p===4)return k;if(b){const T=E.parent;return ys(T)&&Xn(T.parent)&&Y_(T.parent.left)?B:k}else return B}else if(bf(E)&&!E.propertyName){const B=eh(u.parent)?s.getExportSpecifierLocalTargetSymbol(u.parent):s.getSymbolAtLocation(u);return kt(B.declarations,E)?{prefixText:v+" as "}:d4}else if(eh(E)&&!E.propertyName)return u===t.node||s.getSymbolAtLocation(u)===s.getSymbolAtLocation(t.node)?{prefixText:v+" as "}:{suffixText:" as "+v}}if(t.kind!==0&&Of(t.node)&&I0(t.node.parent)){const f=ofe(d);return{prefixText:f,suffixText:f}}return d4}function MUt(t,u){const s=Fpe(t);if(t.kind!==0){const{node:d}=t;return{...s,...zUt(d,u)}}else return{...s,kind:"",displayParts:[]}}function zUt(t,u){const s=u.getSymbolAtLocation(Q1(t)&&t.name?t.name:t);return s?q0t(s,u,t):t.kind===210?{kind:"interface",displayParts:[ih(21),Km("object literal"),ih(22)]}:t.kind===231?{kind:"local class",displayParts:[ih(21),Km("anonymous local class"),ih(22)]}:{kind:tb(t),displayParts:[]}}function IUt(t){const u=Fpe(t);if(t.kind===0)return{fileName:u.fileName,span:{textSpan:u.textSpan,kind:"reference"}};const s=jTe(t.node),d={textSpan:u.textSpan,kind:s?"writtenReference":"reference",isInString:t.kind===2?!0:void 0,...u.contextSpan&&{contextSpan:u.contextSpan}};return{fileName:u.fileName,span:d}}function Iee(t,u,s){let d=t.getStart(u),f=(s||t).getEnd();return t0(t)&&f-d>2&&(H.assert(s===void 0),d+=1,f-=1),Vc(d,f)}function OTe(t){return t.kind===0?t.textSpan:Iee(t.node,t.node.getSourceFile())}function jTe(t){const u=nP(t);return!!u&&RUt(u)||t.kind===90||D7(t)}function Y0t(t,u){var s;if(!u)return!1;const d=nP(t)||(t.kind===90?t.parent:Nj(t)||t.kind===137&&hc(t.parent)?t.parent.parent:void 0),f=d&&Xn(d)?d.left:void 0;return!!(d&&((s=u.declarations)!=null&&s.some(p=>p===d||p===f)))}function RUt(t){if(t.flags&33554432)return!0;switch(t.kind){case 226:case 208:case 263:case 231:case 90:case 266:case 306:case 281:case 273:case 271:case 276:case 264:case 345:case 353:case 291:case 267:case 270:case 274:case 280:case 169:case 304:case 265:case 168:return!0;case 303:return!p5(t.parent);case 262:case 218:case 176:case 174:case 177:case 178:return!!t.body;case 260:case 172:return!!t.initializer||G2(t.parent);case 173:case 171:case 355:case 348:return!1;default:return H.failBadSyntaxKind(t)}}var VTe,HTe,KTe,f9,OUt=o({"src/services/findAllReferences.ts"(){rr(),Q0t(),VTe=(t=>(t[t.Symbol=0]="Symbol",t[t.Label=1]="Label",t[t.Keyword=2]="Keyword",t[t.This=3]="This",t[t.String=4]="String",t[t.TripleSlashReference=5]="TripleSlashReference",t))(VTe||{}),HTe=(t=>(t[t.Span=0]="Span",t[t.Node=1]="Node",t[t.StringLiteral=2]="StringLiteral",t[t.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",t[t.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal",t))(HTe||{}),KTe=(t=>(t[t.Other=0]="Other",t[t.References=1]="References",t[t.Rename=2]="Rename",t))(KTe||{}),(t=>{function u(Qe,Et,Mt,qt,Xt,Pe={},et=new Set(qt.map(gt=>gt.fileName))){var gt,ii;if(Et=s(Et,Pe),la(Et)){const $i=Cw.getReferenceAtPosition(Et,Qe,Mt);if(!($i!=null&&$i.file))return;const Qi=Mt.getTypeChecker().getMergedSymbol($i.file.symbol);if(Qi)return B(Mt,Qi,!1,qt,et);const on=Mt.getFileIncludeReasons();return on?[{definition:{type:5,reference:$i.reference,file:Et},references:f($i.file,on,Mt)||_t}]:void 0}if(!Pe.implementations){const $i=T(Et,qt,Xt);if($i)return $i}const me=Mt.getTypeChecker(),ni=me.getSymbolAtLocation(hc(Et)&&Et.parent.name||Et);if(!ni){if(!Pe.implementations&&t0(Et)){if(vX(Et)){const $i=Mt.getFileIncludeReasons(),Qi=(ii=(gt=Mt.getResolvedModule(Et.getSourceFile(),Et.text,xg(Et.getSourceFile(),Et)))==null?void 0:gt.resolvedModule)==null?void 0:ii.resolvedFileName,on=Qi?Mt.getSourceFile(Qi):void 0;if(on)return[{definition:{type:4,node:Et},references:f(on,$i,Mt)||_t}]}return bt(Et,qt,me,Xt)}return}if(ni.escapedName==="export=")return B(Mt,ni.parent,!1,qt,et);const vi=E(ni,Mt,qt,Xt,Pe,et);if(vi&&!(ni.flags&33554432))return vi;const mt=p(Et,ni,me),Ot=mt&&E(mt,Mt,qt,Xt,Pe,et),Ei=M(ni,Et,qt,et,me,Xt,Pe);return v(Mt,vi,Ei,Ot)}t.getReferencedSymbolsForNode=u;function s(Qe,Et){return Et.use===1?Qe=Jhe(Qe):Et.use===2&&(Qe=lX(Qe)),Qe}t.getAdjustedNode=s;function d(Qe,Et,Mt,qt=new Set(Mt.map(Xt=>Xt.fileName))){var Xt,Pe;const et=(Xt=Et.getSourceFile(Qe))==null?void 0:Xt.symbol;if(et)return((Pe=B(Et,et,!1,Mt,qt)[0])==null?void 0:Pe.references)||_t;const gt=Et.getFileIncludeReasons(),ii=Et.getSourceFile(Qe);return ii&>&&f(ii,gt,Et)||_t}t.getReferencesForFileName=d;function f(Qe,Et,Mt){let qt;const Xt=Et.get(Qe.path)||_t;for(const Pe of Xt)if(Jv(Pe)){const et=Mt.getSourceFileByPath(Pe.file),gt=FM(Mt,Pe);ZB(gt)&&(qt=xi(qt,{kind:0,fileName:et.fileName,textSpan:qx(gt)}))}return qt}function p(Qe,Et,Mt){if(Qe.parent&&wV(Qe.parent)){const qt=Mt.getAliasedSymbol(Et),Xt=Mt.getMergedSymbol(qt);if(qt!==Xt)return Xt}}function E(Qe,Et,Mt,qt,Xt,Pe){const et=Qe.flags&1536&&Qe.declarations&&Le(Qe.declarations,la);if(!et)return;const gt=Qe.exports.get("export="),ii=B(Et,Qe,!!gt,Mt,Pe);if(!gt||!Pe.has(et.fileName))return ii;const me=Et.getTypeChecker();return Qe=X1(gt,me),v(Et,ii,M(Qe,void 0,Mt,Pe,me,qt,Xt))}function v(Qe,...Et){let Mt;for(const qt of Et)if(!(!qt||!qt.length)){if(!Mt){Mt=qt;continue}for(const Xt of qt){if(!Xt.definition||Xt.definition.type!==0){Mt.push(Xt);continue}const Pe=Xt.definition.symbol,et=Ue(Mt,ii=>!!ii.definition&&ii.definition.type===0&&ii.definition.symbol===Pe);if(et===-1){Mt.push(Xt);continue}const gt=Mt[et];Mt[et]={definition:gt.definition,references:gt.references.concat(Xt.references).sort((ii,me)=>{const ni=b(Qe,ii),vi=b(Qe,me);if(ni!==vi)return nl(ni,vi);const mt=OTe(ii),Ot=OTe(me);return mt.start!==Ot.start?nl(mt.start,Ot.start):nl(mt.length,Ot.length)})}}}return Mt}function b(Qe,Et){const Mt=Et.kind===0?Qe.getSourceFile(Et.fileName):Et.node.getSourceFile();return Qe.getSourceFiles().indexOf(Mt)}function B(Qe,Et,Mt,qt,Xt){H.assert(!!Et.valueDeclaration);const Pe=qi(V0t(Qe,qt,Et),gt=>{if(gt.kind==="import"){const ii=gt.literal.parent;if(Mv(ii)){const me=Po(ii.parent,nD);if(Mt&&!me.qualifier)return}return l3(gt.literal)}else if(gt.kind==="implicit"){const ii=gt.literal.text!==Hx&&uM(gt.referencingFile,me=>me.transformFlags&2?r3(me)||bk(me)||K2(me)?me:void 0:"skip")||gt.referencingFile.statements[0]||gt.referencingFile;return l3(ii)}else return{kind:0,fileName:gt.referencingFile.fileName,textSpan:qx(gt.ref)}});if(Et.declarations)for(const gt of Et.declarations)switch(gt.kind){case 312:break;case 267:Xt.has(gt.getSourceFile().fileName)&&Pe.push(l3(gt.name));break;default:H.assert(!!(Et.flags&33554432),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}const et=Et.exports.get("export=");if(et!=null&&et.declarations)for(const gt of et.declarations){const ii=gt.getSourceFile();if(Xt.has(ii.fileName)){const me=Xn(gt)&&Iu(gt.left)?gt.left.expression:tc(gt)?H.checkDefined(a0(gt,95,ii)):Za(gt)||gt;Pe.push(l3(me))}}return Pe.length?[{definition:{type:0,symbol:Et},references:Pe}]:_t}function k(Qe){return Qe.kind===148&&z7(Qe.parent)&&Qe.parent.operator===148}function T(Qe,Et,Mt){if(PM(Qe.kind))return Qe.kind===116&&R7(Qe.parent)||Qe.kind===148&&!k(Qe)?void 0:Je(Et,Qe.kind,Mt,Qe.kind===148?k:void 0);if(W8(Qe.parent)&&Qe.parent.name===Qe)return Ke(Et,Mt);if(N7(Qe)&&zl(Qe.parent))return[{definition:{type:2,node:Qe},references:[l3(Qe)]}];if(PH(Qe)){const qt=nX(Qe.parent,Qe.text);return qt&&Ae(qt.parent,qt)}else if(Ihe(Qe))return Ae(Qe.parent,Qe);if(rw(Qe))return Ba(Qe,Et,Mt);if(Qe.kind===108)return aa(Qe)}function M(Qe,Et,Mt,qt,Xt,Pe,et){const gt=Et&&J(Qe,Et,Xt,!bo(et))||Qe,ii=Et?tu(Et,gt):7,me=[],ni=new oe(Mt,qt,Et?j(Et):0,Xt,Pe,ii,et,me),vi=!bo(et)||!gt.declarations?void 0:Le(gt.declarations,eh);if(vi)Gt(vi.name,gt,vi,ni.createSearch(Et,Qe,void 0),ni,!0,!0);else if(Et&&Et.kind===90&>.escapedName==="default"&>.parent)It(Et,gt,ni),se(Et,gt,{exportingModuleSymbol:gt.parent,exportKind:1},ni);else{const mt=ni.createSearch(Et,gt,void 0,{allSearchSymbols:Et?jn(gt,Et,Xt,et.use===2,!!et.providePrefixAndSuffixTextForRename,!!et.implementations):[gt]});z(gt,ni,mt)}return me}function z(Qe,Et,Mt){const qt=Se(Qe);if(qt)Ye(qt,qt.getSourceFile(),Mt,Et,!(la(qt)&&!kt(Et.sourceFiles,qt)));else for(const Xt of Et.sourceFiles)Et.cancellationToken.throwIfCancellationRequested(),ne(Xt,Mt,Et)}function j(Qe){switch(Qe.kind){case 176:case 137:return 1;case 80:if(mr(Qe.parent))return H.assert(Qe.parent.name===Qe),2;default:return 0}}function J(Qe,Et,Mt,qt){const{parent:Xt}=Et;return eh(Xt)&&qt?Yt(Et,Qe,Xt,Mt):G(Qe.declarations,Pe=>{if(!Pe.parent){if(Qe.flags&33554432)return;H.fail(`Unexpected symbol at ${H.formatSyntaxKind(Et.kind)}: ${H.formatSymbol(Qe)}`)}return fm(Pe.parent)&&Pv(Pe.parent.parent)?Mt.getPropertyOfType(Mt.getTypeFromTypeNode(Pe.parent.parent),Qe.name):void 0})}let K;(Qe=>{Qe[Qe.None=0]="None",Qe[Qe.Constructor=1]="Constructor",Qe[Qe.Class=2]="Class"})(K||(K={}));function Y(Qe){if(!(Qe.flags&33555968))return;const Et=Qe.declarations&&Le(Qe.declarations,Mt=>!la(Mt)&&!_c(Mt));return Et&&Et.symbol}class oe{constructor(Et,Mt,qt,Xt,Pe,et,gt,ii){this.sourceFiles=Et,this.sourceFilesSet=Mt,this.specialSearchKind=qt,this.checker=Xt,this.cancellationToken=Pe,this.searchMeaning=et,this.options=gt,this.result=ii,this.inheritsFromCache=new Map,this.markSeenContainingTypeReference=i9(),this.markSeenReExportRHS=i9(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}includesSourceFile(Et){return this.sourceFilesSet.has(Et.fileName)}getImportSearches(Et,Mt){return this.importTracker||(this.importTracker=NTe(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(Et,Mt,this.options.use===2)}createSearch(Et,Mt,qt,Xt={}){const{text:Pe=$4(lc(lB(Mt)||Y(Mt)||Mt)),allSearchSymbols:et=[Mt]}=Xt,gt=Al(Pe),ii=this.options.implementations&&Et?Yo(Et,Mt,this.checker):void 0;return{symbol:Mt,comingFrom:qt,text:Pe,escapedText:gt,parents:ii,allSearchSymbols:et,includes:me=>kt(et,me)}}referenceAdder(Et){const Mt=Zo(Et);let qt=this.symbolIdToReferences[Mt];return qt||(qt=this.symbolIdToReferences[Mt]=[],this.result.push({definition:{type:0,symbol:Et},references:qt})),(Xt,Pe)=>qt.push(l3(Xt,Pe))}addStringOrCommentReference(Et,Mt){this.result.push({definition:void 0,references:[{kind:0,fileName:Et,textSpan:Mt}]})}markSearchedSymbols(Et,Mt){const qt=$s(Et),Xt=this.sourceFileToSeenSymbols[qt]||(this.sourceFileToSeenSymbols[qt]=new Set);let Pe=!1;for(const et of Mt)Pe=r0(Xt,Zo(et))||Pe;return Pe}}function se(Qe,Et,Mt,qt){const{importSearches:Xt,singleReferences:Pe,indirectUsers:et}=qt.getImportSearches(Et,Mt);if(Pe.length){const gt=qt.referenceAdder(Et);for(const ii of Pe)ae(ii,qt)&>(ii)}for(const[gt,ii]of Xt)ft(gt.getSourceFile(),qt.createSearch(gt,ii,1),qt);if(et.length){let gt;switch(Mt.exportKind){case 0:gt=qt.createSearch(Qe,Et,1);break;case 1:gt=qt.options.use===2?void 0:qt.createSearch(Qe,Et,1,{text:"default"});break}if(gt)for(const ii of et)ne(ii,gt,qt)}}function ge(Qe,Et,Mt,qt,Xt,Pe,et,gt){const ii=NTe(Qe,new Set(Qe.map(mt=>mt.fileName)),Et,Mt),{importSearches:me,indirectUsers:ni,singleReferences:vi}=ii(qt,{exportKind:et?1:0,exportingModuleSymbol:Xt},!1);for(const[mt]of me)gt(mt);for(const mt of vi)at(mt)&&nD(mt.parent)&>(mt);for(const mt of ni)for(const Ot of Be(mt,et?"default":Pe)){const Ei=Et.getSymbolAtLocation(Ot),$i=Oe(Ei==null?void 0:Ei.declarations,Qi=>!!ur(Qi,tc));at(Ot)&&!r7(Ot.parent)&&(Ei===qt||$i)&>(Ot)}}t.eachExportReference=ge;function ae(Qe,Et){return Ve(Qe,Et)?Et.options.use!==2?!0:at(Qe)?!(r7(Qe.parent)&&Qe.escapedText==="default"):!1:!1}function Ce(Qe,Et){if(Qe.declarations)for(const Mt of Qe.declarations){const qt=Mt.getSourceFile();ft(qt,Et.createSearch(Mt,Qe,0),Et,Et.includesSourceFile(qt))}}function ne(Qe,Et,Mt){Tme(Qe).get(Et.escapedText)!==void 0&&ft(Qe,Et,Mt)}function ve(Qe,Et){return p5(Qe.parent.parent)?Et.getPropertySymbolOfDestructuringAssignment(Qe):void 0}function Se(Qe){const{declarations:Et,flags:Mt,parent:qt,valueDeclaration:Xt}=Qe;if(Xt&&(Xt.kind===218||Xt.kind===231))return Xt;if(!Et)return;if(Mt&8196){const gt=Le(Et,ii=>Rf(ii,2)||ph(ii));return gt?Fv(gt,263):void 0}if(Et.some(GH))return;const Pe=qt&&!(Qe.flags&262144);if(Pe&&!(HH(qt)&&!qt.globalExports))return;let et;for(const gt of Et){const ii=Mk(gt);if(et&&et!==ii||!ii||ii.kind===312&&!cm(ii))return;if(et=ii,A0(et)){let me;for(;me=R0e(et);)et=me}}return Pe?et.getSourceFile():et}function Ne(Qe,Et,Mt,qt=Mt){return pe(Qe,Et,Mt,()=>!0,qt)||!1}t.isSymbolReferencedInFile=Ne;function pe(Qe,Et,Mt,qt,Xt=Mt){const Pe=Mf(Qe.parent,Qe.parent.parent)?Pn(Et.getSymbolsOfParameterPropertyDeclaration(Qe.parent,Qe.text)):Et.getSymbolAtLocation(Qe);if(Pe)for(const et of Be(Mt,Pe.name,Xt)){if(!at(et)||et===Qe||et.escapedText!==Qe.escapedText)continue;const gt=Et.getSymbolAtLocation(et);if(gt===Pe||Et.getShorthandAssignmentValueSymbol(et.parent)===Pe||eh(et.parent)&&Yt(et,gt,et.parent,Et)===Pe){const ii=qt(et);if(ii)return ii}}}t.eachSymbolReferenceInFile=pe;function fe(Qe,Et){return ti(Be(Et,Qe),Xt=>!!nP(Xt)).reduce((Xt,Pe)=>{const et=qt(Pe);return!Oe(Xt.declarationNames)||et===Xt.depth?(Xt.declarationNames.push(Pe),Xt.depth=et):etni===Xt)&&qt(et,ii))return!0}return!1}t.someSignatureUsage=xe;function Be(Qe,Et,Mt=Qe){return qi(Ge(Qe,Et,Mt),qt=>{const Xt=af(Qe,qt);return Xt===Qe?void 0:Xt})}function Ge(Qe,Et,Mt=Qe){const qt=[];if(!Et||!Et.length)return qt;const Xt=Qe.text,Pe=Xt.length,et=Et.length;let gt=Xt.indexOf(Et,Mt.pos);for(;gt>=0&&!(gt>Mt.end);){const ii=gt+et;(gt===0||!Ev(Xt.charCodeAt(gt-1),99))&&(ii===Pe||!Ev(Xt.charCodeAt(ii),99))&&qt.push(gt),gt=Xt.indexOf(Et,gt+et+1)}return qt}function Ae(Qe,Et){const Mt=Qe.getSourceFile(),qt=Et.text,Xt=qi(Be(Mt,qt,Qe),Pe=>Pe===Et||PH(Pe)&&nX(Pe,qt)===Et?l3(Pe):void 0);return[{definition:{type:1,node:Et},references:Xt}]}function De(Qe,Et){switch(Qe.kind){case 81:if(Rv(Qe.parent))return!0;case 80:return Qe.text.length===Et.length;case 15:case 11:{const Mt=Qe;return(uX(Mt)||Vhe(Qe)||U9e(Qe)||Mo(Qe.parent)&&rk(Qe.parent)&&Qe.parent.arguments[1]===Qe)&&Mt.text.length===Et.length}case 9:return uX(Qe)&&Qe.text.length===Et.length;case 90:return Et.length===7;default:return!1}}function Ke(Qe,Et){const Mt=ju(Qe,qt=>(Et.throwIfCancellationRequested(),qi(Be(qt,"meta",qt),Xt=>{const Pe=Xt.parent;if(W8(Pe))return l3(Pe)})));return Mt.length?[{definition:{type:2,node:Mt[0].node},references:Mt}]:void 0}function Je(Qe,Et,Mt,qt){const Xt=ju(Qe,Pe=>(Mt.throwIfCancellationRequested(),qi(Be(Pe,Uo(Et),Pe),et=>{if(et.kind===Et&&(!qt||qt(et)))return l3(et)})));return Xt.length?[{definition:{type:2,node:Xt[0].node},references:Xt}]:void 0}function ft(Qe,Et,Mt,qt=!0){return Mt.cancellationToken.throwIfCancellationRequested(),Ye(Qe,Qe,Et,Mt,qt)}function Ye(Qe,Et,Mt,qt,Xt){if(qt.markSearchedSymbols(Et,Mt.allSearchSymbols))for(const Pe of Ge(Et,Mt.text,Qe))We(Et,Pe,Mt,qt,Xt)}function Ve(Qe,Et){return!!(Pk(Qe)&Et.searchMeaning)}function We(Qe,Et,Mt,qt,Xt){const Pe=af(Qe,Et);if(!De(Pe,Mt.text)){!qt.options.implementations&&(qt.options.findInStrings&&zk(Qe,Et)||qt.options.findInComments&&sSe(Qe,Et))&&qt.addStringOrCommentReference(Qe.fileName,d1(Et,Mt.text.length));return}if(!Ve(Pe,qt))return;let et=qt.checker.getSymbolAtLocation(Pe);if(!et)return;const gt=Pe.parent;if(bf(gt)&>.propertyName===Pe)return;if(eh(gt)){H.assert(Pe.kind===80),Gt(Pe,et,gt,Mt,qt,Xt);return}const ii=Cn(Mt,et,Pe,qt);if(!ii){St(et,Mt,qt);return}switch(qt.specialSearchKind){case 0:Xt&&It(Pe,ii,qt);break;case 1:ei(Pe,Qe,Mt,qt);break;case 2:ht(Pe,Mt,qt);break;default:H.assertNever(qt.specialSearchKind)}Qn(Pe)&&js(Pe.parent)&&F2(Pe.parent.parent.parent)&&(et=Pe.parent.symbol,!et)||st(Pe,et,Mt,qt)}function Gt(Qe,Et,Mt,qt,Xt,Pe,et){H.assert(!et||!!Xt.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");const{parent:gt,propertyName:ii,name:me}=Mt,ni=gt.parent,vi=Yt(Qe,Et,Mt,Xt.checker);if(!et&&!qt.includes(vi))return;if(ii?Qe===ii?(ni.moduleSpecifier||mt(),Pe&&Xt.options.use!==2&&Xt.markSeenReExportRHS(me)&&It(me,H.checkDefined(Mt.symbol),Xt)):Xt.markSeenReExportRHS(Qe)&&mt():Xt.options.use===2&&me.escapedText==="default"||mt(),!bo(Xt.options)||et){const Ei=Qe.escapedText==="default"||Mt.name.escapedText==="default"?1:0,$i=H.checkDefined(Mt.symbol),Qi=PTe($i,Ei,Xt.checker);Qi&&se(Qe,$i,Qi,Xt)}if(qt.comingFrom!==1&&ni.moduleSpecifier&&!ii&&!bo(Xt.options)){const Ot=Xt.checker.getExportSpecifierLocalTargetSymbol(Mt);Ot&&Ce(Ot,Xt)}function mt(){Pe&&It(Qe,vi,Xt)}}function Yt(Qe,Et,Mt,qt){return Ie(Qe,Mt)&&qt.getExportSpecifierLocalTargetSymbol(Mt)||Et}function Ie(Qe,Et){const{parent:Mt,propertyName:qt,name:Xt}=Et;return H.assert(qt===Qe||Xt===Qe),qt?qt===Qe:!Mt.parent.moduleSpecifier}function st(Qe,Et,Mt,qt){const Xt=W0t(Qe,Et,qt.checker,Mt.comingFrom===1);if(!Xt)return;const{symbol:Pe}=Xt;Xt.kind===0?bo(qt.options)||Ce(Pe,qt):se(Qe,Pe,Xt.exportInfo,qt)}function St({flags:Qe,valueDeclaration:Et},Mt,qt){const Xt=qt.checker.getShorthandAssignmentValueSymbol(Et),Pe=Et&&Za(Et);!(Qe&33554432)&&Pe&&Mt.includes(Xt)&&It(Pe,Xt,qt)}function It(Qe,Et,Mt){const{kind:qt,symbol:Xt}="kind"in Et?Et:{kind:void 0,symbol:Et};if(Mt.options.use===2&&Qe.kind===90)return;const Pe=Mt.referenceAdder(Xt);Mt.options.implementations?an(Qe,Pe,Mt):Pe(Qe,qt)}function ei(Qe,Et,Mt,qt){wM(Qe)&&It(Qe,Mt.symbol,qt);const Xt=()=>qt.referenceAdder(Mt.symbol);if(mr(Qe.parent))H.assert(Qe.kind===90||Qe.parent.name===Qe),Ut(Mt.symbol,Et,Xt());else{const Pe=Ta(Qe);Pe&&(ji(Pe,Xt()),Jn(Pe,qt))}}function ht(Qe,Et,Mt){It(Qe,Et.symbol,Mt);const qt=Qe.parent;if(Mt.options.use===2||!mr(qt))return;H.assert(qt.name===Qe);const Xt=Mt.referenceAdder(Et.symbol);for(const Pe of qt.members)N8(Pe)&&No(Pe)&&Pe.body&&Pe.body.forEachChild(function et(gt){gt.kind===110?Xt(gt):!Co(gt)&&!mr(gt)&>.forEachChild(et)})}function Ut(Qe,Et,Mt){const qt=Ni(Qe);if(qt&&qt.declarations)for(const Xt of qt.declarations){const Pe=a0(Xt,137,Et);H.assert(Xt.kind===176&&!!Pe),Mt(Pe)}Qe.exports&&Qe.exports.forEach(Xt=>{const Pe=Xt.valueDeclaration;if(Pe&&Pe.kind===174){const et=Pe.body;et&&ra(et,110,gt=>{wM(gt)&&Mt(gt)})}})}function Ni(Qe){return Qe.members&&Qe.members.get("__constructor")}function ji(Qe,Et){const Mt=Ni(Qe.symbol);if(Mt&&Mt.declarations)for(const qt of Mt.declarations){H.assert(qt.kind===176);const Xt=qt.body;Xt&&ra(Xt,108,Pe=>{Phe(Pe)&&Et(Pe)})}}function xn(Qe){return!!Ni(Qe.symbol)}function Jn(Qe,Et){if(xn(Qe))return;const Mt=Qe.symbol,qt=Et.createSearch(void 0,Mt,void 0);z(Mt,Et,qt)}function an(Qe,Et,Mt){if(X3(Qe)&&oa(Qe.parent)){Et(Qe);return}if(Qe.kind!==80)return;Qe.parent.kind===304&&Da(Qe,Mt.checker,Et);const qt=Pi(Qe);if(qt){Et(qt);return}const Xt=Tn(Qe,gt=>!vf(gt.parent)&&!Xr(gt.parent)&&!Zy(gt.parent)),Pe=Xt.parent;if(JU(Pe)&&Pe.type===Xt&&Mt.markSeenContainingTypeReference(Pe))if(Nx(Pe))et(Pe.initializer);else if(Co(Pe)&&Pe.body){const gt=Pe.body;gt.kind===241?y2(gt,ii=>{ii.expression&&et(ii.expression)}):et(gt)}else Yy(Pe)&&et(Pe.expression);function et(gt){Ai(gt)&&Et(gt)}}function Pi(Qe){return at(Qe)||Iu(Qe)?Pi(Qe.parent):c5(Qe)?ur(Qe.parent.parent,dg(mr,xh)):void 0}function Ai(Qe){switch(Qe.kind){case 217:return Ai(Qe.expression);case 219:case 218:case 210:case 231:case 209:return!0;default:return!1}}function Zu(Qe,Et,Mt,qt){if(Qe===Et)return!0;const Xt=Zo(Qe)+","+Zo(Et),Pe=Mt.get(Xt);if(Pe!==void 0)return Pe;Mt.set(Xt,!1);const et=!!Qe.declarations&&Qe.declarations.some(gt=>uP(gt).some(ii=>{const me=qt.getTypeAtLocation(ii);return!!me&&!!me.symbol&&Zu(me.symbol,Et,Mt,qt)}));return Mt.set(Xt,et),et}function aa(Qe){let Et=fj(Qe,!1);if(!Et)return;let Mt=256;switch(Et.kind){case 172:case 171:case 174:case 173:case 176:case 177:case 178:Mt&=Rx(Et),Et=Et.parent;break;default:return}const qt=Et.getSourceFile(),Xt=qi(Be(qt,"super",Et),Pe=>{if(Pe.kind!==108)return;const et=fj(Pe,!1);return et&&No(et)===!!Mt&&et.parent.symbol===Et.symbol?l3(Pe):void 0});return[{definition:{type:0,symbol:Et.symbol},references:Xt}]}function yr(Qe){return Qe.kind===80&&Qe.parent.kind===169&&Qe.parent.name===Qe}function Ba(Qe,Et,Mt){let qt=tf(Qe,!1,!1),Xt=256;switch(qt.kind){case 174:case 173:if(zp(qt)){Xt&=Rx(qt),qt=qt.parent;break}case 172:case 171:case 176:case 177:case 178:Xt&=Rx(qt),qt=qt.parent;break;case 312:if(wc(qt)||yr(Qe))return;case 262:case 218:break;default:return}const Pe=ju(qt.kind===312?Et:[qt.getSourceFile()],gt=>(Mt.throwIfCancellationRequested(),Be(gt,"this",la(qt)?gt:qt).filter(ii=>{if(!rw(ii))return!1;const me=tf(ii,!1,!1);if(!Zg(me))return!1;switch(qt.kind){case 218:case 262:return qt.symbol===me.symbol;case 174:case 173:return zp(qt)&&qt.symbol===me.symbol;case 231:case 263:case 210:return me.parent&&Zg(me.parent)&&qt.symbol===me.parent.symbol&&No(me)===!!Xt;case 312:return me.kind===312&&!wc(me)&&!yr(ii)}}))).map(gt=>l3(gt));return[{definition:{type:3,node:G(Pe,gt=>io(gt.node.parent)?gt.node:void 0)||Qe},references:Pe}]}function bt(Qe,Et,Mt,qt){const Xt=sX(Qe,Mt),Pe=ju(Et,et=>(qt.throwIfCancellationRequested(),qi(Be(et,Qe.text),gt=>{if(t0(gt)&>.text===Qe.text)if(Xt){const ii=sX(gt,Mt);if(Xt!==Mt.getStringType()&&Xt===ii)return l3(gt,2)}else return T7(gt)&&!hk(gt,et)?void 0:l3(gt,2)})));return[{definition:{type:4,node:Qe},references:Pe}]}function jn(Qe,Et,Mt,qt,Xt,Pe){const et=[];return Ln(Qe,Et,Mt,qt,!(qt&&Xt),(gt,ii,me)=>{me&&Dn(Qe)!==Dn(me)&&(me=void 0),et.push(me||ii||gt)},()=>!Pe),et}function Ln(Qe,Et,Mt,qt,Xt,Pe,et){const gt=_K(Et);if(gt){const Ei=Mt.getShorthandAssignmentValueSymbol(Et.parent);if(Ei&&qt)return Pe(Ei,void 0,void 0,3);const $i=Mt.getContextualType(gt.parent),Qi=$i&&G(_ee(gt,Mt,$i,!0),we=>mt(we,4));if(Qi)return Qi;const on=ve(Et,Mt),le=on&&Pe(on,void 0,void 0,4);if(le)return le;const te=Ei&&Pe(Ei,void 0,void 0,3);if(te)return te}const ii=p(Et,Qe,Mt);if(ii){const Ei=Pe(ii,void 0,void 0,1);if(Ei)return Ei}const me=mt(Qe);if(me)return me;if(Qe.valueDeclaration&&Mf(Qe.valueDeclaration,Qe.valueDeclaration.parent)){const Ei=Mt.getSymbolsOfParameterPropertyDeclaration(Po(Qe.valueDeclaration,io),Qe.name);return H.assert(Ei.length===2&&!!(Ei[0].flags&1)&&!!(Ei[1].flags&4)),mt(Qe.flags&1?Ei[1]:Ei[0])}const ni=Sl(Qe,281);if(!qt||ni&&!ni.propertyName){const Ei=ni&&Mt.getExportSpecifierLocalTargetSymbol(ni);if(Ei){const $i=Pe(Ei,void 0,void 0,1);if($i)return $i}}if(!qt){let Ei;return Xt?Ei=GH(Et.parent)?CX(Mt,Et.parent):void 0:Ei=Ot(Qe,Mt),Ei&&mt(Ei,4)}if(H.assert(qt),Xt){const Ei=Ot(Qe,Mt);return Ei&&mt(Ei,4)}function mt(Ei,$i){return G(Mt.getRootSymbols(Ei),Qi=>Pe(Ei,Qi,void 0,$i)||(Qi.parent&&Qi.parent.flags&96&&et(Qi)?Si(Qi.parent,Qi.name,Mt,on=>Pe(Ei,Qi,on,$i)):void 0))}function Ot(Ei,$i){const Qi=Sl(Ei,208);if(Qi&&GH(Qi))return CX($i,Qi)}}function Si(Qe,Et,Mt,qt){const Xt=new Map;return Pe(Qe);function Pe(et){if(!(!(et.flags&96)||!Ip(Xt,Zo(et))))return G(et.declarations,gt=>G(uP(gt),ii=>{const me=Mt.getTypeAtLocation(ii),ni=me&&me.symbol&&Mt.getPropertyOfType(me,Et);return me&&ni&&(G(Mt.getRootSymbols(ni),qt)||Pe(me.symbol))}))}}function Dn(Qe){return Qe.valueDeclaration?!!(Eh(Qe.valueDeclaration)&256):!1}function Cn(Qe,Et,Mt,qt){const{checker:Xt}=qt;return Ln(Et,Mt,Xt,!1,qt.options.use!==2||!!qt.options.providePrefixAndSuffixTextForRename,(Pe,et,gt,ii)=>(gt&&Dn(Et)!==Dn(gt)&&(gt=void 0),Qe.includes(gt||et||Pe)?{symbol:et&&!(Gl(Pe)&6)?et:Pe,kind:ii}:void 0),Pe=>!(Qe.parents&&!Qe.parents.some(et=>Zu(Pe.parent,et,qt.inheritsFromCache,Xt))))}function tu(Qe,Et){let Mt=Pk(Qe);const{declarations:qt}=Et;if(qt){let Xt;do{Xt=Mt;for(const Pe of qt){const et=TH(Pe);et&Mt&&(Mt|=et)}}while(Mt!==Xt)}return Mt}t.getIntersectingMeaningFromDeclarations=tu;function oa(Qe){return Qe.flags&33554432?!(xh(Qe)||jp(Qe)):G8(Qe)?Nx(Qe):$0(Qe)?!!Qe.body:mr(Qe)||QO(Qe)}function Da(Qe,Et,Mt){const qt=Et.getSymbolAtLocation(Qe),Xt=Et.getShorthandAssignmentValueSymbol(qt.valueDeclaration);if(Xt)for(const Pe of Xt.getDeclarations())TH(Pe)&1&&Mt(Pe)}t.getReferenceEntriesForShorthandPropertyAssignment=Da;function ra(Qe,Et,Mt){ao(Qe,qt=>{qt.kind===Et&&Mt(qt),ra(qt,Et,Mt)})}function Ta(Qe){return sle(iX(Qe).parent)}function Yo(Qe,Et,Mt){const qt=uw(Qe)?Qe.parent:void 0,Xt=qt&&Mt.getTypeAtLocation(qt.expression),Pe=qi(Xt&&(Xt.isUnionOrIntersection()?Xt.types:Xt.symbol===Et.parent?void 0:[Xt]),et=>et.symbol&&et.symbol.flags&96?et.symbol:void 0);return Pe.length===0?void 0:Pe}function bo(Qe){return Qe.use===2&&Qe.providePrefixAndSuffixTextForRename}})(f9||(f9={}))}}),Z0={};h(Z0,{Core:()=>f9,DefinitionKind:()=>VTe,EntryKind:()=>HTe,ExportKind:()=>zTe,FindReferencesUse:()=>KTe,ImportExport:()=>ITe,createImportTracker:()=>NTe,findModuleReferences:()=>V0t,findReferenceOrRenameEntries:()=>wUt,findReferencedSymbols:()=>AUt,getContextNode:()=>Vk,getExportInfo:()=>PTe,getImplementationsAtPosition:()=>BUt,getImportOrExportSymbol:()=>W0t,getReferenceEntriesForNode:()=>$0t,getTextSpanOfEntry:()=>OTe,isContextWithStartAndEndNode:()=>G0t,isDeclarationOfSymbol:()=>Y0t,isWriteAccessForReference:()=>jTe,nodeEntry:()=>l3,toContextSpan:()=>RTe,toHighlightSpan:()=>IUt,toReferenceEntry:()=>Z0t,toRenameLocation:()=>LUt});var Q0t=o({"src/services/_namespaces/ts.FindAllReferences.ts"(){kUt(),OUt()}});function X0t(t,u,s,d,f){var p;const E=tlt(u,s,t),v=E&&[ZUt(E.reference.fileName,E.fileName,E.unverified)]||_t;if(E!=null&&E.file)return v;const b=af(u,s);if(b===u)return;const{parent:B}=b,k=t.getTypeChecker();if(b.kind===164||at(b)&&gY(B)&&B.tagName===b)return VUt(k,b)||_t;if(PH(b)){const K=nX(b.parent,b.text);return K?[WTe(k,K,"label",b.text,void 0)]:void 0}if(b.kind===107){const K=Tn(b.parent,Y=>zl(Y)?"quit":$0(Y));return K?[Ree(k,K)]:void 0}if(b.kind===135){const K=Tn(b,oe=>$0(oe));return K&&Oe(K.modifiers,oe=>oe.kind===134)?[Ree(k,K)]:void 0}if(b.kind===127){const K=Tn(b,oe=>$0(oe));return K&&K.asteriskToken?[Ree(k,K)]:void 0}if(N7(b)&&zl(b.parent)){const K=b.parent.parent,{symbol:Y,failedAliasResolution:oe}=Ape(K,k,f),se=ti(K.members,zl),ge=Y?k.symbolToString(Y,K):"",ae=b.getSourceFile();return Vt(se,Ce=>{let{pos:ne}=iE(Ce);return ne=gs(ae.text,ne),WTe(k,Ce,"constructor","static {}",ge,!1,oe,{start:ne,length:6})})}let{symbol:T,failedAliasResolution:M}=Ape(b,k,f),z=b;if(d&&M){const K=L([b,...(T==null?void 0:T.declarations)||_t],oe=>Tn(oe,Mbe)),Y=K&&Z8(K);Y&&({symbol:T,failedAliasResolution:M}=Ape(Y,k,f),z=Y)}if(!T&&vX(z)){const K=(p=t.getResolvedModule(u,z.text,xg(u,z)))==null?void 0:p.resolvedModule;if(K)return[{name:z.text,fileName:K.resolvedFileName,containerName:void 0,containerKind:void 0,kind:"script",textSpan:d1(0,0),failedAliasResolution:M,isAmbient:e1(K.resolvedFileName),unverified:z!==b}]}if(!T)return Hi(v,$Ut(b,k));if(d&&ye(T.declarations,K=>K.getSourceFile().fileName===u.fileName))return;const j=QUt(k,b);if(j&&!(zh(b.parent)&&XUt(j))){const K=Ree(k,j,M);if(k.getRootSymbols(T).some(Y=>jUt(Y,j)))return[K];{const Y=QM(k,T,b,M,j)||_t;return b.kind===108?[K,...Y]:[...Y,K]}}if(b.parent.kind===304){const K=k.getShorthandAssignmentValueSymbol(T.valueDeclaration),Y=K!=null&&K.declarations?K.declarations.map(oe=>wK(oe,k,K,b,!1,M)):_t;return Hi(Y,elt(k,b))}if(Sc(b)&&js(B)&&Rp(B.parent)&&b===(B.propertyName||B.name)){const K=WH(b),Y=k.getTypeAtLocation(B.parent);return K===void 0?_t:ju(Y.isUnion()?Y.types:[Y],oe=>{const se=oe.getProperty(K);return se&&QM(k,se,b)})}const J=elt(k,b);return Hi(v,J.length?J:QM(k,T,b,M))}function jUt(t,u){var s;return t===u.symbol||t===u.symbol.parent||ld(u.parent)||!D2(u.parent)&&t===((s=ur(u.parent,Zg))==null?void 0:s.symbol)}function elt(t,u){const s=_K(u);if(s){const d=s&&t.getContextualType(s.parent);if(d)return ju(_ee(s,t,d,!1),f=>QM(t,f,u))}return _t}function VUt(t,u){const s=Tn(u,Zd);if(!(s&&s.name))return;const d=Tn(s,mr);if(!d)return;const f=Qg(d);if(!f)return;const p=l0(f.expression),E=Xd(p)?p.symbol:t.getSymbolAtLocation(p);if(!E)return;const v=Qr(V8(s.name)),b=Kc(s)?t.getPropertyOfType(t.getTypeOfSymbol(E),v):t.getPropertyOfType(t.getDeclaredTypeOfSymbol(E),v);if(b)return QM(t,b,u)}function tlt(t,u,s){var d,f;const p=XM(t.referencedFiles,u);if(p){const b=s.getSourceFileFromReference(t,p);return b&&{reference:p,fileName:b.fileName,file:b,unverified:!1}}const E=XM(t.typeReferenceDirectives,u);if(E){const b=(d=s.getResolvedTypeReferenceDirectives().get(E.fileName,E.resolutionMode||t.impliedNodeFormat))==null?void 0:d.resolvedTypeReferenceDirective,B=b&&s.getSourceFile(b.resolvedFileName);return B&&{reference:E,fileName:B.fileName,file:B,unverified:!1}}const v=XM(t.libReferenceDirectives,u);if(v){const b=s.getLibFileFromReference(v);return b&&{reference:v,fileName:b.fileName,file:b,unverified:!1}}if(t.imports.length||t.moduleAugmentations.length){const b=LM(t,u);let B;if(vX(b)&&Id(b.text)&&(B=s.getResolvedModule(t,b.text,xg(t,b)))){const k=(f=B.resolvedModule)==null?void 0:f.resolvedFileName,T=k||kx(lr(t.fileName),b.text);return{file:s.getSourceFile(T),fileName:T,reference:{pos:b.getStart(),end:b.getEnd(),fileName:b.text},unverified:!k}}}}function HUt(t,u){const s=u.symbol.name;if(!JTe.has(s))return!1;const d=t.resolveName(s,void 0,788968,!1);return!!d&&d===u.target.symbol}function ilt(t,u){if(!u.aliasSymbol)return!1;const s=u.aliasSymbol.name;if(!JTe.has(s))return!1;const d=t.resolveName(s,void 0,788968,!1);return!!d&&d===u.aliasSymbol}function KUt(t,u,s,d){var f,p;if(Gu(u)&4&&HUt(t,u))return BK(t.getTypeArguments(u)[0],t,s,d);if(ilt(t,u)&&u.aliasTypeArguments)return BK(u.aliasTypeArguments[0],t,s,d);if(Gu(u)&32&&u.target&&ilt(t,u.target)){const E=(p=(f=u.aliasSymbol)==null?void 0:f.declarations)==null?void 0:p[0];if(E&&jp(E)&&X4(E.type)&&E.type.typeArguments)return BK(t.getTypeAtLocation(E.type.typeArguments[0]),t,s,d)}return[]}function WUt(t,u,s){const d=af(u,s);if(d===u)return;if(W8(d.parent)&&d.parent.name===d)return BK(t.getTypeAtLocation(d.parent),t,d.parent,!1);const{symbol:f,failedAliasResolution:p}=Ape(d,t,!1);if(!f)return;const E=t.getTypeOfSymbolAtLocation(f,d),v=GUt(f,E,t),b=v&&BK(v,t,d,p),[B,k]=b&&b.length!==0?[v,b]:[E,BK(E,t,d,p)];return k.length?[...KUt(t,B,d,p),...k]:!(f.flags&111551)&&f.flags&788968?QM(t,X1(f,t),d,p):void 0}function BK(t,u,s,d){return ju(t.isUnion()&&!(t.flags&32)?t.types:[t],f=>f.symbol&&QM(u,f.symbol,s,d))}function GUt(t,u,s){if(u.symbol===t||t.valueDeclaration&&u.symbol&&ua(t.valueDeclaration)&&t.valueDeclaration.initializer===u.symbol.valueDeclaration){const d=u.getCallSignatures();if(d.length===1)return s.getReturnTypeOfSignature(Pn(d))}}function JUt(t,u,s){const d=X0t(t,u,s);if(!d||d.length===0)return;const f=XM(u.referencedFiles,s)||XM(u.typeReferenceDirectives,s)||XM(u.libReferenceDirectives,s);if(f)return{definitions:d,textSpan:qx(f)};const p=af(u,s),E=d1(p.getStart(),p.getWidth());return{definitions:d,textSpan:E}}function $Ut(t,u){return qi(u.getIndexInfosAtLocation(t),s=>s.declaration&&Ree(u,s.declaration))}function Ape(t,u,s){const d=u.getSymbolAtLocation(t);let f=!1;if(d!=null&&d.declarations&&d.flags&2097152&&!s&&UUt(t,d.declarations[0])){const p=u.getAliasedSymbol(d);if(p.declarations)return{symbol:p};f=!0}return{symbol:d,failedAliasResolution:f}}function UUt(t,u){return t.kind!==80?!1:t.parent===u?!0:u.kind!==274}function qUt(t){if(!eP(t))return!1;const u=Tn(t,s=>ld(s)?!0:eP(s)?!1:"quit");return!!u&&Xl(u)===5}function QM(t,u,s,d,f){const p=ti(u.declarations,T=>T!==f),E=ti(p,T=>!qUt(T)),v=Oe(E)?E:p;return b()||B()||Vt(v,T=>wK(T,t,u,s,!1,d));function b(){if(u.flags&32&&!(u.flags&19)&&(wM(s)||s.kind===137)){const T=Le(p,mr)||H.fail("Expected declaration to have at least one class-like declaration");return k(T.members,!0)}}function B(){return Mhe(s)||Hhe(s)?k(p,!1):void 0}function k(T,M){if(!T)return;const z=T.filter(M?hc:Co),j=z.filter(J=>!!J.body);return z.length?j.length!==0?j.map(J=>wK(J,t,u,s)):[wK(Cr(z),t,u,s,!1,d)]:void 0}}function wK(t,u,s,d,f,p){const E=u.symbolToString(s),v=x5.getSymbolKind(u,s,d),b=s.parent?u.symbolToString(s.parent,d):"";return WTe(u,t,v,E,b,f,p)}function WTe(t,u,s,d,f,p,E,v){const b=u.getSourceFile();if(!v){const B=Za(u)||u;v=of(B,b)}return{fileName:b.fileName,textSpan:v,kind:s,name:d,containerKind:void 0,containerName:f,...Z0.toContextSpan(v,b,Z0.getContextNode(u)),isLocal:!GTe(t,u),isAmbient:!!(u.flags&33554432),unverified:p,failedAliasResolution:E}}function GTe(t,u){if(t.isDeclarationVisible(u))return!0;if(!u.parent)return!1;if(Nx(u.parent)&&u.parent.initializer===u)return GTe(t,u.parent);switch(u.kind){case 172:case 177:case 178:case 174:if(Rf(u,2))return!1;case 176:case 303:case 304:case 210:case 231:case 219:case 218:return GTe(t,u.parent);default:return!1}}function Ree(t,u,s){return wK(u,t,u.symbol,u,!1,s)}function XM(t,u){return Le(t,s=>IO(s,u))}function ZUt(t,u,s){return{fileName:u,textSpan:Vc(0,0),kind:"script",name:t,containerName:void 0,containerKind:void 0,unverified:s}}function YUt(t){const u=Tn(t,d=>!uw(d)),s=u==null?void 0:u.parent;return s&&D2(s)&&pq(s)===u?s:void 0}function QUt(t,u){const s=YUt(u),d=s&&t.getResolvedSignature(s);return ur(d&&d.declaration,f=>Co(f)&&!u3(f))}function XUt(t){switch(t.kind){case 176:case 185:case 180:return!0;default:return!1}}var JTe,eqt=o({"src/services/goToDefinition.ts"(){rr(),JTe=new Set(["Array","ArrayLike","ReadonlyArray","Promise","PromiseLike","Iterable","IterableIterator","AsyncIterable","Set","WeakSet","ReadonlySet","Map","WeakMap","ReadonlyMap","Partial","Required","Readonly","Pick","Omit"])}}),Cw={};h(Cw,{createDefinitionInfo:()=>wK,findReferenceInPosition:()=>XM,getDefinitionAndBoundSpan:()=>JUt,getDefinitionAtPosition:()=>X0t,getReferenceAtPosition:()=>tlt,getTypeDefinitionAtPosition:()=>WUt});var tqt=o({"src/services/_namespaces/ts.GoToDefinition.ts"(){eqt()}});function iqt(t){return t.includeInlayParameterNameHints==="literals"||t.includeInlayParameterNameHints==="all"}function nqt(t){return t.includeInlayParameterNameHints==="literals"}function nlt(t){return t.interactiveInlayHints===!0}function uqt(t){const{file:u,program:s,span:d,cancellationToken:f,preferences:p}=t,E=u.text,v=s.getCompilerOptions(),b=Hm(u,p),B=s.getTypeChecker(),k=[];return T(u),k;function T(Ae){if(!(!Ae||Ae.getFullWidth()===0)){switch(Ae.kind){case 267:case 263:case 264:case 262:case 231:case 218:case 174:case 219:f.throwIfCancellationRequested()}if(wU(d,Ae.pos,Ae.getFullWidth())&&!(Xr(Ae)&&!c5(Ae)))return p.includeInlayVariableTypeHints&&ua(Ae)||p.includeInlayPropertyDeclarationTypeHints&&ko(Ae)?oe(Ae):p.includeInlayEnumMemberValueHints&&J2(Ae)?K(Ae):iqt(p)&&(Mo(Ae)||j2(Ae))?se(Ae):(p.includeInlayFunctionParameterTypeHints&&$0(Ae)&&fZ(Ae)&&Se(Ae),p.includeInlayFunctionLikeReturnTypeHints&&M(Ae)&&ne(Ae)),ao(Ae,T)}}function M(Ae){return q0(Ae)||A0(Ae)||ed(Ae)||dc(Ae)||zm(Ae)}function z(Ae,De,Ke,Je){let ft=`${Je?"...":""}${Ae}`,Ye;nlt(p)?(Ye=[Ge(ft,De),{text:":"}],ft=""):ft+=":",k.push({text:ft,position:Ke,kind:"Parameter",whitespaceAfter:!0,displayParts:Ye})}function j(Ae,De){k.push({text:typeof Ae=="string"?`: ${Ae}`:"",displayParts:typeof Ae=="string"?void 0:[{text:": "},...Ae],position:De,kind:"Type",whitespaceBefore:!0})}function J(Ae,De){k.push({text:`= ${Ae}`,position:De,kind:"Enum",whitespaceBefore:!0})}function K(Ae){if(Ae.initializer)return;const De=B.getConstantValue(Ae);De!==void 0&&J(De.toString(),Ae.end)}function Y(Ae){return Ae.symbol&&Ae.symbol.flags&1536}function oe(Ae){if(!Ae.initializer||So(Ae.name)||ua(Ae)&&!Be(Ae)||f1(Ae))return;const Ke=B.getTypeAtLocation(Ae);if(Y(Ke))return;const Je=fe(Ke);if(Je){const ft=typeof Je=="string"?Je:Je.map(Ve=>Ve.text).join("");if(p.includeInlayVariableTypeHintsWhenTypeMatchesName===!1&&QA(Ae.name.getText(),ft))return;j(Je,Ae.name.end)}}function se(Ae){const De=Ae.arguments;if(!De||!De.length)return;const Ke=[],Je=B.getResolvedSignatureForSignatureHelp(Ae,Ke);if(!Je||!Ke.length)return;let ft=0;for(const Ye of De){const Ve=l0(Ye);if(nqt(p)&&!Ce(Ve)){ft++;continue}let We=0;if(uE(Ve)){const Yt=B.getTypeAtLocation(Ve.expression);if(B.isTupleType(Yt)){const{elementFlags:Ie,fixedLength:st}=Yt.target;if(st===0)continue;const St=Ue(Ie,ei=>!(ei&1));(St<0?st:St)>0&&(We=St<0?st:St)}}const Gt=B.getParameterIdentifierInfoAtPosition(Je,ft);if(ft=ft+(We||1),Gt){const{parameter:Yt,parameterName:Ie,isRestParameter:st}=Gt;if(!(p.includeInlayParameterNameHintsWhenArgumentMatchesName||!ge(Ve,Ie))&&!st)continue;const It=Qr(Ie);if(ae(Ve,It))continue;z(It,Yt,Ye.getStart(),st)}}}function ge(Ae,De){return at(Ae)?Ae.text===De:Iu(Ae)?Ae.name.text===De:!1}function ae(Ae,De){if(!Lm(De,v.target,Yj(u.scriptKind)))return!1;const Ke=W_(E,Ae.pos);if(!(Ke!=null&&Ke.length))return!1;const Je=ult(De);return Oe(Ke,ft=>Je.test(E.substring(ft.pos,ft.end)))}function Ce(Ae){switch(Ae.kind){case 224:{const De=Ae.operand;return E2(De)||at(De)&&LP(De.escapedText)}case 112:case 97:case 106:case 15:case 228:return!0;case 80:{const De=Ae.escapedText;return xe(De)||LP(De)}}return E2(Ae)}function ne(Ae){if(q0(Ae)&&!a0(Ae,21,u)||U4(Ae)||!Ae.body)return;const Ke=B.getSignatureFromDeclaration(Ae);if(!Ke)return;const Je=B.getReturnTypeOfSignature(Ke);if(Y(Je))return;const ft=fe(Je);ft&&j(ft,ve(Ae))}function ve(Ae){const De=a0(Ae,22,u);return De?De.end:Ae.parameters.end}function Se(Ae){const De=B.getSignatureFromDeclaration(Ae);if(De)for(let Ke=0;Ke{const ft=B.typeToTypeNode(Ae,void 0,71286784);H.assertIsDefined(ft,"should always get typenode"),Ke.writeNode(4,ft,u,Je)})}function fe(Ae){if(!nlt(p))return pe(Ae);const Ke=B.typeToTypeNode(Ae,void 0,71286784);H.assertIsDefined(Ke,"should always get typenode");const Je=[];return ft(Ke),Je;function ft(We){if(!We)return;const Gt=Uo(We.kind);if(Gt){Je.push({text:Gt});return}if(E2(We)){Je.push({text:Ve(We)});return}switch(We.kind){case 80:const Yt=We,Ie=fu(Yt),st=Yt.symbol&&Yt.symbol.declarations&&Yt.symbol.declarations.length&&Za(Yt.symbol.declarations[0]);st?Je.push(Ge(Ie,st)):Je.push({text:Ie});break;case 166:const St=We;ft(St.left),Je.push({text:"."}),ft(St.right);break;case 182:const It=We;It.assertsModifier&&Je.push({text:"asserts "}),ft(It.parameterName),It.type&&(Je.push({text:" is "}),ft(It.type));break;case 183:const ei=We;ft(ei.typeName),ei.typeArguments&&(Je.push({text:"<"}),Ye(ei.typeArguments,", "),Je.push({text:">"}));break;case 168:const ht=We;ht.modifiers&&Ye(ht.modifiers," "),ft(ht.name),ht.constraint&&(Je.push({text:" extends "}),ft(ht.constraint)),ht.default&&(Je.push({text:" = "}),ft(ht.default));break;case 169:const Ut=We;Ut.modifiers&&Ye(Ut.modifiers," "),Ut.dotDotDotToken&&Je.push({text:"..."}),ft(Ut.name),Ut.questionToken&&Je.push({text:"?"}),Ut.type&&(Je.push({text:": "}),ft(Ut.type));break;case 185:const Ni=We;Je.push({text:"new "}),Ni.typeParameters&&(Je.push({text:"<"}),Ye(Ni.typeParameters,", "),Je.push({text:">"})),Je.push({text:"("}),Ye(Ni.parameters,", "),Je.push({text:")"}),Je.push({text:" => "}),ft(Ni.type);break;case 186:const ji=We;Je.push({text:"typeof "}),ft(ji.exprName),ji.typeArguments&&(Je.push({text:"<"}),Ye(ji.typeArguments,", "),Je.push({text:">"}));break;case 187:const xn=We;Je.push({text:"{"}),xn.members.length&&(Je.push({text:" "}),Ye(xn.members,"; "),Je.push({text:" "})),Je.push({text:"}"});break;case 188:ft(We.elementType),Je.push({text:"[]"});break;case 189:Je.push({text:"["}),Ye(We.elements,", "),Je.push({text:"]"});break;case 202:const Jn=We;Jn.dotDotDotToken&&Je.push({text:"..."}),ft(Jn.name),Jn.questionToken&&Je.push({text:"?"}),Je.push({text:": "}),ft(Jn.type);break;case 190:ft(We.type),Je.push({text:"?"});break;case 191:Je.push({text:"..."}),ft(We.type);break;case 192:Ye(We.types," | ");break;case 193:Ye(We.types," & ");break;case 194:const an=We;ft(an.checkType),Je.push({text:" extends "}),ft(an.extendsType),Je.push({text:" ? "}),ft(an.trueType),Je.push({text:" : "}),ft(an.falseType);break;case 195:Je.push({text:"infer "}),ft(We.typeParameter);break;case 196:Je.push({text:"("}),ft(We.type),Je.push({text:")"});break;case 198:const Pi=We;Je.push({text:`${Uo(Pi.operator)} `}),ft(Pi.type);break;case 199:const Ai=We;ft(Ai.objectType),Je.push({text:"["}),ft(Ai.indexType),Je.push({text:"]"});break;case 200:const Zu=We;Je.push({text:"{ "}),Zu.readonlyToken&&(Zu.readonlyToken.kind===40?Je.push({text:"+"}):Zu.readonlyToken.kind===41&&Je.push({text:"-"}),Je.push({text:"readonly "})),Je.push({text:"["}),ft(Zu.typeParameter),Zu.nameType&&(Je.push({text:" as "}),ft(Zu.nameType)),Je.push({text:"]"}),Zu.questionToken&&(Zu.questionToken.kind===40?Je.push({text:"+"}):Zu.questionToken.kind===41&&Je.push({text:"-"}),Je.push({text:"?"})),Je.push({text:": "}),Zu.type&&ft(Zu.type),Je.push({text:"; }"});break;case 201:ft(We.literal);break;case 184:const aa=We;aa.typeParameters&&(Je.push({text:"<"}),Ye(aa.typeParameters,", "),Je.push({text:">"})),Je.push({text:"("}),Ye(aa.parameters,", "),Je.push({text:")"}),Je.push({text:" => "}),ft(aa.type);break;case 205:const yr=We;yr.isTypeOf&&Je.push({text:"typeof "}),Je.push({text:"import("}),ft(yr.argument),yr.assertions&&(Je.push({text:", { assert: "}),Ye(yr.assertions.assertClause.elements,", "),Je.push({text:" }"})),Je.push({text:")"}),yr.qualifier&&(Je.push({text:"."}),ft(yr.qualifier)),yr.typeArguments&&(Je.push({text:"<"}),Ye(yr.typeArguments,", "),Je.push({text:">"}));break;case 171:const Ba=We;Ba.modifiers&&Ye(Ba.modifiers," "),ft(Ba.name),Ba.questionToken&&Je.push({text:"?"}),Ba.type&&(Je.push({text:": "}),ft(Ba.type));break;default:H.failBadSyntaxKind(We)}}function Ye(We,Gt){We.forEach((Yt,Ie)=>{Ie>0&&Je.push({text:Gt}),ft(Yt)})}function Ve(We){return us(We)?b===0?`'${Av(We.text,39)}'`:`"${Av(We.text,34)}"`:We.text}}function xe(Ae){return Ae==="undefined"}function Be(Ae){if((w2(Ae)||ua(Ae)&&K8(Ae))&&Ae.initializer){const De=l0(Ae.initializer);return!(Ce(De)||j2(De)||ys(De)||Yy(De))}return!0}function Ge(Ae,De){const Ke=De.getSourceFile();return{text:Ae,span:of(De,Ke),file:Ke.fileName}}}var ult,rqt=o({"src/services/inlayHints.ts"(){rr(),ult=t=>new RegExp(`^\\s?/\\*\\*?\\s?${t}\\s?\\*\\/\\s?$`)}}),Spe={};h(Spe,{provideInlayHints:()=>uqt});var aqt=o({"src/services/_namespaces/ts.InlayHints.ts"(){rqt()}});function oqt(t,u){const s=[];return lfe(t,d=>{for(const f of lqt(d)){const p=Vp(f)&&f.tags&&Le(f.tags,v=>v.kind===334&&(v.tagName.escapedText==="inheritDoc"||v.tagName.escapedText==="inheritdoc"));if(f.comment===void 0&&!p||Vp(f)&&d.kind!==353&&d.kind!==345&&f.tags&&f.tags.some(v=>v.kind===353||v.kind===345)&&!f.tags.some(v=>v.kind===348||v.kind===349))continue;let E=f.comment?bw(f.comment,u):[];p&&p.comment&&(E=E.concat(bw(p.comment,u))),kt(s,E,sqt)||s.push(E)}}),Va(_e(s,[lw()]))}function sqt(t,u){return Zt(t,u,(s,d)=>s.kind===d.kind&&s.text===d.text)}function lqt(t){switch(t.kind){case 348:case 355:return[t];case 345:case 353:return[t,t.parent];case 330:if(NB(t.parent))return[t.parent.parent];default:return I0e(t)}}function cqt(t,u){const s=[];return lfe(t,d=>{const f=Cv(d);if(!(f.some(p=>p.kind===353||p.kind===345)&&!f.some(p=>p.kind===348||p.kind===349)))for(const p of f)s.push({name:p.tagName.text,text:rlt(p,u)}),WO(p)&&p.isNameFirst&&p.typeExpression&&K7(p.typeExpression.type)&&L(p.typeExpression.type.jsDocPropertyTags,E=>{s.push({name:E.tagName.text,text:rlt(E,u)})})}),s}function bw(t,u){return typeof t=="string"?[Km(t)]:ju(t,s=>s.kind===328?[Km(s.text)]:DSe(s,u))}function rlt(t,u){const{comment:s,kind:d}=t,f=dqt(d);switch(d){case 356:const v=t.typeExpression;return v?p(v):s===void 0?void 0:bw(s,u);case 336:return p(t.class);case 335:return p(t.class);case 352:const b=t,B=[];if(b.constraint&&B.push(Km(b.constraint.getText())),S(b.typeParameters)){S(B)&&B.push($l());const T=b.typeParameters[b.typeParameters.length-1];L(b.typeParameters,M=>{B.push(f(M.getText())),T!==M&&B.push(ih(28),$l())})}return s&&B.push($l(),...bw(s,u)),B;case 351:case 357:return p(t.typeExpression);case 353:case 345:case 355:case 348:case 354:const{name:k}=t;return k?p(k):s===void 0?void 0:bw(s,u);default:return s===void 0?void 0:bw(s,u)}function p(v){return E(v.getText())}function E(v){return s?v.match(/^https?$/)?[Km(v),...bw(s,u)]:[f(v),$l(),...bw(s,u)]:[Km(v)]}}function dqt(t){switch(t){case 348:return mSe;case 355:return pSe;case 352:return ESe;case 353:case 345:return gSe;default:return Km}}function hqt(){return olt||(olt=Vt(UTe,t=>({name:t,kind:"keyword",kindModifiers:"",sortText:h9.SortText.LocationPriority})))}function fqt(){return slt||(slt=Vt(UTe,t=>({name:`@${t}`,kind:"keyword",kindModifiers:"",sortText:h9.SortText.LocationPriority})))}function alt(t){return{name:t,kind:"",kindModifiers:"",displayParts:[Km(t)],documentation:_t,tags:void 0,codeActions:void 0}}function mqt(t){if(!at(t.name))return _t;const u=t.name.text,s=t.parent,d=s.parent;return Co(d)?qi(d.parameters,f=>{if(!at(f.name))return;const p=f.name.text;if(!(s.tags.some(E=>E!==t&&Eg(E)&&at(E.name)&&E.name.escapedText===p)||u!==void 0&&!Pa(p,u)))return{name:p,kind:"parameter",kindModifiers:"",sortText:h9.SortText.LocationPriority}}):[]}function pqt(t){return{name:t,kind:"parameter",kindModifiers:"",displayParts:[Km(t)],documentation:_t,tags:void 0,codeActions:void 0}}function gqt(t,u,s,d){const f=Ca(u,s),p=Tn(f,Vp);if(p&&(p.comment!==void 0||S(p.tags)))return;const E=f.getStart(u);if(!p&&E0;if(J&&!oe){const se=K+t+z+" * ",ge=E===s?t+z:"";return{newText:se+t+J+z+Y+ge,caretOffset:se.length}}return{newText:K+Y,caretOffset:3}}function Eqt(t,u){const{text:s}=t,d=tp(u,t);let f=d;for(;f<=u&&qg(s.charCodeAt(f));f++);return s.slice(d,f)}function _qt(t,u,s,d){return t.map(({name:f,dotDotDotToken:p},E)=>{const v=f.kind===80?f.text:"param"+E;return`${s} * @param ${u?p?"{...any} ":"{any} ":""}${v}${d}`}).join("")}function Dqt(t,u){return`${t} * @returns${u}`}function xqt(t,u){return ybe(t,s=>$Te(s,u))}function $Te(t,u){switch(t.kind){case 262:case 218:case 174:case 176:case 173:case 219:const s=t;return{commentOwner:t,parameters:s.parameters,hasReturn:Oee(s,u)};case 303:return $Te(t.initializer,u);case 263:case 264:case 266:case 306:case 265:return{commentOwner:t};case 171:{const f=t;return f.type&&u3(f.type)?{commentOwner:t,parameters:f.type.parameters,hasReturn:Oee(f.type,u)}:{commentOwner:t}}case 243:{const p=t.declarationList.declarations,E=p.length===1&&p[0].initializer?vqt(p[0].initializer):void 0;return E?{commentOwner:t,parameters:E.parameters,hasReturn:Oee(E,u)}:{commentOwner:t}}case 312:return"quit";case 267:return t.parent.kind===267?void 0:{commentOwner:t};case 244:return $Te(t.expression,u);case 226:{const f=t;return Xl(f)===0?"quit":Co(f.right)?{commentOwner:t,parameters:f.right.parameters,hasReturn:Oee(f.right,u)}:{commentOwner:t}}case 172:const d=t.initializer;if(d&&(A0(d)||q0(d)))return{commentOwner:t,parameters:d.parameters,hasReturn:Oee(d,u)}}}function Oee(t,u){return!!(u!=null&&u.generateReturnInDocTemplate)&&(u3(t)||q0(t)&&Wt(t.body)||$0(t)&&t.body&&po(t.body)&&!!y2(t.body,s=>s))}function vqt(t){for(;t.kind===217;)t=t.expression;switch(t.kind){case 218:case 219:return t;case 231:return Le(t.members,hc)}}var UTe,olt,slt,llt,Cqt=o({"src/services/jsDoc.ts"(){rr(),UTe=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","inheritdoc","inner","instance","interface","kind","lends","license","link","linkcode","linkplain","listens","member","memberof","method","mixes","module","name","namespace","overload","override","package","param","private","prop","property","protected","public","readonly","requires","returns","satisfies","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"],llt=alt}}),Yv={};h(Yv,{getDocCommentTemplateAtPosition:()=>gqt,getJSDocParameterNameCompletionDetails:()=>pqt,getJSDocParameterNameCompletions:()=>mqt,getJSDocTagCompletionDetails:()=>alt,getJSDocTagCompletions:()=>fqt,getJSDocTagNameCompletionDetails:()=>llt,getJSDocTagNameCompletions:()=>hqt,getJsDocCommentsFromDeclarations:()=>oqt,getJsDocTagsFromDeclarations:()=>cqt});var bqt=o({"src/services/_namespaces/ts.JsDoc.ts"(){Cqt()}});function yqt(t,u,s,d,f,p){const E=iu.ChangeTracker.fromContext({host:s,formatContext:u,preferences:f}),v=p==="SortAndCombine"||p==="All",b=v,B=p==="RemoveUnused"||p==="All",k=Bpe(t,t.statements.filter(Sd)),T=Vqt(f,v?()=>hlt(k,f)===2:void 0),M=j=>(B&&(j=Fqt(j,t,d)),b&&(j=clt(j,T,t)),v&&(j=oc(j,(J,K)=>XTe(J,K,T))),j);k.forEach(j=>z(j,M)),p!=="RemoveUnused"&&Hqt(t).forEach(j=>z(j,J=>qTe(J,T)));for(const j of t.statements.filter(N1)){if(!j.body)continue;if(Bpe(t,j.body.statements.filter(Sd)).forEach(K=>z(K,M)),p!=="RemoveUnused"){const K=j.body.statements.filter(Gc);z(K,Y=>qTe(Y,T))}}return E.getChanges();function z(j,J){if(S(j)===0)return;Zn(j[0],1024);const K=b?vN(j,se=>jee(se.moduleSpecifier)):[j],Y=v?oc(K,(se,ge)=>YTe(se[0].moduleSpecifier,ge[0].moduleSpecifier,T)):K,oe=ju(Y,se=>jee(se[0].moduleSpecifier)||se[0].moduleSpecifier===void 0?J(se):se);if(oe.length===0)E.deleteNodes(t,j,{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Include},!0);else{const se={leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Include,suffix:E5(s,u.options)};E.replaceNodeWithNodes(t,j[0],oe,se);const ge=E.nodeHasTrailingComment(t,j[0],se);E.deleteNodes(t,j.slice(1),{trailingTriviaOption:iu.TrailingTriviaOption.Include},ge)}}}function Bpe(t,u){const s=YD(t.languageVersion,!1,t.languageVariant),d=[];let f=0;for(const p of u)d[f]&&kqt(t,p,s)&&f++,d[f]||(d[f]=[]),d[f].push(p);return d}function kqt(t,u,s){const d=u.getFullStart(),f=u.getStart();s.setText(t.text,d,f-d);let p=0;for(;s.getTokenStart()=2))return!0;return!1}function Fqt(t,u,s){const d=s.getTypeChecker(),f=s.getCompilerOptions(),p=d.getJsxNamespace(u),E=d.getJsxFragmentFactory(u),v=!!(u.transformFlags&2),b=[];for(const k of t){const{importClause:T,moduleSpecifier:M}=k;if(!T){b.push(k);continue}let{name:z,namedBindings:j}=T;if(z&&!B(z)&&(z=void 0),j)if(Jx(j))B(j.name)||(j=void 0);else{const J=j.elements.filter(K=>B(K.name));J.lengthus(d)&&d.text===s)}function jee(t){return t!==void 0&&t0(t)?t.text:void 0}function Sqt(t,u,s){const d=wpe(u);return clt(t,d,s)}function clt(t,u,s){if(t.length===0)return t;const{importWithoutClause:d,typeOnlyImports:f,regularImports:p}=Bqt(t),E=[];d&&E.push(d);for(const v of[p,f]){const b=v===f,{defaultImports:B,namespaceImports:k,namedImports:T}=v;if(!b&&B.length===1&&k.length===1&&T.length===0){const ge=B[0];E.push(TK(ge,ge.importClause.name,k[0].importClause.namedBindings));continue}const M=oc(k,(ge,ae)=>u(ge.importClause.namedBindings.name.text,ae.importClause.namedBindings.name.text));for(const ge of M)E.push(TK(ge,void 0,ge.importClause.namedBindings));const z=Ki(B),j=Ki(T),J=z??j;if(!J)continue;let K;const Y=[];if(B.length===1)K=B[0].importClause.name;else for(const ge of B)Y.push(q.createImportSpecifier(!1,q.createIdentifier("default"),ge.importClause.name));Y.push(...Iqt(T));const oe=q.createNodeArray(dlt(Y,u),j==null?void 0:j.importClause.namedBindings.elements.hasTrailingComma),se=oe.length===0?K?void 0:q.createNamedImports(_t):j?q.updateNamedImports(j.importClause.namedBindings,oe):q.createNamedImports(oe);s&&se&&(j!=null&&j.importClause.namedBindings)&&!hk(j.importClause.namedBindings,s)&&Zn(se,2),b&&K&&se?(E.push(TK(J,K,void 0)),E.push(TK(j??J,void 0,se))):E.push(TK(J,K,se))}return E}function Bqt(t){let u;const s={defaultImports:[],namespaceImports:[],namedImports:[]},d={defaultImports:[],namespaceImports:[],namedImports:[]};for(const f of t){if(f.importClause===void 0){u=u||f;continue}const p=f.importClause.isTypeOnly?s:d,{name:E,namedBindings:v}=f.importClause;E&&p.defaultImports.push(f),v&&(Jx(v)?p.namespaceImports.push(f):p.namedImports.push(f))}return{importWithoutClause:u,typeOnlyImports:s,regularImports:d}}function wqt(t,u){const s=wpe(u);return qTe(t,s)}function qTe(t,u){if(t.length===0)return t;const{exportWithoutClause:s,namedExports:d,typeOnlyExports:f}=E(t),p=[];s&&p.push(s);for(const v of[d,f]){if(v.length===0)continue;const b=[];b.push(...ju(v,T=>T.exportClause&&ep(T.exportClause)?T.exportClause.elements:_t));const B=dlt(b,u),k=v[0];p.push(q.updateExportDeclaration(k,k.modifiers,k.isTypeOnly,k.exportClause&&(ep(k.exportClause)?q.updateNamedExports(k.exportClause,B):q.updateNamespaceExport(k.exportClause,k.exportClause.name)),k.moduleSpecifier,k.attributes))}return p;function E(v){let b;const B=[],k=[];for(const T of v)T.exportClause===void 0?b=b||T:T.isTypeOnly?k.push(T):B.push(T);return{exportWithoutClause:b,namedExports:B,typeOnlyExports:k}}}function TK(t,u,s){return q.updateImportDeclaration(t,t.modifiers,q.updateImportClause(t.importClause,t.importClause.isTypeOnly,u,s),t.moduleSpecifier,t.attributes)}function dlt(t,u){return oc(t,(s,d)=>ZTe(s,d,u))}function ZTe(t,u,s){return d2(t.isTypeOnly,u.isTypeOnly)||s(t.name.text,u.name.text)}function Tqt(t,u,s){const d=wpe(!!s);return YTe(t,u,d)}function YTe(t,u,s){const d=t===void 0?void 0:jee(t),f=u===void 0?void 0:jee(u);return d2(d===void 0,f===void 0)||d2(Id(d),Id(f))||s(d,f)}function QTe(t){var u;switch(t.kind){case 271:return(u=ur(t.moduleReference,r_))==null?void 0:u.expression;case 272:return t.moduleSpecifier;case 243:return t.declarationList.declarations[0].initializer.arguments[0]}}function Lqt(t,u){return hlt(Bpe(t,t.statements.filter(Sd)),u)}function hlt(t,u){const s=yw(u,!1),d=yw(u,!0);let f=3,p=!1;for(const E of t){if(E.length>1){const b=cn(E,B=>{var k;return((k=ur(B.moduleSpecifier,us))==null?void 0:k.text)??""},s,d);if(b&&(f&=b,p=!0),!f)return f}const v=Le(E,b=>{var B,k;return((k=ur((B=b.importClause)==null?void 0:B.namedBindings,uD))==null?void 0:k.elements.length)>1});if(v){const b=eLe(v.importClause.namedBindings.elements,u);if(b&&(f&=b,p=!0),!f)return f}if(f!==3)return f}return p?0:f}function Nqt(t,u){const s=yw(u,!1),d=yw(u,!0);return cn(t,f=>jee(QTe(f))||"",s,d)}function Pqt(t,u,s){const d=Kl(t,u,il,(f,p)=>XTe(f,p,s));return d<0?~d:d}function Mqt(t,u,s){const d=Kl(t,u,il,(f,p)=>ZTe(f,p,s));return d<0?~d:d}function XTe(t,u,s){return YTe(QTe(t),QTe(u),s)||zqt(t,u)}function zqt(t,u){return nl(flt(t),flt(u))}function flt(t){var u;switch(t.kind){case 272:return t.importClause?t.importClause.isTypeOnly?1:((u=t.importClause.namedBindings)==null?void 0:u.kind)===274?2:t.importClause.name?3:4:0;case 271:return 5;case 243:return 6}}function Iqt(t){return ju(t,u=>Vt(Rqt(u),s=>s.name&&s.propertyName&&s.name.escapedText===s.propertyName.escapedText?q.updateImportSpecifier(s,s.isTypeOnly,void 0,s.name):s))}function Rqt(t){var u;return(u=t.importClause)!=null&&u.namedBindings&&uD(t.importClause.namedBindings)?t.importClause.namedBindings.elements:void 0}function wpe(t){return t?qCe:dh}function Oqt(t,u){const s=jqt(u),d=u.organizeImportsCaseFirst??!1,f=u.organizeImportsNumericCollation??!1,p=u.organizeImportsAccentCollation??!0,E=t?p?"accent":"base":p?"variant":"case";return new Intl.Collator(s,{usage:"sort",caseFirst:d||"false",sensitivity:E,numeric:f}).compare}function jqt(t){let u=t.organizeImportsLocale;u==="auto"&&(u=ZCe()),u===void 0&&(u="en");const s=Intl.Collator.supportedLocalesOf(u);return s.length?s[0]:"en"}function yw(t,u){return(t.organizeImportsCollation??"ordinal")==="unicode"?Oqt(u,t):wpe(u)}function Vqt(t,u){const s=typeof t.organizeImportsIgnoreCase=="boolean"?t.organizeImportsIgnoreCase:(u==null?void 0:u())??!1;return yw(t,s)}function Hqt(t){const u=[],s=t.statements,d=S(s);let f=0,p=0;for(;fBpe(t,E))}var mlt,eLe,Kqt=o({"src/services/organizeImports.ts"(){rr(),mlt=class{has([t,u]){return this._lastPreferences!==u||!this._cache?!1:this._cache.has(t)}get([t,u]){if(!(this._lastPreferences!==u||!this._cache))return this._cache.get(t)}set([t,u],s){this._lastPreferences!==u&&(this._lastPreferences=u,this._cache=void 0),this._cache??(this._cache=new WeakMap),this._cache.set(t,s)}},eLe=UCe((t,u)=>{if(!hi(t,(f,p)=>d2(f.isTypeOnly,p.isTypeOnly)))return 0;const s=yw(u,!1),d=yw(u,!0);return cn(t,f=>f.name.text,s,d)},new mlt)}}),Gp={};h(Gp,{coalesceExports:()=>wqt,coalesceImports:()=>Sqt,compareImportOrExportSpecifiers:()=>ZTe,compareImportsOrRequireStatements:()=>XTe,compareModuleSpecifiers:()=>Tqt,detectImportDeclarationSorting:()=>Nqt,detectImportSpecifierSorting:()=>eLe,detectSorting:()=>Lqt,getImportDeclarationInsertionIndex:()=>Pqt,getImportSpecifierInsertionIndex:()=>Mqt,getOrganizeImportsComparer:()=>yw,organizeImports:()=>yqt});var Wqt=o({"src/services/_namespaces/ts.OrganizeImports.ts"(){Kqt()}});function Gqt(t,u){const s=[];return Jqt(t,u,s),$qt(t,s),s.sort((d,f)=>d.textSpan.start-f.textSpan.start)}function Jqt(t,u,s){let d=40,f=0;const p=[...t.statements,t.endOfFileToken],E=p.length;for(;f1&&d.push(Vee(p,E,"comment"))}}function glt(t,u,s,d){w7(t)||tLe(t.pos,u,s,d)}function Vee(t,u,s){return m9(Vc(t,u),s)}function Uqt(t,u){switch(t.kind){case 241:if(Co(t.parent))return qqt(t.parent,t,u);switch(t.parent.kind){case 246:case 249:case 250:case 248:case 245:case 247:case 254:case 299:return k(t.parent);case 258:const z=t.parent;if(z.tryBlock===t)return k(t.parent);if(z.finallyBlock===t){const j=a0(z,98,u);if(j)return k(j)}default:return m9(of(t,u),"code")}case 268:return k(t.parent);case 263:case 231:case 264:case 266:case 269:case 187:case 206:return k(t);case 189:return k(t,!1,!yB(t.parent),23);case 296:case 297:return T(t.statements);case 210:return B(t);case 209:return B(t,23);case 284:return p(t);case 288:return E(t);case 285:case 286:return v(t.attributes);case 228:case 15:return b(t);case 207:return k(t,!1,!js(t.parent),23);case 219:return f(t);case 213:return d(t);case 217:return M(t);case 275:case 279:case 300:return s(t)}function s(z){if(!z.elements.length)return;const j=a0(z,19,u),J=a0(z,20,u);if(!(!j||!J||q4(j.pos,J.pos,u)))return Tpe(j,J,z,u,!1,!1)}function d(z){if(!z.arguments.length)return;const j=a0(z,21,u),J=a0(z,22,u);if(!(!j||!J||q4(j.pos,J.pos,u)))return Tpe(j,J,z,u,!1,!0)}function f(z){if(po(z.body)||Cf(z.body)||q4(z.body.getFullStart(),z.body.getEnd(),u))return;const j=Vc(z.body.getFullStart(),z.body.getEnd());return m9(j,"code",of(z))}function p(z){const j=Vc(z.openingElement.getStart(u),z.closingElement.getEnd()),J=z.openingElement.tagName.getText(u),K="<"+J+">...";return m9(j,"code",j,!1,K)}function E(z){const j=Vc(z.openingFragment.getStart(u),z.closingFragment.getEnd());return m9(j,"code",j,!1,"<>...")}function v(z){if(z.properties.length!==0)return Vee(z.getStart(u),z.getEnd(),"code")}function b(z){if(!(z.kind===15&&z.text.length===0))return Vee(z.getStart(u),z.getEnd(),"code")}function B(z,j=19){return k(z,!1,!Dh(z.parent)&&!Mo(z.parent),j)}function k(z,j=!1,J=!0,K=19,Y=K===19?20:24){const oe=a0(t,K,u),se=a0(t,Y,u);return oe&&se&&Tpe(oe,se,z,u,j,J)}function T(z){return z.length?m9(qx(z),"code"):void 0}function M(z){if(q4(z.getStart(),z.getEnd(),u))return;const j=Vc(z.getStart(),z.getEnd());return m9(j,"code",of(z))}}function qqt(t,u,s){const d=Zqt(t,u,s),f=a0(u,20,s);return d&&f&&Tpe(d,f,t,s,t.kind!==219)}function Tpe(t,u,s,d,f=!1,p=!0){const E=Vc(p?t.getFullStart():t.getStart(d),u.getEnd());return m9(E,"code",of(s,d),f)}function m9(t,u,s=t,d=!1,f="..."){return{textSpan:t,kind:u,hintSpan:s,bannerText:f,autoCollapse:d}}function Zqt(t,u,s){if(Kye(t.parameters,s)){const d=a0(t,21,s);if(d)return d}return a0(u,19,s)}var Elt,Yqt=o({"src/services/outliningElementsCollector.ts"(){rr(),Elt=/^#(end)?region(?:\s+(.*))?(?:\r)?$/}}),Lpe={};h(Lpe,{collectElements:()=>Gqt});var Qqt=o({"src/services/_namespaces/ts.OutliningElementsCollector.ts"(){Yqt()}});function Xqt(t,u,s,d){const f=lX(af(u,s));if(Dlt(f)){const p=eZt(f,t.getTypeChecker(),u,t,d);if(p)return p}return Npe(F.You_cannot_rename_this_element)}function eZt(t,u,s,d,f){const p=u.getSymbolAtLocation(t);if(!p){if(t0(t)){const M=sX(t,u);if(M&&(M.flags&128||M.flags&1048576&&ye(M.types,z=>!!(z.flags&128))))return iLe(t.text,t.text,"string","",t,s)}else if(Rhe(t)){const M=Hc(t);return iLe(M,M,"label","",t,s)}return}const{declarations:E}=p;if(!E||E.length===0)return;if(E.some(M=>tZt(d,M)))return Npe(F.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(at(t)&&t.escapedText==="default"&&p.parent&&p.parent.flags&1536)return;if(t0(t)&&Aj(t))return f.allowRenameOfImportPath?nZt(t,s,p):void 0;const v=iZt(s,p,u,f);if(v)return Npe(v);const b=x5.getSymbolKind(u,p,t),B=xSe(t)||Pm(t)&&t.parent.kind===167?$4(J4(t)):void 0,k=B||u.symbolToString(p),T=B||u.getFullyQualifiedName(p);return iLe(k,T,b,x5.getSymbolModifiers(u,p),t,s)}function tZt(t,u){const s=u.getSourceFile();return t.isSourceFileDefaultLibrary(s)&&Ml(s.fileName,".d.ts")}function iZt(t,u,s,d){if(!d.providePrefixAndSuffixTextForRename&&u.flags&2097152){const E=u.declarations&&Le(u.declarations,v=>bf(v));E&&!E.propertyName&&(u=s.getAliasedSymbol(u))}const{declarations:f}=u;if(!f)return;const p=_lt(t.path);if(p===void 0)return Oe(f,E=>XH(E.getSourceFile().path))?F.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:void 0;for(const E of f){const v=_lt(E.getSourceFile().path);if(v){const b=Math.min(p.length,v.length);for(let B=0;B<=b;B++)if(dh(p[B],v[B])!==0)return F.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder}}}function _lt(t){const u=yd(t),s=u.lastIndexOf("node_modules");if(s!==-1)return u.slice(0,s+2)}function nZt(t,u,s){if(!Id(t.text))return Npe(F.You_cannot_rename_a_module_via_a_global_import);const d=s.declarations&&Le(s.declarations,la);if(!d)return;const f=sc(t.text,"/index")||sc(t.text,"/index.js")?void 0:XCe(_h(d.fileName),"/index"),p=f===void 0?d.fileName:f,E=f===void 0?"module":"directory",v=t.text.lastIndexOf("/")+1,b=d1(t.getStart(u)+1+v,t.text.length-v);return{canRename:!0,fileToRename:p,kind:E,displayName:p,fullDisplayName:p,kindModifiers:"",triggerSpan:b}}function iLe(t,u,s,d,f,p){return{canRename:!0,fileToRename:void 0,kind:s,displayName:t,fullDisplayName:u,kindModifiers:d,triggerSpan:uZt(f,p)}}function Npe(t){return{canRename:!1,localizedErrorMessage:to(t)}}function uZt(t,u){let s=t.getStart(u),d=t.getWidth(u);return t0(t)&&(s+=1,d-=2),d1(s,d)}function Dlt(t){switch(t.kind){case 80:case 81:case 11:case 15:case 110:return!0;case 9:return uX(t);default:return!1}}var rZt=o({"src/services/rename.ts"(){rr()}}),Hee={};h(Hee,{getRenameInfo:()=>Xqt,nodeIsEligibleForRename:()=>Dlt});var aZt=o({"src/services/_namespaces/ts.Rename.ts"(){rZt()}});function oZt(t,u,s,d,f){const p=t.getTypeChecker(),E=cX(u,s);if(!E)return;const v=!!d&&d.kind==="characterTyped";if(v&&(zk(u,s,E)||m5(u,s)))return;const b=!!d&&d.kind==="invoked",B=bZt(E,s,u,p,b);if(!B)return;f.throwIfCancellationRequested();const k=sZt(B,p,u,E,v);return f.throwIfCancellationRequested(),k?p.runWithCancellationToken(f,T=>k.kind===0?Flt(k.candidates,k.resolvedSignature,B,u,T):kZt(k.symbol,B,u,T)):gh(u)?cZt(B,t,f):void 0}function sZt({invocation:t,argumentCount:u},s,d,f,p){switch(t.kind){case 0:{if(p&&!lZt(f,t.node,d))return;const E=[],v=s.getResolvedSignatureForSignatureHelp(t.node,E,u);return E.length===0?void 0:{kind:0,candidates:E,resolvedSignature:v}}case 1:{const{called:E}=t;if(p&&!xlt(f,d,at(E)?E.parent:E))return;const v=Uhe(E,u,s);if(v.length!==0)return{kind:0,candidates:v,resolvedSignature:Pn(v)};const b=s.getSymbolAtLocation(E);return b&&{kind:1,symbol:b}}case 2:return{kind:0,candidates:[t.signature],resolvedSignature:t.signature};default:return H.assertNever(t)}}function lZt(t,u,s){if(!$E(u))return!1;const d=u.getChildren(s);switch(t.kind){case 21:return kt(d,t);case 28:{const f=oX(t);return!!f&&kt(d,f)}case 30:return xlt(t,s,u.expression);default:return!1}}function cZt(t,u,s){if(t.invocation.kind===2)return;const d=ylt(t.invocation),f=Iu(d)?d.name.text:void 0,p=u.getTypeChecker();return f===void 0?void 0:G(u.getSourceFiles(),E=>G(E.getNamedDeclarations().get(f),v=>{const b=v.symbol&&p.getTypeOfSymbolAtLocation(v.symbol,v),B=b&&b.getCallSignatures();if(B&&B.length)return p.runWithCancellationToken(s,k=>Flt(B,B[0],t,E,k,!0))}))}function xlt(t,u,s){const d=t.getFullStart();let f=t.parent;for(;f;){const p=td(d,u,f,!0);if(p)return Vm(s,p);f=f.parent}return H.fail("Could not find preceding token")}function dZt(t,u,s){const d=Clt(t,u,s);return!d||d.isTypeParameterList||d.invocation.kind!==0?void 0:{invocation:d.invocation.node,argumentCount:d.argumentCount,argumentIndex:d.argumentIndex}}function vlt(t,u,s){const d=hZt(t,s);if(!d)return;const{list:f,argumentIndex:p}=d,E=DZt(f,zk(s,u,t));p!==0&&H.assertLessThan(p,E);const v=vZt(f,s);return{list:f,argumentIndex:p,argumentCount:E,argumentsSpan:v}}function hZt(t,u){if(t.kind===30||t.kind===21)return{list:yZt(t.parent,t,u),argumentIndex:0};{const s=oX(t);return s&&{list:s,argumentIndex:_Zt(s,t)}}}function Clt(t,u,s){const{parent:d}=t;if($E(d)){const f=d,p=vlt(t,u,s);if(!p)return;const{list:E,argumentIndex:v,argumentCount:b,argumentsSpan:B}=p;return{isTypeParameterList:!!d.typeArguments&&d.typeArguments.pos===E.pos,invocation:{kind:0,node:f},argumentsSpan:B,argumentIndex:v,argumentCount:b}}else{if(T7(t)&&Dk(d))return jH(t,u,s)?uLe(d,0,s):void 0;if(vB(t)&&d.parent.kind===215){const f=d,p=f.parent;H.assert(f.kind===228);const E=jH(t,u,s)?0:1;return uLe(p,E,s)}else if(qP(d)&&Dk(d.parent.parent)){const f=d,p=d.parent.parent;if(pce(t)&&!jH(t,u,s))return;const E=f.parent.templateSpans.indexOf(f),v=xZt(E,t,u,s);return uLe(p,v,s)}else if(zh(d)){const f=d.attributes.pos,p=gs(s.text,d.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:d},argumentsSpan:d1(f,p-f),argumentIndex:0,argumentCount:1}}else{const f=qhe(t,s);if(f){const{called:p,nTypeArguments:E}=f,v={kind:1,called:p},b=Vc(p.getStart(s),t.end);return{isTypeParameterList:!0,invocation:v,argumentsSpan:b,argumentIndex:E,argumentCount:E+1}}return}}}function fZt(t,u,s,d){return mZt(t,u,s,d)||Clt(t,u,s)}function blt(t){return Xn(t.parent)?blt(t.parent):t}function nLe(t){return Xn(t.left)?nLe(t.left)+1:2}function mZt(t,u,s,d){const f=pZt(t);if(f===void 0)return;const p=gZt(f,s,u,d);if(p===void 0)return;const{contextualType:E,argumentIndex:v,argumentCount:b,argumentsSpan:B}=p,k=E.getNonNullableType(),T=k.symbol;if(T===void 0)return;const M=qu(k.getCallSignatures());return M===void 0?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:M,node:t,symbol:EZt(T)},argumentsSpan:B,argumentIndex:v,argumentCount:b}}function pZt(t){switch(t.kind){case 21:case 28:return t;default:return Tn(t.parent,u=>io(u)?!0:js(u)||Rp(u)||_k(u)?!1:"quit")}}function gZt(t,u,s,d){const{parent:f}=t;switch(f.kind){case 217:case 174:case 218:case 219:const p=vlt(t,s,u);if(!p)return;const{argumentIndex:E,argumentCount:v,argumentsSpan:b}=p,B=dc(f)?d.getContextualTypeForObjectLiteralElement(f):d.getContextualType(f);return B&&{contextualType:B,argumentIndex:E,argumentCount:v,argumentsSpan:b};case 226:{const k=blt(f),T=d.getContextualType(k),M=t.kind===21?0:nLe(f)-1,z=nLe(k);return T&&{contextualType:T,argumentIndex:M,argumentCount:z,argumentsSpan:of(f)}}default:return}}function EZt(t){return t.name==="__type"&&G(t.declarations,u=>{var s;return u3(u)?(s=ur(u.parent,Zg))==null?void 0:s.symbol:void 0})||t}function _Zt(t,u){let s=0;for(const d of t.getChildren()){if(d===u)break;d.kind!==28&&s++}return s}function DZt(t,u){const s=t.getChildren();let d=ui(s,f=>f.kind!==28);return!u&&s.length>0&&Cr(s).kind===28&&d++,d}function xZt(t,u,s,d){return H.assert(s>=u.getStart(),"Assumed 'position' could not occur before node."),X2e(u)?jH(u,s,d)?0:t+2:t+1}function uLe(t,u,s){const d=T7(t.template)?1:t.template.templateSpans.length+1;return u!==0&&H.assertLessThan(u,d),{isTypeParameterList:!1,invocation:{kind:0,node:t},argumentsSpan:CZt(t,s),argumentIndex:u,argumentCount:d}}function vZt(t,u){const s=t.getFullStart(),d=gs(u.text,t.getEnd(),!1);return d1(s,d-s)}function CZt(t,u){const s=t.template,d=s.getStart();let f=s.getEnd();return s.kind===228&&Cr(s.templateSpans).literal.getFullWidth()===0&&(f=gs(u.text,f,!1)),d1(d,f-d)}function bZt(t,u,s,d,f){for(let p=t;!la(p)&&(f||!po(p));p=p.parent){H.assert(Vm(p.parent,p),"Not a subspan",()=>`Child: ${H.formatSyntaxKind(p.kind)}, parent: ${H.formatSyntaxKind(p.parent.kind)}`);const E=fZt(p,u,s,d);if(E)return E}}function yZt(t,u,s){const d=t.getChildren(s),f=d.indexOf(u);return H.assert(f>=0&&d.length>f+1),d[f+1]}function ylt(t){return t.kind===0?pq(t.node):t.called}function klt(t){return t.kind===0?t.node:t.kind===1?t.called:t.node}function Flt(t,u,{isTypeParameterList:s,argumentCount:d,argumentsSpan:f,invocation:p,argumentIndex:E},v,b,B){var k;const T=klt(p),M=p.kind===2?p.symbol:b.getSymbolAtLocation(ylt(p))||B&&((k=u.declaration)==null?void 0:k.symbol),z=M?RM(b,M,B?v:void 0,void 0):_t,j=Vt(t,se=>AZt(se,z,s,b,T,v));E!==0&&H.assertLessThan(E,d);let J=0,K=0;for(let se=0;se1)){let ae=0;for(const Ce of ge){if(Ce.isVariadic||Ce.parameters.length>=d){J=K+ae;break}ae++}}K+=ge.length}H.assert(J!==-1);const Y={items:Tr(j,il),applicableSpan:f,selectedItemIndex:J,argumentIndex:E,argumentCount:d},oe=Y.items[J];if(oe.isVariadic){const se=Ue(oe.parameters,ge=>!!ge.isRest);-1Alt(T,s,d,f,E)),b=t.getDocumentationComment(s),B=t.getJsDocTags(s);return{isVariadic:!1,prefixDisplayParts:[...p,ih(30)],suffixDisplayParts:[ih(32)],separatorDisplayParts:rLe,parameters:v,documentation:b,tags:B}}function AZt(t,u,s,d,f,p){const E=(s?BZt:wZt)(t,d,f,p);return Vt(E,({isVariadic:v,parameters:b,prefix:B,suffix:k})=>{const T=[...u,...B],M=[...k,...SZt(t,f,d)],z=t.getDocumentationComment(d),j=t.getJsDocTags();return{isVariadic:v,prefixDisplayParts:T,suffixDisplayParts:M,separatorDisplayParts:rLe,parameters:b,documentation:z,tags:j}})}function SZt(t,u,s){return Zx(d=>{d.writePunctuation(":"),d.writeSpace(" ");const f=s.getTypePredicateOfSignature(t);f?s.writeTypePredicate(f,u,void 0,d):s.writeType(s.getReturnTypeOfSignature(t),u,void 0,d)})}function BZt(t,u,s,d){const f=(t.target||t).typeParameters,p=X2(),E=(f||_t).map(b=>Alt(b,u,s,d,p)),v=t.thisParameter?[u.symbolToParameterDeclaration(t.thisParameter,s,LK)]:[];return u.getExpandedParameters(t).map(b=>{const B=q.createNodeArray([...v,...Vt(b,T=>u.symbolToParameterDeclaration(T,s,LK))]),k=Zx(T=>{p.writeList(2576,B,d,T)});return{isVariadic:!1,parameters:E,prefix:[ih(30)],suffix:[ih(32),...k]}})}function wZt(t,u,s,d){const f=X2(),p=Zx(b=>{if(t.typeParameters&&t.typeParameters.length){const B=q.createNodeArray(t.typeParameters.map(k=>u.typeParameterToDeclaration(k,s,LK)));f.writeList(53776,B,d,b)}}),E=u.getExpandedParameters(t),v=u.hasEffectiveRestParameter(t)?E.length===1?b=>!0:b=>{var B;return!!(b.length&&((B=ur(b[b.length-1],qE))==null?void 0:B.links.checkFlags)&32768)}:b=>!1;return E.map(b=>({isVariadic:v(b),parameters:b.map(B=>TZt(B,u,s,d,f)),prefix:[...p,ih(21)],suffix:[ih(22)]}))}function TZt(t,u,s,d,f){const p=Zx(b=>{const B=u.symbolToParameterDeclaration(t,s,LK);f.writeNode(4,B,d,b)}),E=u.isOptionalParameter(t.valueDeclaration),v=qE(t)&&!!(t.links.checkFlags&32768);return{name:t.name,documentation:t.getDocumentationComment(u),displayParts:p,isOptional:E,isRest:v}}function Alt(t,u,s,d,f){const p=Zx(E=>{const v=u.typeParameterToDeclaration(t,s,LK);f.writeNode(4,v,d,E)});return{name:t.symbol.name,documentation:t.symbol.getDocumentationComment(u),displayParts:p,isOptional:!1,isRest:!1}}var LK,rLe,LZt=o({"src/services/signatureHelp.ts"(){rr(),LK=70246400,rLe=[ih(28),$l()]}}),NK={};h(NK,{getArgumentInfoForCompletions:()=>dZt,getSignatureHelpItems:()=>oZt});var NZt=o({"src/services/_namespaces/ts.SignatureHelp.ts"(){LZt()}});function PZt(t,u){var s,d;let f={textSpan:Vc(u.getFullStart(),u.getEnd())},p=u;e:for(;;){const b=zZt(p);if(!b.length)break;for(let B=0;Bt)break e;const z=Aa(gv(u.text,T.end));if(z&&z.kind===2&&v(z.pos,z.end),MZt(u,t,T)){if(t0e(T)&&$0(p)&&!q4(T.getStart(u),T.getEnd(),u)&&E(T.getStart(u),T.getEnd()),po(T)||qP(T)||vB(T)||pce(T)||k&&vB(k)||Ad(T)&&Jl(p)||MB(T)&&Ad(p)||ua(T)&&MB(p)&&b.length===1||kk(T)||Ov(T)||K7(T)){p=T;break}if(qP(p)&&M&&IU(M)){const Y=T.getFullStart()-2,oe=M.getStart()+1;E(Y,oe)}const j=MB(T)&&IZt(k)&&RZt(M)&&!q4(k.getStart(),M.getStart(),u);let J=j?k.getEnd():T.getStart();const K=j?M.getStart():OZt(u,T);if(lm(T)&&((s=T.jsDoc)!=null&&s.length)&&E(Pn(T.jsDoc).getStart(),K),MB(T)){const Y=T.getChildren()[0];Y&&lm(Y)&&((d=Y.jsDoc)!=null&&d.length)&&Y.getStart()!==T.pos&&(J=Math.min(J,Pn(Y.jsDoc).getStart()))}E(J,K),(us(T)||P8(T))&&E(J+1,K-1),p=T;break}if(B===b.length-1)break e}}return f;function E(b,B){if(b!==B){const k=Vc(b,B);(!f||!sw(k,f.textSpan)&&T2e(k,t))&&(f={textSpan:k,...f&&{parent:f}})}}function v(b,B){E(b,B);let k=b;for(;u.text.charCodeAt(k)===47;)k++;E(k,B)}}function MZt(t,u,s){return H.assert(s.pos<=u),uv===t.readonlyToken||v.kind===148||v===t.questionToken||v.kind===58),E=PK(p,({kind:v})=>v===23||v===168||v===24);return[s,MK(Ppe(E,({kind:v})=>v===59)),f]}if(Mm(t)){const s=PK(t.getChildren(),E=>E===t.name||kt(t.modifiers,E)),d=((u=s[0])==null?void 0:u.kind)===327?s[0]:void 0,f=d?s.slice(1):s,p=Ppe(f,({kind:E})=>E===59);return d?[d,MK(p)]:p}if(io(t)){const s=PK(t.getChildren(),f=>f===t.dotDotDotToken||f===t.name),d=PK(s,f=>f===s[0]||f===t.questionToken);return Ppe(d,({kind:f})=>f===64)}return js(t)?Ppe(t.getChildren(),({kind:s})=>s===64):t.getChildren()}function PK(t,u){const s=[];let d;for(const f of t)u(f)?(d=d||[],d.push(f)):(d&&(s.push(MK(d)),d=void 0),s.push(f));return d&&s.push(MK(d)),s}function Ppe(t,u,s=!0){if(t.length<2)return t;const d=Ue(t,u);if(d===-1)return t;const f=t.slice(0,d),p=t[d],E=Cr(t),v=s&&E.kind===27,b=t.slice(d+1,v?t.length-1:void 0),B=Dr([f.length?MK(f):void 0,p,b.length?MK(b):void 0]);return v?B.concat(E):B}function MK(t){return H.assertGreaterThanOrEqual(t.length,1),t_(a_.createSyntaxList(t),t[0].pos,Cr(t).end)}function IZt(t){const u=t&&t.kind;return u===19||u===23||u===21||u===286}function RZt(t){const u=t&&t.kind;return u===20||u===24||u===22||u===287}function OZt(t,u){switch(u.kind){case 348:case 345:case 355:case 353:case 350:return t.getLineEndOfPosition(u.getStart());default:return u.getEnd()}}var Slt,jZt=o({"src/services/smartSelection.ts"(){rr(),Slt=dg(Sd,E1)}}),Mpe={};h(Mpe,{getSmartSelectionRange:()=>PZt});var VZt=o({"src/services/_namespaces/ts.SmartSelectionRange.ts"(){jZt()}});function Blt(t,u,s){const d=wlt(t,u,s);if(d!=="")return d;const f=xP(u);return f&32?Sl(u,231)?"local class":"class":f&384?"enum":f&524288?"type":f&64?"interface":f&262144?"type parameter":f&8?"enum member":f&2097152?"alias":f&1536?"module":d}function wlt(t,u,s){const d=t.getRootSymbols(u);if(d.length===1&&Pn(d).flags&8192&&t.getTypeOfSymbolAtLocation(u,s).getNonNullableType().getCallSignatures().length!==0)return"method";if(t.isUndefinedSymbol(u))return"var";if(t.isArgumentsSymbol(u))return"local var";if(s.kind===110&&Wt(s)||g7(s))return"parameter";const f=xP(u);if(f&3)return dfe(u)?"parameter":u.valueDeclaration&&K8(u.valueDeclaration)?"const":u.valueDeclaration&&cj(u.valueDeclaration)?"using":u.valueDeclaration&&lj(u.valueDeclaration)?"await using":L(u.declarations,rq)?"let":Nlt(u)?"local var":"var";if(f&16)return Nlt(u)?"local function":"function";if(f&32768)return"getter";if(f&65536)return"setter";if(f&8192)return"method";if(f&16384)return"constructor";if(f&131072)return"index";if(f&4){if(f&33554432&&u.links.checkFlags&6){const p=L(t.getRootSymbols(u),E=>{if(E.getFlags()&98311)return"property"});return p||(t.getTypeOfSymbolAtLocation(u,s).getCallSignatures().length?"method":"property")}return"property"}return""}function Tlt(t){if(t.declarations&&t.declarations.length){const[u,...s]=t.declarations,d=S(s)&&RX(u)&&Oe(s,p=>!RX(p))?65536:0,f=NM(u,d);if(f)return f.split(",")}return[]}function HZt(t,u){if(!u)return"";const s=new Set(Tlt(u));if(u.flags&2097152){const d=t.getAliasedSymbol(u);d!==u&&L(Tlt(d),f=>{s.add(f)})}return u.flags&16777216&&s.add("optional"),s.size>0?ga(s.values()).join(","):""}function Llt(t,u,s,d,f,p,E,v){var b;const B=[];let k=[],T=[];const M=xP(u);let z=E&1?wlt(t,u,f):"",j=!1;const J=f.kind===110&&Eq(f)||g7(f);let K,Y,oe=!1;if(f.kind===110&&!J)return{displayParts:[Hf(110)],documentation:[],symbolKind:"primitive type",tags:void 0};if(z!==""||M&32||M&2097152){if(z==="getter"||z==="setter"){const Be=Le(u.declarations,Ge=>Ge.name===f);if(Be)switch(Be.kind){case 177:z="getter";break;case 178:z="setter";break;case 172:z="accessor";break;default:H.assertNever(Be)}else z="property"}let fe;if(p??(p=J?t.getTypeAtLocation(f):t.getTypeOfSymbolAtLocation(u,f)),f.parent&&f.parent.kind===211){const Be=f.parent.name;(Be===f||Be&&Be.getFullWidth()===0)&&(f=f.parent)}let xe;if($E(f)?xe=f:(Phe(f)||wM(f)||f.parent&&(zh(f.parent)||Dk(f.parent))&&Co(u.valueDeclaration))&&(xe=f.parent),xe){fe=t.getResolvedSignature(xe);const Be=xe.kind===214||Mo(xe)&&xe.expression.kind===108,Ge=Be?p.getConstructSignatures():p.getCallSignatures();if(fe&&!kt(Ge,fe.target)&&!kt(Ge,fe)&&(fe=Ge.length?Ge[0]:void 0),fe){switch(Be&&M&32?(z="constructor",ve(p.symbol,z)):M&2097152?(z="alias",Se(z),B.push($l()),Be&&(fe.flags&4&&(B.push(Hf(128)),B.push($l())),B.push(Hf(105)),B.push($l())),ne(u)):ve(u,z),z){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":B.push(ih(59)),B.push($l()),!(Gu(p)&16)&&p.symbol&&(yn(B,RM(t,p.symbol,d,void 0,5)),B.push(lw())),Be&&(fe.flags&4&&(B.push(Hf(128)),B.push($l())),B.push(Hf(105)),B.push($l())),Ne(fe,Ge,262144);break;default:Ne(fe,Ge)}j=!0,oe=Ge.length>1}}else if(Hhe(f)&&!(M&98304)||f.kind===137&&f.parent.kind===176){const Be=f.parent;if(u.declarations&&Le(u.declarations,Ae=>Ae===(f.kind===137?Be.parent:Be))){const Ae=Be.kind===176?p.getNonNullableType().getConstructSignatures():p.getNonNullableType().getCallSignatures();t.isImplementationOfOverload(Be)?fe=Ae[0]:fe=t.getSignatureFromDeclaration(Be),Be.kind===176?(z="constructor",ve(p.symbol,z)):ve(Be.kind===179&&!(p.symbol.flags&2048||p.symbol.flags&4096)?p.symbol:u,z),fe&&Ne(fe,Ae),j=!0,oe=Ae.length>1}}}if(M&32&&!j&&!J&&(ae(),Sl(u,231)?Se("local class"):B.push(Hf(86)),B.push($l()),ne(u),pe(u,s)),M&64&&E&2&&(ge(),B.push(Hf(120)),B.push($l()),ne(u),pe(u,s)),M&524288&&E&2&&(ge(),B.push(Hf(156)),B.push($l()),ne(u),pe(u,s),B.push($l()),B.push(IM(64)),B.push($l()),yn(B,$H(t,f.parent&&q3(f.parent)?t.getTypeAtLocation(f.parent):t.getDeclaredTypeOfSymbol(u),d,8388608))),M&384&&(ge(),Oe(u.declarations,fe=>Iv(fe)&&b2(fe))&&(B.push(Hf(87)),B.push($l())),B.push(Hf(94)),B.push($l()),ne(u)),M&1536&&!J){ge();const fe=Sl(u,267),xe=fe&&fe.name&&fe.name.kind===80;B.push(Hf(xe?145:144)),B.push($l()),ne(u)}if(M&262144&&E&2)if(ge(),B.push(ih(21)),B.push(Km("type parameter")),B.push(ih(22)),B.push($l()),ne(u),u.parent)Ce(),ne(u.parent,d),pe(u.parent,d);else{const fe=Sl(u,168);if(fe===void 0)return H.fail();const xe=fe.parent;if(xe)if(Co(xe)){Ce();const Be=t.getSignatureFromDeclaration(xe);xe.kind===180?(B.push(Hf(105)),B.push($l())):xe.kind!==179&&xe.name&&ne(xe.symbol),yn(B,mfe(t,Be,s,32))}else jp(xe)&&(Ce(),B.push(Hf(156)),B.push($l()),ne(xe.symbol),pe(xe.symbol,s))}if(M&8){z="enum member",ve(u,"enum member");const fe=(b=u.declarations)==null?void 0:b[0];if((fe==null?void 0:fe.kind)===306){const xe=t.getConstantValue(fe);xe!==void 0&&(B.push($l()),B.push(IM(64)),B.push($l()),B.push(yf(Tbe(xe),typeof xe=="number"?7:8)))}}if(u.flags&2097152){if(ge(),!j||k.length===0&&T.length===0){const fe=t.getAliasedSymbol(u);if(fe!==u&&fe.declarations&&fe.declarations.length>0){const xe=fe.declarations[0],Be=Za(xe);if(Be&&!j){const Ge=tq(xe)&&Yu(xe,128),Ae=u.name!=="default"&&!Ge,De=Llt(t,fe,zn(xe),xe,Be,p,E,Ae?u:fe);B.push(...De.displayParts),B.push(lw()),K=De.documentation,Y=De.tags}else K=fe.getContextualDocumentationComment(xe,t),Y=fe.getJsDocTags(t)}}if(u.declarations)switch(u.declarations[0].kind){case 270:B.push(Hf(95)),B.push($l()),B.push(Hf(145));break;case 277:B.push(Hf(95)),B.push($l()),B.push(Hf(u.declarations[0].isExportEquals?64:90));break;case 281:B.push(Hf(95));break;default:B.push(Hf(102))}B.push($l()),ne(u),L(u.declarations,fe=>{if(fe.kind===271){const xe=fe;if(bv(xe))B.push($l()),B.push(IM(64)),B.push($l()),B.push(Hf(149)),B.push(ih(21)),B.push(yf(Hc(XN(xe)),8)),B.push(ih(22));else{const Be=t.getSymbolAtLocation(xe.moduleReference);Be&&(B.push($l()),B.push(IM(64)),B.push($l()),ne(Be,d))}return!0}})}if(!j)if(z!==""){if(p){if(J?(ge(),B.push(Hf(110))):ve(u,z),z==="property"||z==="accessor"||z==="getter"||z==="setter"||z==="JSX attribute"||M&3||z==="local var"||z==="index"||z==="using"||z==="await using"||J){if(B.push(ih(59)),B.push($l()),p.symbol&&p.symbol.flags&262144&&z!=="index"){const fe=Zx(xe=>{const Be=t.typeParameterToDeclaration(p,d,aLe);se().writeNode(4,Be,zn(Ua(d)),xe)});yn(B,fe)}else yn(B,$H(t,p,d));if(qE(u)&&u.links.target&&qE(u.links.target)&&u.links.target.links.tupleLabelDeclaration){const fe=u.links.target.links.tupleLabelDeclaration;H.assertNode(fe.name,at),B.push($l()),B.push(ih(21)),B.push(Km(fu(fe.name))),B.push(ih(22))}}else if(M&16||M&8192||M&16384||M&131072||M&98304||z==="method"){const fe=p.getNonNullableType().getCallSignatures();fe.length&&(Ne(fe[0],fe),oe=fe.length>1)}}}else z=Blt(t,u,f);if(k.length===0&&!oe&&(k=u.getContextualDocumentationComment(d,t)),k.length===0&&M&4&&u.parent&&u.declarations&&L(u.parent.declarations,fe=>fe.kind===312))for(const fe of u.declarations){if(!fe.parent||fe.parent.kind!==226)continue;const xe=t.getSymbolAtLocation(fe.parent.right);if(xe&&(k=xe.getDocumentationComment(t),T=xe.getJsDocTags(t),k.length>0))break}if(k.length===0&&at(f)&&u.valueDeclaration&&js(u.valueDeclaration)){const fe=u.valueDeclaration,xe=fe.parent,Be=fe.propertyName||fe.name;if(at(Be)&&Rp(xe)){const Ge=J4(Be),Ae=t.getTypeAtLocation(xe);k=G(Ae.isUnion()?Ae.types:[Ae],De=>{const Ke=De.getProperty(Ge);return Ke?Ke.getDocumentationComment(t):void 0})||_t}}return T.length===0&&!oe&&(T=u.getContextualJsDocTags(d,t)),k.length===0&&K&&(k=K),T.length===0&&Y&&(T=Y),{displayParts:B,documentation:k,symbolKind:z,tags:T.length===0?void 0:T};function se(){return X2()}function ge(){B.length&&B.push(lw()),ae()}function ae(){v&&(Se("alias"),B.push($l()))}function Ce(){B.push($l()),B.push(Hf(103)),B.push($l())}function ne(fe,xe){let Be;v&&fe===u&&(fe=v),z==="index"&&(Be=t.getIndexInfosOfIndexSymbol(fe));let Ge=[];fe.flags&131072&&Be?(fe.parent&&(Ge=RM(t,fe.parent)),Ge.push(ih(23)),Be.forEach((Ae,De)=>{Ge.push(...$H(t,Ae.keyType)),De!==Be.length-1&&(Ge.push($l()),Ge.push(ih(52)),Ge.push($l()))}),Ge.push(ih(24))):Ge=RM(t,fe,xe||s,void 0,7),yn(B,Ge),u.flags&16777216&&B.push(ih(58))}function ve(fe,xe){ge(),xe&&(Se(xe),fe&&!Oe(fe.declarations,Be=>q0(Be)||(A0(Be)||Xd(Be))&&!Be.name)&&(B.push($l()),ne(fe)))}function Se(fe){switch(fe){case"var":case"function":case"let":case"const":case"constructor":case"using":case"await using":B.push(hfe(fe));return;default:B.push(ih(21)),B.push(hfe(fe)),B.push(ih(22));return}}function Ne(fe,xe,Be=0){yn(B,mfe(t,fe,d,Be|32)),xe.length>1&&(B.push($l()),B.push(ih(21)),B.push(IM(40)),B.push(yf((xe.length-1).toString(),7)),B.push($l()),B.push(Km(xe.length===2?"overload":"overloads")),B.push(ih(22))),k=fe.getDocumentationComment(t),T=fe.getJsDocTags(),xe.length>1&&k.length===0&&T.length===0&&(k=xe[0].getDocumentationComment(t),T=xe[0].getJsDocTags().filter(Ge=>Ge.name!=="deprecated"))}function pe(fe,xe){const Be=Zx(Ge=>{const Ae=t.symbolToTypeParameterDeclarations(fe,xe,aLe);se().writeList(53776,Ae,zn(Ua(xe)),Ge)});yn(B,Be)}}function KZt(t,u,s,d,f,p=Pk(f),E){return Llt(t,u,s,d,f,void 0,p,E)}function Nlt(t){return t.parent?!1:L(t.declarations,u=>{if(u.kind===218)return!0;if(u.kind!==260&&u.kind!==262)return!1;for(let s=u.parent;!k2(s);s=s.parent)if(s.kind===312||s.kind===268)return!1;return!0})}var aLe,WZt=o({"src/services/symbolDisplay.ts"(){rr(),aLe=70246400}}),x5={};h(x5,{getSymbolDisplayPartsDocumentationAndSymbolKind:()=>KZt,getSymbolKind:()=>Blt,getSymbolModifiers:()=>HZt});var GZt=o({"src/services/_namespaces/ts.SymbolDisplay.ts"(){WZt()}});function Plt(t){const u=t.__pos;return H.assert(typeof u=="number"),u}function oLe(t,u){H.assert(typeof u=="number"),t.__pos=u}function Mlt(t){const u=t.__end;return H.assert(typeof u=="number"),u}function sLe(t,u){H.assert(typeof u=="number"),t.__end=u}function zlt(t,u){return gs(t,u,!1,!0)}function JZt(t,u){let s=u;for(;s0?1:0;let M=Mx(dP(t,B)+T,t);return M=zlt(t.text,M),Mx(dP(t,M),t)}function lLe(t,u,s){const{end:d}=u,{trailingTriviaOption:f}=s;if(f===2){const p=gv(t.text,d);if(p){const E=dP(t,u.end);for(const v of p){if(v.kind===2||dP(t,v.pos)>E)break;if(dP(t,v.end)>E)return gs(t.text,v.end,!0,!0)}}}}function kw(t,u,s){var d;const{end:f}=u,{trailingTriviaOption:p}=s;if(p===0)return f;if(p===1){const b=Hi(gv(t.text,f),W_(t.text,f)),B=(d=b==null?void 0:b[b.length-1])==null?void 0:d.end;return B||f}const E=lLe(t,u,s);if(E)return E;const v=gs(t.text,f,!0);return v!==f&&(p===2||Z1(t.text.charCodeAt(v-1)))?v:f}function zpe(t,u){return!!u&&!!t.parent&&(u.kind===28||u.kind===27&&t.parent.kind===210)}function $Zt(t){return A0(t)||ed(t)}function UZt(t){if(t.kind!==219)return t;const u=t.parent.kind===172?t.parent:t.parent.parent;return u.jsDoc=t.jsDoc,u}function qZt(t,u){if(t.kind===u.kind)switch(t.kind){case 348:{const s=t,d=u;return at(s.name)&&at(d.name)&&s.name.escapedText===d.name.escapedText?q.createJSDocParameterTag(void 0,d.name,!1,d.typeExpression,d.isNameFirst,s.comment):void 0}case 349:return q.createJSDocReturnTag(void 0,u.typeExpression,t.comment);case 351:return q.createJSDocTypeTag(void 0,u.typeExpression,t.comment)}}function cLe(t,u){return gs(t.text,Hk(t,u,{leadingTriviaOption:1}),!1,!0)}function ZZt(t,u,s,d){const f=cLe(t,d);if(s===void 0||q4(kw(t,u,{}),f,t))return f;const p=td(d.getStart(t),t);if(zpe(u,p)){const E=td(u.getStart(t),t);if(zpe(s,E)){const v=gs(t.text,p.getEnd(),!0,!0);if(q4(E.getStart(t),p.getStart(t),t))return Z1(t.text.charCodeAt(v-1))?v-1:v;if(Z1(t.text.charCodeAt(v)))return v}}return f}function YZt(t,u){const s=a0(t,19,u),d=a0(t,20,u);return[s==null?void 0:s.end,d==null?void 0:d.end]}function Ipe(t){return ys(t)?t.properties:t.members}function dLe(t,u){for(let s=u.length-1;s>=0;s--){const{span:d,newText:f}=u[s];t=`${t.substring(0,d.start)}${f}${t.substring(Ec(d))}`}return t}function QZt(t){return gs(t,0)===t.length}function Rpe(t){const u=rn(t,Rpe,jlt,XZt,Rpe),s=sl(u)?u:Object.create(u);return t_(s,Plt(t),Mlt(t)),s}function XZt(t,u,s,d,f){const p=kn(t,u,s,d,f);if(!p)return p;H.assert(t);const E=p===t?q.createNodeArray(p.slice(0)):p;return t_(E,Plt(t),Mlt(t)),E}function Ilt(t){let u=0;const s=Vj(t),d=De=>{De&&oLe(De,u)},f=De=>{De&&sLe(De,u)},p=De=>{De&&oLe(De,u)},E=De=>{De&&sLe(De,u)},v=De=>{De&&oLe(De,u)},b=De=>{De&&sLe(De,u)};function B(De,Ke){if(Ke||!QZt(De)){u=s.getTextPos();let Je=0;for(;U3(De.charCodeAt(De.length-Je-1));)Je++;u-=Je}}function k(De){s.write(De),B(De,!1)}function T(De){s.writeComment(De)}function M(De){s.writeKeyword(De),B(De,!1)}function z(De){s.writeOperator(De),B(De,!1)}function j(De){s.writePunctuation(De),B(De,!1)}function J(De){s.writeTrailingSemicolon(De),B(De,!1)}function K(De){s.writeParameter(De),B(De,!1)}function Y(De){s.writeProperty(De),B(De,!1)}function oe(De){s.writeSpace(De),B(De,!1)}function se(De){s.writeStringLiteral(De),B(De,!1)}function ge(De,Ke){s.writeSymbol(De,Ke),B(De,!1)}function ae(De){s.writeLine(De)}function Ce(){s.increaseIndent()}function ne(){s.decreaseIndent()}function ve(){return s.getText()}function Se(De){s.rawWrite(De),B(De,!1)}function Ne(De){s.writeLiteral(De),B(De,!0)}function pe(){return s.getTextPos()}function fe(){return s.getLine()}function xe(){return s.getColumn()}function Be(){return s.getIndent()}function Ge(){return s.isAtStartOfLine()}function Ae(){s.clear(),u=0}return{onBeforeEmitNode:d,onAfterEmitNode:f,onBeforeEmitNodeArray:p,onAfterEmitNodeArray:E,onBeforeEmitToken:v,onAfterEmitToken:b,write:k,writeComment:T,writeKeyword:M,writeOperator:z,writePunctuation:j,writeTrailingSemicolon:J,writeParameter:K,writeProperty:Y,writeSpace:oe,writeStringLiteral:se,writeSymbol:ge,writeLine:ae,increaseIndent:Ce,decreaseIndent:ne,getText:ve,rawWrite:Se,writeLiteral:Ne,getTextPos:pe,getLine:fe,getColumn:xe,getIndent:Be,isAtStartOfLine:Ge,hasTrailingComment:()=>s.hasTrailingComment(),hasTrailingWhitespace:()=>s.hasTrailingWhitespace(),clear:Ae}}function eYt(t){let u;for(const B of t.statements)if(Mp(B))u=B;else break;let s=0;const d=t.text;if(u)return s=u.end,b(),s;const f=SU(d);f!==void 0&&(s=f.length,b());const p=W_(d,s);if(!p)return s;let E,v;for(const B of p){if(B.kind===3){if(XU(d,B.pos)){E={range:B,pinnedOrTripleSlash:!0};continue}}else if(c0e(d,B.pos,B.end)){E={range:B,pinnedOrTripleSlash:!0};continue}if(E){if(E.pinnedOrTripleSlash)break;const k=t.getLineAndCharacterOfPosition(B.pos).line,T=t.getLineAndCharacterOfPosition(E.range.end).line;if(k>=T+2)break}if(t.statements.length){v===void 0&&(v=t.getLineAndCharacterOfPosition(t.statements[0].getStart()).line);const k=t.getLineAndCharacterOfPosition(B.end).line;if(v(t[t.Exclude=0]="Exclude",t[t.IncludeAll=1]="IncludeAll",t[t.JSDoc=2]="JSDoc",t[t.StartLine=3]="StartLine",t))(hLe||{}),fLe=(t=>(t[t.Exclude=0]="Exclude",t[t.ExcludeWhitespace=1]="ExcludeWhitespace",t[t.Include=2]="Include",t))(fLe||{}),ez={leadingTriviaOption:0,trailingTriviaOption:0},Olt=class ZOe{constructor(u,s){this.newLineCharacter=u,this.formatContext=s,this.changes=[],this.classesWithNodesInsertedAtStart=new Map,this.deletedNodes=[]}static fromContext(u){return new ZOe(E5(u.host,u.formatContext.options),u.formatContext)}static with(u,s){const d=ZOe.fromContext(u);return s(d),d.getChanges()}pushRaw(u,s){H.assertEqual(u.fileName,s.fileName);for(const d of s.textChanges)this.changes.push({kind:3,sourceFile:u,text:d.newText,range:pX(d.span)})}deleteRange(u,s){this.changes.push({kind:0,sourceFile:u,range:s})}delete(u,s){this.deletedNodes.push({sourceFile:u,node:s})}deleteNode(u,s,d={leadingTriviaOption:1}){this.deleteRange(u,zK(u,s,s,d))}deleteNodes(u,s,d={leadingTriviaOption:1},f){for(const p of s){const E=Hk(u,p,d,f),v=kw(u,p,d);this.deleteRange(u,{pos:E,end:v}),f=!!lLe(u,p,d)}}deleteModifier(u,s){this.deleteRange(u,{pos:s.getStart(u),end:gs(u.text,s.end,!0)})}deleteNodeRange(u,s,d,f={leadingTriviaOption:1}){const p=Hk(u,s,f),E=kw(u,d,f);this.deleteRange(u,{pos:p,end:E})}deleteNodeRangeExcludingEnd(u,s,d,f={leadingTriviaOption:1}){const p=Hk(u,s,f),E=d===void 0?u.text.length:Hk(u,d,f);this.deleteRange(u,{pos:p,end:E})}replaceRange(u,s,d,f={}){this.changes.push({kind:1,sourceFile:u,range:s,options:f,node:d})}replaceNode(u,s,d,f=ez){this.replaceRange(u,zK(u,s,s,f),d,f)}replaceNodeRange(u,s,d,f,p=ez){this.replaceRange(u,zK(u,s,d,p),f,p)}replaceRangeWithNodes(u,s,d,f={}){this.changes.push({kind:2,sourceFile:u,range:s,options:f,nodes:d})}replaceNodeWithNodes(u,s,d,f=ez){this.replaceRangeWithNodes(u,zK(u,s,s,f),d,f)}replaceNodeWithText(u,s,d){this.replaceRangeWithText(u,zK(u,s,s,ez),d)}replaceNodeRangeWithNodes(u,s,d,f,p=ez){this.replaceRangeWithNodes(u,zK(u,s,d,p),f,p)}nodeHasTrailingComment(u,s,d=ez){return!!lLe(u,s,d)}nextCommaToken(u,s){const d=ib(s,s.parent,u);return d&&d.kind===28?d:void 0}replacePropertyAssignment(u,s,d){const f=this.nextCommaToken(u,s)?"":","+this.newLineCharacter;this.replaceNode(u,s,d,{suffix:f})}insertNodeAt(u,s,d,f={}){this.replaceRange(u,s4(s),d,f)}insertNodesAt(u,s,d,f={}){this.replaceRangeWithNodes(u,s4(s),d,f)}insertNodeAtTopOfFile(u,s,d){this.insertAtTopOfFile(u,s,d)}insertNodesAtTopOfFile(u,s,d){this.insertAtTopOfFile(u,s,d)}insertAtTopOfFile(u,s,d){const f=eYt(u),p={prefix:f===0?void 0:this.newLineCharacter,suffix:(Z1(u.text.charCodeAt(f))?"":this.newLineCharacter)+(d?this.newLineCharacter:"")};Ha(s)?this.insertNodesAt(u,f,s,p):this.insertNodeAt(u,f,s,p)}insertNodesAtEndOfFile(u,s,d){this.insertAtEndOfFile(u,s,d)}insertAtEndOfFile(u,s,d){const f=u.end+1,p={prefix:this.newLineCharacter,suffix:this.newLineCharacter+(d?this.newLineCharacter:"")};this.insertNodesAt(u,f,s,p)}insertStatementsInNewFile(u,s,d){this.newFileChanges||(this.newFileChanges=wm()),this.newFileChanges.add(u,{oldFile:d,statements:s})}insertFirstParameter(u,s,d){const f=Ki(s);f?this.insertNodeBefore(u,f,d):this.insertNodeAt(u,s.pos,d)}insertNodeBefore(u,s,d,f=!1,p={}){this.insertNodeAt(u,Hk(u,s,p),d,this.getOptionsForInsertNodeBefore(s,d,f))}insertNodesBefore(u,s,d,f=!1,p={}){this.insertNodesAt(u,Hk(u,s,p),d,this.getOptionsForInsertNodeBefore(s,Pn(d),f))}insertModifierAt(u,s,d,f={}){this.insertNodeAt(u,s,q.createToken(d),f)}insertModifierBefore(u,s,d){return this.insertModifierAt(u,d.getStart(u),s,{suffix:" "})}insertCommentBeforeLine(u,s,d,f){const p=Mx(s,u),E=bSe(u.text,p),v=Rlt(u,E),b=LM(u,v?E:d),B=u.text.slice(p,E),k=`${v?"":this.newLineCharacter}//${f}${this.newLineCharacter}${B}`;this.insertText(u,b.getStart(u),k)}insertJsdocCommentBefore(u,s,d){const f=s.getStart(u);if(s.jsDoc)for(const v of s.jsDoc)this.deleteRange(u,{pos:tp(v.getStart(u),u),end:kw(u,v,{})});const p=FX(u.text,f-1),E=u.text.slice(p,f);this.insertNodeAt(u,f,d,{suffix:this.newLineCharacter+E})}createJSDocText(u,s){const d=ju(s.jsDoc,p=>Ja(p.comment)?q.createJSDocText(p.comment):p.comment),f=Aa(s.jsDoc);return f&&q4(f.pos,f.end,u)&&S(d)===0?void 0:q.createNodeArray(_e(d,q.createJSDocText(` +`)))}replaceJSDocComment(u,s,d){this.insertJsdocCommentBefore(u,UZt(s),q.createJSDocComment(this.createJSDocText(u,s),q.createNodeArray(d)))}addJSDocTags(u,s,d){const f=Tr(s.jsDoc,E=>E.tags),p=d.filter(E=>!f.some((v,b)=>{const B=qZt(v,E);return B&&(f[b]=B),!!B}));this.replaceJSDocComment(u,s,[...f,...p])}filterJSDocTags(u,s,d){this.replaceJSDocComment(u,s,ti(Tr(s.jsDoc,f=>f.tags),d))}replaceRangeWithText(u,s,d){this.changes.push({kind:3,sourceFile:u,range:s,text:d})}insertText(u,s,d){this.replaceRangeWithText(u,s4(s),d)}tryInsertTypeAnnotation(u,s,d){let f;if(Co(s)){if(f=a0(s,22,u),!f){if(!q0(s))return!1;f=Pn(s.parameters)}}else f=(s.kind===260?s.exclamationToken:s.questionToken)??s.name;return this.insertNodeAt(u,f.end,d,{prefix:": "}),!0}tryInsertThisTypeAnnotation(u,s,d){const f=a0(s,21,u).getStart(u)+1,p=s.parameters.length?", ":"";this.insertNodeAt(u,f,d,{prefix:"this: ",suffix:p})}insertTypeParameters(u,s,d){const f=(a0(s,21,u)||Pn(s.parameters)).getStart(u);this.insertNodesAt(u,f,d,{prefix:"<",suffix:">",joiner:", "})}getOptionsForInsertNodeBefore(u,s,d){return na(u)||Zd(u)?{suffix:d?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:ua(u)?{suffix:", "}:io(u)?io(s)?{suffix:", "}:{}:us(u)&&Sd(u.parent)||uD(u)?{suffix:", "}:bf(u)?{suffix:","+(d?this.newLineCharacter:" ")}:H.failBadSyntaxKind(u)}insertNodeAtConstructorStart(u,s,d){const f=Ki(s.body.statements);!f||!s.body.multiLine?this.replaceConstructorBody(u,s,[d,...s.body.statements]):this.insertNodeBefore(u,f,d)}insertNodeAtConstructorStartAfterSuperCall(u,s,d){const f=Le(s.body.statements,p=>Od(p)&&ik(p.expression));!f||!s.body.multiLine?this.replaceConstructorBody(u,s,[...s.body.statements,d]):this.insertNodeAfter(u,f,d)}insertNodeAtConstructorEnd(u,s,d){const f=qu(s.body.statements);!f||!s.body.multiLine?this.replaceConstructorBody(u,s,[...s.body.statements,d]):this.insertNodeAfter(u,f,d)}replaceConstructorBody(u,s,d){this.replaceNode(u,s.body,q.createBlock(d,!0))}insertNodeAtEndOfScope(u,s,d){const f=Hk(u,s.getLastToken(),{});this.insertNodeAt(u,f,d,{prefix:Z1(u.text.charCodeAt(s.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})}insertMemberAtStart(u,s,d){this.insertNodeAtStartWorker(u,s,d)}insertNodeAtObjectStart(u,s,d){this.insertNodeAtStartWorker(u,s,d)}insertNodeAtStartWorker(u,s,d){const f=this.guessIndentationFromExistingMembers(u,s)??this.computeIndentationForNewMember(u,s);this.insertNodeAt(u,Ipe(s).pos,d,this.getInsertNodeAtStartInsertOptions(u,s,f))}guessIndentationFromExistingMembers(u,s){let d,f=s;for(const p of Ipe(s)){if(Gq(f,p,u))return;const E=p.getStart(u),v=dd.SmartIndenter.findFirstNonWhitespaceColumn(tp(E,u),E,u,this.formatContext.options);if(d===void 0)d=v;else if(v!==d)return;f=p}return d}computeIndentationForNewMember(u,s){const d=s.getStart(u);return dd.SmartIndenter.findFirstNonWhitespaceColumn(tp(d,u),d,u,this.formatContext.options)+(this.formatContext.options.indentSize??4)}getInsertNodeAtStartInsertOptions(u,s,d){const p=Ipe(s).length===0,E=Ip(this.classesWithNodesInsertedAtStart,$s(s),{node:s,sourceFile:u}),v=ys(s)&&(!W4(u)||!p),b=ys(s)&&W4(u)&&p&&!E;return{indentation:d,prefix:(b?",":"")+this.newLineCharacter,suffix:v?",":xh(s)&&p?";":""}}insertNodeAfterComma(u,s,d){const f=this.insertNodeAfterWorker(u,this.nextCommaToken(u,s)||s,d);this.insertNodeAt(u,f,d,this.getInsertNodeAfterOptions(u,s))}insertNodeAfter(u,s,d){const f=this.insertNodeAfterWorker(u,s,d);this.insertNodeAt(u,f,d,this.getInsertNodeAfterOptions(u,s))}insertNodeAtEndOfList(u,s,d){this.insertNodeAt(u,s.end,d,{prefix:", "})}insertNodesAfter(u,s,d){const f=this.insertNodeAfterWorker(u,s,Pn(d));this.insertNodesAt(u,f,d,this.getInsertNodeAfterOptions(u,s))}insertNodeAfterWorker(u,s,d){return tYt(s,d)&&u.text.charCodeAt(s.end-1)!==59&&this.replaceRange(u,s4(s.end),q.createToken(27)),kw(u,s,{})}getInsertNodeAfterOptions(u,s){const d=this.getInsertNodeAfterOptionsWorker(s);return{...d,prefix:s.end===u.end&&na(s)?d.prefix?` ${d.prefix}`:` -`:d.prefix}}getInsertNodeAfterOptionsWorker(u){switch(u.kind){case 263:case 267:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 260:case 11:case 80:return{prefix:", "};case 303:return{suffix:","+this.newLineCharacter};case 95:return{prefix:" "};case 169:return{};default:return H.assert(ia(u)||OU(u)),{suffix:this.newLineCharacter}}}insertName(u,s,d){if(H.assert(!s.name),s.kind===219){const f=a0(s,39,u),p=a0(s,21,u);p?(this.insertNodesAt(u,p.getStart(u),[q.createToken(100),q.createIdentifier(d)],{joiner:" "}),lD(this,u,f)):(this.insertText(u,Pn(s.parameters).getStart(u),`function ${d}(`),this.replaceRange(u,f,q.createToken(22))),s.body.kind!==241&&(this.insertNodesAt(u,s.body.getStart(u),[q.createToken(19),q.createToken(107)],{joiner:" ",suffix:" "}),this.insertNodesAt(u,s.body.end,[q.createToken(27),q.createToken(20)],{joiner:" "}))}else{const f=a0(s,s.kind===218?100:86,u).end;this.insertNodeAt(u,f,q.createIdentifier(d),{prefix:" "})}}insertExportModifier(u,s){this.insertText(u,s.getStart(u),"export ")}insertImportSpecifierAtIndex(u,s,d,f){const p=d.elements[f-1];p?this.insertNodeInListAfter(u,p,s):this.insertNodeBefore(u,d.elements[0],s,!q4(d.elements[0].getStart(),d.parent.parent.getStart(),u))}insertNodeInListAfter(u,s,d,f=dd.SmartIndenter.getContainingList(s,u)){if(!f){H.fail("node is not a list element");return}const p=j8(f,s);if(p<0)return;const E=s.getEnd();if(p!==f.length-1){const v=Ca(u,s.end);if(v&&zpe(s,v)){const b=f[p+1],B=zlt(u.text,b.getFullStart()),k=`${Uo(v.kind)}${u.text.substring(v.end,B)}`;this.insertNodesAt(u,B,[d],{suffix:k})}}else{const v=s.getStart(u),b=tp(v,u);let B,k=!1;if(f.length===1)B=28;else{const T=td(s.pos,u);B=zpe(s,T)?T.kind:28,k=tp(f[p-1].getStart(u),u)!==b}if(JZt(u.text,s.end)&&(k=!0),k){this.replaceRange(u,s4(E),q.createToken(B));const T=dd.SmartIndenter.findFirstNonWhitespaceColumn(b,v,u,this.formatContext.options);let M=gs(u.text,E,!0,!1);for(;M!==E&&Z1(u.text.charCodeAt(M-1));)M--;this.replaceRange(u,s4(M),d,{indentation:T,prefix:this.newLineCharacter})}else this.replaceRange(u,s4(E),d,{prefix:`${Uo(B)} `})}}parenthesizeExpression(u,s){this.replaceRange(u,Tle(s),q.createParenthesizedExpression(s))}finishClassesWithNodesInsertedAtStart(){this.classesWithNodesInsertedAtStart.forEach(({node:u,sourceFile:s})=>{const[d,f]=YZt(u,s);if(d!==void 0&&f!==void 0){const p=Ipe(u).length===0,E=q4(d,f,s);p&&E&&d!==f-1&&this.deleteRange(s,s4(d,f-1)),E&&this.insertText(s,f-1,this.newLineCharacter)}})}finishDeleteDeclarations(){const u=new Set;for(const{sourceFile:s,node:d}of this.deletedNodes)this.deletedNodes.some(f=>f.sourceFile===s&&q9e(f.node,d))||(Ha(d)?this.deleteRange(s,Lle(s,d)):mLe.deleteDeclaration(this,u,s,d));u.forEach(s=>{const d=s.getSourceFile(),f=dd.SmartIndenter.getContainingList(s,d);if(s!==Cr(f))return;const p=Ze(f,E=>!u.has(E),f.length-2);p!==-1&&this.deleteRange(d,{pos:f[p].end,end:cLe(d,f[p+1])})})}getChanges(u){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();const s=Ope.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,u);return this.newFileChanges&&this.newFileChanges.forEach((d,f)=>{s.push(Ope.newFileChanges(f,d,this.newLineCharacter,this.formatContext))}),s}createNewFile(u,s,d){this.insertStatementsInNewFile(s,d,u)}},(t=>{function u(v,b,B,k){return qi(vN(v,T=>T.sourceFile.path),T=>{const M=T[0].sourceFile,z=oc(T,(J,K)=>J.range.pos-K.range.pos||J.range.end-K.range.end);for(let J=0;J`${JSON.stringify(z[J].range)} and ${JSON.stringify(z[J+1].range)}`);const j=qi(z,J=>{const K=qx(J.range),Y=J.kind===1?zn(Wl(J.node))??J.sourceFile:J.kind===2?zn(Wl(J.nodes[0]))??J.sourceFile:J.sourceFile,oe=f(J,Y,M,b,B,k);if(!(K.length===oe.length&&MSe(Y.text,oe,K.start)))return VH(K,oe)});return j.length>0?{fileName:M.fileName,textChanges:j}:void 0})}t.getTextChangesFromChanges=u;function s(v,b,B,k){const T=d(sZ(v),b,B,k);return{fileName:v,textChanges:[VH(d1(0,0),T)],isNewFile:!0}}t.newFileChanges=s;function d(v,b,B,k){const T=ju(b,j=>j.statements.map(J=>J===4?"":E(J,j.oldFile,B).text)).join(B),M=KV("any file name",T,{languageVersion:99,jsDocParsingMode:1},!0,v),z=dd.formatDocument(M,k);return dLe(T,z)+B}t.newFileChangesWorker=d;function f(v,b,B,k,T,M){var z;if(v.kind===0)return"";if(v.kind===3)return v.text;const{options:j={},range:{pos:J}}=v,K=se=>p(se,b,B,J,j,k,T,M),Y=v.kind===2?v.nodes.map(se=>D8(K(se),k)).join(((z=v.options)==null?void 0:z.joiner)||k):K(v.node),oe=j.indentation!==void 0||tp(J,b)===J?Y:Y.replace(/^\s+/,"");return(j.prefix||"")+oe+(!j.suffix||sc(oe,j.suffix)?"":j.suffix)}function p(v,b,B,k,{indentation:T,prefix:M,delta:z},j,J,K){const{node:Y,text:oe}=E(v,b,j);K&&K(Y,oe);const se=jX(J,b),ge=T!==void 0?T:dd.SmartIndenter.getIndentation(k,B,se,M===j||tp(k,b)===k);z===void 0&&(z=dd.SmartIndenter.shouldIndentChildNode(se,v)&&se.indentSize||0);const ae={text:oe,getLineAndCharacterOfPosition(ne){return s0(this,ne)}},Ce=dd.formatNodeGivenIndentation(Y,ae,b.languageVariant,ge,z,{...J,options:se});return dLe(oe,Ce)}function E(v,b,B){const k=Ilt(B),T=eK(B);return Gv({newLine:T,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},k).writeNode(4,v,b,k),{text:k.getText(),node:Rpe(v)}}t.getNonformattedText=E})(Ope||(Ope={})),jlt={...Dg,factory:mV(Dg.factory.flags|1,Dg.factory.baseFactory)},(t=>{function u(p,E,v,b){switch(b.kind){case 169:{const z=b.parent;q0(z)&&z.parameters.length===1&&!a0(z,21,v)?p.replaceNodeWithText(v,b,"()"):IK(p,E,v,b);break}case 272:case 271:const B=v.imports.length&&b===Pn(v.imports).parent||b===Le(v.statements,tk);lD(p,v,b,{leadingTriviaOption:B?0:lm(b)?2:3});break;case 208:const k=b.parent;k.kind===207&&b!==Cr(k.elements)?lD(p,v,b):IK(p,E,v,b);break;case 260:f(p,E,v,b);break;case 168:IK(p,E,v,b);break;case 276:const M=b.parent;M.elements.length===1?d(p,v,M):IK(p,E,v,b);break;case 274:d(p,v,b);break;case 27:lD(p,v,b,{trailingTriviaOption:0});break;case 100:lD(p,v,b,{leadingTriviaOption:0});break;case 263:case 262:lD(p,v,b,{leadingTriviaOption:lm(b)?2:3});break;default:b.parent?n_(b.parent)&&b.parent.name===b?s(p,v,b.parent):Mo(b.parent)&&kt(b.parent.arguments,b)?IK(p,E,v,b):lD(p,v,b):lD(p,v,b)}}t.deleteDeclaration=u;function s(p,E,v){if(!v.namedBindings)lD(p,E,v.parent);else{const b=v.name.getStart(E),B=Ca(E,v.name.end);if(B&&B.kind===28){const k=gs(E.text,B.end,!1,!0);p.deleteRange(E,{pos:b,end:k})}else lD(p,E,v.name)}}function d(p,E,v){if(v.parent.name){const b=H.checkDefined(Ca(E,v.pos-1));p.deleteRange(E,{pos:b.getStart(E),end:v.end})}else{const b=Fv(v,272);lD(p,E,b)}}function f(p,E,v,b){const{parent:B}=b;if(B.kind===299){p.deleteNodeRange(v,a0(B,21,v),a0(B,22,v));return}if(B.declarations.length!==1){IK(p,E,v,b);return}const k=B.parent;switch(k.kind){case 250:case 249:p.replaceNode(v,b,q.createObjectLiteralExpression());break;case 248:lD(p,v,B);break;case 243:lD(p,v,k,{leadingTriviaOption:lm(k)?2:3});break;default:H.assertNever(k)}}})(mLe||(mLe={}))}}),iu={};h(iu,{ChangeTracker:()=>Olt,LeadingTriviaOption:()=>hLe,TrailingTriviaOption:()=>fLe,applyChanges:()=>dLe,assignPositionsToNode:()=>Rpe,createWriter:()=>Ilt,deleteNode:()=>lD,isThisTypeAnnotatable:()=>$Zt,isValidLocationToAddComment:()=>Rlt});var nYt=o({"src/services/_namespaces/ts.textChanges.ts"(){iYt()}}),pLe,gLe,uYt=o({"src/services/formatting/formattingContext.ts"(){rr(),pLe=(t=>(t[t.FormatDocument=0]="FormatDocument",t[t.FormatSelection=1]="FormatSelection",t[t.FormatOnEnter=2]="FormatOnEnter",t[t.FormatOnSemicolon=3]="FormatOnSemicolon",t[t.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",t[t.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace",t))(pLe||{}),gLe=class{constructor(t,u,s){this.sourceFile=t,this.formattingRequestKind=u,this.options=s}updateContext(t,u,s,d,f){this.currentTokenSpan=H.checkDefined(t),this.currentTokenParent=H.checkDefined(u),this.nextTokenSpan=H.checkDefined(s),this.nextTokenParent=H.checkDefined(d),this.contextNode=H.checkDefined(f),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0}ContextNodeAllOnSameLine(){return this.contextNodeAllOnSameLine===void 0&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine}NextNodeAllOnSameLine(){return this.nextNodeAllOnSameLine===void 0&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine}TokensAreOnSameLine(){if(this.tokensAreOnSameLine===void 0){const t=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,u=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=t===u}return this.tokensAreOnSameLine}ContextNodeBlockIsOnOneLine(){return this.contextNodeBlockIsOnOneLine===void 0&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine}NextNodeBlockIsOnOneLine(){return this.nextNodeBlockIsOnOneLine===void 0&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine}NodeIsOnOneLine(t){const u=this.sourceFile.getLineAndCharacterOfPosition(t.getStart(this.sourceFile)).line,s=this.sourceFile.getLineAndCharacterOfPosition(t.getEnd()).line;return u===s}BlockIsOnOneLine(t){const u=a0(t,19,this.sourceFile),s=a0(t,20,this.sourceFile);if(u&&s){const d=this.sourceFile.getLineAndCharacterOfPosition(u.getEnd()).line,f=this.sourceFile.getLineAndCharacterOfPosition(s.getStart(this.sourceFile)).line;return d===f}return!1}}}});function ELe(t,u,s,d,f){const p=u===1?Hlt:Vlt;p.setText(t),p.resetTokenState(s);let E=!0,v,b,B,k,T;const M=f({advance:z,readTokenInfo:ae,readEOFTokenRange:ne,isOnToken:ve,isOnEOF:Se,getCurrentLeadingTrivia:()=>v,lastTrailingTriviaWasNewLine:()=>E,skipToEndOf:pe,skipToStartOf:fe,getTokenFullStart:()=>(T==null?void 0:T.token.pos)??p.getTokenStart(),getStartPos:()=>(T==null?void 0:T.token.pos)??p.getTokenStart()});return T=void 0,p.setText(void 0),M;function z(){T=void 0,p.getTokenFullStart()!==s?E=!!b&&Cr(b).kind===4:p.scan(),v=void 0,b=void 0;let Be=p.getTokenFullStart();for(;Be(t[t.None=0]="None",t[t.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",t[t.StopProcessingTokenActions=2]="StopProcessingTokenActions",t[t.InsertSpace=4]="InsertSpace",t[t.InsertNewLine=8]="InsertNewLine",t[t.DeleteSpace=16]="DeleteSpace",t[t.DeleteToken=32]="DeleteToken",t[t.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",t[t.StopAction=3]="StopAction",t[t.ModifySpaceAction=28]="ModifySpaceAction",t[t.ModifyTokenAction=96]="ModifyTokenAction",t))(_Le||{}),DLe=(t=>(t[t.None=0]="None",t[t.CanDeleteNewLines=1]="CanDeleteNewLines",t))(DLe||{})}});function Klt(){const t=[];for(let Ce=0;Ce<=165;Ce++)Ce!==1&&t.push(Ce);function u(...Ce){return{tokens:t.filter(ne=>!Ce.some(ve=>ve===ne)),isSpecific:!1}}const s={tokens:t,isSpecific:!1},d=tz([...t,3]),f=tz([...t,1]),p=Glt(83,165),E=Glt(30,79),v=[103,104,165,130,142,152],b=[46,47,55,54],B=[9,10,80,21,23,19,110,105],k=[80,21,110,105],T=[80,22,24,105],M=[80,21,110,105],z=[80,22,24,105],j=[2,3],J=[80,...HX],K=d,Y=tz([80,3,86,95,102]),oe=tz([22,3,92,113,98,93]),se=[Ju("IgnoreBeforeComment",s,j,Kee,1),Ju("IgnoreAfterLineComment",2,s,Kee,1),Ju("NotSpaceBeforeColon",s,59,[ea,Wee,Ult],16),Ju("SpaceAfterColon",59,s,[ea,Wee,bYt],4),Ju("NoSpaceBeforeQuestionMark",s,58,[ea,Wee,Ult],16),Ju("SpaceAfterQuestionMarkInConditionalOperator",58,s,[ea,cYt],4),Ju("NoSpaceAfterQuestionMark",58,s,[ea,lYt],16),Ju("NoSpaceBeforeDot",s,[25,29],[ea,zYt],16),Ju("NoSpaceAfterDot",[25,29],s,[ea],16),Ju("NoSpaceBetweenImportParenInImportType",102,21,[ea,vYt],16),Ju("NoSpaceAfterUnaryPrefixOperator",b,B,[ea,Wee],16),Ju("NoSpaceAfterUnaryPreincrementOperator",46,k,[ea],16),Ju("NoSpaceAfterUnaryPredecrementOperator",47,M,[ea],16),Ju("NoSpaceBeforeUnaryPostincrementOperator",T,46,[ea,cct],16),Ju("NoSpaceBeforeUnaryPostdecrementOperator",z,47,[ea,cct],16),Ju("SpaceAfterPostincrementWhenFollowedByAdd",46,40,[ea,Qx],4),Ju("SpaceAfterAddWhenFollowedByUnaryPlus",40,40,[ea,Qx],4),Ju("SpaceAfterAddWhenFollowedByPreincrement",40,46,[ea,Qx],4),Ju("SpaceAfterPostdecrementWhenFollowedBySubtract",47,41,[ea,Qx],4),Ju("SpaceAfterSubtractWhenFollowedByUnaryMinus",41,41,[ea,Qx],4),Ju("SpaceAfterSubtractWhenFollowedByPredecrement",41,47,[ea,Qx],4),Ju("NoSpaceAfterCloseBrace",20,[28,27],[ea],16),Ju("NewLineBeforeCloseBraceInBlockContext",d,20,[Zlt],8),Ju("SpaceAfterCloseBrace",20,u(22),[ea,fYt],4),Ju("SpaceBetweenCloseBraceAndElse",20,93,[ea],4),Ju("SpaceBetweenCloseBraceAndWhile",20,117,[ea],4),Ju("NoSpaceBetweenEmptyBraceBrackets",19,20,[ea,ict],16),Ju("SpaceAfterConditionalClosingParen",22,23,[Gee],4),Ju("NoSpaceBetweenFunctionKeywordAndStar",100,42,[Xlt],16),Ju("SpaceAfterStarInGeneratorDeclaration",42,80,[Xlt],4),Ju("SpaceAfterFunctionInFuncDecl",100,s,[Kk],4),Ju("NewLineAfterOpenBraceInBlockContext",19,s,[Zlt],8),Ju("SpaceAfterGetSetInMember",[139,153],80,[Kk],4),Ju("NoSpaceBetweenYieldKeywordAndStar",127,42,[ea,lct],16),Ju("SpaceBetweenYieldOrYieldStarAndOperand",[127,42],s,[ea,lct],4),Ju("NoSpaceBetweenReturnAndSemicolon",107,27,[ea],16),Ju("SpaceAfterCertainKeywords",[115,111,105,91,107,114,135],s,[ea],4),Ju("SpaceAfterLetConstInVariableDeclaration",[121,87],s,[ea,FYt],4),Ju("NoSpaceBeforeOpenParenInFuncCall",s,21,[ea,gYt,EYt],16),Ju("SpaceBeforeBinaryKeywordOperator",s,v,[ea,Qx],4),Ju("SpaceAfterBinaryKeywordOperator",v,s,[ea,Qx],4),Ju("SpaceAfterVoidOperator",116,s,[ea,TYt],4),Ju("SpaceBetweenAsyncAndOpenParen",134,21,[xYt,ea],4),Ju("SpaceBetweenAsyncAndFunctionKeyword",134,[100,80],[ea],4),Ju("NoSpaceBetweenTagAndTemplateString",[80,22],[15,16],[ea],16),Ju("SpaceBeforeJsxAttribute",s,80,[CYt,ea],4),Ju("SpaceBeforeSlashInJsxOpeningElement",s,44,[act,ea],4),Ju("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",44,32,[act,ea],16),Ju("NoSpaceBeforeEqualInJsxAttribute",s,64,[uct,ea],16),Ju("NoSpaceAfterEqualInJsxAttribute",64,s,[uct,ea],16),Ju("NoSpaceBeforeJsxNamespaceColon",80,59,[rct],16),Ju("NoSpaceAfterJsxNamespaceColon",59,80,[rct],16),Ju("NoSpaceAfterModuleImport",[144,149],21,[ea],16),Ju("SpaceAfterCertainTypeScriptKeywords",[128,129,86,138,90,94,95,96,139,119,102,120,144,145,123,125,124,148,153,126,156,161,143,140],s,[ea],4),Ju("SpaceBeforeCertainTypeScriptKeywords",s,[96,119,161],[ea],4),Ju("SpaceAfterModuleName",11,19,[AYt],4),Ju("SpaceBeforeArrow",s,39,[ea],4),Ju("SpaceAfterArrow",39,s,[ea],4),Ju("NoSpaceAfterEllipsis",26,80,[ea],16),Ju("NoSpaceAfterOptionalParameters",58,[22,28],[ea,Wee],16),Ju("NoSpaceBetweenEmptyInterfaceBraceBrackets",19,20,[ea,SYt],16),Ju("NoSpaceBeforeOpenAngularBracket",J,30,[ea,Jee],16),Ju("NoSpaceBetweenCloseParenAndAngularBracket",22,30,[ea,Jee],16),Ju("NoSpaceAfterOpenAngularBracket",30,s,[ea,Jee],16),Ju("NoSpaceBeforeCloseAngularBracket",s,32,[ea,Jee],16),Ju("NoSpaceAfterCloseAngularBracket",32,[21,23,32,28],[ea,Jee,hYt,wYt],16),Ju("SpaceBeforeAt",[22,80],60,[ea],4),Ju("NoSpaceAfterAt",60,s,[ea],16),Ju("SpaceAfterDecorator",s,[128,80,95,90,86,126,125,123,124,139,153,23,42],[kYt],4),Ju("NoSpaceBeforeNonNullAssertionOperator",s,54,[ea,LYt],16),Ju("NoSpaceAfterNewKeywordOnConstructorSignature",105,21,[ea,BYt],16),Ju("SpaceLessThanAndNonJSXTypeAnnotation",30,30,[ea],4)],ge=[Ju("SpaceAfterConstructor",137,21,[Wm("insertSpaceAfterConstructor"),ea],4),Ju("NoSpaceAfterConstructor",137,21,[dE("insertSpaceAfterConstructor"),ea],16),Ju("SpaceAfterComma",28,s,[Wm("insertSpaceAfterCommaDelimiter"),ea,FLe,_Yt,DYt],4),Ju("NoSpaceAfterComma",28,s,[dE("insertSpaceAfterCommaDelimiter"),ea,FLe],16),Ju("SpaceAfterAnonymousFunctionKeyword",[100,42],21,[Wm("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),Kk],4),Ju("NoSpaceAfterAnonymousFunctionKeyword",[100,42],21,[dE("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),Kk],16),Ju("SpaceAfterKeywordInControl",p,21,[Wm("insertSpaceAfterKeywordsInControlFlowStatements"),Gee],4),Ju("NoSpaceAfterKeywordInControl",p,21,[dE("insertSpaceAfterKeywordsInControlFlowStatements"),Gee],16),Ju("SpaceAfterOpenParen",21,s,[Wm("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ea],4),Ju("SpaceBeforeCloseParen",s,22,[Wm("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ea],4),Ju("SpaceBetweenOpenParens",21,21,[Wm("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ea],4),Ju("NoSpaceBetweenParens",21,22,[ea],16),Ju("NoSpaceAfterOpenParen",21,s,[dE("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ea],16),Ju("NoSpaceBeforeCloseParen",s,22,[dE("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ea],16),Ju("SpaceAfterOpenBracket",23,s,[Wm("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ea],4),Ju("SpaceBeforeCloseBracket",s,24,[Wm("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ea],4),Ju("NoSpaceBetweenBrackets",23,24,[ea],16),Ju("NoSpaceAfterOpenBracket",23,s,[dE("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ea],16),Ju("NoSpaceBeforeCloseBracket",s,24,[dE("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ea],16),Ju("SpaceAfterOpenBrace",19,s,[$lt("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),qlt],4),Ju("SpaceBeforeCloseBrace",s,20,[$lt("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),qlt],4),Ju("NoSpaceBetweenEmptyBraceBrackets",19,20,[ea,ict],16),Ju("NoSpaceAfterOpenBrace",19,s,[xLe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),ea],16),Ju("NoSpaceBeforeCloseBrace",s,20,[xLe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),ea],16),Ju("SpaceBetweenEmptyBraceBrackets",19,20,[Wm("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),Ju("NoSpaceBetweenEmptyBraceBrackets",19,20,[xLe("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),ea],16),Ju("SpaceAfterTemplateHeadAndMiddle",[16,17],s,[Wm("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),nct],4,1),Ju("SpaceBeforeTemplateMiddleAndTail",s,[17,18],[Wm("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),ea],4),Ju("NoSpaceAfterTemplateHeadAndMiddle",[16,17],s,[dE("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),nct],16,1),Ju("NoSpaceBeforeTemplateMiddleAndTail",s,[17,18],[dE("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),ea],16),Ju("SpaceAfterOpenBraceInJsxExpression",19,s,[Wm("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ea,Vpe],4),Ju("SpaceBeforeCloseBraceInJsxExpression",s,20,[Wm("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ea,Vpe],4),Ju("NoSpaceAfterOpenBraceInJsxExpression",19,s,[dE("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ea,Vpe],16),Ju("NoSpaceBeforeCloseBraceInJsxExpression",s,20,[dE("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ea,Vpe],16),Ju("SpaceAfterSemicolonInFor",27,s,[Wm("insertSpaceAfterSemicolonInForStatements"),ea,CLe],4),Ju("NoSpaceAfterSemicolonInFor",27,s,[dE("insertSpaceAfterSemicolonInForStatements"),ea,CLe],16),Ju("SpaceBeforeBinaryOperator",s,E,[Wm("insertSpaceBeforeAndAfterBinaryOperators"),ea,Qx],4),Ju("SpaceAfterBinaryOperator",E,s,[Wm("insertSpaceBeforeAndAfterBinaryOperators"),ea,Qx],4),Ju("NoSpaceBeforeBinaryOperator",s,E,[dE("insertSpaceBeforeAndAfterBinaryOperators"),ea,Qx],16),Ju("NoSpaceAfterBinaryOperator",E,s,[dE("insertSpaceBeforeAndAfterBinaryOperators"),ea,Qx],16),Ju("SpaceBeforeOpenParenInFuncDecl",s,21,[Wm("insertSpaceBeforeFunctionParenthesis"),ea,Kk],4),Ju("NoSpaceBeforeOpenParenInFuncDecl",s,21,[dE("insertSpaceBeforeFunctionParenthesis"),ea,Kk],16),Ju("NewLineBeforeOpenBraceInControl",oe,19,[Wm("placeOpenBraceOnNewLineForControlBlocks"),Gee,kLe],8,1),Ju("NewLineBeforeOpenBraceInFunction",K,19,[Wm("placeOpenBraceOnNewLineForFunctions"),Kk,kLe],8,1),Ju("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",Y,19,[Wm("placeOpenBraceOnNewLineForFunctions"),ect,kLe],8,1),Ju("SpaceAfterTypeAssertion",32,s,[Wm("insertSpaceAfterTypeAssertion"),ea,SLe],4),Ju("NoSpaceAfterTypeAssertion",32,s,[dE("insertSpaceAfterTypeAssertion"),ea,SLe],16),Ju("SpaceBeforeTypeAnnotation",s,[58,59],[Wm("insertSpaceBeforeTypeAnnotation"),ea,bLe],4),Ju("NoSpaceBeforeTypeAnnotation",s,[58,59],[dE("insertSpaceBeforeTypeAnnotation"),ea,bLe],16),Ju("NoOptionalSemicolon",27,f,[Jlt("semicolons","remove"),PYt],32),Ju("OptionalSemicolon",s,f,[Jlt("semicolons","insert"),MYt],64)],ae=[Ju("NoSpaceBeforeSemicolon",s,27,[ea],16),Ju("SpaceBeforeOpenBraceInControl",oe,19,[vLe("placeOpenBraceOnNewLineForControlBlocks"),Gee,ALe,yLe],4,1),Ju("SpaceBeforeOpenBraceInFunction",K,19,[vLe("placeOpenBraceOnNewLineForFunctions"),Kk,jpe,ALe,yLe],4,1),Ju("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",Y,19,[vLe("placeOpenBraceOnNewLineForFunctions"),ect,ALe,yLe],4,1),Ju("NoSpaceBeforeComma",s,28,[ea],16),Ju("NoSpaceBeforeOpenBracket",u(134,84),23,[ea],16),Ju("NoSpaceAfterCloseBracket",24,s,[ea,yYt],16),Ju("SpaceAfterSemicolon",27,s,[ea],4),Ju("SpaceBetweenForAndAwaitKeyword",99,135,[ea],4),Ju("SpaceBetweenStatements",[22,92,93,84],s,[ea,FLe,oYt],4),Ju("SpaceAfterTryCatchFinally",[113,85,98],19,[ea],4)];return[...se,...ge,...ae]}function Ju(t,u,s,d,f,p=0){return{leftTokenRange:Wlt(u),rightTokenRange:Wlt(s),rule:{debugName:t,context:d,action:f,flags:p}}}function tz(t){return{tokens:t,isSpecific:!0}}function Wlt(t){return typeof t=="number"?tz([t]):Ha(t)?tz(t):t}function Glt(t,u,s=[]){const d=[];for(let f=t;f<=u;f++)kt(s,f)||d.push(f);return tz(d)}function Jlt(t,u){return s=>s.options&&s.options[t]===u}function Wm(t){return u=>u.options&&gu(u.options,t)&&!!u.options[t]}function xLe(t){return u=>u.options&&gu(u.options,t)&&!u.options[t]}function dE(t){return u=>!u.options||!gu(u.options,t)||!u.options[t]}function vLe(t){return u=>!u.options||!gu(u.options,t)||!u.options[t]||u.TokensAreOnSameLine()}function $lt(t){return u=>!u.options||!gu(u.options,t)||!!u.options[t]}function CLe(t){return t.contextNode.kind===248}function oYt(t){return!CLe(t)}function Qx(t){switch(t.contextNode.kind){case 226:return t.contextNode.operatorToken.kind!==28;case 227:case 194:case 234:case 281:case 276:case 182:case 192:case 193:case 238:return!0;case 208:case 265:case 271:case 277:case 260:case 169:case 306:case 172:case 171:return t.currentTokenSpan.kind===64||t.nextTokenSpan.kind===64;case 249:case 168:return t.currentTokenSpan.kind===103||t.nextTokenSpan.kind===103||t.currentTokenSpan.kind===64||t.nextTokenSpan.kind===64;case 250:return t.currentTokenSpan.kind===165||t.nextTokenSpan.kind===165}return!1}function Wee(t){return!Qx(t)}function Ult(t){return!bLe(t)}function bLe(t){const u=t.contextNode.kind;return u===172||u===171||u===169||u===260||a7(u)}function sYt(t){return ko(t.contextNode)&&t.contextNode.questionToken}function lYt(t){return!sYt(t)}function cYt(t){return t.contextNode.kind===227||t.contextNode.kind===194}function yLe(t){return t.TokensAreOnSameLine()||jpe(t)}function qlt(t){return t.contextNode.kind===206||t.contextNode.kind===200||dYt(t)}function kLe(t){return jpe(t)&&!(t.NextNodeAllOnSameLine()||t.NextNodeBlockIsOnOneLine())}function Zlt(t){return Ylt(t)&&!(t.ContextNodeAllOnSameLine()||t.ContextNodeBlockIsOnOneLine())}function dYt(t){return Ylt(t)&&(t.ContextNodeAllOnSameLine()||t.ContextNodeBlockIsOnOneLine())}function Ylt(t){return Qlt(t.contextNode)}function jpe(t){return Qlt(t.nextTokenParent)}function Qlt(t){if(tct(t))return!0;switch(t.kind){case 241:case 269:case 210:case 268:return!0}return!1}function Kk(t){switch(t.contextNode.kind){case 262:case 174:case 173:case 177:case 178:case 179:case 218:case 176:case 219:case 264:return!0}return!1}function hYt(t){return!Kk(t)}function Xlt(t){return t.contextNode.kind===262||t.contextNode.kind===218}function ect(t){return tct(t.contextNode)}function tct(t){switch(t.kind){case 263:case 231:case 264:case 266:case 187:case 267:case 278:case 279:case 272:case 275:return!0}return!1}function fYt(t){switch(t.currentTokenParent.kind){case 263:case 267:case 266:case 299:case 268:case 255:return!0;case 241:{const u=t.currentTokenParent.parent;if(!u||u.kind!==219&&u.kind!==218)return!0}}return!1}function Gee(t){switch(t.contextNode.kind){case 245:case 255:case 248:case 249:case 250:case 247:case 258:case 246:case 254:case 299:return!0;default:return!1}}function ict(t){return t.contextNode.kind===210}function mYt(t){return t.contextNode.kind===213}function pYt(t){return t.contextNode.kind===214}function gYt(t){return mYt(t)||pYt(t)}function EYt(t){return t.currentTokenSpan.kind!==28}function _Yt(t){return t.nextTokenSpan.kind!==24}function DYt(t){return t.nextTokenSpan.kind!==22}function xYt(t){return t.contextNode.kind===219}function vYt(t){return t.contextNode.kind===205}function ea(t){return t.TokensAreOnSameLine()&&t.contextNode.kind!==12}function nct(t){return t.contextNode.kind!==12}function FLe(t){return t.contextNode.kind!==284&&t.contextNode.kind!==288}function Vpe(t){return t.contextNode.kind===294||t.contextNode.kind===293}function CYt(t){return t.nextTokenParent.kind===291||t.nextTokenParent.kind===295&&t.nextTokenParent.parent.kind===291}function uct(t){return t.contextNode.kind===291}function bYt(t){return t.nextTokenParent.kind!==295}function rct(t){return t.nextTokenParent.kind===295}function act(t){return t.contextNode.kind===285}function yYt(t){return!Kk(t)&&!jpe(t)}function kYt(t){return t.TokensAreOnSameLine()&&o4(t.contextNode)&&oct(t.currentTokenParent)&&!oct(t.nextTokenParent)}function oct(t){for(;t&&Wt(t);)t=t.parent;return t&&t.kind===170}function FYt(t){return t.currentTokenParent.kind===261&&t.currentTokenParent.getStart(t.sourceFile)===t.currentTokenSpan.pos}function ALe(t){return t.formattingRequestKind!==2}function AYt(t){return t.contextNode.kind===267}function SYt(t){return t.contextNode.kind===187}function BYt(t){return t.contextNode.kind===180}function sct(t,u){if(t.kind!==30&&t.kind!==32)return!1;switch(u.kind){case 183:case 216:case 265:case 263:case 231:case 264:case 262:case 218:case 219:case 174:case 173:case 179:case 180:case 213:case 214:case 233:return!0;default:return!1}}function Jee(t){return sct(t.currentTokenSpan,t.currentTokenParent)||sct(t.nextTokenSpan,t.nextTokenParent)}function SLe(t){return t.contextNode.kind===216}function wYt(t){return!SLe(t)}function TYt(t){return t.currentTokenSpan.kind===116&&t.currentTokenParent.kind===222}function lct(t){return t.contextNode.kind===229&&t.contextNode.expression!==void 0}function LYt(t){return t.contextNode.kind===235}function cct(t){return!NYt(t)}function NYt(t){switch(t.contextNode.kind){case 245:case 248:case 249:case 250:case 246:case 247:return!0;default:return!1}}function PYt(t){let u=t.nextTokenSpan.kind,s=t.nextTokenSpan.pos;if(nB(u)){const p=t.nextTokenParent===t.currentTokenParent?ib(t.currentTokenParent,Tn(t.currentTokenParent,E=>!E.parent),t.sourceFile):t.nextTokenParent.getFirstToken(t.sourceFile);if(!p)return!0;u=p.kind,s=p.getStart(t.sourceFile)}const d=t.sourceFile.getLineAndCharacterOfPosition(t.currentTokenSpan.pos).line,f=t.sourceFile.getLineAndCharacterOfPosition(s).line;return d===f?u===20||u===1:u===240||u===27?!1:t.contextNode.kind===264||t.contextNode.kind===265?!Mm(t.currentTokenParent)||!!t.currentTokenParent.type||u!==21:ko(t.currentTokenParent)?!t.currentTokenParent.initializer:t.currentTokenParent.kind!==248&&t.currentTokenParent.kind!==242&&t.currentTokenParent.kind!==240&&u!==23&&u!==21&&u!==40&&u!==41&&u!==44&&u!==14&&u!==28&&u!==228&&u!==16&&u!==15&&u!==25}function MYt(t){return TX(t.currentTokenSpan.end,t.currentTokenParent,t.sourceFile)}function zYt(t){return!Iu(t.contextNode)||!Of(t.contextNode.expression)||t.contextNode.expression.getText().includes(".")}var IYt=o({"src/services/formatting/rules.ts"(){rr(),jK()}});function RYt(t,u){return{options:t,getRules:OYt(),host:u}}function OYt(){return BLe===void 0&&(BLe=VYt(Klt())),BLe}function jYt(t){let u=0;return t&1&&(u|=28),t&2&&(u|=96),t&28&&(u|=28),t&96&&(u|=96),u}function VYt(t){const u=HYt(t);return s=>{const d=u[dct(s.currentTokenSpan.kind,s.nextTokenSpan.kind)];if(d){const f=[];let p=0;for(const E of d){const v=~jYt(p);E.action&v&&ye(E.context,b=>b(s))&&(f.push(E),p|=E.action)}if(f.length)return f}}}function HYt(t){const u=new Array(Hpe*Hpe),s=new Array(u.length);for(const d of t){const f=d.leftTokenRange.isSpecific&&d.rightTokenRange.isSpecific;for(const p of d.leftTokenRange.tokens)for(const E of d.rightTokenRange.tokens){const v=dct(p,E);let b=u[v];b===void 0&&(b=u[v]=[]),KYt(b,d.rule,f,s,v)}}return u}function dct(t,u){return H.assert(t<=165&&u<=165,"Must compute formatting context from tokens"),t*Hpe+u}function KYt(t,u,s,d,f){const p=u.action&3?s?0:iz.StopRulesAny:u.context!==Kee?s?iz.ContextRulesSpecific:iz.ContextRulesAny:s?iz.NoContextRulesSpecific:iz.NoContextRulesAny,E=d[f]||0;t.splice(WYt(E,p),0,u),d[f]=GYt(E,p)}function WYt(t,u){let s=0;for(let d=0;d<=u;d+=Fw)s+=t&$ee,t>>=Fw;return s}function GYt(t,u){const s=(t>>u&$ee)+1;return H.assert((s&$ee)===s,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),t&~($ee<(t[t.StopRulesSpecific=0]="StopRulesSpecific",t[t.StopRulesAny=Fw*1]="StopRulesAny",t[t.ContextRulesSpecific=Fw*2]="ContextRulesSpecific",t[t.ContextRulesAny=Fw*3]="ContextRulesAny",t[t.NoContextRulesSpecific=Fw*4]="NoContextRulesSpecific",t[t.NoContextRulesAny=Fw*5]="NoContextRulesAny",t))(iz||{})}});function Kpe(t,u,s){const d={pos:t,end:u,kind:s};return H.isDebugging&&Object.defineProperty(d,"__debugKind",{get:()=>H.formatSyntaxKind(s)}),d}function $Yt(t,u,s){const d=u.getLineAndCharacterOfPosition(t).line;if(d===0)return[];let f=uj(d,u);for(;qg(u.text.charCodeAt(f));)f--;Z1(u.text.charCodeAt(f))&&f--;const p={pos:Mx(d-1,u),end:f+1};return Uee(p,u,s,2)}function UYt(t,u,s){const d=wLe(t,27,u);return hct(TLe(d),u,s,3)}function qYt(t,u,s){const d=wLe(t,19,u);if(!d)return[];const f=d.parent,p=TLe(f),E={pos:tp(p.getStart(u),u),end:t};return Uee(E,u,s,4)}function ZYt(t,u,s){const d=wLe(t,20,u);return hct(TLe(d),u,s,5)}function YYt(t,u){const s={pos:0,end:t.text.length};return Uee(s,t,u,0)}function QYt(t,u,s,d){const f={pos:tp(t,s),end:u};return Uee(f,s,d,1)}function wLe(t,u,s){const d=td(t,s);return d&&d.kind===u&&t===d.getEnd()?d:void 0}function TLe(t){let u=t;for(;u&&u.parent&&u.parent.end===t.end&&!XYt(u.parent,u);)u=u.parent;return u}function XYt(t,u){switch(t.kind){case 263:case 264:return Vm(t.members,u);case 267:const s=t.body;return!!s&&s.kind===268&&Vm(s.statements,u);case 312:case 241:case 268:return Vm(t.statements,u);case 299:return Vm(t.block.statements,u)}return!1}function eQt(t,u){return s(u);function s(d){const f=ao(d,p=>Khe(p.getStart(u),p.end,t)&&p);if(f){const p=s(f);if(p)return p}return d}}function tQt(t,u){if(!t.length)return f;const s=t.filter(p=>TM(u,p.start,p.start+p.length)).sort((p,E)=>p.start-E.start);if(!s.length)return f;let d=0;return p=>{for(;;){if(d>=s.length)return!1;const E=s[d];if(p.end<=E.start)return!1;if(aX(p.pos,p.end,E.start,E.start+E.length))return!0;d++}};function f(){return!1}}function iQt(t,u,s){const d=t.getStart(s);if(d===u.pos&&t.end===u.end)return d;const f=td(u.pos,s);return!f||f.end>=u.pos?t.pos:f.end}function nQt(t,u,s){let d=-1,f;for(;t;){const p=s.getLineAndCharacterOfPosition(t.getStart(s)).line;if(d!==-1&&p!==d)break;if(hE.shouldIndentChildNode(u,t,f,s))return u.indentSize;d=p,f=t,t=t.parent}return 0}function uQt(t,u,s,d,f,p){const E={pos:t.pos,end:t.end};return ELe(u.text,s,E.pos,E.end,v=>fct(E,t,d,f,v,p,1,b=>!1,u))}function hct(t,u,s,d){if(!t)return[];const f={pos:tp(t.getStart(u),u),end:t.end};return Uee(f,u,s,d)}function Uee(t,u,s,d){const f=eQt(t,u);return ELe(u.text,u.languageVariant,iQt(f,t,u),t.end,p=>fct(t,f,hE.getIndentationForNode(f,t,u,s.options),nQt(f,s.options,u),p,s,d,tQt(u.parseDiagnostics,t),u))}function fct(t,u,s,d,f,{options:p,getRules:E,host:v},b,B,k){var T;const M=new gLe(k,b,p);let z,j,J,K,Y,oe=-1;const se=[];if(f.advance(),f.isOnToken()){const Ie=k.getLineAndCharacterOfPosition(u.getStart(k)).line;let st=Ie;o4(u)&&(st=k.getLineAndCharacterOfPosition(d0e(u,k)).line),Se(u,u,Ie,st,s,d)}const ge=f.getCurrentLeadingTrivia();if(ge){const Ie=hE.nodeWillIndentChild(p,u,void 0,k,!1)?s+p.indentSize:s;Ne(ge,Ie,!0,st=>{fe(st,k.getLineAndCharacterOfPosition(st.pos),u,u,void 0),Be(st.pos,Ie,!1)}),p.trimTrailingWhitespace!==!1&&ft(ge)}if(j&&f.getTokenFullStart()>=t.end){const Ie=f.isOnEOF()?f.readEOFTokenRange():f.isOnToken()?f.readTokenInfo(u).token:void 0;if(Ie&&Ie.pos===z){const st=((T=td(Ie.end,k,u))==null?void 0:T.parent)||J;xe(Ie,k.getLineAndCharacterOfPosition(Ie.pos).line,st,j,K,J,st,void 0)}}return se;function ae(Ie,st,St,It,ei){if(TM(It,Ie,st)||IH(It,Ie,st)){if(ei!==-1)return ei}else{const ht=k.getLineAndCharacterOfPosition(Ie).line,Ut=tp(Ie,k),Ni=hE.findFirstNonWhitespaceColumn(Ut,Ie,k,p);if(ht!==St||Ie===Ni){const ji=hE.getBaseIndentation(p);return ji>Ni?ji:Ni}}return-1}function Ce(Ie,st,St,It,ei,ht){const Ut=hE.shouldIndentChildNode(p,Ie)?p.indentSize:0;return ht===st?{indentation:st===Y?oe:ei.getIndentation(),delta:Math.min(p.indentSize,ei.getDelta(Ie)+Ut)}:St===-1?Ie.kind===21&&st===Y?{indentation:oe,delta:ei.getDelta(Ie)}:hE.childStartsOnTheSameLineWithElseInIfStatement(It,Ie,st,k)||hE.childIsUnindentedBranchOfConditionalExpression(It,Ie,st,k)||hE.argumentStartsOnSameLineAsPreviousArgument(It,Ie,st,k)?{indentation:ei.getIndentation(),delta:Ut}:{indentation:ei.getIndentation()+ei.getDelta(Ie),delta:Ut}:{indentation:St,delta:Ut}}function ne(Ie){if(Hp(Ie)){const st=Le(Ie.modifiers,Qo,Ue(Ie.modifiers,g1));if(st)return st.kind}switch(Ie.kind){case 263:return 86;case 264:return 120;case 262:return 100;case 266:return 266;case 177:return 139;case 178:return 153;case 174:if(Ie.asteriskToken)return 42;case 172:case 169:const st=Za(Ie);if(st)return st.kind}}function ve(Ie,st,St,It){return{getIndentationForComment:(Ut,Ni,ji)=>{switch(Ut){case 20:case 24:case 22:return St+ht(ji)}return Ni!==-1?Ni:St},getIndentationForToken:(Ut,Ni,ji,xn)=>!xn&&ei(Ut,Ni,ji)?St+ht(ji):St,getIndentation:()=>St,getDelta:ht,recomputeIndentation:(Ut,Ni)=>{hE.shouldIndentChildNode(p,Ni,Ie,k)&&(St+=Ut?p.indentSize:-p.indentSize,It=hE.shouldIndentChildNode(p,Ie)?p.indentSize:0)}};function ei(Ut,Ni,ji){switch(Ni){case 19:case 20:case 22:case 93:case 117:case 60:return!1;case 44:case 32:switch(ji.kind){case 286:case 287:case 285:return!1}break;case 23:case 24:if(ji.kind!==200)return!1;break}return st!==Ut&&!(o4(Ie)&&Ni===ne(Ie))}function ht(Ut){return hE.nodeWillIndentChild(p,Ie,Ut,k,!0)?It:0}}function Se(Ie,st,St,It,ei,ht){if(!TM(t,Ie.getStart(k),Ie.getEnd()))return;const Ut=ve(Ie,St,ei,ht);let Ni=st;for(ao(Ie,an=>{ji(an,-1,Ie,Ut,St,It,!1)},an=>{xn(an,Ie,St,Ut)});f.isOnToken()&&f.getTokenFullStart()Math.min(Ie.end,t.end))break;Jn(an,Ie,Ut,Ie)}function ji(an,Pi,Ai,Zu,aa,yr,Ba,bt){if(H.assert(!sl(an)),Ql(an)||Sbe(Ai,an))return Pi;const jn=an.getStart(k),Ln=k.getLineAndCharacterOfPosition(jn).line;let Si=Ln;o4(an)&&(Si=k.getLineAndCharacterOfPosition(d0e(an,k)).line);let Dn=-1;if(Ba&&Vm(t,Ai)&&(Dn=ae(jn,an.end,aa,t,Pi),Dn!==-1&&(Pi=Dn)),!TM(t,an.pos,an.end))return an.endt.end)return Pi;if(oa.token.end>jn){oa.token.pos>jn&&f.skipToStartOf(an);break}Jn(oa,Ie,Zu,Ie)}if(!f.isOnToken()||f.getTokenFullStart()>=t.end)return Pi;if(u7(an)){const oa=f.readTokenInfo(an);if(an.kind!==12)return H.assert(oa.token.end===an.end,"Token end is child end"),Jn(oa,Ie,Zu,an),Pi}const Cn=an.kind===170?Ln:yr,tu=Ce(an,Ln,Dn,Ie,Zu,Cn);return Se(an,Ni,Ln,Si,tu.indentation,tu.delta),Ni=Ie,bt&&Ai.kind===209&&Pi===-1&&(Pi=tu.indentation),Pi}function xn(an,Pi,Ai,Zu){H.assert(g2(an)),H.assert(!sl(an));const aa=rQt(Pi,an);let yr=Zu,Ba=Ai;if(!TM(t,an.pos,an.end)){an.endan.pos)break;if(Ln.token.kind===aa){Ba=k.getLineAndCharacterOfPosition(Ln.token.pos).line,Jn(Ln,Pi,Zu,Pi);let Si;if(oe!==-1)Si=oe;else{const Dn=tp(Ln.token.pos,k);Si=hE.findFirstNonWhitespaceColumn(Dn,Ln.token.pos,k,p)}yr=ve(Pi,Ai,Si,p.indentSize)}else Jn(Ln,Pi,Zu,Pi)}let bt=-1;for(let Ln=0;LnBe(tu.pos,Cn,!1))}Si!==-1&&Dn&&(Be(an.token.pos,Si,bt===1),Y=Ln.line,oe=Si)}f.advance(),Ni=Pi}}function Ne(Ie,st,St,It){for(const ei of Ie){const ht=Vm(t,ei);switch(ei.kind){case 3:ht&&De(ei,st,!St),St=!1;break;case 2:St&&ht&&It(ei),St=!1;break;case 4:St=!0;break}}return St}function pe(Ie,st,St,It){for(const ei of Ie)if(mX(ei.kind)&&Vm(t,ei)){const ht=k.getLineAndCharacterOfPosition(ei.pos);fe(ei,ht,st,St,It)}}function fe(Ie,st,St,It,ei){const ht=B(Ie);let Ut=0;if(!ht)if(j)Ut=xe(Ie,st.line,St,j,K,J,It,ei);else{const Ni=k.getLineAndCharacterOfPosition(t.pos);Ke(Ni.line,st.line)}return j=Ie,z=Ie.end,J=St,K=st.line,Ut}function xe(Ie,st,St,It,ei,ht,Ut,Ni){M.updateContext(It,ht,Ie,St,Ut);const ji=E(M);let xn=M.options.trimTrailingWhitespace!==!1,Jn=0;return ji?O(ji,an=>{if(Jn=Yt(an,It,ei,Ie,st),Ni)switch(Jn){case 2:St.getStart(k)===Ie.pos&&Ni.recomputeIndentation(!1,Ut);break;case 1:St.getStart(k)===Ie.pos&&Ni.recomputeIndentation(!0,Ut);break;default:H.assert(Jn===0)}xn=xn&&!(an.action&16)&&an.flags!==1}):xn=xn&&Ie.kind!==1,st!==ei&&xn&&Ke(ei,st,It),Jn}function Be(Ie,st,St){const It=LLe(st,p);if(St)We(Ie,0,It);else{const ei=k.getLineAndCharacterOfPosition(Ie),ht=Mx(ei.line,k);(st!==Ge(ht,ei.character)||Ae(It,ht))&&We(ht,ei.character,It)}}function Ge(Ie,st){let St=0;for(let It=0;It0){const yr=LLe(aa,p);We(Ai,Zu.character,yr)}else Ve(Ai,Zu.character)}}function Ke(Ie,st,St){for(let It=Ie;Itht)continue;const Ut=Je(ei,ht);Ut!==-1&&(H.assert(Ut===ei||!qg(k.text.charCodeAt(Ut-1))),Ve(Ut,ht+1-Ut))}}function Je(Ie,st){let St=st;for(;St>=Ie&&qg(k.text.charCodeAt(St));)St--;return St!==st?St+1:-1}function ft(Ie){let st=j?j.end:t.pos;for(const St of Ie)mX(St.kind)&&(stzH(B,u)||u===B.end&&(B.kind===2||u===t.getFullWidth()))}function rQt(t,u){switch(t.kind){case 176:case 262:case 218:case 174:case 173:case 219:case 179:case 180:case 184:case 185:case 177:case 178:if(t.typeParameters===u)return 30;if(t.parameters===u)return 21;break;case 213:case 214:if(t.typeArguments===u)return 30;if(t.arguments===u)return 21;break;case 263:case 231:case 264:case 265:if(t.typeParameters===u)return 30;break;case 183:case 215:case 186:case 233:case 205:if(t.typeArguments===u)return 30;break;case 187:return 19}return 0}function aQt(t){switch(t){case 21:return 22;case 30:return 32;case 19:return 20}return 0}function LLe(t,u){if((!Wpe||Wpe.tabSize!==u.tabSize||Wpe.indentSize!==u.indentSize)&&(Wpe={tabSize:u.tabSize,indentSize:u.indentSize},RK=OK=void 0),u.convertTabsToSpaces){let d;const f=Math.floor(t/u.indentSize),p=t%u.indentSize;return OK||(OK=[]),OK[f]===void 0?(d=KH(" ",u.indentSize*f),OK[f]=d):d=OK[f],p?d+KH(" ",p):d}else{const d=Math.floor(t/u.tabSize),f=t-d*u.tabSize;let p;return RK||(RK=[]),RK[d]===void 0?RK[d]=p=KH(" ",d):p=RK[d],f?p+KH(" ",f):p}}var Wpe,RK,OK,oQt=o({"src/services/formatting/formatting.ts"(){rr(),jK()}}),hE,sQt=o({"src/services/formatting/smartIndenter.ts"(){rr(),jK(),(t=>{let u;(De=>{De[De.Unknown=-1]="Unknown"})(u||(u={}));function s(De,Ke,Je,ft=!1){if(De>Ke.text.length)return v(Je);if(Je.indentStyle===0)return 0;const Ye=td(De,Ke,void 0,!0),Ve=mct(Ke,De,Ye||null);if(Ve&&Ve.kind===3)return d(Ke,De,Je,Ve);if(!Ye)return v(Je);if(Zhe(Ye.kind)&&Ye.getStart(Ke)<=De&&De=0),Ye<=Ve)return fe(Mx(Ve,De),Ke,De,Je);const We=Mx(Ye,De),{column:Gt,character:Yt}=pe(We,Ke,De,Je);return Gt===0?Gt:De.text.charCodeAt(We+Yt)===42?Gt-1:Gt}function f(De,Ke,Je){let ft=Ke;for(;ft>0;){const Ve=De.text.charCodeAt(ft);if(!U3(Ve))break;ft--}const Ye=tp(ft,De);return fe(Ye,ft,De,Je)}function p(De,Ke,Je,ft,Ye,Ve){let We,Gt=Je;for(;Gt;){if(Whe(Gt,Ke,De)&&Ge(Ve,Gt,We,De,!0)){const Ie=j(Gt,De),st=z(Je,Gt,ft,De),St=st!==0?Ye&&st===2?Ve.indentSize:0:ft!==Ie.line?Ve.indentSize:0;return b(Gt,Ie,void 0,St,De,!0,Ve)}const Yt=ve(Gt,De,Ve,!0);if(Yt!==-1)return Yt;We=Gt,Gt=Gt.parent}return v(Ve)}function E(De,Ke,Je,ft){const Ye=Je.getLineAndCharacterOfPosition(De.getStart(Je));return b(De,Ye,Ke,0,Je,!1,ft)}t.getIndentationForNode=E;function v(De){return De.baseIndentSize||0}t.getBaseIndentation=v;function b(De,Ke,Je,ft,Ye,Ve,We){var Gt;let Yt=De.parent;for(;Yt;){let Ie=!0;if(Je){const ei=De.getStart(Ye);Ie=eiJe.end}const st=B(Yt,De,Ye),St=st.line===Ke.line||K(Yt,De,Ke.line,Ye);if(Ie){const ei=(Gt=se(De,Ye))==null?void 0:Gt[0],ht=!!ei&&j(ei,Ye).line>st.line;let Ut=ve(De,Ye,We,ht);if(Ut!==-1||(Ut=T(De,Yt,Ke,St,Ye,We),Ut!==-1))return Ut+ft}Ge(We,Yt,De,Ye,Ve)&&!St&&(ft+=We.indentSize);const It=J(Yt,De,Ke.line,Ye);De=Yt,Yt=De.parent,Ke=It?Ye.getLineAndCharacterOfPosition(De.getStart(Ye)):st}return ft+v(We)}function B(De,Ke,Je){const ft=se(Ke,Je),Ye=ft?ft.pos:De.getStart(Je);return Je.getLineAndCharacterOfPosition(Ye)}function k(De,Ke,Je){const ft=Z9e(De);return ft&&ft.listItemIndex>0?Se(ft.list.getChildren(),ft.listItemIndex-1,Ke,Je):-1}function T(De,Ke,Je,ft,Ye,Ve){return(Q1(De)||XO(De))&&(Ke.kind===312||!ft)?Ne(Je,Ye,Ve):-1}let M;(De=>{De[De.Unknown=0]="Unknown",De[De.OpenBrace=1]="OpenBrace",De[De.CloseBrace=2]="CloseBrace"})(M||(M={}));function z(De,Ke,Je,ft){const Ye=ib(De,Ke,ft);if(!Ye)return 0;if(Ye.kind===19)return 1;if(Ye.kind===20){const Ve=j(Ye,ft).line;return Je===Ve?2:0}return 0}function j(De,Ke){return Ke.getLineAndCharacterOfPosition(De.getStart(Ke))}function J(De,Ke,Je,ft){if(!(Mo(De)&&kt(De.arguments,Ke)))return!1;const Ye=De.expression.getEnd();return s0(ft,Ye).line===Je}t.isArgumentAndStartLineOverlapsExpressionBeingCalled=J;function K(De,Ke,Je,ft){if(De.kind===245&&De.elseStatement===Ke){const Ye=a0(De,93,ft);return H.assert(Ye!==void 0),j(Ye,ft).line===Je}return!1}t.childStartsOnTheSameLineWithElseInIfStatement=K;function Y(De,Ke,Je,ft){if(SB(De)&&(Ke===De.whenTrue||Ke===De.whenFalse)){const Ye=s0(ft,De.condition.end).line;if(Ke===De.whenTrue)return Je===Ye;{const Ve=j(De.whenTrue,ft).line,We=s0(ft,De.whenTrue.end).line;return Ye===Ve&&We===Je}}return!1}t.childIsUnindentedBranchOfConditionalExpression=Y;function oe(De,Ke,Je,ft){if($E(De)){if(!De.arguments)return!1;const Ye=Le(De.arguments,Yt=>Yt.pos===Ke.pos);if(!Ye)return!1;const Ve=De.arguments.indexOf(Ye);if(Ve===0)return!1;const We=De.arguments[Ve-1],Gt=s0(ft,We.getEnd()).line;if(Je===Gt)return!0}return!1}t.argumentStartsOnSameLineAsPreviousArgument=oe;function se(De,Ke){return De.parent&&ae(De.getStart(Ke),De.getEnd(),De.parent,Ke)}t.getContainingList=se;function ge(De,Ke,Je){return Ke&&ae(De,De,Ke,Je)}function ae(De,Ke,Je,ft){switch(Je.kind){case 183:return Ye(Je.typeArguments);case 210:return Ye(Je.properties);case 209:return Ye(Je.elements);case 187:return Ye(Je.members);case 262:case 218:case 219:case 174:case 173:case 179:case 176:case 185:case 180:return Ye(Je.typeParameters)||Ye(Je.parameters);case 177:return Ye(Je.parameters);case 263:case 231:case 264:case 265:case 352:return Ye(Je.typeParameters);case 214:case 213:return Ye(Je.typeArguments)||Ye(Je.arguments);case 261:return Ye(Je.declarations);case 275:case 279:return Ye(Je.elements);case 206:case 207:return Ye(Je.elements)}function Ye(Ve){return Ve&&IH(Ce(Je,Ve,ft),De,Ke)?Ve:void 0}}function Ce(De,Ke,Je){const ft=De.getChildren(Je);for(let Ye=1;Ye=0&&Ke=0;We--){if(De[We].kind===28)continue;if(Je.getLineAndCharacterOfPosition(De[We].end).line!==Ve.line)return Ne(Ve,Je,ft);Ve=j(De[We],Je)}return-1}function Ne(De,Ke,Je){const ft=Ke.getPositionOfLineAndCharacter(De.line,0);return fe(ft,ft+De.character,Ke,Je)}function pe(De,Ke,Je,ft){let Ye=0,Ve=0;for(let We=De;WegLe,FormattingRequestKind:()=>pLe,RuleAction:()=>_Le,RuleFlags:()=>DLe,SmartIndenter:()=>hE,anyContext:()=>Kee,createTextRangeWithKind:()=>Kpe,formatDocument:()=>YYt,formatNodeGivenIndentation:()=>uQt,formatOnClosingCurly:()=>ZYt,formatOnEnter:()=>$Yt,formatOnOpeningCurly:()=>qYt,formatOnSemicolon:()=>UYt,formatSelection:()=>QYt,getAllRules:()=>Klt,getFormatContext:()=>RYt,getFormattingScanner:()=>ELe,getIndentationString:()=>LLe,getRangeOfEnclosingComment:()=>mct});var jK=o({"src/services/_namespaces/ts.formatting.ts"(){uYt(),rYt(),aYt(),IYt(),JYt(),oQt(),sQt()}}),rr=o({"src/services/_namespaces/ts.ts"(){Bo(),BH(),kIt(),ZIt(),eRt(),$it(),hRt(),fRt(),xRt(),wRt(),TRt(),NRt(),VRt(),HRt(),sHt(),lHt(),hHt(),LHt(),PHt(),rs(),LTe(),Q0t(),tqt(),aqt(),bqt(),Ent(),Rnt(),Wqt(),Qqt(),s_(),aZt(),NZt(),VZt(),GZt(),nYt(),jK()}});function lQt(){return Ect??(Ect=new Lp(_))}function pct(t,u,s,d,f){let p=u?"DeprecationError: ":"DeprecationWarning: ";return p+=`'${t}' `,p+=d?`has been deprecated since v${d}`:"is deprecated",p+=u?" and can no longer be used.":s?` and will no longer be usable after v${s}.`:".",p+=f?` ${e3(f,[t])}`:"",p}function cQt(t,u,s,d){const f=pct(t,!0,u,s,d);return()=>{throw new TypeError(f)}}function dQt(t,u,s,d){let f=!1;return()=>{gct&&!f&&(H.log.warn(pct(t,!1,u,s,d)),f=!0)}}function hQt(t,u={}){const s=typeof u.typeScriptVersion=="string"?new Lp(u.typeScriptVersion):u.typeScriptVersion??lQt(),d=typeof u.errorAfter=="string"?new Lp(u.errorAfter):u.errorAfter,f=typeof u.warnAfter=="string"?new Lp(u.warnAfter):u.warnAfter,p=typeof u.since=="string"?new Lp(u.since):u.since??f,E=u.error||d&&s.compareTo(d)>=0,v=!f||s.compareTo(f)>=0;return E?cQt(t,d,p,u.message):v?dQt(t,d,p,u.message):Is}function fQt(t,u){return function(){return t(),u.apply(this,arguments)}}function NLe(t,u){const s=hQt((u==null?void 0:u.name)??H.getFunctionName(t),u);return fQt(s,t)}var gct,Ect,_ct=o({"src/deprecatedCompat/deprecate.ts"(){Jpe(),gct=!0}});function Gpe(t,u,s,d){if(Object.defineProperty(p,"name",{...Object.getOwnPropertyDescriptor(p,"name"),value:t}),d)for(const E of Object.keys(d)){const v=+E;!isNaN(v)&&gu(u,`${v}`)&&(u[v]=NLe(u[v],{...d[v],name:t}))}const f=mQt(u,s);return p;function p(...E){const v=f(E),b=v!==void 0?u[v]:void 0;if(typeof b=="function")return b(...E);throw new TypeError("Invalid arguments")}}function mQt(t,u){return s=>{for(let d=0;gu(t,`${d}`)&&gu(u,`${d}`);d++){const f=u[d];if(f(s))return d}}}function Dct(t){return{overload:u=>({bind:s=>({finish:()=>Gpe(t,u,s),deprecate:d=>({finish:()=>Gpe(t,u,s,d)})})})}}var pQt=o({"src/deprecatedCompat/deprecations.ts"(){Jpe(),_ct()}}),gQt=o({"src/deprecatedCompat/5.0/identifierProperties.ts"(){Jpe(),_ct(),Qye(t=>{const u=t.getIdentifierConstructor();gu(u.prototype,"originalKeywordKind")||Object.defineProperty(u.prototype,"originalKeywordKind",{get:NLe(function(){return Dv(this)},{name:"originalKeywordKind",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use 'identifierToKeywordKind(identifier)' instead."})}),gu(u.prototype,"isInJSDocNamespace")||Object.defineProperty(u.prototype,"isInJSDocNamespace",{get:NLe(function(){return this.flags&4096?!0:void 0},{name:"isInJSDocNamespace",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use '.parent' or the surrounding context to determine this instead."})})})}}),Jpe=o({"src/deprecatedCompat/_namespaces/ts.ts"(){Bo(),pQt(),gQt()}}),EQt=o({"src/typingsInstallerCore/_namespaces/ts.ts"(){Bo(),BH(),MLe()}});function xct(t,u,s,d){try{const f=WB(u,cr(t,"index.d.ts"),{moduleResolution:2},s);return f.resolvedModule&&f.resolvedModule.resolvedFileName}catch(f){d.isEnabled()&&d.writeLine(`Failed to resolve ${u} in folder '${t}': ${f.message}`);return}}function _Qt(t,u,s,d){let f=!1;for(let p=s.length;p>0;){const E=vct(t,u,s,p);p=E.remaining,f=d(E.command)||f}return f}function vct(t,u,s,d){const f=s.length-d;let p,E=d;for(;p=`${t} install --ignore-scripts ${(E===s.length?s:s.slice(f,f+E)).join(" ")} --save-dev --user-agent="typesInstaller/${u}"`,!(p.length<8e3);)E=E-Math.floor(E/2);return{command:p,remaining:d-E}}function Cct(t){return`@types/${t}@ts${g}`}var bct,yct,DQt=o({"src/typingsInstallerCore/typingsInstaller.ts"(){EQt(),MLe(),bct={isEnabled:()=>!1,writeLine:Is},yct=class{constructor(t,u,s,d,f,p=bct){this.installTypingHost=t,this.globalCachePath=u,this.safeListPath=s,this.typesMapLocation=d,this.throttleLimit=f,this.log=p,this.packageNameToTypingLocation=new Map,this.missingTypingsSet=new Set,this.knownCachesSet=new Set,this.projectWatchers=new Map,this.pendingRunRequests=[],this.installRunCount=1,this.inFlightRequestCount=0,this.latestDistTag="latest",this.log.isEnabled()&&this.log.writeLine(`Global cache location '${u}', safe file path '${s}', types map path ${d}`),this.processCacheLocation(this.globalCachePath)}closeProject(t){this.closeWatchers(t.projectName)}closeWatchers(t){if(this.log.isEnabled()&&this.log.writeLine(`Closing file watchers for project '${t}'`),!this.projectWatchers.get(t)){this.log.isEnabled()&&this.log.writeLine(`No watchers are registered for project '${t}'`);return}this.projectWatchers.delete(t),this.sendResponse({kind:SH,projectName:t,files:[]}),this.log.isEnabled()&&this.log.writeLine(`Closing file watchers for project '${t}' - done.`)}install(t){this.log.isEnabled()&&this.log.writeLine(`Got install request${nw(t)}`),t.cachePath&&(this.log.isEnabled()&&this.log.writeLine(`Request specifies cache path '${t.cachePath}', loading cached information...`),this.processCacheLocation(t.cachePath)),this.safeList===void 0&&this.initializeSafeList();const u=o3.discoverTypings(this.installTypingHost,this.log.isEnabled()?s=>this.log.writeLine(s):void 0,t.fileNames,t.projectRootPath,this.safeList,this.packageNameToTypingLocation,t.typeAcquisition,t.unresolvedImports,this.typesRegistry,t.compilerOptions);this.watchFiles(t.projectName,u.filesToWatch),u.newTypingNames.length?this.installTypings(t,t.cachePath||this.globalCachePath,u.cachedTypingPaths,u.newTypingNames):(this.sendResponse(this.createSetTypings(t,u.cachedTypingPaths)),this.log.isEnabled()&&this.log.writeLine("No new typings were requested as a result of typings discovery"))}initializeSafeList(){if(this.typesMapLocation){const t=o3.loadTypesMap(this.installTypingHost,this.typesMapLocation);if(t){this.log.writeLine(`Loaded safelist from types map file '${this.typesMapLocation}'`),this.safeList=t;return}this.log.writeLine(`Failed to load safelist from types map file '${this.typesMapLocation}'`)}this.safeList=o3.loadSafeList(this.installTypingHost,this.safeListPath)}processCacheLocation(t){if(this.log.isEnabled()&&this.log.writeLine(`Processing cache location '${t}'`),this.knownCachesSet.has(t)){this.log.isEnabled()&&this.log.writeLine("Cache location was already processed...");return}const u=cr(t,"package.json"),s=cr(t,"package-lock.json");if(this.log.isEnabled()&&this.log.writeLine(`Trying to find '${u}'...`),this.installTypingHost.fileExists(u)&&this.installTypingHost.fileExists(s)){const d=JSON.parse(this.installTypingHost.readFile(u)),f=JSON.parse(this.installTypingHost.readFile(s));if(this.log.isEnabled()&&(this.log.writeLine(`Loaded content of '${u}':${nw(d)}`),this.log.writeLine(`Loaded content of '${s}':${nw(f)}`)),d.devDependencies&&f.dependencies)for(const p in d.devDependencies){if(!gu(f.dependencies,p))continue;const E=Ac(p);if(!E)continue;const v=xct(t,E,this.installTypingHost,this.log);if(!v){this.missingTypingsSet.add(E);continue}const b=this.packageNameToTypingLocation.get(E);if(b){if(b.typingLocation===v)continue;this.log.isEnabled()&&this.log.writeLine(`New typing for package ${E} from '${v}' conflicts with existing typing file '${b}'`)}this.log.isEnabled()&&this.log.writeLine(`Adding entry into typings cache: '${E}' => '${v}'`);const B=uo(f.dependencies,p),k=B&&B.version;if(!k)continue;const T={typingLocation:v,version:new Lp(k)};this.packageNameToTypingLocation.set(E,T)}}this.log.isEnabled()&&this.log.writeLine(`Finished processing cache location '${t}'`),this.knownCachesSet.add(t)}filterTypings(t){return qi(t,u=>{const s=JB(u);if(this.missingTypingsSet.has(s)){this.log.isEnabled()&&this.log.writeLine(`'${u}':: '${s}' is in missingTypingsSet - skipping...`);return}const d=o3.validatePackageName(u);if(d!==o3.NameValidationResult.Ok){this.missingTypingsSet.add(s),this.log.isEnabled()&&this.log.writeLine(o3.renderPackageNameValidationFailure(d,u));return}if(!this.typesRegistry.has(s)){this.log.isEnabled()&&this.log.writeLine(`'${u}':: Entry for package '${s}' does not exist in local types registry - skipping...`);return}if(this.packageNameToTypingLocation.get(s)&&o3.isTypingUpToDate(this.packageNameToTypingLocation.get(s),this.typesRegistry.get(s))){this.log.isEnabled()&&this.log.writeLine(`'${u}':: '${s}' already has an up-to-date typing - skipping...`);return}return s})}ensurePackageDirectoryExists(t){const u=cr(t,"package.json");this.log.isEnabled()&&this.log.writeLine(`Npm config file: ${u}`),this.installTypingHost.fileExists(u)||(this.log.isEnabled()&&this.log.writeLine(`Npm config file: '${u}' is missing, creating new one...`),this.ensureDirectoryExists(t,this.installTypingHost),this.installTypingHost.writeFile(u,'{ "private": true }'))}installTypings(t,u,s,d){this.log.isEnabled()&&this.log.writeLine(`Installing typings ${JSON.stringify(d)}`);const f=this.filterTypings(d);if(f.length===0){this.log.isEnabled()&&this.log.writeLine("All typings are known to be missing or invalid - no need to install more typings"),this.sendResponse(this.createSetTypings(t,s));return}this.ensurePackageDirectoryExists(u);const p=this.installRunCount;this.installRunCount++,this.sendResponse({kind:hhe,eventId:p,typingsInstallerVersion:_,projectName:t.projectName});const E=f.map(Cct);this.installTypingsAsync(p,E,u,v=>{try{if(!v){this.log.isEnabled()&&this.log.writeLine(`install request failed, marking packages as missing to prevent repeated requests: ${JSON.stringify(f)}`);for(const B of f)this.missingTypingsSet.add(B);return}this.log.isEnabled()&&this.log.writeLine(`Installed typings ${JSON.stringify(E)}`);const b=[];for(const B of f){const k=xct(u,B,this.installTypingHost,this.log);if(!k){this.missingTypingsSet.add(B);continue}const T=this.typesRegistry.get(B),M=new Lp(T[`ts${g}`]||T[this.latestDistTag]),z={typingLocation:k,version:M};this.packageNameToTypingLocation.set(B,z),b.push(k)}this.log.isEnabled()&&this.log.writeLine(`Installed typing files ${JSON.stringify(b)}`),this.sendResponse(this.createSetTypings(t,s.concat(b)))}finally{const b={kind:fhe,eventId:p,projectName:t.projectName,packagesToInstall:E,installSuccess:v,typingsInstallerVersion:_};this.sendResponse(b)}})}ensureDirectoryExists(t,u){const s=lr(t);u.directoryExists(s)||this.ensureDirectoryExists(s,u),u.directoryExists(t)||u.createDirectory(t)}watchFiles(t,u){if(!u.length){this.closeWatchers(t);return}const s=this.projectWatchers.get(t),d=new Set(u);!s||U_(d,f=>!s.has(f))||U_(s,f=>!d.has(f))?(this.projectWatchers.set(t,d),this.sendResponse({kind:SH,projectName:t,files:u})):this.sendResponse({kind:SH,projectName:t,files:void 0})}createSetTypings(t,u){return{projectName:t.projectName,typeAcquisition:t.typeAcquisition,compilerOptions:t.compilerOptions,typings:u,unresolvedImports:t.unresolvedImports,kind:ZQ}}installTypingsAsync(t,u,s,d){this.pendingRunRequests.unshift({requestId:t,packageNames:u,cwd:s,onRequestCompleted:d}),this.executeWithThrottling()}executeWithThrottling(){for(;this.inFlightRequestCount{this.inFlightRequestCount--,t.onRequestCompleted(u),this.executeWithThrottling()})}}}}}),PLe={};h(PLe,{TypingsInstaller:()=>yct,getNpmCommandForInstallation:()=>vct,installNpmPackages:()=>_Qt,typingsName:()=>Cct});var xQt=o({"src/typingsInstallerCore/_namespaces/ts.server.typingsInstaller.ts"(){DQt()}}),MLe=o({"src/typingsInstallerCore/_namespaces/ts.server.ts"(){QQ(),xQt()}}),vQt=o({"src/server/types.ts"(){}});function kct(t,u,s,d){return{projectName:t.getProjectName(),fileNames:t.getFileNames(!0,!0).concat(t.getExcludedFiles()),compilerOptions:t.getCompilationSettings(),typeAcquisition:u,unresolvedImports:s,projectRootPath:t.getCurrentDirectory(),cachePath:d,kind:"discover"}}function Dl(t){return $o(t)}function VK(t,u,s){const d=Pf(t)?t:$a(t,u);return s(d)}function Fct(t){return t}function Act(){const t=new Map;return{get(u){return t.get(u)},set(u,s){t.set(u,s)},contains(u){return t.has(u)},remove(u){t.delete(u)}}}function zLe(t){return/dev\/null\/inferredProject\d+\*/.test(t)}function ILe(t){return`/dev/null/inferredProject${t}*`}function RLe(t){return`/dev/null/autoImportProviderProject${t}*`}function OLe(t){return`/dev/null/auxiliaryProject${t}*`}function jLe(){return[]}var $pe,$c,Upe,v5,CQt=o({"src/server/utilitiesPublic.ts"(){Xv(),$pe=(t=>(t[t.terse=0]="terse",t[t.normal=1]="normal",t[t.requestTime=2]="requestTime",t[t.verbose=3]="verbose",t))($pe||{}),$c=jLe(),Upe=(t=>(t.Err="Err",t.Info="Info",t.Perf="Perf",t))(Upe||{}),(t=>{function u(){throw new Error("No Project.")}t.ThrowNoProject=u;function s(){throw new Error("The project's language service is disabled.")}t.ThrowProjectLanguageServiceDisabled=s;function d(f,p){throw new Error(`Project '${p.getProjectName()}' does not contain document '${f}'`)}t.ThrowProjectDoesNotContainDocument=d})(v5||(v5={}))}});function qpe(t){const u=Ac(t);return u==="tsconfig.json"||u==="jsconfig.json"?u:void 0}function Sct(t,u,s){if(!t||t.length===0)return;if(t[0]===u){t.splice(0,1);return}const d=Kl(t,u,il,s);d>=0&&t.splice(d,1)}var Zpe,Ype,bQt=o({"src/server/utilities.ts"(){Xv(),_9(),Zpe=class H6t{constructor(u,s){this.host=u,this.pendingTimeouts=new Map,this.logger=s.hasLevel(3)?s:void 0}schedule(u,s,d){const f=this.pendingTimeouts.get(u);f&&this.host.clearTimeout(f),this.pendingTimeouts.set(u,this.host.setTimeout(H6t.run,s,u,this,d)),this.logger&&this.logger.info(`Scheduled: ${u}${f?", Cancelled earlier one":""}`)}cancel(u){const s=this.pendingTimeouts.get(u);return s?(this.host.clearTimeout(s),this.pendingTimeouts.delete(u)):!1}static run(u,s,d){var f,p;(f=hh)==null||f.logStartScheduledOperation(u),s.pendingTimeouts.delete(u),s.logger&&s.logger.info(`Running: ${u}`),d(),(p=hh)==null||p.logStopScheduledOperation()}},Ype=class K6t{constructor(u,s,d){this.host=u,this.delay=s,this.logger=d}scheduleCollect(){!this.host.gc||this.timerId!==void 0||(this.timerId=this.host.setTimeout(K6t.run,this.delay,this))}static run(u){var s,d;u.timerId=void 0,(s=hh)==null||s.logStartScheduledOperation("GC collect");const f=u.logger.hasLevel(2),p=f&&u.host.getMemoryUsage();if(u.host.gc(),f){const E=u.host.getMemoryUsage();u.logger.perftrc(`GC::before ${p}, after ${E}`)}(d=hh)==null||d.logStopScheduledOperation()}}}}),Qpe,VLe,HLe,KLe,WLe,GLe,JLe,$Le,ULe,qLe,ZLe,YLe,QLe,XLe,eNe=o({"src/server/protocol.ts"(){Qpe=(t=>(t.JsxClosingTag="jsxClosingTag",t.LinkedEditingRange="linkedEditingRange",t.Brace="brace",t.BraceFull="brace-full",t.BraceCompletion="braceCompletion",t.GetSpanOfEnclosingComment="getSpanOfEnclosingComment",t.Change="change",t.Close="close",t.Completions="completions",t.CompletionInfo="completionInfo",t.CompletionsFull="completions-full",t.CompletionDetails="completionEntryDetails",t.CompletionDetailsFull="completionEntryDetails-full",t.CompileOnSaveAffectedFileList="compileOnSaveAffectedFileList",t.CompileOnSaveEmitFile="compileOnSaveEmitFile",t.Configure="configure",t.Definition="definition",t.DefinitionFull="definition-full",t.DefinitionAndBoundSpan="definitionAndBoundSpan",t.DefinitionAndBoundSpanFull="definitionAndBoundSpan-full",t.Implementation="implementation",t.ImplementationFull="implementation-full",t.EmitOutput="emit-output",t.Exit="exit",t.FileReferences="fileReferences",t.FileReferencesFull="fileReferences-full",t.Format="format",t.Formatonkey="formatonkey",t.FormatFull="format-full",t.FormatonkeyFull="formatonkey-full",t.FormatRangeFull="formatRange-full",t.Geterr="geterr",t.GeterrForProject="geterrForProject",t.SemanticDiagnosticsSync="semanticDiagnosticsSync",t.SyntacticDiagnosticsSync="syntacticDiagnosticsSync",t.SuggestionDiagnosticsSync="suggestionDiagnosticsSync",t.NavBar="navbar",t.NavBarFull="navbar-full",t.Navto="navto",t.NavtoFull="navto-full",t.NavTree="navtree",t.NavTreeFull="navtree-full",t.DocumentHighlights="documentHighlights",t.DocumentHighlightsFull="documentHighlights-full",t.Open="open",t.Quickinfo="quickinfo",t.QuickinfoFull="quickinfo-full",t.References="references",t.ReferencesFull="references-full",t.Reload="reload",t.Rename="rename",t.RenameInfoFull="rename-full",t.RenameLocationsFull="renameLocations-full",t.Saveto="saveto",t.SignatureHelp="signatureHelp",t.SignatureHelpFull="signatureHelp-full",t.FindSourceDefinition="findSourceDefinition",t.Status="status",t.TypeDefinition="typeDefinition",t.ProjectInfo="projectInfo",t.ReloadProjects="reloadProjects",t.Unknown="unknown",t.OpenExternalProject="openExternalProject",t.OpenExternalProjects="openExternalProjects",t.CloseExternalProject="closeExternalProject",t.SynchronizeProjectList="synchronizeProjectList",t.ApplyChangedToOpenFiles="applyChangedToOpenFiles",t.UpdateOpen="updateOpen",t.EncodedSyntacticClassificationsFull="encodedSyntacticClassifications-full",t.EncodedSemanticClassificationsFull="encodedSemanticClassifications-full",t.Cleanup="cleanup",t.GetOutliningSpans="getOutliningSpans",t.GetOutliningSpansFull="outliningSpans",t.TodoComments="todoComments",t.Indentation="indentation",t.DocCommentTemplate="docCommentTemplate",t.CompilerOptionsDiagnosticsFull="compilerOptionsDiagnostics-full",t.NameOrDottedNameSpan="nameOrDottedNameSpan",t.BreakpointStatement="breakpointStatement",t.CompilerOptionsForInferredProjects="compilerOptionsForInferredProjects",t.GetCodeFixes="getCodeFixes",t.GetCodeFixesFull="getCodeFixes-full",t.GetCombinedCodeFix="getCombinedCodeFix",t.GetCombinedCodeFixFull="getCombinedCodeFix-full",t.ApplyCodeActionCommand="applyCodeActionCommand",t.GetSupportedCodeFixes="getSupportedCodeFixes",t.GetApplicableRefactors="getApplicableRefactors",t.GetEditsForRefactor="getEditsForRefactor",t.GetMoveToRefactoringFileSuggestions="getMoveToRefactoringFileSuggestions",t.GetEditsForRefactorFull="getEditsForRefactor-full",t.OrganizeImports="organizeImports",t.OrganizeImportsFull="organizeImports-full",t.GetEditsForFileRename="getEditsForFileRename",t.GetEditsForFileRenameFull="getEditsForFileRename-full",t.ConfigurePlugin="configurePlugin",t.SelectionRange="selectionRange",t.SelectionRangeFull="selectionRange-full",t.ToggleLineComment="toggleLineComment",t.ToggleLineCommentFull="toggleLineComment-full",t.ToggleMultilineComment="toggleMultilineComment",t.ToggleMultilineCommentFull="toggleMultilineComment-full",t.CommentSelection="commentSelection",t.CommentSelectionFull="commentSelection-full",t.UncommentSelection="uncommentSelection",t.UncommentSelectionFull="uncommentSelection-full",t.PrepareCallHierarchy="prepareCallHierarchy",t.ProvideCallHierarchyIncomingCalls="provideCallHierarchyIncomingCalls",t.ProvideCallHierarchyOutgoingCalls="provideCallHierarchyOutgoingCalls",t.ProvideInlayHints="provideInlayHints",t.WatchChange="watchChange",t))(Qpe||{}),VLe=(t=>(t.All="All",t.SortAndCombine="SortAndCombine",t.RemoveUnused="RemoveUnused",t))(VLe||{}),HLe=(t=>(t.FixedPollingInterval="FixedPollingInterval",t.PriorityPollingInterval="PriorityPollingInterval",t.DynamicPriorityPolling="DynamicPriorityPolling",t.FixedChunkSizePolling="FixedChunkSizePolling",t.UseFsEvents="UseFsEvents",t.UseFsEventsOnParentDirectory="UseFsEventsOnParentDirectory",t))(HLe||{}),KLe=(t=>(t.UseFsEvents="UseFsEvents",t.FixedPollingInterval="FixedPollingInterval",t.DynamicPriorityPolling="DynamicPriorityPolling",t.FixedChunkSizePolling="FixedChunkSizePolling",t))(KLe||{}),WLe=(t=>(t.FixedInterval="FixedInterval",t.PriorityInterval="PriorityInterval",t.DynamicPriority="DynamicPriority",t.FixedChunkSize="FixedChunkSize",t))(WLe||{}),GLe=(t=>(t[t.Invoked=1]="Invoked",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",t))(GLe||{}),JLe=(t=>(t.None="None",t.Block="Block",t.Smart="Smart",t))(JLe||{}),$Le=(t=>(t.Ignore="ignore",t.Insert="insert",t.Remove="remove",t))($Le||{}),ULe=(t=>(t.None="None",t.Preserve="Preserve",t.ReactNative="ReactNative",t.React="React",t))(ULe||{}),qLe=(t=>(t.None="None",t.CommonJS="CommonJS",t.AMD="AMD",t.UMD="UMD",t.System="System",t.ES6="ES6",t.ES2015="ES2015",t.ESNext="ESNext",t))(qLe||{}),ZLe=(t=>(t.Classic="Classic",t.Node="Node",t))(ZLe||{}),YLe=(t=>(t.Crlf="Crlf",t.Lf="Lf",t))(YLe||{}),QLe=(t=>(t.ES3="ES3",t.ES5="ES5",t.ES6="ES6",t.ES2015="ES2015",t.ES2016="ES2016",t.ES2017="ES2017",t.ES2018="ES2018",t.ES2019="ES2019",t.ES2020="ES2020",t.ES2021="ES2021",t.ES2022="ES2022",t.ESNext="ESNext",t))(QLe||{}),XLe=(t=>(t[t.comment=1]="comment",t[t.identifier=2]="identifier",t[t.keyword=3]="keyword",t[t.numericLiteral=4]="numericLiteral",t[t.operator=5]="operator",t[t.stringLiteral=6]="stringLiteral",t[t.regularExpressionLiteral=7]="regularExpressionLiteral",t[t.whiteSpace=8]="whiteSpace",t[t.text=9]="text",t[t.punctuation=10]="punctuation",t[t.className=11]="className",t[t.enumName=12]="enumName",t[t.interfaceName=13]="interfaceName",t[t.moduleName=14]="moduleName",t[t.typeParameterName=15]="typeParameterName",t[t.typeAliasName=16]="typeAliasName",t[t.parameterName=17]="parameterName",t[t.docCommentTagName=18]="docCommentTagName",t[t.jsxOpenTagName=19]="jsxOpenTagName",t[t.jsxCloseTagName=20]="jsxCloseTagName",t[t.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",t[t.jsxAttribute=22]="jsxAttribute",t[t.jsxText=23]="jsxText",t[t.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",t[t.bigintLiteral=25]="bigintLiteral",t))(XLe||{})}}),tNe={};h(tNe,{ClassificationType:()=>XLe,CommandTypes:()=>Qpe,CompletionTriggerKind:()=>GLe,IndentStyle:()=>JLe,JsxEmit:()=>ULe,ModuleKind:()=>qLe,ModuleResolutionKind:()=>ZLe,NewLineKind:()=>YLe,OrganizeImportsMode:()=>VLe,PollingWatchKind:()=>WLe,ScriptTarget:()=>QLe,SemicolonPreference:()=>$Le,WatchDirectoryKind:()=>KLe,WatchFileKind:()=>HLe});var yQt=o({"src/server/_namespaces/ts.server.protocol.ts"(){eNe()}});function HK(t){return t[0]==="^"||(t.includes("walkThroughSnippet:/")||t.includes("untitled:/"))&&Ac(t)[0]==="^"||t.includes(":^")&&!t.includes(rl)}function Bct(t){return!t||WK(t)?v5.ThrowNoProject():t}function kQt(t){H.assert(typeof t=="number",`Expected position ${t} to be a number.`),H.assert(t>=0,"Expected position to be non-negative.")}function FQt(t){H.assert(typeof t.line=="number",`Expected line ${t.line} to be a number.`),H.assert(typeof t.offset=="number",`Expected offset ${t.offset} to be a number.`),H.assert(t.line>0,`Expected line to be non-${t.line===0?"zero":"negative"}`),H.assert(t.offset>0,`Expected offset to be non-${t.offset===0?"zero":"negative"}`)}var Xpe,ege,AQt=o({"src/server/scriptInfo.ts"(){Xv(),_9(),Xpe=class{constructor(t,u,s){this.host=t,this.info=u,this.isOpen=!1,this.ownFileText=!1,this.pendingReloadFromDisk=!1,this.version=s||0}getVersion(){return this.svc?`SVC-${this.version}-${this.svc.getSnapshotVersion()}`:`Text-${this.version}`}hasScriptVersionCache_TestOnly(){return this.svc!==void 0}resetSourceMapInfo(){this.info.sourceFileLike=void 0,this.info.closeSourceMapFileWatcher(),this.info.sourceMapFilePath=void 0,this.info.declarationInfoPath=void 0,this.info.sourceInfos=void 0,this.info.documentPositionMapper=void 0}useText(t){this.svc=void 0,this.text=t,this.textSnapshot=void 0,this.lineMap=void 0,this.fileSize=void 0,this.resetSourceMapInfo(),this.version++}edit(t,u,s){this.switchToScriptVersionCache().edit(t,u-t,s),this.ownFileText=!1,this.text=void 0,this.textSnapshot=void 0,this.lineMap=void 0,this.fileSize=void 0,this.resetSourceMapInfo()}reload(t){return H.assert(t!==void 0),this.pendingReloadFromDisk=!1,!this.text&&this.svc&&(this.text=aw(this.svc.getSnapshot())),this.text!==t?(this.useText(t),this.ownFileText=!1,!0):!1}reloadWithFileText(t){const{text:u,fileSize:s}=t||!this.info.isDynamicOrHasMixedContent()?this.getFileTextAndSize(t):{text:"",fileSize:void 0},d=this.reload(u);return this.fileSize=s,this.ownFileText=!t||t===this.info.fileName,d}scheduleReloadIfNeeded(){return!this.pendingReloadFromDisk&&!this.ownFileText?this.pendingReloadFromDisk=!0:!1}delayReloadFromFileIntoText(){this.pendingReloadFromDisk=!0}getTelemetryFileSize(){return this.fileSize?this.fileSize:this.text?this.text.length:this.svc?this.svc.getSnapshot().getLength():this.getSnapshot().getLength()}getSnapshot(){var t;return((t=this.tryUseScriptVersionCache())==null?void 0:t.getSnapshot())||(this.textSnapshot??(this.textSnapshot=eX.fromString(H.checkDefined(this.text))))}getAbsolutePositionAndLineText(t){const u=this.tryUseScriptVersionCache();if(u)return u.getAbsolutePositionAndLineText(t);const s=this.getLineMap();return t<=s.length?{absolutePosition:s[t-1],lineText:this.text.substring(s[t-1],s[t])}:{absolutePosition:this.text.length,lineText:void 0}}lineToTextSpan(t){const u=this.tryUseScriptVersionCache();if(u)return u.lineToTextSpan(t);const s=this.getLineMap(),d=s[t],f=t+1u===void 0?u=this.host.readFile(s)||"":u;if(!mk(this.info.fileName)){const f=this.host.getFileSize?this.host.getFileSize(s):d().length;if(f>ete)return H.assert(!!this.info.containingProjects.length),this.info.containingProjects[0].projectService.logger.info(`Skipped loading contents of large file ${s} for info ${this.info.fileName}: fileSize: ${f}`),this.info.containingProjects[0].projectService.sendLargeFileReferencedEvent(s,f),{text:"",fileSize:f}}return{text:d()}}switchToScriptVersionCache(){return(!this.svc||this.pendingReloadFromDisk)&&(this.svc=fte.fromString(this.getOrLoadText()),this.textSnapshot=void 0,this.version++),this.svc}tryUseScriptVersionCache(){return(!this.svc||this.pendingReloadFromDisk)&&this.getOrLoadText(),this.isOpen?(!this.svc&&!this.textSnapshot&&(this.svc=fte.fromString(H.checkDefined(this.text)),this.textSnapshot=void 0),this.svc):this.svc}getOrLoadText(){return(this.text===void 0||this.pendingReloadFromDisk)&&(H.assert(!this.svc||this.pendingReloadFromDisk,"ScriptVersionCache should not be set when reloading from disk"),this.reloadWithFileText()),this.text}getLineMap(){return H.assert(!this.svc,"ScriptVersionCache should not be set"),this.lineMap||(this.lineMap=n7(H.checkDefined(this.text)))}getLineInfo(){const t=this.tryUseScriptVersionCache();if(t)return{getLineCount:()=>t.getLineCount(),getLineText:s=>t.getAbsolutePositionAndLineText(s+1).lineText};const u=this.getLineMap();return Kde(this.text,u)}},ege=class{constructor(t,u,s,d,f,p){this.host=t,this.fileName=u,this.scriptKind=s,this.hasMixedContent=d,this.path=f,this.containingProjects=[],this.isDynamic=HK(u),this.textStorage=new Xpe(t,this,p),(d||this.isDynamic)&&(this.realpath=this.path),this.scriptKind=s||sZ(u)}isDynamicOrHasMixedContent(){return this.hasMixedContent||this.isDynamic}isScriptOpen(){return this.textStorage.isOpen}open(t){this.textStorage.isOpen=!0,t!==void 0&&this.textStorage.reload(t)&&this.markContainingProjectsAsDirty()}close(t=!0){this.textStorage.isOpen=!1,t&&this.textStorage.scheduleReloadIfNeeded()&&this.markContainingProjectsAsDirty()}getSnapshot(){return this.textStorage.getSnapshot()}ensureRealPath(){if(this.realpath===void 0&&(this.realpath=this.path,this.host.realpath)){H.assert(!!this.containingProjects.length);const t=this.containingProjects[0],u=this.host.realpath(this.path);u&&(this.realpath=t.toPath(u),this.realpath!==this.path&&t.projectService.realpathToScriptInfos.add(this.realpath,this))}}getRealpathIfDifferent(){return this.realpath&&this.realpath!==this.path?this.realpath:void 0}isSymlink(){return this.realpath&&this.realpath!==this.path}getFormatCodeSettings(){return this.formatSettings}getPreferences(){return this.preferences}attachToProject(t){const u=!this.isAttached(t);return u&&(this.containingProjects.push(t),t.getCompilerOptions().preserveSymlinks||this.ensureRealPath(),t.onFileAddedOrRemoved(this.isSymlink())),u}isAttached(t){switch(this.containingProjects.length){case 0:return!1;case 1:return this.containingProjects[0]===t;case 2:return this.containingProjects[0]===t||this.containingProjects[1]===t;default:return kt(this.containingProjects,t)}}detachFromProject(t){switch(this.containingProjects.length){case 0:return;case 1:this.containingProjects[0]===t&&(t.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects.pop());break;case 2:this.containingProjects[0]===t?(t.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects[0]=this.containingProjects.pop()):this.containingProjects[1]===t&&(t.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects.pop());break;default:Vy(this.containingProjects,t)&&t.onFileAddedOrRemoved(this.isSymlink());break}}detachAllProjects(){for(const t of this.containingProjects){Qv(t)&&t.getCachedDirectoryStructureHost().addOrDeleteFile(this.fileName,this.path,2);const u=t.getRootFilesMap().get(this.path);t.removeFile(this,!1,!1),t.onFileAddedOrRemoved(this.isSymlink()),u&&!Aw(t)&&t.addMissingFileRoot(u.fileName)}pu(this.containingProjects)}getDefaultProject(){switch(this.containingProjects.length){case 0:return v5.ThrowNoProject();case 1:return Bct(this.containingProjects[0]);default:let t,u,s,d,f;for(let p=0;p!t.isOrphan())}isContainedByBackgroundProject(){return Oe(this.containingProjects,WK)}lineToTextSpan(t){return this.textStorage.lineToTextSpan(t)}lineOffsetToPosition(t,u,s){return this.textStorage.lineOffsetToPosition(t,u,s)}positionToLineOffset(t){kQt(t);const u=this.textStorage.positionToLineOffset(t);return FQt(u),u}isJavaScript(){return this.scriptKind===1||this.scriptKind===2}closeSourceMapFileWatcher(){this.sourceMapFilePath&&!Ja(this.sourceMapFilePath)&&(jm(this.sourceMapFilePath),this.sourceMapFilePath=void 0)}}}});function wct(t,u){if(t===u||(t||$c).length===0&&(u||$c).length===0)return!0;const s=new Map;let d=0;for(const f of t)s.get(f)!==!0&&(s.set(f,!0),d++);for(const f of u){const p=s.get(f);if(p===void 0)return!1;p===!0&&(s.set(f,!1),d--)}return d===0}function SQt(t,u){return t.enable!==u.enable||!wct(t.include,u.include)||!wct(t.exclude,u.exclude)}function BQt(t,u){return Bv(t)!==Bv(u)}function wQt(t,u){return t===u?!1:!On(t,u)}var qee,tge,TQt=o({"src/server/typingsCache.ts"(){Xv(),_9(),qee={isKnownTypesPackageName:cg,installPackage:ho,enqueueInstallTypingsRequest:Is,attach:Is,onProjectClosed:Is,globalTypingsCacheLocation:void 0},tge=class{constructor(t){this.installer=t,this.perProjectCache=new Map}isKnownTypesPackageName(t){return this.installer.isKnownTypesPackageName(t)}installPackage(t){return this.installer.installPackage(t)}enqueueInstallTypingsForProject(t,u,s){const d=t.getTypeAcquisition();if(!d||!d.enable)return;const f=this.perProjectCache.get(t.getProjectName());(s||!f||SQt(d,f.typeAcquisition)||BQt(t.getCompilationSettings(),f.compilerOptions)||wQt(u,f.unresolvedImports))&&(this.perProjectCache.set(t.getProjectName(),{compilerOptions:t.getCompilationSettings(),typeAcquisition:d,typings:f?f.typings:$c,unresolvedImports:u,poisoned:!0}),this.installer.enqueueInstallTypingsRequest(t,d,u))}updateTypingsForProject(t,u,s,d,f){const p=Ph(f);return this.perProjectCache.set(t,{compilerOptions:u,typeAcquisition:s,typings:p,unresolvedImports:d,poisoned:!1}),!s||!s.enable?$c:p}onProjectClosed(t){this.perProjectCache.delete(t.getProjectName()),this.installer.onProjectClosed(t)}}}});function KK(t,u=!1){const s={js:0,jsSize:0,jsx:0,jsxSize:0,ts:0,tsSize:0,tsx:0,tsxSize:0,dts:0,dtsSize:0,deferred:0,deferredSize:0};for(const d of t){const f=u?d.textStorage.getTelemetryFileSize():0;switch(d.scriptKind){case 1:s.js+=1,s.jsSize+=f;break;case 2:s.jsx+=1,s.jsxSize+=f;break;case 3:e1(d.fileName)?(s.dts+=1,s.dtsSize+=f):(s.ts+=1,s.tsSize+=f);break;case 4:s.tsx+=1,s.tsxSize+=f;break;case 7:s.deferred+=1,s.deferredSize+=f;break}}return s}function LQt(t){const u=KK(t.getScriptInfos());return u.js>0&&u.ts===0&&u.tsx===0}function iNe(t){const u=KK(t.getRootScriptInfos());return u.ts===0&&u.tsx===0}function nNe(t){const u=KK(t.getScriptInfos());return u.ts===0&&u.tsx===0}function uNe(t){return!t.some(u=>Ml(u,".ts")&&!e1(u)||Ml(u,".tsx"))}function rNe(t){return t.generatedFilePath!==void 0}function NQt(t,u){var s,d;const f=t.getSourceFiles();(s=Gn)==null||s.push(Gn.Phase.Session,"getUnresolvedImports",{count:f.length});const p=t.getTypeChecker().getAmbientModules().map(v=>$4(v.getName())),E=pi(ju(f,v=>PQt(t,v,p,u)));return(d=Gn)==null||d.pop(),E}function PQt(t,u,s,d){return W0(d,u.path,()=>{let f;return t.forEachResolvedModule(({resolvedModule:p},E)=>{(!p||!FP(p.extension))&&!Id(E)&&!s.some(v=>v===E)&&(f=xi(f,oH(E).packageName))},u),f||$c})}function Aw(t){return t.projectKind===0}function Qv(t){return t.projectKind===1}function ige(t){return t.projectKind===2}function WK(t){return t.projectKind===3||t.projectKind===4}var nz,Wk,nge,uge,rge,age,oge,Zee,MQt=o({"src/server/project.ts"(){Xv(),Xv(),_9(),nz=(t=>(t[t.Inferred=0]="Inferred",t[t.Configured=1]="Configured",t[t.External=2]="External",t[t.AutoImportProvider=3]="AutoImportProvider",t[t.Auxiliary=4]="Auxiliary",t))(nz||{}),Wk=class W6t{constructor(u,s,d,f,p,E,v,b,B,k,T){switch(this.projectKind=s,this.projectService=d,this.documentRegistry=f,this.compilerOptions=v,this.compileOnSaveEnabled=b,this.watchOptions=B,this.rootFiles=[],this.rootFilesMap=new Map,this.plugins=[],this.cachedUnresolvedImportsPerFile=new Map,this.hasAddedorRemovedFiles=!1,this.hasAddedOrRemovedSymlinks=!1,this.lastReportedVersion=0,this.projectProgramVersion=0,this.projectStateVersion=0,this.isInitialLoadPending=cg,this.dirty=!1,this.typingFiles=$c,this.moduleSpecifierCache=ENe(this),this.createHash=Lo(this.projectService.host,this.projectService.host.createHash),this.globalCacheResolutionModuleName=o3.nonRelativeModuleNameForTypingCache,this.projectName=u,this.directoryStructureHost=k,this.currentDirectory=this.projectService.getNormalizedAbsolutePath(T),this.getCanonicalFileName=this.projectService.toCanonicalFileName,this.jsDocParsingMode=this.projectService.jsDocParsingMode,this.cancellationToken=new zme(this.projectService.cancellationToken,this.projectService.throttleWaitMilliseconds),this.compilerOptions?(p||Bv(this.compilerOptions)||this.projectService.hasDeferredExtension())&&(this.compilerOptions.allowNonTsExtensions=!0):(this.compilerOptions=gee(),this.compilerOptions.allowNonTsExtensions=!0,this.compilerOptions.allowJs=!0),d.serverMode){case 0:this.languageServiceEnabled=!0;break;case 1:this.languageServiceEnabled=!0,this.compilerOptions.noResolve=!0,this.compilerOptions.types=[];break;case 2:this.languageServiceEnabled=!1,this.compilerOptions.noResolve=!0,this.compilerOptions.types=[];break;default:H.assertNever(d.serverMode)}this.setInternalCompilerOptionsForEmittingJsFiles();const M=this.projectService.host;this.projectService.logger.loggingEnabled()?this.trace=z=>this.writeLog(z):M.trace&&(this.trace=z=>M.trace(z)),this.realpath=Lo(M,M.realpath),this.resolutionCache=$1e(this,this.currentDirectory,!0),this.languageService=eBe(this,this.documentRegistry,this.projectService.serverMode),E&&this.disableLanguageService(E),this.markAsDirty(),WK(this)||(this.projectService.pendingEnsureProjectForOpenFiles=!0),this.projectService.onProjectCreation(this)}getResolvedProjectReferenceToRedirect(u){}isNonTsProject(){return Gm(this),nNe(this)}isJsOnlyProject(){return Gm(this),LQt(this)}static resolveModule(u,s,d,f){return W6t.importServicePluginSync({name:u},[s],d,f).resolvedModule}static importServicePluginSync(u,s,d,f){H.assertIsDefined(d.require);let p,E;for(const v of s){const b=q1(d.resolvePath(cr(v,"node_modules")));f(`Loading ${u.name} from ${v} (resolved to ${b})`);const B=d.require(b,u.name);if(!B.error){E=B.module;break}const k=B.error.stack||B.error.message||JSON.stringify(B.error);(p??(p=[])).push(`Failed to load module '${u.name}' from ${b}: ${k}`)}return{pluginConfigEntry:u,resolvedModule:E,errorLogs:p}}static async importServicePluginAsync(u,s,d,f){H.assertIsDefined(d.importPlugin);let p,E;for(const v of s){const b=cr(v,"node_modules");f(`Dynamically importing ${u.name} from ${v} (resolved to ${b})`);let B;try{B=await d.importPlugin(b,u.name)}catch(T){B={module:void 0,error:T}}if(!B.error){E=B.module;break}const k=B.error.stack||B.error.message||JSON.stringify(B.error);(p??(p=[])).push(`Failed to dynamically import module '${u.name}' from ${b}: ${k}`)}return{pluginConfigEntry:u,resolvedModule:E,errorLogs:p}}isKnownTypesPackageName(u){return this.typingsCache.isKnownTypesPackageName(u)}installPackage(u){return this.typingsCache.installPackage({...u,projectName:this.projectName,projectRootPath:this.toPath(this.currentDirectory)})}getGlobalTypingsCacheLocation(){return this.getGlobalCache()}get typingsCache(){return this.projectService.typingsCache}getSymlinkCache(){return this.symlinks||(this.symlinks=ble(this.getCurrentDirectory(),this.getCanonicalFileName)),this.program&&!this.symlinks.hasProcessedResolutions()&&this.symlinks.setSymlinksFromResolutions(this.program.forEachResolvedModule,this.program.forEachResolvedTypeReferenceDirective,this.program.getAutomaticTypeDirectiveResolutions()),this.symlinks}getCompilationSettings(){return this.compilerOptions}getCompilerOptions(){return this.getCompilationSettings()}getNewLine(){return this.projectService.host.newLine}getProjectVersion(){return this.projectStateVersion.toString()}getProjectReferences(){}getScriptFileNames(){if(!this.rootFiles)return _t;let u;return this.rootFilesMap.forEach(s=>{(this.languageServiceEnabled||s.info&&s.info.isScriptOpen())&&(u||(u=[])).push(s.fileName)}),yn(u,this.typingFiles)||_t}getOrCreateScriptInfoAndAttachToProject(u){const s=this.projectService.getOrCreateScriptInfoNotOpenedByClient(u,this.currentDirectory,this.directoryStructureHost);if(s){const d=this.rootFilesMap.get(s.path);d&&d.info!==s&&(this.rootFiles.push(s),d.info=s),s.attachToProject(this)}return s}getScriptKind(u){const s=this.projectService.getScriptInfoForPath(this.toPath(u));return s&&s.scriptKind}getScriptVersion(u){const s=this.projectService.getOrCreateScriptInfoNotOpenedByClient(u,this.currentDirectory,this.directoryStructureHost);return s&&s.getLatestVersion()}getScriptSnapshot(u){const s=this.getOrCreateScriptInfoAndAttachToProject(u);if(s)return s.getSnapshot()}getCancellationToken(){return this.cancellationToken}getCurrentDirectory(){return this.currentDirectory}getDefaultLibFileName(){const u=lr($o(this.projectService.getExecutingFilePath()));return cr(u,zO(this.compilerOptions))}useCaseSensitiveFileNames(){return this.projectService.host.useCaseSensitiveFileNames}readDirectory(u,s,d,f,p){return this.directoryStructureHost.readDirectory(u,s,d,f,p)}readFile(u){return this.projectService.host.readFile(u)}writeFile(u,s){return this.projectService.host.writeFile(u,s)}fileExists(u){const s=this.toPath(u);return!this.isWatchedMissingFile(s)&&this.directoryStructureHost.fileExists(u)}resolveModuleNameLiterals(u,s,d,f,p,E){return this.resolutionCache.resolveModuleNameLiterals(u,s,d,f,p,E)}getModuleResolutionCache(){return this.resolutionCache.getModuleResolutionCache()}resolveTypeReferenceDirectiveReferences(u,s,d,f,p,E){return this.resolutionCache.resolveTypeReferenceDirectiveReferences(u,s,d,f,p,E)}resolveLibrary(u,s,d,f){return this.resolutionCache.resolveLibrary(u,s,d,f)}directoryExists(u){return this.directoryStructureHost.directoryExists(u)}getDirectories(u){return this.directoryStructureHost.getDirectories(u)}getCachedDirectoryStructureHost(){}toPath(u){return J0(u,this.currentDirectory,this.projectService.toCanonicalFileName)}watchDirectoryOfFailedLookupLocation(u,s,d){return this.projectService.watchFactory.watchDirectory(u,s,d,this.projectService.getWatchOptions(this),cd.FailedLookupLocations,this)}watchAffectingFileLocation(u,s){return this.projectService.watchFactory.watchFile(u,s,2e3,this.projectService.getWatchOptions(this),cd.AffectingFileLocation,this)}clearInvalidateResolutionOfFailedLookupTimer(){return this.projectService.throttledOperations.cancel(`${this.getProjectName()}FailedLookupInvalidation`)}scheduleInvalidateResolutionsOfFailedLookupLocations(){this.projectService.throttledOperations.schedule(`${this.getProjectName()}FailedLookupInvalidation`,1e3,()=>{this.resolutionCache.invalidateResolutionsOfFailedLookupLocations()&&this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)})}invalidateResolutionsOfFailedLookupLocations(){this.clearInvalidateResolutionOfFailedLookupTimer()&&this.resolutionCache.invalidateResolutionsOfFailedLookupLocations()&&(this.markAsDirty(),this.projectService.delayEnsureProjectForOpenFiles())}onInvalidatedResolution(){this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}watchTypeRootsDirectory(u,s,d){return this.projectService.watchFactory.watchDirectory(u,s,d,this.projectService.getWatchOptions(this),cd.TypeRoots,this)}hasChangedAutomaticTypeDirectiveNames(){return this.resolutionCache.hasChangedAutomaticTypeDirectiveNames()}onChangedAutomaticTypeDirectiveNames(){this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}getGlobalCache(){return this.getTypeAcquisition().enable?this.projectService.typingsInstaller.globalTypingsCacheLocation:void 0}fileIsOpen(u){return this.projectService.openFiles.has(u)}writeLog(u){this.projectService.logger.info(u)}log(u){this.writeLog(u)}error(u){this.projectService.logger.msg(u,"Err")}setInternalCompilerOptionsForEmittingJsFiles(){(this.projectKind===0||this.projectKind===2)&&(this.compilerOptions.noEmitForJsFiles=!0)}getGlobalProjectErrors(){return ti(this.projectErrors,u=>!u.file)||$c}getAllProjectErrors(){return this.projectErrors||$c}setProjectErrors(u){this.projectErrors=u}getLanguageService(u=!0){return u&&Gm(this),this.languageService}getSourceMapper(){return this.getLanguageService().getSourceMapper()}clearSourceMapperCache(){this.languageService.clearSourceMapperCache()}getDocumentPositionMapper(u,s){return this.projectService.getDocumentPositionMapper(this,u,s)}getSourceFileLike(u){return this.projectService.getSourceFileLike(u,this)}shouldEmitFile(u){return u&&!u.isDynamicOrHasMixedContent()&&!this.program.isSourceOfProjectReferenceRedirect(u.path)}getCompileOnSaveAffectedFileList(u){return this.languageServiceEnabled?(Gm(this),this.builderState=Wp.create(this.program,this.builderState,!0),qi(Wp.getFilesAffectedBy(this.builderState,this.program,u.path,this.cancellationToken,this.projectService.host),s=>this.shouldEmitFile(this.projectService.getScriptInfoForPath(s.path))?s.fileName:void 0)):[]}emitFile(u,s){if(!this.languageServiceEnabled||!this.shouldEmitFile(u))return{emitSkipped:!0,diagnostics:$c};const{emitSkipped:d,diagnostics:f,outputFiles:p}=this.getLanguageService().getEmitOutput(u.fileName);if(!d){for(const E of p){const v=$a(E.name,this.currentDirectory);s(v,E.text,E.writeByteOrderMark)}if(this.builderState&&c4(this.compilerOptions)){const E=p.filter(v=>e1(v.name));if(E.length===1){const v=this.program.getSourceFile(u.fileName),b=this.projectService.host.createHash?this.projectService.host.createHash(E[0].text):AN(E[0].text);Wp.updateSignatureOfFile(this.builderState,b,v.resolvedPath)}}}return{emitSkipped:d,diagnostics:f}}enableLanguageService(){this.languageServiceEnabled||this.projectService.serverMode===2||(this.languageServiceEnabled=!0,this.lastFileExceededProgramSize=void 0,this.projectService.onUpdateLanguageServiceStateForProject(this,!0))}cleanupProgram(){if(this.program){for(const u of this.program.getSourceFiles())this.detachScriptInfoIfNotRoot(u.fileName);this.program.forEachResolvedProjectReference(u=>this.detachScriptInfoFromProject(u.sourceFile.fileName)),this.program=void 0}}disableLanguageService(u){this.languageServiceEnabled&&(H.assert(this.projectService.serverMode!==2),this.languageService.cleanupSemanticCache(),this.languageServiceEnabled=!1,this.cleanupProgram(),this.lastFileExceededProgramSize=u,this.builderState=void 0,this.autoImportProviderHost&&this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0,this.resolutionCache.closeTypeRootsWatch(),this.clearGeneratedFileWatch(),this.projectService.verifyDocumentRegistry(),this.projectService.onUpdateLanguageServiceStateForProject(this,!1))}getProjectName(){return this.projectName}removeLocalTypingsFromTypeAcquisition(u){return!u||!u.include?u:{...u,include:this.removeExistingTypings(u.include)}}getExternalFiles(u){return Ph(ju(this.plugins,s=>{if(typeof s.module.getExternalFiles=="function")try{return s.module.getExternalFiles(this,u||0)}catch(d){this.projectService.logger.info(`A plugin threw an exception in getExternalFiles: ${d}`),d.stack&&this.projectService.logger.info(d.stack)}}))}getSourceFile(u){if(this.program)return this.program.getSourceFileByPath(u)}getSourceFileOrConfigFile(u){const s=this.program.getCompilerOptions();return u===s.configFilePath?s.configFile:this.getSourceFile(u)}close(){this.projectService.typingsCache.onProjectClosed(this),this.closeWatchingTypingLocations(),this.cleanupProgram(),L(this.externalFiles,u=>this.detachScriptInfoIfNotRoot(u));for(const u of this.rootFiles)u.detachFromProject(this);this.projectService.pendingEnsureProjectForOpenFiles=!0,this.rootFiles=void 0,this.rootFilesMap=void 0,this.externalFiles=void 0,this.program=void 0,this.builderState=void 0,this.resolutionCache.clear(),this.resolutionCache=void 0,this.cachedUnresolvedImportsPerFile=void 0,this.moduleSpecifierCache=void 0,this.directoryStructureHost=void 0,this.exportMapCache=void 0,this.projectErrors=void 0,this.plugins.length=0,this.missingFilesMap&&(rf(this.missingFilesMap,fg),this.missingFilesMap=void 0),this.clearGeneratedFileWatch(),this.clearInvalidateResolutionOfFailedLookupTimer(),this.autoImportProviderHost&&this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0,this.noDtsResolutionProject&&this.noDtsResolutionProject.close(),this.noDtsResolutionProject=void 0,this.languageService.dispose(),this.languageService=void 0}detachScriptInfoIfNotRoot(u){const s=this.projectService.getScriptInfo(u);s&&!this.isRoot(s)&&s.detachFromProject(this)}isClosed(){return this.rootFiles===void 0}hasRoots(){return this.rootFiles&&this.rootFiles.length>0}isOrphan(){return!1}getRootFiles(){return this.rootFiles&&this.rootFiles.map(u=>u.fileName)}getRootFilesMap(){return this.rootFilesMap}getRootScriptInfos(){return this.rootFiles}getScriptInfos(){return this.languageServiceEnabled?Vt(this.program.getSourceFiles(),u=>{const s=this.projectService.getScriptInfoForPath(u.resolvedPath);return H.assert(!!s,"getScriptInfo",()=>`scriptInfo for a file '${u.fileName}' Path: '${u.path}' / '${u.resolvedPath}' is missing.`),s}):this.rootFiles}getExcludedFiles(){return $c}getFileNames(u,s){if(!this.program)return[];if(!this.languageServiceEnabled){let f=this.getRootFiles();if(this.compilerOptions){const p=tBe(this.compilerOptions);p&&(f||(f=[])).push(p)}return f}const d=[];for(const f of this.program.getSourceFiles())u&&this.program.isSourceFileFromExternalLibrary(f)||d.push(f.fileName);if(!s){const f=this.program.getCompilerOptions().configFile;if(f&&(d.push(f.fileName),f.extendedSourceFiles))for(const p of f.extendedSourceFiles)d.push(p)}return d}getFileNamesWithRedirectInfo(u){return this.getFileNames().map(s=>({fileName:s,isSourceOfProjectReferenceRedirect:u&&this.isSourceOfProjectReferenceRedirect(s)}))}hasConfigFile(u){if(this.program&&this.languageServiceEnabled){const s=this.program.getCompilerOptions().configFile;if(s){if(u===s.fileName)return!0;if(s.extendedSourceFiles){for(const d of s.extendedSourceFiles)if(u===d)return!0}}}return!1}containsScriptInfo(u){if(this.isRoot(u))return!0;if(!this.program)return!1;const s=this.program.getSourceFileByPath(u.path);return!!s&&s.resolvedPath===u.path}containsFile(u,s){const d=this.projectService.getScriptInfoForNormalizedPath(u);return d&&(d.isScriptOpen()||!s)?this.containsScriptInfo(d):!1}isRoot(u){var s;return this.rootFilesMap&&((s=this.rootFilesMap.get(u.path))==null?void 0:s.info)===u}addRoot(u,s){H.assert(!this.isRoot(u)),this.rootFiles.push(u),this.rootFilesMap.set(u.path,{fileName:s||u.fileName,info:u}),u.attachToProject(this),this.markAsDirty()}addMissingFileRoot(u){const s=this.projectService.toPath(u);this.rootFilesMap.set(s,{fileName:u}),this.markAsDirty()}removeFile(u,s,d){this.isRoot(u)&&this.removeRoot(u),s?this.resolutionCache.removeResolutionsOfFile(u.path):this.resolutionCache.invalidateResolutionOfFile(u.path),this.cachedUnresolvedImportsPerFile.delete(u.path),d&&u.detachFromProject(this),this.markAsDirty()}registerFileUpdate(u){(this.updatedFileNames||(this.updatedFileNames=new Set)).add(u)}markFileAsDirty(u){this.markAsDirty(),this.exportMapCache&&!this.exportMapCache.isEmpty()&&(this.changedFilesForExportMapCache||(this.changedFilesForExportMapCache=new Set)).add(u)}markAsDirty(){this.dirty||(this.projectStateVersion++,this.dirty=!0)}onAutoImportProviderSettingsChanged(){var u;this.autoImportProviderHost===!1?this.autoImportProviderHost=void 0:(u=this.autoImportProviderHost)==null||u.markAsDirty()}onPackageJsonChange(u){var s;(s=this.packageJsonsForAutoImport)!=null&&s.has(u)&&(this.moduleSpecifierCache.clear(),this.autoImportProviderHost&&this.autoImportProviderHost.markAsDirty())}onFileAddedOrRemoved(u){this.hasAddedorRemovedFiles=!0,u&&(this.hasAddedOrRemovedSymlinks=!0)}onDiscoveredSymlink(){this.hasAddedOrRemovedSymlinks=!0}updateGraph(){var u,s,d,f,p;(u=Gn)==null||u.push(Gn.Phase.Session,"updateGraph",{name:this.projectName,kind:nz[this.projectKind]}),(s=hh)==null||s.logStartUpdateGraph(),this.resolutionCache.startRecordingFilesWithChangedResolutions();const E=this.updateGraphWorker(),v=this.hasAddedorRemovedFiles;this.hasAddedorRemovedFiles=!1,this.hasAddedOrRemovedSymlinks=!1;const b=this.resolutionCache.finishRecordingFilesWithChangedResolutions()||$c;for(const k of b)this.cachedUnresolvedImportsPerFile.delete(k);this.languageServiceEnabled&&this.projectService.serverMode===0?((E||b.length)&&(this.lastCachedUnresolvedImportsList=NQt(this.program,this.cachedUnresolvedImportsPerFile)),this.projectService.typingsCache.enqueueInstallTypingsForProject(this,this.lastCachedUnresolvedImportsList,v)):this.lastCachedUnresolvedImportsList=void 0;const B=this.projectProgramVersion===0&&E;return E&&this.projectProgramVersion++,v&&(this.autoImportProviderHost||(this.autoImportProviderHost=void 0),(d=this.autoImportProviderHost)==null||d.markAsDirty()),B&&this.getPackageJsonAutoImportProvider(),(f=hh)==null||f.logStopUpdateGraph(),(p=Gn)==null||p.pop(),!E}updateTypingFiles(u){eU(u,this.typingFiles,CN(!this.useCaseSensitiveFileNames()),Is,s=>this.detachScriptInfoFromProject(s))&&(this.typingFiles=u,this.resolutionCache.setFilesWithInvalidatedNonRelativeUnresolvedImports(this.cachedUnresolvedImportsPerFile),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this))}closeWatchingTypingLocations(){this.typingWatchers&&rf(this.typingWatchers,fg),this.typingWatchers=void 0}onTypingInstallerWatchInvoke(){this.typingWatchers.isInvoked=!0,this.projectService.updateTypingsForProject({projectName:this.getProjectName(),kind:YQ})}watchTypingLocations(u){if(!u){this.typingWatchers.isInvoked=!1;return}if(!u.length){this.closeWatchingTypingLocations();return}const s=new Map(this.typingWatchers);this.typingWatchers||(this.typingWatchers=new Map),this.typingWatchers.isInvoked=!1;const d=(f,p)=>{const E=this.toPath(f);s.delete(E),this.typingWatchers.has(E)||this.typingWatchers.set(E,p==="FileWatcher"?this.projectService.watchFactory.watchFile(f,()=>this.typingWatchers.isInvoked?this.writeLog("TypingWatchers already invoked"):this.onTypingInstallerWatchInvoke(),2e3,this.projectService.getWatchOptions(this),cd.TypingInstallerLocationFile,this):this.projectService.watchFactory.watchDirectory(f,v=>{if(this.typingWatchers.isInvoked)return this.writeLog("TypingWatchers already invoked");if(!Ml(v,".json"))return this.writeLog("Ignoring files that are not *.json");if(pv(v,cr(this.projectService.typingsInstaller.globalTypingsCacheLocation,"package.json"),!this.useCaseSensitiveFileNames()))return this.writeLog("Ignoring package.json change at global typings location");this.onTypingInstallerWatchInvoke()},1,this.projectService.getWatchOptions(this),cd.TypingInstallerLocationDirectory,this))};for(const f of u){const p=Ac(f);if(p==="package.json"||p==="bower.json"){d(f,"FileWatcher");continue}if(GE(this.currentDirectory,f,this.currentDirectory,!this.useCaseSensitiveFileNames())){const E=f.indexOf(rl,this.currentDirectory.length+1);d(E!==-1?f.substr(0,E):f,"DirectoryWatcher");continue}if(GE(this.projectService.typingsInstaller.globalTypingsCacheLocation,f,this.currentDirectory,!this.useCaseSensitiveFileNames())){d(this.projectService.typingsInstaller.globalTypingsCacheLocation,"DirectoryWatcher");continue}d(f,"DirectoryWatcher")}s.forEach((f,p)=>{f.close(),this.typingWatchers.delete(p)})}getCurrentProgram(){return this.program}removeExistingTypings(u){const s=VY(this.getCompilerOptions(),this.directoryStructureHost);return u.filter(d=>!s.includes(d))}updateGraphWorker(){var u,s;const d=this.languageService.getCurrentProgram();H.assert(d===this.program),H.assert(!this.isClosed(),"Called update graph worker of closed project"),this.writeLog(`Starting updateGraphWorker: Project: ${this.getProjectName()}`);const f=G0(),{hasInvalidatedResolutions:p,hasInvalidatedLibResolutions:E}=this.resolutionCache.createHasInvalidatedResolutions(cg,cg);this.hasInvalidatedResolutions=p,this.hasInvalidatedLibResolutions=E,this.resolutionCache.startCachingPerDirectoryResolution(),this.program=this.languageService.getProgram(),this.dirty=!1,(u=Gn)==null||u.push(Gn.Phase.Session,"finishCachingPerDirectoryResolution"),this.resolutionCache.finishCachingPerDirectoryResolution(this.program,d),(s=Gn)==null||s.pop(),H.assert(d===void 0||this.program!==void 0);let v=!1;if(this.program&&(!d||this.program!==d&&this.program.structureIsReused!==2)){if(v=!0,d){for(const k of d.getSourceFiles()){const T=this.program.getSourceFileByPath(k.resolvedPath);(!T||k.resolvedPath===k.path&&T.resolvedPath!==k.path)&&this.detachScriptInfoFromProject(k.fileName,!!this.program.getSourceFileByPath(k.path),!0)}d.forEachResolvedProjectReference(k=>{this.program.getResolvedProjectReferenceByPath(k.sourceFile.path)||this.detachScriptInfoFromProject(k.sourceFile.fileName,void 0,!0)})}if(g1e(this.program,this.missingFilesMap||(this.missingFilesMap=new Map),k=>this.addMissingFileWatcher(k)),this.generatedFilesMap){const k=y0(this.compilerOptions);rNe(this.generatedFilesMap)?(!k||!this.isValidGeneratedFileWatcher(_h(k)+".d.ts",this.generatedFilesMap))&&this.clearGeneratedFileWatch():k?this.clearGeneratedFileWatch():this.generatedFilesMap.forEach((T,M)=>{const z=this.program.getSourceFileByPath(M);(!z||z.resolvedPath!==M||!this.isValidGeneratedFileWatcher(Mq(z.fileName,this.compilerOptions,this.currentDirectory,this.program.getCommonSourceDirectory(),this.getCanonicalFileName),T))&&(jm(T),this.generatedFilesMap.delete(M))})}this.languageServiceEnabled&&this.projectService.serverMode===0&&this.resolutionCache.updateTypeRootsWatch()}this.projectService.verifyProgram(this),this.exportMapCache&&!this.exportMapCache.isEmpty()&&(this.exportMapCache.releaseSymbols(),this.hasAddedorRemovedFiles||d&&!this.program.structureIsReused?this.exportMapCache.clear():this.changedFilesForExportMapCache&&d&&this.program&&U_(this.changedFilesForExportMapCache,k=>{const T=d.getSourceFileByPath(k),M=this.program.getSourceFileByPath(k);return!T||!M?(this.exportMapCache.clear(),!0):this.exportMapCache.onFileChanged(T,M,!!this.getTypeAcquisition().enable)})),this.changedFilesForExportMapCache&&this.changedFilesForExportMapCache.clear(),(this.hasAddedOrRemovedSymlinks||this.program&&!this.program.structureIsReused&&this.getCompilerOptions().preserveSymlinks)&&(this.symlinks=void 0,this.moduleSpecifierCache.clear());const b=this.externalFiles||$c;this.externalFiles=this.getExternalFiles(),eU(this.externalFiles,b,CN(!this.useCaseSensitiveFileNames()),k=>{const T=this.projectService.getOrCreateScriptInfoNotOpenedByClient(k,this.currentDirectory,this.directoryStructureHost);T==null||T.attachToProject(this)},k=>this.detachScriptInfoFromProject(k));const B=G0()-f;return this.sendPerformanceEvent("UpdateGraph",B),this.writeLog(`Finishing updateGraphWorker: Project: ${this.getProjectName()} Version: ${this.getProjectVersion()} structureChanged: ${v}${this.program?` structureIsReused:: ${cU[this.program.structureIsReused]}`:""} Elapsed: ${B}ms`),this.projectService.logger.isTestLogger?this.program!==d?this.print(!0,this.hasAddedorRemovedFiles,!0):this.writeLog("Same program as before"):this.hasAddedorRemovedFiles?this.print(!0,!0,!1):this.program!==d&&this.writeLog("Different program with same set of files"),this.projectService.verifyDocumentRegistry(),v}sendPerformanceEvent(u,s){this.projectService.sendPerformanceEvent(u,s)}detachScriptInfoFromProject(u,s,d){const f=this.projectService.getScriptInfo(u);f&&(f.detachFromProject(this),s||this.resolutionCache.removeResolutionsOfFile(f.path,d))}addMissingFileWatcher(u){var s;if(Qv(this)){const f=this.projectService.configFileExistenceInfoCache.get(u);if((s=f==null?void 0:f.config)!=null&&s.projects.has(this.canonicalConfigFilePath))return tw}const d=this.projectService.watchFactory.watchFile(u,(f,p)=>{Qv(this)&&this.getCachedDirectoryStructureHost().addOrDeleteFile(f,u,p),p===0&&this.missingFilesMap.has(u)&&(this.missingFilesMap.delete(u),d.close(),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this))},500,this.projectService.getWatchOptions(this),cd.MissingFile,this);return d}isWatchedMissingFile(u){return!!this.missingFilesMap&&this.missingFilesMap.has(u)}addGeneratedFileWatch(u,s){if(y0(this.compilerOptions))this.generatedFilesMap||(this.generatedFilesMap=this.createGeneratedFileWatcher(u));else{const d=this.toPath(s);if(this.generatedFilesMap){if(rNe(this.generatedFilesMap)){H.fail(`${this.projectName} Expected to not have --out watcher for generated file with options: ${JSON.stringify(this.compilerOptions)}`);return}if(this.generatedFilesMap.has(d))return}else this.generatedFilesMap=new Map;this.generatedFilesMap.set(d,this.createGeneratedFileWatcher(u))}}createGeneratedFileWatcher(u){return{generatedFilePath:this.toPath(u),watcher:this.projectService.watchFactory.watchFile(u,()=>{this.clearSourceMapperCache(),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)},2e3,this.projectService.getWatchOptions(this),cd.MissingGeneratedFile,this)}}isValidGeneratedFileWatcher(u,s){return this.toPath(u)===s.generatedFilePath}clearGeneratedFileWatch(){this.generatedFilesMap&&(rNe(this.generatedFilesMap)?jm(this.generatedFilesMap):rf(this.generatedFilesMap,jm),this.generatedFilesMap=void 0)}getScriptInfoForNormalizedPath(u){const s=this.projectService.getScriptInfoForPath(this.toPath(u));return s&&!s.isAttached(this)?v5.ThrowProjectDoesNotContainDocument(u,this):s}getScriptInfo(u){return this.projectService.getScriptInfo(u)}filesToString(u){return this.filesToStringWorker(u,!0,!1)}filesToStringWorker(u,s,d){if(this.isInitialLoadPending())return` Files (0) InitialLoadPending +`:d.prefix}}getInsertNodeAfterOptionsWorker(u){switch(u.kind){case 263:case 267:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 260:case 11:case 80:return{prefix:", "};case 303:return{suffix:","+this.newLineCharacter};case 95:return{prefix:" "};case 169:return{};default:return H.assert(na(u)||OU(u)),{suffix:this.newLineCharacter}}}insertName(u,s,d){if(H.assert(!s.name),s.kind===219){const f=a0(s,39,u),p=a0(s,21,u);p?(this.insertNodesAt(u,p.getStart(u),[q.createToken(100),q.createIdentifier(d)],{joiner:" "}),lD(this,u,f)):(this.insertText(u,Pn(s.parameters).getStart(u),`function ${d}(`),this.replaceRange(u,f,q.createToken(22))),s.body.kind!==241&&(this.insertNodesAt(u,s.body.getStart(u),[q.createToken(19),q.createToken(107)],{joiner:" ",suffix:" "}),this.insertNodesAt(u,s.body.end,[q.createToken(27),q.createToken(20)],{joiner:" "}))}else{const f=a0(s,s.kind===218?100:86,u).end;this.insertNodeAt(u,f,q.createIdentifier(d),{prefix:" "})}}insertExportModifier(u,s){this.insertText(u,s.getStart(u),"export ")}insertImportSpecifierAtIndex(u,s,d,f){const p=d.elements[f-1];p?this.insertNodeInListAfter(u,p,s):this.insertNodeBefore(u,d.elements[0],s,!q4(d.elements[0].getStart(),d.parent.parent.getStart(),u))}insertNodeInListAfter(u,s,d,f=dd.SmartIndenter.getContainingList(s,u)){if(!f){H.fail("node is not a list element");return}const p=j8(f,s);if(p<0)return;const E=s.getEnd();if(p!==f.length-1){const v=Ca(u,s.end);if(v&&zpe(s,v)){const b=f[p+1],B=zlt(u.text,b.getFullStart()),k=`${Uo(v.kind)}${u.text.substring(v.end,B)}`;this.insertNodesAt(u,B,[d],{suffix:k})}}else{const v=s.getStart(u),b=tp(v,u);let B,k=!1;if(f.length===1)B=28;else{const T=td(s.pos,u);B=zpe(s,T)?T.kind:28,k=tp(f[p-1].getStart(u),u)!==b}if(JZt(u.text,s.end)&&(k=!0),k){this.replaceRange(u,s4(E),q.createToken(B));const T=dd.SmartIndenter.findFirstNonWhitespaceColumn(b,v,u,this.formatContext.options);let M=gs(u.text,E,!0,!1);for(;M!==E&&Z1(u.text.charCodeAt(M-1));)M--;this.replaceRange(u,s4(M),d,{indentation:T,prefix:this.newLineCharacter})}else this.replaceRange(u,s4(E),d,{prefix:`${Uo(B)} `})}}parenthesizeExpression(u,s){this.replaceRange(u,Tle(s),q.createParenthesizedExpression(s))}finishClassesWithNodesInsertedAtStart(){this.classesWithNodesInsertedAtStart.forEach(({node:u,sourceFile:s})=>{const[d,f]=YZt(u,s);if(d!==void 0&&f!==void 0){const p=Ipe(u).length===0,E=q4(d,f,s);p&&E&&d!==f-1&&this.deleteRange(s,s4(d,f-1)),E&&this.insertText(s,f-1,this.newLineCharacter)}})}finishDeleteDeclarations(){const u=new Set;for(const{sourceFile:s,node:d}of this.deletedNodes)this.deletedNodes.some(f=>f.sourceFile===s&&q9e(f.node,d))||(Ha(d)?this.deleteRange(s,Lle(s,d)):mLe.deleteDeclaration(this,u,s,d));u.forEach(s=>{const d=s.getSourceFile(),f=dd.SmartIndenter.getContainingList(s,d);if(s!==Cr(f))return;const p=Ze(f,E=>!u.has(E),f.length-2);p!==-1&&this.deleteRange(d,{pos:f[p].end,end:cLe(d,f[p+1])})})}getChanges(u){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();const s=Ope.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,u);return this.newFileChanges&&this.newFileChanges.forEach((d,f)=>{s.push(Ope.newFileChanges(f,d,this.newLineCharacter,this.formatContext))}),s}createNewFile(u,s,d){this.insertStatementsInNewFile(s,d,u)}},(t=>{function u(v,b,B,k){return qi(vN(v,T=>T.sourceFile.path),T=>{const M=T[0].sourceFile,z=oc(T,(J,K)=>J.range.pos-K.range.pos||J.range.end-K.range.end);for(let J=0;J`${JSON.stringify(z[J].range)} and ${JSON.stringify(z[J+1].range)}`);const j=qi(z,J=>{const K=qx(J.range),Y=J.kind===1?zn(Wl(J.node))??J.sourceFile:J.kind===2?zn(Wl(J.nodes[0]))??J.sourceFile:J.sourceFile,oe=f(J,Y,M,b,B,k);if(!(K.length===oe.length&&MSe(Y.text,oe,K.start)))return VH(K,oe)});return j.length>0?{fileName:M.fileName,textChanges:j}:void 0})}t.getTextChangesFromChanges=u;function s(v,b,B,k){const T=d(sZ(v),b,B,k);return{fileName:v,textChanges:[VH(d1(0,0),T)],isNewFile:!0}}t.newFileChanges=s;function d(v,b,B,k){const T=ju(b,j=>j.statements.map(J=>J===4?"":E(J,j.oldFile,B).text)).join(B),M=KV("any file name",T,{languageVersion:99,jsDocParsingMode:1},!0,v),z=dd.formatDocument(M,k);return dLe(T,z)+B}t.newFileChangesWorker=d;function f(v,b,B,k,T,M){var z;if(v.kind===0)return"";if(v.kind===3)return v.text;const{options:j={},range:{pos:J}}=v,K=se=>p(se,b,B,J,j,k,T,M),Y=v.kind===2?v.nodes.map(se=>D8(K(se),k)).join(((z=v.options)==null?void 0:z.joiner)||k):K(v.node),oe=j.indentation!==void 0||tp(J,b)===J?Y:Y.replace(/^\s+/,"");return(j.prefix||"")+oe+(!j.suffix||sc(oe,j.suffix)?"":j.suffix)}function p(v,b,B,k,{indentation:T,prefix:M,delta:z},j,J,K){const{node:Y,text:oe}=E(v,b,j);K&&K(Y,oe);const se=jX(J,b),ge=T!==void 0?T:dd.SmartIndenter.getIndentation(k,B,se,M===j||tp(k,b)===k);z===void 0&&(z=dd.SmartIndenter.shouldIndentChildNode(se,v)&&se.indentSize||0);const ae={text:oe,getLineAndCharacterOfPosition(ne){return s0(this,ne)}},Ce=dd.formatNodeGivenIndentation(Y,ae,b.languageVariant,ge,z,{...J,options:se});return dLe(oe,Ce)}function E(v,b,B){const k=Ilt(B),T=eK(B);return Gv({newLine:T,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},k).writeNode(4,v,b,k),{text:k.getText(),node:Rpe(v)}}t.getNonformattedText=E})(Ope||(Ope={})),jlt={...Dg,factory:mV(Dg.factory.flags|1,Dg.factory.baseFactory)},(t=>{function u(p,E,v,b){switch(b.kind){case 169:{const z=b.parent;q0(z)&&z.parameters.length===1&&!a0(z,21,v)?p.replaceNodeWithText(v,b,"()"):IK(p,E,v,b);break}case 272:case 271:const B=v.imports.length&&b===Pn(v.imports).parent||b===Le(v.statements,tk);lD(p,v,b,{leadingTriviaOption:B?0:lm(b)?2:3});break;case 208:const k=b.parent;k.kind===207&&b!==Cr(k.elements)?lD(p,v,b):IK(p,E,v,b);break;case 260:f(p,E,v,b);break;case 168:IK(p,E,v,b);break;case 276:const M=b.parent;M.elements.length===1?d(p,v,M):IK(p,E,v,b);break;case 274:d(p,v,b);break;case 27:lD(p,v,b,{trailingTriviaOption:0});break;case 100:lD(p,v,b,{leadingTriviaOption:0});break;case 263:case 262:lD(p,v,b,{leadingTriviaOption:lm(b)?2:3});break;default:b.parent?n_(b.parent)&&b.parent.name===b?s(p,v,b.parent):Mo(b.parent)&&kt(b.parent.arguments,b)?IK(p,E,v,b):lD(p,v,b):lD(p,v,b)}}t.deleteDeclaration=u;function s(p,E,v){if(!v.namedBindings)lD(p,E,v.parent);else{const b=v.name.getStart(E),B=Ca(E,v.name.end);if(B&&B.kind===28){const k=gs(E.text,B.end,!1,!0);p.deleteRange(E,{pos:b,end:k})}else lD(p,E,v.name)}}function d(p,E,v){if(v.parent.name){const b=H.checkDefined(Ca(E,v.pos-1));p.deleteRange(E,{pos:b.getStart(E),end:v.end})}else{const b=Fv(v,272);lD(p,E,b)}}function f(p,E,v,b){const{parent:B}=b;if(B.kind===299){p.deleteNodeRange(v,a0(B,21,v),a0(B,22,v));return}if(B.declarations.length!==1){IK(p,E,v,b);return}const k=B.parent;switch(k.kind){case 250:case 249:p.replaceNode(v,b,q.createObjectLiteralExpression());break;case 248:lD(p,v,B);break;case 243:lD(p,v,k,{leadingTriviaOption:lm(k)?2:3});break;default:H.assertNever(k)}}})(mLe||(mLe={}))}}),iu={};h(iu,{ChangeTracker:()=>Olt,LeadingTriviaOption:()=>hLe,TrailingTriviaOption:()=>fLe,applyChanges:()=>dLe,assignPositionsToNode:()=>Rpe,createWriter:()=>Ilt,deleteNode:()=>lD,isThisTypeAnnotatable:()=>$Zt,isValidLocationToAddComment:()=>Rlt});var nYt=o({"src/services/_namespaces/ts.textChanges.ts"(){iYt()}}),pLe,gLe,uYt=o({"src/services/formatting/formattingContext.ts"(){rr(),pLe=(t=>(t[t.FormatDocument=0]="FormatDocument",t[t.FormatSelection=1]="FormatSelection",t[t.FormatOnEnter=2]="FormatOnEnter",t[t.FormatOnSemicolon=3]="FormatOnSemicolon",t[t.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",t[t.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace",t))(pLe||{}),gLe=class{constructor(t,u,s){this.sourceFile=t,this.formattingRequestKind=u,this.options=s}updateContext(t,u,s,d,f){this.currentTokenSpan=H.checkDefined(t),this.currentTokenParent=H.checkDefined(u),this.nextTokenSpan=H.checkDefined(s),this.nextTokenParent=H.checkDefined(d),this.contextNode=H.checkDefined(f),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0}ContextNodeAllOnSameLine(){return this.contextNodeAllOnSameLine===void 0&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine}NextNodeAllOnSameLine(){return this.nextNodeAllOnSameLine===void 0&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine}TokensAreOnSameLine(){if(this.tokensAreOnSameLine===void 0){const t=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,u=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=t===u}return this.tokensAreOnSameLine}ContextNodeBlockIsOnOneLine(){return this.contextNodeBlockIsOnOneLine===void 0&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine}NextNodeBlockIsOnOneLine(){return this.nextNodeBlockIsOnOneLine===void 0&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine}NodeIsOnOneLine(t){const u=this.sourceFile.getLineAndCharacterOfPosition(t.getStart(this.sourceFile)).line,s=this.sourceFile.getLineAndCharacterOfPosition(t.getEnd()).line;return u===s}BlockIsOnOneLine(t){const u=a0(t,19,this.sourceFile),s=a0(t,20,this.sourceFile);if(u&&s){const d=this.sourceFile.getLineAndCharacterOfPosition(u.getEnd()).line,f=this.sourceFile.getLineAndCharacterOfPosition(s.getStart(this.sourceFile)).line;return d===f}return!1}}}});function ELe(t,u,s,d,f){const p=u===1?Hlt:Vlt;p.setText(t),p.resetTokenState(s);let E=!0,v,b,B,k,T;const M=f({advance:z,readTokenInfo:ae,readEOFTokenRange:ne,isOnToken:ve,isOnEOF:Se,getCurrentLeadingTrivia:()=>v,lastTrailingTriviaWasNewLine:()=>E,skipToEndOf:pe,skipToStartOf:fe,getTokenFullStart:()=>(T==null?void 0:T.token.pos)??p.getTokenStart(),getStartPos:()=>(T==null?void 0:T.token.pos)??p.getTokenStart()});return T=void 0,p.setText(void 0),M;function z(){T=void 0,p.getTokenFullStart()!==s?E=!!b&&Cr(b).kind===4:p.scan(),v=void 0,b=void 0;let Be=p.getTokenFullStart();for(;Be(t[t.None=0]="None",t[t.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",t[t.StopProcessingTokenActions=2]="StopProcessingTokenActions",t[t.InsertSpace=4]="InsertSpace",t[t.InsertNewLine=8]="InsertNewLine",t[t.DeleteSpace=16]="DeleteSpace",t[t.DeleteToken=32]="DeleteToken",t[t.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",t[t.StopAction=3]="StopAction",t[t.ModifySpaceAction=28]="ModifySpaceAction",t[t.ModifyTokenAction=96]="ModifyTokenAction",t))(_Le||{}),DLe=(t=>(t[t.None=0]="None",t[t.CanDeleteNewLines=1]="CanDeleteNewLines",t))(DLe||{})}});function Klt(){const t=[];for(let Ce=0;Ce<=165;Ce++)Ce!==1&&t.push(Ce);function u(...Ce){return{tokens:t.filter(ne=>!Ce.some(ve=>ve===ne)),isSpecific:!1}}const s={tokens:t,isSpecific:!1},d=tz([...t,3]),f=tz([...t,1]),p=Glt(83,165),E=Glt(30,79),v=[103,104,165,130,142,152],b=[46,47,55,54],B=[9,10,80,21,23,19,110,105],k=[80,21,110,105],T=[80,22,24,105],M=[80,21,110,105],z=[80,22,24,105],j=[2,3],J=[80,...HX],K=d,Y=tz([80,3,86,95,102]),oe=tz([22,3,92,113,98,93]),se=[Ju("IgnoreBeforeComment",s,j,Kee,1),Ju("IgnoreAfterLineComment",2,s,Kee,1),Ju("NotSpaceBeforeColon",s,59,[ta,Wee,Ult],16),Ju("SpaceAfterColon",59,s,[ta,Wee,bYt],4),Ju("NoSpaceBeforeQuestionMark",s,58,[ta,Wee,Ult],16),Ju("SpaceAfterQuestionMarkInConditionalOperator",58,s,[ta,cYt],4),Ju("NoSpaceAfterQuestionMark",58,s,[ta,lYt],16),Ju("NoSpaceBeforeDot",s,[25,29],[ta,zYt],16),Ju("NoSpaceAfterDot",[25,29],s,[ta],16),Ju("NoSpaceBetweenImportParenInImportType",102,21,[ta,vYt],16),Ju("NoSpaceAfterUnaryPrefixOperator",b,B,[ta,Wee],16),Ju("NoSpaceAfterUnaryPreincrementOperator",46,k,[ta],16),Ju("NoSpaceAfterUnaryPredecrementOperator",47,M,[ta],16),Ju("NoSpaceBeforeUnaryPostincrementOperator",T,46,[ta,cct],16),Ju("NoSpaceBeforeUnaryPostdecrementOperator",z,47,[ta,cct],16),Ju("SpaceAfterPostincrementWhenFollowedByAdd",46,40,[ta,Qx],4),Ju("SpaceAfterAddWhenFollowedByUnaryPlus",40,40,[ta,Qx],4),Ju("SpaceAfterAddWhenFollowedByPreincrement",40,46,[ta,Qx],4),Ju("SpaceAfterPostdecrementWhenFollowedBySubtract",47,41,[ta,Qx],4),Ju("SpaceAfterSubtractWhenFollowedByUnaryMinus",41,41,[ta,Qx],4),Ju("SpaceAfterSubtractWhenFollowedByPredecrement",41,47,[ta,Qx],4),Ju("NoSpaceAfterCloseBrace",20,[28,27],[ta],16),Ju("NewLineBeforeCloseBraceInBlockContext",d,20,[Zlt],8),Ju("SpaceAfterCloseBrace",20,u(22),[ta,fYt],4),Ju("SpaceBetweenCloseBraceAndElse",20,93,[ta],4),Ju("SpaceBetweenCloseBraceAndWhile",20,117,[ta],4),Ju("NoSpaceBetweenEmptyBraceBrackets",19,20,[ta,ict],16),Ju("SpaceAfterConditionalClosingParen",22,23,[Gee],4),Ju("NoSpaceBetweenFunctionKeywordAndStar",100,42,[Xlt],16),Ju("SpaceAfterStarInGeneratorDeclaration",42,80,[Xlt],4),Ju("SpaceAfterFunctionInFuncDecl",100,s,[Kk],4),Ju("NewLineAfterOpenBraceInBlockContext",19,s,[Zlt],8),Ju("SpaceAfterGetSetInMember",[139,153],80,[Kk],4),Ju("NoSpaceBetweenYieldKeywordAndStar",127,42,[ta,lct],16),Ju("SpaceBetweenYieldOrYieldStarAndOperand",[127,42],s,[ta,lct],4),Ju("NoSpaceBetweenReturnAndSemicolon",107,27,[ta],16),Ju("SpaceAfterCertainKeywords",[115,111,105,91,107,114,135],s,[ta],4),Ju("SpaceAfterLetConstInVariableDeclaration",[121,87],s,[ta,FYt],4),Ju("NoSpaceBeforeOpenParenInFuncCall",s,21,[ta,gYt,EYt],16),Ju("SpaceBeforeBinaryKeywordOperator",s,v,[ta,Qx],4),Ju("SpaceAfterBinaryKeywordOperator",v,s,[ta,Qx],4),Ju("SpaceAfterVoidOperator",116,s,[ta,TYt],4),Ju("SpaceBetweenAsyncAndOpenParen",134,21,[xYt,ta],4),Ju("SpaceBetweenAsyncAndFunctionKeyword",134,[100,80],[ta],4),Ju("NoSpaceBetweenTagAndTemplateString",[80,22],[15,16],[ta],16),Ju("SpaceBeforeJsxAttribute",s,80,[CYt,ta],4),Ju("SpaceBeforeSlashInJsxOpeningElement",s,44,[act,ta],4),Ju("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",44,32,[act,ta],16),Ju("NoSpaceBeforeEqualInJsxAttribute",s,64,[uct,ta],16),Ju("NoSpaceAfterEqualInJsxAttribute",64,s,[uct,ta],16),Ju("NoSpaceBeforeJsxNamespaceColon",80,59,[rct],16),Ju("NoSpaceAfterJsxNamespaceColon",59,80,[rct],16),Ju("NoSpaceAfterModuleImport",[144,149],21,[ta],16),Ju("SpaceAfterCertainTypeScriptKeywords",[128,129,86,138,90,94,95,96,139,119,102,120,144,145,123,125,124,148,153,126,156,161,143,140],s,[ta],4),Ju("SpaceBeforeCertainTypeScriptKeywords",s,[96,119,161],[ta],4),Ju("SpaceAfterModuleName",11,19,[AYt],4),Ju("SpaceBeforeArrow",s,39,[ta],4),Ju("SpaceAfterArrow",39,s,[ta],4),Ju("NoSpaceAfterEllipsis",26,80,[ta],16),Ju("NoSpaceAfterOptionalParameters",58,[22,28],[ta,Wee],16),Ju("NoSpaceBetweenEmptyInterfaceBraceBrackets",19,20,[ta,SYt],16),Ju("NoSpaceBeforeOpenAngularBracket",J,30,[ta,Jee],16),Ju("NoSpaceBetweenCloseParenAndAngularBracket",22,30,[ta,Jee],16),Ju("NoSpaceAfterOpenAngularBracket",30,s,[ta,Jee],16),Ju("NoSpaceBeforeCloseAngularBracket",s,32,[ta,Jee],16),Ju("NoSpaceAfterCloseAngularBracket",32,[21,23,32,28],[ta,Jee,hYt,wYt],16),Ju("SpaceBeforeAt",[22,80],60,[ta],4),Ju("NoSpaceAfterAt",60,s,[ta],16),Ju("SpaceAfterDecorator",s,[128,80,95,90,86,126,125,123,124,139,153,23,42],[kYt],4),Ju("NoSpaceBeforeNonNullAssertionOperator",s,54,[ta,LYt],16),Ju("NoSpaceAfterNewKeywordOnConstructorSignature",105,21,[ta,BYt],16),Ju("SpaceLessThanAndNonJSXTypeAnnotation",30,30,[ta],4)],ge=[Ju("SpaceAfterConstructor",137,21,[Wm("insertSpaceAfterConstructor"),ta],4),Ju("NoSpaceAfterConstructor",137,21,[dE("insertSpaceAfterConstructor"),ta],16),Ju("SpaceAfterComma",28,s,[Wm("insertSpaceAfterCommaDelimiter"),ta,FLe,_Yt,DYt],4),Ju("NoSpaceAfterComma",28,s,[dE("insertSpaceAfterCommaDelimiter"),ta,FLe],16),Ju("SpaceAfterAnonymousFunctionKeyword",[100,42],21,[Wm("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),Kk],4),Ju("NoSpaceAfterAnonymousFunctionKeyword",[100,42],21,[dE("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),Kk],16),Ju("SpaceAfterKeywordInControl",p,21,[Wm("insertSpaceAfterKeywordsInControlFlowStatements"),Gee],4),Ju("NoSpaceAfterKeywordInControl",p,21,[dE("insertSpaceAfterKeywordsInControlFlowStatements"),Gee],16),Ju("SpaceAfterOpenParen",21,s,[Wm("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ta],4),Ju("SpaceBeforeCloseParen",s,22,[Wm("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ta],4),Ju("SpaceBetweenOpenParens",21,21,[Wm("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ta],4),Ju("NoSpaceBetweenParens",21,22,[ta],16),Ju("NoSpaceAfterOpenParen",21,s,[dE("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ta],16),Ju("NoSpaceBeforeCloseParen",s,22,[dE("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ta],16),Ju("SpaceAfterOpenBracket",23,s,[Wm("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ta],4),Ju("SpaceBeforeCloseBracket",s,24,[Wm("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ta],4),Ju("NoSpaceBetweenBrackets",23,24,[ta],16),Ju("NoSpaceAfterOpenBracket",23,s,[dE("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ta],16),Ju("NoSpaceBeforeCloseBracket",s,24,[dE("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ta],16),Ju("SpaceAfterOpenBrace",19,s,[$lt("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),qlt],4),Ju("SpaceBeforeCloseBrace",s,20,[$lt("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),qlt],4),Ju("NoSpaceBetweenEmptyBraceBrackets",19,20,[ta,ict],16),Ju("NoSpaceAfterOpenBrace",19,s,[xLe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),ta],16),Ju("NoSpaceBeforeCloseBrace",s,20,[xLe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),ta],16),Ju("SpaceBetweenEmptyBraceBrackets",19,20,[Wm("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),Ju("NoSpaceBetweenEmptyBraceBrackets",19,20,[xLe("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),ta],16),Ju("SpaceAfterTemplateHeadAndMiddle",[16,17],s,[Wm("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),nct],4,1),Ju("SpaceBeforeTemplateMiddleAndTail",s,[17,18],[Wm("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),ta],4),Ju("NoSpaceAfterTemplateHeadAndMiddle",[16,17],s,[dE("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),nct],16,1),Ju("NoSpaceBeforeTemplateMiddleAndTail",s,[17,18],[dE("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),ta],16),Ju("SpaceAfterOpenBraceInJsxExpression",19,s,[Wm("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ta,Vpe],4),Ju("SpaceBeforeCloseBraceInJsxExpression",s,20,[Wm("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ta,Vpe],4),Ju("NoSpaceAfterOpenBraceInJsxExpression",19,s,[dE("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ta,Vpe],16),Ju("NoSpaceBeforeCloseBraceInJsxExpression",s,20,[dE("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ta,Vpe],16),Ju("SpaceAfterSemicolonInFor",27,s,[Wm("insertSpaceAfterSemicolonInForStatements"),ta,CLe],4),Ju("NoSpaceAfterSemicolonInFor",27,s,[dE("insertSpaceAfterSemicolonInForStatements"),ta,CLe],16),Ju("SpaceBeforeBinaryOperator",s,E,[Wm("insertSpaceBeforeAndAfterBinaryOperators"),ta,Qx],4),Ju("SpaceAfterBinaryOperator",E,s,[Wm("insertSpaceBeforeAndAfterBinaryOperators"),ta,Qx],4),Ju("NoSpaceBeforeBinaryOperator",s,E,[dE("insertSpaceBeforeAndAfterBinaryOperators"),ta,Qx],16),Ju("NoSpaceAfterBinaryOperator",E,s,[dE("insertSpaceBeforeAndAfterBinaryOperators"),ta,Qx],16),Ju("SpaceBeforeOpenParenInFuncDecl",s,21,[Wm("insertSpaceBeforeFunctionParenthesis"),ta,Kk],4),Ju("NoSpaceBeforeOpenParenInFuncDecl",s,21,[dE("insertSpaceBeforeFunctionParenthesis"),ta,Kk],16),Ju("NewLineBeforeOpenBraceInControl",oe,19,[Wm("placeOpenBraceOnNewLineForControlBlocks"),Gee,kLe],8,1),Ju("NewLineBeforeOpenBraceInFunction",K,19,[Wm("placeOpenBraceOnNewLineForFunctions"),Kk,kLe],8,1),Ju("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",Y,19,[Wm("placeOpenBraceOnNewLineForFunctions"),ect,kLe],8,1),Ju("SpaceAfterTypeAssertion",32,s,[Wm("insertSpaceAfterTypeAssertion"),ta,SLe],4),Ju("NoSpaceAfterTypeAssertion",32,s,[dE("insertSpaceAfterTypeAssertion"),ta,SLe],16),Ju("SpaceBeforeTypeAnnotation",s,[58,59],[Wm("insertSpaceBeforeTypeAnnotation"),ta,bLe],4),Ju("NoSpaceBeforeTypeAnnotation",s,[58,59],[dE("insertSpaceBeforeTypeAnnotation"),ta,bLe],16),Ju("NoOptionalSemicolon",27,f,[Jlt("semicolons","remove"),PYt],32),Ju("OptionalSemicolon",s,f,[Jlt("semicolons","insert"),MYt],64)],ae=[Ju("NoSpaceBeforeSemicolon",s,27,[ta],16),Ju("SpaceBeforeOpenBraceInControl",oe,19,[vLe("placeOpenBraceOnNewLineForControlBlocks"),Gee,ALe,yLe],4,1),Ju("SpaceBeforeOpenBraceInFunction",K,19,[vLe("placeOpenBraceOnNewLineForFunctions"),Kk,jpe,ALe,yLe],4,1),Ju("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",Y,19,[vLe("placeOpenBraceOnNewLineForFunctions"),ect,ALe,yLe],4,1),Ju("NoSpaceBeforeComma",s,28,[ta],16),Ju("NoSpaceBeforeOpenBracket",u(134,84),23,[ta],16),Ju("NoSpaceAfterCloseBracket",24,s,[ta,yYt],16),Ju("SpaceAfterSemicolon",27,s,[ta],4),Ju("SpaceBetweenForAndAwaitKeyword",99,135,[ta],4),Ju("SpaceBetweenStatements",[22,92,93,84],s,[ta,FLe,oYt],4),Ju("SpaceAfterTryCatchFinally",[113,85,98],19,[ta],4)];return[...se,...ge,...ae]}function Ju(t,u,s,d,f,p=0){return{leftTokenRange:Wlt(u),rightTokenRange:Wlt(s),rule:{debugName:t,context:d,action:f,flags:p}}}function tz(t){return{tokens:t,isSpecific:!0}}function Wlt(t){return typeof t=="number"?tz([t]):Ha(t)?tz(t):t}function Glt(t,u,s=[]){const d=[];for(let f=t;f<=u;f++)kt(s,f)||d.push(f);return tz(d)}function Jlt(t,u){return s=>s.options&&s.options[t]===u}function Wm(t){return u=>u.options&&gu(u.options,t)&&!!u.options[t]}function xLe(t){return u=>u.options&&gu(u.options,t)&&!u.options[t]}function dE(t){return u=>!u.options||!gu(u.options,t)||!u.options[t]}function vLe(t){return u=>!u.options||!gu(u.options,t)||!u.options[t]||u.TokensAreOnSameLine()}function $lt(t){return u=>!u.options||!gu(u.options,t)||!!u.options[t]}function CLe(t){return t.contextNode.kind===248}function oYt(t){return!CLe(t)}function Qx(t){switch(t.contextNode.kind){case 226:return t.contextNode.operatorToken.kind!==28;case 227:case 194:case 234:case 281:case 276:case 182:case 192:case 193:case 238:return!0;case 208:case 265:case 271:case 277:case 260:case 169:case 306:case 172:case 171:return t.currentTokenSpan.kind===64||t.nextTokenSpan.kind===64;case 249:case 168:return t.currentTokenSpan.kind===103||t.nextTokenSpan.kind===103||t.currentTokenSpan.kind===64||t.nextTokenSpan.kind===64;case 250:return t.currentTokenSpan.kind===165||t.nextTokenSpan.kind===165}return!1}function Wee(t){return!Qx(t)}function Ult(t){return!bLe(t)}function bLe(t){const u=t.contextNode.kind;return u===172||u===171||u===169||u===260||a7(u)}function sYt(t){return ko(t.contextNode)&&t.contextNode.questionToken}function lYt(t){return!sYt(t)}function cYt(t){return t.contextNode.kind===227||t.contextNode.kind===194}function yLe(t){return t.TokensAreOnSameLine()||jpe(t)}function qlt(t){return t.contextNode.kind===206||t.contextNode.kind===200||dYt(t)}function kLe(t){return jpe(t)&&!(t.NextNodeAllOnSameLine()||t.NextNodeBlockIsOnOneLine())}function Zlt(t){return Ylt(t)&&!(t.ContextNodeAllOnSameLine()||t.ContextNodeBlockIsOnOneLine())}function dYt(t){return Ylt(t)&&(t.ContextNodeAllOnSameLine()||t.ContextNodeBlockIsOnOneLine())}function Ylt(t){return Qlt(t.contextNode)}function jpe(t){return Qlt(t.nextTokenParent)}function Qlt(t){if(tct(t))return!0;switch(t.kind){case 241:case 269:case 210:case 268:return!0}return!1}function Kk(t){switch(t.contextNode.kind){case 262:case 174:case 173:case 177:case 178:case 179:case 218:case 176:case 219:case 264:return!0}return!1}function hYt(t){return!Kk(t)}function Xlt(t){return t.contextNode.kind===262||t.contextNode.kind===218}function ect(t){return tct(t.contextNode)}function tct(t){switch(t.kind){case 263:case 231:case 264:case 266:case 187:case 267:case 278:case 279:case 272:case 275:return!0}return!1}function fYt(t){switch(t.currentTokenParent.kind){case 263:case 267:case 266:case 299:case 268:case 255:return!0;case 241:{const u=t.currentTokenParent.parent;if(!u||u.kind!==219&&u.kind!==218)return!0}}return!1}function Gee(t){switch(t.contextNode.kind){case 245:case 255:case 248:case 249:case 250:case 247:case 258:case 246:case 254:case 299:return!0;default:return!1}}function ict(t){return t.contextNode.kind===210}function mYt(t){return t.contextNode.kind===213}function pYt(t){return t.contextNode.kind===214}function gYt(t){return mYt(t)||pYt(t)}function EYt(t){return t.currentTokenSpan.kind!==28}function _Yt(t){return t.nextTokenSpan.kind!==24}function DYt(t){return t.nextTokenSpan.kind!==22}function xYt(t){return t.contextNode.kind===219}function vYt(t){return t.contextNode.kind===205}function ta(t){return t.TokensAreOnSameLine()&&t.contextNode.kind!==12}function nct(t){return t.contextNode.kind!==12}function FLe(t){return t.contextNode.kind!==284&&t.contextNode.kind!==288}function Vpe(t){return t.contextNode.kind===294||t.contextNode.kind===293}function CYt(t){return t.nextTokenParent.kind===291||t.nextTokenParent.kind===295&&t.nextTokenParent.parent.kind===291}function uct(t){return t.contextNode.kind===291}function bYt(t){return t.nextTokenParent.kind!==295}function rct(t){return t.nextTokenParent.kind===295}function act(t){return t.contextNode.kind===285}function yYt(t){return!Kk(t)&&!jpe(t)}function kYt(t){return t.TokensAreOnSameLine()&&o4(t.contextNode)&&oct(t.currentTokenParent)&&!oct(t.nextTokenParent)}function oct(t){for(;t&&Wt(t);)t=t.parent;return t&&t.kind===170}function FYt(t){return t.currentTokenParent.kind===261&&t.currentTokenParent.getStart(t.sourceFile)===t.currentTokenSpan.pos}function ALe(t){return t.formattingRequestKind!==2}function AYt(t){return t.contextNode.kind===267}function SYt(t){return t.contextNode.kind===187}function BYt(t){return t.contextNode.kind===180}function sct(t,u){if(t.kind!==30&&t.kind!==32)return!1;switch(u.kind){case 183:case 216:case 265:case 263:case 231:case 264:case 262:case 218:case 219:case 174:case 173:case 179:case 180:case 213:case 214:case 233:return!0;default:return!1}}function Jee(t){return sct(t.currentTokenSpan,t.currentTokenParent)||sct(t.nextTokenSpan,t.nextTokenParent)}function SLe(t){return t.contextNode.kind===216}function wYt(t){return!SLe(t)}function TYt(t){return t.currentTokenSpan.kind===116&&t.currentTokenParent.kind===222}function lct(t){return t.contextNode.kind===229&&t.contextNode.expression!==void 0}function LYt(t){return t.contextNode.kind===235}function cct(t){return!NYt(t)}function NYt(t){switch(t.contextNode.kind){case 245:case 248:case 249:case 250:case 246:case 247:return!0;default:return!1}}function PYt(t){let u=t.nextTokenSpan.kind,s=t.nextTokenSpan.pos;if(nB(u)){const p=t.nextTokenParent===t.currentTokenParent?ib(t.currentTokenParent,Tn(t.currentTokenParent,E=>!E.parent),t.sourceFile):t.nextTokenParent.getFirstToken(t.sourceFile);if(!p)return!0;u=p.kind,s=p.getStart(t.sourceFile)}const d=t.sourceFile.getLineAndCharacterOfPosition(t.currentTokenSpan.pos).line,f=t.sourceFile.getLineAndCharacterOfPosition(s).line;return d===f?u===20||u===1:u===240||u===27?!1:t.contextNode.kind===264||t.contextNode.kind===265?!Mm(t.currentTokenParent)||!!t.currentTokenParent.type||u!==21:ko(t.currentTokenParent)?!t.currentTokenParent.initializer:t.currentTokenParent.kind!==248&&t.currentTokenParent.kind!==242&&t.currentTokenParent.kind!==240&&u!==23&&u!==21&&u!==40&&u!==41&&u!==44&&u!==14&&u!==28&&u!==228&&u!==16&&u!==15&&u!==25}function MYt(t){return TX(t.currentTokenSpan.end,t.currentTokenParent,t.sourceFile)}function zYt(t){return!Iu(t.contextNode)||!Of(t.contextNode.expression)||t.contextNode.expression.getText().includes(".")}var IYt=o({"src/services/formatting/rules.ts"(){rr(),jK()}});function RYt(t,u){return{options:t,getRules:OYt(),host:u}}function OYt(){return BLe===void 0&&(BLe=VYt(Klt())),BLe}function jYt(t){let u=0;return t&1&&(u|=28),t&2&&(u|=96),t&28&&(u|=28),t&96&&(u|=96),u}function VYt(t){const u=HYt(t);return s=>{const d=u[dct(s.currentTokenSpan.kind,s.nextTokenSpan.kind)];if(d){const f=[];let p=0;for(const E of d){const v=~jYt(p);E.action&v&&ye(E.context,b=>b(s))&&(f.push(E),p|=E.action)}if(f.length)return f}}}function HYt(t){const u=new Array(Hpe*Hpe),s=new Array(u.length);for(const d of t){const f=d.leftTokenRange.isSpecific&&d.rightTokenRange.isSpecific;for(const p of d.leftTokenRange.tokens)for(const E of d.rightTokenRange.tokens){const v=dct(p,E);let b=u[v];b===void 0&&(b=u[v]=[]),KYt(b,d.rule,f,s,v)}}return u}function dct(t,u){return H.assert(t<=165&&u<=165,"Must compute formatting context from tokens"),t*Hpe+u}function KYt(t,u,s,d,f){const p=u.action&3?s?0:iz.StopRulesAny:u.context!==Kee?s?iz.ContextRulesSpecific:iz.ContextRulesAny:s?iz.NoContextRulesSpecific:iz.NoContextRulesAny,E=d[f]||0;t.splice(WYt(E,p),0,u),d[f]=GYt(E,p)}function WYt(t,u){let s=0;for(let d=0;d<=u;d+=Fw)s+=t&$ee,t>>=Fw;return s}function GYt(t,u){const s=(t>>u&$ee)+1;return H.assert((s&$ee)===s,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),t&~($ee<(t[t.StopRulesSpecific=0]="StopRulesSpecific",t[t.StopRulesAny=Fw*1]="StopRulesAny",t[t.ContextRulesSpecific=Fw*2]="ContextRulesSpecific",t[t.ContextRulesAny=Fw*3]="ContextRulesAny",t[t.NoContextRulesSpecific=Fw*4]="NoContextRulesSpecific",t[t.NoContextRulesAny=Fw*5]="NoContextRulesAny",t))(iz||{})}});function Kpe(t,u,s){const d={pos:t,end:u,kind:s};return H.isDebugging&&Object.defineProperty(d,"__debugKind",{get:()=>H.formatSyntaxKind(s)}),d}function $Yt(t,u,s){const d=u.getLineAndCharacterOfPosition(t).line;if(d===0)return[];let f=uj(d,u);for(;qg(u.text.charCodeAt(f));)f--;Z1(u.text.charCodeAt(f))&&f--;const p={pos:Mx(d-1,u),end:f+1};return Uee(p,u,s,2)}function UYt(t,u,s){const d=wLe(t,27,u);return hct(TLe(d),u,s,3)}function qYt(t,u,s){const d=wLe(t,19,u);if(!d)return[];const f=d.parent,p=TLe(f),E={pos:tp(p.getStart(u),u),end:t};return Uee(E,u,s,4)}function ZYt(t,u,s){const d=wLe(t,20,u);return hct(TLe(d),u,s,5)}function YYt(t,u){const s={pos:0,end:t.text.length};return Uee(s,t,u,0)}function QYt(t,u,s,d){const f={pos:tp(t,s),end:u};return Uee(f,s,d,1)}function wLe(t,u,s){const d=td(t,s);return d&&d.kind===u&&t===d.getEnd()?d:void 0}function TLe(t){let u=t;for(;u&&u.parent&&u.parent.end===t.end&&!XYt(u.parent,u);)u=u.parent;return u}function XYt(t,u){switch(t.kind){case 263:case 264:return Vm(t.members,u);case 267:const s=t.body;return!!s&&s.kind===268&&Vm(s.statements,u);case 312:case 241:case 268:return Vm(t.statements,u);case 299:return Vm(t.block.statements,u)}return!1}function eQt(t,u){return s(u);function s(d){const f=ao(d,p=>Khe(p.getStart(u),p.end,t)&&p);if(f){const p=s(f);if(p)return p}return d}}function tQt(t,u){if(!t.length)return f;const s=t.filter(p=>TM(u,p.start,p.start+p.length)).sort((p,E)=>p.start-E.start);if(!s.length)return f;let d=0;return p=>{for(;;){if(d>=s.length)return!1;const E=s[d];if(p.end<=E.start)return!1;if(aX(p.pos,p.end,E.start,E.start+E.length))return!0;d++}};function f(){return!1}}function iQt(t,u,s){const d=t.getStart(s);if(d===u.pos&&t.end===u.end)return d;const f=td(u.pos,s);return!f||f.end>=u.pos?t.pos:f.end}function nQt(t,u,s){let d=-1,f;for(;t;){const p=s.getLineAndCharacterOfPosition(t.getStart(s)).line;if(d!==-1&&p!==d)break;if(hE.shouldIndentChildNode(u,t,f,s))return u.indentSize;d=p,f=t,t=t.parent}return 0}function uQt(t,u,s,d,f,p){const E={pos:t.pos,end:t.end};return ELe(u.text,s,E.pos,E.end,v=>fct(E,t,d,f,v,p,1,b=>!1,u))}function hct(t,u,s,d){if(!t)return[];const f={pos:tp(t.getStart(u),u),end:t.end};return Uee(f,u,s,d)}function Uee(t,u,s,d){const f=eQt(t,u);return ELe(u.text,u.languageVariant,iQt(f,t,u),t.end,p=>fct(t,f,hE.getIndentationForNode(f,t,u,s.options),nQt(f,s.options,u),p,s,d,tQt(u.parseDiagnostics,t),u))}function fct(t,u,s,d,f,{options:p,getRules:E,host:v},b,B,k){var T;const M=new gLe(k,b,p);let z,j,J,K,Y,oe=-1;const se=[];if(f.advance(),f.isOnToken()){const Ie=k.getLineAndCharacterOfPosition(u.getStart(k)).line;let st=Ie;o4(u)&&(st=k.getLineAndCharacterOfPosition(d0e(u,k)).line),Se(u,u,Ie,st,s,d)}const ge=f.getCurrentLeadingTrivia();if(ge){const Ie=hE.nodeWillIndentChild(p,u,void 0,k,!1)?s+p.indentSize:s;Ne(ge,Ie,!0,st=>{fe(st,k.getLineAndCharacterOfPosition(st.pos),u,u,void 0),Be(st.pos,Ie,!1)}),p.trimTrailingWhitespace!==!1&&ft(ge)}if(j&&f.getTokenFullStart()>=t.end){const Ie=f.isOnEOF()?f.readEOFTokenRange():f.isOnToken()?f.readTokenInfo(u).token:void 0;if(Ie&&Ie.pos===z){const st=((T=td(Ie.end,k,u))==null?void 0:T.parent)||J;xe(Ie,k.getLineAndCharacterOfPosition(Ie.pos).line,st,j,K,J,st,void 0)}}return se;function ae(Ie,st,St,It,ei){if(TM(It,Ie,st)||IH(It,Ie,st)){if(ei!==-1)return ei}else{const ht=k.getLineAndCharacterOfPosition(Ie).line,Ut=tp(Ie,k),Ni=hE.findFirstNonWhitespaceColumn(Ut,Ie,k,p);if(ht!==St||Ie===Ni){const ji=hE.getBaseIndentation(p);return ji>Ni?ji:Ni}}return-1}function Ce(Ie,st,St,It,ei,ht){const Ut=hE.shouldIndentChildNode(p,Ie)?p.indentSize:0;return ht===st?{indentation:st===Y?oe:ei.getIndentation(),delta:Math.min(p.indentSize,ei.getDelta(Ie)+Ut)}:St===-1?Ie.kind===21&&st===Y?{indentation:oe,delta:ei.getDelta(Ie)}:hE.childStartsOnTheSameLineWithElseInIfStatement(It,Ie,st,k)||hE.childIsUnindentedBranchOfConditionalExpression(It,Ie,st,k)||hE.argumentStartsOnSameLineAsPreviousArgument(It,Ie,st,k)?{indentation:ei.getIndentation(),delta:Ut}:{indentation:ei.getIndentation()+ei.getDelta(Ie),delta:Ut}:{indentation:St,delta:Ut}}function ne(Ie){if(Hp(Ie)){const st=Le(Ie.modifiers,Qo,Ue(Ie.modifiers,g1));if(st)return st.kind}switch(Ie.kind){case 263:return 86;case 264:return 120;case 262:return 100;case 266:return 266;case 177:return 139;case 178:return 153;case 174:if(Ie.asteriskToken)return 42;case 172:case 169:const st=Za(Ie);if(st)return st.kind}}function ve(Ie,st,St,It){return{getIndentationForComment:(Ut,Ni,ji)=>{switch(Ut){case 20:case 24:case 22:return St+ht(ji)}return Ni!==-1?Ni:St},getIndentationForToken:(Ut,Ni,ji,xn)=>!xn&&ei(Ut,Ni,ji)?St+ht(ji):St,getIndentation:()=>St,getDelta:ht,recomputeIndentation:(Ut,Ni)=>{hE.shouldIndentChildNode(p,Ni,Ie,k)&&(St+=Ut?p.indentSize:-p.indentSize,It=hE.shouldIndentChildNode(p,Ie)?p.indentSize:0)}};function ei(Ut,Ni,ji){switch(Ni){case 19:case 20:case 22:case 93:case 117:case 60:return!1;case 44:case 32:switch(ji.kind){case 286:case 287:case 285:return!1}break;case 23:case 24:if(ji.kind!==200)return!1;break}return st!==Ut&&!(o4(Ie)&&Ni===ne(Ie))}function ht(Ut){return hE.nodeWillIndentChild(p,Ie,Ut,k,!0)?It:0}}function Se(Ie,st,St,It,ei,ht){if(!TM(t,Ie.getStart(k),Ie.getEnd()))return;const Ut=ve(Ie,St,ei,ht);let Ni=st;for(ao(Ie,an=>{ji(an,-1,Ie,Ut,St,It,!1)},an=>{xn(an,Ie,St,Ut)});f.isOnToken()&&f.getTokenFullStart()Math.min(Ie.end,t.end))break;Jn(an,Ie,Ut,Ie)}function ji(an,Pi,Ai,Zu,aa,yr,Ba,bt){if(H.assert(!sl(an)),Ql(an)||Sbe(Ai,an))return Pi;const jn=an.getStart(k),Ln=k.getLineAndCharacterOfPosition(jn).line;let Si=Ln;o4(an)&&(Si=k.getLineAndCharacterOfPosition(d0e(an,k)).line);let Dn=-1;if(Ba&&Vm(t,Ai)&&(Dn=ae(jn,an.end,aa,t,Pi),Dn!==-1&&(Pi=Dn)),!TM(t,an.pos,an.end))return an.endt.end)return Pi;if(oa.token.end>jn){oa.token.pos>jn&&f.skipToStartOf(an);break}Jn(oa,Ie,Zu,Ie)}if(!f.isOnToken()||f.getTokenFullStart()>=t.end)return Pi;if(u7(an)){const oa=f.readTokenInfo(an);if(an.kind!==12)return H.assert(oa.token.end===an.end,"Token end is child end"),Jn(oa,Ie,Zu,an),Pi}const Cn=an.kind===170?Ln:yr,tu=Ce(an,Ln,Dn,Ie,Zu,Cn);return Se(an,Ni,Ln,Si,tu.indentation,tu.delta),Ni=Ie,bt&&Ai.kind===209&&Pi===-1&&(Pi=tu.indentation),Pi}function xn(an,Pi,Ai,Zu){H.assert(g2(an)),H.assert(!sl(an));const aa=rQt(Pi,an);let yr=Zu,Ba=Ai;if(!TM(t,an.pos,an.end)){an.endan.pos)break;if(Ln.token.kind===aa){Ba=k.getLineAndCharacterOfPosition(Ln.token.pos).line,Jn(Ln,Pi,Zu,Pi);let Si;if(oe!==-1)Si=oe;else{const Dn=tp(Ln.token.pos,k);Si=hE.findFirstNonWhitespaceColumn(Dn,Ln.token.pos,k,p)}yr=ve(Pi,Ai,Si,p.indentSize)}else Jn(Ln,Pi,Zu,Pi)}let bt=-1;for(let Ln=0;LnBe(tu.pos,Cn,!1))}Si!==-1&&Dn&&(Be(an.token.pos,Si,bt===1),Y=Ln.line,oe=Si)}f.advance(),Ni=Pi}}function Ne(Ie,st,St,It){for(const ei of Ie){const ht=Vm(t,ei);switch(ei.kind){case 3:ht&&De(ei,st,!St),St=!1;break;case 2:St&&ht&&It(ei),St=!1;break;case 4:St=!0;break}}return St}function pe(Ie,st,St,It){for(const ei of Ie)if(mX(ei.kind)&&Vm(t,ei)){const ht=k.getLineAndCharacterOfPosition(ei.pos);fe(ei,ht,st,St,It)}}function fe(Ie,st,St,It,ei){const ht=B(Ie);let Ut=0;if(!ht)if(j)Ut=xe(Ie,st.line,St,j,K,J,It,ei);else{const Ni=k.getLineAndCharacterOfPosition(t.pos);Ke(Ni.line,st.line)}return j=Ie,z=Ie.end,J=St,K=st.line,Ut}function xe(Ie,st,St,It,ei,ht,Ut,Ni){M.updateContext(It,ht,Ie,St,Ut);const ji=E(M);let xn=M.options.trimTrailingWhitespace!==!1,Jn=0;return ji?O(ji,an=>{if(Jn=Yt(an,It,ei,Ie,st),Ni)switch(Jn){case 2:St.getStart(k)===Ie.pos&&Ni.recomputeIndentation(!1,Ut);break;case 1:St.getStart(k)===Ie.pos&&Ni.recomputeIndentation(!0,Ut);break;default:H.assert(Jn===0)}xn=xn&&!(an.action&16)&&an.flags!==1}):xn=xn&&Ie.kind!==1,st!==ei&&xn&&Ke(ei,st,It),Jn}function Be(Ie,st,St){const It=LLe(st,p);if(St)We(Ie,0,It);else{const ei=k.getLineAndCharacterOfPosition(Ie),ht=Mx(ei.line,k);(st!==Ge(ht,ei.character)||Ae(It,ht))&&We(ht,ei.character,It)}}function Ge(Ie,st){let St=0;for(let It=0;It0){const yr=LLe(aa,p);We(Ai,Zu.character,yr)}else Ve(Ai,Zu.character)}}function Ke(Ie,st,St){for(let It=Ie;Itht)continue;const Ut=Je(ei,ht);Ut!==-1&&(H.assert(Ut===ei||!qg(k.text.charCodeAt(Ut-1))),Ve(Ut,ht+1-Ut))}}function Je(Ie,st){let St=st;for(;St>=Ie&&qg(k.text.charCodeAt(St));)St--;return St!==st?St+1:-1}function ft(Ie){let st=j?j.end:t.pos;for(const St of Ie)mX(St.kind)&&(stzH(B,u)||u===B.end&&(B.kind===2||u===t.getFullWidth()))}function rQt(t,u){switch(t.kind){case 176:case 262:case 218:case 174:case 173:case 219:case 179:case 180:case 184:case 185:case 177:case 178:if(t.typeParameters===u)return 30;if(t.parameters===u)return 21;break;case 213:case 214:if(t.typeArguments===u)return 30;if(t.arguments===u)return 21;break;case 263:case 231:case 264:case 265:if(t.typeParameters===u)return 30;break;case 183:case 215:case 186:case 233:case 205:if(t.typeArguments===u)return 30;break;case 187:return 19}return 0}function aQt(t){switch(t){case 21:return 22;case 30:return 32;case 19:return 20}return 0}function LLe(t,u){if((!Wpe||Wpe.tabSize!==u.tabSize||Wpe.indentSize!==u.indentSize)&&(Wpe={tabSize:u.tabSize,indentSize:u.indentSize},RK=OK=void 0),u.convertTabsToSpaces){let d;const f=Math.floor(t/u.indentSize),p=t%u.indentSize;return OK||(OK=[]),OK[f]===void 0?(d=KH(" ",u.indentSize*f),OK[f]=d):d=OK[f],p?d+KH(" ",p):d}else{const d=Math.floor(t/u.tabSize),f=t-d*u.tabSize;let p;return RK||(RK=[]),RK[d]===void 0?RK[d]=p=KH(" ",d):p=RK[d],f?p+KH(" ",f):p}}var Wpe,RK,OK,oQt=o({"src/services/formatting/formatting.ts"(){rr(),jK()}}),hE,sQt=o({"src/services/formatting/smartIndenter.ts"(){rr(),jK(),(t=>{let u;(De=>{De[De.Unknown=-1]="Unknown"})(u||(u={}));function s(De,Ke,Je,ft=!1){if(De>Ke.text.length)return v(Je);if(Je.indentStyle===0)return 0;const Ye=td(De,Ke,void 0,!0),Ve=mct(Ke,De,Ye||null);if(Ve&&Ve.kind===3)return d(Ke,De,Je,Ve);if(!Ye)return v(Je);if(Zhe(Ye.kind)&&Ye.getStart(Ke)<=De&&De=0),Ye<=Ve)return fe(Mx(Ve,De),Ke,De,Je);const We=Mx(Ye,De),{column:Gt,character:Yt}=pe(We,Ke,De,Je);return Gt===0?Gt:De.text.charCodeAt(We+Yt)===42?Gt-1:Gt}function f(De,Ke,Je){let ft=Ke;for(;ft>0;){const Ve=De.text.charCodeAt(ft);if(!U3(Ve))break;ft--}const Ye=tp(ft,De);return fe(Ye,ft,De,Je)}function p(De,Ke,Je,ft,Ye,Ve){let We,Gt=Je;for(;Gt;){if(Whe(Gt,Ke,De)&&Ge(Ve,Gt,We,De,!0)){const Ie=j(Gt,De),st=z(Je,Gt,ft,De),St=st!==0?Ye&&st===2?Ve.indentSize:0:ft!==Ie.line?Ve.indentSize:0;return b(Gt,Ie,void 0,St,De,!0,Ve)}const Yt=ve(Gt,De,Ve,!0);if(Yt!==-1)return Yt;We=Gt,Gt=Gt.parent}return v(Ve)}function E(De,Ke,Je,ft){const Ye=Je.getLineAndCharacterOfPosition(De.getStart(Je));return b(De,Ye,Ke,0,Je,!1,ft)}t.getIndentationForNode=E;function v(De){return De.baseIndentSize||0}t.getBaseIndentation=v;function b(De,Ke,Je,ft,Ye,Ve,We){var Gt;let Yt=De.parent;for(;Yt;){let Ie=!0;if(Je){const ei=De.getStart(Ye);Ie=eiJe.end}const st=B(Yt,De,Ye),St=st.line===Ke.line||K(Yt,De,Ke.line,Ye);if(Ie){const ei=(Gt=se(De,Ye))==null?void 0:Gt[0],ht=!!ei&&j(ei,Ye).line>st.line;let Ut=ve(De,Ye,We,ht);if(Ut!==-1||(Ut=T(De,Yt,Ke,St,Ye,We),Ut!==-1))return Ut+ft}Ge(We,Yt,De,Ye,Ve)&&!St&&(ft+=We.indentSize);const It=J(Yt,De,Ke.line,Ye);De=Yt,Yt=De.parent,Ke=It?Ye.getLineAndCharacterOfPosition(De.getStart(Ye)):st}return ft+v(We)}function B(De,Ke,Je){const ft=se(Ke,Je),Ye=ft?ft.pos:De.getStart(Je);return Je.getLineAndCharacterOfPosition(Ye)}function k(De,Ke,Je){const ft=Z9e(De);return ft&&ft.listItemIndex>0?Se(ft.list.getChildren(),ft.listItemIndex-1,Ke,Je):-1}function T(De,Ke,Je,ft,Ye,Ve){return(Q1(De)||XO(De))&&(Ke.kind===312||!ft)?Ne(Je,Ye,Ve):-1}let M;(De=>{De[De.Unknown=0]="Unknown",De[De.OpenBrace=1]="OpenBrace",De[De.CloseBrace=2]="CloseBrace"})(M||(M={}));function z(De,Ke,Je,ft){const Ye=ib(De,Ke,ft);if(!Ye)return 0;if(Ye.kind===19)return 1;if(Ye.kind===20){const Ve=j(Ye,ft).line;return Je===Ve?2:0}return 0}function j(De,Ke){return Ke.getLineAndCharacterOfPosition(De.getStart(Ke))}function J(De,Ke,Je,ft){if(!(Mo(De)&&kt(De.arguments,Ke)))return!1;const Ye=De.expression.getEnd();return s0(ft,Ye).line===Je}t.isArgumentAndStartLineOverlapsExpressionBeingCalled=J;function K(De,Ke,Je,ft){if(De.kind===245&&De.elseStatement===Ke){const Ye=a0(De,93,ft);return H.assert(Ye!==void 0),j(Ye,ft).line===Je}return!1}t.childStartsOnTheSameLineWithElseInIfStatement=K;function Y(De,Ke,Je,ft){if(SB(De)&&(Ke===De.whenTrue||Ke===De.whenFalse)){const Ye=s0(ft,De.condition.end).line;if(Ke===De.whenTrue)return Je===Ye;{const Ve=j(De.whenTrue,ft).line,We=s0(ft,De.whenTrue.end).line;return Ye===Ve&&We===Je}}return!1}t.childIsUnindentedBranchOfConditionalExpression=Y;function oe(De,Ke,Je,ft){if($E(De)){if(!De.arguments)return!1;const Ye=Le(De.arguments,Yt=>Yt.pos===Ke.pos);if(!Ye)return!1;const Ve=De.arguments.indexOf(Ye);if(Ve===0)return!1;const We=De.arguments[Ve-1],Gt=s0(ft,We.getEnd()).line;if(Je===Gt)return!0}return!1}t.argumentStartsOnSameLineAsPreviousArgument=oe;function se(De,Ke){return De.parent&&ae(De.getStart(Ke),De.getEnd(),De.parent,Ke)}t.getContainingList=se;function ge(De,Ke,Je){return Ke&&ae(De,De,Ke,Je)}function ae(De,Ke,Je,ft){switch(Je.kind){case 183:return Ye(Je.typeArguments);case 210:return Ye(Je.properties);case 209:return Ye(Je.elements);case 187:return Ye(Je.members);case 262:case 218:case 219:case 174:case 173:case 179:case 176:case 185:case 180:return Ye(Je.typeParameters)||Ye(Je.parameters);case 177:return Ye(Je.parameters);case 263:case 231:case 264:case 265:case 352:return Ye(Je.typeParameters);case 214:case 213:return Ye(Je.typeArguments)||Ye(Je.arguments);case 261:return Ye(Je.declarations);case 275:case 279:return Ye(Je.elements);case 206:case 207:return Ye(Je.elements)}function Ye(Ve){return Ve&&IH(Ce(Je,Ve,ft),De,Ke)?Ve:void 0}}function Ce(De,Ke,Je){const ft=De.getChildren(Je);for(let Ye=1;Ye=0&&Ke=0;We--){if(De[We].kind===28)continue;if(Je.getLineAndCharacterOfPosition(De[We].end).line!==Ve.line)return Ne(Ve,Je,ft);Ve=j(De[We],Je)}return-1}function Ne(De,Ke,Je){const ft=Ke.getPositionOfLineAndCharacter(De.line,0);return fe(ft,ft+De.character,Ke,Je)}function pe(De,Ke,Je,ft){let Ye=0,Ve=0;for(let We=De;WegLe,FormattingRequestKind:()=>pLe,RuleAction:()=>_Le,RuleFlags:()=>DLe,SmartIndenter:()=>hE,anyContext:()=>Kee,createTextRangeWithKind:()=>Kpe,formatDocument:()=>YYt,formatNodeGivenIndentation:()=>uQt,formatOnClosingCurly:()=>ZYt,formatOnEnter:()=>$Yt,formatOnOpeningCurly:()=>qYt,formatOnSemicolon:()=>UYt,formatSelection:()=>QYt,getAllRules:()=>Klt,getFormatContext:()=>RYt,getFormattingScanner:()=>ELe,getIndentationString:()=>LLe,getRangeOfEnclosingComment:()=>mct});var jK=o({"src/services/_namespaces/ts.formatting.ts"(){uYt(),rYt(),aYt(),IYt(),JYt(),oQt(),sQt()}}),rr=o({"src/services/_namespaces/ts.ts"(){Bo(),BH(),kIt(),ZIt(),eRt(),$it(),hRt(),fRt(),xRt(),wRt(),TRt(),NRt(),VRt(),HRt(),sHt(),lHt(),hHt(),LHt(),PHt(),rs(),LTe(),Q0t(),tqt(),aqt(),bqt(),Ent(),Rnt(),Wqt(),Qqt(),s_(),aZt(),NZt(),VZt(),GZt(),nYt(),jK()}});function lQt(){return Ect??(Ect=new Lp(_))}function pct(t,u,s,d,f){let p=u?"DeprecationError: ":"DeprecationWarning: ";return p+=`'${t}' `,p+=d?`has been deprecated since v${d}`:"is deprecated",p+=u?" and can no longer be used.":s?` and will no longer be usable after v${s}.`:".",p+=f?` ${e3(f,[t])}`:"",p}function cQt(t,u,s,d){const f=pct(t,!0,u,s,d);return()=>{throw new TypeError(f)}}function dQt(t,u,s,d){let f=!1;return()=>{gct&&!f&&(H.log.warn(pct(t,!1,u,s,d)),f=!0)}}function hQt(t,u={}){const s=typeof u.typeScriptVersion=="string"?new Lp(u.typeScriptVersion):u.typeScriptVersion??lQt(),d=typeof u.errorAfter=="string"?new Lp(u.errorAfter):u.errorAfter,f=typeof u.warnAfter=="string"?new Lp(u.warnAfter):u.warnAfter,p=typeof u.since=="string"?new Lp(u.since):u.since??f,E=u.error||d&&s.compareTo(d)>=0,v=!f||s.compareTo(f)>=0;return E?cQt(t,d,p,u.message):v?dQt(t,d,p,u.message):Is}function fQt(t,u){return function(){return t(),u.apply(this,arguments)}}function NLe(t,u){const s=hQt((u==null?void 0:u.name)??H.getFunctionName(t),u);return fQt(s,t)}var gct,Ect,_ct=o({"src/deprecatedCompat/deprecate.ts"(){Jpe(),gct=!0}});function Gpe(t,u,s,d){if(Object.defineProperty(p,"name",{...Object.getOwnPropertyDescriptor(p,"name"),value:t}),d)for(const E of Object.keys(d)){const v=+E;!isNaN(v)&&gu(u,`${v}`)&&(u[v]=NLe(u[v],{...d[v],name:t}))}const f=mQt(u,s);return p;function p(...E){const v=f(E),b=v!==void 0?u[v]:void 0;if(typeof b=="function")return b(...E);throw new TypeError("Invalid arguments")}}function mQt(t,u){return s=>{for(let d=0;gu(t,`${d}`)&&gu(u,`${d}`);d++){const f=u[d];if(f(s))return d}}}function Dct(t){return{overload:u=>({bind:s=>({finish:()=>Gpe(t,u,s),deprecate:d=>({finish:()=>Gpe(t,u,s,d)})})})}}var pQt=o({"src/deprecatedCompat/deprecations.ts"(){Jpe(),_ct()}}),gQt=o({"src/deprecatedCompat/5.0/identifierProperties.ts"(){Jpe(),_ct(),Qye(t=>{const u=t.getIdentifierConstructor();gu(u.prototype,"originalKeywordKind")||Object.defineProperty(u.prototype,"originalKeywordKind",{get:NLe(function(){return Dv(this)},{name:"originalKeywordKind",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use 'identifierToKeywordKind(identifier)' instead."})}),gu(u.prototype,"isInJSDocNamespace")||Object.defineProperty(u.prototype,"isInJSDocNamespace",{get:NLe(function(){return this.flags&4096?!0:void 0},{name:"isInJSDocNamespace",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use '.parent' or the surrounding context to determine this instead."})})})}}),Jpe=o({"src/deprecatedCompat/_namespaces/ts.ts"(){Bo(),pQt(),gQt()}}),EQt=o({"src/typingsInstallerCore/_namespaces/ts.ts"(){Bo(),BH(),MLe()}});function xct(t,u,s,d){try{const f=WB(u,cr(t,"index.d.ts"),{moduleResolution:2},s);return f.resolvedModule&&f.resolvedModule.resolvedFileName}catch(f){d.isEnabled()&&d.writeLine(`Failed to resolve ${u} in folder '${t}': ${f.message}`);return}}function _Qt(t,u,s,d){let f=!1;for(let p=s.length;p>0;){const E=vct(t,u,s,p);p=E.remaining,f=d(E.command)||f}return f}function vct(t,u,s,d){const f=s.length-d;let p,E=d;for(;p=`${t} install --ignore-scripts ${(E===s.length?s:s.slice(f,f+E)).join(" ")} --save-dev --user-agent="typesInstaller/${u}"`,!(p.length<8e3);)E=E-Math.floor(E/2);return{command:p,remaining:d-E}}function Cct(t){return`@types/${t}@ts${g}`}var bct,yct,DQt=o({"src/typingsInstallerCore/typingsInstaller.ts"(){EQt(),MLe(),bct={isEnabled:()=>!1,writeLine:Is},yct=class{constructor(t,u,s,d,f,p=bct){this.installTypingHost=t,this.globalCachePath=u,this.safeListPath=s,this.typesMapLocation=d,this.throttleLimit=f,this.log=p,this.packageNameToTypingLocation=new Map,this.missingTypingsSet=new Set,this.knownCachesSet=new Set,this.projectWatchers=new Map,this.pendingRunRequests=[],this.installRunCount=1,this.inFlightRequestCount=0,this.latestDistTag="latest",this.log.isEnabled()&&this.log.writeLine(`Global cache location '${u}', safe file path '${s}', types map path ${d}`),this.processCacheLocation(this.globalCachePath)}closeProject(t){this.closeWatchers(t.projectName)}closeWatchers(t){if(this.log.isEnabled()&&this.log.writeLine(`Closing file watchers for project '${t}'`),!this.projectWatchers.get(t)){this.log.isEnabled()&&this.log.writeLine(`No watchers are registered for project '${t}'`);return}this.projectWatchers.delete(t),this.sendResponse({kind:SH,projectName:t,files:[]}),this.log.isEnabled()&&this.log.writeLine(`Closing file watchers for project '${t}' - done.`)}install(t){this.log.isEnabled()&&this.log.writeLine(`Got install request${nw(t)}`),t.cachePath&&(this.log.isEnabled()&&this.log.writeLine(`Request specifies cache path '${t.cachePath}', loading cached information...`),this.processCacheLocation(t.cachePath)),this.safeList===void 0&&this.initializeSafeList();const u=o3.discoverTypings(this.installTypingHost,this.log.isEnabled()?s=>this.log.writeLine(s):void 0,t.fileNames,t.projectRootPath,this.safeList,this.packageNameToTypingLocation,t.typeAcquisition,t.unresolvedImports,this.typesRegistry,t.compilerOptions);this.watchFiles(t.projectName,u.filesToWatch),u.newTypingNames.length?this.installTypings(t,t.cachePath||this.globalCachePath,u.cachedTypingPaths,u.newTypingNames):(this.sendResponse(this.createSetTypings(t,u.cachedTypingPaths)),this.log.isEnabled()&&this.log.writeLine("No new typings were requested as a result of typings discovery"))}initializeSafeList(){if(this.typesMapLocation){const t=o3.loadTypesMap(this.installTypingHost,this.typesMapLocation);if(t){this.log.writeLine(`Loaded safelist from types map file '${this.typesMapLocation}'`),this.safeList=t;return}this.log.writeLine(`Failed to load safelist from types map file '${this.typesMapLocation}'`)}this.safeList=o3.loadSafeList(this.installTypingHost,this.safeListPath)}processCacheLocation(t){if(this.log.isEnabled()&&this.log.writeLine(`Processing cache location '${t}'`),this.knownCachesSet.has(t)){this.log.isEnabled()&&this.log.writeLine("Cache location was already processed...");return}const u=cr(t,"package.json"),s=cr(t,"package-lock.json");if(this.log.isEnabled()&&this.log.writeLine(`Trying to find '${u}'...`),this.installTypingHost.fileExists(u)&&this.installTypingHost.fileExists(s)){const d=JSON.parse(this.installTypingHost.readFile(u)),f=JSON.parse(this.installTypingHost.readFile(s));if(this.log.isEnabled()&&(this.log.writeLine(`Loaded content of '${u}':${nw(d)}`),this.log.writeLine(`Loaded content of '${s}':${nw(f)}`)),d.devDependencies&&f.dependencies)for(const p in d.devDependencies){if(!gu(f.dependencies,p))continue;const E=Ac(p);if(!E)continue;const v=xct(t,E,this.installTypingHost,this.log);if(!v){this.missingTypingsSet.add(E);continue}const b=this.packageNameToTypingLocation.get(E);if(b){if(b.typingLocation===v)continue;this.log.isEnabled()&&this.log.writeLine(`New typing for package ${E} from '${v}' conflicts with existing typing file '${b}'`)}this.log.isEnabled()&&this.log.writeLine(`Adding entry into typings cache: '${E}' => '${v}'`);const B=uo(f.dependencies,p),k=B&&B.version;if(!k)continue;const T={typingLocation:v,version:new Lp(k)};this.packageNameToTypingLocation.set(E,T)}}this.log.isEnabled()&&this.log.writeLine(`Finished processing cache location '${t}'`),this.knownCachesSet.add(t)}filterTypings(t){return qi(t,u=>{const s=JB(u);if(this.missingTypingsSet.has(s)){this.log.isEnabled()&&this.log.writeLine(`'${u}':: '${s}' is in missingTypingsSet - skipping...`);return}const d=o3.validatePackageName(u);if(d!==o3.NameValidationResult.Ok){this.missingTypingsSet.add(s),this.log.isEnabled()&&this.log.writeLine(o3.renderPackageNameValidationFailure(d,u));return}if(!this.typesRegistry.has(s)){this.log.isEnabled()&&this.log.writeLine(`'${u}':: Entry for package '${s}' does not exist in local types registry - skipping...`);return}if(this.packageNameToTypingLocation.get(s)&&o3.isTypingUpToDate(this.packageNameToTypingLocation.get(s),this.typesRegistry.get(s))){this.log.isEnabled()&&this.log.writeLine(`'${u}':: '${s}' already has an up-to-date typing - skipping...`);return}return s})}ensurePackageDirectoryExists(t){const u=cr(t,"package.json");this.log.isEnabled()&&this.log.writeLine(`Npm config file: ${u}`),this.installTypingHost.fileExists(u)||(this.log.isEnabled()&&this.log.writeLine(`Npm config file: '${u}' is missing, creating new one...`),this.ensureDirectoryExists(t,this.installTypingHost),this.installTypingHost.writeFile(u,'{ "private": true }'))}installTypings(t,u,s,d){this.log.isEnabled()&&this.log.writeLine(`Installing typings ${JSON.stringify(d)}`);const f=this.filterTypings(d);if(f.length===0){this.log.isEnabled()&&this.log.writeLine("All typings are known to be missing or invalid - no need to install more typings"),this.sendResponse(this.createSetTypings(t,s));return}this.ensurePackageDirectoryExists(u);const p=this.installRunCount;this.installRunCount++,this.sendResponse({kind:hhe,eventId:p,typingsInstallerVersion:_,projectName:t.projectName});const E=f.map(Cct);this.installTypingsAsync(p,E,u,v=>{try{if(!v){this.log.isEnabled()&&this.log.writeLine(`install request failed, marking packages as missing to prevent repeated requests: ${JSON.stringify(f)}`);for(const B of f)this.missingTypingsSet.add(B);return}this.log.isEnabled()&&this.log.writeLine(`Installed typings ${JSON.stringify(E)}`);const b=[];for(const B of f){const k=xct(u,B,this.installTypingHost,this.log);if(!k){this.missingTypingsSet.add(B);continue}const T=this.typesRegistry.get(B),M=new Lp(T[`ts${g}`]||T[this.latestDistTag]),z={typingLocation:k,version:M};this.packageNameToTypingLocation.set(B,z),b.push(k)}this.log.isEnabled()&&this.log.writeLine(`Installed typing files ${JSON.stringify(b)}`),this.sendResponse(this.createSetTypings(t,s.concat(b)))}finally{const b={kind:fhe,eventId:p,projectName:t.projectName,packagesToInstall:E,installSuccess:v,typingsInstallerVersion:_};this.sendResponse(b)}})}ensureDirectoryExists(t,u){const s=lr(t);u.directoryExists(s)||this.ensureDirectoryExists(s,u),u.directoryExists(t)||u.createDirectory(t)}watchFiles(t,u){if(!u.length){this.closeWatchers(t);return}const s=this.projectWatchers.get(t),d=new Set(u);!s||U_(d,f=>!s.has(f))||U_(s,f=>!d.has(f))?(this.projectWatchers.set(t,d),this.sendResponse({kind:SH,projectName:t,files:u})):this.sendResponse({kind:SH,projectName:t,files:void 0})}createSetTypings(t,u){return{projectName:t.projectName,typeAcquisition:t.typeAcquisition,compilerOptions:t.compilerOptions,typings:u,unresolvedImports:t.unresolvedImports,kind:ZQ}}installTypingsAsync(t,u,s,d){this.pendingRunRequests.unshift({requestId:t,packageNames:u,cwd:s,onRequestCompleted:d}),this.executeWithThrottling()}executeWithThrottling(){for(;this.inFlightRequestCount{this.inFlightRequestCount--,t.onRequestCompleted(u),this.executeWithThrottling()})}}}}}),PLe={};h(PLe,{TypingsInstaller:()=>yct,getNpmCommandForInstallation:()=>vct,installNpmPackages:()=>_Qt,typingsName:()=>Cct});var xQt=o({"src/typingsInstallerCore/_namespaces/ts.server.typingsInstaller.ts"(){DQt()}}),MLe=o({"src/typingsInstallerCore/_namespaces/ts.server.ts"(){QQ(),xQt()}}),vQt=o({"src/server/types.ts"(){}});function kct(t,u,s,d){return{projectName:t.getProjectName(),fileNames:t.getFileNames(!0,!0).concat(t.getExcludedFiles()),compilerOptions:t.getCompilationSettings(),typeAcquisition:u,unresolvedImports:s,projectRootPath:t.getCurrentDirectory(),cachePath:d,kind:"discover"}}function Dl(t){return $o(t)}function VK(t,u,s){const d=Pf(t)?t:$a(t,u);return s(d)}function Fct(t){return t}function Act(){const t=new Map;return{get(u){return t.get(u)},set(u,s){t.set(u,s)},contains(u){return t.has(u)},remove(u){t.delete(u)}}}function zLe(t){return/dev\/null\/inferredProject\d+\*/.test(t)}function ILe(t){return`/dev/null/inferredProject${t}*`}function RLe(t){return`/dev/null/autoImportProviderProject${t}*`}function OLe(t){return`/dev/null/auxiliaryProject${t}*`}function jLe(){return[]}var $pe,$c,Upe,v5,CQt=o({"src/server/utilitiesPublic.ts"(){Xv(),$pe=(t=>(t[t.terse=0]="terse",t[t.normal=1]="normal",t[t.requestTime=2]="requestTime",t[t.verbose=3]="verbose",t))($pe||{}),$c=jLe(),Upe=(t=>(t.Err="Err",t.Info="Info",t.Perf="Perf",t))(Upe||{}),(t=>{function u(){throw new Error("No Project.")}t.ThrowNoProject=u;function s(){throw new Error("The project's language service is disabled.")}t.ThrowProjectLanguageServiceDisabled=s;function d(f,p){throw new Error(`Project '${p.getProjectName()}' does not contain document '${f}'`)}t.ThrowProjectDoesNotContainDocument=d})(v5||(v5={}))}});function qpe(t){const u=Ac(t);return u==="tsconfig.json"||u==="jsconfig.json"?u:void 0}function Sct(t,u,s){if(!t||t.length===0)return;if(t[0]===u){t.splice(0,1);return}const d=Kl(t,u,il,s);d>=0&&t.splice(d,1)}var Zpe,Ype,bQt=o({"src/server/utilities.ts"(){Xv(),_9(),Zpe=class H6t{constructor(u,s){this.host=u,this.pendingTimeouts=new Map,this.logger=s.hasLevel(3)?s:void 0}schedule(u,s,d){const f=this.pendingTimeouts.get(u);f&&this.host.clearTimeout(f),this.pendingTimeouts.set(u,this.host.setTimeout(H6t.run,s,u,this,d)),this.logger&&this.logger.info(`Scheduled: ${u}${f?", Cancelled earlier one":""}`)}cancel(u){const s=this.pendingTimeouts.get(u);return s?(this.host.clearTimeout(s),this.pendingTimeouts.delete(u)):!1}static run(u,s,d){var f,p;(f=hh)==null||f.logStartScheduledOperation(u),s.pendingTimeouts.delete(u),s.logger&&s.logger.info(`Running: ${u}`),d(),(p=hh)==null||p.logStopScheduledOperation()}},Ype=class K6t{constructor(u,s,d){this.host=u,this.delay=s,this.logger=d}scheduleCollect(){!this.host.gc||this.timerId!==void 0||(this.timerId=this.host.setTimeout(K6t.run,this.delay,this))}static run(u){var s,d;u.timerId=void 0,(s=hh)==null||s.logStartScheduledOperation("GC collect");const f=u.logger.hasLevel(2),p=f&&u.host.getMemoryUsage();if(u.host.gc(),f){const E=u.host.getMemoryUsage();u.logger.perftrc(`GC::before ${p}, after ${E}`)}(d=hh)==null||d.logStopScheduledOperation()}}}}),Qpe,VLe,HLe,KLe,WLe,GLe,JLe,$Le,ULe,qLe,ZLe,YLe,QLe,XLe,eNe=o({"src/server/protocol.ts"(){Qpe=(t=>(t.JsxClosingTag="jsxClosingTag",t.LinkedEditingRange="linkedEditingRange",t.Brace="brace",t.BraceFull="brace-full",t.BraceCompletion="braceCompletion",t.GetSpanOfEnclosingComment="getSpanOfEnclosingComment",t.Change="change",t.Close="close",t.Completions="completions",t.CompletionInfo="completionInfo",t.CompletionsFull="completions-full",t.CompletionDetails="completionEntryDetails",t.CompletionDetailsFull="completionEntryDetails-full",t.CompileOnSaveAffectedFileList="compileOnSaveAffectedFileList",t.CompileOnSaveEmitFile="compileOnSaveEmitFile",t.Configure="configure",t.Definition="definition",t.DefinitionFull="definition-full",t.DefinitionAndBoundSpan="definitionAndBoundSpan",t.DefinitionAndBoundSpanFull="definitionAndBoundSpan-full",t.Implementation="implementation",t.ImplementationFull="implementation-full",t.EmitOutput="emit-output",t.Exit="exit",t.FileReferences="fileReferences",t.FileReferencesFull="fileReferences-full",t.Format="format",t.Formatonkey="formatonkey",t.FormatFull="format-full",t.FormatonkeyFull="formatonkey-full",t.FormatRangeFull="formatRange-full",t.Geterr="geterr",t.GeterrForProject="geterrForProject",t.SemanticDiagnosticsSync="semanticDiagnosticsSync",t.SyntacticDiagnosticsSync="syntacticDiagnosticsSync",t.SuggestionDiagnosticsSync="suggestionDiagnosticsSync",t.NavBar="navbar",t.NavBarFull="navbar-full",t.Navto="navto",t.NavtoFull="navto-full",t.NavTree="navtree",t.NavTreeFull="navtree-full",t.DocumentHighlights="documentHighlights",t.DocumentHighlightsFull="documentHighlights-full",t.Open="open",t.Quickinfo="quickinfo",t.QuickinfoFull="quickinfo-full",t.References="references",t.ReferencesFull="references-full",t.Reload="reload",t.Rename="rename",t.RenameInfoFull="rename-full",t.RenameLocationsFull="renameLocations-full",t.Saveto="saveto",t.SignatureHelp="signatureHelp",t.SignatureHelpFull="signatureHelp-full",t.FindSourceDefinition="findSourceDefinition",t.Status="status",t.TypeDefinition="typeDefinition",t.ProjectInfo="projectInfo",t.ReloadProjects="reloadProjects",t.Unknown="unknown",t.OpenExternalProject="openExternalProject",t.OpenExternalProjects="openExternalProjects",t.CloseExternalProject="closeExternalProject",t.SynchronizeProjectList="synchronizeProjectList",t.ApplyChangedToOpenFiles="applyChangedToOpenFiles",t.UpdateOpen="updateOpen",t.EncodedSyntacticClassificationsFull="encodedSyntacticClassifications-full",t.EncodedSemanticClassificationsFull="encodedSemanticClassifications-full",t.Cleanup="cleanup",t.GetOutliningSpans="getOutliningSpans",t.GetOutliningSpansFull="outliningSpans",t.TodoComments="todoComments",t.Indentation="indentation",t.DocCommentTemplate="docCommentTemplate",t.CompilerOptionsDiagnosticsFull="compilerOptionsDiagnostics-full",t.NameOrDottedNameSpan="nameOrDottedNameSpan",t.BreakpointStatement="breakpointStatement",t.CompilerOptionsForInferredProjects="compilerOptionsForInferredProjects",t.GetCodeFixes="getCodeFixes",t.GetCodeFixesFull="getCodeFixes-full",t.GetCombinedCodeFix="getCombinedCodeFix",t.GetCombinedCodeFixFull="getCombinedCodeFix-full",t.ApplyCodeActionCommand="applyCodeActionCommand",t.GetSupportedCodeFixes="getSupportedCodeFixes",t.GetApplicableRefactors="getApplicableRefactors",t.GetEditsForRefactor="getEditsForRefactor",t.GetMoveToRefactoringFileSuggestions="getMoveToRefactoringFileSuggestions",t.GetEditsForRefactorFull="getEditsForRefactor-full",t.OrganizeImports="organizeImports",t.OrganizeImportsFull="organizeImports-full",t.GetEditsForFileRename="getEditsForFileRename",t.GetEditsForFileRenameFull="getEditsForFileRename-full",t.ConfigurePlugin="configurePlugin",t.SelectionRange="selectionRange",t.SelectionRangeFull="selectionRange-full",t.ToggleLineComment="toggleLineComment",t.ToggleLineCommentFull="toggleLineComment-full",t.ToggleMultilineComment="toggleMultilineComment",t.ToggleMultilineCommentFull="toggleMultilineComment-full",t.CommentSelection="commentSelection",t.CommentSelectionFull="commentSelection-full",t.UncommentSelection="uncommentSelection",t.UncommentSelectionFull="uncommentSelection-full",t.PrepareCallHierarchy="prepareCallHierarchy",t.ProvideCallHierarchyIncomingCalls="provideCallHierarchyIncomingCalls",t.ProvideCallHierarchyOutgoingCalls="provideCallHierarchyOutgoingCalls",t.ProvideInlayHints="provideInlayHints",t.WatchChange="watchChange",t))(Qpe||{}),VLe=(t=>(t.All="All",t.SortAndCombine="SortAndCombine",t.RemoveUnused="RemoveUnused",t))(VLe||{}),HLe=(t=>(t.FixedPollingInterval="FixedPollingInterval",t.PriorityPollingInterval="PriorityPollingInterval",t.DynamicPriorityPolling="DynamicPriorityPolling",t.FixedChunkSizePolling="FixedChunkSizePolling",t.UseFsEvents="UseFsEvents",t.UseFsEventsOnParentDirectory="UseFsEventsOnParentDirectory",t))(HLe||{}),KLe=(t=>(t.UseFsEvents="UseFsEvents",t.FixedPollingInterval="FixedPollingInterval",t.DynamicPriorityPolling="DynamicPriorityPolling",t.FixedChunkSizePolling="FixedChunkSizePolling",t))(KLe||{}),WLe=(t=>(t.FixedInterval="FixedInterval",t.PriorityInterval="PriorityInterval",t.DynamicPriority="DynamicPriority",t.FixedChunkSize="FixedChunkSize",t))(WLe||{}),GLe=(t=>(t[t.Invoked=1]="Invoked",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",t))(GLe||{}),JLe=(t=>(t.None="None",t.Block="Block",t.Smart="Smart",t))(JLe||{}),$Le=(t=>(t.Ignore="ignore",t.Insert="insert",t.Remove="remove",t))($Le||{}),ULe=(t=>(t.None="None",t.Preserve="Preserve",t.ReactNative="ReactNative",t.React="React",t))(ULe||{}),qLe=(t=>(t.None="None",t.CommonJS="CommonJS",t.AMD="AMD",t.UMD="UMD",t.System="System",t.ES6="ES6",t.ES2015="ES2015",t.ESNext="ESNext",t))(qLe||{}),ZLe=(t=>(t.Classic="Classic",t.Node="Node",t))(ZLe||{}),YLe=(t=>(t.Crlf="Crlf",t.Lf="Lf",t))(YLe||{}),QLe=(t=>(t.ES3="ES3",t.ES5="ES5",t.ES6="ES6",t.ES2015="ES2015",t.ES2016="ES2016",t.ES2017="ES2017",t.ES2018="ES2018",t.ES2019="ES2019",t.ES2020="ES2020",t.ES2021="ES2021",t.ES2022="ES2022",t.ESNext="ESNext",t))(QLe||{}),XLe=(t=>(t[t.comment=1]="comment",t[t.identifier=2]="identifier",t[t.keyword=3]="keyword",t[t.numericLiteral=4]="numericLiteral",t[t.operator=5]="operator",t[t.stringLiteral=6]="stringLiteral",t[t.regularExpressionLiteral=7]="regularExpressionLiteral",t[t.whiteSpace=8]="whiteSpace",t[t.text=9]="text",t[t.punctuation=10]="punctuation",t[t.className=11]="className",t[t.enumName=12]="enumName",t[t.interfaceName=13]="interfaceName",t[t.moduleName=14]="moduleName",t[t.typeParameterName=15]="typeParameterName",t[t.typeAliasName=16]="typeAliasName",t[t.parameterName=17]="parameterName",t[t.docCommentTagName=18]="docCommentTagName",t[t.jsxOpenTagName=19]="jsxOpenTagName",t[t.jsxCloseTagName=20]="jsxCloseTagName",t[t.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",t[t.jsxAttribute=22]="jsxAttribute",t[t.jsxText=23]="jsxText",t[t.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",t[t.bigintLiteral=25]="bigintLiteral",t))(XLe||{})}}),tNe={};h(tNe,{ClassificationType:()=>XLe,CommandTypes:()=>Qpe,CompletionTriggerKind:()=>GLe,IndentStyle:()=>JLe,JsxEmit:()=>ULe,ModuleKind:()=>qLe,ModuleResolutionKind:()=>ZLe,NewLineKind:()=>YLe,OrganizeImportsMode:()=>VLe,PollingWatchKind:()=>WLe,ScriptTarget:()=>QLe,SemicolonPreference:()=>$Le,WatchDirectoryKind:()=>KLe,WatchFileKind:()=>HLe});var yQt=o({"src/server/_namespaces/ts.server.protocol.ts"(){eNe()}});function HK(t){return t[0]==="^"||(t.includes("walkThroughSnippet:/")||t.includes("untitled:/"))&&Ac(t)[0]==="^"||t.includes(":^")&&!t.includes(rl)}function Bct(t){return!t||WK(t)?v5.ThrowNoProject():t}function kQt(t){H.assert(typeof t=="number",`Expected position ${t} to be a number.`),H.assert(t>=0,"Expected position to be non-negative.")}function FQt(t){H.assert(typeof t.line=="number",`Expected line ${t.line} to be a number.`),H.assert(typeof t.offset=="number",`Expected offset ${t.offset} to be a number.`),H.assert(t.line>0,`Expected line to be non-${t.line===0?"zero":"negative"}`),H.assert(t.offset>0,`Expected offset to be non-${t.offset===0?"zero":"negative"}`)}var Xpe,ege,AQt=o({"src/server/scriptInfo.ts"(){Xv(),_9(),Xpe=class{constructor(t,u,s){this.host=t,this.info=u,this.isOpen=!1,this.ownFileText=!1,this.pendingReloadFromDisk=!1,this.version=s||0}getVersion(){return this.svc?`SVC-${this.version}-${this.svc.getSnapshotVersion()}`:`Text-${this.version}`}hasScriptVersionCache_TestOnly(){return this.svc!==void 0}resetSourceMapInfo(){this.info.sourceFileLike=void 0,this.info.closeSourceMapFileWatcher(),this.info.sourceMapFilePath=void 0,this.info.declarationInfoPath=void 0,this.info.sourceInfos=void 0,this.info.documentPositionMapper=void 0}useText(t){this.svc=void 0,this.text=t,this.textSnapshot=void 0,this.lineMap=void 0,this.fileSize=void 0,this.resetSourceMapInfo(),this.version++}edit(t,u,s){this.switchToScriptVersionCache().edit(t,u-t,s),this.ownFileText=!1,this.text=void 0,this.textSnapshot=void 0,this.lineMap=void 0,this.fileSize=void 0,this.resetSourceMapInfo()}reload(t){return H.assert(t!==void 0),this.pendingReloadFromDisk=!1,!this.text&&this.svc&&(this.text=aw(this.svc.getSnapshot())),this.text!==t?(this.useText(t),this.ownFileText=!1,!0):!1}reloadWithFileText(t){const{text:u,fileSize:s}=t||!this.info.isDynamicOrHasMixedContent()?this.getFileTextAndSize(t):{text:"",fileSize:void 0},d=this.reload(u);return this.fileSize=s,this.ownFileText=!t||t===this.info.fileName,d}scheduleReloadIfNeeded(){return!this.pendingReloadFromDisk&&!this.ownFileText?this.pendingReloadFromDisk=!0:!1}delayReloadFromFileIntoText(){this.pendingReloadFromDisk=!0}getTelemetryFileSize(){return this.fileSize?this.fileSize:this.text?this.text.length:this.svc?this.svc.getSnapshot().getLength():this.getSnapshot().getLength()}getSnapshot(){var t;return((t=this.tryUseScriptVersionCache())==null?void 0:t.getSnapshot())||(this.textSnapshot??(this.textSnapshot=eX.fromString(H.checkDefined(this.text))))}getAbsolutePositionAndLineText(t){const u=this.tryUseScriptVersionCache();if(u)return u.getAbsolutePositionAndLineText(t);const s=this.getLineMap();return t<=s.length?{absolutePosition:s[t-1],lineText:this.text.substring(s[t-1],s[t])}:{absolutePosition:this.text.length,lineText:void 0}}lineToTextSpan(t){const u=this.tryUseScriptVersionCache();if(u)return u.lineToTextSpan(t);const s=this.getLineMap(),d=s[t],f=t+1u===void 0?u=this.host.readFile(s)||"":u;if(!mk(this.info.fileName)){const f=this.host.getFileSize?this.host.getFileSize(s):d().length;if(f>ete)return H.assert(!!this.info.containingProjects.length),this.info.containingProjects[0].projectService.logger.info(`Skipped loading contents of large file ${s} for info ${this.info.fileName}: fileSize: ${f}`),this.info.containingProjects[0].projectService.sendLargeFileReferencedEvent(s,f),{text:"",fileSize:f}}return{text:d()}}switchToScriptVersionCache(){return(!this.svc||this.pendingReloadFromDisk)&&(this.svc=fte.fromString(this.getOrLoadText()),this.textSnapshot=void 0,this.version++),this.svc}tryUseScriptVersionCache(){return(!this.svc||this.pendingReloadFromDisk)&&this.getOrLoadText(),this.isOpen?(!this.svc&&!this.textSnapshot&&(this.svc=fte.fromString(H.checkDefined(this.text)),this.textSnapshot=void 0),this.svc):this.svc}getOrLoadText(){return(this.text===void 0||this.pendingReloadFromDisk)&&(H.assert(!this.svc||this.pendingReloadFromDisk,"ScriptVersionCache should not be set when reloading from disk"),this.reloadWithFileText()),this.text}getLineMap(){return H.assert(!this.svc,"ScriptVersionCache should not be set"),this.lineMap||(this.lineMap=n7(H.checkDefined(this.text)))}getLineInfo(){const t=this.tryUseScriptVersionCache();if(t)return{getLineCount:()=>t.getLineCount(),getLineText:s=>t.getAbsolutePositionAndLineText(s+1).lineText};const u=this.getLineMap();return Kde(this.text,u)}},ege=class{constructor(t,u,s,d,f,p){this.host=t,this.fileName=u,this.scriptKind=s,this.hasMixedContent=d,this.path=f,this.containingProjects=[],this.isDynamic=HK(u),this.textStorage=new Xpe(t,this,p),(d||this.isDynamic)&&(this.realpath=this.path),this.scriptKind=s||sZ(u)}isDynamicOrHasMixedContent(){return this.hasMixedContent||this.isDynamic}isScriptOpen(){return this.textStorage.isOpen}open(t){this.textStorage.isOpen=!0,t!==void 0&&this.textStorage.reload(t)&&this.markContainingProjectsAsDirty()}close(t=!0){this.textStorage.isOpen=!1,t&&this.textStorage.scheduleReloadIfNeeded()&&this.markContainingProjectsAsDirty()}getSnapshot(){return this.textStorage.getSnapshot()}ensureRealPath(){if(this.realpath===void 0&&(this.realpath=this.path,this.host.realpath)){H.assert(!!this.containingProjects.length);const t=this.containingProjects[0],u=this.host.realpath(this.path);u&&(this.realpath=t.toPath(u),this.realpath!==this.path&&t.projectService.realpathToScriptInfos.add(this.realpath,this))}}getRealpathIfDifferent(){return this.realpath&&this.realpath!==this.path?this.realpath:void 0}isSymlink(){return this.realpath&&this.realpath!==this.path}getFormatCodeSettings(){return this.formatSettings}getPreferences(){return this.preferences}attachToProject(t){const u=!this.isAttached(t);return u&&(this.containingProjects.push(t),t.getCompilerOptions().preserveSymlinks||this.ensureRealPath(),t.onFileAddedOrRemoved(this.isSymlink())),u}isAttached(t){switch(this.containingProjects.length){case 0:return!1;case 1:return this.containingProjects[0]===t;case 2:return this.containingProjects[0]===t||this.containingProjects[1]===t;default:return kt(this.containingProjects,t)}}detachFromProject(t){switch(this.containingProjects.length){case 0:return;case 1:this.containingProjects[0]===t&&(t.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects.pop());break;case 2:this.containingProjects[0]===t?(t.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects[0]=this.containingProjects.pop()):this.containingProjects[1]===t&&(t.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects.pop());break;default:Vy(this.containingProjects,t)&&t.onFileAddedOrRemoved(this.isSymlink());break}}detachAllProjects(){for(const t of this.containingProjects){Qv(t)&&t.getCachedDirectoryStructureHost().addOrDeleteFile(this.fileName,this.path,2);const u=t.getRootFilesMap().get(this.path);t.removeFile(this,!1,!1),t.onFileAddedOrRemoved(this.isSymlink()),u&&!Aw(t)&&t.addMissingFileRoot(u.fileName)}pu(this.containingProjects)}getDefaultProject(){switch(this.containingProjects.length){case 0:return v5.ThrowNoProject();case 1:return Bct(this.containingProjects[0]);default:let t,u,s,d,f;for(let p=0;p!t.isOrphan())}isContainedByBackgroundProject(){return Oe(this.containingProjects,WK)}lineToTextSpan(t){return this.textStorage.lineToTextSpan(t)}lineOffsetToPosition(t,u,s){return this.textStorage.lineOffsetToPosition(t,u,s)}positionToLineOffset(t){kQt(t);const u=this.textStorage.positionToLineOffset(t);return FQt(u),u}isJavaScript(){return this.scriptKind===1||this.scriptKind===2}closeSourceMapFileWatcher(){this.sourceMapFilePath&&!Ja(this.sourceMapFilePath)&&(jm(this.sourceMapFilePath),this.sourceMapFilePath=void 0)}}}});function wct(t,u){if(t===u||(t||$c).length===0&&(u||$c).length===0)return!0;const s=new Map;let d=0;for(const f of t)s.get(f)!==!0&&(s.set(f,!0),d++);for(const f of u){const p=s.get(f);if(p===void 0)return!1;p===!0&&(s.set(f,!1),d--)}return d===0}function SQt(t,u){return t.enable!==u.enable||!wct(t.include,u.include)||!wct(t.exclude,u.exclude)}function BQt(t,u){return Bv(t)!==Bv(u)}function wQt(t,u){return t===u?!1:!On(t,u)}var qee,tge,TQt=o({"src/server/typingsCache.ts"(){Xv(),_9(),qee={isKnownTypesPackageName:cg,installPackage:ho,enqueueInstallTypingsRequest:Is,attach:Is,onProjectClosed:Is,globalTypingsCacheLocation:void 0},tge=class{constructor(t){this.installer=t,this.perProjectCache=new Map}isKnownTypesPackageName(t){return this.installer.isKnownTypesPackageName(t)}installPackage(t){return this.installer.installPackage(t)}enqueueInstallTypingsForProject(t,u,s){const d=t.getTypeAcquisition();if(!d||!d.enable)return;const f=this.perProjectCache.get(t.getProjectName());(s||!f||SQt(d,f.typeAcquisition)||BQt(t.getCompilationSettings(),f.compilerOptions)||wQt(u,f.unresolvedImports))&&(this.perProjectCache.set(t.getProjectName(),{compilerOptions:t.getCompilationSettings(),typeAcquisition:d,typings:f?f.typings:$c,unresolvedImports:u,poisoned:!0}),this.installer.enqueueInstallTypingsRequest(t,d,u))}updateTypingsForProject(t,u,s,d,f){const p=Ph(f);return this.perProjectCache.set(t,{compilerOptions:u,typeAcquisition:s,typings:p,unresolvedImports:d,poisoned:!1}),!s||!s.enable?$c:p}onProjectClosed(t){this.perProjectCache.delete(t.getProjectName()),this.installer.onProjectClosed(t)}}}});function KK(t,u=!1){const s={js:0,jsSize:0,jsx:0,jsxSize:0,ts:0,tsSize:0,tsx:0,tsxSize:0,dts:0,dtsSize:0,deferred:0,deferredSize:0};for(const d of t){const f=u?d.textStorage.getTelemetryFileSize():0;switch(d.scriptKind){case 1:s.js+=1,s.jsSize+=f;break;case 2:s.jsx+=1,s.jsxSize+=f;break;case 3:e1(d.fileName)?(s.dts+=1,s.dtsSize+=f):(s.ts+=1,s.tsSize+=f);break;case 4:s.tsx+=1,s.tsxSize+=f;break;case 7:s.deferred+=1,s.deferredSize+=f;break}}return s}function LQt(t){const u=KK(t.getScriptInfos());return u.js>0&&u.ts===0&&u.tsx===0}function iNe(t){const u=KK(t.getRootScriptInfos());return u.ts===0&&u.tsx===0}function nNe(t){const u=KK(t.getScriptInfos());return u.ts===0&&u.tsx===0}function uNe(t){return!t.some(u=>Ml(u,".ts")&&!e1(u)||Ml(u,".tsx"))}function rNe(t){return t.generatedFilePath!==void 0}function NQt(t,u){var s,d;const f=t.getSourceFiles();(s=Gn)==null||s.push(Gn.Phase.Session,"getUnresolvedImports",{count:f.length});const p=t.getTypeChecker().getAmbientModules().map(v=>$4(v.getName())),E=pi(ju(f,v=>PQt(t,v,p,u)));return(d=Gn)==null||d.pop(),E}function PQt(t,u,s,d){return W0(d,u.path,()=>{let f;return t.forEachResolvedModule(({resolvedModule:p},E)=>{(!p||!FP(p.extension))&&!Id(E)&&!s.some(v=>v===E)&&(f=xi(f,oH(E).packageName))},u),f||$c})}function Aw(t){return t.projectKind===0}function Qv(t){return t.projectKind===1}function ige(t){return t.projectKind===2}function WK(t){return t.projectKind===3||t.projectKind===4}var nz,Wk,nge,uge,rge,age,oge,Zee,MQt=o({"src/server/project.ts"(){Xv(),Xv(),_9(),nz=(t=>(t[t.Inferred=0]="Inferred",t[t.Configured=1]="Configured",t[t.External=2]="External",t[t.AutoImportProvider=3]="AutoImportProvider",t[t.Auxiliary=4]="Auxiliary",t))(nz||{}),Wk=class W6t{constructor(u,s,d,f,p,E,v,b,B,k,T){switch(this.projectKind=s,this.projectService=d,this.documentRegistry=f,this.compilerOptions=v,this.compileOnSaveEnabled=b,this.watchOptions=B,this.rootFiles=[],this.rootFilesMap=new Map,this.plugins=[],this.cachedUnresolvedImportsPerFile=new Map,this.hasAddedorRemovedFiles=!1,this.hasAddedOrRemovedSymlinks=!1,this.lastReportedVersion=0,this.projectProgramVersion=0,this.projectStateVersion=0,this.isInitialLoadPending=cg,this.dirty=!1,this.typingFiles=$c,this.moduleSpecifierCache=ENe(this),this.createHash=Lo(this.projectService.host,this.projectService.host.createHash),this.globalCacheResolutionModuleName=o3.nonRelativeModuleNameForTypingCache,this.projectName=u,this.directoryStructureHost=k,this.currentDirectory=this.projectService.getNormalizedAbsolutePath(T),this.getCanonicalFileName=this.projectService.toCanonicalFileName,this.jsDocParsingMode=this.projectService.jsDocParsingMode,this.cancellationToken=new zme(this.projectService.cancellationToken,this.projectService.throttleWaitMilliseconds),this.compilerOptions?(p||Bv(this.compilerOptions)||this.projectService.hasDeferredExtension())&&(this.compilerOptions.allowNonTsExtensions=!0):(this.compilerOptions=gee(),this.compilerOptions.allowNonTsExtensions=!0,this.compilerOptions.allowJs=!0),d.serverMode){case 0:this.languageServiceEnabled=!0;break;case 1:this.languageServiceEnabled=!0,this.compilerOptions.noResolve=!0,this.compilerOptions.types=[];break;case 2:this.languageServiceEnabled=!1,this.compilerOptions.noResolve=!0,this.compilerOptions.types=[];break;default:H.assertNever(d.serverMode)}this.setInternalCompilerOptionsForEmittingJsFiles();const M=this.projectService.host;this.projectService.logger.loggingEnabled()?this.trace=z=>this.writeLog(z):M.trace&&(this.trace=z=>M.trace(z)),this.realpath=Lo(M,M.realpath),this.resolutionCache=$1e(this,this.currentDirectory,!0),this.languageService=eBe(this,this.documentRegistry,this.projectService.serverMode),E&&this.disableLanguageService(E),this.markAsDirty(),WK(this)||(this.projectService.pendingEnsureProjectForOpenFiles=!0),this.projectService.onProjectCreation(this)}getResolvedProjectReferenceToRedirect(u){}isNonTsProject(){return Gm(this),nNe(this)}isJsOnlyProject(){return Gm(this),LQt(this)}static resolveModule(u,s,d,f){return W6t.importServicePluginSync({name:u},[s],d,f).resolvedModule}static importServicePluginSync(u,s,d,f){H.assertIsDefined(d.require);let p,E;for(const v of s){const b=q1(d.resolvePath(cr(v,"node_modules")));f(`Loading ${u.name} from ${v} (resolved to ${b})`);const B=d.require(b,u.name);if(!B.error){E=B.module;break}const k=B.error.stack||B.error.message||JSON.stringify(B.error);(p??(p=[])).push(`Failed to load module '${u.name}' from ${b}: ${k}`)}return{pluginConfigEntry:u,resolvedModule:E,errorLogs:p}}static async importServicePluginAsync(u,s,d,f){H.assertIsDefined(d.importPlugin);let p,E;for(const v of s){const b=cr(v,"node_modules");f(`Dynamically importing ${u.name} from ${v} (resolved to ${b})`);let B;try{B=await d.importPlugin(b,u.name)}catch(T){B={module:void 0,error:T}}if(!B.error){E=B.module;break}const k=B.error.stack||B.error.message||JSON.stringify(B.error);(p??(p=[])).push(`Failed to dynamically import module '${u.name}' from ${b}: ${k}`)}return{pluginConfigEntry:u,resolvedModule:E,errorLogs:p}}isKnownTypesPackageName(u){return this.typingsCache.isKnownTypesPackageName(u)}installPackage(u){return this.typingsCache.installPackage({...u,projectName:this.projectName,projectRootPath:this.toPath(this.currentDirectory)})}getGlobalTypingsCacheLocation(){return this.getGlobalCache()}get typingsCache(){return this.projectService.typingsCache}getSymlinkCache(){return this.symlinks||(this.symlinks=ble(this.getCurrentDirectory(),this.getCanonicalFileName)),this.program&&!this.symlinks.hasProcessedResolutions()&&this.symlinks.setSymlinksFromResolutions(this.program.forEachResolvedModule,this.program.forEachResolvedTypeReferenceDirective,this.program.getAutomaticTypeDirectiveResolutions()),this.symlinks}getCompilationSettings(){return this.compilerOptions}getCompilerOptions(){return this.getCompilationSettings()}getNewLine(){return this.projectService.host.newLine}getProjectVersion(){return this.projectStateVersion.toString()}getProjectReferences(){}getScriptFileNames(){if(!this.rootFiles)return _t;let u;return this.rootFilesMap.forEach(s=>{(this.languageServiceEnabled||s.info&&s.info.isScriptOpen())&&(u||(u=[])).push(s.fileName)}),yn(u,this.typingFiles)||_t}getOrCreateScriptInfoAndAttachToProject(u){const s=this.projectService.getOrCreateScriptInfoNotOpenedByClient(u,this.currentDirectory,this.directoryStructureHost);if(s){const d=this.rootFilesMap.get(s.path);d&&d.info!==s&&(this.rootFiles.push(s),d.info=s),s.attachToProject(this)}return s}getScriptKind(u){const s=this.projectService.getScriptInfoForPath(this.toPath(u));return s&&s.scriptKind}getScriptVersion(u){const s=this.projectService.getOrCreateScriptInfoNotOpenedByClient(u,this.currentDirectory,this.directoryStructureHost);return s&&s.getLatestVersion()}getScriptSnapshot(u){const s=this.getOrCreateScriptInfoAndAttachToProject(u);if(s)return s.getSnapshot()}getCancellationToken(){return this.cancellationToken}getCurrentDirectory(){return this.currentDirectory}getDefaultLibFileName(){const u=lr($o(this.projectService.getExecutingFilePath()));return cr(u,zO(this.compilerOptions))}useCaseSensitiveFileNames(){return this.projectService.host.useCaseSensitiveFileNames}readDirectory(u,s,d,f,p){return this.directoryStructureHost.readDirectory(u,s,d,f,p)}readFile(u){return this.projectService.host.readFile(u)}writeFile(u,s){return this.projectService.host.writeFile(u,s)}fileExists(u){const s=this.toPath(u);return!this.isWatchedMissingFile(s)&&this.directoryStructureHost.fileExists(u)}resolveModuleNameLiterals(u,s,d,f,p,E){return this.resolutionCache.resolveModuleNameLiterals(u,s,d,f,p,E)}getModuleResolutionCache(){return this.resolutionCache.getModuleResolutionCache()}resolveTypeReferenceDirectiveReferences(u,s,d,f,p,E){return this.resolutionCache.resolveTypeReferenceDirectiveReferences(u,s,d,f,p,E)}resolveLibrary(u,s,d,f){return this.resolutionCache.resolveLibrary(u,s,d,f)}directoryExists(u){return this.directoryStructureHost.directoryExists(u)}getDirectories(u){return this.directoryStructureHost.getDirectories(u)}getCachedDirectoryStructureHost(){}toPath(u){return J0(u,this.currentDirectory,this.projectService.toCanonicalFileName)}watchDirectoryOfFailedLookupLocation(u,s,d){return this.projectService.watchFactory.watchDirectory(u,s,d,this.projectService.getWatchOptions(this),cd.FailedLookupLocations,this)}watchAffectingFileLocation(u,s){return this.projectService.watchFactory.watchFile(u,s,2e3,this.projectService.getWatchOptions(this),cd.AffectingFileLocation,this)}clearInvalidateResolutionOfFailedLookupTimer(){return this.projectService.throttledOperations.cancel(`${this.getProjectName()}FailedLookupInvalidation`)}scheduleInvalidateResolutionsOfFailedLookupLocations(){this.projectService.throttledOperations.schedule(`${this.getProjectName()}FailedLookupInvalidation`,1e3,()=>{this.resolutionCache.invalidateResolutionsOfFailedLookupLocations()&&this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)})}invalidateResolutionsOfFailedLookupLocations(){this.clearInvalidateResolutionOfFailedLookupTimer()&&this.resolutionCache.invalidateResolutionsOfFailedLookupLocations()&&(this.markAsDirty(),this.projectService.delayEnsureProjectForOpenFiles())}onInvalidatedResolution(){this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}watchTypeRootsDirectory(u,s,d){return this.projectService.watchFactory.watchDirectory(u,s,d,this.projectService.getWatchOptions(this),cd.TypeRoots,this)}hasChangedAutomaticTypeDirectiveNames(){return this.resolutionCache.hasChangedAutomaticTypeDirectiveNames()}onChangedAutomaticTypeDirectiveNames(){this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}getGlobalCache(){return this.getTypeAcquisition().enable?this.projectService.typingsInstaller.globalTypingsCacheLocation:void 0}fileIsOpen(u){return this.projectService.openFiles.has(u)}writeLog(u){this.projectService.logger.info(u)}log(u){this.writeLog(u)}error(u){this.projectService.logger.msg(u,"Err")}setInternalCompilerOptionsForEmittingJsFiles(){(this.projectKind===0||this.projectKind===2)&&(this.compilerOptions.noEmitForJsFiles=!0)}getGlobalProjectErrors(){return ti(this.projectErrors,u=>!u.file)||$c}getAllProjectErrors(){return this.projectErrors||$c}setProjectErrors(u){this.projectErrors=u}getLanguageService(u=!0){return u&&Gm(this),this.languageService}getSourceMapper(){return this.getLanguageService().getSourceMapper()}clearSourceMapperCache(){this.languageService.clearSourceMapperCache()}getDocumentPositionMapper(u,s){return this.projectService.getDocumentPositionMapper(this,u,s)}getSourceFileLike(u){return this.projectService.getSourceFileLike(u,this)}shouldEmitFile(u){return u&&!u.isDynamicOrHasMixedContent()&&!this.program.isSourceOfProjectReferenceRedirect(u.path)}getCompileOnSaveAffectedFileList(u){return this.languageServiceEnabled?(Gm(this),this.builderState=Wp.create(this.program,this.builderState,!0),qi(Wp.getFilesAffectedBy(this.builderState,this.program,u.path,this.cancellationToken,this.projectService.host),s=>this.shouldEmitFile(this.projectService.getScriptInfoForPath(s.path))?s.fileName:void 0)):[]}emitFile(u,s){if(!this.languageServiceEnabled||!this.shouldEmitFile(u))return{emitSkipped:!0,diagnostics:$c};const{emitSkipped:d,diagnostics:f,outputFiles:p}=this.getLanguageService().getEmitOutput(u.fileName);if(!d){for(const E of p){const v=$a(E.name,this.currentDirectory);s(v,E.text,E.writeByteOrderMark)}if(this.builderState&&c4(this.compilerOptions)){const E=p.filter(v=>e1(v.name));if(E.length===1){const v=this.program.getSourceFile(u.fileName),b=this.projectService.host.createHash?this.projectService.host.createHash(E[0].text):AN(E[0].text);Wp.updateSignatureOfFile(this.builderState,b,v.resolvedPath)}}}return{emitSkipped:d,diagnostics:f}}enableLanguageService(){this.languageServiceEnabled||this.projectService.serverMode===2||(this.languageServiceEnabled=!0,this.lastFileExceededProgramSize=void 0,this.projectService.onUpdateLanguageServiceStateForProject(this,!0))}cleanupProgram(){if(this.program){for(const u of this.program.getSourceFiles())this.detachScriptInfoIfNotRoot(u.fileName);this.program.forEachResolvedProjectReference(u=>this.detachScriptInfoFromProject(u.sourceFile.fileName)),this.program=void 0}}disableLanguageService(u){this.languageServiceEnabled&&(H.assert(this.projectService.serverMode!==2),this.languageService.cleanupSemanticCache(),this.languageServiceEnabled=!1,this.cleanupProgram(),this.lastFileExceededProgramSize=u,this.builderState=void 0,this.autoImportProviderHost&&this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0,this.resolutionCache.closeTypeRootsWatch(),this.clearGeneratedFileWatch(),this.projectService.verifyDocumentRegistry(),this.projectService.onUpdateLanguageServiceStateForProject(this,!1))}getProjectName(){return this.projectName}removeLocalTypingsFromTypeAcquisition(u){return!u||!u.include?u:{...u,include:this.removeExistingTypings(u.include)}}getExternalFiles(u){return Ph(ju(this.plugins,s=>{if(typeof s.module.getExternalFiles=="function")try{return s.module.getExternalFiles(this,u||0)}catch(d){this.projectService.logger.info(`A plugin threw an exception in getExternalFiles: ${d}`),d.stack&&this.projectService.logger.info(d.stack)}}))}getSourceFile(u){if(this.program)return this.program.getSourceFileByPath(u)}getSourceFileOrConfigFile(u){const s=this.program.getCompilerOptions();return u===s.configFilePath?s.configFile:this.getSourceFile(u)}close(){this.projectService.typingsCache.onProjectClosed(this),this.closeWatchingTypingLocations(),this.cleanupProgram(),L(this.externalFiles,u=>this.detachScriptInfoIfNotRoot(u));for(const u of this.rootFiles)u.detachFromProject(this);this.projectService.pendingEnsureProjectForOpenFiles=!0,this.rootFiles=void 0,this.rootFilesMap=void 0,this.externalFiles=void 0,this.program=void 0,this.builderState=void 0,this.resolutionCache.clear(),this.resolutionCache=void 0,this.cachedUnresolvedImportsPerFile=void 0,this.moduleSpecifierCache=void 0,this.directoryStructureHost=void 0,this.exportMapCache=void 0,this.projectErrors=void 0,this.plugins.length=0,this.missingFilesMap&&(rf(this.missingFilesMap,fg),this.missingFilesMap=void 0),this.clearGeneratedFileWatch(),this.clearInvalidateResolutionOfFailedLookupTimer(),this.autoImportProviderHost&&this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0,this.noDtsResolutionProject&&this.noDtsResolutionProject.close(),this.noDtsResolutionProject=void 0,this.languageService.dispose(),this.languageService=void 0}detachScriptInfoIfNotRoot(u){const s=this.projectService.getScriptInfo(u);s&&!this.isRoot(s)&&s.detachFromProject(this)}isClosed(){return this.rootFiles===void 0}hasRoots(){return this.rootFiles&&this.rootFiles.length>0}isOrphan(){return!1}getRootFiles(){return this.rootFiles&&this.rootFiles.map(u=>u.fileName)}getRootFilesMap(){return this.rootFilesMap}getRootScriptInfos(){return this.rootFiles}getScriptInfos(){return this.languageServiceEnabled?Vt(this.program.getSourceFiles(),u=>{const s=this.projectService.getScriptInfoForPath(u.resolvedPath);return H.assert(!!s,"getScriptInfo",()=>`scriptInfo for a file '${u.fileName}' Path: '${u.path}' / '${u.resolvedPath}' is missing.`),s}):this.rootFiles}getExcludedFiles(){return $c}getFileNames(u,s){if(!this.program)return[];if(!this.languageServiceEnabled){let f=this.getRootFiles();if(this.compilerOptions){const p=tBe(this.compilerOptions);p&&(f||(f=[])).push(p)}return f}const d=[];for(const f of this.program.getSourceFiles())u&&this.program.isSourceFileFromExternalLibrary(f)||d.push(f.fileName);if(!s){const f=this.program.getCompilerOptions().configFile;if(f&&(d.push(f.fileName),f.extendedSourceFiles))for(const p of f.extendedSourceFiles)d.push(p)}return d}getFileNamesWithRedirectInfo(u){return this.getFileNames().map(s=>({fileName:s,isSourceOfProjectReferenceRedirect:u&&this.isSourceOfProjectReferenceRedirect(s)}))}hasConfigFile(u){if(this.program&&this.languageServiceEnabled){const s=this.program.getCompilerOptions().configFile;if(s){if(u===s.fileName)return!0;if(s.extendedSourceFiles){for(const d of s.extendedSourceFiles)if(u===d)return!0}}}return!1}containsScriptInfo(u){if(this.isRoot(u))return!0;if(!this.program)return!1;const s=this.program.getSourceFileByPath(u.path);return!!s&&s.resolvedPath===u.path}containsFile(u,s){const d=this.projectService.getScriptInfoForNormalizedPath(u);return d&&(d.isScriptOpen()||!s)?this.containsScriptInfo(d):!1}isRoot(u){var s;return this.rootFilesMap&&((s=this.rootFilesMap.get(u.path))==null?void 0:s.info)===u}addRoot(u,s){H.assert(!this.isRoot(u)),this.rootFiles.push(u),this.rootFilesMap.set(u.path,{fileName:s||u.fileName,info:u}),u.attachToProject(this),this.markAsDirty()}addMissingFileRoot(u){const s=this.projectService.toPath(u);this.rootFilesMap.set(s,{fileName:u}),this.markAsDirty()}removeFile(u,s,d){this.isRoot(u)&&this.removeRoot(u),s?this.resolutionCache.removeResolutionsOfFile(u.path):this.resolutionCache.invalidateResolutionOfFile(u.path),this.cachedUnresolvedImportsPerFile.delete(u.path),d&&u.detachFromProject(this),this.markAsDirty()}registerFileUpdate(u){(this.updatedFileNames||(this.updatedFileNames=new Set)).add(u)}markFileAsDirty(u){this.markAsDirty(),this.exportMapCache&&!this.exportMapCache.isEmpty()&&(this.changedFilesForExportMapCache||(this.changedFilesForExportMapCache=new Set)).add(u)}markAsDirty(){this.dirty||(this.projectStateVersion++,this.dirty=!0)}onAutoImportProviderSettingsChanged(){var u;this.autoImportProviderHost===!1?this.autoImportProviderHost=void 0:(u=this.autoImportProviderHost)==null||u.markAsDirty()}onPackageJsonChange(u){var s;(s=this.packageJsonsForAutoImport)!=null&&s.has(u)&&(this.moduleSpecifierCache.clear(),this.autoImportProviderHost&&this.autoImportProviderHost.markAsDirty())}onFileAddedOrRemoved(u){this.hasAddedorRemovedFiles=!0,u&&(this.hasAddedOrRemovedSymlinks=!0)}onDiscoveredSymlink(){this.hasAddedOrRemovedSymlinks=!0}updateGraph(){var u,s,d,f,p;(u=Gn)==null||u.push(Gn.Phase.Session,"updateGraph",{name:this.projectName,kind:nz[this.projectKind]}),(s=hh)==null||s.logStartUpdateGraph(),this.resolutionCache.startRecordingFilesWithChangedResolutions();const E=this.updateGraphWorker(),v=this.hasAddedorRemovedFiles;this.hasAddedorRemovedFiles=!1,this.hasAddedOrRemovedSymlinks=!1;const b=this.resolutionCache.finishRecordingFilesWithChangedResolutions()||$c;for(const k of b)this.cachedUnresolvedImportsPerFile.delete(k);this.languageServiceEnabled&&this.projectService.serverMode===0?((E||b.length)&&(this.lastCachedUnresolvedImportsList=NQt(this.program,this.cachedUnresolvedImportsPerFile)),this.projectService.typingsCache.enqueueInstallTypingsForProject(this,this.lastCachedUnresolvedImportsList,v)):this.lastCachedUnresolvedImportsList=void 0;const B=this.projectProgramVersion===0&&E;return E&&this.projectProgramVersion++,v&&(this.autoImportProviderHost||(this.autoImportProviderHost=void 0),(d=this.autoImportProviderHost)==null||d.markAsDirty()),B&&this.getPackageJsonAutoImportProvider(),(f=hh)==null||f.logStopUpdateGraph(),(p=Gn)==null||p.pop(),!E}updateTypingFiles(u){eU(u,this.typingFiles,CN(!this.useCaseSensitiveFileNames()),Is,s=>this.detachScriptInfoFromProject(s))&&(this.typingFiles=u,this.resolutionCache.setFilesWithInvalidatedNonRelativeUnresolvedImports(this.cachedUnresolvedImportsPerFile),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this))}closeWatchingTypingLocations(){this.typingWatchers&&rf(this.typingWatchers,fg),this.typingWatchers=void 0}onTypingInstallerWatchInvoke(){this.typingWatchers.isInvoked=!0,this.projectService.updateTypingsForProject({projectName:this.getProjectName(),kind:YQ})}watchTypingLocations(u){if(!u){this.typingWatchers.isInvoked=!1;return}if(!u.length){this.closeWatchingTypingLocations();return}const s=new Map(this.typingWatchers);this.typingWatchers||(this.typingWatchers=new Map),this.typingWatchers.isInvoked=!1;const d=(f,p)=>{const E=this.toPath(f);s.delete(E),this.typingWatchers.has(E)||this.typingWatchers.set(E,p==="FileWatcher"?this.projectService.watchFactory.watchFile(f,()=>this.typingWatchers.isInvoked?this.writeLog("TypingWatchers already invoked"):this.onTypingInstallerWatchInvoke(),2e3,this.projectService.getWatchOptions(this),cd.TypingInstallerLocationFile,this):this.projectService.watchFactory.watchDirectory(f,v=>{if(this.typingWatchers.isInvoked)return this.writeLog("TypingWatchers already invoked");if(!Ml(v,".json"))return this.writeLog("Ignoring files that are not *.json");if(pv(v,cr(this.projectService.typingsInstaller.globalTypingsCacheLocation,"package.json"),!this.useCaseSensitiveFileNames()))return this.writeLog("Ignoring package.json change at global typings location");this.onTypingInstallerWatchInvoke()},1,this.projectService.getWatchOptions(this),cd.TypingInstallerLocationDirectory,this))};for(const f of u){const p=Ac(f);if(p==="package.json"||p==="bower.json"){d(f,"FileWatcher");continue}if(GE(this.currentDirectory,f,this.currentDirectory,!this.useCaseSensitiveFileNames())){const E=f.indexOf(rl,this.currentDirectory.length+1);d(E!==-1?f.substr(0,E):f,"DirectoryWatcher");continue}if(GE(this.projectService.typingsInstaller.globalTypingsCacheLocation,f,this.currentDirectory,!this.useCaseSensitiveFileNames())){d(this.projectService.typingsInstaller.globalTypingsCacheLocation,"DirectoryWatcher");continue}d(f,"DirectoryWatcher")}s.forEach((f,p)=>{f.close(),this.typingWatchers.delete(p)})}getCurrentProgram(){return this.program}removeExistingTypings(u){const s=VY(this.getCompilerOptions(),this.directoryStructureHost);return u.filter(d=>!s.includes(d))}updateGraphWorker(){var u,s;const d=this.languageService.getCurrentProgram();H.assert(d===this.program),H.assert(!this.isClosed(),"Called update graph worker of closed project"),this.writeLog(`Starting updateGraphWorker: Project: ${this.getProjectName()}`);const f=G0(),{hasInvalidatedResolutions:p,hasInvalidatedLibResolutions:E}=this.resolutionCache.createHasInvalidatedResolutions(cg,cg);this.hasInvalidatedResolutions=p,this.hasInvalidatedLibResolutions=E,this.resolutionCache.startCachingPerDirectoryResolution(),this.program=this.languageService.getProgram(),this.dirty=!1,(u=Gn)==null||u.push(Gn.Phase.Session,"finishCachingPerDirectoryResolution"),this.resolutionCache.finishCachingPerDirectoryResolution(this.program,d),(s=Gn)==null||s.pop(),H.assert(d===void 0||this.program!==void 0);let v=!1;if(this.program&&(!d||this.program!==d&&this.program.structureIsReused!==2)){if(v=!0,d){for(const k of d.getSourceFiles()){const T=this.program.getSourceFileByPath(k.resolvedPath);(!T||k.resolvedPath===k.path&&T.resolvedPath!==k.path)&&this.detachScriptInfoFromProject(k.fileName,!!this.program.getSourceFileByPath(k.path),!0)}d.forEachResolvedProjectReference(k=>{this.program.getResolvedProjectReferenceByPath(k.sourceFile.path)||this.detachScriptInfoFromProject(k.sourceFile.fileName,void 0,!0)})}if(g1e(this.program,this.missingFilesMap||(this.missingFilesMap=new Map),k=>this.addMissingFileWatcher(k)),this.generatedFilesMap){const k=y0(this.compilerOptions);rNe(this.generatedFilesMap)?(!k||!this.isValidGeneratedFileWatcher(_h(k)+".d.ts",this.generatedFilesMap))&&this.clearGeneratedFileWatch():k?this.clearGeneratedFileWatch():this.generatedFilesMap.forEach((T,M)=>{const z=this.program.getSourceFileByPath(M);(!z||z.resolvedPath!==M||!this.isValidGeneratedFileWatcher(Mq(z.fileName,this.compilerOptions,this.currentDirectory,this.program.getCommonSourceDirectory(),this.getCanonicalFileName),T))&&(jm(T),this.generatedFilesMap.delete(M))})}this.languageServiceEnabled&&this.projectService.serverMode===0&&this.resolutionCache.updateTypeRootsWatch()}this.projectService.verifyProgram(this),this.exportMapCache&&!this.exportMapCache.isEmpty()&&(this.exportMapCache.releaseSymbols(),this.hasAddedorRemovedFiles||d&&!this.program.structureIsReused?this.exportMapCache.clear():this.changedFilesForExportMapCache&&d&&this.program&&U_(this.changedFilesForExportMapCache,k=>{const T=d.getSourceFileByPath(k),M=this.program.getSourceFileByPath(k);return!T||!M?(this.exportMapCache.clear(),!0):this.exportMapCache.onFileChanged(T,M,!!this.getTypeAcquisition().enable)})),this.changedFilesForExportMapCache&&this.changedFilesForExportMapCache.clear(),(this.hasAddedOrRemovedSymlinks||this.program&&!this.program.structureIsReused&&this.getCompilerOptions().preserveSymlinks)&&(this.symlinks=void 0,this.moduleSpecifierCache.clear());const b=this.externalFiles||$c;this.externalFiles=this.getExternalFiles(),eU(this.externalFiles,b,CN(!this.useCaseSensitiveFileNames()),k=>{const T=this.projectService.getOrCreateScriptInfoNotOpenedByClient(k,this.currentDirectory,this.directoryStructureHost);T==null||T.attachToProject(this)},k=>this.detachScriptInfoFromProject(k));const B=G0()-f;return this.sendPerformanceEvent("UpdateGraph",B),this.writeLog(`Finishing updateGraphWorker: Project: ${this.getProjectName()} Version: ${this.getProjectVersion()} structureChanged: ${v}${this.program?` structureIsReused:: ${cU[this.program.structureIsReused]}`:""} Elapsed: ${B}ms`),this.projectService.logger.isTestLogger?this.program!==d?this.print(!0,this.hasAddedorRemovedFiles,!0):this.writeLog("Same program as before"):this.hasAddedorRemovedFiles?this.print(!0,!0,!1):this.program!==d&&this.writeLog("Different program with same set of files"),this.projectService.verifyDocumentRegistry(),v}sendPerformanceEvent(u,s){this.projectService.sendPerformanceEvent(u,s)}detachScriptInfoFromProject(u,s,d){const f=this.projectService.getScriptInfo(u);f&&(f.detachFromProject(this),s||this.resolutionCache.removeResolutionsOfFile(f.path,d))}addMissingFileWatcher(u){var s;if(Qv(this)){const f=this.projectService.configFileExistenceInfoCache.get(u);if((s=f==null?void 0:f.config)!=null&&s.projects.has(this.canonicalConfigFilePath))return tw}const d=this.projectService.watchFactory.watchFile(u,(f,p)=>{Qv(this)&&this.getCachedDirectoryStructureHost().addOrDeleteFile(f,u,p),p===0&&this.missingFilesMap.has(u)&&(this.missingFilesMap.delete(u),d.close(),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this))},500,this.projectService.getWatchOptions(this),cd.MissingFile,this);return d}isWatchedMissingFile(u){return!!this.missingFilesMap&&this.missingFilesMap.has(u)}addGeneratedFileWatch(u,s){if(y0(this.compilerOptions))this.generatedFilesMap||(this.generatedFilesMap=this.createGeneratedFileWatcher(u));else{const d=this.toPath(s);if(this.generatedFilesMap){if(rNe(this.generatedFilesMap)){H.fail(`${this.projectName} Expected to not have --out watcher for generated file with options: ${JSON.stringify(this.compilerOptions)}`);return}if(this.generatedFilesMap.has(d))return}else this.generatedFilesMap=new Map;this.generatedFilesMap.set(d,this.createGeneratedFileWatcher(u))}}createGeneratedFileWatcher(u){return{generatedFilePath:this.toPath(u),watcher:this.projectService.watchFactory.watchFile(u,()=>{this.clearSourceMapperCache(),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)},2e3,this.projectService.getWatchOptions(this),cd.MissingGeneratedFile,this)}}isValidGeneratedFileWatcher(u,s){return this.toPath(u)===s.generatedFilePath}clearGeneratedFileWatch(){this.generatedFilesMap&&(rNe(this.generatedFilesMap)?jm(this.generatedFilesMap):rf(this.generatedFilesMap,jm),this.generatedFilesMap=void 0)}getScriptInfoForNormalizedPath(u){const s=this.projectService.getScriptInfoForPath(this.toPath(u));return s&&!s.isAttached(this)?v5.ThrowProjectDoesNotContainDocument(u,this):s}getScriptInfo(u){return this.projectService.getScriptInfo(u)}filesToString(u){return this.filesToStringWorker(u,!0,!1)}filesToStringWorker(u,s,d){if(this.isInitialLoadPending())return` Files (0) InitialLoadPending `;if(!this.program)return` Files (0) NoProgram `;const f=this.program.getSourceFiles();let p=` Files (${f.length}) `;if(u){for(const E of f)p+=` ${E.fileName}${d?` ${E.version} ${JSON.stringify(E.text)}`:""} @@ -416,7 +416,7 @@ Project '${v.projectName}' (${nz[v.projectKind]}) ${p} `,p++};this.projectService.externalProjects.forEach(E),this.projectService.configuredProjects.forEach(E),this.projectService.inferredProjects.forEach(E)}}this.logger.msg(f,"Err")}send(u){if(u.type==="event"&&!this.canUseEvents){this.logger.hasLevel(3)&&this.logger.info(`Session does not support events: ignored event: ${JSON.stringify(u)}`);return}this.writeMessage(u)}writeMessage(u){var s;const d=DNe(u,this.logger,this.byteLength,this.host.newLine);(s=hh)==null||s.logEvent(`Response message size: ${d.length}`),this.host.write(d)}event(u,s){this.send(xNe(s,u))}doOutput(u,s,d,f,p){const E={seq:0,type:"response",command:s,request_seq:d,success:f,performanceData:this.performanceData};if(f){let v;if(Ha(u))E.body=u,v=u.metadata,delete u.metadata;else if(typeof u=="object")if(u.metadata){const{metadata:b,...B}=u;E.body=B,v=b}else E.body=u;else E.body=u;v&&(E.metadata=v)}else H.assert(u===void 0);p&&(E.message=p),this.send(E)}semanticCheck(u,s){var d,f;(d=Gn)==null||d.push(Gn.Phase.Session,"semanticCheck",{file:u,configFilePath:s.canonicalConfigFilePath});const p=Oct(s,u)?$c:s.getLanguageService().getSemanticDiagnostics(u).filter(E=>!!E.file);this.sendDiagnosticsEvent(u,s,p,"semanticDiag"),(f=Gn)==null||f.pop()}syntacticCheck(u,s){var d,f;(d=Gn)==null||d.push(Gn.Phase.Session,"syntacticCheck",{file:u,configFilePath:s.canonicalConfigFilePath}),this.sendDiagnosticsEvent(u,s,s.getLanguageService().getSyntacticDiagnostics(u),"syntaxDiag"),(f=Gn)==null||f.pop()}suggestionCheck(u,s){var d,f;(d=Gn)==null||d.push(Gn.Phase.Session,"suggestionCheck",{file:u,configFilePath:s.canonicalConfigFilePath}),this.sendDiagnosticsEvent(u,s,s.getLanguageService().getSuggestionDiagnostics(u),"suggestionDiag"),(f=Gn)==null||f.pop()}sendDiagnosticsEvent(u,s,d,f){try{this.event({file:u,diagnostics:d.map(p=>jct(u,s,p))},f)}catch(p){this.logError(p,f)}}updateErrorCheck(u,s,d,f=!0){H.assert(!this.suppressDiagnosticEvents);const p=this.changeSeq,E=Math.min(d,200);let v=0;const b=()=>{v++,s.length>v&&u.delay("checkOne",E,B)},B=()=>{if(this.changeSeq!==p)return;let k=s[v];if(Ja(k)&&(k=this.toPendingErrorCheck(k),!k)){b();return}const{fileName:T,project:M}=k;if(Gm(M),!!M.containsFile(T,f)&&(this.syntacticCheck(T,M),this.changeSeq===p)){if(M.projectService.serverMode!==0){b();return}u.immediate("semanticCheck",()=>{if(this.semanticCheck(T,M),this.changeSeq===p){if(this.getPreferences(T).disableSuggestions){b();return}u.immediate("suggestionCheck",()=>{this.suggestionCheck(T,M),b()})}})}};s.length>v&&this.changeSeq===p&&u.delay("checkOne",d,B)}cleanProjects(u,s){if(s){this.logger.info(`cleaning ${u}`);for(const d of s)d.getLanguageService(!1).cleanupSemanticCache(),d.cleanupProgram()}}cleanup(){this.cleanProjects("inferred projects",this.projectService.inferredProjects),this.cleanProjects("configured projects",ga(this.projectService.configuredProjects.values())),this.cleanProjects("external projects",this.projectService.externalProjects),this.host.gc&&(this.logger.info("host.gc()"),this.host.gc())}getEncodedSyntacticClassifications(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u);return d.getEncodedSyntacticClassifications(s,u)}getEncodedSemanticClassifications(u){const{file:s,project:d}=this.getFileAndProject(u),f=u.format==="2020"?"2020":"original";return d.getLanguageService().getEncodedSemanticClassifications(s,u,f)}getProject(u){return u===void 0?void 0:this.projectService.findProject(u)}getConfigFileAndProject(u){const s=this.getProject(u.projectFileName),d=Dl(u.file);return{configFile:s&&s.hasConfigFile(d)?d:void 0,project:s}}getConfigFileDiagnostics(u,s,d){const f=s.getAllProjectErrors(),p=s.getLanguageService().getCompilerOptionsDiagnostics(),E=ti(Hi(f,p),v=>!!v.file&&v.file.fileName===u);return d?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(E):Vt(E,v=>UK(v,!1))}convertToDiagnosticsWithLinePositionFromDiagnosticFile(u){return u.map(s=>({message:lE(s.messageText,this.host.newLine),start:s.start,length:s.length,category:Gy(s),code:s.code,source:s.source,startLocation:s.file&&$K(s0(s.file,s.start)),endLocation:s.file&&$K(s0(s.file,s.start+s.length)),reportsUnnecessary:s.reportsUnnecessary,reportsDeprecated:s.reportsDeprecated,relatedInformation:Vt(s.relatedInformation,pge)}))}getCompilerOptionsDiagnostics(u){const s=this.getProject(u.projectFileName);return this.convertToDiagnosticsWithLinePosition(ti(s.getLanguageService().getCompilerOptionsDiagnostics(),d=>!d.file),void 0)}convertToDiagnosticsWithLinePosition(u,s){return u.map(d=>({message:lE(d.messageText,this.host.newLine),start:d.start,length:d.length,category:Gy(d),code:d.code,source:d.source,startLocation:s&&s.positionToLineOffset(d.start),endLocation:s&&s.positionToLineOffset(d.start+d.length),reportsUnnecessary:d.reportsUnnecessary,reportsDeprecated:d.reportsDeprecated,relatedInformation:Vt(d.relatedInformation,pge)}))}getDiagnosticsWorker(u,s,d,f){const{project:p,file:E}=this.getFileAndProject(u);if(s&&Oct(p,E))return $c;const v=p.getScriptInfoForNormalizedPath(E),b=d(p,E);return f?this.convertToDiagnosticsWithLinePosition(b,v):b.map(B=>jct(E,p,B))}getDefinition(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.getPositionInFile(u,d),E=this.mapDefinitionInfoLocations(f.getLanguageService().getDefinitionAtPosition(d,p)||$c,f);return s?this.mapDefinitionInfo(E,f):E.map(q3e.mapToOriginalLocation)}mapDefinitionInfoLocations(u,s){return u.map(d=>{const f=Kct(d,s);return f?{...f,containerKind:d.containerKind,containerName:d.containerName,kind:d.kind,name:d.name,failedAliasResolution:d.failedAliasResolution,...d.unverified&&{unverified:d.unverified}}:d})}getDefinitionAndBoundSpan(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.getPositionInFile(u,d),E=H.checkDefined(f.getScriptInfo(d)),v=f.getLanguageService().getDefinitionAndBoundSpan(d,p);if(!v||!v.definitions)return{definitions:$c,textSpan:void 0};const b=this.mapDefinitionInfoLocations(v.definitions,f),{textSpan:B}=v;return s?{definitions:this.mapDefinitionInfo(b,f),textSpan:l_(B,E)}:{definitions:b.map(q3e.mapToOriginalLocation),textSpan:B}}findSourceDefinition(u){var s;const{file:d,project:f}=this.getFileAndProject(u),p=this.getPositionInFile(u,d),E=f.getLanguageService().getDefinitionAtPosition(d,p);let v=this.mapDefinitionInfoLocations(E||$c,f).slice();if(this.projectService.serverMode===0&&(!Oe(v,z=>Dl(z.fileName)!==d&&!z.isAmbient)||Oe(v,z=>!!z.failedAliasResolution))){const z=aoe(Y=>Y.textSpan.start,bX);v==null||v.forEach(Y=>z.add(Y));const j=f.getNoDtsResolutionProject(d),J=j.getLanguageService(),K=(s=J.getDefinitionAtPosition(d,p,!0,!1))==null?void 0:s.filter(Y=>Dl(Y.fileName)!==d);if(Oe(K))for(const Y of K){if(Y.unverified){const oe=T(Y,f.getLanguageService().getProgram(),J.getProgram());if(Oe(oe)){for(const se of oe)z.add(se);continue}}z.add(Y)}else{const Y=v.filter(oe=>Dl(oe.fileName)!==d&&oe.isAmbient);for(const oe of Oe(Y)?Y:k()){const se=B(oe.fileName,d,j);if(!se)continue;const ge=this.projectService.getOrCreateScriptInfoNotOpenedByClient(se,j.currentDirectory,j.directoryStructureHost);if(!ge)continue;j.containsScriptInfo(ge)||(j.addRoot(ge),j.updateGraph());const ae=J.getProgram(),Ce=H.checkDefined(ae.getSourceFile(se));for(const ne of M(oe.name,Ce,ae))z.add(ne)}}v=ga(z.values())}return v=v.filter(z=>!z.isAmbient&&!z.failedAliasResolution),this.mapDefinitionInfo(v,f);function B(z,j,J){var K,Y,oe;const se=pZ(z);if(se&&z.lastIndexOf(o_)===se.topLevelNodeModulesIndex){const ge=z.substring(0,se.packageRootIndex),ae=(K=f.getModuleResolutionCache())==null?void 0:K.getPackageJsonInfoCache(),Ce=f.getCompilationSettings(),ne=aH($a(ge+"/package.json",f.getCurrentDirectory()),rH(ae,f,Ce));if(!ne)return;const ve=kde(ne,{moduleResolution:2},f,f.getModuleResolutionCache()),Se=z.substring(se.topLevelPackageNameIndex+1,se.packageRootIndex),Ne=hM(lH(Se)),pe=f.toPath(z);if(ve&&Oe(ve,fe=>f.toPath(fe)===pe))return(Y=J.resolutionCache.resolveSingleModuleNameWithoutWatching(Ne,j).resolvedModule)==null?void 0:Y.resolvedFileName;{const fe=z.substring(se.packageRootIndex+1),xe=`${Ne}/${_h(fe)}`;return(oe=J.resolutionCache.resolveSingleModuleNameWithoutWatching(xe,j).resolvedModule)==null?void 0:oe.resolvedFileName}}}function k(){const z=f.getLanguageService(),j=z.getProgram(),J=af(j.getSourceFile(d),p);return(t0(J)||at(J))&&I0(J.parent)&&Zye(J,K=>{var Y;if(K===J)return;const oe=(Y=z.getDefinitionAtPosition(d,K.getStart(),!0,!1))==null?void 0:Y.filter(se=>Dl(se.fileName)!==d&&se.isAmbient).map(se=>({fileName:se.fileName,name:J4(J)}));if(Oe(oe))return oe})||$c}function T(z,j,J){var K;const Y=J.getSourceFile(z.fileName);if(!Y)return;const oe=af(j.getSourceFile(d),p),se=j.getTypeChecker().getSymbolAtLocation(oe),ge=se&&Sl(se,276);if(!ge)return;const ae=((K=ge.propertyName)==null?void 0:K.text)||ge.name.text;return M(ae,Y,J)}function M(z,j,J){const K=Z0.Core.getTopMostDeclarationNamesInFile(z,j);return qi(K,Y=>{const oe=J.getTypeChecker().getSymbolAtLocation(Y),se=nP(Y);if(oe&&se)return Cw.createDefinitionInfo(se,J.getTypeChecker(),oe,se,!0)})}}getEmitOutput(u){const{file:s,project:d}=this.getFileAndProject(u);if(!d.shouldEmitFile(d.getScriptInfo(s)))return{emitSkipped:!0,outputFiles:[],diagnostics:[]};const f=d.getLanguageService().getEmitOutput(s);return u.richResponse?{...f,diagnostics:u.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(f.diagnostics):f.diagnostics.map(p=>UK(p,!0))}:f}mapJSDocTagInfo(u,s,d){return u?u.map(f=>{var p;return{...f,text:d?this.mapDisplayParts(f.text,s):(p=f.text)==null?void 0:p.map(E=>E.text).join("")}}):[]}mapDisplayParts(u,s){return u?u.map(d=>d.kind!=="linkName"?d:{...d,target:this.toFileSpan(d.target.fileName,d.target.textSpan,s)}):[]}mapSignatureHelpItems(u,s,d){return u.map(f=>({...f,documentation:this.mapDisplayParts(f.documentation,s),parameters:f.parameters.map(p=>({...p,documentation:this.mapDisplayParts(p.documentation,s)})),tags:this.mapJSDocTagInfo(f.tags,s,d)}))}mapDefinitionInfo(u,s){return u.map(d=>({...this.toFileSpanWithContext(d.fileName,d.textSpan,d.contextSpan,s),...d.unverified&&{unverified:d.unverified}}))}static mapToOriginalLocation(u){return u.originalFileName?(H.assert(u.originalTextSpan!==void 0,"originalTextSpan should be present if originalFileName is"),{...u,fileName:u.originalFileName,textSpan:u.originalTextSpan,targetFileName:u.fileName,targetTextSpan:u.textSpan,contextSpan:u.originalContextSpan,targetContextSpan:u.contextSpan}):u}toFileSpan(u,s,d){const f=d.getLanguageService(),p=f.toLineColumnOffset(u,s.start),E=f.toLineColumnOffset(u,Ec(s));return{file:u,start:{line:p.line+1,offset:p.character+1},end:{line:E.line+1,offset:E.character+1}}}toFileSpanWithContext(u,s,d,f){const p=this.toFileSpan(u,s,f),E=d&&this.toFileSpan(u,d,f);return E?{...p,contextStart:E.start,contextEnd:E.end}:p}getTypeDefinition(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.getPositionInFile(u,s),p=this.mapDefinitionInfoLocations(d.getLanguageService().getTypeDefinitionAtPosition(s,f)||$c,d);return this.mapDefinitionInfo(p,d)}mapImplementationLocations(u,s){return u.map(d=>{const f=Kct(d,s);return f?{...f,kind:d.kind,displayParts:d.displayParts}:d})}getImplementation(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.getPositionInFile(u,d),E=this.mapImplementationLocations(f.getLanguageService().getImplementationAtPosition(d,p)||$c,f);return s?E.map(({fileName:v,textSpan:b,contextSpan:B})=>this.toFileSpanWithContext(v,b,B,f)):E.map(q3e.mapToOriginalLocation)}getSyntacticDiagnosticsSync(u){const{configFile:s}=this.getConfigFileAndProject(u);return s?$c:this.getDiagnosticsWorker(u,!1,(d,f)=>d.getLanguageService().getSyntacticDiagnostics(f),!!u.includeLinePosition)}getSemanticDiagnosticsSync(u){const{configFile:s,project:d}=this.getConfigFileAndProject(u);return s?this.getConfigFileDiagnostics(s,d,!!u.includeLinePosition):this.getDiagnosticsWorker(u,!0,(f,p)=>f.getLanguageService().getSemanticDiagnostics(p).filter(E=>!!E.file),!!u.includeLinePosition)}getSuggestionDiagnosticsSync(u){const{configFile:s}=this.getConfigFileAndProject(u);return s?$c:this.getDiagnosticsWorker(u,!0,(d,f)=>d.getLanguageService().getSuggestionDiagnostics(f),!!u.includeLinePosition)}getJsxClosingTag(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s),p=d.getJsxClosingTagAtPosition(s,f);return p===void 0?void 0:{newText:p.newText,caretOffset:0}}getLinkedEditingRange(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s),p=d.getLinkedEditingRangeAtPosition(s,f),E=this.projectService.getScriptInfoForNormalizedPath(s);if(!(E===void 0||p===void 0))return tXt(p,E)}getDocumentHighlights(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.getPositionInFile(u,d),E=f.getLanguageService().getDocumentHighlights(d,p,u.filesToSearch);return E?s?E.map(({fileName:v,highlightSpans:b})=>{const B=f.getScriptInfo(v);return{file:v,highlightSpans:b.map(({textSpan:k,kind:T,contextSpan:M})=>({...CNe(k,M,B),kind:T}))}}):E:$c}provideInlayHints(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.projectService.getScriptInfoForNormalizedPath(s);return d.getLanguageService().provideInlayHints(s,u,this.getPreferences(s)).map(E=>{const{position:v,displayParts:b}=E;return{...E,position:f.positionToLineOffset(v),displayParts:b==null?void 0:b.map(({text:B,span:k,file:T})=>{if(k){H.assertIsDefined(T,"Target file should be defined together with its span.");const M=this.projectService.getScriptInfo(T);return{text:B,span:{start:M.positionToLineOffset(k.start),end:M.positionToLineOffset(k.start+k.length),file:T}}}else return{text:B}})}})}setCompilerOptionsForInferredProjects(u){this.projectService.setCompilerOptionsForInferredProjects(u.options,u.projectRootPath)}getProjectInfo(u){return this.getProjectInfoWorker(u.file,u.projectFileName,u.needFileNameList,!1)}getProjectInfoWorker(u,s,d,f){const{project:p}=this.getFileAndProjectWorker(u,s);return Gm(p),{configFileName:p.getProjectName(),languageServiceDisabled:!p.languageServiceEnabled,fileNames:d?p.getFileNames(!1,f):void 0}}getRenameInfo(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.getPositionInFile(u,s),p=this.getPreferences(s);return d.getLanguageService().getRenameInfo(s,f,p)}getProjects(u,s,d){let f,p;if(u.projectFileName){const E=this.getProject(u.projectFileName);E&&(f=[E])}else{const E=s?this.projectService.getScriptInfoEnsuringProjectsUptoDate(u.file):this.projectService.getScriptInfo(u.file);if(E)s||this.projectService.ensureDefaultProjectForFile(E);else return d?$c:(this.projectService.logErrorForScriptInfoNotFound(u.file),v5.ThrowNoProject());f=E.containingProjects,p=this.projectService.getSymlinkedProjects(E)}return f=ti(f,E=>E.languageServiceEnabled&&!E.isOrphan()),!d&&(!f||!f.length)&&!p?(this.projectService.logErrorForScriptInfoNotFound(u.file??u.projectFileName),v5.ThrowNoProject()):p?{projects:f,symLinkedProjects:p}:f}getDefaultProject(u){if(u.projectFileName){const d=this.getProject(u.projectFileName);if(d)return d;if(!u.file)return v5.ThrowNoProject()}return this.projectService.getScriptInfo(u.file).getDefaultProject()}getRenameLocations(u,s){const d=Dl(u.file),f=this.getPositionInFile(u,d),p=this.getProjects(u),E=this.getDefaultProject(u),v=this.getPreferences(d),b=this.mapRenameInfo(E.getLanguageService().getRenameInfo(d,f,v),H.checkDefined(this.projectService.getScriptInfo(d)));if(!b.canRename)return s?{info:b,locs:[]}:[];const B=UQt(p,E,{fileName:u.file,pos:f},!!u.findInStrings,!!u.findInComments,v);return s?{info:b,locs:this.toSpanGroups(B)}:B}mapRenameInfo(u,s){if(u.canRename){const{canRename:d,fileToRename:f,displayName:p,fullDisplayName:E,kind:v,kindModifiers:b,triggerSpan:B}=u;return{canRename:d,fileToRename:f,displayName:p,fullDisplayName:E,kind:v,kindModifiers:b,triggerSpan:l_(B,s)}}else return u}toSpanGroups(u){const s=new Map;for(const{fileName:d,textSpan:f,contextSpan:p,originalContextSpan:E,originalTextSpan:v,originalFileName:b,...B}of u){let k=s.get(d);k||s.set(d,k={file:d,locs:[]});const T=H.checkDefined(this.projectService.getScriptInfo(d));k.locs.push({...CNe(f,p,T),...B})}return ga(s.values())}getReferences(u,s){const d=Dl(u.file),f=this.getProjects(u),p=this.getPositionInFile(u,d),E=ZQt(f,this.getDefaultProject(u),{fileName:u.file,pos:p},this.logger);if(!s)return E;const v=this.getPreferences(d),b=this.getDefaultProject(u),B=b.getScriptInfoForNormalizedPath(d),k=b.getLanguageService().getQuickInfoAtPosition(d,p),T=k?EK(k.displayParts):"",M=k&&k.textSpan,z=M?B.positionToLineOffset(M.start).offset:0,j=M?B.getSnapshot().getText(M.start,Ec(M)):"";return{refs:ju(E,K=>K.references.map(Y=>Gct(this.projectService,Y,v))),symbolName:j,symbolStartOffset:z,symbolDisplayString:T}}getFileReferences(u,s){const d=this.getProjects(u),f=u.file,p=this.getPreferences(Dl(f)),E=[],v=gge();return vNe(d,void 0,B=>{if(B.getCancellationToken().isCancellationRequested())return;const k=B.getLanguageService().getFileReferences(f);if(k)for(const T of k)v.has(T)||(E.push(T),v.add(T))}),s?{refs:E.map(B=>Gct(this.projectService,B,p)),symbolName:`"${u.file}"`}:E}openClientFile(u,s,d,f){this.projectService.openClientFileWithNormalizedPath(u,s,d,!1,f)}getPosition(u,s){return u.position!==void 0?u.position:s.lineOffsetToPosition(u.line,u.offset)}getPositionInFile(u,s){const d=this.projectService.getScriptInfoForNormalizedPath(s);return this.getPosition(u,d)}getFileAndProject(u){return this.getFileAndProjectWorker(u.file,u.projectFileName)}getFileAndLanguageServiceForSyntacticOperation(u){const{file:s,project:d}=this.getFileAndProject(u);return{file:s,languageService:d.getLanguageService(!1)}}getFileAndProjectWorker(u,s){const d=Dl(u),f=this.getProject(s)||this.projectService.ensureDefaultProjectForFile(d);return{file:d,project:f}}getOutliningSpans(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=f.getOutliningSpans(d);if(s){const E=this.projectService.getScriptInfoForNormalizedPath(d);return p.map(v=>({textSpan:l_(v.textSpan,E),hintSpan:l_(v.hintSpan,E),bannerText:v.bannerText,autoCollapse:v.autoCollapse,kind:v.kind}))}else return p}getTodoComments(u){const{file:s,project:d}=this.getFileAndProject(u);return d.getLanguageService().getTodoComments(s,u.descriptors)}getDocCommentTemplate(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s);return d.getDocCommentTemplateAtPosition(s,f,this.getPreferences(s),this.getFormatOptions(s))}getSpanOfEnclosingComment(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=u.onlyMultiLine,p=this.getPositionInFile(u,s);return d.getSpanOfEnclosingComment(s,p,f)}getIndentation(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s),p=u.options?Sw(u.options):this.getFormatOptions(s),E=d.getIndentationAtPosition(s,f,p);return{position:f,indentation:E}}getBreakpointStatement(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s);return d.getBreakpointStatementAtPosition(s,f)}getNameOrDottedNameSpan(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s);return d.getNameOrDottedNameSpan(s,f,f)}isValidBraceCompletion(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s);return d.isValidBraceCompletionAtPosition(s,f,u.openingBrace.charCodeAt(0))}getQuickInfoWorker(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=f.getLanguageService().getQuickInfoAtPosition(d,this.getPosition(u,p));if(!E)return;const v=!!this.getPreferences(d).displayPartsForJSDoc;if(s){const b=EK(E.displayParts);return{kind:E.kind,kindModifiers:E.kindModifiers,start:p.positionToLineOffset(E.textSpan.start),end:p.positionToLineOffset(Ec(E.textSpan)),displayString:b,documentation:v?this.mapDisplayParts(E.documentation,f):EK(E.documentation),tags:this.mapJSDocTagInfo(E.tags,f,v)}}else return v?E:{...E,tags:this.mapJSDocTagInfo(E.tags,f,!1)}}getFormattingEditsForRange(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.projectService.getScriptInfoForNormalizedPath(s),p=f.lineOffsetToPosition(u.line,u.offset),E=f.lineOffsetToPosition(u.endLine,u.endOffset),v=d.getFormattingEditsForRange(s,p,E,this.getFormatOptions(s));if(v)return v.map(b=>this.convertTextChangeToCodeEdit(b,f))}getFormattingEditsForRangeFull(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=u.options?Sw(u.options):this.getFormatOptions(s);return d.getFormattingEditsForRange(s,u.position,u.endPosition,f)}getFormattingEditsForDocumentFull(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=u.options?Sw(u.options):this.getFormatOptions(s);return d.getFormattingEditsForDocument(s,f)}getFormattingEditsAfterKeystrokeFull(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=u.options?Sw(u.options):this.getFormatOptions(s);return d.getFormattingEditsAfterKeystroke(s,u.position,u.key,f)}getFormattingEditsAfterKeystroke(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.projectService.getScriptInfoForNormalizedPath(s),p=f.lineOffsetToPosition(u.line,u.offset),E=this.getFormatOptions(s),v=d.getFormattingEditsAfterKeystroke(s,p,u.key,E);if(u.key===` `&&(!v||v.length===0||JQt(v,p))){const{lineText:b,absolutePosition:B}=f.textStorage.getAbsolutePositionAndLineText(u.line);if(b&&b.search("\\S")<0){const k=d.getIndentationAtPosition(s,p,E);let T=0,M,z;for(M=0,z=b.length;M({start:f.positionToLineOffset(b.span.start),end:f.positionToLineOffset(Ec(b.span)),newText:b.newText?b.newText:""}))}getCompletions(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getPosition(u,p),v=f.getLanguageService().getCompletionsAtPosition(d,E,{...oNe(this.getPreferences(d)),triggerCharacter:u.triggerCharacter,triggerKind:u.triggerKind,includeExternalModuleExports:u.includeExternalModuleExports,includeInsertTextCompletions:u.includeInsertTextCompletions},f.projectService.getFormatCodeOptions(d));if(v===void 0)return;if(s==="completions-full")return v;const b=u.prefix||"",B=qi(v.entries,T=>{if(v.isMemberCompletion||Pa(T.name.toLowerCase(),b.toLowerCase())){const{name:M,kind:z,kindModifiers:j,sortText:J,insertText:K,filterText:Y,replacementSpan:oe,hasAction:se,source:ge,sourceDisplay:ae,labelDetails:Ce,isSnippet:ne,isRecommended:ve,isPackageJsonImport:Se,isImportStatementCompletion:Ne,data:pe}=T,fe=oe?l_(oe,p):void 0;return{name:M,kind:z,kindModifiers:j,sortText:J,insertText:K,filterText:Y,replacementSpan:fe,isSnippet:ne,hasAction:se||void 0,source:ge,sourceDisplay:ae,labelDetails:Ce,isRecommended:ve,isPackageJsonImport:Se,isImportStatementCompletion:Ne,data:pe}}});return s==="completions"?(v.metadata&&(B.metadata=v.metadata),B):{...v,optionalReplacementSpan:v.optionalReplacementSpan&&l_(v.optionalReplacementSpan,p),entries:B}}getCompletionEntryDetails(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getPosition(u,p),v=f.projectService.getFormatCodeOptions(d),b=!!this.getPreferences(d).displayPartsForJSDoc,B=qi(u.entryNames,k=>{const{name:T,source:M,data:z}=typeof k=="string"?{name:k,source:void 0,data:void 0}:k;return f.getLanguageService().getCompletionEntryDetails(d,E,T,v,M,this.getPreferences(d),z?Po(z,aXt):void 0)});return s?b?B:B.map(k=>({...k,tags:this.mapJSDocTagInfo(k.tags,f,!1)})):B.map(k=>({...k,codeActions:Vt(k.codeActions,T=>this.mapCodeAction(T)),documentation:this.mapDisplayParts(k.documentation,f),tags:this.mapJSDocTagInfo(k.tags,f,b)}))}getCompileOnSaveAffectedFileList(u){const s=this.getProjects(u,!0,!0),d=this.projectService.getScriptInfo(u.file);return d?$Qt(d,f=>this.projectService.getScriptInfoForPath(f),s,(f,p)=>{if(!f.compileOnSaveEnabled||!f.languageServiceEnabled||f.isOrphan())return;const E=f.getCompilationSettings();if(!(E.noEmit||e1(p.fileName)&&!GQt(E)))return{projectFileName:f.getProjectName(),fileNames:f.getCompileOnSaveAffectedFileList(p),projectUsesOutFile:!!y0(E)}}):$c}emitFile(u){const{file:s,project:d}=this.getFileAndProject(u);if(d||v5.ThrowNoProject(),!d.languageServiceEnabled)return u.richResponse?{emitSkipped:!0,diagnostics:[]}:!1;const f=d.getScriptInfo(s),{emitSkipped:p,diagnostics:E}=d.emitFile(f,(v,b,B)=>this.host.writeFile(v,b,B));return u.richResponse?{emitSkipped:p,diagnostics:u.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(E):E.map(v=>UK(v,!0))}:!p}getSignatureHelpItems(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getPosition(u,p),v=f.getLanguageService().getSignatureHelpItems(d,E,u),b=!!this.getPreferences(d).displayPartsForJSDoc;if(v&&s){const B=v.applicableSpan;return{...v,applicableSpan:{start:p.positionToLineOffset(B.start),end:p.positionToLineOffset(B.start+B.length)},items:this.mapSignatureHelpItems(v.items,f,b)}}else return b||!v?v:{...v,items:v.items.map(B=>({...B,tags:this.mapJSDocTagInfo(B.tags,f,!1)}))}}toPendingErrorCheck(u){const s=Dl(u),d=this.projectService.tryGetDefaultProjectForFile(s);return d&&{fileName:s,project:d}}getDiagnostics(u,s,d){this.suppressDiagnosticEvents||d.length>0&&this.updateErrorCheck(u,d,s)}change(u){const s=this.projectService.getScriptInfo(u.file);H.assert(!!s),s.textStorage.switchToScriptVersionCache();const d=s.lineOffsetToPosition(u.line,u.offset),f=s.lineOffsetToPosition(u.endLine,u.endOffset);d>=0&&(this.changeSeq++,this.projectService.applyChangesToFile(s,qa({span:{start:d,length:f-d},newText:u.insertString})))}reload(u,s){const d=Dl(u.file),f=u.tmpfile===void 0?void 0:Dl(u.tmpfile),p=this.projectService.getScriptInfoForNormalizedPath(d);p&&(this.changeSeq++,p.reloadFromFile(f)&&this.doOutput(void 0,"reload",s,!0))}saveToTmp(u,s){const d=this.projectService.getScriptInfo(u);d&&d.saveTo(s)}closeClientFile(u){if(!u)return;const s=$o(u);this.projectService.closeClientFile(s)}mapLocationNavigationBarItems(u,s){return Vt(u,d=>({text:d.text,kind:d.kind,kindModifiers:d.kindModifiers,spans:d.spans.map(f=>l_(f,s)),childItems:this.mapLocationNavigationBarItems(d.childItems,s),indent:d.indent}))}getNavigationBarItems(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=f.getNavigationBarItems(d);return p?s?this.mapLocationNavigationBarItems(p,this.projectService.getScriptInfoForNormalizedPath(d)):p:void 0}toLocationNavigationTree(u,s){return{text:u.text,kind:u.kind,kindModifiers:u.kindModifiers,spans:u.spans.map(d=>l_(d,s)),nameSpan:u.nameSpan&&l_(u.nameSpan,s),childItems:Vt(u.childItems,d=>this.toLocationNavigationTree(d,s))}}getNavigationTree(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=f.getNavigationTree(d);return p?s?this.toLocationNavigationTree(p,this.projectService.getScriptInfoForNormalizedPath(d)):p:void 0}getNavigateToItems(u,s){const d=this.getFullNavigateToItems(u);return s?ju(d,({project:f,navigateToItems:p})=>p.map(E=>{const v=f.getScriptInfo(E.fileName),b={name:E.name,kind:E.kind,kindModifiers:E.kindModifiers,isCaseSensitive:E.isCaseSensitive,matchKind:E.matchKind,file:E.fileName,start:v.positionToLineOffset(E.textSpan.start),end:v.positionToLineOffset(Ec(E.textSpan))};return E.kindModifiers&&E.kindModifiers!==""&&(b.kindModifiers=E.kindModifiers),E.containerName&&E.containerName.length>0&&(b.containerName=E.containerName),E.containerKind&&E.containerKind.length>0&&(b.containerKind=E.containerKind),b})):ju(d,({navigateToItems:f})=>f)}getFullNavigateToItems(u){const{currentFileOnly:s,searchValue:d,maxResultCount:f,projectFileName:p}=u;if(s){H.assertIsDefined(u.file);const{file:M,project:z}=this.getFileAndProject(u);return[{project:z,navigateToItems:z.getLanguageService().getNavigateToItems(d,f,M)}]}const E=this.getHostPreferences(),v=[],b=new Map;if(!u.file&&!p)this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(M=>B(M));else{const M=this.getProjects(u);vNe(M,void 0,z=>B(z))}return v;function B(M){const z=M.getLanguageService().getNavigateToItems(d,f,void 0,M.isNonTsProject(),E.excludeLibrarySymbolsInNavTo),j=ti(z,J=>k(J)&&!Ege(uz(J),M));j.length&&v.push({project:M,navigateToItems:j})}function k(M){const z=M.name;if(!b.has(z))return b.set(z,[M]),!0;const j=b.get(z);for(const J of j)if(T(J,M))return!1;return j.push(M),!0}function T(M,z){return M===z?!0:!M||!z?!1:M.containerKind===z.containerKind&&M.containerName===z.containerName&&M.fileName===z.fileName&&M.isCaseSensitive===z.isCaseSensitive&&M.kind===z.kind&&M.kindModifiers===z.kindModifiers&&M.matchKind===z.matchKind&&M.name===z.name&&M.textSpan.start===z.textSpan.start&&M.textSpan.length===z.textSpan.length}}getSupportedCodeFixes(u){if(!u)return Bme();if(u.file){const{file:d,project:f}=this.getFileAndProject(u);return f.getLanguageService().getSupportedCodeFixes(d)}const s=this.getProject(u.projectFileName);return s||v5.ThrowNoProject(),s.getLanguageService().getSupportedCodeFixes()}isLocation(u){return u.line!==void 0}extractPositionOrRange(u,s){let d,f;return this.isLocation(u)?d=p(u):f=this.getRange(u,s),H.checkDefined(d===void 0?f:d);function p(E){return E.position!==void 0?E.position:s.lineOffsetToPosition(E.line,E.offset)}}getRange(u,s){const{startPosition:d,endPosition:f}=this.getStartAndEndPosition(u,s);return{pos:d,end:f}}getApplicableRefactors(u){const{file:s,project:d}=this.getFileAndProject(u),f=d.getScriptInfoForNormalizedPath(s);return d.getLanguageService().getApplicableRefactors(s,this.extractPositionOrRange(u,f),this.getPreferences(s),u.triggerReason,u.kind,u.includeInteractiveActions)}getEditsForRefactor(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=f.getScriptInfoForNormalizedPath(d),E=f.getLanguageService().getEditsForRefactor(d,this.getFormatOptions(d),this.extractPositionOrRange(u,p),u.refactor,u.action,this.getPreferences(d),u.interactiveRefactorArguments);if(E===void 0)return{edits:[]};if(s){const{renameFilename:v,renameLocation:b,edits:B}=E;let k;if(v!==void 0&&b!==void 0){const T=f.getScriptInfoForNormalizedPath(Dl(v));k=bNe(aw(T.getSnapshot()),v,b,B)}return{renameLocation:k,renameFilename:v,edits:this.mapTextChangesToCodeEdits(B),notApplicableReason:E.notApplicableReason}}return E}getMoveToRefactoringFileSuggestions(u){const{file:s,project:d}=this.getFileAndProject(u),f=d.getScriptInfoForNormalizedPath(s);return d.getLanguageService().getMoveToRefactoringFileSuggestions(s,this.extractPositionOrRange(u,f),this.getPreferences(s))}organizeImports(u,s){H.assert(u.scope.type==="file");const{file:d,project:f}=this.getFileAndProject(u.scope.args),p=f.getLanguageService().organizeImports({fileName:d,mode:u.mode??(u.skipDestructiveCodeActions?"SortAndCombine":void 0),type:"file"},this.getFormatOptions(d),this.getPreferences(d));return s?this.mapTextChangesToCodeEdits(p):p}getEditsForFileRename(u,s){const d=Dl(u.oldFilePath),f=Dl(u.newFilePath),p=this.getHostFormatOptions(),E=this.getHostPreferences(),v=new Set,b=[];return this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(B=>{const k=B.getLanguageService().getEditsForFileRename(d,f,p,E),T=[];for(const M of k)v.has(M.fileName)||(b.push(M),T.push(M.fileName));for(const M of T)v.add(M)}),s?b.map(B=>this.mapTextChangeToCodeEdit(B)):b}getCodeFixes(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=f.getScriptInfoForNormalizedPath(d),{startPosition:E,endPosition:v}=this.getStartAndEndPosition(u,p);let b;try{b=f.getLanguageService().getCodeFixesAtPosition(d,E,v,u.errorCodes,this.getFormatOptions(d),this.getPreferences(d))}catch(B){const k=f.getLanguageService(),T=[...k.getSyntacticDiagnostics(d),...k.getSemanticDiagnostics(d),...k.getSuggestionDiagnostics(d)].map(z=>RO(E,v-E,z.start,z.length)&&z.code),M=u.errorCodes.find(z=>!T.includes(z));throw M!==void 0&&(B.message=`BADCLIENT: Bad error code, ${M} not found in range ${E}..${v} (found: ${T.join(", ")}); could have caused this error: ${B.message}`),B}return s?b.map(B=>this.mapCodeFixAction(B)):b}getCombinedCodeFix({scope:u,fixId:s},d){H.assert(u.type==="file");const{file:f,project:p}=this.getFileAndProject(u.args),E=p.getLanguageService().getCombinedCodeFix({type:"file",fileName:f},s,this.getFormatOptions(f),this.getPreferences(f));return d?{changes:this.mapTextChangesToCodeEdits(E.changes),commands:E.commands}:E}applyCodeActionCommand(u){const s=u.command;for(const d of YA(s)){const{file:f,project:p}=this.getFileAndProject(d);p.getLanguageService().applyCodeActionCommand(d,this.getFormatOptions(f)).then(E=>{},E=>{})}return{}}getStartAndEndPosition(u,s){let d,f;return u.startPosition!==void 0?d=u.startPosition:(d=s.lineOffsetToPosition(u.startLine,u.startOffset),u.startPosition=d),u.endPosition!==void 0?f=u.endPosition:(f=s.lineOffsetToPosition(u.endLine,u.endOffset),u.endPosition=f),{startPosition:d,endPosition:f}}mapCodeAction({description:u,changes:s,commands:d}){return{description:u,changes:this.mapTextChangesToCodeEdits(s),commands:d}}mapCodeFixAction({fixName:u,description:s,changes:d,commands:f,fixId:p,fixAllDescription:E}){return{fixName:u,description:s,changes:this.mapTextChangesToCodeEdits(d),commands:f,fixId:p,fixAllDescription:E}}mapTextChangesToCodeEdits(u){return u.map(s=>this.mapTextChangeToCodeEdit(s))}mapTextChangeToCodeEdit(u){const s=this.projectService.getScriptInfoOrConfig(u.fileName);return!!u.isNewFile==!!s&&(s||this.projectService.logErrorForScriptInfoNotFound(u.fileName),H.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!u.isNewFile,hasScriptInfo:!!s}))),s?{fileName:u.fileName,textChanges:u.textChanges.map(d=>eXt(d,s))}:nXt(u)}convertTextChangeToCodeEdit(u,s){return{start:s.positionToLineOffset(u.span.start),end:s.positionToLineOffset(u.span.start+u.span.length),newText:u.newText?u.newText:""}}getBraceMatching(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getPosition(u,p),v=f.getBraceMatchingAtPosition(d,E);return v?s?v.map(b=>l_(b,p)):v:void 0}getDiagnosticsForProject(u,s,d){if(this.suppressDiagnosticEvents)return;const{fileNames:f,languageServiceDisabled:p}=this.getProjectInfoWorker(d,void 0,!0,!0);if(p)return;const E=f.filter(J=>!J.includes("lib.d.ts"));if(E.length===0)return;const v=[],b=[],B=[],k=[],T=Dl(d),M=this.projectService.ensureDefaultProjectForFile(T);for(const J of E)this.getCanonicalFileName(J)===this.getCanonicalFileName(d)?v.push(J):this.projectService.getScriptInfo(J).isScriptOpen()?b.push(J):e1(J)?k.push(J):B.push(J);const j=[...v,...b,...B,...k].map(J=>({fileName:J,project:M}));this.updateErrorCheck(u,j,s,!1)}configurePlugin(u){this.projectService.configurePlugin(u)}getSmartSelectionRange(u,s){const{locations:d}=u,{file:f,languageService:p}=this.getFileAndLanguageServiceForSyntacticOperation(u),E=H.checkDefined(this.projectService.getScriptInfo(f));return Vt(d,v=>{const b=this.getPosition(v,E),B=p.getSmartSelectionRange(f,b);return s?this.mapSelectionRange(B,E):B})}toggleLineComment(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=this.projectService.getScriptInfo(d),E=this.getRange(u,p),v=f.toggleLineComment(d,E);if(s){const b=this.projectService.getScriptInfoForNormalizedPath(d);return v.map(B=>this.convertTextChangeToCodeEdit(B,b))}return v}toggleMultilineComment(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getRange(u,p),v=f.toggleMultilineComment(d,E);if(s){const b=this.projectService.getScriptInfoForNormalizedPath(d);return v.map(B=>this.convertTextChangeToCodeEdit(B,b))}return v}commentSelection(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getRange(u,p),v=f.commentSelection(d,E);if(s){const b=this.projectService.getScriptInfoForNormalizedPath(d);return v.map(B=>this.convertTextChangeToCodeEdit(B,b))}return v}uncommentSelection(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getRange(u,p),v=f.uncommentSelection(d,E);if(s){const b=this.projectService.getScriptInfoForNormalizedPath(d);return v.map(B=>this.convertTextChangeToCodeEdit(B,b))}return v}mapSelectionRange(u,s){const d={textSpan:l_(u.textSpan,s)};return u.parent&&(d.parent=this.mapSelectionRange(u.parent,s)),d}getScriptInfoFromProjectService(u){const s=Dl(u),d=this.projectService.getScriptInfoForNormalizedPath(s);return d||(this.projectService.logErrorForScriptInfoNotFound(s),v5.ThrowNoProject())}toProtocolCallHierarchyItem(u){const s=this.getScriptInfoFromProjectService(u.file);return{name:u.name,kind:u.kind,kindModifiers:u.kindModifiers,file:u.file,containerName:u.containerName,span:l_(u.span,s),selectionSpan:l_(u.selectionSpan,s)}}toProtocolCallHierarchyIncomingCall(u){const s=this.getScriptInfoFromProjectService(u.from.file);return{from:this.toProtocolCallHierarchyItem(u.from),fromSpans:u.fromSpans.map(d=>l_(d,s))}}toProtocolCallHierarchyOutgoingCall(u,s){return{to:this.toProtocolCallHierarchyItem(u.to),fromSpans:u.fromSpans.map(d=>l_(d,s))}}prepareCallHierarchy(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.projectService.getScriptInfoForNormalizedPath(s);if(f){const p=this.getPosition(u,f),E=d.getLanguageService().prepareCallHierarchy(s,p);return E&&kfe(E,v=>this.toProtocolCallHierarchyItem(v))}}provideCallHierarchyIncomingCalls(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.getScriptInfoFromProjectService(s);return d.getLanguageService().provideCallHierarchyIncomingCalls(s,this.getPosition(u,f)).map(E=>this.toProtocolCallHierarchyIncomingCall(E))}provideCallHierarchyOutgoingCalls(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.getScriptInfoFromProjectService(s);return d.getLanguageService().provideCallHierarchyOutgoingCalls(s,this.getPosition(u,f)).map(E=>this.toProtocolCallHierarchyOutgoingCall(E,f))}getCanonicalFileName(u){const s=this.host.useCaseSensitiveFileNames?u:$g(u);return $o(s)}exit(){}notRequired(){return{responseRequired:!1}}requiredResponse(u){return{response:u,responseRequired:!0}}addProtocolHandler(u,s){if(this.handlers.has(u))throw new Error(`Protocol handler already exists for command "${u}"`);this.handlers.set(u,s)}setCurrentRequest(u){H.assert(this.currentRequestId===void 0),this.currentRequestId=u,this.cancellationToken.setRequest(u)}resetCurrentRequest(u){H.assert(this.currentRequestId===u),this.currentRequestId=void 0,this.cancellationToken.resetRequest(u)}executeWithRequestId(u,s){try{return this.setCurrentRequest(u),s()}finally{this.resetCurrentRequest(u)}}executeCommand(u){const s=this.handlers.get(u.command);if(s){const d=this.executeWithRequestId(u.seq,()=>s(u));return this.projectService.enableRequestedPlugins(),d}else return this.logger.msg(`Unrecognized JSON command:${nw(u)}`,"Err"),this.doOutput(void 0,"unknown",u.seq,!1,`Unrecognized JSON command: ${u.command}`),{responseRequired:!1}}onMessage(u){var s,d,f,p,E,v,b,B,k,T,M;this.gcTimer.scheduleCollect(),this.performanceData=void 0;let z;this.logger.hasLevel(2)&&(z=this.hrtime(),this.logger.hasLevel(3)&&this.logger.info(`request:${BM(this.toStringMessage(u))}`));let j,J;try{j=this.parseMessage(u),J=j.arguments&&j.arguments.file?j.arguments:void 0,(s=Gn)==null||s.instant(Gn.Phase.Session,"request",{seq:j.seq,command:j.command}),(d=hh)==null||d.logStartCommand(""+j.command,this.toStringMessage(u).substring(0,100)),(f=Gn)==null||f.push(Gn.Phase.Session,"executeCommand",{seq:j.seq,command:j.command},!0);const{response:K,responseRequired:Y}=this.executeCommand(j);if((p=Gn)==null||p.pop(),this.logger.hasLevel(2)){const oe=WQt(this.hrtime(z)).toFixed(4);Y?this.logger.perftrc(`${j.seq}::${j.command}: elapsed time (in milliseconds) ${oe}`):this.logger.perftrc(`${j.seq}::${j.command}: async elapsed time (in milliseconds) ${oe}`)}(E=hh)==null||E.logStopCommand(""+j.command,"Success"),(v=Gn)==null||v.instant(Gn.Phase.Session,"response",{seq:j.seq,command:j.command,success:!!K}),K?this.doOutput(K,j.command,j.seq,!0):Y&&this.doOutput(void 0,j.command,j.seq,!1,"No content available.")}catch(K){if((b=Gn)==null||b.popAll(),K instanceof b8){(B=hh)==null||B.logStopCommand(""+(j&&j.command),"Canceled: "+K),(k=Gn)==null||k.instant(Gn.Phase.Session,"commandCanceled",{seq:j==null?void 0:j.seq,command:j==null?void 0:j.command}),this.doOutput({canceled:!0},j.command,j.seq,!0);return}this.logErrorWorker(K,this.toStringMessage(u),J),(T=hh)==null||T.logStopCommand(""+(j&&j.command),"Error: "+K),(M=Gn)==null||M.instant(Gn.Phase.Session,"commandError",{seq:j==null?void 0:j.seq,command:j==null?void 0:j.command,message:K.message}),this.doOutput(void 0,j?j.command:"unknown",j?j.seq:0,!1,"Error processing request. "+K.message+` -`+K.stack)}}parseMessage(u){return JSON.parse(u)}toStringMessage(u){return u}getFormatOptions(u){return this.projectService.getFormatCodeOptions(u)}getPreferences(u){return this.projectService.getPreferences(u)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}}}}),g9,_ge,Uct,qct,hte,fte,SNe,rz,E9,qK,sXt=o({"src/server/scriptVersionCache.ts"(){Xv(),_9(),g9=4,_ge=(t=>(t[t.PreStart=0]="PreStart",t[t.Start=1]="Start",t[t.Entire=2]="Entire",t[t.Mid=3]="Mid",t[t.End=4]="End",t[t.PostEnd=5]="PostEnd",t))(_ge||{}),Uct=class{constructor(){this.goSubtree=!0,this.lineIndex=new rz,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new E9,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(t,u){u&&(this.trailingText=""),t?t=this.initialText+t+this.trailingText:t=this.initialText+this.trailingText;const d=rz.linesFromText(t).lines;d.length>1&&d[d.length-1]===""&&d.pop();let f,p;for(let v=this.endBranch.length-1;v>=0;v--)this.endBranch[v].updateCounts(),this.endBranch[v].charCount()===0&&(p=this.endBranch[v],v>0?f=this.endBranch[v-1]:f=this.branchNode);p&&f.remove(p);const E=this.startPath[this.startPath.length-1];if(d.length>0)if(E.text=d[0],d.length>1){let v=new Array(d.length-1),b=E;for(let T=1;T=0;){const T=this.startPath[B];v=T.insertAt(b,v),B--,b=T}let k=v.length;for(;k>0;){const T=new E9;T.add(this.lineIndex.root),v=T.insertAt(this.lineIndex.root,v),k=v.length,this.lineIndex.root=T}this.lineIndex.root.updateCounts()}else for(let v=this.startPath.length-2;v>=0;v--)this.startPath[v].updateCounts();else{this.startPath[this.startPath.length-2].remove(E);for(let b=this.startPath.length-2;b>=0;b--)this.startPath[b].updateCounts()}return this.lineIndex}post(t,u,s){s===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(t,u,s,d,f){const p=this.stack[this.stack.length-1];this.state===2&&f===1&&(this.state=1,this.branchNode=p,this.lineCollectionAtBranch=s);let E;function v(b){return b.isLeaf()?new qK(""):new E9}switch(f){case 0:this.goSubtree=!1,this.state!==4&&p.add(s);break;case 1:this.state===4?this.goSubtree=!1:(E=v(s),p.add(E),this.startPath.push(E));break;case 2:this.state!==4?(E=v(s),p.add(E),this.startPath.push(E)):s.isLeaf()||(E=v(s),p.add(E),this.endBranch.push(E));break;case 3:this.goSubtree=!1;break;case 4:this.state!==4?this.goSubtree=!1:s.isLeaf()||(E=v(s),p.add(E),this.endBranch.push(E));break;case 5:this.goSubtree=!1,this.state!==1&&p.add(s);break}this.goSubtree&&this.stack.push(E)}leaf(t,u,s){this.state===1?this.initialText=s.text.substring(0,t):this.state===2?(this.initialText=s.text.substring(0,t),this.trailingText=s.text.substring(t+u)):this.trailingText=s.text.substring(t+u)}},qct=class{constructor(t,u,s){this.pos=t,this.deleteLen=u,this.insertedText=s}getTextChangeRange(){return OO(d1(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},hte=class OF{constructor(){this.changes=[],this.versions=new Array(OF.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(u){if(!(uthis.currentVersion))return u%OF.maxVersions}currentVersionToIndex(){return this.currentVersion%OF.maxVersions}edit(u,s,d){this.changes.push(new qct(u,s,d)),(this.changes.length>OF.changeNumberThreshold||s>OF.changeLengthThreshold||d&&d.length>OF.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let u=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let s=u.index;for(const d of this.changes)s=s.edit(d.pos,d.deleteLen,d.insertedText);u=new SNe(this.currentVersion+1,this,s,this.changes),this.currentVersion=u.version,this.versions[this.currentVersionToIndex()]=u,this.changes=[],this.currentVersion-this.minVersion>=OF.maxVersions&&(this.minVersion=this.currentVersion-OF.maxVersions+1)}return u}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(u){return this._getSnapshot().index.lineNumberToInfo(u)}lineOffsetToPosition(u,s){return this._getSnapshot().index.absolutePositionOfStartOfLine(u)+(s-1)}positionToLineOffset(u){return this._getSnapshot().index.positionToLineOffset(u)}lineToTextSpan(u){const s=this._getSnapshot().index,{lineText:d,absolutePosition:f}=s.lineNumberToInfo(u+1),p=d!==void 0?d.length:s.absolutePositionOfStartOfLine(u+2)-f;return d1(f,p)}getTextChangesBetweenVersions(u,s){if(u=this.minVersion){const d=[];for(let f=u+1;f<=s;f++){const p=this.versions[this.versionToIndex(f)];for(const E of p.changesSincePreviousVersion)d.push(E.getTextChangeRange())}return P2e(d)}else return;else return tj}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(u){const s=new OF,d=new SNe(0,s,new rz);s.versions[s.currentVersion]=d;const f=rz.linesFromText(u);return d.index.load(f.lines),s}},hte.changeNumberThreshold=8,hte.changeLengthThreshold=256,hte.maxVersions=8,fte=hte,SNe=class G6t{constructor(u,s,d,f=$c){this.version=u,this.cache=s,this.index=d,this.changesSincePreviousVersion=f}getText(u,s){return this.index.getText(u,s-u)}getLength(){return this.index.getLength()}getChangeRange(u){if(u instanceof G6t&&this.cache===u.cache)return this.version<=u.version?tj:this.cache.getTextChangesBetweenVersions(u.version,this.version)}},rz=class XOe{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(u){return this.lineNumberToInfo(u).absolutePosition}positionToLineOffset(u){const{oneBasedLine:s,zeroBasedColumn:d}=this.root.charOffsetToLineInfo(1,u);return{line:s,offset:d+1}}positionToColumnAndLineText(u){return this.root.charOffsetToLineInfo(1,u)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(u){const s=this.getLineCount();if(u<=s){const{position:d,leaf:f}=this.root.lineNumberToInfo(u,0);return{absolutePosition:d,lineText:f&&f.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(u){if(u.length>0){const s=[];for(let d=0;d0&&u{d=d.concat(E.text.substring(f,f+p))}}),d}getLength(){return this.root.charCount()}every(u,s,d){d||(d=this.root.charCount());const f={goSubtree:!0,done:!1,leaf(p,E,v){u(v,p,E)||(this.done=!0)}};return this.walk(s,d-s,f),!f.done}edit(u,s,d){if(this.root.charCount()===0)return H.assert(s===0),d!==void 0?(this.load(XOe.linesFromText(d).lines),this):void 0;{let f;if(this.checkEdits){const v=this.getText(0,this.root.charCount());f=v.slice(0,u)+d+v.slice(u+s)}const p=new Uct;let E=!1;if(u>=this.root.charCount()){u=this.root.charCount()-1;const v=this.getText(u,1);d?d=v+d:d=v,s=0,E=!0}else if(s>0){const v=u+s,{zeroBasedColumn:b,lineText:B}=this.positionToColumnAndLineText(v);b===0&&(s+=B.length,d=d?d+B:B)}if(this.root.walk(u,s,p),p.insertLines(d,E),this.checkEdits){const v=p.lineIndex.getText(0,p.lineIndex.getLength());H.assert(f===v,"buffer edit mismatch")}return p.lineIndex}}static buildTreeFromBottom(u){if(u.length0?d[f]=p:d.pop(),{lines:d,lineMap:s}}},E9=class eje{constructor(u=[]){this.children=u,this.totalChars=0,this.totalLines=0,u.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(const u of this.children)this.totalChars+=u.charCount(),this.totalLines+=u.lineCount()}execWalk(u,s,d,f,p){return d.pre&&d.pre(u,s,this.children[f],this,p),d.goSubtree?(this.children[f].walk(u,s,d),d.post&&d.post(u,s,this.children[f],this,p)):d.goSubtree=!0,d.done}skipChild(u,s,d,f,p){f.pre&&!f.done&&(f.pre(u,s,this.children[d],this,p),f.goSubtree=!0)}walk(u,s,d){let f=0,p=this.children[f].charCount(),E=u;for(;E>=p;)this.skipChild(E,s,f,d,0),E-=p,f++,p=this.children[f].charCount();if(E+s<=p){if(this.execWalk(E,s,d,f,2))return}else{if(this.execWalk(E,p-E,d,f,1))return;let v=s-(p-E);for(f++,p=this.children[f].charCount();v>p;){if(this.execWalk(0,p,d,f,3))return;v-=p,f++,p=this.children[f].charCount()}if(v>0&&this.execWalk(0,v,d,f,4))return}if(d.pre){const v=this.children.length;if(fs)return p.isLeaf()?{oneBasedLine:u,zeroBasedColumn:s,lineText:p.text}:p.charOffsetToLineInfo(u,s);s-=p.charCount(),u+=p.lineCount()}const d=this.lineCount();if(d===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};const f=H.checkDefined(this.lineNumberToInfo(d,0).leaf);return{oneBasedLine:d,zeroBasedColumn:f.charCount(),lineText:void 0}}lineNumberToInfo(u,s){for(const d of this.children){const f=d.lineCount();if(f>=u)return d.isLeaf()?{position:s,leaf:d}:d.lineNumberToInfo(u,s);u-=f,s+=d.charCount()}return{position:s,leaf:void 0}}splitAfter(u){let s;const d=this.children.length;u++;const f=u;if(u=0;M--)b[M].children.length===0&&b.pop()}E&&b.push(E),this.updateCounts();for(let k=0;kYQ,ActionPackageInstalled:()=>T9e,ActionSet:()=>ZQ,ActionWatchTypingLocations:()=>SH,Arguments:()=>mhe,AutoImportProviderProject:()=>age,AuxiliaryProject:()=>uge,CharRangeSection:()=>_ge,CloseFileWatcherEvent:()=>lte,CommandNames:()=>kNe,ConfigFileDiagEvent:()=>ute,ConfiguredProject:()=>oge,CreateDirectoryWatcherEvent:()=>ste,CreateFileWatcherEvent:()=>ote,Errors:()=>v5,EventBeginInstallTypes:()=>hhe,EventEndInstallTypes:()=>fhe,EventInitializationFailed:()=>N9e,EventTypesRegistry:()=>L9e,ExternalProject:()=>Zee,GcTimer:()=>Ype,InferredProject:()=>nge,LargeFileReferencedEvent:()=>nte,LineIndex:()=>rz,LineLeaf:()=>qK,LineNode:()=>E9,LogLevel:()=>$pe,Msg:()=>Upe,OpenFileInfoTelemetryEvent:()=>cge,Project:()=>Wk,ProjectInfoTelemetryEvent:()=>ate,ProjectKind:()=>nz,ProjectLanguageServiceStateEvent:()=>rte,ProjectLoadingFinishEvent:()=>ite,ProjectLoadingStartEvent:()=>tte,ProjectReferenceProjectLoadKind:()=>fge,ProjectService:()=>mge,ProjectsUpdatedInBackgroundEvent:()=>JK,ScriptInfo:()=>ege,ScriptVersionCache:()=>fte,Session:()=>ANe,TextStorage:()=>Xpe,ThrottledOperations:()=>Zpe,TypingsCache:()=>tge,allFilesAreJsOrDts:()=>nNe,allRootFilesAreJsOrDts:()=>iNe,asNormalizedPath:()=>Fct,convertCompilerOptions:()=>Yee,convertFormatOptions:()=>Sw,convertScriptKindName:()=>lge,convertTypeAcquisition:()=>aNe,convertUserPreferences:()=>oNe,convertWatchOptions:()=>GK,countEachFileTypes:()=>KK,createInstallTypingsRequest:()=>kct,createModuleSpecifierCache:()=>ENe,createNormalizedPathMap:()=>Act,createPackageJsonCache:()=>_Ne,createSortedArray:()=>jLe,emptyArray:()=>$c,findArgument:()=>_it,forEachResolvedProjectReferenceProject:()=>Bw,formatDiagnosticToProtocol:()=>UK,formatMessage:()=>DNe,getBaseConfigFileName:()=>qpe,getLocationInNewDocument:()=>bNe,hasArgument:()=>Eit,hasNoTypeScriptSource:()=>uNe,indent:()=>BM,isBackgroundProject:()=>WK,isConfigFile:()=>fNe,isConfiguredProject:()=>Qv,isDynamicFileName:()=>HK,isExternalProject:()=>ige,isInferredProject:()=>Aw,isInferredProjectName:()=>zLe,makeAutoImportProviderProjectName:()=>RLe,makeAuxiliaryProjectName:()=>OLe,makeInferredProjectName:()=>ILe,maxFileSize:()=>ete,maxProgramSizeForNonTsFiles:()=>Xee,normalizedPathToPath:()=>VK,nowString:()=>Dit,nullCancellationToken:()=>yNe,nullTypingsInstaller:()=>qee,projectContainsInfoDirectly:()=>p9,protocol:()=>tNe,removeSorted:()=>Sct,stringifyIndented:()=>nw,toEvent:()=>xNe,toNormalizedPath:()=>Dl,tryConvertScriptKindName:()=>sge,typingsInstaller:()=>PLe,updateProjectIfDirty:()=>Gm});var _9=o({"src/server/_namespaces/ts.server.ts"(){QQ(),MLe(),vQt(),CQt(),bQt(),yQt(),AQt(),TQt(),MQt(),VQt(),HQt(),KQt(),oXt(),sXt()}}),Yct={};h(Yct,{ANONYMOUS:()=>KX,AccessFlags:()=>Koe,AssertionLevel:()=>moe,AssignmentDeclarationKind:()=>Qoe,AssignmentKind:()=>Kle,Associativity:()=>Gle,BreakpointResolver:()=>Ime,BuilderFileEmit:()=>K1e,BuilderProgramKind:()=>W1e,BuilderState:()=>Wp,BundleFileSectionKind:()=>gse,CallHierarchy:()=>o9,CharacterCodes:()=>lse,CheckFlags:()=>Roe,CheckMode:()=>XY,ClassificationType:()=>Nhe,ClassificationTypeNames:()=>Lhe,CommentDirectiveType:()=>boe,Comparison:()=>x,CompletionInfoFlags:()=>khe,CompletionTriggerKind:()=>xhe,Completions:()=>h9,ContainerFlags:()=>Pde,ContextFlags:()=>Boe,Debug:()=>H,DiagnosticCategory:()=>vO,Diagnostics:()=>F,DocumentHighlights:()=>JX,ElementFlags:()=>Hoe,EmitFlags:()=>_U,EmitHint:()=>fse,EmitOnly:()=>koe,EndOfLineState:()=>She,EnumKind:()=>Ioe,ExitStatus:()=>Foe,ExportKind:()=>Rfe,Extension:()=>cse,ExternalEmitHelpers:()=>hse,FileIncludeKind:()=>lU,FilePreprocessingDiagnosticsKind:()=>yoe,FileSystemEntryKind:()=>Cse,FileWatcherEventKind:()=>vse,FindAllReferences:()=>Z0,FlattenLevel:()=>Xde,FlowFlags:()=>xO,ForegroundColorEscapeSequences:()=>M1e,FunctionFlags:()=>Wle,GeneratedIdentifierFlags:()=>sU,GetLiteralTextFlags:()=>jle,GoToDefinition:()=>Cw,HighlightSpanKind:()=>Che,IdentifierNameMap:()=>Y7,IdentifierNameMultiMap:()=>Qde,ImportKind:()=>Ife,ImportsNotUsedAsValues:()=>use,IndentStyle:()=>bhe,IndexFlags:()=>Woe,IndexKind:()=>$oe,InferenceFlags:()=>Zoe,InferencePriority:()=>qoe,InlayHintKind:()=>vhe,InlayHints:()=>Spe,InternalEmitFlags:()=>dse,InternalSymbolName:()=>Ooe,InvalidatedProjectKind:()=>dhe,JSDocParsingMode:()=>Dse,JsDoc:()=>Yv,JsTyping:()=>o3,JsxEmit:()=>nse,JsxFlags:()=>voe,JsxReferenceKind:()=>Goe,LanguageServiceMode:()=>Ehe,LanguageVariant:()=>ose,LexicalEnvironmentFlags:()=>pse,ListFormat:()=>Ese,LogLevel:()=>goe,MemberOverrideStatus:()=>Aoe,ModifierFlags:()=>aU,ModuleDetectionKind:()=>Xoe,ModuleInstanceState:()=>Nde,ModuleKind:()=>FN,ModuleResolutionKind:()=>y8,ModuleSpecifierEnding:()=>Qle,NavigateTo:()=>n8e,NavigationBar:()=>f8e,NewLineKind:()=>rse,NodeBuilderFlags:()=>woe,NodeCheckFlags:()=>joe,NodeFactoryFlags:()=>ace,NodeFlags:()=>rU,NodeResolutionFeatures:()=>wde,ObjectFlags:()=>fU,OperationCanceledException:()=>b8,OperatorPrecedence:()=>Jle,OrganizeImports:()=>Gp,OrganizeImportsMode:()=>Dhe,OuterExpressionKinds:()=>mse,OutliningElementsCollector:()=>Lpe,OutliningSpanKind:()=>Fhe,OutputFileType:()=>Ahe,PackageJsonAutoImportPreference:()=>ghe,PackageJsonDependencyGroup:()=>phe,PatternMatchKind:()=>$X,PollingInterval:()=>DU,PollingWatchKind:()=>ise,PragmaKindFlags:()=>_se,PrivateIdentifierKind:()=>fce,ProcessLevel:()=>n1e,ProgramUpdateLevel:()=>_1e,QuotePreference:()=>Tfe,RelationComparisonResult:()=>oU,Rename:()=>Hee,ScriptElementKind:()=>whe,ScriptElementKindModifier:()=>The,ScriptKind:()=>pU,ScriptSnapshot:()=>eX,ScriptTarget:()=>ase,SemanticClassificationFormat:()=>_he,SemanticMeaning:()=>wfe,SemicolonPreference:()=>yhe,SignatureCheckMode:()=>eQ,SignatureFlags:()=>mU,SignatureHelp:()=>NK,SignatureKind:()=>Joe,SmartSelectionRange:()=>Mpe,SnippetKind:()=>EU,SortKind:()=>foe,StructureIsReused:()=>cU,SymbolAccessibility:()=>Noe,SymbolDisplay:()=>x5,SymbolDisplayPartKind:()=>wH,SymbolFlags:()=>dU,SymbolFormatFlags:()=>Loe,SyntaxKind:()=>uU,SyntheticSymbolKind:()=>Poe,Ternary:()=>Yoe,ThrottledCancellationToken:()=>zme,TokenClass:()=>Bhe,TokenFlags:()=>Coe,TransformFlags:()=>gU,TypeFacts:()=>QY,TypeFlags:()=>hU,TypeFormatFlags:()=>Toe,TypeMapKind:()=>Uoe,TypePredicateKind:()=>Moe,TypeReferenceSerializationKind:()=>zoe,UnionReduction:()=>Soe,UpToDateStatusType:()=>ohe,VarianceFlags:()=>Voe,Version:()=>Lp,VersionRange:()=>EO,WatchDirectoryFlags:()=>sse,WatchDirectoryKind:()=>tse,WatchFileKind:()=>ese,WatchLogLevel:()=>D1e,WatchType:()=>cd,accessPrivateIdentifier:()=>ZAe,addDisposableResourceHelper:()=>eY,addEmitFlags:()=>i_,addEmitHelper:()=>S7,addEmitHelpers:()=>iD,addInternalEmitFlags:()=>F7,addNodeFactoryPatcher:()=>MYe,addObjectAllocatorPatcher:()=>Qye,addRange:()=>yn,addRelatedInfo:()=>Es,addSyntheticLeadingComment:()=>OP,addSyntheticTrailingComment:()=>AZ,addToSeen:()=>Ip,advancedAsyncSuperHelper:()=>bV,affectsDeclarationPathOptionDeclarations:()=>mde,affectsEmitOptionDeclarations:()=>fde,allKeysStartWithDot:()=>JY,altDirectorySeparator:()=>BO,and:()=>Q$,append:()=>xi,appendIfUnique:()=>e0,arrayFrom:()=>ga,arrayIsEqualTo:()=>On,arrayIsHomogeneous:()=>Eke,arrayIsSorted:()=>hi,arrayOf:()=>am,arrayReverseIterator:()=>Cd,arrayToMap:()=>lg,arrayToMultiMap:()=>mO,arrayToNumericMap:()=>noe,arraysEqual:()=>Zt,assertType:()=>gqe,assign:()=>VE,assignHelper:()=>PZ,asyncDelegator:()=>zZ,asyncGeneratorHelper:()=>MZ,asyncSuperHelper:()=>CV,asyncValues:()=>IZ,attachFileToDiagnostics:()=>v7,awaitHelper:()=>B7,awaiterHelper:()=>OZ,base64decode:()=>jye,base64encode:()=>Oye,binarySearch:()=>Kl,binarySearchKey:()=>va,bindSourceFile:()=>SAe,breakIntoCharacterSpans:()=>ZSe,breakIntoWordSpans:()=>YSe,buildLinkParts:()=>DSe,buildOpts:()=>MY,buildOverload:()=>Dct,bundlerModuleNameResolver:()=>gAe,canBeConvertedToAsync:()=>qfe,canHaveDecorators:()=>Ak,canHaveExportModifier:()=>rV,canHaveFlowNode:()=>Bj,canHaveIllegalDecorators:()=>Hce,canHaveIllegalModifiers:()=>LFe,canHaveIllegalType:()=>dQe,canHaveIllegalTypeParameters:()=>TFe,canHaveJSDoc:()=>wj,canHaveLocals:()=>UE,canHaveModifiers:()=>Hp,canHaveSymbol:()=>Zg,canJsonReportNoInputFiles:()=>aM,canProduceDiagnostics:()=>mQ,canUsePropertyAccess:()=>zle,canWatchAffectingLocation:()=>n9e,canWatchAtTypes:()=>i9e,canWatchDirectoryOrFile:()=>IQ,cartesianProduct:()=>i2e,cast:()=>Po,chainBundle:()=>Kp,chainDiagnosticMessages:()=>ro,changeAnyExtension:()=>AO,changeCompilerHostLikeToUseCache:()=>vH,changeExtension:()=>wv,changesAffectModuleResolution:()=>UU,changesAffectingProgramStructure:()=>bbe,childIsDecorated:()=>QN,classElementOrClassElementParameterIsDecorated:()=>S0e,classHasClassThisAssignment:()=>e1e,classHasDeclaredOrExplicitlyAssignedName:()=>t1e,classHasExplicitlyAssignedName:()=>dQ,classOrConstructorParameterIsDecorated:()=>t5,classPrivateFieldGetHelper:()=>YZ,classPrivateFieldInHelper:()=>XZ,classPrivateFieldSetHelper:()=>QZ,classicNameResolver:()=>yAe,classifier:()=>aBe,cleanExtendedConfigCache:()=>CQ,clear:()=>pu,clearMap:()=>rf,clearSharedExtendedConfigFileWatcher:()=>p1e,climbPastPropertyAccess:()=>iX,climbPastPropertyOrElementAccess:()=>J9e,clone:()=>uoe,cloneCompilerOptions:()=>Qhe,closeFileWatcher:()=>fg,closeFileWatcherOf:()=>jm,codefix:()=>z1,collapseTextChangeRangesAcrossMultipleVersions:()=>P2e,collectExternalModuleInfo:()=>Ude,combine:()=>vo,combinePaths:()=>cr,commentPragmas:()=>CO,commonOptionsWithBuild:()=>QV,commonPackageFolders:()=>Ule,compact:()=>Dr,compareBooleans:()=>d2,compareDataObjects:()=>gle,compareDiagnostics:()=>bP,compareDiagnosticsSkipRelatedInformation:()=>Zq,compareEmitHelpers:()=>Uke,compareNumberOfDirectorySeparators:()=>iV,comparePaths:()=>pv,comparePathsCaseInsensitive:()=>Kqe,comparePathsCaseSensitive:()=>Hqe,comparePatternKeys:()=>Sde,compareProperties:()=>QCe,compareStringsCaseInsensitive:()=>Z$,compareStringsCaseInsensitiveEslintCompatible:()=>qCe,compareStringsCaseSensitive:()=>dh,compareStringsCaseSensitiveUI:()=>pO,compareTextSpans:()=>q$,compareValues:()=>nl,compileOnSaveCommandLineOption:()=>ZV,compilerOptionsAffectDeclarationPath:()=>lke,compilerOptionsAffectEmit:()=>ske,compilerOptionsAffectSemanticDiagnostics:()=>oke,compilerOptionsDidYouMeanDiagnostics:()=>tH,compilerOptionsIndicateEsModules:()=>ufe,compose:()=>mqe,computeCommonSourceDirectoryOfFilenames:()=>P7e,computeLineAndCharacterOfPosition:()=>k8,computeLineOfPosition:()=>TN,computeLineStarts:()=>n7,computePositionOfLineAndCharacter:()=>FU,computeSignature:()=>Nk,computeSignatureWithDiagnostics:()=>O1e,computeSuggestionDiagnostics:()=>Jfe,concatenate:()=>Hi,concatenateDiagnosticMessageChains:()=>ike,consumesNodeCoreModules:()=>zX,contains:()=>kt,containsIgnoredPath:()=>TP,containsObjectRestOrSpread:()=>VV,containsParseError:()=>O8,containsPath:()=>GE,convertCompilerOptionsForTelemetry:()=>eAe,convertCompilerOptionsFromJson:()=>mXe,convertJsonOption:()=>Sk,convertToBase64:()=>Rye,convertToJson:()=>$V,convertToObject:()=>ZFe,convertToOptionsWithAbsolutePaths:()=>ode,convertToRelativePath:()=>wN,convertToTSConfig:()=>eXe,convertTypeAcquisitionFromJson:()=>pXe,copyComments:()=>Rk,copyEntries:()=>qU,copyLeadingComments:()=>cw,copyProperties:()=>roe,copyTrailingAsLeadingComments:()=>ZH,copyTrailingComments:()=>OM,couldStartTrivia:()=>y2e,countWhere:()=>ui,createAbstractBuilder:()=>ktt,createAccessorPropertyBackingField:()=>Wce,createAccessorPropertyGetRedirector:()=>jFe,createAccessorPropertySetRedirector:()=>VFe,createBaseNodeFactory:()=>Lke,createBinaryExpressionTrampoline:()=>kY,createBindingHelper:()=>xB,createBuildInfo:()=>gH,createBuilderProgram:()=>j1e,createBuilderProgramUsingProgramBuildInfo:()=>e9e,createBuilderStatusReporter:()=>E9e,createCacheWithRedirects:()=>Cde,createCacheableExportInfoMap:()=>Pfe,createCachedDirectoryStructureHost:()=>xQ,createClassNamedEvaluationHelperBlock:()=>t7e,createClassThisAssignmentBlock:()=>XAe,createClassifier:()=>Hit,createCommentDirectivesMap:()=>Bbe,createCompilerDiagnostic:()=>cc,createCompilerDiagnosticForInvalidCustomType:()=>GFe,createCompilerDiagnosticFromMessageChain:()=>qq,createCompilerHost:()=>M7e,createCompilerHostFromProgramHost:()=>nhe,createCompilerHostWorker:()=>C1e,createDetachedDiagnostic:()=>hB,createDiagnosticCollection:()=>rB,createDiagnosticForFileFromMessageChain:()=>b0e,createDiagnosticForNode:()=>Su,createDiagnosticForNodeArray:()=>H8,createDiagnosticForNodeArrayFromMessageChain:()=>sj,createDiagnosticForNodeFromMessageChain:()=>Y3,createDiagnosticForNodeInSourceFile:()=>K4,createDiagnosticForRange:()=>Vbe,createDiagnosticMessageChainFromDiagnostic:()=>jbe,createDiagnosticReporter:()=>kH,createDocumentPositionMapper:()=>WAe,createDocumentRegistry:()=>OSe,createDocumentRegistryInternal:()=>Vfe,createEmitAndSemanticDiagnosticsBuilderProgram:()=>G1e,createEmitHelperFactory:()=>$ke,createEmptyExports:()=>NV,createExpressionForJsxElement:()=>yFe,createExpressionForJsxFragment:()=>kFe,createExpressionForObjectLiteralElementLike:()=>FFe,createExpressionForPropertyName:()=>zce,createExpressionFromEntityName:()=>PV,createExternalHelpersImportDeclarationIfNeeded:()=>Oce,createFileDiagnostic:()=>Rd,createFileDiagnosticFromMessageChain:()=>nq,createForOfBindingStatement:()=>Mce,createGetCanonicalFileName:()=>L1,createGetSourceFile:()=>x1e,createGetSymbolAccessibilityDiagnosticForNode:()=>h5,createGetSymbolAccessibilityDiagnosticForNodeName:()=>k7e,createGetSymbolWalker:()=>BAe,createIncrementalCompilerHost:()=>rhe,createIncrementalProgram:()=>p9e,createInputFiles:()=>IYe,createInputFilesWithFilePaths:()=>uce,createInputFilesWithFileTexts:()=>rce,createJsxFactoryExpression:()=>Pce,createLanguageService:()=>eBe,createLanguageServiceSourceFile:()=>Eee,createMemberAccessForPropertyName:()=>Fk,createModeAwareCache:()=>U7,createModeAwareCacheKey:()=>dM,createModuleNotFoundChain:()=>o0e,createModuleResolutionCache:()=>KB,createModuleResolutionLoader:()=>A1e,createModuleResolutionLoaderUsingGlobalCache:()=>o9e,createModuleSpecifierResolutionHost:()=>Ik,createMultiMap:()=>wm,createNodeConverters:()=>Pke,createNodeFactory:()=>mV,createOptionNameMap:()=>SY,createOverload:()=>Gpe,createPackageJsonImportFilter:()=>HM,createPackageJsonInfo:()=>Cfe,createParenthesizerRules:()=>Nke,createPatternMatcher:()=>WSe,createPrependNodes:()=>N1e,createPrinter:()=>Gv,createPrinterWithDefaults:()=>f1e,createPrinterWithRemoveComments:()=>X2,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>m1e,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>EH,createProgram:()=>SQ,createProgramHost:()=>uhe,createPropertyNameNodeForIdentifierOrLiteral:()=>mZ,createQueue:()=>U$,createRange:()=>s4,createRedirectedBuilderProgram:()=>H1e,createResolutionCache:()=>$1e,createRuntimeTypeSerializer:()=>a7e,createScanner:()=>YD,createSemanticDiagnosticsBuilderProgram:()=>ytt,createSet:()=>aoe,createSolutionBuilder:()=>Vtt,createSolutionBuilderHost:()=>Ott,createSolutionBuilderWithWatch:()=>Htt,createSolutionBuilderWithWatchHost:()=>jtt,createSortedArray:()=>xt,createSourceFile:()=>KV,createSourceMapGenerator:()=>jAe,createSourceMapSource:()=>RYe,createSuperAccessVariableStatement:()=>fQ,createSymbolTable:()=>Vo,createSymlinkCache:()=>ble,createSystemWatchFunctions:()=>E2e,createTextChange:()=>VH,createTextChangeFromStartLength:()=>gX,createTextChangeRange:()=>OO,createTextRangeFromNode:()=>tfe,createTextRangeFromSpan:()=>pX,createTextSpan:()=>d1,createTextSpanFromBounds:()=>Vc,createTextSpanFromNode:()=>of,createTextSpanFromRange:()=>qx,createTextSpanFromStringLiteralLikeContent:()=>efe,createTextWriter:()=>Vj,createTokenRange:()=>fle,createTypeChecker:()=>PAe,createTypeReferenceDirectiveResolutionCache:()=>HY,createTypeReferenceResolutionLoader:()=>kQ,createUnparsedSourceFile:()=>nce,createWatchCompilerHost:()=>ztt,createWatchCompilerHostOfConfigFile:()=>h9e,createWatchCompilerHostOfFilesAndCompilerOptions:()=>f9e,createWatchFactory:()=>ihe,createWatchHost:()=>the,createWatchProgram:()=>Itt,createWatchStatusReporter:()=>s9e,createWriteFileMeasuringIO:()=>v1e,declarationNameToString:()=>b0,decodeMappings:()=>Gde,decodedTextSpanIntersectsWith:()=>RO,decorateHelper:()=>BZ,deduplicate:()=>ri,defaultIncludeSpec:()=>RY,defaultInitCompilerOptions:()=>zY,defaultMaximumTruncationLength:()=>lV,detectSortCaseSensitivity:()=>cn,diagnosticCategoryName:()=>Gy,diagnosticToString:()=>jk,directoryProbablyExists:()=>hg,directorySeparator:()=>rl,displayPart:()=>yf,displayPartsToString:()=>EK,disposeEmitNodes:()=>oce,disposeResourcesHelper:()=>tY,documentSpansEqual:()=>bX,dumpTracingLegend:()=>m2e,elementAt:()=>qD,elideNodes:()=>OFe,emitComments:()=>Aye,emitDetachedComments:()=>Sye,emitFiles:()=>EQ,emitFilesAndReportErrors:()=>VQ,emitFilesAndReportErrorsAndGetExitStatus:()=>d9e,emitModuleKindIsNonNodeESM:()=>Yq,emitNewLineBeforeLeadingCommentOfPosition:()=>Fye,emitNewLineBeforeLeadingComments:()=>yye,emitNewLineBeforeLeadingCommentsOfPosition:()=>kye,emitSkippedWithNoDiagnostics:()=>PQ,emitUsingBuildInfo:()=>w7e,emptyArray:()=>_t,emptyFileSystemEntries:()=>bZ,emptyMap:()=>iU,emptyOptions:()=>d4,emptySet:()=>u2e,endsWith:()=>sc,ensurePathIsNonModuleName:()=>h2,ensureScriptKind:()=>oZ,ensureTrailingDirectorySeparator:()=>zd,entityNameToString:()=>zf,enumerateInsertsAndDeletes:()=>eU,equalOwnProperties:()=>ZA,equateStringsCaseInsensitive:()=>QA,equateStringsCaseSensitive:()=>XA,equateValues:()=>Cx,esDecorateHelper:()=>LZ,escapeJsxAttributeString:()=>X0e,escapeLeadingUnderscores:()=>Al,escapeNonAsciiString:()=>jj,escapeSnippetText:()=>O2,escapeString:()=>Av,every:()=>ye,expandPreOrPostfixIncrementOrDecrementExpression:()=>DY,explainFiles:()=>Z1e,explainIfFileIsRedirectAndImpliedFormat:()=>Y1e,exportAssignmentIsAlias:()=>tB,exportStarHelper:()=>ZZ,expressionResultIsUnused:()=>Dke,extend:()=>$$,extendsHelper:()=>jZ,extensionFromPath:()=>y7,extensionIsTS:()=>cZ,extensionsNotSupportingExtensionlessResolution:()=>fV,externalHelpersModuleNameText:()=>Hx,factory:()=>q,fileExtensionIs:()=>Ml,fileExtensionIsOneOf:()=>jc,fileIncludeReasonToDiagnostics:()=>ehe,fileShouldUseJavaScriptRequire:()=>Bfe,filter:()=>ti,filterMutate:()=>Uu,filterSemanticDiagnostics:()=>BQ,find:()=>Le,findAncestor:()=>Tn,findBestPatternMatch:()=>coe,findChildOfKind:()=>a0,findComputedPropertyNameCacheAssignment:()=>FY,findConfigFile:()=>N7e,findContainingList:()=>oX,findDiagnosticForNode:()=>TSe,findFirstNonJsxWhitespaceToken:()=>Y9e,findIndex:()=>Ue,findLast:()=>lt,findLastIndex:()=>Ze,findListItemInfo:()=>Z9e,findMap:()=>rt,findModifier:()=>ow,findNextToken:()=>ib,findPackageJson:()=>BSe,findPackageJsons:()=>vfe,findPrecedingMatchingToken:()=>fX,findPrecedingToken:()=>td,findSuperStatementIndexPath:()=>sQ,findTokenOnLeftOfPosition:()=>cX,findUseStrictPrologue:()=>Rce,first:()=>Pn,firstDefined:()=>G,firstDefinedIterator:()=>ie,firstIterator:()=>Oa,firstOrOnly:()=>Ffe,firstOrUndefined:()=>Ki,firstOrUndefinedIterator:()=>Hn,fixupCompilerOptions:()=>Yfe,flatMap:()=>ju,flatMapIterator:()=>pa,flatMapToMutable:()=>Tr,flatten:()=>Va,flattenCommaList:()=>HFe,flattenDestructuringAssignment:()=>wk,flattenDestructuringBinding:()=>Q2,flattenDiagnosticMessageText:()=>lE,forEach:()=>L,forEachAncestor:()=>ybe,forEachAncestorDirectory:()=>Ug,forEachChild:()=>ao,forEachChildRecursively:()=>uM,forEachEmittedFile:()=>d1e,forEachEnclosingBlockScopeContainer:()=>Ibe,forEachEntry:()=>h1,forEachExternalModuleToImportFrom:()=>zfe,forEachImportClauseDeclaration:()=>Fq,forEachKey:()=>U_,forEachLeadingCommentRange:()=>NO,forEachNameInAccessChainWalkingLeft:()=>Zye,forEachPropertyAssignment:()=>J8,forEachResolvedProjectReference:()=>S1e,forEachReturnStatement:()=>y2,forEachRight:()=>O,forEachTrailingCommentRange:()=>PO,forEachTsConfigPropArray:()=>hj,forEachUnique:()=>lfe,forEachYieldExpression:()=>Kbe,forSomeAncestorDirectory:()=>rYe,formatColorAndReset:()=>eb,formatDiagnostic:()=>b1e,formatDiagnostics:()=>att,formatDiagnosticsWithColorAndContext:()=>z7e,formatGeneratedName:()=>jv,formatGeneratedNamePart:()=>RB,formatLocation:()=>y1e,formatMessage:()=>Dle,formatStringFromArgs:()=>e3,formatting:()=>dd,fullTripleSlashAMDReferencePathRegEx:()=>Hle,fullTripleSlashReferencePathRegEx:()=>Vle,generateDjb2Hash:()=>AN,generateTSConfig:()=>rXe,generatorHelper:()=>$Z,getAdjustedReferenceLocation:()=>Jhe,getAdjustedRenameLocation:()=>lX,getAliasDeclarationFromName:()=>H0e,getAllAccessorDeclarations:()=>dk,getAllDecoratorsOfClass:()=>Zde,getAllDecoratorsOfClassElement:()=>cQ,getAllJSDocTags:()=>Vse,getAllJSDocTagsOfKind:()=>_Ze,getAllKeys:()=>Bm,getAllProjectOutputs:()=>gQ,getAllSuperTypeNodes:()=>uP,getAllUnscopedEmitHelpers:()=>hce,getAllowJSCompilerOption:()=>Bv,getAllowSyntheticDefaultImports:()=>C7,getAncestor:()=>Fv,getAnyExtensionFromPath:()=>BN,getAreDeclarationMapsEnabled:()=>Xq,getAssignedExpandoInitializer:()=>l7,getAssignedName:()=>zse,getAssignedNameOfIdentifier:()=>_M,getAssignmentDeclarationKind:()=>Xl,getAssignmentDeclarationPropertyAccessKind:()=>yj,getAssignmentTargetKind:()=>f7,getAutomaticTypeDirectiveNames:()=>VY,getBaseFileName:()=>Ac,getBinaryOperatorPrecedence:()=>Oj,getBuildInfo:()=>_Q,getBuildInfoFileVersionMap:()=>V1e,getBuildInfoText:()=>B7e,getBuildOrderFromAnyBuildOrder:()=>JQ,getBuilderCreationParameters:()=>MQ,getBuilderFileEmit:()=>Ux,getCheckFlags:()=>Gl,getClassExtendsHeritageElement:()=>B2,getClassLikeDeclarationOfSymbol:()=>tD,getCombinedLocalAndExportSymbolFlags:()=>xP,getCombinedModifierFlags:()=>m2,getCombinedNodeFlags:()=>QD,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>Pse,getCommentRange:()=>nE,getCommonSourceDirectory:()=>yM,getCommonSourceDirectoryOfConfig:()=>kM,getCompilerOptionValue:()=>tZ,getCompilerOptionsDiffValue:()=>nXe,getConditions:()=>$2,getConfigFileParsingDiagnostics:()=>Lk,getConstantValue:()=>jke,getContainerFlags:()=>Lde,getContainerNode:()=>Mk,getContainingClass:()=>Yd,getContainingClassExcludingClassDecorators:()=>hq,getContainingClassStaticBlock:()=>Qbe,getContainingFunction:()=>Nm,getContainingFunctionDeclaration:()=>Ybe,getContainingFunctionOrClassStaticBlock:()=>dq,getContainingNodeArray:()=>xke,getContainingObjectLiteralElement:()=>_K,getContextualTypeFromParent:()=>SX,getContextualTypeFromParentOrAncestorTypeNode:()=>sX,getCurrentTime:()=>AH,getDeclarationDiagnostics:()=>F7e,getDeclarationEmitExtensionForPath:()=>Kj,getDeclarationEmitOutputFilePath:()=>Dye,getDeclarationEmitOutputFilePathWorker:()=>Mq,getDeclarationFromName:()=>nP,getDeclarationModifierFlagsFromSymbol:()=>l4,getDeclarationOfKind:()=>Sl,getDeclarationsOfKind:()=>vbe,getDeclaredExpandoInitializer:()=>xj,getDecorators:()=>Ax,getDefaultCompilerOptions:()=>gee,getDefaultExportInfoWorker:()=>GX,getDefaultFormatCodeSettings:()=>XQ,getDefaultLibFileName:()=>zO,getDefaultLibFilePath:()=>tBe,getDefaultLikeExportInfo:()=>WX,getDiagnosticText:()=>$Qe,getDiagnosticsWithinSpan:()=>LSe,getDirectoryPath:()=>lr,getDirectoryToWatchFailedLookupLocation:()=>J1e,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>r9e,getDocumentPositionMapper:()=>Gfe,getESModuleInterop:()=>e_,getEditsForFileRename:()=>VSe,getEffectiveBaseTypeNode:()=>Qg,getEffectiveConstraintOfTypeParameter:()=>w8,getEffectiveContainerForJSDocTemplateTag:()=>Aq,getEffectiveImplementsTypeNodes:()=>iB,getEffectiveInitializer:()=>Dj,getEffectiveJSDocHost:()=>ok,getEffectiveModifierFlags:()=>Eh,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>Lye,getEffectiveModifierFlagsNoCache:()=>Nye,getEffectiveReturnTypeNode:()=>U4,getEffectiveSetAccessorTypeAnnotationNode:()=>bye,getEffectiveTypeAnnotationNode:()=>f1,getEffectiveTypeParameterDeclarations:()=>Sx,getEffectiveTypeRoots:()=>cM,getElementOrPropertyAccessArgumentExpressionOrName:()=>kq,getElementOrPropertyAccessName:()=>Q3,getElementsOfBindingOrAssignmentPattern:()=>IB,getEmitDeclarations:()=>c4,getEmitFlags:()=>bs,getEmitHelpers:()=>SZ,getEmitModuleDetectionKind:()=>nke,getEmitModuleKind:()=>m1,getEmitModuleResolutionKind:()=>p1,getEmitScriptTarget:()=>Os,getEmitStandardClassFields:()=>ake,getEnclosingBlockScopeContainer:()=>YE,getEnclosingContainer:()=>C0e,getEncodedSemanticClassifications:()=>Ofe,getEncodedSyntacticClassifications:()=>jfe,getEndLinePosition:()=>uj,getEntityNameFromTypeNode:()=>pj,getEntrypointsFromPackageJsonInfo:()=>kde,getErrorCountForSummary:()=>OQ,getErrorSpanForNode:()=>C2,getErrorSummaryText:()=>l9e,getEscapedTextOfIdentifierOrLiteral:()=>oP,getEscapedTextOfJsxAttributeName:()=>MP,getEscapedTextOfJsxNamespacedName:()=>k7,getExpandoInitializer:()=>yv,getExportAssignmentExpression:()=>K0e,getExportInfoMap:()=>tK,getExportNeedsImportStarHelper:()=>GAe,getExpressionAssociativity:()=>q0e,getExpressionPrecedence:()=>lP,getExternalHelpersModuleName:()=>zV,getExternalModuleImportEqualsDeclarationExpression:()=>XN,getExternalModuleName:()=>Y8,getExternalModuleNameFromDeclaration:()=>Eye,getExternalModuleNameFromPath:()=>tle,getExternalModuleNameLiteral:()=>W7,getExternalModuleRequireArgument:()=>w0e,getFallbackOptions:()=>xH,getFileEmitOutput:()=>K7e,getFileMatcherPatterns:()=>aZ,getFileNamesFromConfigSpecs:()=>oM,getFileWatcherEventKind:()=>xse,getFilesInErrorForSummary:()=>jQ,getFirstConstructorWithBody:()=>X_,getFirstIdentifier:()=>hm,getFirstNonSpaceCharacterPosition:()=>bSe,getFirstProjectOutput:()=>h1e,getFixableErrorSpanExpression:()=>yfe,getFormatCodeSettingsForWriting:()=>jX,getFullWidth:()=>ij,getFunctionFlags:()=>kd,getHeritageClause:()=>Mj,getHostSignatureFromJSDoc:()=>kv,getIdentifierAutoGenerate:()=>KYe,getIdentifierGeneratedImportReference:()=>Jke,getIdentifierTypeArguments:()=>gk,getImmediatelyInvokedFunctionExpression:()=>nk,getImpliedNodeFormatForFile:()=>bH,getImpliedNodeFormatForFileWorker:()=>T1e,getImportNeedsImportDefaultHelper:()=>$de,getImportNeedsImportStarHelper:()=>aQ,getIndentSize:()=>oB,getIndentString:()=>Nq,getInferredLibraryNameResolveFrom:()=>AQ,getInitializedVariables:()=>DP,getInitializerOfBinaryExpression:()=>M0e,getInitializerOfBindingOrAssignmentElement:()=>RV,getInterfaceBaseTypeNodes:()=>rP,getInternalEmitFlags:()=>Pp,getInvokedExpression:()=>pq,getIsolatedModules:()=>mg,getJSDocAugmentsTag:()=>K2e,getJSDocClassTag:()=>Ise,getJSDocCommentRanges:()=>k0e,getJSDocCommentsAndTags:()=>I0e,getJSDocDeprecatedTag:()=>Rse,getJSDocDeprecatedTagNoCache:()=>Z2e,getJSDocEnumTag:()=>Ose,getJSDocHost:()=>h7,getJSDocImplementsTags:()=>W2e,getJSDocOverrideTagNoCache:()=>q2e,getJSDocParameterTags:()=>B8,getJSDocParameterTagsNoCache:()=>O2e,getJSDocPrivateTag:()=>fZe,getJSDocPrivateTagNoCache:()=>J2e,getJSDocProtectedTag:()=>mZe,getJSDocProtectedTagNoCache:()=>$2e,getJSDocPublicTag:()=>hZe,getJSDocPublicTagNoCache:()=>G2e,getJSDocReadonlyTag:()=>pZe,getJSDocReadonlyTagNoCache:()=>U2e,getJSDocReturnTag:()=>Y2e,getJSDocReturnType:()=>VO,getJSDocRoot:()=>iP,getJSDocSatisfiesExpressionType:()=>Rle,getJSDocSatisfiesTag:()=>jse,getJSDocTags:()=>Cv,getJSDocTagsNoCache:()=>EZe,getJSDocTemplateTag:()=>gZe,getJSDocThisTag:()=>LU,getJSDocType:()=>vv,getJSDocTypeAliasName:()=>Vce,getJSDocTypeAssertionType:()=>vY,getJSDocTypeParameterDeclarations:()=>Oq,getJSDocTypeParameterTags:()=>j2e,getJSDocTypeParameterTagsNoCache:()=>V2e,getJSDocTypeTag:()=>xv,getJSXImplicitImportBase:()=>nZ,getJSXRuntimeImport:()=>uZ,getJSXTransformEnabled:()=>iZ,getKeyForCompilerOptions:()=>vde,getLanguageVariant:()=>Yj,getLastChild:()=>Ele,getLeadingCommentRanges:()=>W_,getLeadingCommentRangesOfNode:()=>y0e,getLeftmostAccessExpression:()=>CP,getLeftmostExpression:()=>dB,getLibraryNameFromLibFileName:()=>B1e,getLineAndCharacterOfPosition:()=>s0,getLineInfo:()=>Kde,getLineOfLocalPosition:()=>dP,getLineOfLocalPositionFromLineMap:()=>lk,getLineStartPositionForPosition:()=>tp,getLineStarts:()=>$3,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Gye,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>Wye,getLinesBetweenPositions:()=>LN,getLinesBetweenRangeEndAndRangeStart:()=>mle,getLinesBetweenRangeEndPositions:()=>nYe,getLiteralText:()=>wbe,getLocalNameForExternalImport:()=>zB,getLocalSymbolForExportDefault:()=>lB,getLocaleSpecificMessage:()=>to,getLocaleTimeString:()=>FH,getMappedContextSpan:()=>cfe,getMappedDocumentSpan:()=>yX,getMappedLocation:()=>zM,getMatchedFileSpec:()=>Q1e,getMatchedIncludeSpec:()=>X1e,getMeaningFromDeclaration:()=>TH,getMeaningFromLocation:()=>Pk,getMembersOfDeclaration:()=>Wbe,getModeForFileReference:()=>yQ,getModeForResolutionAtIndex:()=>k1e,getModeForUsageLocation:()=>xg,getModifiedTime:()=>e7,getModifiers:()=>p2,getModuleInstanceState:()=>oD,getModuleNameStringLiteralAt:()=>TQ,getModuleSpecifierEndingPreference:()=>Sle,getModuleSpecifierResolverHost:()=>rfe,getNameForExportedSymbol:()=>IX,getNameFromIndexInfo:()=>Rbe,getNameFromPropertyName:()=>WH,getNameOfAccessExpression:()=>Uye,getNameOfCompilerOptionValue:()=>rde,getNameOfDeclaration:()=>Za,getNameOfExpando:()=>N0e,getNameOfJSDocTypedef:()=>R2e,getNameOrArgument:()=>bj,getNameTable:()=>Tme,getNamesForExportedSymbol:()=>NSe,getNamespaceDeclarationNode:()=>Q8,getNewLineCharacter:()=>a5,getNewLineKind:()=>eK,getNewLineOrDefaultFromHost:()=>E5,getNewTargetContainer:()=>eye,getNextJSDocCommentLocation:()=>R0e,getNodeForGeneratedName:()=>jV,getNodeId:()=>$s,getNodeKind:()=>tb,getNodeModifiers:()=>NM,getNodeModulePathParts:()=>pZ,getNonAssignedNameOfDeclaration:()=>TU,getNonAssignmentOperatorForCompoundAssignment:()=>pM,getNonAugmentationDeclaration:()=>g0e,getNonDecoratorTokenPosOfNode:()=>d0e,getNormalizedAbsolutePath:()=>$a,getNormalizedAbsolutePathWithoutRoot:()=>Fse,getNormalizedPathComponents:()=>FO,getObjectFlags:()=>Gu,getOperator:()=>Y0e,getOperatorAssociativity:()=>Z0e,getOperatorPrecedence:()=>Rj,getOptionFromName:()=>ede,getOptionsForLibraryResolution:()=>bde,getOptionsNameMap:()=>jB,getOrCreateEmitNode:()=>P1,getOrCreateExternalHelpersModuleNameIfNeeded:()=>wFe,getOrUpdate:()=>W0,getOriginalNode:()=>Wl,getOriginalNodeId:()=>M1,getOriginalSourceFile:()=>$Ze,getOutputDeclarationFileName:()=>bM,getOutputExtension:()=>pQ,getOutputFileNames:()=>ntt,getOutputPathsFor:()=>CM,getOutputPathsForBundle:()=>vM,getOwnEmitOutputFilePath:()=>_ye,getOwnKeys:()=>Ns,getOwnValues:()=>U1,getPackageJsonInfo:()=>U2,getPackageJsonTypesVersionsPaths:()=>jY,getPackageJsonsVisibleToFile:()=>wSe,getPackageNameFromTypesPackageName:()=>hM,getPackageScopeForPath:()=>aH,getParameterSymbolFromJSDoc:()=>Tj,getParameterTypeNode:()=>gYe,getParentNodeInSpan:()=>JH,getParseTreeNode:()=>Ua,getParsedCommandLineOfConfigFile:()=>GV,getPathComponents:()=>yd,getPathComponentsRelativeTo:()=>Sse,getPathFromPathComponents:()=>yx,getPathUpdater:()=>Kfe,getPathsBasePath:()=>zq,getPatternFromSpec:()=>Fle,getPendingEmitKind:()=>XB,getPositionOfLineAndCharacter:()=>TO,getPossibleGenericSignatures:()=>Uhe,getPossibleOriginalInputExtensionForExtension:()=>xye,getPossibleTypeArgumentsInfo:()=>qhe,getPreEmitDiagnostics:()=>rtt,getPrecedingNonSpaceCharacterPosition:()=>FX,getPrivateIdentifier:()=>Yde,getProperties:()=>qde,getProperty:()=>uo,getPropertyArrayElementValue:()=>Zbe,getPropertyAssignmentAliasLikeExpression:()=>fye,getPropertyNameForPropertyNameNode:()=>sk,getPropertyNameForUniqueESSymbol:()=>GZe,getPropertyNameFromType:()=>Q4,getPropertyNameOfBindingOrAssignmentElement:()=>jce,getPropertySymbolFromBindingElement:()=>CX,getPropertySymbolsFromContextualType:()=>_ee,getQuoteFromPreference:()=>ofe,getQuotePreference:()=>Hm,getRangesWhere:()=>eu,getRefactorContextSpan:()=>u9,getReferencedFileLocation:()=>FM,getRegexFromPattern:()=>jx,getRegularExpressionForWildcard:()=>yP,getRegularExpressionsForWildcards:()=>rZ,getRelativePathFromDirectory:()=>JE,getRelativePathFromFile:()=>SO,getRelativePathToDirectoryOrUrl:()=>i7,getRenameLocation:()=>qH,getReplacementSpanForContextToken:()=>Xhe,getResolutionDiagnostic:()=>P1e,getResolutionModeOverride:()=>qB,getResolveJsonModule:()=>M2,getResolvePackageJsonExports:()=>vle,getResolvePackageJsonImports:()=>cYe,getResolvedExternalModuleName:()=>Pq,getRestIndicatorOfBindingOrAssignmentElement:()=>bY,getRestParameterElementType:()=>F0e,getRightMostAssignedExpression:()=>vj,getRootDeclaration:()=>XE,getRootDirectoryOfResolutionCache:()=>a9e,getRootLength:()=>WE,getRootPathSplitLength:()=>Btt,getScriptKind:()=>pfe,getScriptKindFromFileName:()=>sZ,getScriptTargetFeatures:()=>xZ,getSelectedEffectiveModifierFlags:()=>E7,getSelectedSyntacticModifierFlags:()=>wye,getSemanticClassifications:()=>ISe,getSemanticJsxChildren:()=>uB,getSetAccessorTypeAnnotationNode:()=>vye,getSetAccessorValueParameter:()=>hP,getSetExternalModuleIndicator:()=>Qj,getShebang:()=>SU,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>z0e,getSingleVariableOfVariableStatement:()=>eB,getSnapshotText:()=>aw,getSnippetElement:()=>sce,getSourceFileOfModule:()=>YU,getSourceFileOfNode:()=>zn,getSourceFilePathInNewDir:()=>Iq,getSourceFilePathInNewDirWorker:()=>Rq,getSourceFileVersionAsHashFromText:()=>HQ,getSourceFilesToEmit:()=>ile,getSourceMapRange:()=>Lv,getSourceMapper:()=>XSe,getSourceTextOfNodeFromSourceFile:()=>x2,getSpanOfTokenAtPosition:()=>QE,getSpellingSuggestion:()=>bN,getStartPositionOfLine:()=>Mx,getStartPositionOfRange:()=>_P,getStartsOnNewLine:()=>RP,getStaticPropertiesAndClassStaticBlock:()=>lQ,getStrictOptionValue:()=>Z4,getStringComparer:()=>CN,getSuperCallFromStatement:()=>oQ,getSuperContainer:()=>fj,getSupportedCodeFixes:()=>Bme,getSupportedExtensions:()=>kP,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>tV,getSwitchedType:()=>Dfe,getSymbolId:()=>Zo,getSymbolNameForPrivateIdentifier:()=>zj,getSymbolTarget:()=>vSe,getSyntacticClassifications:()=>RSe,getSyntacticModifierFlags:()=>Rx,getSyntacticModifierFlagsNoCache:()=>ale,getSynthesizedDeepClone:()=>ll,getSynthesizedDeepCloneWithReplacements:()=>UH,getSynthesizedDeepClones:()=>nb,getSynthesizedDeepClonesWithReplacements:()=>gfe,getSyntheticLeadingComments:()=>DB,getSyntheticTrailingComments:()=>DV,getTargetLabel:()=>nX,getTargetOfBindingOrAssignmentElement:()=>$x,getTemporaryModuleResolutionState:()=>rH,getTextOfConstantValue:()=>Tbe,getTextOfIdentifierOrLiteral:()=>J4,getTextOfJSDocComment:()=>KO,getTextOfJsxAttributeName:()=>sV,getTextOfJsxNamespacedName:()=>zP,getTextOfNode:()=>Hc,getTextOfNodeFromSourceText:()=>JN,getTextOfPropertyName:()=>V8,getThisContainer:()=>tf,getThisParameter:()=>T2,getTokenAtPosition:()=>Ca,getTokenPosOfNode:()=>ek,getTokenSourceMapRange:()=>VYe,getTouchingPropertyName:()=>af,getTouchingToken:()=>LM,getTrailingCommentRanges:()=>gv,getTrailingSemicolonDeferringWriter:()=>ele,getTransformFlagsSubtreeExclusions:()=>Mke,getTransformers:()=>l1e,getTsBuildInfoEmitOutputFilePath:()=>f5,getTsConfigObjectLiteralExpression:()=>ZN,getTsConfigPropArrayElementValue:()=>cq,getTypeAnnotationNode:()=>Cye,getTypeArgumentOrTypeParameterList:()=>rSe,getTypeKeywordOfTypeOnlyImport:()=>sfe,getTypeNode:()=>Wke,getTypeNodeIfAccessible:()=>VM,getTypeParameterFromJsDoc:()=>oye,getTypeParameterOwner:()=>oZe,getTypesPackageName:()=>$Y,getUILocale:()=>ZCe,getUniqueName:()=>Ok,getUniqueSymbolId:()=>CSe,getUseDefineForClassFields:()=>eV,getWatchErrorSummaryDiagnosticMessage:()=>U1e,getWatchFactory:()=>E1e,group:()=>vN,groupBy:()=>JCe,guessIndentation:()=>Dbe,handleNoEmitOptions:()=>L1e,hasAbstractModifier:()=>P2,hasAccessorModifier:()=>eE,hasAmbientModifier:()=>rle,hasChangesInResolutions:()=>s0e,hasChildOfKind:()=>RH,hasContextSensitiveParameters:()=>fZ,hasDecorators:()=>o4,hasDocComment:()=>nSe,hasDynamicName:()=>Ix,hasEffectiveModifier:()=>Rf,hasEffectiveModifiers:()=>jq,hasEffectiveReadonlyModifier:()=>fP,hasExtension:()=>t7,hasIndexSignature:()=>_fe,hasInitializer:()=>Nx,hasInvalidEscape:()=>Q0e,hasJSDocNodes:()=>lm,hasJSDocParameterTags:()=>H2e,hasJSFileExtension:()=>z2,hasJsonModuleEmitEnabled:()=>Qq,hasOnlyExpressionInitializer:()=>Qy,hasOverrideModifier:()=>Vq,hasPossibleExternalModuleReference:()=>zbe,hasProperty:()=>gu,hasPropertyAccessExpressionWithName:()=>NH,hasQuestionToken:()=>d7,hasRecordedExternalHelpers:()=>BFe,hasResolutionModeOverride:()=>kke,hasRestParameter:()=>u0e,hasScopeMarker:()=>dbe,hasStaticModifier:()=>Kc,hasSyntacticModifier:()=>Yu,hasSyntacticModifiers:()=>Bye,hasTSFileExtension:()=>mk,hasTabstop:()=>Cke,hasTrailingDirectorySeparator:()=>ZD,hasType:()=>JU,hasTypeArguments:()=>jZe,hasZeroOrOneAsteriskCharacter:()=>Cle,helperString:()=>dce,hostGetCanonicalFileName:()=>n5,hostUsesCaseSensitiveFileNames:()=>Hj,idText:()=>fu,identifierIsThisKeyword:()=>ule,identifierToKeywordKind:()=>Dv,identity:()=>il,identitySourceMapConsumer:()=>rQ,ignoreSourceNewlines:()=>cce,ignoredPaths:()=>kO,importDefaultHelper:()=>qZ,importFromModuleSpecifier:()=>tP,importNameElisionDisabled:()=>xle,importStarHelper:()=>vV,indexOfAnyCharCode:()=>jt,indexOfNode:()=>j8,indicesOf:()=>$r,inferredTypesContainingFile:()=>QB,injectClassNamedEvaluationHelperBlockIfMissing:()=>hQ,injectClassThisAssignmentIfMissing:()=>e7e,insertImports:()=>MM,insertLeadingStatement:()=>oQe,insertSorted:()=>Tt,insertStatementAfterCustomPrologue:()=>Xy,insertStatementAfterStandardPrologue:()=>wZe,insertStatementsAfterCustomPrologue:()=>l0e,insertStatementsAfterStandardPrologue:()=>ZE,intersperse:()=>_e,intrinsicTagNameToString:()=>Ole,introducesArgumentsExoticObject:()=>Ube,inverseJsxOptionMap:()=>sM,isAbstractConstructorSymbol:()=>Jye,isAbstractModifier:()=>tFe,isAccessExpression:()=>I0,isAccessibilityModifier:()=>Yhe,isAccessor:()=>wx,isAccessorModifier:()=>nFe,isAliasSymbolDeclaration:()=>HZe,isAliasableExpression:()=>Pj,isAmbientModule:()=>N1,isAmbientPropertyDeclaration:()=>_0e,isAnonymousFunctionDefinition:()=>sP,isAnyDirectorySeparator:()=>bse,isAnyImportOrBareOrAccessedRequire:()=>Mbe,isAnyImportOrReExport:()=>aj,isAnyImportSyntax:()=>tk,isAnySupportedFileExtension:()=>pYe,isApplicableVersionedTypesKey:()=>sH,isArgumentExpressionOfElementAccess:()=>jhe,isArray:()=>Ha,isArrayBindingElement:()=>jU,isArrayBindingOrAssignmentElement:()=>ZO,isArrayBindingOrAssignmentPattern:()=>Qse,isArrayBindingPattern:()=>_k,isArrayLiteralExpression:()=>Dh,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>p5,isArrayTypeNode:()=>oY,isArrowFunction:()=>q0,isAsExpression:()=>AV,isAssertClause:()=>dFe,isAssertEntry:()=>XYe,isAssertionExpression:()=>Yy,isAssertsKeyword:()=>Xke,isAssignmentDeclaration:()=>eP,isAssignmentExpression:()=>ld,isAssignmentOperator:()=>u5,isAssignmentPattern:()=>KN,isAssignmentTarget:()=>Q_,isAsteriskToken:()=>yV,isAsyncFunction:()=>aP,isAsyncModifier:()=>VP,isAutoAccessorPropertyDeclaration:()=>ef,isAwaitExpression:()=>Gx,isAwaitKeyword:()=>_ce,isBigIntLiteral:()=>iY,isBinaryExpression:()=>Xn,isBinaryOperatorToken:()=>RFe,isBindableObjectDefinePropertyCall:()=>rk,isBindableStaticAccessExpression:()=>A2,isBindableStaticElementAccessExpression:()=>yq,isBindableStaticNameExpression:()=>ak,isBindingElement:()=>js,isBindingElementOfBareOrAccessedRequire:()=>nye,isBindingName:()=>qy,isBindingOrAssignmentElement:()=>rbe,isBindingOrAssignmentPattern:()=>UO,isBindingPattern:()=>So,isBlock:()=>po,isBlockOrCatchScoped:()=>h0e,isBlockScope:()=>D0e,isBlockScopedContainerTopLevel:()=>Pbe,isBooleanLiteral:()=>HN,isBreakOrContinueStatement:()=>ON,isBreakStatement:()=>ZYe,isBuildInfoFile:()=>S7e,isBuilderProgram:()=>c9e,isBundle:()=>kce,isBundleFileTextLike:()=>qye,isCallChain:()=>$y,isCallExpression:()=>Mo,isCallExpressionTarget:()=>Phe,isCallLikeExpression:()=>D2,isCallLikeOrFunctionLikeExpression:()=>Xse,isCallOrNewExpression:()=>$E,isCallOrNewExpressionTarget:()=>Mhe,isCallSignatureDeclaration:()=>CB,isCallToHelper:()=>jP,isCaseBlock:()=>ZP,isCaseClause:()=>BB,isCaseKeyword:()=>uFe,isCaseOrDefaultClause:()=>WU,isCatchClause:()=>G2,isCatchClauseVariableDeclaration:()=>vke,isCatchClauseVariableDeclarationOrBindingElement:()=>f0e,isCheckJsEnabledForFile:()=>uV,isChildOfNodeWithKind:()=>TZe,isCircularBuildOrder:()=>e9,isClassDeclaration:()=>Wc,isClassElement:()=>Zd,isClassExpression:()=>Xd,isClassInstanceProperty:()=>ibe,isClassLike:()=>mr,isClassMemberModifier:()=>qse,isClassNamedEvaluationHelperBlock:()=>X7,isClassOrTypeElement:()=>OU,isClassStaticBlockDeclaration:()=>zl,isClassThisAssignmentBlock:()=>EM,isCollapsedRange:()=>iYe,isColonToken:()=>Yke,isCommaExpression:()=>MV,isCommaListExpression:()=>UP,isCommaSequence:()=>eM,isCommaToken:()=>Zke,isComment:()=>mX,isCommonJsExportPropertyAssignment:()=>sq,isCommonJsExportedExpression:()=>Jbe,isCompoundAssignment:()=>mM,isComputedNonLiteralName:()=>oj,isComputedPropertyName:()=>Ps,isConciseBody:()=>HU,isConditionalExpression:()=>SB,isConditionalTypeNode:()=>FB,isConstTypeReference:()=>q3,isConstructSignatureDeclaration:()=>FV,isConstructorDeclaration:()=>hc,isConstructorTypeNode:()=>WP,isContextualKeyword:()=>Bq,isContinueStatement:()=>qYe,isCustomPrologue:()=>dj,isDebuggerStatement:()=>YYe,isDeclaration:()=>Q1,isDeclarationBindingElement:()=>$O,isDeclarationFileName:()=>e1,isDeclarationName:()=>X3,isDeclarationNameOfEnumOrNamespace:()=>ple,isDeclarationReadonly:()=>uq,isDeclarationStatement:()=>pbe,isDeclarationWithTypeParameterChildren:()=>v0e,isDeclarationWithTypeParameters:()=>x0e,isDecorator:()=>g1,isDecoratorTarget:()=>W9e,isDefaultClause:()=>TV,isDefaultImport:()=>c7,isDefaultModifier:()=>rY,isDefaultedExpandoInitializer:()=>uye,isDeleteExpression:()=>oFe,isDeleteTarget:()=>V0e,isDeprecatedDeclaration:()=>RX,isDestructuringAssignment:()=>r5,isDiagnosticWithLocation:()=>bfe,isDiskPathRoot:()=>yse,isDoStatement:()=>$Ye,isDocumentRegistryEntry:()=>iK,isDotDotDotToken:()=>nY,isDottedName:()=>pP,isDynamicName:()=>Lq,isESSymbolIdentifier:()=>JZe,isEffectiveExternalModule:()=>s7,isEffectiveModuleDeclaration:()=>Nbe,isEffectiveStrictModeSourceFile:()=>E0e,isElementAccessChain:()=>Hse,isElementAccessExpression:()=>U0,isEmittedFileOfProgram:()=>L7e,isEmptyArrayLiteral:()=>Iye,isEmptyBindingElement:()=>z2e,isEmptyBindingPattern:()=>M2e,isEmptyObjectLiteral:()=>dle,isEmptyStatement:()=>Cce,isEmptyStringLiteral:()=>B0e,isEntityName:()=>sm,isEntityNameExpression:()=>ec,isEnumConst:()=>b2,isEnumDeclaration:()=>Iv,isEnumMember:()=>J2,isEqualityOperatorKind:()=>BX,isEqualsGreaterThanToken:()=>Qke,isExclamationToken:()=>kV,isExcludedFile:()=>QFe,isExclusivelyTypeOnlyImportOrExport:()=>F1e,isExpandoPropertyDeclaration:()=>EZ,isExportAssignment:()=>tc,isExportDeclaration:()=>Gc,isExportModifier:()=>L7,isExportName:()=>xY,isExportNamespaceAsDefaultDeclaration:()=>eq,isExportOrDefaultModifier:()=>OV,isExportSpecifier:()=>eh,isExportsIdentifier:()=>uk,isExportsOrModuleExportsOrAlias:()=>q2,isExpression:()=>Wt,isExpressionNode:()=>Z_,isExpressionOfExternalModuleImportEqualsDeclaration:()=>U9e,isExpressionOfOptionalChainRoot:()=>MU,isExpressionStatement:()=>Od,isExpressionWithTypeArguments:()=>c5,isExpressionWithTypeArgumentsInClassExtendsClause:()=>Jj,isExternalModule:()=>wc,isExternalModuleAugmentation:()=>v2,isExternalModuleImportEqualsDeclaration:()=>bv,isExternalModuleIndicator:()=>YO,isExternalModuleNameRelative:()=>Id,isExternalModuleReference:()=>r_,isExternalModuleSymbol:()=>HH,isExternalOrCommonJsModule:()=>cm,isFileLevelReservedGeneratedIdentifier:()=>JO,isFileLevelUniqueName:()=>QU,isFileProbablyExternalModule:()=>HV,isFirstDeclarationOfSymbolParameter:()=>dfe,isFixablePromiseHandler:()=>Ufe,isForInOrOfStatement:()=>M8,isForInStatement:()=>hY,isForInitializer:()=>a4,isForOfStatement:()=>SV,isForStatement:()=>vk,isFunctionBlock:()=>k2,isFunctionBody:()=>t0e,isFunctionDeclaration:()=>ed,isFunctionExpression:()=>A0,isFunctionExpressionOrArrowFunction:()=>R2,isFunctionLike:()=>Co,isFunctionLikeDeclaration:()=>$0,isFunctionLikeKind:()=>a7,isFunctionLikeOrClassStaticBlockDeclaration:()=>L8,isFunctionOrConstructorTypeNode:()=>ube,isFunctionOrModuleBlock:()=>Zse,isFunctionSymbol:()=>aye,isFunctionTypeNode:()=>u3,isFutureReservedKeyword:()=>KZe,isGeneratedIdentifier:()=>al,isGeneratedPrivateIdentifier:()=>Uy,isGetAccessor:()=>Lx,isGetAccessorDeclaration:()=>zm,isGetOrSetAccessorDeclaration:()=>NU,isGlobalDeclaration:()=>Iit,isGlobalScopeAugmentation:()=>Yg,isGrammarError:()=>Sbe,isHeritageClause:()=>mm,isHoistedFunction:()=>aq,isHoistedVariableStatement:()=>oq,isIdentifier:()=>at,isIdentifierANonContextualKeyword:()=>wq,isIdentifierName:()=>hye,isIdentifierOrThisTypeNode:()=>PFe,isIdentifierPart:()=>Ev,isIdentifierStart:()=>G_,isIdentifierText:()=>Lm,isIdentifierTypePredicate:()=>qbe,isIdentifierTypeReference:()=>gke,isIfStatement:()=>xk,isIgnoredFileFromWildCardWatching:()=>DH,isImplicitGlob:()=>kle,isImportAttribute:()=>hFe,isImportAttributeName:()=>tbe,isImportAttributes:()=>fY,isImportCall:()=>dm,isImportClause:()=>n_,isImportDeclaration:()=>Sd,isImportEqualsDeclaration:()=>E1,isImportKeyword:()=>KP,isImportMeta:()=>W8,isImportOrExportSpecifier:()=>r7,isImportOrExportSpecifierName:()=>xSe,isImportSpecifier:()=>bf,isImportTypeAssertionContainer:()=>QYe,isImportTypeNode:()=>nD,isImportableFile:()=>Mfe,isInComment:()=>m5,isInCompoundLikeAssignment:()=>O0e,isInExpressionContext:()=>Eq,isInJSDoc:()=>Ej,isInJSFile:()=>Qn,isInJSXText:()=>tSe,isInJsonFile:()=>Dq,isInNonReferenceComment:()=>sSe,isInReferenceComment:()=>oSe,isInRightSideOfInternalImportEqualsDeclaration:()=>tX,isInString:()=>zk,isInTemplateString:()=>$he,isInTopLevelContext:()=>fq,isInTypeQuery:()=>ck,isIncrementalCompilation:()=>Xj,isIndexSignatureDeclaration:()=>Ek,isIndexedAccessTypeNode:()=>I7,isInferTypeNode:()=>P7,isInfinityOrNaNString:()=>LP,isInitializedProperty:()=>fH,isInitializedVariable:()=>Zj,isInsideJsxElement:()=>hX,isInsideJsxElementOrAttribute:()=>eSe,isInsideNodeModules:()=>XH,isInsideTemplateLiteral:()=>jH,isInstanceOfExpression:()=>Hq,isInstantiatedModule:()=>Rde,isInterfaceDeclaration:()=>xh,isInternalDeclaration:()=>o1e,isInternalModuleImportEqualsDeclaration:()=>U8,isInternalName:()=>Ice,isIntersectionTypeNode:()=>kB,isIntrinsicJsxName:()=>aB,isIterationStatement:()=>Tx,isJSDoc:()=>Vp,isJSDocAllType:()=>EFe,isJSDocAugmentsTag:()=>LB,isJSDocAuthorTag:()=>nQe,isJSDocCallbackTag:()=>Ace,isJSDocClassTag:()=>DFe,isJSDocCommentContainingNode:()=>GU,isJSDocConstructSignature:()=>X8,isJSDocDeprecatedTag:()=>Lce,isJSDocEnumTag:()=>LV,isJSDocFunctionType:()=>TB,isJSDocImplementsTag:()=>Nce,isJSDocIndexSignature:()=>xq,isJSDocLikeText:()=>Jce,isJSDocLink:()=>pFe,isJSDocLinkCode:()=>gFe,isJSDocLinkLike:()=>o7,isJSDocLinkPlain:()=>tQe,isJSDocMemberName:()=>Rv,isJSDocNameReference:()=>QP,isJSDocNamepathType:()=>iQe,isJSDocNamespaceBody:()=>kZe,isJSDocNode:()=>z8,isJSDocNonNullableType:()=>mY,isJSDocNullableType:()=>wB,isJSDocOptionalParameter:()=>oV,isJSDocOptionalType:()=>Fce,isJSDocOverloadTag:()=>NB,isJSDocOverrideTag:()=>gY,isJSDocParameterTag:()=>Eg,isJSDocPrivateTag:()=>Bce,isJSDocPropertyLikeTag:()=>WO,isJSDocPropertyTag:()=>vFe,isJSDocProtectedTag:()=>wce,isJSDocPublicTag:()=>Sce,isJSDocReadonlyTag:()=>Tce,isJSDocReturnTag:()=>EY,isJSDocSatisfiesExpression:()=>Ile,isJSDocSatisfiesTag:()=>_Y,isJSDocSeeTag:()=>uQe,isJSDocSignature:()=>Ov,isJSDocTag:()=>I8,isJSDocTemplateTag:()=>_g,isJSDocThisTag:()=>xFe,isJSDocThrowsTag:()=>aQe,isJSDocTypeAlias:()=>G4,isJSDocTypeAssertion:()=>tM,isJSDocTypeExpression:()=>kk,isJSDocTypeLiteral:()=>K7,isJSDocTypeTag:()=>XP,isJSDocTypedefTag:()=>PB,isJSDocUnknownTag:()=>rQe,isJSDocUnknownType:()=>_Fe,isJSDocVariadicType:()=>pY,isJSXTagName:()=>$8,isJsonEqual:()=>dZ,isJsonSourceFile:()=>W4,isJsxAttribute:()=>oE,isJsxAttributeLike:()=>KU,isJsxAttributeName:()=>yke,isJsxAttributes:()=>W2,isJsxChild:()=>ej,isJsxClosingElement:()=>H2,isJsxClosingFragment:()=>fFe,isJsxElement:()=>r3,isJsxExpression:()=>YP,isJsxFragment:()=>K2,isJsxNamespacedName:()=>gg,isJsxOpeningElement:()=>aE,isJsxOpeningFragment:()=>V7,isJsxOpeningLikeElement:()=>zh,isJsxOpeningLikeElementTagName:()=>G9e,isJsxSelfClosingElement:()=>bk,isJsxSpreadAttribute:()=>H7,isJsxTagNameExpression:()=>WN,isJsxText:()=>w7,isJumpStatementTarget:()=>PH,isKeyword:()=>uf,isKeywordOrPunctuation:()=>Sq,isKnownSymbol:()=>Ij,isLabelName:()=>Rhe,isLabelOfLabeledStatement:()=>Ihe,isLabeledStatement:()=>V2,isLateVisibilityPaintedStatement:()=>iq,isLeftHandSideExpression:()=>Df,isLeftHandSideOfAssignment:()=>tYe,isLet:()=>rq,isLineBreak:()=>Z1,isLiteralComputedPropertyDeclarationName:()=>Nj,isLiteralExpression:()=>E2,isLiteralExpressionOfObject:()=>$se,isLiteralImportTypeNode:()=>zx,isLiteralKind:()=>jN,isLiteralLikeAccess:()=>bq,isLiteralLikeElementAccess:()=>Cj,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>uX,isLiteralTypeLikeExpression:()=>hQe,isLiteralTypeLiteral:()=>lbe,isLiteralTypeNode:()=>Mv,isLocalName:()=>rD,isLogicalOperator:()=>Pye,isLogicalOrCoalescingAssignmentExpression:()=>ole,isLogicalOrCoalescingAssignmentOperator:()=>mP,isLogicalOrCoalescingBinaryExpression:()=>Gj,isLogicalOrCoalescingBinaryOperator:()=>Wj,isMappedTypeNode:()=>JP,isMemberName:()=>J_,isMetaProperty:()=>$P,isMethodDeclaration:()=>dc,isMethodOrAccessor:()=>N8,isMethodSignature:()=>n3,isMinusToken:()=>Ece,isMissingDeclaration:()=>eQe,isModifier:()=>Qo,isModifierKind:()=>XD,isModifierLike:()=>ol,isModuleAugmentationExternal:()=>p0e,isModuleBlock:()=>rE,isModuleBody:()=>hbe,isModuleDeclaration:()=>_c,isModuleExportsAccessExpression:()=>Y_,isModuleIdentifier:()=>P0e,isModuleName:()=>IFe,isModuleOrEnumDeclaration:()=>QO,isModuleReference:()=>Ebe,isModuleSpecifierLike:()=>vX,isModuleWithStringLiteralName:()=>tq,isNameOfFunctionDeclaration:()=>Hhe,isNameOfModuleDeclaration:()=>Vhe,isNamedClassElement:()=>nbe,isNamedDeclaration:()=>mh,isNamedEvaluation:()=>If,isNamedEvaluationSource:()=>J0e,isNamedExportBindings:()=>Wse,isNamedExports:()=>ep,isNamedImportBindings:()=>i0e,isNamedImports:()=>uD,isNamedImportsOrExports:()=>Uq,isNamedTupleMember:()=>GP,isNamespaceBody:()=>yZe,isNamespaceExport:()=>u_,isNamespaceExportDeclaration:()=>wV,isNamespaceImport:()=>Jx,isNamespaceReexportDeclaration:()=>iye,isNewExpression:()=>j2,isNewExpressionTarget:()=>wM,isNoSubstitutionTemplateLiteral:()=>T7,isNode:()=>DZe,isNodeArray:()=>g2,isNodeArrayMultiLine:()=>Kye,isNodeDescendantOf:()=>S2,isNodeKind:()=>GO,isNodeLikeSystem:()=>hoe,isNodeModulesDirectory:()=>bU,isNodeWithPossibleHoistedDeclaration:()=>lye,isNonContextualKeyword:()=>G0e,isNonExportDefaultModifier:()=>mQe,isNonGlobalAmbientModule:()=>m0e,isNonGlobalDeclaration:()=>zSe,isNonNullAccess:()=>bke,isNonNullChain:()=>zU,isNonNullExpression:()=>O7,isNonStaticMethodOrAccessorWithPrivateName:()=>JAe,isNotEmittedOrPartiallyEmittedNode:()=>bZe,isNotEmittedStatement:()=>yce,isNullishCoalesce:()=>Kse,isNumber:()=>UD,isNumericLiteral:()=>Of,isNumericLiteralName:()=>i3,isObjectBindingElementWithoutPropertyName:()=>GH,isObjectBindingOrAssignmentElement:()=>qO,isObjectBindingOrAssignmentPattern:()=>Yse,isObjectBindingPattern:()=>Rp,isObjectLiteralElement:()=>n0e,isObjectLiteralElementLike:()=>Z3,isObjectLiteralExpression:()=>ys,isObjectLiteralMethod:()=>zp,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>lq,isObjectTypeDeclaration:()=>x7,isOctalDigit:()=>AU,isOmittedExpression:()=>Fd,isOptionalChain:()=>Y1,isOptionalChainRoot:()=>IN,isOptionalDeclaration:()=>PP,isOptionalJSDocPropertyLikeTag:()=>aV,isOptionalTypeNode:()=>Dce,isOuterExpression:()=>CY,isOutermostOptionalChain:()=>RN,isOverrideModifier:()=>iFe,isPackedArrayLiteral:()=>Ple,isParameter:()=>io,isParameterDeclaration:()=>w2,isParameterOrCatchClauseVariable:()=>Mle,isParameterPropertyDeclaration:()=>Mf,isParameterPropertyModifier:()=>VN,isParenthesizedExpression:()=>Cf,isParenthesizedTypeNode:()=>M7,isParseTreeNode:()=>zN,isPartOfTypeNode:()=>q_,isPartOfTypeQuery:()=>_q,isPartiallyEmittedExpression:()=>dY,isPatternMatch:()=>Y$,isPinnedComment:()=>XU,isPlainJsFile:()=>nj,isPlusToken:()=>gce,isPossiblyTypeArgumentPosition:()=>OH,isPostfixUnaryExpression:()=>vce,isPrefixUnaryExpression:()=>zv,isPrivateIdentifier:()=>Xr,isPrivateIdentifierClassElementDeclaration:()=>ph,isPrivateIdentifierPropertyAccessExpression:()=>T8,isPrivateIdentifierSymbol:()=>mye,isProgramBundleEmitBuildInfo:()=>U7e,isProgramUptoDate:()=>w1e,isPrologueDirective:()=>Mp,isPropertyAccessChain:()=>PU,isPropertyAccessEntityNameExpression:()=>$j,isPropertyAccessExpression:()=>Iu,isPropertyAccessOrQualifiedName:()=>obe,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>abe,isPropertyAssignment:()=>Jc,isPropertyDeclaration:()=>ko,isPropertyName:()=>Sc,isPropertyNameLiteral:()=>Xg,isPropertySignature:()=>Mm,isProtoSetter:()=>pye,isPrototypeAccess:()=>Ox,isPrototypePropertyAssignment:()=>kj,isPunctuation:()=>W0e,isPushOrUnshiftIdentifier:()=>$0e,isQualifiedName:()=>vf,isQuestionDotToken:()=>uY,isQuestionOrExclamationToken:()=>NFe,isQuestionOrPlusOrMinusToken:()=>zFe,isQuestionToken:()=>Wx,isRawSourceMap:()=>HAe,isReadonlyKeyword:()=>eFe,isReadonlyKeywordOrPlusOrMinusToken:()=>MFe,isRecognizedTripleSlashComment:()=>c0e,isReferenceFileLocation:()=>ZB,isReferencedFile:()=>Jv,isRegularExpressionLiteral:()=>mce,isRequireCall:()=>xf,isRequireVariableStatement:()=>L0e,isRestParameter:()=>$_,isRestTypeNode:()=>xce,isReturnStatement:()=>Op,isReturnStatementWithFixablePromiseHandler:()=>UX,isRightSideOfAccessExpression:()=>cle,isRightSideOfInstanceofExpression:()=>zye,isRightSideOfPropertyAccess:()=>uw,isRightSideOfQualifiedName:()=>$9e,isRightSideOfQualifiedNameOrPropertyAccess:()=>gP,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>Mye,isRootedDiskPath:()=>Pf,isSameEntityName:()=>q8,isSatisfiesExpression:()=>sFe,isScopeMarker:()=>cbe,isSemicolonClassElement:()=>lFe,isSetAccessor:()=>e5,isSetAccessorDeclaration:()=>jf,isShebangTrivia:()=>Bse,isShiftOperatorOrHigher:()=>Kce,isShorthandAmbientModuleSymbol:()=>$N,isShorthandPropertyAssignment:()=>pm,isSignedNumericLiteral:()=>Tq,isSimpleCopiableExpression:()=>Y2,isSimpleInlineableExpression:()=>sE,isSingleOrDoubleQuote:()=>_j,isSourceFile:()=>la,isSourceFileFromLibrary:()=>KM,isSourceFileJS:()=>gh,isSourceFileNotJS:()=>PZe,isSourceFileNotJson:()=>T0e,isSourceMapping:()=>KAe,isSpecialPropertyDeclaration:()=>rye,isSpreadAssignment:()=>d5,isSpreadElement:()=>uE,isStatement:()=>ia,isStatementButNotDeclaration:()=>XO,isStatementOrBlock:()=>gbe,isStatementWithLocals:()=>Abe,isStatic:()=>No,isStaticModifier:()=>N7,isString:()=>Ja,isStringAKeyword:()=>WZe,isStringANonContextualKeyword:()=>m7,isStringAndEmptyAnonymousObjectIntersection:()=>aSe,isStringDoubleQuoted:()=>Cq,isStringLiteral:()=>us,isStringLiteralLike:()=>t0,isStringLiteralOrJsxExpression:()=>_be,isStringLiteralOrTemplate:()=>ASe,isStringOrNumericLiteralLike:()=>Pm,isStringOrRegularExpressionOrTemplateLiteral:()=>Zhe,isStringTextContainingNode:()=>Use,isSuperCall:()=>ik,isSuperKeyword:()=>HP,isSuperOrSuperProperty:()=>NZe,isSuperProperty:()=>nf,isSupportedSourceFileName:()=>hke,isSwitchStatement:()=>BV,isSyntaxList:()=>MB,isSyntheticExpression:()=>JYe,isSyntheticReference:()=>j7,isTagName:()=>Ohe,isTaggedTemplateExpression:()=>Dk,isTaggedTemplateTag:()=>K9e,isTemplateExpression:()=>lY,isTemplateHead:()=>vB,isTemplateLiteral:()=>P8,isTemplateLiteralKind:()=>Bx,isTemplateLiteralToken:()=>X2e,isTemplateLiteralTypeNode:()=>GYe,isTemplateLiteralTypeSpan:()=>rFe,isTemplateMiddle:()=>qke,isTemplateMiddleOrTemplateTail:()=>IU,isTemplateSpan:()=>qP,isTemplateTail:()=>pce,isTextWhiteSpaceLike:()=>hSe,isThis:()=>rw,isThisContainerOrFunctionBlock:()=>Xbe,isThisIdentifier:()=>N2,isThisInTypeQuery:()=>g7,isThisInitializedDeclaration:()=>mq,isThisInitializedObjectBindingExpression:()=>tye,isThisProperty:()=>mj,isThisTypeNode:()=>sY,isThisTypeParameter:()=>NP,isThisTypePredicate:()=>LZe,isThrowStatement:()=>bce,isToken:()=>u7,isTokenKind:()=>Jse,isTraceEnabled:()=>aD,isTransientSymbol:()=>qE,isTrivia:()=>nB,isTryStatement:()=>Ck,isTupleTypeNode:()=>yB,isTypeAlias:()=>Sj,isTypeAliasDeclaration:()=>jp,isTypeAssertionExpression:()=>aFe,isTypeDeclaration:()=>gB,isTypeElement:()=>Zy,isTypeKeyword:()=>PM,isTypeKeywordToken:()=>ife,isTypeKeywordTokenOrIdentifier:()=>EX,isTypeLiteralNode:()=>fm,isTypeNode:()=>Qr,isTypeNodeKind:()=>_le,isTypeOfExpression:()=>AB,isTypeOnlyExportDeclaration:()=>ebe,isTypeOnlyImportDeclaration:()=>RU,isTypeOnlyImportOrExportDeclaration:()=>_2,isTypeOperatorNode:()=>z7,isTypeParameterDeclaration:()=>Bl,isTypePredicateNode:()=>aY,isTypeQueryNode:()=>bB,isTypeReferenceNode:()=>X4,isTypeReferenceType:()=>$U,isTypeUsableAsPropertyName:()=>Y4,isUMDExportSymbol:()=>$q,isUnaryExpression:()=>e0e,isUnaryExpressionWithWrite:()=>sbe,isUnicodeIdentifierStart:()=>kU,isUnionTypeNode:()=>Pv,isUnparsedNode:()=>Gse,isUnparsedPrepend:()=>mFe,isUnparsedSource:()=>yk,isUnparsedTextLike:()=>Q2e,isUrl:()=>x2e,isValidBigIntString:()=>hZ,isValidESSymbolDeclaration:()=>$be,isValidTypeOnlyAliasUseSite:()=>Tv,isValueSignatureDeclaration:()=>cye,isVarAwaitUsing:()=>lj,isVarConst:()=>K8,isVarUsing:()=>cj,isVariableDeclaration:()=>na,isVariableDeclarationInVariableStatement:()=>qN,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>F2,isVariableDeclarationInitializedToRequire:()=>vq,isVariableDeclarationList:()=>Ad,isVariableLike:()=>G8,isVariableLikeOrAccessor:()=>Gbe,isVariableStatement:()=>Jl,isVoidExpression:()=>R7,isWatchSet:()=>uYe,isWhileStatement:()=>UYe,isWhiteSpaceLike:()=>U3,isWhiteSpaceSingleLine:()=>qg,isWithStatement:()=>cFe,isWriteAccess:()=>D7,isWriteOnlyAccess:()=>Jq,isYieldExpression:()=>cY,jsxModeNeedsExplicitImport:()=>Sfe,keywordPart:()=>Hf,last:()=>Cr,lastOrUndefined:()=>qu,length:()=>S,libMap:()=>LY,libs:()=>YV,lineBreakPart:()=>lw,linkNamePart:()=>_Se,linkPart:()=>ffe,linkTextPart:()=>kX,listFiles:()=>q1e,loadModuleFromGlobalCache:()=>kAe,loadWithModeAwareCache:()=>CH,makeIdentifierFromModuleName:()=>Lbe,makeImport:()=>g5,makeImportIfNecessary:()=>dSe,makeStringLiteral:()=>n9,mangleScopedPackageName:()=>JB,map:()=>Vt,mapAllOrFail:()=>ra,mapDefined:()=>qi,mapDefinedEntries:()=>Fa,mapDefinedIterator:()=>eo,mapEntries:()=>ci,mapIterator:()=>zr,mapOneOrMany:()=>kfe,mapToDisplayParts:()=>Zx,matchFiles:()=>Ale,matchPatternOrExact:()=>Ble,matchedText:()=>t2e,matchesExclude:()=>TY,maybeBind:()=>Lo,maybeSetLocalizedDiagnosticMessages:()=>tke,memoize:()=>Mh,memoizeCached:()=>UCe,memoizeOne:()=>HE,memoizeWeak:()=>fqe,metadataHelper:()=>wZ,min:()=>ooe,minAndMax:()=>mke,missingFileModifiedTime:()=>K_,modifierToFlag:()=>_7,modifiersToFlags:()=>tE,moduleOptionDeclaration:()=>cde,moduleResolutionIsEqualTo:()=>kbe,moduleResolutionNameAndModeGetter:()=>yH,moduleResolutionOptionDeclarations:()=>NY,moduleResolutionSupportsPackageJsonExportsAndImports:()=>b7,moduleResolutionUsesNodeModules:()=>_X,moduleSpecifiers:()=>Z2,moveEmitHelpers:()=>Hke,moveRangeEnd:()=>Wq,moveRangePastDecorators:()=>o5,moveRangePastModifiers:()=>iE,moveRangePos:()=>Sv,moveSyntheticComments:()=>Oke,mutateMap:()=>cB,mutateMapSkippingNewValues:()=>eD,needsParentheses:()=>AX,needsScopeMarker:()=>VU,newCaseClauseTracker:()=>VX,newPrivateEnvironment:()=>qAe,noEmitNotification:()=>mH,noEmitSubstitution:()=>xM,noTransformers:()=>c1e,noTruncationMaximumTruncationLength:()=>DZ,nodeCanBeDecorated:()=>gq,nodeHasName:()=>jO,nodeIsDecorated:()=>YN,nodeIsMissing:()=>Ql,nodeIsPresent:()=>H4,nodeIsSynthesized:()=>sl,nodeModuleNameResolver:()=>EAe,nodeModulesPathPart:()=>o_,nodeNextJsonConfigResolver:()=>_Ae,nodeOrChildIsDecorated:()=>gj,nodeOverlapsWithStartEnd:()=>rX,nodePosToString:()=>FZe,nodeSeenTracker:()=>i9,nodeStartsNewLexicalEnvironment:()=>U0e,nodeToDisplayParts:()=>Tit,noop:()=>Is,noopFileWatcher:()=>tw,normalizePath:()=>$o,normalizeSlashes:()=>q1,not:()=>X$,notImplemented:()=>ho,notImplementedResolver:()=>DQ,nullNodeConverters:()=>tce,nullParenthesizerRules:()=>ece,nullTransformationContext:()=>Dg,objectAllocator:()=>Qd,operatorPart:()=>IM,optionDeclarations:()=>a3,optionMapToObject:()=>ude,optionsAffectingProgramStructure:()=>pde,optionsForBuild:()=>Ede,optionsForWatch:()=>VB,optionsHaveChanges:()=>R8,optionsHaveModuleResolutionChanges:()=>Cbe,or:()=>dg,orderedRemoveItem:()=>gO,orderedRemoveItemAt:()=>fv,outFile:()=>y0,packageIdToPackageName:()=>ZU,packageIdToString:()=>Px,paramHelper:()=>TZ,parameterIsThisKeyword:()=>L2,parameterNamePart:()=>mSe,parseBaseNodeFactory:()=>Zce,parseBigInt:()=>pke,parseBuildCommand:()=>JQe,parseCommandLine:()=>WQe,parseCommandLineWorker:()=>Xce,parseConfigFileTextToJson:()=>tde,parseConfigFileWithSystem:()=>Ttt,parseConfigHostFromCompilerHostLike:()=>wQ,parseCustomTypeOption:()=>BY,parseIsolatedEntityName:()=>G7,parseIsolatedJSDocComment:()=>WFe,parseJSDocTypeExpressionForTests:()=>TQe,parseJsonConfigFileContent:()=>aXe,parseJsonSourceFileConfigFileContent:()=>UV,parseJsonText:()=>WV,parseListTypeOption:()=>JFe,parseNodeFactory:()=>a_,parseNodeModuleFromPath:()=>uH,parsePackageName:()=>oH,parsePseudoBigInt:()=>SP,parseValidBigInt:()=>Nle,patchWriteFileEnsuringDirectory:()=>_2e,pathContainsNodeModules:()=>q7,pathIsAbsolute:()=>SN,pathIsBareSpecifier:()=>kse,pathIsRelative:()=>om,patternText:()=>e2e,perfLogger:()=>hh,performIncrementalCompilation:()=>Mtt,performance:()=>h2e,plainJSErrors:()=>NQ,positionBelongsToNode:()=>Whe,positionIsASICandidate:()=>TX,positionIsSynthesized:()=>pg,positionsAreOnSameLine:()=>q4,preProcessFile:()=>unt,probablyUsesSemicolons:()=>YH,processCommentPragmas:()=>Uce,processPragmasIntoFields:()=>qce,processTaggedTemplateExpression:()=>i1e,programContainsEsModules:()=>cSe,programContainsModules:()=>lSe,projectReferenceIsEqualTo:()=>a0e,propKeyHelper:()=>WZ,propertyNamePart:()=>pSe,pseudoBigIntToString:()=>I2,punctuationPart:()=>ih,pushIfUnique:()=>xa,quote:()=>jM,quotePreferenceFromString:()=>afe,rangeContainsPosition:()=>MH,rangeContainsPositionExclusive:()=>zH,rangeContainsRange:()=>Vm,rangeContainsRangeExclusive:()=>q9e,rangeContainsStartEnd:()=>IH,rangeEndIsOnSameLineAsRangeStart:()=>qj,rangeEndPositionsAreOnSameLine:()=>Vye,rangeEquals:()=>zi,rangeIsOnSingleLine:()=>hk,rangeOfNode:()=>Tle,rangeOfTypeParameters:()=>Lle,rangeOverlapsWithStartEnd:()=>TM,rangeStartIsOnSameLineAsRangeEnd:()=>Hye,rangeStartPositionsAreOnSameLine:()=>Gq,readBuilderProgram:()=>GQ,readConfigFile:()=>JV,readHelper:()=>HZ,readJson:()=>EP,readJsonConfigFile:()=>qFe,readJsonOrUndefined:()=>hle,reduceEachLeadingCommentRange:()=>k2e,reduceEachTrailingCommentRange:()=>F2e,reduceLeft:()=>nn,reduceLeftIterator:()=>ue,reducePathComponents:()=>Jy,refactor:()=>a9,regExpEscape:()=>hYe,relativeComplement:()=>Wr,removeAllComments:()=>EV,removeEmitHelper:()=>HYe,removeExtension:()=>nV,removeFileExtension:()=>_h,removeIgnoredPath:()=>zQ,removeMinAndVersionNumbers:()=>soe,removeOptionality:()=>iSe,removePrefix:()=>yN,removeSuffix:()=>D8,removeTrailingDirectorySeparator:()=>mv,repeatString:()=>KH,replaceElement:()=>qd,resolutionExtensionIsTSOrJson:()=>FP,resolveConfigFileProjectName:()=>ahe,resolveJSModule:()=>pAe,resolveLibrary:()=>KY,resolveModuleName:()=>WB,resolveModuleNameFromCache:()=>KXe,resolvePackageNameToPackageJson:()=>xde,resolvePath:()=>kx,resolveProjectReferencePath:()=>YB,resolveTripleslashReference:()=>bQ,resolveTypeReferenceDirective:()=>hAe,resolvingEmptyArray:()=>_Z,restHelper:()=>RZ,returnFalse:()=>cg,returnNoopFileWatcher:()=>iw,returnTrue:()=>J3,returnUndefined:()=>hv,returnsPromise:()=>$fe,runInitializersHelper:()=>NZ,sameFlatMap:()=>z0,sameMap:()=>Lu,sameMapping:()=>Net,scanShebangTrivia:()=>wse,scanTokenAtPosition:()=>Hbe,scanner:()=>nh,screenStartingMessageCodes:()=>WQ,semanticDiagnosticsOptionDeclarations:()=>hde,serializeCompilerOptions:()=>ade,server:()=>Zct,servicesVersion:()=>iBe,setCommentRange:()=>Bc,setConfigFileInOptions:()=>sde,setConstantValue:()=>Vke,setEachParent:()=>pB,setEmitFlags:()=>Zn,setFunctionNameHelper:()=>GZ,setGetSourceFileAsHashVersioned:()=>KQ,setIdentifierAutoGenerate:()=>xV,setIdentifierGeneratedImportReference:()=>Gke,setIdentifierTypeArguments:()=>l5,setInternalEmitFlags:()=>_V,setLocalizedDiagnosticMessages:()=>eke,setModuleDefaultHelper:()=>UZ,setNodeFlags:()=>_ke,setObjectAllocator:()=>Xye,setOriginalNode:()=>su,setParent:()=>ks,setParentRecursive:()=>Vx,setPrivateIdentifier:()=>Bk,setSnippetElement:()=>lce,setSourceMapRange:()=>As,setStackTraceLimit:()=>Pqe,setStartsOnNewLine:()=>FZ,setSyntheticLeadingComments:()=>Nv,setSyntheticTrailingComments:()=>A7,setSys:()=>Oqe,setSysLog:()=>g2e,setTextRange:()=>Pt,setTextRangeEnd:()=>mB,setTextRangePos:()=>BP,setTextRangePosEnd:()=>t_,setTextRangePosWidth:()=>wP,setTokenSourceMapRange:()=>Rke,setTypeNode:()=>Kke,setUILocale:()=>YCe,setValueDeclaration:()=>Fj,shouldAllowImportingTsExtension:()=>$B,shouldPreserveConstEnums:()=>fk,shouldResolveJsRequire:()=>eZ,shouldUseUriStyleNodeCoreModules:()=>OX,showModuleSpecifier:()=>$ye,signatureHasLiteralTypes:()=>Ode,signatureHasRestParameter:()=>th,signatureToDisplayParts:()=>mfe,single:()=>bd,singleElementArray:()=>Hy,singleIterator:()=>qa,singleOrMany:()=>F0,singleOrUndefined:()=>Aa,skipAlias:()=>X1,skipAssertions:()=>lQe,skipConstraint:()=>nfe,skipOuterExpressions:()=>Dc,skipParentheses:()=>l0,skipPartiallyEmittedExpressions:()=>Np,skipTrivia:()=>gs,skipTypeChecking:()=>AP,skipTypeParentheses:()=>j0e,skipWhile:()=>n2e,sliceAfter:()=>wle,some:()=>Oe,sort:()=>Ph,sortAndDeduplicate:()=>pi,sortAndDeduplicateDiagnostics:()=>A8,sourceFileAffectingCompilerOptions:()=>PY,sourceFileMayBeEmitted:()=>p7,sourceMapCommentRegExp:()=>nQ,sourceMapCommentRegExpDontCareLineStart:()=>Jde,spacePart:()=>$l,spanMap:()=>Hl,spreadArrayHelper:()=>KZ,stableSort:()=>oc,startEndContainsRange:()=>Khe,startEndOverlapsWithStartEnd:()=>aX,startOnNewLine:()=>vh,startTracing:()=>f2e,startsWith:()=>Pa,startsWithDirectory:()=>Ase,startsWithUnderscore:()=>Afe,startsWithUseStrict:()=>AFe,stringContainsAt:()=>MSe,stringToToken:()=>f2,stripQuotes:()=>$4,supportedDeclarationExtensions:()=>dV,supportedJSExtensions:()=>Yle,supportedJSExtensionsFlat:()=>_B,supportedLocaleDirectories:()=>r0e,supportedTSExtensions:()=>EB,supportedTSExtensionsFlat:()=>Zle,supportedTSImplementationExtensions:()=>hV,suppressLeadingAndTrailingTrivia:()=>Kf,suppressLeadingTrivia:()=>Efe,suppressTrailingTrivia:()=>ySe,symbolEscapedNameNoDefault:()=>xX,symbolName:()=>lc,symbolNameNoDefault:()=>DX,symbolPart:()=>fSe,symbolToDisplayParts:()=>RM,syntaxMayBeASICandidate:()=>Nfe,syntaxRequiresTrailingSemicolonOrASI:()=>wX,sys:()=>c1,sysLog:()=>bO,tagNamesAreEquivalent:()=>Vv,takeWhile:()=>tU,targetOptionDeclaration:()=>XV,templateObjectHelper:()=>VZ,testFormatSettings:()=>H9e,textChangeRangeIsUnchanged:()=>N2e,textChangeRangeNewSpan:()=>MN,textChanges:()=>iu,textOrKeywordPart:()=>hfe,textPart:()=>Km,textRangeContainsPositionInclusive:()=>IO,textSpanContainsPosition:()=>Nse,textSpanContainsTextSpan:()=>B2e,textSpanEnd:()=>Ec,textSpanIntersection:()=>L2e,textSpanIntersectsWith:()=>wU,textSpanIntersectsWithPosition:()=>T2e,textSpanIntersectsWithTextSpan:()=>aZe,textSpanIsEmpty:()=>S2e,textSpanOverlap:()=>w2e,textSpanOverlapsWith:()=>rZe,textSpansEqual:()=>sw,textToKeywordObj:()=>MO,timestamp:()=>G0,toArray:()=>YA,toBuilderFileEmit:()=>Q7e,toBuilderStateFileInfoForMultiEmit:()=>Y7e,toEditorSettings:()=>gK,toFileNameLowerCase:()=>$g,toLowerCase:()=>$Ce,toPath:()=>J0,toProgramEmitPending:()=>X7e,tokenIsIdentifierOrKeyword:()=>fh,tokenIsIdentifierOrKeywordOrGreaterThan:()=>b2e,tokenToString:()=>Uo,trace:()=>Sa,tracing:()=>Gn,tracingEnabled:()=>DO,transform:()=>nrt,transformClassFields:()=>r7e,transformDeclarations:()=>s1e,transformECMAScriptModule:()=>a1e,transformES2015:()=>x7e,transformES2016:()=>D7e,transformES2017:()=>l7e,transformES2018:()=>c7e,transformES2019:()=>d7e,transformES2020:()=>h7e,transformES2021:()=>f7e,transformES5:()=>v7e,transformESDecorators:()=>s7e,transformESNext:()=>m7e,transformGenerators:()=>C7e,transformJsx:()=>_7e,transformLegacyDecorators:()=>o7e,transformModule:()=>r1e,transformNamedEvaluation:()=>Vf,transformNodeModule:()=>y7e,transformNodes:()=>pH,transformSystemModule:()=>b7e,transformTypeScript:()=>u7e,transpile:()=>hnt,transpileModule:()=>e8e,transpileOptionValueCompilerOptions:()=>gde,tryAddToSet:()=>r0,tryAndIgnoreErrors:()=>PX,tryCast:()=>ur,tryDirectoryExists:()=>NX,tryExtractTSExtension:()=>Kq,tryFileExists:()=>QH,tryGetClassExtendingExpressionWithTypeArguments:()=>sle,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>lle,tryGetDirectories:()=>LX,tryGetExtensionFromPath:()=>t3,tryGetImportFromModuleSpecifier:()=>Aj,tryGetJSDocSatisfiesTypeNode:()=>gZ,tryGetModuleNameFromFile:()=>IV,tryGetModuleSpecifierFromDeclaration:()=>Z8,tryGetNativePerformanceHooks:()=>l2e,tryGetPropertyAccessOrIdentifierToString:()=>Uj,tryGetPropertyNameOfBindingOrAssignmentElement:()=>yY,tryGetSourceMappingURL:()=>VAe,tryGetTextOfPropertyName:()=>UN,tryIOAndConsumeErrors:()=>MX,tryParsePattern:()=>fB,tryParsePatterns:()=>lZ,tryParseRawSourceMap:()=>Wde,tryReadDirectory:()=>xfe,tryReadFile:()=>rM,tryRemoveDirectoryPrefix:()=>yle,tryRemoveExtension:()=>fke,tryRemovePrefix:()=>doe,tryRemoveSuffix:()=>XCe,typeAcquisitionDeclarations:()=>eH,typeAliasNamePart:()=>gSe,typeDirectiveIsEqualTo:()=>Fbe,typeKeywords:()=>HX,typeParameterNamePart:()=>ESe,typeReferenceResolutionNameAndModeGetter:()=>LQ,typeToDisplayParts:()=>$H,unchangedPollThresholds:()=>yO,unchangedTextChangeRange:()=>tj,unescapeLeadingUnderscores:()=>Yr,unmangleScopedPackageName:()=>lH,unorderedRemoveItem:()=>Vy,unorderedRemoveItemAt:()=>loe,unreachableCodeIsError:()=>uke,unusedLabelIsError:()=>rke,unwrapInnermostStatementOfLabel:()=>A0e,updateErrorForNoInputFiles:()=>wY,updateLanguageServiceSourceFile:()=>wme,updateMissingFilePathsWatch:()=>g1e,updatePackageJsonWatch:()=>utt,updateResolutionField:()=>HB,updateSharedExtendedConfigFileWatcher:()=>vQ,updateSourceFile:()=>$ce,updateWatchingWildcardDirectories:()=>_H,usesExtensionsOnImports:()=>dke,usingSingleLineStringWriter:()=>GN,utf16EncodeAsString:()=>F8,validateLocaleAndSetLanguage:()=>sZe,valuesHelper:()=>JZ,version:()=>_,versionMajorMinor:()=>g,visitArray:()=>dH,visitCommaListElements:()=>hH,visitEachChild:()=>rn,visitFunctionBody:()=>Om,visitIterationBody:()=>Ih,visitLexicalEnvironment:()=>iQ,visitNode:()=>yt,visitNodes:()=>kn,visitParameterList:()=>xc,walkUpBindingElementsAndPatterns:()=>S8,walkUpLexicalEnvironments:()=>UAe,walkUpOuterExpressions:()=>SFe,walkUpParenthesizedExpressions:()=>i5,walkUpParenthesizedTypes:()=>Lj,walkUpParenthesizedTypesAndGetParentAndChild:()=>dye,whitespaceOrMapCommentRegExp:()=>uQ,writeCommentRange:()=>sB,writeFile:()=>cP,writeFileEnsuringDirectories:()=>nle,zipWith:()=>re});var Xv=o({"src/server/_namespaces/ts.ts"(){Bo(),BH(),rr(),Jpe(),_9()}}),Qct={};h(Qct,{ActionInvalidate:()=>YQ,ActionPackageInstalled:()=>T9e,ActionSet:()=>ZQ,ActionWatchTypingLocations:()=>SH,Arguments:()=>mhe,AutoImportProviderProject:()=>age,AuxiliaryProject:()=>uge,CharRangeSection:()=>_ge,CloseFileWatcherEvent:()=>lte,CommandNames:()=>kNe,ConfigFileDiagEvent:()=>ute,ConfiguredProject:()=>oge,CreateDirectoryWatcherEvent:()=>ste,CreateFileWatcherEvent:()=>ote,Errors:()=>v5,EventBeginInstallTypes:()=>hhe,EventEndInstallTypes:()=>fhe,EventInitializationFailed:()=>N9e,EventTypesRegistry:()=>L9e,ExternalProject:()=>Zee,GcTimer:()=>Ype,InferredProject:()=>nge,LargeFileReferencedEvent:()=>nte,LineIndex:()=>rz,LineLeaf:()=>qK,LineNode:()=>E9,LogLevel:()=>$pe,Msg:()=>Upe,OpenFileInfoTelemetryEvent:()=>cge,Project:()=>Wk,ProjectInfoTelemetryEvent:()=>ate,ProjectKind:()=>nz,ProjectLanguageServiceStateEvent:()=>rte,ProjectLoadingFinishEvent:()=>ite,ProjectLoadingStartEvent:()=>tte,ProjectReferenceProjectLoadKind:()=>fge,ProjectService:()=>mge,ProjectsUpdatedInBackgroundEvent:()=>JK,ScriptInfo:()=>ege,ScriptVersionCache:()=>fte,Session:()=>ANe,TextStorage:()=>Xpe,ThrottledOperations:()=>Zpe,TypingsCache:()=>tge,allFilesAreJsOrDts:()=>nNe,allRootFilesAreJsOrDts:()=>iNe,asNormalizedPath:()=>Fct,convertCompilerOptions:()=>Yee,convertFormatOptions:()=>Sw,convertScriptKindName:()=>lge,convertTypeAcquisition:()=>aNe,convertUserPreferences:()=>oNe,convertWatchOptions:()=>GK,countEachFileTypes:()=>KK,createInstallTypingsRequest:()=>kct,createModuleSpecifierCache:()=>ENe,createNormalizedPathMap:()=>Act,createPackageJsonCache:()=>_Ne,createSortedArray:()=>jLe,emptyArray:()=>$c,findArgument:()=>_it,forEachResolvedProjectReferenceProject:()=>Bw,formatDiagnosticToProtocol:()=>UK,formatMessage:()=>DNe,getBaseConfigFileName:()=>qpe,getLocationInNewDocument:()=>bNe,hasArgument:()=>Eit,hasNoTypeScriptSource:()=>uNe,indent:()=>BM,isBackgroundProject:()=>WK,isConfigFile:()=>fNe,isConfiguredProject:()=>Qv,isDynamicFileName:()=>HK,isExternalProject:()=>ige,isInferredProject:()=>Aw,isInferredProjectName:()=>zLe,makeAutoImportProviderProjectName:()=>RLe,makeAuxiliaryProjectName:()=>OLe,makeInferredProjectName:()=>ILe,maxFileSize:()=>ete,maxProgramSizeForNonTsFiles:()=>Xee,normalizedPathToPath:()=>VK,nowString:()=>Dit,nullCancellationToken:()=>yNe,nullTypingsInstaller:()=>qee,projectContainsInfoDirectly:()=>p9,protocol:()=>tNe,removeSorted:()=>Sct,stringifyIndented:()=>nw,toEvent:()=>xNe,toNormalizedPath:()=>Dl,tryConvertScriptKindName:()=>sge,typingsInstaller:()=>PLe,updateProjectIfDirty:()=>Gm});var lXt=o({"src/typescript/_namespaces/ts.server.ts"(){QQ(),_9()}}),Xct={};h(Xct,{ANONYMOUS:()=>KX,AccessFlags:()=>Koe,AssertionLevel:()=>moe,AssignmentDeclarationKind:()=>Qoe,AssignmentKind:()=>Kle,Associativity:()=>Gle,BreakpointResolver:()=>Ime,BuilderFileEmit:()=>K1e,BuilderProgramKind:()=>W1e,BuilderState:()=>Wp,BundleFileSectionKind:()=>gse,CallHierarchy:()=>o9,CharacterCodes:()=>lse,CheckFlags:()=>Roe,CheckMode:()=>XY,ClassificationType:()=>Nhe,ClassificationTypeNames:()=>Lhe,CommentDirectiveType:()=>boe,Comparison:()=>x,CompletionInfoFlags:()=>khe,CompletionTriggerKind:()=>xhe,Completions:()=>h9,ContainerFlags:()=>Pde,ContextFlags:()=>Boe,Debug:()=>H,DiagnosticCategory:()=>vO,Diagnostics:()=>F,DocumentHighlights:()=>JX,ElementFlags:()=>Hoe,EmitFlags:()=>_U,EmitHint:()=>fse,EmitOnly:()=>koe,EndOfLineState:()=>She,EnumKind:()=>Ioe,ExitStatus:()=>Foe,ExportKind:()=>Rfe,Extension:()=>cse,ExternalEmitHelpers:()=>hse,FileIncludeKind:()=>lU,FilePreprocessingDiagnosticsKind:()=>yoe,FileSystemEntryKind:()=>Cse,FileWatcherEventKind:()=>vse,FindAllReferences:()=>Z0,FlattenLevel:()=>Xde,FlowFlags:()=>xO,ForegroundColorEscapeSequences:()=>M1e,FunctionFlags:()=>Wle,GeneratedIdentifierFlags:()=>sU,GetLiteralTextFlags:()=>jle,GoToDefinition:()=>Cw,HighlightSpanKind:()=>Che,IdentifierNameMap:()=>Y7,IdentifierNameMultiMap:()=>Qde,ImportKind:()=>Ife,ImportsNotUsedAsValues:()=>use,IndentStyle:()=>bhe,IndexFlags:()=>Woe,IndexKind:()=>$oe,InferenceFlags:()=>Zoe,InferencePriority:()=>qoe,InlayHintKind:()=>vhe,InlayHints:()=>Spe,InternalEmitFlags:()=>dse,InternalSymbolName:()=>Ooe,InvalidatedProjectKind:()=>dhe,JSDocParsingMode:()=>Dse,JsDoc:()=>Yv,JsTyping:()=>o3,JsxEmit:()=>nse,JsxFlags:()=>voe,JsxReferenceKind:()=>Goe,LanguageServiceMode:()=>Ehe,LanguageVariant:()=>ose,LexicalEnvironmentFlags:()=>pse,ListFormat:()=>Ese,LogLevel:()=>goe,MemberOverrideStatus:()=>Aoe,ModifierFlags:()=>aU,ModuleDetectionKind:()=>Xoe,ModuleInstanceState:()=>Nde,ModuleKind:()=>FN,ModuleResolutionKind:()=>y8,ModuleSpecifierEnding:()=>Qle,NavigateTo:()=>n8e,NavigationBar:()=>f8e,NewLineKind:()=>rse,NodeBuilderFlags:()=>woe,NodeCheckFlags:()=>joe,NodeFactoryFlags:()=>ace,NodeFlags:()=>rU,NodeResolutionFeatures:()=>wde,ObjectFlags:()=>fU,OperationCanceledException:()=>b8,OperatorPrecedence:()=>Jle,OrganizeImports:()=>Gp,OrganizeImportsMode:()=>Dhe,OuterExpressionKinds:()=>mse,OutliningElementsCollector:()=>Lpe,OutliningSpanKind:()=>Fhe,OutputFileType:()=>Ahe,PackageJsonAutoImportPreference:()=>ghe,PackageJsonDependencyGroup:()=>phe,PatternMatchKind:()=>$X,PollingInterval:()=>DU,PollingWatchKind:()=>ise,PragmaKindFlags:()=>_se,PrivateIdentifierKind:()=>fce,ProcessLevel:()=>n1e,ProgramUpdateLevel:()=>_1e,QuotePreference:()=>Tfe,RelationComparisonResult:()=>oU,Rename:()=>Hee,ScriptElementKind:()=>whe,ScriptElementKindModifier:()=>The,ScriptKind:()=>pU,ScriptSnapshot:()=>eX,ScriptTarget:()=>ase,SemanticClassificationFormat:()=>_he,SemanticMeaning:()=>wfe,SemicolonPreference:()=>yhe,SignatureCheckMode:()=>eQ,SignatureFlags:()=>mU,SignatureHelp:()=>NK,SignatureKind:()=>Joe,SmartSelectionRange:()=>Mpe,SnippetKind:()=>EU,SortKind:()=>foe,StructureIsReused:()=>cU,SymbolAccessibility:()=>Noe,SymbolDisplay:()=>x5,SymbolDisplayPartKind:()=>wH,SymbolFlags:()=>dU,SymbolFormatFlags:()=>Loe,SyntaxKind:()=>uU,SyntheticSymbolKind:()=>Poe,Ternary:()=>Yoe,ThrottledCancellationToken:()=>zme,TokenClass:()=>Bhe,TokenFlags:()=>Coe,TransformFlags:()=>gU,TypeFacts:()=>QY,TypeFlags:()=>hU,TypeFormatFlags:()=>Toe,TypeMapKind:()=>Uoe,TypePredicateKind:()=>Moe,TypeReferenceSerializationKind:()=>zoe,UnionReduction:()=>Soe,UpToDateStatusType:()=>ohe,VarianceFlags:()=>Voe,Version:()=>Lp,VersionRange:()=>EO,WatchDirectoryFlags:()=>sse,WatchDirectoryKind:()=>tse,WatchFileKind:()=>ese,WatchLogLevel:()=>D1e,WatchType:()=>cd,accessPrivateIdentifier:()=>ZAe,addDisposableResourceHelper:()=>eY,addEmitFlags:()=>i_,addEmitHelper:()=>S7,addEmitHelpers:()=>iD,addInternalEmitFlags:()=>F7,addNodeFactoryPatcher:()=>MYe,addObjectAllocatorPatcher:()=>Qye,addRange:()=>yn,addRelatedInfo:()=>Es,addSyntheticLeadingComment:()=>OP,addSyntheticTrailingComment:()=>AZ,addToSeen:()=>Ip,advancedAsyncSuperHelper:()=>bV,affectsDeclarationPathOptionDeclarations:()=>mde,affectsEmitOptionDeclarations:()=>fde,allKeysStartWithDot:()=>JY,altDirectorySeparator:()=>BO,and:()=>Q$,append:()=>xi,appendIfUnique:()=>e0,arrayFrom:()=>ga,arrayIsEqualTo:()=>On,arrayIsHomogeneous:()=>Eke,arrayIsSorted:()=>hi,arrayOf:()=>am,arrayReverseIterator:()=>Cd,arrayToMap:()=>lg,arrayToMultiMap:()=>mO,arrayToNumericMap:()=>noe,arraysEqual:()=>Zt,assertType:()=>gqe,assign:()=>VE,assignHelper:()=>PZ,asyncDelegator:()=>zZ,asyncGeneratorHelper:()=>MZ,asyncSuperHelper:()=>CV,asyncValues:()=>IZ,attachFileToDiagnostics:()=>v7,awaitHelper:()=>B7,awaiterHelper:()=>OZ,base64decode:()=>jye,base64encode:()=>Oye,binarySearch:()=>Kl,binarySearchKey:()=>va,bindSourceFile:()=>SAe,breakIntoCharacterSpans:()=>ZSe,breakIntoWordSpans:()=>YSe,buildLinkParts:()=>DSe,buildOpts:()=>MY,buildOverload:()=>Dct,bundlerModuleNameResolver:()=>gAe,canBeConvertedToAsync:()=>qfe,canHaveDecorators:()=>Ak,canHaveExportModifier:()=>rV,canHaveFlowNode:()=>Bj,canHaveIllegalDecorators:()=>Hce,canHaveIllegalModifiers:()=>LFe,canHaveIllegalType:()=>dQe,canHaveIllegalTypeParameters:()=>TFe,canHaveJSDoc:()=>wj,canHaveLocals:()=>UE,canHaveModifiers:()=>Hp,canHaveSymbol:()=>Zg,canJsonReportNoInputFiles:()=>aM,canProduceDiagnostics:()=>mQ,canUsePropertyAccess:()=>zle,canWatchAffectingLocation:()=>n9e,canWatchAtTypes:()=>i9e,canWatchDirectoryOrFile:()=>IQ,cartesianProduct:()=>i2e,cast:()=>Po,chainBundle:()=>Kp,chainDiagnosticMessages:()=>ro,changeAnyExtension:()=>AO,changeCompilerHostLikeToUseCache:()=>vH,changeExtension:()=>wv,changesAffectModuleResolution:()=>UU,changesAffectingProgramStructure:()=>bbe,childIsDecorated:()=>QN,classElementOrClassElementParameterIsDecorated:()=>S0e,classHasClassThisAssignment:()=>e1e,classHasDeclaredOrExplicitlyAssignedName:()=>t1e,classHasExplicitlyAssignedName:()=>dQ,classOrConstructorParameterIsDecorated:()=>t5,classPrivateFieldGetHelper:()=>YZ,classPrivateFieldInHelper:()=>XZ,classPrivateFieldSetHelper:()=>QZ,classicNameResolver:()=>yAe,classifier:()=>aBe,cleanExtendedConfigCache:()=>CQ,clear:()=>pu,clearMap:()=>rf,clearSharedExtendedConfigFileWatcher:()=>p1e,climbPastPropertyAccess:()=>iX,climbPastPropertyOrElementAccess:()=>J9e,clone:()=>uoe,cloneCompilerOptions:()=>Qhe,closeFileWatcher:()=>fg,closeFileWatcherOf:()=>jm,codefix:()=>z1,collapseTextChangeRangesAcrossMultipleVersions:()=>P2e,collectExternalModuleInfo:()=>Ude,combine:()=>vo,combinePaths:()=>cr,commentPragmas:()=>CO,commonOptionsWithBuild:()=>QV,commonPackageFolders:()=>Ule,compact:()=>Dr,compareBooleans:()=>d2,compareDataObjects:()=>gle,compareDiagnostics:()=>bP,compareDiagnosticsSkipRelatedInformation:()=>Zq,compareEmitHelpers:()=>Uke,compareNumberOfDirectorySeparators:()=>iV,comparePaths:()=>pv,comparePathsCaseInsensitive:()=>Kqe,comparePathsCaseSensitive:()=>Hqe,comparePatternKeys:()=>Sde,compareProperties:()=>QCe,compareStringsCaseInsensitive:()=>Z$,compareStringsCaseInsensitiveEslintCompatible:()=>qCe,compareStringsCaseSensitive:()=>dh,compareStringsCaseSensitiveUI:()=>pO,compareTextSpans:()=>q$,compareValues:()=>nl,compileOnSaveCommandLineOption:()=>ZV,compilerOptionsAffectDeclarationPath:()=>lke,compilerOptionsAffectEmit:()=>ske,compilerOptionsAffectSemanticDiagnostics:()=>oke,compilerOptionsDidYouMeanDiagnostics:()=>tH,compilerOptionsIndicateEsModules:()=>ufe,compose:()=>mqe,computeCommonSourceDirectoryOfFilenames:()=>P7e,computeLineAndCharacterOfPosition:()=>k8,computeLineOfPosition:()=>TN,computeLineStarts:()=>n7,computePositionOfLineAndCharacter:()=>FU,computeSignature:()=>Nk,computeSignatureWithDiagnostics:()=>O1e,computeSuggestionDiagnostics:()=>Jfe,concatenate:()=>Hi,concatenateDiagnosticMessageChains:()=>ike,consumesNodeCoreModules:()=>zX,contains:()=>kt,containsIgnoredPath:()=>TP,containsObjectRestOrSpread:()=>VV,containsParseError:()=>O8,containsPath:()=>GE,convertCompilerOptionsForTelemetry:()=>eAe,convertCompilerOptionsFromJson:()=>mXe,convertJsonOption:()=>Sk,convertToBase64:()=>Rye,convertToJson:()=>$V,convertToObject:()=>ZFe,convertToOptionsWithAbsolutePaths:()=>ode,convertToRelativePath:()=>wN,convertToTSConfig:()=>eXe,convertTypeAcquisitionFromJson:()=>pXe,copyComments:()=>Rk,copyEntries:()=>qU,copyLeadingComments:()=>cw,copyProperties:()=>roe,copyTrailingAsLeadingComments:()=>ZH,copyTrailingComments:()=>OM,couldStartTrivia:()=>y2e,countWhere:()=>ui,createAbstractBuilder:()=>ktt,createAccessorPropertyBackingField:()=>Wce,createAccessorPropertyGetRedirector:()=>jFe,createAccessorPropertySetRedirector:()=>VFe,createBaseNodeFactory:()=>Lke,createBinaryExpressionTrampoline:()=>kY,createBindingHelper:()=>xB,createBuildInfo:()=>gH,createBuilderProgram:()=>j1e,createBuilderProgramUsingProgramBuildInfo:()=>e9e,createBuilderStatusReporter:()=>E9e,createCacheWithRedirects:()=>Cde,createCacheableExportInfoMap:()=>Pfe,createCachedDirectoryStructureHost:()=>xQ,createClassNamedEvaluationHelperBlock:()=>t7e,createClassThisAssignmentBlock:()=>XAe,createClassifier:()=>Hit,createCommentDirectivesMap:()=>Bbe,createCompilerDiagnostic:()=>cc,createCompilerDiagnosticForInvalidCustomType:()=>GFe,createCompilerDiagnosticFromMessageChain:()=>qq,createCompilerHost:()=>M7e,createCompilerHostFromProgramHost:()=>nhe,createCompilerHostWorker:()=>C1e,createDetachedDiagnostic:()=>hB,createDiagnosticCollection:()=>rB,createDiagnosticForFileFromMessageChain:()=>b0e,createDiagnosticForNode:()=>Su,createDiagnosticForNodeArray:()=>H8,createDiagnosticForNodeArrayFromMessageChain:()=>sj,createDiagnosticForNodeFromMessageChain:()=>Y3,createDiagnosticForNodeInSourceFile:()=>K4,createDiagnosticForRange:()=>Vbe,createDiagnosticMessageChainFromDiagnostic:()=>jbe,createDiagnosticReporter:()=>kH,createDocumentPositionMapper:()=>WAe,createDocumentRegistry:()=>OSe,createDocumentRegistryInternal:()=>Vfe,createEmitAndSemanticDiagnosticsBuilderProgram:()=>G1e,createEmitHelperFactory:()=>$ke,createEmptyExports:()=>NV,createExpressionForJsxElement:()=>yFe,createExpressionForJsxFragment:()=>kFe,createExpressionForObjectLiteralElementLike:()=>FFe,createExpressionForPropertyName:()=>zce,createExpressionFromEntityName:()=>PV,createExternalHelpersImportDeclarationIfNeeded:()=>Oce,createFileDiagnostic:()=>Rd,createFileDiagnosticFromMessageChain:()=>nq,createForOfBindingStatement:()=>Mce,createGetCanonicalFileName:()=>L1,createGetSourceFile:()=>x1e,createGetSymbolAccessibilityDiagnosticForNode:()=>h5,createGetSymbolAccessibilityDiagnosticForNodeName:()=>k7e,createGetSymbolWalker:()=>BAe,createIncrementalCompilerHost:()=>rhe,createIncrementalProgram:()=>p9e,createInputFiles:()=>IYe,createInputFilesWithFilePaths:()=>uce,createInputFilesWithFileTexts:()=>rce,createJsxFactoryExpression:()=>Pce,createLanguageService:()=>eBe,createLanguageServiceSourceFile:()=>Eee,createMemberAccessForPropertyName:()=>Fk,createModeAwareCache:()=>U7,createModeAwareCacheKey:()=>dM,createModuleNotFoundChain:()=>o0e,createModuleResolutionCache:()=>KB,createModuleResolutionLoader:()=>A1e,createModuleResolutionLoaderUsingGlobalCache:()=>o9e,createModuleSpecifierResolutionHost:()=>Ik,createMultiMap:()=>wm,createNodeConverters:()=>Pke,createNodeFactory:()=>mV,createOptionNameMap:()=>SY,createOverload:()=>Gpe,createPackageJsonImportFilter:()=>HM,createPackageJsonInfo:()=>Cfe,createParenthesizerRules:()=>Nke,createPatternMatcher:()=>WSe,createPrependNodes:()=>N1e,createPrinter:()=>Gv,createPrinterWithDefaults:()=>f1e,createPrinterWithRemoveComments:()=>X2,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>m1e,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>EH,createProgram:()=>SQ,createProgramHost:()=>uhe,createPropertyNameNodeForIdentifierOrLiteral:()=>mZ,createQueue:()=>U$,createRange:()=>s4,createRedirectedBuilderProgram:()=>H1e,createResolutionCache:()=>$1e,createRuntimeTypeSerializer:()=>a7e,createScanner:()=>YD,createSemanticDiagnosticsBuilderProgram:()=>ytt,createSet:()=>aoe,createSolutionBuilder:()=>Vtt,createSolutionBuilderHost:()=>Ott,createSolutionBuilderWithWatch:()=>Htt,createSolutionBuilderWithWatchHost:()=>jtt,createSortedArray:()=>xt,createSourceFile:()=>KV,createSourceMapGenerator:()=>jAe,createSourceMapSource:()=>RYe,createSuperAccessVariableStatement:()=>fQ,createSymbolTable:()=>Vo,createSymlinkCache:()=>ble,createSystemWatchFunctions:()=>E2e,createTextChange:()=>VH,createTextChangeFromStartLength:()=>gX,createTextChangeRange:()=>OO,createTextRangeFromNode:()=>tfe,createTextRangeFromSpan:()=>pX,createTextSpan:()=>d1,createTextSpanFromBounds:()=>Vc,createTextSpanFromNode:()=>of,createTextSpanFromRange:()=>qx,createTextSpanFromStringLiteralLikeContent:()=>efe,createTextWriter:()=>Vj,createTokenRange:()=>fle,createTypeChecker:()=>PAe,createTypeReferenceDirectiveResolutionCache:()=>HY,createTypeReferenceResolutionLoader:()=>kQ,createUnparsedSourceFile:()=>nce,createWatchCompilerHost:()=>ztt,createWatchCompilerHostOfConfigFile:()=>h9e,createWatchCompilerHostOfFilesAndCompilerOptions:()=>f9e,createWatchFactory:()=>ihe,createWatchHost:()=>the,createWatchProgram:()=>Itt,createWatchStatusReporter:()=>s9e,createWriteFileMeasuringIO:()=>v1e,declarationNameToString:()=>b0,decodeMappings:()=>Gde,decodedTextSpanIntersectsWith:()=>RO,decorateHelper:()=>BZ,deduplicate:()=>ri,defaultIncludeSpec:()=>RY,defaultInitCompilerOptions:()=>zY,defaultMaximumTruncationLength:()=>lV,detectSortCaseSensitivity:()=>cn,diagnosticCategoryName:()=>Gy,diagnosticToString:()=>jk,directoryProbablyExists:()=>hg,directorySeparator:()=>rl,displayPart:()=>yf,displayPartsToString:()=>EK,disposeEmitNodes:()=>oce,disposeResourcesHelper:()=>tY,documentSpansEqual:()=>bX,dumpTracingLegend:()=>m2e,elementAt:()=>qD,elideNodes:()=>OFe,emitComments:()=>Aye,emitDetachedComments:()=>Sye,emitFiles:()=>EQ,emitFilesAndReportErrors:()=>VQ,emitFilesAndReportErrorsAndGetExitStatus:()=>d9e,emitModuleKindIsNonNodeESM:()=>Yq,emitNewLineBeforeLeadingCommentOfPosition:()=>Fye,emitNewLineBeforeLeadingComments:()=>yye,emitNewLineBeforeLeadingCommentsOfPosition:()=>kye,emitSkippedWithNoDiagnostics:()=>PQ,emitUsingBuildInfo:()=>w7e,emptyArray:()=>_t,emptyFileSystemEntries:()=>bZ,emptyMap:()=>iU,emptyOptions:()=>d4,emptySet:()=>u2e,endsWith:()=>sc,ensurePathIsNonModuleName:()=>h2,ensureScriptKind:()=>oZ,ensureTrailingDirectorySeparator:()=>zd,entityNameToString:()=>zf,enumerateInsertsAndDeletes:()=>eU,equalOwnProperties:()=>ZA,equateStringsCaseInsensitive:()=>QA,equateStringsCaseSensitive:()=>XA,equateValues:()=>Cx,esDecorateHelper:()=>LZ,escapeJsxAttributeString:()=>X0e,escapeLeadingUnderscores:()=>Al,escapeNonAsciiString:()=>jj,escapeSnippetText:()=>O2,escapeString:()=>Av,every:()=>ye,expandPreOrPostfixIncrementOrDecrementExpression:()=>DY,explainFiles:()=>Z1e,explainIfFileIsRedirectAndImpliedFormat:()=>Y1e,exportAssignmentIsAlias:()=>tB,exportStarHelper:()=>ZZ,expressionResultIsUnused:()=>Dke,extend:()=>$$,extendsHelper:()=>jZ,extensionFromPath:()=>y7,extensionIsTS:()=>cZ,extensionsNotSupportingExtensionlessResolution:()=>fV,externalHelpersModuleNameText:()=>Hx,factory:()=>q,fileExtensionIs:()=>Ml,fileExtensionIsOneOf:()=>jc,fileIncludeReasonToDiagnostics:()=>ehe,fileShouldUseJavaScriptRequire:()=>Bfe,filter:()=>ti,filterMutate:()=>Uu,filterSemanticDiagnostics:()=>BQ,find:()=>Le,findAncestor:()=>Tn,findBestPatternMatch:()=>coe,findChildOfKind:()=>a0,findComputedPropertyNameCacheAssignment:()=>FY,findConfigFile:()=>N7e,findContainingList:()=>oX,findDiagnosticForNode:()=>TSe,findFirstNonJsxWhitespaceToken:()=>Y9e,findIndex:()=>Ue,findLast:()=>lt,findLastIndex:()=>Ze,findListItemInfo:()=>Z9e,findMap:()=>rt,findModifier:()=>ow,findNextToken:()=>ib,findPackageJson:()=>BSe,findPackageJsons:()=>vfe,findPrecedingMatchingToken:()=>fX,findPrecedingToken:()=>td,findSuperStatementIndexPath:()=>sQ,findTokenOnLeftOfPosition:()=>cX,findUseStrictPrologue:()=>Rce,first:()=>Pn,firstDefined:()=>G,firstDefinedIterator:()=>ie,firstIterator:()=>Oa,firstOrOnly:()=>Ffe,firstOrUndefined:()=>Ki,firstOrUndefinedIterator:()=>Hn,fixupCompilerOptions:()=>Yfe,flatMap:()=>ju,flatMapIterator:()=>pa,flatMapToMutable:()=>Tr,flatten:()=>Va,flattenCommaList:()=>HFe,flattenDestructuringAssignment:()=>wk,flattenDestructuringBinding:()=>Q2,flattenDiagnosticMessageText:()=>lE,forEach:()=>L,forEachAncestor:()=>ybe,forEachAncestorDirectory:()=>Ug,forEachChild:()=>ao,forEachChildRecursively:()=>uM,forEachEmittedFile:()=>d1e,forEachEnclosingBlockScopeContainer:()=>Ibe,forEachEntry:()=>h1,forEachExternalModuleToImportFrom:()=>zfe,forEachImportClauseDeclaration:()=>Fq,forEachKey:()=>U_,forEachLeadingCommentRange:()=>NO,forEachNameInAccessChainWalkingLeft:()=>Zye,forEachPropertyAssignment:()=>J8,forEachResolvedProjectReference:()=>S1e,forEachReturnStatement:()=>y2,forEachRight:()=>O,forEachTrailingCommentRange:()=>PO,forEachTsConfigPropArray:()=>hj,forEachUnique:()=>lfe,forEachYieldExpression:()=>Kbe,forSomeAncestorDirectory:()=>rYe,formatColorAndReset:()=>eb,formatDiagnostic:()=>b1e,formatDiagnostics:()=>att,formatDiagnosticsWithColorAndContext:()=>z7e,formatGeneratedName:()=>jv,formatGeneratedNamePart:()=>RB,formatLocation:()=>y1e,formatMessage:()=>Dle,formatStringFromArgs:()=>e3,formatting:()=>dd,fullTripleSlashAMDReferencePathRegEx:()=>Hle,fullTripleSlashReferencePathRegEx:()=>Vle,generateDjb2Hash:()=>AN,generateTSConfig:()=>rXe,generatorHelper:()=>$Z,getAdjustedReferenceLocation:()=>Jhe,getAdjustedRenameLocation:()=>lX,getAliasDeclarationFromName:()=>H0e,getAllAccessorDeclarations:()=>dk,getAllDecoratorsOfClass:()=>Zde,getAllDecoratorsOfClassElement:()=>cQ,getAllJSDocTags:()=>Vse,getAllJSDocTagsOfKind:()=>_Ze,getAllKeys:()=>Bm,getAllProjectOutputs:()=>gQ,getAllSuperTypeNodes:()=>uP,getAllUnscopedEmitHelpers:()=>hce,getAllowJSCompilerOption:()=>Bv,getAllowSyntheticDefaultImports:()=>C7,getAncestor:()=>Fv,getAnyExtensionFromPath:()=>BN,getAreDeclarationMapsEnabled:()=>Xq,getAssignedExpandoInitializer:()=>l7,getAssignedName:()=>zse,getAssignedNameOfIdentifier:()=>_M,getAssignmentDeclarationKind:()=>Xl,getAssignmentDeclarationPropertyAccessKind:()=>yj,getAssignmentTargetKind:()=>f7,getAutomaticTypeDirectiveNames:()=>VY,getBaseFileName:()=>Ac,getBinaryOperatorPrecedence:()=>Oj,getBuildInfo:()=>_Q,getBuildInfoFileVersionMap:()=>V1e,getBuildInfoText:()=>B7e,getBuildOrderFromAnyBuildOrder:()=>JQ,getBuilderCreationParameters:()=>MQ,getBuilderFileEmit:()=>Ux,getCheckFlags:()=>Gl,getClassExtendsHeritageElement:()=>B2,getClassLikeDeclarationOfSymbol:()=>tD,getCombinedLocalAndExportSymbolFlags:()=>xP,getCombinedModifierFlags:()=>m2,getCombinedNodeFlags:()=>QD,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>Pse,getCommentRange:()=>nE,getCommonSourceDirectory:()=>yM,getCommonSourceDirectoryOfConfig:()=>kM,getCompilerOptionValue:()=>tZ,getCompilerOptionsDiffValue:()=>nXe,getConditions:()=>$2,getConfigFileParsingDiagnostics:()=>Lk,getConstantValue:()=>jke,getContainerFlags:()=>Lde,getContainerNode:()=>Mk,getContainingClass:()=>Yd,getContainingClassExcludingClassDecorators:()=>hq,getContainingClassStaticBlock:()=>Qbe,getContainingFunction:()=>Nm,getContainingFunctionDeclaration:()=>Ybe,getContainingFunctionOrClassStaticBlock:()=>dq,getContainingNodeArray:()=>xke,getContainingObjectLiteralElement:()=>_K,getContextualTypeFromParent:()=>SX,getContextualTypeFromParentOrAncestorTypeNode:()=>sX,getCurrentTime:()=>AH,getDeclarationDiagnostics:()=>F7e,getDeclarationEmitExtensionForPath:()=>Kj,getDeclarationEmitOutputFilePath:()=>Dye,getDeclarationEmitOutputFilePathWorker:()=>Mq,getDeclarationFromName:()=>nP,getDeclarationModifierFlagsFromSymbol:()=>l4,getDeclarationOfKind:()=>Sl,getDeclarationsOfKind:()=>vbe,getDeclaredExpandoInitializer:()=>xj,getDecorators:()=>Ax,getDefaultCompilerOptions:()=>gee,getDefaultExportInfoWorker:()=>GX,getDefaultFormatCodeSettings:()=>XQ,getDefaultLibFileName:()=>zO,getDefaultLibFilePath:()=>tBe,getDefaultLikeExportInfo:()=>WX,getDiagnosticText:()=>$Qe,getDiagnosticsWithinSpan:()=>LSe,getDirectoryPath:()=>lr,getDirectoryToWatchFailedLookupLocation:()=>J1e,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>r9e,getDocumentPositionMapper:()=>Gfe,getESModuleInterop:()=>e_,getEditsForFileRename:()=>VSe,getEffectiveBaseTypeNode:()=>Qg,getEffectiveConstraintOfTypeParameter:()=>w8,getEffectiveContainerForJSDocTemplateTag:()=>Aq,getEffectiveImplementsTypeNodes:()=>iB,getEffectiveInitializer:()=>Dj,getEffectiveJSDocHost:()=>ok,getEffectiveModifierFlags:()=>Eh,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>Lye,getEffectiveModifierFlagsNoCache:()=>Nye,getEffectiveReturnTypeNode:()=>U4,getEffectiveSetAccessorTypeAnnotationNode:()=>bye,getEffectiveTypeAnnotationNode:()=>f1,getEffectiveTypeParameterDeclarations:()=>Sx,getEffectiveTypeRoots:()=>cM,getElementOrPropertyAccessArgumentExpressionOrName:()=>kq,getElementOrPropertyAccessName:()=>Q3,getElementsOfBindingOrAssignmentPattern:()=>IB,getEmitDeclarations:()=>c4,getEmitFlags:()=>bs,getEmitHelpers:()=>SZ,getEmitModuleDetectionKind:()=>nke,getEmitModuleKind:()=>m1,getEmitModuleResolutionKind:()=>p1,getEmitScriptTarget:()=>Os,getEmitStandardClassFields:()=>ake,getEnclosingBlockScopeContainer:()=>YE,getEnclosingContainer:()=>C0e,getEncodedSemanticClassifications:()=>Ofe,getEncodedSyntacticClassifications:()=>jfe,getEndLinePosition:()=>uj,getEntityNameFromTypeNode:()=>pj,getEntrypointsFromPackageJsonInfo:()=>kde,getErrorCountForSummary:()=>OQ,getErrorSpanForNode:()=>C2,getErrorSummaryText:()=>l9e,getEscapedTextOfIdentifierOrLiteral:()=>oP,getEscapedTextOfJsxAttributeName:()=>MP,getEscapedTextOfJsxNamespacedName:()=>k7,getExpandoInitializer:()=>yv,getExportAssignmentExpression:()=>K0e,getExportInfoMap:()=>tK,getExportNeedsImportStarHelper:()=>GAe,getExpressionAssociativity:()=>q0e,getExpressionPrecedence:()=>lP,getExternalHelpersModuleName:()=>zV,getExternalModuleImportEqualsDeclarationExpression:()=>XN,getExternalModuleName:()=>Y8,getExternalModuleNameFromDeclaration:()=>Eye,getExternalModuleNameFromPath:()=>tle,getExternalModuleNameLiteral:()=>W7,getExternalModuleRequireArgument:()=>w0e,getFallbackOptions:()=>xH,getFileEmitOutput:()=>K7e,getFileMatcherPatterns:()=>aZ,getFileNamesFromConfigSpecs:()=>oM,getFileWatcherEventKind:()=>xse,getFilesInErrorForSummary:()=>jQ,getFirstConstructorWithBody:()=>X_,getFirstIdentifier:()=>hm,getFirstNonSpaceCharacterPosition:()=>bSe,getFirstProjectOutput:()=>h1e,getFixableErrorSpanExpression:()=>yfe,getFormatCodeSettingsForWriting:()=>jX,getFullWidth:()=>ij,getFunctionFlags:()=>kd,getHeritageClause:()=>Mj,getHostSignatureFromJSDoc:()=>kv,getIdentifierAutoGenerate:()=>KYe,getIdentifierGeneratedImportReference:()=>Jke,getIdentifierTypeArguments:()=>gk,getImmediatelyInvokedFunctionExpression:()=>nk,getImpliedNodeFormatForFile:()=>bH,getImpliedNodeFormatForFileWorker:()=>T1e,getImportNeedsImportDefaultHelper:()=>$de,getImportNeedsImportStarHelper:()=>aQ,getIndentSize:()=>oB,getIndentString:()=>Nq,getInferredLibraryNameResolveFrom:()=>AQ,getInitializedVariables:()=>DP,getInitializerOfBinaryExpression:()=>M0e,getInitializerOfBindingOrAssignmentElement:()=>RV,getInterfaceBaseTypeNodes:()=>rP,getInternalEmitFlags:()=>Pp,getInvokedExpression:()=>pq,getIsolatedModules:()=>mg,getJSDocAugmentsTag:()=>K2e,getJSDocClassTag:()=>Ise,getJSDocCommentRanges:()=>k0e,getJSDocCommentsAndTags:()=>I0e,getJSDocDeprecatedTag:()=>Rse,getJSDocDeprecatedTagNoCache:()=>Z2e,getJSDocEnumTag:()=>Ose,getJSDocHost:()=>h7,getJSDocImplementsTags:()=>W2e,getJSDocOverrideTagNoCache:()=>q2e,getJSDocParameterTags:()=>B8,getJSDocParameterTagsNoCache:()=>O2e,getJSDocPrivateTag:()=>fZe,getJSDocPrivateTagNoCache:()=>J2e,getJSDocProtectedTag:()=>mZe,getJSDocProtectedTagNoCache:()=>$2e,getJSDocPublicTag:()=>hZe,getJSDocPublicTagNoCache:()=>G2e,getJSDocReadonlyTag:()=>pZe,getJSDocReadonlyTagNoCache:()=>U2e,getJSDocReturnTag:()=>Y2e,getJSDocReturnType:()=>VO,getJSDocRoot:()=>iP,getJSDocSatisfiesExpressionType:()=>Rle,getJSDocSatisfiesTag:()=>jse,getJSDocTags:()=>Cv,getJSDocTagsNoCache:()=>EZe,getJSDocTemplateTag:()=>gZe,getJSDocThisTag:()=>LU,getJSDocType:()=>vv,getJSDocTypeAliasName:()=>Vce,getJSDocTypeAssertionType:()=>vY,getJSDocTypeParameterDeclarations:()=>Oq,getJSDocTypeParameterTags:()=>j2e,getJSDocTypeParameterTagsNoCache:()=>V2e,getJSDocTypeTag:()=>xv,getJSXImplicitImportBase:()=>nZ,getJSXRuntimeImport:()=>uZ,getJSXTransformEnabled:()=>iZ,getKeyForCompilerOptions:()=>vde,getLanguageVariant:()=>Yj,getLastChild:()=>Ele,getLeadingCommentRanges:()=>W_,getLeadingCommentRangesOfNode:()=>y0e,getLeftmostAccessExpression:()=>CP,getLeftmostExpression:()=>dB,getLibraryNameFromLibFileName:()=>B1e,getLineAndCharacterOfPosition:()=>s0,getLineInfo:()=>Kde,getLineOfLocalPosition:()=>dP,getLineOfLocalPositionFromLineMap:()=>lk,getLineStartPositionForPosition:()=>tp,getLineStarts:()=>$3,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Gye,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>Wye,getLinesBetweenPositions:()=>LN,getLinesBetweenRangeEndAndRangeStart:()=>mle,getLinesBetweenRangeEndPositions:()=>nYe,getLiteralText:()=>wbe,getLocalNameForExternalImport:()=>zB,getLocalSymbolForExportDefault:()=>lB,getLocaleSpecificMessage:()=>to,getLocaleTimeString:()=>FH,getMappedContextSpan:()=>cfe,getMappedDocumentSpan:()=>yX,getMappedLocation:()=>zM,getMatchedFileSpec:()=>Q1e,getMatchedIncludeSpec:()=>X1e,getMeaningFromDeclaration:()=>TH,getMeaningFromLocation:()=>Pk,getMembersOfDeclaration:()=>Wbe,getModeForFileReference:()=>yQ,getModeForResolutionAtIndex:()=>k1e,getModeForUsageLocation:()=>xg,getModifiedTime:()=>e7,getModifiers:()=>p2,getModuleInstanceState:()=>oD,getModuleNameStringLiteralAt:()=>TQ,getModuleSpecifierEndingPreference:()=>Sle,getModuleSpecifierResolverHost:()=>rfe,getNameForExportedSymbol:()=>IX,getNameFromIndexInfo:()=>Rbe,getNameFromPropertyName:()=>WH,getNameOfAccessExpression:()=>Uye,getNameOfCompilerOptionValue:()=>rde,getNameOfDeclaration:()=>Za,getNameOfExpando:()=>N0e,getNameOfJSDocTypedef:()=>R2e,getNameOrArgument:()=>bj,getNameTable:()=>Tme,getNamesForExportedSymbol:()=>NSe,getNamespaceDeclarationNode:()=>Q8,getNewLineCharacter:()=>a5,getNewLineKind:()=>eK,getNewLineOrDefaultFromHost:()=>E5,getNewTargetContainer:()=>eye,getNextJSDocCommentLocation:()=>R0e,getNodeForGeneratedName:()=>jV,getNodeId:()=>$s,getNodeKind:()=>tb,getNodeModifiers:()=>NM,getNodeModulePathParts:()=>pZ,getNonAssignedNameOfDeclaration:()=>TU,getNonAssignmentOperatorForCompoundAssignment:()=>pM,getNonAugmentationDeclaration:()=>g0e,getNonDecoratorTokenPosOfNode:()=>d0e,getNormalizedAbsolutePath:()=>$a,getNormalizedAbsolutePathWithoutRoot:()=>Fse,getNormalizedPathComponents:()=>FO,getObjectFlags:()=>Gu,getOperator:()=>Y0e,getOperatorAssociativity:()=>Z0e,getOperatorPrecedence:()=>Rj,getOptionFromName:()=>ede,getOptionsForLibraryResolution:()=>bde,getOptionsNameMap:()=>jB,getOrCreateEmitNode:()=>P1,getOrCreateExternalHelpersModuleNameIfNeeded:()=>wFe,getOrUpdate:()=>W0,getOriginalNode:()=>Wl,getOriginalNodeId:()=>M1,getOriginalSourceFile:()=>$Ze,getOutputDeclarationFileName:()=>bM,getOutputExtension:()=>pQ,getOutputFileNames:()=>ntt,getOutputPathsFor:()=>CM,getOutputPathsForBundle:()=>vM,getOwnEmitOutputFilePath:()=>_ye,getOwnKeys:()=>Ns,getOwnValues:()=>U1,getPackageJsonInfo:()=>U2,getPackageJsonTypesVersionsPaths:()=>jY,getPackageJsonsVisibleToFile:()=>wSe,getPackageNameFromTypesPackageName:()=>hM,getPackageScopeForPath:()=>aH,getParameterSymbolFromJSDoc:()=>Tj,getParameterTypeNode:()=>gYe,getParentNodeInSpan:()=>JH,getParseTreeNode:()=>Ua,getParsedCommandLineOfConfigFile:()=>GV,getPathComponents:()=>yd,getPathComponentsRelativeTo:()=>Sse,getPathFromPathComponents:()=>yx,getPathUpdater:()=>Kfe,getPathsBasePath:()=>zq,getPatternFromSpec:()=>Fle,getPendingEmitKind:()=>XB,getPositionOfLineAndCharacter:()=>TO,getPossibleGenericSignatures:()=>Uhe,getPossibleOriginalInputExtensionForExtension:()=>xye,getPossibleTypeArgumentsInfo:()=>qhe,getPreEmitDiagnostics:()=>rtt,getPrecedingNonSpaceCharacterPosition:()=>FX,getPrivateIdentifier:()=>Yde,getProperties:()=>qde,getProperty:()=>uo,getPropertyArrayElementValue:()=>Zbe,getPropertyAssignmentAliasLikeExpression:()=>fye,getPropertyNameForPropertyNameNode:()=>sk,getPropertyNameForUniqueESSymbol:()=>GZe,getPropertyNameFromType:()=>Q4,getPropertyNameOfBindingOrAssignmentElement:()=>jce,getPropertySymbolFromBindingElement:()=>CX,getPropertySymbolsFromContextualType:()=>_ee,getQuoteFromPreference:()=>ofe,getQuotePreference:()=>Hm,getRangesWhere:()=>eu,getRefactorContextSpan:()=>u9,getReferencedFileLocation:()=>FM,getRegexFromPattern:()=>jx,getRegularExpressionForWildcard:()=>yP,getRegularExpressionsForWildcards:()=>rZ,getRelativePathFromDirectory:()=>JE,getRelativePathFromFile:()=>SO,getRelativePathToDirectoryOrUrl:()=>i7,getRenameLocation:()=>qH,getReplacementSpanForContextToken:()=>Xhe,getResolutionDiagnostic:()=>P1e,getResolutionModeOverride:()=>qB,getResolveJsonModule:()=>M2,getResolvePackageJsonExports:()=>vle,getResolvePackageJsonImports:()=>cYe,getResolvedExternalModuleName:()=>Pq,getRestIndicatorOfBindingOrAssignmentElement:()=>bY,getRestParameterElementType:()=>F0e,getRightMostAssignedExpression:()=>vj,getRootDeclaration:()=>XE,getRootDirectoryOfResolutionCache:()=>a9e,getRootLength:()=>WE,getRootPathSplitLength:()=>Btt,getScriptKind:()=>pfe,getScriptKindFromFileName:()=>sZ,getScriptTargetFeatures:()=>xZ,getSelectedEffectiveModifierFlags:()=>E7,getSelectedSyntacticModifierFlags:()=>wye,getSemanticClassifications:()=>ISe,getSemanticJsxChildren:()=>uB,getSetAccessorTypeAnnotationNode:()=>vye,getSetAccessorValueParameter:()=>hP,getSetExternalModuleIndicator:()=>Qj,getShebang:()=>SU,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>z0e,getSingleVariableOfVariableStatement:()=>eB,getSnapshotText:()=>aw,getSnippetElement:()=>sce,getSourceFileOfModule:()=>YU,getSourceFileOfNode:()=>zn,getSourceFilePathInNewDir:()=>Iq,getSourceFilePathInNewDirWorker:()=>Rq,getSourceFileVersionAsHashFromText:()=>HQ,getSourceFilesToEmit:()=>ile,getSourceMapRange:()=>Lv,getSourceMapper:()=>XSe,getSourceTextOfNodeFromSourceFile:()=>x2,getSpanOfTokenAtPosition:()=>QE,getSpellingSuggestion:()=>bN,getStartPositionOfLine:()=>Mx,getStartPositionOfRange:()=>_P,getStartsOnNewLine:()=>RP,getStaticPropertiesAndClassStaticBlock:()=>lQ,getStrictOptionValue:()=>Z4,getStringComparer:()=>CN,getSuperCallFromStatement:()=>oQ,getSuperContainer:()=>fj,getSupportedCodeFixes:()=>Bme,getSupportedExtensions:()=>kP,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>tV,getSwitchedType:()=>Dfe,getSymbolId:()=>Zo,getSymbolNameForPrivateIdentifier:()=>zj,getSymbolTarget:()=>vSe,getSyntacticClassifications:()=>RSe,getSyntacticModifierFlags:()=>Rx,getSyntacticModifierFlagsNoCache:()=>ale,getSynthesizedDeepClone:()=>ll,getSynthesizedDeepCloneWithReplacements:()=>UH,getSynthesizedDeepClones:()=>nb,getSynthesizedDeepClonesWithReplacements:()=>gfe,getSyntheticLeadingComments:()=>DB,getSyntheticTrailingComments:()=>DV,getTargetLabel:()=>nX,getTargetOfBindingOrAssignmentElement:()=>$x,getTemporaryModuleResolutionState:()=>rH,getTextOfConstantValue:()=>Tbe,getTextOfIdentifierOrLiteral:()=>J4,getTextOfJSDocComment:()=>KO,getTextOfJsxAttributeName:()=>sV,getTextOfJsxNamespacedName:()=>zP,getTextOfNode:()=>Hc,getTextOfNodeFromSourceText:()=>JN,getTextOfPropertyName:()=>V8,getThisContainer:()=>tf,getThisParameter:()=>T2,getTokenAtPosition:()=>Ca,getTokenPosOfNode:()=>ek,getTokenSourceMapRange:()=>VYe,getTouchingPropertyName:()=>af,getTouchingToken:()=>LM,getTrailingCommentRanges:()=>gv,getTrailingSemicolonDeferringWriter:()=>ele,getTransformFlagsSubtreeExclusions:()=>Mke,getTransformers:()=>l1e,getTsBuildInfoEmitOutputFilePath:()=>f5,getTsConfigObjectLiteralExpression:()=>ZN,getTsConfigPropArrayElementValue:()=>cq,getTypeAnnotationNode:()=>Cye,getTypeArgumentOrTypeParameterList:()=>rSe,getTypeKeywordOfTypeOnlyImport:()=>sfe,getTypeNode:()=>Wke,getTypeNodeIfAccessible:()=>VM,getTypeParameterFromJsDoc:()=>oye,getTypeParameterOwner:()=>oZe,getTypesPackageName:()=>$Y,getUILocale:()=>ZCe,getUniqueName:()=>Ok,getUniqueSymbolId:()=>CSe,getUseDefineForClassFields:()=>eV,getWatchErrorSummaryDiagnosticMessage:()=>U1e,getWatchFactory:()=>E1e,group:()=>vN,groupBy:()=>JCe,guessIndentation:()=>Dbe,handleNoEmitOptions:()=>L1e,hasAbstractModifier:()=>P2,hasAccessorModifier:()=>eE,hasAmbientModifier:()=>rle,hasChangesInResolutions:()=>s0e,hasChildOfKind:()=>RH,hasContextSensitiveParameters:()=>fZ,hasDecorators:()=>o4,hasDocComment:()=>nSe,hasDynamicName:()=>Ix,hasEffectiveModifier:()=>Rf,hasEffectiveModifiers:()=>jq,hasEffectiveReadonlyModifier:()=>fP,hasExtension:()=>t7,hasIndexSignature:()=>_fe,hasInitializer:()=>Nx,hasInvalidEscape:()=>Q0e,hasJSDocNodes:()=>lm,hasJSDocParameterTags:()=>H2e,hasJSFileExtension:()=>z2,hasJsonModuleEmitEnabled:()=>Qq,hasOnlyExpressionInitializer:()=>Qy,hasOverrideModifier:()=>Vq,hasPossibleExternalModuleReference:()=>zbe,hasProperty:()=>gu,hasPropertyAccessExpressionWithName:()=>NH,hasQuestionToken:()=>d7,hasRecordedExternalHelpers:()=>BFe,hasResolutionModeOverride:()=>kke,hasRestParameter:()=>u0e,hasScopeMarker:()=>dbe,hasStaticModifier:()=>Kc,hasSyntacticModifier:()=>Yu,hasSyntacticModifiers:()=>Bye,hasTSFileExtension:()=>mk,hasTabstop:()=>Cke,hasTrailingDirectorySeparator:()=>ZD,hasType:()=>JU,hasTypeArguments:()=>jZe,hasZeroOrOneAsteriskCharacter:()=>Cle,helperString:()=>dce,hostGetCanonicalFileName:()=>n5,hostUsesCaseSensitiveFileNames:()=>Hj,idText:()=>fu,identifierIsThisKeyword:()=>ule,identifierToKeywordKind:()=>Dv,identity:()=>il,identitySourceMapConsumer:()=>rQ,ignoreSourceNewlines:()=>cce,ignoredPaths:()=>kO,importDefaultHelper:()=>qZ,importFromModuleSpecifier:()=>tP,importNameElisionDisabled:()=>xle,importStarHelper:()=>vV,indexOfAnyCharCode:()=>jt,indexOfNode:()=>j8,indicesOf:()=>$r,inferredTypesContainingFile:()=>QB,injectClassNamedEvaluationHelperBlockIfMissing:()=>hQ,injectClassThisAssignmentIfMissing:()=>e7e,insertImports:()=>MM,insertLeadingStatement:()=>oQe,insertSorted:()=>Tt,insertStatementAfterCustomPrologue:()=>Xy,insertStatementAfterStandardPrologue:()=>wZe,insertStatementsAfterCustomPrologue:()=>l0e,insertStatementsAfterStandardPrologue:()=>ZE,intersperse:()=>_e,intrinsicTagNameToString:()=>Ole,introducesArgumentsExoticObject:()=>Ube,inverseJsxOptionMap:()=>sM,isAbstractConstructorSymbol:()=>Jye,isAbstractModifier:()=>tFe,isAccessExpression:()=>I0,isAccessibilityModifier:()=>Yhe,isAccessor:()=>wx,isAccessorModifier:()=>nFe,isAliasSymbolDeclaration:()=>HZe,isAliasableExpression:()=>Pj,isAmbientModule:()=>N1,isAmbientPropertyDeclaration:()=>_0e,isAnonymousFunctionDefinition:()=>sP,isAnyDirectorySeparator:()=>bse,isAnyImportOrBareOrAccessedRequire:()=>Mbe,isAnyImportOrReExport:()=>aj,isAnyImportSyntax:()=>tk,isAnySupportedFileExtension:()=>pYe,isApplicableVersionedTypesKey:()=>sH,isArgumentExpressionOfElementAccess:()=>jhe,isArray:()=>Ha,isArrayBindingElement:()=>jU,isArrayBindingOrAssignmentElement:()=>ZO,isArrayBindingOrAssignmentPattern:()=>Qse,isArrayBindingPattern:()=>_k,isArrayLiteralExpression:()=>Dh,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>p5,isArrayTypeNode:()=>oY,isArrowFunction:()=>q0,isAsExpression:()=>AV,isAssertClause:()=>dFe,isAssertEntry:()=>XYe,isAssertionExpression:()=>Yy,isAssertsKeyword:()=>Xke,isAssignmentDeclaration:()=>eP,isAssignmentExpression:()=>ld,isAssignmentOperator:()=>u5,isAssignmentPattern:()=>KN,isAssignmentTarget:()=>Q_,isAsteriskToken:()=>yV,isAsyncFunction:()=>aP,isAsyncModifier:()=>VP,isAutoAccessorPropertyDeclaration:()=>ef,isAwaitExpression:()=>Gx,isAwaitKeyword:()=>_ce,isBigIntLiteral:()=>iY,isBinaryExpression:()=>Xn,isBinaryOperatorToken:()=>RFe,isBindableObjectDefinePropertyCall:()=>rk,isBindableStaticAccessExpression:()=>A2,isBindableStaticElementAccessExpression:()=>yq,isBindableStaticNameExpression:()=>ak,isBindingElement:()=>js,isBindingElementOfBareOrAccessedRequire:()=>nye,isBindingName:()=>qy,isBindingOrAssignmentElement:()=>rbe,isBindingOrAssignmentPattern:()=>UO,isBindingPattern:()=>So,isBlock:()=>po,isBlockOrCatchScoped:()=>h0e,isBlockScope:()=>D0e,isBlockScopedContainerTopLevel:()=>Pbe,isBooleanLiteral:()=>HN,isBreakOrContinueStatement:()=>ON,isBreakStatement:()=>ZYe,isBuildInfoFile:()=>S7e,isBuilderProgram:()=>c9e,isBundle:()=>kce,isBundleFileTextLike:()=>qye,isCallChain:()=>$y,isCallExpression:()=>Mo,isCallExpressionTarget:()=>Phe,isCallLikeExpression:()=>D2,isCallLikeOrFunctionLikeExpression:()=>Xse,isCallOrNewExpression:()=>$E,isCallOrNewExpressionTarget:()=>Mhe,isCallSignatureDeclaration:()=>CB,isCallToHelper:()=>jP,isCaseBlock:()=>ZP,isCaseClause:()=>BB,isCaseKeyword:()=>uFe,isCaseOrDefaultClause:()=>WU,isCatchClause:()=>G2,isCatchClauseVariableDeclaration:()=>vke,isCatchClauseVariableDeclarationOrBindingElement:()=>f0e,isCheckJsEnabledForFile:()=>uV,isChildOfNodeWithKind:()=>TZe,isCircularBuildOrder:()=>e9,isClassDeclaration:()=>Wc,isClassElement:()=>Zd,isClassExpression:()=>Xd,isClassInstanceProperty:()=>ibe,isClassLike:()=>mr,isClassMemberModifier:()=>qse,isClassNamedEvaluationHelperBlock:()=>X7,isClassOrTypeElement:()=>OU,isClassStaticBlockDeclaration:()=>zl,isClassThisAssignmentBlock:()=>EM,isCollapsedRange:()=>iYe,isColonToken:()=>Yke,isCommaExpression:()=>MV,isCommaListExpression:()=>UP,isCommaSequence:()=>eM,isCommaToken:()=>Zke,isComment:()=>mX,isCommonJsExportPropertyAssignment:()=>sq,isCommonJsExportedExpression:()=>Jbe,isCompoundAssignment:()=>mM,isComputedNonLiteralName:()=>oj,isComputedPropertyName:()=>Ps,isConciseBody:()=>HU,isConditionalExpression:()=>SB,isConditionalTypeNode:()=>FB,isConstTypeReference:()=>q3,isConstructSignatureDeclaration:()=>FV,isConstructorDeclaration:()=>hc,isConstructorTypeNode:()=>WP,isContextualKeyword:()=>Bq,isContinueStatement:()=>qYe,isCustomPrologue:()=>dj,isDebuggerStatement:()=>YYe,isDeclaration:()=>Q1,isDeclarationBindingElement:()=>$O,isDeclarationFileName:()=>e1,isDeclarationName:()=>X3,isDeclarationNameOfEnumOrNamespace:()=>ple,isDeclarationReadonly:()=>uq,isDeclarationStatement:()=>pbe,isDeclarationWithTypeParameterChildren:()=>v0e,isDeclarationWithTypeParameters:()=>x0e,isDecorator:()=>g1,isDecoratorTarget:()=>W9e,isDefaultClause:()=>TV,isDefaultImport:()=>c7,isDefaultModifier:()=>rY,isDefaultedExpandoInitializer:()=>uye,isDeleteExpression:()=>oFe,isDeleteTarget:()=>V0e,isDeprecatedDeclaration:()=>RX,isDestructuringAssignment:()=>r5,isDiagnosticWithLocation:()=>bfe,isDiskPathRoot:()=>yse,isDoStatement:()=>$Ye,isDocumentRegistryEntry:()=>iK,isDotDotDotToken:()=>nY,isDottedName:()=>pP,isDynamicName:()=>Lq,isESSymbolIdentifier:()=>JZe,isEffectiveExternalModule:()=>s7,isEffectiveModuleDeclaration:()=>Nbe,isEffectiveStrictModeSourceFile:()=>E0e,isElementAccessChain:()=>Hse,isElementAccessExpression:()=>U0,isEmittedFileOfProgram:()=>L7e,isEmptyArrayLiteral:()=>Iye,isEmptyBindingElement:()=>z2e,isEmptyBindingPattern:()=>M2e,isEmptyObjectLiteral:()=>dle,isEmptyStatement:()=>Cce,isEmptyStringLiteral:()=>B0e,isEntityName:()=>sm,isEntityNameExpression:()=>ec,isEnumConst:()=>b2,isEnumDeclaration:()=>Iv,isEnumMember:()=>J2,isEqualityOperatorKind:()=>BX,isEqualsGreaterThanToken:()=>Qke,isExclamationToken:()=>kV,isExcludedFile:()=>QFe,isExclusivelyTypeOnlyImportOrExport:()=>F1e,isExpandoPropertyDeclaration:()=>EZ,isExportAssignment:()=>tc,isExportDeclaration:()=>Gc,isExportModifier:()=>L7,isExportName:()=>xY,isExportNamespaceAsDefaultDeclaration:()=>eq,isExportOrDefaultModifier:()=>OV,isExportSpecifier:()=>eh,isExportsIdentifier:()=>uk,isExportsOrModuleExportsOrAlias:()=>q2,isExpression:()=>Wt,isExpressionNode:()=>Z_,isExpressionOfExternalModuleImportEqualsDeclaration:()=>U9e,isExpressionOfOptionalChainRoot:()=>MU,isExpressionStatement:()=>Od,isExpressionWithTypeArguments:()=>c5,isExpressionWithTypeArgumentsInClassExtendsClause:()=>Jj,isExternalModule:()=>wc,isExternalModuleAugmentation:()=>v2,isExternalModuleImportEqualsDeclaration:()=>bv,isExternalModuleIndicator:()=>YO,isExternalModuleNameRelative:()=>Id,isExternalModuleReference:()=>r_,isExternalModuleSymbol:()=>HH,isExternalOrCommonJsModule:()=>cm,isFileLevelReservedGeneratedIdentifier:()=>JO,isFileLevelUniqueName:()=>QU,isFileProbablyExternalModule:()=>HV,isFirstDeclarationOfSymbolParameter:()=>dfe,isFixablePromiseHandler:()=>Ufe,isForInOrOfStatement:()=>M8,isForInStatement:()=>hY,isForInitializer:()=>a4,isForOfStatement:()=>SV,isForStatement:()=>vk,isFunctionBlock:()=>k2,isFunctionBody:()=>t0e,isFunctionDeclaration:()=>ed,isFunctionExpression:()=>A0,isFunctionExpressionOrArrowFunction:()=>R2,isFunctionLike:()=>Co,isFunctionLikeDeclaration:()=>$0,isFunctionLikeKind:()=>a7,isFunctionLikeOrClassStaticBlockDeclaration:()=>L8,isFunctionOrConstructorTypeNode:()=>ube,isFunctionOrModuleBlock:()=>Zse,isFunctionSymbol:()=>aye,isFunctionTypeNode:()=>u3,isFutureReservedKeyword:()=>KZe,isGeneratedIdentifier:()=>al,isGeneratedPrivateIdentifier:()=>Uy,isGetAccessor:()=>Lx,isGetAccessorDeclaration:()=>zm,isGetOrSetAccessorDeclaration:()=>NU,isGlobalDeclaration:()=>Iit,isGlobalScopeAugmentation:()=>Yg,isGrammarError:()=>Sbe,isHeritageClause:()=>mm,isHoistedFunction:()=>aq,isHoistedVariableStatement:()=>oq,isIdentifier:()=>at,isIdentifierANonContextualKeyword:()=>wq,isIdentifierName:()=>hye,isIdentifierOrThisTypeNode:()=>PFe,isIdentifierPart:()=>Ev,isIdentifierStart:()=>G_,isIdentifierText:()=>Lm,isIdentifierTypePredicate:()=>qbe,isIdentifierTypeReference:()=>gke,isIfStatement:()=>xk,isIgnoredFileFromWildCardWatching:()=>DH,isImplicitGlob:()=>kle,isImportAttribute:()=>hFe,isImportAttributeName:()=>tbe,isImportAttributes:()=>fY,isImportCall:()=>dm,isImportClause:()=>n_,isImportDeclaration:()=>Sd,isImportEqualsDeclaration:()=>E1,isImportKeyword:()=>KP,isImportMeta:()=>W8,isImportOrExportSpecifier:()=>r7,isImportOrExportSpecifierName:()=>xSe,isImportSpecifier:()=>bf,isImportTypeAssertionContainer:()=>QYe,isImportTypeNode:()=>nD,isImportableFile:()=>Mfe,isInComment:()=>m5,isInCompoundLikeAssignment:()=>O0e,isInExpressionContext:()=>Eq,isInJSDoc:()=>Ej,isInJSFile:()=>Qn,isInJSXText:()=>tSe,isInJsonFile:()=>Dq,isInNonReferenceComment:()=>sSe,isInReferenceComment:()=>oSe,isInRightSideOfInternalImportEqualsDeclaration:()=>tX,isInString:()=>zk,isInTemplateString:()=>$he,isInTopLevelContext:()=>fq,isInTypeQuery:()=>ck,isIncrementalCompilation:()=>Xj,isIndexSignatureDeclaration:()=>Ek,isIndexedAccessTypeNode:()=>I7,isInferTypeNode:()=>P7,isInfinityOrNaNString:()=>LP,isInitializedProperty:()=>fH,isInitializedVariable:()=>Zj,isInsideJsxElement:()=>hX,isInsideJsxElementOrAttribute:()=>eSe,isInsideNodeModules:()=>XH,isInsideTemplateLiteral:()=>jH,isInstanceOfExpression:()=>Hq,isInstantiatedModule:()=>Rde,isInterfaceDeclaration:()=>xh,isInternalDeclaration:()=>o1e,isInternalModuleImportEqualsDeclaration:()=>U8,isInternalName:()=>Ice,isIntersectionTypeNode:()=>kB,isIntrinsicJsxName:()=>aB,isIterationStatement:()=>Tx,isJSDoc:()=>Vp,isJSDocAllType:()=>EFe,isJSDocAugmentsTag:()=>LB,isJSDocAuthorTag:()=>nQe,isJSDocCallbackTag:()=>Ace,isJSDocClassTag:()=>DFe,isJSDocCommentContainingNode:()=>GU,isJSDocConstructSignature:()=>X8,isJSDocDeprecatedTag:()=>Lce,isJSDocEnumTag:()=>LV,isJSDocFunctionType:()=>TB,isJSDocImplementsTag:()=>Nce,isJSDocIndexSignature:()=>xq,isJSDocLikeText:()=>Jce,isJSDocLink:()=>pFe,isJSDocLinkCode:()=>gFe,isJSDocLinkLike:()=>o7,isJSDocLinkPlain:()=>tQe,isJSDocMemberName:()=>Rv,isJSDocNameReference:()=>QP,isJSDocNamepathType:()=>iQe,isJSDocNamespaceBody:()=>kZe,isJSDocNode:()=>z8,isJSDocNonNullableType:()=>mY,isJSDocNullableType:()=>wB,isJSDocOptionalParameter:()=>oV,isJSDocOptionalType:()=>Fce,isJSDocOverloadTag:()=>NB,isJSDocOverrideTag:()=>gY,isJSDocParameterTag:()=>Eg,isJSDocPrivateTag:()=>Bce,isJSDocPropertyLikeTag:()=>WO,isJSDocPropertyTag:()=>vFe,isJSDocProtectedTag:()=>wce,isJSDocPublicTag:()=>Sce,isJSDocReadonlyTag:()=>Tce,isJSDocReturnTag:()=>EY,isJSDocSatisfiesExpression:()=>Ile,isJSDocSatisfiesTag:()=>_Y,isJSDocSeeTag:()=>uQe,isJSDocSignature:()=>Ov,isJSDocTag:()=>I8,isJSDocTemplateTag:()=>_g,isJSDocThisTag:()=>xFe,isJSDocThrowsTag:()=>aQe,isJSDocTypeAlias:()=>G4,isJSDocTypeAssertion:()=>tM,isJSDocTypeExpression:()=>kk,isJSDocTypeLiteral:()=>K7,isJSDocTypeTag:()=>XP,isJSDocTypedefTag:()=>PB,isJSDocUnknownTag:()=>rQe,isJSDocUnknownType:()=>_Fe,isJSDocVariadicType:()=>pY,isJSXTagName:()=>$8,isJsonEqual:()=>dZ,isJsonSourceFile:()=>W4,isJsxAttribute:()=>oE,isJsxAttributeLike:()=>KU,isJsxAttributeName:()=>yke,isJsxAttributes:()=>W2,isJsxChild:()=>ej,isJsxClosingElement:()=>H2,isJsxClosingFragment:()=>fFe,isJsxElement:()=>r3,isJsxExpression:()=>YP,isJsxFragment:()=>K2,isJsxNamespacedName:()=>gg,isJsxOpeningElement:()=>aE,isJsxOpeningFragment:()=>V7,isJsxOpeningLikeElement:()=>zh,isJsxOpeningLikeElementTagName:()=>G9e,isJsxSelfClosingElement:()=>bk,isJsxSpreadAttribute:()=>H7,isJsxTagNameExpression:()=>WN,isJsxText:()=>w7,isJumpStatementTarget:()=>PH,isKeyword:()=>uf,isKeywordOrPunctuation:()=>Sq,isKnownSymbol:()=>Ij,isLabelName:()=>Rhe,isLabelOfLabeledStatement:()=>Ihe,isLabeledStatement:()=>V2,isLateVisibilityPaintedStatement:()=>iq,isLeftHandSideExpression:()=>Df,isLeftHandSideOfAssignment:()=>tYe,isLet:()=>rq,isLineBreak:()=>Z1,isLiteralComputedPropertyDeclarationName:()=>Nj,isLiteralExpression:()=>E2,isLiteralExpressionOfObject:()=>$se,isLiteralImportTypeNode:()=>zx,isLiteralKind:()=>jN,isLiteralLikeAccess:()=>bq,isLiteralLikeElementAccess:()=>Cj,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>uX,isLiteralTypeLikeExpression:()=>hQe,isLiteralTypeLiteral:()=>lbe,isLiteralTypeNode:()=>Mv,isLocalName:()=>rD,isLogicalOperator:()=>Pye,isLogicalOrCoalescingAssignmentExpression:()=>ole,isLogicalOrCoalescingAssignmentOperator:()=>mP,isLogicalOrCoalescingBinaryExpression:()=>Gj,isLogicalOrCoalescingBinaryOperator:()=>Wj,isMappedTypeNode:()=>JP,isMemberName:()=>J_,isMetaProperty:()=>$P,isMethodDeclaration:()=>dc,isMethodOrAccessor:()=>N8,isMethodSignature:()=>n3,isMinusToken:()=>Ece,isMissingDeclaration:()=>eQe,isModifier:()=>Qo,isModifierKind:()=>XD,isModifierLike:()=>ol,isModuleAugmentationExternal:()=>p0e,isModuleBlock:()=>rE,isModuleBody:()=>hbe,isModuleDeclaration:()=>_c,isModuleExportsAccessExpression:()=>Y_,isModuleIdentifier:()=>P0e,isModuleName:()=>IFe,isModuleOrEnumDeclaration:()=>QO,isModuleReference:()=>Ebe,isModuleSpecifierLike:()=>vX,isModuleWithStringLiteralName:()=>tq,isNameOfFunctionDeclaration:()=>Hhe,isNameOfModuleDeclaration:()=>Vhe,isNamedClassElement:()=>nbe,isNamedDeclaration:()=>mh,isNamedEvaluation:()=>If,isNamedEvaluationSource:()=>J0e,isNamedExportBindings:()=>Wse,isNamedExports:()=>ep,isNamedImportBindings:()=>i0e,isNamedImports:()=>uD,isNamedImportsOrExports:()=>Uq,isNamedTupleMember:()=>GP,isNamespaceBody:()=>yZe,isNamespaceExport:()=>u_,isNamespaceExportDeclaration:()=>wV,isNamespaceImport:()=>Jx,isNamespaceReexportDeclaration:()=>iye,isNewExpression:()=>j2,isNewExpressionTarget:()=>wM,isNoSubstitutionTemplateLiteral:()=>T7,isNode:()=>DZe,isNodeArray:()=>g2,isNodeArrayMultiLine:()=>Kye,isNodeDescendantOf:()=>S2,isNodeKind:()=>GO,isNodeLikeSystem:()=>hoe,isNodeModulesDirectory:()=>bU,isNodeWithPossibleHoistedDeclaration:()=>lye,isNonContextualKeyword:()=>G0e,isNonExportDefaultModifier:()=>mQe,isNonGlobalAmbientModule:()=>m0e,isNonGlobalDeclaration:()=>zSe,isNonNullAccess:()=>bke,isNonNullChain:()=>zU,isNonNullExpression:()=>O7,isNonStaticMethodOrAccessorWithPrivateName:()=>JAe,isNotEmittedOrPartiallyEmittedNode:()=>bZe,isNotEmittedStatement:()=>yce,isNullishCoalesce:()=>Kse,isNumber:()=>UD,isNumericLiteral:()=>Of,isNumericLiteralName:()=>i3,isObjectBindingElementWithoutPropertyName:()=>GH,isObjectBindingOrAssignmentElement:()=>qO,isObjectBindingOrAssignmentPattern:()=>Yse,isObjectBindingPattern:()=>Rp,isObjectLiteralElement:()=>n0e,isObjectLiteralElementLike:()=>Z3,isObjectLiteralExpression:()=>ys,isObjectLiteralMethod:()=>zp,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>lq,isObjectTypeDeclaration:()=>x7,isOctalDigit:()=>AU,isOmittedExpression:()=>Fd,isOptionalChain:()=>Y1,isOptionalChainRoot:()=>IN,isOptionalDeclaration:()=>PP,isOptionalJSDocPropertyLikeTag:()=>aV,isOptionalTypeNode:()=>Dce,isOuterExpression:()=>CY,isOutermostOptionalChain:()=>RN,isOverrideModifier:()=>iFe,isPackedArrayLiteral:()=>Ple,isParameter:()=>io,isParameterDeclaration:()=>w2,isParameterOrCatchClauseVariable:()=>Mle,isParameterPropertyDeclaration:()=>Mf,isParameterPropertyModifier:()=>VN,isParenthesizedExpression:()=>Cf,isParenthesizedTypeNode:()=>M7,isParseTreeNode:()=>zN,isPartOfTypeNode:()=>q_,isPartOfTypeQuery:()=>_q,isPartiallyEmittedExpression:()=>dY,isPatternMatch:()=>Y$,isPinnedComment:()=>XU,isPlainJsFile:()=>nj,isPlusToken:()=>gce,isPossiblyTypeArgumentPosition:()=>OH,isPostfixUnaryExpression:()=>vce,isPrefixUnaryExpression:()=>zv,isPrivateIdentifier:()=>Xr,isPrivateIdentifierClassElementDeclaration:()=>ph,isPrivateIdentifierPropertyAccessExpression:()=>T8,isPrivateIdentifierSymbol:()=>mye,isProgramBundleEmitBuildInfo:()=>U7e,isProgramUptoDate:()=>w1e,isPrologueDirective:()=>Mp,isPropertyAccessChain:()=>PU,isPropertyAccessEntityNameExpression:()=>$j,isPropertyAccessExpression:()=>Iu,isPropertyAccessOrQualifiedName:()=>obe,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>abe,isPropertyAssignment:()=>Jc,isPropertyDeclaration:()=>ko,isPropertyName:()=>Sc,isPropertyNameLiteral:()=>Xg,isPropertySignature:()=>Mm,isProtoSetter:()=>pye,isPrototypeAccess:()=>Ox,isPrototypePropertyAssignment:()=>kj,isPunctuation:()=>W0e,isPushOrUnshiftIdentifier:()=>$0e,isQualifiedName:()=>vf,isQuestionDotToken:()=>uY,isQuestionOrExclamationToken:()=>NFe,isQuestionOrPlusOrMinusToken:()=>zFe,isQuestionToken:()=>Wx,isRawSourceMap:()=>HAe,isReadonlyKeyword:()=>eFe,isReadonlyKeywordOrPlusOrMinusToken:()=>MFe,isRecognizedTripleSlashComment:()=>c0e,isReferenceFileLocation:()=>ZB,isReferencedFile:()=>Jv,isRegularExpressionLiteral:()=>mce,isRequireCall:()=>xf,isRequireVariableStatement:()=>L0e,isRestParameter:()=>$_,isRestTypeNode:()=>xce,isReturnStatement:()=>Op,isReturnStatementWithFixablePromiseHandler:()=>UX,isRightSideOfAccessExpression:()=>cle,isRightSideOfInstanceofExpression:()=>zye,isRightSideOfPropertyAccess:()=>uw,isRightSideOfQualifiedName:()=>$9e,isRightSideOfQualifiedNameOrPropertyAccess:()=>gP,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>Mye,isRootedDiskPath:()=>Pf,isSameEntityName:()=>q8,isSatisfiesExpression:()=>sFe,isScopeMarker:()=>cbe,isSemicolonClassElement:()=>lFe,isSetAccessor:()=>e5,isSetAccessorDeclaration:()=>jf,isShebangTrivia:()=>Bse,isShiftOperatorOrHigher:()=>Kce,isShorthandAmbientModuleSymbol:()=>$N,isShorthandPropertyAssignment:()=>pm,isSignedNumericLiteral:()=>Tq,isSimpleCopiableExpression:()=>Y2,isSimpleInlineableExpression:()=>sE,isSingleOrDoubleQuote:()=>_j,isSourceFile:()=>la,isSourceFileFromLibrary:()=>KM,isSourceFileJS:()=>gh,isSourceFileNotJS:()=>PZe,isSourceFileNotJson:()=>T0e,isSourceMapping:()=>KAe,isSpecialPropertyDeclaration:()=>rye,isSpreadAssignment:()=>d5,isSpreadElement:()=>uE,isStatement:()=>ia,isStatementButNotDeclaration:()=>XO,isStatementOrBlock:()=>gbe,isStatementWithLocals:()=>Abe,isStatic:()=>No,isStaticModifier:()=>N7,isString:()=>Ja,isStringAKeyword:()=>WZe,isStringANonContextualKeyword:()=>m7,isStringAndEmptyAnonymousObjectIntersection:()=>aSe,isStringDoubleQuoted:()=>Cq,isStringLiteral:()=>us,isStringLiteralLike:()=>t0,isStringLiteralOrJsxExpression:()=>_be,isStringLiteralOrTemplate:()=>ASe,isStringOrNumericLiteralLike:()=>Pm,isStringOrRegularExpressionOrTemplateLiteral:()=>Zhe,isStringTextContainingNode:()=>Use,isSuperCall:()=>ik,isSuperKeyword:()=>HP,isSuperOrSuperProperty:()=>NZe,isSuperProperty:()=>nf,isSupportedSourceFileName:()=>hke,isSwitchStatement:()=>BV,isSyntaxList:()=>MB,isSyntheticExpression:()=>JYe,isSyntheticReference:()=>j7,isTagName:()=>Ohe,isTaggedTemplateExpression:()=>Dk,isTaggedTemplateTag:()=>K9e,isTemplateExpression:()=>lY,isTemplateHead:()=>vB,isTemplateLiteral:()=>P8,isTemplateLiteralKind:()=>Bx,isTemplateLiteralToken:()=>X2e,isTemplateLiteralTypeNode:()=>GYe,isTemplateLiteralTypeSpan:()=>rFe,isTemplateMiddle:()=>qke,isTemplateMiddleOrTemplateTail:()=>IU,isTemplateSpan:()=>qP,isTemplateTail:()=>pce,isTextWhiteSpaceLike:()=>hSe,isThis:()=>rw,isThisContainerOrFunctionBlock:()=>Xbe,isThisIdentifier:()=>N2,isThisInTypeQuery:()=>g7,isThisInitializedDeclaration:()=>mq,isThisInitializedObjectBindingExpression:()=>tye,isThisProperty:()=>mj,isThisTypeNode:()=>sY,isThisTypeParameter:()=>NP,isThisTypePredicate:()=>LZe,isThrowStatement:()=>bce,isToken:()=>u7,isTokenKind:()=>Jse,isTraceEnabled:()=>aD,isTransientSymbol:()=>qE,isTrivia:()=>nB,isTryStatement:()=>Ck,isTupleTypeNode:()=>yB,isTypeAlias:()=>Sj,isTypeAliasDeclaration:()=>jp,isTypeAssertionExpression:()=>aFe,isTypeDeclaration:()=>gB,isTypeElement:()=>Zy,isTypeKeyword:()=>PM,isTypeKeywordToken:()=>ife,isTypeKeywordTokenOrIdentifier:()=>EX,isTypeLiteralNode:()=>fm,isTypeNode:()=>Qr,isTypeNodeKind:()=>_le,isTypeOfExpression:()=>AB,isTypeOnlyExportDeclaration:()=>ebe,isTypeOnlyImportDeclaration:()=>RU,isTypeOnlyImportOrExportDeclaration:()=>_2,isTypeOperatorNode:()=>z7,isTypeParameterDeclaration:()=>Bl,isTypePredicateNode:()=>aY,isTypeQueryNode:()=>bB,isTypeReferenceNode:()=>X4,isTypeReferenceType:()=>$U,isTypeUsableAsPropertyName:()=>Y4,isUMDExportSymbol:()=>$q,isUnaryExpression:()=>e0e,isUnaryExpressionWithWrite:()=>sbe,isUnicodeIdentifierStart:()=>kU,isUnionTypeNode:()=>Pv,isUnparsedNode:()=>Gse,isUnparsedPrepend:()=>mFe,isUnparsedSource:()=>yk,isUnparsedTextLike:()=>Q2e,isUrl:()=>x2e,isValidBigIntString:()=>hZ,isValidESSymbolDeclaration:()=>$be,isValidTypeOnlyAliasUseSite:()=>Tv,isValueSignatureDeclaration:()=>cye,isVarAwaitUsing:()=>lj,isVarConst:()=>K8,isVarUsing:()=>cj,isVariableDeclaration:()=>na,isVariableDeclarationInVariableStatement:()=>qN,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>F2,isVariableDeclarationInitializedToRequire:()=>vq,isVariableDeclarationList:()=>Ad,isVariableLike:()=>G8,isVariableLikeOrAccessor:()=>Gbe,isVariableStatement:()=>Jl,isVoidExpression:()=>R7,isWatchSet:()=>uYe,isWhileStatement:()=>UYe,isWhiteSpaceLike:()=>U3,isWhiteSpaceSingleLine:()=>qg,isWithStatement:()=>cFe,isWriteAccess:()=>D7,isWriteOnlyAccess:()=>Jq,isYieldExpression:()=>cY,jsxModeNeedsExplicitImport:()=>Sfe,keywordPart:()=>Hf,last:()=>Cr,lastOrUndefined:()=>qu,length:()=>S,libMap:()=>LY,libs:()=>YV,lineBreakPart:()=>lw,linkNamePart:()=>_Se,linkPart:()=>ffe,linkTextPart:()=>kX,listFiles:()=>q1e,loadModuleFromGlobalCache:()=>kAe,loadWithModeAwareCache:()=>CH,makeIdentifierFromModuleName:()=>Lbe,makeImport:()=>g5,makeImportIfNecessary:()=>dSe,makeStringLiteral:()=>n9,mangleScopedPackageName:()=>JB,map:()=>Vt,mapAllOrFail:()=>ra,mapDefined:()=>qi,mapDefinedEntries:()=>Fa,mapDefinedIterator:()=>eo,mapEntries:()=>ci,mapIterator:()=>zr,mapOneOrMany:()=>kfe,mapToDisplayParts:()=>Zx,matchFiles:()=>Ale,matchPatternOrExact:()=>Ble,matchedText:()=>t2e,matchesExclude:()=>TY,maybeBind:()=>Lo,maybeSetLocalizedDiagnosticMessages:()=>tke,memoize:()=>Mh,memoizeCached:()=>UCe,memoizeOne:()=>HE,memoizeWeak:()=>fqe,metadataHelper:()=>wZ,min:()=>ooe,minAndMax:()=>mke,missingFileModifiedTime:()=>K_,modifierToFlag:()=>_7,modifiersToFlags:()=>tE,moduleOptionDeclaration:()=>cde,moduleResolutionIsEqualTo:()=>kbe,moduleResolutionNameAndModeGetter:()=>yH,moduleResolutionOptionDeclarations:()=>NY,moduleResolutionSupportsPackageJsonExportsAndImports:()=>b7,moduleResolutionUsesNodeModules:()=>_X,moduleSpecifiers:()=>Z2,moveEmitHelpers:()=>Hke,moveRangeEnd:()=>Wq,moveRangePastDecorators:()=>o5,moveRangePastModifiers:()=>iE,moveRangePos:()=>Sv,moveSyntheticComments:()=>Oke,mutateMap:()=>cB,mutateMapSkippingNewValues:()=>eD,needsParentheses:()=>AX,needsScopeMarker:()=>VU,newCaseClauseTracker:()=>VX,newPrivateEnvironment:()=>qAe,noEmitNotification:()=>mH,noEmitSubstitution:()=>xM,noTransformers:()=>c1e,noTruncationMaximumTruncationLength:()=>DZ,nodeCanBeDecorated:()=>gq,nodeHasName:()=>jO,nodeIsDecorated:()=>YN,nodeIsMissing:()=>Ql,nodeIsPresent:()=>H4,nodeIsSynthesized:()=>sl,nodeModuleNameResolver:()=>EAe,nodeModulesPathPart:()=>o_,nodeNextJsonConfigResolver:()=>_Ae,nodeOrChildIsDecorated:()=>gj,nodeOverlapsWithStartEnd:()=>rX,nodePosToString:()=>FZe,nodeSeenTracker:()=>i9,nodeStartsNewLexicalEnvironment:()=>U0e,nodeToDisplayParts:()=>Tit,noop:()=>Is,noopFileWatcher:()=>tw,normalizePath:()=>$o,normalizeSlashes:()=>q1,not:()=>X$,notImplemented:()=>ho,notImplementedResolver:()=>DQ,nullNodeConverters:()=>tce,nullParenthesizerRules:()=>ece,nullTransformationContext:()=>Dg,objectAllocator:()=>Qd,operatorPart:()=>IM,optionDeclarations:()=>a3,optionMapToObject:()=>ude,optionsAffectingProgramStructure:()=>pde,optionsForBuild:()=>Ede,optionsForWatch:()=>VB,optionsHaveChanges:()=>R8,optionsHaveModuleResolutionChanges:()=>Cbe,or:()=>dg,orderedRemoveItem:()=>gO,orderedRemoveItemAt:()=>fv,outFile:()=>y0,packageIdToPackageName:()=>ZU,packageIdToString:()=>Px,paramHelper:()=>TZ,parameterIsThisKeyword:()=>L2,parameterNamePart:()=>mSe,parseBaseNodeFactory:()=>Zce,parseBigInt:()=>pke,parseBuildCommand:()=>JQe,parseCommandLine:()=>WQe,parseCommandLineWorker:()=>Xce,parseConfigFileTextToJson:()=>tde,parseConfigFileWithSystem:()=>Ttt,parseConfigHostFromCompilerHostLike:()=>wQ,parseCustomTypeOption:()=>BY,parseIsolatedEntityName:()=>G7,parseIsolatedJSDocComment:()=>WFe,parseJSDocTypeExpressionForTests:()=>TQe,parseJsonConfigFileContent:()=>aXe,parseJsonSourceFileConfigFileContent:()=>UV,parseJsonText:()=>WV,parseListTypeOption:()=>JFe,parseNodeFactory:()=>a_,parseNodeModuleFromPath:()=>uH,parsePackageName:()=>oH,parsePseudoBigInt:()=>SP,parseValidBigInt:()=>Nle,patchWriteFileEnsuringDirectory:()=>_2e,pathContainsNodeModules:()=>q7,pathIsAbsolute:()=>SN,pathIsBareSpecifier:()=>kse,pathIsRelative:()=>om,patternText:()=>e2e,perfLogger:()=>hh,performIncrementalCompilation:()=>Mtt,performance:()=>h2e,plainJSErrors:()=>NQ,positionBelongsToNode:()=>Whe,positionIsASICandidate:()=>TX,positionIsSynthesized:()=>pg,positionsAreOnSameLine:()=>q4,preProcessFile:()=>unt,probablyUsesSemicolons:()=>YH,processCommentPragmas:()=>Uce,processPragmasIntoFields:()=>qce,processTaggedTemplateExpression:()=>i1e,programContainsEsModules:()=>cSe,programContainsModules:()=>lSe,projectReferenceIsEqualTo:()=>a0e,propKeyHelper:()=>WZ,propertyNamePart:()=>pSe,pseudoBigIntToString:()=>I2,punctuationPart:()=>ih,pushIfUnique:()=>xa,quote:()=>jM,quotePreferenceFromString:()=>afe,rangeContainsPosition:()=>MH,rangeContainsPositionExclusive:()=>zH,rangeContainsRange:()=>Vm,rangeContainsRangeExclusive:()=>q9e,rangeContainsStartEnd:()=>IH,rangeEndIsOnSameLineAsRangeStart:()=>qj,rangeEndPositionsAreOnSameLine:()=>Vye,rangeEquals:()=>zi,rangeIsOnSingleLine:()=>hk,rangeOfNode:()=>Tle,rangeOfTypeParameters:()=>Lle,rangeOverlapsWithStartEnd:()=>TM,rangeStartIsOnSameLineAsRangeEnd:()=>Hye,rangeStartPositionsAreOnSameLine:()=>Gq,readBuilderProgram:()=>GQ,readConfigFile:()=>JV,readHelper:()=>HZ,readJson:()=>EP,readJsonConfigFile:()=>qFe,readJsonOrUndefined:()=>hle,reduceEachLeadingCommentRange:()=>k2e,reduceEachTrailingCommentRange:()=>F2e,reduceLeft:()=>nn,reduceLeftIterator:()=>ue,reducePathComponents:()=>Jy,refactor:()=>a9,regExpEscape:()=>hYe,relativeComplement:()=>Wr,removeAllComments:()=>EV,removeEmitHelper:()=>HYe,removeExtension:()=>nV,removeFileExtension:()=>_h,removeIgnoredPath:()=>zQ,removeMinAndVersionNumbers:()=>soe,removeOptionality:()=>iSe,removePrefix:()=>yN,removeSuffix:()=>D8,removeTrailingDirectorySeparator:()=>mv,repeatString:()=>KH,replaceElement:()=>qd,resolutionExtensionIsTSOrJson:()=>FP,resolveConfigFileProjectName:()=>ahe,resolveJSModule:()=>pAe,resolveLibrary:()=>KY,resolveModuleName:()=>WB,resolveModuleNameFromCache:()=>KXe,resolvePackageNameToPackageJson:()=>xde,resolvePath:()=>kx,resolveProjectReferencePath:()=>YB,resolveTripleslashReference:()=>bQ,resolveTypeReferenceDirective:()=>hAe,resolvingEmptyArray:()=>_Z,restHelper:()=>RZ,returnFalse:()=>cg,returnNoopFileWatcher:()=>iw,returnTrue:()=>J3,returnUndefined:()=>hv,returnsPromise:()=>$fe,runInitializersHelper:()=>NZ,sameFlatMap:()=>z0,sameMap:()=>Lu,sameMapping:()=>Net,scanShebangTrivia:()=>wse,scanTokenAtPosition:()=>Hbe,scanner:()=>nh,screenStartingMessageCodes:()=>WQ,semanticDiagnosticsOptionDeclarations:()=>hde,serializeCompilerOptions:()=>ade,server:()=>Qct,servicesVersion:()=>iBe,setCommentRange:()=>Bc,setConfigFileInOptions:()=>sde,setConstantValue:()=>Vke,setEachParent:()=>pB,setEmitFlags:()=>Zn,setFunctionNameHelper:()=>GZ,setGetSourceFileAsHashVersioned:()=>KQ,setIdentifierAutoGenerate:()=>xV,setIdentifierGeneratedImportReference:()=>Gke,setIdentifierTypeArguments:()=>l5,setInternalEmitFlags:()=>_V,setLocalizedDiagnosticMessages:()=>eke,setModuleDefaultHelper:()=>UZ,setNodeFlags:()=>_ke,setObjectAllocator:()=>Xye,setOriginalNode:()=>su,setParent:()=>ks,setParentRecursive:()=>Vx,setPrivateIdentifier:()=>Bk,setSnippetElement:()=>lce,setSourceMapRange:()=>As,setStackTraceLimit:()=>Pqe,setStartsOnNewLine:()=>FZ,setSyntheticLeadingComments:()=>Nv,setSyntheticTrailingComments:()=>A7,setSys:()=>Oqe,setSysLog:()=>g2e,setTextRange:()=>Pt,setTextRangeEnd:()=>mB,setTextRangePos:()=>BP,setTextRangePosEnd:()=>t_,setTextRangePosWidth:()=>wP,setTokenSourceMapRange:()=>Rke,setTypeNode:()=>Kke,setUILocale:()=>YCe,setValueDeclaration:()=>Fj,shouldAllowImportingTsExtension:()=>$B,shouldPreserveConstEnums:()=>fk,shouldResolveJsRequire:()=>eZ,shouldUseUriStyleNodeCoreModules:()=>OX,showModuleSpecifier:()=>$ye,signatureHasLiteralTypes:()=>Ode,signatureHasRestParameter:()=>th,signatureToDisplayParts:()=>mfe,single:()=>bd,singleElementArray:()=>Hy,singleIterator:()=>qa,singleOrMany:()=>F0,singleOrUndefined:()=>Aa,skipAlias:()=>X1,skipAssertions:()=>lQe,skipConstraint:()=>nfe,skipOuterExpressions:()=>Dc,skipParentheses:()=>l0,skipPartiallyEmittedExpressions:()=>Np,skipTrivia:()=>gs,skipTypeChecking:()=>AP,skipTypeParentheses:()=>j0e,skipWhile:()=>n2e,sliceAfter:()=>wle,some:()=>Oe,sort:()=>Ph,sortAndDeduplicate:()=>pi,sortAndDeduplicateDiagnostics:()=>A8,sourceFileAffectingCompilerOptions:()=>PY,sourceFileMayBeEmitted:()=>p7,sourceMapCommentRegExp:()=>nQ,sourceMapCommentRegExpDontCareLineStart:()=>Jde,spacePart:()=>$l,spanMap:()=>Hl,spreadArrayHelper:()=>KZ,stableSort:()=>oc,startEndContainsRange:()=>Khe,startEndOverlapsWithStartEnd:()=>aX,startOnNewLine:()=>vh,startTracing:()=>f2e,startsWith:()=>Pa,startsWithDirectory:()=>Ase,startsWithUnderscore:()=>Afe,startsWithUseStrict:()=>AFe,stringContainsAt:()=>MSe,stringToToken:()=>f2,stripQuotes:()=>$4,supportedDeclarationExtensions:()=>dV,supportedJSExtensions:()=>Yle,supportedJSExtensionsFlat:()=>_B,supportedLocaleDirectories:()=>r0e,supportedTSExtensions:()=>EB,supportedTSExtensionsFlat:()=>Zle,supportedTSImplementationExtensions:()=>hV,suppressLeadingAndTrailingTrivia:()=>Kf,suppressLeadingTrivia:()=>Efe,suppressTrailingTrivia:()=>ySe,symbolEscapedNameNoDefault:()=>xX,symbolName:()=>lc,symbolNameNoDefault:()=>DX,symbolPart:()=>fSe,symbolToDisplayParts:()=>RM,syntaxMayBeASICandidate:()=>Nfe,syntaxRequiresTrailingSemicolonOrASI:()=>wX,sys:()=>c1,sysLog:()=>bO,tagNamesAreEquivalent:()=>Vv,takeWhile:()=>tU,targetOptionDeclaration:()=>XV,templateObjectHelper:()=>VZ,testFormatSettings:()=>H9e,textChangeRangeIsUnchanged:()=>N2e,textChangeRangeNewSpan:()=>MN,textChanges:()=>iu,textOrKeywordPart:()=>hfe,textPart:()=>Km,textRangeContainsPositionInclusive:()=>IO,textSpanContainsPosition:()=>Nse,textSpanContainsTextSpan:()=>B2e,textSpanEnd:()=>Ec,textSpanIntersection:()=>L2e,textSpanIntersectsWith:()=>wU,textSpanIntersectsWithPosition:()=>T2e,textSpanIntersectsWithTextSpan:()=>aZe,textSpanIsEmpty:()=>S2e,textSpanOverlap:()=>w2e,textSpanOverlapsWith:()=>rZe,textSpansEqual:()=>sw,textToKeywordObj:()=>MO,timestamp:()=>G0,toArray:()=>YA,toBuilderFileEmit:()=>Q7e,toBuilderStateFileInfoForMultiEmit:()=>Y7e,toEditorSettings:()=>gK,toFileNameLowerCase:()=>$g,toLowerCase:()=>$Ce,toPath:()=>J0,toProgramEmitPending:()=>X7e,tokenIsIdentifierOrKeyword:()=>fh,tokenIsIdentifierOrKeywordOrGreaterThan:()=>b2e,tokenToString:()=>Uo,trace:()=>Sa,tracing:()=>Gn,tracingEnabled:()=>DO,transform:()=>nrt,transformClassFields:()=>r7e,transformDeclarations:()=>s1e,transformECMAScriptModule:()=>a1e,transformES2015:()=>x7e,transformES2016:()=>D7e,transformES2017:()=>l7e,transformES2018:()=>c7e,transformES2019:()=>d7e,transformES2020:()=>h7e,transformES2021:()=>f7e,transformES5:()=>v7e,transformESDecorators:()=>s7e,transformESNext:()=>m7e,transformGenerators:()=>C7e,transformJsx:()=>_7e,transformLegacyDecorators:()=>o7e,transformModule:()=>r1e,transformNamedEvaluation:()=>Vf,transformNodeModule:()=>y7e,transformNodes:()=>pH,transformSystemModule:()=>b7e,transformTypeScript:()=>u7e,transpile:()=>hnt,transpileModule:()=>e8e,transpileOptionValueCompilerOptions:()=>gde,tryAddToSet:()=>r0,tryAndIgnoreErrors:()=>PX,tryCast:()=>ur,tryDirectoryExists:()=>NX,tryExtractTSExtension:()=>Kq,tryFileExists:()=>QH,tryGetClassExtendingExpressionWithTypeArguments:()=>sle,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>lle,tryGetDirectories:()=>LX,tryGetExtensionFromPath:()=>t3,tryGetImportFromModuleSpecifier:()=>Aj,tryGetJSDocSatisfiesTypeNode:()=>gZ,tryGetModuleNameFromFile:()=>IV,tryGetModuleSpecifierFromDeclaration:()=>Z8,tryGetNativePerformanceHooks:()=>l2e,tryGetPropertyAccessOrIdentifierToString:()=>Uj,tryGetPropertyNameOfBindingOrAssignmentElement:()=>yY,tryGetSourceMappingURL:()=>VAe,tryGetTextOfPropertyName:()=>UN,tryIOAndConsumeErrors:()=>MX,tryParsePattern:()=>fB,tryParsePatterns:()=>lZ,tryParseRawSourceMap:()=>Wde,tryReadDirectory:()=>xfe,tryReadFile:()=>rM,tryRemoveDirectoryPrefix:()=>yle,tryRemoveExtension:()=>fke,tryRemovePrefix:()=>doe,tryRemoveSuffix:()=>XCe,typeAcquisitionDeclarations:()=>eH,typeAliasNamePart:()=>gSe,typeDirectiveIsEqualTo:()=>Fbe,typeKeywords:()=>HX,typeParameterNamePart:()=>ESe,typeReferenceResolutionNameAndModeGetter:()=>LQ,typeToDisplayParts:()=>$H,unchangedPollThresholds:()=>yO,unchangedTextChangeRange:()=>tj,unescapeLeadingUnderscores:()=>Yr,unmangleScopedPackageName:()=>lH,unorderedRemoveItem:()=>Vy,unorderedRemoveItemAt:()=>loe,unreachableCodeIsError:()=>uke,unusedLabelIsError:()=>rke,unwrapInnermostStatementOfLabel:()=>A0e,updateErrorForNoInputFiles:()=>wY,updateLanguageServiceSourceFile:()=>wme,updateMissingFilePathsWatch:()=>g1e,updatePackageJsonWatch:()=>utt,updateResolutionField:()=>HB,updateSharedExtendedConfigFileWatcher:()=>vQ,updateSourceFile:()=>$ce,updateWatchingWildcardDirectories:()=>_H,usesExtensionsOnImports:()=>dke,usingSingleLineStringWriter:()=>GN,utf16EncodeAsString:()=>F8,validateLocaleAndSetLanguage:()=>sZe,valuesHelper:()=>JZ,version:()=>_,versionMajorMinor:()=>g,visitArray:()=>dH,visitCommaListElements:()=>hH,visitEachChild:()=>rn,visitFunctionBody:()=>Om,visitIterationBody:()=>Ih,visitLexicalEnvironment:()=>iQ,visitNode:()=>yt,visitNodes:()=>kn,visitParameterList:()=>xc,walkUpBindingElementsAndPatterns:()=>S8,walkUpLexicalEnvironments:()=>UAe,walkUpOuterExpressions:()=>SFe,walkUpParenthesizedExpressions:()=>i5,walkUpParenthesizedTypes:()=>Lj,walkUpParenthesizedTypesAndGetParentAndChild:()=>dye,whitespaceOrMapCommentRegExp:()=>uQ,writeCommentRange:()=>sB,writeFile:()=>cP,writeFileEnsuringDirectories:()=>nle,zipWith:()=>re});var edt=o({"src/typescript/_namespaces/ts.ts"(){Bo(),BH(),rr(),Xv(),lXt()}}),cXt=c({"src/typescript/typescript.ts"(t,u){edt(),edt(),typeof console<"u"&&(H.loggingHost={log(s,d){switch(s){case 1:return console.error(d);case 2:return console.warn(d);case 3:return console.log(d);case 4:return console.log(d)}}}),u.exports=Xct}});return cXt()})();r.exports&&(r.exports=i)})(O6t);var Ahi=O6t.exports;const Qpt=bhi(Ahi);class yGe{constructor(e,i){Oc(this,"id");Oc(this,"name");Oc(this,"columns",[]);Oc(this,"settings");this.name=e,this.settings=i}loadFromObj(e){this.name=e.name,this.settings=e.settings,this.columns=e.columns.map(i=>this.prepareColumn(i)),this.processMiddlewareHandlers()}toObj(){return{name:this.name,columns:this.columns,settings:this.settings}}removeColumn(e){this.columns.splice(this.columns.findIndex(i=>i.id===e),1)}prepareColumn(e){let i=Qpt.transpile("return "+e.handlerTsCode);return e.handler=new Function(i)(),e}processMiddlewareHandlers(){this.settings.middlewares=this.settings.middlewares.map(e=>{let i=Qpt.transpile("return "+e.handlerTsCode);return e.handler=new Function(i)(),e})}swapElement(e,i){var n=this.columns[e];this.columns[e]=this.columns[i],this.columns[i]=n}move(e,i){let n=this.columns.findIndex(o=>o.id===e),a=i>0?n+1:n-1;this.swapElement(n,a)}add(e){e.idx=this.columns.length===0?0:this.columns.length,e.id=Math.random().toString().substring(2,8),e.width=e.width||150,e.handlerTsCode&&(e=this.prepareColumn(e)),this.columns.push(e)}update(e){e=this.prepareColumn(e);let i=this.columns.findIndex(n=>n.id===e.id);this.columns[i]=e}getColumn(e){return this.columns.find(i=>i.id===e)}}const Xpt=()=>({read:0,starred:0,unread:0}),GT=R6t("filter",()=>{const r=ds({read:!1,unread:!1,starred:!1}),e=ds({...Xpt()}),i=(h,g)=>{e.value[h]||(e.value[h]=0),e.value[h]+=g},n=h=>{r.value[h]=!r.value[h]},a=()=>{e.value={...Xpt()}},o=()=>{for(let h in r.value)r.value[h]=!1},c=j6(()=>Object.entries(r.value).filter(([g,_])=>_).map(g=>g[0]));return{filters:e,filterToggle:r,enabledFilters:c,reset:a,resetToggles:o,changeFilter:i,toggleFilter:n}});class Shi{constructor(){Oc(this,"headers",{});Oc(this,"onRequestStart",null);Oc(this,"onRequestEnd",null)}setHeader(e,i){this.headers[e]=i}setAuthToken(e){e&&this.setHeader("logdy-client-id",e)}async sendGet(e){let i={};this.onRequestStart&&(i=this.onRequestStart()||{});let n=await fetch(window.location.pathname+"api/"+e,{method:"GET",headers:{...this.headers,...i}});return this.onRequestEnd&&this.onRequestEnd(),{status:n.status,headers:n.headers,json:n.headers.get("content-type")=="application/json"?await n.json():{},body:n.bodyUsed?"":await n.text()}}async sendPost(e,i){let n={};this.onRequestStart&&(n=this.onRequestStart()||{});let a=await fetch("api/"+e,{method:"POST",body:i?JSON.stringify(i):null,headers:{"Content-Type":"application/json",...this.headers,...n}});return this.onRequestEnd&&this.onRequestEnd(),{status:a.status,headers:a.headers,json:a.headers.get("content-type")=="application/json"?await a.json():{},body:a.bodyUsed?"":await a.text()}}async resume(){await this.sendGet("client/set-status?status=following")}async resumeFromCursor(){await this.sendGet("client/set-status?status=following&from_cursor=true")}async pause(){await this.sendGet("client/set-status?status=stopped")}async clientStatus(){return this.sendGet("client/check-status")}async peek(e,i){return this.sendPost("client/peek-log",{idxs:[e,i]})}async load(e,i){return this.sendGet(`client/load?start=${e+1}&count=${i}`)}}const $S=new Shi;function LI(r){return r.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}function Bhi(r,e){return new URLSearchParams(r).get(e)}const whi=async()=>{const r=new Go,e=await WebAssembly.instantiateStreaming(fetch("/main.wasm"),r.importObject);r.run(e.instance)},Thi=r=>{console.log("Breser query:",r);let e=GO_EXPR_setExpression(r);if(e&&e.error)return console.log("Error while setting Breser query",e),e.error},Lhi=r=>GO_EXPR_runQuery(JSON.stringify(r));//! moment.js +`+K.stack)}}parseMessage(u){return JSON.parse(u)}toStringMessage(u){return u}getFormatOptions(u){return this.projectService.getFormatCodeOptions(u)}getPreferences(u){return this.projectService.getPreferences(u)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}}}}),g9,_ge,Uct,qct,hte,fte,SNe,rz,E9,qK,sXt=o({"src/server/scriptVersionCache.ts"(){Xv(),_9(),g9=4,_ge=(t=>(t[t.PreStart=0]="PreStart",t[t.Start=1]="Start",t[t.Entire=2]="Entire",t[t.Mid=3]="Mid",t[t.End=4]="End",t[t.PostEnd=5]="PostEnd",t))(_ge||{}),Uct=class{constructor(){this.goSubtree=!0,this.lineIndex=new rz,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new E9,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(t,u){u&&(this.trailingText=""),t?t=this.initialText+t+this.trailingText:t=this.initialText+this.trailingText;const d=rz.linesFromText(t).lines;d.length>1&&d[d.length-1]===""&&d.pop();let f,p;for(let v=this.endBranch.length-1;v>=0;v--)this.endBranch[v].updateCounts(),this.endBranch[v].charCount()===0&&(p=this.endBranch[v],v>0?f=this.endBranch[v-1]:f=this.branchNode);p&&f.remove(p);const E=this.startPath[this.startPath.length-1];if(d.length>0)if(E.text=d[0],d.length>1){let v=new Array(d.length-1),b=E;for(let T=1;T=0;){const T=this.startPath[B];v=T.insertAt(b,v),B--,b=T}let k=v.length;for(;k>0;){const T=new E9;T.add(this.lineIndex.root),v=T.insertAt(this.lineIndex.root,v),k=v.length,this.lineIndex.root=T}this.lineIndex.root.updateCounts()}else for(let v=this.startPath.length-2;v>=0;v--)this.startPath[v].updateCounts();else{this.startPath[this.startPath.length-2].remove(E);for(let b=this.startPath.length-2;b>=0;b--)this.startPath[b].updateCounts()}return this.lineIndex}post(t,u,s){s===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(t,u,s,d,f){const p=this.stack[this.stack.length-1];this.state===2&&f===1&&(this.state=1,this.branchNode=p,this.lineCollectionAtBranch=s);let E;function v(b){return b.isLeaf()?new qK(""):new E9}switch(f){case 0:this.goSubtree=!1,this.state!==4&&p.add(s);break;case 1:this.state===4?this.goSubtree=!1:(E=v(s),p.add(E),this.startPath.push(E));break;case 2:this.state!==4?(E=v(s),p.add(E),this.startPath.push(E)):s.isLeaf()||(E=v(s),p.add(E),this.endBranch.push(E));break;case 3:this.goSubtree=!1;break;case 4:this.state!==4?this.goSubtree=!1:s.isLeaf()||(E=v(s),p.add(E),this.endBranch.push(E));break;case 5:this.goSubtree=!1,this.state!==1&&p.add(s);break}this.goSubtree&&this.stack.push(E)}leaf(t,u,s){this.state===1?this.initialText=s.text.substring(0,t):this.state===2?(this.initialText=s.text.substring(0,t),this.trailingText=s.text.substring(t+u)):this.trailingText=s.text.substring(t+u)}},qct=class{constructor(t,u,s){this.pos=t,this.deleteLen=u,this.insertedText=s}getTextChangeRange(){return OO(d1(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},hte=class OF{constructor(){this.changes=[],this.versions=new Array(OF.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(u){if(!(uthis.currentVersion))return u%OF.maxVersions}currentVersionToIndex(){return this.currentVersion%OF.maxVersions}edit(u,s,d){this.changes.push(new qct(u,s,d)),(this.changes.length>OF.changeNumberThreshold||s>OF.changeLengthThreshold||d&&d.length>OF.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let u=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let s=u.index;for(const d of this.changes)s=s.edit(d.pos,d.deleteLen,d.insertedText);u=new SNe(this.currentVersion+1,this,s,this.changes),this.currentVersion=u.version,this.versions[this.currentVersionToIndex()]=u,this.changes=[],this.currentVersion-this.minVersion>=OF.maxVersions&&(this.minVersion=this.currentVersion-OF.maxVersions+1)}return u}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(u){return this._getSnapshot().index.lineNumberToInfo(u)}lineOffsetToPosition(u,s){return this._getSnapshot().index.absolutePositionOfStartOfLine(u)+(s-1)}positionToLineOffset(u){return this._getSnapshot().index.positionToLineOffset(u)}lineToTextSpan(u){const s=this._getSnapshot().index,{lineText:d,absolutePosition:f}=s.lineNumberToInfo(u+1),p=d!==void 0?d.length:s.absolutePositionOfStartOfLine(u+2)-f;return d1(f,p)}getTextChangesBetweenVersions(u,s){if(u=this.minVersion){const d=[];for(let f=u+1;f<=s;f++){const p=this.versions[this.versionToIndex(f)];for(const E of p.changesSincePreviousVersion)d.push(E.getTextChangeRange())}return P2e(d)}else return;else return tj}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(u){const s=new OF,d=new SNe(0,s,new rz);s.versions[s.currentVersion]=d;const f=rz.linesFromText(u);return d.index.load(f.lines),s}},hte.changeNumberThreshold=8,hte.changeLengthThreshold=256,hte.maxVersions=8,fte=hte,SNe=class G6t{constructor(u,s,d,f=$c){this.version=u,this.cache=s,this.index=d,this.changesSincePreviousVersion=f}getText(u,s){return this.index.getText(u,s-u)}getLength(){return this.index.getLength()}getChangeRange(u){if(u instanceof G6t&&this.cache===u.cache)return this.version<=u.version?tj:this.cache.getTextChangesBetweenVersions(u.version,this.version)}},rz=class XOe{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(u){return this.lineNumberToInfo(u).absolutePosition}positionToLineOffset(u){const{oneBasedLine:s,zeroBasedColumn:d}=this.root.charOffsetToLineInfo(1,u);return{line:s,offset:d+1}}positionToColumnAndLineText(u){return this.root.charOffsetToLineInfo(1,u)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(u){const s=this.getLineCount();if(u<=s){const{position:d,leaf:f}=this.root.lineNumberToInfo(u,0);return{absolutePosition:d,lineText:f&&f.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(u){if(u.length>0){const s=[];for(let d=0;d0&&u{d=d.concat(E.text.substring(f,f+p))}}),d}getLength(){return this.root.charCount()}every(u,s,d){d||(d=this.root.charCount());const f={goSubtree:!0,done:!1,leaf(p,E,v){u(v,p,E)||(this.done=!0)}};return this.walk(s,d-s,f),!f.done}edit(u,s,d){if(this.root.charCount()===0)return H.assert(s===0),d!==void 0?(this.load(XOe.linesFromText(d).lines),this):void 0;{let f;if(this.checkEdits){const v=this.getText(0,this.root.charCount());f=v.slice(0,u)+d+v.slice(u+s)}const p=new Uct;let E=!1;if(u>=this.root.charCount()){u=this.root.charCount()-1;const v=this.getText(u,1);d?d=v+d:d=v,s=0,E=!0}else if(s>0){const v=u+s,{zeroBasedColumn:b,lineText:B}=this.positionToColumnAndLineText(v);b===0&&(s+=B.length,d=d?d+B:B)}if(this.root.walk(u,s,p),p.insertLines(d,E),this.checkEdits){const v=p.lineIndex.getText(0,p.lineIndex.getLength());H.assert(f===v,"buffer edit mismatch")}return p.lineIndex}}static buildTreeFromBottom(u){if(u.length0?d[f]=p:d.pop(),{lines:d,lineMap:s}}},E9=class eje{constructor(u=[]){this.children=u,this.totalChars=0,this.totalLines=0,u.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(const u of this.children)this.totalChars+=u.charCount(),this.totalLines+=u.lineCount()}execWalk(u,s,d,f,p){return d.pre&&d.pre(u,s,this.children[f],this,p),d.goSubtree?(this.children[f].walk(u,s,d),d.post&&d.post(u,s,this.children[f],this,p)):d.goSubtree=!0,d.done}skipChild(u,s,d,f,p){f.pre&&!f.done&&(f.pre(u,s,this.children[d],this,p),f.goSubtree=!0)}walk(u,s,d){let f=0,p=this.children[f].charCount(),E=u;for(;E>=p;)this.skipChild(E,s,f,d,0),E-=p,f++,p=this.children[f].charCount();if(E+s<=p){if(this.execWalk(E,s,d,f,2))return}else{if(this.execWalk(E,p-E,d,f,1))return;let v=s-(p-E);for(f++,p=this.children[f].charCount();v>p;){if(this.execWalk(0,p,d,f,3))return;v-=p,f++,p=this.children[f].charCount()}if(v>0&&this.execWalk(0,v,d,f,4))return}if(d.pre){const v=this.children.length;if(fs)return p.isLeaf()?{oneBasedLine:u,zeroBasedColumn:s,lineText:p.text}:p.charOffsetToLineInfo(u,s);s-=p.charCount(),u+=p.lineCount()}const d=this.lineCount();if(d===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};const f=H.checkDefined(this.lineNumberToInfo(d,0).leaf);return{oneBasedLine:d,zeroBasedColumn:f.charCount(),lineText:void 0}}lineNumberToInfo(u,s){for(const d of this.children){const f=d.lineCount();if(f>=u)return d.isLeaf()?{position:s,leaf:d}:d.lineNumberToInfo(u,s);u-=f,s+=d.charCount()}return{position:s,leaf:void 0}}splitAfter(u){let s;const d=this.children.length;u++;const f=u;if(u=0;M--)b[M].children.length===0&&b.pop()}E&&b.push(E),this.updateCounts();for(let k=0;kYQ,ActionPackageInstalled:()=>T9e,ActionSet:()=>ZQ,ActionWatchTypingLocations:()=>SH,Arguments:()=>mhe,AutoImportProviderProject:()=>age,AuxiliaryProject:()=>uge,CharRangeSection:()=>_ge,CloseFileWatcherEvent:()=>lte,CommandNames:()=>kNe,ConfigFileDiagEvent:()=>ute,ConfiguredProject:()=>oge,CreateDirectoryWatcherEvent:()=>ste,CreateFileWatcherEvent:()=>ote,Errors:()=>v5,EventBeginInstallTypes:()=>hhe,EventEndInstallTypes:()=>fhe,EventInitializationFailed:()=>N9e,EventTypesRegistry:()=>L9e,ExternalProject:()=>Zee,GcTimer:()=>Ype,InferredProject:()=>nge,LargeFileReferencedEvent:()=>nte,LineIndex:()=>rz,LineLeaf:()=>qK,LineNode:()=>E9,LogLevel:()=>$pe,Msg:()=>Upe,OpenFileInfoTelemetryEvent:()=>cge,Project:()=>Wk,ProjectInfoTelemetryEvent:()=>ate,ProjectKind:()=>nz,ProjectLanguageServiceStateEvent:()=>rte,ProjectLoadingFinishEvent:()=>ite,ProjectLoadingStartEvent:()=>tte,ProjectReferenceProjectLoadKind:()=>fge,ProjectService:()=>mge,ProjectsUpdatedInBackgroundEvent:()=>JK,ScriptInfo:()=>ege,ScriptVersionCache:()=>fte,Session:()=>ANe,TextStorage:()=>Xpe,ThrottledOperations:()=>Zpe,TypingsCache:()=>tge,allFilesAreJsOrDts:()=>nNe,allRootFilesAreJsOrDts:()=>iNe,asNormalizedPath:()=>Fct,convertCompilerOptions:()=>Yee,convertFormatOptions:()=>Sw,convertScriptKindName:()=>lge,convertTypeAcquisition:()=>aNe,convertUserPreferences:()=>oNe,convertWatchOptions:()=>GK,countEachFileTypes:()=>KK,createInstallTypingsRequest:()=>kct,createModuleSpecifierCache:()=>ENe,createNormalizedPathMap:()=>Act,createPackageJsonCache:()=>_Ne,createSortedArray:()=>jLe,emptyArray:()=>$c,findArgument:()=>_it,forEachResolvedProjectReferenceProject:()=>Bw,formatDiagnosticToProtocol:()=>UK,formatMessage:()=>DNe,getBaseConfigFileName:()=>qpe,getLocationInNewDocument:()=>bNe,hasArgument:()=>Eit,hasNoTypeScriptSource:()=>uNe,indent:()=>BM,isBackgroundProject:()=>WK,isConfigFile:()=>fNe,isConfiguredProject:()=>Qv,isDynamicFileName:()=>HK,isExternalProject:()=>ige,isInferredProject:()=>Aw,isInferredProjectName:()=>zLe,makeAutoImportProviderProjectName:()=>RLe,makeAuxiliaryProjectName:()=>OLe,makeInferredProjectName:()=>ILe,maxFileSize:()=>ete,maxProgramSizeForNonTsFiles:()=>Xee,normalizedPathToPath:()=>VK,nowString:()=>Dit,nullCancellationToken:()=>yNe,nullTypingsInstaller:()=>qee,projectContainsInfoDirectly:()=>p9,protocol:()=>tNe,removeSorted:()=>Sct,stringifyIndented:()=>nw,toEvent:()=>xNe,toNormalizedPath:()=>Dl,tryConvertScriptKindName:()=>sge,typingsInstaller:()=>PLe,updateProjectIfDirty:()=>Gm});var _9=o({"src/server/_namespaces/ts.server.ts"(){QQ(),MLe(),vQt(),CQt(),bQt(),yQt(),AQt(),TQt(),MQt(),VQt(),HQt(),KQt(),oXt(),sXt()}}),Yct={};h(Yct,{ANONYMOUS:()=>KX,AccessFlags:()=>Koe,AssertionLevel:()=>moe,AssignmentDeclarationKind:()=>Qoe,AssignmentKind:()=>Kle,Associativity:()=>Gle,BreakpointResolver:()=>Ime,BuilderFileEmit:()=>K1e,BuilderProgramKind:()=>W1e,BuilderState:()=>Wp,BundleFileSectionKind:()=>gse,CallHierarchy:()=>o9,CharacterCodes:()=>lse,CheckFlags:()=>Roe,CheckMode:()=>XY,ClassificationType:()=>Nhe,ClassificationTypeNames:()=>Lhe,CommentDirectiveType:()=>boe,Comparison:()=>x,CompletionInfoFlags:()=>khe,CompletionTriggerKind:()=>xhe,Completions:()=>h9,ContainerFlags:()=>Pde,ContextFlags:()=>Boe,Debug:()=>H,DiagnosticCategory:()=>vO,Diagnostics:()=>F,DocumentHighlights:()=>JX,ElementFlags:()=>Hoe,EmitFlags:()=>_U,EmitHint:()=>fse,EmitOnly:()=>koe,EndOfLineState:()=>She,EnumKind:()=>Ioe,ExitStatus:()=>Foe,ExportKind:()=>Rfe,Extension:()=>cse,ExternalEmitHelpers:()=>hse,FileIncludeKind:()=>lU,FilePreprocessingDiagnosticsKind:()=>yoe,FileSystemEntryKind:()=>Cse,FileWatcherEventKind:()=>vse,FindAllReferences:()=>Z0,FlattenLevel:()=>Xde,FlowFlags:()=>xO,ForegroundColorEscapeSequences:()=>M1e,FunctionFlags:()=>Wle,GeneratedIdentifierFlags:()=>sU,GetLiteralTextFlags:()=>jle,GoToDefinition:()=>Cw,HighlightSpanKind:()=>Che,IdentifierNameMap:()=>Y7,IdentifierNameMultiMap:()=>Qde,ImportKind:()=>Ife,ImportsNotUsedAsValues:()=>use,IndentStyle:()=>bhe,IndexFlags:()=>Woe,IndexKind:()=>$oe,InferenceFlags:()=>Zoe,InferencePriority:()=>qoe,InlayHintKind:()=>vhe,InlayHints:()=>Spe,InternalEmitFlags:()=>dse,InternalSymbolName:()=>Ooe,InvalidatedProjectKind:()=>dhe,JSDocParsingMode:()=>Dse,JsDoc:()=>Yv,JsTyping:()=>o3,JsxEmit:()=>nse,JsxFlags:()=>voe,JsxReferenceKind:()=>Goe,LanguageServiceMode:()=>Ehe,LanguageVariant:()=>ose,LexicalEnvironmentFlags:()=>pse,ListFormat:()=>Ese,LogLevel:()=>goe,MemberOverrideStatus:()=>Aoe,ModifierFlags:()=>aU,ModuleDetectionKind:()=>Xoe,ModuleInstanceState:()=>Nde,ModuleKind:()=>FN,ModuleResolutionKind:()=>y8,ModuleSpecifierEnding:()=>Qle,NavigateTo:()=>n8e,NavigationBar:()=>f8e,NewLineKind:()=>rse,NodeBuilderFlags:()=>woe,NodeCheckFlags:()=>joe,NodeFactoryFlags:()=>ace,NodeFlags:()=>rU,NodeResolutionFeatures:()=>wde,ObjectFlags:()=>fU,OperationCanceledException:()=>b8,OperatorPrecedence:()=>Jle,OrganizeImports:()=>Gp,OrganizeImportsMode:()=>Dhe,OuterExpressionKinds:()=>mse,OutliningElementsCollector:()=>Lpe,OutliningSpanKind:()=>Fhe,OutputFileType:()=>Ahe,PackageJsonAutoImportPreference:()=>ghe,PackageJsonDependencyGroup:()=>phe,PatternMatchKind:()=>$X,PollingInterval:()=>DU,PollingWatchKind:()=>ise,PragmaKindFlags:()=>_se,PrivateIdentifierKind:()=>fce,ProcessLevel:()=>n1e,ProgramUpdateLevel:()=>_1e,QuotePreference:()=>Tfe,RelationComparisonResult:()=>oU,Rename:()=>Hee,ScriptElementKind:()=>whe,ScriptElementKindModifier:()=>The,ScriptKind:()=>pU,ScriptSnapshot:()=>eX,ScriptTarget:()=>ase,SemanticClassificationFormat:()=>_he,SemanticMeaning:()=>wfe,SemicolonPreference:()=>yhe,SignatureCheckMode:()=>eQ,SignatureFlags:()=>mU,SignatureHelp:()=>NK,SignatureKind:()=>Joe,SmartSelectionRange:()=>Mpe,SnippetKind:()=>EU,SortKind:()=>foe,StructureIsReused:()=>cU,SymbolAccessibility:()=>Noe,SymbolDisplay:()=>x5,SymbolDisplayPartKind:()=>wH,SymbolFlags:()=>dU,SymbolFormatFlags:()=>Loe,SyntaxKind:()=>uU,SyntheticSymbolKind:()=>Poe,Ternary:()=>Yoe,ThrottledCancellationToken:()=>zme,TokenClass:()=>Bhe,TokenFlags:()=>Coe,TransformFlags:()=>gU,TypeFacts:()=>QY,TypeFlags:()=>hU,TypeFormatFlags:()=>Toe,TypeMapKind:()=>Uoe,TypePredicateKind:()=>Moe,TypeReferenceSerializationKind:()=>zoe,UnionReduction:()=>Soe,UpToDateStatusType:()=>ohe,VarianceFlags:()=>Voe,Version:()=>Lp,VersionRange:()=>EO,WatchDirectoryFlags:()=>sse,WatchDirectoryKind:()=>tse,WatchFileKind:()=>ese,WatchLogLevel:()=>D1e,WatchType:()=>cd,accessPrivateIdentifier:()=>ZAe,addDisposableResourceHelper:()=>eY,addEmitFlags:()=>i_,addEmitHelper:()=>S7,addEmitHelpers:()=>iD,addInternalEmitFlags:()=>F7,addNodeFactoryPatcher:()=>MYe,addObjectAllocatorPatcher:()=>Qye,addRange:()=>yn,addRelatedInfo:()=>Es,addSyntheticLeadingComment:()=>OP,addSyntheticTrailingComment:()=>AZ,addToSeen:()=>Ip,advancedAsyncSuperHelper:()=>bV,affectsDeclarationPathOptionDeclarations:()=>mde,affectsEmitOptionDeclarations:()=>fde,allKeysStartWithDot:()=>JY,altDirectorySeparator:()=>BO,and:()=>Q$,append:()=>xi,appendIfUnique:()=>e0,arrayFrom:()=>ga,arrayIsEqualTo:()=>On,arrayIsHomogeneous:()=>Eke,arrayIsSorted:()=>hi,arrayOf:()=>am,arrayReverseIterator:()=>Cd,arrayToMap:()=>lg,arrayToMultiMap:()=>mO,arrayToNumericMap:()=>noe,arraysEqual:()=>Zt,assertType:()=>gqe,assign:()=>VE,assignHelper:()=>PZ,asyncDelegator:()=>zZ,asyncGeneratorHelper:()=>MZ,asyncSuperHelper:()=>CV,asyncValues:()=>IZ,attachFileToDiagnostics:()=>v7,awaitHelper:()=>B7,awaiterHelper:()=>OZ,base64decode:()=>jye,base64encode:()=>Oye,binarySearch:()=>Kl,binarySearchKey:()=>va,bindSourceFile:()=>SAe,breakIntoCharacterSpans:()=>ZSe,breakIntoWordSpans:()=>YSe,buildLinkParts:()=>DSe,buildOpts:()=>MY,buildOverload:()=>Dct,bundlerModuleNameResolver:()=>gAe,canBeConvertedToAsync:()=>qfe,canHaveDecorators:()=>Ak,canHaveExportModifier:()=>rV,canHaveFlowNode:()=>Bj,canHaveIllegalDecorators:()=>Hce,canHaveIllegalModifiers:()=>LFe,canHaveIllegalType:()=>dQe,canHaveIllegalTypeParameters:()=>TFe,canHaveJSDoc:()=>wj,canHaveLocals:()=>UE,canHaveModifiers:()=>Hp,canHaveSymbol:()=>Zg,canJsonReportNoInputFiles:()=>aM,canProduceDiagnostics:()=>mQ,canUsePropertyAccess:()=>zle,canWatchAffectingLocation:()=>n9e,canWatchAtTypes:()=>i9e,canWatchDirectoryOrFile:()=>IQ,cartesianProduct:()=>i2e,cast:()=>Po,chainBundle:()=>Kp,chainDiagnosticMessages:()=>ro,changeAnyExtension:()=>AO,changeCompilerHostLikeToUseCache:()=>vH,changeExtension:()=>wv,changesAffectModuleResolution:()=>UU,changesAffectingProgramStructure:()=>bbe,childIsDecorated:()=>QN,classElementOrClassElementParameterIsDecorated:()=>S0e,classHasClassThisAssignment:()=>e1e,classHasDeclaredOrExplicitlyAssignedName:()=>t1e,classHasExplicitlyAssignedName:()=>dQ,classOrConstructorParameterIsDecorated:()=>t5,classPrivateFieldGetHelper:()=>YZ,classPrivateFieldInHelper:()=>XZ,classPrivateFieldSetHelper:()=>QZ,classicNameResolver:()=>yAe,classifier:()=>aBe,cleanExtendedConfigCache:()=>CQ,clear:()=>pu,clearMap:()=>rf,clearSharedExtendedConfigFileWatcher:()=>p1e,climbPastPropertyAccess:()=>iX,climbPastPropertyOrElementAccess:()=>J9e,clone:()=>uoe,cloneCompilerOptions:()=>Qhe,closeFileWatcher:()=>fg,closeFileWatcherOf:()=>jm,codefix:()=>z1,collapseTextChangeRangesAcrossMultipleVersions:()=>P2e,collectExternalModuleInfo:()=>Ude,combine:()=>vo,combinePaths:()=>cr,commentPragmas:()=>CO,commonOptionsWithBuild:()=>QV,commonPackageFolders:()=>Ule,compact:()=>Dr,compareBooleans:()=>d2,compareDataObjects:()=>gle,compareDiagnostics:()=>bP,compareDiagnosticsSkipRelatedInformation:()=>Zq,compareEmitHelpers:()=>Uke,compareNumberOfDirectorySeparators:()=>iV,comparePaths:()=>pv,comparePathsCaseInsensitive:()=>Kqe,comparePathsCaseSensitive:()=>Hqe,comparePatternKeys:()=>Sde,compareProperties:()=>QCe,compareStringsCaseInsensitive:()=>Z$,compareStringsCaseInsensitiveEslintCompatible:()=>qCe,compareStringsCaseSensitive:()=>dh,compareStringsCaseSensitiveUI:()=>pO,compareTextSpans:()=>q$,compareValues:()=>nl,compileOnSaveCommandLineOption:()=>ZV,compilerOptionsAffectDeclarationPath:()=>lke,compilerOptionsAffectEmit:()=>ske,compilerOptionsAffectSemanticDiagnostics:()=>oke,compilerOptionsDidYouMeanDiagnostics:()=>tH,compilerOptionsIndicateEsModules:()=>ufe,compose:()=>mqe,computeCommonSourceDirectoryOfFilenames:()=>P7e,computeLineAndCharacterOfPosition:()=>k8,computeLineOfPosition:()=>TN,computeLineStarts:()=>n7,computePositionOfLineAndCharacter:()=>FU,computeSignature:()=>Nk,computeSignatureWithDiagnostics:()=>O1e,computeSuggestionDiagnostics:()=>Jfe,concatenate:()=>Hi,concatenateDiagnosticMessageChains:()=>ike,consumesNodeCoreModules:()=>zX,contains:()=>kt,containsIgnoredPath:()=>TP,containsObjectRestOrSpread:()=>VV,containsParseError:()=>O8,containsPath:()=>GE,convertCompilerOptionsForTelemetry:()=>eAe,convertCompilerOptionsFromJson:()=>mXe,convertJsonOption:()=>Sk,convertToBase64:()=>Rye,convertToJson:()=>$V,convertToObject:()=>ZFe,convertToOptionsWithAbsolutePaths:()=>ode,convertToRelativePath:()=>wN,convertToTSConfig:()=>eXe,convertTypeAcquisitionFromJson:()=>pXe,copyComments:()=>Rk,copyEntries:()=>qU,copyLeadingComments:()=>cw,copyProperties:()=>roe,copyTrailingAsLeadingComments:()=>ZH,copyTrailingComments:()=>OM,couldStartTrivia:()=>y2e,countWhere:()=>ui,createAbstractBuilder:()=>ktt,createAccessorPropertyBackingField:()=>Wce,createAccessorPropertyGetRedirector:()=>jFe,createAccessorPropertySetRedirector:()=>VFe,createBaseNodeFactory:()=>Lke,createBinaryExpressionTrampoline:()=>kY,createBindingHelper:()=>xB,createBuildInfo:()=>gH,createBuilderProgram:()=>j1e,createBuilderProgramUsingProgramBuildInfo:()=>e9e,createBuilderStatusReporter:()=>E9e,createCacheWithRedirects:()=>Cde,createCacheableExportInfoMap:()=>Pfe,createCachedDirectoryStructureHost:()=>xQ,createClassNamedEvaluationHelperBlock:()=>t7e,createClassThisAssignmentBlock:()=>XAe,createClassifier:()=>Hit,createCommentDirectivesMap:()=>Bbe,createCompilerDiagnostic:()=>cc,createCompilerDiagnosticForInvalidCustomType:()=>GFe,createCompilerDiagnosticFromMessageChain:()=>qq,createCompilerHost:()=>M7e,createCompilerHostFromProgramHost:()=>nhe,createCompilerHostWorker:()=>C1e,createDetachedDiagnostic:()=>hB,createDiagnosticCollection:()=>rB,createDiagnosticForFileFromMessageChain:()=>b0e,createDiagnosticForNode:()=>Su,createDiagnosticForNodeArray:()=>H8,createDiagnosticForNodeArrayFromMessageChain:()=>sj,createDiagnosticForNodeFromMessageChain:()=>Y3,createDiagnosticForNodeInSourceFile:()=>K4,createDiagnosticForRange:()=>Vbe,createDiagnosticMessageChainFromDiagnostic:()=>jbe,createDiagnosticReporter:()=>kH,createDocumentPositionMapper:()=>WAe,createDocumentRegistry:()=>OSe,createDocumentRegistryInternal:()=>Vfe,createEmitAndSemanticDiagnosticsBuilderProgram:()=>G1e,createEmitHelperFactory:()=>$ke,createEmptyExports:()=>NV,createExpressionForJsxElement:()=>yFe,createExpressionForJsxFragment:()=>kFe,createExpressionForObjectLiteralElementLike:()=>FFe,createExpressionForPropertyName:()=>zce,createExpressionFromEntityName:()=>PV,createExternalHelpersImportDeclarationIfNeeded:()=>Oce,createFileDiagnostic:()=>Rd,createFileDiagnosticFromMessageChain:()=>nq,createForOfBindingStatement:()=>Mce,createGetCanonicalFileName:()=>L1,createGetSourceFile:()=>x1e,createGetSymbolAccessibilityDiagnosticForNode:()=>h5,createGetSymbolAccessibilityDiagnosticForNodeName:()=>k7e,createGetSymbolWalker:()=>BAe,createIncrementalCompilerHost:()=>rhe,createIncrementalProgram:()=>p9e,createInputFiles:()=>IYe,createInputFilesWithFilePaths:()=>uce,createInputFilesWithFileTexts:()=>rce,createJsxFactoryExpression:()=>Pce,createLanguageService:()=>eBe,createLanguageServiceSourceFile:()=>Eee,createMemberAccessForPropertyName:()=>Fk,createModeAwareCache:()=>U7,createModeAwareCacheKey:()=>dM,createModuleNotFoundChain:()=>o0e,createModuleResolutionCache:()=>KB,createModuleResolutionLoader:()=>A1e,createModuleResolutionLoaderUsingGlobalCache:()=>o9e,createModuleSpecifierResolutionHost:()=>Ik,createMultiMap:()=>wm,createNodeConverters:()=>Pke,createNodeFactory:()=>mV,createOptionNameMap:()=>SY,createOverload:()=>Gpe,createPackageJsonImportFilter:()=>HM,createPackageJsonInfo:()=>Cfe,createParenthesizerRules:()=>Nke,createPatternMatcher:()=>WSe,createPrependNodes:()=>N1e,createPrinter:()=>Gv,createPrinterWithDefaults:()=>f1e,createPrinterWithRemoveComments:()=>X2,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>m1e,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>EH,createProgram:()=>SQ,createProgramHost:()=>uhe,createPropertyNameNodeForIdentifierOrLiteral:()=>mZ,createQueue:()=>U$,createRange:()=>s4,createRedirectedBuilderProgram:()=>H1e,createResolutionCache:()=>$1e,createRuntimeTypeSerializer:()=>a7e,createScanner:()=>YD,createSemanticDiagnosticsBuilderProgram:()=>ytt,createSet:()=>aoe,createSolutionBuilder:()=>Vtt,createSolutionBuilderHost:()=>Ott,createSolutionBuilderWithWatch:()=>Htt,createSolutionBuilderWithWatchHost:()=>jtt,createSortedArray:()=>xt,createSourceFile:()=>KV,createSourceMapGenerator:()=>jAe,createSourceMapSource:()=>RYe,createSuperAccessVariableStatement:()=>fQ,createSymbolTable:()=>Vo,createSymlinkCache:()=>ble,createSystemWatchFunctions:()=>E2e,createTextChange:()=>VH,createTextChangeFromStartLength:()=>gX,createTextChangeRange:()=>OO,createTextRangeFromNode:()=>tfe,createTextRangeFromSpan:()=>pX,createTextSpan:()=>d1,createTextSpanFromBounds:()=>Vc,createTextSpanFromNode:()=>of,createTextSpanFromRange:()=>qx,createTextSpanFromStringLiteralLikeContent:()=>efe,createTextWriter:()=>Vj,createTokenRange:()=>fle,createTypeChecker:()=>PAe,createTypeReferenceDirectiveResolutionCache:()=>HY,createTypeReferenceResolutionLoader:()=>kQ,createUnparsedSourceFile:()=>nce,createWatchCompilerHost:()=>ztt,createWatchCompilerHostOfConfigFile:()=>h9e,createWatchCompilerHostOfFilesAndCompilerOptions:()=>f9e,createWatchFactory:()=>ihe,createWatchHost:()=>the,createWatchProgram:()=>Itt,createWatchStatusReporter:()=>s9e,createWriteFileMeasuringIO:()=>v1e,declarationNameToString:()=>b0,decodeMappings:()=>Gde,decodedTextSpanIntersectsWith:()=>RO,decorateHelper:()=>BZ,deduplicate:()=>ri,defaultIncludeSpec:()=>RY,defaultInitCompilerOptions:()=>zY,defaultMaximumTruncationLength:()=>lV,detectSortCaseSensitivity:()=>cn,diagnosticCategoryName:()=>Gy,diagnosticToString:()=>jk,directoryProbablyExists:()=>hg,directorySeparator:()=>rl,displayPart:()=>yf,displayPartsToString:()=>EK,disposeEmitNodes:()=>oce,disposeResourcesHelper:()=>tY,documentSpansEqual:()=>bX,dumpTracingLegend:()=>m2e,elementAt:()=>qD,elideNodes:()=>OFe,emitComments:()=>Aye,emitDetachedComments:()=>Sye,emitFiles:()=>EQ,emitFilesAndReportErrors:()=>VQ,emitFilesAndReportErrorsAndGetExitStatus:()=>d9e,emitModuleKindIsNonNodeESM:()=>Yq,emitNewLineBeforeLeadingCommentOfPosition:()=>Fye,emitNewLineBeforeLeadingComments:()=>yye,emitNewLineBeforeLeadingCommentsOfPosition:()=>kye,emitSkippedWithNoDiagnostics:()=>PQ,emitUsingBuildInfo:()=>w7e,emptyArray:()=>_t,emptyFileSystemEntries:()=>bZ,emptyMap:()=>iU,emptyOptions:()=>d4,emptySet:()=>u2e,endsWith:()=>sc,ensurePathIsNonModuleName:()=>h2,ensureScriptKind:()=>oZ,ensureTrailingDirectorySeparator:()=>zd,entityNameToString:()=>zf,enumerateInsertsAndDeletes:()=>eU,equalOwnProperties:()=>ZA,equateStringsCaseInsensitive:()=>QA,equateStringsCaseSensitive:()=>XA,equateValues:()=>Cx,esDecorateHelper:()=>LZ,escapeJsxAttributeString:()=>X0e,escapeLeadingUnderscores:()=>Al,escapeNonAsciiString:()=>jj,escapeSnippetText:()=>O2,escapeString:()=>Av,every:()=>ye,expandPreOrPostfixIncrementOrDecrementExpression:()=>DY,explainFiles:()=>Z1e,explainIfFileIsRedirectAndImpliedFormat:()=>Y1e,exportAssignmentIsAlias:()=>tB,exportStarHelper:()=>ZZ,expressionResultIsUnused:()=>Dke,extend:()=>$$,extendsHelper:()=>jZ,extensionFromPath:()=>y7,extensionIsTS:()=>cZ,extensionsNotSupportingExtensionlessResolution:()=>fV,externalHelpersModuleNameText:()=>Hx,factory:()=>q,fileExtensionIs:()=>Ml,fileExtensionIsOneOf:()=>jc,fileIncludeReasonToDiagnostics:()=>ehe,fileShouldUseJavaScriptRequire:()=>Bfe,filter:()=>ti,filterMutate:()=>Uu,filterSemanticDiagnostics:()=>BQ,find:()=>Le,findAncestor:()=>Tn,findBestPatternMatch:()=>coe,findChildOfKind:()=>a0,findComputedPropertyNameCacheAssignment:()=>FY,findConfigFile:()=>N7e,findContainingList:()=>oX,findDiagnosticForNode:()=>TSe,findFirstNonJsxWhitespaceToken:()=>Y9e,findIndex:()=>Ue,findLast:()=>lt,findLastIndex:()=>Ze,findListItemInfo:()=>Z9e,findMap:()=>rt,findModifier:()=>ow,findNextToken:()=>ib,findPackageJson:()=>BSe,findPackageJsons:()=>vfe,findPrecedingMatchingToken:()=>fX,findPrecedingToken:()=>td,findSuperStatementIndexPath:()=>sQ,findTokenOnLeftOfPosition:()=>cX,findUseStrictPrologue:()=>Rce,first:()=>Pn,firstDefined:()=>G,firstDefinedIterator:()=>ie,firstIterator:()=>Oa,firstOrOnly:()=>Ffe,firstOrUndefined:()=>Ki,firstOrUndefinedIterator:()=>Hn,fixupCompilerOptions:()=>Yfe,flatMap:()=>ju,flatMapIterator:()=>pa,flatMapToMutable:()=>Tr,flatten:()=>Va,flattenCommaList:()=>HFe,flattenDestructuringAssignment:()=>wk,flattenDestructuringBinding:()=>Q2,flattenDiagnosticMessageText:()=>lE,forEach:()=>L,forEachAncestor:()=>ybe,forEachAncestorDirectory:()=>Ug,forEachChild:()=>ao,forEachChildRecursively:()=>uM,forEachEmittedFile:()=>d1e,forEachEnclosingBlockScopeContainer:()=>Ibe,forEachEntry:()=>h1,forEachExternalModuleToImportFrom:()=>zfe,forEachImportClauseDeclaration:()=>Fq,forEachKey:()=>U_,forEachLeadingCommentRange:()=>NO,forEachNameInAccessChainWalkingLeft:()=>Zye,forEachPropertyAssignment:()=>J8,forEachResolvedProjectReference:()=>S1e,forEachReturnStatement:()=>y2,forEachRight:()=>O,forEachTrailingCommentRange:()=>PO,forEachTsConfigPropArray:()=>hj,forEachUnique:()=>lfe,forEachYieldExpression:()=>Kbe,forSomeAncestorDirectory:()=>rYe,formatColorAndReset:()=>eb,formatDiagnostic:()=>b1e,formatDiagnostics:()=>att,formatDiagnosticsWithColorAndContext:()=>z7e,formatGeneratedName:()=>jv,formatGeneratedNamePart:()=>RB,formatLocation:()=>y1e,formatMessage:()=>Dle,formatStringFromArgs:()=>e3,formatting:()=>dd,fullTripleSlashAMDReferencePathRegEx:()=>Hle,fullTripleSlashReferencePathRegEx:()=>Vle,generateDjb2Hash:()=>AN,generateTSConfig:()=>rXe,generatorHelper:()=>$Z,getAdjustedReferenceLocation:()=>Jhe,getAdjustedRenameLocation:()=>lX,getAliasDeclarationFromName:()=>H0e,getAllAccessorDeclarations:()=>dk,getAllDecoratorsOfClass:()=>Zde,getAllDecoratorsOfClassElement:()=>cQ,getAllJSDocTags:()=>Vse,getAllJSDocTagsOfKind:()=>_Ze,getAllKeys:()=>Bm,getAllProjectOutputs:()=>gQ,getAllSuperTypeNodes:()=>uP,getAllUnscopedEmitHelpers:()=>hce,getAllowJSCompilerOption:()=>Bv,getAllowSyntheticDefaultImports:()=>C7,getAncestor:()=>Fv,getAnyExtensionFromPath:()=>BN,getAreDeclarationMapsEnabled:()=>Xq,getAssignedExpandoInitializer:()=>l7,getAssignedName:()=>zse,getAssignedNameOfIdentifier:()=>_M,getAssignmentDeclarationKind:()=>Xl,getAssignmentDeclarationPropertyAccessKind:()=>yj,getAssignmentTargetKind:()=>f7,getAutomaticTypeDirectiveNames:()=>VY,getBaseFileName:()=>Ac,getBinaryOperatorPrecedence:()=>Oj,getBuildInfo:()=>_Q,getBuildInfoFileVersionMap:()=>V1e,getBuildInfoText:()=>B7e,getBuildOrderFromAnyBuildOrder:()=>JQ,getBuilderCreationParameters:()=>MQ,getBuilderFileEmit:()=>Ux,getCheckFlags:()=>Gl,getClassExtendsHeritageElement:()=>B2,getClassLikeDeclarationOfSymbol:()=>tD,getCombinedLocalAndExportSymbolFlags:()=>xP,getCombinedModifierFlags:()=>m2,getCombinedNodeFlags:()=>QD,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>Pse,getCommentRange:()=>nE,getCommonSourceDirectory:()=>yM,getCommonSourceDirectoryOfConfig:()=>kM,getCompilerOptionValue:()=>tZ,getCompilerOptionsDiffValue:()=>nXe,getConditions:()=>$2,getConfigFileParsingDiagnostics:()=>Lk,getConstantValue:()=>jke,getContainerFlags:()=>Lde,getContainerNode:()=>Mk,getContainingClass:()=>Yd,getContainingClassExcludingClassDecorators:()=>hq,getContainingClassStaticBlock:()=>Qbe,getContainingFunction:()=>Nm,getContainingFunctionDeclaration:()=>Ybe,getContainingFunctionOrClassStaticBlock:()=>dq,getContainingNodeArray:()=>xke,getContainingObjectLiteralElement:()=>_K,getContextualTypeFromParent:()=>SX,getContextualTypeFromParentOrAncestorTypeNode:()=>sX,getCurrentTime:()=>AH,getDeclarationDiagnostics:()=>F7e,getDeclarationEmitExtensionForPath:()=>Kj,getDeclarationEmitOutputFilePath:()=>Dye,getDeclarationEmitOutputFilePathWorker:()=>Mq,getDeclarationFromName:()=>nP,getDeclarationModifierFlagsFromSymbol:()=>l4,getDeclarationOfKind:()=>Sl,getDeclarationsOfKind:()=>vbe,getDeclaredExpandoInitializer:()=>xj,getDecorators:()=>Ax,getDefaultCompilerOptions:()=>gee,getDefaultExportInfoWorker:()=>GX,getDefaultFormatCodeSettings:()=>XQ,getDefaultLibFileName:()=>zO,getDefaultLibFilePath:()=>tBe,getDefaultLikeExportInfo:()=>WX,getDiagnosticText:()=>$Qe,getDiagnosticsWithinSpan:()=>LSe,getDirectoryPath:()=>lr,getDirectoryToWatchFailedLookupLocation:()=>J1e,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>r9e,getDocumentPositionMapper:()=>Gfe,getESModuleInterop:()=>e_,getEditsForFileRename:()=>VSe,getEffectiveBaseTypeNode:()=>Qg,getEffectiveConstraintOfTypeParameter:()=>w8,getEffectiveContainerForJSDocTemplateTag:()=>Aq,getEffectiveImplementsTypeNodes:()=>iB,getEffectiveInitializer:()=>Dj,getEffectiveJSDocHost:()=>ok,getEffectiveModifierFlags:()=>Eh,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>Lye,getEffectiveModifierFlagsNoCache:()=>Nye,getEffectiveReturnTypeNode:()=>U4,getEffectiveSetAccessorTypeAnnotationNode:()=>bye,getEffectiveTypeAnnotationNode:()=>f1,getEffectiveTypeParameterDeclarations:()=>Sx,getEffectiveTypeRoots:()=>cM,getElementOrPropertyAccessArgumentExpressionOrName:()=>kq,getElementOrPropertyAccessName:()=>Q3,getElementsOfBindingOrAssignmentPattern:()=>IB,getEmitDeclarations:()=>c4,getEmitFlags:()=>bs,getEmitHelpers:()=>SZ,getEmitModuleDetectionKind:()=>nke,getEmitModuleKind:()=>m1,getEmitModuleResolutionKind:()=>p1,getEmitScriptTarget:()=>Os,getEmitStandardClassFields:()=>ake,getEnclosingBlockScopeContainer:()=>YE,getEnclosingContainer:()=>C0e,getEncodedSemanticClassifications:()=>Ofe,getEncodedSyntacticClassifications:()=>jfe,getEndLinePosition:()=>uj,getEntityNameFromTypeNode:()=>pj,getEntrypointsFromPackageJsonInfo:()=>kde,getErrorCountForSummary:()=>OQ,getErrorSpanForNode:()=>C2,getErrorSummaryText:()=>l9e,getEscapedTextOfIdentifierOrLiteral:()=>oP,getEscapedTextOfJsxAttributeName:()=>MP,getEscapedTextOfJsxNamespacedName:()=>k7,getExpandoInitializer:()=>yv,getExportAssignmentExpression:()=>K0e,getExportInfoMap:()=>tK,getExportNeedsImportStarHelper:()=>GAe,getExpressionAssociativity:()=>q0e,getExpressionPrecedence:()=>lP,getExternalHelpersModuleName:()=>zV,getExternalModuleImportEqualsDeclarationExpression:()=>XN,getExternalModuleName:()=>Y8,getExternalModuleNameFromDeclaration:()=>Eye,getExternalModuleNameFromPath:()=>tle,getExternalModuleNameLiteral:()=>W7,getExternalModuleRequireArgument:()=>w0e,getFallbackOptions:()=>xH,getFileEmitOutput:()=>K7e,getFileMatcherPatterns:()=>aZ,getFileNamesFromConfigSpecs:()=>oM,getFileWatcherEventKind:()=>xse,getFilesInErrorForSummary:()=>jQ,getFirstConstructorWithBody:()=>X_,getFirstIdentifier:()=>hm,getFirstNonSpaceCharacterPosition:()=>bSe,getFirstProjectOutput:()=>h1e,getFixableErrorSpanExpression:()=>yfe,getFormatCodeSettingsForWriting:()=>jX,getFullWidth:()=>ij,getFunctionFlags:()=>kd,getHeritageClause:()=>Mj,getHostSignatureFromJSDoc:()=>kv,getIdentifierAutoGenerate:()=>KYe,getIdentifierGeneratedImportReference:()=>Jke,getIdentifierTypeArguments:()=>gk,getImmediatelyInvokedFunctionExpression:()=>nk,getImpliedNodeFormatForFile:()=>bH,getImpliedNodeFormatForFileWorker:()=>T1e,getImportNeedsImportDefaultHelper:()=>$de,getImportNeedsImportStarHelper:()=>aQ,getIndentSize:()=>oB,getIndentString:()=>Nq,getInferredLibraryNameResolveFrom:()=>AQ,getInitializedVariables:()=>DP,getInitializerOfBinaryExpression:()=>M0e,getInitializerOfBindingOrAssignmentElement:()=>RV,getInterfaceBaseTypeNodes:()=>rP,getInternalEmitFlags:()=>Pp,getInvokedExpression:()=>pq,getIsolatedModules:()=>mg,getJSDocAugmentsTag:()=>K2e,getJSDocClassTag:()=>Ise,getJSDocCommentRanges:()=>k0e,getJSDocCommentsAndTags:()=>I0e,getJSDocDeprecatedTag:()=>Rse,getJSDocDeprecatedTagNoCache:()=>Z2e,getJSDocEnumTag:()=>Ose,getJSDocHost:()=>h7,getJSDocImplementsTags:()=>W2e,getJSDocOverrideTagNoCache:()=>q2e,getJSDocParameterTags:()=>B8,getJSDocParameterTagsNoCache:()=>O2e,getJSDocPrivateTag:()=>fZe,getJSDocPrivateTagNoCache:()=>J2e,getJSDocProtectedTag:()=>mZe,getJSDocProtectedTagNoCache:()=>$2e,getJSDocPublicTag:()=>hZe,getJSDocPublicTagNoCache:()=>G2e,getJSDocReadonlyTag:()=>pZe,getJSDocReadonlyTagNoCache:()=>U2e,getJSDocReturnTag:()=>Y2e,getJSDocReturnType:()=>VO,getJSDocRoot:()=>iP,getJSDocSatisfiesExpressionType:()=>Rle,getJSDocSatisfiesTag:()=>jse,getJSDocTags:()=>Cv,getJSDocTagsNoCache:()=>EZe,getJSDocTemplateTag:()=>gZe,getJSDocThisTag:()=>LU,getJSDocType:()=>vv,getJSDocTypeAliasName:()=>Vce,getJSDocTypeAssertionType:()=>vY,getJSDocTypeParameterDeclarations:()=>Oq,getJSDocTypeParameterTags:()=>j2e,getJSDocTypeParameterTagsNoCache:()=>V2e,getJSDocTypeTag:()=>xv,getJSXImplicitImportBase:()=>nZ,getJSXRuntimeImport:()=>uZ,getJSXTransformEnabled:()=>iZ,getKeyForCompilerOptions:()=>vde,getLanguageVariant:()=>Yj,getLastChild:()=>Ele,getLeadingCommentRanges:()=>W_,getLeadingCommentRangesOfNode:()=>y0e,getLeftmostAccessExpression:()=>CP,getLeftmostExpression:()=>dB,getLibraryNameFromLibFileName:()=>B1e,getLineAndCharacterOfPosition:()=>s0,getLineInfo:()=>Kde,getLineOfLocalPosition:()=>dP,getLineOfLocalPositionFromLineMap:()=>lk,getLineStartPositionForPosition:()=>tp,getLineStarts:()=>$3,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Gye,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>Wye,getLinesBetweenPositions:()=>LN,getLinesBetweenRangeEndAndRangeStart:()=>mle,getLinesBetweenRangeEndPositions:()=>nYe,getLiteralText:()=>wbe,getLocalNameForExternalImport:()=>zB,getLocalSymbolForExportDefault:()=>lB,getLocaleSpecificMessage:()=>to,getLocaleTimeString:()=>FH,getMappedContextSpan:()=>cfe,getMappedDocumentSpan:()=>yX,getMappedLocation:()=>zM,getMatchedFileSpec:()=>Q1e,getMatchedIncludeSpec:()=>X1e,getMeaningFromDeclaration:()=>TH,getMeaningFromLocation:()=>Pk,getMembersOfDeclaration:()=>Wbe,getModeForFileReference:()=>yQ,getModeForResolutionAtIndex:()=>k1e,getModeForUsageLocation:()=>xg,getModifiedTime:()=>e7,getModifiers:()=>p2,getModuleInstanceState:()=>oD,getModuleNameStringLiteralAt:()=>TQ,getModuleSpecifierEndingPreference:()=>Sle,getModuleSpecifierResolverHost:()=>rfe,getNameForExportedSymbol:()=>IX,getNameFromIndexInfo:()=>Rbe,getNameFromPropertyName:()=>WH,getNameOfAccessExpression:()=>Uye,getNameOfCompilerOptionValue:()=>rde,getNameOfDeclaration:()=>Za,getNameOfExpando:()=>N0e,getNameOfJSDocTypedef:()=>R2e,getNameOrArgument:()=>bj,getNameTable:()=>Tme,getNamesForExportedSymbol:()=>NSe,getNamespaceDeclarationNode:()=>Q8,getNewLineCharacter:()=>a5,getNewLineKind:()=>eK,getNewLineOrDefaultFromHost:()=>E5,getNewTargetContainer:()=>eye,getNextJSDocCommentLocation:()=>R0e,getNodeForGeneratedName:()=>jV,getNodeId:()=>$s,getNodeKind:()=>tb,getNodeModifiers:()=>NM,getNodeModulePathParts:()=>pZ,getNonAssignedNameOfDeclaration:()=>TU,getNonAssignmentOperatorForCompoundAssignment:()=>pM,getNonAugmentationDeclaration:()=>g0e,getNonDecoratorTokenPosOfNode:()=>d0e,getNormalizedAbsolutePath:()=>$a,getNormalizedAbsolutePathWithoutRoot:()=>Fse,getNormalizedPathComponents:()=>FO,getObjectFlags:()=>Gu,getOperator:()=>Y0e,getOperatorAssociativity:()=>Z0e,getOperatorPrecedence:()=>Rj,getOptionFromName:()=>ede,getOptionsForLibraryResolution:()=>bde,getOptionsNameMap:()=>jB,getOrCreateEmitNode:()=>P1,getOrCreateExternalHelpersModuleNameIfNeeded:()=>wFe,getOrUpdate:()=>W0,getOriginalNode:()=>Wl,getOriginalNodeId:()=>M1,getOriginalSourceFile:()=>$Ze,getOutputDeclarationFileName:()=>bM,getOutputExtension:()=>pQ,getOutputFileNames:()=>ntt,getOutputPathsFor:()=>CM,getOutputPathsForBundle:()=>vM,getOwnEmitOutputFilePath:()=>_ye,getOwnKeys:()=>Ns,getOwnValues:()=>U1,getPackageJsonInfo:()=>U2,getPackageJsonTypesVersionsPaths:()=>jY,getPackageJsonsVisibleToFile:()=>wSe,getPackageNameFromTypesPackageName:()=>hM,getPackageScopeForPath:()=>aH,getParameterSymbolFromJSDoc:()=>Tj,getParameterTypeNode:()=>gYe,getParentNodeInSpan:()=>JH,getParseTreeNode:()=>Ua,getParsedCommandLineOfConfigFile:()=>GV,getPathComponents:()=>yd,getPathComponentsRelativeTo:()=>Sse,getPathFromPathComponents:()=>yx,getPathUpdater:()=>Kfe,getPathsBasePath:()=>zq,getPatternFromSpec:()=>Fle,getPendingEmitKind:()=>XB,getPositionOfLineAndCharacter:()=>TO,getPossibleGenericSignatures:()=>Uhe,getPossibleOriginalInputExtensionForExtension:()=>xye,getPossibleTypeArgumentsInfo:()=>qhe,getPreEmitDiagnostics:()=>rtt,getPrecedingNonSpaceCharacterPosition:()=>FX,getPrivateIdentifier:()=>Yde,getProperties:()=>qde,getProperty:()=>uo,getPropertyArrayElementValue:()=>Zbe,getPropertyAssignmentAliasLikeExpression:()=>fye,getPropertyNameForPropertyNameNode:()=>sk,getPropertyNameForUniqueESSymbol:()=>GZe,getPropertyNameFromType:()=>Q4,getPropertyNameOfBindingOrAssignmentElement:()=>jce,getPropertySymbolFromBindingElement:()=>CX,getPropertySymbolsFromContextualType:()=>_ee,getQuoteFromPreference:()=>ofe,getQuotePreference:()=>Hm,getRangesWhere:()=>eu,getRefactorContextSpan:()=>u9,getReferencedFileLocation:()=>FM,getRegexFromPattern:()=>jx,getRegularExpressionForWildcard:()=>yP,getRegularExpressionsForWildcards:()=>rZ,getRelativePathFromDirectory:()=>JE,getRelativePathFromFile:()=>SO,getRelativePathToDirectoryOrUrl:()=>i7,getRenameLocation:()=>qH,getReplacementSpanForContextToken:()=>Xhe,getResolutionDiagnostic:()=>P1e,getResolutionModeOverride:()=>qB,getResolveJsonModule:()=>M2,getResolvePackageJsonExports:()=>vle,getResolvePackageJsonImports:()=>cYe,getResolvedExternalModuleName:()=>Pq,getRestIndicatorOfBindingOrAssignmentElement:()=>bY,getRestParameterElementType:()=>F0e,getRightMostAssignedExpression:()=>vj,getRootDeclaration:()=>XE,getRootDirectoryOfResolutionCache:()=>a9e,getRootLength:()=>WE,getRootPathSplitLength:()=>Btt,getScriptKind:()=>pfe,getScriptKindFromFileName:()=>sZ,getScriptTargetFeatures:()=>xZ,getSelectedEffectiveModifierFlags:()=>E7,getSelectedSyntacticModifierFlags:()=>wye,getSemanticClassifications:()=>ISe,getSemanticJsxChildren:()=>uB,getSetAccessorTypeAnnotationNode:()=>vye,getSetAccessorValueParameter:()=>hP,getSetExternalModuleIndicator:()=>Qj,getShebang:()=>SU,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>z0e,getSingleVariableOfVariableStatement:()=>eB,getSnapshotText:()=>aw,getSnippetElement:()=>sce,getSourceFileOfModule:()=>YU,getSourceFileOfNode:()=>zn,getSourceFilePathInNewDir:()=>Iq,getSourceFilePathInNewDirWorker:()=>Rq,getSourceFileVersionAsHashFromText:()=>HQ,getSourceFilesToEmit:()=>ile,getSourceMapRange:()=>Lv,getSourceMapper:()=>XSe,getSourceTextOfNodeFromSourceFile:()=>x2,getSpanOfTokenAtPosition:()=>QE,getSpellingSuggestion:()=>bN,getStartPositionOfLine:()=>Mx,getStartPositionOfRange:()=>_P,getStartsOnNewLine:()=>RP,getStaticPropertiesAndClassStaticBlock:()=>lQ,getStrictOptionValue:()=>Z4,getStringComparer:()=>CN,getSuperCallFromStatement:()=>oQ,getSuperContainer:()=>fj,getSupportedCodeFixes:()=>Bme,getSupportedExtensions:()=>kP,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>tV,getSwitchedType:()=>Dfe,getSymbolId:()=>Zo,getSymbolNameForPrivateIdentifier:()=>zj,getSymbolTarget:()=>vSe,getSyntacticClassifications:()=>RSe,getSyntacticModifierFlags:()=>Rx,getSyntacticModifierFlagsNoCache:()=>ale,getSynthesizedDeepClone:()=>ll,getSynthesizedDeepCloneWithReplacements:()=>UH,getSynthesizedDeepClones:()=>nb,getSynthesizedDeepClonesWithReplacements:()=>gfe,getSyntheticLeadingComments:()=>DB,getSyntheticTrailingComments:()=>DV,getTargetLabel:()=>nX,getTargetOfBindingOrAssignmentElement:()=>$x,getTemporaryModuleResolutionState:()=>rH,getTextOfConstantValue:()=>Tbe,getTextOfIdentifierOrLiteral:()=>J4,getTextOfJSDocComment:()=>KO,getTextOfJsxAttributeName:()=>sV,getTextOfJsxNamespacedName:()=>zP,getTextOfNode:()=>Hc,getTextOfNodeFromSourceText:()=>JN,getTextOfPropertyName:()=>V8,getThisContainer:()=>tf,getThisParameter:()=>T2,getTokenAtPosition:()=>Ca,getTokenPosOfNode:()=>ek,getTokenSourceMapRange:()=>VYe,getTouchingPropertyName:()=>af,getTouchingToken:()=>LM,getTrailingCommentRanges:()=>gv,getTrailingSemicolonDeferringWriter:()=>ele,getTransformFlagsSubtreeExclusions:()=>Mke,getTransformers:()=>l1e,getTsBuildInfoEmitOutputFilePath:()=>f5,getTsConfigObjectLiteralExpression:()=>ZN,getTsConfigPropArrayElementValue:()=>cq,getTypeAnnotationNode:()=>Cye,getTypeArgumentOrTypeParameterList:()=>rSe,getTypeKeywordOfTypeOnlyImport:()=>sfe,getTypeNode:()=>Wke,getTypeNodeIfAccessible:()=>VM,getTypeParameterFromJsDoc:()=>oye,getTypeParameterOwner:()=>oZe,getTypesPackageName:()=>$Y,getUILocale:()=>ZCe,getUniqueName:()=>Ok,getUniqueSymbolId:()=>CSe,getUseDefineForClassFields:()=>eV,getWatchErrorSummaryDiagnosticMessage:()=>U1e,getWatchFactory:()=>E1e,group:()=>vN,groupBy:()=>JCe,guessIndentation:()=>Dbe,handleNoEmitOptions:()=>L1e,hasAbstractModifier:()=>P2,hasAccessorModifier:()=>eE,hasAmbientModifier:()=>rle,hasChangesInResolutions:()=>s0e,hasChildOfKind:()=>RH,hasContextSensitiveParameters:()=>fZ,hasDecorators:()=>o4,hasDocComment:()=>nSe,hasDynamicName:()=>Ix,hasEffectiveModifier:()=>Rf,hasEffectiveModifiers:()=>jq,hasEffectiveReadonlyModifier:()=>fP,hasExtension:()=>t7,hasIndexSignature:()=>_fe,hasInitializer:()=>Nx,hasInvalidEscape:()=>Q0e,hasJSDocNodes:()=>lm,hasJSDocParameterTags:()=>H2e,hasJSFileExtension:()=>z2,hasJsonModuleEmitEnabled:()=>Qq,hasOnlyExpressionInitializer:()=>Qy,hasOverrideModifier:()=>Vq,hasPossibleExternalModuleReference:()=>zbe,hasProperty:()=>gu,hasPropertyAccessExpressionWithName:()=>NH,hasQuestionToken:()=>d7,hasRecordedExternalHelpers:()=>BFe,hasResolutionModeOverride:()=>kke,hasRestParameter:()=>u0e,hasScopeMarker:()=>dbe,hasStaticModifier:()=>Kc,hasSyntacticModifier:()=>Yu,hasSyntacticModifiers:()=>Bye,hasTSFileExtension:()=>mk,hasTabstop:()=>Cke,hasTrailingDirectorySeparator:()=>ZD,hasType:()=>JU,hasTypeArguments:()=>jZe,hasZeroOrOneAsteriskCharacter:()=>Cle,helperString:()=>dce,hostGetCanonicalFileName:()=>n5,hostUsesCaseSensitiveFileNames:()=>Hj,idText:()=>fu,identifierIsThisKeyword:()=>ule,identifierToKeywordKind:()=>Dv,identity:()=>il,identitySourceMapConsumer:()=>rQ,ignoreSourceNewlines:()=>cce,ignoredPaths:()=>kO,importDefaultHelper:()=>qZ,importFromModuleSpecifier:()=>tP,importNameElisionDisabled:()=>xle,importStarHelper:()=>vV,indexOfAnyCharCode:()=>jt,indexOfNode:()=>j8,indicesOf:()=>$r,inferredTypesContainingFile:()=>QB,injectClassNamedEvaluationHelperBlockIfMissing:()=>hQ,injectClassThisAssignmentIfMissing:()=>e7e,insertImports:()=>MM,insertLeadingStatement:()=>oQe,insertSorted:()=>Tt,insertStatementAfterCustomPrologue:()=>Xy,insertStatementAfterStandardPrologue:()=>wZe,insertStatementsAfterCustomPrologue:()=>l0e,insertStatementsAfterStandardPrologue:()=>ZE,intersperse:()=>_e,intrinsicTagNameToString:()=>Ole,introducesArgumentsExoticObject:()=>Ube,inverseJsxOptionMap:()=>sM,isAbstractConstructorSymbol:()=>Jye,isAbstractModifier:()=>tFe,isAccessExpression:()=>I0,isAccessibilityModifier:()=>Yhe,isAccessor:()=>wx,isAccessorModifier:()=>nFe,isAliasSymbolDeclaration:()=>HZe,isAliasableExpression:()=>Pj,isAmbientModule:()=>N1,isAmbientPropertyDeclaration:()=>_0e,isAnonymousFunctionDefinition:()=>sP,isAnyDirectorySeparator:()=>bse,isAnyImportOrBareOrAccessedRequire:()=>Mbe,isAnyImportOrReExport:()=>aj,isAnyImportSyntax:()=>tk,isAnySupportedFileExtension:()=>pYe,isApplicableVersionedTypesKey:()=>sH,isArgumentExpressionOfElementAccess:()=>jhe,isArray:()=>Ha,isArrayBindingElement:()=>jU,isArrayBindingOrAssignmentElement:()=>ZO,isArrayBindingOrAssignmentPattern:()=>Qse,isArrayBindingPattern:()=>_k,isArrayLiteralExpression:()=>Dh,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>p5,isArrayTypeNode:()=>oY,isArrowFunction:()=>q0,isAsExpression:()=>AV,isAssertClause:()=>dFe,isAssertEntry:()=>XYe,isAssertionExpression:()=>Yy,isAssertsKeyword:()=>Xke,isAssignmentDeclaration:()=>eP,isAssignmentExpression:()=>ld,isAssignmentOperator:()=>u5,isAssignmentPattern:()=>KN,isAssignmentTarget:()=>Q_,isAsteriskToken:()=>yV,isAsyncFunction:()=>aP,isAsyncModifier:()=>VP,isAutoAccessorPropertyDeclaration:()=>ef,isAwaitExpression:()=>Gx,isAwaitKeyword:()=>_ce,isBigIntLiteral:()=>iY,isBinaryExpression:()=>Xn,isBinaryOperatorToken:()=>RFe,isBindableObjectDefinePropertyCall:()=>rk,isBindableStaticAccessExpression:()=>A2,isBindableStaticElementAccessExpression:()=>yq,isBindableStaticNameExpression:()=>ak,isBindingElement:()=>js,isBindingElementOfBareOrAccessedRequire:()=>nye,isBindingName:()=>qy,isBindingOrAssignmentElement:()=>rbe,isBindingOrAssignmentPattern:()=>UO,isBindingPattern:()=>So,isBlock:()=>po,isBlockOrCatchScoped:()=>h0e,isBlockScope:()=>D0e,isBlockScopedContainerTopLevel:()=>Pbe,isBooleanLiteral:()=>HN,isBreakOrContinueStatement:()=>ON,isBreakStatement:()=>ZYe,isBuildInfoFile:()=>S7e,isBuilderProgram:()=>c9e,isBundle:()=>kce,isBundleFileTextLike:()=>qye,isCallChain:()=>$y,isCallExpression:()=>Mo,isCallExpressionTarget:()=>Phe,isCallLikeExpression:()=>D2,isCallLikeOrFunctionLikeExpression:()=>Xse,isCallOrNewExpression:()=>$E,isCallOrNewExpressionTarget:()=>Mhe,isCallSignatureDeclaration:()=>CB,isCallToHelper:()=>jP,isCaseBlock:()=>ZP,isCaseClause:()=>BB,isCaseKeyword:()=>uFe,isCaseOrDefaultClause:()=>WU,isCatchClause:()=>G2,isCatchClauseVariableDeclaration:()=>vke,isCatchClauseVariableDeclarationOrBindingElement:()=>f0e,isCheckJsEnabledForFile:()=>uV,isChildOfNodeWithKind:()=>TZe,isCircularBuildOrder:()=>e9,isClassDeclaration:()=>Wc,isClassElement:()=>Zd,isClassExpression:()=>Xd,isClassInstanceProperty:()=>ibe,isClassLike:()=>mr,isClassMemberModifier:()=>qse,isClassNamedEvaluationHelperBlock:()=>X7,isClassOrTypeElement:()=>OU,isClassStaticBlockDeclaration:()=>zl,isClassThisAssignmentBlock:()=>EM,isCollapsedRange:()=>iYe,isColonToken:()=>Yke,isCommaExpression:()=>MV,isCommaListExpression:()=>UP,isCommaSequence:()=>eM,isCommaToken:()=>Zke,isComment:()=>mX,isCommonJsExportPropertyAssignment:()=>sq,isCommonJsExportedExpression:()=>Jbe,isCompoundAssignment:()=>mM,isComputedNonLiteralName:()=>oj,isComputedPropertyName:()=>Ps,isConciseBody:()=>HU,isConditionalExpression:()=>SB,isConditionalTypeNode:()=>FB,isConstTypeReference:()=>q3,isConstructSignatureDeclaration:()=>FV,isConstructorDeclaration:()=>hc,isConstructorTypeNode:()=>WP,isContextualKeyword:()=>Bq,isContinueStatement:()=>qYe,isCustomPrologue:()=>dj,isDebuggerStatement:()=>YYe,isDeclaration:()=>Q1,isDeclarationBindingElement:()=>$O,isDeclarationFileName:()=>e1,isDeclarationName:()=>X3,isDeclarationNameOfEnumOrNamespace:()=>ple,isDeclarationReadonly:()=>uq,isDeclarationStatement:()=>pbe,isDeclarationWithTypeParameterChildren:()=>v0e,isDeclarationWithTypeParameters:()=>x0e,isDecorator:()=>g1,isDecoratorTarget:()=>W9e,isDefaultClause:()=>TV,isDefaultImport:()=>c7,isDefaultModifier:()=>rY,isDefaultedExpandoInitializer:()=>uye,isDeleteExpression:()=>oFe,isDeleteTarget:()=>V0e,isDeprecatedDeclaration:()=>RX,isDestructuringAssignment:()=>r5,isDiagnosticWithLocation:()=>bfe,isDiskPathRoot:()=>yse,isDoStatement:()=>$Ye,isDocumentRegistryEntry:()=>iK,isDotDotDotToken:()=>nY,isDottedName:()=>pP,isDynamicName:()=>Lq,isESSymbolIdentifier:()=>JZe,isEffectiveExternalModule:()=>s7,isEffectiveModuleDeclaration:()=>Nbe,isEffectiveStrictModeSourceFile:()=>E0e,isElementAccessChain:()=>Hse,isElementAccessExpression:()=>U0,isEmittedFileOfProgram:()=>L7e,isEmptyArrayLiteral:()=>Iye,isEmptyBindingElement:()=>z2e,isEmptyBindingPattern:()=>M2e,isEmptyObjectLiteral:()=>dle,isEmptyStatement:()=>Cce,isEmptyStringLiteral:()=>B0e,isEntityName:()=>sm,isEntityNameExpression:()=>ec,isEnumConst:()=>b2,isEnumDeclaration:()=>Iv,isEnumMember:()=>J2,isEqualityOperatorKind:()=>BX,isEqualsGreaterThanToken:()=>Qke,isExclamationToken:()=>kV,isExcludedFile:()=>QFe,isExclusivelyTypeOnlyImportOrExport:()=>F1e,isExpandoPropertyDeclaration:()=>EZ,isExportAssignment:()=>tc,isExportDeclaration:()=>Gc,isExportModifier:()=>L7,isExportName:()=>xY,isExportNamespaceAsDefaultDeclaration:()=>eq,isExportOrDefaultModifier:()=>OV,isExportSpecifier:()=>eh,isExportsIdentifier:()=>uk,isExportsOrModuleExportsOrAlias:()=>q2,isExpression:()=>Wt,isExpressionNode:()=>Z_,isExpressionOfExternalModuleImportEqualsDeclaration:()=>U9e,isExpressionOfOptionalChainRoot:()=>MU,isExpressionStatement:()=>Od,isExpressionWithTypeArguments:()=>c5,isExpressionWithTypeArgumentsInClassExtendsClause:()=>Jj,isExternalModule:()=>wc,isExternalModuleAugmentation:()=>v2,isExternalModuleImportEqualsDeclaration:()=>bv,isExternalModuleIndicator:()=>YO,isExternalModuleNameRelative:()=>Id,isExternalModuleReference:()=>r_,isExternalModuleSymbol:()=>HH,isExternalOrCommonJsModule:()=>cm,isFileLevelReservedGeneratedIdentifier:()=>JO,isFileLevelUniqueName:()=>QU,isFileProbablyExternalModule:()=>HV,isFirstDeclarationOfSymbolParameter:()=>dfe,isFixablePromiseHandler:()=>Ufe,isForInOrOfStatement:()=>M8,isForInStatement:()=>hY,isForInitializer:()=>a4,isForOfStatement:()=>SV,isForStatement:()=>vk,isFunctionBlock:()=>k2,isFunctionBody:()=>t0e,isFunctionDeclaration:()=>ed,isFunctionExpression:()=>A0,isFunctionExpressionOrArrowFunction:()=>R2,isFunctionLike:()=>Co,isFunctionLikeDeclaration:()=>$0,isFunctionLikeKind:()=>a7,isFunctionLikeOrClassStaticBlockDeclaration:()=>L8,isFunctionOrConstructorTypeNode:()=>ube,isFunctionOrModuleBlock:()=>Zse,isFunctionSymbol:()=>aye,isFunctionTypeNode:()=>u3,isFutureReservedKeyword:()=>KZe,isGeneratedIdentifier:()=>al,isGeneratedPrivateIdentifier:()=>Uy,isGetAccessor:()=>Lx,isGetAccessorDeclaration:()=>zm,isGetOrSetAccessorDeclaration:()=>NU,isGlobalDeclaration:()=>Iit,isGlobalScopeAugmentation:()=>Yg,isGrammarError:()=>Sbe,isHeritageClause:()=>mm,isHoistedFunction:()=>aq,isHoistedVariableStatement:()=>oq,isIdentifier:()=>at,isIdentifierANonContextualKeyword:()=>wq,isIdentifierName:()=>hye,isIdentifierOrThisTypeNode:()=>PFe,isIdentifierPart:()=>Ev,isIdentifierStart:()=>G_,isIdentifierText:()=>Lm,isIdentifierTypePredicate:()=>qbe,isIdentifierTypeReference:()=>gke,isIfStatement:()=>xk,isIgnoredFileFromWildCardWatching:()=>DH,isImplicitGlob:()=>kle,isImportAttribute:()=>hFe,isImportAttributeName:()=>tbe,isImportAttributes:()=>fY,isImportCall:()=>dm,isImportClause:()=>n_,isImportDeclaration:()=>Sd,isImportEqualsDeclaration:()=>E1,isImportKeyword:()=>KP,isImportMeta:()=>W8,isImportOrExportSpecifier:()=>r7,isImportOrExportSpecifierName:()=>xSe,isImportSpecifier:()=>bf,isImportTypeAssertionContainer:()=>QYe,isImportTypeNode:()=>nD,isImportableFile:()=>Mfe,isInComment:()=>m5,isInCompoundLikeAssignment:()=>O0e,isInExpressionContext:()=>Eq,isInJSDoc:()=>Ej,isInJSFile:()=>Qn,isInJSXText:()=>tSe,isInJsonFile:()=>Dq,isInNonReferenceComment:()=>sSe,isInReferenceComment:()=>oSe,isInRightSideOfInternalImportEqualsDeclaration:()=>tX,isInString:()=>zk,isInTemplateString:()=>$he,isInTopLevelContext:()=>fq,isInTypeQuery:()=>ck,isIncrementalCompilation:()=>Xj,isIndexSignatureDeclaration:()=>Ek,isIndexedAccessTypeNode:()=>I7,isInferTypeNode:()=>P7,isInfinityOrNaNString:()=>LP,isInitializedProperty:()=>fH,isInitializedVariable:()=>Zj,isInsideJsxElement:()=>hX,isInsideJsxElementOrAttribute:()=>eSe,isInsideNodeModules:()=>XH,isInsideTemplateLiteral:()=>jH,isInstanceOfExpression:()=>Hq,isInstantiatedModule:()=>Rde,isInterfaceDeclaration:()=>xh,isInternalDeclaration:()=>o1e,isInternalModuleImportEqualsDeclaration:()=>U8,isInternalName:()=>Ice,isIntersectionTypeNode:()=>kB,isIntrinsicJsxName:()=>aB,isIterationStatement:()=>Tx,isJSDoc:()=>Vp,isJSDocAllType:()=>EFe,isJSDocAugmentsTag:()=>LB,isJSDocAuthorTag:()=>nQe,isJSDocCallbackTag:()=>Ace,isJSDocClassTag:()=>DFe,isJSDocCommentContainingNode:()=>GU,isJSDocConstructSignature:()=>X8,isJSDocDeprecatedTag:()=>Lce,isJSDocEnumTag:()=>LV,isJSDocFunctionType:()=>TB,isJSDocImplementsTag:()=>Nce,isJSDocIndexSignature:()=>xq,isJSDocLikeText:()=>Jce,isJSDocLink:()=>pFe,isJSDocLinkCode:()=>gFe,isJSDocLinkLike:()=>o7,isJSDocLinkPlain:()=>tQe,isJSDocMemberName:()=>Rv,isJSDocNameReference:()=>QP,isJSDocNamepathType:()=>iQe,isJSDocNamespaceBody:()=>kZe,isJSDocNode:()=>z8,isJSDocNonNullableType:()=>mY,isJSDocNullableType:()=>wB,isJSDocOptionalParameter:()=>oV,isJSDocOptionalType:()=>Fce,isJSDocOverloadTag:()=>NB,isJSDocOverrideTag:()=>gY,isJSDocParameterTag:()=>Eg,isJSDocPrivateTag:()=>Bce,isJSDocPropertyLikeTag:()=>WO,isJSDocPropertyTag:()=>vFe,isJSDocProtectedTag:()=>wce,isJSDocPublicTag:()=>Sce,isJSDocReadonlyTag:()=>Tce,isJSDocReturnTag:()=>EY,isJSDocSatisfiesExpression:()=>Ile,isJSDocSatisfiesTag:()=>_Y,isJSDocSeeTag:()=>uQe,isJSDocSignature:()=>Ov,isJSDocTag:()=>I8,isJSDocTemplateTag:()=>_g,isJSDocThisTag:()=>xFe,isJSDocThrowsTag:()=>aQe,isJSDocTypeAlias:()=>G4,isJSDocTypeAssertion:()=>tM,isJSDocTypeExpression:()=>kk,isJSDocTypeLiteral:()=>K7,isJSDocTypeTag:()=>XP,isJSDocTypedefTag:()=>PB,isJSDocUnknownTag:()=>rQe,isJSDocUnknownType:()=>_Fe,isJSDocVariadicType:()=>pY,isJSXTagName:()=>$8,isJsonEqual:()=>dZ,isJsonSourceFile:()=>W4,isJsxAttribute:()=>oE,isJsxAttributeLike:()=>KU,isJsxAttributeName:()=>yke,isJsxAttributes:()=>W2,isJsxChild:()=>ej,isJsxClosingElement:()=>H2,isJsxClosingFragment:()=>fFe,isJsxElement:()=>r3,isJsxExpression:()=>YP,isJsxFragment:()=>K2,isJsxNamespacedName:()=>gg,isJsxOpeningElement:()=>aE,isJsxOpeningFragment:()=>V7,isJsxOpeningLikeElement:()=>zh,isJsxOpeningLikeElementTagName:()=>G9e,isJsxSelfClosingElement:()=>bk,isJsxSpreadAttribute:()=>H7,isJsxTagNameExpression:()=>WN,isJsxText:()=>w7,isJumpStatementTarget:()=>PH,isKeyword:()=>uf,isKeywordOrPunctuation:()=>Sq,isKnownSymbol:()=>Ij,isLabelName:()=>Rhe,isLabelOfLabeledStatement:()=>Ihe,isLabeledStatement:()=>V2,isLateVisibilityPaintedStatement:()=>iq,isLeftHandSideExpression:()=>Df,isLeftHandSideOfAssignment:()=>tYe,isLet:()=>rq,isLineBreak:()=>Z1,isLiteralComputedPropertyDeclarationName:()=>Nj,isLiteralExpression:()=>E2,isLiteralExpressionOfObject:()=>$se,isLiteralImportTypeNode:()=>zx,isLiteralKind:()=>jN,isLiteralLikeAccess:()=>bq,isLiteralLikeElementAccess:()=>Cj,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>uX,isLiteralTypeLikeExpression:()=>hQe,isLiteralTypeLiteral:()=>lbe,isLiteralTypeNode:()=>Mv,isLocalName:()=>rD,isLogicalOperator:()=>Pye,isLogicalOrCoalescingAssignmentExpression:()=>ole,isLogicalOrCoalescingAssignmentOperator:()=>mP,isLogicalOrCoalescingBinaryExpression:()=>Gj,isLogicalOrCoalescingBinaryOperator:()=>Wj,isMappedTypeNode:()=>JP,isMemberName:()=>J_,isMetaProperty:()=>$P,isMethodDeclaration:()=>dc,isMethodOrAccessor:()=>N8,isMethodSignature:()=>n3,isMinusToken:()=>Ece,isMissingDeclaration:()=>eQe,isModifier:()=>Qo,isModifierKind:()=>XD,isModifierLike:()=>ol,isModuleAugmentationExternal:()=>p0e,isModuleBlock:()=>rE,isModuleBody:()=>hbe,isModuleDeclaration:()=>_c,isModuleExportsAccessExpression:()=>Y_,isModuleIdentifier:()=>P0e,isModuleName:()=>IFe,isModuleOrEnumDeclaration:()=>QO,isModuleReference:()=>Ebe,isModuleSpecifierLike:()=>vX,isModuleWithStringLiteralName:()=>tq,isNameOfFunctionDeclaration:()=>Hhe,isNameOfModuleDeclaration:()=>Vhe,isNamedClassElement:()=>nbe,isNamedDeclaration:()=>mh,isNamedEvaluation:()=>If,isNamedEvaluationSource:()=>J0e,isNamedExportBindings:()=>Wse,isNamedExports:()=>ep,isNamedImportBindings:()=>i0e,isNamedImports:()=>uD,isNamedImportsOrExports:()=>Uq,isNamedTupleMember:()=>GP,isNamespaceBody:()=>yZe,isNamespaceExport:()=>u_,isNamespaceExportDeclaration:()=>wV,isNamespaceImport:()=>Jx,isNamespaceReexportDeclaration:()=>iye,isNewExpression:()=>j2,isNewExpressionTarget:()=>wM,isNoSubstitutionTemplateLiteral:()=>T7,isNode:()=>DZe,isNodeArray:()=>g2,isNodeArrayMultiLine:()=>Kye,isNodeDescendantOf:()=>S2,isNodeKind:()=>GO,isNodeLikeSystem:()=>hoe,isNodeModulesDirectory:()=>bU,isNodeWithPossibleHoistedDeclaration:()=>lye,isNonContextualKeyword:()=>G0e,isNonExportDefaultModifier:()=>mQe,isNonGlobalAmbientModule:()=>m0e,isNonGlobalDeclaration:()=>zSe,isNonNullAccess:()=>bke,isNonNullChain:()=>zU,isNonNullExpression:()=>O7,isNonStaticMethodOrAccessorWithPrivateName:()=>JAe,isNotEmittedOrPartiallyEmittedNode:()=>bZe,isNotEmittedStatement:()=>yce,isNullishCoalesce:()=>Kse,isNumber:()=>UD,isNumericLiteral:()=>Of,isNumericLiteralName:()=>i3,isObjectBindingElementWithoutPropertyName:()=>GH,isObjectBindingOrAssignmentElement:()=>qO,isObjectBindingOrAssignmentPattern:()=>Yse,isObjectBindingPattern:()=>Rp,isObjectLiteralElement:()=>n0e,isObjectLiteralElementLike:()=>Z3,isObjectLiteralExpression:()=>ys,isObjectLiteralMethod:()=>zp,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>lq,isObjectTypeDeclaration:()=>x7,isOctalDigit:()=>AU,isOmittedExpression:()=>Fd,isOptionalChain:()=>Y1,isOptionalChainRoot:()=>IN,isOptionalDeclaration:()=>PP,isOptionalJSDocPropertyLikeTag:()=>aV,isOptionalTypeNode:()=>Dce,isOuterExpression:()=>CY,isOutermostOptionalChain:()=>RN,isOverrideModifier:()=>iFe,isPackedArrayLiteral:()=>Ple,isParameter:()=>io,isParameterDeclaration:()=>w2,isParameterOrCatchClauseVariable:()=>Mle,isParameterPropertyDeclaration:()=>Mf,isParameterPropertyModifier:()=>VN,isParenthesizedExpression:()=>Cf,isParenthesizedTypeNode:()=>M7,isParseTreeNode:()=>zN,isPartOfTypeNode:()=>q_,isPartOfTypeQuery:()=>_q,isPartiallyEmittedExpression:()=>dY,isPatternMatch:()=>Y$,isPinnedComment:()=>XU,isPlainJsFile:()=>nj,isPlusToken:()=>gce,isPossiblyTypeArgumentPosition:()=>OH,isPostfixUnaryExpression:()=>vce,isPrefixUnaryExpression:()=>zv,isPrivateIdentifier:()=>ea,isPrivateIdentifierClassElementDeclaration:()=>ph,isPrivateIdentifierPropertyAccessExpression:()=>T8,isPrivateIdentifierSymbol:()=>mye,isProgramBundleEmitBuildInfo:()=>U7e,isProgramUptoDate:()=>w1e,isPrologueDirective:()=>Mp,isPropertyAccessChain:()=>PU,isPropertyAccessEntityNameExpression:()=>$j,isPropertyAccessExpression:()=>Iu,isPropertyAccessOrQualifiedName:()=>obe,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>abe,isPropertyAssignment:()=>Jc,isPropertyDeclaration:()=>ko,isPropertyName:()=>Sc,isPropertyNameLiteral:()=>Xg,isPropertySignature:()=>Mm,isProtoSetter:()=>pye,isPrototypeAccess:()=>Ox,isPrototypePropertyAssignment:()=>kj,isPunctuation:()=>W0e,isPushOrUnshiftIdentifier:()=>$0e,isQualifiedName:()=>vf,isQuestionDotToken:()=>uY,isQuestionOrExclamationToken:()=>NFe,isQuestionOrPlusOrMinusToken:()=>zFe,isQuestionToken:()=>Wx,isRawSourceMap:()=>HAe,isReadonlyKeyword:()=>eFe,isReadonlyKeywordOrPlusOrMinusToken:()=>MFe,isRecognizedTripleSlashComment:()=>c0e,isReferenceFileLocation:()=>ZB,isReferencedFile:()=>Jv,isRegularExpressionLiteral:()=>mce,isRequireCall:()=>xf,isRequireVariableStatement:()=>L0e,isRestParameter:()=>$_,isRestTypeNode:()=>xce,isReturnStatement:()=>Op,isReturnStatementWithFixablePromiseHandler:()=>UX,isRightSideOfAccessExpression:()=>cle,isRightSideOfInstanceofExpression:()=>zye,isRightSideOfPropertyAccess:()=>uw,isRightSideOfQualifiedName:()=>$9e,isRightSideOfQualifiedNameOrPropertyAccess:()=>gP,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>Mye,isRootedDiskPath:()=>Pf,isSameEntityName:()=>q8,isSatisfiesExpression:()=>sFe,isScopeMarker:()=>cbe,isSemicolonClassElement:()=>lFe,isSetAccessor:()=>e5,isSetAccessorDeclaration:()=>jf,isShebangTrivia:()=>Bse,isShiftOperatorOrHigher:()=>Kce,isShorthandAmbientModuleSymbol:()=>$N,isShorthandPropertyAssignment:()=>pm,isSignedNumericLiteral:()=>Tq,isSimpleCopiableExpression:()=>Y2,isSimpleInlineableExpression:()=>sE,isSingleOrDoubleQuote:()=>_j,isSourceFile:()=>la,isSourceFileFromLibrary:()=>KM,isSourceFileJS:()=>gh,isSourceFileNotJS:()=>PZe,isSourceFileNotJson:()=>T0e,isSourceMapping:()=>KAe,isSpecialPropertyDeclaration:()=>rye,isSpreadAssignment:()=>d5,isSpreadElement:()=>uE,isStatement:()=>na,isStatementButNotDeclaration:()=>XO,isStatementOrBlock:()=>gbe,isStatementWithLocals:()=>Abe,isStatic:()=>No,isStaticModifier:()=>N7,isString:()=>Ja,isStringAKeyword:()=>WZe,isStringANonContextualKeyword:()=>m7,isStringAndEmptyAnonymousObjectIntersection:()=>aSe,isStringDoubleQuoted:()=>Cq,isStringLiteral:()=>us,isStringLiteralLike:()=>t0,isStringLiteralOrJsxExpression:()=>_be,isStringLiteralOrTemplate:()=>ASe,isStringOrNumericLiteralLike:()=>Pm,isStringOrRegularExpressionOrTemplateLiteral:()=>Zhe,isStringTextContainingNode:()=>Use,isSuperCall:()=>ik,isSuperKeyword:()=>HP,isSuperOrSuperProperty:()=>NZe,isSuperProperty:()=>nf,isSupportedSourceFileName:()=>hke,isSwitchStatement:()=>BV,isSyntaxList:()=>MB,isSyntheticExpression:()=>JYe,isSyntheticReference:()=>j7,isTagName:()=>Ohe,isTaggedTemplateExpression:()=>Dk,isTaggedTemplateTag:()=>K9e,isTemplateExpression:()=>lY,isTemplateHead:()=>vB,isTemplateLiteral:()=>P8,isTemplateLiteralKind:()=>Bx,isTemplateLiteralToken:()=>X2e,isTemplateLiteralTypeNode:()=>GYe,isTemplateLiteralTypeSpan:()=>rFe,isTemplateMiddle:()=>qke,isTemplateMiddleOrTemplateTail:()=>IU,isTemplateSpan:()=>qP,isTemplateTail:()=>pce,isTextWhiteSpaceLike:()=>hSe,isThis:()=>rw,isThisContainerOrFunctionBlock:()=>Xbe,isThisIdentifier:()=>N2,isThisInTypeQuery:()=>g7,isThisInitializedDeclaration:()=>mq,isThisInitializedObjectBindingExpression:()=>tye,isThisProperty:()=>mj,isThisTypeNode:()=>sY,isThisTypeParameter:()=>NP,isThisTypePredicate:()=>LZe,isThrowStatement:()=>bce,isToken:()=>u7,isTokenKind:()=>Jse,isTraceEnabled:()=>aD,isTransientSymbol:()=>qE,isTrivia:()=>nB,isTryStatement:()=>Ck,isTupleTypeNode:()=>yB,isTypeAlias:()=>Sj,isTypeAliasDeclaration:()=>jp,isTypeAssertionExpression:()=>aFe,isTypeDeclaration:()=>gB,isTypeElement:()=>Zy,isTypeKeyword:()=>PM,isTypeKeywordToken:()=>ife,isTypeKeywordTokenOrIdentifier:()=>EX,isTypeLiteralNode:()=>fm,isTypeNode:()=>Xr,isTypeNodeKind:()=>_le,isTypeOfExpression:()=>AB,isTypeOnlyExportDeclaration:()=>ebe,isTypeOnlyImportDeclaration:()=>RU,isTypeOnlyImportOrExportDeclaration:()=>_2,isTypeOperatorNode:()=>z7,isTypeParameterDeclaration:()=>Bl,isTypePredicateNode:()=>aY,isTypeQueryNode:()=>bB,isTypeReferenceNode:()=>X4,isTypeReferenceType:()=>$U,isTypeUsableAsPropertyName:()=>Y4,isUMDExportSymbol:()=>$q,isUnaryExpression:()=>e0e,isUnaryExpressionWithWrite:()=>sbe,isUnicodeIdentifierStart:()=>kU,isUnionTypeNode:()=>Pv,isUnparsedNode:()=>Gse,isUnparsedPrepend:()=>mFe,isUnparsedSource:()=>yk,isUnparsedTextLike:()=>Q2e,isUrl:()=>x2e,isValidBigIntString:()=>hZ,isValidESSymbolDeclaration:()=>$be,isValidTypeOnlyAliasUseSite:()=>Tv,isValueSignatureDeclaration:()=>cye,isVarAwaitUsing:()=>lj,isVarConst:()=>K8,isVarUsing:()=>cj,isVariableDeclaration:()=>ua,isVariableDeclarationInVariableStatement:()=>qN,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>F2,isVariableDeclarationInitializedToRequire:()=>vq,isVariableDeclarationList:()=>Ad,isVariableLike:()=>G8,isVariableLikeOrAccessor:()=>Gbe,isVariableStatement:()=>Jl,isVoidExpression:()=>R7,isWatchSet:()=>uYe,isWhileStatement:()=>UYe,isWhiteSpaceLike:()=>U3,isWhiteSpaceSingleLine:()=>qg,isWithStatement:()=>cFe,isWriteAccess:()=>D7,isWriteOnlyAccess:()=>Jq,isYieldExpression:()=>cY,jsxModeNeedsExplicitImport:()=>Sfe,keywordPart:()=>Hf,last:()=>Cr,lastOrUndefined:()=>qu,length:()=>S,libMap:()=>LY,libs:()=>YV,lineBreakPart:()=>lw,linkNamePart:()=>_Se,linkPart:()=>ffe,linkTextPart:()=>kX,listFiles:()=>q1e,loadModuleFromGlobalCache:()=>kAe,loadWithModeAwareCache:()=>CH,makeIdentifierFromModuleName:()=>Lbe,makeImport:()=>g5,makeImportIfNecessary:()=>dSe,makeStringLiteral:()=>n9,mangleScopedPackageName:()=>JB,map:()=>Vt,mapAllOrFail:()=>Zr,mapDefined:()=>qi,mapDefinedEntries:()=>Fa,mapDefinedIterator:()=>eo,mapEntries:()=>ci,mapIterator:()=>zr,mapOneOrMany:()=>kfe,mapToDisplayParts:()=>Zx,matchFiles:()=>Ale,matchPatternOrExact:()=>Ble,matchedText:()=>t2e,matchesExclude:()=>TY,maybeBind:()=>Lo,maybeSetLocalizedDiagnosticMessages:()=>tke,memoize:()=>Mh,memoizeCached:()=>UCe,memoizeOne:()=>HE,memoizeWeak:()=>fqe,metadataHelper:()=>wZ,min:()=>ooe,minAndMax:()=>mke,missingFileModifiedTime:()=>K_,modifierToFlag:()=>_7,modifiersToFlags:()=>tE,moduleOptionDeclaration:()=>cde,moduleResolutionIsEqualTo:()=>kbe,moduleResolutionNameAndModeGetter:()=>yH,moduleResolutionOptionDeclarations:()=>NY,moduleResolutionSupportsPackageJsonExportsAndImports:()=>b7,moduleResolutionUsesNodeModules:()=>_X,moduleSpecifiers:()=>Z2,moveEmitHelpers:()=>Hke,moveRangeEnd:()=>Wq,moveRangePastDecorators:()=>o5,moveRangePastModifiers:()=>iE,moveRangePos:()=>Sv,moveSyntheticComments:()=>Oke,mutateMap:()=>cB,mutateMapSkippingNewValues:()=>eD,needsParentheses:()=>AX,needsScopeMarker:()=>VU,newCaseClauseTracker:()=>VX,newPrivateEnvironment:()=>qAe,noEmitNotification:()=>mH,noEmitSubstitution:()=>xM,noTransformers:()=>c1e,noTruncationMaximumTruncationLength:()=>DZ,nodeCanBeDecorated:()=>gq,nodeHasName:()=>jO,nodeIsDecorated:()=>YN,nodeIsMissing:()=>Ql,nodeIsPresent:()=>H4,nodeIsSynthesized:()=>sl,nodeModuleNameResolver:()=>EAe,nodeModulesPathPart:()=>o_,nodeNextJsonConfigResolver:()=>_Ae,nodeOrChildIsDecorated:()=>gj,nodeOverlapsWithStartEnd:()=>rX,nodePosToString:()=>FZe,nodeSeenTracker:()=>i9,nodeStartsNewLexicalEnvironment:()=>U0e,nodeToDisplayParts:()=>Tit,noop:()=>Is,noopFileWatcher:()=>tw,normalizePath:()=>$o,normalizeSlashes:()=>q1,not:()=>X$,notImplemented:()=>ho,notImplementedResolver:()=>DQ,nullNodeConverters:()=>tce,nullParenthesizerRules:()=>ece,nullTransformationContext:()=>Dg,objectAllocator:()=>Qd,operatorPart:()=>IM,optionDeclarations:()=>a3,optionMapToObject:()=>ude,optionsAffectingProgramStructure:()=>pde,optionsForBuild:()=>Ede,optionsForWatch:()=>VB,optionsHaveChanges:()=>R8,optionsHaveModuleResolutionChanges:()=>Cbe,or:()=>dg,orderedRemoveItem:()=>gO,orderedRemoveItemAt:()=>fv,outFile:()=>y0,packageIdToPackageName:()=>ZU,packageIdToString:()=>Px,paramHelper:()=>TZ,parameterIsThisKeyword:()=>L2,parameterNamePart:()=>mSe,parseBaseNodeFactory:()=>Zce,parseBigInt:()=>pke,parseBuildCommand:()=>JQe,parseCommandLine:()=>WQe,parseCommandLineWorker:()=>Xce,parseConfigFileTextToJson:()=>tde,parseConfigFileWithSystem:()=>Ttt,parseConfigHostFromCompilerHostLike:()=>wQ,parseCustomTypeOption:()=>BY,parseIsolatedEntityName:()=>G7,parseIsolatedJSDocComment:()=>WFe,parseJSDocTypeExpressionForTests:()=>TQe,parseJsonConfigFileContent:()=>aXe,parseJsonSourceFileConfigFileContent:()=>UV,parseJsonText:()=>WV,parseListTypeOption:()=>JFe,parseNodeFactory:()=>a_,parseNodeModuleFromPath:()=>uH,parsePackageName:()=>oH,parsePseudoBigInt:()=>SP,parseValidBigInt:()=>Nle,patchWriteFileEnsuringDirectory:()=>_2e,pathContainsNodeModules:()=>q7,pathIsAbsolute:()=>SN,pathIsBareSpecifier:()=>kse,pathIsRelative:()=>om,patternText:()=>e2e,perfLogger:()=>hh,performIncrementalCompilation:()=>Mtt,performance:()=>h2e,plainJSErrors:()=>NQ,positionBelongsToNode:()=>Whe,positionIsASICandidate:()=>TX,positionIsSynthesized:()=>pg,positionsAreOnSameLine:()=>q4,preProcessFile:()=>unt,probablyUsesSemicolons:()=>YH,processCommentPragmas:()=>Uce,processPragmasIntoFields:()=>qce,processTaggedTemplateExpression:()=>i1e,programContainsEsModules:()=>cSe,programContainsModules:()=>lSe,projectReferenceIsEqualTo:()=>a0e,propKeyHelper:()=>WZ,propertyNamePart:()=>pSe,pseudoBigIntToString:()=>I2,punctuationPart:()=>ih,pushIfUnique:()=>xa,quote:()=>jM,quotePreferenceFromString:()=>afe,rangeContainsPosition:()=>MH,rangeContainsPositionExclusive:()=>zH,rangeContainsRange:()=>Vm,rangeContainsRangeExclusive:()=>q9e,rangeContainsStartEnd:()=>IH,rangeEndIsOnSameLineAsRangeStart:()=>qj,rangeEndPositionsAreOnSameLine:()=>Vye,rangeEquals:()=>zi,rangeIsOnSingleLine:()=>hk,rangeOfNode:()=>Tle,rangeOfTypeParameters:()=>Lle,rangeOverlapsWithStartEnd:()=>TM,rangeStartIsOnSameLineAsRangeEnd:()=>Hye,rangeStartPositionsAreOnSameLine:()=>Gq,readBuilderProgram:()=>GQ,readConfigFile:()=>JV,readHelper:()=>HZ,readJson:()=>EP,readJsonConfigFile:()=>qFe,readJsonOrUndefined:()=>hle,reduceEachLeadingCommentRange:()=>k2e,reduceEachTrailingCommentRange:()=>F2e,reduceLeft:()=>nn,reduceLeftIterator:()=>ue,reducePathComponents:()=>Jy,refactor:()=>a9,regExpEscape:()=>hYe,relativeComplement:()=>Wr,removeAllComments:()=>EV,removeEmitHelper:()=>HYe,removeExtension:()=>nV,removeFileExtension:()=>_h,removeIgnoredPath:()=>zQ,removeMinAndVersionNumbers:()=>soe,removeOptionality:()=>iSe,removePrefix:()=>yN,removeSuffix:()=>D8,removeTrailingDirectorySeparator:()=>mv,repeatString:()=>KH,replaceElement:()=>qd,resolutionExtensionIsTSOrJson:()=>FP,resolveConfigFileProjectName:()=>ahe,resolveJSModule:()=>pAe,resolveLibrary:()=>KY,resolveModuleName:()=>WB,resolveModuleNameFromCache:()=>KXe,resolvePackageNameToPackageJson:()=>xde,resolvePath:()=>kx,resolveProjectReferencePath:()=>YB,resolveTripleslashReference:()=>bQ,resolveTypeReferenceDirective:()=>hAe,resolvingEmptyArray:()=>_Z,restHelper:()=>RZ,returnFalse:()=>cg,returnNoopFileWatcher:()=>iw,returnTrue:()=>J3,returnUndefined:()=>hv,returnsPromise:()=>$fe,runInitializersHelper:()=>NZ,sameFlatMap:()=>z0,sameMap:()=>Lu,sameMapping:()=>Net,scanShebangTrivia:()=>wse,scanTokenAtPosition:()=>Hbe,scanner:()=>nh,screenStartingMessageCodes:()=>WQ,semanticDiagnosticsOptionDeclarations:()=>hde,serializeCompilerOptions:()=>ade,server:()=>Zct,servicesVersion:()=>iBe,setCommentRange:()=>Bc,setConfigFileInOptions:()=>sde,setConstantValue:()=>Vke,setEachParent:()=>pB,setEmitFlags:()=>Zn,setFunctionNameHelper:()=>GZ,setGetSourceFileAsHashVersioned:()=>KQ,setIdentifierAutoGenerate:()=>xV,setIdentifierGeneratedImportReference:()=>Gke,setIdentifierTypeArguments:()=>l5,setInternalEmitFlags:()=>_V,setLocalizedDiagnosticMessages:()=>eke,setModuleDefaultHelper:()=>UZ,setNodeFlags:()=>_ke,setObjectAllocator:()=>Xye,setOriginalNode:()=>su,setParent:()=>ks,setParentRecursive:()=>Vx,setPrivateIdentifier:()=>Bk,setSnippetElement:()=>lce,setSourceMapRange:()=>As,setStackTraceLimit:()=>Pqe,setStartsOnNewLine:()=>FZ,setSyntheticLeadingComments:()=>Nv,setSyntheticTrailingComments:()=>A7,setSys:()=>Oqe,setSysLog:()=>g2e,setTextRange:()=>Pt,setTextRangeEnd:()=>mB,setTextRangePos:()=>BP,setTextRangePosEnd:()=>t_,setTextRangePosWidth:()=>wP,setTokenSourceMapRange:()=>Rke,setTypeNode:()=>Kke,setUILocale:()=>YCe,setValueDeclaration:()=>Fj,shouldAllowImportingTsExtension:()=>$B,shouldPreserveConstEnums:()=>fk,shouldResolveJsRequire:()=>eZ,shouldUseUriStyleNodeCoreModules:()=>OX,showModuleSpecifier:()=>$ye,signatureHasLiteralTypes:()=>Ode,signatureHasRestParameter:()=>th,signatureToDisplayParts:()=>mfe,single:()=>bd,singleElementArray:()=>Hy,singleIterator:()=>qa,singleOrMany:()=>F0,singleOrUndefined:()=>Aa,skipAlias:()=>X1,skipAssertions:()=>lQe,skipConstraint:()=>nfe,skipOuterExpressions:()=>Dc,skipParentheses:()=>l0,skipPartiallyEmittedExpressions:()=>Np,skipTrivia:()=>gs,skipTypeChecking:()=>AP,skipTypeParentheses:()=>j0e,skipWhile:()=>n2e,sliceAfter:()=>wle,some:()=>Oe,sort:()=>Ph,sortAndDeduplicate:()=>pi,sortAndDeduplicateDiagnostics:()=>A8,sourceFileAffectingCompilerOptions:()=>PY,sourceFileMayBeEmitted:()=>p7,sourceMapCommentRegExp:()=>nQ,sourceMapCommentRegExpDontCareLineStart:()=>Jde,spacePart:()=>$l,spanMap:()=>Hl,spreadArrayHelper:()=>KZ,stableSort:()=>oc,startEndContainsRange:()=>Khe,startEndOverlapsWithStartEnd:()=>aX,startOnNewLine:()=>vh,startTracing:()=>f2e,startsWith:()=>Pa,startsWithDirectory:()=>Ase,startsWithUnderscore:()=>Afe,startsWithUseStrict:()=>AFe,stringContainsAt:()=>MSe,stringToToken:()=>f2,stripQuotes:()=>$4,supportedDeclarationExtensions:()=>dV,supportedJSExtensions:()=>Yle,supportedJSExtensionsFlat:()=>_B,supportedLocaleDirectories:()=>r0e,supportedTSExtensions:()=>EB,supportedTSExtensionsFlat:()=>Zle,supportedTSImplementationExtensions:()=>hV,suppressLeadingAndTrailingTrivia:()=>Kf,suppressLeadingTrivia:()=>Efe,suppressTrailingTrivia:()=>ySe,symbolEscapedNameNoDefault:()=>xX,symbolName:()=>lc,symbolNameNoDefault:()=>DX,symbolPart:()=>fSe,symbolToDisplayParts:()=>RM,syntaxMayBeASICandidate:()=>Nfe,syntaxRequiresTrailingSemicolonOrASI:()=>wX,sys:()=>c1,sysLog:()=>bO,tagNamesAreEquivalent:()=>Vv,takeWhile:()=>tU,targetOptionDeclaration:()=>XV,templateObjectHelper:()=>VZ,testFormatSettings:()=>H9e,textChangeRangeIsUnchanged:()=>N2e,textChangeRangeNewSpan:()=>MN,textChanges:()=>iu,textOrKeywordPart:()=>hfe,textPart:()=>Km,textRangeContainsPositionInclusive:()=>IO,textSpanContainsPosition:()=>Nse,textSpanContainsTextSpan:()=>B2e,textSpanEnd:()=>Ec,textSpanIntersection:()=>L2e,textSpanIntersectsWith:()=>wU,textSpanIntersectsWithPosition:()=>T2e,textSpanIntersectsWithTextSpan:()=>aZe,textSpanIsEmpty:()=>S2e,textSpanOverlap:()=>w2e,textSpanOverlapsWith:()=>rZe,textSpansEqual:()=>sw,textToKeywordObj:()=>MO,timestamp:()=>G0,toArray:()=>YA,toBuilderFileEmit:()=>Q7e,toBuilderStateFileInfoForMultiEmit:()=>Y7e,toEditorSettings:()=>gK,toFileNameLowerCase:()=>$g,toLowerCase:()=>$Ce,toPath:()=>J0,toProgramEmitPending:()=>X7e,tokenIsIdentifierOrKeyword:()=>fh,tokenIsIdentifierOrKeywordOrGreaterThan:()=>b2e,tokenToString:()=>Uo,trace:()=>Sa,tracing:()=>Gn,tracingEnabled:()=>DO,transform:()=>nrt,transformClassFields:()=>r7e,transformDeclarations:()=>s1e,transformECMAScriptModule:()=>a1e,transformES2015:()=>x7e,transformES2016:()=>D7e,transformES2017:()=>l7e,transformES2018:()=>c7e,transformES2019:()=>d7e,transformES2020:()=>h7e,transformES2021:()=>f7e,transformES5:()=>v7e,transformESDecorators:()=>s7e,transformESNext:()=>m7e,transformGenerators:()=>C7e,transformJsx:()=>_7e,transformLegacyDecorators:()=>o7e,transformModule:()=>r1e,transformNamedEvaluation:()=>Vf,transformNodeModule:()=>y7e,transformNodes:()=>pH,transformSystemModule:()=>b7e,transformTypeScript:()=>u7e,transpile:()=>hnt,transpileModule:()=>e8e,transpileOptionValueCompilerOptions:()=>gde,tryAddToSet:()=>r0,tryAndIgnoreErrors:()=>PX,tryCast:()=>ur,tryDirectoryExists:()=>NX,tryExtractTSExtension:()=>Kq,tryFileExists:()=>QH,tryGetClassExtendingExpressionWithTypeArguments:()=>sle,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>lle,tryGetDirectories:()=>LX,tryGetExtensionFromPath:()=>t3,tryGetImportFromModuleSpecifier:()=>Aj,tryGetJSDocSatisfiesTypeNode:()=>gZ,tryGetModuleNameFromFile:()=>IV,tryGetModuleSpecifierFromDeclaration:()=>Z8,tryGetNativePerformanceHooks:()=>l2e,tryGetPropertyAccessOrIdentifierToString:()=>Uj,tryGetPropertyNameOfBindingOrAssignmentElement:()=>yY,tryGetSourceMappingURL:()=>VAe,tryGetTextOfPropertyName:()=>UN,tryIOAndConsumeErrors:()=>MX,tryParsePattern:()=>fB,tryParsePatterns:()=>lZ,tryParseRawSourceMap:()=>Wde,tryReadDirectory:()=>xfe,tryReadFile:()=>rM,tryRemoveDirectoryPrefix:()=>yle,tryRemoveExtension:()=>fke,tryRemovePrefix:()=>doe,tryRemoveSuffix:()=>XCe,typeAcquisitionDeclarations:()=>eH,typeAliasNamePart:()=>gSe,typeDirectiveIsEqualTo:()=>Fbe,typeKeywords:()=>HX,typeParameterNamePart:()=>ESe,typeReferenceResolutionNameAndModeGetter:()=>LQ,typeToDisplayParts:()=>$H,unchangedPollThresholds:()=>yO,unchangedTextChangeRange:()=>tj,unescapeLeadingUnderscores:()=>Qr,unmangleScopedPackageName:()=>lH,unorderedRemoveItem:()=>Vy,unorderedRemoveItemAt:()=>loe,unreachableCodeIsError:()=>uke,unusedLabelIsError:()=>rke,unwrapInnermostStatementOfLabel:()=>A0e,updateErrorForNoInputFiles:()=>wY,updateLanguageServiceSourceFile:()=>wme,updateMissingFilePathsWatch:()=>g1e,updatePackageJsonWatch:()=>utt,updateResolutionField:()=>HB,updateSharedExtendedConfigFileWatcher:()=>vQ,updateSourceFile:()=>$ce,updateWatchingWildcardDirectories:()=>_H,usesExtensionsOnImports:()=>dke,usingSingleLineStringWriter:()=>GN,utf16EncodeAsString:()=>F8,validateLocaleAndSetLanguage:()=>sZe,valuesHelper:()=>JZ,version:()=>_,versionMajorMinor:()=>g,visitArray:()=>dH,visitCommaListElements:()=>hH,visitEachChild:()=>rn,visitFunctionBody:()=>Om,visitIterationBody:()=>Ih,visitLexicalEnvironment:()=>iQ,visitNode:()=>yt,visitNodes:()=>kn,visitParameterList:()=>xc,walkUpBindingElementsAndPatterns:()=>S8,walkUpLexicalEnvironments:()=>UAe,walkUpOuterExpressions:()=>SFe,walkUpParenthesizedExpressions:()=>i5,walkUpParenthesizedTypes:()=>Lj,walkUpParenthesizedTypesAndGetParentAndChild:()=>dye,whitespaceOrMapCommentRegExp:()=>uQ,writeCommentRange:()=>sB,writeFile:()=>cP,writeFileEnsuringDirectories:()=>nle,zipWith:()=>re});var Xv=o({"src/server/_namespaces/ts.ts"(){Bo(),BH(),rr(),Jpe(),_9()}}),Qct={};h(Qct,{ActionInvalidate:()=>YQ,ActionPackageInstalled:()=>T9e,ActionSet:()=>ZQ,ActionWatchTypingLocations:()=>SH,Arguments:()=>mhe,AutoImportProviderProject:()=>age,AuxiliaryProject:()=>uge,CharRangeSection:()=>_ge,CloseFileWatcherEvent:()=>lte,CommandNames:()=>kNe,ConfigFileDiagEvent:()=>ute,ConfiguredProject:()=>oge,CreateDirectoryWatcherEvent:()=>ste,CreateFileWatcherEvent:()=>ote,Errors:()=>v5,EventBeginInstallTypes:()=>hhe,EventEndInstallTypes:()=>fhe,EventInitializationFailed:()=>N9e,EventTypesRegistry:()=>L9e,ExternalProject:()=>Zee,GcTimer:()=>Ype,InferredProject:()=>nge,LargeFileReferencedEvent:()=>nte,LineIndex:()=>rz,LineLeaf:()=>qK,LineNode:()=>E9,LogLevel:()=>$pe,Msg:()=>Upe,OpenFileInfoTelemetryEvent:()=>cge,Project:()=>Wk,ProjectInfoTelemetryEvent:()=>ate,ProjectKind:()=>nz,ProjectLanguageServiceStateEvent:()=>rte,ProjectLoadingFinishEvent:()=>ite,ProjectLoadingStartEvent:()=>tte,ProjectReferenceProjectLoadKind:()=>fge,ProjectService:()=>mge,ProjectsUpdatedInBackgroundEvent:()=>JK,ScriptInfo:()=>ege,ScriptVersionCache:()=>fte,Session:()=>ANe,TextStorage:()=>Xpe,ThrottledOperations:()=>Zpe,TypingsCache:()=>tge,allFilesAreJsOrDts:()=>nNe,allRootFilesAreJsOrDts:()=>iNe,asNormalizedPath:()=>Fct,convertCompilerOptions:()=>Yee,convertFormatOptions:()=>Sw,convertScriptKindName:()=>lge,convertTypeAcquisition:()=>aNe,convertUserPreferences:()=>oNe,convertWatchOptions:()=>GK,countEachFileTypes:()=>KK,createInstallTypingsRequest:()=>kct,createModuleSpecifierCache:()=>ENe,createNormalizedPathMap:()=>Act,createPackageJsonCache:()=>_Ne,createSortedArray:()=>jLe,emptyArray:()=>$c,findArgument:()=>_it,forEachResolvedProjectReferenceProject:()=>Bw,formatDiagnosticToProtocol:()=>UK,formatMessage:()=>DNe,getBaseConfigFileName:()=>qpe,getLocationInNewDocument:()=>bNe,hasArgument:()=>Eit,hasNoTypeScriptSource:()=>uNe,indent:()=>BM,isBackgroundProject:()=>WK,isConfigFile:()=>fNe,isConfiguredProject:()=>Qv,isDynamicFileName:()=>HK,isExternalProject:()=>ige,isInferredProject:()=>Aw,isInferredProjectName:()=>zLe,makeAutoImportProviderProjectName:()=>RLe,makeAuxiliaryProjectName:()=>OLe,makeInferredProjectName:()=>ILe,maxFileSize:()=>ete,maxProgramSizeForNonTsFiles:()=>Xee,normalizedPathToPath:()=>VK,nowString:()=>Dit,nullCancellationToken:()=>yNe,nullTypingsInstaller:()=>qee,projectContainsInfoDirectly:()=>p9,protocol:()=>tNe,removeSorted:()=>Sct,stringifyIndented:()=>nw,toEvent:()=>xNe,toNormalizedPath:()=>Dl,tryConvertScriptKindName:()=>sge,typingsInstaller:()=>PLe,updateProjectIfDirty:()=>Gm});var lXt=o({"src/typescript/_namespaces/ts.server.ts"(){QQ(),_9()}}),Xct={};h(Xct,{ANONYMOUS:()=>KX,AccessFlags:()=>Koe,AssertionLevel:()=>moe,AssignmentDeclarationKind:()=>Qoe,AssignmentKind:()=>Kle,Associativity:()=>Gle,BreakpointResolver:()=>Ime,BuilderFileEmit:()=>K1e,BuilderProgramKind:()=>W1e,BuilderState:()=>Wp,BundleFileSectionKind:()=>gse,CallHierarchy:()=>o9,CharacterCodes:()=>lse,CheckFlags:()=>Roe,CheckMode:()=>XY,ClassificationType:()=>Nhe,ClassificationTypeNames:()=>Lhe,CommentDirectiveType:()=>boe,Comparison:()=>x,CompletionInfoFlags:()=>khe,CompletionTriggerKind:()=>xhe,Completions:()=>h9,ContainerFlags:()=>Pde,ContextFlags:()=>Boe,Debug:()=>H,DiagnosticCategory:()=>vO,Diagnostics:()=>F,DocumentHighlights:()=>JX,ElementFlags:()=>Hoe,EmitFlags:()=>_U,EmitHint:()=>fse,EmitOnly:()=>koe,EndOfLineState:()=>She,EnumKind:()=>Ioe,ExitStatus:()=>Foe,ExportKind:()=>Rfe,Extension:()=>cse,ExternalEmitHelpers:()=>hse,FileIncludeKind:()=>lU,FilePreprocessingDiagnosticsKind:()=>yoe,FileSystemEntryKind:()=>Cse,FileWatcherEventKind:()=>vse,FindAllReferences:()=>Z0,FlattenLevel:()=>Xde,FlowFlags:()=>xO,ForegroundColorEscapeSequences:()=>M1e,FunctionFlags:()=>Wle,GeneratedIdentifierFlags:()=>sU,GetLiteralTextFlags:()=>jle,GoToDefinition:()=>Cw,HighlightSpanKind:()=>Che,IdentifierNameMap:()=>Y7,IdentifierNameMultiMap:()=>Qde,ImportKind:()=>Ife,ImportsNotUsedAsValues:()=>use,IndentStyle:()=>bhe,IndexFlags:()=>Woe,IndexKind:()=>$oe,InferenceFlags:()=>Zoe,InferencePriority:()=>qoe,InlayHintKind:()=>vhe,InlayHints:()=>Spe,InternalEmitFlags:()=>dse,InternalSymbolName:()=>Ooe,InvalidatedProjectKind:()=>dhe,JSDocParsingMode:()=>Dse,JsDoc:()=>Yv,JsTyping:()=>o3,JsxEmit:()=>nse,JsxFlags:()=>voe,JsxReferenceKind:()=>Goe,LanguageServiceMode:()=>Ehe,LanguageVariant:()=>ose,LexicalEnvironmentFlags:()=>pse,ListFormat:()=>Ese,LogLevel:()=>goe,MemberOverrideStatus:()=>Aoe,ModifierFlags:()=>aU,ModuleDetectionKind:()=>Xoe,ModuleInstanceState:()=>Nde,ModuleKind:()=>FN,ModuleResolutionKind:()=>y8,ModuleSpecifierEnding:()=>Qle,NavigateTo:()=>n8e,NavigationBar:()=>f8e,NewLineKind:()=>rse,NodeBuilderFlags:()=>woe,NodeCheckFlags:()=>joe,NodeFactoryFlags:()=>ace,NodeFlags:()=>rU,NodeResolutionFeatures:()=>wde,ObjectFlags:()=>fU,OperationCanceledException:()=>b8,OperatorPrecedence:()=>Jle,OrganizeImports:()=>Gp,OrganizeImportsMode:()=>Dhe,OuterExpressionKinds:()=>mse,OutliningElementsCollector:()=>Lpe,OutliningSpanKind:()=>Fhe,OutputFileType:()=>Ahe,PackageJsonAutoImportPreference:()=>ghe,PackageJsonDependencyGroup:()=>phe,PatternMatchKind:()=>$X,PollingInterval:()=>DU,PollingWatchKind:()=>ise,PragmaKindFlags:()=>_se,PrivateIdentifierKind:()=>fce,ProcessLevel:()=>n1e,ProgramUpdateLevel:()=>_1e,QuotePreference:()=>Tfe,RelationComparisonResult:()=>oU,Rename:()=>Hee,ScriptElementKind:()=>whe,ScriptElementKindModifier:()=>The,ScriptKind:()=>pU,ScriptSnapshot:()=>eX,ScriptTarget:()=>ase,SemanticClassificationFormat:()=>_he,SemanticMeaning:()=>wfe,SemicolonPreference:()=>yhe,SignatureCheckMode:()=>eQ,SignatureFlags:()=>mU,SignatureHelp:()=>NK,SignatureKind:()=>Joe,SmartSelectionRange:()=>Mpe,SnippetKind:()=>EU,SortKind:()=>foe,StructureIsReused:()=>cU,SymbolAccessibility:()=>Noe,SymbolDisplay:()=>x5,SymbolDisplayPartKind:()=>wH,SymbolFlags:()=>dU,SymbolFormatFlags:()=>Loe,SyntaxKind:()=>uU,SyntheticSymbolKind:()=>Poe,Ternary:()=>Yoe,ThrottledCancellationToken:()=>zme,TokenClass:()=>Bhe,TokenFlags:()=>Coe,TransformFlags:()=>gU,TypeFacts:()=>QY,TypeFlags:()=>hU,TypeFormatFlags:()=>Toe,TypeMapKind:()=>Uoe,TypePredicateKind:()=>Moe,TypeReferenceSerializationKind:()=>zoe,UnionReduction:()=>Soe,UpToDateStatusType:()=>ohe,VarianceFlags:()=>Voe,Version:()=>Lp,VersionRange:()=>EO,WatchDirectoryFlags:()=>sse,WatchDirectoryKind:()=>tse,WatchFileKind:()=>ese,WatchLogLevel:()=>D1e,WatchType:()=>cd,accessPrivateIdentifier:()=>ZAe,addDisposableResourceHelper:()=>eY,addEmitFlags:()=>i_,addEmitHelper:()=>S7,addEmitHelpers:()=>iD,addInternalEmitFlags:()=>F7,addNodeFactoryPatcher:()=>MYe,addObjectAllocatorPatcher:()=>Qye,addRange:()=>yn,addRelatedInfo:()=>Es,addSyntheticLeadingComment:()=>OP,addSyntheticTrailingComment:()=>AZ,addToSeen:()=>Ip,advancedAsyncSuperHelper:()=>bV,affectsDeclarationPathOptionDeclarations:()=>mde,affectsEmitOptionDeclarations:()=>fde,allKeysStartWithDot:()=>JY,altDirectorySeparator:()=>BO,and:()=>Q$,append:()=>xi,appendIfUnique:()=>e0,arrayFrom:()=>ga,arrayIsEqualTo:()=>On,arrayIsHomogeneous:()=>Eke,arrayIsSorted:()=>hi,arrayOf:()=>am,arrayReverseIterator:()=>Cd,arrayToMap:()=>lg,arrayToMultiMap:()=>mO,arrayToNumericMap:()=>noe,arraysEqual:()=>Zt,assertType:()=>gqe,assign:()=>VE,assignHelper:()=>PZ,asyncDelegator:()=>zZ,asyncGeneratorHelper:()=>MZ,asyncSuperHelper:()=>CV,asyncValues:()=>IZ,attachFileToDiagnostics:()=>v7,awaitHelper:()=>B7,awaiterHelper:()=>OZ,base64decode:()=>jye,base64encode:()=>Oye,binarySearch:()=>Kl,binarySearchKey:()=>va,bindSourceFile:()=>SAe,breakIntoCharacterSpans:()=>ZSe,breakIntoWordSpans:()=>YSe,buildLinkParts:()=>DSe,buildOpts:()=>MY,buildOverload:()=>Dct,bundlerModuleNameResolver:()=>gAe,canBeConvertedToAsync:()=>qfe,canHaveDecorators:()=>Ak,canHaveExportModifier:()=>rV,canHaveFlowNode:()=>Bj,canHaveIllegalDecorators:()=>Hce,canHaveIllegalModifiers:()=>LFe,canHaveIllegalType:()=>dQe,canHaveIllegalTypeParameters:()=>TFe,canHaveJSDoc:()=>wj,canHaveLocals:()=>UE,canHaveModifiers:()=>Hp,canHaveSymbol:()=>Zg,canJsonReportNoInputFiles:()=>aM,canProduceDiagnostics:()=>mQ,canUsePropertyAccess:()=>zle,canWatchAffectingLocation:()=>n9e,canWatchAtTypes:()=>i9e,canWatchDirectoryOrFile:()=>IQ,cartesianProduct:()=>i2e,cast:()=>Po,chainBundle:()=>Kp,chainDiagnosticMessages:()=>ro,changeAnyExtension:()=>AO,changeCompilerHostLikeToUseCache:()=>vH,changeExtension:()=>wv,changesAffectModuleResolution:()=>UU,changesAffectingProgramStructure:()=>bbe,childIsDecorated:()=>QN,classElementOrClassElementParameterIsDecorated:()=>S0e,classHasClassThisAssignment:()=>e1e,classHasDeclaredOrExplicitlyAssignedName:()=>t1e,classHasExplicitlyAssignedName:()=>dQ,classOrConstructorParameterIsDecorated:()=>t5,classPrivateFieldGetHelper:()=>YZ,classPrivateFieldInHelper:()=>XZ,classPrivateFieldSetHelper:()=>QZ,classicNameResolver:()=>yAe,classifier:()=>aBe,cleanExtendedConfigCache:()=>CQ,clear:()=>pu,clearMap:()=>rf,clearSharedExtendedConfigFileWatcher:()=>p1e,climbPastPropertyAccess:()=>iX,climbPastPropertyOrElementAccess:()=>J9e,clone:()=>uoe,cloneCompilerOptions:()=>Qhe,closeFileWatcher:()=>fg,closeFileWatcherOf:()=>jm,codefix:()=>z1,collapseTextChangeRangesAcrossMultipleVersions:()=>P2e,collectExternalModuleInfo:()=>Ude,combine:()=>vo,combinePaths:()=>cr,commentPragmas:()=>CO,commonOptionsWithBuild:()=>QV,commonPackageFolders:()=>Ule,compact:()=>Dr,compareBooleans:()=>d2,compareDataObjects:()=>gle,compareDiagnostics:()=>bP,compareDiagnosticsSkipRelatedInformation:()=>Zq,compareEmitHelpers:()=>Uke,compareNumberOfDirectorySeparators:()=>iV,comparePaths:()=>pv,comparePathsCaseInsensitive:()=>Kqe,comparePathsCaseSensitive:()=>Hqe,comparePatternKeys:()=>Sde,compareProperties:()=>QCe,compareStringsCaseInsensitive:()=>Z$,compareStringsCaseInsensitiveEslintCompatible:()=>qCe,compareStringsCaseSensitive:()=>dh,compareStringsCaseSensitiveUI:()=>pO,compareTextSpans:()=>q$,compareValues:()=>nl,compileOnSaveCommandLineOption:()=>ZV,compilerOptionsAffectDeclarationPath:()=>lke,compilerOptionsAffectEmit:()=>ske,compilerOptionsAffectSemanticDiagnostics:()=>oke,compilerOptionsDidYouMeanDiagnostics:()=>tH,compilerOptionsIndicateEsModules:()=>ufe,compose:()=>mqe,computeCommonSourceDirectoryOfFilenames:()=>P7e,computeLineAndCharacterOfPosition:()=>k8,computeLineOfPosition:()=>TN,computeLineStarts:()=>n7,computePositionOfLineAndCharacter:()=>FU,computeSignature:()=>Nk,computeSignatureWithDiagnostics:()=>O1e,computeSuggestionDiagnostics:()=>Jfe,concatenate:()=>Hi,concatenateDiagnosticMessageChains:()=>ike,consumesNodeCoreModules:()=>zX,contains:()=>kt,containsIgnoredPath:()=>TP,containsObjectRestOrSpread:()=>VV,containsParseError:()=>O8,containsPath:()=>GE,convertCompilerOptionsForTelemetry:()=>eAe,convertCompilerOptionsFromJson:()=>mXe,convertJsonOption:()=>Sk,convertToBase64:()=>Rye,convertToJson:()=>$V,convertToObject:()=>ZFe,convertToOptionsWithAbsolutePaths:()=>ode,convertToRelativePath:()=>wN,convertToTSConfig:()=>eXe,convertTypeAcquisitionFromJson:()=>pXe,copyComments:()=>Rk,copyEntries:()=>qU,copyLeadingComments:()=>cw,copyProperties:()=>roe,copyTrailingAsLeadingComments:()=>ZH,copyTrailingComments:()=>OM,couldStartTrivia:()=>y2e,countWhere:()=>ui,createAbstractBuilder:()=>ktt,createAccessorPropertyBackingField:()=>Wce,createAccessorPropertyGetRedirector:()=>jFe,createAccessorPropertySetRedirector:()=>VFe,createBaseNodeFactory:()=>Lke,createBinaryExpressionTrampoline:()=>kY,createBindingHelper:()=>xB,createBuildInfo:()=>gH,createBuilderProgram:()=>j1e,createBuilderProgramUsingProgramBuildInfo:()=>e9e,createBuilderStatusReporter:()=>E9e,createCacheWithRedirects:()=>Cde,createCacheableExportInfoMap:()=>Pfe,createCachedDirectoryStructureHost:()=>xQ,createClassNamedEvaluationHelperBlock:()=>t7e,createClassThisAssignmentBlock:()=>XAe,createClassifier:()=>Hit,createCommentDirectivesMap:()=>Bbe,createCompilerDiagnostic:()=>cc,createCompilerDiagnosticForInvalidCustomType:()=>GFe,createCompilerDiagnosticFromMessageChain:()=>qq,createCompilerHost:()=>M7e,createCompilerHostFromProgramHost:()=>nhe,createCompilerHostWorker:()=>C1e,createDetachedDiagnostic:()=>hB,createDiagnosticCollection:()=>rB,createDiagnosticForFileFromMessageChain:()=>b0e,createDiagnosticForNode:()=>Su,createDiagnosticForNodeArray:()=>H8,createDiagnosticForNodeArrayFromMessageChain:()=>sj,createDiagnosticForNodeFromMessageChain:()=>Y3,createDiagnosticForNodeInSourceFile:()=>K4,createDiagnosticForRange:()=>Vbe,createDiagnosticMessageChainFromDiagnostic:()=>jbe,createDiagnosticReporter:()=>kH,createDocumentPositionMapper:()=>WAe,createDocumentRegistry:()=>OSe,createDocumentRegistryInternal:()=>Vfe,createEmitAndSemanticDiagnosticsBuilderProgram:()=>G1e,createEmitHelperFactory:()=>$ke,createEmptyExports:()=>NV,createExpressionForJsxElement:()=>yFe,createExpressionForJsxFragment:()=>kFe,createExpressionForObjectLiteralElementLike:()=>FFe,createExpressionForPropertyName:()=>zce,createExpressionFromEntityName:()=>PV,createExternalHelpersImportDeclarationIfNeeded:()=>Oce,createFileDiagnostic:()=>Rd,createFileDiagnosticFromMessageChain:()=>nq,createForOfBindingStatement:()=>Mce,createGetCanonicalFileName:()=>L1,createGetSourceFile:()=>x1e,createGetSymbolAccessibilityDiagnosticForNode:()=>h5,createGetSymbolAccessibilityDiagnosticForNodeName:()=>k7e,createGetSymbolWalker:()=>BAe,createIncrementalCompilerHost:()=>rhe,createIncrementalProgram:()=>p9e,createInputFiles:()=>IYe,createInputFilesWithFilePaths:()=>uce,createInputFilesWithFileTexts:()=>rce,createJsxFactoryExpression:()=>Pce,createLanguageService:()=>eBe,createLanguageServiceSourceFile:()=>Eee,createMemberAccessForPropertyName:()=>Fk,createModeAwareCache:()=>U7,createModeAwareCacheKey:()=>dM,createModuleNotFoundChain:()=>o0e,createModuleResolutionCache:()=>KB,createModuleResolutionLoader:()=>A1e,createModuleResolutionLoaderUsingGlobalCache:()=>o9e,createModuleSpecifierResolutionHost:()=>Ik,createMultiMap:()=>wm,createNodeConverters:()=>Pke,createNodeFactory:()=>mV,createOptionNameMap:()=>SY,createOverload:()=>Gpe,createPackageJsonImportFilter:()=>HM,createPackageJsonInfo:()=>Cfe,createParenthesizerRules:()=>Nke,createPatternMatcher:()=>WSe,createPrependNodes:()=>N1e,createPrinter:()=>Gv,createPrinterWithDefaults:()=>f1e,createPrinterWithRemoveComments:()=>X2,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>m1e,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>EH,createProgram:()=>SQ,createProgramHost:()=>uhe,createPropertyNameNodeForIdentifierOrLiteral:()=>mZ,createQueue:()=>U$,createRange:()=>s4,createRedirectedBuilderProgram:()=>H1e,createResolutionCache:()=>$1e,createRuntimeTypeSerializer:()=>a7e,createScanner:()=>YD,createSemanticDiagnosticsBuilderProgram:()=>ytt,createSet:()=>aoe,createSolutionBuilder:()=>Vtt,createSolutionBuilderHost:()=>Ott,createSolutionBuilderWithWatch:()=>Htt,createSolutionBuilderWithWatchHost:()=>jtt,createSortedArray:()=>xt,createSourceFile:()=>KV,createSourceMapGenerator:()=>jAe,createSourceMapSource:()=>RYe,createSuperAccessVariableStatement:()=>fQ,createSymbolTable:()=>Vo,createSymlinkCache:()=>ble,createSystemWatchFunctions:()=>E2e,createTextChange:()=>VH,createTextChangeFromStartLength:()=>gX,createTextChangeRange:()=>OO,createTextRangeFromNode:()=>tfe,createTextRangeFromSpan:()=>pX,createTextSpan:()=>d1,createTextSpanFromBounds:()=>Vc,createTextSpanFromNode:()=>of,createTextSpanFromRange:()=>qx,createTextSpanFromStringLiteralLikeContent:()=>efe,createTextWriter:()=>Vj,createTokenRange:()=>fle,createTypeChecker:()=>PAe,createTypeReferenceDirectiveResolutionCache:()=>HY,createTypeReferenceResolutionLoader:()=>kQ,createUnparsedSourceFile:()=>nce,createWatchCompilerHost:()=>ztt,createWatchCompilerHostOfConfigFile:()=>h9e,createWatchCompilerHostOfFilesAndCompilerOptions:()=>f9e,createWatchFactory:()=>ihe,createWatchHost:()=>the,createWatchProgram:()=>Itt,createWatchStatusReporter:()=>s9e,createWriteFileMeasuringIO:()=>v1e,declarationNameToString:()=>b0,decodeMappings:()=>Gde,decodedTextSpanIntersectsWith:()=>RO,decorateHelper:()=>BZ,deduplicate:()=>ri,defaultIncludeSpec:()=>RY,defaultInitCompilerOptions:()=>zY,defaultMaximumTruncationLength:()=>lV,detectSortCaseSensitivity:()=>cn,diagnosticCategoryName:()=>Gy,diagnosticToString:()=>jk,directoryProbablyExists:()=>hg,directorySeparator:()=>rl,displayPart:()=>yf,displayPartsToString:()=>EK,disposeEmitNodes:()=>oce,disposeResourcesHelper:()=>tY,documentSpansEqual:()=>bX,dumpTracingLegend:()=>m2e,elementAt:()=>qD,elideNodes:()=>OFe,emitComments:()=>Aye,emitDetachedComments:()=>Sye,emitFiles:()=>EQ,emitFilesAndReportErrors:()=>VQ,emitFilesAndReportErrorsAndGetExitStatus:()=>d9e,emitModuleKindIsNonNodeESM:()=>Yq,emitNewLineBeforeLeadingCommentOfPosition:()=>Fye,emitNewLineBeforeLeadingComments:()=>yye,emitNewLineBeforeLeadingCommentsOfPosition:()=>kye,emitSkippedWithNoDiagnostics:()=>PQ,emitUsingBuildInfo:()=>w7e,emptyArray:()=>_t,emptyFileSystemEntries:()=>bZ,emptyMap:()=>iU,emptyOptions:()=>d4,emptySet:()=>u2e,endsWith:()=>sc,ensurePathIsNonModuleName:()=>h2,ensureScriptKind:()=>oZ,ensureTrailingDirectorySeparator:()=>zd,entityNameToString:()=>zf,enumerateInsertsAndDeletes:()=>eU,equalOwnProperties:()=>ZA,equateStringsCaseInsensitive:()=>QA,equateStringsCaseSensitive:()=>XA,equateValues:()=>Cx,esDecorateHelper:()=>LZ,escapeJsxAttributeString:()=>X0e,escapeLeadingUnderscores:()=>Al,escapeNonAsciiString:()=>jj,escapeSnippetText:()=>O2,escapeString:()=>Av,every:()=>ye,expandPreOrPostfixIncrementOrDecrementExpression:()=>DY,explainFiles:()=>Z1e,explainIfFileIsRedirectAndImpliedFormat:()=>Y1e,exportAssignmentIsAlias:()=>tB,exportStarHelper:()=>ZZ,expressionResultIsUnused:()=>Dke,extend:()=>$$,extendsHelper:()=>jZ,extensionFromPath:()=>y7,extensionIsTS:()=>cZ,extensionsNotSupportingExtensionlessResolution:()=>fV,externalHelpersModuleNameText:()=>Hx,factory:()=>q,fileExtensionIs:()=>Ml,fileExtensionIsOneOf:()=>jc,fileIncludeReasonToDiagnostics:()=>ehe,fileShouldUseJavaScriptRequire:()=>Bfe,filter:()=>ti,filterMutate:()=>Uu,filterSemanticDiagnostics:()=>BQ,find:()=>Le,findAncestor:()=>Tn,findBestPatternMatch:()=>coe,findChildOfKind:()=>a0,findComputedPropertyNameCacheAssignment:()=>FY,findConfigFile:()=>N7e,findContainingList:()=>oX,findDiagnosticForNode:()=>TSe,findFirstNonJsxWhitespaceToken:()=>Y9e,findIndex:()=>Ue,findLast:()=>lt,findLastIndex:()=>Ze,findListItemInfo:()=>Z9e,findMap:()=>rt,findModifier:()=>ow,findNextToken:()=>ib,findPackageJson:()=>BSe,findPackageJsons:()=>vfe,findPrecedingMatchingToken:()=>fX,findPrecedingToken:()=>td,findSuperStatementIndexPath:()=>sQ,findTokenOnLeftOfPosition:()=>cX,findUseStrictPrologue:()=>Rce,first:()=>Pn,firstDefined:()=>G,firstDefinedIterator:()=>ie,firstIterator:()=>Oa,firstOrOnly:()=>Ffe,firstOrUndefined:()=>Ki,firstOrUndefinedIterator:()=>Hn,fixupCompilerOptions:()=>Yfe,flatMap:()=>ju,flatMapIterator:()=>pa,flatMapToMutable:()=>Tr,flatten:()=>Va,flattenCommaList:()=>HFe,flattenDestructuringAssignment:()=>wk,flattenDestructuringBinding:()=>Q2,flattenDiagnosticMessageText:()=>lE,forEach:()=>L,forEachAncestor:()=>ybe,forEachAncestorDirectory:()=>Ug,forEachChild:()=>ao,forEachChildRecursively:()=>uM,forEachEmittedFile:()=>d1e,forEachEnclosingBlockScopeContainer:()=>Ibe,forEachEntry:()=>h1,forEachExternalModuleToImportFrom:()=>zfe,forEachImportClauseDeclaration:()=>Fq,forEachKey:()=>U_,forEachLeadingCommentRange:()=>NO,forEachNameInAccessChainWalkingLeft:()=>Zye,forEachPropertyAssignment:()=>J8,forEachResolvedProjectReference:()=>S1e,forEachReturnStatement:()=>y2,forEachRight:()=>O,forEachTrailingCommentRange:()=>PO,forEachTsConfigPropArray:()=>hj,forEachUnique:()=>lfe,forEachYieldExpression:()=>Kbe,forSomeAncestorDirectory:()=>rYe,formatColorAndReset:()=>eb,formatDiagnostic:()=>b1e,formatDiagnostics:()=>att,formatDiagnosticsWithColorAndContext:()=>z7e,formatGeneratedName:()=>jv,formatGeneratedNamePart:()=>RB,formatLocation:()=>y1e,formatMessage:()=>Dle,formatStringFromArgs:()=>e3,formatting:()=>dd,fullTripleSlashAMDReferencePathRegEx:()=>Hle,fullTripleSlashReferencePathRegEx:()=>Vle,generateDjb2Hash:()=>AN,generateTSConfig:()=>rXe,generatorHelper:()=>$Z,getAdjustedReferenceLocation:()=>Jhe,getAdjustedRenameLocation:()=>lX,getAliasDeclarationFromName:()=>H0e,getAllAccessorDeclarations:()=>dk,getAllDecoratorsOfClass:()=>Zde,getAllDecoratorsOfClassElement:()=>cQ,getAllJSDocTags:()=>Vse,getAllJSDocTagsOfKind:()=>_Ze,getAllKeys:()=>Bm,getAllProjectOutputs:()=>gQ,getAllSuperTypeNodes:()=>uP,getAllUnscopedEmitHelpers:()=>hce,getAllowJSCompilerOption:()=>Bv,getAllowSyntheticDefaultImports:()=>C7,getAncestor:()=>Fv,getAnyExtensionFromPath:()=>BN,getAreDeclarationMapsEnabled:()=>Xq,getAssignedExpandoInitializer:()=>l7,getAssignedName:()=>zse,getAssignedNameOfIdentifier:()=>_M,getAssignmentDeclarationKind:()=>Xl,getAssignmentDeclarationPropertyAccessKind:()=>yj,getAssignmentTargetKind:()=>f7,getAutomaticTypeDirectiveNames:()=>VY,getBaseFileName:()=>Ac,getBinaryOperatorPrecedence:()=>Oj,getBuildInfo:()=>_Q,getBuildInfoFileVersionMap:()=>V1e,getBuildInfoText:()=>B7e,getBuildOrderFromAnyBuildOrder:()=>JQ,getBuilderCreationParameters:()=>MQ,getBuilderFileEmit:()=>Ux,getCheckFlags:()=>Gl,getClassExtendsHeritageElement:()=>B2,getClassLikeDeclarationOfSymbol:()=>tD,getCombinedLocalAndExportSymbolFlags:()=>xP,getCombinedModifierFlags:()=>m2,getCombinedNodeFlags:()=>QD,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>Pse,getCommentRange:()=>nE,getCommonSourceDirectory:()=>yM,getCommonSourceDirectoryOfConfig:()=>kM,getCompilerOptionValue:()=>tZ,getCompilerOptionsDiffValue:()=>nXe,getConditions:()=>$2,getConfigFileParsingDiagnostics:()=>Lk,getConstantValue:()=>jke,getContainerFlags:()=>Lde,getContainerNode:()=>Mk,getContainingClass:()=>Yd,getContainingClassExcludingClassDecorators:()=>hq,getContainingClassStaticBlock:()=>Qbe,getContainingFunction:()=>Nm,getContainingFunctionDeclaration:()=>Ybe,getContainingFunctionOrClassStaticBlock:()=>dq,getContainingNodeArray:()=>xke,getContainingObjectLiteralElement:()=>_K,getContextualTypeFromParent:()=>SX,getContextualTypeFromParentOrAncestorTypeNode:()=>sX,getCurrentTime:()=>AH,getDeclarationDiagnostics:()=>F7e,getDeclarationEmitExtensionForPath:()=>Kj,getDeclarationEmitOutputFilePath:()=>Dye,getDeclarationEmitOutputFilePathWorker:()=>Mq,getDeclarationFromName:()=>nP,getDeclarationModifierFlagsFromSymbol:()=>l4,getDeclarationOfKind:()=>Sl,getDeclarationsOfKind:()=>vbe,getDeclaredExpandoInitializer:()=>xj,getDecorators:()=>Ax,getDefaultCompilerOptions:()=>gee,getDefaultExportInfoWorker:()=>GX,getDefaultFormatCodeSettings:()=>XQ,getDefaultLibFileName:()=>zO,getDefaultLibFilePath:()=>tBe,getDefaultLikeExportInfo:()=>WX,getDiagnosticText:()=>$Qe,getDiagnosticsWithinSpan:()=>LSe,getDirectoryPath:()=>lr,getDirectoryToWatchFailedLookupLocation:()=>J1e,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>r9e,getDocumentPositionMapper:()=>Gfe,getESModuleInterop:()=>e_,getEditsForFileRename:()=>VSe,getEffectiveBaseTypeNode:()=>Qg,getEffectiveConstraintOfTypeParameter:()=>w8,getEffectiveContainerForJSDocTemplateTag:()=>Aq,getEffectiveImplementsTypeNodes:()=>iB,getEffectiveInitializer:()=>Dj,getEffectiveJSDocHost:()=>ok,getEffectiveModifierFlags:()=>Eh,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>Lye,getEffectiveModifierFlagsNoCache:()=>Nye,getEffectiveReturnTypeNode:()=>U4,getEffectiveSetAccessorTypeAnnotationNode:()=>bye,getEffectiveTypeAnnotationNode:()=>f1,getEffectiveTypeParameterDeclarations:()=>Sx,getEffectiveTypeRoots:()=>cM,getElementOrPropertyAccessArgumentExpressionOrName:()=>kq,getElementOrPropertyAccessName:()=>Q3,getElementsOfBindingOrAssignmentPattern:()=>IB,getEmitDeclarations:()=>c4,getEmitFlags:()=>bs,getEmitHelpers:()=>SZ,getEmitModuleDetectionKind:()=>nke,getEmitModuleKind:()=>m1,getEmitModuleResolutionKind:()=>p1,getEmitScriptTarget:()=>Os,getEmitStandardClassFields:()=>ake,getEnclosingBlockScopeContainer:()=>YE,getEnclosingContainer:()=>C0e,getEncodedSemanticClassifications:()=>Ofe,getEncodedSyntacticClassifications:()=>jfe,getEndLinePosition:()=>uj,getEntityNameFromTypeNode:()=>pj,getEntrypointsFromPackageJsonInfo:()=>kde,getErrorCountForSummary:()=>OQ,getErrorSpanForNode:()=>C2,getErrorSummaryText:()=>l9e,getEscapedTextOfIdentifierOrLiteral:()=>oP,getEscapedTextOfJsxAttributeName:()=>MP,getEscapedTextOfJsxNamespacedName:()=>k7,getExpandoInitializer:()=>yv,getExportAssignmentExpression:()=>K0e,getExportInfoMap:()=>tK,getExportNeedsImportStarHelper:()=>GAe,getExpressionAssociativity:()=>q0e,getExpressionPrecedence:()=>lP,getExternalHelpersModuleName:()=>zV,getExternalModuleImportEqualsDeclarationExpression:()=>XN,getExternalModuleName:()=>Y8,getExternalModuleNameFromDeclaration:()=>Eye,getExternalModuleNameFromPath:()=>tle,getExternalModuleNameLiteral:()=>W7,getExternalModuleRequireArgument:()=>w0e,getFallbackOptions:()=>xH,getFileEmitOutput:()=>K7e,getFileMatcherPatterns:()=>aZ,getFileNamesFromConfigSpecs:()=>oM,getFileWatcherEventKind:()=>xse,getFilesInErrorForSummary:()=>jQ,getFirstConstructorWithBody:()=>X_,getFirstIdentifier:()=>hm,getFirstNonSpaceCharacterPosition:()=>bSe,getFirstProjectOutput:()=>h1e,getFixableErrorSpanExpression:()=>yfe,getFormatCodeSettingsForWriting:()=>jX,getFullWidth:()=>ij,getFunctionFlags:()=>kd,getHeritageClause:()=>Mj,getHostSignatureFromJSDoc:()=>kv,getIdentifierAutoGenerate:()=>KYe,getIdentifierGeneratedImportReference:()=>Jke,getIdentifierTypeArguments:()=>gk,getImmediatelyInvokedFunctionExpression:()=>nk,getImpliedNodeFormatForFile:()=>bH,getImpliedNodeFormatForFileWorker:()=>T1e,getImportNeedsImportDefaultHelper:()=>$de,getImportNeedsImportStarHelper:()=>aQ,getIndentSize:()=>oB,getIndentString:()=>Nq,getInferredLibraryNameResolveFrom:()=>AQ,getInitializedVariables:()=>DP,getInitializerOfBinaryExpression:()=>M0e,getInitializerOfBindingOrAssignmentElement:()=>RV,getInterfaceBaseTypeNodes:()=>rP,getInternalEmitFlags:()=>Pp,getInvokedExpression:()=>pq,getIsolatedModules:()=>mg,getJSDocAugmentsTag:()=>K2e,getJSDocClassTag:()=>Ise,getJSDocCommentRanges:()=>k0e,getJSDocCommentsAndTags:()=>I0e,getJSDocDeprecatedTag:()=>Rse,getJSDocDeprecatedTagNoCache:()=>Z2e,getJSDocEnumTag:()=>Ose,getJSDocHost:()=>h7,getJSDocImplementsTags:()=>W2e,getJSDocOverrideTagNoCache:()=>q2e,getJSDocParameterTags:()=>B8,getJSDocParameterTagsNoCache:()=>O2e,getJSDocPrivateTag:()=>fZe,getJSDocPrivateTagNoCache:()=>J2e,getJSDocProtectedTag:()=>mZe,getJSDocProtectedTagNoCache:()=>$2e,getJSDocPublicTag:()=>hZe,getJSDocPublicTagNoCache:()=>G2e,getJSDocReadonlyTag:()=>pZe,getJSDocReadonlyTagNoCache:()=>U2e,getJSDocReturnTag:()=>Y2e,getJSDocReturnType:()=>VO,getJSDocRoot:()=>iP,getJSDocSatisfiesExpressionType:()=>Rle,getJSDocSatisfiesTag:()=>jse,getJSDocTags:()=>Cv,getJSDocTagsNoCache:()=>EZe,getJSDocTemplateTag:()=>gZe,getJSDocThisTag:()=>LU,getJSDocType:()=>vv,getJSDocTypeAliasName:()=>Vce,getJSDocTypeAssertionType:()=>vY,getJSDocTypeParameterDeclarations:()=>Oq,getJSDocTypeParameterTags:()=>j2e,getJSDocTypeParameterTagsNoCache:()=>V2e,getJSDocTypeTag:()=>xv,getJSXImplicitImportBase:()=>nZ,getJSXRuntimeImport:()=>uZ,getJSXTransformEnabled:()=>iZ,getKeyForCompilerOptions:()=>vde,getLanguageVariant:()=>Yj,getLastChild:()=>Ele,getLeadingCommentRanges:()=>W_,getLeadingCommentRangesOfNode:()=>y0e,getLeftmostAccessExpression:()=>CP,getLeftmostExpression:()=>dB,getLibraryNameFromLibFileName:()=>B1e,getLineAndCharacterOfPosition:()=>s0,getLineInfo:()=>Kde,getLineOfLocalPosition:()=>dP,getLineOfLocalPositionFromLineMap:()=>lk,getLineStartPositionForPosition:()=>tp,getLineStarts:()=>$3,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Gye,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>Wye,getLinesBetweenPositions:()=>LN,getLinesBetweenRangeEndAndRangeStart:()=>mle,getLinesBetweenRangeEndPositions:()=>nYe,getLiteralText:()=>wbe,getLocalNameForExternalImport:()=>zB,getLocalSymbolForExportDefault:()=>lB,getLocaleSpecificMessage:()=>to,getLocaleTimeString:()=>FH,getMappedContextSpan:()=>cfe,getMappedDocumentSpan:()=>yX,getMappedLocation:()=>zM,getMatchedFileSpec:()=>Q1e,getMatchedIncludeSpec:()=>X1e,getMeaningFromDeclaration:()=>TH,getMeaningFromLocation:()=>Pk,getMembersOfDeclaration:()=>Wbe,getModeForFileReference:()=>yQ,getModeForResolutionAtIndex:()=>k1e,getModeForUsageLocation:()=>xg,getModifiedTime:()=>e7,getModifiers:()=>p2,getModuleInstanceState:()=>oD,getModuleNameStringLiteralAt:()=>TQ,getModuleSpecifierEndingPreference:()=>Sle,getModuleSpecifierResolverHost:()=>rfe,getNameForExportedSymbol:()=>IX,getNameFromIndexInfo:()=>Rbe,getNameFromPropertyName:()=>WH,getNameOfAccessExpression:()=>Uye,getNameOfCompilerOptionValue:()=>rde,getNameOfDeclaration:()=>Za,getNameOfExpando:()=>N0e,getNameOfJSDocTypedef:()=>R2e,getNameOrArgument:()=>bj,getNameTable:()=>Tme,getNamesForExportedSymbol:()=>NSe,getNamespaceDeclarationNode:()=>Q8,getNewLineCharacter:()=>a5,getNewLineKind:()=>eK,getNewLineOrDefaultFromHost:()=>E5,getNewTargetContainer:()=>eye,getNextJSDocCommentLocation:()=>R0e,getNodeForGeneratedName:()=>jV,getNodeId:()=>$s,getNodeKind:()=>tb,getNodeModifiers:()=>NM,getNodeModulePathParts:()=>pZ,getNonAssignedNameOfDeclaration:()=>TU,getNonAssignmentOperatorForCompoundAssignment:()=>pM,getNonAugmentationDeclaration:()=>g0e,getNonDecoratorTokenPosOfNode:()=>d0e,getNormalizedAbsolutePath:()=>$a,getNormalizedAbsolutePathWithoutRoot:()=>Fse,getNormalizedPathComponents:()=>FO,getObjectFlags:()=>Gu,getOperator:()=>Y0e,getOperatorAssociativity:()=>Z0e,getOperatorPrecedence:()=>Rj,getOptionFromName:()=>ede,getOptionsForLibraryResolution:()=>bde,getOptionsNameMap:()=>jB,getOrCreateEmitNode:()=>P1,getOrCreateExternalHelpersModuleNameIfNeeded:()=>wFe,getOrUpdate:()=>W0,getOriginalNode:()=>Wl,getOriginalNodeId:()=>M1,getOriginalSourceFile:()=>$Ze,getOutputDeclarationFileName:()=>bM,getOutputExtension:()=>pQ,getOutputFileNames:()=>ntt,getOutputPathsFor:()=>CM,getOutputPathsForBundle:()=>vM,getOwnEmitOutputFilePath:()=>_ye,getOwnKeys:()=>Ns,getOwnValues:()=>U1,getPackageJsonInfo:()=>U2,getPackageJsonTypesVersionsPaths:()=>jY,getPackageJsonsVisibleToFile:()=>wSe,getPackageNameFromTypesPackageName:()=>hM,getPackageScopeForPath:()=>aH,getParameterSymbolFromJSDoc:()=>Tj,getParameterTypeNode:()=>gYe,getParentNodeInSpan:()=>JH,getParseTreeNode:()=>Ua,getParsedCommandLineOfConfigFile:()=>GV,getPathComponents:()=>yd,getPathComponentsRelativeTo:()=>Sse,getPathFromPathComponents:()=>yx,getPathUpdater:()=>Kfe,getPathsBasePath:()=>zq,getPatternFromSpec:()=>Fle,getPendingEmitKind:()=>XB,getPositionOfLineAndCharacter:()=>TO,getPossibleGenericSignatures:()=>Uhe,getPossibleOriginalInputExtensionForExtension:()=>xye,getPossibleTypeArgumentsInfo:()=>qhe,getPreEmitDiagnostics:()=>rtt,getPrecedingNonSpaceCharacterPosition:()=>FX,getPrivateIdentifier:()=>Yde,getProperties:()=>qde,getProperty:()=>uo,getPropertyArrayElementValue:()=>Zbe,getPropertyAssignmentAliasLikeExpression:()=>fye,getPropertyNameForPropertyNameNode:()=>sk,getPropertyNameForUniqueESSymbol:()=>GZe,getPropertyNameFromType:()=>Q4,getPropertyNameOfBindingOrAssignmentElement:()=>jce,getPropertySymbolFromBindingElement:()=>CX,getPropertySymbolsFromContextualType:()=>_ee,getQuoteFromPreference:()=>ofe,getQuotePreference:()=>Hm,getRangesWhere:()=>eu,getRefactorContextSpan:()=>u9,getReferencedFileLocation:()=>FM,getRegexFromPattern:()=>jx,getRegularExpressionForWildcard:()=>yP,getRegularExpressionsForWildcards:()=>rZ,getRelativePathFromDirectory:()=>JE,getRelativePathFromFile:()=>SO,getRelativePathToDirectoryOrUrl:()=>i7,getRenameLocation:()=>qH,getReplacementSpanForContextToken:()=>Xhe,getResolutionDiagnostic:()=>P1e,getResolutionModeOverride:()=>qB,getResolveJsonModule:()=>M2,getResolvePackageJsonExports:()=>vle,getResolvePackageJsonImports:()=>cYe,getResolvedExternalModuleName:()=>Pq,getRestIndicatorOfBindingOrAssignmentElement:()=>bY,getRestParameterElementType:()=>F0e,getRightMostAssignedExpression:()=>vj,getRootDeclaration:()=>XE,getRootDirectoryOfResolutionCache:()=>a9e,getRootLength:()=>WE,getRootPathSplitLength:()=>Btt,getScriptKind:()=>pfe,getScriptKindFromFileName:()=>sZ,getScriptTargetFeatures:()=>xZ,getSelectedEffectiveModifierFlags:()=>E7,getSelectedSyntacticModifierFlags:()=>wye,getSemanticClassifications:()=>ISe,getSemanticJsxChildren:()=>uB,getSetAccessorTypeAnnotationNode:()=>vye,getSetAccessorValueParameter:()=>hP,getSetExternalModuleIndicator:()=>Qj,getShebang:()=>SU,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>z0e,getSingleVariableOfVariableStatement:()=>eB,getSnapshotText:()=>aw,getSnippetElement:()=>sce,getSourceFileOfModule:()=>YU,getSourceFileOfNode:()=>zn,getSourceFilePathInNewDir:()=>Iq,getSourceFilePathInNewDirWorker:()=>Rq,getSourceFileVersionAsHashFromText:()=>HQ,getSourceFilesToEmit:()=>ile,getSourceMapRange:()=>Lv,getSourceMapper:()=>XSe,getSourceTextOfNodeFromSourceFile:()=>x2,getSpanOfTokenAtPosition:()=>QE,getSpellingSuggestion:()=>bN,getStartPositionOfLine:()=>Mx,getStartPositionOfRange:()=>_P,getStartsOnNewLine:()=>RP,getStaticPropertiesAndClassStaticBlock:()=>lQ,getStrictOptionValue:()=>Z4,getStringComparer:()=>CN,getSuperCallFromStatement:()=>oQ,getSuperContainer:()=>fj,getSupportedCodeFixes:()=>Bme,getSupportedExtensions:()=>kP,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>tV,getSwitchedType:()=>Dfe,getSymbolId:()=>Zo,getSymbolNameForPrivateIdentifier:()=>zj,getSymbolTarget:()=>vSe,getSyntacticClassifications:()=>RSe,getSyntacticModifierFlags:()=>Rx,getSyntacticModifierFlagsNoCache:()=>ale,getSynthesizedDeepClone:()=>ll,getSynthesizedDeepCloneWithReplacements:()=>UH,getSynthesizedDeepClones:()=>nb,getSynthesizedDeepClonesWithReplacements:()=>gfe,getSyntheticLeadingComments:()=>DB,getSyntheticTrailingComments:()=>DV,getTargetLabel:()=>nX,getTargetOfBindingOrAssignmentElement:()=>$x,getTemporaryModuleResolutionState:()=>rH,getTextOfConstantValue:()=>Tbe,getTextOfIdentifierOrLiteral:()=>J4,getTextOfJSDocComment:()=>KO,getTextOfJsxAttributeName:()=>sV,getTextOfJsxNamespacedName:()=>zP,getTextOfNode:()=>Hc,getTextOfNodeFromSourceText:()=>JN,getTextOfPropertyName:()=>V8,getThisContainer:()=>tf,getThisParameter:()=>T2,getTokenAtPosition:()=>Ca,getTokenPosOfNode:()=>ek,getTokenSourceMapRange:()=>VYe,getTouchingPropertyName:()=>af,getTouchingToken:()=>LM,getTrailingCommentRanges:()=>gv,getTrailingSemicolonDeferringWriter:()=>ele,getTransformFlagsSubtreeExclusions:()=>Mke,getTransformers:()=>l1e,getTsBuildInfoEmitOutputFilePath:()=>f5,getTsConfigObjectLiteralExpression:()=>ZN,getTsConfigPropArrayElementValue:()=>cq,getTypeAnnotationNode:()=>Cye,getTypeArgumentOrTypeParameterList:()=>rSe,getTypeKeywordOfTypeOnlyImport:()=>sfe,getTypeNode:()=>Wke,getTypeNodeIfAccessible:()=>VM,getTypeParameterFromJsDoc:()=>oye,getTypeParameterOwner:()=>oZe,getTypesPackageName:()=>$Y,getUILocale:()=>ZCe,getUniqueName:()=>Ok,getUniqueSymbolId:()=>CSe,getUseDefineForClassFields:()=>eV,getWatchErrorSummaryDiagnosticMessage:()=>U1e,getWatchFactory:()=>E1e,group:()=>vN,groupBy:()=>JCe,guessIndentation:()=>Dbe,handleNoEmitOptions:()=>L1e,hasAbstractModifier:()=>P2,hasAccessorModifier:()=>eE,hasAmbientModifier:()=>rle,hasChangesInResolutions:()=>s0e,hasChildOfKind:()=>RH,hasContextSensitiveParameters:()=>fZ,hasDecorators:()=>o4,hasDocComment:()=>nSe,hasDynamicName:()=>Ix,hasEffectiveModifier:()=>Rf,hasEffectiveModifiers:()=>jq,hasEffectiveReadonlyModifier:()=>fP,hasExtension:()=>t7,hasIndexSignature:()=>_fe,hasInitializer:()=>Nx,hasInvalidEscape:()=>Q0e,hasJSDocNodes:()=>lm,hasJSDocParameterTags:()=>H2e,hasJSFileExtension:()=>z2,hasJsonModuleEmitEnabled:()=>Qq,hasOnlyExpressionInitializer:()=>Qy,hasOverrideModifier:()=>Vq,hasPossibleExternalModuleReference:()=>zbe,hasProperty:()=>gu,hasPropertyAccessExpressionWithName:()=>NH,hasQuestionToken:()=>d7,hasRecordedExternalHelpers:()=>BFe,hasResolutionModeOverride:()=>kke,hasRestParameter:()=>u0e,hasScopeMarker:()=>dbe,hasStaticModifier:()=>Kc,hasSyntacticModifier:()=>Yu,hasSyntacticModifiers:()=>Bye,hasTSFileExtension:()=>mk,hasTabstop:()=>Cke,hasTrailingDirectorySeparator:()=>ZD,hasType:()=>JU,hasTypeArguments:()=>jZe,hasZeroOrOneAsteriskCharacter:()=>Cle,helperString:()=>dce,hostGetCanonicalFileName:()=>n5,hostUsesCaseSensitiveFileNames:()=>Hj,idText:()=>fu,identifierIsThisKeyword:()=>ule,identifierToKeywordKind:()=>Dv,identity:()=>il,identitySourceMapConsumer:()=>rQ,ignoreSourceNewlines:()=>cce,ignoredPaths:()=>kO,importDefaultHelper:()=>qZ,importFromModuleSpecifier:()=>tP,importNameElisionDisabled:()=>xle,importStarHelper:()=>vV,indexOfAnyCharCode:()=>jt,indexOfNode:()=>j8,indicesOf:()=>$r,inferredTypesContainingFile:()=>QB,injectClassNamedEvaluationHelperBlockIfMissing:()=>hQ,injectClassThisAssignmentIfMissing:()=>e7e,insertImports:()=>MM,insertLeadingStatement:()=>oQe,insertSorted:()=>Tt,insertStatementAfterCustomPrologue:()=>Xy,insertStatementAfterStandardPrologue:()=>wZe,insertStatementsAfterCustomPrologue:()=>l0e,insertStatementsAfterStandardPrologue:()=>ZE,intersperse:()=>_e,intrinsicTagNameToString:()=>Ole,introducesArgumentsExoticObject:()=>Ube,inverseJsxOptionMap:()=>sM,isAbstractConstructorSymbol:()=>Jye,isAbstractModifier:()=>tFe,isAccessExpression:()=>I0,isAccessibilityModifier:()=>Yhe,isAccessor:()=>wx,isAccessorModifier:()=>nFe,isAliasSymbolDeclaration:()=>HZe,isAliasableExpression:()=>Pj,isAmbientModule:()=>N1,isAmbientPropertyDeclaration:()=>_0e,isAnonymousFunctionDefinition:()=>sP,isAnyDirectorySeparator:()=>bse,isAnyImportOrBareOrAccessedRequire:()=>Mbe,isAnyImportOrReExport:()=>aj,isAnyImportSyntax:()=>tk,isAnySupportedFileExtension:()=>pYe,isApplicableVersionedTypesKey:()=>sH,isArgumentExpressionOfElementAccess:()=>jhe,isArray:()=>Ha,isArrayBindingElement:()=>jU,isArrayBindingOrAssignmentElement:()=>ZO,isArrayBindingOrAssignmentPattern:()=>Qse,isArrayBindingPattern:()=>_k,isArrayLiteralExpression:()=>Dh,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>p5,isArrayTypeNode:()=>oY,isArrowFunction:()=>q0,isAsExpression:()=>AV,isAssertClause:()=>dFe,isAssertEntry:()=>XYe,isAssertionExpression:()=>Yy,isAssertsKeyword:()=>Xke,isAssignmentDeclaration:()=>eP,isAssignmentExpression:()=>ld,isAssignmentOperator:()=>u5,isAssignmentPattern:()=>KN,isAssignmentTarget:()=>Q_,isAsteriskToken:()=>yV,isAsyncFunction:()=>aP,isAsyncModifier:()=>VP,isAutoAccessorPropertyDeclaration:()=>ef,isAwaitExpression:()=>Gx,isAwaitKeyword:()=>_ce,isBigIntLiteral:()=>iY,isBinaryExpression:()=>Xn,isBinaryOperatorToken:()=>RFe,isBindableObjectDefinePropertyCall:()=>rk,isBindableStaticAccessExpression:()=>A2,isBindableStaticElementAccessExpression:()=>yq,isBindableStaticNameExpression:()=>ak,isBindingElement:()=>js,isBindingElementOfBareOrAccessedRequire:()=>nye,isBindingName:()=>qy,isBindingOrAssignmentElement:()=>rbe,isBindingOrAssignmentPattern:()=>UO,isBindingPattern:()=>So,isBlock:()=>po,isBlockOrCatchScoped:()=>h0e,isBlockScope:()=>D0e,isBlockScopedContainerTopLevel:()=>Pbe,isBooleanLiteral:()=>HN,isBreakOrContinueStatement:()=>ON,isBreakStatement:()=>ZYe,isBuildInfoFile:()=>S7e,isBuilderProgram:()=>c9e,isBundle:()=>kce,isBundleFileTextLike:()=>qye,isCallChain:()=>$y,isCallExpression:()=>Mo,isCallExpressionTarget:()=>Phe,isCallLikeExpression:()=>D2,isCallLikeOrFunctionLikeExpression:()=>Xse,isCallOrNewExpression:()=>$E,isCallOrNewExpressionTarget:()=>Mhe,isCallSignatureDeclaration:()=>CB,isCallToHelper:()=>jP,isCaseBlock:()=>ZP,isCaseClause:()=>BB,isCaseKeyword:()=>uFe,isCaseOrDefaultClause:()=>WU,isCatchClause:()=>G2,isCatchClauseVariableDeclaration:()=>vke,isCatchClauseVariableDeclarationOrBindingElement:()=>f0e,isCheckJsEnabledForFile:()=>uV,isChildOfNodeWithKind:()=>TZe,isCircularBuildOrder:()=>e9,isClassDeclaration:()=>Wc,isClassElement:()=>Zd,isClassExpression:()=>Xd,isClassInstanceProperty:()=>ibe,isClassLike:()=>mr,isClassMemberModifier:()=>qse,isClassNamedEvaluationHelperBlock:()=>X7,isClassOrTypeElement:()=>OU,isClassStaticBlockDeclaration:()=>zl,isClassThisAssignmentBlock:()=>EM,isCollapsedRange:()=>iYe,isColonToken:()=>Yke,isCommaExpression:()=>MV,isCommaListExpression:()=>UP,isCommaSequence:()=>eM,isCommaToken:()=>Zke,isComment:()=>mX,isCommonJsExportPropertyAssignment:()=>sq,isCommonJsExportedExpression:()=>Jbe,isCompoundAssignment:()=>mM,isComputedNonLiteralName:()=>oj,isComputedPropertyName:()=>Ps,isConciseBody:()=>HU,isConditionalExpression:()=>SB,isConditionalTypeNode:()=>FB,isConstTypeReference:()=>q3,isConstructSignatureDeclaration:()=>FV,isConstructorDeclaration:()=>hc,isConstructorTypeNode:()=>WP,isContextualKeyword:()=>Bq,isContinueStatement:()=>qYe,isCustomPrologue:()=>dj,isDebuggerStatement:()=>YYe,isDeclaration:()=>Q1,isDeclarationBindingElement:()=>$O,isDeclarationFileName:()=>e1,isDeclarationName:()=>X3,isDeclarationNameOfEnumOrNamespace:()=>ple,isDeclarationReadonly:()=>uq,isDeclarationStatement:()=>pbe,isDeclarationWithTypeParameterChildren:()=>v0e,isDeclarationWithTypeParameters:()=>x0e,isDecorator:()=>g1,isDecoratorTarget:()=>W9e,isDefaultClause:()=>TV,isDefaultImport:()=>c7,isDefaultModifier:()=>rY,isDefaultedExpandoInitializer:()=>uye,isDeleteExpression:()=>oFe,isDeleteTarget:()=>V0e,isDeprecatedDeclaration:()=>RX,isDestructuringAssignment:()=>r5,isDiagnosticWithLocation:()=>bfe,isDiskPathRoot:()=>yse,isDoStatement:()=>$Ye,isDocumentRegistryEntry:()=>iK,isDotDotDotToken:()=>nY,isDottedName:()=>pP,isDynamicName:()=>Lq,isESSymbolIdentifier:()=>JZe,isEffectiveExternalModule:()=>s7,isEffectiveModuleDeclaration:()=>Nbe,isEffectiveStrictModeSourceFile:()=>E0e,isElementAccessChain:()=>Hse,isElementAccessExpression:()=>U0,isEmittedFileOfProgram:()=>L7e,isEmptyArrayLiteral:()=>Iye,isEmptyBindingElement:()=>z2e,isEmptyBindingPattern:()=>M2e,isEmptyObjectLiteral:()=>dle,isEmptyStatement:()=>Cce,isEmptyStringLiteral:()=>B0e,isEntityName:()=>sm,isEntityNameExpression:()=>ec,isEnumConst:()=>b2,isEnumDeclaration:()=>Iv,isEnumMember:()=>J2,isEqualityOperatorKind:()=>BX,isEqualsGreaterThanToken:()=>Qke,isExclamationToken:()=>kV,isExcludedFile:()=>QFe,isExclusivelyTypeOnlyImportOrExport:()=>F1e,isExpandoPropertyDeclaration:()=>EZ,isExportAssignment:()=>tc,isExportDeclaration:()=>Gc,isExportModifier:()=>L7,isExportName:()=>xY,isExportNamespaceAsDefaultDeclaration:()=>eq,isExportOrDefaultModifier:()=>OV,isExportSpecifier:()=>eh,isExportsIdentifier:()=>uk,isExportsOrModuleExportsOrAlias:()=>q2,isExpression:()=>Wt,isExpressionNode:()=>Z_,isExpressionOfExternalModuleImportEqualsDeclaration:()=>U9e,isExpressionOfOptionalChainRoot:()=>MU,isExpressionStatement:()=>Od,isExpressionWithTypeArguments:()=>c5,isExpressionWithTypeArgumentsInClassExtendsClause:()=>Jj,isExternalModule:()=>wc,isExternalModuleAugmentation:()=>v2,isExternalModuleImportEqualsDeclaration:()=>bv,isExternalModuleIndicator:()=>YO,isExternalModuleNameRelative:()=>Id,isExternalModuleReference:()=>r_,isExternalModuleSymbol:()=>HH,isExternalOrCommonJsModule:()=>cm,isFileLevelReservedGeneratedIdentifier:()=>JO,isFileLevelUniqueName:()=>QU,isFileProbablyExternalModule:()=>HV,isFirstDeclarationOfSymbolParameter:()=>dfe,isFixablePromiseHandler:()=>Ufe,isForInOrOfStatement:()=>M8,isForInStatement:()=>hY,isForInitializer:()=>a4,isForOfStatement:()=>SV,isForStatement:()=>vk,isFunctionBlock:()=>k2,isFunctionBody:()=>t0e,isFunctionDeclaration:()=>ed,isFunctionExpression:()=>A0,isFunctionExpressionOrArrowFunction:()=>R2,isFunctionLike:()=>Co,isFunctionLikeDeclaration:()=>$0,isFunctionLikeKind:()=>a7,isFunctionLikeOrClassStaticBlockDeclaration:()=>L8,isFunctionOrConstructorTypeNode:()=>ube,isFunctionOrModuleBlock:()=>Zse,isFunctionSymbol:()=>aye,isFunctionTypeNode:()=>u3,isFutureReservedKeyword:()=>KZe,isGeneratedIdentifier:()=>al,isGeneratedPrivateIdentifier:()=>Uy,isGetAccessor:()=>Lx,isGetAccessorDeclaration:()=>zm,isGetOrSetAccessorDeclaration:()=>NU,isGlobalDeclaration:()=>Iit,isGlobalScopeAugmentation:()=>Yg,isGrammarError:()=>Sbe,isHeritageClause:()=>mm,isHoistedFunction:()=>aq,isHoistedVariableStatement:()=>oq,isIdentifier:()=>at,isIdentifierANonContextualKeyword:()=>wq,isIdentifierName:()=>hye,isIdentifierOrThisTypeNode:()=>PFe,isIdentifierPart:()=>Ev,isIdentifierStart:()=>G_,isIdentifierText:()=>Lm,isIdentifierTypePredicate:()=>qbe,isIdentifierTypeReference:()=>gke,isIfStatement:()=>xk,isIgnoredFileFromWildCardWatching:()=>DH,isImplicitGlob:()=>kle,isImportAttribute:()=>hFe,isImportAttributeName:()=>tbe,isImportAttributes:()=>fY,isImportCall:()=>dm,isImportClause:()=>n_,isImportDeclaration:()=>Sd,isImportEqualsDeclaration:()=>E1,isImportKeyword:()=>KP,isImportMeta:()=>W8,isImportOrExportSpecifier:()=>r7,isImportOrExportSpecifierName:()=>xSe,isImportSpecifier:()=>bf,isImportTypeAssertionContainer:()=>QYe,isImportTypeNode:()=>nD,isImportableFile:()=>Mfe,isInComment:()=>m5,isInCompoundLikeAssignment:()=>O0e,isInExpressionContext:()=>Eq,isInJSDoc:()=>Ej,isInJSFile:()=>Qn,isInJSXText:()=>tSe,isInJsonFile:()=>Dq,isInNonReferenceComment:()=>sSe,isInReferenceComment:()=>oSe,isInRightSideOfInternalImportEqualsDeclaration:()=>tX,isInString:()=>zk,isInTemplateString:()=>$he,isInTopLevelContext:()=>fq,isInTypeQuery:()=>ck,isIncrementalCompilation:()=>Xj,isIndexSignatureDeclaration:()=>Ek,isIndexedAccessTypeNode:()=>I7,isInferTypeNode:()=>P7,isInfinityOrNaNString:()=>LP,isInitializedProperty:()=>fH,isInitializedVariable:()=>Zj,isInsideJsxElement:()=>hX,isInsideJsxElementOrAttribute:()=>eSe,isInsideNodeModules:()=>XH,isInsideTemplateLiteral:()=>jH,isInstanceOfExpression:()=>Hq,isInstantiatedModule:()=>Rde,isInterfaceDeclaration:()=>xh,isInternalDeclaration:()=>o1e,isInternalModuleImportEqualsDeclaration:()=>U8,isInternalName:()=>Ice,isIntersectionTypeNode:()=>kB,isIntrinsicJsxName:()=>aB,isIterationStatement:()=>Tx,isJSDoc:()=>Vp,isJSDocAllType:()=>EFe,isJSDocAugmentsTag:()=>LB,isJSDocAuthorTag:()=>nQe,isJSDocCallbackTag:()=>Ace,isJSDocClassTag:()=>DFe,isJSDocCommentContainingNode:()=>GU,isJSDocConstructSignature:()=>X8,isJSDocDeprecatedTag:()=>Lce,isJSDocEnumTag:()=>LV,isJSDocFunctionType:()=>TB,isJSDocImplementsTag:()=>Nce,isJSDocIndexSignature:()=>xq,isJSDocLikeText:()=>Jce,isJSDocLink:()=>pFe,isJSDocLinkCode:()=>gFe,isJSDocLinkLike:()=>o7,isJSDocLinkPlain:()=>tQe,isJSDocMemberName:()=>Rv,isJSDocNameReference:()=>QP,isJSDocNamepathType:()=>iQe,isJSDocNamespaceBody:()=>kZe,isJSDocNode:()=>z8,isJSDocNonNullableType:()=>mY,isJSDocNullableType:()=>wB,isJSDocOptionalParameter:()=>oV,isJSDocOptionalType:()=>Fce,isJSDocOverloadTag:()=>NB,isJSDocOverrideTag:()=>gY,isJSDocParameterTag:()=>Eg,isJSDocPrivateTag:()=>Bce,isJSDocPropertyLikeTag:()=>WO,isJSDocPropertyTag:()=>vFe,isJSDocProtectedTag:()=>wce,isJSDocPublicTag:()=>Sce,isJSDocReadonlyTag:()=>Tce,isJSDocReturnTag:()=>EY,isJSDocSatisfiesExpression:()=>Ile,isJSDocSatisfiesTag:()=>_Y,isJSDocSeeTag:()=>uQe,isJSDocSignature:()=>Ov,isJSDocTag:()=>I8,isJSDocTemplateTag:()=>_g,isJSDocThisTag:()=>xFe,isJSDocThrowsTag:()=>aQe,isJSDocTypeAlias:()=>G4,isJSDocTypeAssertion:()=>tM,isJSDocTypeExpression:()=>kk,isJSDocTypeLiteral:()=>K7,isJSDocTypeTag:()=>XP,isJSDocTypedefTag:()=>PB,isJSDocUnknownTag:()=>rQe,isJSDocUnknownType:()=>_Fe,isJSDocVariadicType:()=>pY,isJSXTagName:()=>$8,isJsonEqual:()=>dZ,isJsonSourceFile:()=>W4,isJsxAttribute:()=>oE,isJsxAttributeLike:()=>KU,isJsxAttributeName:()=>yke,isJsxAttributes:()=>W2,isJsxChild:()=>ej,isJsxClosingElement:()=>H2,isJsxClosingFragment:()=>fFe,isJsxElement:()=>r3,isJsxExpression:()=>YP,isJsxFragment:()=>K2,isJsxNamespacedName:()=>gg,isJsxOpeningElement:()=>aE,isJsxOpeningFragment:()=>V7,isJsxOpeningLikeElement:()=>zh,isJsxOpeningLikeElementTagName:()=>G9e,isJsxSelfClosingElement:()=>bk,isJsxSpreadAttribute:()=>H7,isJsxTagNameExpression:()=>WN,isJsxText:()=>w7,isJumpStatementTarget:()=>PH,isKeyword:()=>uf,isKeywordOrPunctuation:()=>Sq,isKnownSymbol:()=>Ij,isLabelName:()=>Rhe,isLabelOfLabeledStatement:()=>Ihe,isLabeledStatement:()=>V2,isLateVisibilityPaintedStatement:()=>iq,isLeftHandSideExpression:()=>Df,isLeftHandSideOfAssignment:()=>tYe,isLet:()=>rq,isLineBreak:()=>Z1,isLiteralComputedPropertyDeclarationName:()=>Nj,isLiteralExpression:()=>E2,isLiteralExpressionOfObject:()=>$se,isLiteralImportTypeNode:()=>zx,isLiteralKind:()=>jN,isLiteralLikeAccess:()=>bq,isLiteralLikeElementAccess:()=>Cj,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>uX,isLiteralTypeLikeExpression:()=>hQe,isLiteralTypeLiteral:()=>lbe,isLiteralTypeNode:()=>Mv,isLocalName:()=>rD,isLogicalOperator:()=>Pye,isLogicalOrCoalescingAssignmentExpression:()=>ole,isLogicalOrCoalescingAssignmentOperator:()=>mP,isLogicalOrCoalescingBinaryExpression:()=>Gj,isLogicalOrCoalescingBinaryOperator:()=>Wj,isMappedTypeNode:()=>JP,isMemberName:()=>J_,isMetaProperty:()=>$P,isMethodDeclaration:()=>dc,isMethodOrAccessor:()=>N8,isMethodSignature:()=>n3,isMinusToken:()=>Ece,isMissingDeclaration:()=>eQe,isModifier:()=>Qo,isModifierKind:()=>XD,isModifierLike:()=>ol,isModuleAugmentationExternal:()=>p0e,isModuleBlock:()=>rE,isModuleBody:()=>hbe,isModuleDeclaration:()=>_c,isModuleExportsAccessExpression:()=>Y_,isModuleIdentifier:()=>P0e,isModuleName:()=>IFe,isModuleOrEnumDeclaration:()=>QO,isModuleReference:()=>Ebe,isModuleSpecifierLike:()=>vX,isModuleWithStringLiteralName:()=>tq,isNameOfFunctionDeclaration:()=>Hhe,isNameOfModuleDeclaration:()=>Vhe,isNamedClassElement:()=>nbe,isNamedDeclaration:()=>mh,isNamedEvaluation:()=>If,isNamedEvaluationSource:()=>J0e,isNamedExportBindings:()=>Wse,isNamedExports:()=>ep,isNamedImportBindings:()=>i0e,isNamedImports:()=>uD,isNamedImportsOrExports:()=>Uq,isNamedTupleMember:()=>GP,isNamespaceBody:()=>yZe,isNamespaceExport:()=>u_,isNamespaceExportDeclaration:()=>wV,isNamespaceImport:()=>Jx,isNamespaceReexportDeclaration:()=>iye,isNewExpression:()=>j2,isNewExpressionTarget:()=>wM,isNoSubstitutionTemplateLiteral:()=>T7,isNode:()=>DZe,isNodeArray:()=>g2,isNodeArrayMultiLine:()=>Kye,isNodeDescendantOf:()=>S2,isNodeKind:()=>GO,isNodeLikeSystem:()=>hoe,isNodeModulesDirectory:()=>bU,isNodeWithPossibleHoistedDeclaration:()=>lye,isNonContextualKeyword:()=>G0e,isNonExportDefaultModifier:()=>mQe,isNonGlobalAmbientModule:()=>m0e,isNonGlobalDeclaration:()=>zSe,isNonNullAccess:()=>bke,isNonNullChain:()=>zU,isNonNullExpression:()=>O7,isNonStaticMethodOrAccessorWithPrivateName:()=>JAe,isNotEmittedOrPartiallyEmittedNode:()=>bZe,isNotEmittedStatement:()=>yce,isNullishCoalesce:()=>Kse,isNumber:()=>UD,isNumericLiteral:()=>Of,isNumericLiteralName:()=>i3,isObjectBindingElementWithoutPropertyName:()=>GH,isObjectBindingOrAssignmentElement:()=>qO,isObjectBindingOrAssignmentPattern:()=>Yse,isObjectBindingPattern:()=>Rp,isObjectLiteralElement:()=>n0e,isObjectLiteralElementLike:()=>Z3,isObjectLiteralExpression:()=>ys,isObjectLiteralMethod:()=>zp,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>lq,isObjectTypeDeclaration:()=>x7,isOctalDigit:()=>AU,isOmittedExpression:()=>Fd,isOptionalChain:()=>Y1,isOptionalChainRoot:()=>IN,isOptionalDeclaration:()=>PP,isOptionalJSDocPropertyLikeTag:()=>aV,isOptionalTypeNode:()=>Dce,isOuterExpression:()=>CY,isOutermostOptionalChain:()=>RN,isOverrideModifier:()=>iFe,isPackedArrayLiteral:()=>Ple,isParameter:()=>io,isParameterDeclaration:()=>w2,isParameterOrCatchClauseVariable:()=>Mle,isParameterPropertyDeclaration:()=>Mf,isParameterPropertyModifier:()=>VN,isParenthesizedExpression:()=>Cf,isParenthesizedTypeNode:()=>M7,isParseTreeNode:()=>zN,isPartOfTypeNode:()=>q_,isPartOfTypeQuery:()=>_q,isPartiallyEmittedExpression:()=>dY,isPatternMatch:()=>Y$,isPinnedComment:()=>XU,isPlainJsFile:()=>nj,isPlusToken:()=>gce,isPossiblyTypeArgumentPosition:()=>OH,isPostfixUnaryExpression:()=>vce,isPrefixUnaryExpression:()=>zv,isPrivateIdentifier:()=>ea,isPrivateIdentifierClassElementDeclaration:()=>ph,isPrivateIdentifierPropertyAccessExpression:()=>T8,isPrivateIdentifierSymbol:()=>mye,isProgramBundleEmitBuildInfo:()=>U7e,isProgramUptoDate:()=>w1e,isPrologueDirective:()=>Mp,isPropertyAccessChain:()=>PU,isPropertyAccessEntityNameExpression:()=>$j,isPropertyAccessExpression:()=>Iu,isPropertyAccessOrQualifiedName:()=>obe,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>abe,isPropertyAssignment:()=>Jc,isPropertyDeclaration:()=>ko,isPropertyName:()=>Sc,isPropertyNameLiteral:()=>Xg,isPropertySignature:()=>Mm,isProtoSetter:()=>pye,isPrototypeAccess:()=>Ox,isPrototypePropertyAssignment:()=>kj,isPunctuation:()=>W0e,isPushOrUnshiftIdentifier:()=>$0e,isQualifiedName:()=>vf,isQuestionDotToken:()=>uY,isQuestionOrExclamationToken:()=>NFe,isQuestionOrPlusOrMinusToken:()=>zFe,isQuestionToken:()=>Wx,isRawSourceMap:()=>HAe,isReadonlyKeyword:()=>eFe,isReadonlyKeywordOrPlusOrMinusToken:()=>MFe,isRecognizedTripleSlashComment:()=>c0e,isReferenceFileLocation:()=>ZB,isReferencedFile:()=>Jv,isRegularExpressionLiteral:()=>mce,isRequireCall:()=>xf,isRequireVariableStatement:()=>L0e,isRestParameter:()=>$_,isRestTypeNode:()=>xce,isReturnStatement:()=>Op,isReturnStatementWithFixablePromiseHandler:()=>UX,isRightSideOfAccessExpression:()=>cle,isRightSideOfInstanceofExpression:()=>zye,isRightSideOfPropertyAccess:()=>uw,isRightSideOfQualifiedName:()=>$9e,isRightSideOfQualifiedNameOrPropertyAccess:()=>gP,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>Mye,isRootedDiskPath:()=>Pf,isSameEntityName:()=>q8,isSatisfiesExpression:()=>sFe,isScopeMarker:()=>cbe,isSemicolonClassElement:()=>lFe,isSetAccessor:()=>e5,isSetAccessorDeclaration:()=>jf,isShebangTrivia:()=>Bse,isShiftOperatorOrHigher:()=>Kce,isShorthandAmbientModuleSymbol:()=>$N,isShorthandPropertyAssignment:()=>pm,isSignedNumericLiteral:()=>Tq,isSimpleCopiableExpression:()=>Y2,isSimpleInlineableExpression:()=>sE,isSingleOrDoubleQuote:()=>_j,isSourceFile:()=>la,isSourceFileFromLibrary:()=>KM,isSourceFileJS:()=>gh,isSourceFileNotJS:()=>PZe,isSourceFileNotJson:()=>T0e,isSourceMapping:()=>KAe,isSpecialPropertyDeclaration:()=>rye,isSpreadAssignment:()=>d5,isSpreadElement:()=>uE,isStatement:()=>na,isStatementButNotDeclaration:()=>XO,isStatementOrBlock:()=>gbe,isStatementWithLocals:()=>Abe,isStatic:()=>No,isStaticModifier:()=>N7,isString:()=>Ja,isStringAKeyword:()=>WZe,isStringANonContextualKeyword:()=>m7,isStringAndEmptyAnonymousObjectIntersection:()=>aSe,isStringDoubleQuoted:()=>Cq,isStringLiteral:()=>us,isStringLiteralLike:()=>t0,isStringLiteralOrJsxExpression:()=>_be,isStringLiteralOrTemplate:()=>ASe,isStringOrNumericLiteralLike:()=>Pm,isStringOrRegularExpressionOrTemplateLiteral:()=>Zhe,isStringTextContainingNode:()=>Use,isSuperCall:()=>ik,isSuperKeyword:()=>HP,isSuperOrSuperProperty:()=>NZe,isSuperProperty:()=>nf,isSupportedSourceFileName:()=>hke,isSwitchStatement:()=>BV,isSyntaxList:()=>MB,isSyntheticExpression:()=>JYe,isSyntheticReference:()=>j7,isTagName:()=>Ohe,isTaggedTemplateExpression:()=>Dk,isTaggedTemplateTag:()=>K9e,isTemplateExpression:()=>lY,isTemplateHead:()=>vB,isTemplateLiteral:()=>P8,isTemplateLiteralKind:()=>Bx,isTemplateLiteralToken:()=>X2e,isTemplateLiteralTypeNode:()=>GYe,isTemplateLiteralTypeSpan:()=>rFe,isTemplateMiddle:()=>qke,isTemplateMiddleOrTemplateTail:()=>IU,isTemplateSpan:()=>qP,isTemplateTail:()=>pce,isTextWhiteSpaceLike:()=>hSe,isThis:()=>rw,isThisContainerOrFunctionBlock:()=>Xbe,isThisIdentifier:()=>N2,isThisInTypeQuery:()=>g7,isThisInitializedDeclaration:()=>mq,isThisInitializedObjectBindingExpression:()=>tye,isThisProperty:()=>mj,isThisTypeNode:()=>sY,isThisTypeParameter:()=>NP,isThisTypePredicate:()=>LZe,isThrowStatement:()=>bce,isToken:()=>u7,isTokenKind:()=>Jse,isTraceEnabled:()=>aD,isTransientSymbol:()=>qE,isTrivia:()=>nB,isTryStatement:()=>Ck,isTupleTypeNode:()=>yB,isTypeAlias:()=>Sj,isTypeAliasDeclaration:()=>jp,isTypeAssertionExpression:()=>aFe,isTypeDeclaration:()=>gB,isTypeElement:()=>Zy,isTypeKeyword:()=>PM,isTypeKeywordToken:()=>ife,isTypeKeywordTokenOrIdentifier:()=>EX,isTypeLiteralNode:()=>fm,isTypeNode:()=>Xr,isTypeNodeKind:()=>_le,isTypeOfExpression:()=>AB,isTypeOnlyExportDeclaration:()=>ebe,isTypeOnlyImportDeclaration:()=>RU,isTypeOnlyImportOrExportDeclaration:()=>_2,isTypeOperatorNode:()=>z7,isTypeParameterDeclaration:()=>Bl,isTypePredicateNode:()=>aY,isTypeQueryNode:()=>bB,isTypeReferenceNode:()=>X4,isTypeReferenceType:()=>$U,isTypeUsableAsPropertyName:()=>Y4,isUMDExportSymbol:()=>$q,isUnaryExpression:()=>e0e,isUnaryExpressionWithWrite:()=>sbe,isUnicodeIdentifierStart:()=>kU,isUnionTypeNode:()=>Pv,isUnparsedNode:()=>Gse,isUnparsedPrepend:()=>mFe,isUnparsedSource:()=>yk,isUnparsedTextLike:()=>Q2e,isUrl:()=>x2e,isValidBigIntString:()=>hZ,isValidESSymbolDeclaration:()=>$be,isValidTypeOnlyAliasUseSite:()=>Tv,isValueSignatureDeclaration:()=>cye,isVarAwaitUsing:()=>lj,isVarConst:()=>K8,isVarUsing:()=>cj,isVariableDeclaration:()=>ua,isVariableDeclarationInVariableStatement:()=>qN,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>F2,isVariableDeclarationInitializedToRequire:()=>vq,isVariableDeclarationList:()=>Ad,isVariableLike:()=>G8,isVariableLikeOrAccessor:()=>Gbe,isVariableStatement:()=>Jl,isVoidExpression:()=>R7,isWatchSet:()=>uYe,isWhileStatement:()=>UYe,isWhiteSpaceLike:()=>U3,isWhiteSpaceSingleLine:()=>qg,isWithStatement:()=>cFe,isWriteAccess:()=>D7,isWriteOnlyAccess:()=>Jq,isYieldExpression:()=>cY,jsxModeNeedsExplicitImport:()=>Sfe,keywordPart:()=>Hf,last:()=>Cr,lastOrUndefined:()=>qu,length:()=>S,libMap:()=>LY,libs:()=>YV,lineBreakPart:()=>lw,linkNamePart:()=>_Se,linkPart:()=>ffe,linkTextPart:()=>kX,listFiles:()=>q1e,loadModuleFromGlobalCache:()=>kAe,loadWithModeAwareCache:()=>CH,makeIdentifierFromModuleName:()=>Lbe,makeImport:()=>g5,makeImportIfNecessary:()=>dSe,makeStringLiteral:()=>n9,mangleScopedPackageName:()=>JB,map:()=>Vt,mapAllOrFail:()=>Zr,mapDefined:()=>qi,mapDefinedEntries:()=>Fa,mapDefinedIterator:()=>eo,mapEntries:()=>ci,mapIterator:()=>zr,mapOneOrMany:()=>kfe,mapToDisplayParts:()=>Zx,matchFiles:()=>Ale,matchPatternOrExact:()=>Ble,matchedText:()=>t2e,matchesExclude:()=>TY,maybeBind:()=>Lo,maybeSetLocalizedDiagnosticMessages:()=>tke,memoize:()=>Mh,memoizeCached:()=>UCe,memoizeOne:()=>HE,memoizeWeak:()=>fqe,metadataHelper:()=>wZ,min:()=>ooe,minAndMax:()=>mke,missingFileModifiedTime:()=>K_,modifierToFlag:()=>_7,modifiersToFlags:()=>tE,moduleOptionDeclaration:()=>cde,moduleResolutionIsEqualTo:()=>kbe,moduleResolutionNameAndModeGetter:()=>yH,moduleResolutionOptionDeclarations:()=>NY,moduleResolutionSupportsPackageJsonExportsAndImports:()=>b7,moduleResolutionUsesNodeModules:()=>_X,moduleSpecifiers:()=>Z2,moveEmitHelpers:()=>Hke,moveRangeEnd:()=>Wq,moveRangePastDecorators:()=>o5,moveRangePastModifiers:()=>iE,moveRangePos:()=>Sv,moveSyntheticComments:()=>Oke,mutateMap:()=>cB,mutateMapSkippingNewValues:()=>eD,needsParentheses:()=>AX,needsScopeMarker:()=>VU,newCaseClauseTracker:()=>VX,newPrivateEnvironment:()=>qAe,noEmitNotification:()=>mH,noEmitSubstitution:()=>xM,noTransformers:()=>c1e,noTruncationMaximumTruncationLength:()=>DZ,nodeCanBeDecorated:()=>gq,nodeHasName:()=>jO,nodeIsDecorated:()=>YN,nodeIsMissing:()=>Ql,nodeIsPresent:()=>H4,nodeIsSynthesized:()=>sl,nodeModuleNameResolver:()=>EAe,nodeModulesPathPart:()=>o_,nodeNextJsonConfigResolver:()=>_Ae,nodeOrChildIsDecorated:()=>gj,nodeOverlapsWithStartEnd:()=>rX,nodePosToString:()=>FZe,nodeSeenTracker:()=>i9,nodeStartsNewLexicalEnvironment:()=>U0e,nodeToDisplayParts:()=>Tit,noop:()=>Is,noopFileWatcher:()=>tw,normalizePath:()=>$o,normalizeSlashes:()=>q1,not:()=>X$,notImplemented:()=>ho,notImplementedResolver:()=>DQ,nullNodeConverters:()=>tce,nullParenthesizerRules:()=>ece,nullTransformationContext:()=>Dg,objectAllocator:()=>Qd,operatorPart:()=>IM,optionDeclarations:()=>a3,optionMapToObject:()=>ude,optionsAffectingProgramStructure:()=>pde,optionsForBuild:()=>Ede,optionsForWatch:()=>VB,optionsHaveChanges:()=>R8,optionsHaveModuleResolutionChanges:()=>Cbe,or:()=>dg,orderedRemoveItem:()=>gO,orderedRemoveItemAt:()=>fv,outFile:()=>y0,packageIdToPackageName:()=>ZU,packageIdToString:()=>Px,paramHelper:()=>TZ,parameterIsThisKeyword:()=>L2,parameterNamePart:()=>mSe,parseBaseNodeFactory:()=>Zce,parseBigInt:()=>pke,parseBuildCommand:()=>JQe,parseCommandLine:()=>WQe,parseCommandLineWorker:()=>Xce,parseConfigFileTextToJson:()=>tde,parseConfigFileWithSystem:()=>Ttt,parseConfigHostFromCompilerHostLike:()=>wQ,parseCustomTypeOption:()=>BY,parseIsolatedEntityName:()=>G7,parseIsolatedJSDocComment:()=>WFe,parseJSDocTypeExpressionForTests:()=>TQe,parseJsonConfigFileContent:()=>aXe,parseJsonSourceFileConfigFileContent:()=>UV,parseJsonText:()=>WV,parseListTypeOption:()=>JFe,parseNodeFactory:()=>a_,parseNodeModuleFromPath:()=>uH,parsePackageName:()=>oH,parsePseudoBigInt:()=>SP,parseValidBigInt:()=>Nle,patchWriteFileEnsuringDirectory:()=>_2e,pathContainsNodeModules:()=>q7,pathIsAbsolute:()=>SN,pathIsBareSpecifier:()=>kse,pathIsRelative:()=>om,patternText:()=>e2e,perfLogger:()=>hh,performIncrementalCompilation:()=>Mtt,performance:()=>h2e,plainJSErrors:()=>NQ,positionBelongsToNode:()=>Whe,positionIsASICandidate:()=>TX,positionIsSynthesized:()=>pg,positionsAreOnSameLine:()=>q4,preProcessFile:()=>unt,probablyUsesSemicolons:()=>YH,processCommentPragmas:()=>Uce,processPragmasIntoFields:()=>qce,processTaggedTemplateExpression:()=>i1e,programContainsEsModules:()=>cSe,programContainsModules:()=>lSe,projectReferenceIsEqualTo:()=>a0e,propKeyHelper:()=>WZ,propertyNamePart:()=>pSe,pseudoBigIntToString:()=>I2,punctuationPart:()=>ih,pushIfUnique:()=>xa,quote:()=>jM,quotePreferenceFromString:()=>afe,rangeContainsPosition:()=>MH,rangeContainsPositionExclusive:()=>zH,rangeContainsRange:()=>Vm,rangeContainsRangeExclusive:()=>q9e,rangeContainsStartEnd:()=>IH,rangeEndIsOnSameLineAsRangeStart:()=>qj,rangeEndPositionsAreOnSameLine:()=>Vye,rangeEquals:()=>zi,rangeIsOnSingleLine:()=>hk,rangeOfNode:()=>Tle,rangeOfTypeParameters:()=>Lle,rangeOverlapsWithStartEnd:()=>TM,rangeStartIsOnSameLineAsRangeEnd:()=>Hye,rangeStartPositionsAreOnSameLine:()=>Gq,readBuilderProgram:()=>GQ,readConfigFile:()=>JV,readHelper:()=>HZ,readJson:()=>EP,readJsonConfigFile:()=>qFe,readJsonOrUndefined:()=>hle,reduceEachLeadingCommentRange:()=>k2e,reduceEachTrailingCommentRange:()=>F2e,reduceLeft:()=>nn,reduceLeftIterator:()=>ue,reducePathComponents:()=>Jy,refactor:()=>a9,regExpEscape:()=>hYe,relativeComplement:()=>Wr,removeAllComments:()=>EV,removeEmitHelper:()=>HYe,removeExtension:()=>nV,removeFileExtension:()=>_h,removeIgnoredPath:()=>zQ,removeMinAndVersionNumbers:()=>soe,removeOptionality:()=>iSe,removePrefix:()=>yN,removeSuffix:()=>D8,removeTrailingDirectorySeparator:()=>mv,repeatString:()=>KH,replaceElement:()=>qd,resolutionExtensionIsTSOrJson:()=>FP,resolveConfigFileProjectName:()=>ahe,resolveJSModule:()=>pAe,resolveLibrary:()=>KY,resolveModuleName:()=>WB,resolveModuleNameFromCache:()=>KXe,resolvePackageNameToPackageJson:()=>xde,resolvePath:()=>kx,resolveProjectReferencePath:()=>YB,resolveTripleslashReference:()=>bQ,resolveTypeReferenceDirective:()=>hAe,resolvingEmptyArray:()=>_Z,restHelper:()=>RZ,returnFalse:()=>cg,returnNoopFileWatcher:()=>iw,returnTrue:()=>J3,returnUndefined:()=>hv,returnsPromise:()=>$fe,runInitializersHelper:()=>NZ,sameFlatMap:()=>z0,sameMap:()=>Lu,sameMapping:()=>Net,scanShebangTrivia:()=>wse,scanTokenAtPosition:()=>Hbe,scanner:()=>nh,screenStartingMessageCodes:()=>WQ,semanticDiagnosticsOptionDeclarations:()=>hde,serializeCompilerOptions:()=>ade,server:()=>Qct,servicesVersion:()=>iBe,setCommentRange:()=>Bc,setConfigFileInOptions:()=>sde,setConstantValue:()=>Vke,setEachParent:()=>pB,setEmitFlags:()=>Zn,setFunctionNameHelper:()=>GZ,setGetSourceFileAsHashVersioned:()=>KQ,setIdentifierAutoGenerate:()=>xV,setIdentifierGeneratedImportReference:()=>Gke,setIdentifierTypeArguments:()=>l5,setInternalEmitFlags:()=>_V,setLocalizedDiagnosticMessages:()=>eke,setModuleDefaultHelper:()=>UZ,setNodeFlags:()=>_ke,setObjectAllocator:()=>Xye,setOriginalNode:()=>su,setParent:()=>ks,setParentRecursive:()=>Vx,setPrivateIdentifier:()=>Bk,setSnippetElement:()=>lce,setSourceMapRange:()=>As,setStackTraceLimit:()=>Pqe,setStartsOnNewLine:()=>FZ,setSyntheticLeadingComments:()=>Nv,setSyntheticTrailingComments:()=>A7,setSys:()=>Oqe,setSysLog:()=>g2e,setTextRange:()=>Pt,setTextRangeEnd:()=>mB,setTextRangePos:()=>BP,setTextRangePosEnd:()=>t_,setTextRangePosWidth:()=>wP,setTokenSourceMapRange:()=>Rke,setTypeNode:()=>Kke,setUILocale:()=>YCe,setValueDeclaration:()=>Fj,shouldAllowImportingTsExtension:()=>$B,shouldPreserveConstEnums:()=>fk,shouldResolveJsRequire:()=>eZ,shouldUseUriStyleNodeCoreModules:()=>OX,showModuleSpecifier:()=>$ye,signatureHasLiteralTypes:()=>Ode,signatureHasRestParameter:()=>th,signatureToDisplayParts:()=>mfe,single:()=>bd,singleElementArray:()=>Hy,singleIterator:()=>qa,singleOrMany:()=>F0,singleOrUndefined:()=>Aa,skipAlias:()=>X1,skipAssertions:()=>lQe,skipConstraint:()=>nfe,skipOuterExpressions:()=>Dc,skipParentheses:()=>l0,skipPartiallyEmittedExpressions:()=>Np,skipTrivia:()=>gs,skipTypeChecking:()=>AP,skipTypeParentheses:()=>j0e,skipWhile:()=>n2e,sliceAfter:()=>wle,some:()=>Oe,sort:()=>Ph,sortAndDeduplicate:()=>pi,sortAndDeduplicateDiagnostics:()=>A8,sourceFileAffectingCompilerOptions:()=>PY,sourceFileMayBeEmitted:()=>p7,sourceMapCommentRegExp:()=>nQ,sourceMapCommentRegExpDontCareLineStart:()=>Jde,spacePart:()=>$l,spanMap:()=>Hl,spreadArrayHelper:()=>KZ,stableSort:()=>oc,startEndContainsRange:()=>Khe,startEndOverlapsWithStartEnd:()=>aX,startOnNewLine:()=>vh,startTracing:()=>f2e,startsWith:()=>Pa,startsWithDirectory:()=>Ase,startsWithUnderscore:()=>Afe,startsWithUseStrict:()=>AFe,stringContainsAt:()=>MSe,stringToToken:()=>f2,stripQuotes:()=>$4,supportedDeclarationExtensions:()=>dV,supportedJSExtensions:()=>Yle,supportedJSExtensionsFlat:()=>_B,supportedLocaleDirectories:()=>r0e,supportedTSExtensions:()=>EB,supportedTSExtensionsFlat:()=>Zle,supportedTSImplementationExtensions:()=>hV,suppressLeadingAndTrailingTrivia:()=>Kf,suppressLeadingTrivia:()=>Efe,suppressTrailingTrivia:()=>ySe,symbolEscapedNameNoDefault:()=>xX,symbolName:()=>lc,symbolNameNoDefault:()=>DX,symbolPart:()=>fSe,symbolToDisplayParts:()=>RM,syntaxMayBeASICandidate:()=>Nfe,syntaxRequiresTrailingSemicolonOrASI:()=>wX,sys:()=>c1,sysLog:()=>bO,tagNamesAreEquivalent:()=>Vv,takeWhile:()=>tU,targetOptionDeclaration:()=>XV,templateObjectHelper:()=>VZ,testFormatSettings:()=>H9e,textChangeRangeIsUnchanged:()=>N2e,textChangeRangeNewSpan:()=>MN,textChanges:()=>iu,textOrKeywordPart:()=>hfe,textPart:()=>Km,textRangeContainsPositionInclusive:()=>IO,textSpanContainsPosition:()=>Nse,textSpanContainsTextSpan:()=>B2e,textSpanEnd:()=>Ec,textSpanIntersection:()=>L2e,textSpanIntersectsWith:()=>wU,textSpanIntersectsWithPosition:()=>T2e,textSpanIntersectsWithTextSpan:()=>aZe,textSpanIsEmpty:()=>S2e,textSpanOverlap:()=>w2e,textSpanOverlapsWith:()=>rZe,textSpansEqual:()=>sw,textToKeywordObj:()=>MO,timestamp:()=>G0,toArray:()=>YA,toBuilderFileEmit:()=>Q7e,toBuilderStateFileInfoForMultiEmit:()=>Y7e,toEditorSettings:()=>gK,toFileNameLowerCase:()=>$g,toLowerCase:()=>$Ce,toPath:()=>J0,toProgramEmitPending:()=>X7e,tokenIsIdentifierOrKeyword:()=>fh,tokenIsIdentifierOrKeywordOrGreaterThan:()=>b2e,tokenToString:()=>Uo,trace:()=>Sa,tracing:()=>Gn,tracingEnabled:()=>DO,transform:()=>nrt,transformClassFields:()=>r7e,transformDeclarations:()=>s1e,transformECMAScriptModule:()=>a1e,transformES2015:()=>x7e,transformES2016:()=>D7e,transformES2017:()=>l7e,transformES2018:()=>c7e,transformES2019:()=>d7e,transformES2020:()=>h7e,transformES2021:()=>f7e,transformES5:()=>v7e,transformESDecorators:()=>s7e,transformESNext:()=>m7e,transformGenerators:()=>C7e,transformJsx:()=>_7e,transformLegacyDecorators:()=>o7e,transformModule:()=>r1e,transformNamedEvaluation:()=>Vf,transformNodeModule:()=>y7e,transformNodes:()=>pH,transformSystemModule:()=>b7e,transformTypeScript:()=>u7e,transpile:()=>hnt,transpileModule:()=>e8e,transpileOptionValueCompilerOptions:()=>gde,tryAddToSet:()=>r0,tryAndIgnoreErrors:()=>PX,tryCast:()=>ur,tryDirectoryExists:()=>NX,tryExtractTSExtension:()=>Kq,tryFileExists:()=>QH,tryGetClassExtendingExpressionWithTypeArguments:()=>sle,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>lle,tryGetDirectories:()=>LX,tryGetExtensionFromPath:()=>t3,tryGetImportFromModuleSpecifier:()=>Aj,tryGetJSDocSatisfiesTypeNode:()=>gZ,tryGetModuleNameFromFile:()=>IV,tryGetModuleSpecifierFromDeclaration:()=>Z8,tryGetNativePerformanceHooks:()=>l2e,tryGetPropertyAccessOrIdentifierToString:()=>Uj,tryGetPropertyNameOfBindingOrAssignmentElement:()=>yY,tryGetSourceMappingURL:()=>VAe,tryGetTextOfPropertyName:()=>UN,tryIOAndConsumeErrors:()=>MX,tryParsePattern:()=>fB,tryParsePatterns:()=>lZ,tryParseRawSourceMap:()=>Wde,tryReadDirectory:()=>xfe,tryReadFile:()=>rM,tryRemoveDirectoryPrefix:()=>yle,tryRemoveExtension:()=>fke,tryRemovePrefix:()=>doe,tryRemoveSuffix:()=>XCe,typeAcquisitionDeclarations:()=>eH,typeAliasNamePart:()=>gSe,typeDirectiveIsEqualTo:()=>Fbe,typeKeywords:()=>HX,typeParameterNamePart:()=>ESe,typeReferenceResolutionNameAndModeGetter:()=>LQ,typeToDisplayParts:()=>$H,unchangedPollThresholds:()=>yO,unchangedTextChangeRange:()=>tj,unescapeLeadingUnderscores:()=>Qr,unmangleScopedPackageName:()=>lH,unorderedRemoveItem:()=>Vy,unorderedRemoveItemAt:()=>loe,unreachableCodeIsError:()=>uke,unusedLabelIsError:()=>rke,unwrapInnermostStatementOfLabel:()=>A0e,updateErrorForNoInputFiles:()=>wY,updateLanguageServiceSourceFile:()=>wme,updateMissingFilePathsWatch:()=>g1e,updatePackageJsonWatch:()=>utt,updateResolutionField:()=>HB,updateSharedExtendedConfigFileWatcher:()=>vQ,updateSourceFile:()=>$ce,updateWatchingWildcardDirectories:()=>_H,usesExtensionsOnImports:()=>dke,usingSingleLineStringWriter:()=>GN,utf16EncodeAsString:()=>F8,validateLocaleAndSetLanguage:()=>sZe,valuesHelper:()=>JZ,version:()=>_,versionMajorMinor:()=>g,visitArray:()=>dH,visitCommaListElements:()=>hH,visitEachChild:()=>rn,visitFunctionBody:()=>Om,visitIterationBody:()=>Ih,visitLexicalEnvironment:()=>iQ,visitNode:()=>yt,visitNodes:()=>kn,visitParameterList:()=>xc,walkUpBindingElementsAndPatterns:()=>S8,walkUpLexicalEnvironments:()=>UAe,walkUpOuterExpressions:()=>SFe,walkUpParenthesizedExpressions:()=>i5,walkUpParenthesizedTypes:()=>Lj,walkUpParenthesizedTypesAndGetParentAndChild:()=>dye,whitespaceOrMapCommentRegExp:()=>uQ,writeCommentRange:()=>sB,writeFile:()=>cP,writeFileEnsuringDirectories:()=>nle,zipWith:()=>re});var edt=o({"src/typescript/_namespaces/ts.ts"(){Bo(),BH(),rr(),Xv(),lXt()}}),cXt=c({"src/typescript/typescript.ts"(t,u){edt(),edt(),typeof console<"u"&&(H.loggingHost={log(s,d){switch(s){case 1:return console.error(d);case 2:return console.warn(d);case 3:return console.log(d);case 4:return console.log(d)}}}),u.exports=Xct}});return cXt()})();r.exports&&(r.exports=i)})(O6t);var Ahi=O6t.exports;const Qpt=bhi(Ahi);class yGe{constructor(e,i){Oc(this,"id");Oc(this,"name");Oc(this,"columns",[]);Oc(this,"settings");this.name=e,this.settings=i}loadFromObj(e){this.name=e.name,this.settings=e.settings,this.columns=e.columns.map(i=>this.prepareColumn(i)),this.processMiddlewareHandlers()}toObj(){return{name:this.name,columns:this.columns,settings:this.settings}}removeColumn(e){this.columns.splice(this.columns.findIndex(i=>i.id===e),1)}prepareColumn(e){let i=Qpt.transpile("return "+e.handlerTsCode);return e.handler=new Function(i)(),e}processMiddlewareHandlers(){this.settings.middlewares=this.settings.middlewares.map(e=>{let i=Qpt.transpile("return "+e.handlerTsCode);return e.handler=new Function(i)(),e})}swapElement(e,i){var n=this.columns[e];this.columns[e]=this.columns[i],this.columns[i]=n}move(e,i){let n=this.columns.findIndex(o=>o.id===e),a=i>0?n+1:n-1;this.swapElement(n,a)}add(e){e.idx=this.columns.length===0?0:this.columns.length,e.id=Math.random().toString().substring(2,8),e.width=e.width||150,e.handlerTsCode&&(e=this.prepareColumn(e)),this.columns.push(e)}update(e){e=this.prepareColumn(e);let i=this.columns.findIndex(n=>n.id===e.id);this.columns[i]=e}getColumn(e){return this.columns.find(i=>i.id===e)}}const Xpt=()=>({read:0,starred:0,unread:0}),GT=R6t("filter",()=>{const r=ds({read:!1,unread:!1,starred:!1}),e=ds({...Xpt()}),i=(h,g)=>{e.value[h]||(e.value[h]=0),e.value[h]+=g},n=h=>{r.value[h]=!r.value[h]},a=()=>{e.value={...Xpt()}},o=()=>{for(let h in r.value)r.value[h]=!1},c=j6(()=>Object.entries(r.value).filter(([g,_])=>_).map(g=>g[0]));return{filters:e,filterToggle:r,enabledFilters:c,reset:a,resetToggles:o,changeFilter:i,toggleFilter:n}});class Shi{constructor(){Oc(this,"headers",{});Oc(this,"onRequestStart",null);Oc(this,"onRequestEnd",null)}setHeader(e,i){this.headers[e]=i}setAuthToken(e){e&&this.setHeader("logdy-client-id",e)}async sendGet(e){let i={};this.onRequestStart&&(i=this.onRequestStart()||{});let n=await fetch(window.location.pathname+"api/"+e,{method:"GET",headers:{...this.headers,...i}});return this.onRequestEnd&&this.onRequestEnd(),{status:n.status,headers:n.headers,json:n.headers.get("content-type")=="application/json"?await n.json():{},body:n.bodyUsed?"":await n.text()}}async sendPost(e,i){let n={};this.onRequestStart&&(n=this.onRequestStart()||{});let a=await fetch("api/"+e,{method:"POST",body:i?JSON.stringify(i):null,headers:{"Content-Type":"application/json",...this.headers,...n}});return this.onRequestEnd&&this.onRequestEnd(),{status:a.status,headers:a.headers,json:a.headers.get("content-type")=="application/json"?await a.json():{},body:a.bodyUsed?"":await a.text()}}async resume(){await this.sendGet("client/set-status?status=following")}async resumeFromCursor(){await this.sendGet("client/set-status?status=following&from_cursor=true")}async pause(){await this.sendGet("client/set-status?status=stopped")}async clientStatus(){return this.sendGet("client/check-status")}async peek(e,i){return this.sendPost("client/peek-log",{idxs:[e,i]})}async load(e,i){return this.sendGet(`client/load?start=${e+1}&count=${i}`)}}const $S=new Shi;function LI(r){return r.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}function Bhi(r,e){return new URLSearchParams(r).get(e)}const whi=async()=>{const r=new Go,e=await WebAssembly.instantiateStreaming(fetch("/main.wasm"),r.importObject);r.run(e.instance)},Thi=r=>{console.log("Breser query:",r);let e=GO_EXPR_setExpression(r);if(e&&e.error)return console.log("Error while setting Breser query",e),e.error},Lhi=r=>GO_EXPR_runQuery(JSON.stringify(r));//! moment.js //! version : 2.30.1 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT @@ -425,9 +425,9 @@ var J6t;function lo(){return J6t.apply(null,arguments)}function Nhi(r){J6t=r}fun [`+o+"] ";for(c in arguments[0])B1(arguments[0],c)&&(a+=c+": "+arguments[0][c]+", ");a=a.slice(0,-2)}else a=arguments[o];n.push(a)}U6t(r+` Arguments: `+Array.prototype.slice.call(n).join("")+` `+new Error().stack),i=!1}return e.apply(this,arguments)},e)}var tgt={};function q6t(r,e){lo.deprecationHandler!=null&&lo.deprecationHandler(r,e),tgt[r]||(U6t(e),tgt[r]=!0)}lo.suppressDeprecationWarnings=!1;lo.deprecationHandler=null;function HA(r){return typeof Function<"u"&&r instanceof Function||Object.prototype.toString.call(r)==="[object Function]"}function Mhi(r){var e,i;for(i in r)B1(r,i)&&(e=r[i],HA(e)?this[i]=e:this["_"+i]=e);this._config=r,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ije(r,e){var i=iL({},r),n;for(n in e)B1(e,n)&&(GI(r[n])&&GI(e[n])?(i[n]={},iL(i[n],r[n]),iL(i[n],e[n])):e[n]!=null?i[n]=e[n]:delete i[n]);for(n in r)B1(r,n)&&!B1(e,n)&&GI(r[n])&&(i[n]=iL({},i[n]));return i}function SGe(r){r!=null&&this.set(r)}var nje;Object.keys?nje=Object.keys:nje=function(r){var e,i=[];for(e in r)B1(r,e)&&i.push(e);return i};var zhi={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Ihi(r,e,i){var n=this._calendar[r]||this._calendar.sameElse;return HA(n)?n.call(e,i):n}function AA(r,e,i){var n=""+Math.abs(r),a=e-n.length,o=r>=0;return(o?i?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var BGe=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,C_e=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,cIe={},QG={};function h0(r,e,i,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),r&&(QG[r]=a),e&&(QG[e[0]]=function(){return AA(a.apply(this,arguments),e[1],e[2])}),i&&(QG[i]=function(){return this.localeData().ordinal(a.apply(this,arguments),r)})}function Rhi(r){return r.match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"")}function Ohi(r){var e=r.match(BGe),i,n;for(i=0,n=e.length;i=0&&C_e.test(r);)r=r.replace(C_e,n),C_e.lastIndex=0,i-=1;return r}var jhi={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Vhi(r){var e=this._longDateFormat[r],i=this._longDateFormat[r.toUpperCase()];return e||!i?e:(this._longDateFormat[r]=i.match(BGe).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[r])}var Hhi="Invalid date";function Khi(){return this._invalidDate}var Whi="%d",Ghi=/\d{1,2}/;function Jhi(r){return this._ordinal.replace("%d",r)}var $hi={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Uhi(r,e,i,n){var a=this._relativeTime[i];return HA(a)?a(r,e,i,n):a.replace(/%d/i,r)}function qhi(r,e){var i=this._relativeTime[r>0?"future":"past"];return HA(i)?i(e):i.replace(/%s/i,e)}var igt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function a2(r){return typeof r=="string"?igt[r]||igt[r.toLowerCase()]:void 0}function wGe(r){var e={},i,n;for(n in r)B1(r,n)&&(i=a2(n),i&&(e[i]=r[n]));return e}var Zhi={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Yhi(r){var e=[],i;for(i in r)B1(r,i)&&e.push({unit:i,priority:Zhi[i]});return e.sort(function(n,a){return n.priority-a.priority}),e}var Y6t=/\d/,nv=/\d\d/,Q6t=/\d{3}/,TGe=/\d{4}/,D6e=/[+-]?\d{6}/,rm=/\d\d?/,X6t=/\d\d\d\d?/,evt=/\d\d\d\d\d\d?/,x6e=/\d{1,3}/,LGe=/\d{1,4}/,v6e=/[+-]?\d{1,6}/,v$=/\d+/,C6e=/[+-]?\d+/,Qhi=/Z|[+-]\d\d:?\d\d/gi,b6e=/Z|[+-]\d\d(?::?\d\d)?/gi,Xhi=/[+-]?\d+(\.\d{1,3})?/,fae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,C$=/^[1-9]\d?/,NGe=/^([1-9]\d|\d)/,$De;$De={};function ps(r,e,i){$De[r]=HA(e)?e:function(n,a){return n&&i?i:e}}function efi(r,e){return B1($De,r)?$De[r](e._strict,e._locale):new RegExp(tfi(r))}function tfi(r){return US(r.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,i,n,a,o){return i||n||a||o}))}function US(r){return r.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function KC(r){return r<0?Math.ceil(r)||0:Math.floor(r)}function xd(r){var e=+r,i=0;return e!==0&&isFinite(e)&&(i=KC(e)),i}var uje={};function Qh(r,e){var i,n=e,a;for(typeof r=="string"&&(r=[r]),t8(e)&&(n=function(o,c){c[e]=xd(o)}),a=r.length,i=0;i68?1900:2e3)};var tvt=b$("FullYear",!0);function rfi(){return y6e(this.year())}function b$(r,e){return function(i){return i!=null?(ivt(this,r,i),lo.updateOffset(this,e),this):wue(this,r)}}function wue(r,e){if(!r.isValid())return NaN;var i=r._d,n=r._isUTC;switch(e){case"Milliseconds":return n?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return n?i.getUTCSeconds():i.getSeconds();case"Minutes":return n?i.getUTCMinutes():i.getMinutes();case"Hours":return n?i.getUTCHours():i.getHours();case"Date":return n?i.getUTCDate():i.getDate();case"Day":return n?i.getUTCDay():i.getDay();case"Month":return n?i.getUTCMonth():i.getMonth();case"FullYear":return n?i.getUTCFullYear():i.getFullYear();default:return NaN}}function ivt(r,e,i){var n,a,o,c,h;if(!(!r.isValid()||isNaN(i))){switch(n=r._d,a=r._isUTC,e){case"Milliseconds":return void(a?n.setUTCMilliseconds(i):n.setMilliseconds(i));case"Seconds":return void(a?n.setUTCSeconds(i):n.setSeconds(i));case"Minutes":return void(a?n.setUTCMinutes(i):n.setMinutes(i));case"Hours":return void(a?n.setUTCHours(i):n.setHours(i));case"Date":return void(a?n.setUTCDate(i):n.setDate(i));case"FullYear":break;default:return}o=i,c=r.month(),h=r.date(),h=h===29&&c===1&&!y6e(o)?28:h,a?n.setUTCFullYear(o,c,h):n.setFullYear(o,c,h)}}function afi(r){return r=a2(r),HA(this[r])?this[r]():this}function ofi(r,e){if(typeof r=="object"){r=wGe(r);var i=Yhi(r),n,a=i.length;for(n=0;n=0?(h=new Date(r+400,e,i,n,a,o,c),isFinite(h.getFullYear())&&h.setFullYear(r)):h=new Date(r,e,i,n,a,o,c),h}function Tue(r){var e,i;return r<100&&r>=0?(i=Array.prototype.slice.call(arguments),i[0]=r+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(r)):e=new Date(Date.UTC.apply(null,arguments)),e}function UDe(r,e,i){var n=7+e-i,a=(7+Tue(r,0,n).getUTCDay()-e)%7;return-a+n-1}function svt(r,e,i,n,a){var o=(7+i-n)%7,c=UDe(r,n,a),h=1+7*(e-1)+o+c,g,_;return h<=0?(g=r-1,_=Rne(g)+h):h>Rne(r)?(g=r+1,_=h-Rne(r)):(g=r,_=h),{year:g,dayOfYear:_}}function Lue(r,e,i){var n=UDe(r.year(),e,i),a=Math.floor((r.dayOfYear()-n-1)/7)+1,o,c;return a<1?(c=r.year()-1,o=a+qS(c,e,i)):a>qS(r.year(),e,i)?(o=a-qS(r.year(),e,i),c=r.year()+1):(c=r.year(),o=a),{week:o,year:c}}function qS(r,e,i){var n=UDe(r,e,i),a=UDe(r+1,e,i);return(Rne(r)-n+a)/7}h0("w",["ww",2],"wo","week");h0("W",["WW",2],"Wo","isoWeek");ps("w",rm,C$);ps("ww",rm,nv);ps("W",rm,C$);ps("WW",rm,nv);mae(["w","ww","W","WW"],function(r,e,i,n){e[n.substr(0,1)]=xd(r)});function xfi(r){return Lue(r,this._week.dow,this._week.doy).week}var vfi={dow:0,doy:6};function Cfi(){return this._week.dow}function bfi(){return this._week.doy}function yfi(r){var e=this.localeData().week(this);return r==null?e:this.add((r-e)*7,"d")}function kfi(r){var e=Lue(this,1,4).week;return r==null?e:this.add((r-e)*7,"d")}h0("d",0,"do","day");h0("dd",0,0,function(r){return this.localeData().weekdaysMin(this,r)});h0("ddd",0,0,function(r){return this.localeData().weekdaysShort(this,r)});h0("dddd",0,0,function(r){return this.localeData().weekdays(this,r)});h0("e",0,0,"weekday");h0("E",0,0,"isoWeekday");ps("d",rm);ps("e",rm);ps("E",rm);ps("dd",function(r,e){return e.weekdaysMinRegex(r)});ps("ddd",function(r,e){return e.weekdaysShortRegex(r)});ps("dddd",function(r,e){return e.weekdaysRegex(r)});mae(["dd","ddd","dddd"],function(r,e,i,n){var a=i._locale.weekdaysParse(r,n,i._strict);a!=null?e.d=a:pc(i).invalidWeekday=r});mae(["d","e","E"],function(r,e,i,n){e[n]=xd(r)});function Ffi(r,e){return typeof r!="string"?r:isNaN(r)?(r=e.weekdaysParse(r),typeof r=="number"?r:null):parseInt(r,10)}function Afi(r,e){return typeof r=="string"?e.weekdaysParse(r)%7||7:isNaN(r)?null:r}function MGe(r,e){return r.slice(e,7).concat(r.slice(0,e))}var Sfi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),lvt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bfi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),wfi=fae,Tfi=fae,Lfi=fae;function Nfi(r,e){var i=Ay(this._weekdays)?this._weekdays:this._weekdays[r&&r!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return r===!0?MGe(i,this._week.dow):r?i[r.day()]:i}function Pfi(r){return r===!0?MGe(this._weekdaysShort,this._week.dow):r?this._weekdaysShort[r.day()]:this._weekdaysShort}function Mfi(r){return r===!0?MGe(this._weekdaysMin,this._week.dow):r?this._weekdaysMin[r.day()]:this._weekdaysMin}function zfi(r,e,i){var n,a,o,c=r.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=VA([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?e==="dddd"?(a=Ep.call(this._weekdaysParse,c),a!==-1?a:null):e==="ddd"?(a=Ep.call(this._shortWeekdaysParse,c),a!==-1?a:null):(a=Ep.call(this._minWeekdaysParse,c),a!==-1?a:null):e==="dddd"?(a=Ep.call(this._weekdaysParse,c),a!==-1||(a=Ep.call(this._shortWeekdaysParse,c),a!==-1)?a:(a=Ep.call(this._minWeekdaysParse,c),a!==-1?a:null)):e==="ddd"?(a=Ep.call(this._shortWeekdaysParse,c),a!==-1||(a=Ep.call(this._weekdaysParse,c),a!==-1)?a:(a=Ep.call(this._minWeekdaysParse,c),a!==-1?a:null)):(a=Ep.call(this._minWeekdaysParse,c),a!==-1||(a=Ep.call(this._weekdaysParse,c),a!==-1)?a:(a=Ep.call(this._shortWeekdaysParse,c),a!==-1?a:null))}function Ifi(r,e,i){var n,a,o;if(this._weekdaysParseExact)return zfi.call(this,r,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=VA([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&e==="dddd"&&this._fullWeekdaysParse[n].test(r))return n;if(i&&e==="ddd"&&this._shortWeekdaysParse[n].test(r))return n;if(i&&e==="dd"&&this._minWeekdaysParse[n].test(r))return n;if(!i&&this._weekdaysParse[n].test(r))return n}}function Rfi(r){if(!this.isValid())return r!=null?this:NaN;var e=wue(this,"Day");return r!=null?(r=Ffi(r,this.localeData()),this.add(r-e,"d")):e}function Ofi(r){if(!this.isValid())return r!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return r==null?e:this.add(r-e,"d")}function jfi(r){if(!this.isValid())return r!=null?this:NaN;if(r!=null){var e=Afi(r,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Vfi(r){return this._weekdaysParseExact?(B1(this,"_weekdaysRegex")||zGe.call(this),r?this._weekdaysStrictRegex:this._weekdaysRegex):(B1(this,"_weekdaysRegex")||(this._weekdaysRegex=wfi),this._weekdaysStrictRegex&&r?this._weekdaysStrictRegex:this._weekdaysRegex)}function Hfi(r){return this._weekdaysParseExact?(B1(this,"_weekdaysRegex")||zGe.call(this),r?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(B1(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Tfi),this._weekdaysShortStrictRegex&&r?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kfi(r){return this._weekdaysParseExact?(B1(this,"_weekdaysRegex")||zGe.call(this),r?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(B1(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lfi),this._weekdaysMinStrictRegex&&r?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function zGe(){function r(x,y){return y.length-x.length}var e=[],i=[],n=[],a=[],o,c,h,g,_;for(o=0;o<7;o++)c=VA([2e3,1]).day(o),h=US(this.weekdaysMin(c,"")),g=US(this.weekdaysShort(c,"")),_=US(this.weekdays(c,"")),e.push(h),i.push(g),n.push(_),a.push(h),a.push(g),a.push(_);e.sort(r),i.sort(r),n.sort(r),a.sort(r),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function IGe(){return this.hours()%12||12}function Wfi(){return this.hours()||24}h0("H",["HH",2],0,"hour");h0("h",["hh",2],0,IGe);h0("k",["kk",2],0,Wfi);h0("hmm",0,0,function(){return""+IGe.apply(this)+AA(this.minutes(),2)});h0("hmmss",0,0,function(){return""+IGe.apply(this)+AA(this.minutes(),2)+AA(this.seconds(),2)});h0("Hmm",0,0,function(){return""+this.hours()+AA(this.minutes(),2)});h0("Hmmss",0,0,function(){return""+this.hours()+AA(this.minutes(),2)+AA(this.seconds(),2)});function cvt(r,e){h0(r,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}cvt("a",!0);cvt("A",!1);function dvt(r,e){return e._meridiemParse}ps("a",dvt);ps("A",dvt);ps("H",rm,NGe);ps("h",rm,C$);ps("k",rm,C$);ps("HH",rm,nv);ps("hh",rm,nv);ps("kk",rm,nv);ps("hmm",X6t);ps("hmmss",evt);ps("Hmm",X6t);ps("Hmmss",evt);Qh(["H","HH"],Kg);Qh(["k","kk"],function(r,e,i){var n=xd(r);e[Kg]=n===24?0:n});Qh(["a","A"],function(r,e,i){i._isPm=i._locale.isPM(r),i._meridiem=r});Qh(["h","hh"],function(r,e,i){e[Kg]=xd(r),pc(i).bigHour=!0});Qh("hmm",function(r,e,i){var n=r.length-2;e[Kg]=xd(r.substr(0,n)),e[dy]=xd(r.substr(n)),pc(i).bigHour=!0});Qh("hmmss",function(r,e,i){var n=r.length-4,a=r.length-2;e[Kg]=xd(r.substr(0,n)),e[dy]=xd(r.substr(n,2)),e[PS]=xd(r.substr(a)),pc(i).bigHour=!0});Qh("Hmm",function(r,e,i){var n=r.length-2;e[Kg]=xd(r.substr(0,n)),e[dy]=xd(r.substr(n))});Qh("Hmmss",function(r,e,i){var n=r.length-4,a=r.length-2;e[Kg]=xd(r.substr(0,n)),e[dy]=xd(r.substr(n,2)),e[PS]=xd(r.substr(a))});function Gfi(r){return(r+"").toLowerCase().charAt(0)==="p"}var Jfi=/[ap]\.?m?\.?/i,$fi=b$("Hours",!0);function Ufi(r,e,i){return r>11?i?"pm":"PM":i?"am":"AM"}var hvt={calendar:zhi,longDateFormat:jhi,invalidDate:Hhi,ordinal:Whi,dayOfMonthOrdinalParse:Ghi,relativeTime:$hi,months:lfi,monthsShort:nvt,week:vfi,weekdays:Sfi,weekdaysMin:Bfi,weekdaysShort:lvt,meridiemParse:Jfi},ym={},wie={},Nue;function qfi(r,e){var i,n=Math.min(r.length,e.length);for(i=0;i0;){if(a=k6e(o.slice(0,i).join("-")),a)return a;if(n&&n.length>=i&&qfi(o,n)>=i-1)break;i--}e++}return Nue}function Yfi(r){return!!(r&&r.match("^[^/\\\\]*$"))}function k6e(r){var e=null,i;if(ym[r]===void 0&&typeof module<"u"&&module&&module.exports&&Yfi(r))try{e=Nue._abbr,i=require,i("./locale/"+r),DL(e)}catch{ym[r]=null}return ym[r]}function DL(r,e){var i;return r&&(Y5(e)?i=d8(r):i=RGe(r,e),i?Nue=i:typeof console<"u"&&console.warn&&console.warn("Locale "+r+" not found. Did you forget to load it?")),Nue._abbr}function RGe(r,e){if(e!==null){var i,n=hvt;if(e.abbr=r,ym[r]!=null)q6t("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ym[r]._config;else if(e.parentLocale!=null)if(ym[e.parentLocale]!=null)n=ym[e.parentLocale]._config;else if(i=k6e(e.parentLocale),i!=null)n=i._config;else return wie[e.parentLocale]||(wie[e.parentLocale]=[]),wie[e.parentLocale].push({name:r,config:e}),null;return ym[r]=new SGe(ije(n,e)),wie[r]&&wie[r].forEach(function(a){RGe(a.name,a.config)}),DL(r),ym[r]}else return delete ym[r],null}function Qfi(r,e){if(e!=null){var i,n,a=hvt;ym[r]!=null&&ym[r].parentLocale!=null?ym[r].set(ije(ym[r]._config,e)):(n=k6e(r),n!=null&&(a=n._config),e=ije(a,e),n==null&&(e.abbr=r),i=new SGe(e),i.parentLocale=ym[r],ym[r]=i),DL(r)}else ym[r]!=null&&(ym[r].parentLocale!=null?(ym[r]=ym[r].parentLocale,r===DL()&&DL(r)):ym[r]!=null&&delete ym[r]);return ym[r]}function d8(r){var e;if(r&&r._locale&&r._locale._abbr&&(r=r._locale._abbr),!r)return Nue;if(!Ay(r)){if(e=k6e(r),e)return e;r=[r]}return Zfi(r)}function Xfi(){return nje(ym)}function OGe(r){var e,i=r._a;return i&&pc(r).overflow===-2&&(e=i[NS]<0||i[NS]>11?NS:i[eA]<1||i[eA]>PGe(i[j3],i[NS])?eA:i[Kg]<0||i[Kg]>24||i[Kg]===24&&(i[dy]!==0||i[PS]!==0||i[NI]!==0)?Kg:i[dy]<0||i[dy]>59?dy:i[PS]<0||i[PS]>59?PS:i[NI]<0||i[NI]>999?NI:-1,pc(r)._overflowDayOfYear&&(eeA)&&(e=eA),pc(r)._overflowWeeks&&e===-1&&(e=nfi),pc(r)._overflowWeekday&&e===-1&&(e=ufi),pc(r).overflow=e),r}var emi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tmi=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,imi=/Z|[+-]\d\d(?::?\d\d)?/,b_e=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],dIe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],nmi=/^\/?Date\((-?\d+)/i,umi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,rmi={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fvt(r){var e,i,n=r._i,a=emi.exec(n)||tmi.exec(n),o,c,h,g,_=b_e.length,x=dIe.length;if(a){for(pc(r).iso=!0,e=0,i=_;eRne(c)||r._dayOfYear===0)&&(pc(r)._overflowDayOfYear=!0),i=Tue(c,0,r._dayOfYear),r._a[NS]=i.getUTCMonth(),r._a[eA]=i.getUTCDate()),e=0;e<3&&r._a[e]==null;++e)r._a[e]=n[e]=a[e];for(;e<7;e++)r._a[e]=n[e]=r._a[e]==null?e===2?1:0:r._a[e];r._a[Kg]===24&&r._a[dy]===0&&r._a[PS]===0&&r._a[NI]===0&&(r._nextDay=!0,r._a[Kg]=0),r._d=(r._useUTC?Tue:Dfi).apply(null,n),o=r._useUTC?r._d.getUTCDay():r._d.getDay(),r._tzm!=null&&r._d.setUTCMinutes(r._d.getUTCMinutes()-r._tzm),r._nextDay&&(r._a[Kg]=24),r._w&&typeof r._w.d<"u"&&r._w.d!==o&&(pc(r).weekdayMismatch=!0)}}function fmi(r){var e,i,n,a,o,c,h,g,_;e=r._w,e.GG!=null||e.W!=null||e.E!=null?(o=1,c=4,i=mG(e.GG,r._a[j3],Lue(um(),1,4).year),n=mG(e.W,1),a=mG(e.E,1),(a<1||a>7)&&(g=!0)):(o=r._locale._week.dow,c=r._locale._week.doy,_=Lue(um(),o,c),i=mG(e.gg,r._a[j3],_.year),n=mG(e.w,_.week),e.d!=null?(a=e.d,(a<0||a>6)&&(g=!0)):e.e!=null?(a=e.e+o,(e.e<0||e.e>6)&&(g=!0)):a=o),n<1||n>qS(i,o,c)?pc(r)._overflowWeeks=!0:g!=null?pc(r)._overflowWeekday=!0:(h=svt(i,n,a,o,c),r._a[j3]=h.year,r._dayOfYear=h.dayOfYear)}lo.ISO_8601=function(){};lo.RFC_2822=function(){};function VGe(r){if(r._f===lo.ISO_8601){fvt(r);return}if(r._f===lo.RFC_2822){mvt(r);return}r._a=[],pc(r).empty=!0;var e=""+r._i,i,n,a,o,c,h=e.length,g=0,_,x;for(a=Z6t(r._f,r._locale).match(BGe)||[],x=a.length,i=0;i0&&pc(r).unusedInput.push(c),e=e.slice(e.indexOf(n)+n.length),g+=n.length),QG[o]?(n?pc(r).empty=!1:pc(r).unusedTokens.push(o),ifi(o,n,r)):r._strict&&!n&&pc(r).unusedTokens.push(o);pc(r).charsLeftOver=h-g,e.length>0&&pc(r).unusedInput.push(e),r._a[Kg]<=12&&pc(r).bigHour===!0&&r._a[Kg]>0&&(pc(r).bigHour=void 0),pc(r).parsedDateParts=r._a.slice(0),pc(r).meridiem=r._meridiem,r._a[Kg]=mmi(r._locale,r._a[Kg],r._meridiem),_=pc(r).era,_!==null&&(r._a[j3]=r._locale.erasConvertYear(_,r._a[j3])),jGe(r),OGe(r)}function mmi(r,e,i){var n;return i==null?e:r.meridiemHour!=null?r.meridiemHour(e,i):(r.isPM!=null&&(n=r.isPM(i),n&&e<12&&(e+=12),!n&&e===12&&(e=0)),e)}function pmi(r){var e,i,n,a,o,c,h=!1,g=r._f.length;if(g===0){pc(r).invalidFormat=!0,r._d=new Date(NaN);return}for(a=0;athis?this:r:_6e()});function Evt(r,e){var i,n;if(e.length===1&&Ay(e[0])&&(e=e[0]),!e.length)return um();for(i=e[0],n=1;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zmi(){if(!Y5(this._isDSTShifted))return this._isDSTShifted;var r={},e;return AGe(r,this),r=pvt(r),r._a?(e=r._isUTC?VA(r._a):um(r._a),this._isDSTShifted=this.isValid()&&Ami(r._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Imi(){return this.isValid()?!this._isUTC:!1}function Rmi(){return this.isValid()?this._isUTC:!1}function Dvt(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Omi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jmi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function My(r,e){var i=r,n=null,a,o,c;return Y3e(r)?i={ms:r._milliseconds,d:r._days,M:r._months}:t8(r)||!isNaN(+r)?(i={},e?i[e]=+r:i.milliseconds=+r):(n=Omi.exec(r))?(a=n[1]==="-"?-1:1,i={y:0,d:xd(n[eA])*a,h:xd(n[Kg])*a,m:xd(n[dy])*a,s:xd(n[PS])*a,ms:xd(rje(n[NI]*1e3))*a}):(n=jmi.exec(r))?(a=n[1]==="-"?-1:1,i={y:Zz(n[2],a),M:Zz(n[3],a),w:Zz(n[4],a),d:Zz(n[5],a),h:Zz(n[6],a),m:Zz(n[7],a),s:Zz(n[8],a)}):i==null?i={}:typeof i=="object"&&("from"in i||"to"in i)&&(c=Vmi(um(i.from),um(i.to)),i={},i.ms=c.milliseconds,i.M=c.months),o=new F6e(i),Y3e(r)&&B1(r,"_locale")&&(o._locale=r._locale),Y3e(r)&&B1(r,"_isValid")&&(o._isValid=r._isValid),o}My.fn=F6e.prototype;My.invalid=Fmi;function Zz(r,e){var i=r&&parseFloat(r.replace(",","."));return(isNaN(i)?0:i)*e}function ugt(r,e){var i={};return i.months=e.month()-r.month()+(e.year()-r.year())*12,r.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+r.clone().add(i.months,"M"),i}function Vmi(r,e){var i;return r.isValid()&&e.isValid()?(e=KGe(e,r),r.isBefore(e)?i=ugt(r,e):(i=ugt(e,r),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function xvt(r,e){return function(i,n){var a,o;return n!==null&&!isNaN(+n)&&(q6t(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=i,i=n,n=o),a=My(i,n),vvt(this,a,r),this}}function vvt(r,e,i,n){var a=e._milliseconds,o=rje(e._days),c=rje(e._months);r.isValid()&&(n=n??!0,c&&rvt(r,wue(r,"Month")+c*i),o&&ivt(r,"Date",wue(r,"Date")+o*i),a&&r._d.setTime(r._d.valueOf()+a*i),n&&lo.updateOffset(r,o||c))}var Hmi=xvt(1,"add"),Kmi=xvt(-1,"subtract");function Cvt(r){return typeof r=="string"||r instanceof String}function Wmi(r){return Sy(r)||dae(r)||Cvt(r)||t8(r)||Jmi(r)||Gmi(r)||r===null||r===void 0}function Gmi(r){var e=GI(r)&&!kGe(r),i=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,o,c=n.length;for(a=0;ai.valueOf():i.valueOf()9999?Z3e(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):HA(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Z3e(i,"Z")):Z3e(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function a4i(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var r="moment",e="",i,n,a,o;return this.isLocal()||(r=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),i="["+r+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",o=e+'[")]',this.format(i+n+a+o)}function o4i(r){r||(r=this.isUtc()?lo.defaultFormatUtc:lo.defaultFormat);var e=Z3e(this,r);return this.localeData().postformat(e)}function s4i(r,e){return this.isValid()&&(Sy(r)&&r.isValid()||um(r).isValid())?My({to:this,from:r}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function l4i(r){return this.from(um(),r)}function c4i(r,e){return this.isValid()&&(Sy(r)&&r.isValid()||um(r).isValid())?My({from:this,to:r}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function d4i(r){return this.to(um(),r)}function bvt(r){var e;return r===void 0?this._locale._abbr:(e=d8(r),e!=null&&(this._locale=e),this)}var yvt=r2("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(r){return r===void 0?this.localeData():this.locale(r)});function kvt(){return this._locale}var qDe=1e3,XG=60*qDe,ZDe=60*XG,Fvt=(365*400+97)*24*ZDe;function eJ(r,e){return(r%e+e)%e}function Avt(r,e,i){return r<100&&r>=0?new Date(r+400,e,i)-Fvt:new Date(r,e,i).valueOf()}function Svt(r,e,i){return r<100&&r>=0?Date.UTC(r+400,e,i)-Fvt:Date.UTC(r,e,i)}function h4i(r){var e,i;if(r=a2(r),r===void 0||r==="millisecond"||!this.isValid())return this;switch(i=this._isUTC?Svt:Avt,r){case"year":e=i(this.year(),0,1);break;case"quarter":e=i(this.year(),this.month()-this.month()%3,1);break;case"month":e=i(this.year(),this.month(),1);break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=i(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=eJ(e+(this._isUTC?0:this.utcOffset()*XG),ZDe);break;case"minute":e=this._d.valueOf(),e-=eJ(e,XG);break;case"second":e=this._d.valueOf(),e-=eJ(e,qDe);break}return this._d.setTime(e),lo.updateOffset(this,!0),this}function f4i(r){var e,i;if(r=a2(r),r===void 0||r==="millisecond"||!this.isValid())return this;switch(i=this._isUTC?Svt:Avt,r){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=ZDe-eJ(e+(this._isUTC?0:this.utcOffset()*XG),ZDe)-1;break;case"minute":e=this._d.valueOf(),e+=XG-eJ(e,XG)-1;break;case"second":e=this._d.valueOf(),e+=qDe-eJ(e,qDe)-1;break}return this._d.setTime(e),lo.updateOffset(this,!0),this}function m4i(){return this._d.valueOf()-(this._offset||0)*6e4}function p4i(){return Math.floor(this.valueOf()/1e3)}function g4i(){return new Date(this.valueOf())}function E4i(){var r=this;return[r.year(),r.month(),r.date(),r.hour(),r.minute(),r.second(),r.millisecond()]}function _4i(){var r=this;return{years:r.year(),months:r.month(),date:r.date(),hours:r.hours(),minutes:r.minutes(),seconds:r.seconds(),milliseconds:r.milliseconds()}}function D4i(){return this.isValid()?this.toISOString():null}function x4i(){return FGe(this)}function v4i(){return iL({},pc(this))}function C4i(){return pc(this).overflow}function b4i(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h0("N",0,0,"eraAbbr");h0("NN",0,0,"eraAbbr");h0("NNN",0,0,"eraAbbr");h0("NNNN",0,0,"eraName");h0("NNNNN",0,0,"eraNarrow");h0("y",["y",1],"yo","eraYear");h0("y",["yy",2],0,"eraYear");h0("y",["yyy",3],0,"eraYear");h0("y",["yyyy",4],0,"eraYear");ps("N",WGe);ps("NN",WGe);ps("NNN",WGe);ps("NNNN",P4i);ps("NNNNN",M4i);Qh(["N","NN","NNN","NNNN","NNNNN"],function(r,e,i,n){var a=i._locale.erasParse(r,n,i._strict);a?pc(i).era=a:pc(i).invalidEra=r});ps("y",v$);ps("yy",v$);ps("yyy",v$);ps("yyyy",v$);ps("yo",z4i);Qh(["y","yy","yyy","yyyy"],j3);Qh(["yo"],function(r,e,i,n){var a;i._locale._eraYearOrdinalRegex&&(a=r.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?e[j3]=i._locale.eraYearOrdinalParse(r,a):e[j3]=parseInt(r,10)});function y4i(r,e){var i,n,a,o=this._eras||d8("en")._eras;for(i=0,n=o.length;i=0)return o[n]}function F4i(r,e){var i=r.since<=r.until?1:-1;return e===void 0?lo(r.since).year():lo(r.since).year()+(e-r.offset)*i}function A4i(){var r,e,i,n=this.localeData().eras();for(r=0,e=n.length;ro&&(e=o),K4i.call(this,r,e,i,n,a))}function K4i(r,e,i,n,a){var o=svt(r,e,i,n,a),c=Tue(o.year,0,o.dayOfYear);return this.year(c.getUTCFullYear()),this.month(c.getUTCMonth()),this.date(c.getUTCDate()),this}h0("Q",0,"Qo","quarter");ps("Q",Y6t);Qh("Q",function(r,e){e[NS]=(xd(r)-1)*3});function W4i(r){return r==null?Math.ceil((this.month()+1)/3):this.month((r-1)*3+this.month()%3)}h0("D",["DD",2],"Do","date");ps("D",rm,C$);ps("DD",rm,nv);ps("Do",function(r,e){return r?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});Qh(["D","DD"],eA);Qh("Do",function(r,e){e[eA]=xd(r.match(rm)[0])});var wvt=b$("Date",!0);h0("DDD",["DDDD",3],"DDDo","dayOfYear");ps("DDD",x6e);ps("DDDD",Q6t);Qh(["DDD","DDDD"],function(r,e,i){i._dayOfYear=xd(r)});function G4i(r){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return r==null?e:this.add(r-e,"d")}h0("m",["mm",2],0,"minute");ps("m",rm,NGe);ps("mm",rm,nv);Qh(["m","mm"],dy);var J4i=b$("Minutes",!1);h0("s",["ss",2],0,"second");ps("s",rm,NGe);ps("ss",rm,nv);Qh(["s","ss"],PS);var $4i=b$("Seconds",!1);h0("S",0,0,function(){return~~(this.millisecond()/100)});h0(0,["SS",2],0,function(){return~~(this.millisecond()/10)});h0(0,["SSS",3],0,"millisecond");h0(0,["SSSS",4],0,function(){return this.millisecond()*10});h0(0,["SSSSS",5],0,function(){return this.millisecond()*100});h0(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});h0(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});h0(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});h0(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});ps("S",x6e,Y6t);ps("SS",x6e,nv);ps("SSS",x6e,Q6t);var nL,Tvt;for(nL="SSSS";nL.length<=9;nL+="S")ps(nL,v$);function U4i(r,e){e[NI]=xd(("0."+r)*1e3)}for(nL="S";nL.length<=9;nL+="S")Qh(nL,U4i);Tvt=b$("Milliseconds",!1);h0("z",0,0,"zoneAbbr");h0("zz",0,0,"zoneName");function q4i(){return this._isUTC?"UTC":""}function Z4i(){return this._isUTC?"Coordinated Universal Time":""}var Na=hae.prototype;Na.add=Hmi;Na.calendar=qmi;Na.clone=Zmi;Na.diff=n4i;Na.endOf=f4i;Na.format=o4i;Na.from=s4i;Na.fromNow=l4i;Na.to=c4i;Na.toNow=d4i;Na.get=afi;Na.invalidAt=C4i;Na.isAfter=Ymi;Na.isBefore=Qmi;Na.isBetween=Xmi;Na.isSame=e4i;Na.isSameOrAfter=t4i;Na.isSameOrBefore=i4i;Na.isValid=x4i;Na.lang=yvt;Na.locale=bvt;Na.localeData=kvt;Na.max=xmi;Na.min=Dmi;Na.parsingFlags=v4i;Na.set=ofi;Na.startOf=h4i;Na.subtract=Kmi;Na.toArray=E4i;Na.toObject=_4i;Na.toDate=g4i;Na.toISOString=r4i;Na.inspect=a4i;typeof Symbol<"u"&&Symbol.for!=null&&(Na[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});Na.toJSON=D4i;Na.toString=u4i;Na.unix=p4i;Na.valueOf=m4i;Na.creationData=b4i;Na.eraName=A4i;Na.eraNarrow=S4i;Na.eraAbbr=B4i;Na.eraYear=w4i;Na.year=tvt;Na.isLeapYear=rfi;Na.weekYear=I4i;Na.isoWeekYear=R4i;Na.quarter=Na.quarters=W4i;Na.month=avt;Na.daysInMonth=gfi;Na.week=Na.weeks=yfi;Na.isoWeek=Na.isoWeeks=kfi;Na.weeksInYear=V4i;Na.weeksInWeekYear=H4i;Na.isoWeeksInYear=O4i;Na.isoWeeksInISOWeekYear=j4i;Na.date=wvt;Na.day=Na.days=Rfi;Na.weekday=Ofi;Na.isoWeekday=jfi;Na.dayOfYear=G4i;Na.hour=Na.hours=$fi;Na.minute=Na.minutes=J4i;Na.second=Na.seconds=$4i;Na.millisecond=Na.milliseconds=Tvt;Na.utcOffset=Bmi;Na.utc=Tmi;Na.local=Lmi;Na.parseZone=Nmi;Na.hasAlignedHourOffset=Pmi;Na.isDST=Mmi;Na.isLocal=Imi;Na.isUtcOffset=Rmi;Na.isUtc=Dvt;Na.isUTC=Dvt;Na.zoneAbbr=q4i;Na.zoneName=Z4i;Na.dates=r2("dates accessor is deprecated. Use date instead.",wvt);Na.months=r2("months accessor is deprecated. Use month instead",avt);Na.years=r2("years accessor is deprecated. Use year instead",tvt);Na.zone=r2("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",wmi);Na.isDSTShifted=r2("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zmi);function Y4i(r){return um(r*1e3)}function Q4i(){return um.apply(null,arguments).parseZone()}function Lvt(r){return r}var w1=SGe.prototype;w1.calendar=Ihi;w1.longDateFormat=Vhi;w1.invalidDate=Khi;w1.ordinal=Jhi;w1.preparse=Lvt;w1.postformat=Lvt;w1.relativeTime=Uhi;w1.pastFuture=qhi;w1.set=Mhi;w1.eras=y4i;w1.erasParse=k4i;w1.erasConvertYear=F4i;w1.erasAbbrRegex=L4i;w1.erasNameRegex=T4i;w1.erasNarrowRegex=N4i;w1.months=hfi;w1.monthsShort=ffi;w1.monthsParse=pfi;w1.monthsRegex=_fi;w1.monthsShortRegex=Efi;w1.week=xfi;w1.firstDayOfYear=bfi;w1.firstDayOfWeek=Cfi;w1.weekdays=Nfi;w1.weekdaysMin=Mfi;w1.weekdaysShort=Pfi;w1.weekdaysParse=Ifi;w1.weekdaysRegex=Vfi;w1.weekdaysShortRegex=Hfi;w1.weekdaysMinRegex=Kfi;w1.isPM=Gfi;w1.meridiem=Ufi;function YDe(r,e,i,n){var a=d8(),o=VA().set(n,e);return a[i](o,r)}function Nvt(r,e,i){if(t8(r)&&(e=r,r=void 0),r=r||"",e!=null)return YDe(r,e,i,"month");var n,a=[];for(n=0;n<12;n++)a[n]=YDe(r,n,i,"month");return a}function JGe(r,e,i,n){typeof r=="boolean"?(t8(e)&&(i=e,e=void 0),e=e||""):(e=r,i=e,r=!1,t8(e)&&(i=e,e=void 0),e=e||"");var a=d8(),o=r?a._week.dow:0,c,h=[];if(i!=null)return YDe(e,(i+o)%7,n,"day");for(c=0;c<7;c++)h[c]=YDe(e,(c+o)%7,n,"day");return h}function X4i(r,e){return Nvt(r,e,"months")}function epi(r,e){return Nvt(r,e,"monthsShort")}function tpi(r,e,i){return JGe(r,e,i,"weekdays")}function ipi(r,e,i){return JGe(r,e,i,"weekdaysShort")}function npi(r,e,i){return JGe(r,e,i,"weekdaysMin")}DL("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(r){var e=r%10,i=xd(r%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return r+i}});lo.lang=r2("moment.lang is deprecated. Use moment.locale instead.",DL);lo.langData=r2("moment.langData is deprecated. Use moment.localeData instead.",d8);var aS=Math.abs;function upi(){var r=this._data;return this._milliseconds=aS(this._milliseconds),this._days=aS(this._days),this._months=aS(this._months),r.milliseconds=aS(r.milliseconds),r.seconds=aS(r.seconds),r.minutes=aS(r.minutes),r.hours=aS(r.hours),r.months=aS(r.months),r.years=aS(r.years),this}function Pvt(r,e,i,n){var a=My(e,i);return r._milliseconds+=n*a._milliseconds,r._days+=n*a._days,r._months+=n*a._months,r._bubble()}function rpi(r,e){return Pvt(this,r,e,1)}function api(r,e){return Pvt(this,r,e,-1)}function rgt(r){return r<0?Math.floor(r):Math.ceil(r)}function opi(){var r=this._milliseconds,e=this._days,i=this._months,n=this._data,a,o,c,h,g;return r>=0&&e>=0&&i>=0||r<=0&&e<=0&&i<=0||(r+=rgt(oje(i)+e)*864e5,e=0,i=0),n.milliseconds=r%1e3,a=KC(r/1e3),n.seconds=a%60,o=KC(a/60),n.minutes=o%60,c=KC(o/60),n.hours=c%24,e+=KC(c/24),g=KC(Mvt(e)),i+=g,e-=rgt(oje(g)),h=KC(i/12),i%=12,n.days=e,n.months=i,n.years=h,this}function Mvt(r){return r*4800/146097}function oje(r){return r*146097/4800}function spi(r){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if(r=a2(r),r==="month"||r==="quarter"||r==="year")switch(e=this._days+n/864e5,i=this._months+Mvt(e),r){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(oje(this._months)),r){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return e*24+n/36e5;case"minute":return e*1440+n/6e4;case"second":return e*86400+n/1e3;case"millisecond":return Math.floor(e*864e5)+n;default:throw new Error("Unknown unit "+r)}}function h8(r){return function(){return this.as(r)}}var zvt=h8("ms"),lpi=h8("s"),cpi=h8("m"),dpi=h8("h"),hpi=h8("d"),fpi=h8("w"),mpi=h8("M"),ppi=h8("Q"),gpi=h8("y"),Epi=zvt;function _pi(){return My(this)}function Dpi(r){return r=a2(r),this.isValid()?this[r+"s"]():NaN}function JR(r){return function(){return this.isValid()?this._data[r]:NaN}}var xpi=JR("milliseconds"),vpi=JR("seconds"),Cpi=JR("minutes"),bpi=JR("hours"),ypi=JR("days"),kpi=JR("months"),Fpi=JR("years");function Api(){return KC(this.days()/7)}var gS=Math.round,CG={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Spi(r,e,i,n,a){return a.relativeTime(e||1,!!i,r,n)}function Bpi(r,e,i,n){var a=My(r).abs(),o=gS(a.as("s")),c=gS(a.as("m")),h=gS(a.as("h")),g=gS(a.as("d")),_=gS(a.as("M")),x=gS(a.as("w")),y=gS(a.as("y")),S=o<=i.ss&&["s",o]||o0,S[4]=n,Spi.apply(null,S)}function wpi(r){return r===void 0?gS:typeof r=="function"?(gS=r,!0):!1}function Tpi(r,e){return CG[r]===void 0?!1:e===void 0?CG[r]:(CG[r]=e,r==="s"&&(CG.ss=e-1),!0)}function Lpi(r,e){if(!this.isValid())return this.localeData().invalidDate();var i=!1,n=CG,a,o;return typeof r=="object"&&(e=r,r=!1),typeof r=="boolean"&&(i=r),typeof e=="object"&&(n=Object.assign({},CG,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),a=this.localeData(),o=Bpi(this,!i,n,a),i&&(o=a.pastFuture(+this,o)),a.postformat(o)}var hIe=Math.abs;function WW(r){return(r>0)-(r<0)||+r}function S6e(){if(!this.isValid())return this.localeData().invalidDate();var r=hIe(this._milliseconds)/1e3,e=hIe(this._days),i=hIe(this._months),n,a,o,c,h=this.asSeconds(),g,_,x,y;return h?(n=KC(r/60),a=KC(n/60),r%=60,n%=60,o=KC(i/12),i%=12,c=r?r.toFixed(3).replace(/\.?0+$/,""):"",g=h<0?"-":"",_=WW(this._months)!==WW(h)?"-":"",x=WW(this._days)!==WW(h)?"-":"",y=WW(this._milliseconds)!==WW(h)?"-":"",g+"P"+(o?_+o+"Y":"")+(i?_+i+"M":"")+(e?x+e+"D":"")+(a||n||r?"T":"")+(a?y+a+"H":"")+(n?y+n+"M":"")+(r?y+c+"S":"")):"P0D"}var Ud=F6e.prototype;Ud.isValid=kmi;Ud.abs=upi;Ud.add=rpi;Ud.subtract=api;Ud.as=spi;Ud.asMilliseconds=zvt;Ud.asSeconds=lpi;Ud.asMinutes=cpi;Ud.asHours=dpi;Ud.asDays=hpi;Ud.asWeeks=fpi;Ud.asMonths=mpi;Ud.asQuarters=ppi;Ud.asYears=gpi;Ud.valueOf=Epi;Ud._bubble=opi;Ud.clone=_pi;Ud.get=Dpi;Ud.milliseconds=xpi;Ud.seconds=vpi;Ud.minutes=Cpi;Ud.hours=bpi;Ud.days=ypi;Ud.weeks=Api;Ud.months=kpi;Ud.years=Fpi;Ud.humanize=Lpi;Ud.toISOString=S6e;Ud.toString=S6e;Ud.toJSON=S6e;Ud.locale=bvt;Ud.localeData=kvt;Ud.toIsoString=r2("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",S6e);Ud.lang=yvt;h0("X",0,0,"unix");h0("x",0,0,"valueOf");ps("x",C6e);ps("X",Xhi);Qh("X",function(r,e,i){i._d=new Date(parseFloat(r)*1e3)});Qh("x",function(r,e,i){i._d=new Date(xd(r))});//! moment.js -lo.version="2.30.1";Nhi(um);lo.fn=Na;lo.min=vmi;lo.max=Cmi;lo.now=bmi;lo.utc=VA;lo.unix=Y4i;lo.months=X4i;lo.isDate=dae;lo.locale=DL;lo.invalid=_6e;lo.duration=My;lo.isMoment=Sy;lo.weekdays=tpi;lo.parseZone=Q4i;lo.localeData=d8;lo.isDuration=Y3e;lo.monthsShort=epi;lo.weekdaysMin=npi;lo.defineLocale=RGe;lo.updateLocale=Qfi;lo.locales=Xfi;lo.weekdaysShort=ipi;lo.normalizeUnits=a2;lo.relativeTimeRounding=wpi;lo.relativeTimeThreshold=Tpi;lo.calendarFormat=Umi;lo.prototype=Na;lo.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Th=R6t("main",()=>{const r=ds(document.location.host.indexOf("demo.logdy.dev")>=0||!!Bhi(document.location.search,"demo_mode")),e=ds("started"),i=ds("json"),n=ds(""),a=ds(""),o=ds({from:0,to:0}),c=ds(""),h=ds(!1),g=ds("not connected"),_=ds("paused"),x=ds({LastDeliveredIdx:0,MessageCount:0,MessagesToTail:0}),y=ds(!1),S=ds(""),L=ds(""),O=ds(!1),G=ds([]),ie=ds({}),ue=ds({}),re=ds(""),_e=ds(!1),ye=ds(""),Le=ds({}),lt=ds("label"),Ue=ds(),Ze=ds({}),rt=ds(new yGe("main",{leftColWidth:300,drawerColWidth:900,maxMessages:1e3,middlewares:[],entriesOrder:"desc"}));let kt=null;const Zt=(ci,Oe=!0)=>{L.value=ci,Oe&&Upt.add({password:ci},"main")},jt=()=>{var ci;return L.value||(L.value=((ci=Upt.getOne("main"))==null?void 0:ci.password)||""),L.value},ui=(ci,Oe)=>{c.value=ci,h.value=!0,kt=Oe},ti=async ci=>{ci&&kt&&await kt(),kt=null,c.value="",h.value=!1},Uu=j6(()=>{if(o.value.from<=0&&o.value.to<=0)return"Set timeframe";let ci=lo(o.value.from*1e3),Oe=lo(o.value.to*1e3),eu=ci.format("MMM DD, HH:mmA"),Hi=ci.format("MMM DD, HH:mmA");return ci.format("DD-MM-YYYY")===Oe.format("DD-MM-YYYY")&&(eu=ci.format("MMM DD, HH:mmA"),Hi=Oe.format("HH:mmA")),o.value.to===0&&(Hi="now"),`${eu} - ${Hi}`}),pu=(ci,Oe=0)=>{if(Vt(),Oe!==0){for(let eu=0;eu<=Hl.value.length;eu++)if(Hl.value[eu].id===ci.id){ci=Hl.value[eu+Oe];break}}ci&&(ci.opened||(GT().changeFilter("read",1),GT().changeFilter("unread",-1)),ci.open=!0,ci.opened=!0,Ze.value.row=ci,ZT.update(ci.id,{id:ci.id,message:ci.msg,opened:!0,starred:ci.starred}))},Vt=()=>{Ze.value.row&&(Ze.value.row.open=!1,Ze.value.row.opened=!0,Ze.value.row=void 0)},zr=ci=>{ci.starred=!ci.starred,GT().changeFilter("starred",ci.starred?1:-1),ZT.update(ci.id,{id:ci.id,message:ci.msg,opened:ci.opened,starred:ci.starred})},Lu=new BroadcastChannel("tab-activity");setInterval(()=>{Lu.postMessage("ping")},5*1e3),Lu.addEventListener("message",ci=>{ci.data==="ping"&&Lu.postMessage("pong"),y.value||ui("We have detected Logdy opened in another tab. Currently we do not support multiple tabs",()=>{y.value=!1}),y.value=!0});const Va=j6(()=>_.value==="paused"?`Paused at entry #${LI(x.value.LastDeliveredIdx+1)} out of ${LI(x.value.MessageCount)} (${LI(x.value.MessageCount-x.value.LastDeliveredIdx-1)} not seen)`:_.value.includes("following")?`Following real-time out of ${LI(x==null?void 0:x.value.MessageCount)} entries`:"-"),ju=ci=>{ci.correlation_id&&(ye.value=ci.correlation_id,Tr())},Tr=()=>{if(!ye.value||Hl.value.length===0)return;let ci={},Oe=Hl.value[0].msg.timing&&Hl.value[0].msg.timing.start||0,eu=1;Hl.value.forEach(Hi=>{var Pr,$r,wa;Hi.msg.timing&&(ci[Hi.id]={id:Hi.id,offset:(Hi.msg.timing.start-Oe)/eu,width:(((Pr=Hi.msg.timing)==null?void 0:Pr.duration)||1)/eu,label:($r=Hi.msg.timing)==null?void 0:$r.label,style:((wa=Hi.msg.timing)==null?void 0:wa.style)||{}})}),Le.value=ci},pa=()=>{GT().resetToggles(),Fa()},z0=()=>{ye.value=""},ra=async ci=>{switch(ci){case"following":await $S.resume(),_.value="following";break;case"following_cursor":await $S.resumeFromCursor(),_.value="following_cursor";break;case"paused":await $S.pause(),_.value="paused";break}},qi=()=>{G.value=[],ue.value={},ie.value={},GT().reset(),ZT.removeAll()},eo=()=>{ie.value={}},Fa=()=>{for(let ci in ue.value){let Oe=ue.value[ci];for(let eu in Oe.items)ue.value[Oe.name].items[eu].selected=!1}},W0=()=>{re.value=""},r0=j6(()=>G.value[0]&&G.value[0].msg.is_json==!0),qa=j6(()=>{if(r0.value)return a.value;try{return new RegExp(re.value,"i"),""}catch(ci){return ci.message}}),Hl=j6(()=>{if(qa.value.length>0)return[];const ci={};for(let _i in ue.value)ue.value[_i].items.forEach(ri=>{ri.selected&&(ci[_i]||(ci[_i]=[]),ci[_i].push(ri.label))});let Oe=GT().enabledFilters,eu=Oe.filter(_i=>_i.startsWith("origin_file_")).length>0,Hi=Oe.filter(_i=>_i.startsWith("origin_port_")).length>0,Pr=Oe.filter(_i=>_i.startsWith("origin_na")).length>0,$r=Oe.filter(_i=>_i.startsWith("origin_")).length>0,wa=G.value.filter(_i=>{let ri=_i.msg.ts/1e3;return!(o.value.from>0&&ri0&&ri>o.value.to)}).filter(_i=>{var Tt,pi,hi,cn,On,Dr;if(ye.value&&ye.value!=_i.msg.correlation_id)return!1;let ri=!0;if(Oe.length>0){if(Oe.includes("starred")&&!_i.starred||Oe.includes("read")&&!_i.opened||Oe.includes("unread")&&_i.opened)return!1;$r&&(eu&&((Tt=_i.msg.origin)!=null&&Tt.file)&&Oe.includes("origin_file_"+((pi=_i.msg.origin)==null?void 0:pi.file))||Hi&&((hi=_i.msg.origin)!=null&&hi.port)&&Oe.includes("origin_port_"+((cn=_i.msg.origin)==null?void 0:cn.port))||Pr&&!((On=_i.msg.origin)!=null&&On.file)&&!((Dr=_i.msg.origin)!=null&&Dr.port)&&Oe.includes("origin_na")?ri=!0:ri=!1)}if(!ri)return ri;if(Object.keys(ci).length===0)return!0;let fi={...ci},xt=Object.keys(fi).length;return _i.facets.forEach(Wr=>{fi[Wr.name]&&fi[Wr.name].includes(Wr.value)&&xt--}),xt===0}).filter(_i=>n.value.length>0||re.value.length<3?!0:(_i.msg.content||"").search(new RegExp(re.value,"i"))>=0);if(r0&&n.value.length>0){let _i=Lhi(wa.map(ri=>({data:ri.msg.json_content,raw:ri.msg.content,ts:ri.msg.ts,origin:ri.msg.origin})).filter(ri=>ri));return!_i.result||_i.result.length!=wa.length?wa:_i&&_i.error?(a.value=_i.error,wa):wa.filter((ri,fi)=>_i.result[fi])}return rt.value.settings.entriesOrder==="desc"?wa.reverse():wa});return _A(re,ci=>{if(!r0.value)return;if(a.value="",!ci.length){n.value="";return}let Oe=Thi(ci);if(Oe){a.value=Oe;return}n.value=ci}),{confirm:ui,confirmShow:h,confirmMsg:c,confirmProcess:ti,demoMode:r,demoStatus:e,demoContent:i,status:g,statusStr:Va,receiveStatus:_,receiveCounters:x,changeReceiveStatus:ra,initSettings:Ue,anotherTab:y,modalShow:S,setPassword:Zt,getPassword:jt,stickedToBottom:O,clearAllRows:qi,resetAllFiltersAndFacets:pa,filterCorrelated:ju,correlationFilter:ye,resetCorrelationFilter:z0,tracesRows:Le,refeshFilterCorrelated:Tr,settingsDrawer:_e,drawer:Ze,openLogDrawer:pu,closeLogDrawer:Vt,layout:rt,rows:G,rowsIds:ie,clearRowIds:eo,displayRows:Hl,facets:ue,searchbar:re,searchbarValid:qa,searchClear:W0,toggleRowMark:zr,facetSort:lt,datepicker:o,datepickerLabel:Uu}}),agt=()=>{var r;(r=document.getElementById("app"))==null||r.classList.add("noselect"),document.addEventListener("mousemove",Ivt)},ogt=()=>{var r;(r=document.getElementById("app"))==null||r.classList.add("noselect"),document.addEventListener("mousemove",Rvt)},Npi=r=>{var i;(i=document.getElementById("app"))==null||i.classList.add("noselect");const e=new AbortController;document.addEventListener("mousemove",n=>{Ppi(r,n)},{signal:e.signal}),document.addEventListener("mouseup",()=>{e.abort(),DI.update("main",Th().layout)},{once:!0})},sgt=()=>{var r;(r=document.getElementById("app"))==null||r.classList.remove("noselect"),document.removeEventListener("mousemove",Ivt),document.removeEventListener("mousemove",Rvt),DI.update("main",Th().layout)},Ppi=(r,e)=>{let i=Th().layout.getColumn(r);if(i.width||(i.width=150),i.width+=e.movementX,i.width<=40){i.width=40;return}Th().layout.update(i)},Ivt=r=>{Th().layout.settings.leftColWidth+=r.movementX},Rvt=r=>{Th().layout.settings.drawerColWidth-=r.movementX};var QDe={d:(r,e)=>{for(var i in e)QDe.o(e,i)&&!QDe.o(r,i)&&Object.defineProperty(r,i,{enumerable:!0,get:e[i]})},o:(r,e)=>Object.prototype.hasOwnProperty.call(r,e)},Ovt={};function sje(r,e){(e==null||e>r.length)&&(e=r.length);for(var i=0,n=new Array(e);i{const r=ds(document.location.host.indexOf("demo.logdy.dev")>=0||!!Bhi(document.location.search,"demo_mode")),e=ds("started"),i=ds("json"),n=ds(""),a=ds(""),o=ds({from:0,to:0}),c=ds(""),h=ds(!1),g=ds("not connected"),_=ds("paused"),x=ds({LastDeliveredIdx:0,MessageCount:0,MessagesToTail:0}),y=ds(!1),S=ds(""),L=ds(""),O=ds(!1),G=ds([]),ie=ds({}),ue=ds({}),re=ds(""),_e=ds(!1),ye=ds(""),Le=ds({}),lt=ds("label"),Ue=ds(),Ze=ds({}),rt=ds(new yGe("main",{leftColWidth:300,drawerColWidth:900,maxMessages:1e3,middlewares:[],entriesOrder:"desc"}));let kt=null;const Zt=(ci,Oe=!0)=>{L.value=ci,Oe&&Upt.add({password:ci},"main")},jt=()=>{var ci;return L.value||(L.value=((ci=Upt.getOne("main"))==null?void 0:ci.password)||""),L.value},ui=(ci,Oe)=>{c.value=ci,h.value=!0,kt=Oe},ti=async ci=>{ci&&kt&&await kt(),kt=null,c.value="",h.value=!1},Uu=j6(()=>{if(o.value.from<=0&&o.value.to<=0)return"Set timeframe";let ci=lo(o.value.from*1e3),Oe=lo(o.value.to*1e3),eu=ci.format("MMM DD, HH:mmA"),Hi=ci.format("MMM DD, HH:mmA");return ci.format("DD-MM-YYYY")===Oe.format("DD-MM-YYYY")&&(eu=ci.format("MMM DD, HH:mmA"),Hi=Oe.format("HH:mmA")),o.value.to===0&&(Hi="now"),`${eu} - ${Hi}`}),pu=(ci,Oe=0)=>{if(Vt(),Oe!==0){for(let eu=0;eu<=Hl.value.length;eu++)if(Hl.value[eu].id===ci.id){ci=Hl.value[eu+Oe];break}}ci&&(ci.opened||(GT().changeFilter("read",1),GT().changeFilter("unread",-1)),ci.open=!0,ci.opened=!0,Ze.value.row=ci,ZT.update(ci.id,{id:ci.id,message:ci.msg,opened:!0,starred:ci.starred}))},Vt=()=>{Ze.value.row&&(Ze.value.row.open=!1,Ze.value.row.opened=!0,Ze.value.row=void 0)},zr=ci=>{ci.starred=!ci.starred,GT().changeFilter("starred",ci.starred?1:-1),ZT.update(ci.id,{id:ci.id,message:ci.msg,opened:ci.opened,starred:ci.starred})},Lu=new BroadcastChannel("tab-activity");setInterval(()=>{Lu.postMessage("ping")},5*1e3),Lu.addEventListener("message",ci=>{ci.data==="ping"&&Lu.postMessage("pong"),y.value||ui("We have detected Logdy opened in another tab. Currently we do not support multiple tabs",()=>{y.value=!1}),y.value=!0});const Va=j6(()=>_.value==="paused"?`Paused at entry #${LI(x.value.LastDeliveredIdx+1)} out of ${LI(x.value.MessageCount)} (${LI(x.value.MessageCount-x.value.LastDeliveredIdx-1)} not seen)`:_.value.includes("following")?`Following real-time out of ${LI(x==null?void 0:x.value.MessageCount)} entries`:"-"),ju=ci=>{ci.correlation_id&&(ye.value=ci.correlation_id,Tr())},Tr=()=>{if(!ye.value||Hl.value.length===0)return;let ci={},Oe=Hl.value[0].msg.timing&&Hl.value[0].msg.timing.start||0,eu=1;Hl.value.forEach(Hi=>{var Pr,$r,wa;Hi.msg.timing&&(ci[Hi.id]={id:Hi.id,offset:(Hi.msg.timing.start-Oe)/eu,width:(((Pr=Hi.msg.timing)==null?void 0:Pr.duration)||1)/eu,label:($r=Hi.msg.timing)==null?void 0:$r.label,style:((wa=Hi.msg.timing)==null?void 0:wa.style)||{}})}),Le.value=ci},pa=()=>{GT().resetToggles(),Fa()},z0=()=>{ye.value=""},Zr=async ci=>{switch(ci){case"following":await $S.resume(),_.value="following";break;case"following_cursor":await $S.resumeFromCursor(),_.value="following_cursor";break;case"paused":await $S.pause(),_.value="paused";break}},qi=()=>{G.value=[],ue.value={},ie.value={},GT().reset(),ZT.removeAll()},eo=()=>{ie.value={}},Fa=()=>{for(let ci in ue.value){let Oe=ue.value[ci];for(let eu in Oe.items)ue.value[Oe.name].items[eu].selected=!1}},W0=()=>{re.value=""},r0=j6(()=>G.value[0]&&G.value[0].msg.is_json==!0),qa=j6(()=>{if(r0.value)return a.value;try{return new RegExp(re.value,"i"),""}catch(ci){return ci.message}}),Hl=j6(()=>{if(qa.value.length>0)return[];const ci={};for(let _i in ue.value)ue.value[_i].items.forEach(ri=>{ri.selected&&(ci[_i]||(ci[_i]=[]),ci[_i].push(ri.label))});let Oe=GT().enabledFilters,eu=Oe.filter(_i=>_i.startsWith("origin_file_")).length>0,Hi=Oe.filter(_i=>_i.startsWith("origin_port_")).length>0,Pr=Oe.filter(_i=>_i.startsWith("origin_na")).length>0,$r=Oe.filter(_i=>_i.startsWith("origin_")).length>0,wa=G.value.filter(_i=>{let ri=_i.msg.ts/1e3;return!(o.value.from>0&&ri0&&ri>o.value.to)}).filter(_i=>{var Tt,pi,hi,cn,On,Dr;if(ye.value&&ye.value!=_i.msg.correlation_id)return!1;let ri=!0;if(Oe.length>0){if(Oe.includes("starred")&&!_i.starred||Oe.includes("read")&&!_i.opened||Oe.includes("unread")&&_i.opened)return!1;$r&&(eu&&((Tt=_i.msg.origin)!=null&&Tt.file)&&Oe.includes("origin_file_"+((pi=_i.msg.origin)==null?void 0:pi.file))||Hi&&((hi=_i.msg.origin)!=null&&hi.port)&&Oe.includes("origin_port_"+((cn=_i.msg.origin)==null?void 0:cn.port))||Pr&&!((On=_i.msg.origin)!=null&&On.file)&&!((Dr=_i.msg.origin)!=null&&Dr.port)&&Oe.includes("origin_na")?ri=!0:ri=!1)}if(!ri)return ri;if(Object.keys(ci).length===0)return!0;let fi={...ci},xt=Object.keys(fi).length;return _i.facets.forEach(Wr=>{fi[Wr.name]&&fi[Wr.name].includes(Wr.value)&&xt--}),xt===0}).filter(_i=>n.value.length>0||re.value.length<3?!0:(_i.msg.content||"").search(new RegExp(re.value,"i"))>=0);if(r0&&n.value.length>0){let _i=Lhi(wa.map(ri=>({data:ri.msg.json_content,raw:ri.msg.content,ts:ri.msg.ts,origin:ri.msg.origin})).filter(ri=>ri));return!_i.result||_i.result.length!=wa.length?wa:_i&&_i.error?(a.value=_i.error,wa):wa.filter((ri,fi)=>_i.result[fi])}return rt.value.settings.entriesOrder==="desc"?wa.reverse():wa});return _A(re,ci=>{if(!r0.value)return;if(a.value="",!ci.length){n.value="";return}let Oe=Thi(ci);if(Oe){a.value=Oe;return}n.value=ci}),{confirm:ui,confirmShow:h,confirmMsg:c,confirmProcess:ti,demoMode:r,demoStatus:e,demoContent:i,status:g,statusStr:Va,receiveStatus:_,receiveCounters:x,changeReceiveStatus:Zr,initSettings:Ue,anotherTab:y,modalShow:S,setPassword:Zt,getPassword:jt,stickedToBottom:O,clearAllRows:qi,resetAllFiltersAndFacets:pa,filterCorrelated:ju,correlationFilter:ye,resetCorrelationFilter:z0,tracesRows:Le,refeshFilterCorrelated:Tr,settingsDrawer:_e,drawer:Ze,openLogDrawer:pu,closeLogDrawer:Vt,layout:rt,rows:G,rowsIds:ie,clearRowIds:eo,displayRows:Hl,facets:ue,searchbar:re,searchbarValid:qa,searchClear:W0,toggleRowMark:zr,facetSort:lt,datepicker:o,datepickerLabel:Uu}}),agt=()=>{var r;(r=document.getElementById("app"))==null||r.classList.add("noselect"),document.addEventListener("mousemove",Ivt)},ogt=()=>{var r;(r=document.getElementById("app"))==null||r.classList.add("noselect"),document.addEventListener("mousemove",Rvt)},Npi=r=>{var i;(i=document.getElementById("app"))==null||i.classList.add("noselect");const e=new AbortController;document.addEventListener("mousemove",n=>{Ppi(r,n)},{signal:e.signal}),document.addEventListener("mouseup",()=>{e.abort(),DI.update("main",Th().layout)},{once:!0})},sgt=()=>{var r;(r=document.getElementById("app"))==null||r.classList.remove("noselect"),document.removeEventListener("mousemove",Ivt),document.removeEventListener("mousemove",Rvt),DI.update("main",Th().layout)},Ppi=(r,e)=>{let i=Th().layout.getColumn(r);if(i.width||(i.width=150),i.width+=e.movementX,i.width<=40){i.width=40;return}Th().layout.update(i)},Ivt=r=>{Th().layout.settings.leftColWidth+=r.movementX},Rvt=r=>{Th().layout.settings.drawerColWidth-=r.movementX};var QDe={d:(r,e)=>{for(var i in e)QDe.o(e,i)&&!QDe.o(r,i)&&Object.defineProperty(r,i,{enumerable:!0,get:e[i]})},o:(r,e)=>Object.prototype.hasOwnProperty.call(r,e)},Ovt={};function sje(r,e){(e==null||e>r.length)&&(e=r.length);for(var i=0,n=new Array(e);iOpi});const x0=(lgt={computed:()=>j6,createTextVNode:()=>P0,createVNode:()=>N0,defineComponent:()=>wp,reactive:()=>lae,ref:()=>ds,watch:()=>_A,watchEffect:()=>Sdi},fIe={},QDe.d(fIe,lgt),fIe),Mpi=(0,x0.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var r=this.data,e=this.onClick;return(0,x0.createVNode)("span",{class:"vjs-tree-brackets",onClick:e},[r])}}),zpi=(0,x0.defineComponent)({emits:["change","update:modelValue"],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(r,e){var i=e.emit;return{uiType:(0,x0.computed)(function(){return r.isMultiple?"checkbox":"radio"}),model:(0,x0.computed)({get:function(){return r.checked},set:function(n){return i("update:modelValue",n)}})}},render:function(){var r=this.uiType,e=this.model,i=this.$emit;return(0,x0.createVNode)("label",{class:["vjs-check-controller",e?"is-checked":""],onClick:function(n){return n.stopPropagation()}},[(0,x0.createVNode)("span",{class:"vjs-check-controller-inner is-".concat(r)},null),(0,x0.createVNode)("input",{checked:e,class:"vjs-check-controller-original is-".concat(r),type:r,onChange:function(){return i("change",e)}},null)])}}),Ipi=(0,x0.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var r=this.nodeType,e=this.onClick,i=r==="objectStart"||r==="arrayStart";return i||r==="objectCollapsed"||r==="arrayCollapsed"?(0,x0.createVNode)("span",{class:"vjs-carets vjs-carets-".concat(i?"open":"close"),onClick:e},[(0,x0.createVNode)("svg",{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"caret-down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[(0,x0.createVNode)("path",{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"},null)])]):null}});var lgt,fIe;function lje(r){return lje=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lje(r)}function Vvt(r){return Object.prototype.toString.call(r).slice(8,-1).toLowerCase()}function cI(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"root",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=arguments.length>3?arguments[3]:void 0,a=n||{},o=a.key,c=a.index,h=a.type,g=h===void 0?"content":h,_=a.showComma,x=_!==void 0&&_,y=a.length,S=y===void 0?1:y,L=Vvt(r);if(L==="array"){var O=cgt(r.map(function(ue,re,_e){return cI(ue,"".concat(e,"[").concat(re,"]"),i+1,{index:re,showComma:re!==_e.length-1,length:S,type:g})}));return[cI("[",e,i,{showComma:!1,key:o,length:r.length,type:"arrayStart"})[0]].concat(O,cI("]",e,i,{showComma:x,length:r.length,type:"arrayEnd"})[0])}if(L==="object"){var G=Object.keys(r),ie=cgt(G.map(function(ue,re,_e){return cI(r[ue],/^[a-zA-Z_]\w*$/.test(ue)?"".concat(e,".").concat(ue):"".concat(e,'["').concat(ue,'"]'),i+1,{key:ue,showComma:re!==_e.length-1,length:S,type:g})}));return[cI("{",e,i,{showComma:!1,key:o,index:c,length:G.length,type:"objectStart"})[0]].concat(ie,cI("}",e,i,{showComma:x,length:G.length,type:"objectEnd"})[0])}return[{content:r,level:i,key:o,index:c,path:e,showComma:x,length:S,type:g}]}function cgt(r){if(typeof Array.prototype.flat=="function")return r.flat();for(var e=XDe(r),i=[];e.length;){var n=e.shift();Array.isArray(n)?e.unshift.apply(e,XDe(n)):i.push(n)}return i}function cje(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(r==null)return r;if(r instanceof Date)return new Date(r);if(r instanceof RegExp)return new RegExp(r);if(lje(r)!=="object")return r;if(e.get(r))return e.get(r);if(Array.isArray(r)){var i=r.map(function(o){return cje(o,e)});return e.set(r,i),i}var n={};for(var a in r)n[a]=cje(r[a],e);return e.set(r,n),n}function dgt(r,e){var i=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),i.push.apply(i,n)}return i}function hgt(r){for(var e=1;e=_e||lt.length>=ye,rt=(Ue=r.pathCollapsible)===null||Ue===void 0?void 0:Ue.call(r,lt);return lt.type!=="objectStart"&<.type!=="arrayStart"||!Ze&&!rt?Le:P6(P6({},Le),{},e5e({},lt.path,1))},{})},h=(0,x0.reactive)({translateY:0,visibleData:null,hiddenPaths:c(r.deep,r.collapsedNodeLength)}),g=(0,x0.computed)(function(){for(var _e=null,ye=[],Le=o.value.length,lt=0;lt_e.length?_e.length-Le:Ue;Ze<0&&(Ze=0);var rt=Ze+Le;h.translateY=Ze*r.itemHeight,h.visibleData=_e.filter(function(kt,Zt){return Zt>=Ze&&Zt(D$("data-v-eaec25f1"),r=r(),x$(),r),jpi={class:"inner-drawer"},Vpi={class:"header"},Hpi={style:{"margin-right":"10px"}},Kpi=y$(()=>si("kbd",null,"Esc",-1)),Wpi=["disabled"],Gpi=y$(()=>si("hr",null,null,-1)),Jpi=y$(()=>si("h3",null,"Table columns",-1)),$pi=["onClick"],Upi={key:0},qpi={key:1},Zpi=y$(()=>si("h3",null,"Non-table fields",-1)),Ypi=["onClick"],Qpi={key:0},Xpi={key:1},egi=y$(()=>si("hr",null,null,-1)),tgi={key:0},igi={key:0},ngi={key:1,class:"raw"},ugi={key:2,class:"raw"},rgi={key:3,class:"raw"},agi={key:4,class:"raw"},ogi={key:5,class:"raw"},sgi=y$(()=>si("div",{style:{"margin-bottom":"80px"}},"   ",-1)),lgi=wp({__name:"Drawer",props:{row:{},layout:{}},emits:["close"],setup(r){const e=ds(!1),i=n=>{navigator.clipboard.writeText(n)};return(n,a)=>{var c,h,g,_,x,y,S,L;const o=d6e("tooltip");return n.row?(Mu(),vr("div",{key:0,class:"drawer",style:M3({width:wu(Th)().layout.settings.drawerColWidth+"px"})},[si("div",{class:"resize-handle",onMousedown:a[0]||(a[0]=(...O)=>wu(ogt)&&wu(ogt)(...O))},null,32),si("div",jpi,[si("div",Vpi,[si("div",Hpi,[N0(ihi),P0(" Next / "),N0(shi),P0(" Prev ")]),si("button",{onClick:a[1]||(a[1]=O=>n.$emit("close"))},[P0("Close "),Kpi])]),si("div",null,[si("button",{onClick:a[2]||(a[2]=O=>wu(Th)().filterCorrelated(n.row.msg)),disabled:!n.row.msg.correlation_id}," Display correlated lines ",8,Wpi),wu(Th)().correlationFilter?(Mu(),vr("button",{key:0,onClick:a[3]||(a[3]=O=>wu(Th)().resetCorrelationFilter()),style:{"margin-left":"5px"}}," Reset correlation filter ")):gl("",!0)]),Gpi,Jpi,(Mu(!0),vr(od,null,_y((c=n.layout)==null?void 0:c.columns.filter(O=>!O.hidden),(O,G)=>(Mu(),vr("div",null,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:ie=>i(n.row.cells[G].text)},[P0(Qc(O.name)+" ",1),N0(CT,{class:Zh("clipboard")})],8,$pi)),[[o,"Click to copy"]]),n.row.cells[G]&&!n.row.cells[G].isJson?(Mu(),vr("pre",Upi,Qc(n.row.cells[G].text),1)):(Mu(),vr("pre",qpi,[N0(wu(one),{theme:"dark",data:JSON.parse(n.row.cells[G].text)},null,8,["data"])]))]))),256)),Zpi,(Mu(!0),vr(od,null,_y((h=n.layout)==null?void 0:h.columns.filter(O=>O.hidden),(O,G)=>(Mu(),vr("div",null,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:ie=>i(n.row.fields[G].text)},[P0(Qc(O.name)+" ",1),N0(CT,{class:Zh("clipboard")})],8,Ypi)),[[o,"Click to copy"]]),n.row.fields[G].isJson?(Mu(),vr("pre",Xpi,[N0(wu(one),{theme:"dark",data:n.row.fields[G].text},null,8,["data"])])):(Mu(),vr("pre",Qpi,Qc(n.row.fields[G].text),1))]))),256)),egi,si("button",{onClick:a[4]||(a[4]=O=>e.value=!e.value)},"Show/hide raw message"),e.value?(Mu(),vr("div",tgi,[n.row.msg.is_json?(Mu(),vr("div",igi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[5]||(a[5]=O=>i(JSON.stringify(n.row.msg.json_content)))},[P0(" Raw message (JSON) "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[N0(wu(one),{theme:"dark",data:n.row.msg.json_content},null,8,["data"])])])):gl("",!0),n.row.msg.is_json?gl("",!0):(Mu(),vr("div",ngi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[6]||(a[6]=O=>i(n.row.msg.content))},[P0(" Raw message "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[si("code",null,Qc(n.row.msg.content),1)])])),n.row.msg.timing?(Mu(),vr("div",ugi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[7]||(a[7]=O=>i(JSON.stringify(n.row.msg.timing)))},[P0(" Timing "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[N0(wu(one),{theme:"dark",data:n.row.msg.timing},null,8,["data"])])])):gl("",!0),(g=n.row.msg.origin)!=null&&g.port?(Mu(),vr("div",rgi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[8]||(a[8]=O=>{var G;return i((G=n.row.msg.origin)==null?void 0:G.port)})},[P0(" Origin port "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[si("code",null,Qc((_=n.row.msg.origin)==null?void 0:_.port),1)])])):gl("",!0),(x=n.row.msg.origin)!=null&&x.api_source?(Mu(),vr("div",agi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[9]||(a[9]=O=>{var G;return i((G=n.row.msg.origin)==null?void 0:G.api_source)})},[P0(" Origin API "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[si("code",null,Qc((y=n.row.msg.origin)==null?void 0:y.api_source),1)])])):gl("",!0),(S=n.row.msg.origin)!=null&&S.file?(Mu(),vr("div",ogi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[10]||(a[10]=O=>{var G;return i((G=n.row.msg.origin)==null?void 0:G.file)})},[P0(" Origin filename "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[si("code",null,Qc((L=n.row.msg.origin)==null?void 0:L.file),1)])])):gl("",!0)])):gl("",!0),sgi])],4)):gl("",!0)}}}),cgi=I4(lgi,[["__scopeId","data-v-eaec25f1"]]);let dgi=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function hgi(r,e){let i;return e.length===0?i=r:i=r.replace(/\{(\d+)\}/g,(n,a)=>{const o=a[0],c=e[o];let h=n;return typeof c=="string"?h=c:(typeof c=="number"||typeof c=="boolean"||c===void 0||c===null)&&(h=String(c)),h}),dgi&&(i="["+i.replace(/[aouei]/g,"$&$&")+"]"),i}function V(r,e,...i){return hgi(e,i)}var mIe;const bG="en";let t5e=!1,i5e=!1,X3e=!1,Kvt=!1,$Ge=!1,UGe=!1,Wvt=!1,y_e,eDe=bG,mgt=bG,fgi,Ub;const VD=typeof self=="object"?self:typeof global=="object"?global:{};let B_;typeof VD.vscode<"u"&&typeof VD.vscode.process<"u"?B_=VD.vscode.process:typeof process<"u"&&(B_=process);const mgi=typeof((mIe=B_==null?void 0:B_.versions)===null||mIe===void 0?void 0:mIe.electron)=="string",pgi=mgi&&(B_==null?void 0:B_.type)==="renderer";if(typeof navigator=="object"&&!pgi)Ub=navigator.userAgent,t5e=Ub.indexOf("Windows")>=0,i5e=Ub.indexOf("Macintosh")>=0,UGe=(Ub.indexOf("Macintosh")>=0||Ub.indexOf("iPad")>=0||Ub.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,X3e=Ub.indexOf("Linux")>=0,Wvt=(Ub==null?void 0:Ub.indexOf("Mobi"))>=0,$Ge=!0,V({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),y_e=bG,eDe=y_e,mgt=navigator.language;else if(typeof B_=="object"){t5e=B_.platform==="win32",i5e=B_.platform==="darwin",X3e=B_.platform==="linux",X3e&&B_.env.SNAP&&B_.env.SNAP_REVISION,B_.env.CI||B_.env.BUILD_ARTIFACTSTAGINGDIRECTORY,y_e=bG,eDe=bG;const r=B_.env.VSCODE_NLS_CONFIG;if(r)try{const e=JSON.parse(r),i=e.availableLanguages["*"];y_e=e.locale,mgt=e.osLocale,eDe=i||bG,fgi=e._translationsConfigFile}catch{}Kvt=!0}else console.error("Unable to resolve platform.");const Fp=t5e,d0=i5e,sg=X3e,Dy=Kvt,aN=$Ge,ggi=$Ge&&typeof VD.importScripts=="function",SA=UGe,Egi=Wvt,BA=Ub,_gi=eDe,Dgi=typeof VD.postMessage=="function"&&!VD.importScripts,Gvt=(()=>{if(Dgi){const r=[];VD.addEventListener("message",i=>{if(i.data&&i.data.vscodeScheduleAsyncWork)for(let n=0,a=r.length;n{const n=++e;r.push({id:n,callback:i}),VD.postMessage({vscodeScheduleAsyncWork:n},"*")}}return r=>setTimeout(r)})(),rx=i5e||UGe?2:t5e?1:3;let pgt=!0,ggt=!1;function Jvt(){if(!ggt){ggt=!0;const r=new Uint8Array(2);r[0]=1,r[1]=2,pgt=new Uint16Array(r.buffer)[0]===513}return pgt}const $vt=!!(BA&&BA.indexOf("Chrome")>=0),xgi=!!(BA&&BA.indexOf("Firefox")>=0),vgi=!!(!$vt&&BA&&BA.indexOf("Safari")>=0),Cgi=!!(BA&&BA.indexOf("Edg/")>=0);BA&&BA.indexOf("Android")>=0;var V0;(function(r){function e(ue){return ue&&typeof ue=="object"&&typeof ue[Symbol.iterator]=="function"}r.is=e;const i=Object.freeze([]);function n(){return i}r.empty=n;function*a(ue){yield ue}r.single=a;function o(ue){return e(ue)?ue:a(ue)}r.wrap=o;function c(ue){return ue||i}r.from=c;function h(ue){return!ue||ue[Symbol.iterator]().next().done===!0}r.isEmpty=h;function g(ue){return ue[Symbol.iterator]().next().value}r.first=g;function _(ue,re){for(const _e of ue)if(re(_e))return!0;return!1}r.some=_;function x(ue,re){for(const _e of ue)if(re(_e))return _e}r.find=x;function*y(ue,re){for(const _e of ue)re(_e)&&(yield _e)}r.filter=y;function*S(ue,re){let _e=0;for(const ye of ue)yield re(ye,_e++)}r.map=S;function*L(...ue){for(const re of ue)for(const _e of re)yield _e}r.concat=L;function O(ue,re,_e){let ye=_e;for(const Le of ue)ye=re(ye,Le);return ye}r.reduce=O;function*G(ue,re,_e=ue.length){for(re<0&&(re+=ue.length),_e<0?_e+=ue.length:_e>ue.length&&(_e=ue.length);re<_e;re++)yield ue[re]}r.slice=G;function ie(ue,re=Number.POSITIVE_INFINITY){const _e=[];if(re===0)return[_e,ue];const ye=ue[Symbol.iterator]();for(let Le=0;Le{a||(a=!0,this._remove(n))}}shift(){if(this._first!==Qf.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Qf.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Qf.Undefined&&e.next!==Qf.Undefined){const i=e.prev;i.next=e.next,e.next.prev=i}else e.prev===Qf.Undefined&&e.next===Qf.Undefined?(this._first=Qf.Undefined,this._last=Qf.Undefined):e.next===Qf.Undefined?(this._last=this._last.prev,this._last.next=Qf.Undefined):e.prev===Qf.Undefined&&(this._first=this._first.next,this._first.prev=Qf.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Qf.Undefined;)yield e.element,e=e.next}}const Uvt="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function bgi(r=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const i of Uvt)r.indexOf(i)>=0||(e+="\\"+i);return e+="\\s]+)",new RegExp(e,"g")}const qGe=bgi();function qvt(r){let e=qGe;if(r&&r instanceof RegExp)if(r.global)e=r;else{let i="g";r.ignoreCase&&(i+="i"),r.multiline&&(i+="m"),r.unicode&&(i+="u"),e=new RegExp(r.source,i)}return e.lastIndex=0,e}const Zvt=new ug;Zvt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Pue(r,e,i,n,a){if(a||(a=V0.first(Zvt)),i.length>a.maxLen){let _=r-a.maxLen/2;return _<0?_=0:n+=_,i=i.substring(_,r+a.maxLen/2),Pue(r,e,i,n,a)}const o=Date.now(),c=r-1-n;let h=-1,g=null;for(let _=1;!(Date.now()-o>=a.timeBudget);_++){const x=c-a.windowSize*_;e.lastIndex=Math.max(0,x);const y=ygi(e,i,c,h);if(!y&&g||(g=y,x<=0))break;h=x}if(g){const _={word:g[0],startColumn:n+1+g.index,endColumn:n+1+g.index+g[0].length};return e.lastIndex=0,_}return null}function ygi(r,e,i,n){let a;for(;a=r.exec(e);){const o=a.index||0;if(o<=i&&r.lastIndex>=i)return a;if(n>0&&o>n)return null}return null}function M6(r,e=0){return r[r.length-(1+e)]}function kgi(r){if(r.length===0)throw new Error("Invalid tail call");return[r.slice(0,r.length-1),r[r.length-1]]}function rg(r,e,i=(n,a)=>n===a){if(r===e)return!0;if(!r||!e||r.length!==e.length)return!1;for(let n=0,a=r.length;ni(r[n],e))}function Agi(r,e){let i=0,n=r-1;for(;i<=n;){const a=(i+n)/2|0,o=e(a);if(o<0)i=a+1;else if(o>0)n=a-1;else return a}return-(i+1)}function Yvt(r,e){let i=0,n=r.length;if(n===0)return 0;for(;i=e.length)throw new TypeError("invalid index");const n=e[Math.floor(e.length*Math.random())],a=[],o=[],c=[];for(const h of e){const g=i(h,n);g<0?a.push(h):g>0?o.push(h):c.push(h)}return r!!e)}function _gt(r){let e=0;for(let i=0;i0}function jL(r,e=i=>i){const i=new Set;return r.filter(n=>{const a=e(n);return i.has(a)?!1:(i.add(a),!0)})}function Xvt(r,e){const i=Sgi(r,e);if(i!==-1)return r[i]}function Sgi(r,e){for(let i=r.length-1;i>=0;i--){const n=r[i];if(e(n))return i}return-1}function eCt(r,e){return r.length>0?r[0]:e}function A_(r,e){let i=typeof e=="number"?r:0;typeof e=="number"?i=r:(i=0,e=r);const n=[];if(i<=e)for(let a=i;ae;a--)n.push(a);return n}function B6e(r,e,i){const n=r.slice(0,e),a=r.slice(e);return n.concat(i,a)}function pIe(r,e){const i=r.indexOf(e);i>-1&&(r.splice(i,1),r.unshift(e))}function k_e(r,e){const i=r.indexOf(e);i>-1&&(r.splice(i,1),r.push(e))}function Dgt(r,e){for(const i of e)r.push(i)}function ZGe(r){return Array.isArray(r)?r:[r]}function Bgi(r,e,i){const n=tCt(r,e),a=r.length,o=i.length;r.length=a+o;for(let c=a-1;c>=n;c--)r[c+o]=r[c];for(let c=0;c0}r.isGreaterThan=i;function n(a){return a===0}r.isNeitherLessOrGreaterThan=n,r.greaterThan=1,r.lessThan=-1,r.neitherLessOrGreaterThan=0})(fje||(fje={}));function One(r,e){return(i,n)=>e(r(i),r(n))}const wgi=(r,e)=>r-e;function iCt(r,e){if(r.length===0)return;let i=r[0];for(let n=1;n0&&(i=a)}return i}function Tgi(r,e){if(r.length===0)return;let i=r[0];for(let n=1;n=0&&(i=a)}return i}function Lgi(r,e){return iCt(r,(i,n)=>-e(i,n))}class TJ{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let i=this.firstIdx;for(;i=0&&e(this.items[i]);)i--;const n=i===this.lastIdx?null:this.items.slice(i+1,this.lastIdx+1);return this.lastIdx=i,n}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const i=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,i}}class DA{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(i=>(e.push(i),!0)),e}filter(e){return new DA(i=>this.iterate(n=>e(n)?i(n):!0))}map(e){return new DA(i=>this.iterate(n=>i(e(n))))}findLast(e){let i;return this.iterate(n=>(e(n)&&(i=n),!0)),i}findLastMaxBy(e){let i,n=!0;return this.iterate(a=>((n||fje.isGreaterThan(e(a,i)))&&(n=!1,i=a),!0)),i}}DA.empty=new DA(r=>{});function M_(r){return typeof r=="string"}function O3(r){return typeof r=="object"&&r!==null&&!Array.isArray(r)&&!(r instanceof RegExp)&&!(r instanceof Date)}function Ngi(r){const e=Object.getPrototypeOf(Uint8Array);return typeof r=="object"&&r instanceof e}function VL(r){return typeof r=="number"&&!isNaN(r)}function vgt(r){return!!r&&typeof r[Symbol.iterator]=="function"}function nCt(r){return r===!0||r===!1}function RD(r){return typeof r>"u"}function Pgi(r){return!ix(r)}function ix(r){return RD(r)||r===null}function Fc(r,e){if(!r)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function yG(r){if(ix(r))throw new Error("Assertion Failed: argument is undefined or null");return r}function n5e(r){return typeof r=="function"}function Mgi(r,e){const i=Math.min(r.length,e.length);for(let n=0;n{e[i]=n&&typeof n=="object"?vS(n):n}),e}function Igi(r){if(!r||typeof r!="object")return r;const e=[r];for(;e.length>0;){const i=e.shift();Object.freeze(i);for(const n in i)if(uCt.call(i,n)){const a=i[n];typeof a=="object"&&!Object.isFrozen(a)&&!Ngi(a)&&e.push(a)}}return r}const uCt=Object.prototype.hasOwnProperty;function rCt(r,e){return mje(r,e,new Set)}function mje(r,e,i){if(ix(r))return r;const n=e(r);if(typeof n<"u")return n;if(Array.isArray(r)){const a=[];for(const o of r)a.push(mje(o,e,i));return a}if(O3(r)){if(i.has(r))throw new Error("Cannot clone recursive data-structure");i.add(r);const a={};for(const o in r)uCt.call(r,o)&&(a[o]=mje(r[o],e,i));return i.delete(r),a}return r}function pae(r,e,i=!0){return O3(r)?(O3(e)&&Object.keys(e).forEach(n=>{n in r?i&&(O3(r[n])&&O3(e[n])?pae(r[n],e[n],i):r[n]=e[n]):r[n]=e[n]}),r):e}function cx(r,e){if(r===e)return!0;if(r==null||e===null||e===void 0||typeof r!=typeof e||typeof r!="object"||Array.isArray(r)!==Array.isArray(e))return!1;let i,n;if(Array.isArray(r)){if(r.length!==e.length)return!1;for(i=0;ifunction(){const o=Array.prototype.slice.call(arguments,0);return e(a,o)},n={};for(const a of r)n[a]=i(a);return n}const Og={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}},NT=8;class aCt{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class oCt{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class Nh{constructor(e,i,n,a){this.id=e,this.name=i,this.defaultValue=n,this.schema=a}applyUpdate(e,i){return w6e(e,i)}compute(e,i,n){return n}}class jne{constructor(e,i){this.newValue=e,this.didChange=i}}function w6e(r,e){if(typeof r!="object"||typeof e!="object"||!r||!e)return new jne(e,r!==e);if(Array.isArray(r)||Array.isArray(e)){const n=Array.isArray(r)&&Array.isArray(e)&&rg(r,e);return new jne(e,!n)}let i=!1;for(const n in e)if(e.hasOwnProperty(n)){const a=w6e(r[n],e[n]);a.didChange&&(r[n]=a.newValue,i=!0)}return new jne(r,i)}class gae{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,i){return w6e(e,i)}validate(e){return this.defaultValue}}class F${constructor(e,i,n,a){this.id=e,this.name=i,this.defaultValue=n,this.schema=a}applyUpdate(e,i){return w6e(e,i)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,i,n){return n}}function Do(r,e){return typeof r>"u"?e:r==="false"?!1:!!r}class pl extends F${constructor(e,i,n,a=void 0){typeof a<"u"&&(a.type="boolean",a.default=n),super(e,i,n,a)}validate(e){return Do(e,this.defaultValue)}}function pje(r,e,i,n){if(typeof r>"u")return e;let a=parseInt(r,10);return isNaN(a)?e:(a=Math.max(i,a),a=Math.min(n,a),a|0)}class gd extends F${static clampedInt(e,i,n,a){return pje(e,i,n,a)}constructor(e,i,n,a,o,c=void 0){typeof c<"u"&&(c.type="integer",c.default=n,c.minimum=a,c.maximum=o),super(e,i,n,c),this.minimum=a,this.maximum=o}validate(e){return gd.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class lA extends F${static clamp(e,i,n){return en?n:e}static float(e,i){if(typeof e=="number")return e;if(typeof e>"u")return i;const n=parseFloat(e);return isNaN(n)?i:n}constructor(e,i,n,a,o){typeof o<"u"&&(o.type="number",o.default=n),super(e,i,n,o),this.validationFn=a}validate(e){return this.validationFn(lA.float(e,this.defaultValue))}}class MD extends F${static string(e,i){return typeof e!="string"?i:e}constructor(e,i,n,a=void 0){typeof a<"u"&&(a.type="string",a.default=n),super(e,i,n,a)}validate(e){return MD.string(e,this.defaultValue)}}function im(r,e,i){return typeof r!="string"||i.indexOf(r)===-1?e:r}class ff extends F${constructor(e,i,n,a,o=void 0){typeof o<"u"&&(o.type="string",o.enum=a,o.default=n),super(e,i,n,o),this._allowedValues=a}validate(e){return im(e,this.defaultValue,this._allowedValues)}}class F_e extends Nh{constructor(e,i,n,a,o,c,h=void 0){typeof h<"u"&&(h.type="string",h.enum=o,h.default=a),super(e,i,n,h),this._allowedValues=o,this._convert=c}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function jgi(r){switch(r){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class Vgi extends Nh{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[V("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached"),V("accessibilitySupport.on","Optimize for usage with a Screen Reader"),V("accessibilitySupport.off","Assume a screen reader is not attached")],default:"auto",tags:["accessibility"],description:V("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,i,n){return n===0?e.accessibilitySupport:n}}class Hgi extends Nh{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(21,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:V("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:V("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{insertSpace:Do(i.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:Do(i.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function Kgi(r){switch(r){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var xp;(function(r){r[r.Line=1]="Line",r[r.Block=2]="Block",r[r.Underline=3]="Underline",r[r.LineThin=4]="LineThin",r[r.BlockOutline=5]="BlockOutline",r[r.UnderlineThin=6]="UnderlineThin"})(xp||(xp={}));function Wgi(r){switch(r){case"line":return xp.Line;case"block":return xp.Block;case"underline":return xp.Underline;case"line-thin":return xp.LineThin;case"block-outline":return xp.BlockOutline;case"underline-thin":return xp.UnderlineThin}}class Ggi extends gae{constructor(){super(136)}compute(e,i,n){const a=["monaco-editor"];return i.get(37)&&a.push(i.get(37)),e.extraEditorClassName&&a.push(e.extraEditorClassName),i.get(71)==="default"?a.push("mouse-default"):i.get(71)==="copy"&&a.push("mouse-copy"),i.get(106)&&a.push("showUnused"),i.get(134)&&a.push("showDeprecated"),a.join(" ")}}class Jgi extends pl{constructor(){super(35,"emptySelectionClipboard",!0,{description:V("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,i,n){return n&&e.emptySelectionClipboard}}class $gi extends Nh{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(39,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:V("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[V("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),V("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),V("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:V("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[V("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),V("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),V("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:V("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:V("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:d0},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:V("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:V("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{cursorMoveOnType:Do(i.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":im(i.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":im(i.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:Do(i.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:Do(i.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:Do(i.loop,this.defaultValue.loop)}}}class nx extends Nh{constructor(){super(49,"fontLigatures",nx.OFF,{anyOf:[{type:"boolean",description:V("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:V("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:V("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?nx.OFF:e==="true"?nx.ON:e:e?nx.ON:nx.OFF}}nx.OFF='"liga" off, "calt" off';nx.ON='"liga" on, "calt" on';class ay extends Nh{constructor(){super(52,"fontVariations",ay.OFF,{anyOf:[{type:"boolean",description:V("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:V("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:V("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?ay.OFF:e==="true"?ay.TRANSLATE:e:e?ay.TRANSLATE:ay.OFF}compute(e,i,n){return e.fontInfo.fontVariationSettings}}ay.OFF="normal";ay.TRANSLATE="translate";class Ugi extends gae{constructor(){super(48)}compute(e,i,n){return e.fontInfo}}class qgi extends F${constructor(){super(50,"fontSize",HD.fontSize,{type:"number",minimum:6,maximum:100,default:HD.fontSize,description:V("fontSize","Controls the font size in pixels.")})}validate(e){const i=lA.float(e,this.defaultValue);return i===0?HD.fontSize:lA.clamp(i,6,100)}compute(e,i,n){return e.fontInfo.fontSize}}class tA extends Nh{constructor(){super(51,"fontWeight",HD.fontWeight,{anyOf:[{type:"number",minimum:tA.MINIMUM_VALUE,maximum:tA.MAXIMUM_VALUE,errorMessage:V("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:tA.SUGGESTION_VALUES}],default:HD.fontWeight,description:V("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(gd.clampedInt(e,HD.fontWeight,tA.MINIMUM_VALUE,tA.MAXIMUM_VALUE))}}tA.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];tA.MINIMUM_VALUE=1;tA.MAXIMUM_VALUE=1e3;class Zgi extends Nh{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},i={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[V("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),V("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),V("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},n=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(56,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:V("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:V("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:V("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleDeclarations":Object.assign({description:V("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleImplementations":Object.assign({description:V("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleReferences":Object.assign({description:V("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},i),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:n,description:V("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:n,description:V("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:n,description:V("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:n,description:V("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:n,description:V("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var i,n,a,o,c;if(!e||typeof e!="object")return this.defaultValue;const h=e;return{multiple:im(h.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(i=h.multipleDefinitions)!==null&&i!==void 0?i:im(h.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(n=h.multipleTypeDefinitions)!==null&&n!==void 0?n:im(h.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(a=h.multipleDeclarations)!==null&&a!==void 0?a:im(h.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(o=h.multipleImplementations)!==null&&o!==void 0?o:im(h.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(c=h.multipleReferences)!==null&&c!==void 0?c:im(h.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:MD.string(h.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:MD.string(h.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:MD.string(h.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:MD.string(h.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:MD.string(h.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class Ygi extends Nh{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(58,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:V("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:V("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:V("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:V("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:Do(i.enabled,this.defaultValue.enabled),delay:gd.clampedInt(i.delay,this.defaultValue.delay,0,1e4),sticky:Do(i.sticky,this.defaultValue.sticky),above:Do(i.above,this.defaultValue.above)}}}class tJ extends gae{constructor(){super(139)}compute(e,i,n){return tJ.computeLayout(i,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const i=e.height/e.lineHeight,n=Math.floor(e.paddingTop/e.lineHeight);let a=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(a=Math.max(a,i-1));const o=(n+e.viewLineCount+a)/(e.pixelRatio*e.height),c=Math.floor(e.viewLineCount/o);return{typicalViewportLineCount:i,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:a,desiredRatio:o,minimapLineCount:c}}static _computeMinimapLayout(e,i){const n=e.outerWidth,a=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*a),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:a};const c=i.stableMinimapLayoutInput,h=c&&e.outerHeight===c.outerHeight&&e.lineHeight===c.lineHeight&&e.typicalHalfwidthCharacterWidth===c.typicalHalfwidthCharacterWidth&&e.pixelRatio===c.pixelRatio&&e.scrollBeyondLastLine===c.scrollBeyondLastLine&&e.paddingTop===c.paddingTop&&e.paddingBottom===c.paddingBottom&&e.minimap.enabled===c.minimap.enabled&&e.minimap.side===c.minimap.side&&e.minimap.size===c.minimap.size&&e.minimap.showSlider===c.minimap.showSlider&&e.minimap.renderCharacters===c.minimap.renderCharacters&&e.minimap.maxColumn===c.minimap.maxColumn&&e.minimap.scale===c.minimap.scale&&e.verticalScrollbarWidth===c.verticalScrollbarWidth&&e.isViewportWrapping===c.isViewportWrapping,g=e.lineHeight,_=e.typicalHalfwidthCharacterWidth,x=e.scrollBeyondLastLine,y=e.minimap.renderCharacters;let S=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const L=e.minimap.maxColumn,O=e.minimap.size,G=e.minimap.side,ie=e.verticalScrollbarWidth,ue=e.viewLineCount,re=e.remainingWidth,_e=e.isViewportWrapping,ye=y?2:3;let Le=Math.floor(o*a);const lt=Le/o;let Ue=!1,Ze=!1,rt=ye*S,kt=S/o,Zt=1;if(O==="fill"||O==="fit"){const{typicalViewportLineCount:zr,extraLinesBeforeFirstLine:Lu,extraLinesBeyondLastLine:Va,desiredRatio:ju,minimapLineCount:Tr}=tJ.computeContainedMinimapLineCount({viewLineCount:ue,scrollBeyondLastLine:x,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:a,lineHeight:g,pixelRatio:o});if(ue/Tr>1)Ue=!0,Ze=!0,S=1,rt=1,kt=S/o;else{let z0=!1,ra=S+1;if(O==="fit"){const qi=Math.ceil((Lu+ue+Va)*rt);_e&&h&&re<=i.stableFitRemainingWidth?(z0=!0,ra=i.stableFitMaxMinimapScale):z0=qi>Le}if(O==="fill"||z0){Ue=!0;const qi=S;rt=Math.min(g*o,Math.max(1,Math.floor(1/ju))),_e&&h&&re<=i.stableFitRemainingWidth&&(ra=i.stableFitMaxMinimapScale),S=Math.min(ra,Math.max(1,Math.floor(rt/ye))),S>qi&&(Zt=Math.min(2,S/qi)),kt=S/o/Zt,Le=Math.ceil(Math.max(zr,Lu+ue+Va)*rt),_e?(i.stableMinimapLayoutInput=e,i.stableFitRemainingWidth=re,i.stableFitMaxMinimapScale=S):(i.stableMinimapLayoutInput=null,i.stableFitRemainingWidth=0)}}}const jt=Math.floor(L*kt),ui=Math.min(jt,Math.max(0,Math.floor((re-ie-2)*kt/(_+kt)))+NT);let ti=Math.floor(o*ui);const Uu=ti/o;ti=Math.floor(ti*Zt);const pu=y?1:2,Vt=G==="left"?0:n-ui-ie;return{renderMinimap:pu,minimapLeft:Vt,minimapWidth:ui,minimapHeightIsEditorHeight:Ue,minimapIsSampling:Ze,minimapScale:S,minimapLineHeight:rt,minimapCanvasInnerWidth:ti,minimapCanvasInnerHeight:Le,minimapCanvasOuterWidth:Uu,minimapCanvasOuterHeight:lt}}static computeLayout(e,i){const n=i.outerWidth|0,a=i.outerHeight|0,o=i.lineHeight|0,c=i.lineNumbersDigitCount|0,h=i.typicalHalfwidthCharacterWidth,g=i.maxDigitWidth,_=i.pixelRatio,x=i.viewLineCount,y=e.get(131),S=y==="inherit"?e.get(130):y,L=S==="inherit"?e.get(126):S,O=e.get(129),G=i.isDominatedByLongLines,ie=e.get(55),ue=e.get(65).renderType!==0,re=e.get(66),_e=e.get(100),ye=e.get(81),Le=e.get(70),lt=e.get(98),Ue=lt.verticalScrollbarSize,Ze=lt.verticalHasArrows,rt=lt.arrowSize,kt=lt.horizontalScrollbarSize,Zt=e.get(41),jt=e.get(105)!=="never";let ui=e.get(63);Zt&&jt&&(ui+=16);let ti=0;if(ue){const Fa=Math.max(c,re);ti=Math.round(Fa*g)}let Uu=0;ie&&(Uu=o);let pu=0,Vt=pu+Uu,zr=Vt+ti,Lu=zr+ui;const Va=n-Uu-ti-ui;let ju=!1,Tr=!1,pa=-1;S==="inherit"&&G?(ju=!0,Tr=!0):L==="on"||L==="bounded"?Tr=!0:L==="wordWrapColumn"&&(pa=O);const z0=tJ._computeMinimapLayout({outerWidth:n,outerHeight:a,lineHeight:o,typicalHalfwidthCharacterWidth:h,pixelRatio:_,scrollBeyondLastLine:_e,paddingTop:ye.top,paddingBottom:ye.bottom,minimap:Le,verticalScrollbarWidth:Ue,viewLineCount:x,remainingWidth:Va,isViewportWrapping:Tr},i.memory||new oCt);z0.renderMinimap!==0&&z0.minimapLeft===0&&(pu+=z0.minimapWidth,Vt+=z0.minimapWidth,zr+=z0.minimapWidth,Lu+=z0.minimapWidth);const ra=Va-z0.minimapWidth,qi=Math.max(1,Math.floor((ra-Ue-2)/h)),eo=Ze?rt:0;return Tr&&(pa=Math.max(1,qi),L==="bounded"&&(pa=Math.min(pa,O))),{width:n,height:a,glyphMarginLeft:pu,glyphMarginWidth:Uu,lineNumbersLeft:Vt,lineNumbersWidth:ti,decorationsLeft:zr,decorationsWidth:ui,contentLeft:Lu,contentWidth:ra,minimap:z0,viewportColumn:qi,isWordWrapMinified:ju,isViewportWrapping:Tr,wrappingColumn:pa,verticalScrollbarWidth:Ue,horizontalScrollbarHeight:kt,overviewRuler:{top:eo,width:Ue,height:a-2*eo,right:0}}}}class Qgi extends Nh{constructor(){super(133,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[V("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),V("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:V("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return im(e,"simple",["simple","advanced"])}compute(e,i,n){return i.get(2)===2?"advanced":n}}class Xgi extends Nh{constructor(){const e={enabled:!0};super(62,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:V("codeActions","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:Do(e.enabled,this.defaultValue.enabled)}}}class eEi extends Nh{constructor(){const e={enabled:!1,maxLineCount:5,defaultModel:"outlineModel"};super(110,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:V("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor.")},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:10,description:V("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:V("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:Do(i.enabled,this.defaultValue.enabled),maxLineCount:gd.clampedInt(i.maxLineCount,this.defaultValue.maxLineCount,1,10),defaultModel:im(i.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"])}}}class tEi extends Nh{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(135,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:V("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[V("editor.inlayHints.on","Inlay hints are enabled"),V("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",d0?"Ctrl+Option":"Ctrl+Alt"),V("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",d0?"Ctrl+Option":"Ctrl+Alt"),V("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:V("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:V("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:V("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return typeof i.enabled=="boolean"&&(i.enabled=i.enabled?"on":"off"),{enabled:im(i.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:gd.clampedInt(i.fontSize,this.defaultValue.fontSize,0,100),fontFamily:MD.string(i.fontFamily,this.defaultValue.fontFamily),padding:Do(i.padding,this.defaultValue.padding)}}}class iEi extends Nh{constructor(){super(63,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):gd.clampedInt(e,this.defaultValue,0,1e3)}compute(e,i,n){return n<0?gd.clampedInt(-n*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):n}}class nEi extends lA{constructor(){super(64,"lineHeight",HD.lineHeight,e=>lA.clamp(e,0,150),{markdownDescription:V("lineHeight",`Controls the line height. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],Zt=lt;i("update:selectedValue",Zt),i("selectedChange",Zt,kt)}},O=function(_e){i("nodeClick",_e)},G=function(_e,ye){if(_e)h.hiddenPaths=P6(P6({},h.hiddenPaths),{},e5e({},ye,1));else{var Le=P6({},h.hiddenPaths);delete Le[ye],h.hiddenPaths=Le}},ie=function(_e,ye){r.collapsedOnClickBrackets&&G(_e,ye.path),i("bracketsClick",_e,ye)},ue=function(_e,ye){G(_e,ye.path),i("iconClick",_e,ye)},re=function(_e,ye){var Le=cje(r.data),lt=r.rootPath;new Function("data","val","data".concat(ye.slice(lt.length),"=val"))(Le,_e),i("update:data",Le)};return(0,x0.watchEffect)(function(){x.value&&function(_e){throw new Error("[VueJSONPretty] ".concat(_e))}(x.value)}),(0,x0.watchEffect)(function(){g.value&&y()}),(0,x0.watch)(function(){return r.deep},function(_e){_e&&(h.hiddenPaths=c(_e,r.collapsedNodeLength))}),(0,x0.watch)(function(){return r.collapsedNodeLength},function(_e){_e&&(h.hiddenPaths=c(r.deep,_e))}),function(){var _e,ye,Le=(_e=r.renderNodeKey)!==null&&_e!==void 0?_e:n.renderNodeKey,lt=(ye=r.renderNodeValue)!==null&&ye!==void 0?ye:n.renderNodeValue,Ue=h.visibleData&&h.visibleData.map(function(Ze){return(0,x0.createVNode)(Rpi,{key:Ze.id,node:Ze,collapsed:!!h.hiddenPaths[Ze.path],theme:r.theme,showDoubleQuotes:r.showDoubleQuotes,showLength:r.showLength,checked:_.value.includes(Ze.path),selectableType:r.selectableType,showLine:r.showLine,showLineNumber:r.showLineNumber,showSelectController:r.showSelectController,selectOnClickNode:r.selectOnClickNode,nodeSelectable:r.nodeSelectable,highlightSelectedNode:r.highlightSelectedNode,editable:r.editable,editableTrigger:r.editableTrigger,showIcon:r.showIcon,showKeyValueSpace:r.showKeyValueSpace,renderNodeKey:Le,renderNodeValue:lt,onNodeClick:O,onBracketsClick:ie,onIconClick:ue,onSelectedChange:L,onValueChange:re,style:r.itemHeight&&r.itemHeight!==20?{lineHeight:"".concat(r.itemHeight,"px")}:{}},null)});return(0,x0.createVNode)("div",{ref:a,class:{"vjs-tree":!0,"is-virtual":r.virtual,dark:r.theme==="dark"},onScroll:r.virtual?S:void 0,style:r.showLineNumber?P6({paddingLeft:"".concat(12*Number(o.value.length.toString().length),"px")},r.style):r.style},[r.virtual?(0,x0.createVNode)("div",{class:"vjs-tree-list",style:{height:"".concat(r.height,"px")}},[(0,x0.createVNode)("div",{class:"vjs-tree-list-holder",style:{height:"".concat(g.value.length*r.itemHeight,"px")}},[(0,x0.createVNode)("div",{class:"vjs-tree-list-holder-inner",style:{transform:"translateY(".concat(h.translateY,"px)")}},[Ue])])]):Ue])}}});var one=Ovt.Z;const y$=r=>(D$("data-v-eaec25f1"),r=r(),x$(),r),jpi={class:"inner-drawer"},Vpi={class:"header"},Hpi={style:{"margin-right":"10px"}},Kpi=y$(()=>si("kbd",null,"Esc",-1)),Wpi=["disabled"],Gpi=y$(()=>si("hr",null,null,-1)),Jpi=y$(()=>si("h3",null,"Table columns",-1)),$pi=["onClick"],Upi={key:0},qpi={key:1},Zpi=y$(()=>si("h3",null,"Non-table fields",-1)),Ypi=["onClick"],Qpi={key:0},Xpi={key:1},egi=y$(()=>si("hr",null,null,-1)),tgi={key:0},igi={key:0},ngi={key:1,class:"raw"},ugi={key:2,class:"raw"},rgi={key:3,class:"raw"},agi={key:4,class:"raw"},ogi={key:5,class:"raw"},sgi=y$(()=>si("div",{style:{"margin-bottom":"80px"}},"   ",-1)),lgi=wp({__name:"Drawer",props:{row:{},layout:{}},emits:["close"],setup(r){const e=ds(!1),i=n=>{navigator.clipboard.writeText(n)};return(n,a)=>{var c,h,g,_,x,y,S,L;const o=d6e("tooltip");return n.row?(Mu(),vr("div",{key:0,class:"drawer",style:M3({width:wu(Th)().layout.settings.drawerColWidth+"px"})},[si("div",{class:"resize-handle",onMousedown:a[0]||(a[0]=(...O)=>wu(ogt)&&wu(ogt)(...O))},null,32),si("div",jpi,[si("div",Vpi,[si("div",Hpi,[N0(ihi),P0(" Next / "),N0(shi),P0(" Prev ")]),si("button",{onClick:a[1]||(a[1]=O=>n.$emit("close"))},[P0("Close "),Kpi])]),si("div",null,[si("button",{onClick:a[2]||(a[2]=O=>wu(Th)().filterCorrelated(n.row.msg)),disabled:!n.row.msg.correlation_id}," Display correlated lines ",8,Wpi),wu(Th)().correlationFilter?(Mu(),vr("button",{key:0,onClick:a[3]||(a[3]=O=>wu(Th)().resetCorrelationFilter()),style:{"margin-left":"5px"}}," Reset correlation filter ")):gl("",!0)]),Gpi,Jpi,(Mu(!0),vr(od,null,_y((c=n.layout)==null?void 0:c.columns.filter(O=>!O.hidden),(O,G)=>(Mu(),vr("div",null,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:ie=>i(n.row.cells[G].text)},[P0(Qc(O.name)+" ",1),N0(CT,{class:Zh("clipboard")})],8,$pi)),[[o,"Click to copy"]]),n.row.cells[G]&&!n.row.cells[G].isJson?(Mu(),vr("pre",Upi,Qc(n.row.cells[G].text),1)):(Mu(),vr("pre",qpi,[N0(wu(one),{theme:"dark",data:JSON.parse(n.row.cells[G].text)},null,8,["data"])]))]))),256)),Zpi,(Mu(!0),vr(od,null,_y((h=n.layout)==null?void 0:h.columns.filter(O=>O.hidden),(O,G)=>(Mu(),vr("div",null,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:ie=>i(n.row.fields[G].text)},[P0(Qc(O.name)+" ",1),N0(CT,{class:Zh("clipboard")})],8,Ypi)),[[o,"Click to copy"]]),n.row.fields[G].isJson?(Mu(),vr("pre",Xpi,[N0(wu(one),{theme:"dark",data:n.row.fields[G].text},null,8,["data"])])):(Mu(),vr("pre",Qpi,Qc(n.row.fields[G].text),1))]))),256)),egi,si("button",{onClick:a[4]||(a[4]=O=>e.value=!e.value)},"Show/hide raw message"),e.value?(Mu(),vr("div",tgi,[n.row.msg.is_json?(Mu(),vr("div",igi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[5]||(a[5]=O=>i(JSON.stringify(n.row.msg.json_content)))},[P0(" Raw message (JSON) "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[N0(wu(one),{theme:"dark",data:n.row.msg.json_content},null,8,["data"])])])):gl("",!0),n.row.msg.is_json?gl("",!0):(Mu(),vr("div",ngi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[6]||(a[6]=O=>i(n.row.msg.content))},[P0(" Raw message "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[si("code",null,Qc(n.row.msg.content),1)])])),n.row.msg.timing?(Mu(),vr("div",ugi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[7]||(a[7]=O=>i(JSON.stringify(n.row.msg.timing)))},[P0(" Timing "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[N0(wu(one),{theme:"dark",data:n.row.msg.timing},null,8,["data"])])])):gl("",!0),(g=n.row.msg.origin)!=null&&g.port?(Mu(),vr("div",rgi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[8]||(a[8]=O=>{var G;return i((G=n.row.msg.origin)==null?void 0:G.port)})},[P0(" Origin port "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[si("code",null,Qc((_=n.row.msg.origin)==null?void 0:_.port),1)])])):gl("",!0),(x=n.row.msg.origin)!=null&&x.api_source?(Mu(),vr("div",agi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[9]||(a[9]=O=>{var G;return i((G=n.row.msg.origin)==null?void 0:G.api_source)})},[P0(" Origin API "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[si("code",null,Qc((y=n.row.msg.origin)==null?void 0:y.api_source),1)])])):gl("",!0),(S=n.row.msg.origin)!=null&&S.file?(Mu(),vr("div",ogi,[Nd((Mu(),vr("h4",{style:{display:"inline"},onClick:a[10]||(a[10]=O=>{var G;return i((G=n.row.msg.origin)==null?void 0:G.file)})},[P0(" Origin filename "),N0(CT,{class:Zh("clipboard")})])),[[o,"Click to copy"]]),si("pre",null,[si("code",null,Qc((L=n.row.msg.origin)==null?void 0:L.file),1)])])):gl("",!0)])):gl("",!0),sgi])],4)):gl("",!0)}}}),cgi=I4(lgi,[["__scopeId","data-v-eaec25f1"]]);let dgi=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function hgi(r,e){let i;return e.length===0?i=r:i=r.replace(/\{(\d+)\}/g,(n,a)=>{const o=a[0],c=e[o];let h=n;return typeof c=="string"?h=c:(typeof c=="number"||typeof c=="boolean"||c===void 0||c===null)&&(h=String(c)),h}),dgi&&(i="["+i.replace(/[aouei]/g,"$&$&")+"]"),i}function V(r,e,...i){return hgi(e,i)}var mIe;const bG="en";let t5e=!1,i5e=!1,X3e=!1,Kvt=!1,$Ge=!1,UGe=!1,Wvt=!1,y_e,eDe=bG,mgt=bG,fgi,Ub;const VD=typeof self=="object"?self:typeof global=="object"?global:{};let B_;typeof VD.vscode<"u"&&typeof VD.vscode.process<"u"?B_=VD.vscode.process:typeof process<"u"&&(B_=process);const mgi=typeof((mIe=B_==null?void 0:B_.versions)===null||mIe===void 0?void 0:mIe.electron)=="string",pgi=mgi&&(B_==null?void 0:B_.type)==="renderer";if(typeof navigator=="object"&&!pgi)Ub=navigator.userAgent,t5e=Ub.indexOf("Windows")>=0,i5e=Ub.indexOf("Macintosh")>=0,UGe=(Ub.indexOf("Macintosh")>=0||Ub.indexOf("iPad")>=0||Ub.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,X3e=Ub.indexOf("Linux")>=0,Wvt=(Ub==null?void 0:Ub.indexOf("Mobi"))>=0,$Ge=!0,V({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),y_e=bG,eDe=y_e,mgt=navigator.language;else if(typeof B_=="object"){t5e=B_.platform==="win32",i5e=B_.platform==="darwin",X3e=B_.platform==="linux",X3e&&B_.env.SNAP&&B_.env.SNAP_REVISION,B_.env.CI||B_.env.BUILD_ARTIFACTSTAGINGDIRECTORY,y_e=bG,eDe=bG;const r=B_.env.VSCODE_NLS_CONFIG;if(r)try{const e=JSON.parse(r),i=e.availableLanguages["*"];y_e=e.locale,mgt=e.osLocale,eDe=i||bG,fgi=e._translationsConfigFile}catch{}Kvt=!0}else console.error("Unable to resolve platform.");const Fp=t5e,d0=i5e,sg=X3e,Dy=Kvt,aN=$Ge,ggi=$Ge&&typeof VD.importScripts=="function",SA=UGe,Egi=Wvt,BA=Ub,_gi=eDe,Dgi=typeof VD.postMessage=="function"&&!VD.importScripts,Gvt=(()=>{if(Dgi){const r=[];VD.addEventListener("message",i=>{if(i.data&&i.data.vscodeScheduleAsyncWork)for(let n=0,a=r.length;n{const n=++e;r.push({id:n,callback:i}),VD.postMessage({vscodeScheduleAsyncWork:n},"*")}}return r=>setTimeout(r)})(),rx=i5e||UGe?2:t5e?1:3;let pgt=!0,ggt=!1;function Jvt(){if(!ggt){ggt=!0;const r=new Uint8Array(2);r[0]=1,r[1]=2,pgt=new Uint16Array(r.buffer)[0]===513}return pgt}const $vt=!!(BA&&BA.indexOf("Chrome")>=0),xgi=!!(BA&&BA.indexOf("Firefox")>=0),vgi=!!(!$vt&&BA&&BA.indexOf("Safari")>=0),Cgi=!!(BA&&BA.indexOf("Edg/")>=0);BA&&BA.indexOf("Android")>=0;var V0;(function(r){function e(ue){return ue&&typeof ue=="object"&&typeof ue[Symbol.iterator]=="function"}r.is=e;const i=Object.freeze([]);function n(){return i}r.empty=n;function*a(ue){yield ue}r.single=a;function o(ue){return e(ue)?ue:a(ue)}r.wrap=o;function c(ue){return ue||i}r.from=c;function h(ue){return!ue||ue[Symbol.iterator]().next().done===!0}r.isEmpty=h;function g(ue){return ue[Symbol.iterator]().next().value}r.first=g;function _(ue,re){for(const _e of ue)if(re(_e))return!0;return!1}r.some=_;function x(ue,re){for(const _e of ue)if(re(_e))return _e}r.find=x;function*y(ue,re){for(const _e of ue)re(_e)&&(yield _e)}r.filter=y;function*S(ue,re){let _e=0;for(const ye of ue)yield re(ye,_e++)}r.map=S;function*L(...ue){for(const re of ue)for(const _e of re)yield _e}r.concat=L;function O(ue,re,_e){let ye=_e;for(const Le of ue)ye=re(ye,Le);return ye}r.reduce=O;function*G(ue,re,_e=ue.length){for(re<0&&(re+=ue.length),_e<0?_e+=ue.length:_e>ue.length&&(_e=ue.length);re<_e;re++)yield ue[re]}r.slice=G;function ie(ue,re=Number.POSITIVE_INFINITY){const _e=[];if(re===0)return[_e,ue];const ye=ue[Symbol.iterator]();for(let Le=0;Le{a||(a=!0,this._remove(n))}}shift(){if(this._first!==Qf.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Qf.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Qf.Undefined&&e.next!==Qf.Undefined){const i=e.prev;i.next=e.next,e.next.prev=i}else e.prev===Qf.Undefined&&e.next===Qf.Undefined?(this._first=Qf.Undefined,this._last=Qf.Undefined):e.next===Qf.Undefined?(this._last=this._last.prev,this._last.next=Qf.Undefined):e.prev===Qf.Undefined&&(this._first=this._first.next,this._first.prev=Qf.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Qf.Undefined;)yield e.element,e=e.next}}const Uvt="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function bgi(r=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const i of Uvt)r.indexOf(i)>=0||(e+="\\"+i);return e+="\\s]+)",new RegExp(e,"g")}const qGe=bgi();function qvt(r){let e=qGe;if(r&&r instanceof RegExp)if(r.global)e=r;else{let i="g";r.ignoreCase&&(i+="i"),r.multiline&&(i+="m"),r.unicode&&(i+="u"),e=new RegExp(r.source,i)}return e.lastIndex=0,e}const Zvt=new ug;Zvt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Pue(r,e,i,n,a){if(a||(a=V0.first(Zvt)),i.length>a.maxLen){let _=r-a.maxLen/2;return _<0?_=0:n+=_,i=i.substring(_,r+a.maxLen/2),Pue(r,e,i,n,a)}const o=Date.now(),c=r-1-n;let h=-1,g=null;for(let _=1;!(Date.now()-o>=a.timeBudget);_++){const x=c-a.windowSize*_;e.lastIndex=Math.max(0,x);const y=ygi(e,i,c,h);if(!y&&g||(g=y,x<=0))break;h=x}if(g){const _={word:g[0],startColumn:n+1+g.index,endColumn:n+1+g.index+g[0].length};return e.lastIndex=0,_}return null}function ygi(r,e,i,n){let a;for(;a=r.exec(e);){const o=a.index||0;if(o<=i&&r.lastIndex>=i)return a;if(n>0&&o>n)return null}return null}function M6(r,e=0){return r[r.length-(1+e)]}function kgi(r){if(r.length===0)throw new Error("Invalid tail call");return[r.slice(0,r.length-1),r[r.length-1]]}function rg(r,e,i=(n,a)=>n===a){if(r===e)return!0;if(!r||!e||r.length!==e.length)return!1;for(let n=0,a=r.length;ni(r[n],e))}function Agi(r,e){let i=0,n=r-1;for(;i<=n;){const a=(i+n)/2|0,o=e(a);if(o<0)i=a+1;else if(o>0)n=a-1;else return a}return-(i+1)}function Yvt(r,e){let i=0,n=r.length;if(n===0)return 0;for(;i=e.length)throw new TypeError("invalid index");const n=e[Math.floor(e.length*Math.random())],a=[],o=[],c=[];for(const h of e){const g=i(h,n);g<0?a.push(h):g>0?o.push(h):c.push(h)}return r!!e)}function _gt(r){let e=0;for(let i=0;i0}function jL(r,e=i=>i){const i=new Set;return r.filter(n=>{const a=e(n);return i.has(a)?!1:(i.add(a),!0)})}function Xvt(r,e){const i=Sgi(r,e);if(i!==-1)return r[i]}function Sgi(r,e){for(let i=r.length-1;i>=0;i--){const n=r[i];if(e(n))return i}return-1}function eCt(r,e){return r.length>0?r[0]:e}function A_(r,e){let i=typeof e=="number"?r:0;typeof e=="number"?i=r:(i=0,e=r);const n=[];if(i<=e)for(let a=i;ae;a--)n.push(a);return n}function B6e(r,e,i){const n=r.slice(0,e),a=r.slice(e);return n.concat(i,a)}function pIe(r,e){const i=r.indexOf(e);i>-1&&(r.splice(i,1),r.unshift(e))}function k_e(r,e){const i=r.indexOf(e);i>-1&&(r.splice(i,1),r.push(e))}function Dgt(r,e){for(const i of e)r.push(i)}function ZGe(r){return Array.isArray(r)?r:[r]}function Bgi(r,e,i){const n=tCt(r,e),a=r.length,o=i.length;r.length=a+o;for(let c=a-1;c>=n;c--)r[c+o]=r[c];for(let c=0;c0}r.isGreaterThan=i;function n(a){return a===0}r.isNeitherLessOrGreaterThan=n,r.greaterThan=1,r.lessThan=-1,r.neitherLessOrGreaterThan=0})(fje||(fje={}));function One(r,e){return(i,n)=>e(r(i),r(n))}const wgi=(r,e)=>r-e;function iCt(r,e){if(r.length===0)return;let i=r[0];for(let n=1;n0&&(i=a)}return i}function Tgi(r,e){if(r.length===0)return;let i=r[0];for(let n=1;n=0&&(i=a)}return i}function Lgi(r,e){return iCt(r,(i,n)=>-e(i,n))}class TJ{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let i=this.firstIdx;for(;i=0&&e(this.items[i]);)i--;const n=i===this.lastIdx?null:this.items.slice(i+1,this.lastIdx+1);return this.lastIdx=i,n}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const i=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,i}}class DA{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(i=>(e.push(i),!0)),e}filter(e){return new DA(i=>this.iterate(n=>e(n)?i(n):!0))}map(e){return new DA(i=>this.iterate(n=>i(e(n))))}findLast(e){let i;return this.iterate(n=>(e(n)&&(i=n),!0)),i}findLastMaxBy(e){let i,n=!0;return this.iterate(a=>((n||fje.isGreaterThan(e(a,i)))&&(n=!1,i=a),!0)),i}}DA.empty=new DA(r=>{});function M_(r){return typeof r=="string"}function O3(r){return typeof r=="object"&&r!==null&&!Array.isArray(r)&&!(r instanceof RegExp)&&!(r instanceof Date)}function Ngi(r){const e=Object.getPrototypeOf(Uint8Array);return typeof r=="object"&&r instanceof e}function VL(r){return typeof r=="number"&&!isNaN(r)}function vgt(r){return!!r&&typeof r[Symbol.iterator]=="function"}function nCt(r){return r===!0||r===!1}function RD(r){return typeof r>"u"}function Pgi(r){return!ix(r)}function ix(r){return RD(r)||r===null}function Fc(r,e){if(!r)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function yG(r){if(ix(r))throw new Error("Assertion Failed: argument is undefined or null");return r}function n5e(r){return typeof r=="function"}function Mgi(r,e){const i=Math.min(r.length,e.length);for(let n=0;n{e[i]=n&&typeof n=="object"?vS(n):n}),e}function Igi(r){if(!r||typeof r!="object")return r;const e=[r];for(;e.length>0;){const i=e.shift();Object.freeze(i);for(const n in i)if(uCt.call(i,n)){const a=i[n];typeof a=="object"&&!Object.isFrozen(a)&&!Ngi(a)&&e.push(a)}}return r}const uCt=Object.prototype.hasOwnProperty;function rCt(r,e){return mje(r,e,new Set)}function mje(r,e,i){if(ix(r))return r;const n=e(r);if(typeof n<"u")return n;if(Array.isArray(r)){const a=[];for(const o of r)a.push(mje(o,e,i));return a}if(O3(r)){if(i.has(r))throw new Error("Cannot clone recursive data-structure");i.add(r);const a={};for(const o in r)uCt.call(r,o)&&(a[o]=mje(r[o],e,i));return i.delete(r),a}return r}function pae(r,e,i=!0){return O3(r)?(O3(e)&&Object.keys(e).forEach(n=>{n in r?i&&(O3(r[n])&&O3(e[n])?pae(r[n],e[n],i):r[n]=e[n]):r[n]=e[n]}),r):e}function cx(r,e){if(r===e)return!0;if(r==null||e===null||e===void 0||typeof r!=typeof e||typeof r!="object"||Array.isArray(r)!==Array.isArray(e))return!1;let i,n;if(Array.isArray(r)){if(r.length!==e.length)return!1;for(i=0;ifunction(){const o=Array.prototype.slice.call(arguments,0);return e(a,o)},n={};for(const a of r)n[a]=i(a);return n}const Og={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}},NT=8;class aCt{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class oCt{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class Nh{constructor(e,i,n,a){this.id=e,this.name=i,this.defaultValue=n,this.schema=a}applyUpdate(e,i){return w6e(e,i)}compute(e,i,n){return n}}class jne{constructor(e,i){this.newValue=e,this.didChange=i}}function w6e(r,e){if(typeof r!="object"||typeof e!="object"||!r||!e)return new jne(e,r!==e);if(Array.isArray(r)||Array.isArray(e)){const n=Array.isArray(r)&&Array.isArray(e)&&rg(r,e);return new jne(e,!n)}let i=!1;for(const n in e)if(e.hasOwnProperty(n)){const a=w6e(r[n],e[n]);a.didChange&&(r[n]=a.newValue,i=!0)}return new jne(r,i)}class gae{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,i){return w6e(e,i)}validate(e){return this.defaultValue}}class F${constructor(e,i,n,a){this.id=e,this.name=i,this.defaultValue=n,this.schema=a}applyUpdate(e,i){return w6e(e,i)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,i,n){return n}}function Do(r,e){return typeof r>"u"?e:r==="false"?!1:!!r}class pl extends F${constructor(e,i,n,a=void 0){typeof a<"u"&&(a.type="boolean",a.default=n),super(e,i,n,a)}validate(e){return Do(e,this.defaultValue)}}function pje(r,e,i,n){if(typeof r>"u")return e;let a=parseInt(r,10);return isNaN(a)?e:(a=Math.max(i,a),a=Math.min(n,a),a|0)}class gd extends F${static clampedInt(e,i,n,a){return pje(e,i,n,a)}constructor(e,i,n,a,o,c=void 0){typeof c<"u"&&(c.type="integer",c.default=n,c.minimum=a,c.maximum=o),super(e,i,n,c),this.minimum=a,this.maximum=o}validate(e){return gd.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class lA extends F${static clamp(e,i,n){return en?n:e}static float(e,i){if(typeof e=="number")return e;if(typeof e>"u")return i;const n=parseFloat(e);return isNaN(n)?i:n}constructor(e,i,n,a,o){typeof o<"u"&&(o.type="number",o.default=n),super(e,i,n,o),this.validationFn=a}validate(e){return this.validationFn(lA.float(e,this.defaultValue))}}class MD extends F${static string(e,i){return typeof e!="string"?i:e}constructor(e,i,n,a=void 0){typeof a<"u"&&(a.type="string",a.default=n),super(e,i,n,a)}validate(e){return MD.string(e,this.defaultValue)}}function im(r,e,i){return typeof r!="string"||i.indexOf(r)===-1?e:r}class ff extends F${constructor(e,i,n,a,o=void 0){typeof o<"u"&&(o.type="string",o.enum=a,o.default=n),super(e,i,n,o),this._allowedValues=a}validate(e){return im(e,this.defaultValue,this._allowedValues)}}class F_e extends Nh{constructor(e,i,n,a,o,c,h=void 0){typeof h<"u"&&(h.type="string",h.enum=o,h.default=a),super(e,i,n,h),this._allowedValues=o,this._convert=c}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function jgi(r){switch(r){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class Vgi extends Nh{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[V("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached"),V("accessibilitySupport.on","Optimize for usage with a Screen Reader"),V("accessibilitySupport.off","Assume a screen reader is not attached")],default:"auto",tags:["accessibility"],description:V("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,i,n){return n===0?e.accessibilitySupport:n}}class Hgi extends Nh{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(21,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:V("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:V("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{insertSpace:Do(i.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:Do(i.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function Kgi(r){switch(r){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var xp;(function(r){r[r.Line=1]="Line",r[r.Block=2]="Block",r[r.Underline=3]="Underline",r[r.LineThin=4]="LineThin",r[r.BlockOutline=5]="BlockOutline",r[r.UnderlineThin=6]="UnderlineThin"})(xp||(xp={}));function Wgi(r){switch(r){case"line":return xp.Line;case"block":return xp.Block;case"underline":return xp.Underline;case"line-thin":return xp.LineThin;case"block-outline":return xp.BlockOutline;case"underline-thin":return xp.UnderlineThin}}class Ggi extends gae{constructor(){super(136)}compute(e,i,n){const a=["monaco-editor"];return i.get(37)&&a.push(i.get(37)),e.extraEditorClassName&&a.push(e.extraEditorClassName),i.get(71)==="default"?a.push("mouse-default"):i.get(71)==="copy"&&a.push("mouse-copy"),i.get(106)&&a.push("showUnused"),i.get(134)&&a.push("showDeprecated"),a.join(" ")}}class Jgi extends pl{constructor(){super(35,"emptySelectionClipboard",!0,{description:V("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,i,n){return n&&e.emptySelectionClipboard}}class $gi extends Nh{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(39,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:V("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[V("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),V("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),V("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:V("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[V("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),V("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),V("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:V("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:V("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:d0},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:V("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:V("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{cursorMoveOnType:Do(i.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":im(i.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":im(i.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:Do(i.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:Do(i.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:Do(i.loop,this.defaultValue.loop)}}}class nx extends Nh{constructor(){super(49,"fontLigatures",nx.OFF,{anyOf:[{type:"boolean",description:V("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:V("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:V("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?nx.OFF:e==="true"?nx.ON:e:e?nx.ON:nx.OFF}}nx.OFF='"liga" off, "calt" off';nx.ON='"liga" on, "calt" on';class ay extends Nh{constructor(){super(52,"fontVariations",ay.OFF,{anyOf:[{type:"boolean",description:V("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:V("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:V("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?ay.OFF:e==="true"?ay.TRANSLATE:e:e?ay.TRANSLATE:ay.OFF}compute(e,i,n){return e.fontInfo.fontVariationSettings}}ay.OFF="normal";ay.TRANSLATE="translate";class Ugi extends gae{constructor(){super(48)}compute(e,i,n){return e.fontInfo}}class qgi extends F${constructor(){super(50,"fontSize",HD.fontSize,{type:"number",minimum:6,maximum:100,default:HD.fontSize,description:V("fontSize","Controls the font size in pixels.")})}validate(e){const i=lA.float(e,this.defaultValue);return i===0?HD.fontSize:lA.clamp(i,6,100)}compute(e,i,n){return e.fontInfo.fontSize}}class tA extends Nh{constructor(){super(51,"fontWeight",HD.fontWeight,{anyOf:[{type:"number",minimum:tA.MINIMUM_VALUE,maximum:tA.MAXIMUM_VALUE,errorMessage:V("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:tA.SUGGESTION_VALUES}],default:HD.fontWeight,description:V("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(gd.clampedInt(e,HD.fontWeight,tA.MINIMUM_VALUE,tA.MAXIMUM_VALUE))}}tA.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];tA.MINIMUM_VALUE=1;tA.MAXIMUM_VALUE=1e3;class Zgi extends Nh{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},i={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[V("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),V("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),V("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},n=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(56,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:V("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:V("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:V("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleDeclarations":Object.assign({description:V("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleImplementations":Object.assign({description:V("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleReferences":Object.assign({description:V("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},i),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:n,description:V("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:n,description:V("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:n,description:V("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:n,description:V("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:n,description:V("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var i,n,a,o,c;if(!e||typeof e!="object")return this.defaultValue;const h=e;return{multiple:im(h.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(i=h.multipleDefinitions)!==null&&i!==void 0?i:im(h.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(n=h.multipleTypeDefinitions)!==null&&n!==void 0?n:im(h.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(a=h.multipleDeclarations)!==null&&a!==void 0?a:im(h.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(o=h.multipleImplementations)!==null&&o!==void 0?o:im(h.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(c=h.multipleReferences)!==null&&c!==void 0?c:im(h.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:MD.string(h.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:MD.string(h.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:MD.string(h.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:MD.string(h.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:MD.string(h.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class Ygi extends Nh{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(58,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:V("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:V("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:V("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:V("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:Do(i.enabled,this.defaultValue.enabled),delay:gd.clampedInt(i.delay,this.defaultValue.delay,0,1e4),sticky:Do(i.sticky,this.defaultValue.sticky),above:Do(i.above,this.defaultValue.above)}}}class tJ extends gae{constructor(){super(139)}compute(e,i,n){return tJ.computeLayout(i,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const i=e.height/e.lineHeight,n=Math.floor(e.paddingTop/e.lineHeight);let a=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(a=Math.max(a,i-1));const o=(n+e.viewLineCount+a)/(e.pixelRatio*e.height),c=Math.floor(e.viewLineCount/o);return{typicalViewportLineCount:i,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:a,desiredRatio:o,minimapLineCount:c}}static _computeMinimapLayout(e,i){const n=e.outerWidth,a=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*a),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:a};const c=i.stableMinimapLayoutInput,h=c&&e.outerHeight===c.outerHeight&&e.lineHeight===c.lineHeight&&e.typicalHalfwidthCharacterWidth===c.typicalHalfwidthCharacterWidth&&e.pixelRatio===c.pixelRatio&&e.scrollBeyondLastLine===c.scrollBeyondLastLine&&e.paddingTop===c.paddingTop&&e.paddingBottom===c.paddingBottom&&e.minimap.enabled===c.minimap.enabled&&e.minimap.side===c.minimap.side&&e.minimap.size===c.minimap.size&&e.minimap.showSlider===c.minimap.showSlider&&e.minimap.renderCharacters===c.minimap.renderCharacters&&e.minimap.maxColumn===c.minimap.maxColumn&&e.minimap.scale===c.minimap.scale&&e.verticalScrollbarWidth===c.verticalScrollbarWidth&&e.isViewportWrapping===c.isViewportWrapping,g=e.lineHeight,_=e.typicalHalfwidthCharacterWidth,x=e.scrollBeyondLastLine,y=e.minimap.renderCharacters;let S=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const L=e.minimap.maxColumn,O=e.minimap.size,G=e.minimap.side,ie=e.verticalScrollbarWidth,ue=e.viewLineCount,re=e.remainingWidth,_e=e.isViewportWrapping,ye=y?2:3;let Le=Math.floor(o*a);const lt=Le/o;let Ue=!1,Ze=!1,rt=ye*S,kt=S/o,Zt=1;if(O==="fill"||O==="fit"){const{typicalViewportLineCount:zr,extraLinesBeforeFirstLine:Lu,extraLinesBeyondLastLine:Va,desiredRatio:ju,minimapLineCount:Tr}=tJ.computeContainedMinimapLineCount({viewLineCount:ue,scrollBeyondLastLine:x,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:a,lineHeight:g,pixelRatio:o});if(ue/Tr>1)Ue=!0,Ze=!0,S=1,rt=1,kt=S/o;else{let z0=!1,Zr=S+1;if(O==="fit"){const qi=Math.ceil((Lu+ue+Va)*rt);_e&&h&&re<=i.stableFitRemainingWidth?(z0=!0,Zr=i.stableFitMaxMinimapScale):z0=qi>Le}if(O==="fill"||z0){Ue=!0;const qi=S;rt=Math.min(g*o,Math.max(1,Math.floor(1/ju))),_e&&h&&re<=i.stableFitRemainingWidth&&(Zr=i.stableFitMaxMinimapScale),S=Math.min(Zr,Math.max(1,Math.floor(rt/ye))),S>qi&&(Zt=Math.min(2,S/qi)),kt=S/o/Zt,Le=Math.ceil(Math.max(zr,Lu+ue+Va)*rt),_e?(i.stableMinimapLayoutInput=e,i.stableFitRemainingWidth=re,i.stableFitMaxMinimapScale=S):(i.stableMinimapLayoutInput=null,i.stableFitRemainingWidth=0)}}}const jt=Math.floor(L*kt),ui=Math.min(jt,Math.max(0,Math.floor((re-ie-2)*kt/(_+kt)))+NT);let ti=Math.floor(o*ui);const Uu=ti/o;ti=Math.floor(ti*Zt);const pu=y?1:2,Vt=G==="left"?0:n-ui-ie;return{renderMinimap:pu,minimapLeft:Vt,minimapWidth:ui,minimapHeightIsEditorHeight:Ue,minimapIsSampling:Ze,minimapScale:S,minimapLineHeight:rt,minimapCanvasInnerWidth:ti,minimapCanvasInnerHeight:Le,minimapCanvasOuterWidth:Uu,minimapCanvasOuterHeight:lt}}static computeLayout(e,i){const n=i.outerWidth|0,a=i.outerHeight|0,o=i.lineHeight|0,c=i.lineNumbersDigitCount|0,h=i.typicalHalfwidthCharacterWidth,g=i.maxDigitWidth,_=i.pixelRatio,x=i.viewLineCount,y=e.get(131),S=y==="inherit"?e.get(130):y,L=S==="inherit"?e.get(126):S,O=e.get(129),G=i.isDominatedByLongLines,ie=e.get(55),ue=e.get(65).renderType!==0,re=e.get(66),_e=e.get(100),ye=e.get(81),Le=e.get(70),lt=e.get(98),Ue=lt.verticalScrollbarSize,Ze=lt.verticalHasArrows,rt=lt.arrowSize,kt=lt.horizontalScrollbarSize,Zt=e.get(41),jt=e.get(105)!=="never";let ui=e.get(63);Zt&&jt&&(ui+=16);let ti=0;if(ue){const Fa=Math.max(c,re);ti=Math.round(Fa*g)}let Uu=0;ie&&(Uu=o);let pu=0,Vt=pu+Uu,zr=Vt+ti,Lu=zr+ui;const Va=n-Uu-ti-ui;let ju=!1,Tr=!1,pa=-1;S==="inherit"&&G?(ju=!0,Tr=!0):L==="on"||L==="bounded"?Tr=!0:L==="wordWrapColumn"&&(pa=O);const z0=tJ._computeMinimapLayout({outerWidth:n,outerHeight:a,lineHeight:o,typicalHalfwidthCharacterWidth:h,pixelRatio:_,scrollBeyondLastLine:_e,paddingTop:ye.top,paddingBottom:ye.bottom,minimap:Le,verticalScrollbarWidth:Ue,viewLineCount:x,remainingWidth:Va,isViewportWrapping:Tr},i.memory||new oCt);z0.renderMinimap!==0&&z0.minimapLeft===0&&(pu+=z0.minimapWidth,Vt+=z0.minimapWidth,zr+=z0.minimapWidth,Lu+=z0.minimapWidth);const Zr=Va-z0.minimapWidth,qi=Math.max(1,Math.floor((Zr-Ue-2)/h)),eo=Ze?rt:0;return Tr&&(pa=Math.max(1,qi),L==="bounded"&&(pa=Math.min(pa,O))),{width:n,height:a,glyphMarginLeft:pu,glyphMarginWidth:Uu,lineNumbersLeft:Vt,lineNumbersWidth:ti,decorationsLeft:zr,decorationsWidth:ui,contentLeft:Lu,contentWidth:Zr,minimap:z0,viewportColumn:qi,isWordWrapMinified:ju,isViewportWrapping:Tr,wrappingColumn:pa,verticalScrollbarWidth:Ue,horizontalScrollbarHeight:kt,overviewRuler:{top:eo,width:Ue,height:a-2*eo,right:0}}}}class Qgi extends Nh{constructor(){super(133,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[V("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),V("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:V("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return im(e,"simple",["simple","advanced"])}compute(e,i,n){return i.get(2)===2?"advanced":n}}class Xgi extends Nh{constructor(){const e={enabled:!0};super(62,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:V("codeActions","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:Do(e.enabled,this.defaultValue.enabled)}}}class eEi extends Nh{constructor(){const e={enabled:!1,maxLineCount:5,defaultModel:"outlineModel"};super(110,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:V("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor.")},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:10,description:V("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:V("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:Do(i.enabled,this.defaultValue.enabled),maxLineCount:gd.clampedInt(i.maxLineCount,this.defaultValue.maxLineCount,1,10),defaultModel:im(i.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"])}}}class tEi extends Nh{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(135,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:V("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[V("editor.inlayHints.on","Inlay hints are enabled"),V("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",d0?"Ctrl+Option":"Ctrl+Alt"),V("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",d0?"Ctrl+Option":"Ctrl+Alt"),V("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:V("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:V("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:V("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return typeof i.enabled=="boolean"&&(i.enabled=i.enabled?"on":"off"),{enabled:im(i.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:gd.clampedInt(i.fontSize,this.defaultValue.fontSize,0,100),fontFamily:MD.string(i.fontFamily,this.defaultValue.fontFamily),padding:Do(i.padding,this.defaultValue.padding)}}}class iEi extends Nh{constructor(){super(63,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):gd.clampedInt(e,this.defaultValue,0,1e3)}compute(e,i,n){return n<0?gd.clampedInt(-n*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):n}}class nEi extends lA{constructor(){super(64,"lineHeight",HD.lineHeight,e=>lA.clamp(e,0,150),{markdownDescription:V("lineHeight",`Controls the line height. - Use 0 to automatically compute the line height from the font size. - Values between 0 and 8 will be used as a multiplier with the font size. - Values greater than or equal to 8 will be used as effective values.`)})}compute(e,i,n){return e.fontInfo.lineHeight}}class uEi extends Nh{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(70,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:V("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:V("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[V("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),V("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),V("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:V("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:V("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:V("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:V("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:V("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:V("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:Do(i.enabled,this.defaultValue.enabled),autohide:Do(i.autohide,this.defaultValue.autohide),size:im(i.size,this.defaultValue.size,["proportional","fill","fit"]),side:im(i.side,this.defaultValue.side,["right","left"]),showSlider:im(i.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:Do(i.renderCharacters,this.defaultValue.renderCharacters),scale:gd.clampedInt(i.scale,1,1,3),maxColumn:gd.clampedInt(i.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function rEi(r){return r==="ctrlCmd"?d0?"metaKey":"ctrlKey":"altKey"}class aEi extends Nh{constructor(){super(81,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:V("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:V("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{top:gd.clampedInt(i.top,0,0,1e3),bottom:gd.clampedInt(i.bottom,0,0,1e3)}}}class oEi extends Nh{constructor(){const e={enabled:!0,cycle:!0};super(82,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:V("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:V("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:Do(i.enabled,this.defaultValue.enabled),cycle:Do(i.cycle,this.defaultValue.cycle)}}}class sEi extends gae{constructor(){super(137)}compute(e,i,n){return e.pixelRatio}}class lEi extends Nh{constructor(){const e={other:"on",comments:"off",strings:"off"},i=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[V("on","Quick suggestions show inside the suggest widget"),V("inline","Quick suggestions show as ghost text"),V("off","Quick suggestions are disabled")]}];super(85,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:i,default:e.strings,description:V("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:i,default:e.comments,description:V("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:i,default:e.other,description:V("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:V("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if(typeof e=="boolean"){const _=e?"on":"off";return{comments:_,strings:_,other:_}}if(!e||typeof e!="object")return this.defaultValue;const{other:i,comments:n,strings:a}=e,o=["on","inline","off"];let c,h,g;return typeof i=="boolean"?c=i?"on":"off":c=im(i,this.defaultValue.other,o),typeof n=="boolean"?h=n?"on":"off":h=im(n,this.defaultValue.comments,o),typeof a=="boolean"?g=a?"on":"off":g=im(a,this.defaultValue.strings,o),{other:c,comments:h,strings:g}}}class cEi extends Nh{constructor(){super(65,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[V("lineNumbers.off","Line numbers are not rendered."),V("lineNumbers.on","Line numbers are rendered as absolute number."),V("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),V("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:V("lineNumbers","Controls the display of line numbers.")})}validate(e){let i=this.defaultValue.renderType,n=this.defaultValue.renderFn;return typeof e<"u"&&(typeof e=="function"?(i=4,n=e):e==="interval"?i=3:e==="relative"?i=2:e==="on"?i=1:i=0),{renderType:i,renderFn:n}}}function u5e(r){const e=r.get(93);return e==="editable"?r.get(87):e!=="on"}class dEi extends Nh{constructor(){const e=[],i={type:"number",description:V("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(97,"rulers",e,{type:"array",items:{anyOf:[i,{type:["object"],properties:{column:i,color:{type:"string",description:V("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:V("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const i=[];for(const n of e)if(typeof n=="number")i.push({column:gd.clampedInt(n,0,0,1e4),color:null});else if(n&&typeof n=="object"){const a=n;i.push({column:gd.clampedInt(a.column,0,0,1e4),color:a.color})}return i.sort((n,a)=>n.column-a.column),i}return this.defaultValue}}function Cgt(r,e){if(typeof r!="string")return e;switch(r){case"hidden":return 2;case"visible":return 3;default:return 1}}let hEi=class extends Nh{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(98,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[V("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),V("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),V("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:V("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[V("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),V("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),V("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:V("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:V("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:V("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:V("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e,n=gd.clampedInt(i.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),a=gd.clampedInt(i.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:gd.clampedInt(i.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:Cgt(i.vertical,this.defaultValue.vertical),horizontal:Cgt(i.horizontal,this.defaultValue.horizontal),useShadows:Do(i.useShadows,this.defaultValue.useShadows),verticalHasArrows:Do(i.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:Do(i.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:Do(i.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:Do(i.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:gd.clampedInt(i.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:a,verticalSliderSize:gd.clampedInt(i.verticalSliderSize,a,0,1e3),scrollByPage:Do(i.scrollByPage,this.defaultValue.scrollByPage)}}};const Q5="inUntrustedWorkspace",P3={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class fEi extends Nh{constructor(){const e={nonBasicASCII:Q5,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:Q5,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(120,"unicodeHighlight",e,{[P3.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Q5],default:e.nonBasicASCII,description:V("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[P3.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:V("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[P3.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:V("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[P3.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Q5],default:e.includeComments,description:V("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[P3.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Q5],default:e.includeStrings,description:V("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[P3.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:V("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[P3.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:V("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,i){let n=!1;i.allowedCharacters&&e&&(cx(e.allowedCharacters,i.allowedCharacters)||(e=Object.assign(Object.assign({},e),{allowedCharacters:i.allowedCharacters}),n=!0)),i.allowedLocales&&e&&(cx(e.allowedLocales,i.allowedLocales)||(e=Object.assign(Object.assign({},e),{allowedLocales:i.allowedLocales}),n=!0));const a=super.applyUpdate(e,i);return n?new jne(a.newValue,!0):a}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{nonBasicASCII:iJ(i.nonBasicASCII,Q5,[!0,!1,Q5]),invisibleCharacters:Do(i.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:Do(i.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:iJ(i.includeComments,Q5,[!0,!1,Q5]),includeStrings:iJ(i.includeStrings,Q5,[!0,!1,Q5]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,i){if(typeof e!="object"||!e)return i;const n={};for(const[a,o]of Object.entries(e))o===!0&&(n[a]=!0);return n}}class mEi extends Nh{constructor(){const e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1};super(60,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:V("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover"],enumDescriptions:[V("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),V("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion.")],description:V("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:V("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:Do(i.enabled,this.defaultValue.enabled),mode:im(i.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:im(i.showToolbar,this.defaultValue.showToolbar,["always","onHover"]),suppressSuggestions:Do(i.suppressSuggestions,this.defaultValue.suppressSuggestions)}}}class pEi extends Nh{constructor(){const e={enabled:Og.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:Og.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(13,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:V("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:V("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:Do(i.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:Do(i.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class gEi extends Nh{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(14,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[V("editor.guides.bracketPairs.true","Enables bracket pair guides."),V("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),V("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:V("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[V("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),V("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),V("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:V("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:V("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:V("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[V("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),V("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),V("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:V("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{bracketPairs:iJ(i.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:iJ(i.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:Do(i.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:Do(i.indentation,this.defaultValue.indentation),highlightActiveIndentation:iJ(i.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function iJ(r,e,i){const n=i.indexOf(r);return n===-1?e:i[n]}class EEi extends Nh{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(113,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[V("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),V("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:V("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:V("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:V("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:V("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[V("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),V("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),V("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),V("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:V("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:V("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:V("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:V("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:V("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:V("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:V("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:V("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{insertMode:im(i.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:Do(i.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:Do(i.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:Do(i.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:Do(i.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:im(i.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:Do(i.showIcons,this.defaultValue.showIcons),showStatusBar:Do(i.showStatusBar,this.defaultValue.showStatusBar),preview:Do(i.preview,this.defaultValue.preview),previewMode:im(i.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:Do(i.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:Do(i.showMethods,this.defaultValue.showMethods),showFunctions:Do(i.showFunctions,this.defaultValue.showFunctions),showConstructors:Do(i.showConstructors,this.defaultValue.showConstructors),showDeprecated:Do(i.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:Do(i.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:Do(i.showFields,this.defaultValue.showFields),showVariables:Do(i.showVariables,this.defaultValue.showVariables),showClasses:Do(i.showClasses,this.defaultValue.showClasses),showStructs:Do(i.showStructs,this.defaultValue.showStructs),showInterfaces:Do(i.showInterfaces,this.defaultValue.showInterfaces),showModules:Do(i.showModules,this.defaultValue.showModules),showProperties:Do(i.showProperties,this.defaultValue.showProperties),showEvents:Do(i.showEvents,this.defaultValue.showEvents),showOperators:Do(i.showOperators,this.defaultValue.showOperators),showUnits:Do(i.showUnits,this.defaultValue.showUnits),showValues:Do(i.showValues,this.defaultValue.showValues),showConstants:Do(i.showConstants,this.defaultValue.showConstants),showEnums:Do(i.showEnums,this.defaultValue.showEnums),showEnumMembers:Do(i.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:Do(i.showKeywords,this.defaultValue.showKeywords),showWords:Do(i.showWords,this.defaultValue.showWords),showColors:Do(i.showColors,this.defaultValue.showColors),showFiles:Do(i.showFiles,this.defaultValue.showFiles),showReferences:Do(i.showReferences,this.defaultValue.showReferences),showFolders:Do(i.showFolders,this.defaultValue.showFolders),showTypeParameters:Do(i.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:Do(i.showSnippets,this.defaultValue.showSnippets),showUsers:Do(i.showUsers,this.defaultValue.showUsers),showIssues:Do(i.showIssues,this.defaultValue.showIssues)}}}class _Ei extends Nh{constructor(){super(108,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:V("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:Do(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}}}class DEi extends Nh{constructor(){super(132,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[V("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),V("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),V("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),V("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:V("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,i,n){return i.get(2)===2?0:n}}class xEi extends gae{constructor(){super(140)}compute(e,i,n){const a=i.get(139);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:a.isWordWrapMinified,isViewportWrapping:a.isViewportWrapping,wrappingColumn:a.wrappingColumn}}}class vEi extends Nh{constructor(){const e={enabled:!0};super(34,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:V("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down `shift` (instead of opening the file in an editor).")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:Do(e.enabled,this.defaultValue.enabled)}}}const CEi="Consolas, 'Courier New', monospace",bEi="Menlo, Monaco, 'Courier New', monospace",yEi="'Droid Sans Mono', 'monospace', monospace",HD={fontFamily:d0?bEi:sg?yEi:CEi,fontWeight:"normal",fontSize:d0?12:14,lineHeight:0,letterSpacing:0},kG=[];function Nu(r){return kG[r.id]=r,r}const zy={acceptSuggestionOnCommitCharacter:Nu(new pl(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:V("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:Nu(new ff(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",V("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:V("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:Nu(new Vgi),accessibilityPageSize:Nu(new gd(3,"accessibilityPageSize",10,1,1073741824,{description:V("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:Nu(new MD(4,"ariaLabel",V("editorViewAccessibleLabel","Editor content"))),screenReaderAnnounceInlineSuggestion:Nu(new pl(6,"screenReaderAnnounceInlineSuggestion",!1,{description:V("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader. Note that this does not work on macOS with VoiceOver."),tags:["accessibility"]})),autoClosingBrackets:Nu(new ff(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",V("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),V("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:V("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:Nu(new ff(7,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",V("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:V("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:Nu(new ff(8,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",V("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:V("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:Nu(new ff(9,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",V("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),V("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:V("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:Nu(new F_e(10,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],jgi,{enumDescriptions:[V("editor.autoIndent.none","The editor will not insert indentation automatically."),V("editor.autoIndent.keep","The editor will keep the current line's indentation."),V("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),V("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),V("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:V("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:Nu(new pl(11,"automaticLayout",!1)),autoSurround:Nu(new ff(12,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[V("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),V("editor.autoSurround.quotes","Surround with quotes but not brackets."),V("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:V("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:Nu(new pEi),bracketPairGuides:Nu(new gEi),stickyTabStops:Nu(new pl(111,"stickyTabStops",!1,{description:V("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:Nu(new pl(15,"codeLens",!0,{description:V("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:Nu(new MD(16,"codeLensFontFamily","",{description:V("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:Nu(new gd(17,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:V("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:Nu(new pl(18,"colorDecorators",!0,{description:V("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorsLimit:Nu(new gd(19,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:V("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:Nu(new pl(20,"columnSelection",!1,{description:V("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:Nu(new Hgi),contextmenu:Nu(new pl(22,"contextmenu",!0)),copyWithSyntaxHighlighting:Nu(new pl(23,"copyWithSyntaxHighlighting",!0,{description:V("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:Nu(new F_e(24,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],Kgi,{description:V("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:Nu(new ff(25,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[V("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),V("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),V("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:V("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:Nu(new F_e(26,"cursorStyle",xp.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],Wgi,{description:V("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:Nu(new gd(27,"cursorSurroundingLines",0,0,1073741824,{description:V("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:Nu(new ff(28,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[V("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),V("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:V("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:Nu(new gd(29,"cursorWidth",0,0,1073741824,{markdownDescription:V("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:Nu(new pl(30,"disableLayerHinting",!1)),disableMonospaceOptimizations:Nu(new pl(31,"disableMonospaceOptimizations",!1)),domReadOnly:Nu(new pl(32,"domReadOnly",!1)),dragAndDrop:Nu(new pl(33,"dragAndDrop",!0,{description:V("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:Nu(new Jgi),dropIntoEditor:Nu(new vEi),stickyScroll:Nu(new eEi),experimentalWhitespaceRendering:Nu(new ff(36,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[V("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),V("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),V("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:V("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:Nu(new MD(37,"extraEditorClassName","")),fastScrollSensitivity:Nu(new lA(38,"fastScrollSensitivity",5,r=>r<=0?5:r,{markdownDescription:V("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:Nu(new $gi),fixedOverflowWidgets:Nu(new pl(40,"fixedOverflowWidgets",!1)),folding:Nu(new pl(41,"folding",!0,{description:V("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:Nu(new ff(42,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[V("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),V("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:V("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:Nu(new pl(43,"foldingHighlight",!0,{description:V("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:Nu(new pl(44,"foldingImportsByDefault",!1,{description:V("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:Nu(new gd(45,"foldingMaximumRegions",5e3,10,65e3,{description:V("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:Nu(new pl(46,"unfoldOnClickAfterEndOfLine",!1,{description:V("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:Nu(new MD(47,"fontFamily",HD.fontFamily,{description:V("fontFamily","Controls the font family.")})),fontInfo:Nu(new Ugi),fontLigatures2:Nu(new nx),fontSize:Nu(new qgi),fontWeight:Nu(new tA),fontVariations:Nu(new ay),formatOnPaste:Nu(new pl(53,"formatOnPaste",!1,{description:V("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:Nu(new pl(54,"formatOnType",!1,{description:V("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:Nu(new pl(55,"glyphMargin",!0,{description:V("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:Nu(new Zgi),hideCursorInOverviewRuler:Nu(new pl(57,"hideCursorInOverviewRuler",!1,{description:V("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:Nu(new Ygi),inDiffEditor:Nu(new pl(59,"inDiffEditor",!1)),letterSpacing:Nu(new lA(61,"letterSpacing",HD.letterSpacing,r=>lA.clamp(r,-5,20),{description:V("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:Nu(new Xgi),lineDecorationsWidth:Nu(new iEi),lineHeight:Nu(new nEi),lineNumbers:Nu(new cEi),lineNumbersMinChars:Nu(new gd(66,"lineNumbersMinChars",5,1,300)),linkedEditing:Nu(new pl(67,"linkedEditing",!1,{description:V("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:Nu(new pl(68,"links",!0,{description:V("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:Nu(new ff(69,"matchBrackets","always",["always","near","never"],{description:V("matchBrackets","Highlight matching brackets.")})),minimap:Nu(new uEi),mouseStyle:Nu(new ff(71,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:Nu(new lA(72,"mouseWheelScrollSensitivity",1,r=>r===0?1:r,{markdownDescription:V("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:Nu(new pl(73,"mouseWheelZoom",!1,{markdownDescription:V("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:Nu(new pl(74,"multiCursorMergeOverlapping",!0,{description:V("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:Nu(new F_e(75,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],rEi,{markdownEnumDescriptions:[V("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),V("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:V({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:Nu(new ff(76,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[V("multiCursorPaste.spread","Each cursor pastes a single line of the text."),V("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:V("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:Nu(new gd(77,"multiCursorLimit",1e4,1,1e5,{markdownDescription:V("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:Nu(new pl(78,"occurrencesHighlight",!0,{description:V("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:Nu(new pl(79,"overviewRulerBorder",!0,{description:V("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:Nu(new gd(80,"overviewRulerLanes",3,0,3)),padding:Nu(new aEi),parameterHints:Nu(new oEi),peekWidgetDefaultFocus:Nu(new ff(83,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[V("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),V("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:V("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:Nu(new pl(84,"definitionLinkOpensInPeek",!1,{description:V("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:Nu(new lEi),quickSuggestionsDelay:Nu(new gd(86,"quickSuggestionsDelay",10,0,1073741824,{description:V("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:Nu(new pl(87,"readOnly",!1)),renameOnType:Nu(new pl(88,"renameOnType",!1,{description:V("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:V("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:Nu(new pl(89,"renderControlCharacters",!0,{description:V("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:Nu(new ff(90,"renderFinalNewline",sg?"dimmed":"on",["off","on","dimmed"],{description:V("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:Nu(new ff(91,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",V("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:V("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:Nu(new pl(92,"renderLineHighlightOnlyWhenFocus",!1,{description:V("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:Nu(new ff(93,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:Nu(new ff(94,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",V("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),V("renderWhitespace.selection","Render whitespace characters only on selected text."),V("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:V("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:Nu(new gd(95,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:Nu(new pl(96,"roundedSelection",!0,{description:V("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:Nu(new dEi),scrollbar:Nu(new hEi),scrollBeyondLastColumn:Nu(new gd(99,"scrollBeyondLastColumn",4,0,1073741824,{description:V("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:Nu(new pl(100,"scrollBeyondLastLine",!0,{description:V("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:Nu(new pl(101,"scrollPredominantAxis",!0,{description:V("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:Nu(new pl(102,"selectionClipboard",!0,{description:V("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:sg})),selectionHighlight:Nu(new pl(103,"selectionHighlight",!0,{description:V("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:Nu(new pl(104,"selectOnLineNumbers",!0)),showFoldingControls:Nu(new ff(105,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[V("showFoldingControls.always","Always show the folding controls."),V("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),V("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:V("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:Nu(new pl(106,"showUnused",!0,{description:V("showUnused","Controls fading out of unused code.")})),showDeprecated:Nu(new pl(134,"showDeprecated",!0,{description:V("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:Nu(new tEi),snippetSuggestions:Nu(new ff(107,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[V("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),V("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),V("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),V("snippetSuggestions.none","Do not show snippet suggestions.")],description:V("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:Nu(new _Ei),smoothScrolling:Nu(new pl(109,"smoothScrolling",!1,{description:V("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:Nu(new gd(112,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:Nu(new EEi),inlineSuggest:Nu(new mEi),suggestFontSize:Nu(new gd(114,"suggestFontSize",0,0,1e3,{markdownDescription:V("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:Nu(new gd(115,"suggestLineHeight",0,0,1e3,{markdownDescription:V("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:Nu(new pl(116,"suggestOnTriggerCharacters",!0,{description:V("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:Nu(new ff(117,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[V("suggestSelection.first","Always select the first suggestion."),V("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),V("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:V("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:Nu(new ff(118,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[V("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),V("tabCompletion.off","Disable tab completions."),V("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:V("tabCompletion","Enables tab completions.")})),tabIndex:Nu(new gd(119,"tabIndex",0,-1,1073741824)),unicodeHighlight:Nu(new fEi),unusualLineTerminators:Nu(new ff(121,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[V("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),V("unusualLineTerminators.off","Unusual line terminators are ignored."),V("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:V("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:Nu(new pl(122,"useShadowDOM",!0)),useTabStops:Nu(new pl(123,"useTabStops",!0,{description:V("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordBreak:Nu(new ff(124,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[V("wordBreak.normal","Use the default line break rule."),V("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:V("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSeparators:Nu(new MD(125,"wordSeparators",Uvt,{description:V("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:Nu(new ff(126,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[V("wordWrap.off","Lines will never wrap."),V("wordWrap.on","Lines will wrap at the viewport width."),V({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),V({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:V({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:Nu(new MD(127,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:Nu(new MD(128,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:Nu(new gd(129,"wordWrapColumn",80,1,1073741824,{markdownDescription:V({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:Nu(new ff(130,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:Nu(new ff(131,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:Nu(new Ggi),pixelRatio:Nu(new sEi),tabFocusMode:Nu(new pl(138,"tabFocusMode",!1,{markdownDescription:V("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:Nu(new tJ),wrappingInfo:Nu(new xEi),wrappingIndent:Nu(new DEi),wrappingStrategy:Nu(new Qgi)};class kEi{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?LJ.isErrorNoTelemetry(e)?new LJ(e.message+` @@ -446,7 +446,7 @@ Received: '{1}'.`,e,xI.getLexeme(i)),o=i.offset,c=xI.getLexeme(i);return this._p `?new Xgt(h):null,_=[];let x=0,y;for(n.reset(0);y=n.next(h);)if(_[x++]=vI(this._getMultilineMatchRange(e,c,h,g,y.index,y[0]),y,a),x>=o)return _;return _}static _doFindMatchesLineByLine(e,i,n,a,o){const c=[];let h=0;if(i.startLineNumber===i.endLineNumber){const _=e.getLineContent(i.startLineNumber).substring(i.startColumn-1,i.endColumn-1);return h=this._findMatchesInLine(n,_,i.startLineNumber,i.startColumn-1,h,c,a,o),c}const g=e.getLineContent(i.startLineNumber).substring(i.startColumn-1);h=this._findMatchesInLine(n,g,i.startLineNumber,i.startColumn-1,h,c,a,o);for(let _=i.startLineNumber+1;_=g))return o;return o}const x=new SG(e.wordSeparators,e.regex);let y;x.reset(0);do if(y=x.next(i),y&&(c[o++]=vI(new ot(n,y.index+1+a,n,y.index+1+y[0].length+a),y,h),o>=g))return o;while(y);return o}static findNextMatch(e,i,n,a){const o=i.parseSearchRequest();if(!o)return null;const c=new SG(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindNextMatchMultiline(e,n,c,a):this._doFindNextMatchLineByLine(e,n,c,a)}static _doFindNextMatchMultiline(e,i,n,a){const o=new Vi(i.lineNumber,1),c=e.getOffsetAt(o),h=e.getLineCount(),g=e.getValueInRange(new ot(o.lineNumber,o.column,h,e.getLineMaxColumn(h)),1),_=e.getEOL()===`\r `?new Xgt(g):null;n.reset(i.column-1);const x=n.next(g);return x?vI(this._getMultilineMatchRange(e,c,g,_,x.index,x[0]),x,a):i.lineNumber!==1||i.column!==1?this._doFindNextMatchMultiline(e,new Vi(1,1),n,a):null}static _doFindNextMatchLineByLine(e,i,n,a){const o=e.getLineCount(),c=i.lineNumber,h=e.getLineContent(c),g=this._findFirstMatchInLine(n,h,c,i.column,a);if(g)return g;for(let _=1;_<=o;_++){const x=(c+_-1)%o,y=e.getLineContent(x+1),S=this._findFirstMatchInLine(n,y,x+1,1,a);if(S)return S}return null}static _findFirstMatchInLine(e,i,n,a,o){e.reset(a-1);const c=e.next(i);return c?vI(new ot(n,c.index+1,n,c.index+1+c[0].length),c,o):null}static findPreviousMatch(e,i,n,a){const o=i.parseSearchRequest();if(!o)return null;const c=new SG(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindPreviousMatchMultiline(e,n,c,a):this._doFindPreviousMatchLineByLine(e,n,c,a)}static _doFindPreviousMatchMultiline(e,i,n,a){const o=this._doFindMatchesMultiline(e,new ot(1,1,i.lineNumber,i.column),n,a,10*gDi);if(o.length>0)return o[o.length-1];const c=e.getLineCount();return i.lineNumber!==c||i.column!==e.getLineMaxColumn(c)?this._doFindPreviousMatchMultiline(e,new Vi(c,e.getLineMaxColumn(c)),n,a):null}static _doFindPreviousMatchLineByLine(e,i,n,a){const o=e.getLineCount(),c=i.lineNumber,h=e.getLineContent(c).substring(0,i.column-1),g=this._findLastMatchInLine(n,h,c,a);if(g)return g;for(let _=1;_<=o;_++){const x=(o+c-_-1)%o,y=e.getLineContent(x+1),S=this._findLastMatchInLine(n,y,x+1,a);if(S)return S}return null}static _findLastMatchInLine(e,i,n,a){let o=null,c;for(e.reset(0);c=e.next(i);)o=vI(new ot(n,c.index+1,n,c.index+1+c[0].length),c,a);return o}}function _Di(r,e,i,n,a){if(n===0)return!0;const o=e.charCodeAt(n-1);if(r.get(o)!==0||o===13||o===10)return!0;if(a>0){const c=e.charCodeAt(n);if(r.get(c)!==0)return!0}return!1}function DDi(r,e,i,n,a){if(n+a===i)return!0;const o=e.charCodeAt(n+a);if(r.get(o)!==0||o===13||o===10)return!0;if(a>0){const c=e.charCodeAt(n+a-1);if(r.get(c)!==0)return!0}return!1}function yJe(r,e,i,n,a){return _Di(r,e,i,n,a)&&DDi(r,e,i,n,a)}class SG{constructor(e,i){this._wordSeparators=e,this._searchRegex=i,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const i=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===i||(n=this._searchRegex.exec(e),!n))return null;const a=n.index,o=n[0].length;if(a===this._prevMatchStartIndex&&o===this._prevMatchLength){if(o===0){d5e(e,i,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=a,this._prevMatchLength=o,!this._wordSeparators||yJe(this._wordSeparators,e,i,a,o))return n}while(n);return null}}class kJe{static computeUnicodeHighlights(e,i,n){const a=n?n.startLineNumber:1,o=n?n.endLineNumber:e.getLineCount(),c=new eEt(i),h=c.getCandidateCodePoints();let g;h==="allNonBasicAscii"?g=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):g=new RegExp(`${xDi(Array.from(h))}`,"g");const _=new SG(null,g),x=[];let y=!1,S,L=0,O=0,G=0;e:for(let ie=a,ue=o;ie<=ue;ie++){const re=e.getLineContent(ie),_e=re.length;_.reset(0);do if(S=_.next(re),S){let ye=S.index,Le=S.index+S[0].length;if(ye>0){const rt=re.charCodeAt(ye-1);i4(rt)&&ye--}if(Le+1<_e){const rt=re.charCodeAt(Le-1);i4(rt)&&Le++}const lt=re.substring(ye,Le);let Ue=Pue(ye+1,qGe,re,0);Ue&&Ue.endColumn<=ye+1&&(Ue=null);const Ze=c.shouldHighlightNonBasicASCII(lt,Ue?Ue.word:null);if(Ze!==0){if(Ze===3?L++:Ze===2?O++:Ze===1?G++:L6e(),x.length>=1e3){y=!0;break e}x.push(new ot(ie,ye+1,ie,Le+1))}}while(S)}return{ranges:x,hasMore:y,ambiguousCharacterCount:L,invisibleCharacterCount:O,nonBasicAsciiCharacterCount:G}}static computeUnicodeHighlightReason(e,i){const n=new eEt(i);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const o=e.codePointAt(0),c=n.ambiguousCharacters.getPrimaryConfusable(o),h=t2.getLocales().filter(g=>!t2.getInstance(new Set([...i.allowedLocales,g])).isAmbiguous(o));return{kind:0,confusableWith:String.fromCodePoint(c),notAmbiguousInLocales:h}}case 1:return{kind:2}}}}function xDi(r,e){return`[${px(r.map(n=>String.fromCodePoint(n)).join(""))}]`}class eEt{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=t2.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const i of vA.codePoints)tEt(String.fromCodePoint(i))||e.add(i);if(this.options.ambiguousCharacters)for(const i of this.ambiguousCharacters.getConfusableCodePoints())e.add(i);for(const i of this.allowedCodePoints)e.delete(i);return e}shouldHighlightNonBasicASCII(e,i){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let a=!1,o=!1;if(i)for(const c of i){const h=c.codePointAt(0),g=xae(c);a=a||g,!g&&!this.ambiguousCharacters.isAmbiguous(h)&&!vA.isInvisibleCharacter(h)&&(o=!0)}return!a&&o?0:this.options.invisibleCharacters&&!tEt(e)&&vA.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function tEt(r){return r===" "||r===` `||r===" "}class t2t{constructor(e,i){this.changes=e,this.hitTimeout=i}}class jJ{constructor(e,i,n){this.originalRange=e,this.modifiedRange=i,this.innerChanges=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class Q6e{constructor(e,i){this.originalRange=e,this.modifiedRange=i}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}let G6=class cne{static joinMany(e){if(e.length===0)return[];let i=e[0];for(let n=1;n=h.startLineNumber?c=new cne(c.startLineNumber,Math.max(c.endLineNumberExclusive,h.endLineNumberExclusive)):(n.push(c),c=h)}return c!==null&&n.push(c),n}constructor(e,i){if(e>i)throw new KA(`startLineNumber ${e} cannot be after endLineNumberExclusive ${i}`);this.startLineNumber=e,this.endLineNumberExclusive=i}contains(e){return this.startLineNumber<=e&&enew Q6e(new ot(L.originalStartLineNumber,L.originalStartColumn,L.originalEndLineNumber,L.originalEndColumn),new ot(L.modifiedStartLineNumber,L.modifiedStartColumn,L.modifiedEndLineNumber,L.modifiedEndColumn))));g&&(g.modifiedRange.endLineNumberExclusive===S.modifiedRange.startLineNumber||g.originalRange.endLineNumberExclusive===S.originalRange.startLineNumber)&&(S=new jJ(g.originalRange.join(S.originalRange),g.modifiedRange.join(S.modifiedRange),g.innerChanges&&S.innerChanges?g.innerChanges.concat(S.innerChanges):void 0),h.pop()),h.push(S),g=S}return _Je(()=>NCt(h,(_,x)=>x.originalRange.startLineNumber-_.originalRange.endLineNumberExclusive===x.modifiedRange.startLineNumber-_.modifiedRange.endLineNumberExclusive&&_.originalRange.endLineNumberExclusive(e===10?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[i]},${this._columns[i]})`).join(", ")+"]"}_assertIndex(e,i){if(e<0||e>=i.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return e===-1?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),this._charCodes[e]===10?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return e===-1?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),this._charCodes[e]===10?1:this._columns[e]+1)}}class aJ{constructor(e,i,n,a,o,c,h,g){this.originalStartLineNumber=e,this.originalStartColumn=i,this.originalEndLineNumber=n,this.originalEndColumn=a,this.modifiedStartLineNumber=o,this.modifiedStartColumn=c,this.modifiedEndLineNumber=h,this.modifiedEndColumn=g}static createFromDiffChange(e,i,n){const a=i.getStartLineNumber(e.originalStart),o=i.getStartColumn(e.originalStart),c=i.getEndLineNumber(e.originalStart+e.originalLength-1),h=i.getEndColumn(e.originalStart+e.originalLength-1),g=n.getStartLineNumber(e.modifiedStart),_=n.getStartColumn(e.modifiedStart),x=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),y=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new aJ(a,o,c,h,g,_,x,y)}}function yDi(r){if(r.length<=1)return r;const e=[r[0]];let i=e[0];for(let n=1,a=r.length;n0&&i.originalLength<20&&i.modifiedLength>0&&i.modifiedLength<20&&o()){const L=n.createCharSequence(e,i.originalStart,i.originalStart+i.originalLength-1),O=a.createCharSequence(e,i.modifiedStart,i.modifiedStart+i.modifiedLength-1);if(L.getElements().length>0&&O.getElements().length>0){let G=i2t(L,O,o,!0).changes;h&&(G=yDi(G)),S=[];for(let ie=0,ue=G.length;ie1&&G>1;){const ie=S.charCodeAt(O-2),ue=L.charCodeAt(G-2);if(ie!==ue)break;O--,G--}(O>1||G>1)&&this._pushTrimWhitespaceCharChange(a,o+1,1,O,c+1,1,G)}{let O=bVe(S,1),G=bVe(L,1);const ie=S.length+1,ue=L.length+1;for(;O!0;const e=Date.now();return()=>Date.now()-ei))return new Lh(e,i)}constructor(e,i){if(this.start=e,this.endExclusive=i,e>i)throw new KA(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new Lh(this.start+e,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}join(e){return new Lh(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){const i=Math.max(this.start,e.start),n=Math.min(this.endExclusive,e.endExclusive);if(i<=n)return new Lh(i,n)}}class ZS{static trivial(e,i){return new ZS([new i2(new Lh(0,e.length),new Lh(0,i.length))],!1)}static trivialTimedOut(e,i){return new ZS([new i2(new Lh(0,e.length),new Lh(0,i.length))],!0)}constructor(e,i){this.diffs=e,this.hitTimeout=i}}class i2{constructor(e,i){this.seq1Range=e,this.seq2Range=i}reverse(){return new i2(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new i2(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}}class Kue{isValid(){return!0}}Kue.instance=new Kue;class FDi{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new KA("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime0&&G>0&&c.get(O-1,G-1)===3&&(re+=h.get(O-1,G-1)),re+=a?a(O,G):1):re=-1;const _e=Math.max(ie,ue,re);if(_e===re){const ye=O>0&&G>0?h.get(O-1,G-1):0;h.set(O,G,ye+1),c.set(O,G,3)}else _e===ie?(h.set(O,G,0),c.set(O,G,1)):_e===ue&&(h.set(O,G,0),c.set(O,G,2));o.set(O,G,_e)}const g=[];let _=e.length,x=i.length;function y(O,G){(O+1!==_||G+1!==x)&&g.push(new i2(new Lh(O+1,_),new Lh(G+1,x))),_=O,x=G}let S=e.length-1,L=i.length-1;for(;S>=0&&L>=0;)c.get(S,L)===3?(y(S,L),S--,L--):c.get(S,L)===1?S--:L--;return y(-1,-1),g.reverse(),new ZS(g,!1)}}function uEt(r,e,i){let n=i;return n=BDi(r,e,n),n=wDi(r,e,n),n}function SDi(r,e,i){const n=[];for(const a of i){const o=n[n.length-1];if(!o){n.push(a);continue}a.seq1Range.start-o.seq1Range.endExclusive<=2||a.seq2Range.start-o.seq2Range.endExclusive<=2?n[n.length-1]=new i2(o.seq1Range.join(a.seq1Range),o.seq2Range.join(a.seq2Range)):n.push(a)}return n}function BDi(r,e,i){const n=[];i.length>0&&n.push(i[0]);for(let a=1;a0?i[n-1].seq2Range.endExclusive:-1,c=n+10?i[n-1].seq1Range.endExclusive:-1,c=n+1a&&i.getElement(r.seq2Range.start-c)===i.getElement(r.seq2Range.endExclusive-c)&&c<20;)c++;c--;let h=0;for(;r.seq2Range.start+h_&&(_=O,g=x)}return g!==0?new i2(r.seq1Range.delta(g),r.seq2Range.delta(g)):r}class TDi{compute(e,i,n=Kue.instance){if(e.length===0||i.length===0)return ZS.trivial(e,i);function a(L,O){for(;L=this.negativeArr.length){const n=this.negativeArr;this.negativeArr=new Int32Array(n.length*2),this.negativeArr.set(n)}this.negativeArr[e]=i}else{if(e>=this.positiveArr.length){const n=this.positiveArr;this.positiveArr=new Int32Array(n.length*2),this.positiveArr.set(n)}this.positiveArr[e]=i}}}class NDi{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,i){e<0?(e=-e-1,this.negativeArr[e]=i):this.positiveArr[e]=i}}class PDi{constructor(){this.dynamicProgrammingDiffing=new ADi,this.myersDiffingAlgorithm=new TDi}computeDiff(e,i,n){const a=n.maxComputationTimeMs===0?Kue.instance:new FDi(n.maxComputationTimeMs),o=!n.ignoreTrimWhitespace,c=new Map;function h(ye){let Le=c.get(ye);return Le===void 0&&(Le=c.size,c.set(ye,Le)),Le}const g=e.map(ye=>h(ye.trim())),_=i.map(ye=>h(ye.trim())),x=new oEt(g,e),y=new oEt(_,i),S=x.length+y.length<1500?this.dynamicProgrammingDiffing.compute(x,y,a,(ye,Le)=>e[ye]===i[Le]?i[Le].length===0?.1:1+Math.log(1+i[Le].length):.99):this.myersDiffingAlgorithm.compute(x,y);let L=S.diffs,O=S.hitTimeout;L=uEt(x,y,L);const G=[],ie=ye=>{if(o)for(let Le=0;Leye.seq1Range.start-ue===ye.seq2Range.start-re);const Le=ye.seq1Range.start-ue;ie(Le),ue=ye.seq1Range.endExclusive,re=ye.seq2Range.endExclusive;const lt=this.refineDiff(e,i,ye,a,o);lt.hitTimeout&&(O=!0);for(const Ue of lt.mappings)G.push(Ue)}ie(e.length-ue);const _e=IDi(G,e,i);return new t2t(_e,O)}refineDiff(e,i,n,a,o){const c=new lEt(e,n.seq1Range,o),h=new lEt(i,n.seq2Range,o),g=c.length+h.length<500?this.dynamicProgrammingDiffing.compute(c,h,a):this.myersDiffingAlgorithm.compute(c,h,a);let _=g.diffs;return _=uEt(c,h,_),_=MDi(c,h,_),_=SDi(c,h,_),{mappings:_.map(y=>new Q6e(c.translateRange(y.seq1Range),h.translateRange(y.seq2Range))),hitTimeout:g.hitTimeout}}}function MDi(r,e,i){const n=[];let a;function o(){if(!a)return;const h=a.s1Range.length-a.deleted;a.s2Range.length-a.added,Math.max(a.deleted,a.added)+(a.count-1)>h&&n.push(new i2(a.s1Range,a.s2Range)),a=void 0}for(const h of i){let g=function(L,O){var G,ie,ue,re;if(!a||!a.s1Range.containsRange(L)||!a.s2Range.containsRange(O))if(a&&!(a.s1Range.endExclusive0||e.length>0;){const n=r[0],a=e[0];let o;n&&(!a||n.seq1Range.start0&&i[i.length-1].seq1Range.endExclusive>=o.seq1Range.start?i[i.length-1]=i[i.length-1].join(o):i.push(o)}return i}function IDi(r,e,i){const n=[];for(const a of ODi(r.map(o=>RDi(o,e,i)),(o,c)=>o.originalRange.overlapOrTouch(c.originalRange)||o.modifiedRange.overlapOrTouch(c.modifiedRange))){const o=a[0],c=a[a.length-1];n.push(new jJ(o.originalRange.join(c.originalRange),o.modifiedRange.join(c.modifiedRange),a.map(h=>h.innerChanges[0])))}return _Je(()=>NCt(n,(a,o)=>o.originalRange.startLineNumber-a.originalRange.endLineNumberExclusive===o.modifiedRange.startLineNumber-a.modifiedRange.endLineNumberExclusive&&a.originalRange.endLineNumberExclusive=i[r.modifiedRange.startLineNumber-1].length&&r.originalRange.startColumn-1>=e[r.originalRange.startLineNumber-1].length&&(n=1),r.modifiedRange.endColumn===1&&r.originalRange.endColumn===1&&r.originalRange.startLineNumber+n<=r.originalRange.endLineNumber&&r.modifiedRange.startLineNumber+n<=r.modifiedRange.endLineNumber&&(a=-1);const o=new G6(r.originalRange.startLineNumber+n,r.originalRange.endLineNumber+1+a),c=new G6(r.modifiedRange.startLineNumber+n,r.modifiedRange.endLineNumber+1+a);return new jJ(o,c,[r])}function*ODi(r,e){let i,n;for(const a of r)n!==void 0&&e(n,a)?i.push(a):(i&&(yield i),i=[a]),n=a;i&&(yield i)}class oEt{constructor(e,i){this.trimmedHash=e,this.lines=i}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){const i=e===0?0:sEt(this.lines[e-1]),n=e===this.lines.length?0:sEt(this.lines[e]);return 1e3-(i+n)}}function sEt(r){let e=0;for(;e0&&i.endExclusive>=e.length&&(i=new Lh(i.start-1,i.endExclusive),a=!0),this.lineRange=i;for(let o=this.lineRange.start;oString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){const i=dEt(e>0?this.elements[e-1]:-1),n=dEt(ee?n=o:i=o+1}const a=i===0?0:this.firstCharOffsetByLineMinusOne[i-1];return new Vi(this.lineRange.start+i+1,e-a+1+this.offsetByLine[i])}translateRange(e){return ot.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!LIe(this.elements[e]))return;let i=e;for(;i>0&&LIe(this.elements[i-1]);)i--;let n=e;for(;n=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57}const jDi={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function cEt(r){return jDi[r]}function dEt(r){return r===10?7:r===13?6:VDi(r)?5:r>=97&&r<=122?0:r>=65&&r<=90?1:r>=48&&r<=57?2:r===-1?3:4}function VDi(r){return r===32||r===9}const hEt={smart:new CDi,experimental:new PDi};var Yz=function(r,e,i,n){function a(o){return o instanceof i?o:new i(function(c){c(o)})}return new(i||(i=Promise))(function(o,c){function h(x){try{_(n.next(x))}catch(y){c(y)}}function g(x){try{_(n.throw(x))}catch(y){c(y)}}function _(x){x.done?o(x.value):a(x.value).then(h,g)}_((n=n.apply(r,e||[])).next())})};class HDi extends sDi{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,i){const n=Pue(e.column,qvt(i),this._lines[e.lineNumber-1],0);return n?new ot(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const i=this._lines,n=this._wordenize.bind(this);let a=0,o="",c=0,h=[];return{*[Symbol.iterator](){for(;;)if(cthis._lines.length)i=this._lines.length,n=this._lines[i-1].length+1,a=!0;else{const o=this._lines[i-1].length+1;n<1?(n=1,a=!0):n>o&&(n=o,a=!0)}return a?{lineNumber:i,column:n}:e}}class bL{constructor(e,i){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=i,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach(i=>e.push(this._models[i])),e}acceptNewModel(e){this._models[e.url]=new HDi(no.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,i){if(!this._models[e])return;this._models[e].onEvents(i)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,i,n){return Yz(this,void 0,void 0,function*(){const a=this._getModel(e);return a?kJe.computeUnicodeHighlights(a,i,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,i,n,a){return Yz(this,void 0,void 0,function*(){const o=this._getModel(e),c=this._getModel(i);return!o||!c?null:bL.computeDiff(o,c,n,a)})}static computeDiff(e,i,n,a){const o=a==="experimental"?hEt.experimental:hEt.smart,c=e.getLinesContent(),h=i.getLinesContent(),g=o.computeDiff(c,h,n);return{identical:g.changes.length>0?!1:this._modelsAreIdentical(e,i),quitEarly:g.hitTimeout,changes:g.changes.map(x=>{var y;return[x.originalRange.startLineNumber,x.originalRange.endLineNumberExclusive,x.modifiedRange.startLineNumber,x.modifiedRange.endLineNumberExclusive,(y=x.innerChanges)===null||y===void 0?void 0:y.map(S=>[S.originalRange.startLineNumber,S.originalRange.startColumn,S.originalRange.endLineNumber,S.originalRange.endColumn,S.modifiedRange.startLineNumber,S.modifiedRange.startColumn,S.modifiedRange.endLineNumber,S.modifiedRange.endColumn])]})}}static _modelsAreIdentical(e,i){const n=e.getLineCount(),a=i.getLineCount();if(n!==a)return!1;for(let o=1;o<=n;o++){const c=e.getLineContent(o),h=i.getLineContent(o);if(c!==h)return!1}return!0}computeMoreMinimalEdits(e,i,n){return Yz(this,void 0,void 0,function*(){const a=this._getModel(e);if(!a)return i;const o=[];let c;i=i.slice(0).sort((h,g)=>{if(h.range&&g.range)return ot.compareRangesUsingStarts(h.range,g.range);const _=h.range?0:1,x=g.range?0:1;return _-x});for(let{range:h,text:g,eol:_}of i){if(typeof _=="number"&&(c=_),ot.isEmpty(h)&&!g)continue;const x=a.getValueInRange(h);if(g=g.replace(/\r\n|\n|\r/g,a.eol),x===g)continue;if(Math.max(g.length,x.length)>bL._diffLimit){o.push({range:h,text:g});continue}const y=rDi(x,g,n),S=a.offsetAt(ot.lift(h).getStartPosition());for(const L of y){const O=a.positionAt(S+L.originalStart),G=a.positionAt(S+L.originalStart+L.originalLength),ie={text:g.substr(L.modifiedStart,L.modifiedLength),range:{startLineNumber:O.lineNumber,startColumn:O.column,endLineNumber:G.lineNumber,endColumn:G.column}};a.getValueInRange(ie.range)!==ie.text&&o.push(ie)}}return typeof c=="number"&&o.push({eol:c,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o})}computeLinks(e){return Yz(this,void 0,void 0,function*(){const i=this._getModel(e);return i?fDi(i):null})}textualSuggest(e,i,n,a){return Yz(this,void 0,void 0,function*(){const o=new V3(!0),c=new RegExp(n,a),h=new Set;e:for(const g of e){const _=this._getModel(g);if(_){for(const x of _.words(c))if(!(x===i||!isNaN(Number(x)))&&(h.add(x),h.size>bL._suggestionsLimit))break e}}return{words:Array.from(h),duration:o.elapsed()}})}computeWordRanges(e,i,n,a){return Yz(this,void 0,void 0,function*(){const o=this._getModel(e);if(!o)return Object.create(null);const c=new RegExp(n,a),h=Object.create(null);for(let g=i.startLineNumber;gthis._host.fhr(h,g)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(c,i),Promise.resolve(YGe(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,i){if(!this._foreignModule||typeof this._foreignModule[e]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,i))}catch(n){return Promise.reject(n)}}}bL._diffLimit=1e5;bL._suggestionsLimit=1e4;typeof importScripts=="function"&&(globalThis.monaco=vCt());const FJe=k0("textResourceConfigurationService"),n2t=k0("textResourcePropertiesService"),rv=k0("logService");var jg;(function(r){r[r.Off=0]="Off",r[r.Trace=1]="Trace",r[r.Debug=2]="Debug",r[r.Info=3]="Info",r[r.Warning=4]="Warning",r[r.Error=5]="Error"})(jg||(jg={}));const u2t=jg.Info;class r2t extends ln{constructor(){super(...arguments),this.level=u2t,this._onDidChangeLogLevel=this._register(new Fi),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(e){return this.level!==jg.Off&&this.level<=e}}class KDi extends r2t{constructor(e=u2t,i=!0){super(),this.useColors=i,this.setLevel(e)}trace(e,...i){this.checkLogLevel(jg.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",e,...i):console.log(e,...i))}debug(e,...i){this.checkLogLevel(jg.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",e,...i):console.log(e,...i))}info(e,...i){this.checkLogLevel(jg.Info)&&(this.useColors?console.log("%c INFO","color: #33f",e,...i):console.log(e,...i))}error(e,...i){this.checkLogLevel(jg.Error)&&(this.useColors?console.log("%c ERR","color: #f33",e,...i):console.error(e,...i))}dispose(){}}class WDi extends r2t{constructor(e){super(),this.loggers=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(const i of this.loggers)i.setLevel(e);super.setLevel(e)}trace(e,...i){for(const n of this.loggers)n.trace(e,...i)}debug(e,...i){for(const n of this.loggers)n.debug(e,...i)}info(e,...i){for(const n of this.loggers)n.info(e,...i)}error(e,...i){for(const n of this.loggers)n.error(e,...i)}dispose(){for(const e of this.loggers)e.dispose()}}function GDi(r){switch(r){case jg.Trace:return"trace";case jg.Debug:return"debug";case jg.Info:return"info";case jg.Warning:return"warn";case jg.Error:return"error";case jg.Off:return"off"}}new jr("logLevel",GDi(jg.Info));const da=k0("ILanguageFeaturesService");var JDi=function(r,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,i,n);else for(var h=r.length-1;h>=0;h--)(c=r[h])&&(o=(a<3?c(o):a>3?c(e,i,o):c(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},zie=function(r,e){return function(i,n){e(i,n,r)}},_5e=function(r,e,i,n){function a(o){return o instanceof i?o:new i(function(c){c(o)})}return new(i||(i=Promise))(function(o,c){function h(x){try{_(n.next(x))}catch(y){c(y)}}function g(x){try{_(n.throw(x))}catch(y){c(y)}}function _(x){x.done?o(x.value):a(x.value).then(h,g)}_((n=n.apply(r,e||[])).next())})};const fEt=60*1e3,mEt=5*60*1e3;function CI(r,e){const i=r.getModel(e);return!(!i||i.isTooLargeForSyncing())}let yVe=class extends ln{constructor(e,i,n,a,o){super(),this._modelService=e,this._workerManager=this._register(new UDi(this._modelService,a)),this._logService=n,this._register(o.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(c,h)=>CI(this._modelService,c.uri)?this._workerManager.withWorker().then(g=>g.computeLinks(c.uri)).then(g=>g&&{links:g}):Promise.resolve({links:[]})})),this._register(o.completionProvider.register("*",new $Di(this._workerManager,i,this._modelService,a)))}dispose(){super.dispose()}canComputeUnicodeHighlights(e){return CI(this._modelService,e)}computedUnicodeHighlights(e,i,n){return this._workerManager.withWorker().then(a=>a.computedUnicodeHighlights(e,i,n))}computeDiff(e,i,n,a){return _5e(this,void 0,void 0,function*(){const o=yield this._workerManager.withWorker().then(h=>h.computeDiff(e,i,n,a));return o?{identical:o.identical,quitEarly:o.quitEarly,changes:o.changes.map(h=>{var g;return new jJ(new G6(h[0],h[1]),new G6(h[2],h[3]),(g=h[4])===null||g===void 0?void 0:g.map(_=>new Q6e(new ot(_[0],_[1],_[2],_[3]),new ot(_[4],_[5],_[6],_[7]))))})}:null})}computeMoreMinimalEdits(e,i,n=!1){if(Wg(i)){if(!CI(this._modelService,e))return Promise.resolve(i);const a=V3.create(!0),o=this._workerManager.withWorker().then(c=>c.computeMoreMinimalEdits(e,i,n));return o.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),a.elapsed())),Promise.race([o,WL(1e3).then(()=>i)])}else return Promise.resolve(void 0)}canNavigateValueSet(e){return CI(this._modelService,e)}navigateValueSet(e,i,n){return this._workerManager.withWorker().then(a=>a.navigateValueSet(e,i,n))}canComputeWordRanges(e){return CI(this._modelService,e)}computeWordRanges(e,i){return this._workerManager.withWorker().then(n=>n.computeWordRanges(e,i))}};yVe=JDi([zie(0,ch),zie(1,FJe),zie(2,rv),zie(3,T1),zie(4,da)],yVe);class $Di{constructor(e,i,n,a){this.languageConfigurationService=a,this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=i,this._modelService=n}provideCompletionItems(e,i){return _5e(this,void 0,void 0,function*(){const n=this._configurationService.getValue(e.uri,i,"editor");if(!n.wordBasedSuggestions)return;const a=[];if(n.wordBasedSuggestionsMode==="currentDocument")CI(this._modelService,e.uri)&&a.push(e.uri);else for(const y of this._modelService.getModels())CI(this._modelService,y.uri)&&(y===e?a.unshift(y.uri):(n.wordBasedSuggestionsMode==="allDocuments"||y.getLanguageId()===e.getLanguageId())&&a.push(y.uri));if(a.length===0)return;const o=this.languageConfigurationService.getLanguageConfiguration(e.getLanguageId()).getWordDefinition(),c=e.getWordAtPosition(i),h=c?new ot(i.lineNumber,c.startColumn,i.lineNumber,c.endColumn):ot.fromPositions(i),g=h.setEndPosition(i.lineNumber,i.column),x=yield(yield this._workerManager.withWorker()).textualSuggest(a,c==null?void 0:c.word,o);if(x)return{duration:x.duration,suggestions:x.words.map(y=>({kind:18,label:y,insertText:y,range:{insert:g,replace:h}}))}})}}class UDi extends ln{constructor(e,i){super(),this.languageConfigurationService=i,this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new yae).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(mEt/2)),this._register(this._modelService.onModelRemoved(a=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;this._modelService.getModels().length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;new Date().getTime()-this._lastWorkerUsedTime>mEt&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new a2t(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class qDi extends ln{constructor(e,i,n){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=i,!n){const a=new yae;a.cancelAndSet(()=>this._checkStopModelSync(),Math.round(fEt/2)),this._register(a)}}dispose(){for(const e in this._syncedModels)ac(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,i){for(const n of e){const a=n.toString();this._syncedModels[a]||this._beginModelSync(n,i),this._syncedModels[a]&&(this._syncedModelsLastUsedTime[a]=new Date().getTime())}}_checkStopModelSync(){const e=new Date().getTime(),i=[];for(const n in this._syncedModelsLastUsedTime)e-this._syncedModelsLastUsedTime[n]>fEt&&i.push(n);for(const n of i)this._stopModelSync(n)}_beginModelSync(e,i){const n=this._modelService.getModel(e);if(!n||!i&&n.isTooLargeForSyncing())return;const a=e.toString();this._proxy.acceptNewModel({url:n.uri.toString(),lines:n.getLinesContent(),EOL:n.getEOL(),versionId:n.getVersionId()});const o=new cu;o.add(n.onDidChangeContent(c=>{this._proxy.acceptModelChanged(a.toString(),c)})),o.add(n.onWillDispose(()=>{this._stopModelSync(a)})),o.add(Ts(()=>{this._proxy.acceptRemovedModel(a)})),this._syncedModels[a]=o}_stopModelSync(e){const i=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],ac(i)}}class pEt{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class NIe{constructor(e){this._workerClient=e}fhr(e,i){return this._workerClient.fhr(e,i)}}class a2t extends ln{constructor(e,i,n,a){super(),this.languageConfigurationService=a,this._disposed=!1,this._modelService=e,this._keepIdleModels=i,this._workerFactory=new q6e(n),this._worker=null,this._modelManager=null}fhr(e,i){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new Z3i(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new NIe(this)))}catch(e){xVe(e),this._worker=new pEt(new bL(new NIe(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(xVe(e),this._worker=new pEt(new bL(new NIe(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new qDi(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e,i=!1){return _5e(this,void 0,void 0,function*(){return this._disposed?Promise.reject(FEi()):this._getProxy().then(n=>(this._getOrCreateModelManager(n).ensureSyncedResources(e,i),n))})}computedUnicodeHighlights(e,i,n){return this._withSyncedResources([e]).then(a=>a.computeUnicodeHighlights(e.toString(),i,n))}computeDiff(e,i,n,a){return this._withSyncedResources([e,i],!0).then(o=>o.computeDiff(e.toString(),i.toString(),n,a))}computeMoreMinimalEdits(e,i,n){return this._withSyncedResources([e]).then(a=>a.computeMoreMinimalEdits(e.toString(),i,n))}computeLinks(e){return this._withSyncedResources([e]).then(i=>i.computeLinks(e.toString()))}textualSuggest(e,i,n){return _5e(this,void 0,void 0,function*(){const a=yield this._withSyncedResources(e),o=n.source,c=gIe(n);return a.textualSuggest(e.map(h=>h.toString()),i,o,c)})}computeWordRanges(e,i){return this._withSyncedResources([e]).then(n=>{const a=this._modelService.getModel(e);if(!a)return Promise.resolve(null);const o=this.languageConfigurationService.getLanguageConfiguration(a.getLanguageId()).getWordDefinition(),c=o.source,h=gIe(o);return n.computeWordRanges(e.toString(),i,c,h)})}navigateValueSet(e,i,n){return this._withSyncedResources([e]).then(a=>{const o=this._modelService.getModel(e);if(!o)return null;const c=this.languageConfigurationService.getLanguageConfiguration(o.getLanguageId()).getWordDefinition(),h=c.source,g=gIe(c);return a.navigateValueSet(e.toString(),i,n,h,g)})}dispose(){super.dispose(),this._disposed=!0}}function ZDi(r,e,i){return new YDi(r,e,i)}class YDi extends a2t{constructor(e,i,n){super(e,n.keepIdleModels||!1,n.label,i),this._foreignModuleId=n.moduleId,this._foreignModuleCreateData=n.createData||null,this._foreignModuleHost=n.host||null,this._foreignProxy=null}fhr(e,i){if(!this._foreignModuleHost||typeof this._foreignModuleHost[e]!="function")return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,i))}catch(n){return Promise.reject(n)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{const i=this._foreignModuleHost?YGe(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,i).then(n=>{this._foreignModuleCreateData=null;const a=(h,g)=>e.fmr(h,g),o=(h,g)=>function(){const _=Array.prototype.slice.call(arguments,0);return g(h,_)},c={};for(const h of n)c[h]=o(h,a);return c})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(i=>this.getProxy())}}class ng{static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static getClassNameFromMetadata(e){let n="mtk"+this.getForeground(e);const a=this.getFontStyle(e);return a&1&&(n+=" mtki"),a&2&&(n+=" mtkb"),a&4&&(n+=" mtku"),a&8&&(n+=" mtks"),n}static getInlineStyleFromMetadata(e,i){const n=this.getForeground(e),a=this.getFontStyle(e);let o=`color: ${i[n]};`;a&1&&(o+="font-style: italic;"),a&2&&(o+="font-weight: bold;");let c="";return a&4&&(c+=" underline"),a&8&&(c+=" line-through"),c&&(o+=`text-decoration:${c};`),o}static getPresentationFromMetadata(e){const i=this.getForeground(e),n=this.getFontStyle(e);return{foreground:i,italic:!!(n&1),bold:!!(n&2),underline:!!(n&4),strikethrough:!!(n&8)}}}class n4{static createEmpty(e,i){const n=n4.defaultTokenMetadata,a=new Uint32Array(2);return a[0]=e.length,a[1]=n,new n4(a,e,i)}constructor(e,i,n){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=i,this._languageIdCodec=n}equals(e){return e instanceof n4?this.slicedEquals(e,0,this._tokensCount):!1}slicedEquals(e,i,n){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;const a=i<<1,o=a+(n<<1);for(let c=a;c0?this._tokens[e-1<<1]:0}getMetadata(e){return this._tokens[(e<<1)+1]}getLanguageId(e){const i=this._tokens[(e<<1)+1],n=ng.getLanguageId(i);return this._languageIdCodec.decodeLanguageId(n)}getStandardTokenType(e){const i=this._tokens[(e<<1)+1];return ng.getTokenType(i)}getForeground(e){const i=this._tokens[(e<<1)+1];return ng.getForeground(i)}getClassName(e){const i=this._tokens[(e<<1)+1];return ng.getClassNameFromMetadata(i)}getInlineStyle(e,i){const n=this._tokens[(e<<1)+1];return ng.getInlineStyleFromMetadata(n,i)}getPresentation(e){const i=this._tokens[(e<<1)+1];return ng.getPresentationFromMetadata(i)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return n4.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,i,n){return new AJe(this,e,i,n)}static convertToEndOffset(e,i){const a=(e.length>>>1)-1;for(let o=0;o>>1)-1;for(;ni&&(a=o)}return n}withInserted(e){if(e.length===0)return this;let i=0,n=0,a="";const o=new Array;let c=0;for(;;){const h=ic){a+=this._text.substring(c,g.offset);const _=this._tokens[(i<<1)+1];o.push(a.length,_),c=g.offset}a+=g.text,o.push(a.length,g.tokenMetadata),n++}else break}return new n4(new Uint32Array(o),a,this._languageIdCodec)}}n4.defaultTokenMetadata=(32768|2<<24)>>>0;class AJe{constructor(e,i,n,a){this._source=e,this._startOffset=i,this._endOffset=n,this._deltaOffset=a,this._firstTokenIndex=e.findTokenIndexAtOffset(i),this._tokensCount=0;for(let o=this._firstTokenIndex,c=e.getCount();o=n);o++)this._tokensCount++}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof AJe?this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount):!1}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){const i=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,i)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,i){return this._source.getInlineStyle(this._firstTokenIndex+e,i)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}class jD{constructor(e,i,n,a){this.startColumn=e,this.endColumn=i,this.className=n,this.type=a,this._lineDecorationBrand=void 0}static _equals(e,i){return e.startColumn===i.startColumn&&e.endColumn===i.endColumn&&e.className===i.className&&e.type===i.type}static equalsArr(e,i){const n=e.length,a=i.length;if(n!==a)return!1;for(let o=0;o=o||(h[g++]=new jD(Math.max(1,_.startColumn-a+1),Math.min(c+1,_.endColumn-a+1),_.className,_.type));return h}static filter(e,i,n,a){if(e.length===0)return[];const o=[];let c=0;for(let h=0,g=e.length;hi||x.isEmpty()&&(_.type===0||_.type===3))continue;const y=x.startLineNumber===i?x.startColumn:n,S=x.endLineNumber===i?x.endColumn:a;o[c++]=new jD(y,S,_.inlineClassName,_.type)}return o}static _typeCompare(e,i){const n=[2,0,1,3];return n[e]-n[i]}static compare(e,i){if(e.startColumn!==i.startColumn)return e.startColumn-i.startColumn;if(e.endColumn!==i.endColumn)return e.endColumn-i.endColumn;const n=jD._typeCompare(e.type,i.type);return n!==0?n:e.className!==i.className?e.className0&&this.stopOffsets[0]0&&i=e){this.stopOffsets.splice(a,0,e),this.classNames.splice(a,0,i),this.metadata.splice(a,0,n);break}this.count++}}class QDi{static normalize(e,i){if(i.length===0)return[];const n=[],a=new D5e;let o=0;for(let c=0,h=i.length;c1){const G=e.charCodeAt(_-2);i4(G)&&_--}if(x>1){const G=e.charCodeAt(x-2);i4(G)&&x--}const L=_-1,O=x-2;o=a.consumeLowerThan(L,o,n),a.count===0&&(o=L),a.insert(O,y,S)}return a.consumeLowerThan(1073741824,o,n),n}}class N4{constructor(e,i,n,a){this.endIndex=e,this.type=i,this.metadata=n,this.containsRTL=a,this._linePartBrand=void 0}isWhitespace(){return!!(this.metadata&1)}isPseudoAfter(){return!!(this.metadata&4)}}class o2t{constructor(e,i){this.startOffset=e,this.endOffset=i}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class dN{constructor(e,i,n,a,o,c,h,g,_,x,y,S,L,O,G,ie,ue,re,_e){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=i,this.lineContent=n,this.continuesWithWrappedLine=a,this.isBasicASCII=o,this.containsRTL=c,this.fauxIndentLength=h,this.lineTokens=g,this.lineDecorations=_.sort(jD.compare),this.tabSize=x,this.startVisibleColumn=y,this.spaceWidth=S,this.stopRenderingLineAfter=G,this.renderWhitespace=ie==="all"?4:ie==="boundary"?1:ie==="selection"?2:ie==="trailing"?3:0,this.renderControlCharacters=ue,this.fontLigatures=re,this.selectionsOnLine=_e&&_e.sort((lt,Ue)=>lt.startOffset>>16}static getCharIndex(e){return(e&65535)>>>0}constructor(e,i){this.length=e,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(e,i,n,a){const o=(i<<16|n<<0)>>>0;this._data[e-1]=o,this._horizontalOffset[e-1]=a}getHorizontalOffset(e){return this._horizontalOffset.length===0?0:this._horizontalOffset[e-1]}charOffsetToPartData(e){return this.length===0?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){const i=this.charOffsetToPartData(e-1),n=YF.getPartIndex(i),a=YF.getCharIndex(i);return new SJe(n,a)}getColumn(e,i){return this.partDataToCharOffset(e.partIndex,i,e.charIndex)+1}partDataToCharOffset(e,i,n){if(this.length===0)return 0;const a=(e<<16|n<<0)>>>0;let o=0,c=this.length-1;for(;o+1>>1,ie=this._data[G];if(ie===a)return G;ie>a?c=G:o=G}if(o===c)return o;const h=this._data[o],g=this._data[c];if(h===a)return o;if(g===a)return c;const _=YF.getPartIndex(h),x=YF.getCharIndex(h),y=YF.getPartIndex(g);let S;_!==y?S=i:S=YF.getCharIndex(g);const L=n-x,O=S-n;return L<=O?o:c}}class kVe{constructor(e,i,n){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=i,this.containsForeignElements=n}}function kae(r,e){if(r.lineContent.length===0){if(r.lineDecorations.length>0){e.appendString("");let i=0,n=0,a=0;for(const c of r.lineDecorations)(c.type===1||c.type===2)&&(e.appendString(''),c.type===1&&(a|=1,i++),c.type===2&&(a|=2,n++));e.appendString("");const o=new YF(1,i+n);return o.setColumnInfo(1,i,0,0),new kVe(o,!1,a)}return e.appendString(""),new kVe(new YF(0,0),!1,0)}return o5i(t5i(r),e)}class XDi{constructor(e,i,n,a){this.characterMapping=e,this.html=i,this.containsRTL=n,this.containsForeignElements=a}}function X6e(r){const e=new S$(1e4),i=kae(r,e);return new XDi(i.characterMapping,e.build(),i.containsRTL,i.containsForeignElements)}class e5i{constructor(e,i,n,a,o,c,h,g,_,x,y,S,L,O,G,ie){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=i,this.lineContent=n,this.len=a,this.isOverflowing=o,this.overflowingCharCount=c,this.parts=h,this.containsForeignElements=g,this.fauxIndentLength=_,this.tabSize=x,this.startVisibleColumn=y,this.containsRTL=S,this.spaceWidth=L,this.renderSpaceCharCode=O,this.renderWhitespace=G,this.renderControlCharacters=ie}}function t5i(r){const e=r.lineContent;let i,n,a;r.stopRenderingLineAfter!==-1&&r.stopRenderingLineAfter0){for(let h=0,g=r.lineDecorations.length;h0&&(o[c++]=new N4(n,"",0,!1));let h=n;for(let g=0,_=i.getCount();g<_;g++){const x=i.getEndOffset(g);if(x<=n)continue;const y=i.getClassName(g);if(x>=a){const L=e?MJ(r.substring(h,a)):!1;o[c++]=new N4(a,y,0,L);break}const S=e?MJ(r.substring(h,x)):!1;o[c++]=new N4(x,y,0,S),h=x}return o}function n5i(r,e,i){let n=0;const a=[];let o=0;if(i)for(let c=0,h=e.length;c=50&&(a[o++]=new N4(L+1,x,y,S),O=L+1,L=-1);O!==_&&(a[o++]=new N4(_,x,y,S))}else a[o++]=g;n=_}else for(let c=0,h=e.length;c50){const y=g.type,S=g.metadata,L=g.containsRTL,O=Math.ceil(x/50);for(let G=1;G=8234&&r<=8238||r>=8294&&r<=8297||r>=8206&&r<=8207||r===1564}function u5i(r,e){const i=[];let n=new N4(0,"",0,!1),a=0;for(const o of e){const c=o.endIndex;for(;an.endIndex&&(n=new N4(a,o.type,o.metadata,o.containsRTL),i.push(n)),n=new N4(a+1,"mtkcontrol",o.metadata,!1),i.push(n))}a>n.endIndex&&(n=new N4(c,o.type,o.metadata,o.containsRTL),i.push(n))}return i}function r5i(r,e,i,n){const a=r.continuesWithWrappedLine,o=r.fauxIndentLength,c=r.tabSize,h=r.startVisibleColumn,g=r.useMonospaceOptimizations,_=r.selectionsOnLine,x=r.renderWhitespace===1,y=r.renderWhitespace===3,S=r.renderSpaceWidth!==r.spaceWidth,L=[];let O=0,G=0,ie=n[G].type,ue=n[G].containsRTL,re=n[G].endIndex;const _e=n.length;let ye=!1,Le=OE(e),lt;Le===-1?(ye=!0,Le=i,lt=i):lt=vy(e);let Ue=!1,Ze=0,rt=_&&_[Ze],kt=h%c;for(let jt=o;jt=rt.endOffset&&(Ze++,rt=_&&_[Ze]);let ti;if(jtlt)ti=!0;else if(ui===9)ti=!0;else if(ui===32)if(x)if(Ue)ti=!0;else{const Uu=jt+1jt),ti&&y&&(ti=ye||jt>lt),ti&&ue&&jt>=Le&&jt<=lt&&(ti=!1),Ue){if(!ti||!g&&kt>=c){if(S){const Uu=O>0?L[O-1].endIndex:o;for(let pu=Uu+1;pu<=jt;pu++)L[O++]=new N4(pu,"mtkw",1,!1)}else L[O++]=new N4(jt,"mtkw",1,!1);kt=kt%c}}else(jt===re||ti&&jt>o)&&(L[O++]=new N4(jt,ie,0,ue),kt=kt%c);for(ui===9?kt=c:HL(ui)?kt+=2:kt++,Ue=ti;jt===re&&(G++,G<_e);)ie=n[G].type,ue=n[G].containsRTL,re=n[G].endIndex}let Zt=!1;if(Ue)if(a&&x){const jt=i>0?e.charCodeAt(i-1):0,ui=i>1?e.charCodeAt(i-2):0;jt===32&&ui!==32&&ui!==9||(Zt=!0)}else Zt=!0;if(Zt)if(S){const jt=O>0?L[O-1].endIndex:o;for(let ui=jt+1;ui<=i;ui++)L[O++]=new N4(ui,"mtkw",1,!1)}else L[O++]=new N4(i,"mtkw",1,!1);else L[O++]=new N4(i,ie,0,ue);return L}function a5i(r,e,i,n){n.sort(jD.compare);const a=QDi.normalize(r,n),o=a.length;let c=0;const h=[];let g=0,_=0;for(let y=0,S=i.length;y_&&(_=re.startOffset,h[g++]=new N4(_,G,ie,ue)),re.endOffset+1<=O)_=re.endOffset+1,h[g++]=new N4(_,G+" "+re.className,ie|re.metadata,ue),c++;else{_=O,h[g++]=new N4(_,G+" "+re.className,ie|re.metadata,ue);break}}O>_&&(_=O,h[g++]=new N4(_,G,ie,ue))}const x=i[i.length-1].endIndex;if(c'):e.appendString("");for(let rt=0,kt=_.length;rt=x&&(Va+=Tr)}}for(pu&&(e.appendString(' style="width:'),e.appendString(String(O*zr)),e.appendString('px"')),e.appendASCIICharCode(62);ye1?e.appendCharCode(8594):e.appendCharCode(65515);for(let Tr=2;Tr<=ju;Tr++)e.appendCharCode(160)}else Va=2,ju=1,e.appendCharCode(G),e.appendCharCode(8204);lt+=Va,Ue+=ju,ye>=x&&(Le+=ju)}}else for(e.appendASCIICharCode(62);ye=x&&(Le+=Va)}Vt?Ze++:Ze=0,ye>=c&&!_e&&Zt.isPseudoAfter()&&(_e=!0,re.setColumnInfo(ye+1,rt,lt,Ue)),e.appendString("")}return _e||re.setColumnInfo(c+1,_.length-1,lt,Ue),h&&(e.appendString(''),e.appendString(V("showMore","Show more ({0})",l5i(g))),e.appendString("")),e.appendString(""),new kVe(re,L,a)}function s5i(r){return r.toString(16).toUpperCase().padStart(4,"0")}function l5i(r){return r<1024?V("overflow.chars","{0} chars",r):r<1024*1024?`${(r/1024).toFixed(1)} KB`:`${(r/1024/1024).toFixed(1)} MB`}class EEt{constructor(e,i,n,a){this._viewportBrand=void 0,this.top=e|0,this.left=i|0,this.width=n|0,this.height=a|0}}class c5i{constructor(e,i){this.tabSize=e,this.data=i}}class BJe{constructor(e,i,n,a,o,c,h){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=i,this.minColumn=n,this.maxColumn=a,this.startVisibleColumn=o,this.tokens=c,this.inlineDecorations=h}}class Ex{constructor(e,i,n,a,o,c,h,g,_,x){this.minColumn=e,this.maxColumn=i,this.content=n,this.continuesWithWrappedLine=a,this.isBasicASCII=Ex.isBasicASCII(n,c),this.containsRTL=Ex.containsRTL(n,this.isBasicASCII,o),this.tokens=h,this.inlineDecorations=g,this.tabSize=_,this.startVisibleColumn=x}static isBasicASCII(e,i){return i?xae(e):!0}static containsRTL(e,i,n){return!i&&n?MJ(e):!1}}class Wne{constructor(e,i,n){this.range=e,this.inlineClassName=i,this.type=n}}class d5i{constructor(e,i,n,a){this.startOffset=e,this.endOffset=i,this.inlineClassName=n,this.inlineClassNameAffectsLetterSpacing=a}toInlineDecoration(e){return new Wne(new ot(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class l2t{constructor(e,i){this._viewModelDecorationBrand=void 0,this.range=e,this.options=i}}class c2t{constructor(e,i,n){this.color=e,this.zIndex=i,this.data=n}static cmp(e,i){return e.zIndex===i.zIndex?e.colori.color?1:0:e.zIndex-i.zIndex}}function h5i(r){return Array.isArray(r)}function f5i(r){return!h5i(r)}function d2t(r){return typeof r=="string"}function _Et(r){return!d2t(r)}function pG(r){return!r}function yL(r,e){return r.ignoreCase&&e?e.toLowerCase():e}function DEt(r){return r.replace(/[&<>'"_]/g,"-")}function m5i(r,e){console.log(`${r.languageId}: ${e}`)}function Gd(r,e){return new Error(`${r.languageId}: ${e}`)}function YT(r,e,i,n,a){const o=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g;let c=null;return e.replace(o,function(h,g,_,x,y,S,L,O,G){return pG(_)?pG(x)?!pG(y)&&y0;){const n=r.tokenizer[i];if(n)return n;const a=i.lastIndexOf(".");a<0?i=null:i=i.substr(0,a)}return null}function p5i(r,e){let i=e;for(;i&&i.length>0;){if(r.stateNames[i])return!0;const a=i.lastIndexOf(".");a<0?i=null:i=i.substr(0,a)}return!1}var g5i=function(r,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,i,n);else for(var h=r.length-1;h>=0;h--)(c=r[h])&&(o=(a<3?c(o):a>3?c(e,i,o):c(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},E5i=function(r,e){return function(i,n){e(i,n,r)}};const h2t=5;class Wue{static create(e,i){return this._INSTANCE.create(e,i)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,i){if(e!==null&&e.depth>=this._maxCacheDepth)return new oJ(e,i);let n=oJ.getStackElementId(e);n.length>0&&(n+="|"),n+=i;let a=this._entries[n];return a||(a=new oJ(e,i),this._entries[n]=a,a)}}Wue._INSTANCE=new Wue(h2t);class oJ{constructor(e,i){this.parent=e,this.state=i,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let i="";for(;e!==null;)i.length>0&&(i+="|"),i+=e.state,e=e.parent;return i}static _equals(e,i){for(;e!==null&&i!==null;){if(e===i)return!0;if(e.state!==i.state)return!1;e=e.parent,i=i.parent}return e===null&&i===null}equals(e){return oJ._equals(this,e)}push(e){return Wue.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return Wue.create(this.parent,e)}}class BG{constructor(e,i){this.languageId=e,this.state=i}equals(e){return this.languageId===e.languageId&&this.state.equals(e.state)}clone(){return this.state.clone()===this.state?this:new BG(this.languageId,this.state)}}class QT{static create(e,i){return this._INSTANCE.create(e,i)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,i){if(i!==null)return new Gne(e,i);if(e!==null&&e.depth>=this._maxCacheDepth)return new Gne(e,i);const n=oJ.getStackElementId(e);let a=this._entries[n];return a||(a=new Gne(e,null),this._entries[n]=a,a)}}QT._INSTANCE=new QT(h2t);class Gne{constructor(e,i){this.stack=e,this.embeddedLanguageData=i}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:QT.create(this.stack,this.embeddedLanguageData)}equals(e){return!(e instanceof Gne)||!this.stack.equals(e.stack)?!1:this.embeddedLanguageData===null&&e.embeddedLanguageData===null?!0:this.embeddedLanguageData===null||e.embeddedLanguageData===null?!1:this.embeddedLanguageData.equals(e.embeddedLanguageData)}}class _5i{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(e){this._languageId=e}emit(e,i){this._lastTokenType===i&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=i,this._lastTokenLanguage=this._languageId,this._tokens.push(new zue(e,i,this._languageId)))}nestedLanguageTokenize(e,i,n,a){const o=n.languageId,c=n.state,h=oh.get(o);if(!h)return this.enterLanguage(o),this.emit(a,""),c;const g=h.tokenize(e,i,c);if(a!==0)for(const _ of g.tokens)this._tokens.push(new zue(_.offset+a,_.type,_.language));else this._tokens=this._tokens.concat(g.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,g.endState}finalize(e){return new rJe(this._tokens,e)}}class x5e{constructor(e,i){this._languageService=e,this._theme=i,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(e){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(e)}emit(e,i){const n=this._theme.match(this._currentLanguageId,i)|1024;this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))}static _merge(e,i,n){const a=e!==null?e.length:0,o=i.length,c=n!==null?n.length:0;if(a===0&&o===0&&c===0)return new Uint32Array(0);if(a===0&&o===0)return n;if(o===0&&c===0)return e;const h=new Uint32Array(a+o+c);e!==null&&h.set(e);for(let g=0;g{if(c)return;let g=!1;for(let _=0,x=h.changedLanguages.length;_{h.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){const e=[];for(const i in this._embeddedLanguages){const n=oh.get(i);if(n){if(n instanceof f2t){const a=n.getLoadStatus();a.loaded===!1&&e.push(a.promise)}continue}oh.isResolved(i)||e.push(oh.getOrCreate(i))}return e.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(i=>{})}}getInitialState(){const e=Wue.create(null,this._lexer.start);return QT.create(e,null)}tokenize(e,i,n){if(e.length>=this._maxTokenizationLineLength)return vJe(this._languageId,n);const a=new _5i,o=this._tokenize(e,i,n,a);return a.finalize(o)}tokenizeEncoded(e,i,n){if(e.length>=this._maxTokenizationLineLength)return $6e(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),n);const a=new x5e(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),o=this._tokenize(e,i,n,a);return a.finalize(o)}_tokenize(e,i,n,a){return n.embeddedLanguageData?this._nestedTokenize(e,i,n,0,a):this._myTokenize(e,i,n,0,a)}_findLeavingNestedLanguageOffset(e,i){let n=this._lexer.tokenizer[i.stack.state];if(!n&&(n=T_e(this._lexer,i.stack.state),!n))throw Gd(this._lexer,"tokenizer state is not defined: "+i.stack.state);let a=-1,o=!1;for(const c of n){if(!_Et(c.action)||c.action.nextEmbedded!=="@pop")continue;o=!0;let h=c.regex;const g=c.regex.source;if(g.substr(0,4)==="^(?:"&&g.substr(g.length-1,1)===")"){const x=(h.ignoreCase?"i":"")+(h.unicode?"u":"");h=new RegExp(g.substr(4,g.length-5),x)}const _=e.search(h);_===-1||_!==0&&c.matchOnlyAtLineStart||(a===-1||_0&&o.nestedLanguageTokenize(h,!1,n.embeddedLanguageData,a);const g=e.substring(c);return this._myTokenize(g,i,n,a+c,o)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,i,n,a,o){o.enterLanguage(this._languageId);const c=e.length,h=i&&this._lexer.includeLF?e+` -`:e,g=h.length;let _=n.embeddedLanguageData,x=n.stack,y=0,S=null,L=!0;for(;L||y=g)break;L=!1;let rt=this._lexer.tokenizer[ue];if(!rt&&(rt=T_e(this._lexer,ue),!rt))throw Gd(this._lexer,"tokenizer state is not defined: "+ue);const kt=h.substr(y);for(const Zt of rt)if((y===0||!Zt.matchOnlyAtLineStart)&&(re=kt.match(Zt.regex),re)){_e=re[0],ye=Zt.action;break}}if(re||(re=[""],_e=""),ye||(y=this._lexer.maxStack)throw Gd(this._lexer,"maximum tokenizer stack size reached: ["+x.state+","+x.parent.state+",...]");x=x.push(ue)}else if(ye.next==="@pop"){if(x.depth<=1)throw Gd(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(Le));x=x.pop()}else if(ye.next==="@popall")x=x.popall();else{let rt=YT(this._lexer,ye.next,_e,re,ue);if(rt[0]==="@"&&(rt=rt.substr(1)),T_e(this._lexer,rt))x=x.push(rt);else throw Gd(this._lexer,"trying to set a next state '"+rt+"' that is undefined in rule: "+this._safeRuleName(Le))}}ye.log&&typeof ye.log=="string"&&m5i(this._lexer,this._lexer.languageId+": "+YT(this._lexer,ye.log,_e,re,ue))}if(Ue===null)throw Gd(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(Le));const Ze=rt=>{const kt=this._languageService.getLanguageIdByLanguageName(rt)||this._languageService.getLanguageIdByMimeType(rt)||rt,Zt=this._getNestedEmbeddedLanguageData(kt);if(y0)throw Gd(this._lexer,"groups cannot be nested: "+this._safeRuleName(Le));if(re.length!==Ue.length+1)throw Gd(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(Le));let rt=0;for(let kt=1;ktr});class wJe{static colorizeElement(e,i,n,a){a=a||{};const o=a.theme||"vs",c=a.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!c)return console.error("Mode not detected"),Promise.resolve();const h=i.getLanguageIdByMimeType(c)||c;e.setTheme(o);const g=n.firstChild?n.firstChild.nodeValue:"";n.className+=" "+o;const _=x=>{var y;const S=(y=MIe==null?void 0:MIe.createHTML(x))!==null&&y!==void 0?y:x;n.innerHTML=S};return this.colorize(i,g||"",h,a).then(_,x=>console.error(x))}static colorize(e,i,n,a){return x5i(this,void 0,void 0,function*(){const o=e.languageIdCodec;let c=4;a&&typeof a.tabSize=="number"&&(c=a.tabSize),hJe(i)&&(i=i.substr(1));const h=TA(i);if(!e.isRegisteredLanguageId(n))return xEt(h,c,o);const g=yield oh.getOrCreate(n);return g?v5i(h,c,g,o):xEt(h,c,o)})}static colorizeLine(e,i,n,a,o=4){const c=Ex.isBasicASCII(e,i),h=Ex.containsRTL(e,c,n);return X6e(new dN(!1,!0,e,!1,c,h,0,a,[],o,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(e,i,n=4){const a=e.getLineContent(i);e.tokenization.forceTokenization(i);const c=e.tokenization.getLineTokens(i).inflate();return this.colorizeLine(a,e.mightContainNonBasicASCII(),e.mightContainRTL(),c,n)}}function v5i(r,e,i,n){return new Promise((a,o)=>{const c=()=>{const h=C5i(r,e,i,n);if(i instanceof Gue){const g=i.getLoadStatus();if(g.loaded===!1){g.promise.then(c,o);return}}a(h)};c()})}function xEt(r,e,i){let n=[];const o=new Uint32Array(2);o[0]=0,o[1]=33587200;for(let c=0,h=r.length;c")}return n.join("")}function C5i(r,e,i,n){let a=[],o=i.getInitialState();for(let c=0,h=r.length;c"),o=_.endState}return a.join("")}const TJe={clipboard:{writeText:Dy||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:Dy||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:Dy||gJe()?0:navigator.keyboard||i8?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)};function FVe(r,e){if(typeof r=="number"){if(r===0)return null;const i=(r&65535)>>>0,n=(r&4294901760)>>>16;return n!==0?new zIe([L_e(i,e),L_e(n,e)]):new zIe([L_e(i,e)])}else{const i=[];for(let n=0;n1?i-1:0),a=1;a/gm),J5i=u8(/^data-[\-\w.\u00B7-\uFFFF]/),$5i=u8(/^aria-[\-\w]+$/),U5i=u8(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q5i=u8(/^(?:\w+script|data):/i),Z5i=u8(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),dne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};function MF(r){if(Array.isArray(r)){for(var e=0,i=Array(r.length);e"u"?null:window},Q5i=function(e,i){if((typeof e>"u"?"undefined":dne(e))!=="object"||typeof e.createPolicy!="function")return null;var n=null,a="data-tt-policy-suffix";i.currentScript&&i.currentScript.hasAttribute(a)&&(n=i.currentScript.getAttribute(a));var o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:function(h){return h}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function p2t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Y5i(),e=function(nn){return p2t(nn)};if(e.version="2.3.1",e.removed=[],!r||!r.document||r.document.nodeType!==9)return e.isSupported=!1,e;var i=r.document,n=r.document,a=r.DocumentFragment,o=r.HTMLTemplateElement,c=r.Node,h=r.Element,g=r.NodeFilter,_=r.NamedNodeMap,x=_===void 0?r.NamedNodeMap||r.MozNamedAttrMap:_,y=r.Text,S=r.Comment,L=r.DOMParser,O=r.trustedTypes,G=h.prototype,ie=N_e(G,"cloneNode"),ue=N_e(G,"nextSibling"),re=N_e(G,"childNodes"),_e=N_e(G,"parentNode");if(typeof o=="function"){var ye=n.createElement("template");ye.content&&ye.content.ownerDocument&&(n=ye.content.ownerDocument)}var Le=Q5i(O,i),lt=Le&&$r?Le.createHTML(""):"",Ue=n,Ze=Ue.implementation,rt=Ue.createNodeIterator,kt=Ue.createDocumentFragment,Zt=Ue.getElementsByTagName,jt=i.importNode,ui={};try{ui=Qz(n).documentMode?n.documentMode:{}}catch{}var ti={};e.isSupported=typeof _e=="function"&&Ze&&typeof Ze.createHTMLDocument<"u"&&ui!==9;var Uu=W5i,pu=G5i,Vt=J5i,zr=$5i,Lu=q5i,Va=Z5i,ju=U5i,Tr=null,pa=Yc({},[].concat(MF(FEt),MF(IIe),MF(RIe),MF(OIe),MF(AEt))),z0=null,ra=Yc({},[].concat(MF(SEt),MF(jIe),MF(BEt),MF(P_e))),qi=null,eo=null,Fa=!0,W0=!0,r0=!1,qa=!1,Hl=!1,ci=!1,Oe=!1,eu=!1,Hi=!1,Pr=!0,$r=!1,wa=!0,_i=!0,ri=!1,fi={},xt=null,Tt=Yc({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),pi=null,hi=Yc({},["audio","video","img","source","image","track"]),cn=null,On=Yc({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Dr="http://www.w3.org/1998/Math/MathML",Wr="http://www.w3.org/2000/svg",xi="http://www.w3.org/1999/xhtml",vo=xi,Pl=!1,yn=null,xa=n.createElement("form"),e0=function(nn){yn&&yn===nn||((!nn||(typeof nn>"u"?"undefined":dne(nn))!=="object")&&(nn={}),nn=Qz(nn),Tr="ALLOWED_TAGS"in nn?Yc({},nn.ALLOWED_TAGS):pa,z0="ALLOWED_ATTR"in nn?Yc({},nn.ALLOWED_ATTR):ra,cn="ADD_URI_SAFE_ATTR"in nn?Yc(Qz(On),nn.ADD_URI_SAFE_ATTR):On,pi="ADD_DATA_URI_TAGS"in nn?Yc(Qz(hi),nn.ADD_DATA_URI_TAGS):hi,xt="FORBID_CONTENTS"in nn?Yc({},nn.FORBID_CONTENTS):Tt,qi="FORBID_TAGS"in nn?Yc({},nn.FORBID_TAGS):{},eo="FORBID_ATTR"in nn?Yc({},nn.FORBID_ATTR):{},fi="USE_PROFILES"in nn?nn.USE_PROFILES:!1,Fa=nn.ALLOW_ARIA_ATTR!==!1,W0=nn.ALLOW_DATA_ATTR!==!1,r0=nn.ALLOW_UNKNOWN_PROTOCOLS||!1,qa=nn.SAFE_FOR_TEMPLATES||!1,Hl=nn.WHOLE_DOCUMENT||!1,eu=nn.RETURN_DOM||!1,Hi=nn.RETURN_DOM_FRAGMENT||!1,Pr=nn.RETURN_DOM_IMPORT!==!1,$r=nn.RETURN_TRUSTED_TYPE||!1,Oe=nn.FORCE_BODY||!1,wa=nn.SANITIZE_DOM!==!1,_i=nn.KEEP_CONTENT!==!1,ri=nn.IN_PLACE||!1,ju=nn.ALLOWED_URI_REGEXP||ju,vo=nn.NAMESPACE||xi,qa&&(W0=!1),Hi&&(eu=!0),fi&&(Tr=Yc({},[].concat(MF(AEt))),z0=[],fi.html===!0&&(Yc(Tr,FEt),Yc(z0,SEt)),fi.svg===!0&&(Yc(Tr,IIe),Yc(z0,jIe),Yc(z0,P_e)),fi.svgFilters===!0&&(Yc(Tr,RIe),Yc(z0,jIe),Yc(z0,P_e)),fi.mathMl===!0&&(Yc(Tr,OIe),Yc(z0,BEt),Yc(z0,P_e))),nn.ADD_TAGS&&(Tr===pa&&(Tr=Qz(Tr)),Yc(Tr,nn.ADD_TAGS)),nn.ADD_ATTR&&(z0===ra&&(z0=Qz(z0)),Yc(z0,nn.ADD_ATTR)),nn.ADD_URI_SAFE_ATTR&&Yc(cn,nn.ADD_URI_SAFE_ATTR),nn.FORBID_CONTENTS&&(xt===Tt&&(xt=Qz(xt)),Yc(xt,nn.FORBID_CONTENTS)),_i&&(Tr["#text"]=!0),Hl&&Yc(Tr,["html","head","body"]),Tr.table&&(Yc(Tr,["tbody"]),delete qi.tbody),GD&&GD(nn),yn=nn)},Fl=Yc({},["mi","mo","mn","ms","mtext"]),Ph=Yc({},["foreignobject","desc","title","annotation-xml"]),Cd=Yc({},IIe);Yc(Cd,RIe),Yc(Cd,H5i);var oc=Yc({},OIe);Yc(oc,K5i);var zi=function(nn){var gu=_e(nn);(!gu||!gu.tagName)&&(gu={namespaceURI:xi,tagName:"template"});var uo=fI(nn.tagName),Ns=fI(gu.tagName);if(nn.namespaceURI===Wr)return gu.namespaceURI===xi?uo==="svg":gu.namespaceURI===Dr?uo==="svg"&&(Ns==="annotation-xml"||Fl[Ns]):!!Cd[uo];if(nn.namespaceURI===Dr)return gu.namespaceURI===xi?uo==="math":gu.namespaceURI===Wr?uo==="math"&&Ph[Ns]:!!oc[uo];if(nn.namespaceURI===xi){if(gu.namespaceURI===Wr&&!Ph[Ns]||gu.namespaceURI===Dr&&!Fl[Ns])return!1;var Bm=Yc({},["title","style","font","a","script"]);return!oc[uo]&&(Bm[uo]||!Cd[uo])}return!1},Ki=function(nn){Rie(e.removed,{element:nn});try{nn.parentNode.removeChild(nn)}catch{try{nn.outerHTML=lt}catch{nn.remove()}}},Hn=function(nn,gu){try{Rie(e.removed,{attribute:gu.getAttributeNode(nn),from:gu})}catch{Rie(e.removed,{attribute:null,from:gu})}if(gu.removeAttribute(nn),nn==="is"&&!z0[nn])if(eu||Hi)try{Ki(gu)}catch{}else try{gu.setAttribute(nn,"")}catch{}},Pn=function(nn){var gu=void 0,uo=void 0;if(Oe)nn=""+nn;else{var Ns=yEt(nn,/^[\r\n\t ]+/);uo=Ns&&Ns[0]}var Bm=Le?Le.createHTML(nn):nn;if(vo===xi)try{gu=new L().parseFromString(Bm,"text/html")}catch{}if(!gu||!gu.documentElement){gu=Ze.createDocument(vo,"template",null);try{gu.documentElement.innerHTML=Pl?"":Bm}catch{}}var U1=gu.body||gu.documentElement;return nn&&uo&&U1.insertBefore(n.createTextNode(uo),U1.childNodes[0]||null),vo===xi?Zt.call(gu,Hl?"html":"body")[0]:Hl?gu.documentElement:U1},Oa=function(nn){return rt.call(nn.ownerDocument||nn,nn,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT,null,!1)},qu=function(nn){return nn instanceof y||nn instanceof S?!1:typeof nn.nodeName!="string"||typeof nn.textContent!="string"||typeof nn.removeChild!="function"||!(nn.attributes instanceof x)||typeof nn.removeAttribute!="function"||typeof nn.setAttribute!="function"||typeof nn.namespaceURI!="string"||typeof nn.insertBefore!="function"},Cr=function(nn){return(typeof c>"u"?"undefined":dne(c))==="object"?nn instanceof c:nn&&(typeof nn>"u"?"undefined":dne(nn))==="object"&&typeof nn.nodeType=="number"&&typeof nn.nodeName=="string"},Aa=function(nn,gu,uo){ti[nn]&&R5i(ti[nn],function(Ns){Ns.call(e,gu,uo,yn)})},bd=function(nn){var gu=void 0;if(Aa("beforeSanitizeElements",nn,null),qu(nn)||yEt(nn.nodeName,/[\u0080-\uFFFF]/))return Ki(nn),!0;var uo=fI(nn.nodeName);if(Aa("uponSanitizeElement",nn,{tagName:uo,allowedTags:Tr}),!Cr(nn.firstElementChild)&&(!Cr(nn.content)||!Cr(nn.content.firstElementChild))&&oS(/<[/\w]/g,nn.innerHTML)&&oS(/<[/\w]/g,nn.textContent)||uo==="select"&&oS(/